@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
@@ -83,6 +83,25 @@ export declare const viberContract: {
|
|
83
83
|
isReloginRequired: z.ZodBoolean;
|
84
84
|
connectedUserName: z.ZodString;
|
85
85
|
connectedUserId: z.ZodString;
|
86
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
87
|
+
id: z.ZodString;
|
88
|
+
name: z.ZodString;
|
89
|
+
botId: z.ZodString;
|
90
|
+
integrationId: z.ZodString;
|
91
|
+
accessToken: z.ZodString;
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
93
|
+
id: string;
|
94
|
+
name: string;
|
95
|
+
accessToken: string;
|
96
|
+
botId: string;
|
97
|
+
integrationId: string;
|
98
|
+
}, {
|
99
|
+
id: string;
|
100
|
+
name: string;
|
101
|
+
accessToken: string;
|
102
|
+
botId: string;
|
103
|
+
integrationId: string;
|
104
|
+
}>>;
|
86
105
|
actor: z.ZodObject<{
|
87
106
|
id: z.ZodString;
|
88
107
|
createdAt: z.ZodDate;
|
@@ -351,6 +370,13 @@ export declare const viberContract: {
|
|
351
370
|
isReloginRequired: boolean;
|
352
371
|
connectedUserName: string;
|
353
372
|
connectedUserId: string;
|
373
|
+
botpressBot: {
|
374
|
+
id: string;
|
375
|
+
name: string;
|
376
|
+
accessToken: string;
|
377
|
+
botId: string;
|
378
|
+
integrationId: string;
|
379
|
+
} | null;
|
354
380
|
}, {
|
355
381
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
356
382
|
id: string;
|
@@ -415,6 +441,13 @@ export declare const viberContract: {
|
|
415
441
|
isReloginRequired: boolean;
|
416
442
|
connectedUserName: string;
|
417
443
|
connectedUserId: string;
|
444
|
+
botpressBot: {
|
445
|
+
id: string;
|
446
|
+
name: string;
|
447
|
+
accessToken: string;
|
448
|
+
botId: string;
|
449
|
+
integrationId: string;
|
450
|
+
} | null;
|
418
451
|
}>;
|
419
452
|
}, "strip", z.ZodTypeAny, {
|
420
453
|
channel: {
|
@@ -481,6 +514,13 @@ export declare const viberContract: {
|
|
481
514
|
isReloginRequired: boolean;
|
482
515
|
connectedUserName: string;
|
483
516
|
connectedUserId: string;
|
517
|
+
botpressBot: {
|
518
|
+
id: string;
|
519
|
+
name: string;
|
520
|
+
accessToken: string;
|
521
|
+
botId: string;
|
522
|
+
integrationId: string;
|
523
|
+
} | null;
|
484
524
|
};
|
485
525
|
requestId: string;
|
486
526
|
}, {
|
@@ -548,6 +588,13 @@ export declare const viberContract: {
|
|
548
588
|
isReloginRequired: boolean;
|
549
589
|
connectedUserName: string;
|
550
590
|
connectedUserId: string;
|
591
|
+
botpressBot: {
|
592
|
+
id: string;
|
593
|
+
name: string;
|
594
|
+
accessToken: string;
|
595
|
+
botId: string;
|
596
|
+
integrationId: string;
|
597
|
+
} | null;
|
551
598
|
};
|
552
599
|
requestId: string;
|
553
600
|
}>;
|
@@ -619,6 +666,25 @@ export declare const viberContract: {
|
|
619
666
|
isReloginRequired: z.ZodBoolean;
|
620
667
|
connectedUserName: z.ZodString;
|
621
668
|
connectedUserId: z.ZodString;
|
669
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
670
|
+
id: z.ZodString;
|
671
|
+
name: z.ZodString;
|
672
|
+
botId: z.ZodString;
|
673
|
+
integrationId: z.ZodString;
|
674
|
+
accessToken: z.ZodString;
|
675
|
+
}, "strip", z.ZodTypeAny, {
|
676
|
+
id: string;
|
677
|
+
name: string;
|
678
|
+
accessToken: string;
|
679
|
+
botId: string;
|
680
|
+
integrationId: string;
|
681
|
+
}, {
|
682
|
+
id: string;
|
683
|
+
name: string;
|
684
|
+
accessToken: string;
|
685
|
+
botId: string;
|
686
|
+
integrationId: string;
|
687
|
+
}>>;
|
622
688
|
actor: z.ZodObject<{
|
623
689
|
id: z.ZodString;
|
624
690
|
createdAt: z.ZodDate;
|
@@ -887,6 +953,13 @@ export declare const viberContract: {
|
|
887
953
|
isReloginRequired: boolean;
|
888
954
|
connectedUserName: string;
|
889
955
|
connectedUserId: string;
|
956
|
+
botpressBot: {
|
957
|
+
id: string;
|
958
|
+
name: string;
|
959
|
+
accessToken: string;
|
960
|
+
botId: string;
|
961
|
+
integrationId: string;
|
962
|
+
} | null;
|
890
963
|
}, {
|
891
964
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
892
965
|
id: string;
|
@@ -951,6 +1024,13 @@ export declare const viberContract: {
|
|
951
1024
|
isReloginRequired: boolean;
|
952
1025
|
connectedUserName: string;
|
953
1026
|
connectedUserId: string;
|
1027
|
+
botpressBot: {
|
1028
|
+
id: string;
|
1029
|
+
name: string;
|
1030
|
+
accessToken: string;
|
1031
|
+
botId: string;
|
1032
|
+
integrationId: string;
|
1033
|
+
} | null;
|
954
1034
|
}>;
|
955
1035
|
}, "strip", z.ZodTypeAny, {
|
956
1036
|
channel: {
|
@@ -1017,6 +1097,13 @@ export declare const viberContract: {
|
|
1017
1097
|
isReloginRequired: boolean;
|
1018
1098
|
connectedUserName: string;
|
1019
1099
|
connectedUserId: string;
|
1100
|
+
botpressBot: {
|
1101
|
+
id: string;
|
1102
|
+
name: string;
|
1103
|
+
accessToken: string;
|
1104
|
+
botId: string;
|
1105
|
+
integrationId: string;
|
1106
|
+
} | null;
|
1020
1107
|
};
|
1021
1108
|
requestId: string;
|
1022
1109
|
}, {
|
@@ -1084,6 +1171,13 @@ export declare const viberContract: {
|
|
1084
1171
|
isReloginRequired: boolean;
|
1085
1172
|
connectedUserName: string;
|
1086
1173
|
connectedUserId: string;
|
1174
|
+
botpressBot: {
|
1175
|
+
id: string;
|
1176
|
+
name: string;
|
1177
|
+
accessToken: string;
|
1178
|
+
botId: string;
|
1179
|
+
integrationId: string;
|
1180
|
+
} | null;
|
1087
1181
|
};
|
1088
1182
|
requestId: string;
|
1089
1183
|
}>;
|
@@ -1102,6 +1196,7 @@ export declare const viberContract: {
|
|
1102
1196
|
};
|
1103
1197
|
sendMessage: {
|
1104
1198
|
body: z.ZodObject<{
|
1199
|
+
isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
|
1105
1200
|
room: z.ZodObject<{
|
1106
1201
|
id: z.ZodString;
|
1107
1202
|
lastMessage: z.ZodOptional<z.ZodString>;
|
@@ -1456,7 +1551,7 @@ export declare const viberContract: {
|
|
1456
1551
|
message: z.ZodObject<{
|
1457
1552
|
message: z.ZodOptional<z.ZodString>;
|
1458
1553
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1459
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1554
|
+
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"]>;
|
1460
1555
|
readAt: z.ZodOptional<z.ZodDate>;
|
1461
1556
|
metadata: z.ZodOptional<z.ZodAny>;
|
1462
1557
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1472,18 +1567,21 @@ export declare const viberContract: {
|
|
1472
1567
|
fileName: z.ZodString;
|
1473
1568
|
fileSize: z.ZodNumber;
|
1474
1569
|
fileKey: z.ZodString;
|
1570
|
+
originalUrl: z.ZodOptional<z.ZodString>;
|
1475
1571
|
}, "strip", z.ZodTypeAny, {
|
1476
1572
|
fileName: string;
|
1477
1573
|
fileKey: string;
|
1478
1574
|
bucketName: string;
|
1479
1575
|
fileSize: number;
|
1576
|
+
originalUrl?: string | undefined;
|
1480
1577
|
}, {
|
1481
1578
|
fileName: string;
|
1482
1579
|
fileKey: string;
|
1483
1580
|
bucketName: string;
|
1484
1581
|
fileSize: number;
|
1582
|
+
originalUrl?: string | undefined;
|
1485
1583
|
}>>;
|
1486
|
-
sender: z.ZodObject<{
|
1584
|
+
sender: z.ZodOptional<z.ZodObject<{
|
1487
1585
|
id: z.ZodString;
|
1488
1586
|
name: z.ZodString;
|
1489
1587
|
email: z.ZodString;
|
@@ -1501,17 +1599,10 @@ export declare const viberContract: {
|
|
1501
1599
|
name: string;
|
1502
1600
|
email: string;
|
1503
1601
|
phone: string | null;
|
1504
|
-
}
|
1602
|
+
}>>;
|
1505
1603
|
}, "strip", z.ZodTypeAny, {
|
1506
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1604
|
+
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";
|
1507
1605
|
direction: "incoming" | "outgoing" | "system";
|
1508
|
-
sender: {
|
1509
|
-
id: string;
|
1510
|
-
address: string | null;
|
1511
|
-
name: string;
|
1512
|
-
email: string;
|
1513
|
-
phone: string | null;
|
1514
|
-
};
|
1515
1606
|
message?: string | undefined;
|
1516
1607
|
readAt?: Date | undefined;
|
1517
1608
|
metadata?: any;
|
@@ -1528,17 +1619,18 @@ export declare const viberContract: {
|
|
1528
1619
|
fileKey: string;
|
1529
1620
|
bucketName: string;
|
1530
1621
|
fileSize: number;
|
1622
|
+
originalUrl?: string | undefined;
|
1531
1623
|
} | undefined;
|
1532
|
-
|
1533
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1534
|
-
direction: "incoming" | "outgoing" | "system";
|
1535
|
-
sender: {
|
1624
|
+
sender?: {
|
1536
1625
|
id: string;
|
1537
1626
|
address: string | null;
|
1538
1627
|
name: string;
|
1539
1628
|
email: string;
|
1540
1629
|
phone: string | null;
|
1541
|
-
};
|
1630
|
+
} | undefined;
|
1631
|
+
}, {
|
1632
|
+
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";
|
1633
|
+
direction: "incoming" | "outgoing" | "system";
|
1542
1634
|
message?: string | undefined;
|
1543
1635
|
readAt?: Date | undefined;
|
1544
1636
|
metadata?: any;
|
@@ -1555,19 +1647,20 @@ export declare const viberContract: {
|
|
1555
1647
|
fileKey: string;
|
1556
1648
|
bucketName: string;
|
1557
1649
|
fileSize: number;
|
1650
|
+
originalUrl?: string | undefined;
|
1558
1651
|
} | undefined;
|
1559
|
-
|
1560
|
-
}, "strip", z.ZodTypeAny, {
|
1561
|
-
message: {
|
1562
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1563
|
-
direction: "incoming" | "outgoing" | "system";
|
1564
|
-
sender: {
|
1652
|
+
sender?: {
|
1565
1653
|
id: string;
|
1566
1654
|
address: string | null;
|
1567
1655
|
name: string;
|
1568
1656
|
email: string;
|
1569
1657
|
phone: string | null;
|
1570
|
-
};
|
1658
|
+
} | undefined;
|
1659
|
+
}>;
|
1660
|
+
}, "strip", z.ZodTypeAny, {
|
1661
|
+
message: {
|
1662
|
+
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";
|
1663
|
+
direction: "incoming" | "outgoing" | "system";
|
1571
1664
|
message?: string | undefined;
|
1572
1665
|
readAt?: Date | undefined;
|
1573
1666
|
metadata?: any;
|
@@ -1584,6 +1677,14 @@ export declare const viberContract: {
|
|
1584
1677
|
fileKey: string;
|
1585
1678
|
bucketName: string;
|
1586
1679
|
fileSize: number;
|
1680
|
+
originalUrl?: string | undefined;
|
1681
|
+
} | undefined;
|
1682
|
+
sender?: {
|
1683
|
+
id: string;
|
1684
|
+
address: string | null;
|
1685
|
+
name: string;
|
1686
|
+
email: string;
|
1687
|
+
phone: string | null;
|
1587
1688
|
} | undefined;
|
1588
1689
|
};
|
1589
1690
|
room: {
|
@@ -1653,17 +1754,11 @@ export declare const viberContract: {
|
|
1653
1754
|
metadata?: any;
|
1654
1755
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1655
1756
|
};
|
1757
|
+
isBot: boolean | null;
|
1656
1758
|
}, {
|
1657
1759
|
message: {
|
1658
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
1760
|
+
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";
|
1659
1761
|
direction: "incoming" | "outgoing" | "system";
|
1660
|
-
sender: {
|
1661
|
-
id: string;
|
1662
|
-
address: string | null;
|
1663
|
-
name: string;
|
1664
|
-
email: string;
|
1665
|
-
phone: string | null;
|
1666
|
-
};
|
1667
1762
|
message?: string | undefined;
|
1668
1763
|
readAt?: Date | undefined;
|
1669
1764
|
metadata?: any;
|
@@ -1680,6 +1775,14 @@ export declare const viberContract: {
|
|
1680
1775
|
fileKey: string;
|
1681
1776
|
bucketName: string;
|
1682
1777
|
fileSize: number;
|
1778
|
+
originalUrl?: string | undefined;
|
1779
|
+
} | undefined;
|
1780
|
+
sender?: {
|
1781
|
+
id: string;
|
1782
|
+
address: string | null;
|
1783
|
+
name: string;
|
1784
|
+
email: string;
|
1785
|
+
phone: string | null;
|
1683
1786
|
} | undefined;
|
1684
1787
|
};
|
1685
1788
|
room: {
|
@@ -1749,6 +1852,7 @@ export declare const viberContract: {
|
|
1749
1852
|
metadata?: any;
|
1750
1853
|
messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
|
1751
1854
|
};
|
1855
|
+
isBot?: boolean | null | undefined;
|
1752
1856
|
}>;
|
1753
1857
|
method: "POST";
|
1754
1858
|
responses: {
|
@@ -1761,7 +1865,7 @@ export declare const viberContract: {
|
|
1761
1865
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1762
1866
|
message: z.ZodString;
|
1763
1867
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1764
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
1868
|
+
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"]>;
|
1765
1869
|
readAt: z.ZodDate;
|
1766
1870
|
metadata: z.ZodAny;
|
1767
1871
|
platformId: z.ZodString;
|
@@ -1786,6 +1890,7 @@ export declare const viberContract: {
|
|
1786
1890
|
firstResponseAt: z.ZodDate;
|
1787
1891
|
firstResponseTime: z.ZodNumber;
|
1788
1892
|
isLatest: z.ZodBoolean;
|
1893
|
+
isBotRoom: z.ZodBoolean;
|
1789
1894
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1790
1895
|
platformContact: z.ZodObject<{
|
1791
1896
|
id: z.ZodString;
|
@@ -2106,9 +2211,10 @@ export declare const viberContract: {
|
|
2106
2211
|
fileSize: z.ZodNumber;
|
2107
2212
|
fileKey: z.ZodString;
|
2108
2213
|
fileUrl: z.ZodNullable<z.ZodString>;
|
2109
|
-
status: z.
|
2214
|
+
status: z.ZodNullable<z.ZodString>;
|
2110
2215
|
}, "strip", z.ZodTypeAny, {
|
2111
2216
|
id: string;
|
2217
|
+
status: string | null;
|
2112
2218
|
createdAt: Date;
|
2113
2219
|
updatedAt: Date;
|
2114
2220
|
deletedAt: Date | null;
|
@@ -2117,9 +2223,9 @@ export declare const viberContract: {
|
|
2117
2223
|
bucketName: string;
|
2118
2224
|
fileSize: number;
|
2119
2225
|
fileUrl: string | null;
|
2120
|
-
status?: string | undefined;
|
2121
2226
|
}, {
|
2122
2227
|
id: string;
|
2228
|
+
status: string | null;
|
2123
2229
|
createdAt: Date;
|
2124
2230
|
updatedAt: Date;
|
2125
2231
|
deletedAt: Date | null;
|
@@ -2128,7 +2234,6 @@ export declare const viberContract: {
|
|
2128
2234
|
bucketName: string;
|
2129
2235
|
fileSize: number;
|
2130
2236
|
fileUrl: string | null;
|
2131
|
-
status?: string | undefined;
|
2132
2237
|
}>, "many">;
|
2133
2238
|
}, "strip", z.ZodTypeAny, {
|
2134
2239
|
id: string;
|
@@ -2155,6 +2260,7 @@ export declare const viberContract: {
|
|
2155
2260
|
dateValue: Date | null;
|
2156
2261
|
uploads: {
|
2157
2262
|
id: string;
|
2263
|
+
status: string | null;
|
2158
2264
|
createdAt: Date;
|
2159
2265
|
updatedAt: Date;
|
2160
2266
|
deletedAt: Date | null;
|
@@ -2163,7 +2269,6 @@ export declare const viberContract: {
|
|
2163
2269
|
bucketName: string;
|
2164
2270
|
fileSize: number;
|
2165
2271
|
fileUrl: string | null;
|
2166
|
-
status?: string | undefined;
|
2167
2272
|
}[];
|
2168
2273
|
}, {
|
2169
2274
|
id: string;
|
@@ -2190,6 +2295,7 @@ export declare const viberContract: {
|
|
2190
2295
|
dateValue: Date | null;
|
2191
2296
|
uploads: {
|
2192
2297
|
id: string;
|
2298
|
+
status: string | null;
|
2193
2299
|
createdAt: Date;
|
2194
2300
|
updatedAt: Date;
|
2195
2301
|
deletedAt: Date | null;
|
@@ -2198,7 +2304,6 @@ export declare const viberContract: {
|
|
2198
2304
|
bucketName: string;
|
2199
2305
|
fileSize: number;
|
2200
2306
|
fileUrl: string | null;
|
2201
|
-
status?: string | undefined;
|
2202
2307
|
}[];
|
2203
2308
|
}>, "many">;
|
2204
2309
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -2338,6 +2443,7 @@ export declare const viberContract: {
|
|
2338
2443
|
dateValue: Date | null;
|
2339
2444
|
uploads: {
|
2340
2445
|
id: string;
|
2446
|
+
status: string | null;
|
2341
2447
|
createdAt: Date;
|
2342
2448
|
updatedAt: Date;
|
2343
2449
|
deletedAt: Date | null;
|
@@ -2346,7 +2452,6 @@ export declare const viberContract: {
|
|
2346
2452
|
bucketName: string;
|
2347
2453
|
fileSize: number;
|
2348
2454
|
fileUrl: string | null;
|
2349
|
-
status?: string | undefined;
|
2350
2455
|
}[];
|
2351
2456
|
}[];
|
2352
2457
|
company: {
|
@@ -2434,6 +2539,7 @@ export declare const viberContract: {
|
|
2434
2539
|
dateValue: Date | null;
|
2435
2540
|
uploads: {
|
2436
2541
|
id: string;
|
2542
|
+
status: string | null;
|
2437
2543
|
createdAt: Date;
|
2438
2544
|
updatedAt: Date;
|
2439
2545
|
deletedAt: Date | null;
|
@@ -2442,7 +2548,6 @@ export declare const viberContract: {
|
|
2442
2548
|
bucketName: string;
|
2443
2549
|
fileSize: number;
|
2444
2550
|
fileUrl: string | null;
|
2445
|
-
status?: string | undefined;
|
2446
2551
|
}[];
|
2447
2552
|
}[];
|
2448
2553
|
company: {
|
@@ -2543,6 +2648,7 @@ export declare const viberContract: {
|
|
2543
2648
|
dateValue: Date | null;
|
2544
2649
|
uploads: {
|
2545
2650
|
id: string;
|
2651
|
+
status: string | null;
|
2546
2652
|
createdAt: Date;
|
2547
2653
|
updatedAt: Date;
|
2548
2654
|
deletedAt: Date | null;
|
@@ -2551,7 +2657,6 @@ export declare const viberContract: {
|
|
2551
2657
|
bucketName: string;
|
2552
2658
|
fileSize: number;
|
2553
2659
|
fileUrl: string | null;
|
2554
|
-
status?: string | undefined;
|
2555
2660
|
}[];
|
2556
2661
|
}[];
|
2557
2662
|
company: {
|
@@ -2654,6 +2759,7 @@ export declare const viberContract: {
|
|
2654
2759
|
dateValue: Date | null;
|
2655
2760
|
uploads: {
|
2656
2761
|
id: string;
|
2762
|
+
status: string | null;
|
2657
2763
|
createdAt: Date;
|
2658
2764
|
updatedAt: Date;
|
2659
2765
|
deletedAt: Date | null;
|
@@ -2662,7 +2768,6 @@ export declare const viberContract: {
|
|
2662
2768
|
bucketName: string;
|
2663
2769
|
fileSize: number;
|
2664
2770
|
fileUrl: string | null;
|
2665
|
-
status?: string | undefined;
|
2666
2771
|
}[];
|
2667
2772
|
}[];
|
2668
2773
|
company: {
|
@@ -3161,6 +3266,25 @@ export declare const viberContract: {
|
|
3161
3266
|
isReloginRequired: z.ZodBoolean;
|
3162
3267
|
connectedUserName: z.ZodString;
|
3163
3268
|
connectedUserId: z.ZodString;
|
3269
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
3270
|
+
id: z.ZodString;
|
3271
|
+
name: z.ZodString;
|
3272
|
+
botId: z.ZodString;
|
3273
|
+
integrationId: z.ZodString;
|
3274
|
+
accessToken: z.ZodString;
|
3275
|
+
}, "strip", z.ZodTypeAny, {
|
3276
|
+
id: string;
|
3277
|
+
name: string;
|
3278
|
+
accessToken: string;
|
3279
|
+
botId: string;
|
3280
|
+
integrationId: string;
|
3281
|
+
}, {
|
3282
|
+
id: string;
|
3283
|
+
name: string;
|
3284
|
+
accessToken: string;
|
3285
|
+
botId: string;
|
3286
|
+
integrationId: string;
|
3287
|
+
}>>;
|
3164
3288
|
actor: z.ZodObject<{
|
3165
3289
|
id: z.ZodString;
|
3166
3290
|
createdAt: z.ZodDate;
|
@@ -3429,6 +3553,13 @@ export declare const viberContract: {
|
|
3429
3553
|
isReloginRequired: boolean;
|
3430
3554
|
connectedUserName: string;
|
3431
3555
|
connectedUserId: string;
|
3556
|
+
botpressBot: {
|
3557
|
+
id: string;
|
3558
|
+
name: string;
|
3559
|
+
accessToken: string;
|
3560
|
+
botId: string;
|
3561
|
+
integrationId: string;
|
3562
|
+
} | null;
|
3432
3563
|
}, {
|
3433
3564
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3434
3565
|
id: string;
|
@@ -3493,6 +3624,13 @@ export declare const viberContract: {
|
|
3493
3624
|
isReloginRequired: boolean;
|
3494
3625
|
connectedUserName: string;
|
3495
3626
|
connectedUserId: string;
|
3627
|
+
botpressBot: {
|
3628
|
+
id: string;
|
3629
|
+
name: string;
|
3630
|
+
accessToken: string;
|
3631
|
+
botId: string;
|
3632
|
+
integrationId: string;
|
3633
|
+
} | null;
|
3496
3634
|
}>;
|
3497
3635
|
cxlog: z.ZodObject<{
|
3498
3636
|
id: z.ZodString;
|
@@ -4004,6 +4142,13 @@ export declare const viberContract: {
|
|
4004
4142
|
isReloginRequired: boolean;
|
4005
4143
|
connectedUserName: string;
|
4006
4144
|
connectedUserId: string;
|
4145
|
+
botpressBot: {
|
4146
|
+
id: string;
|
4147
|
+
name: string;
|
4148
|
+
accessToken: string;
|
4149
|
+
botId: string;
|
4150
|
+
integrationId: string;
|
4151
|
+
} | null;
|
4007
4152
|
};
|
4008
4153
|
direction: "incoming" | "outgoing" | "system";
|
4009
4154
|
status: number;
|
@@ -4105,6 +4250,7 @@ export declare const viberContract: {
|
|
4105
4250
|
dateValue: Date | null;
|
4106
4251
|
uploads: {
|
4107
4252
|
id: string;
|
4253
|
+
status: string | null;
|
4108
4254
|
createdAt: Date;
|
4109
4255
|
updatedAt: Date;
|
4110
4256
|
deletedAt: Date | null;
|
@@ -4113,7 +4259,6 @@ export declare const viberContract: {
|
|
4113
4259
|
bucketName: string;
|
4114
4260
|
fileSize: number;
|
4115
4261
|
fileUrl: string | null;
|
4116
|
-
status?: string | undefined;
|
4117
4262
|
}[];
|
4118
4263
|
}[];
|
4119
4264
|
company: {
|
@@ -4218,6 +4363,7 @@ export declare const viberContract: {
|
|
4218
4363
|
};
|
4219
4364
|
closedAt: Date;
|
4220
4365
|
lastMessageAt: Date | null;
|
4366
|
+
isBotRoom: boolean;
|
4221
4367
|
cxlog: {
|
4222
4368
|
id: string;
|
4223
4369
|
channel: string | null;
|
@@ -4362,6 +4508,13 @@ export declare const viberContract: {
|
|
4362
4508
|
isReloginRequired: boolean;
|
4363
4509
|
connectedUserName: string;
|
4364
4510
|
connectedUserId: string;
|
4511
|
+
botpressBot: {
|
4512
|
+
id: string;
|
4513
|
+
name: string;
|
4514
|
+
accessToken: string;
|
4515
|
+
botId: string;
|
4516
|
+
integrationId: string;
|
4517
|
+
} | null;
|
4365
4518
|
};
|
4366
4519
|
direction: "incoming" | "outgoing" | "system";
|
4367
4520
|
status: number;
|
@@ -4463,6 +4616,7 @@ export declare const viberContract: {
|
|
4463
4616
|
dateValue: Date | null;
|
4464
4617
|
uploads: {
|
4465
4618
|
id: string;
|
4619
|
+
status: string | null;
|
4466
4620
|
createdAt: Date;
|
4467
4621
|
updatedAt: Date;
|
4468
4622
|
deletedAt: Date | null;
|
@@ -4471,7 +4625,6 @@ export declare const viberContract: {
|
|
4471
4625
|
bucketName: string;
|
4472
4626
|
fileSize: number;
|
4473
4627
|
fileUrl: string | null;
|
4474
|
-
status?: string | undefined;
|
4475
4628
|
}[];
|
4476
4629
|
}[];
|
4477
4630
|
company: {
|
@@ -4576,6 +4729,7 @@ export declare const viberContract: {
|
|
4576
4729
|
};
|
4577
4730
|
closedAt: Date;
|
4578
4731
|
lastMessageAt: Date | null;
|
4732
|
+
isBotRoom: boolean;
|
4579
4733
|
cxlog: {
|
4580
4734
|
id: string;
|
4581
4735
|
channel: string | null;
|
@@ -4665,9 +4819,10 @@ export declare const viberContract: {
|
|
4665
4819
|
fileSize: z.ZodNumber;
|
4666
4820
|
fileKey: z.ZodString;
|
4667
4821
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4668
|
-
status: z.
|
4822
|
+
status: z.ZodNullable<z.ZodString>;
|
4669
4823
|
}, "strip", z.ZodTypeAny, {
|
4670
4824
|
id: string;
|
4825
|
+
status: string | null;
|
4671
4826
|
createdAt: Date;
|
4672
4827
|
updatedAt: Date;
|
4673
4828
|
deletedAt: Date | null;
|
@@ -4676,9 +4831,9 @@ export declare const viberContract: {
|
|
4676
4831
|
bucketName: string;
|
4677
4832
|
fileSize: number;
|
4678
4833
|
fileUrl: string | null;
|
4679
|
-
status?: string | undefined;
|
4680
4834
|
}, {
|
4681
4835
|
id: string;
|
4836
|
+
status: string | null;
|
4682
4837
|
createdAt: Date;
|
4683
4838
|
updatedAt: Date;
|
4684
4839
|
deletedAt: Date | null;
|
@@ -4687,7 +4842,6 @@ export declare const viberContract: {
|
|
4687
4842
|
bucketName: string;
|
4688
4843
|
fileSize: number;
|
4689
4844
|
fileUrl: string | null;
|
4690
|
-
status?: string | undefined;
|
4691
4845
|
}>;
|
4692
4846
|
repliedMessage: z.ZodLazy<z.ZodObject<{
|
4693
4847
|
id: z.ZodString;
|
@@ -4696,7 +4850,7 @@ export declare const viberContract: {
|
|
4696
4850
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4697
4851
|
message: z.ZodString;
|
4698
4852
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4699
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
4853
|
+
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"]>;
|
4700
4854
|
readAt: z.ZodDate;
|
4701
4855
|
metadata: z.ZodAny;
|
4702
4856
|
platformId: z.ZodString;
|
@@ -4717,9 +4871,10 @@ export declare const viberContract: {
|
|
4717
4871
|
fileSize: z.ZodNumber;
|
4718
4872
|
fileKey: z.ZodString;
|
4719
4873
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4720
|
-
status: z.
|
4874
|
+
status: z.ZodNullable<z.ZodString>;
|
4721
4875
|
}, "strip", z.ZodTypeAny, {
|
4722
4876
|
id: string;
|
4877
|
+
status: string | null;
|
4723
4878
|
createdAt: Date;
|
4724
4879
|
updatedAt: Date;
|
4725
4880
|
deletedAt: Date | null;
|
@@ -4728,9 +4883,9 @@ export declare const viberContract: {
|
|
4728
4883
|
bucketName: string;
|
4729
4884
|
fileSize: number;
|
4730
4885
|
fileUrl: string | null;
|
4731
|
-
status?: string | undefined;
|
4732
4886
|
}, {
|
4733
4887
|
id: string;
|
4888
|
+
status: string | null;
|
4734
4889
|
createdAt: Date;
|
4735
4890
|
updatedAt: Date;
|
4736
4891
|
deletedAt: Date | null;
|
@@ -4739,7 +4894,6 @@ export declare const viberContract: {
|
|
4739
4894
|
bucketName: string;
|
4740
4895
|
fileSize: number;
|
4741
4896
|
fileUrl: string | null;
|
4742
|
-
status?: string | undefined;
|
4743
4897
|
}>;
|
4744
4898
|
actor: z.ZodObject<{
|
4745
4899
|
id: z.ZodString;
|
@@ -5354,7 +5508,7 @@ export declare const viberContract: {
|
|
5354
5508
|
};
|
5355
5509
|
}>;
|
5356
5510
|
}, "strip", z.ZodTypeAny, {
|
5357
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5511
|
+
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";
|
5358
5512
|
message: string;
|
5359
5513
|
id: string;
|
5360
5514
|
url: string;
|
@@ -5406,9 +5560,9 @@ export declare const viberContract: {
|
|
5406
5560
|
telephonySignature: string | null;
|
5407
5561
|
};
|
5408
5562
|
};
|
5409
|
-
platformId: string;
|
5410
5563
|
upload: {
|
5411
5564
|
id: string;
|
5565
|
+
status: string | null;
|
5412
5566
|
createdAt: Date;
|
5413
5567
|
updatedAt: Date;
|
5414
5568
|
deletedAt: Date | null;
|
@@ -5417,7 +5571,6 @@ export declare const viberContract: {
|
|
5417
5571
|
bucketName: string;
|
5418
5572
|
fileSize: number;
|
5419
5573
|
fileUrl: string | null;
|
5420
|
-
status?: string | undefined;
|
5421
5574
|
};
|
5422
5575
|
assignee: {
|
5423
5576
|
id: string;
|
@@ -5463,6 +5616,7 @@ export declare const viberContract: {
|
|
5463
5616
|
telephonySignature: string | null;
|
5464
5617
|
};
|
5465
5618
|
};
|
5619
|
+
platformId: string;
|
5466
5620
|
readAt: Date;
|
5467
5621
|
platformMessageId: string;
|
5468
5622
|
replyPlatformMessageId: string;
|
@@ -5516,7 +5670,7 @@ export declare const viberContract: {
|
|
5516
5670
|
metadata?: any;
|
5517
5671
|
template?: any;
|
5518
5672
|
}, {
|
5519
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
5673
|
+
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";
|
5520
5674
|
message: string;
|
5521
5675
|
id: string;
|
5522
5676
|
url: string;
|
@@ -5568,9 +5722,9 @@ export declare const viberContract: {
|
|
5568
5722
|
telephonySignature: string | null;
|
5569
5723
|
};
|
5570
5724
|
};
|
5571
|
-
platformId: string;
|
5572
5725
|
upload: {
|
5573
5726
|
id: string;
|
5727
|
+
status: string | null;
|
5574
5728
|
createdAt: Date;
|
5575
5729
|
updatedAt: Date;
|
5576
5730
|
deletedAt: Date | null;
|
@@ -5579,7 +5733,6 @@ export declare const viberContract: {
|
|
5579
5733
|
bucketName: string;
|
5580
5734
|
fileSize: number;
|
5581
5735
|
fileUrl: string | null;
|
5582
|
-
status?: string | undefined;
|
5583
5736
|
};
|
5584
5737
|
assignee: {
|
5585
5738
|
id: string;
|
@@ -5625,6 +5778,7 @@ export declare const viberContract: {
|
|
5625
5778
|
telephonySignature: string | null;
|
5626
5779
|
};
|
5627
5780
|
};
|
5781
|
+
platformId: string;
|
5628
5782
|
readAt: Date;
|
5629
5783
|
platformMessageId: string;
|
5630
5784
|
replyPlatformMessageId: string;
|
@@ -6316,7 +6470,7 @@ export declare const viberContract: {
|
|
6316
6470
|
isActive: boolean;
|
6317
6471
|
}>;
|
6318
6472
|
}, "strip", z.ZodTypeAny, {
|
6319
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6473
|
+
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";
|
6320
6474
|
message: string;
|
6321
6475
|
id: string;
|
6322
6476
|
url: string;
|
@@ -6368,9 +6522,9 @@ export declare const viberContract: {
|
|
6368
6522
|
telephonySignature: string | null;
|
6369
6523
|
};
|
6370
6524
|
};
|
6371
|
-
platformId: string;
|
6372
6525
|
upload: {
|
6373
6526
|
id: string;
|
6527
|
+
status: string | null;
|
6374
6528
|
createdAt: Date;
|
6375
6529
|
updatedAt: Date;
|
6376
6530
|
deletedAt: Date | null;
|
@@ -6379,7 +6533,6 @@ export declare const viberContract: {
|
|
6379
6533
|
bucketName: string;
|
6380
6534
|
fileSize: number;
|
6381
6535
|
fileUrl: string | null;
|
6382
|
-
status?: string | undefined;
|
6383
6536
|
};
|
6384
6537
|
assignee: {
|
6385
6538
|
id: string;
|
@@ -6425,6 +6578,7 @@ export declare const viberContract: {
|
|
6425
6578
|
telephonySignature: string | null;
|
6426
6579
|
};
|
6427
6580
|
};
|
6581
|
+
platformId: string;
|
6428
6582
|
room: {
|
6429
6583
|
id: string;
|
6430
6584
|
channel: {
|
@@ -6491,6 +6645,13 @@ export declare const viberContract: {
|
|
6491
6645
|
isReloginRequired: boolean;
|
6492
6646
|
connectedUserName: string;
|
6493
6647
|
connectedUserId: string;
|
6648
|
+
botpressBot: {
|
6649
|
+
id: string;
|
6650
|
+
name: string;
|
6651
|
+
accessToken: string;
|
6652
|
+
botId: string;
|
6653
|
+
integrationId: string;
|
6654
|
+
} | null;
|
6494
6655
|
};
|
6495
6656
|
direction: "incoming" | "outgoing" | "system";
|
6496
6657
|
status: number;
|
@@ -6592,6 +6753,7 @@ export declare const viberContract: {
|
|
6592
6753
|
dateValue: Date | null;
|
6593
6754
|
uploads: {
|
6594
6755
|
id: string;
|
6756
|
+
status: string | null;
|
6595
6757
|
createdAt: Date;
|
6596
6758
|
updatedAt: Date;
|
6597
6759
|
deletedAt: Date | null;
|
@@ -6600,7 +6762,6 @@ export declare const viberContract: {
|
|
6600
6762
|
bucketName: string;
|
6601
6763
|
fileSize: number;
|
6602
6764
|
fileUrl: string | null;
|
6603
|
-
status?: string | undefined;
|
6604
6765
|
}[];
|
6605
6766
|
}[];
|
6606
6767
|
company: {
|
@@ -6705,6 +6866,7 @@ export declare const viberContract: {
|
|
6705
6866
|
};
|
6706
6867
|
closedAt: Date;
|
6707
6868
|
lastMessageAt: Date | null;
|
6869
|
+
isBotRoom: boolean;
|
6708
6870
|
cxlog: {
|
6709
6871
|
id: string;
|
6710
6872
|
channel: string | null;
|
@@ -6800,7 +6962,7 @@ export declare const viberContract: {
|
|
6800
6962
|
previewUrl: string;
|
6801
6963
|
imageSetId: string;
|
6802
6964
|
repliedMessage: {
|
6803
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
6965
|
+
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";
|
6804
6966
|
message: string;
|
6805
6967
|
id: string;
|
6806
6968
|
url: string;
|
@@ -6852,9 +7014,9 @@ export declare const viberContract: {
|
|
6852
7014
|
telephonySignature: string | null;
|
6853
7015
|
};
|
6854
7016
|
};
|
6855
|
-
platformId: string;
|
6856
7017
|
upload: {
|
6857
7018
|
id: string;
|
7019
|
+
status: string | null;
|
6858
7020
|
createdAt: Date;
|
6859
7021
|
updatedAt: Date;
|
6860
7022
|
deletedAt: Date | null;
|
@@ -6863,7 +7025,6 @@ export declare const viberContract: {
|
|
6863
7025
|
bucketName: string;
|
6864
7026
|
fileSize: number;
|
6865
7027
|
fileUrl: string | null;
|
6866
|
-
status?: string | undefined;
|
6867
7028
|
};
|
6868
7029
|
assignee: {
|
6869
7030
|
id: string;
|
@@ -6909,6 +7070,7 @@ export declare const viberContract: {
|
|
6909
7070
|
telephonySignature: string | null;
|
6910
7071
|
};
|
6911
7072
|
};
|
7073
|
+
platformId: string;
|
6912
7074
|
readAt: Date;
|
6913
7075
|
platformMessageId: string;
|
6914
7076
|
replyPlatformMessageId: string;
|
@@ -7009,7 +7171,7 @@ export declare const viberContract: {
|
|
7009
7171
|
metadata?: any;
|
7010
7172
|
template?: any;
|
7011
7173
|
}, {
|
7012
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7174
|
+
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";
|
7013
7175
|
message: string;
|
7014
7176
|
id: string;
|
7015
7177
|
url: string;
|
@@ -7061,9 +7223,9 @@ export declare const viberContract: {
|
|
7061
7223
|
telephonySignature: string | null;
|
7062
7224
|
};
|
7063
7225
|
};
|
7064
|
-
platformId: string;
|
7065
7226
|
upload: {
|
7066
7227
|
id: string;
|
7228
|
+
status: string | null;
|
7067
7229
|
createdAt: Date;
|
7068
7230
|
updatedAt: Date;
|
7069
7231
|
deletedAt: Date | null;
|
@@ -7072,7 +7234,6 @@ export declare const viberContract: {
|
|
7072
7234
|
bucketName: string;
|
7073
7235
|
fileSize: number;
|
7074
7236
|
fileUrl: string | null;
|
7075
|
-
status?: string | undefined;
|
7076
7237
|
};
|
7077
7238
|
assignee: {
|
7078
7239
|
id: string;
|
@@ -7118,6 +7279,7 @@ export declare const viberContract: {
|
|
7118
7279
|
telephonySignature: string | null;
|
7119
7280
|
};
|
7120
7281
|
};
|
7282
|
+
platformId: string;
|
7121
7283
|
room: {
|
7122
7284
|
id: string;
|
7123
7285
|
channel: {
|
@@ -7184,6 +7346,13 @@ export declare const viberContract: {
|
|
7184
7346
|
isReloginRequired: boolean;
|
7185
7347
|
connectedUserName: string;
|
7186
7348
|
connectedUserId: string;
|
7349
|
+
botpressBot: {
|
7350
|
+
id: string;
|
7351
|
+
name: string;
|
7352
|
+
accessToken: string;
|
7353
|
+
botId: string;
|
7354
|
+
integrationId: string;
|
7355
|
+
} | null;
|
7187
7356
|
};
|
7188
7357
|
direction: "incoming" | "outgoing" | "system";
|
7189
7358
|
status: number;
|
@@ -7285,6 +7454,7 @@ export declare const viberContract: {
|
|
7285
7454
|
dateValue: Date | null;
|
7286
7455
|
uploads: {
|
7287
7456
|
id: string;
|
7457
|
+
status: string | null;
|
7288
7458
|
createdAt: Date;
|
7289
7459
|
updatedAt: Date;
|
7290
7460
|
deletedAt: Date | null;
|
@@ -7293,7 +7463,6 @@ export declare const viberContract: {
|
|
7293
7463
|
bucketName: string;
|
7294
7464
|
fileSize: number;
|
7295
7465
|
fileUrl: string | null;
|
7296
|
-
status?: string | undefined;
|
7297
7466
|
}[];
|
7298
7467
|
}[];
|
7299
7468
|
company: {
|
@@ -7398,6 +7567,7 @@ export declare const viberContract: {
|
|
7398
7567
|
};
|
7399
7568
|
closedAt: Date;
|
7400
7569
|
lastMessageAt: Date | null;
|
7570
|
+
isBotRoom: boolean;
|
7401
7571
|
cxlog: {
|
7402
7572
|
id: string;
|
7403
7573
|
channel: string | null;
|
@@ -7493,7 +7663,7 @@ export declare const viberContract: {
|
|
7493
7663
|
previewUrl: string;
|
7494
7664
|
imageSetId: string;
|
7495
7665
|
repliedMessage: {
|
7496
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7666
|
+
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";
|
7497
7667
|
message: string;
|
7498
7668
|
id: string;
|
7499
7669
|
url: string;
|
@@ -7545,9 +7715,9 @@ export declare const viberContract: {
|
|
7545
7715
|
telephonySignature: string | null;
|
7546
7716
|
};
|
7547
7717
|
};
|
7548
|
-
platformId: string;
|
7549
7718
|
upload: {
|
7550
7719
|
id: string;
|
7720
|
+
status: string | null;
|
7551
7721
|
createdAt: Date;
|
7552
7722
|
updatedAt: Date;
|
7553
7723
|
deletedAt: Date | null;
|
@@ -7556,7 +7726,6 @@ export declare const viberContract: {
|
|
7556
7726
|
bucketName: string;
|
7557
7727
|
fileSize: number;
|
7558
7728
|
fileUrl: string | null;
|
7559
|
-
status?: string | undefined;
|
7560
7729
|
};
|
7561
7730
|
assignee: {
|
7562
7731
|
id: string;
|
@@ -7602,6 +7771,7 @@ export declare const viberContract: {
|
|
7602
7771
|
telephonySignature: string | null;
|
7603
7772
|
};
|
7604
7773
|
};
|
7774
|
+
platformId: string;
|
7605
7775
|
readAt: Date;
|
7606
7776
|
platformMessageId: string;
|
7607
7777
|
replyPlatformMessageId: string;
|
@@ -7704,7 +7874,7 @@ export declare const viberContract: {
|
|
7704
7874
|
}>;
|
7705
7875
|
}, "strip", z.ZodTypeAny, {
|
7706
7876
|
data: {
|
7707
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7877
|
+
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";
|
7708
7878
|
message: string;
|
7709
7879
|
id: string;
|
7710
7880
|
url: string;
|
@@ -7756,9 +7926,9 @@ export declare const viberContract: {
|
|
7756
7926
|
telephonySignature: string | null;
|
7757
7927
|
};
|
7758
7928
|
};
|
7759
|
-
platformId: string;
|
7760
7929
|
upload: {
|
7761
7930
|
id: string;
|
7931
|
+
status: string | null;
|
7762
7932
|
createdAt: Date;
|
7763
7933
|
updatedAt: Date;
|
7764
7934
|
deletedAt: Date | null;
|
@@ -7767,7 +7937,6 @@ export declare const viberContract: {
|
|
7767
7937
|
bucketName: string;
|
7768
7938
|
fileSize: number;
|
7769
7939
|
fileUrl: string | null;
|
7770
|
-
status?: string | undefined;
|
7771
7940
|
};
|
7772
7941
|
assignee: {
|
7773
7942
|
id: string;
|
@@ -7813,6 +7982,7 @@ export declare const viberContract: {
|
|
7813
7982
|
telephonySignature: string | null;
|
7814
7983
|
};
|
7815
7984
|
};
|
7985
|
+
platformId: string;
|
7816
7986
|
room: {
|
7817
7987
|
id: string;
|
7818
7988
|
channel: {
|
@@ -7879,6 +8049,13 @@ export declare const viberContract: {
|
|
7879
8049
|
isReloginRequired: boolean;
|
7880
8050
|
connectedUserName: string;
|
7881
8051
|
connectedUserId: string;
|
8052
|
+
botpressBot: {
|
8053
|
+
id: string;
|
8054
|
+
name: string;
|
8055
|
+
accessToken: string;
|
8056
|
+
botId: string;
|
8057
|
+
integrationId: string;
|
8058
|
+
} | null;
|
7882
8059
|
};
|
7883
8060
|
direction: "incoming" | "outgoing" | "system";
|
7884
8061
|
status: number;
|
@@ -7980,6 +8157,7 @@ export declare const viberContract: {
|
|
7980
8157
|
dateValue: Date | null;
|
7981
8158
|
uploads: {
|
7982
8159
|
id: string;
|
8160
|
+
status: string | null;
|
7983
8161
|
createdAt: Date;
|
7984
8162
|
updatedAt: Date;
|
7985
8163
|
deletedAt: Date | null;
|
@@ -7988,7 +8166,6 @@ export declare const viberContract: {
|
|
7988
8166
|
bucketName: string;
|
7989
8167
|
fileSize: number;
|
7990
8168
|
fileUrl: string | null;
|
7991
|
-
status?: string | undefined;
|
7992
8169
|
}[];
|
7993
8170
|
}[];
|
7994
8171
|
company: {
|
@@ -8093,6 +8270,7 @@ export declare const viberContract: {
|
|
8093
8270
|
};
|
8094
8271
|
closedAt: Date;
|
8095
8272
|
lastMessageAt: Date | null;
|
8273
|
+
isBotRoom: boolean;
|
8096
8274
|
cxlog: {
|
8097
8275
|
id: string;
|
8098
8276
|
channel: string | null;
|
@@ -8188,7 +8366,7 @@ export declare const viberContract: {
|
|
8188
8366
|
previewUrl: string;
|
8189
8367
|
imageSetId: string;
|
8190
8368
|
repliedMessage: {
|
8191
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8369
|
+
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";
|
8192
8370
|
message: string;
|
8193
8371
|
id: string;
|
8194
8372
|
url: string;
|
@@ -8240,9 +8418,9 @@ export declare const viberContract: {
|
|
8240
8418
|
telephonySignature: string | null;
|
8241
8419
|
};
|
8242
8420
|
};
|
8243
|
-
platformId: string;
|
8244
8421
|
upload: {
|
8245
8422
|
id: string;
|
8423
|
+
status: string | null;
|
8246
8424
|
createdAt: Date;
|
8247
8425
|
updatedAt: Date;
|
8248
8426
|
deletedAt: Date | null;
|
@@ -8251,7 +8429,6 @@ export declare const viberContract: {
|
|
8251
8429
|
bucketName: string;
|
8252
8430
|
fileSize: number;
|
8253
8431
|
fileUrl: string | null;
|
8254
|
-
status?: string | undefined;
|
8255
8432
|
};
|
8256
8433
|
assignee: {
|
8257
8434
|
id: string;
|
@@ -8297,6 +8474,7 @@ export declare const viberContract: {
|
|
8297
8474
|
telephonySignature: string | null;
|
8298
8475
|
};
|
8299
8476
|
};
|
8477
|
+
platformId: string;
|
8300
8478
|
readAt: Date;
|
8301
8479
|
platformMessageId: string;
|
8302
8480
|
replyPlatformMessageId: string;
|
@@ -8400,7 +8578,7 @@ export declare const viberContract: {
|
|
8400
8578
|
requestId: string;
|
8401
8579
|
}, {
|
8402
8580
|
data: {
|
8403
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8581
|
+
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";
|
8404
8582
|
message: string;
|
8405
8583
|
id: string;
|
8406
8584
|
url: string;
|
@@ -8452,9 +8630,9 @@ export declare const viberContract: {
|
|
8452
8630
|
telephonySignature: string | null;
|
8453
8631
|
};
|
8454
8632
|
};
|
8455
|
-
platformId: string;
|
8456
8633
|
upload: {
|
8457
8634
|
id: string;
|
8635
|
+
status: string | null;
|
8458
8636
|
createdAt: Date;
|
8459
8637
|
updatedAt: Date;
|
8460
8638
|
deletedAt: Date | null;
|
@@ -8463,7 +8641,6 @@ export declare const viberContract: {
|
|
8463
8641
|
bucketName: string;
|
8464
8642
|
fileSize: number;
|
8465
8643
|
fileUrl: string | null;
|
8466
|
-
status?: string | undefined;
|
8467
8644
|
};
|
8468
8645
|
assignee: {
|
8469
8646
|
id: string;
|
@@ -8509,6 +8686,7 @@ export declare const viberContract: {
|
|
8509
8686
|
telephonySignature: string | null;
|
8510
8687
|
};
|
8511
8688
|
};
|
8689
|
+
platformId: string;
|
8512
8690
|
room: {
|
8513
8691
|
id: string;
|
8514
8692
|
channel: {
|
@@ -8575,6 +8753,13 @@ export declare const viberContract: {
|
|
8575
8753
|
isReloginRequired: boolean;
|
8576
8754
|
connectedUserName: string;
|
8577
8755
|
connectedUserId: string;
|
8756
|
+
botpressBot: {
|
8757
|
+
id: string;
|
8758
|
+
name: string;
|
8759
|
+
accessToken: string;
|
8760
|
+
botId: string;
|
8761
|
+
integrationId: string;
|
8762
|
+
} | null;
|
8578
8763
|
};
|
8579
8764
|
direction: "incoming" | "outgoing" | "system";
|
8580
8765
|
status: number;
|
@@ -8676,6 +8861,7 @@ export declare const viberContract: {
|
|
8676
8861
|
dateValue: Date | null;
|
8677
8862
|
uploads: {
|
8678
8863
|
id: string;
|
8864
|
+
status: string | null;
|
8679
8865
|
createdAt: Date;
|
8680
8866
|
updatedAt: Date;
|
8681
8867
|
deletedAt: Date | null;
|
@@ -8684,7 +8870,6 @@ export declare const viberContract: {
|
|
8684
8870
|
bucketName: string;
|
8685
8871
|
fileSize: number;
|
8686
8872
|
fileUrl: string | null;
|
8687
|
-
status?: string | undefined;
|
8688
8873
|
}[];
|
8689
8874
|
}[];
|
8690
8875
|
company: {
|
@@ -8789,6 +8974,7 @@ export declare const viberContract: {
|
|
8789
8974
|
};
|
8790
8975
|
closedAt: Date;
|
8791
8976
|
lastMessageAt: Date | null;
|
8977
|
+
isBotRoom: boolean;
|
8792
8978
|
cxlog: {
|
8793
8979
|
id: string;
|
8794
8980
|
channel: string | null;
|
@@ -8884,7 +9070,7 @@ export declare const viberContract: {
|
|
8884
9070
|
previewUrl: string;
|
8885
9071
|
imageSetId: string;
|
8886
9072
|
repliedMessage: {
|
8887
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9073
|
+
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";
|
8888
9074
|
message: string;
|
8889
9075
|
id: string;
|
8890
9076
|
url: string;
|
@@ -8936,9 +9122,9 @@ export declare const viberContract: {
|
|
8936
9122
|
telephonySignature: string | null;
|
8937
9123
|
};
|
8938
9124
|
};
|
8939
|
-
platformId: string;
|
8940
9125
|
upload: {
|
8941
9126
|
id: string;
|
9127
|
+
status: string | null;
|
8942
9128
|
createdAt: Date;
|
8943
9129
|
updatedAt: Date;
|
8944
9130
|
deletedAt: Date | null;
|
@@ -8947,7 +9133,6 @@ export declare const viberContract: {
|
|
8947
9133
|
bucketName: string;
|
8948
9134
|
fileSize: number;
|
8949
9135
|
fileUrl: string | null;
|
8950
|
-
status?: string | undefined;
|
8951
9136
|
};
|
8952
9137
|
assignee: {
|
8953
9138
|
id: string;
|
@@ -8993,6 +9178,7 @@ export declare const viberContract: {
|
|
8993
9178
|
telephonySignature: string | null;
|
8994
9179
|
};
|
8995
9180
|
};
|
9181
|
+
platformId: string;
|
8996
9182
|
readAt: Date;
|
8997
9183
|
platformMessageId: string;
|
8998
9184
|
replyPlatformMessageId: string;
|
@@ -9154,6 +9340,25 @@ export declare const viberContract: {
|
|
9154
9340
|
isReloginRequired: z.ZodBoolean;
|
9155
9341
|
connectedUserName: z.ZodString;
|
9156
9342
|
connectedUserId: z.ZodString;
|
9343
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
9344
|
+
id: z.ZodString;
|
9345
|
+
name: z.ZodString;
|
9346
|
+
botId: z.ZodString;
|
9347
|
+
integrationId: z.ZodString;
|
9348
|
+
accessToken: z.ZodString;
|
9349
|
+
}, "strip", z.ZodTypeAny, {
|
9350
|
+
id: string;
|
9351
|
+
name: string;
|
9352
|
+
accessToken: string;
|
9353
|
+
botId: string;
|
9354
|
+
integrationId: string;
|
9355
|
+
}, {
|
9356
|
+
id: string;
|
9357
|
+
name: string;
|
9358
|
+
accessToken: string;
|
9359
|
+
botId: string;
|
9360
|
+
integrationId: string;
|
9361
|
+
}>>;
|
9157
9362
|
actor: z.ZodObject<{
|
9158
9363
|
id: z.ZodString;
|
9159
9364
|
createdAt: z.ZodDate;
|
@@ -9422,6 +9627,13 @@ export declare const viberContract: {
|
|
9422
9627
|
isReloginRequired: boolean;
|
9423
9628
|
connectedUserName: string;
|
9424
9629
|
connectedUserId: string;
|
9630
|
+
botpressBot: {
|
9631
|
+
id: string;
|
9632
|
+
name: string;
|
9633
|
+
accessToken: string;
|
9634
|
+
botId: string;
|
9635
|
+
integrationId: string;
|
9636
|
+
} | null;
|
9425
9637
|
}, {
|
9426
9638
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
9427
9639
|
id: string;
|
@@ -9486,6 +9698,13 @@ export declare const viberContract: {
|
|
9486
9698
|
isReloginRequired: boolean;
|
9487
9699
|
connectedUserName: string;
|
9488
9700
|
connectedUserId: string;
|
9701
|
+
botpressBot: {
|
9702
|
+
id: string;
|
9703
|
+
name: string;
|
9704
|
+
accessToken: string;
|
9705
|
+
botId: string;
|
9706
|
+
integrationId: string;
|
9707
|
+
} | null;
|
9489
9708
|
}>;
|
9490
9709
|
}, "strip", z.ZodTypeAny, {
|
9491
9710
|
channel: {
|
@@ -9552,6 +9771,13 @@ export declare const viberContract: {
|
|
9552
9771
|
isReloginRequired: boolean;
|
9553
9772
|
connectedUserName: string;
|
9554
9773
|
connectedUserId: string;
|
9774
|
+
botpressBot: {
|
9775
|
+
id: string;
|
9776
|
+
name: string;
|
9777
|
+
accessToken: string;
|
9778
|
+
botId: string;
|
9779
|
+
integrationId: string;
|
9780
|
+
} | null;
|
9555
9781
|
};
|
9556
9782
|
requestId: string;
|
9557
9783
|
}, {
|
@@ -9619,6 +9845,13 @@ export declare const viberContract: {
|
|
9619
9845
|
isReloginRequired: boolean;
|
9620
9846
|
connectedUserName: string;
|
9621
9847
|
connectedUserId: string;
|
9848
|
+
botpressBot: {
|
9849
|
+
id: string;
|
9850
|
+
name: string;
|
9851
|
+
accessToken: string;
|
9852
|
+
botId: string;
|
9853
|
+
integrationId: string;
|
9854
|
+
} | null;
|
9622
9855
|
};
|
9623
9856
|
requestId: string;
|
9624
9857
|
}>;
|