Skip to content

Commit 142a40b

Browse files
github-actions[bot]github-actionshabara-k
authored
Codes are generated by openapi (#1035)
Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: keigo habara <34413567+habara-k@users.noreply.github.com>
1 parent 11a2b1c commit 142a40b

17 files changed

+222
-7
lines changed

lib/messaging-api/.openapi-generator/FILES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ api/messagingApiClient.ts
66
model/action.ts
77
model/ageDemographic.ts
88
model/ageDemographicFilter.ts
9+
model/allMentionTarget.ts
910
model/altUri.ts
1011
model/appTypeDemographic.ts
1112
model/appTypeDemographicFilter.ts
@@ -29,6 +30,7 @@ model/createRichMenuAliasRequest.ts
2930
model/datetimePickerAction.ts
3031
model/demographicFilter.ts
3132
model/emoji.ts
33+
model/emojiSubstitutionObject.ts
3234
model/errorDetail.ts
3335
model/errorResponse.ts
3436
model/filter.ts
@@ -88,6 +90,8 @@ model/markMessagesAsReadRequest.ts
8890
model/membersIdsResponse.ts
8991
model/membership.ts
9092
model/membershipListResponse.ts
93+
model/mentionSubstitutionObject.ts
94+
model/mentionTarget.ts
9195
model/message.ts
9296
model/messageAction.ts
9397
model/messageImagemapAction.ts
@@ -142,16 +146,19 @@ model/subscribedMembershipUser.ts
142146
model/subscription.ts
143147
model/subscriptionPeriodDemographic.ts
144148
model/subscriptionPeriodDemographicFilter.ts
149+
model/substitutionObject.ts
145150
model/template.ts
146151
model/templateImageAspectRatio.ts
147152
model/templateImageSize.ts
148153
model/templateMessage.ts
149154
model/testWebhookEndpointRequest.ts
150155
model/testWebhookEndpointResponse.ts
151156
model/textMessage.ts
157+
model/textMessageV2.ts
152158
model/uRIAction.ts
153159
model/uRIImagemapAction.ts
154160
model/updateRichMenuAliasRequest.ts
161+
model/userMentionTarget.ts
155162
model/userProfileResponse.ts
156163
model/validateMessageRequest.ts
157164
model/videoMessage.ts

lib/messaging-api/api/messagingApiClient.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ export class MessagingApiClient {
17291729
return { httpResponse: res, body: parsedBody };
17301730
}
17311731
/**
1732-
* You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
1732+
* You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu
17331733
* @param richMenuBatchRequest
17341734
*
17351735
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#batch-control-rich-menus-of-users"> Documentation</a>
@@ -1741,7 +1741,7 @@ export class MessagingApiClient {
17411741
}
17421742

17431743
/**
1744-
* You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu .
1744+
* You can use this endpoint to batch control the rich menu linked to the users using the endpoint such as Link rich menu to user. The following operations are available: 1. Replace a rich menu with another rich menu for all users linked to a specific rich menu 2. Unlink a rich menu for all users linked to a specific rich menu 3. Unlink a rich menu for all users linked the rich menu .
17451745
* This method includes HttpInfo object to return additional information.
17461746
* @param richMenuBatchRequest
17471747
*
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* LINE Messaging API
3+
* This document describes LINE Messaging API.
4+
*
5+
* The version of the OpenAPI document: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { MentionTarget } from "./mentionTarget.js";
14+
15+
import { MentionTargetBase } from "./models.js";
16+
17+
export type AllMentionTarget = MentionTargetBase & {
18+
type: "all";
19+
};
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/**
2+
* LINE Messaging API
3+
* This document describes LINE Messaging API.
4+
*
5+
* The version of the OpenAPI document: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { SubstitutionObject } from "./substitutionObject.js";
14+
15+
/**
16+
* An object representing a emoji substitution.
17+
*/
18+
import { SubstitutionObjectBase } from "./models.js";
19+
20+
export type EmojiSubstitutionObject = SubstitutionObjectBase & {
21+
type: "emoji";
22+
/**
23+
*
24+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message-v2-emoji-object">productId Documentation</a>
25+
*/
26+
productId: string /**/;
27+
/**
28+
*
29+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message-v2-emoji-object">emojiId Documentation</a>
30+
*/
31+
emojiId: string /**/;
32+
};

lib/messaging-api/model/flexBoxSpacing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/**
14-
* 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.
14+
* 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.
1515
*/
1616

1717
export type FlexBoxSpacing = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";

lib/messaging-api/model/flexMargin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/**
14-
* 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.
14+
* 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.
1515
*/
1616

1717
export type FlexMargin = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl";

lib/messaging-api/model/flexSpanSize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/**
14-
* 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.
14+
* 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.
1515
*/
1616

1717
export type FlexSpanSize =

lib/messaging-api/model/flexTextFontSize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
/**
14-
* 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.
14+
* 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.
1515
*/
1616

1717
export type FlexTextFontSize =
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/**
2+
* LINE Messaging API
3+
* This document describes LINE Messaging API.
4+
*
5+
* The version of the OpenAPI document: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { MentionTarget } from "./mentionTarget.js";
14+
import { SubstitutionObject } from "./substitutionObject.js";
15+
16+
/**
17+
* An object representing a mention substitution.
18+
*/
19+
import { SubstitutionObjectBase } from "./models.js";
20+
21+
export type MentionSubstitutionObject = SubstitutionObjectBase & {
22+
type: "mention";
23+
/**
24+
*
25+
* @see <a href="https://developers.line.biz/en/reference/messaging-api/#text-message-v2-mention-object">mentionee Documentation</a>
26+
*/
27+
mentionee: MentionTarget /**/;
28+
};
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/**
2+
* LINE Messaging API
3+
* This document describes LINE Messaging API.
4+
*
5+
* The version of the OpenAPI document: 0.0.1
6+
*
7+
*
8+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9+
* https://openapi-generator.tech
10+
* Do not edit the class manually.
11+
*/
12+
13+
import { AllMentionTarget } from "./models.js";
14+
import { UserMentionTarget } from "./models.js";
15+
16+
export type MentionTarget =
17+
| AllMentionTarget // all
18+
| UserMentionTarget; // user
19+
20+
export type MentionTargetBase = {
21+
/**
22+
* Target to be mentioned
23+
*/
24+
type: string /**/;
25+
};

0 commit comments

Comments
 (0)