@kl1/contracts 1.1.28 → 1.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/index.js +2955 -2729
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +2950 -2728
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/botpress/index.d.ts +14 -14
  6. package/dist/src/botpress/validation.d.ts +14 -14
  7. package/dist/src/botpress/validation.d.ts.map +1 -1
  8. package/dist/src/channel/index.d.ts +1687 -0
  9. package/dist/src/channel/index.d.ts.map +1 -1
  10. package/dist/src/channel/schema.d.ts +44 -0
  11. package/dist/src/channel/schema.d.ts.map +1 -1
  12. package/dist/src/channel/validation.d.ts +12 -0
  13. package/dist/src/channel/validation.d.ts.map +1 -1
  14. package/dist/src/chat/index.d.ts +883 -59
  15. package/dist/src/chat/index.d.ts.map +1 -1
  16. package/dist/src/chat/schema.d.ts +152 -20
  17. package/dist/src/chat/schema.d.ts.map +1 -1
  18. package/dist/src/chat/validation.d.ts +228 -61
  19. package/dist/src/chat/validation.d.ts.map +1 -1
  20. package/dist/src/contract.d.ts +2558 -282
  21. package/dist/src/contract.d.ts.map +1 -1
  22. package/dist/src/cx-log/index.d.ts +86 -0
  23. package/dist/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/src/cx-log/schema.d.ts +70 -0
  25. package/dist/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/src/index.d.ts +1 -0
  27. package/dist/src/index.d.ts.map +1 -1
  28. package/dist/src/instagram/index.d.ts +286 -53
  29. package/dist/src/instagram/index.d.ts.map +1 -1
  30. package/dist/src/instagram/validation.d.ts +7 -0
  31. package/dist/src/instagram/validation.d.ts.map +1 -1
  32. package/dist/src/line/index.d.ts +282 -58
  33. package/dist/src/line/index.d.ts.map +1 -1
  34. package/dist/src/line/validation.d.ts +31 -5
  35. package/dist/src/line/validation.d.ts.map +1 -1
  36. package/dist/src/messenger/index.d.ts +291 -54
  37. package/dist/src/messenger/index.d.ts.map +1 -1
  38. package/dist/src/messenger/validation.d.ts +48 -0
  39. package/dist/src/messenger/validation.d.ts.map +1 -1
  40. package/dist/src/viber/index.d.ts +346 -53
  41. package/dist/src/viber/index.d.ts.map +1 -1
  42. package/dist/src/webchat/index.d.ts +226 -53
  43. package/dist/src/webchat/index.d.ts.map +1 -1
  44. package/dist/src/workflow-rule/index.d.ts +150 -0
  45. package/dist/src/workflow-rule/index.d.ts.map +1 -1
  46. package/package.json +1 -1
  47. package/dist/src/contract2.d.ts +0 -2
  48. package/dist/src/contract2.d.ts.map +0 -1
@@ -64,18 +64,21 @@ export declare const viberContract: {
64
64
  accessToken: z.ZodOptional<z.ZodString>;
65
65
  channelSecret: z.ZodOptional<z.ZodString>;
66
66
  additionalCredentials: z.ZodOptional<z.ZodAny>;
67
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
67
68
  }, "strip", z.ZodTypeAny, {
68
69
  id: string;
69
70
  name: string;
70
71
  accessToken?: string | undefined;
71
72
  channelSecret?: string | undefined;
72
73
  additionalCredentials?: any;
74
+ lineRichMenuId?: string | null | undefined;
73
75
  }, {
74
76
  id: string;
75
77
  name: string;
76
78
  accessToken?: string | undefined;
77
79
  channelSecret?: string | undefined;
78
80
  additionalCredentials?: any;
81
+ lineRichMenuId?: string | null | undefined;
79
82
  }>;
80
83
  brandName: z.ZodString;
81
84
  platformId: z.ZodString;
@@ -83,6 +86,25 @@ export declare const viberContract: {
83
86
  isReloginRequired: z.ZodBoolean;
84
87
  connectedUserName: z.ZodString;
85
88
  connectedUserId: z.ZodString;
89
+ botpressBot: z.ZodNullable<z.ZodObject<{
90
+ id: z.ZodString;
91
+ name: z.ZodString;
92
+ botId: z.ZodString;
93
+ integrationId: z.ZodString;
94
+ accessToken: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ id: string;
97
+ name: string;
98
+ accessToken: string;
99
+ botId: string;
100
+ integrationId: string;
101
+ }, {
102
+ id: string;
103
+ name: string;
104
+ accessToken: string;
105
+ botId: string;
106
+ integrationId: string;
107
+ }>>;
86
108
  actor: z.ZodObject<{
87
109
  id: z.ZodString;
88
110
  createdAt: z.ZodDate;
@@ -297,6 +319,7 @@ export declare const viberContract: {
297
319
  accessToken?: string | undefined;
298
320
  channelSecret?: string | undefined;
299
321
  additionalCredentials?: any;
322
+ lineRichMenuId?: string | null | undefined;
300
323
  };
301
324
  status: boolean;
302
325
  createdAt: Date;
@@ -351,6 +374,13 @@ export declare const viberContract: {
351
374
  isReloginRequired: boolean;
352
375
  connectedUserName: string;
353
376
  connectedUserId: string;
377
+ botpressBot: {
378
+ id: string;
379
+ name: string;
380
+ accessToken: string;
381
+ botId: string;
382
+ integrationId: string;
383
+ } | null;
354
384
  }, {
355
385
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
356
386
  id: string;
@@ -361,6 +391,7 @@ export declare const viberContract: {
361
391
  accessToken?: string | undefined;
362
392
  channelSecret?: string | undefined;
363
393
  additionalCredentials?: any;
394
+ lineRichMenuId?: string | null | undefined;
364
395
  };
365
396
  status: boolean;
366
397
  createdAt: Date;
@@ -415,6 +446,13 @@ export declare const viberContract: {
415
446
  isReloginRequired: boolean;
416
447
  connectedUserName: string;
417
448
  connectedUserId: string;
449
+ botpressBot: {
450
+ id: string;
451
+ name: string;
452
+ accessToken: string;
453
+ botId: string;
454
+ integrationId: string;
455
+ } | null;
418
456
  }>;
419
457
  }, "strip", z.ZodTypeAny, {
420
458
  channel: {
@@ -427,6 +465,7 @@ export declare const viberContract: {
427
465
  accessToken?: string | undefined;
428
466
  channelSecret?: string | undefined;
429
467
  additionalCredentials?: any;
468
+ lineRichMenuId?: string | null | undefined;
430
469
  };
431
470
  status: boolean;
432
471
  createdAt: Date;
@@ -481,6 +520,13 @@ export declare const viberContract: {
481
520
  isReloginRequired: boolean;
482
521
  connectedUserName: string;
483
522
  connectedUserId: string;
523
+ botpressBot: {
524
+ id: string;
525
+ name: string;
526
+ accessToken: string;
527
+ botId: string;
528
+ integrationId: string;
529
+ } | null;
484
530
  };
485
531
  requestId: string;
486
532
  }, {
@@ -494,6 +540,7 @@ export declare const viberContract: {
494
540
  accessToken?: string | undefined;
495
541
  channelSecret?: string | undefined;
496
542
  additionalCredentials?: any;
543
+ lineRichMenuId?: string | null | undefined;
497
544
  };
498
545
  status: boolean;
499
546
  createdAt: Date;
@@ -548,6 +595,13 @@ export declare const viberContract: {
548
595
  isReloginRequired: boolean;
549
596
  connectedUserName: string;
550
597
  connectedUserId: string;
598
+ botpressBot: {
599
+ id: string;
600
+ name: string;
601
+ accessToken: string;
602
+ botId: string;
603
+ integrationId: string;
604
+ } | null;
551
605
  };
552
606
  requestId: string;
553
607
  }>;
@@ -600,18 +654,21 @@ export declare const viberContract: {
600
654
  accessToken: z.ZodOptional<z.ZodString>;
601
655
  channelSecret: z.ZodOptional<z.ZodString>;
602
656
  additionalCredentials: z.ZodOptional<z.ZodAny>;
657
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
603
658
  }, "strip", z.ZodTypeAny, {
604
659
  id: string;
605
660
  name: string;
606
661
  accessToken?: string | undefined;
607
662
  channelSecret?: string | undefined;
608
663
  additionalCredentials?: any;
664
+ lineRichMenuId?: string | null | undefined;
609
665
  }, {
610
666
  id: string;
611
667
  name: string;
612
668
  accessToken?: string | undefined;
613
669
  channelSecret?: string | undefined;
614
670
  additionalCredentials?: any;
671
+ lineRichMenuId?: string | null | undefined;
615
672
  }>;
616
673
  brandName: z.ZodString;
617
674
  platformId: z.ZodString;
@@ -619,6 +676,25 @@ export declare const viberContract: {
619
676
  isReloginRequired: z.ZodBoolean;
620
677
  connectedUserName: z.ZodString;
621
678
  connectedUserId: z.ZodString;
679
+ botpressBot: z.ZodNullable<z.ZodObject<{
680
+ id: z.ZodString;
681
+ name: z.ZodString;
682
+ botId: z.ZodString;
683
+ integrationId: z.ZodString;
684
+ accessToken: z.ZodString;
685
+ }, "strip", z.ZodTypeAny, {
686
+ id: string;
687
+ name: string;
688
+ accessToken: string;
689
+ botId: string;
690
+ integrationId: string;
691
+ }, {
692
+ id: string;
693
+ name: string;
694
+ accessToken: string;
695
+ botId: string;
696
+ integrationId: string;
697
+ }>>;
622
698
  actor: z.ZodObject<{
623
699
  id: z.ZodString;
624
700
  createdAt: z.ZodDate;
@@ -833,6 +909,7 @@ export declare const viberContract: {
833
909
  accessToken?: string | undefined;
834
910
  channelSecret?: string | undefined;
835
911
  additionalCredentials?: any;
912
+ lineRichMenuId?: string | null | undefined;
836
913
  };
837
914
  status: boolean;
838
915
  createdAt: Date;
@@ -887,6 +964,13 @@ export declare const viberContract: {
887
964
  isReloginRequired: boolean;
888
965
  connectedUserName: string;
889
966
  connectedUserId: string;
967
+ botpressBot: {
968
+ id: string;
969
+ name: string;
970
+ accessToken: string;
971
+ botId: string;
972
+ integrationId: string;
973
+ } | null;
890
974
  }, {
891
975
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
892
976
  id: string;
@@ -897,6 +981,7 @@ export declare const viberContract: {
897
981
  accessToken?: string | undefined;
898
982
  channelSecret?: string | undefined;
899
983
  additionalCredentials?: any;
984
+ lineRichMenuId?: string | null | undefined;
900
985
  };
901
986
  status: boolean;
902
987
  createdAt: Date;
@@ -951,6 +1036,13 @@ export declare const viberContract: {
951
1036
  isReloginRequired: boolean;
952
1037
  connectedUserName: string;
953
1038
  connectedUserId: string;
1039
+ botpressBot: {
1040
+ id: string;
1041
+ name: string;
1042
+ accessToken: string;
1043
+ botId: string;
1044
+ integrationId: string;
1045
+ } | null;
954
1046
  }>;
955
1047
  }, "strip", z.ZodTypeAny, {
956
1048
  channel: {
@@ -963,6 +1055,7 @@ export declare const viberContract: {
963
1055
  accessToken?: string | undefined;
964
1056
  channelSecret?: string | undefined;
965
1057
  additionalCredentials?: any;
1058
+ lineRichMenuId?: string | null | undefined;
966
1059
  };
967
1060
  status: boolean;
968
1061
  createdAt: Date;
@@ -1017,6 +1110,13 @@ export declare const viberContract: {
1017
1110
  isReloginRequired: boolean;
1018
1111
  connectedUserName: string;
1019
1112
  connectedUserId: string;
1113
+ botpressBot: {
1114
+ id: string;
1115
+ name: string;
1116
+ accessToken: string;
1117
+ botId: string;
1118
+ integrationId: string;
1119
+ } | null;
1020
1120
  };
1021
1121
  requestId: string;
1022
1122
  }, {
@@ -1030,6 +1130,7 @@ export declare const viberContract: {
1030
1130
  accessToken?: string | undefined;
1031
1131
  channelSecret?: string | undefined;
1032
1132
  additionalCredentials?: any;
1133
+ lineRichMenuId?: string | null | undefined;
1033
1134
  };
1034
1135
  status: boolean;
1035
1136
  createdAt: Date;
@@ -1084,6 +1185,13 @@ export declare const viberContract: {
1084
1185
  isReloginRequired: boolean;
1085
1186
  connectedUserName: string;
1086
1187
  connectedUserId: string;
1188
+ botpressBot: {
1189
+ id: string;
1190
+ name: string;
1191
+ accessToken: string;
1192
+ botId: string;
1193
+ integrationId: string;
1194
+ } | null;
1087
1195
  };
1088
1196
  requestId: string;
1089
1197
  }>;
@@ -1102,6 +1210,7 @@ export declare const viberContract: {
1102
1210
  };
1103
1211
  sendMessage: {
1104
1212
  body: z.ZodObject<{
1213
+ isBot: z.ZodDefault<z.ZodNullable<z.ZodBoolean>>;
1105
1214
  room: z.ZodObject<{
1106
1215
  id: z.ZodString;
1107
1216
  lastMessage: z.ZodOptional<z.ZodString>;
@@ -1235,24 +1344,28 @@ export declare const viberContract: {
1235
1344
  accessToken: z.ZodOptional<z.ZodString>;
1236
1345
  channelSecret: z.ZodOptional<z.ZodString>;
1237
1346
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1347
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1238
1348
  }, "strip", z.ZodTypeAny, {
1239
1349
  id: string;
1240
1350
  name: string;
1241
1351
  accessToken?: string | undefined;
1242
1352
  channelSecret?: string | undefined;
1243
1353
  additionalCredentials?: any;
1354
+ lineRichMenuId?: string | null | undefined;
1244
1355
  }, {
1245
1356
  id: string;
1246
1357
  name: string;
1247
1358
  accessToken?: string | undefined;
1248
1359
  channelSecret?: string | undefined;
1249
1360
  additionalCredentials?: any;
1361
+ lineRichMenuId?: string | null | undefined;
1250
1362
  }>;
1251
1363
  platformId: z.ZodString;
1252
1364
  brandName: z.ZodString;
1253
1365
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1254
1366
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1255
1367
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1368
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1256
1369
  actor: z.ZodOptional<z.ZodObject<{
1257
1370
  id: z.ZodString;
1258
1371
  name: z.ZodString;
@@ -1282,12 +1395,14 @@ export declare const viberContract: {
1282
1395
  accessToken?: string | undefined;
1283
1396
  channelSecret?: string | undefined;
1284
1397
  additionalCredentials?: any;
1398
+ lineRichMenuId?: string | null | undefined;
1285
1399
  };
1286
1400
  status: boolean;
1287
1401
  brandName: string;
1288
1402
  platformId: string;
1289
1403
  connectedUserName?: string | null | undefined;
1290
1404
  connectedUserId?: string | null | undefined;
1405
+ lineRichMenuId?: string | null | undefined;
1291
1406
  actor?: {
1292
1407
  id: string;
1293
1408
  address: string | null;
@@ -1305,12 +1420,14 @@ export declare const viberContract: {
1305
1420
  accessToken?: string | undefined;
1306
1421
  channelSecret?: string | undefined;
1307
1422
  additionalCredentials?: any;
1423
+ lineRichMenuId?: string | null | undefined;
1308
1424
  };
1309
1425
  status: boolean;
1310
1426
  brandName: string;
1311
1427
  platformId: string;
1312
1428
  connectedUserName?: string | null | undefined;
1313
1429
  connectedUserId?: string | null | undefined;
1430
+ lineRichMenuId?: string | null | undefined;
1314
1431
  actor?: {
1315
1432
  id: string;
1316
1433
  address: string | null;
@@ -1332,12 +1449,14 @@ export declare const viberContract: {
1332
1449
  accessToken?: string | undefined;
1333
1450
  channelSecret?: string | undefined;
1334
1451
  additionalCredentials?: any;
1452
+ lineRichMenuId?: string | null | undefined;
1335
1453
  };
1336
1454
  status: boolean;
1337
1455
  brandName: string;
1338
1456
  platformId: string;
1339
1457
  connectedUserName?: string | null | undefined;
1340
1458
  connectedUserId?: string | null | undefined;
1459
+ lineRichMenuId?: string | null | undefined;
1341
1460
  actor?: {
1342
1461
  id: string;
1343
1462
  address: string | null;
@@ -1398,12 +1517,14 @@ export declare const viberContract: {
1398
1517
  accessToken?: string | undefined;
1399
1518
  channelSecret?: string | undefined;
1400
1519
  additionalCredentials?: any;
1520
+ lineRichMenuId?: string | null | undefined;
1401
1521
  };
1402
1522
  status: boolean;
1403
1523
  brandName: string;
1404
1524
  platformId: string;
1405
1525
  connectedUserName?: string | null | undefined;
1406
1526
  connectedUserId?: string | null | undefined;
1527
+ lineRichMenuId?: string | null | undefined;
1407
1528
  actor?: {
1408
1529
  id: string;
1409
1530
  address: string | null;
@@ -1456,7 +1577,7 @@ export declare const viberContract: {
1456
1577
  message: z.ZodObject<{
1457
1578
  message: z.ZodOptional<z.ZodString>;
1458
1579
  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"]>;
1580
+ 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
1581
  readAt: z.ZodOptional<z.ZodDate>;
1461
1582
  metadata: z.ZodOptional<z.ZodAny>;
1462
1583
  platformId: z.ZodOptional<z.ZodString>;
@@ -1472,18 +1593,21 @@ export declare const viberContract: {
1472
1593
  fileName: z.ZodString;
1473
1594
  fileSize: z.ZodNumber;
1474
1595
  fileKey: z.ZodString;
1596
+ originalUrl: z.ZodOptional<z.ZodString>;
1475
1597
  }, "strip", z.ZodTypeAny, {
1476
1598
  fileName: string;
1477
1599
  fileKey: string;
1478
1600
  bucketName: string;
1479
1601
  fileSize: number;
1602
+ originalUrl?: string | undefined;
1480
1603
  }, {
1481
1604
  fileName: string;
1482
1605
  fileKey: string;
1483
1606
  bucketName: string;
1484
1607
  fileSize: number;
1608
+ originalUrl?: string | undefined;
1485
1609
  }>>;
1486
- sender: z.ZodObject<{
1610
+ sender: z.ZodOptional<z.ZodObject<{
1487
1611
  id: z.ZodString;
1488
1612
  name: z.ZodString;
1489
1613
  email: z.ZodString;
@@ -1501,17 +1625,10 @@ export declare const viberContract: {
1501
1625
  name: string;
1502
1626
  email: string;
1503
1627
  phone: string | null;
1504
- }>;
1628
+ }>>;
1505
1629
  }, "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";
1630
+ 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
1631
  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
1632
  message?: string | undefined;
1516
1633
  readAt?: Date | undefined;
1517
1634
  metadata?: any;
@@ -1528,17 +1645,18 @@ export declare const viberContract: {
1528
1645
  fileKey: string;
1529
1646
  bucketName: string;
1530
1647
  fileSize: number;
1648
+ originalUrl?: string | undefined;
1531
1649
  } | 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: {
1650
+ sender?: {
1536
1651
  id: string;
1537
1652
  address: string | null;
1538
1653
  name: string;
1539
1654
  email: string;
1540
1655
  phone: string | null;
1541
- };
1656
+ } | undefined;
1657
+ }, {
1658
+ 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
+ direction: "incoming" | "outgoing" | "system";
1542
1660
  message?: string | undefined;
1543
1661
  readAt?: Date | undefined;
1544
1662
  metadata?: any;
@@ -1555,19 +1673,20 @@ export declare const viberContract: {
1555
1673
  fileKey: string;
1556
1674
  bucketName: string;
1557
1675
  fileSize: number;
1676
+ originalUrl?: string | undefined;
1558
1677
  } | 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: {
1678
+ sender?: {
1565
1679
  id: string;
1566
1680
  address: string | null;
1567
1681
  name: string;
1568
1682
  email: string;
1569
1683
  phone: string | null;
1570
- };
1684
+ } | undefined;
1685
+ }>;
1686
+ }, "strip", z.ZodTypeAny, {
1687
+ message: {
1688
+ 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";
1689
+ direction: "incoming" | "outgoing" | "system";
1571
1690
  message?: string | undefined;
1572
1691
  readAt?: Date | undefined;
1573
1692
  metadata?: any;
@@ -1584,6 +1703,14 @@ export declare const viberContract: {
1584
1703
  fileKey: string;
1585
1704
  bucketName: string;
1586
1705
  fileSize: number;
1706
+ originalUrl?: string | undefined;
1707
+ } | undefined;
1708
+ sender?: {
1709
+ id: string;
1710
+ address: string | null;
1711
+ name: string;
1712
+ email: string;
1713
+ phone: string | null;
1587
1714
  } | undefined;
1588
1715
  };
1589
1716
  room: {
@@ -1598,12 +1725,14 @@ export declare const viberContract: {
1598
1725
  accessToken?: string | undefined;
1599
1726
  channelSecret?: string | undefined;
1600
1727
  additionalCredentials?: any;
1728
+ lineRichMenuId?: string | null | undefined;
1601
1729
  };
1602
1730
  status: boolean;
1603
1731
  brandName: string;
1604
1732
  platformId: string;
1605
1733
  connectedUserName?: string | null | undefined;
1606
1734
  connectedUserId?: string | null | undefined;
1735
+ lineRichMenuId?: string | null | undefined;
1607
1736
  actor?: {
1608
1737
  id: string;
1609
1738
  address: string | null;
@@ -1653,17 +1782,11 @@ export declare const viberContract: {
1653
1782
  metadata?: any;
1654
1783
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1655
1784
  };
1785
+ isBot: boolean | null;
1656
1786
  }, {
1657
1787
  message: {
1658
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
1788
+ 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
1789
  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
1790
  message?: string | undefined;
1668
1791
  readAt?: Date | undefined;
1669
1792
  metadata?: any;
@@ -1680,6 +1803,14 @@ export declare const viberContract: {
1680
1803
  fileKey: string;
1681
1804
  bucketName: string;
1682
1805
  fileSize: number;
1806
+ originalUrl?: string | undefined;
1807
+ } | undefined;
1808
+ sender?: {
1809
+ id: string;
1810
+ address: string | null;
1811
+ name: string;
1812
+ email: string;
1813
+ phone: string | null;
1683
1814
  } | undefined;
1684
1815
  };
1685
1816
  room: {
@@ -1694,12 +1825,14 @@ export declare const viberContract: {
1694
1825
  accessToken?: string | undefined;
1695
1826
  channelSecret?: string | undefined;
1696
1827
  additionalCredentials?: any;
1828
+ lineRichMenuId?: string | null | undefined;
1697
1829
  };
1698
1830
  status: boolean;
1699
1831
  brandName: string;
1700
1832
  platformId: string;
1701
1833
  connectedUserName?: string | null | undefined;
1702
1834
  connectedUserId?: string | null | undefined;
1835
+ lineRichMenuId?: string | null | undefined;
1703
1836
  actor?: {
1704
1837
  id: string;
1705
1838
  address: string | null;
@@ -1749,6 +1882,7 @@ export declare const viberContract: {
1749
1882
  metadata?: any;
1750
1883
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
1751
1884
  };
1885
+ isBot?: boolean | null | undefined;
1752
1886
  }>;
1753
1887
  method: "POST";
1754
1888
  responses: {
@@ -1761,7 +1895,7 @@ export declare const viberContract: {
1761
1895
  deletedAt: z.ZodNullable<z.ZodDate>;
1762
1896
  message: z.ZodString;
1763
1897
  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"]>;
1898
+ 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
1899
  readAt: z.ZodDate;
1766
1900
  metadata: z.ZodAny;
1767
1901
  platformId: z.ZodString;
@@ -1786,6 +1920,7 @@ export declare const viberContract: {
1786
1920
  firstResponseAt: z.ZodDate;
1787
1921
  firstResponseTime: z.ZodNumber;
1788
1922
  isLatest: z.ZodBoolean;
1923
+ isBotRoom: z.ZodBoolean;
1789
1924
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1790
1925
  platformContact: z.ZodObject<{
1791
1926
  id: z.ZodString;
@@ -3142,18 +3277,21 @@ export declare const viberContract: {
3142
3277
  accessToken: z.ZodOptional<z.ZodString>;
3143
3278
  channelSecret: z.ZodOptional<z.ZodString>;
3144
3279
  additionalCredentials: z.ZodOptional<z.ZodAny>;
3280
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3145
3281
  }, "strip", z.ZodTypeAny, {
3146
3282
  id: string;
3147
3283
  name: string;
3148
3284
  accessToken?: string | undefined;
3149
3285
  channelSecret?: string | undefined;
3150
3286
  additionalCredentials?: any;
3287
+ lineRichMenuId?: string | null | undefined;
3151
3288
  }, {
3152
3289
  id: string;
3153
3290
  name: string;
3154
3291
  accessToken?: string | undefined;
3155
3292
  channelSecret?: string | undefined;
3156
3293
  additionalCredentials?: any;
3294
+ lineRichMenuId?: string | null | undefined;
3157
3295
  }>;
3158
3296
  brandName: z.ZodString;
3159
3297
  platformId: z.ZodString;
@@ -3161,6 +3299,25 @@ export declare const viberContract: {
3161
3299
  isReloginRequired: z.ZodBoolean;
3162
3300
  connectedUserName: z.ZodString;
3163
3301
  connectedUserId: z.ZodString;
3302
+ botpressBot: z.ZodNullable<z.ZodObject<{
3303
+ id: z.ZodString;
3304
+ name: z.ZodString;
3305
+ botId: z.ZodString;
3306
+ integrationId: z.ZodString;
3307
+ accessToken: z.ZodString;
3308
+ }, "strip", z.ZodTypeAny, {
3309
+ id: string;
3310
+ name: string;
3311
+ accessToken: string;
3312
+ botId: string;
3313
+ integrationId: string;
3314
+ }, {
3315
+ id: string;
3316
+ name: string;
3317
+ accessToken: string;
3318
+ botId: string;
3319
+ integrationId: string;
3320
+ }>>;
3164
3321
  actor: z.ZodObject<{
3165
3322
  id: z.ZodString;
3166
3323
  createdAt: z.ZodDate;
@@ -3375,6 +3532,7 @@ export declare const viberContract: {
3375
3532
  accessToken?: string | undefined;
3376
3533
  channelSecret?: string | undefined;
3377
3534
  additionalCredentials?: any;
3535
+ lineRichMenuId?: string | null | undefined;
3378
3536
  };
3379
3537
  status: boolean;
3380
3538
  createdAt: Date;
@@ -3429,6 +3587,13 @@ export declare const viberContract: {
3429
3587
  isReloginRequired: boolean;
3430
3588
  connectedUserName: string;
3431
3589
  connectedUserId: string;
3590
+ botpressBot: {
3591
+ id: string;
3592
+ name: string;
3593
+ accessToken: string;
3594
+ botId: string;
3595
+ integrationId: string;
3596
+ } | null;
3432
3597
  }, {
3433
3598
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
3434
3599
  id: string;
@@ -3439,6 +3604,7 @@ export declare const viberContract: {
3439
3604
  accessToken?: string | undefined;
3440
3605
  channelSecret?: string | undefined;
3441
3606
  additionalCredentials?: any;
3607
+ lineRichMenuId?: string | null | undefined;
3442
3608
  };
3443
3609
  status: boolean;
3444
3610
  createdAt: Date;
@@ -3493,6 +3659,13 @@ export declare const viberContract: {
3493
3659
  isReloginRequired: boolean;
3494
3660
  connectedUserName: string;
3495
3661
  connectedUserId: string;
3662
+ botpressBot: {
3663
+ id: string;
3664
+ name: string;
3665
+ accessToken: string;
3666
+ botId: string;
3667
+ integrationId: string;
3668
+ } | null;
3496
3669
  }>;
3497
3670
  cxlog: z.ZodObject<{
3498
3671
  id: z.ZodString;
@@ -3950,6 +4123,7 @@ export declare const viberContract: {
3950
4123
  accessToken?: string | undefined;
3951
4124
  channelSecret?: string | undefined;
3952
4125
  additionalCredentials?: any;
4126
+ lineRichMenuId?: string | null | undefined;
3953
4127
  };
3954
4128
  status: boolean;
3955
4129
  createdAt: Date;
@@ -4004,6 +4178,13 @@ export declare const viberContract: {
4004
4178
  isReloginRequired: boolean;
4005
4179
  connectedUserName: string;
4006
4180
  connectedUserId: string;
4181
+ botpressBot: {
4182
+ id: string;
4183
+ name: string;
4184
+ accessToken: string;
4185
+ botId: string;
4186
+ integrationId: string;
4187
+ } | null;
4007
4188
  };
4008
4189
  direction: "incoming" | "outgoing" | "system";
4009
4190
  status: number;
@@ -4218,6 +4399,7 @@ export declare const viberContract: {
4218
4399
  };
4219
4400
  closedAt: Date;
4220
4401
  lastMessageAt: Date | null;
4402
+ isBotRoom: boolean;
4221
4403
  cxlog: {
4222
4404
  id: string;
4223
4405
  channel: string | null;
@@ -4308,6 +4490,7 @@ export declare const viberContract: {
4308
4490
  accessToken?: string | undefined;
4309
4491
  channelSecret?: string | undefined;
4310
4492
  additionalCredentials?: any;
4493
+ lineRichMenuId?: string | null | undefined;
4311
4494
  };
4312
4495
  status: boolean;
4313
4496
  createdAt: Date;
@@ -4362,6 +4545,13 @@ export declare const viberContract: {
4362
4545
  isReloginRequired: boolean;
4363
4546
  connectedUserName: string;
4364
4547
  connectedUserId: string;
4548
+ botpressBot: {
4549
+ id: string;
4550
+ name: string;
4551
+ accessToken: string;
4552
+ botId: string;
4553
+ integrationId: string;
4554
+ } | null;
4365
4555
  };
4366
4556
  direction: "incoming" | "outgoing" | "system";
4367
4557
  status: number;
@@ -4576,6 +4766,7 @@ export declare const viberContract: {
4576
4766
  };
4577
4767
  closedAt: Date;
4578
4768
  lastMessageAt: Date | null;
4769
+ isBotRoom: boolean;
4579
4770
  cxlog: {
4580
4771
  id: string;
4581
4772
  channel: string | null;
@@ -4696,7 +4887,7 @@ export declare const viberContract: {
4696
4887
  deletedAt: z.ZodNullable<z.ZodDate>;
4697
4888
  message: z.ZodString;
4698
4889
  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"]>;
4890
+ 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
4891
  readAt: z.ZodDate;
4701
4892
  metadata: z.ZodAny;
4702
4893
  platformId: z.ZodString;
@@ -5354,7 +5545,7 @@ export declare const viberContract: {
5354
5545
  };
5355
5546
  }>;
5356
5547
  }, "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";
5548
+ 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
5549
  message: string;
5359
5550
  id: string;
5360
5551
  url: string;
@@ -5406,7 +5597,6 @@ export declare const viberContract: {
5406
5597
  telephonySignature: string | null;
5407
5598
  };
5408
5599
  };
5409
- platformId: string;
5410
5600
  upload: {
5411
5601
  id: string;
5412
5602
  createdAt: Date;
@@ -5463,6 +5653,7 @@ export declare const viberContract: {
5463
5653
  telephonySignature: string | null;
5464
5654
  };
5465
5655
  };
5656
+ platformId: string;
5466
5657
  readAt: Date;
5467
5658
  platformMessageId: string;
5468
5659
  replyPlatformMessageId: string;
@@ -5516,7 +5707,7 @@ export declare const viberContract: {
5516
5707
  metadata?: any;
5517
5708
  template?: any;
5518
5709
  }, {
5519
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
5710
+ 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
5711
  message: string;
5521
5712
  id: string;
5522
5713
  url: string;
@@ -5568,7 +5759,6 @@ export declare const viberContract: {
5568
5759
  telephonySignature: string | null;
5569
5760
  };
5570
5761
  };
5571
- platformId: string;
5572
5762
  upload: {
5573
5763
  id: string;
5574
5764
  createdAt: Date;
@@ -5625,6 +5815,7 @@ export declare const viberContract: {
5625
5815
  telephonySignature: string | null;
5626
5816
  };
5627
5817
  };
5818
+ platformId: string;
5628
5819
  readAt: Date;
5629
5820
  platformMessageId: string;
5630
5821
  replyPlatformMessageId: string;
@@ -6316,7 +6507,7 @@ export declare const viberContract: {
6316
6507
  isActive: boolean;
6317
6508
  }>;
6318
6509
  }, "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";
6510
+ 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
6511
  message: string;
6321
6512
  id: string;
6322
6513
  url: string;
@@ -6368,7 +6559,6 @@ export declare const viberContract: {
6368
6559
  telephonySignature: string | null;
6369
6560
  };
6370
6561
  };
6371
- platformId: string;
6372
6562
  upload: {
6373
6563
  id: string;
6374
6564
  createdAt: Date;
@@ -6425,6 +6615,7 @@ export declare const viberContract: {
6425
6615
  telephonySignature: string | null;
6426
6616
  };
6427
6617
  };
6618
+ platformId: string;
6428
6619
  room: {
6429
6620
  id: string;
6430
6621
  channel: {
@@ -6437,6 +6628,7 @@ export declare const viberContract: {
6437
6628
  accessToken?: string | undefined;
6438
6629
  channelSecret?: string | undefined;
6439
6630
  additionalCredentials?: any;
6631
+ lineRichMenuId?: string | null | undefined;
6440
6632
  };
6441
6633
  status: boolean;
6442
6634
  createdAt: Date;
@@ -6491,6 +6683,13 @@ export declare const viberContract: {
6491
6683
  isReloginRequired: boolean;
6492
6684
  connectedUserName: string;
6493
6685
  connectedUserId: string;
6686
+ botpressBot: {
6687
+ id: string;
6688
+ name: string;
6689
+ accessToken: string;
6690
+ botId: string;
6691
+ integrationId: string;
6692
+ } | null;
6494
6693
  };
6495
6694
  direction: "incoming" | "outgoing" | "system";
6496
6695
  status: number;
@@ -6705,6 +6904,7 @@ export declare const viberContract: {
6705
6904
  };
6706
6905
  closedAt: Date;
6707
6906
  lastMessageAt: Date | null;
6907
+ isBotRoom: boolean;
6708
6908
  cxlog: {
6709
6909
  id: string;
6710
6910
  channel: string | null;
@@ -6800,7 +7000,7 @@ export declare const viberContract: {
6800
7000
  previewUrl: string;
6801
7001
  imageSetId: string;
6802
7002
  repliedMessage: {
6803
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7003
+ 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
7004
  message: string;
6805
7005
  id: string;
6806
7006
  url: string;
@@ -6852,7 +7052,6 @@ export declare const viberContract: {
6852
7052
  telephonySignature: string | null;
6853
7053
  };
6854
7054
  };
6855
- platformId: string;
6856
7055
  upload: {
6857
7056
  id: string;
6858
7057
  createdAt: Date;
@@ -6909,6 +7108,7 @@ export declare const viberContract: {
6909
7108
  telephonySignature: string | null;
6910
7109
  };
6911
7110
  };
7111
+ platformId: string;
6912
7112
  readAt: Date;
6913
7113
  platformMessageId: string;
6914
7114
  replyPlatformMessageId: string;
@@ -7009,7 +7209,7 @@ export declare const viberContract: {
7009
7209
  metadata?: any;
7010
7210
  template?: any;
7011
7211
  }, {
7012
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7212
+ 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
7213
  message: string;
7014
7214
  id: string;
7015
7215
  url: string;
@@ -7061,7 +7261,6 @@ export declare const viberContract: {
7061
7261
  telephonySignature: string | null;
7062
7262
  };
7063
7263
  };
7064
- platformId: string;
7065
7264
  upload: {
7066
7265
  id: string;
7067
7266
  createdAt: Date;
@@ -7118,6 +7317,7 @@ export declare const viberContract: {
7118
7317
  telephonySignature: string | null;
7119
7318
  };
7120
7319
  };
7320
+ platformId: string;
7121
7321
  room: {
7122
7322
  id: string;
7123
7323
  channel: {
@@ -7130,6 +7330,7 @@ export declare const viberContract: {
7130
7330
  accessToken?: string | undefined;
7131
7331
  channelSecret?: string | undefined;
7132
7332
  additionalCredentials?: any;
7333
+ lineRichMenuId?: string | null | undefined;
7133
7334
  };
7134
7335
  status: boolean;
7135
7336
  createdAt: Date;
@@ -7184,6 +7385,13 @@ export declare const viberContract: {
7184
7385
  isReloginRequired: boolean;
7185
7386
  connectedUserName: string;
7186
7387
  connectedUserId: string;
7388
+ botpressBot: {
7389
+ id: string;
7390
+ name: string;
7391
+ accessToken: string;
7392
+ botId: string;
7393
+ integrationId: string;
7394
+ } | null;
7187
7395
  };
7188
7396
  direction: "incoming" | "outgoing" | "system";
7189
7397
  status: number;
@@ -7398,6 +7606,7 @@ export declare const viberContract: {
7398
7606
  };
7399
7607
  closedAt: Date;
7400
7608
  lastMessageAt: Date | null;
7609
+ isBotRoom: boolean;
7401
7610
  cxlog: {
7402
7611
  id: string;
7403
7612
  channel: string | null;
@@ -7493,7 +7702,7 @@ export declare const viberContract: {
7493
7702
  previewUrl: string;
7494
7703
  imageSetId: string;
7495
7704
  repliedMessage: {
7496
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7705
+ 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
7706
  message: string;
7498
7707
  id: string;
7499
7708
  url: string;
@@ -7545,7 +7754,6 @@ export declare const viberContract: {
7545
7754
  telephonySignature: string | null;
7546
7755
  };
7547
7756
  };
7548
- platformId: string;
7549
7757
  upload: {
7550
7758
  id: string;
7551
7759
  createdAt: Date;
@@ -7602,6 +7810,7 @@ export declare const viberContract: {
7602
7810
  telephonySignature: string | null;
7603
7811
  };
7604
7812
  };
7813
+ platformId: string;
7605
7814
  readAt: Date;
7606
7815
  platformMessageId: string;
7607
7816
  replyPlatformMessageId: string;
@@ -7704,7 +7913,7 @@ export declare const viberContract: {
7704
7913
  }>;
7705
7914
  }, "strip", z.ZodTypeAny, {
7706
7915
  data: {
7707
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
7916
+ 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
7917
  message: string;
7709
7918
  id: string;
7710
7919
  url: string;
@@ -7756,7 +7965,6 @@ export declare const viberContract: {
7756
7965
  telephonySignature: string | null;
7757
7966
  };
7758
7967
  };
7759
- platformId: string;
7760
7968
  upload: {
7761
7969
  id: string;
7762
7970
  createdAt: Date;
@@ -7813,6 +8021,7 @@ export declare const viberContract: {
7813
8021
  telephonySignature: string | null;
7814
8022
  };
7815
8023
  };
8024
+ platformId: string;
7816
8025
  room: {
7817
8026
  id: string;
7818
8027
  channel: {
@@ -7825,6 +8034,7 @@ export declare const viberContract: {
7825
8034
  accessToken?: string | undefined;
7826
8035
  channelSecret?: string | undefined;
7827
8036
  additionalCredentials?: any;
8037
+ lineRichMenuId?: string | null | undefined;
7828
8038
  };
7829
8039
  status: boolean;
7830
8040
  createdAt: Date;
@@ -7879,6 +8089,13 @@ export declare const viberContract: {
7879
8089
  isReloginRequired: boolean;
7880
8090
  connectedUserName: string;
7881
8091
  connectedUserId: string;
8092
+ botpressBot: {
8093
+ id: string;
8094
+ name: string;
8095
+ accessToken: string;
8096
+ botId: string;
8097
+ integrationId: string;
8098
+ } | null;
7882
8099
  };
7883
8100
  direction: "incoming" | "outgoing" | "system";
7884
8101
  status: number;
@@ -8093,6 +8310,7 @@ export declare const viberContract: {
8093
8310
  };
8094
8311
  closedAt: Date;
8095
8312
  lastMessageAt: Date | null;
8313
+ isBotRoom: boolean;
8096
8314
  cxlog: {
8097
8315
  id: string;
8098
8316
  channel: string | null;
@@ -8188,7 +8406,7 @@ export declare const viberContract: {
8188
8406
  previewUrl: string;
8189
8407
  imageSetId: string;
8190
8408
  repliedMessage: {
8191
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8409
+ 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
8410
  message: string;
8193
8411
  id: string;
8194
8412
  url: string;
@@ -8240,7 +8458,6 @@ export declare const viberContract: {
8240
8458
  telephonySignature: string | null;
8241
8459
  };
8242
8460
  };
8243
- platformId: string;
8244
8461
  upload: {
8245
8462
  id: string;
8246
8463
  createdAt: Date;
@@ -8297,6 +8514,7 @@ export declare const viberContract: {
8297
8514
  telephonySignature: string | null;
8298
8515
  };
8299
8516
  };
8517
+ platformId: string;
8300
8518
  readAt: Date;
8301
8519
  platformMessageId: string;
8302
8520
  replyPlatformMessageId: string;
@@ -8400,7 +8618,7 @@ export declare const viberContract: {
8400
8618
  requestId: string;
8401
8619
  }, {
8402
8620
  data: {
8403
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
8621
+ 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
8622
  message: string;
8405
8623
  id: string;
8406
8624
  url: string;
@@ -8452,7 +8670,6 @@ export declare const viberContract: {
8452
8670
  telephonySignature: string | null;
8453
8671
  };
8454
8672
  };
8455
- platformId: string;
8456
8673
  upload: {
8457
8674
  id: string;
8458
8675
  createdAt: Date;
@@ -8509,6 +8726,7 @@ export declare const viberContract: {
8509
8726
  telephonySignature: string | null;
8510
8727
  };
8511
8728
  };
8729
+ platformId: string;
8512
8730
  room: {
8513
8731
  id: string;
8514
8732
  channel: {
@@ -8521,6 +8739,7 @@ export declare const viberContract: {
8521
8739
  accessToken?: string | undefined;
8522
8740
  channelSecret?: string | undefined;
8523
8741
  additionalCredentials?: any;
8742
+ lineRichMenuId?: string | null | undefined;
8524
8743
  };
8525
8744
  status: boolean;
8526
8745
  createdAt: Date;
@@ -8575,6 +8794,13 @@ export declare const viberContract: {
8575
8794
  isReloginRequired: boolean;
8576
8795
  connectedUserName: string;
8577
8796
  connectedUserId: string;
8797
+ botpressBot: {
8798
+ id: string;
8799
+ name: string;
8800
+ accessToken: string;
8801
+ botId: string;
8802
+ integrationId: string;
8803
+ } | null;
8578
8804
  };
8579
8805
  direction: "incoming" | "outgoing" | "system";
8580
8806
  status: number;
@@ -8789,6 +9015,7 @@ export declare const viberContract: {
8789
9015
  };
8790
9016
  closedAt: Date;
8791
9017
  lastMessageAt: Date | null;
9018
+ isBotRoom: boolean;
8792
9019
  cxlog: {
8793
9020
  id: string;
8794
9021
  channel: string | null;
@@ -8884,7 +9111,7 @@ export declare const viberContract: {
8884
9111
  previewUrl: string;
8885
9112
  imageSetId: string;
8886
9113
  repliedMessage: {
8887
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
9114
+ 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
9115
  message: string;
8889
9116
  id: string;
8890
9117
  url: string;
@@ -8936,7 +9163,6 @@ export declare const viberContract: {
8936
9163
  telephonySignature: string | null;
8937
9164
  };
8938
9165
  };
8939
- platformId: string;
8940
9166
  upload: {
8941
9167
  id: string;
8942
9168
  createdAt: Date;
@@ -8993,6 +9219,7 @@ export declare const viberContract: {
8993
9219
  telephonySignature: string | null;
8994
9220
  };
8995
9221
  };
9222
+ platformId: string;
8996
9223
  readAt: Date;
8997
9224
  platformMessageId: string;
8998
9225
  replyPlatformMessageId: string;
@@ -9135,18 +9362,21 @@ export declare const viberContract: {
9135
9362
  accessToken: z.ZodOptional<z.ZodString>;
9136
9363
  channelSecret: z.ZodOptional<z.ZodString>;
9137
9364
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9365
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9138
9366
  }, "strip", z.ZodTypeAny, {
9139
9367
  id: string;
9140
9368
  name: string;
9141
9369
  accessToken?: string | undefined;
9142
9370
  channelSecret?: string | undefined;
9143
9371
  additionalCredentials?: any;
9372
+ lineRichMenuId?: string | null | undefined;
9144
9373
  }, {
9145
9374
  id: string;
9146
9375
  name: string;
9147
9376
  accessToken?: string | undefined;
9148
9377
  channelSecret?: string | undefined;
9149
9378
  additionalCredentials?: any;
9379
+ lineRichMenuId?: string | null | undefined;
9150
9380
  }>;
9151
9381
  brandName: z.ZodString;
9152
9382
  platformId: z.ZodString;
@@ -9154,6 +9384,25 @@ export declare const viberContract: {
9154
9384
  isReloginRequired: z.ZodBoolean;
9155
9385
  connectedUserName: z.ZodString;
9156
9386
  connectedUserId: z.ZodString;
9387
+ botpressBot: z.ZodNullable<z.ZodObject<{
9388
+ id: z.ZodString;
9389
+ name: z.ZodString;
9390
+ botId: z.ZodString;
9391
+ integrationId: z.ZodString;
9392
+ accessToken: z.ZodString;
9393
+ }, "strip", z.ZodTypeAny, {
9394
+ id: string;
9395
+ name: string;
9396
+ accessToken: string;
9397
+ botId: string;
9398
+ integrationId: string;
9399
+ }, {
9400
+ id: string;
9401
+ name: string;
9402
+ accessToken: string;
9403
+ botId: string;
9404
+ integrationId: string;
9405
+ }>>;
9157
9406
  actor: z.ZodObject<{
9158
9407
  id: z.ZodString;
9159
9408
  createdAt: z.ZodDate;
@@ -9368,6 +9617,7 @@ export declare const viberContract: {
9368
9617
  accessToken?: string | undefined;
9369
9618
  channelSecret?: string | undefined;
9370
9619
  additionalCredentials?: any;
9620
+ lineRichMenuId?: string | null | undefined;
9371
9621
  };
9372
9622
  status: boolean;
9373
9623
  createdAt: Date;
@@ -9422,6 +9672,13 @@ export declare const viberContract: {
9422
9672
  isReloginRequired: boolean;
9423
9673
  connectedUserName: string;
9424
9674
  connectedUserId: string;
9675
+ botpressBot: {
9676
+ id: string;
9677
+ name: string;
9678
+ accessToken: string;
9679
+ botId: string;
9680
+ integrationId: string;
9681
+ } | null;
9425
9682
  }, {
9426
9683
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
9427
9684
  id: string;
@@ -9432,6 +9689,7 @@ export declare const viberContract: {
9432
9689
  accessToken?: string | undefined;
9433
9690
  channelSecret?: string | undefined;
9434
9691
  additionalCredentials?: any;
9692
+ lineRichMenuId?: string | null | undefined;
9435
9693
  };
9436
9694
  status: boolean;
9437
9695
  createdAt: Date;
@@ -9486,6 +9744,13 @@ export declare const viberContract: {
9486
9744
  isReloginRequired: boolean;
9487
9745
  connectedUserName: string;
9488
9746
  connectedUserId: string;
9747
+ botpressBot: {
9748
+ id: string;
9749
+ name: string;
9750
+ accessToken: string;
9751
+ botId: string;
9752
+ integrationId: string;
9753
+ } | null;
9489
9754
  }>;
9490
9755
  }, "strip", z.ZodTypeAny, {
9491
9756
  channel: {
@@ -9498,6 +9763,7 @@ export declare const viberContract: {
9498
9763
  accessToken?: string | undefined;
9499
9764
  channelSecret?: string | undefined;
9500
9765
  additionalCredentials?: any;
9766
+ lineRichMenuId?: string | null | undefined;
9501
9767
  };
9502
9768
  status: boolean;
9503
9769
  createdAt: Date;
@@ -9552,6 +9818,13 @@ export declare const viberContract: {
9552
9818
  isReloginRequired: boolean;
9553
9819
  connectedUserName: string;
9554
9820
  connectedUserId: string;
9821
+ botpressBot: {
9822
+ id: string;
9823
+ name: string;
9824
+ accessToken: string;
9825
+ botId: string;
9826
+ integrationId: string;
9827
+ } | null;
9555
9828
  };
9556
9829
  requestId: string;
9557
9830
  }, {
@@ -9565,6 +9838,7 @@ export declare const viberContract: {
9565
9838
  accessToken?: string | undefined;
9566
9839
  channelSecret?: string | undefined;
9567
9840
  additionalCredentials?: any;
9841
+ lineRichMenuId?: string | null | undefined;
9568
9842
  };
9569
9843
  status: boolean;
9570
9844
  createdAt: Date;
@@ -9619,6 +9893,13 @@ export declare const viberContract: {
9619
9893
  isReloginRequired: boolean;
9620
9894
  connectedUserName: string;
9621
9895
  connectedUserId: string;
9896
+ botpressBot: {
9897
+ id: string;
9898
+ name: string;
9899
+ accessToken: string;
9900
+ botId: string;
9901
+ integrationId: string;
9902
+ } | null;
9622
9903
  };
9623
9904
  requestId: string;
9624
9905
  }>;
@@ -9668,24 +9949,28 @@ export declare const viberContract: {
9668
9949
  accessToken: z.ZodOptional<z.ZodString>;
9669
9950
  channelSecret: z.ZodOptional<z.ZodString>;
9670
9951
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9952
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9671
9953
  }, "strip", z.ZodTypeAny, {
9672
9954
  id: string;
9673
9955
  name: string;
9674
9956
  accessToken?: string | undefined;
9675
9957
  channelSecret?: string | undefined;
9676
9958
  additionalCredentials?: any;
9959
+ lineRichMenuId?: string | null | undefined;
9677
9960
  }, {
9678
9961
  id: string;
9679
9962
  name: string;
9680
9963
  accessToken?: string | undefined;
9681
9964
  channelSecret?: string | undefined;
9682
9965
  additionalCredentials?: any;
9966
+ lineRichMenuId?: string | null | undefined;
9683
9967
  }>;
9684
9968
  platformId: z.ZodString;
9685
9969
  brandName: z.ZodString;
9686
9970
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
9687
9971
  connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9688
9972
  connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9973
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9689
9974
  actor: z.ZodOptional<z.ZodObject<{
9690
9975
  id: z.ZodString;
9691
9976
  name: z.ZodString;
@@ -9715,12 +10000,14 @@ export declare const viberContract: {
9715
10000
  accessToken?: string | undefined;
9716
10001
  channelSecret?: string | undefined;
9717
10002
  additionalCredentials?: any;
10003
+ lineRichMenuId?: string | null | undefined;
9718
10004
  };
9719
10005
  status: boolean;
9720
10006
  brandName: string;
9721
10007
  platformId: string;
9722
10008
  connectedUserName?: string | null | undefined;
9723
10009
  connectedUserId?: string | null | undefined;
10010
+ lineRichMenuId?: string | null | undefined;
9724
10011
  actor?: {
9725
10012
  id: string;
9726
10013
  address: string | null;
@@ -9738,12 +10025,14 @@ export declare const viberContract: {
9738
10025
  accessToken?: string | undefined;
9739
10026
  channelSecret?: string | undefined;
9740
10027
  additionalCredentials?: any;
10028
+ lineRichMenuId?: string | null | undefined;
9741
10029
  };
9742
10030
  status: boolean;
9743
10031
  brandName: string;
9744
10032
  platformId: string;
9745
10033
  connectedUserName?: string | null | undefined;
9746
10034
  connectedUserId?: string | null | undefined;
10035
+ lineRichMenuId?: string | null | undefined;
9747
10036
  actor?: {
9748
10037
  id: string;
9749
10038
  address: string | null;
@@ -9763,12 +10052,14 @@ export declare const viberContract: {
9763
10052
  accessToken?: string | undefined;
9764
10053
  channelSecret?: string | undefined;
9765
10054
  additionalCredentials?: any;
10055
+ lineRichMenuId?: string | null | undefined;
9766
10056
  };
9767
10057
  status: boolean;
9768
10058
  brandName: string;
9769
10059
  platformId: string;
9770
10060
  connectedUserName?: string | null | undefined;
9771
10061
  connectedUserId?: string | null | undefined;
10062
+ lineRichMenuId?: string | null | undefined;
9772
10063
  actor?: {
9773
10064
  id: string;
9774
10065
  address: string | null;
@@ -9789,12 +10080,14 @@ export declare const viberContract: {
9789
10080
  accessToken?: string | undefined;
9790
10081
  channelSecret?: string | undefined;
9791
10082
  additionalCredentials?: any;
10083
+ lineRichMenuId?: string | null | undefined;
9792
10084
  };
9793
10085
  status: boolean;
9794
10086
  brandName: string;
9795
10087
  platformId: string;
9796
10088
  connectedUserName?: string | null | undefined;
9797
10089
  connectedUserId?: string | null | undefined;
10090
+ lineRichMenuId?: string | null | undefined;
9798
10091
  actor?: {
9799
10092
  id: string;
9800
10093
  address: string | null;