@kl1/contracts 1.1.40-uat → 1.1.42-uat
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 +3293 -3105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3290 -3105
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +538 -0
- package/dist/src/botpress/index.d.ts.map +1 -0
- package/dist/src/botpress/schema.d.ts +81 -0
- package/dist/src/botpress/schema.d.ts.map +1 -0
- package/dist/src/botpress/validation.d.ts +220 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +1692 -73
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +36 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +7 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +33647 -32937
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +186 -70
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +199 -107
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +68 -68
- package/dist/src/comment/schema.d.ts +20 -20
- package/dist/src/contact/index.d.ts +79 -79
- package/dist/src/contact/schema.d.ts +12 -12
- package/dist/src/contact/validation.d.ts +49 -49
- package/dist/src/contract.d.ts +15114 -68269
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/cx-log/index.d.ts +123 -54
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +101 -40
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +176 -84
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +181 -89
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/mail/mail-contract.d.ts +7 -7
- package/dist/src/mail/room-contract.d.ts +7 -7
- package/dist/src/mail/schemas/room.schema.d.ts +5 -5
- package/dist/src/messenger/index.d.ts +211 -85
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +54 -11
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/public-api/index.d.ts +59 -59
- package/dist/src/public-api/schema.d.ts +12 -12
- package/dist/src/public-api/validation.d.ts +19 -19
- package/dist/src/snippet/index.d.ts +105 -105
- package/dist/src/snippet/schema.d.ts +40 -40
- package/dist/src/telephony-cdr/index.d.ts +54 -54
- package/dist/src/telephony-cdr/schema.d.ts +14 -14
- package/dist/src/ticket/index.d.ts +111 -111
- package/dist/src/ticket/schema.d.ts +21 -21
- package/dist/src/upload/schema.d.ts +3 -3
- package/dist/src/viber/index.d.ts +317 -84
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +224 -87
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +158 -26
- package/dist/src/workflow-rule/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,9 +1,8 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
|
3
|
-
export type ConnectWebChatChannelRequest = z.infer<typeof ConnectWebChatChannelSchema>;
|
4
|
-
export declare const webchatContract: {
|
2
|
+
export declare const platformWebchatContract: {
|
5
3
|
sendMessage: {
|
6
4
|
body: z.ZodObject<{
|
5
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
7
6
|
room: z.ZodObject<{
|
8
7
|
id: z.ZodString;
|
9
8
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -358,7 +357,7 @@ export declare const webchatContract: {
|
|
358
357
|
message: z.ZodObject<{
|
359
358
|
message: z.ZodOptional<z.ZodString>;
|
360
359
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
361
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
360
|
+
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"]>;
|
362
361
|
readAt: z.ZodOptional<z.ZodDate>;
|
363
362
|
metadata: z.ZodOptional<z.ZodAny>;
|
364
363
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -374,18 +373,21 @@ export declare const webchatContract: {
|
|
374
373
|
fileName: z.ZodString;
|
375
374
|
fileSize: z.ZodNumber;
|
376
375
|
fileKey: z.ZodString;
|
376
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
378
378
|
fileName: string;
|
379
379
|
fileKey: string;
|
380
380
|
bucketName: string;
|
381
381
|
fileSize: number;
|
382
|
+
originalUrl?: string | undefined;
|
382
383
|
}, {
|
383
384
|
fileName: string;
|
384
385
|
fileKey: string;
|
385
386
|
bucketName: string;
|
386
387
|
fileSize: number;
|
388
|
+
originalUrl?: string | undefined;
|
387
389
|
}>>;
|
388
|
-
sender: z.ZodObject<{
|
390
|
+
sender: z.ZodOptional<z.ZodObject<{
|
389
391
|
id: z.ZodString;
|
390
392
|
name: z.ZodString;
|
391
393
|
email: z.ZodString;
|
@@ -403,17 +405,10 @@ export declare const webchatContract: {
|
|
403
405
|
name: string;
|
404
406
|
email: string;
|
405
407
|
phone: string | null;
|
406
|
-
}
|
408
|
+
}>>;
|
407
409
|
}, "strip", z.ZodTypeAny, {
|
408
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
410
|
+
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";
|
409
411
|
direction: "incoming" | "outgoing" | "system";
|
410
|
-
sender: {
|
411
|
-
id: string;
|
412
|
-
address: string | null;
|
413
|
-
name: string;
|
414
|
-
email: string;
|
415
|
-
phone: string | null;
|
416
|
-
};
|
417
412
|
message?: string | undefined;
|
418
413
|
readAt?: Date | undefined;
|
419
414
|
metadata?: any;
|
@@ -430,17 +425,18 @@ export declare const webchatContract: {
|
|
430
425
|
fileKey: string;
|
431
426
|
bucketName: string;
|
432
427
|
fileSize: number;
|
428
|
+
originalUrl?: string | undefined;
|
433
429
|
} | undefined;
|
434
|
-
|
435
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
436
|
-
direction: "incoming" | "outgoing" | "system";
|
437
|
-
sender: {
|
430
|
+
sender?: {
|
438
431
|
id: string;
|
439
432
|
address: string | null;
|
440
433
|
name: string;
|
441
434
|
email: string;
|
442
435
|
phone: string | null;
|
443
|
-
};
|
436
|
+
} | undefined;
|
437
|
+
}, {
|
438
|
+
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";
|
439
|
+
direction: "incoming" | "outgoing" | "system";
|
444
440
|
message?: string | undefined;
|
445
441
|
readAt?: Date | undefined;
|
446
442
|
metadata?: any;
|
@@ -457,19 +453,20 @@ export declare const webchatContract: {
|
|
457
453
|
fileKey: string;
|
458
454
|
bucketName: string;
|
459
455
|
fileSize: number;
|
456
|
+
originalUrl?: string | undefined;
|
460
457
|
} | undefined;
|
461
|
-
|
462
|
-
}, "strip", z.ZodTypeAny, {
|
463
|
-
message: {
|
464
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
465
|
-
direction: "incoming" | "outgoing" | "system";
|
466
|
-
sender: {
|
458
|
+
sender?: {
|
467
459
|
id: string;
|
468
460
|
address: string | null;
|
469
461
|
name: string;
|
470
462
|
email: string;
|
471
463
|
phone: string | null;
|
472
|
-
};
|
464
|
+
} | undefined;
|
465
|
+
}>;
|
466
|
+
}, "strip", z.ZodTypeAny, {
|
467
|
+
message: {
|
468
|
+
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";
|
469
|
+
direction: "incoming" | "outgoing" | "system";
|
473
470
|
message?: string | undefined;
|
474
471
|
readAt?: Date | undefined;
|
475
472
|
metadata?: any;
|
@@ -486,6 +483,14 @@ export declare const webchatContract: {
|
|
486
483
|
fileKey: string;
|
487
484
|
bucketName: string;
|
488
485
|
fileSize: number;
|
486
|
+
originalUrl?: string | undefined;
|
487
|
+
} | undefined;
|
488
|
+
sender?: {
|
489
|
+
id: string;
|
490
|
+
address: string | null;
|
491
|
+
name: string;
|
492
|
+
email: string;
|
493
|
+
phone: string | null;
|
489
494
|
} | undefined;
|
490
495
|
};
|
491
496
|
room: {
|
@@ -555,17 +560,11 @@ export declare const webchatContract: {
|
|
555
560
|
metadata?: any;
|
556
561
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
557
562
|
};
|
563
|
+
isBot: boolean | null;
|
558
564
|
}, {
|
559
565
|
message: {
|
560
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
566
|
+
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";
|
561
567
|
direction: "incoming" | "outgoing" | "system";
|
562
|
-
sender: {
|
563
|
-
id: string;
|
564
|
-
address: string | null;
|
565
|
-
name: string;
|
566
|
-
email: string;
|
567
|
-
phone: string | null;
|
568
|
-
};
|
569
568
|
message?: string | undefined;
|
570
569
|
readAt?: Date | undefined;
|
571
570
|
metadata?: any;
|
@@ -582,6 +581,14 @@ export declare const webchatContract: {
|
|
582
581
|
fileKey: string;
|
583
582
|
bucketName: string;
|
584
583
|
fileSize: number;
|
584
|
+
originalUrl?: string | undefined;
|
585
|
+
} | undefined;
|
586
|
+
sender?: {
|
587
|
+
id: string;
|
588
|
+
address: string | null;
|
589
|
+
name: string;
|
590
|
+
email: string;
|
591
|
+
phone: string | null;
|
585
592
|
} | undefined;
|
586
593
|
};
|
587
594
|
room: {
|
@@ -651,6 +658,7 @@ export declare const webchatContract: {
|
|
651
658
|
metadata?: any;
|
652
659
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
653
660
|
};
|
661
|
+
isBot?: boolean | null | undefined;
|
654
662
|
}>;
|
655
663
|
method: "POST";
|
656
664
|
responses: {
|
@@ -663,7 +671,7 @@ export declare const webchatContract: {
|
|
663
671
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
664
672
|
message: z.ZodString;
|
665
673
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
666
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
674
|
+
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"]>;
|
667
675
|
readAt: z.ZodDate;
|
668
676
|
metadata: z.ZodAny;
|
669
677
|
platformId: z.ZodString;
|
@@ -688,6 +696,7 @@ export declare const webchatContract: {
|
|
688
696
|
firstResponseAt: z.ZodDate;
|
689
697
|
firstResponseTime: z.ZodNumber;
|
690
698
|
isLatest: z.ZodBoolean;
|
699
|
+
isBotRoom: z.ZodBoolean;
|
691
700
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
692
701
|
platformContact: z.ZodObject<{
|
693
702
|
id: z.ZodString;
|
@@ -1008,9 +1017,10 @@ export declare const webchatContract: {
|
|
1008
1017
|
fileSize: z.ZodNumber;
|
1009
1018
|
fileKey: z.ZodString;
|
1010
1019
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1011
|
-
status: z.
|
1020
|
+
status: z.ZodNullable<z.ZodString>;
|
1012
1021
|
}, "strip", z.ZodTypeAny, {
|
1013
1022
|
id: string;
|
1023
|
+
status: string | null;
|
1014
1024
|
createdAt: Date;
|
1015
1025
|
updatedAt: Date;
|
1016
1026
|
deletedAt: Date | null;
|
@@ -1019,9 +1029,9 @@ export declare const webchatContract: {
|
|
1019
1029
|
bucketName: string;
|
1020
1030
|
fileSize: number;
|
1021
1031
|
fileUrl: string | null;
|
1022
|
-
status?: string | undefined;
|
1023
1032
|
}, {
|
1024
1033
|
id: string;
|
1034
|
+
status: string | null;
|
1025
1035
|
createdAt: Date;
|
1026
1036
|
updatedAt: Date;
|
1027
1037
|
deletedAt: Date | null;
|
@@ -1030,7 +1040,6 @@ export declare const webchatContract: {
|
|
1030
1040
|
bucketName: string;
|
1031
1041
|
fileSize: number;
|
1032
1042
|
fileUrl: string | null;
|
1033
|
-
status?: string | undefined;
|
1034
1043
|
}>, "many">;
|
1035
1044
|
}, "strip", z.ZodTypeAny, {
|
1036
1045
|
id: string;
|
@@ -1057,6 +1066,7 @@ export declare const webchatContract: {
|
|
1057
1066
|
dateValue: Date | null;
|
1058
1067
|
uploads: {
|
1059
1068
|
id: string;
|
1069
|
+
status: string | null;
|
1060
1070
|
createdAt: Date;
|
1061
1071
|
updatedAt: Date;
|
1062
1072
|
deletedAt: Date | null;
|
@@ -1065,7 +1075,6 @@ export declare const webchatContract: {
|
|
1065
1075
|
bucketName: string;
|
1066
1076
|
fileSize: number;
|
1067
1077
|
fileUrl: string | null;
|
1068
|
-
status?: string | undefined;
|
1069
1078
|
}[];
|
1070
1079
|
}, {
|
1071
1080
|
id: string;
|
@@ -1092,6 +1101,7 @@ export declare const webchatContract: {
|
|
1092
1101
|
dateValue: Date | null;
|
1093
1102
|
uploads: {
|
1094
1103
|
id: string;
|
1104
|
+
status: string | null;
|
1095
1105
|
createdAt: Date;
|
1096
1106
|
updatedAt: Date;
|
1097
1107
|
deletedAt: Date | null;
|
@@ -1100,7 +1110,6 @@ export declare const webchatContract: {
|
|
1100
1110
|
bucketName: string;
|
1101
1111
|
fileSize: number;
|
1102
1112
|
fileUrl: string | null;
|
1103
|
-
status?: string | undefined;
|
1104
1113
|
}[];
|
1105
1114
|
}>, "many">;
|
1106
1115
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -1240,6 +1249,7 @@ export declare const webchatContract: {
|
|
1240
1249
|
dateValue: Date | null;
|
1241
1250
|
uploads: {
|
1242
1251
|
id: string;
|
1252
|
+
status: string | null;
|
1243
1253
|
createdAt: Date;
|
1244
1254
|
updatedAt: Date;
|
1245
1255
|
deletedAt: Date | null;
|
@@ -1248,7 +1258,6 @@ export declare const webchatContract: {
|
|
1248
1258
|
bucketName: string;
|
1249
1259
|
fileSize: number;
|
1250
1260
|
fileUrl: string | null;
|
1251
|
-
status?: string | undefined;
|
1252
1261
|
}[];
|
1253
1262
|
}[];
|
1254
1263
|
company: {
|
@@ -1336,6 +1345,7 @@ export declare const webchatContract: {
|
|
1336
1345
|
dateValue: Date | null;
|
1337
1346
|
uploads: {
|
1338
1347
|
id: string;
|
1348
|
+
status: string | null;
|
1339
1349
|
createdAt: Date;
|
1340
1350
|
updatedAt: Date;
|
1341
1351
|
deletedAt: Date | null;
|
@@ -1344,7 +1354,6 @@ export declare const webchatContract: {
|
|
1344
1354
|
bucketName: string;
|
1345
1355
|
fileSize: number;
|
1346
1356
|
fileUrl: string | null;
|
1347
|
-
status?: string | undefined;
|
1348
1357
|
}[];
|
1349
1358
|
}[];
|
1350
1359
|
company: {
|
@@ -1445,6 +1454,7 @@ export declare const webchatContract: {
|
|
1445
1454
|
dateValue: Date | null;
|
1446
1455
|
uploads: {
|
1447
1456
|
id: string;
|
1457
|
+
status: string | null;
|
1448
1458
|
createdAt: Date;
|
1449
1459
|
updatedAt: Date;
|
1450
1460
|
deletedAt: Date | null;
|
@@ -1453,7 +1463,6 @@ export declare const webchatContract: {
|
|
1453
1463
|
bucketName: string;
|
1454
1464
|
fileSize: number;
|
1455
1465
|
fileUrl: string | null;
|
1456
|
-
status?: string | undefined;
|
1457
1466
|
}[];
|
1458
1467
|
}[];
|
1459
1468
|
company: {
|
@@ -1556,6 +1565,7 @@ export declare const webchatContract: {
|
|
1556
1565
|
dateValue: Date | null;
|
1557
1566
|
uploads: {
|
1558
1567
|
id: string;
|
1568
|
+
status: string | null;
|
1559
1569
|
createdAt: Date;
|
1560
1570
|
updatedAt: Date;
|
1561
1571
|
deletedAt: Date | null;
|
@@ -1564,7 +1574,6 @@ export declare const webchatContract: {
|
|
1564
1574
|
bucketName: string;
|
1565
1575
|
fileSize: number;
|
1566
1576
|
fileUrl: string | null;
|
1567
|
-
status?: string | undefined;
|
1568
1577
|
}[];
|
1569
1578
|
}[];
|
1570
1579
|
company: {
|
@@ -2063,6 +2072,25 @@ export declare const webchatContract: {
|
|
2063
2072
|
isReloginRequired: z.ZodBoolean;
|
2064
2073
|
connectedUserName: z.ZodString;
|
2065
2074
|
connectedUserId: z.ZodString;
|
2075
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2076
|
+
id: z.ZodString;
|
2077
|
+
name: z.ZodString;
|
2078
|
+
botId: z.ZodString;
|
2079
|
+
integrationId: z.ZodString;
|
2080
|
+
accessToken: z.ZodString;
|
2081
|
+
}, "strip", z.ZodTypeAny, {
|
2082
|
+
id: string;
|
2083
|
+
name: string;
|
2084
|
+
accessToken: string;
|
2085
|
+
botId: string;
|
2086
|
+
integrationId: string;
|
2087
|
+
}, {
|
2088
|
+
id: string;
|
2089
|
+
name: string;
|
2090
|
+
accessToken: string;
|
2091
|
+
botId: string;
|
2092
|
+
integrationId: string;
|
2093
|
+
}>>;
|
2066
2094
|
actor: z.ZodObject<{
|
2067
2095
|
id: z.ZodString;
|
2068
2096
|
createdAt: z.ZodDate;
|
@@ -2331,6 +2359,13 @@ export declare const webchatContract: {
|
|
2331
2359
|
isReloginRequired: boolean;
|
2332
2360
|
connectedUserName: string;
|
2333
2361
|
connectedUserId: string;
|
2362
|
+
botpressBot: {
|
2363
|
+
id: string;
|
2364
|
+
name: string;
|
2365
|
+
accessToken: string;
|
2366
|
+
botId: string;
|
2367
|
+
integrationId: string;
|
2368
|
+
} | null;
|
2334
2369
|
}, {
|
2335
2370
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2336
2371
|
id: string;
|
@@ -2395,6 +2430,13 @@ export declare const webchatContract: {
|
|
2395
2430
|
isReloginRequired: boolean;
|
2396
2431
|
connectedUserName: string;
|
2397
2432
|
connectedUserId: string;
|
2433
|
+
botpressBot: {
|
2434
|
+
id: string;
|
2435
|
+
name: string;
|
2436
|
+
accessToken: string;
|
2437
|
+
botId: string;
|
2438
|
+
integrationId: string;
|
2439
|
+
} | null;
|
2398
2440
|
}>;
|
2399
2441
|
cxlog: z.ZodObject<{
|
2400
2442
|
id: z.ZodString;
|
@@ -2906,6 +2948,13 @@ export declare const webchatContract: {
|
|
2906
2948
|
isReloginRequired: boolean;
|
2907
2949
|
connectedUserName: string;
|
2908
2950
|
connectedUserId: string;
|
2951
|
+
botpressBot: {
|
2952
|
+
id: string;
|
2953
|
+
name: string;
|
2954
|
+
accessToken: string;
|
2955
|
+
botId: string;
|
2956
|
+
integrationId: string;
|
2957
|
+
} | null;
|
2909
2958
|
};
|
2910
2959
|
direction: "incoming" | "outgoing" | "system";
|
2911
2960
|
status: number;
|
@@ -3007,6 +3056,7 @@ export declare const webchatContract: {
|
|
3007
3056
|
dateValue: Date | null;
|
3008
3057
|
uploads: {
|
3009
3058
|
id: string;
|
3059
|
+
status: string | null;
|
3010
3060
|
createdAt: Date;
|
3011
3061
|
updatedAt: Date;
|
3012
3062
|
deletedAt: Date | null;
|
@@ -3015,7 +3065,6 @@ export declare const webchatContract: {
|
|
3015
3065
|
bucketName: string;
|
3016
3066
|
fileSize: number;
|
3017
3067
|
fileUrl: string | null;
|
3018
|
-
status?: string | undefined;
|
3019
3068
|
}[];
|
3020
3069
|
}[];
|
3021
3070
|
company: {
|
@@ -3120,6 +3169,7 @@ export declare const webchatContract: {
|
|
3120
3169
|
};
|
3121
3170
|
closedAt: Date;
|
3122
3171
|
lastMessageAt: Date | null;
|
3172
|
+
isBotRoom: boolean;
|
3123
3173
|
cxlog: {
|
3124
3174
|
id: string;
|
3125
3175
|
channel: string | null;
|
@@ -3264,6 +3314,13 @@ export declare const webchatContract: {
|
|
3264
3314
|
isReloginRequired: boolean;
|
3265
3315
|
connectedUserName: string;
|
3266
3316
|
connectedUserId: string;
|
3317
|
+
botpressBot: {
|
3318
|
+
id: string;
|
3319
|
+
name: string;
|
3320
|
+
accessToken: string;
|
3321
|
+
botId: string;
|
3322
|
+
integrationId: string;
|
3323
|
+
} | null;
|
3267
3324
|
};
|
3268
3325
|
direction: "incoming" | "outgoing" | "system";
|
3269
3326
|
status: number;
|
@@ -3365,6 +3422,7 @@ export declare const webchatContract: {
|
|
3365
3422
|
dateValue: Date | null;
|
3366
3423
|
uploads: {
|
3367
3424
|
id: string;
|
3425
|
+
status: string | null;
|
3368
3426
|
createdAt: Date;
|
3369
3427
|
updatedAt: Date;
|
3370
3428
|
deletedAt: Date | null;
|
@@ -3373,7 +3431,6 @@ export declare const webchatContract: {
|
|
3373
3431
|
bucketName: string;
|
3374
3432
|
fileSize: number;
|
3375
3433
|
fileUrl: string | null;
|
3376
|
-
status?: string | undefined;
|
3377
3434
|
}[];
|
3378
3435
|
}[];
|
3379
3436
|
company: {
|
@@ -3478,6 +3535,7 @@ export declare const webchatContract: {
|
|
3478
3535
|
};
|
3479
3536
|
closedAt: Date;
|
3480
3537
|
lastMessageAt: Date | null;
|
3538
|
+
isBotRoom: boolean;
|
3481
3539
|
cxlog: {
|
3482
3540
|
id: string;
|
3483
3541
|
channel: string | null;
|
@@ -3567,9 +3625,10 @@ export declare const webchatContract: {
|
|
3567
3625
|
fileSize: z.ZodNumber;
|
3568
3626
|
fileKey: z.ZodString;
|
3569
3627
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3570
|
-
status: z.
|
3628
|
+
status: z.ZodNullable<z.ZodString>;
|
3571
3629
|
}, "strip", z.ZodTypeAny, {
|
3572
3630
|
id: string;
|
3631
|
+
status: string | null;
|
3573
3632
|
createdAt: Date;
|
3574
3633
|
updatedAt: Date;
|
3575
3634
|
deletedAt: Date | null;
|
@@ -3578,9 +3637,9 @@ export declare const webchatContract: {
|
|
3578
3637
|
bucketName: string;
|
3579
3638
|
fileSize: number;
|
3580
3639
|
fileUrl: string | null;
|
3581
|
-
status?: string | undefined;
|
3582
3640
|
}, {
|
3583
3641
|
id: string;
|
3642
|
+
status: string | null;
|
3584
3643
|
createdAt: Date;
|
3585
3644
|
updatedAt: Date;
|
3586
3645
|
deletedAt: Date | null;
|
@@ -3589,7 +3648,6 @@ export declare const webchatContract: {
|
|
3589
3648
|
bucketName: string;
|
3590
3649
|
fileSize: number;
|
3591
3650
|
fileUrl: string | null;
|
3592
|
-
status?: string | undefined;
|
3593
3651
|
}>;
|
3594
3652
|
repliedMessage: z.ZodLazy<z.ZodObject<{
|
3595
3653
|
id: z.ZodString;
|
@@ -3598,7 +3656,7 @@ export declare const webchatContract: {
|
|
3598
3656
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3599
3657
|
message: z.ZodString;
|
3600
3658
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3601
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3659
|
+
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"]>;
|
3602
3660
|
readAt: z.ZodDate;
|
3603
3661
|
metadata: z.ZodAny;
|
3604
3662
|
platformId: z.ZodString;
|
@@ -3619,9 +3677,10 @@ export declare const webchatContract: {
|
|
3619
3677
|
fileSize: z.ZodNumber;
|
3620
3678
|
fileKey: z.ZodString;
|
3621
3679
|
fileUrl: z.ZodNullable<z.ZodString>;
|
3622
|
-
status: z.
|
3680
|
+
status: z.ZodNullable<z.ZodString>;
|
3623
3681
|
}, "strip", z.ZodTypeAny, {
|
3624
3682
|
id: string;
|
3683
|
+
status: string | null;
|
3625
3684
|
createdAt: Date;
|
3626
3685
|
updatedAt: Date;
|
3627
3686
|
deletedAt: Date | null;
|
@@ -3630,9 +3689,9 @@ export declare const webchatContract: {
|
|
3630
3689
|
bucketName: string;
|
3631
3690
|
fileSize: number;
|
3632
3691
|
fileUrl: string | null;
|
3633
|
-
status?: string | undefined;
|
3634
3692
|
}, {
|
3635
3693
|
id: string;
|
3694
|
+
status: string | null;
|
3636
3695
|
createdAt: Date;
|
3637
3696
|
updatedAt: Date;
|
3638
3697
|
deletedAt: Date | null;
|
@@ -3641,7 +3700,6 @@ export declare const webchatContract: {
|
|
3641
3700
|
bucketName: string;
|
3642
3701
|
fileSize: number;
|
3643
3702
|
fileUrl: string | null;
|
3644
|
-
status?: string | undefined;
|
3645
3703
|
}>;
|
3646
3704
|
actor: z.ZodObject<{
|
3647
3705
|
id: z.ZodString;
|
@@ -4256,7 +4314,7 @@ export declare const webchatContract: {
|
|
4256
4314
|
};
|
4257
4315
|
}>;
|
4258
4316
|
}, "strip", z.ZodTypeAny, {
|
4259
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4317
|
+
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";
|
4260
4318
|
message: string;
|
4261
4319
|
id: string;
|
4262
4320
|
url: string;
|
@@ -4308,9 +4366,9 @@ export declare const webchatContract: {
|
|
4308
4366
|
telephonySignature: string | null;
|
4309
4367
|
};
|
4310
4368
|
};
|
4311
|
-
platformId: string;
|
4312
4369
|
upload: {
|
4313
4370
|
id: string;
|
4371
|
+
status: string | null;
|
4314
4372
|
createdAt: Date;
|
4315
4373
|
updatedAt: Date;
|
4316
4374
|
deletedAt: Date | null;
|
@@ -4319,7 +4377,6 @@ export declare const webchatContract: {
|
|
4319
4377
|
bucketName: string;
|
4320
4378
|
fileSize: number;
|
4321
4379
|
fileUrl: string | null;
|
4322
|
-
status?: string | undefined;
|
4323
4380
|
};
|
4324
4381
|
assignee: {
|
4325
4382
|
id: string;
|
@@ -4365,6 +4422,7 @@ export declare const webchatContract: {
|
|
4365
4422
|
telephonySignature: string | null;
|
4366
4423
|
};
|
4367
4424
|
};
|
4425
|
+
platformId: string;
|
4368
4426
|
readAt: Date;
|
4369
4427
|
platformMessageId: string;
|
4370
4428
|
replyPlatformMessageId: string;
|
@@ -4418,7 +4476,7 @@ export declare const webchatContract: {
|
|
4418
4476
|
metadata?: any;
|
4419
4477
|
template?: any;
|
4420
4478
|
}, {
|
4421
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
4479
|
+
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";
|
4422
4480
|
message: string;
|
4423
4481
|
id: string;
|
4424
4482
|
url: string;
|
@@ -4470,9 +4528,9 @@ export declare const webchatContract: {
|
|
4470
4528
|
telephonySignature: string | null;
|
4471
4529
|
};
|
4472
4530
|
};
|
4473
|
-
platformId: string;
|
4474
4531
|
upload: {
|
4475
4532
|
id: string;
|
4533
|
+
status: string | null;
|
4476
4534
|
createdAt: Date;
|
4477
4535
|
updatedAt: Date;
|
4478
4536
|
deletedAt: Date | null;
|
@@ -4481,7 +4539,6 @@ export declare const webchatContract: {
|
|
4481
4539
|
bucketName: string;
|
4482
4540
|
fileSize: number;
|
4483
4541
|
fileUrl: string | null;
|
4484
|
-
status?: string | undefined;
|
4485
4542
|
};
|
4486
4543
|
assignee: {
|
4487
4544
|
id: string;
|
@@ -4527,6 +4584,7 @@ export declare const webchatContract: {
|
|
4527
4584
|
telephonySignature: string | null;
|
4528
4585
|
};
|
4529
4586
|
};
|
4587
|
+
platformId: string;
|
4530
4588
|
readAt: Date;
|
4531
4589
|
platformMessageId: string;
|
4532
4590
|
replyPlatformMessageId: string;
|
@@ -5218,7 +5276,7 @@ export declare const webchatContract: {
|
|
5218
5276
|
isActive: boolean;
|
5219
5277
|
}>;
|
5220
5278
|
}, "strip", z.ZodTypeAny, {
|
5221
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5279
|
+
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";
|
5222
5280
|
message: string;
|
5223
5281
|
id: string;
|
5224
5282
|
url: string;
|
@@ -5270,9 +5328,9 @@ export declare const webchatContract: {
|
|
5270
5328
|
telephonySignature: string | null;
|
5271
5329
|
};
|
5272
5330
|
};
|
5273
|
-
platformId: string;
|
5274
5331
|
upload: {
|
5275
5332
|
id: string;
|
5333
|
+
status: string | null;
|
5276
5334
|
createdAt: Date;
|
5277
5335
|
updatedAt: Date;
|
5278
5336
|
deletedAt: Date | null;
|
@@ -5281,7 +5339,6 @@ export declare const webchatContract: {
|
|
5281
5339
|
bucketName: string;
|
5282
5340
|
fileSize: number;
|
5283
5341
|
fileUrl: string | null;
|
5284
|
-
status?: string | undefined;
|
5285
5342
|
};
|
5286
5343
|
assignee: {
|
5287
5344
|
id: string;
|
@@ -5327,6 +5384,7 @@ export declare const webchatContract: {
|
|
5327
5384
|
telephonySignature: string | null;
|
5328
5385
|
};
|
5329
5386
|
};
|
5387
|
+
platformId: string;
|
5330
5388
|
room: {
|
5331
5389
|
id: string;
|
5332
5390
|
channel: {
|
@@ -5393,6 +5451,13 @@ export declare const webchatContract: {
|
|
5393
5451
|
isReloginRequired: boolean;
|
5394
5452
|
connectedUserName: string;
|
5395
5453
|
connectedUserId: string;
|
5454
|
+
botpressBot: {
|
5455
|
+
id: string;
|
5456
|
+
name: string;
|
5457
|
+
accessToken: string;
|
5458
|
+
botId: string;
|
5459
|
+
integrationId: string;
|
5460
|
+
} | null;
|
5396
5461
|
};
|
5397
5462
|
direction: "incoming" | "outgoing" | "system";
|
5398
5463
|
status: number;
|
@@ -5494,6 +5559,7 @@ export declare const webchatContract: {
|
|
5494
5559
|
dateValue: Date | null;
|
5495
5560
|
uploads: {
|
5496
5561
|
id: string;
|
5562
|
+
status: string | null;
|
5497
5563
|
createdAt: Date;
|
5498
5564
|
updatedAt: Date;
|
5499
5565
|
deletedAt: Date | null;
|
@@ -5502,7 +5568,6 @@ export declare const webchatContract: {
|
|
5502
5568
|
bucketName: string;
|
5503
5569
|
fileSize: number;
|
5504
5570
|
fileUrl: string | null;
|
5505
|
-
status?: string | undefined;
|
5506
5571
|
}[];
|
5507
5572
|
}[];
|
5508
5573
|
company: {
|
@@ -5607,6 +5672,7 @@ export declare const webchatContract: {
|
|
5607
5672
|
};
|
5608
5673
|
closedAt: Date;
|
5609
5674
|
lastMessageAt: Date | null;
|
5675
|
+
isBotRoom: boolean;
|
5610
5676
|
cxlog: {
|
5611
5677
|
id: string;
|
5612
5678
|
channel: string | null;
|
@@ -5702,7 +5768,7 @@ export declare const webchatContract: {
|
|
5702
5768
|
previewUrl: string;
|
5703
5769
|
imageSetId: string;
|
5704
5770
|
repliedMessage: {
|
5705
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5771
|
+
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";
|
5706
5772
|
message: string;
|
5707
5773
|
id: string;
|
5708
5774
|
url: string;
|
@@ -5754,9 +5820,9 @@ export declare const webchatContract: {
|
|
5754
5820
|
telephonySignature: string | null;
|
5755
5821
|
};
|
5756
5822
|
};
|
5757
|
-
platformId: string;
|
5758
5823
|
upload: {
|
5759
5824
|
id: string;
|
5825
|
+
status: string | null;
|
5760
5826
|
createdAt: Date;
|
5761
5827
|
updatedAt: Date;
|
5762
5828
|
deletedAt: Date | null;
|
@@ -5765,7 +5831,6 @@ export declare const webchatContract: {
|
|
5765
5831
|
bucketName: string;
|
5766
5832
|
fileSize: number;
|
5767
5833
|
fileUrl: string | null;
|
5768
|
-
status?: string | undefined;
|
5769
5834
|
};
|
5770
5835
|
assignee: {
|
5771
5836
|
id: string;
|
@@ -5811,6 +5876,7 @@ export declare const webchatContract: {
|
|
5811
5876
|
telephonySignature: string | null;
|
5812
5877
|
};
|
5813
5878
|
};
|
5879
|
+
platformId: string;
|
5814
5880
|
readAt: Date;
|
5815
5881
|
platformMessageId: string;
|
5816
5882
|
replyPlatformMessageId: string;
|
@@ -5911,7 +5977,7 @@ export declare const webchatContract: {
|
|
5911
5977
|
metadata?: any;
|
5912
5978
|
template?: any;
|
5913
5979
|
}, {
|
5914
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5980
|
+
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";
|
5915
5981
|
message: string;
|
5916
5982
|
id: string;
|
5917
5983
|
url: string;
|
@@ -5963,9 +6029,9 @@ export declare const webchatContract: {
|
|
5963
6029
|
telephonySignature: string | null;
|
5964
6030
|
};
|
5965
6031
|
};
|
5966
|
-
platformId: string;
|
5967
6032
|
upload: {
|
5968
6033
|
id: string;
|
6034
|
+
status: string | null;
|
5969
6035
|
createdAt: Date;
|
5970
6036
|
updatedAt: Date;
|
5971
6037
|
deletedAt: Date | null;
|
@@ -5974,7 +6040,6 @@ export declare const webchatContract: {
|
|
5974
6040
|
bucketName: string;
|
5975
6041
|
fileSize: number;
|
5976
6042
|
fileUrl: string | null;
|
5977
|
-
status?: string | undefined;
|
5978
6043
|
};
|
5979
6044
|
assignee: {
|
5980
6045
|
id: string;
|
@@ -6020,6 +6085,7 @@ export declare const webchatContract: {
|
|
6020
6085
|
telephonySignature: string | null;
|
6021
6086
|
};
|
6022
6087
|
};
|
6088
|
+
platformId: string;
|
6023
6089
|
room: {
|
6024
6090
|
id: string;
|
6025
6091
|
channel: {
|
@@ -6086,6 +6152,13 @@ export declare const webchatContract: {
|
|
6086
6152
|
isReloginRequired: boolean;
|
6087
6153
|
connectedUserName: string;
|
6088
6154
|
connectedUserId: string;
|
6155
|
+
botpressBot: {
|
6156
|
+
id: string;
|
6157
|
+
name: string;
|
6158
|
+
accessToken: string;
|
6159
|
+
botId: string;
|
6160
|
+
integrationId: string;
|
6161
|
+
} | null;
|
6089
6162
|
};
|
6090
6163
|
direction: "incoming" | "outgoing" | "system";
|
6091
6164
|
status: number;
|
@@ -6187,6 +6260,7 @@ export declare const webchatContract: {
|
|
6187
6260
|
dateValue: Date | null;
|
6188
6261
|
uploads: {
|
6189
6262
|
id: string;
|
6263
|
+
status: string | null;
|
6190
6264
|
createdAt: Date;
|
6191
6265
|
updatedAt: Date;
|
6192
6266
|
deletedAt: Date | null;
|
@@ -6195,7 +6269,6 @@ export declare const webchatContract: {
|
|
6195
6269
|
bucketName: string;
|
6196
6270
|
fileSize: number;
|
6197
6271
|
fileUrl: string | null;
|
6198
|
-
status?: string | undefined;
|
6199
6272
|
}[];
|
6200
6273
|
}[];
|
6201
6274
|
company: {
|
@@ -6300,6 +6373,7 @@ export declare const webchatContract: {
|
|
6300
6373
|
};
|
6301
6374
|
closedAt: Date;
|
6302
6375
|
lastMessageAt: Date | null;
|
6376
|
+
isBotRoom: boolean;
|
6303
6377
|
cxlog: {
|
6304
6378
|
id: string;
|
6305
6379
|
channel: string | null;
|
@@ -6395,7 +6469,7 @@ export declare const webchatContract: {
|
|
6395
6469
|
previewUrl: string;
|
6396
6470
|
imageSetId: string;
|
6397
6471
|
repliedMessage: {
|
6398
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6472
|
+
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";
|
6399
6473
|
message: string;
|
6400
6474
|
id: string;
|
6401
6475
|
url: string;
|
@@ -6447,9 +6521,9 @@ export declare const webchatContract: {
|
|
6447
6521
|
telephonySignature: string | null;
|
6448
6522
|
};
|
6449
6523
|
};
|
6450
|
-
platformId: string;
|
6451
6524
|
upload: {
|
6452
6525
|
id: string;
|
6526
|
+
status: string | null;
|
6453
6527
|
createdAt: Date;
|
6454
6528
|
updatedAt: Date;
|
6455
6529
|
deletedAt: Date | null;
|
@@ -6458,7 +6532,6 @@ export declare const webchatContract: {
|
|
6458
6532
|
bucketName: string;
|
6459
6533
|
fileSize: number;
|
6460
6534
|
fileUrl: string | null;
|
6461
|
-
status?: string | undefined;
|
6462
6535
|
};
|
6463
6536
|
assignee: {
|
6464
6537
|
id: string;
|
@@ -6504,6 +6577,7 @@ export declare const webchatContract: {
|
|
6504
6577
|
telephonySignature: string | null;
|
6505
6578
|
};
|
6506
6579
|
};
|
6580
|
+
platformId: string;
|
6507
6581
|
readAt: Date;
|
6508
6582
|
platformMessageId: string;
|
6509
6583
|
replyPlatformMessageId: string;
|
@@ -6606,7 +6680,7 @@ export declare const webchatContract: {
|
|
6606
6680
|
}>;
|
6607
6681
|
}, "strip", z.ZodTypeAny, {
|
6608
6682
|
data: {
|
6609
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6683
|
+
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";
|
6610
6684
|
message: string;
|
6611
6685
|
id: string;
|
6612
6686
|
url: string;
|
@@ -6658,9 +6732,9 @@ export declare const webchatContract: {
|
|
6658
6732
|
telephonySignature: string | null;
|
6659
6733
|
};
|
6660
6734
|
};
|
6661
|
-
platformId: string;
|
6662
6735
|
upload: {
|
6663
6736
|
id: string;
|
6737
|
+
status: string | null;
|
6664
6738
|
createdAt: Date;
|
6665
6739
|
updatedAt: Date;
|
6666
6740
|
deletedAt: Date | null;
|
@@ -6669,7 +6743,6 @@ export declare const webchatContract: {
|
|
6669
6743
|
bucketName: string;
|
6670
6744
|
fileSize: number;
|
6671
6745
|
fileUrl: string | null;
|
6672
|
-
status?: string | undefined;
|
6673
6746
|
};
|
6674
6747
|
assignee: {
|
6675
6748
|
id: string;
|
@@ -6715,6 +6788,7 @@ export declare const webchatContract: {
|
|
6715
6788
|
telephonySignature: string | null;
|
6716
6789
|
};
|
6717
6790
|
};
|
6791
|
+
platformId: string;
|
6718
6792
|
room: {
|
6719
6793
|
id: string;
|
6720
6794
|
channel: {
|
@@ -6781,6 +6855,13 @@ export declare const webchatContract: {
|
|
6781
6855
|
isReloginRequired: boolean;
|
6782
6856
|
connectedUserName: string;
|
6783
6857
|
connectedUserId: string;
|
6858
|
+
botpressBot: {
|
6859
|
+
id: string;
|
6860
|
+
name: string;
|
6861
|
+
accessToken: string;
|
6862
|
+
botId: string;
|
6863
|
+
integrationId: string;
|
6864
|
+
} | null;
|
6784
6865
|
};
|
6785
6866
|
direction: "incoming" | "outgoing" | "system";
|
6786
6867
|
status: number;
|
@@ -6882,6 +6963,7 @@ export declare const webchatContract: {
|
|
6882
6963
|
dateValue: Date | null;
|
6883
6964
|
uploads: {
|
6884
6965
|
id: string;
|
6966
|
+
status: string | null;
|
6885
6967
|
createdAt: Date;
|
6886
6968
|
updatedAt: Date;
|
6887
6969
|
deletedAt: Date | null;
|
@@ -6890,7 +6972,6 @@ export declare const webchatContract: {
|
|
6890
6972
|
bucketName: string;
|
6891
6973
|
fileSize: number;
|
6892
6974
|
fileUrl: string | null;
|
6893
|
-
status?: string | undefined;
|
6894
6975
|
}[];
|
6895
6976
|
}[];
|
6896
6977
|
company: {
|
@@ -6995,6 +7076,7 @@ export declare const webchatContract: {
|
|
6995
7076
|
};
|
6996
7077
|
closedAt: Date;
|
6997
7078
|
lastMessageAt: Date | null;
|
7079
|
+
isBotRoom: boolean;
|
6998
7080
|
cxlog: {
|
6999
7081
|
id: string;
|
7000
7082
|
channel: string | null;
|
@@ -7090,7 +7172,7 @@ export declare const webchatContract: {
|
|
7090
7172
|
previewUrl: string;
|
7091
7173
|
imageSetId: string;
|
7092
7174
|
repliedMessage: {
|
7093
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7175
|
+
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";
|
7094
7176
|
message: string;
|
7095
7177
|
id: string;
|
7096
7178
|
url: string;
|
@@ -7142,9 +7224,9 @@ export declare const webchatContract: {
|
|
7142
7224
|
telephonySignature: string | null;
|
7143
7225
|
};
|
7144
7226
|
};
|
7145
|
-
platformId: string;
|
7146
7227
|
upload: {
|
7147
7228
|
id: string;
|
7229
|
+
status: string | null;
|
7148
7230
|
createdAt: Date;
|
7149
7231
|
updatedAt: Date;
|
7150
7232
|
deletedAt: Date | null;
|
@@ -7153,7 +7235,6 @@ export declare const webchatContract: {
|
|
7153
7235
|
bucketName: string;
|
7154
7236
|
fileSize: number;
|
7155
7237
|
fileUrl: string | null;
|
7156
|
-
status?: string | undefined;
|
7157
7238
|
};
|
7158
7239
|
assignee: {
|
7159
7240
|
id: string;
|
@@ -7199,6 +7280,7 @@ export declare const webchatContract: {
|
|
7199
7280
|
telephonySignature: string | null;
|
7200
7281
|
};
|
7201
7282
|
};
|
7283
|
+
platformId: string;
|
7202
7284
|
readAt: Date;
|
7203
7285
|
platformMessageId: string;
|
7204
7286
|
replyPlatformMessageId: string;
|
@@ -7302,7 +7384,7 @@ export declare const webchatContract: {
|
|
7302
7384
|
requestId: string;
|
7303
7385
|
}, {
|
7304
7386
|
data: {
|
7305
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7387
|
+
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";
|
7306
7388
|
message: string;
|
7307
7389
|
id: string;
|
7308
7390
|
url: string;
|
@@ -7354,9 +7436,9 @@ export declare const webchatContract: {
|
|
7354
7436
|
telephonySignature: string | null;
|
7355
7437
|
};
|
7356
7438
|
};
|
7357
|
-
platformId: string;
|
7358
7439
|
upload: {
|
7359
7440
|
id: string;
|
7441
|
+
status: string | null;
|
7360
7442
|
createdAt: Date;
|
7361
7443
|
updatedAt: Date;
|
7362
7444
|
deletedAt: Date | null;
|
@@ -7365,7 +7447,6 @@ export declare const webchatContract: {
|
|
7365
7447
|
bucketName: string;
|
7366
7448
|
fileSize: number;
|
7367
7449
|
fileUrl: string | null;
|
7368
|
-
status?: string | undefined;
|
7369
7450
|
};
|
7370
7451
|
assignee: {
|
7371
7452
|
id: string;
|
@@ -7411,6 +7492,7 @@ export declare const webchatContract: {
|
|
7411
7492
|
telephonySignature: string | null;
|
7412
7493
|
};
|
7413
7494
|
};
|
7495
|
+
platformId: string;
|
7414
7496
|
room: {
|
7415
7497
|
id: string;
|
7416
7498
|
channel: {
|
@@ -7477,6 +7559,13 @@ export declare const webchatContract: {
|
|
7477
7559
|
isReloginRequired: boolean;
|
7478
7560
|
connectedUserName: string;
|
7479
7561
|
connectedUserId: string;
|
7562
|
+
botpressBot: {
|
7563
|
+
id: string;
|
7564
|
+
name: string;
|
7565
|
+
accessToken: string;
|
7566
|
+
botId: string;
|
7567
|
+
integrationId: string;
|
7568
|
+
} | null;
|
7480
7569
|
};
|
7481
7570
|
direction: "incoming" | "outgoing" | "system";
|
7482
7571
|
status: number;
|
@@ -7578,6 +7667,7 @@ export declare const webchatContract: {
|
|
7578
7667
|
dateValue: Date | null;
|
7579
7668
|
uploads: {
|
7580
7669
|
id: string;
|
7670
|
+
status: string | null;
|
7581
7671
|
createdAt: Date;
|
7582
7672
|
updatedAt: Date;
|
7583
7673
|
deletedAt: Date | null;
|
@@ -7586,7 +7676,6 @@ export declare const webchatContract: {
|
|
7586
7676
|
bucketName: string;
|
7587
7677
|
fileSize: number;
|
7588
7678
|
fileUrl: string | null;
|
7589
|
-
status?: string | undefined;
|
7590
7679
|
}[];
|
7591
7680
|
}[];
|
7592
7681
|
company: {
|
@@ -7691,6 +7780,7 @@ export declare const webchatContract: {
|
|
7691
7780
|
};
|
7692
7781
|
closedAt: Date;
|
7693
7782
|
lastMessageAt: Date | null;
|
7783
|
+
isBotRoom: boolean;
|
7694
7784
|
cxlog: {
|
7695
7785
|
id: string;
|
7696
7786
|
channel: string | null;
|
@@ -7786,7 +7876,7 @@ export declare const webchatContract: {
|
|
7786
7876
|
previewUrl: string;
|
7787
7877
|
imageSetId: string;
|
7788
7878
|
repliedMessage: {
|
7789
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7879
|
+
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";
|
7790
7880
|
message: string;
|
7791
7881
|
id: string;
|
7792
7882
|
url: string;
|
@@ -7838,9 +7928,9 @@ export declare const webchatContract: {
|
|
7838
7928
|
telephonySignature: string | null;
|
7839
7929
|
};
|
7840
7930
|
};
|
7841
|
-
platformId: string;
|
7842
7931
|
upload: {
|
7843
7932
|
id: string;
|
7933
|
+
status: string | null;
|
7844
7934
|
createdAt: Date;
|
7845
7935
|
updatedAt: Date;
|
7846
7936
|
deletedAt: Date | null;
|
@@ -7849,7 +7939,6 @@ export declare const webchatContract: {
|
|
7849
7939
|
bucketName: string;
|
7850
7940
|
fileSize: number;
|
7851
7941
|
fileUrl: string | null;
|
7852
|
-
status?: string | undefined;
|
7853
7942
|
};
|
7854
7943
|
assignee: {
|
7855
7944
|
id: string;
|
@@ -7895,6 +7984,7 @@ export declare const webchatContract: {
|
|
7895
7984
|
telephonySignature: string | null;
|
7896
7985
|
};
|
7897
7986
|
};
|
7987
|
+
platformId: string;
|
7898
7988
|
readAt: Date;
|
7899
7989
|
platformMessageId: string;
|
7900
7990
|
replyPlatformMessageId: string;
|
@@ -8151,6 +8241,25 @@ export declare const webchatContract: {
|
|
8151
8241
|
isReloginRequired: z.ZodBoolean;
|
8152
8242
|
connectedUserName: z.ZodString;
|
8153
8243
|
connectedUserId: z.ZodString;
|
8244
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
8245
|
+
id: z.ZodString;
|
8246
|
+
name: z.ZodString;
|
8247
|
+
botId: z.ZodString;
|
8248
|
+
integrationId: z.ZodString;
|
8249
|
+
accessToken: z.ZodString;
|
8250
|
+
}, "strip", z.ZodTypeAny, {
|
8251
|
+
id: string;
|
8252
|
+
name: string;
|
8253
|
+
accessToken: string;
|
8254
|
+
botId: string;
|
8255
|
+
integrationId: string;
|
8256
|
+
}, {
|
8257
|
+
id: string;
|
8258
|
+
name: string;
|
8259
|
+
accessToken: string;
|
8260
|
+
botId: string;
|
8261
|
+
integrationId: string;
|
8262
|
+
}>>;
|
8154
8263
|
actor: z.ZodObject<{
|
8155
8264
|
id: z.ZodString;
|
8156
8265
|
createdAt: z.ZodDate;
|
@@ -8419,6 +8528,13 @@ export declare const webchatContract: {
|
|
8419
8528
|
isReloginRequired: boolean;
|
8420
8529
|
connectedUserName: string;
|
8421
8530
|
connectedUserId: string;
|
8531
|
+
botpressBot: {
|
8532
|
+
id: string;
|
8533
|
+
name: string;
|
8534
|
+
accessToken: string;
|
8535
|
+
botId: string;
|
8536
|
+
integrationId: string;
|
8537
|
+
} | null;
|
8422
8538
|
}, {
|
8423
8539
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8424
8540
|
id: string;
|
@@ -8483,6 +8599,13 @@ export declare const webchatContract: {
|
|
8483
8599
|
isReloginRequired: boolean;
|
8484
8600
|
connectedUserName: string;
|
8485
8601
|
connectedUserId: string;
|
8602
|
+
botpressBot: {
|
8603
|
+
id: string;
|
8604
|
+
name: string;
|
8605
|
+
accessToken: string;
|
8606
|
+
botId: string;
|
8607
|
+
integrationId: string;
|
8608
|
+
} | null;
|
8486
8609
|
}>;
|
8487
8610
|
}, "strip", z.ZodTypeAny, {
|
8488
8611
|
channel: {
|
@@ -8549,6 +8672,13 @@ export declare const webchatContract: {
|
|
8549
8672
|
isReloginRequired: boolean;
|
8550
8673
|
connectedUserName: string;
|
8551
8674
|
connectedUserId: string;
|
8675
|
+
botpressBot: {
|
8676
|
+
id: string;
|
8677
|
+
name: string;
|
8678
|
+
accessToken: string;
|
8679
|
+
botId: string;
|
8680
|
+
integrationId: string;
|
8681
|
+
} | null;
|
8552
8682
|
};
|
8553
8683
|
requestId: string;
|
8554
8684
|
}, {
|
@@ -8616,6 +8746,13 @@ export declare const webchatContract: {
|
|
8616
8746
|
isReloginRequired: boolean;
|
8617
8747
|
connectedUserName: string;
|
8618
8748
|
connectedUserId: string;
|
8749
|
+
botpressBot: {
|
8750
|
+
id: string;
|
8751
|
+
name: string;
|
8752
|
+
accessToken: string;
|
8753
|
+
botId: string;
|
8754
|
+
integrationId: string;
|
8755
|
+
} | null;
|
8619
8756
|
};
|
8620
8757
|
requestId: string;
|
8621
8758
|
}>;
|