@kl1/contracts 1.1.29-uat → 1.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3368 -3236
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3365 -3238
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +547 -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 +229 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/business-calendar/index.d.ts +36 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -1
- package/dist/src/business-calendar/schema.d.ts +11 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/src/channel/index.d.ts +1687 -0
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +44 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +34189 -32567
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +365 -59
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +392 -85
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +24887 -72196
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +99 -8
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +85 -12
- 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 +438 -65
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +7 -0
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +434 -70
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +31 -5
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +33 -2243
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +1 -2045
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +32 -200
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/message-validation.schema.d.ts +0 -3
- package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/message.schema.d.ts +0 -6
- package/dist/src/mail/schemas/message.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +12 -68
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +8 -54
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +443 -66
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +48 -0
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/telephony-cdr/call-report.schema.d.ts +62 -62
- package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +1 -622
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/viber/index.d.ts +498 -65
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +379 -68
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +7455 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +475 -22
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/src/wrap-up-form/validation.d.ts +6 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -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;
|
@@ -3639,7 +3812,7 @@ export declare const viberContract: {
|
|
3639
3812
|
}>, "many">;
|
3640
3813
|
callFrom: z.ZodNullable<z.ZodString>;
|
3641
3814
|
callTo: z.ZodNullable<z.ZodString>;
|
3642
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3815
|
+
customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3643
3816
|
id: z.ZodString;
|
3644
3817
|
createdAt: z.ZodDate;
|
3645
3818
|
updatedAt: z.ZodDate;
|
@@ -3672,7 +3845,7 @@ export declare const viberContract: {
|
|
3672
3845
|
booleanValue: boolean | null;
|
3673
3846
|
numberValue: number | null;
|
3674
3847
|
dateValue: Date | null;
|
3675
|
-
}>, "many"
|
3848
|
+
}>, "many">>>;
|
3676
3849
|
}, "strip", z.ZodTypeAny, {
|
3677
3850
|
type: string;
|
3678
3851
|
id: string;
|
@@ -3723,7 +3896,7 @@ export declare const viberContract: {
|
|
3723
3896
|
booleanValue: boolean | null;
|
3724
3897
|
numberValue: number | null;
|
3725
3898
|
dateValue: Date | null;
|
3726
|
-
}[] | undefined;
|
3899
|
+
}[] | null | undefined;
|
3727
3900
|
}, {
|
3728
3901
|
type: string;
|
3729
3902
|
id: string;
|
@@ -3774,7 +3947,7 @@ export declare const viberContract: {
|
|
3774
3947
|
booleanValue: boolean | null;
|
3775
3948
|
numberValue: number | null;
|
3776
3949
|
dateValue: Date | null;
|
3777
|
-
}[] | undefined;
|
3950
|
+
}[] | null | undefined;
|
3778
3951
|
}>>;
|
3779
3952
|
}, "strip", z.ZodTypeAny, {
|
3780
3953
|
id: string;
|
@@ -3842,7 +4015,7 @@ export declare const viberContract: {
|
|
3842
4015
|
booleanValue: boolean | null;
|
3843
4016
|
numberValue: number | null;
|
3844
4017
|
dateValue: Date | null;
|
3845
|
-
}[] | undefined;
|
4018
|
+
}[] | null | undefined;
|
3846
4019
|
} | null;
|
3847
4020
|
}, {
|
3848
4021
|
id: string;
|
@@ -3910,9 +4083,34 @@ export declare const viberContract: {
|
|
3910
4083
|
booleanValue: boolean | null;
|
3911
4084
|
numberValue: number | null;
|
3912
4085
|
dateValue: Date | null;
|
3913
|
-
}[] | undefined;
|
4086
|
+
}[] | null | undefined;
|
3914
4087
|
} | null;
|
3915
4088
|
}>;
|
4089
|
+
workflowRule: z.ZodObject<{
|
4090
|
+
id: z.ZodString;
|
4091
|
+
createdAt: z.ZodDate;
|
4092
|
+
updatedAt: z.ZodDate;
|
4093
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4094
|
+
name: z.ZodString;
|
4095
|
+
isActive: z.ZodBoolean;
|
4096
|
+
type: z.ZodString;
|
4097
|
+
}, "strip", z.ZodTypeAny, {
|
4098
|
+
type: string;
|
4099
|
+
id: string;
|
4100
|
+
name: string;
|
4101
|
+
createdAt: Date;
|
4102
|
+
updatedAt: Date;
|
4103
|
+
deletedAt: Date | null;
|
4104
|
+
isActive: boolean;
|
4105
|
+
}, {
|
4106
|
+
type: string;
|
4107
|
+
id: string;
|
4108
|
+
name: string;
|
4109
|
+
createdAt: Date;
|
4110
|
+
updatedAt: Date;
|
4111
|
+
deletedAt: Date | null;
|
4112
|
+
isActive: boolean;
|
4113
|
+
}>;
|
3916
4114
|
}, "strip", z.ZodTypeAny, {
|
3917
4115
|
id: string;
|
3918
4116
|
channel: {
|
@@ -3925,6 +4123,7 @@ export declare const viberContract: {
|
|
3925
4123
|
accessToken?: string | undefined;
|
3926
4124
|
channelSecret?: string | undefined;
|
3927
4125
|
additionalCredentials?: any;
|
4126
|
+
lineRichMenuId?: string | null | undefined;
|
3928
4127
|
};
|
3929
4128
|
status: boolean;
|
3930
4129
|
createdAt: Date;
|
@@ -3979,6 +4178,13 @@ export declare const viberContract: {
|
|
3979
4178
|
isReloginRequired: boolean;
|
3980
4179
|
connectedUserName: string;
|
3981
4180
|
connectedUserId: string;
|
4181
|
+
botpressBot: {
|
4182
|
+
id: string;
|
4183
|
+
name: string;
|
4184
|
+
accessToken: string;
|
4185
|
+
botId: string;
|
4186
|
+
integrationId: string;
|
4187
|
+
} | null;
|
3982
4188
|
};
|
3983
4189
|
direction: "incoming" | "outgoing" | "system";
|
3984
4190
|
status: number;
|
@@ -4193,6 +4399,7 @@ export declare const viberContract: {
|
|
4193
4399
|
};
|
4194
4400
|
closedAt: Date;
|
4195
4401
|
lastMessageAt: Date | null;
|
4402
|
+
isBotRoom: boolean;
|
4196
4403
|
cxlog: {
|
4197
4404
|
id: string;
|
4198
4405
|
channel: string | null;
|
@@ -4259,9 +4466,18 @@ export declare const viberContract: {
|
|
4259
4466
|
booleanValue: boolean | null;
|
4260
4467
|
numberValue: number | null;
|
4261
4468
|
dateValue: Date | null;
|
4262
|
-
}[] | undefined;
|
4469
|
+
}[] | null | undefined;
|
4263
4470
|
} | null;
|
4264
4471
|
};
|
4472
|
+
workflowRule: {
|
4473
|
+
type: string;
|
4474
|
+
id: string;
|
4475
|
+
name: string;
|
4476
|
+
createdAt: Date;
|
4477
|
+
updatedAt: Date;
|
4478
|
+
deletedAt: Date | null;
|
4479
|
+
isActive: boolean;
|
4480
|
+
};
|
4265
4481
|
}, {
|
4266
4482
|
id: string;
|
4267
4483
|
channel: {
|
@@ -4274,6 +4490,7 @@ export declare const viberContract: {
|
|
4274
4490
|
accessToken?: string | undefined;
|
4275
4491
|
channelSecret?: string | undefined;
|
4276
4492
|
additionalCredentials?: any;
|
4493
|
+
lineRichMenuId?: string | null | undefined;
|
4277
4494
|
};
|
4278
4495
|
status: boolean;
|
4279
4496
|
createdAt: Date;
|
@@ -4328,6 +4545,13 @@ export declare const viberContract: {
|
|
4328
4545
|
isReloginRequired: boolean;
|
4329
4546
|
connectedUserName: string;
|
4330
4547
|
connectedUserId: string;
|
4548
|
+
botpressBot: {
|
4549
|
+
id: string;
|
4550
|
+
name: string;
|
4551
|
+
accessToken: string;
|
4552
|
+
botId: string;
|
4553
|
+
integrationId: string;
|
4554
|
+
} | null;
|
4331
4555
|
};
|
4332
4556
|
direction: "incoming" | "outgoing" | "system";
|
4333
4557
|
status: number;
|
@@ -4542,6 +4766,7 @@ export declare const viberContract: {
|
|
4542
4766
|
};
|
4543
4767
|
closedAt: Date;
|
4544
4768
|
lastMessageAt: Date | null;
|
4769
|
+
isBotRoom: boolean;
|
4545
4770
|
cxlog: {
|
4546
4771
|
id: string;
|
4547
4772
|
channel: string | null;
|
@@ -4608,9 +4833,18 @@ export declare const viberContract: {
|
|
4608
4833
|
booleanValue: boolean | null;
|
4609
4834
|
numberValue: number | null;
|
4610
4835
|
dateValue: Date | null;
|
4611
|
-
}[] | undefined;
|
4836
|
+
}[] | null | undefined;
|
4612
4837
|
} | null;
|
4613
4838
|
};
|
4839
|
+
workflowRule: {
|
4840
|
+
type: string;
|
4841
|
+
id: string;
|
4842
|
+
name: string;
|
4843
|
+
createdAt: Date;
|
4844
|
+
updatedAt: Date;
|
4845
|
+
deletedAt: Date | null;
|
4846
|
+
isActive: boolean;
|
4847
|
+
};
|
4614
4848
|
}>;
|
4615
4849
|
upload: z.ZodObject<{
|
4616
4850
|
id: z.ZodString;
|
@@ -4653,7 +4887,7 @@ export declare const viberContract: {
|
|
4653
4887
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4654
4888
|
message: z.ZodString;
|
4655
4889
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4656
|
-
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"]>;
|
4657
4891
|
readAt: z.ZodDate;
|
4658
4892
|
metadata: z.ZodAny;
|
4659
4893
|
platformId: z.ZodString;
|
@@ -5311,7 +5545,7 @@ export declare const viberContract: {
|
|
5311
5545
|
};
|
5312
5546
|
}>;
|
5313
5547
|
}, "strip", z.ZodTypeAny, {
|
5314
|
-
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";
|
5315
5549
|
message: string;
|
5316
5550
|
id: string;
|
5317
5551
|
url: string;
|
@@ -5363,7 +5597,6 @@ export declare const viberContract: {
|
|
5363
5597
|
telephonySignature: string | null;
|
5364
5598
|
};
|
5365
5599
|
};
|
5366
|
-
platformId: string;
|
5367
5600
|
upload: {
|
5368
5601
|
id: string;
|
5369
5602
|
createdAt: Date;
|
@@ -5420,6 +5653,7 @@ export declare const viberContract: {
|
|
5420
5653
|
telephonySignature: string | null;
|
5421
5654
|
};
|
5422
5655
|
};
|
5656
|
+
platformId: string;
|
5423
5657
|
readAt: Date;
|
5424
5658
|
platformMessageId: string;
|
5425
5659
|
replyPlatformMessageId: string;
|
@@ -5473,7 +5707,7 @@ export declare const viberContract: {
|
|
5473
5707
|
metadata?: any;
|
5474
5708
|
template?: any;
|
5475
5709
|
}, {
|
5476
|
-
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";
|
5477
5711
|
message: string;
|
5478
5712
|
id: string;
|
5479
5713
|
url: string;
|
@@ -5525,7 +5759,6 @@ export declare const viberContract: {
|
|
5525
5759
|
telephonySignature: string | null;
|
5526
5760
|
};
|
5527
5761
|
};
|
5528
|
-
platformId: string;
|
5529
5762
|
upload: {
|
5530
5763
|
id: string;
|
5531
5764
|
createdAt: Date;
|
@@ -5582,6 +5815,7 @@ export declare const viberContract: {
|
|
5582
5815
|
telephonySignature: string | null;
|
5583
5816
|
};
|
5584
5817
|
};
|
5818
|
+
platformId: string;
|
5585
5819
|
readAt: Date;
|
5586
5820
|
platformMessageId: string;
|
5587
5821
|
replyPlatformMessageId: string;
|
@@ -6247,8 +6481,33 @@ export declare const viberContract: {
|
|
6247
6481
|
telephonySignature: string | null;
|
6248
6482
|
};
|
6249
6483
|
}>;
|
6484
|
+
workflowRule: z.ZodObject<{
|
6485
|
+
id: z.ZodString;
|
6486
|
+
createdAt: z.ZodDate;
|
6487
|
+
updatedAt: z.ZodDate;
|
6488
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6489
|
+
name: z.ZodString;
|
6490
|
+
isActive: z.ZodBoolean;
|
6491
|
+
type: z.ZodString;
|
6492
|
+
}, "strip", z.ZodTypeAny, {
|
6493
|
+
type: string;
|
6494
|
+
id: string;
|
6495
|
+
name: string;
|
6496
|
+
createdAt: Date;
|
6497
|
+
updatedAt: Date;
|
6498
|
+
deletedAt: Date | null;
|
6499
|
+
isActive: boolean;
|
6500
|
+
}, {
|
6501
|
+
type: string;
|
6502
|
+
id: string;
|
6503
|
+
name: string;
|
6504
|
+
createdAt: Date;
|
6505
|
+
updatedAt: Date;
|
6506
|
+
deletedAt: Date | null;
|
6507
|
+
isActive: boolean;
|
6508
|
+
}>;
|
6250
6509
|
}, "strip", z.ZodTypeAny, {
|
6251
|
-
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";
|
6252
6511
|
message: string;
|
6253
6512
|
id: string;
|
6254
6513
|
url: string;
|
@@ -6300,7 +6559,6 @@ export declare const viberContract: {
|
|
6300
6559
|
telephonySignature: string | null;
|
6301
6560
|
};
|
6302
6561
|
};
|
6303
|
-
platformId: string;
|
6304
6562
|
upload: {
|
6305
6563
|
id: string;
|
6306
6564
|
createdAt: Date;
|
@@ -6357,6 +6615,7 @@ export declare const viberContract: {
|
|
6357
6615
|
telephonySignature: string | null;
|
6358
6616
|
};
|
6359
6617
|
};
|
6618
|
+
platformId: string;
|
6360
6619
|
room: {
|
6361
6620
|
id: string;
|
6362
6621
|
channel: {
|
@@ -6369,6 +6628,7 @@ export declare const viberContract: {
|
|
6369
6628
|
accessToken?: string | undefined;
|
6370
6629
|
channelSecret?: string | undefined;
|
6371
6630
|
additionalCredentials?: any;
|
6631
|
+
lineRichMenuId?: string | null | undefined;
|
6372
6632
|
};
|
6373
6633
|
status: boolean;
|
6374
6634
|
createdAt: Date;
|
@@ -6423,6 +6683,13 @@ export declare const viberContract: {
|
|
6423
6683
|
isReloginRequired: boolean;
|
6424
6684
|
connectedUserName: string;
|
6425
6685
|
connectedUserId: string;
|
6686
|
+
botpressBot: {
|
6687
|
+
id: string;
|
6688
|
+
name: string;
|
6689
|
+
accessToken: string;
|
6690
|
+
botId: string;
|
6691
|
+
integrationId: string;
|
6692
|
+
} | null;
|
6426
6693
|
};
|
6427
6694
|
direction: "incoming" | "outgoing" | "system";
|
6428
6695
|
status: number;
|
@@ -6637,6 +6904,7 @@ export declare const viberContract: {
|
|
6637
6904
|
};
|
6638
6905
|
closedAt: Date;
|
6639
6906
|
lastMessageAt: Date | null;
|
6907
|
+
isBotRoom: boolean;
|
6640
6908
|
cxlog: {
|
6641
6909
|
id: string;
|
6642
6910
|
channel: string | null;
|
@@ -6703,9 +6971,27 @@ export declare const viberContract: {
|
|
6703
6971
|
booleanValue: boolean | null;
|
6704
6972
|
numberValue: number | null;
|
6705
6973
|
dateValue: Date | null;
|
6706
|
-
}[] | undefined;
|
6974
|
+
}[] | null | undefined;
|
6707
6975
|
} | null;
|
6708
6976
|
};
|
6977
|
+
workflowRule: {
|
6978
|
+
type: string;
|
6979
|
+
id: string;
|
6980
|
+
name: string;
|
6981
|
+
createdAt: Date;
|
6982
|
+
updatedAt: Date;
|
6983
|
+
deletedAt: Date | null;
|
6984
|
+
isActive: boolean;
|
6985
|
+
};
|
6986
|
+
};
|
6987
|
+
workflowRule: {
|
6988
|
+
type: string;
|
6989
|
+
id: string;
|
6990
|
+
name: string;
|
6991
|
+
createdAt: Date;
|
6992
|
+
updatedAt: Date;
|
6993
|
+
deletedAt: Date | null;
|
6994
|
+
isActive: boolean;
|
6709
6995
|
};
|
6710
6996
|
readAt: Date;
|
6711
6997
|
platformMessageId: string;
|
@@ -6714,7 +7000,7 @@ export declare const viberContract: {
|
|
6714
7000
|
previewUrl: string;
|
6715
7001
|
imageSetId: string;
|
6716
7002
|
repliedMessage: {
|
6717
|
-
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";
|
6718
7004
|
message: string;
|
6719
7005
|
id: string;
|
6720
7006
|
url: string;
|
@@ -6766,7 +7052,6 @@ export declare const viberContract: {
|
|
6766
7052
|
telephonySignature: string | null;
|
6767
7053
|
};
|
6768
7054
|
};
|
6769
|
-
platformId: string;
|
6770
7055
|
upload: {
|
6771
7056
|
id: string;
|
6772
7057
|
createdAt: Date;
|
@@ -6823,6 +7108,7 @@ export declare const viberContract: {
|
|
6823
7108
|
telephonySignature: string | null;
|
6824
7109
|
};
|
6825
7110
|
};
|
7111
|
+
platformId: string;
|
6826
7112
|
readAt: Date;
|
6827
7113
|
platformMessageId: string;
|
6828
7114
|
replyPlatformMessageId: string;
|
@@ -6923,7 +7209,7 @@ export declare const viberContract: {
|
|
6923
7209
|
metadata?: any;
|
6924
7210
|
template?: any;
|
6925
7211
|
}, {
|
6926
|
-
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";
|
6927
7213
|
message: string;
|
6928
7214
|
id: string;
|
6929
7215
|
url: string;
|
@@ -6975,7 +7261,6 @@ export declare const viberContract: {
|
|
6975
7261
|
telephonySignature: string | null;
|
6976
7262
|
};
|
6977
7263
|
};
|
6978
|
-
platformId: string;
|
6979
7264
|
upload: {
|
6980
7265
|
id: string;
|
6981
7266
|
createdAt: Date;
|
@@ -7032,6 +7317,7 @@ export declare const viberContract: {
|
|
7032
7317
|
telephonySignature: string | null;
|
7033
7318
|
};
|
7034
7319
|
};
|
7320
|
+
platformId: string;
|
7035
7321
|
room: {
|
7036
7322
|
id: string;
|
7037
7323
|
channel: {
|
@@ -7044,6 +7330,7 @@ export declare const viberContract: {
|
|
7044
7330
|
accessToken?: string | undefined;
|
7045
7331
|
channelSecret?: string | undefined;
|
7046
7332
|
additionalCredentials?: any;
|
7333
|
+
lineRichMenuId?: string | null | undefined;
|
7047
7334
|
};
|
7048
7335
|
status: boolean;
|
7049
7336
|
createdAt: Date;
|
@@ -7098,6 +7385,13 @@ export declare const viberContract: {
|
|
7098
7385
|
isReloginRequired: boolean;
|
7099
7386
|
connectedUserName: string;
|
7100
7387
|
connectedUserId: string;
|
7388
|
+
botpressBot: {
|
7389
|
+
id: string;
|
7390
|
+
name: string;
|
7391
|
+
accessToken: string;
|
7392
|
+
botId: string;
|
7393
|
+
integrationId: string;
|
7394
|
+
} | null;
|
7101
7395
|
};
|
7102
7396
|
direction: "incoming" | "outgoing" | "system";
|
7103
7397
|
status: number;
|
@@ -7312,6 +7606,7 @@ export declare const viberContract: {
|
|
7312
7606
|
};
|
7313
7607
|
closedAt: Date;
|
7314
7608
|
lastMessageAt: Date | null;
|
7609
|
+
isBotRoom: boolean;
|
7315
7610
|
cxlog: {
|
7316
7611
|
id: string;
|
7317
7612
|
channel: string | null;
|
@@ -7378,9 +7673,27 @@ export declare const viberContract: {
|
|
7378
7673
|
booleanValue: boolean | null;
|
7379
7674
|
numberValue: number | null;
|
7380
7675
|
dateValue: Date | null;
|
7381
|
-
}[] | undefined;
|
7676
|
+
}[] | null | undefined;
|
7382
7677
|
} | null;
|
7383
7678
|
};
|
7679
|
+
workflowRule: {
|
7680
|
+
type: string;
|
7681
|
+
id: string;
|
7682
|
+
name: string;
|
7683
|
+
createdAt: Date;
|
7684
|
+
updatedAt: Date;
|
7685
|
+
deletedAt: Date | null;
|
7686
|
+
isActive: boolean;
|
7687
|
+
};
|
7688
|
+
};
|
7689
|
+
workflowRule: {
|
7690
|
+
type: string;
|
7691
|
+
id: string;
|
7692
|
+
name: string;
|
7693
|
+
createdAt: Date;
|
7694
|
+
updatedAt: Date;
|
7695
|
+
deletedAt: Date | null;
|
7696
|
+
isActive: boolean;
|
7384
7697
|
};
|
7385
7698
|
readAt: Date;
|
7386
7699
|
platformMessageId: string;
|
@@ -7389,7 +7702,7 @@ export declare const viberContract: {
|
|
7389
7702
|
previewUrl: string;
|
7390
7703
|
imageSetId: string;
|
7391
7704
|
repliedMessage: {
|
7392
|
-
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";
|
7393
7706
|
message: string;
|
7394
7707
|
id: string;
|
7395
7708
|
url: string;
|
@@ -7441,7 +7754,6 @@ export declare const viberContract: {
|
|
7441
7754
|
telephonySignature: string | null;
|
7442
7755
|
};
|
7443
7756
|
};
|
7444
|
-
platformId: string;
|
7445
7757
|
upload: {
|
7446
7758
|
id: string;
|
7447
7759
|
createdAt: Date;
|
@@ -7498,6 +7810,7 @@ export declare const viberContract: {
|
|
7498
7810
|
telephonySignature: string | null;
|
7499
7811
|
};
|
7500
7812
|
};
|
7813
|
+
platformId: string;
|
7501
7814
|
readAt: Date;
|
7502
7815
|
platformMessageId: string;
|
7503
7816
|
replyPlatformMessageId: string;
|
@@ -7600,7 +7913,7 @@ export declare const viberContract: {
|
|
7600
7913
|
}>;
|
7601
7914
|
}, "strip", z.ZodTypeAny, {
|
7602
7915
|
data: {
|
7603
|
-
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";
|
7604
7917
|
message: string;
|
7605
7918
|
id: string;
|
7606
7919
|
url: string;
|
@@ -7652,7 +7965,6 @@ export declare const viberContract: {
|
|
7652
7965
|
telephonySignature: string | null;
|
7653
7966
|
};
|
7654
7967
|
};
|
7655
|
-
platformId: string;
|
7656
7968
|
upload: {
|
7657
7969
|
id: string;
|
7658
7970
|
createdAt: Date;
|
@@ -7709,6 +8021,7 @@ export declare const viberContract: {
|
|
7709
8021
|
telephonySignature: string | null;
|
7710
8022
|
};
|
7711
8023
|
};
|
8024
|
+
platformId: string;
|
7712
8025
|
room: {
|
7713
8026
|
id: string;
|
7714
8027
|
channel: {
|
@@ -7721,6 +8034,7 @@ export declare const viberContract: {
|
|
7721
8034
|
accessToken?: string | undefined;
|
7722
8035
|
channelSecret?: string | undefined;
|
7723
8036
|
additionalCredentials?: any;
|
8037
|
+
lineRichMenuId?: string | null | undefined;
|
7724
8038
|
};
|
7725
8039
|
status: boolean;
|
7726
8040
|
createdAt: Date;
|
@@ -7775,6 +8089,13 @@ export declare const viberContract: {
|
|
7775
8089
|
isReloginRequired: boolean;
|
7776
8090
|
connectedUserName: string;
|
7777
8091
|
connectedUserId: string;
|
8092
|
+
botpressBot: {
|
8093
|
+
id: string;
|
8094
|
+
name: string;
|
8095
|
+
accessToken: string;
|
8096
|
+
botId: string;
|
8097
|
+
integrationId: string;
|
8098
|
+
} | null;
|
7778
8099
|
};
|
7779
8100
|
direction: "incoming" | "outgoing" | "system";
|
7780
8101
|
status: number;
|
@@ -7989,6 +8310,7 @@ export declare const viberContract: {
|
|
7989
8310
|
};
|
7990
8311
|
closedAt: Date;
|
7991
8312
|
lastMessageAt: Date | null;
|
8313
|
+
isBotRoom: boolean;
|
7992
8314
|
cxlog: {
|
7993
8315
|
id: string;
|
7994
8316
|
channel: string | null;
|
@@ -8055,9 +8377,27 @@ export declare const viberContract: {
|
|
8055
8377
|
booleanValue: boolean | null;
|
8056
8378
|
numberValue: number | null;
|
8057
8379
|
dateValue: Date | null;
|
8058
|
-
}[] | undefined;
|
8380
|
+
}[] | null | undefined;
|
8059
8381
|
} | null;
|
8060
8382
|
};
|
8383
|
+
workflowRule: {
|
8384
|
+
type: string;
|
8385
|
+
id: string;
|
8386
|
+
name: string;
|
8387
|
+
createdAt: Date;
|
8388
|
+
updatedAt: Date;
|
8389
|
+
deletedAt: Date | null;
|
8390
|
+
isActive: boolean;
|
8391
|
+
};
|
8392
|
+
};
|
8393
|
+
workflowRule: {
|
8394
|
+
type: string;
|
8395
|
+
id: string;
|
8396
|
+
name: string;
|
8397
|
+
createdAt: Date;
|
8398
|
+
updatedAt: Date;
|
8399
|
+
deletedAt: Date | null;
|
8400
|
+
isActive: boolean;
|
8061
8401
|
};
|
8062
8402
|
readAt: Date;
|
8063
8403
|
platformMessageId: string;
|
@@ -8066,7 +8406,7 @@ export declare const viberContract: {
|
|
8066
8406
|
previewUrl: string;
|
8067
8407
|
imageSetId: string;
|
8068
8408
|
repliedMessage: {
|
8069
|
-
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";
|
8070
8410
|
message: string;
|
8071
8411
|
id: string;
|
8072
8412
|
url: string;
|
@@ -8118,7 +8458,6 @@ export declare const viberContract: {
|
|
8118
8458
|
telephonySignature: string | null;
|
8119
8459
|
};
|
8120
8460
|
};
|
8121
|
-
platformId: string;
|
8122
8461
|
upload: {
|
8123
8462
|
id: string;
|
8124
8463
|
createdAt: Date;
|
@@ -8175,6 +8514,7 @@ export declare const viberContract: {
|
|
8175
8514
|
telephonySignature: string | null;
|
8176
8515
|
};
|
8177
8516
|
};
|
8517
|
+
platformId: string;
|
8178
8518
|
readAt: Date;
|
8179
8519
|
platformMessageId: string;
|
8180
8520
|
replyPlatformMessageId: string;
|
@@ -8278,7 +8618,7 @@ export declare const viberContract: {
|
|
8278
8618
|
requestId: string;
|
8279
8619
|
}, {
|
8280
8620
|
data: {
|
8281
|
-
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";
|
8282
8622
|
message: string;
|
8283
8623
|
id: string;
|
8284
8624
|
url: string;
|
@@ -8330,7 +8670,6 @@ export declare const viberContract: {
|
|
8330
8670
|
telephonySignature: string | null;
|
8331
8671
|
};
|
8332
8672
|
};
|
8333
|
-
platformId: string;
|
8334
8673
|
upload: {
|
8335
8674
|
id: string;
|
8336
8675
|
createdAt: Date;
|
@@ -8387,6 +8726,7 @@ export declare const viberContract: {
|
|
8387
8726
|
telephonySignature: string | null;
|
8388
8727
|
};
|
8389
8728
|
};
|
8729
|
+
platformId: string;
|
8390
8730
|
room: {
|
8391
8731
|
id: string;
|
8392
8732
|
channel: {
|
@@ -8399,6 +8739,7 @@ export declare const viberContract: {
|
|
8399
8739
|
accessToken?: string | undefined;
|
8400
8740
|
channelSecret?: string | undefined;
|
8401
8741
|
additionalCredentials?: any;
|
8742
|
+
lineRichMenuId?: string | null | undefined;
|
8402
8743
|
};
|
8403
8744
|
status: boolean;
|
8404
8745
|
createdAt: Date;
|
@@ -8453,6 +8794,13 @@ export declare const viberContract: {
|
|
8453
8794
|
isReloginRequired: boolean;
|
8454
8795
|
connectedUserName: string;
|
8455
8796
|
connectedUserId: string;
|
8797
|
+
botpressBot: {
|
8798
|
+
id: string;
|
8799
|
+
name: string;
|
8800
|
+
accessToken: string;
|
8801
|
+
botId: string;
|
8802
|
+
integrationId: string;
|
8803
|
+
} | null;
|
8456
8804
|
};
|
8457
8805
|
direction: "incoming" | "outgoing" | "system";
|
8458
8806
|
status: number;
|
@@ -8667,6 +9015,7 @@ export declare const viberContract: {
|
|
8667
9015
|
};
|
8668
9016
|
closedAt: Date;
|
8669
9017
|
lastMessageAt: Date | null;
|
9018
|
+
isBotRoom: boolean;
|
8670
9019
|
cxlog: {
|
8671
9020
|
id: string;
|
8672
9021
|
channel: string | null;
|
@@ -8733,9 +9082,27 @@ export declare const viberContract: {
|
|
8733
9082
|
booleanValue: boolean | null;
|
8734
9083
|
numberValue: number | null;
|
8735
9084
|
dateValue: Date | null;
|
8736
|
-
}[] | undefined;
|
9085
|
+
}[] | null | undefined;
|
8737
9086
|
} | null;
|
8738
9087
|
};
|
9088
|
+
workflowRule: {
|
9089
|
+
type: string;
|
9090
|
+
id: string;
|
9091
|
+
name: string;
|
9092
|
+
createdAt: Date;
|
9093
|
+
updatedAt: Date;
|
9094
|
+
deletedAt: Date | null;
|
9095
|
+
isActive: boolean;
|
9096
|
+
};
|
9097
|
+
};
|
9098
|
+
workflowRule: {
|
9099
|
+
type: string;
|
9100
|
+
id: string;
|
9101
|
+
name: string;
|
9102
|
+
createdAt: Date;
|
9103
|
+
updatedAt: Date;
|
9104
|
+
deletedAt: Date | null;
|
9105
|
+
isActive: boolean;
|
8739
9106
|
};
|
8740
9107
|
readAt: Date;
|
8741
9108
|
platformMessageId: string;
|
@@ -8744,7 +9111,7 @@ export declare const viberContract: {
|
|
8744
9111
|
previewUrl: string;
|
8745
9112
|
imageSetId: string;
|
8746
9113
|
repliedMessage: {
|
8747
|
-
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";
|
8748
9115
|
message: string;
|
8749
9116
|
id: string;
|
8750
9117
|
url: string;
|
@@ -8796,7 +9163,6 @@ export declare const viberContract: {
|
|
8796
9163
|
telephonySignature: string | null;
|
8797
9164
|
};
|
8798
9165
|
};
|
8799
|
-
platformId: string;
|
8800
9166
|
upload: {
|
8801
9167
|
id: string;
|
8802
9168
|
createdAt: Date;
|
@@ -8853,6 +9219,7 @@ export declare const viberContract: {
|
|
8853
9219
|
telephonySignature: string | null;
|
8854
9220
|
};
|
8855
9221
|
};
|
9222
|
+
platformId: string;
|
8856
9223
|
readAt: Date;
|
8857
9224
|
platformMessageId: string;
|
8858
9225
|
replyPlatformMessageId: string;
|
@@ -8995,18 +9362,21 @@ export declare const viberContract: {
|
|
8995
9362
|
accessToken: z.ZodOptional<z.ZodString>;
|
8996
9363
|
channelSecret: z.ZodOptional<z.ZodString>;
|
8997
9364
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9365
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
8998
9366
|
}, "strip", z.ZodTypeAny, {
|
8999
9367
|
id: string;
|
9000
9368
|
name: string;
|
9001
9369
|
accessToken?: string | undefined;
|
9002
9370
|
channelSecret?: string | undefined;
|
9003
9371
|
additionalCredentials?: any;
|
9372
|
+
lineRichMenuId?: string | null | undefined;
|
9004
9373
|
}, {
|
9005
9374
|
id: string;
|
9006
9375
|
name: string;
|
9007
9376
|
accessToken?: string | undefined;
|
9008
9377
|
channelSecret?: string | undefined;
|
9009
9378
|
additionalCredentials?: any;
|
9379
|
+
lineRichMenuId?: string | null | undefined;
|
9010
9380
|
}>;
|
9011
9381
|
brandName: z.ZodString;
|
9012
9382
|
platformId: z.ZodString;
|
@@ -9014,6 +9384,25 @@ export declare const viberContract: {
|
|
9014
9384
|
isReloginRequired: z.ZodBoolean;
|
9015
9385
|
connectedUserName: z.ZodString;
|
9016
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
|
+
}>>;
|
9017
9406
|
actor: z.ZodObject<{
|
9018
9407
|
id: z.ZodString;
|
9019
9408
|
createdAt: z.ZodDate;
|
@@ -9228,6 +9617,7 @@ export declare const viberContract: {
|
|
9228
9617
|
accessToken?: string | undefined;
|
9229
9618
|
channelSecret?: string | undefined;
|
9230
9619
|
additionalCredentials?: any;
|
9620
|
+
lineRichMenuId?: string | null | undefined;
|
9231
9621
|
};
|
9232
9622
|
status: boolean;
|
9233
9623
|
createdAt: Date;
|
@@ -9282,6 +9672,13 @@ export declare const viberContract: {
|
|
9282
9672
|
isReloginRequired: boolean;
|
9283
9673
|
connectedUserName: string;
|
9284
9674
|
connectedUserId: string;
|
9675
|
+
botpressBot: {
|
9676
|
+
id: string;
|
9677
|
+
name: string;
|
9678
|
+
accessToken: string;
|
9679
|
+
botId: string;
|
9680
|
+
integrationId: string;
|
9681
|
+
} | null;
|
9285
9682
|
}, {
|
9286
9683
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
9287
9684
|
id: string;
|
@@ -9292,6 +9689,7 @@ export declare const viberContract: {
|
|
9292
9689
|
accessToken?: string | undefined;
|
9293
9690
|
channelSecret?: string | undefined;
|
9294
9691
|
additionalCredentials?: any;
|
9692
|
+
lineRichMenuId?: string | null | undefined;
|
9295
9693
|
};
|
9296
9694
|
status: boolean;
|
9297
9695
|
createdAt: Date;
|
@@ -9346,6 +9744,13 @@ export declare const viberContract: {
|
|
9346
9744
|
isReloginRequired: boolean;
|
9347
9745
|
connectedUserName: string;
|
9348
9746
|
connectedUserId: string;
|
9747
|
+
botpressBot: {
|
9748
|
+
id: string;
|
9749
|
+
name: string;
|
9750
|
+
accessToken: string;
|
9751
|
+
botId: string;
|
9752
|
+
integrationId: string;
|
9753
|
+
} | null;
|
9349
9754
|
}>;
|
9350
9755
|
}, "strip", z.ZodTypeAny, {
|
9351
9756
|
channel: {
|
@@ -9358,6 +9763,7 @@ export declare const viberContract: {
|
|
9358
9763
|
accessToken?: string | undefined;
|
9359
9764
|
channelSecret?: string | undefined;
|
9360
9765
|
additionalCredentials?: any;
|
9766
|
+
lineRichMenuId?: string | null | undefined;
|
9361
9767
|
};
|
9362
9768
|
status: boolean;
|
9363
9769
|
createdAt: Date;
|
@@ -9412,6 +9818,13 @@ export declare const viberContract: {
|
|
9412
9818
|
isReloginRequired: boolean;
|
9413
9819
|
connectedUserName: string;
|
9414
9820
|
connectedUserId: string;
|
9821
|
+
botpressBot: {
|
9822
|
+
id: string;
|
9823
|
+
name: string;
|
9824
|
+
accessToken: string;
|
9825
|
+
botId: string;
|
9826
|
+
integrationId: string;
|
9827
|
+
} | null;
|
9415
9828
|
};
|
9416
9829
|
requestId: string;
|
9417
9830
|
}, {
|
@@ -9425,6 +9838,7 @@ export declare const viberContract: {
|
|
9425
9838
|
accessToken?: string | undefined;
|
9426
9839
|
channelSecret?: string | undefined;
|
9427
9840
|
additionalCredentials?: any;
|
9841
|
+
lineRichMenuId?: string | null | undefined;
|
9428
9842
|
};
|
9429
9843
|
status: boolean;
|
9430
9844
|
createdAt: Date;
|
@@ -9479,6 +9893,13 @@ export declare const viberContract: {
|
|
9479
9893
|
isReloginRequired: boolean;
|
9480
9894
|
connectedUserName: string;
|
9481
9895
|
connectedUserId: string;
|
9896
|
+
botpressBot: {
|
9897
|
+
id: string;
|
9898
|
+
name: string;
|
9899
|
+
accessToken: string;
|
9900
|
+
botId: string;
|
9901
|
+
integrationId: string;
|
9902
|
+
} | null;
|
9482
9903
|
};
|
9483
9904
|
requestId: string;
|
9484
9905
|
}>;
|
@@ -9528,24 +9949,28 @@ export declare const viberContract: {
|
|
9528
9949
|
accessToken: z.ZodOptional<z.ZodString>;
|
9529
9950
|
channelSecret: z.ZodOptional<z.ZodString>;
|
9530
9951
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
9952
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9531
9953
|
}, "strip", z.ZodTypeAny, {
|
9532
9954
|
id: string;
|
9533
9955
|
name: string;
|
9534
9956
|
accessToken?: string | undefined;
|
9535
9957
|
channelSecret?: string | undefined;
|
9536
9958
|
additionalCredentials?: any;
|
9959
|
+
lineRichMenuId?: string | null | undefined;
|
9537
9960
|
}, {
|
9538
9961
|
id: string;
|
9539
9962
|
name: string;
|
9540
9963
|
accessToken?: string | undefined;
|
9541
9964
|
channelSecret?: string | undefined;
|
9542
9965
|
additionalCredentials?: any;
|
9966
|
+
lineRichMenuId?: string | null | undefined;
|
9543
9967
|
}>;
|
9544
9968
|
platformId: z.ZodString;
|
9545
9969
|
brandName: z.ZodString;
|
9546
9970
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
9547
9971
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9548
9972
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9973
|
+
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9549
9974
|
actor: z.ZodOptional<z.ZodObject<{
|
9550
9975
|
id: z.ZodString;
|
9551
9976
|
name: z.ZodString;
|
@@ -9575,12 +10000,14 @@ export declare const viberContract: {
|
|
9575
10000
|
accessToken?: string | undefined;
|
9576
10001
|
channelSecret?: string | undefined;
|
9577
10002
|
additionalCredentials?: any;
|
10003
|
+
lineRichMenuId?: string | null | undefined;
|
9578
10004
|
};
|
9579
10005
|
status: boolean;
|
9580
10006
|
brandName: string;
|
9581
10007
|
platformId: string;
|
9582
10008
|
connectedUserName?: string | null | undefined;
|
9583
10009
|
connectedUserId?: string | null | undefined;
|
10010
|
+
lineRichMenuId?: string | null | undefined;
|
9584
10011
|
actor?: {
|
9585
10012
|
id: string;
|
9586
10013
|
address: string | null;
|
@@ -9598,12 +10025,14 @@ export declare const viberContract: {
|
|
9598
10025
|
accessToken?: string | undefined;
|
9599
10026
|
channelSecret?: string | undefined;
|
9600
10027
|
additionalCredentials?: any;
|
10028
|
+
lineRichMenuId?: string | null | undefined;
|
9601
10029
|
};
|
9602
10030
|
status: boolean;
|
9603
10031
|
brandName: string;
|
9604
10032
|
platformId: string;
|
9605
10033
|
connectedUserName?: string | null | undefined;
|
9606
10034
|
connectedUserId?: string | null | undefined;
|
10035
|
+
lineRichMenuId?: string | null | undefined;
|
9607
10036
|
actor?: {
|
9608
10037
|
id: string;
|
9609
10038
|
address: string | null;
|
@@ -9623,12 +10052,14 @@ export declare const viberContract: {
|
|
9623
10052
|
accessToken?: string | undefined;
|
9624
10053
|
channelSecret?: string | undefined;
|
9625
10054
|
additionalCredentials?: any;
|
10055
|
+
lineRichMenuId?: string | null | undefined;
|
9626
10056
|
};
|
9627
10057
|
status: boolean;
|
9628
10058
|
brandName: string;
|
9629
10059
|
platformId: string;
|
9630
10060
|
connectedUserName?: string | null | undefined;
|
9631
10061
|
connectedUserId?: string | null | undefined;
|
10062
|
+
lineRichMenuId?: string | null | undefined;
|
9632
10063
|
actor?: {
|
9633
10064
|
id: string;
|
9634
10065
|
address: string | null;
|
@@ -9649,12 +10080,14 @@ export declare const viberContract: {
|
|
9649
10080
|
accessToken?: string | undefined;
|
9650
10081
|
channelSecret?: string | undefined;
|
9651
10082
|
additionalCredentials?: any;
|
10083
|
+
lineRichMenuId?: string | null | undefined;
|
9652
10084
|
};
|
9653
10085
|
status: boolean;
|
9654
10086
|
brandName: string;
|
9655
10087
|
platformId: string;
|
9656
10088
|
connectedUserName?: string | null | undefined;
|
9657
10089
|
connectedUserId?: string | null | undefined;
|
10090
|
+
lineRichMenuId?: string | null | undefined;
|
9658
10091
|
actor?: {
|
9659
10092
|
id: string;
|
9660
10093
|
address: string | null;
|