1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | import { DeliveryContext } from "./deliveryContext.js";
|
13 | import { EventMode } from "./eventMode.js";
|
14 | import { Source } from "./source.js";
|
15 | import { AccountLinkEvent } from "./models.js";
|
16 | import { ActivatedEvent } from "./models.js";
|
17 | import { BeaconEvent } from "./models.js";
|
18 | import { BotResumedEvent } from "./models.js";
|
19 | import { BotSuspendedEvent } from "./models.js";
|
20 | import { DeactivatedEvent } from "./models.js";
|
21 | import { PnpDeliveryCompletionEvent } from "./models.js";
|
22 | import { FollowEvent } from "./models.js";
|
23 | import { JoinEvent } from "./models.js";
|
24 | import { LeaveEvent } from "./models.js";
|
25 | import { MemberJoinedEvent } from "./models.js";
|
26 | import { MemberLeftEvent } from "./models.js";
|
27 | import { MessageEvent } from "./models.js";
|
28 | import { ModuleEvent } from "./models.js";
|
29 | import { PostbackEvent } from "./models.js";
|
30 | import { ThingsEvent } from "./models.js";
|
31 | import { UnfollowEvent } from "./models.js";
|
32 | import { UnsendEvent } from "./models.js";
|
33 | import { VideoPlayCompleteEvent } from "./models.js";
|
34 | export type Event = AccountLinkEvent | ActivatedEvent | BeaconEvent | BotResumedEvent | BotSuspendedEvent | DeactivatedEvent | PnpDeliveryCompletionEvent | FollowEvent | JoinEvent | LeaveEvent | MemberJoinedEvent | MemberLeftEvent | MessageEvent | ModuleEvent | PostbackEvent | ThingsEvent | UnfollowEvent | UnsendEvent | VideoPlayCompleteEvent;
|
35 |
|
36 |
|
37 |
|
38 | export type EventBase = {
|
39 | |
40 |
|
41 |
|
42 | type: string;
|
43 | |
44 |
|
45 | source?: Source;
|
46 | |
47 |
|
48 |
|
49 | timestamp: number;
|
50 | |
51 |
|
52 | mode: EventMode;
|
53 | |
54 |
|
55 |
|
56 | webhookEventId: string;
|
57 | |
58 |
|
59 | deliveryContext: DeliveryContext;
|
60 | };
|
61 | export declare namespace Event { }
|
62 |
|
\ | No newline at end of file |