Skip to content

Commit

Permalink
Codes are generated by openapi (line#635)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
github-actions[bot] and github-actions authored Dec 27, 2023
1 parent ee52dff commit e9fab8b
Show file tree
Hide file tree
Showing 14 changed files with 282 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/messaging-api/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ model/filter.ts
model/flexBlockStyle.ts
model/flexBox.ts
model/flexBoxBackground.ts
model/flexBoxBorderWidth.ts
model/flexBoxCornerRadius.ts
model/flexBoxLinearGradient.ts
model/flexBoxPadding.ts
model/flexBoxSpacing.ts
model/flexBubble.ts
model/flexBubbleStyles.ts
model/flexButton.ts
Expand All @@ -42,11 +46,17 @@ model/flexComponent.ts
model/flexContainer.ts
model/flexFiller.ts
model/flexIcon.ts
model/flexIconSize.ts
model/flexImage.ts
model/flexImageSize.ts
model/flexMargin.ts
model/flexMessage.ts
model/flexOffset.ts
model/flexSeparator.ts
model/flexSpan.ts
model/flexSpanSize.ts
model/flexText.ts
model/flexTextFontSize.ts
model/flexVideo.ts
model/genderDemographic.ts
model/genderDemographicFilter.ts
Expand Down Expand Up @@ -124,6 +134,8 @@ model/stickerMessage.ts
model/subscriptionPeriodDemographic.ts
model/subscriptionPeriodDemographicFilter.ts
model/template.ts
model/templateImageAspectRatio.ts
model/templateImageSize.ts
model/templateMessage.ts
model/testWebhookEndpointRequest.ts
model/testWebhookEndpointResponse.ts
Expand Down
23 changes: 23 additions & 0 deletions lib/messaging-api/model/flexBoxBorderWidth.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Width of box border. This is only for `borderWidth` in FlexBox. A value of none means that borders are not rendered; the other values are listed in order of increasing width.
*/

export type FlexBoxBorderWidth =
| "none"
| "light"
| "normal"
| "medium"
| "semi-bold"
| "bold";
24 changes: 24 additions & 0 deletions lib/messaging-api/model/flexBoxCornerRadius.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Radius at the time of rounding the corners of the box. This is only for `cornerRadius` in FlexBox. A value of none means that corners are not rounded; the other values are listed in order of increasing radius.
*/

export type FlexBoxCornerRadius =
| "none"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "xxl";
17 changes: 17 additions & 0 deletions lib/messaging-api/model/flexBoxPadding.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Padding can be specified in pixels, percentage (to the parent box width) or with a keyword. FlexBoxPadding just provides only keywords.
*/

export type FlexBoxPadding = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
17 changes: 17 additions & 0 deletions lib/messaging-api/model/flexBoxSpacing.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* You can specify the minimum space between two components with the `spacing` property of the parent box component, in pixels or with a keyword. FlexBoxSpacing just provides only keywords.
*/

export type FlexBoxSpacing = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
27 changes: 27 additions & 0 deletions lib/messaging-api/model/flexIconSize.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* You can set the width of an Flex icon component with the `size` property, in pixels, as a percentage, or with a keyword. FlexIconSize just provides only keywords.
*/

export type FlexIconSize =
| "xxs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "xxl"
| "3xl"
| "4xl"
| "5xl";
28 changes: 28 additions & 0 deletions lib/messaging-api/model/flexImageSize.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* You can set the width of an Flex image component with the `size` property, in pixels, as a percentage, or with a keyword. FlexImageSize just provides only keywords.
*/

export type FlexImageSize =
| "xxs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "xxl"
| "3xl"
| "4xl"
| "5xl"
| "full";
17 changes: 17 additions & 0 deletions lib/messaging-api/model/flexMargin.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* You can specify the minimum space before a child component with the `margin` property of the child component, in pixels or with a keyword. FlexMargin just provides only keywords.
*/

export type FlexMargin = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
17 changes: 17 additions & 0 deletions lib/messaging-api/model/flexOffset.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* You can specify the offset of a component with the `offset*` property, in pixels or with a keyword. You can also specify the percentage to the box width for `offsetStart` and `offsetEnd` and to the box height for `offsetTop` and `offsetBottom`. FlexOffset just provides only keywords.
*/

export type FlexOffset = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
27 changes: 27 additions & 0 deletions lib/messaging-api/model/flexSpanSize.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Font size in the `size` property of the Flex span component. You can specify the size in pixels or with a keyword. FlexSpanSize just provides only keywords.
*/

export type FlexSpanSize =
| "xxs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "xxl"
| "3xl"
| "4xl"
| "5xl";
27 changes: 27 additions & 0 deletions lib/messaging-api/model/flexTextFontSize.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Font size in the `size` property of the Flex text component. You can specify the size in pixels or with a keyword. FlexTextFontSize just provides only keywords.
*/

export type FlexTextFontSize =
| "xxs"
| "xs"
| "sm"
| "md"
| "lg"
| "xl"
| "xxl"
| "3xl"
| "4xl"
| "5xl";
12 changes: 12 additions & 0 deletions lib/messaging-api/model/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ export * from "./filter";
export * from "./flexBlockStyle";
export * from "./flexBox";
export * from "./flexBoxBackground";
export * from "./flexBoxBorderWidth";
export * from "./flexBoxCornerRadius";
export * from "./flexBoxLinearGradient";
export * from "./flexBoxPadding";
export * from "./flexBoxSpacing";
export * from "./flexBubble";
export * from "./flexBubbleStyles";
export * from "./flexButton";
Expand All @@ -37,11 +41,17 @@ export * from "./flexComponent";
export * from "./flexContainer";
export * from "./flexFiller";
export * from "./flexIcon";
export * from "./flexIconSize";
export * from "./flexImage";
export * from "./flexImageSize";
export * from "./flexMargin";
export * from "./flexMessage";
export * from "./flexOffset";
export * from "./flexSeparator";
export * from "./flexSpan";
export * from "./flexSpanSize";
export * from "./flexText";
export * from "./flexTextFontSize";
export * from "./flexVideo";
export * from "./genderDemographic";
export * from "./genderDemographicFilter";
Expand Down Expand Up @@ -118,6 +128,8 @@ export * from "./stickerMessage";
export * from "./subscriptionPeriodDemographic";
export * from "./subscriptionPeriodDemographicFilter";
export * from "./template";
export * from "./templateImageAspectRatio";
export * from "./templateImageSize";
export * from "./templateMessage";
export * from "./testWebhookEndpointRequest";
export * from "./testWebhookEndpointResponse";
Expand Down
17 changes: 17 additions & 0 deletions lib/messaging-api/model/templateImageAspectRatio.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Aspect ratio of the image. This is only for the `imageAspectRatio` in ButtonsTemplate. Specify one of the following values: `rectangle`: 1.51:1 `square`: 1:1
*/

export type TemplateImageAspectRatio = "rectangle" | "square";
17 changes: 17 additions & 0 deletions lib/messaging-api/model/templateImageSize.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/**
* LINE Messaging API
* This document describes LINE Messaging API.
*
* The version of the OpenAPI document: 0.0.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

/**
* Size of the image. This is only for the `imageSize` in ButtonsTemplate. Specify one of the following values: `cover`: The image fills the entire image area. Parts of the image that do not fit in the area are not displayed. `contain`: The entire image is displayed in the image area. A background is displayed in the unused areas to the left and right of vertical images and in the areas above and below horizontal images.
*/

export type TemplateImageSize = "cover" | "contain";

0 comments on commit e9fab8b

Please sign in to comment.