@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
@@ -2,6 +2,7 @@ import z from 'zod';
|
|
2
2
|
export declare const platformWebchatContract: {
|
3
3
|
sendMessage: {
|
4
4
|
body: z.ZodObject<{
|
5
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
5
6
|
room: z.ZodObject<{
|
6
7
|
id: z.ZodString;
|
7
8
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -135,24 +136,28 @@ export declare const platformWebchatContract: {
|
|
135
136
|
accessToken: z.ZodOptional<z.ZodString>;
|
136
137
|
channelSecret: z.ZodOptional<z.ZodString>;
|
137
138
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
139
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
138
140
|
}, "strip", z.ZodTypeAny, {
|
139
141
|
id: string;
|
140
142
|
name: string;
|
141
143
|
accessToken?: string | undefined;
|
142
144
|
channelSecret?: string | undefined;
|
143
145
|
additionalCredentials?: any;
|
146
|
+
lineRichMenuId?: string | null | undefined;
|
144
147
|
}, {
|
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
|
platformId: z.ZodString;
|
152
156
|
brandName: z.ZodString;
|
153
157
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
154
158
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
155
159
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
160
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
156
161
|
actor: z.ZodOptional<z.ZodObject<{
|
157
162
|
id: z.ZodString;
|
158
163
|
name: z.ZodString;
|
@@ -182,12 +187,14 @@ export declare const platformWebchatContract: {
|
|
182
187
|
accessToken?: string | undefined;
|
183
188
|
channelSecret?: string | undefined;
|
184
189
|
additionalCredentials?: any;
|
190
|
+
lineRichMenuId?: string | null | undefined;
|
185
191
|
};
|
186
192
|
status: boolean;
|
187
193
|
brandName: string;
|
188
194
|
platformId: string;
|
189
195
|
connectedUserName?: string | null | undefined;
|
190
196
|
connectedUserId?: string | null | undefined;
|
197
|
+
lineRichMenuId?: string | null | undefined;
|
191
198
|
actor?: {
|
192
199
|
id: string;
|
193
200
|
address: string | null;
|
@@ -205,12 +212,14 @@ export declare const platformWebchatContract: {
|
|
205
212
|
accessToken?: string | undefined;
|
206
213
|
channelSecret?: string | undefined;
|
207
214
|
additionalCredentials?: any;
|
215
|
+
lineRichMenuId?: string | null | undefined;
|
208
216
|
};
|
209
217
|
status: boolean;
|
210
218
|
brandName: string;
|
211
219
|
platformId: string;
|
212
220
|
connectedUserName?: string | null | undefined;
|
213
221
|
connectedUserId?: string | null | undefined;
|
222
|
+
lineRichMenuId?: string | null | undefined;
|
214
223
|
actor?: {
|
215
224
|
id: string;
|
216
225
|
address: string | null;
|
@@ -232,12 +241,14 @@ export declare const platformWebchatContract: {
|
|
232
241
|
accessToken?: string | undefined;
|
233
242
|
channelSecret?: string | undefined;
|
234
243
|
additionalCredentials?: any;
|
244
|
+
lineRichMenuId?: string | null | undefined;
|
235
245
|
};
|
236
246
|
status: boolean;
|
237
247
|
brandName: string;
|
238
248
|
platformId: string;
|
239
249
|
connectedUserName?: string | null | undefined;
|
240
250
|
connectedUserId?: string | null | undefined;
|
251
|
+
lineRichMenuId?: string | null | undefined;
|
241
252
|
actor?: {
|
242
253
|
id: string;
|
243
254
|
address: string | null;
|
@@ -298,12 +309,14 @@ export declare const platformWebchatContract: {
|
|
298
309
|
accessToken?: string | undefined;
|
299
310
|
channelSecret?: string | undefined;
|
300
311
|
additionalCredentials?: any;
|
312
|
+
lineRichMenuId?: string | null | undefined;
|
301
313
|
};
|
302
314
|
status: boolean;
|
303
315
|
brandName: string;
|
304
316
|
platformId: string;
|
305
317
|
connectedUserName?: string | null | undefined;
|
306
318
|
connectedUserId?: string | null | undefined;
|
319
|
+
lineRichMenuId?: string | null | undefined;
|
307
320
|
actor?: {
|
308
321
|
id: string;
|
309
322
|
address: string | null;
|
@@ -356,7 +369,7 @@ export declare const platformWebchatContract: {
|
|
356
369
|
message: z.ZodObject<{
|
357
370
|
message: z.ZodOptional<z.ZodString>;
|
358
371
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
359
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
372
|
+
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"]>;
|
360
373
|
readAt: z.ZodOptional<z.ZodDate>;
|
361
374
|
metadata: z.ZodOptional<z.ZodAny>;
|
362
375
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -372,18 +385,21 @@ export declare const platformWebchatContract: {
|
|
372
385
|
fileName: z.ZodString;
|
373
386
|
fileSize: z.ZodNumber;
|
374
387
|
fileKey: z.ZodString;
|
388
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
375
389
|
}, "strip", z.ZodTypeAny, {
|
376
390
|
fileName: string;
|
377
391
|
fileKey: string;
|
378
392
|
bucketName: string;
|
379
393
|
fileSize: number;
|
394
|
+
originalUrl?: string | undefined;
|
380
395
|
}, {
|
381
396
|
fileName: string;
|
382
397
|
fileKey: string;
|
383
398
|
bucketName: string;
|
384
399
|
fileSize: number;
|
400
|
+
originalUrl?: string | undefined;
|
385
401
|
}>>;
|
386
|
-
sender: z.ZodObject<{
|
402
|
+
sender: z.ZodOptional<z.ZodObject<{
|
387
403
|
id: z.ZodString;
|
388
404
|
name: z.ZodString;
|
389
405
|
email: z.ZodString;
|
@@ -401,17 +417,10 @@ export declare const platformWebchatContract: {
|
|
401
417
|
name: string;
|
402
418
|
email: string;
|
403
419
|
phone: string | null;
|
404
|
-
}
|
420
|
+
}>>;
|
405
421
|
}, "strip", z.ZodTypeAny, {
|
406
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
422
|
+
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";
|
407
423
|
direction: "incoming" | "outgoing" | "system";
|
408
|
-
sender: {
|
409
|
-
id: string;
|
410
|
-
address: string | null;
|
411
|
-
name: string;
|
412
|
-
email: string;
|
413
|
-
phone: string | null;
|
414
|
-
};
|
415
424
|
message?: string | undefined;
|
416
425
|
readAt?: Date | undefined;
|
417
426
|
metadata?: any;
|
@@ -428,17 +437,18 @@ export declare const platformWebchatContract: {
|
|
428
437
|
fileKey: string;
|
429
438
|
bucketName: string;
|
430
439
|
fileSize: number;
|
440
|
+
originalUrl?: string | undefined;
|
431
441
|
} | undefined;
|
432
|
-
|
433
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
434
|
-
direction: "incoming" | "outgoing" | "system";
|
435
|
-
sender: {
|
442
|
+
sender?: {
|
436
443
|
id: string;
|
437
444
|
address: string | null;
|
438
445
|
name: string;
|
439
446
|
email: string;
|
440
447
|
phone: string | null;
|
441
|
-
};
|
448
|
+
} | undefined;
|
449
|
+
}, {
|
450
|
+
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";
|
451
|
+
direction: "incoming" | "outgoing" | "system";
|
442
452
|
message?: string | undefined;
|
443
453
|
readAt?: Date | undefined;
|
444
454
|
metadata?: any;
|
@@ -455,19 +465,20 @@ export declare const platformWebchatContract: {
|
|
455
465
|
fileKey: string;
|
456
466
|
bucketName: string;
|
457
467
|
fileSize: number;
|
468
|
+
originalUrl?: string | undefined;
|
458
469
|
} | undefined;
|
459
|
-
|
460
|
-
}, "strip", z.ZodTypeAny, {
|
461
|
-
message: {
|
462
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
463
|
-
direction: "incoming" | "outgoing" | "system";
|
464
|
-
sender: {
|
470
|
+
sender?: {
|
465
471
|
id: string;
|
466
472
|
address: string | null;
|
467
473
|
name: string;
|
468
474
|
email: string;
|
469
475
|
phone: string | null;
|
470
|
-
};
|
476
|
+
} | undefined;
|
477
|
+
}>;
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
479
|
+
message: {
|
480
|
+
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";
|
481
|
+
direction: "incoming" | "outgoing" | "system";
|
471
482
|
message?: string | undefined;
|
472
483
|
readAt?: Date | undefined;
|
473
484
|
metadata?: any;
|
@@ -484,6 +495,14 @@ export declare const platformWebchatContract: {
|
|
484
495
|
fileKey: string;
|
485
496
|
bucketName: string;
|
486
497
|
fileSize: number;
|
498
|
+
originalUrl?: string | undefined;
|
499
|
+
} | undefined;
|
500
|
+
sender?: {
|
501
|
+
id: string;
|
502
|
+
address: string | null;
|
503
|
+
name: string;
|
504
|
+
email: string;
|
505
|
+
phone: string | null;
|
487
506
|
} | undefined;
|
488
507
|
};
|
489
508
|
room: {
|
@@ -498,12 +517,14 @@ export declare const platformWebchatContract: {
|
|
498
517
|
accessToken?: string | undefined;
|
499
518
|
channelSecret?: string | undefined;
|
500
519
|
additionalCredentials?: any;
|
520
|
+
lineRichMenuId?: string | null | undefined;
|
501
521
|
};
|
502
522
|
status: boolean;
|
503
523
|
brandName: string;
|
504
524
|
platformId: string;
|
505
525
|
connectedUserName?: string | null | undefined;
|
506
526
|
connectedUserId?: string | null | undefined;
|
527
|
+
lineRichMenuId?: string | null | undefined;
|
507
528
|
actor?: {
|
508
529
|
id: string;
|
509
530
|
address: string | null;
|
@@ -553,17 +574,11 @@ export declare const platformWebchatContract: {
|
|
553
574
|
metadata?: any;
|
554
575
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
555
576
|
};
|
577
|
+
isBot: boolean | null;
|
556
578
|
}, {
|
557
579
|
message: {
|
558
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
580
|
+
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";
|
559
581
|
direction: "incoming" | "outgoing" | "system";
|
560
|
-
sender: {
|
561
|
-
id: string;
|
562
|
-
address: string | null;
|
563
|
-
name: string;
|
564
|
-
email: string;
|
565
|
-
phone: string | null;
|
566
|
-
};
|
567
582
|
message?: string | undefined;
|
568
583
|
readAt?: Date | undefined;
|
569
584
|
metadata?: any;
|
@@ -580,6 +595,14 @@ export declare const platformWebchatContract: {
|
|
580
595
|
fileKey: string;
|
581
596
|
bucketName: string;
|
582
597
|
fileSize: number;
|
598
|
+
originalUrl?: string | undefined;
|
599
|
+
} | undefined;
|
600
|
+
sender?: {
|
601
|
+
id: string;
|
602
|
+
address: string | null;
|
603
|
+
name: string;
|
604
|
+
email: string;
|
605
|
+
phone: string | null;
|
583
606
|
} | undefined;
|
584
607
|
};
|
585
608
|
room: {
|
@@ -594,12 +617,14 @@ export declare const platformWebchatContract: {
|
|
594
617
|
accessToken?: string | undefined;
|
595
618
|
channelSecret?: string | undefined;
|
596
619
|
additionalCredentials?: any;
|
620
|
+
lineRichMenuId?: string | null | undefined;
|
597
621
|
};
|
598
622
|
status: boolean;
|
599
623
|
brandName: string;
|
600
624
|
platformId: string;
|
601
625
|
connectedUserName?: string | null | undefined;
|
602
626
|
connectedUserId?: string | null | undefined;
|
627
|
+
lineRichMenuId?: string | null | undefined;
|
603
628
|
actor?: {
|
604
629
|
id: string;
|
605
630
|
address: string | null;
|
@@ -649,6 +674,7 @@ export declare const platformWebchatContract: {
|
|
649
674
|
metadata?: any;
|
650
675
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
651
676
|
};
|
677
|
+
isBot?: boolean | null | undefined;
|
652
678
|
}>;
|
653
679
|
method: "POST";
|
654
680
|
responses: {
|
@@ -661,7 +687,7 @@ export declare const platformWebchatContract: {
|
|
661
687
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
662
688
|
message: z.ZodString;
|
663
689
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
664
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
690
|
+
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"]>;
|
665
691
|
readAt: z.ZodDate;
|
666
692
|
metadata: z.ZodAny;
|
667
693
|
platformId: z.ZodString;
|
@@ -686,6 +712,7 @@ export declare const platformWebchatContract: {
|
|
686
712
|
firstResponseAt: z.ZodDate;
|
687
713
|
firstResponseTime: z.ZodNumber;
|
688
714
|
isLatest: z.ZodBoolean;
|
715
|
+
isBotRoom: z.ZodBoolean;
|
689
716
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
690
717
|
platformContact: z.ZodObject<{
|
691
718
|
id: z.ZodString;
|
@@ -2042,18 +2069,21 @@ export declare const platformWebchatContract: {
|
|
2042
2069
|
accessToken: z.ZodOptional<z.ZodString>;
|
2043
2070
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2044
2071
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2072
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2045
2073
|
}, "strip", z.ZodTypeAny, {
|
2046
2074
|
id: string;
|
2047
2075
|
name: string;
|
2048
2076
|
accessToken?: string | undefined;
|
2049
2077
|
channelSecret?: string | undefined;
|
2050
2078
|
additionalCredentials?: any;
|
2079
|
+
lineRichMenuId?: string | null | undefined;
|
2051
2080
|
}, {
|
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
|
brandName: z.ZodString;
|
2059
2089
|
platformId: z.ZodString;
|
@@ -2061,6 +2091,25 @@ export declare const platformWebchatContract: {
|
|
2061
2091
|
isReloginRequired: z.ZodBoolean;
|
2062
2092
|
connectedUserName: z.ZodString;
|
2063
2093
|
connectedUserId: z.ZodString;
|
2094
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2095
|
+
id: z.ZodString;
|
2096
|
+
name: z.ZodString;
|
2097
|
+
botId: z.ZodString;
|
2098
|
+
integrationId: z.ZodString;
|
2099
|
+
accessToken: z.ZodString;
|
2100
|
+
}, "strip", z.ZodTypeAny, {
|
2101
|
+
id: string;
|
2102
|
+
name: string;
|
2103
|
+
accessToken: string;
|
2104
|
+
botId: string;
|
2105
|
+
integrationId: string;
|
2106
|
+
}, {
|
2107
|
+
id: string;
|
2108
|
+
name: string;
|
2109
|
+
accessToken: string;
|
2110
|
+
botId: string;
|
2111
|
+
integrationId: string;
|
2112
|
+
}>>;
|
2064
2113
|
actor: z.ZodObject<{
|
2065
2114
|
id: z.ZodString;
|
2066
2115
|
createdAt: z.ZodDate;
|
@@ -2275,6 +2324,7 @@ export declare const platformWebchatContract: {
|
|
2275
2324
|
accessToken?: string | undefined;
|
2276
2325
|
channelSecret?: string | undefined;
|
2277
2326
|
additionalCredentials?: any;
|
2327
|
+
lineRichMenuId?: string | null | undefined;
|
2278
2328
|
};
|
2279
2329
|
status: boolean;
|
2280
2330
|
createdAt: Date;
|
@@ -2329,6 +2379,13 @@ export declare const platformWebchatContract: {
|
|
2329
2379
|
isReloginRequired: boolean;
|
2330
2380
|
connectedUserName: string;
|
2331
2381
|
connectedUserId: string;
|
2382
|
+
botpressBot: {
|
2383
|
+
id: string;
|
2384
|
+
name: string;
|
2385
|
+
accessToken: string;
|
2386
|
+
botId: string;
|
2387
|
+
integrationId: string;
|
2388
|
+
} | null;
|
2332
2389
|
}, {
|
2333
2390
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2334
2391
|
id: string;
|
@@ -2339,6 +2396,7 @@ export declare const platformWebchatContract: {
|
|
2339
2396
|
accessToken?: string | undefined;
|
2340
2397
|
channelSecret?: string | undefined;
|
2341
2398
|
additionalCredentials?: any;
|
2399
|
+
lineRichMenuId?: string | null | undefined;
|
2342
2400
|
};
|
2343
2401
|
status: boolean;
|
2344
2402
|
createdAt: Date;
|
@@ -2393,6 +2451,13 @@ export declare const platformWebchatContract: {
|
|
2393
2451
|
isReloginRequired: boolean;
|
2394
2452
|
connectedUserName: string;
|
2395
2453
|
connectedUserId: string;
|
2454
|
+
botpressBot: {
|
2455
|
+
id: string;
|
2456
|
+
name: string;
|
2457
|
+
accessToken: string;
|
2458
|
+
botId: string;
|
2459
|
+
integrationId: string;
|
2460
|
+
} | null;
|
2396
2461
|
}>;
|
2397
2462
|
cxlog: z.ZodObject<{
|
2398
2463
|
id: z.ZodString;
|
@@ -2850,6 +2915,7 @@ export declare const platformWebchatContract: {
|
|
2850
2915
|
accessToken?: string | undefined;
|
2851
2916
|
channelSecret?: string | undefined;
|
2852
2917
|
additionalCredentials?: any;
|
2918
|
+
lineRichMenuId?: string | null | undefined;
|
2853
2919
|
};
|
2854
2920
|
status: boolean;
|
2855
2921
|
createdAt: Date;
|
@@ -2904,6 +2970,13 @@ export declare const platformWebchatContract: {
|
|
2904
2970
|
isReloginRequired: boolean;
|
2905
2971
|
connectedUserName: string;
|
2906
2972
|
connectedUserId: string;
|
2973
|
+
botpressBot: {
|
2974
|
+
id: string;
|
2975
|
+
name: string;
|
2976
|
+
accessToken: string;
|
2977
|
+
botId: string;
|
2978
|
+
integrationId: string;
|
2979
|
+
} | null;
|
2907
2980
|
};
|
2908
2981
|
direction: "incoming" | "outgoing" | "system";
|
2909
2982
|
status: number;
|
@@ -3118,6 +3191,7 @@ export declare const platformWebchatContract: {
|
|
3118
3191
|
};
|
3119
3192
|
closedAt: Date;
|
3120
3193
|
lastMessageAt: Date | null;
|
3194
|
+
isBotRoom: boolean;
|
3121
3195
|
cxlog: {
|
3122
3196
|
id: string;
|
3123
3197
|
channel: string | null;
|
@@ -3208,6 +3282,7 @@ export declare const platformWebchatContract: {
|
|
3208
3282
|
accessToken?: string | undefined;
|
3209
3283
|
channelSecret?: string | undefined;
|
3210
3284
|
additionalCredentials?: any;
|
3285
|
+
lineRichMenuId?: string | null | undefined;
|
3211
3286
|
};
|
3212
3287
|
status: boolean;
|
3213
3288
|
createdAt: Date;
|
@@ -3262,6 +3337,13 @@ export declare const platformWebchatContract: {
|
|
3262
3337
|
isReloginRequired: boolean;
|
3263
3338
|
connectedUserName: string;
|
3264
3339
|
connectedUserId: string;
|
3340
|
+
botpressBot: {
|
3341
|
+
id: string;
|
3342
|
+
name: string;
|
3343
|
+
accessToken: string;
|
3344
|
+
botId: string;
|
3345
|
+
integrationId: string;
|
3346
|
+
} | null;
|
3265
3347
|
};
|
3266
3348
|
direction: "incoming" | "outgoing" | "system";
|
3267
3349
|
status: number;
|
@@ -3476,6 +3558,7 @@ export declare const platformWebchatContract: {
|
|
3476
3558
|
};
|
3477
3559
|
closedAt: Date;
|
3478
3560
|
lastMessageAt: Date | null;
|
3561
|
+
isBotRoom: boolean;
|
3479
3562
|
cxlog: {
|
3480
3563
|
id: string;
|
3481
3564
|
channel: string | null;
|
@@ -3596,7 +3679,7 @@ export declare const platformWebchatContract: {
|
|
3596
3679
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3597
3680
|
message: z.ZodString;
|
3598
3681
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3599
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3682
|
+
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"]>;
|
3600
3683
|
readAt: z.ZodDate;
|
3601
3684
|
metadata: z.ZodAny;
|
3602
3685
|
platformId: z.ZodString;
|
@@ -4254,7 +4337,7 @@ export declare const platformWebchatContract: {
|
|
4254
4337
|
};
|
4255
4338
|
}>;
|
4256
4339
|
}, "strip", z.ZodTypeAny, {
|
4257
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4340
|
+
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";
|
4258
4341
|
message: string;
|
4259
4342
|
id: string;
|
4260
4343
|
url: string;
|
@@ -4306,7 +4389,6 @@ export declare const platformWebchatContract: {
|
|
4306
4389
|
telephonySignature: string | null;
|
4307
4390
|
};
|
4308
4391
|
};
|
4309
|
-
platformId: string;
|
4310
4392
|
upload: {
|
4311
4393
|
id: string;
|
4312
4394
|
createdAt: Date;
|
@@ -4363,6 +4445,7 @@ export declare const platformWebchatContract: {
|
|
4363
4445
|
telephonySignature: string | null;
|
4364
4446
|
};
|
4365
4447
|
};
|
4448
|
+
platformId: string;
|
4366
4449
|
readAt: Date;
|
4367
4450
|
platformMessageId: string;
|
4368
4451
|
replyPlatformMessageId: string;
|
@@ -4416,7 +4499,7 @@ export declare const platformWebchatContract: {
|
|
4416
4499
|
metadata?: any;
|
4417
4500
|
template?: any;
|
4418
4501
|
}, {
|
4419
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4502
|
+
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";
|
4420
4503
|
message: string;
|
4421
4504
|
id: string;
|
4422
4505
|
url: string;
|
@@ -4468,7 +4551,6 @@ export declare const platformWebchatContract: {
|
|
4468
4551
|
telephonySignature: string | null;
|
4469
4552
|
};
|
4470
4553
|
};
|
4471
|
-
platformId: string;
|
4472
4554
|
upload: {
|
4473
4555
|
id: string;
|
4474
4556
|
createdAt: Date;
|
@@ -4525,6 +4607,7 @@ export declare const platformWebchatContract: {
|
|
4525
4607
|
telephonySignature: string | null;
|
4526
4608
|
};
|
4527
4609
|
};
|
4610
|
+
platformId: string;
|
4528
4611
|
readAt: Date;
|
4529
4612
|
platformMessageId: string;
|
4530
4613
|
replyPlatformMessageId: string;
|
@@ -5216,7 +5299,7 @@ export declare const platformWebchatContract: {
|
|
5216
5299
|
isActive: boolean;
|
5217
5300
|
}>;
|
5218
5301
|
}, "strip", z.ZodTypeAny, {
|
5219
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5302
|
+
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";
|
5220
5303
|
message: string;
|
5221
5304
|
id: string;
|
5222
5305
|
url: string;
|
@@ -5268,7 +5351,6 @@ export declare const platformWebchatContract: {
|
|
5268
5351
|
telephonySignature: string | null;
|
5269
5352
|
};
|
5270
5353
|
};
|
5271
|
-
platformId: string;
|
5272
5354
|
upload: {
|
5273
5355
|
id: string;
|
5274
5356
|
createdAt: Date;
|
@@ -5325,6 +5407,7 @@ export declare const platformWebchatContract: {
|
|
5325
5407
|
telephonySignature: string | null;
|
5326
5408
|
};
|
5327
5409
|
};
|
5410
|
+
platformId: string;
|
5328
5411
|
room: {
|
5329
5412
|
id: string;
|
5330
5413
|
channel: {
|
@@ -5337,6 +5420,7 @@ export declare const platformWebchatContract: {
|
|
5337
5420
|
accessToken?: string | undefined;
|
5338
5421
|
channelSecret?: string | undefined;
|
5339
5422
|
additionalCredentials?: any;
|
5423
|
+
lineRichMenuId?: string | null | undefined;
|
5340
5424
|
};
|
5341
5425
|
status: boolean;
|
5342
5426
|
createdAt: Date;
|
@@ -5391,6 +5475,13 @@ export declare const platformWebchatContract: {
|
|
5391
5475
|
isReloginRequired: boolean;
|
5392
5476
|
connectedUserName: string;
|
5393
5477
|
connectedUserId: string;
|
5478
|
+
botpressBot: {
|
5479
|
+
id: string;
|
5480
|
+
name: string;
|
5481
|
+
accessToken: string;
|
5482
|
+
botId: string;
|
5483
|
+
integrationId: string;
|
5484
|
+
} | null;
|
5394
5485
|
};
|
5395
5486
|
direction: "incoming" | "outgoing" | "system";
|
5396
5487
|
status: number;
|
@@ -5605,6 +5696,7 @@ export declare const platformWebchatContract: {
|
|
5605
5696
|
};
|
5606
5697
|
closedAt: Date;
|
5607
5698
|
lastMessageAt: Date | null;
|
5699
|
+
isBotRoom: boolean;
|
5608
5700
|
cxlog: {
|
5609
5701
|
id: string;
|
5610
5702
|
channel: string | null;
|
@@ -5700,7 +5792,7 @@ export declare const platformWebchatContract: {
|
|
5700
5792
|
previewUrl: string;
|
5701
5793
|
imageSetId: string;
|
5702
5794
|
repliedMessage: {
|
5703
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5795
|
+
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";
|
5704
5796
|
message: string;
|
5705
5797
|
id: string;
|
5706
5798
|
url: string;
|
@@ -5752,7 +5844,6 @@ export declare const platformWebchatContract: {
|
|
5752
5844
|
telephonySignature: string | null;
|
5753
5845
|
};
|
5754
5846
|
};
|
5755
|
-
platformId: string;
|
5756
5847
|
upload: {
|
5757
5848
|
id: string;
|
5758
5849
|
createdAt: Date;
|
@@ -5809,6 +5900,7 @@ export declare const platformWebchatContract: {
|
|
5809
5900
|
telephonySignature: string | null;
|
5810
5901
|
};
|
5811
5902
|
};
|
5903
|
+
platformId: string;
|
5812
5904
|
readAt: Date;
|
5813
5905
|
platformMessageId: string;
|
5814
5906
|
replyPlatformMessageId: string;
|
@@ -5909,7 +6001,7 @@ export declare const platformWebchatContract: {
|
|
5909
6001
|
metadata?: any;
|
5910
6002
|
template?: any;
|
5911
6003
|
}, {
|
5912
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6004
|
+
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";
|
5913
6005
|
message: string;
|
5914
6006
|
id: string;
|
5915
6007
|
url: string;
|
@@ -5961,7 +6053,6 @@ export declare const platformWebchatContract: {
|
|
5961
6053
|
telephonySignature: string | null;
|
5962
6054
|
};
|
5963
6055
|
};
|
5964
|
-
platformId: string;
|
5965
6056
|
upload: {
|
5966
6057
|
id: string;
|
5967
6058
|
createdAt: Date;
|
@@ -6018,6 +6109,7 @@ export declare const platformWebchatContract: {
|
|
6018
6109
|
telephonySignature: string | null;
|
6019
6110
|
};
|
6020
6111
|
};
|
6112
|
+
platformId: string;
|
6021
6113
|
room: {
|
6022
6114
|
id: string;
|
6023
6115
|
channel: {
|
@@ -6030,6 +6122,7 @@ export declare const platformWebchatContract: {
|
|
6030
6122
|
accessToken?: string | undefined;
|
6031
6123
|
channelSecret?: string | undefined;
|
6032
6124
|
additionalCredentials?: any;
|
6125
|
+
lineRichMenuId?: string | null | undefined;
|
6033
6126
|
};
|
6034
6127
|
status: boolean;
|
6035
6128
|
createdAt: Date;
|
@@ -6084,6 +6177,13 @@ export declare const platformWebchatContract: {
|
|
6084
6177
|
isReloginRequired: boolean;
|
6085
6178
|
connectedUserName: string;
|
6086
6179
|
connectedUserId: string;
|
6180
|
+
botpressBot: {
|
6181
|
+
id: string;
|
6182
|
+
name: string;
|
6183
|
+
accessToken: string;
|
6184
|
+
botId: string;
|
6185
|
+
integrationId: string;
|
6186
|
+
} | null;
|
6087
6187
|
};
|
6088
6188
|
direction: "incoming" | "outgoing" | "system";
|
6089
6189
|
status: number;
|
@@ -6298,6 +6398,7 @@ export declare const platformWebchatContract: {
|
|
6298
6398
|
};
|
6299
6399
|
closedAt: Date;
|
6300
6400
|
lastMessageAt: Date | null;
|
6401
|
+
isBotRoom: boolean;
|
6301
6402
|
cxlog: {
|
6302
6403
|
id: string;
|
6303
6404
|
channel: string | null;
|
@@ -6393,7 +6494,7 @@ export declare const platformWebchatContract: {
|
|
6393
6494
|
previewUrl: string;
|
6394
6495
|
imageSetId: string;
|
6395
6496
|
repliedMessage: {
|
6396
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6497
|
+
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";
|
6397
6498
|
message: string;
|
6398
6499
|
id: string;
|
6399
6500
|
url: string;
|
@@ -6445,7 +6546,6 @@ export declare const platformWebchatContract: {
|
|
6445
6546
|
telephonySignature: string | null;
|
6446
6547
|
};
|
6447
6548
|
};
|
6448
|
-
platformId: string;
|
6449
6549
|
upload: {
|
6450
6550
|
id: string;
|
6451
6551
|
createdAt: Date;
|
@@ -6502,6 +6602,7 @@ export declare const platformWebchatContract: {
|
|
6502
6602
|
telephonySignature: string | null;
|
6503
6603
|
};
|
6504
6604
|
};
|
6605
|
+
platformId: string;
|
6505
6606
|
readAt: Date;
|
6506
6607
|
platformMessageId: string;
|
6507
6608
|
replyPlatformMessageId: string;
|
@@ -6604,7 +6705,7 @@ export declare const platformWebchatContract: {
|
|
6604
6705
|
}>;
|
6605
6706
|
}, "strip", z.ZodTypeAny, {
|
6606
6707
|
data: {
|
6607
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6708
|
+
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";
|
6608
6709
|
message: string;
|
6609
6710
|
id: string;
|
6610
6711
|
url: string;
|
@@ -6656,7 +6757,6 @@ export declare const platformWebchatContract: {
|
|
6656
6757
|
telephonySignature: string | null;
|
6657
6758
|
};
|
6658
6759
|
};
|
6659
|
-
platformId: string;
|
6660
6760
|
upload: {
|
6661
6761
|
id: string;
|
6662
6762
|
createdAt: Date;
|
@@ -6713,6 +6813,7 @@ export declare const platformWebchatContract: {
|
|
6713
6813
|
telephonySignature: string | null;
|
6714
6814
|
};
|
6715
6815
|
};
|
6816
|
+
platformId: string;
|
6716
6817
|
room: {
|
6717
6818
|
id: string;
|
6718
6819
|
channel: {
|
@@ -6725,6 +6826,7 @@ export declare const platformWebchatContract: {
|
|
6725
6826
|
accessToken?: string | undefined;
|
6726
6827
|
channelSecret?: string | undefined;
|
6727
6828
|
additionalCredentials?: any;
|
6829
|
+
lineRichMenuId?: string | null | undefined;
|
6728
6830
|
};
|
6729
6831
|
status: boolean;
|
6730
6832
|
createdAt: Date;
|
@@ -6779,6 +6881,13 @@ export declare const platformWebchatContract: {
|
|
6779
6881
|
isReloginRequired: boolean;
|
6780
6882
|
connectedUserName: string;
|
6781
6883
|
connectedUserId: string;
|
6884
|
+
botpressBot: {
|
6885
|
+
id: string;
|
6886
|
+
name: string;
|
6887
|
+
accessToken: string;
|
6888
|
+
botId: string;
|
6889
|
+
integrationId: string;
|
6890
|
+
} | null;
|
6782
6891
|
};
|
6783
6892
|
direction: "incoming" | "outgoing" | "system";
|
6784
6893
|
status: number;
|
@@ -6993,6 +7102,7 @@ export declare const platformWebchatContract: {
|
|
6993
7102
|
};
|
6994
7103
|
closedAt: Date;
|
6995
7104
|
lastMessageAt: Date | null;
|
7105
|
+
isBotRoom: boolean;
|
6996
7106
|
cxlog: {
|
6997
7107
|
id: string;
|
6998
7108
|
channel: string | null;
|
@@ -7088,7 +7198,7 @@ export declare const platformWebchatContract: {
|
|
7088
7198
|
previewUrl: string;
|
7089
7199
|
imageSetId: string;
|
7090
7200
|
repliedMessage: {
|
7091
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7201
|
+
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";
|
7092
7202
|
message: string;
|
7093
7203
|
id: string;
|
7094
7204
|
url: string;
|
@@ -7140,7 +7250,6 @@ export declare const platformWebchatContract: {
|
|
7140
7250
|
telephonySignature: string | null;
|
7141
7251
|
};
|
7142
7252
|
};
|
7143
|
-
platformId: string;
|
7144
7253
|
upload: {
|
7145
7254
|
id: string;
|
7146
7255
|
createdAt: Date;
|
@@ -7197,6 +7306,7 @@ export declare const platformWebchatContract: {
|
|
7197
7306
|
telephonySignature: string | null;
|
7198
7307
|
};
|
7199
7308
|
};
|
7309
|
+
platformId: string;
|
7200
7310
|
readAt: Date;
|
7201
7311
|
platformMessageId: string;
|
7202
7312
|
replyPlatformMessageId: string;
|
@@ -7300,7 +7410,7 @@ export declare const platformWebchatContract: {
|
|
7300
7410
|
requestId: string;
|
7301
7411
|
}, {
|
7302
7412
|
data: {
|
7303
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7413
|
+
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";
|
7304
7414
|
message: string;
|
7305
7415
|
id: string;
|
7306
7416
|
url: string;
|
@@ -7352,7 +7462,6 @@ export declare const platformWebchatContract: {
|
|
7352
7462
|
telephonySignature: string | null;
|
7353
7463
|
};
|
7354
7464
|
};
|
7355
|
-
platformId: string;
|
7356
7465
|
upload: {
|
7357
7466
|
id: string;
|
7358
7467
|
createdAt: Date;
|
@@ -7409,6 +7518,7 @@ export declare const platformWebchatContract: {
|
|
7409
7518
|
telephonySignature: string | null;
|
7410
7519
|
};
|
7411
7520
|
};
|
7521
|
+
platformId: string;
|
7412
7522
|
room: {
|
7413
7523
|
id: string;
|
7414
7524
|
channel: {
|
@@ -7421,6 +7531,7 @@ export declare const platformWebchatContract: {
|
|
7421
7531
|
accessToken?: string | undefined;
|
7422
7532
|
channelSecret?: string | undefined;
|
7423
7533
|
additionalCredentials?: any;
|
7534
|
+
lineRichMenuId?: string | null | undefined;
|
7424
7535
|
};
|
7425
7536
|
status: boolean;
|
7426
7537
|
createdAt: Date;
|
@@ -7475,6 +7586,13 @@ export declare const platformWebchatContract: {
|
|
7475
7586
|
isReloginRequired: boolean;
|
7476
7587
|
connectedUserName: string;
|
7477
7588
|
connectedUserId: string;
|
7589
|
+
botpressBot: {
|
7590
|
+
id: string;
|
7591
|
+
name: string;
|
7592
|
+
accessToken: string;
|
7593
|
+
botId: string;
|
7594
|
+
integrationId: string;
|
7595
|
+
} | null;
|
7478
7596
|
};
|
7479
7597
|
direction: "incoming" | "outgoing" | "system";
|
7480
7598
|
status: number;
|
@@ -7689,6 +7807,7 @@ export declare const platformWebchatContract: {
|
|
7689
7807
|
};
|
7690
7808
|
closedAt: Date;
|
7691
7809
|
lastMessageAt: Date | null;
|
7810
|
+
isBotRoom: boolean;
|
7692
7811
|
cxlog: {
|
7693
7812
|
id: string;
|
7694
7813
|
channel: string | null;
|
@@ -7784,7 +7903,7 @@ export declare const platformWebchatContract: {
|
|
7784
7903
|
previewUrl: string;
|
7785
7904
|
imageSetId: string;
|
7786
7905
|
repliedMessage: {
|
7787
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7906
|
+
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";
|
7788
7907
|
message: string;
|
7789
7908
|
id: string;
|
7790
7909
|
url: string;
|
@@ -7836,7 +7955,6 @@ export declare const platformWebchatContract: {
|
|
7836
7955
|
telephonySignature: string | null;
|
7837
7956
|
};
|
7838
7957
|
};
|
7839
|
-
platformId: string;
|
7840
7958
|
upload: {
|
7841
7959
|
id: string;
|
7842
7960
|
createdAt: Date;
|
@@ -7893,6 +8011,7 @@ export declare const platformWebchatContract: {
|
|
7893
8011
|
telephonySignature: string | null;
|
7894
8012
|
};
|
7895
8013
|
};
|
8014
|
+
platformId: string;
|
7896
8015
|
readAt: Date;
|
7897
8016
|
platformMessageId: string;
|
7898
8017
|
replyPlatformMessageId: string;
|
@@ -8130,18 +8249,21 @@ export declare const platformWebchatContract: {
|
|
8130
8249
|
accessToken: z.ZodOptional<z.ZodString>;
|
8131
8250
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8132
8251
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
8252
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8133
8253
|
}, "strip", z.ZodTypeAny, {
|
8134
8254
|
id: string;
|
8135
8255
|
name: string;
|
8136
8256
|
accessToken?: string | undefined;
|
8137
8257
|
channelSecret?: string | undefined;
|
8138
8258
|
additionalCredentials?: any;
|
8259
|
+
lineRichMenuId?: string | null | undefined;
|
8139
8260
|
}, {
|
8140
8261
|
id: string;
|
8141
8262
|
name: string;
|
8142
8263
|
accessToken?: string | undefined;
|
8143
8264
|
channelSecret?: string | undefined;
|
8144
8265
|
additionalCredentials?: any;
|
8266
|
+
lineRichMenuId?: string | null | undefined;
|
8145
8267
|
}>;
|
8146
8268
|
brandName: z.ZodString;
|
8147
8269
|
platformId: z.ZodString;
|
@@ -8149,6 +8271,25 @@ export declare const platformWebchatContract: {
|
|
8149
8271
|
isReloginRequired: z.ZodBoolean;
|
8150
8272
|
connectedUserName: z.ZodString;
|
8151
8273
|
connectedUserId: z.ZodString;
|
8274
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
8275
|
+
id: z.ZodString;
|
8276
|
+
name: z.ZodString;
|
8277
|
+
botId: z.ZodString;
|
8278
|
+
integrationId: z.ZodString;
|
8279
|
+
accessToken: z.ZodString;
|
8280
|
+
}, "strip", z.ZodTypeAny, {
|
8281
|
+
id: string;
|
8282
|
+
name: string;
|
8283
|
+
accessToken: string;
|
8284
|
+
botId: string;
|
8285
|
+
integrationId: string;
|
8286
|
+
}, {
|
8287
|
+
id: string;
|
8288
|
+
name: string;
|
8289
|
+
accessToken: string;
|
8290
|
+
botId: string;
|
8291
|
+
integrationId: string;
|
8292
|
+
}>>;
|
8152
8293
|
actor: z.ZodObject<{
|
8153
8294
|
id: z.ZodString;
|
8154
8295
|
createdAt: z.ZodDate;
|
@@ -8363,6 +8504,7 @@ export declare const platformWebchatContract: {
|
|
8363
8504
|
accessToken?: string | undefined;
|
8364
8505
|
channelSecret?: string | undefined;
|
8365
8506
|
additionalCredentials?: any;
|
8507
|
+
lineRichMenuId?: string | null | undefined;
|
8366
8508
|
};
|
8367
8509
|
status: boolean;
|
8368
8510
|
createdAt: Date;
|
@@ -8417,6 +8559,13 @@ export declare const platformWebchatContract: {
|
|
8417
8559
|
isReloginRequired: boolean;
|
8418
8560
|
connectedUserName: string;
|
8419
8561
|
connectedUserId: string;
|
8562
|
+
botpressBot: {
|
8563
|
+
id: string;
|
8564
|
+
name: string;
|
8565
|
+
accessToken: string;
|
8566
|
+
botId: string;
|
8567
|
+
integrationId: string;
|
8568
|
+
} | null;
|
8420
8569
|
}, {
|
8421
8570
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8422
8571
|
id: string;
|
@@ -8427,6 +8576,7 @@ export declare const platformWebchatContract: {
|
|
8427
8576
|
accessToken?: string | undefined;
|
8428
8577
|
channelSecret?: string | undefined;
|
8429
8578
|
additionalCredentials?: any;
|
8579
|
+
lineRichMenuId?: string | null | undefined;
|
8430
8580
|
};
|
8431
8581
|
status: boolean;
|
8432
8582
|
createdAt: Date;
|
@@ -8481,6 +8631,13 @@ export declare const platformWebchatContract: {
|
|
8481
8631
|
isReloginRequired: boolean;
|
8482
8632
|
connectedUserName: string;
|
8483
8633
|
connectedUserId: string;
|
8634
|
+
botpressBot: {
|
8635
|
+
id: string;
|
8636
|
+
name: string;
|
8637
|
+
accessToken: string;
|
8638
|
+
botId: string;
|
8639
|
+
integrationId: string;
|
8640
|
+
} | null;
|
8484
8641
|
}>;
|
8485
8642
|
}, "strip", z.ZodTypeAny, {
|
8486
8643
|
channel: {
|
@@ -8493,6 +8650,7 @@ export declare const platformWebchatContract: {
|
|
8493
8650
|
accessToken?: string | undefined;
|
8494
8651
|
channelSecret?: string | undefined;
|
8495
8652
|
additionalCredentials?: any;
|
8653
|
+
lineRichMenuId?: string | null | undefined;
|
8496
8654
|
};
|
8497
8655
|
status: boolean;
|
8498
8656
|
createdAt: Date;
|
@@ -8547,6 +8705,13 @@ export declare const platformWebchatContract: {
|
|
8547
8705
|
isReloginRequired: boolean;
|
8548
8706
|
connectedUserName: string;
|
8549
8707
|
connectedUserId: string;
|
8708
|
+
botpressBot: {
|
8709
|
+
id: string;
|
8710
|
+
name: string;
|
8711
|
+
accessToken: string;
|
8712
|
+
botId: string;
|
8713
|
+
integrationId: string;
|
8714
|
+
} | null;
|
8550
8715
|
};
|
8551
8716
|
requestId: string;
|
8552
8717
|
}, {
|
@@ -8560,6 +8725,7 @@ export declare const platformWebchatContract: {
|
|
8560
8725
|
accessToken?: string | undefined;
|
8561
8726
|
channelSecret?: string | undefined;
|
8562
8727
|
additionalCredentials?: any;
|
8728
|
+
lineRichMenuId?: string | null | undefined;
|
8563
8729
|
};
|
8564
8730
|
status: boolean;
|
8565
8731
|
createdAt: Date;
|
@@ -8614,6 +8780,13 @@ export declare const platformWebchatContract: {
|
|
8614
8780
|
isReloginRequired: boolean;
|
8615
8781
|
connectedUserName: string;
|
8616
8782
|
connectedUserId: string;
|
8783
|
+
botpressBot: {
|
8784
|
+
id: string;
|
8785
|
+
name: string;
|
8786
|
+
accessToken: string;
|
8787
|
+
botId: string;
|
8788
|
+
integrationId: string;
|
8789
|
+
} | null;
|
8617
8790
|
};
|
8618
8791
|
requestId: string;
|
8619
8792
|
}>;
|