@kl1/contracts 1.1.28 → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2955 -2729
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2950 -2728
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts +14 -14
- package/dist/src/botpress/validation.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +1687 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +44 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +883 -59
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +152 -20
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +228 -61
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +2558 -282
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +86 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +70 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +286 -53
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +7 -0
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +282 -58
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +31 -5
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +291 -54
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +48 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +346 -53
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +226 -53
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +150 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/contract2.d.ts +0 -2
- package/dist/src/contract2.d.ts.map +0 -1
@@ -1,13 +1,15 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { ChannelSchema } from '../chat/validation';
|
3
|
-
import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema } from './validation';
|
3
|
+
import { GetFacebookPagesQuerySchema, GetFacebookPagesSchema, ReconnectMessengerSchema, SetBotPersistentMenuSchema } from './validation';
|
4
4
|
export type GetFacebookPagesResponse = z.infer<typeof GetFacebookPagesSchema>;
|
5
5
|
export type GetFacebookPagesQuery = z.infer<typeof GetFacebookPagesQuerySchema>;
|
6
6
|
export type ReconnectChannelRequest = z.infer<typeof ChannelSchema>;
|
7
7
|
export type ReconnectMessengerRequest = z.infer<typeof ReconnectMessengerSchema>;
|
8
|
+
export type SetBotPersistentMenuRequest = z.infer<typeof SetBotPersistentMenuSchema>;
|
8
9
|
export declare const messengerContract: {
|
9
10
|
sendMessage: {
|
10
11
|
body: z.ZodObject<{
|
12
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
11
13
|
room: z.ZodObject<{
|
12
14
|
id: z.ZodString;
|
13
15
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -141,24 +143,28 @@ export declare const messengerContract: {
|
|
141
143
|
accessToken: z.ZodOptional<z.ZodString>;
|
142
144
|
channelSecret: z.ZodOptional<z.ZodString>;
|
143
145
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
146
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
144
147
|
}, "strip", z.ZodTypeAny, {
|
145
148
|
id: string;
|
146
149
|
name: string;
|
147
150
|
accessToken?: string | undefined;
|
148
151
|
channelSecret?: string | undefined;
|
149
152
|
additionalCredentials?: any;
|
153
|
+
lineRichMenuId?: string | null | undefined;
|
150
154
|
}, {
|
151
155
|
id: string;
|
152
156
|
name: string;
|
153
157
|
accessToken?: string | undefined;
|
154
158
|
channelSecret?: string | undefined;
|
155
159
|
additionalCredentials?: any;
|
160
|
+
lineRichMenuId?: string | null | undefined;
|
156
161
|
}>;
|
157
162
|
platformId: z.ZodString;
|
158
163
|
brandName: z.ZodString;
|
159
164
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
160
165
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
161
166
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
167
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
162
168
|
actor: z.ZodOptional<z.ZodObject<{
|
163
169
|
id: z.ZodString;
|
164
170
|
name: z.ZodString;
|
@@ -188,12 +194,14 @@ export declare const messengerContract: {
|
|
188
194
|
accessToken?: string | undefined;
|
189
195
|
channelSecret?: string | undefined;
|
190
196
|
additionalCredentials?: any;
|
197
|
+
lineRichMenuId?: string | null | undefined;
|
191
198
|
};
|
192
199
|
status: boolean;
|
193
200
|
brandName: string;
|
194
201
|
platformId: string;
|
195
202
|
connectedUserName?: string | null | undefined;
|
196
203
|
connectedUserId?: string | null | undefined;
|
204
|
+
lineRichMenuId?: string | null | undefined;
|
197
205
|
actor?: {
|
198
206
|
id: string;
|
199
207
|
address: string | null;
|
@@ -211,12 +219,14 @@ export declare const messengerContract: {
|
|
211
219
|
accessToken?: string | undefined;
|
212
220
|
channelSecret?: string | undefined;
|
213
221
|
additionalCredentials?: any;
|
222
|
+
lineRichMenuId?: string | null | undefined;
|
214
223
|
};
|
215
224
|
status: boolean;
|
216
225
|
brandName: string;
|
217
226
|
platformId: string;
|
218
227
|
connectedUserName?: string | null | undefined;
|
219
228
|
connectedUserId?: string | null | undefined;
|
229
|
+
lineRichMenuId?: string | null | undefined;
|
220
230
|
actor?: {
|
221
231
|
id: string;
|
222
232
|
address: string | null;
|
@@ -238,12 +248,14 @@ export declare const messengerContract: {
|
|
238
248
|
accessToken?: string | undefined;
|
239
249
|
channelSecret?: string | undefined;
|
240
250
|
additionalCredentials?: any;
|
251
|
+
lineRichMenuId?: string | null | undefined;
|
241
252
|
};
|
242
253
|
status: boolean;
|
243
254
|
brandName: string;
|
244
255
|
platformId: string;
|
245
256
|
connectedUserName?: string | null | undefined;
|
246
257
|
connectedUserId?: string | null | undefined;
|
258
|
+
lineRichMenuId?: string | null | undefined;
|
247
259
|
actor?: {
|
248
260
|
id: string;
|
249
261
|
address: string | null;
|
@@ -304,12 +316,14 @@ export declare const messengerContract: {
|
|
304
316
|
accessToken?: string | undefined;
|
305
317
|
channelSecret?: string | undefined;
|
306
318
|
additionalCredentials?: any;
|
319
|
+
lineRichMenuId?: string | null | undefined;
|
307
320
|
};
|
308
321
|
status: boolean;
|
309
322
|
brandName: string;
|
310
323
|
platformId: string;
|
311
324
|
connectedUserName?: string | null | undefined;
|
312
325
|
connectedUserId?: string | null | undefined;
|
326
|
+
lineRichMenuId?: string | null | undefined;
|
313
327
|
actor?: {
|
314
328
|
id: string;
|
315
329
|
address: string | null;
|
@@ -362,7 +376,7 @@ export declare const messengerContract: {
|
|
362
376
|
message: z.ZodObject<{
|
363
377
|
message: z.ZodOptional<z.ZodString>;
|
364
378
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
365
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
379
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
366
380
|
readAt: z.ZodOptional<z.ZodDate>;
|
367
381
|
metadata: z.ZodOptional<z.ZodAny>;
|
368
382
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -378,18 +392,21 @@ export declare const messengerContract: {
|
|
378
392
|
fileName: z.ZodString;
|
379
393
|
fileSize: z.ZodNumber;
|
380
394
|
fileKey: z.ZodString;
|
395
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
381
396
|
}, "strip", z.ZodTypeAny, {
|
382
397
|
fileName: string;
|
383
398
|
fileKey: string;
|
384
399
|
bucketName: string;
|
385
400
|
fileSize: number;
|
401
|
+
originalUrl?: string | undefined;
|
386
402
|
}, {
|
387
403
|
fileName: string;
|
388
404
|
fileKey: string;
|
389
405
|
bucketName: string;
|
390
406
|
fileSize: number;
|
407
|
+
originalUrl?: string | undefined;
|
391
408
|
}>>;
|
392
|
-
sender: z.ZodObject<{
|
409
|
+
sender: z.ZodOptional<z.ZodObject<{
|
393
410
|
id: z.ZodString;
|
394
411
|
name: z.ZodString;
|
395
412
|
email: z.ZodString;
|
@@ -407,17 +424,10 @@ export declare const messengerContract: {
|
|
407
424
|
name: string;
|
408
425
|
email: string;
|
409
426
|
phone: string | null;
|
410
|
-
}
|
427
|
+
}>>;
|
411
428
|
}, "strip", z.ZodTypeAny, {
|
412
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
429
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
413
430
|
direction: "incoming" | "outgoing" | "system";
|
414
|
-
sender: {
|
415
|
-
id: string;
|
416
|
-
address: string | null;
|
417
|
-
name: string;
|
418
|
-
email: string;
|
419
|
-
phone: string | null;
|
420
|
-
};
|
421
431
|
message?: string | undefined;
|
422
432
|
readAt?: Date | undefined;
|
423
433
|
metadata?: any;
|
@@ -434,17 +444,18 @@ export declare const messengerContract: {
|
|
434
444
|
fileKey: string;
|
435
445
|
bucketName: string;
|
436
446
|
fileSize: number;
|
447
|
+
originalUrl?: string | undefined;
|
437
448
|
} | undefined;
|
438
|
-
|
439
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
440
|
-
direction: "incoming" | "outgoing" | "system";
|
441
|
-
sender: {
|
449
|
+
sender?: {
|
442
450
|
id: string;
|
443
451
|
address: string | null;
|
444
452
|
name: string;
|
445
453
|
email: string;
|
446
454
|
phone: string | null;
|
447
|
-
};
|
455
|
+
} | undefined;
|
456
|
+
}, {
|
457
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
458
|
+
direction: "incoming" | "outgoing" | "system";
|
448
459
|
message?: string | undefined;
|
449
460
|
readAt?: Date | undefined;
|
450
461
|
metadata?: any;
|
@@ -461,19 +472,20 @@ export declare const messengerContract: {
|
|
461
472
|
fileKey: string;
|
462
473
|
bucketName: string;
|
463
474
|
fileSize: number;
|
475
|
+
originalUrl?: string | undefined;
|
464
476
|
} | undefined;
|
465
|
-
|
466
|
-
}, "strip", z.ZodTypeAny, {
|
467
|
-
message: {
|
468
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
469
|
-
direction: "incoming" | "outgoing" | "system";
|
470
|
-
sender: {
|
477
|
+
sender?: {
|
471
478
|
id: string;
|
472
479
|
address: string | null;
|
473
480
|
name: string;
|
474
481
|
email: string;
|
475
482
|
phone: string | null;
|
476
|
-
};
|
483
|
+
} | undefined;
|
484
|
+
}>;
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
486
|
+
message: {
|
487
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
488
|
+
direction: "incoming" | "outgoing" | "system";
|
477
489
|
message?: string | undefined;
|
478
490
|
readAt?: Date | undefined;
|
479
491
|
metadata?: any;
|
@@ -490,6 +502,14 @@ export declare const messengerContract: {
|
|
490
502
|
fileKey: string;
|
491
503
|
bucketName: string;
|
492
504
|
fileSize: number;
|
505
|
+
originalUrl?: string | undefined;
|
506
|
+
} | undefined;
|
507
|
+
sender?: {
|
508
|
+
id: string;
|
509
|
+
address: string | null;
|
510
|
+
name: string;
|
511
|
+
email: string;
|
512
|
+
phone: string | null;
|
493
513
|
} | undefined;
|
494
514
|
};
|
495
515
|
room: {
|
@@ -504,12 +524,14 @@ export declare const messengerContract: {
|
|
504
524
|
accessToken?: string | undefined;
|
505
525
|
channelSecret?: string | undefined;
|
506
526
|
additionalCredentials?: any;
|
527
|
+
lineRichMenuId?: string | null | undefined;
|
507
528
|
};
|
508
529
|
status: boolean;
|
509
530
|
brandName: string;
|
510
531
|
platformId: string;
|
511
532
|
connectedUserName?: string | null | undefined;
|
512
533
|
connectedUserId?: string | null | undefined;
|
534
|
+
lineRichMenuId?: string | null | undefined;
|
513
535
|
actor?: {
|
514
536
|
id: string;
|
515
537
|
address: string | null;
|
@@ -559,17 +581,11 @@ export declare const messengerContract: {
|
|
559
581
|
metadata?: any;
|
560
582
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
561
583
|
};
|
584
|
+
isBot: boolean | null;
|
562
585
|
}, {
|
563
586
|
message: {
|
564
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
587
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
565
588
|
direction: "incoming" | "outgoing" | "system";
|
566
|
-
sender: {
|
567
|
-
id: string;
|
568
|
-
address: string | null;
|
569
|
-
name: string;
|
570
|
-
email: string;
|
571
|
-
phone: string | null;
|
572
|
-
};
|
573
589
|
message?: string | undefined;
|
574
590
|
readAt?: Date | undefined;
|
575
591
|
metadata?: any;
|
@@ -586,6 +602,14 @@ export declare const messengerContract: {
|
|
586
602
|
fileKey: string;
|
587
603
|
bucketName: string;
|
588
604
|
fileSize: number;
|
605
|
+
originalUrl?: string | undefined;
|
606
|
+
} | undefined;
|
607
|
+
sender?: {
|
608
|
+
id: string;
|
609
|
+
address: string | null;
|
610
|
+
name: string;
|
611
|
+
email: string;
|
612
|
+
phone: string | null;
|
589
613
|
} | undefined;
|
590
614
|
};
|
591
615
|
room: {
|
@@ -600,12 +624,14 @@ export declare const messengerContract: {
|
|
600
624
|
accessToken?: string | undefined;
|
601
625
|
channelSecret?: string | undefined;
|
602
626
|
additionalCredentials?: any;
|
627
|
+
lineRichMenuId?: string | null | undefined;
|
603
628
|
};
|
604
629
|
status: boolean;
|
605
630
|
brandName: string;
|
606
631
|
platformId: string;
|
607
632
|
connectedUserName?: string | null | undefined;
|
608
633
|
connectedUserId?: string | null | undefined;
|
634
|
+
lineRichMenuId?: string | null | undefined;
|
609
635
|
actor?: {
|
610
636
|
id: string;
|
611
637
|
address: string | null;
|
@@ -655,6 +681,7 @@ export declare const messengerContract: {
|
|
655
681
|
metadata?: any;
|
656
682
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
657
683
|
};
|
684
|
+
isBot?: boolean | null | undefined;
|
658
685
|
}>;
|
659
686
|
method: "POST";
|
660
687
|
responses: {
|
@@ -667,7 +694,7 @@ export declare const messengerContract: {
|
|
667
694
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
668
695
|
message: z.ZodString;
|
669
696
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
670
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
697
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
671
698
|
readAt: z.ZodDate;
|
672
699
|
metadata: z.ZodAny;
|
673
700
|
platformId: z.ZodString;
|
@@ -692,6 +719,7 @@ export declare const messengerContract: {
|
|
692
719
|
firstResponseAt: z.ZodDate;
|
693
720
|
firstResponseTime: z.ZodNumber;
|
694
721
|
isLatest: z.ZodBoolean;
|
722
|
+
isBotRoom: z.ZodBoolean;
|
695
723
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
696
724
|
platformContact: z.ZodObject<{
|
697
725
|
id: z.ZodString;
|
@@ -2048,18 +2076,21 @@ export declare const messengerContract: {
|
|
2048
2076
|
accessToken: z.ZodOptional<z.ZodString>;
|
2049
2077
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2050
2078
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2079
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2051
2080
|
}, "strip", z.ZodTypeAny, {
|
2052
2081
|
id: string;
|
2053
2082
|
name: string;
|
2054
2083
|
accessToken?: string | undefined;
|
2055
2084
|
channelSecret?: string | undefined;
|
2056
2085
|
additionalCredentials?: any;
|
2086
|
+
lineRichMenuId?: string | null | undefined;
|
2057
2087
|
}, {
|
2058
2088
|
id: string;
|
2059
2089
|
name: string;
|
2060
2090
|
accessToken?: string | undefined;
|
2061
2091
|
channelSecret?: string | undefined;
|
2062
2092
|
additionalCredentials?: any;
|
2093
|
+
lineRichMenuId?: string | null | undefined;
|
2063
2094
|
}>;
|
2064
2095
|
brandName: z.ZodString;
|
2065
2096
|
platformId: z.ZodString;
|
@@ -2067,6 +2098,25 @@ export declare const messengerContract: {
|
|
2067
2098
|
isReloginRequired: z.ZodBoolean;
|
2068
2099
|
connectedUserName: z.ZodString;
|
2069
2100
|
connectedUserId: z.ZodString;
|
2101
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2102
|
+
id: z.ZodString;
|
2103
|
+
name: z.ZodString;
|
2104
|
+
botId: z.ZodString;
|
2105
|
+
integrationId: z.ZodString;
|
2106
|
+
accessToken: z.ZodString;
|
2107
|
+
}, "strip", z.ZodTypeAny, {
|
2108
|
+
id: string;
|
2109
|
+
name: string;
|
2110
|
+
accessToken: string;
|
2111
|
+
botId: string;
|
2112
|
+
integrationId: string;
|
2113
|
+
}, {
|
2114
|
+
id: string;
|
2115
|
+
name: string;
|
2116
|
+
accessToken: string;
|
2117
|
+
botId: string;
|
2118
|
+
integrationId: string;
|
2119
|
+
}>>;
|
2070
2120
|
actor: z.ZodObject<{
|
2071
2121
|
id: z.ZodString;
|
2072
2122
|
createdAt: z.ZodDate;
|
@@ -2281,6 +2331,7 @@ export declare const messengerContract: {
|
|
2281
2331
|
accessToken?: string | undefined;
|
2282
2332
|
channelSecret?: string | undefined;
|
2283
2333
|
additionalCredentials?: any;
|
2334
|
+
lineRichMenuId?: string | null | undefined;
|
2284
2335
|
};
|
2285
2336
|
status: boolean;
|
2286
2337
|
createdAt: Date;
|
@@ -2335,6 +2386,13 @@ export declare const messengerContract: {
|
|
2335
2386
|
isReloginRequired: boolean;
|
2336
2387
|
connectedUserName: string;
|
2337
2388
|
connectedUserId: string;
|
2389
|
+
botpressBot: {
|
2390
|
+
id: string;
|
2391
|
+
name: string;
|
2392
|
+
accessToken: string;
|
2393
|
+
botId: string;
|
2394
|
+
integrationId: string;
|
2395
|
+
} | null;
|
2338
2396
|
}, {
|
2339
2397
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2340
2398
|
id: string;
|
@@ -2345,6 +2403,7 @@ export declare const messengerContract: {
|
|
2345
2403
|
accessToken?: string | undefined;
|
2346
2404
|
channelSecret?: string | undefined;
|
2347
2405
|
additionalCredentials?: any;
|
2406
|
+
lineRichMenuId?: string | null | undefined;
|
2348
2407
|
};
|
2349
2408
|
status: boolean;
|
2350
2409
|
createdAt: Date;
|
@@ -2399,6 +2458,13 @@ export declare const messengerContract: {
|
|
2399
2458
|
isReloginRequired: boolean;
|
2400
2459
|
connectedUserName: string;
|
2401
2460
|
connectedUserId: string;
|
2461
|
+
botpressBot: {
|
2462
|
+
id: string;
|
2463
|
+
name: string;
|
2464
|
+
accessToken: string;
|
2465
|
+
botId: string;
|
2466
|
+
integrationId: string;
|
2467
|
+
} | null;
|
2402
2468
|
}>;
|
2403
2469
|
cxlog: z.ZodObject<{
|
2404
2470
|
id: z.ZodString;
|
@@ -2856,6 +2922,7 @@ export declare const messengerContract: {
|
|
2856
2922
|
accessToken?: string | undefined;
|
2857
2923
|
channelSecret?: string | undefined;
|
2858
2924
|
additionalCredentials?: any;
|
2925
|
+
lineRichMenuId?: string | null | undefined;
|
2859
2926
|
};
|
2860
2927
|
status: boolean;
|
2861
2928
|
createdAt: Date;
|
@@ -2910,6 +2977,13 @@ export declare const messengerContract: {
|
|
2910
2977
|
isReloginRequired: boolean;
|
2911
2978
|
connectedUserName: string;
|
2912
2979
|
connectedUserId: string;
|
2980
|
+
botpressBot: {
|
2981
|
+
id: string;
|
2982
|
+
name: string;
|
2983
|
+
accessToken: string;
|
2984
|
+
botId: string;
|
2985
|
+
integrationId: string;
|
2986
|
+
} | null;
|
2913
2987
|
};
|
2914
2988
|
direction: "incoming" | "outgoing" | "system";
|
2915
2989
|
status: number;
|
@@ -3124,6 +3198,7 @@ export declare const messengerContract: {
|
|
3124
3198
|
};
|
3125
3199
|
closedAt: Date;
|
3126
3200
|
lastMessageAt: Date | null;
|
3201
|
+
isBotRoom: boolean;
|
3127
3202
|
cxlog: {
|
3128
3203
|
id: string;
|
3129
3204
|
channel: string | null;
|
@@ -3214,6 +3289,7 @@ export declare const messengerContract: {
|
|
3214
3289
|
accessToken?: string | undefined;
|
3215
3290
|
channelSecret?: string | undefined;
|
3216
3291
|
additionalCredentials?: any;
|
3292
|
+
lineRichMenuId?: string | null | undefined;
|
3217
3293
|
};
|
3218
3294
|
status: boolean;
|
3219
3295
|
createdAt: Date;
|
@@ -3268,6 +3344,13 @@ export declare const messengerContract: {
|
|
3268
3344
|
isReloginRequired: boolean;
|
3269
3345
|
connectedUserName: string;
|
3270
3346
|
connectedUserId: string;
|
3347
|
+
botpressBot: {
|
3348
|
+
id: string;
|
3349
|
+
name: string;
|
3350
|
+
accessToken: string;
|
3351
|
+
botId: string;
|
3352
|
+
integrationId: string;
|
3353
|
+
} | null;
|
3271
3354
|
};
|
3272
3355
|
direction: "incoming" | "outgoing" | "system";
|
3273
3356
|
status: number;
|
@@ -3482,6 +3565,7 @@ export declare const messengerContract: {
|
|
3482
3565
|
};
|
3483
3566
|
closedAt: Date;
|
3484
3567
|
lastMessageAt: Date | null;
|
3568
|
+
isBotRoom: boolean;
|
3485
3569
|
cxlog: {
|
3486
3570
|
id: string;
|
3487
3571
|
channel: string | null;
|
@@ -3602,7 +3686,7 @@ export declare const messengerContract: {
|
|
3602
3686
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3603
3687
|
message: z.ZodString;
|
3604
3688
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3605
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3689
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3606
3690
|
readAt: z.ZodDate;
|
3607
3691
|
metadata: z.ZodAny;
|
3608
3692
|
platformId: z.ZodString;
|
@@ -4260,7 +4344,7 @@ export declare const messengerContract: {
|
|
4260
4344
|
};
|
4261
4345
|
}>;
|
4262
4346
|
}, "strip", z.ZodTypeAny, {
|
4263
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4347
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4264
4348
|
message: string;
|
4265
4349
|
id: string;
|
4266
4350
|
url: string;
|
@@ -4312,7 +4396,6 @@ export declare const messengerContract: {
|
|
4312
4396
|
telephonySignature: string | null;
|
4313
4397
|
};
|
4314
4398
|
};
|
4315
|
-
platformId: string;
|
4316
4399
|
upload: {
|
4317
4400
|
id: string;
|
4318
4401
|
createdAt: Date;
|
@@ -4369,6 +4452,7 @@ export declare const messengerContract: {
|
|
4369
4452
|
telephonySignature: string | null;
|
4370
4453
|
};
|
4371
4454
|
};
|
4455
|
+
platformId: string;
|
4372
4456
|
readAt: Date;
|
4373
4457
|
platformMessageId: string;
|
4374
4458
|
replyPlatformMessageId: string;
|
@@ -4422,7 +4506,7 @@ export declare const messengerContract: {
|
|
4422
4506
|
metadata?: any;
|
4423
4507
|
template?: any;
|
4424
4508
|
}, {
|
4425
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4509
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4426
4510
|
message: string;
|
4427
4511
|
id: string;
|
4428
4512
|
url: string;
|
@@ -4474,7 +4558,6 @@ export declare const messengerContract: {
|
|
4474
4558
|
telephonySignature: string | null;
|
4475
4559
|
};
|
4476
4560
|
};
|
4477
|
-
platformId: string;
|
4478
4561
|
upload: {
|
4479
4562
|
id: string;
|
4480
4563
|
createdAt: Date;
|
@@ -4531,6 +4614,7 @@ export declare const messengerContract: {
|
|
4531
4614
|
telephonySignature: string | null;
|
4532
4615
|
};
|
4533
4616
|
};
|
4617
|
+
platformId: string;
|
4534
4618
|
readAt: Date;
|
4535
4619
|
platformMessageId: string;
|
4536
4620
|
replyPlatformMessageId: string;
|
@@ -5222,7 +5306,7 @@ export declare const messengerContract: {
|
|
5222
5306
|
isActive: boolean;
|
5223
5307
|
}>;
|
5224
5308
|
}, "strip", z.ZodTypeAny, {
|
5225
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5309
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5226
5310
|
message: string;
|
5227
5311
|
id: string;
|
5228
5312
|
url: string;
|
@@ -5274,7 +5358,6 @@ export declare const messengerContract: {
|
|
5274
5358
|
telephonySignature: string | null;
|
5275
5359
|
};
|
5276
5360
|
};
|
5277
|
-
platformId: string;
|
5278
5361
|
upload: {
|
5279
5362
|
id: string;
|
5280
5363
|
createdAt: Date;
|
@@ -5331,6 +5414,7 @@ export declare const messengerContract: {
|
|
5331
5414
|
telephonySignature: string | null;
|
5332
5415
|
};
|
5333
5416
|
};
|
5417
|
+
platformId: string;
|
5334
5418
|
room: {
|
5335
5419
|
id: string;
|
5336
5420
|
channel: {
|
@@ -5343,6 +5427,7 @@ export declare const messengerContract: {
|
|
5343
5427
|
accessToken?: string | undefined;
|
5344
5428
|
channelSecret?: string | undefined;
|
5345
5429
|
additionalCredentials?: any;
|
5430
|
+
lineRichMenuId?: string | null | undefined;
|
5346
5431
|
};
|
5347
5432
|
status: boolean;
|
5348
5433
|
createdAt: Date;
|
@@ -5397,6 +5482,13 @@ export declare const messengerContract: {
|
|
5397
5482
|
isReloginRequired: boolean;
|
5398
5483
|
connectedUserName: string;
|
5399
5484
|
connectedUserId: string;
|
5485
|
+
botpressBot: {
|
5486
|
+
id: string;
|
5487
|
+
name: string;
|
5488
|
+
accessToken: string;
|
5489
|
+
botId: string;
|
5490
|
+
integrationId: string;
|
5491
|
+
} | null;
|
5400
5492
|
};
|
5401
5493
|
direction: "incoming" | "outgoing" | "system";
|
5402
5494
|
status: number;
|
@@ -5611,6 +5703,7 @@ export declare const messengerContract: {
|
|
5611
5703
|
};
|
5612
5704
|
closedAt: Date;
|
5613
5705
|
lastMessageAt: Date | null;
|
5706
|
+
isBotRoom: boolean;
|
5614
5707
|
cxlog: {
|
5615
5708
|
id: string;
|
5616
5709
|
channel: string | null;
|
@@ -5706,7 +5799,7 @@ export declare const messengerContract: {
|
|
5706
5799
|
previewUrl: string;
|
5707
5800
|
imageSetId: string;
|
5708
5801
|
repliedMessage: {
|
5709
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5802
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5710
5803
|
message: string;
|
5711
5804
|
id: string;
|
5712
5805
|
url: string;
|
@@ -5758,7 +5851,6 @@ export declare const messengerContract: {
|
|
5758
5851
|
telephonySignature: string | null;
|
5759
5852
|
};
|
5760
5853
|
};
|
5761
|
-
platformId: string;
|
5762
5854
|
upload: {
|
5763
5855
|
id: string;
|
5764
5856
|
createdAt: Date;
|
@@ -5815,6 +5907,7 @@ export declare const messengerContract: {
|
|
5815
5907
|
telephonySignature: string | null;
|
5816
5908
|
};
|
5817
5909
|
};
|
5910
|
+
platformId: string;
|
5818
5911
|
readAt: Date;
|
5819
5912
|
platformMessageId: string;
|
5820
5913
|
replyPlatformMessageId: string;
|
@@ -5915,7 +6008,7 @@ export declare const messengerContract: {
|
|
5915
6008
|
metadata?: any;
|
5916
6009
|
template?: any;
|
5917
6010
|
}, {
|
5918
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6011
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5919
6012
|
message: string;
|
5920
6013
|
id: string;
|
5921
6014
|
url: string;
|
@@ -5967,7 +6060,6 @@ export declare const messengerContract: {
|
|
5967
6060
|
telephonySignature: string | null;
|
5968
6061
|
};
|
5969
6062
|
};
|
5970
|
-
platformId: string;
|
5971
6063
|
upload: {
|
5972
6064
|
id: string;
|
5973
6065
|
createdAt: Date;
|
@@ -6024,6 +6116,7 @@ export declare const messengerContract: {
|
|
6024
6116
|
telephonySignature: string | null;
|
6025
6117
|
};
|
6026
6118
|
};
|
6119
|
+
platformId: string;
|
6027
6120
|
room: {
|
6028
6121
|
id: string;
|
6029
6122
|
channel: {
|
@@ -6036,6 +6129,7 @@ export declare const messengerContract: {
|
|
6036
6129
|
accessToken?: string | undefined;
|
6037
6130
|
channelSecret?: string | undefined;
|
6038
6131
|
additionalCredentials?: any;
|
6132
|
+
lineRichMenuId?: string | null | undefined;
|
6039
6133
|
};
|
6040
6134
|
status: boolean;
|
6041
6135
|
createdAt: Date;
|
@@ -6090,6 +6184,13 @@ export declare const messengerContract: {
|
|
6090
6184
|
isReloginRequired: boolean;
|
6091
6185
|
connectedUserName: string;
|
6092
6186
|
connectedUserId: string;
|
6187
|
+
botpressBot: {
|
6188
|
+
id: string;
|
6189
|
+
name: string;
|
6190
|
+
accessToken: string;
|
6191
|
+
botId: string;
|
6192
|
+
integrationId: string;
|
6193
|
+
} | null;
|
6093
6194
|
};
|
6094
6195
|
direction: "incoming" | "outgoing" | "system";
|
6095
6196
|
status: number;
|
@@ -6304,6 +6405,7 @@ export declare const messengerContract: {
|
|
6304
6405
|
};
|
6305
6406
|
closedAt: Date;
|
6306
6407
|
lastMessageAt: Date | null;
|
6408
|
+
isBotRoom: boolean;
|
6307
6409
|
cxlog: {
|
6308
6410
|
id: string;
|
6309
6411
|
channel: string | null;
|
@@ -6399,7 +6501,7 @@ export declare const messengerContract: {
|
|
6399
6501
|
previewUrl: string;
|
6400
6502
|
imageSetId: string;
|
6401
6503
|
repliedMessage: {
|
6402
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6504
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6403
6505
|
message: string;
|
6404
6506
|
id: string;
|
6405
6507
|
url: string;
|
@@ -6451,7 +6553,6 @@ export declare const messengerContract: {
|
|
6451
6553
|
telephonySignature: string | null;
|
6452
6554
|
};
|
6453
6555
|
};
|
6454
|
-
platformId: string;
|
6455
6556
|
upload: {
|
6456
6557
|
id: string;
|
6457
6558
|
createdAt: Date;
|
@@ -6508,6 +6609,7 @@ export declare const messengerContract: {
|
|
6508
6609
|
telephonySignature: string | null;
|
6509
6610
|
};
|
6510
6611
|
};
|
6612
|
+
platformId: string;
|
6511
6613
|
readAt: Date;
|
6512
6614
|
platformMessageId: string;
|
6513
6615
|
replyPlatformMessageId: string;
|
@@ -6610,7 +6712,7 @@ export declare const messengerContract: {
|
|
6610
6712
|
}>;
|
6611
6713
|
}, "strip", z.ZodTypeAny, {
|
6612
6714
|
data: {
|
6613
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6715
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6614
6716
|
message: string;
|
6615
6717
|
id: string;
|
6616
6718
|
url: string;
|
@@ -6662,7 +6764,6 @@ export declare const messengerContract: {
|
|
6662
6764
|
telephonySignature: string | null;
|
6663
6765
|
};
|
6664
6766
|
};
|
6665
|
-
platformId: string;
|
6666
6767
|
upload: {
|
6667
6768
|
id: string;
|
6668
6769
|
createdAt: Date;
|
@@ -6719,6 +6820,7 @@ export declare const messengerContract: {
|
|
6719
6820
|
telephonySignature: string | null;
|
6720
6821
|
};
|
6721
6822
|
};
|
6823
|
+
platformId: string;
|
6722
6824
|
room: {
|
6723
6825
|
id: string;
|
6724
6826
|
channel: {
|
@@ -6731,6 +6833,7 @@ export declare const messengerContract: {
|
|
6731
6833
|
accessToken?: string | undefined;
|
6732
6834
|
channelSecret?: string | undefined;
|
6733
6835
|
additionalCredentials?: any;
|
6836
|
+
lineRichMenuId?: string | null | undefined;
|
6734
6837
|
};
|
6735
6838
|
status: boolean;
|
6736
6839
|
createdAt: Date;
|
@@ -6785,6 +6888,13 @@ export declare const messengerContract: {
|
|
6785
6888
|
isReloginRequired: boolean;
|
6786
6889
|
connectedUserName: string;
|
6787
6890
|
connectedUserId: string;
|
6891
|
+
botpressBot: {
|
6892
|
+
id: string;
|
6893
|
+
name: string;
|
6894
|
+
accessToken: string;
|
6895
|
+
botId: string;
|
6896
|
+
integrationId: string;
|
6897
|
+
} | null;
|
6788
6898
|
};
|
6789
6899
|
direction: "incoming" | "outgoing" | "system";
|
6790
6900
|
status: number;
|
@@ -6999,6 +7109,7 @@ export declare const messengerContract: {
|
|
6999
7109
|
};
|
7000
7110
|
closedAt: Date;
|
7001
7111
|
lastMessageAt: Date | null;
|
7112
|
+
isBotRoom: boolean;
|
7002
7113
|
cxlog: {
|
7003
7114
|
id: string;
|
7004
7115
|
channel: string | null;
|
@@ -7094,7 +7205,7 @@ export declare const messengerContract: {
|
|
7094
7205
|
previewUrl: string;
|
7095
7206
|
imageSetId: string;
|
7096
7207
|
repliedMessage: {
|
7097
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7208
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7098
7209
|
message: string;
|
7099
7210
|
id: string;
|
7100
7211
|
url: string;
|
@@ -7146,7 +7257,6 @@ export declare const messengerContract: {
|
|
7146
7257
|
telephonySignature: string | null;
|
7147
7258
|
};
|
7148
7259
|
};
|
7149
|
-
platformId: string;
|
7150
7260
|
upload: {
|
7151
7261
|
id: string;
|
7152
7262
|
createdAt: Date;
|
@@ -7203,6 +7313,7 @@ export declare const messengerContract: {
|
|
7203
7313
|
telephonySignature: string | null;
|
7204
7314
|
};
|
7205
7315
|
};
|
7316
|
+
platformId: string;
|
7206
7317
|
readAt: Date;
|
7207
7318
|
platformMessageId: string;
|
7208
7319
|
replyPlatformMessageId: string;
|
@@ -7306,7 +7417,7 @@ export declare const messengerContract: {
|
|
7306
7417
|
requestId: string;
|
7307
7418
|
}, {
|
7308
7419
|
data: {
|
7309
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7420
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7310
7421
|
message: string;
|
7311
7422
|
id: string;
|
7312
7423
|
url: string;
|
@@ -7358,7 +7469,6 @@ export declare const messengerContract: {
|
|
7358
7469
|
telephonySignature: string | null;
|
7359
7470
|
};
|
7360
7471
|
};
|
7361
|
-
platformId: string;
|
7362
7472
|
upload: {
|
7363
7473
|
id: string;
|
7364
7474
|
createdAt: Date;
|
@@ -7415,6 +7525,7 @@ export declare const messengerContract: {
|
|
7415
7525
|
telephonySignature: string | null;
|
7416
7526
|
};
|
7417
7527
|
};
|
7528
|
+
platformId: string;
|
7418
7529
|
room: {
|
7419
7530
|
id: string;
|
7420
7531
|
channel: {
|
@@ -7427,6 +7538,7 @@ export declare const messengerContract: {
|
|
7427
7538
|
accessToken?: string | undefined;
|
7428
7539
|
channelSecret?: string | undefined;
|
7429
7540
|
additionalCredentials?: any;
|
7541
|
+
lineRichMenuId?: string | null | undefined;
|
7430
7542
|
};
|
7431
7543
|
status: boolean;
|
7432
7544
|
createdAt: Date;
|
@@ -7481,6 +7593,13 @@ export declare const messengerContract: {
|
|
7481
7593
|
isReloginRequired: boolean;
|
7482
7594
|
connectedUserName: string;
|
7483
7595
|
connectedUserId: string;
|
7596
|
+
botpressBot: {
|
7597
|
+
id: string;
|
7598
|
+
name: string;
|
7599
|
+
accessToken: string;
|
7600
|
+
botId: string;
|
7601
|
+
integrationId: string;
|
7602
|
+
} | null;
|
7484
7603
|
};
|
7485
7604
|
direction: "incoming" | "outgoing" | "system";
|
7486
7605
|
status: number;
|
@@ -7695,6 +7814,7 @@ export declare const messengerContract: {
|
|
7695
7814
|
};
|
7696
7815
|
closedAt: Date;
|
7697
7816
|
lastMessageAt: Date | null;
|
7817
|
+
isBotRoom: boolean;
|
7698
7818
|
cxlog: {
|
7699
7819
|
id: string;
|
7700
7820
|
channel: string | null;
|
@@ -7790,7 +7910,7 @@ export declare const messengerContract: {
|
|
7790
7910
|
previewUrl: string;
|
7791
7911
|
imageSetId: string;
|
7792
7912
|
repliedMessage: {
|
7793
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7913
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7794
7914
|
message: string;
|
7795
7915
|
id: string;
|
7796
7916
|
url: string;
|
@@ -7842,7 +7962,6 @@ export declare const messengerContract: {
|
|
7842
7962
|
telephonySignature: string | null;
|
7843
7963
|
};
|
7844
7964
|
};
|
7845
|
-
platformId: string;
|
7846
7965
|
upload: {
|
7847
7966
|
id: string;
|
7848
7967
|
createdAt: Date;
|
@@ -7899,6 +8018,7 @@ export declare const messengerContract: {
|
|
7899
8018
|
telephonySignature: string | null;
|
7900
8019
|
};
|
7901
8020
|
};
|
8021
|
+
platformId: string;
|
7902
8022
|
readAt: Date;
|
7903
8023
|
platformMessageId: string;
|
7904
8024
|
replyPlatformMessageId: string;
|
@@ -8035,24 +8155,28 @@ export declare const messengerContract: {
|
|
8035
8155
|
accessToken: z.ZodOptional<z.ZodString>;
|
8036
8156
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8037
8157
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8158
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8038
8159
|
}, "strip", z.ZodTypeAny, {
|
8039
8160
|
id: string;
|
8040
8161
|
name: string;
|
8041
8162
|
accessToken?: string | undefined;
|
8042
8163
|
channelSecret?: string | undefined;
|
8043
8164
|
additionalCredentials?: any;
|
8165
|
+
lineRichMenuId?: string | null | undefined;
|
8044
8166
|
}, {
|
8045
8167
|
id: string;
|
8046
8168
|
name: string;
|
8047
8169
|
accessToken?: string | undefined;
|
8048
8170
|
channelSecret?: string | undefined;
|
8049
8171
|
additionalCredentials?: any;
|
8172
|
+
lineRichMenuId?: string | null | undefined;
|
8050
8173
|
}>>;
|
8051
8174
|
platformId: z.ZodOptional<z.ZodString>;
|
8052
8175
|
brandName: z.ZodOptional<z.ZodString>;
|
8053
8176
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
8054
8177
|
connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8055
8178
|
connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8179
|
+
lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8056
8180
|
actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
8057
8181
|
id: z.ZodString;
|
8058
8182
|
name: z.ZodString;
|
@@ -8082,12 +8206,14 @@ export declare const messengerContract: {
|
|
8082
8206
|
accessToken?: string | undefined;
|
8083
8207
|
channelSecret?: string | undefined;
|
8084
8208
|
additionalCredentials?: any;
|
8209
|
+
lineRichMenuId?: string | null | undefined;
|
8085
8210
|
} | undefined;
|
8086
8211
|
platformId?: string | undefined;
|
8087
8212
|
brandName?: string | undefined;
|
8088
8213
|
status?: boolean | undefined;
|
8089
8214
|
connectedUserName?: string | null | undefined;
|
8090
8215
|
connectedUserId?: string | null | undefined;
|
8216
|
+
lineRichMenuId?: string | null | undefined;
|
8091
8217
|
actor?: {
|
8092
8218
|
id: string;
|
8093
8219
|
address: string | null;
|
@@ -8105,12 +8231,14 @@ export declare const messengerContract: {
|
|
8105
8231
|
accessToken?: string | undefined;
|
8106
8232
|
channelSecret?: string | undefined;
|
8107
8233
|
additionalCredentials?: any;
|
8234
|
+
lineRichMenuId?: string | null | undefined;
|
8108
8235
|
} | undefined;
|
8109
8236
|
platformId?: string | undefined;
|
8110
8237
|
brandName?: string | undefined;
|
8111
8238
|
status?: boolean | undefined;
|
8112
8239
|
connectedUserName?: string | null | undefined;
|
8113
8240
|
connectedUserId?: string | null | undefined;
|
8241
|
+
lineRichMenuId?: string | null | undefined;
|
8114
8242
|
actor?: {
|
8115
8243
|
id: string;
|
8116
8244
|
address: string | null;
|
@@ -8133,24 +8261,28 @@ export declare const messengerContract: {
|
|
8133
8261
|
accessToken: z.ZodOptional<z.ZodString>;
|
8134
8262
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8135
8263
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8264
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8136
8265
|
}, "strip", z.ZodTypeAny, {
|
8137
8266
|
id: string;
|
8138
8267
|
name: string;
|
8139
8268
|
accessToken?: string | undefined;
|
8140
8269
|
channelSecret?: string | undefined;
|
8141
8270
|
additionalCredentials?: any;
|
8271
|
+
lineRichMenuId?: string | null | undefined;
|
8142
8272
|
}, {
|
8143
8273
|
id: string;
|
8144
8274
|
name: string;
|
8145
8275
|
accessToken?: string | undefined;
|
8146
8276
|
channelSecret?: string | undefined;
|
8147
8277
|
additionalCredentials?: any;
|
8278
|
+
lineRichMenuId?: string | null | undefined;
|
8148
8279
|
}>;
|
8149
8280
|
platformId: z.ZodString;
|
8150
8281
|
brandName: z.ZodString;
|
8151
8282
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8152
8283
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8153
8284
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8285
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8154
8286
|
actor: z.ZodOptional<z.ZodObject<{
|
8155
8287
|
id: z.ZodString;
|
8156
8288
|
name: z.ZodString;
|
@@ -8180,12 +8312,14 @@ export declare const messengerContract: {
|
|
8180
8312
|
accessToken?: string | undefined;
|
8181
8313
|
channelSecret?: string | undefined;
|
8182
8314
|
additionalCredentials?: any;
|
8315
|
+
lineRichMenuId?: string | null | undefined;
|
8183
8316
|
};
|
8184
8317
|
status: boolean;
|
8185
8318
|
brandName: string;
|
8186
8319
|
platformId: string;
|
8187
8320
|
connectedUserName?: string | null | undefined;
|
8188
8321
|
connectedUserId?: string | null | undefined;
|
8322
|
+
lineRichMenuId?: string | null | undefined;
|
8189
8323
|
actor?: {
|
8190
8324
|
id: string;
|
8191
8325
|
address: string | null;
|
@@ -8203,12 +8337,14 @@ export declare const messengerContract: {
|
|
8203
8337
|
accessToken?: string | undefined;
|
8204
8338
|
channelSecret?: string | undefined;
|
8205
8339
|
additionalCredentials?: any;
|
8340
|
+
lineRichMenuId?: string | null | undefined;
|
8206
8341
|
};
|
8207
8342
|
status: boolean;
|
8208
8343
|
brandName: string;
|
8209
8344
|
platformId: string;
|
8210
8345
|
connectedUserName?: string | null | undefined;
|
8211
8346
|
connectedUserId?: string | null | undefined;
|
8347
|
+
lineRichMenuId?: string | null | undefined;
|
8212
8348
|
actor?: {
|
8213
8349
|
id: string;
|
8214
8350
|
address: string | null;
|
@@ -8228,12 +8364,14 @@ export declare const messengerContract: {
|
|
8228
8364
|
accessToken?: string | undefined;
|
8229
8365
|
channelSecret?: string | undefined;
|
8230
8366
|
additionalCredentials?: any;
|
8367
|
+
lineRichMenuId?: string | null | undefined;
|
8231
8368
|
};
|
8232
8369
|
status: boolean;
|
8233
8370
|
brandName: string;
|
8234
8371
|
platformId: string;
|
8235
8372
|
connectedUserName?: string | null | undefined;
|
8236
8373
|
connectedUserId?: string | null | undefined;
|
8374
|
+
lineRichMenuId?: string | null | undefined;
|
8237
8375
|
actor?: {
|
8238
8376
|
id: string;
|
8239
8377
|
address: string | null;
|
@@ -8254,12 +8392,14 @@ export declare const messengerContract: {
|
|
8254
8392
|
accessToken?: string | undefined;
|
8255
8393
|
channelSecret?: string | undefined;
|
8256
8394
|
additionalCredentials?: any;
|
8395
|
+
lineRichMenuId?: string | null | undefined;
|
8257
8396
|
};
|
8258
8397
|
status: boolean;
|
8259
8398
|
brandName: string;
|
8260
8399
|
platformId: string;
|
8261
8400
|
connectedUserName?: string | null | undefined;
|
8262
8401
|
connectedUserId?: string | null | undefined;
|
8402
|
+
lineRichMenuId?: string | null | undefined;
|
8263
8403
|
actor?: {
|
8264
8404
|
id: string;
|
8265
8405
|
address: string | null;
|
@@ -8304,24 +8444,28 @@ export declare const messengerContract: {
|
|
8304
8444
|
accessToken: z.ZodOptional<z.ZodString>;
|
8305
8445
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8306
8446
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8447
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8307
8448
|
}, "strip", z.ZodTypeAny, {
|
8308
8449
|
id: string;
|
8309
8450
|
name: string;
|
8310
8451
|
accessToken?: string | undefined;
|
8311
8452
|
channelSecret?: string | undefined;
|
8312
8453
|
additionalCredentials?: any;
|
8454
|
+
lineRichMenuId?: string | null | undefined;
|
8313
8455
|
}, {
|
8314
8456
|
id: string;
|
8315
8457
|
name: string;
|
8316
8458
|
accessToken?: string | undefined;
|
8317
8459
|
channelSecret?: string | undefined;
|
8318
8460
|
additionalCredentials?: any;
|
8461
|
+
lineRichMenuId?: string | null | undefined;
|
8319
8462
|
}>>;
|
8320
8463
|
platformId: z.ZodOptional<z.ZodString>;
|
8321
8464
|
brandName: z.ZodOptional<z.ZodString>;
|
8322
8465
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
8323
8466
|
connectedUserName: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8324
8467
|
connectedUserId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8468
|
+
lineRichMenuId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
8325
8469
|
actor: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
8326
8470
|
id: z.ZodString;
|
8327
8471
|
name: z.ZodString;
|
@@ -8351,12 +8495,14 @@ export declare const messengerContract: {
|
|
8351
8495
|
accessToken?: string | undefined;
|
8352
8496
|
channelSecret?: string | undefined;
|
8353
8497
|
additionalCredentials?: any;
|
8498
|
+
lineRichMenuId?: string | null | undefined;
|
8354
8499
|
} | undefined;
|
8355
8500
|
platformId?: string | undefined;
|
8356
8501
|
brandName?: string | undefined;
|
8357
8502
|
status?: boolean | undefined;
|
8358
8503
|
connectedUserName?: string | null | undefined;
|
8359
8504
|
connectedUserId?: string | null | undefined;
|
8505
|
+
lineRichMenuId?: string | null | undefined;
|
8360
8506
|
actor?: {
|
8361
8507
|
id: string;
|
8362
8508
|
address: string | null;
|
@@ -8374,12 +8520,14 @@ export declare const messengerContract: {
|
|
8374
8520
|
accessToken?: string | undefined;
|
8375
8521
|
channelSecret?: string | undefined;
|
8376
8522
|
additionalCredentials?: any;
|
8523
|
+
lineRichMenuId?: string | null | undefined;
|
8377
8524
|
} | undefined;
|
8378
8525
|
platformId?: string | undefined;
|
8379
8526
|
brandName?: string | undefined;
|
8380
8527
|
status?: boolean | undefined;
|
8381
8528
|
connectedUserName?: string | null | undefined;
|
8382
8529
|
connectedUserId?: string | null | undefined;
|
8530
|
+
lineRichMenuId?: string | null | undefined;
|
8383
8531
|
actor?: {
|
8384
8532
|
id: string;
|
8385
8533
|
address: string | null;
|
@@ -8402,24 +8550,28 @@ export declare const messengerContract: {
|
|
8402
8550
|
accessToken: z.ZodOptional<z.ZodString>;
|
8403
8551
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8404
8552
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8553
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8405
8554
|
}, "strip", z.ZodTypeAny, {
|
8406
8555
|
id: string;
|
8407
8556
|
name: string;
|
8408
8557
|
accessToken?: string | undefined;
|
8409
8558
|
channelSecret?: string | undefined;
|
8410
8559
|
additionalCredentials?: any;
|
8560
|
+
lineRichMenuId?: string | null | undefined;
|
8411
8561
|
}, {
|
8412
8562
|
id: string;
|
8413
8563
|
name: string;
|
8414
8564
|
accessToken?: string | undefined;
|
8415
8565
|
channelSecret?: string | undefined;
|
8416
8566
|
additionalCredentials?: any;
|
8567
|
+
lineRichMenuId?: string | null | undefined;
|
8417
8568
|
}>;
|
8418
8569
|
platformId: z.ZodString;
|
8419
8570
|
brandName: z.ZodString;
|
8420
8571
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8421
8572
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8422
8573
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8574
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8423
8575
|
actor: z.ZodOptional<z.ZodObject<{
|
8424
8576
|
id: z.ZodString;
|
8425
8577
|
name: z.ZodString;
|
@@ -8449,12 +8601,14 @@ export declare const messengerContract: {
|
|
8449
8601
|
accessToken?: string | undefined;
|
8450
8602
|
channelSecret?: string | undefined;
|
8451
8603
|
additionalCredentials?: any;
|
8604
|
+
lineRichMenuId?: string | null | undefined;
|
8452
8605
|
};
|
8453
8606
|
status: boolean;
|
8454
8607
|
brandName: string;
|
8455
8608
|
platformId: string;
|
8456
8609
|
connectedUserName?: string | null | undefined;
|
8457
8610
|
connectedUserId?: string | null | undefined;
|
8611
|
+
lineRichMenuId?: string | null | undefined;
|
8458
8612
|
actor?: {
|
8459
8613
|
id: string;
|
8460
8614
|
address: string | null;
|
@@ -8472,12 +8626,14 @@ export declare const messengerContract: {
|
|
8472
8626
|
accessToken?: string | undefined;
|
8473
8627
|
channelSecret?: string | undefined;
|
8474
8628
|
additionalCredentials?: any;
|
8629
|
+
lineRichMenuId?: string | null | undefined;
|
8475
8630
|
};
|
8476
8631
|
status: boolean;
|
8477
8632
|
brandName: string;
|
8478
8633
|
platformId: string;
|
8479
8634
|
connectedUserName?: string | null | undefined;
|
8480
8635
|
connectedUserId?: string | null | undefined;
|
8636
|
+
lineRichMenuId?: string | null | undefined;
|
8481
8637
|
actor?: {
|
8482
8638
|
id: string;
|
8483
8639
|
address: string | null;
|
@@ -8497,12 +8653,14 @@ export declare const messengerContract: {
|
|
8497
8653
|
accessToken?: string | undefined;
|
8498
8654
|
channelSecret?: string | undefined;
|
8499
8655
|
additionalCredentials?: any;
|
8656
|
+
lineRichMenuId?: string | null | undefined;
|
8500
8657
|
};
|
8501
8658
|
status: boolean;
|
8502
8659
|
brandName: string;
|
8503
8660
|
platformId: string;
|
8504
8661
|
connectedUserName?: string | null | undefined;
|
8505
8662
|
connectedUserId?: string | null | undefined;
|
8663
|
+
lineRichMenuId?: string | null | undefined;
|
8506
8664
|
actor?: {
|
8507
8665
|
id: string;
|
8508
8666
|
address: string | null;
|
@@ -8523,12 +8681,14 @@ export declare const messengerContract: {
|
|
8523
8681
|
accessToken?: string | undefined;
|
8524
8682
|
channelSecret?: string | undefined;
|
8525
8683
|
additionalCredentials?: any;
|
8684
|
+
lineRichMenuId?: string | null | undefined;
|
8526
8685
|
};
|
8527
8686
|
status: boolean;
|
8528
8687
|
brandName: string;
|
8529
8688
|
platformId: string;
|
8530
8689
|
connectedUserName?: string | null | undefined;
|
8531
8690
|
connectedUserId?: string | null | undefined;
|
8691
|
+
lineRichMenuId?: string | null | undefined;
|
8532
8692
|
actor?: {
|
8533
8693
|
id: string;
|
8534
8694
|
address: string | null;
|
@@ -8585,24 +8745,28 @@ export declare const messengerContract: {
|
|
8585
8745
|
accessToken: z.ZodOptional<z.ZodString>;
|
8586
8746
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8587
8747
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8748
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8588
8749
|
}, "strip", z.ZodTypeAny, {
|
8589
8750
|
id: string;
|
8590
8751
|
name: string;
|
8591
8752
|
accessToken?: string | undefined;
|
8592
8753
|
channelSecret?: string | undefined;
|
8593
8754
|
additionalCredentials?: any;
|
8755
|
+
lineRichMenuId?: string | null | undefined;
|
8594
8756
|
}, {
|
8595
8757
|
id: string;
|
8596
8758
|
name: string;
|
8597
8759
|
accessToken?: string | undefined;
|
8598
8760
|
channelSecret?: string | undefined;
|
8599
8761
|
additionalCredentials?: any;
|
8762
|
+
lineRichMenuId?: string | null | undefined;
|
8600
8763
|
}>;
|
8601
8764
|
platformId: z.ZodString;
|
8602
8765
|
brandName: z.ZodString;
|
8603
8766
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8604
8767
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8605
8768
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8769
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8606
8770
|
actor: z.ZodOptional<z.ZodObject<{
|
8607
8771
|
id: z.ZodString;
|
8608
8772
|
name: z.ZodString;
|
@@ -8632,12 +8796,14 @@ export declare const messengerContract: {
|
|
8632
8796
|
accessToken?: string | undefined;
|
8633
8797
|
channelSecret?: string | undefined;
|
8634
8798
|
additionalCredentials?: any;
|
8799
|
+
lineRichMenuId?: string | null | undefined;
|
8635
8800
|
};
|
8636
8801
|
status: boolean;
|
8637
8802
|
brandName: string;
|
8638
8803
|
platformId: string;
|
8639
8804
|
connectedUserName?: string | null | undefined;
|
8640
8805
|
connectedUserId?: string | null | undefined;
|
8806
|
+
lineRichMenuId?: string | null | undefined;
|
8641
8807
|
actor?: {
|
8642
8808
|
id: string;
|
8643
8809
|
address: string | null;
|
@@ -8655,12 +8821,14 @@ export declare const messengerContract: {
|
|
8655
8821
|
accessToken?: string | undefined;
|
8656
8822
|
channelSecret?: string | undefined;
|
8657
8823
|
additionalCredentials?: any;
|
8824
|
+
lineRichMenuId?: string | null | undefined;
|
8658
8825
|
};
|
8659
8826
|
status: boolean;
|
8660
8827
|
brandName: string;
|
8661
8828
|
platformId: string;
|
8662
8829
|
connectedUserName?: string | null | undefined;
|
8663
8830
|
connectedUserId?: string | null | undefined;
|
8831
|
+
lineRichMenuId?: string | null | undefined;
|
8664
8832
|
actor?: {
|
8665
8833
|
id: string;
|
8666
8834
|
address: string | null;
|
@@ -8680,12 +8848,14 @@ export declare const messengerContract: {
|
|
8680
8848
|
accessToken?: string | undefined;
|
8681
8849
|
channelSecret?: string | undefined;
|
8682
8850
|
additionalCredentials?: any;
|
8851
|
+
lineRichMenuId?: string | null | undefined;
|
8683
8852
|
};
|
8684
8853
|
status: boolean;
|
8685
8854
|
brandName: string;
|
8686
8855
|
platformId: string;
|
8687
8856
|
connectedUserName?: string | null | undefined;
|
8688
8857
|
connectedUserId?: string | null | undefined;
|
8858
|
+
lineRichMenuId?: string | null | undefined;
|
8689
8859
|
actor?: {
|
8690
8860
|
id: string;
|
8691
8861
|
address: string | null;
|
@@ -8706,12 +8876,14 @@ export declare const messengerContract: {
|
|
8706
8876
|
accessToken?: string | undefined;
|
8707
8877
|
channelSecret?: string | undefined;
|
8708
8878
|
additionalCredentials?: any;
|
8879
|
+
lineRichMenuId?: string | null | undefined;
|
8709
8880
|
};
|
8710
8881
|
status: boolean;
|
8711
8882
|
brandName: string;
|
8712
8883
|
platformId: string;
|
8713
8884
|
connectedUserName?: string | null | undefined;
|
8714
8885
|
connectedUserId?: string | null | undefined;
|
8886
|
+
lineRichMenuId?: string | null | undefined;
|
8715
8887
|
actor?: {
|
8716
8888
|
id: string;
|
8717
8889
|
address: string | null;
|
@@ -8768,24 +8940,28 @@ export declare const messengerContract: {
|
|
8768
8940
|
accessToken: z.ZodOptional<z.ZodString>;
|
8769
8941
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8770
8942
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8943
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8771
8944
|
}, "strip", z.ZodTypeAny, {
|
8772
8945
|
id: string;
|
8773
8946
|
name: string;
|
8774
8947
|
accessToken?: string | undefined;
|
8775
8948
|
channelSecret?: string | undefined;
|
8776
8949
|
additionalCredentials?: any;
|
8950
|
+
lineRichMenuId?: string | null | undefined;
|
8777
8951
|
}, {
|
8778
8952
|
id: string;
|
8779
8953
|
name: string;
|
8780
8954
|
accessToken?: string | undefined;
|
8781
8955
|
channelSecret?: string | undefined;
|
8782
8956
|
additionalCredentials?: any;
|
8957
|
+
lineRichMenuId?: string | null | undefined;
|
8783
8958
|
}>;
|
8784
8959
|
platformId: z.ZodString;
|
8785
8960
|
brandName: z.ZodString;
|
8786
8961
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8787
8962
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8788
8963
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8964
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8789
8965
|
actor: z.ZodOptional<z.ZodObject<{
|
8790
8966
|
id: z.ZodString;
|
8791
8967
|
name: z.ZodString;
|
@@ -8815,12 +8991,14 @@ export declare const messengerContract: {
|
|
8815
8991
|
accessToken?: string | undefined;
|
8816
8992
|
channelSecret?: string | undefined;
|
8817
8993
|
additionalCredentials?: any;
|
8994
|
+
lineRichMenuId?: string | null | undefined;
|
8818
8995
|
};
|
8819
8996
|
status: boolean;
|
8820
8997
|
brandName: string;
|
8821
8998
|
platformId: string;
|
8822
8999
|
connectedUserName?: string | null | undefined;
|
8823
9000
|
connectedUserId?: string | null | undefined;
|
9001
|
+
lineRichMenuId?: string | null | undefined;
|
8824
9002
|
actor?: {
|
8825
9003
|
id: string;
|
8826
9004
|
address: string | null;
|
@@ -8838,12 +9016,14 @@ export declare const messengerContract: {
|
|
8838
9016
|
accessToken?: string | undefined;
|
8839
9017
|
channelSecret?: string | undefined;
|
8840
9018
|
additionalCredentials?: any;
|
9019
|
+
lineRichMenuId?: string | null | undefined;
|
8841
9020
|
};
|
8842
9021
|
status: boolean;
|
8843
9022
|
brandName: string;
|
8844
9023
|
platformId: string;
|
8845
9024
|
connectedUserName?: string | null | undefined;
|
8846
9025
|
connectedUserId?: string | null | undefined;
|
9026
|
+
lineRichMenuId?: string | null | undefined;
|
8847
9027
|
actor?: {
|
8848
9028
|
id: string;
|
8849
9029
|
address: string | null;
|
@@ -8863,12 +9043,14 @@ export declare const messengerContract: {
|
|
8863
9043
|
accessToken?: string | undefined;
|
8864
9044
|
channelSecret?: string | undefined;
|
8865
9045
|
additionalCredentials?: any;
|
9046
|
+
lineRichMenuId?: string | null | undefined;
|
8866
9047
|
};
|
8867
9048
|
status: boolean;
|
8868
9049
|
brandName: string;
|
8869
9050
|
platformId: string;
|
8870
9051
|
connectedUserName?: string | null | undefined;
|
8871
9052
|
connectedUserId?: string | null | undefined;
|
9053
|
+
lineRichMenuId?: string | null | undefined;
|
8872
9054
|
actor?: {
|
8873
9055
|
id: string;
|
8874
9056
|
address: string | null;
|
@@ -8889,12 +9071,14 @@ export declare const messengerContract: {
|
|
8889
9071
|
accessToken?: string | undefined;
|
8890
9072
|
channelSecret?: string | undefined;
|
8891
9073
|
additionalCredentials?: any;
|
9074
|
+
lineRichMenuId?: string | null | undefined;
|
8892
9075
|
};
|
8893
9076
|
status: boolean;
|
8894
9077
|
brandName: string;
|
8895
9078
|
platformId: string;
|
8896
9079
|
connectedUserName?: string | null | undefined;
|
8897
9080
|
connectedUserId?: string | null | undefined;
|
9081
|
+
lineRichMenuId?: string | null | undefined;
|
8898
9082
|
actor?: {
|
8899
9083
|
id: string;
|
8900
9084
|
address: string | null;
|
@@ -8938,18 +9122,21 @@ export declare const messengerContract: {
|
|
8938
9122
|
accessToken: z.ZodOptional<z.ZodString>;
|
8939
9123
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8940
9124
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9125
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8941
9126
|
}, "strip", z.ZodTypeAny, {
|
8942
9127
|
id: string;
|
8943
9128
|
name: string;
|
8944
9129
|
accessToken?: string | undefined;
|
8945
9130
|
channelSecret?: string | undefined;
|
8946
9131
|
additionalCredentials?: any;
|
9132
|
+
lineRichMenuId?: string | null | undefined;
|
8947
9133
|
}, {
|
8948
9134
|
id: string;
|
8949
9135
|
name: string;
|
8950
9136
|
accessToken?: string | undefined;
|
8951
9137
|
channelSecret?: string | undefined;
|
8952
9138
|
additionalCredentials?: any;
|
9139
|
+
lineRichMenuId?: string | null | undefined;
|
8953
9140
|
}>;
|
8954
9141
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
8955
9142
|
actor: z.ZodOptional<z.ZodObject<{
|
@@ -8971,6 +9158,7 @@ export declare const messengerContract: {
|
|
8971
9158
|
email: string;
|
8972
9159
|
phone: string | null;
|
8973
9160
|
}>>;
|
9161
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8974
9162
|
brandName: z.ZodString;
|
8975
9163
|
platformId: z.ZodString;
|
8976
9164
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -8990,6 +9178,7 @@ export declare const messengerContract: {
|
|
8990
9178
|
accessToken?: string | undefined;
|
8991
9179
|
channelSecret?: string | undefined;
|
8992
9180
|
additionalCredentials?: any;
|
9181
|
+
lineRichMenuId?: string | null | undefined;
|
8993
9182
|
};
|
8994
9183
|
status: boolean;
|
8995
9184
|
createdAt: string;
|
@@ -9005,6 +9194,7 @@ export declare const messengerContract: {
|
|
9005
9194
|
email: string;
|
9006
9195
|
phone: string | null;
|
9007
9196
|
} | undefined;
|
9197
|
+
lineRichMenuId?: string | null | undefined;
|
9008
9198
|
connectedUserName?: string | null | undefined;
|
9009
9199
|
connectedUserId?: string | null | undefined;
|
9010
9200
|
}, {
|
@@ -9017,6 +9207,7 @@ export declare const messengerContract: {
|
|
9017
9207
|
accessToken?: string | undefined;
|
9018
9208
|
channelSecret?: string | undefined;
|
9019
9209
|
additionalCredentials?: any;
|
9210
|
+
lineRichMenuId?: string | null | undefined;
|
9020
9211
|
};
|
9021
9212
|
status: boolean;
|
9022
9213
|
createdAt: string;
|
@@ -9032,6 +9223,7 @@ export declare const messengerContract: {
|
|
9032
9223
|
email: string;
|
9033
9224
|
phone: string | null;
|
9034
9225
|
} | undefined;
|
9226
|
+
lineRichMenuId?: string | null | undefined;
|
9035
9227
|
connectedUserName?: string | null | undefined;
|
9036
9228
|
connectedUserId?: string | null | undefined;
|
9037
9229
|
}>;
|
@@ -9049,24 +9241,28 @@ export declare const messengerContract: {
|
|
9049
9241
|
accessToken: z.ZodOptional<z.ZodString>;
|
9050
9242
|
channelSecret: z.ZodOptional<z.ZodString>;
|
9051
9243
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9244
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9052
9245
|
}, "strip", z.ZodTypeAny, {
|
9053
9246
|
id: string;
|
9054
9247
|
name: string;
|
9055
9248
|
accessToken?: string | undefined;
|
9056
9249
|
channelSecret?: string | undefined;
|
9057
9250
|
additionalCredentials?: any;
|
9251
|
+
lineRichMenuId?: string | null | undefined;
|
9058
9252
|
}, {
|
9059
9253
|
id: string;
|
9060
9254
|
name: string;
|
9061
9255
|
accessToken?: string | undefined;
|
9062
9256
|
channelSecret?: string | undefined;
|
9063
9257
|
additionalCredentials?: any;
|
9258
|
+
lineRichMenuId?: string | null | undefined;
|
9064
9259
|
}>;
|
9065
9260
|
platformId: z.ZodString;
|
9066
9261
|
brandName: z.ZodString;
|
9067
9262
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
9068
9263
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9069
9264
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9265
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9070
9266
|
actor: z.ZodOptional<z.ZodObject<{
|
9071
9267
|
id: z.ZodString;
|
9072
9268
|
name: z.ZodString;
|
@@ -9096,12 +9292,14 @@ export declare const messengerContract: {
|
|
9096
9292
|
accessToken?: string | undefined;
|
9097
9293
|
channelSecret?: string | undefined;
|
9098
9294
|
additionalCredentials?: any;
|
9295
|
+
lineRichMenuId?: string | null | undefined;
|
9099
9296
|
};
|
9100
9297
|
status: boolean;
|
9101
9298
|
brandName: string;
|
9102
9299
|
platformId: string;
|
9103
9300
|
connectedUserName?: string | null | undefined;
|
9104
9301
|
connectedUserId?: string | null | undefined;
|
9302
|
+
lineRichMenuId?: string | null | undefined;
|
9105
9303
|
actor?: {
|
9106
9304
|
id: string;
|
9107
9305
|
address: string | null;
|
@@ -9119,12 +9317,14 @@ export declare const messengerContract: {
|
|
9119
9317
|
accessToken?: string | undefined;
|
9120
9318
|
channelSecret?: string | undefined;
|
9121
9319
|
additionalCredentials?: any;
|
9320
|
+
lineRichMenuId?: string | null | undefined;
|
9122
9321
|
};
|
9123
9322
|
status: boolean;
|
9124
9323
|
brandName: string;
|
9125
9324
|
platformId: string;
|
9126
9325
|
connectedUserName?: string | null | undefined;
|
9127
9326
|
connectedUserId?: string | null | undefined;
|
9327
|
+
lineRichMenuId?: string | null | undefined;
|
9128
9328
|
actor?: {
|
9129
9329
|
id: string;
|
9130
9330
|
address: string | null;
|
@@ -9144,12 +9344,14 @@ export declare const messengerContract: {
|
|
9144
9344
|
accessToken?: string | undefined;
|
9145
9345
|
channelSecret?: string | undefined;
|
9146
9346
|
additionalCredentials?: any;
|
9347
|
+
lineRichMenuId?: string | null | undefined;
|
9147
9348
|
};
|
9148
9349
|
status: boolean;
|
9149
9350
|
brandName: string;
|
9150
9351
|
platformId: string;
|
9151
9352
|
connectedUserName?: string | null | undefined;
|
9152
9353
|
connectedUserId?: string | null | undefined;
|
9354
|
+
lineRichMenuId?: string | null | undefined;
|
9153
9355
|
actor?: {
|
9154
9356
|
id: string;
|
9155
9357
|
address: string | null;
|
@@ -9170,12 +9372,14 @@ export declare const messengerContract: {
|
|
9170
9372
|
accessToken?: string | undefined;
|
9171
9373
|
channelSecret?: string | undefined;
|
9172
9374
|
additionalCredentials?: any;
|
9375
|
+
lineRichMenuId?: string | null | undefined;
|
9173
9376
|
};
|
9174
9377
|
status: boolean;
|
9175
9378
|
brandName: string;
|
9176
9379
|
platformId: string;
|
9177
9380
|
connectedUserName?: string | null | undefined;
|
9178
9381
|
connectedUserId?: string | null | undefined;
|
9382
|
+
lineRichMenuId?: string | null | undefined;
|
9179
9383
|
actor?: {
|
9180
9384
|
id: string;
|
9181
9385
|
address: string | null;
|
@@ -9335,5 +9539,38 @@ export declare const messengerContract: {
|
|
9335
9539
|
};
|
9336
9540
|
path: "/pages";
|
9337
9541
|
};
|
9542
|
+
setBotPersistentMenu: {
|
9543
|
+
body: z.ZodObject<{
|
9544
|
+
psid: z.ZodString;
|
9545
|
+
pageAccessToken: z.ZodString;
|
9546
|
+
}, "strip", z.ZodTypeAny, {
|
9547
|
+
psid: string;
|
9548
|
+
pageAccessToken: string;
|
9549
|
+
}, {
|
9550
|
+
psid: string;
|
9551
|
+
pageAccessToken: string;
|
9552
|
+
}>;
|
9553
|
+
method: "POST";
|
9554
|
+
responses: {
|
9555
|
+
200: z.ZodObject<{
|
9556
|
+
requestId: z.ZodString;
|
9557
|
+
}, "strip", z.ZodTypeAny, {
|
9558
|
+
requestId: string;
|
9559
|
+
}, {
|
9560
|
+
requestId: string;
|
9561
|
+
}>;
|
9562
|
+
500: z.ZodObject<{
|
9563
|
+
message: z.ZodString;
|
9564
|
+
error: z.ZodAny;
|
9565
|
+
}, "strip", z.ZodTypeAny, {
|
9566
|
+
message: string;
|
9567
|
+
error?: any;
|
9568
|
+
}, {
|
9569
|
+
message: string;
|
9570
|
+
error?: any;
|
9571
|
+
}>;
|
9572
|
+
};
|
9573
|
+
path: "/set-bot-persistent-menu";
|
9574
|
+
};
|
9338
9575
|
};
|
9339
9576
|
//# sourceMappingURL=index.d.ts.map
|