From e92f86695caccd6e14ef9e4bec31def3dd5e7993 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:58:23 +0900 Subject: [PATCH] Codes are generated by openapi (#698) Co-authored-by: github-actions --- lib/webhook/.openapi-generator/FILES | 1 + lib/webhook/model/followDetail.ts | 18 ++++++++++++++++++ lib/webhook/model/followEvent.ts | 4 ++++ lib/webhook/model/models.ts | 1 + line-openapi | 2 +- 5 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 lib/webhook/model/followDetail.ts diff --git a/lib/webhook/.openapi-generator/FILES b/lib/webhook/.openapi-generator/FILES index 442f86062..cb71457ea 100644 --- a/lib/webhook/.openapi-generator/FILES +++ b/lib/webhook/.openapi-generator/FILES @@ -22,6 +22,7 @@ model/emoji.ts model/event.ts model/eventMode.ts model/fileMessageContent.ts +model/followDetail.ts model/followEvent.ts model/groupSource.ts model/imageMessageContent.ts diff --git a/lib/webhook/model/followDetail.ts b/lib/webhook/model/followDetail.ts new file mode 100644 index 000000000..beaea308c --- /dev/null +++ b/lib/webhook/model/followDetail.ts @@ -0,0 +1,18 @@ +/** + * Webhook Type Definition + * Webhook event definition of the LINE Messaging API + * + * The version of the OpenAPI document: 1.0.0 + * + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + +export type FollowDetail = { + /** + * Whether a user has added your LINE Official Account as a friend or unblocked. + */ + isUnblocked: boolean /**/; +}; diff --git a/lib/webhook/model/followEvent.ts b/lib/webhook/model/followEvent.ts index 47b84558c..791eef361 100644 --- a/lib/webhook/model/followEvent.ts +++ b/lib/webhook/model/followEvent.ts @@ -13,6 +13,7 @@ import { DeliveryContext } from "./deliveryContext"; import { Event } from "./event"; import { EventMode } from "./eventMode"; +import { FollowDetail } from "./followDetail"; import { Source } from "./source"; /** @@ -26,6 +27,9 @@ export type FollowEvent = EventBase & { * Reply token used to send reply message to this event */ replyToken: string /**/; + /** + */ + follow: FollowDetail /**/; }; export namespace FollowEvent {} diff --git a/lib/webhook/model/models.ts b/lib/webhook/model/models.ts index 77e6bb7d9..c7b21aee1 100644 --- a/lib/webhook/model/models.ts +++ b/lib/webhook/model/models.ts @@ -18,6 +18,7 @@ export * from "./emoji"; export * from "./event"; export * from "./eventMode"; export * from "./fileMessageContent"; +export * from "./followDetail"; export * from "./followEvent"; export * from "./groupSource"; export * from "./imageMessageContent"; diff --git a/line-openapi b/line-openapi index 1b317ff26..c1ad5ed8c 160000 --- a/line-openapi +++ b/line-openapi @@ -1 +1 @@ -Subproject commit 1b317ff26d4aa424b6720f5509ba100094aa4171 +Subproject commit c1ad5ed8c0e82344d9be194fd80b9fcec4662d8c