Skip to content

Commit 4f109d3

Browse files
github-actions[bot]github-actionsYang-33
authored
Codes are generated by openapi (#627)
Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Yuta Kasai <kasai.yuta0810@gmail.com>
1 parent 9bf48d3 commit 4f109d3

15 files changed

+68
-10
lines changed

lib/liff/api/liffClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/addLiffAppRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/addLiffAppResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/getAllLiffAppsResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/liffApp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/liffBotPrompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/liffFeatures.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/liffScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/liffView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/liff/model/updateLiffAppRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* LIFF server API
33
* LIFF Server API.
44
*
5-
* The version of the OpenAPI document: 1.0
5+
* The version of the OpenAPI document: 1.0.0
66
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

lib/webhook/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ model/messageEvent.ts
4242
model/models.ts
4343
model/moduleContent.ts
4444
model/moduleEvent.ts
45+
model/pnpDelivery.ts
46+
model/pnpDeliveryCompletionEvent.ts
4547
model/postbackContent.ts
4648
model/postbackEvent.ts
4749
model/roomSource.ts

lib/webhook/model/event.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import { BeaconEvent } from "./models";
2020
import { BotResumedEvent } from "./models";
2121
import { BotSuspendedEvent } from "./models";
2222
import { DeactivatedEvent } from "./models";
23+
import { PnpDeliveryCompletionEvent } from "./models";
2324
import { FollowEvent } from "./models";
2425
import { JoinEvent } from "./models";
2526
import { LeaveEvent } from "./models";
@@ -40,6 +41,7 @@ export type Event =
4041
| BotResumedEvent // botResumed
4142
| BotSuspendedEvent // botSuspended
4243
| DeactivatedEvent // deactivated
44+
| PnpDeliveryCompletionEvent // delivery
4345
| FollowEvent // follow
4446
| JoinEvent // join
4547
| LeaveEvent // leave

lib/webhook/model/models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export * from "./messageContent";
3737
export * from "./messageEvent";
3838
export * from "./moduleContent";
3939
export * from "./moduleEvent";
40+
export * from "./pnpDelivery";
41+
export * from "./pnpDeliveryCompletionEvent";
4042
export * from "./postbackContent";
4143
export * from "./postbackEvent";
4244
export * from "./roomSource";

lib/webhook/model/pnpDelivery.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/**
2+
* Webhook Type Definition
3+
* Webhook event definition of the LINE Messaging API
4+
*
5+
* The version of the OpenAPI document: 1.0.0
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+
/**
14+
* A delivery object containing a hashed phone number string or a string specified by `X-Line-Delivery-Tag` header
15+
*/
16+
export type PnpDelivery = {
17+
/**
18+
* A hashed phone number string or a string specified by `X-Line-Delivery-Tag` header
19+
*/
20+
data: string /**/;
21+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Webhook Type Definition
3+
* Webhook event definition of the LINE Messaging API
4+
*
5+
* The version of the OpenAPI document: 1.0.0
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 { DeliveryContext } from "./deliveryContext";
14+
import { Event } from "./event";
15+
import { EventMode } from "./eventMode";
16+
import { PnpDelivery } from "./pnpDelivery";
17+
import { Source } from "./source";
18+
19+
/**
20+
* When a request is made to the LINE notification messages API and delivery of the LINE notification message to the user is completed, a dedicated webhook event (delivery completion event) is sent from the LINE Platform to the webhook URL of the bot server.
21+
*/
22+
import { EventBase } from "./models";
23+
24+
export type PnpDeliveryCompletionEvent = EventBase & {
25+
type: "delivery";
26+
/**
27+
*/
28+
delivery: PnpDelivery /**/;
29+
};
30+
31+
export namespace PnpDeliveryCompletionEvent {}

0 commit comments

Comments
 (0)