Skip to content

Commit

Permalink
Codes are generated by openapi (#698)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
github-actions[bot] and github-actions authored Feb 6, 2024
1 parent ec6b03b commit e92f866
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/webhook/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 18 additions & 0 deletions lib/webhook/model/followDetail.ts
Original file line number Diff line number Diff line change
@@ -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 /**/;
};
4 changes: 4 additions & 0 deletions lib/webhook/model/followEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import { DeliveryContext } from "./deliveryContext";
import { Event } from "./event";
import { EventMode } from "./eventMode";
import { FollowDetail } from "./followDetail";
import { Source } from "./source";

/**
Expand All @@ -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 {}
1 change: 1 addition & 0 deletions lib/webhook/model/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion line-openapi
Submodule line-openapi updated 1 files
+11 −0 webhook.yml

0 comments on commit e92f866

Please sign in to comment.