@kl1/contracts 1.1.40-uat → 1.1.42-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3293 -3105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3290 -3105
- package/dist/index.mjs.map +1 -1
- package/dist/src/botpress/index.d.ts +538 -0
- package/dist/src/botpress/index.d.ts.map +1 -0
- package/dist/src/botpress/schema.d.ts +81 -0
- package/dist/src/botpress/schema.d.ts.map +1 -0
- package/dist/src/botpress/validation.d.ts +220 -0
- package/dist/src/botpress/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +1692 -73
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +36 -0
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +7 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +33647 -32937
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +186 -70
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +199 -107
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +68 -68
- package/dist/src/comment/schema.d.ts +20 -20
- package/dist/src/contact/index.d.ts +79 -79
- package/dist/src/contact/schema.d.ts +12 -12
- package/dist/src/contact/validation.d.ts +49 -49
- package/dist/src/contract.d.ts +15114 -68269
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/cx-log/index.d.ts +123 -54
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +101 -40
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +176 -84
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +181 -89
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +5 -5
- package/dist/src/mail/mail-contract.d.ts +7 -7
- package/dist/src/mail/room-contract.d.ts +7 -7
- package/dist/src/mail/schemas/room.schema.d.ts +5 -5
- package/dist/src/messenger/index.d.ts +211 -85
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +54 -11
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/public-api/index.d.ts +59 -59
- package/dist/src/public-api/schema.d.ts +12 -12
- package/dist/src/public-api/validation.d.ts +19 -19
- package/dist/src/snippet/index.d.ts +105 -105
- package/dist/src/snippet/schema.d.ts +40 -40
- package/dist/src/telephony-cdr/index.d.ts +54 -54
- package/dist/src/telephony-cdr/schema.d.ts +14 -14
- package/dist/src/ticket/index.d.ts +111 -111
- package/dist/src/ticket/schema.d.ts +21 -21
- package/dist/src/upload/schema.d.ts +3 -3
- package/dist/src/viber/index.d.ts +317 -84
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +224 -87
- package/dist/src/webchat/index.d.ts.map +1 -1
- package/dist/src/workflow-rule/index.d.ts +158 -26
- package/dist/src/workflow-rule/index.d.ts.map +1 -1
- package/package.json +1 -1
@@ -6,7 +6,7 @@ export declare const MessageDirectionTypeSchema: z.ZodEnum<["incoming", "outgoin
|
|
6
6
|
/**
|
7
7
|
* Message Type Enum
|
8
8
|
*/
|
9
|
-
export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
9
|
+
export declare const MessageTypeSchema: 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"]>;
|
10
10
|
/**
|
11
11
|
* Message Type Enum
|
12
12
|
*/
|
@@ -352,9 +352,10 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
352
352
|
fileSize: z.ZodNumber;
|
353
353
|
fileKey: z.ZodString;
|
354
354
|
fileUrl: z.ZodNullable<z.ZodString>;
|
355
|
-
status: z.
|
355
|
+
status: z.ZodNullable<z.ZodString>;
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
357
357
|
id: string;
|
358
|
+
status: string | null;
|
358
359
|
createdAt: Date;
|
359
360
|
updatedAt: Date;
|
360
361
|
deletedAt: Date | null;
|
@@ -363,9 +364,9 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
363
364
|
bucketName: string;
|
364
365
|
fileSize: number;
|
365
366
|
fileUrl: string | null;
|
366
|
-
status?: string | undefined;
|
367
367
|
}, {
|
368
368
|
id: string;
|
369
|
+
status: string | null;
|
369
370
|
createdAt: Date;
|
370
371
|
updatedAt: Date;
|
371
372
|
deletedAt: Date | null;
|
@@ -374,7 +375,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
374
375
|
bucketName: string;
|
375
376
|
fileSize: number;
|
376
377
|
fileUrl: string | null;
|
377
|
-
status?: string | undefined;
|
378
378
|
}>, "many">;
|
379
379
|
}, "strip", z.ZodTypeAny, {
|
380
380
|
id: string;
|
@@ -401,6 +401,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
401
401
|
dateValue: Date | null;
|
402
402
|
uploads: {
|
403
403
|
id: string;
|
404
|
+
status: string | null;
|
404
405
|
createdAt: Date;
|
405
406
|
updatedAt: Date;
|
406
407
|
deletedAt: Date | null;
|
@@ -409,7 +410,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
409
410
|
bucketName: string;
|
410
411
|
fileSize: number;
|
411
412
|
fileUrl: string | null;
|
412
|
-
status?: string | undefined;
|
413
413
|
}[];
|
414
414
|
}, {
|
415
415
|
id: string;
|
@@ -436,6 +436,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
436
436
|
dateValue: Date | null;
|
437
437
|
uploads: {
|
438
438
|
id: string;
|
439
|
+
status: string | null;
|
439
440
|
createdAt: Date;
|
440
441
|
updatedAt: Date;
|
441
442
|
deletedAt: Date | null;
|
@@ -444,7 +445,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
444
445
|
bucketName: string;
|
445
446
|
fileSize: number;
|
446
447
|
fileUrl: string | null;
|
447
|
-
status?: string | undefined;
|
448
448
|
}[];
|
449
449
|
}>, "many">;
|
450
450
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -584,6 +584,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
584
584
|
dateValue: Date | null;
|
585
585
|
uploads: {
|
586
586
|
id: string;
|
587
|
+
status: string | null;
|
587
588
|
createdAt: Date;
|
588
589
|
updatedAt: Date;
|
589
590
|
deletedAt: Date | null;
|
@@ -592,7 +593,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
592
593
|
bucketName: string;
|
593
594
|
fileSize: number;
|
594
595
|
fileUrl: string | null;
|
595
|
-
status?: string | undefined;
|
596
596
|
}[];
|
597
597
|
}[];
|
598
598
|
company: {
|
@@ -680,6 +680,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
680
680
|
dateValue: Date | null;
|
681
681
|
uploads: {
|
682
682
|
id: string;
|
683
|
+
status: string | null;
|
683
684
|
createdAt: Date;
|
684
685
|
updatedAt: Date;
|
685
686
|
deletedAt: Date | null;
|
@@ -688,7 +689,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
688
689
|
bucketName: string;
|
689
690
|
fileSize: number;
|
690
691
|
fileUrl: string | null;
|
691
|
-
status?: string | undefined;
|
692
692
|
}[];
|
693
693
|
}[];
|
694
694
|
company: {
|
@@ -789,6 +789,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
789
789
|
dateValue: Date | null;
|
790
790
|
uploads: {
|
791
791
|
id: string;
|
792
|
+
status: string | null;
|
792
793
|
createdAt: Date;
|
793
794
|
updatedAt: Date;
|
794
795
|
deletedAt: Date | null;
|
@@ -797,7 +798,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
797
798
|
bucketName: string;
|
798
799
|
fileSize: number;
|
799
800
|
fileUrl: string | null;
|
800
|
-
status?: string | undefined;
|
801
801
|
}[];
|
802
802
|
}[];
|
803
803
|
company: {
|
@@ -900,6 +900,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
900
900
|
dateValue: Date | null;
|
901
901
|
uploads: {
|
902
902
|
id: string;
|
903
|
+
status: string | null;
|
903
904
|
createdAt: Date;
|
904
905
|
updatedAt: Date;
|
905
906
|
deletedAt: Date | null;
|
@@ -908,7 +909,6 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
908
909
|
bucketName: string;
|
909
910
|
fileSize: number;
|
910
911
|
fileUrl: string | null;
|
911
|
-
status?: string | undefined;
|
912
912
|
}[];
|
913
913
|
}[];
|
914
914
|
company: {
|
@@ -984,6 +984,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
984
984
|
firstResponseAt: z.ZodDate;
|
985
985
|
firstResponseTime: z.ZodNumber;
|
986
986
|
isLatest: z.ZodBoolean;
|
987
|
+
isBotRoom: z.ZodBoolean;
|
987
988
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
988
989
|
platformContact: z.ZodObject<{
|
989
990
|
id: z.ZodString;
|
@@ -1304,9 +1305,10 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1304
1305
|
fileSize: z.ZodNumber;
|
1305
1306
|
fileKey: z.ZodString;
|
1306
1307
|
fileUrl: z.ZodNullable<z.ZodString>;
|
1307
|
-
status: z.
|
1308
|
+
status: z.ZodNullable<z.ZodString>;
|
1308
1309
|
}, "strip", z.ZodTypeAny, {
|
1309
1310
|
id: string;
|
1311
|
+
status: string | null;
|
1310
1312
|
createdAt: Date;
|
1311
1313
|
updatedAt: Date;
|
1312
1314
|
deletedAt: Date | null;
|
@@ -1315,9 +1317,9 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1315
1317
|
bucketName: string;
|
1316
1318
|
fileSize: number;
|
1317
1319
|
fileUrl: string | null;
|
1318
|
-
status?: string | undefined;
|
1319
1320
|
}, {
|
1320
1321
|
id: string;
|
1322
|
+
status: string | null;
|
1321
1323
|
createdAt: Date;
|
1322
1324
|
updatedAt: Date;
|
1323
1325
|
deletedAt: Date | null;
|
@@ -1326,7 +1328,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1326
1328
|
bucketName: string;
|
1327
1329
|
fileSize: number;
|
1328
1330
|
fileUrl: string | null;
|
1329
|
-
status?: string | undefined;
|
1330
1331
|
}>, "many">;
|
1331
1332
|
}, "strip", z.ZodTypeAny, {
|
1332
1333
|
id: string;
|
@@ -1353,6 +1354,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1353
1354
|
dateValue: Date | null;
|
1354
1355
|
uploads: {
|
1355
1356
|
id: string;
|
1357
|
+
status: string | null;
|
1356
1358
|
createdAt: Date;
|
1357
1359
|
updatedAt: Date;
|
1358
1360
|
deletedAt: Date | null;
|
@@ -1361,7 +1363,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1361
1363
|
bucketName: string;
|
1362
1364
|
fileSize: number;
|
1363
1365
|
fileUrl: string | null;
|
1364
|
-
status?: string | undefined;
|
1365
1366
|
}[];
|
1366
1367
|
}, {
|
1367
1368
|
id: string;
|
@@ -1388,6 +1389,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1388
1389
|
dateValue: Date | null;
|
1389
1390
|
uploads: {
|
1390
1391
|
id: string;
|
1392
|
+
status: string | null;
|
1391
1393
|
createdAt: Date;
|
1392
1394
|
updatedAt: Date;
|
1393
1395
|
deletedAt: Date | null;
|
@@ -1396,7 +1398,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1396
1398
|
bucketName: string;
|
1397
1399
|
fileSize: number;
|
1398
1400
|
fileUrl: string | null;
|
1399
|
-
status?: string | undefined;
|
1400
1401
|
}[];
|
1401
1402
|
}>, "many">;
|
1402
1403
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -1536,6 +1537,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1536
1537
|
dateValue: Date | null;
|
1537
1538
|
uploads: {
|
1538
1539
|
id: string;
|
1540
|
+
status: string | null;
|
1539
1541
|
createdAt: Date;
|
1540
1542
|
updatedAt: Date;
|
1541
1543
|
deletedAt: Date | null;
|
@@ -1544,7 +1546,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1544
1546
|
bucketName: string;
|
1545
1547
|
fileSize: number;
|
1546
1548
|
fileUrl: string | null;
|
1547
|
-
status?: string | undefined;
|
1548
1549
|
}[];
|
1549
1550
|
}[];
|
1550
1551
|
company: {
|
@@ -1632,6 +1633,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1632
1633
|
dateValue: Date | null;
|
1633
1634
|
uploads: {
|
1634
1635
|
id: string;
|
1636
|
+
status: string | null;
|
1635
1637
|
createdAt: Date;
|
1636
1638
|
updatedAt: Date;
|
1637
1639
|
deletedAt: Date | null;
|
@@ -1640,7 +1642,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1640
1642
|
bucketName: string;
|
1641
1643
|
fileSize: number;
|
1642
1644
|
fileUrl: string | null;
|
1643
|
-
status?: string | undefined;
|
1644
1645
|
}[];
|
1645
1646
|
}[];
|
1646
1647
|
company: {
|
@@ -1741,6 +1742,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1741
1742
|
dateValue: Date | null;
|
1742
1743
|
uploads: {
|
1743
1744
|
id: string;
|
1745
|
+
status: string | null;
|
1744
1746
|
createdAt: Date;
|
1745
1747
|
updatedAt: Date;
|
1746
1748
|
deletedAt: Date | null;
|
@@ -1749,7 +1751,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1749
1751
|
bucketName: string;
|
1750
1752
|
fileSize: number;
|
1751
1753
|
fileUrl: string | null;
|
1752
|
-
status?: string | undefined;
|
1753
1754
|
}[];
|
1754
1755
|
}[];
|
1755
1756
|
company: {
|
@@ -1852,6 +1853,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1852
1853
|
dateValue: Date | null;
|
1853
1854
|
uploads: {
|
1854
1855
|
id: string;
|
1856
|
+
status: string | null;
|
1855
1857
|
createdAt: Date;
|
1856
1858
|
updatedAt: Date;
|
1857
1859
|
deletedAt: Date | null;
|
@@ -1860,7 +1862,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1860
1862
|
bucketName: string;
|
1861
1863
|
fileSize: number;
|
1862
1864
|
fileUrl: string | null;
|
1863
|
-
status?: string | undefined;
|
1864
1865
|
}[];
|
1865
1866
|
}[];
|
1866
1867
|
company: {
|
@@ -2359,6 +2360,25 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2359
2360
|
isReloginRequired: z.ZodBoolean;
|
2360
2361
|
connectedUserName: z.ZodString;
|
2361
2362
|
connectedUserId: z.ZodString;
|
2363
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
2364
|
+
id: z.ZodString;
|
2365
|
+
name: z.ZodString;
|
2366
|
+
botId: z.ZodString;
|
2367
|
+
integrationId: z.ZodString;
|
2368
|
+
accessToken: z.ZodString;
|
2369
|
+
}, "strip", z.ZodTypeAny, {
|
2370
|
+
id: string;
|
2371
|
+
name: string;
|
2372
|
+
accessToken: string;
|
2373
|
+
botId: string;
|
2374
|
+
integrationId: string;
|
2375
|
+
}, {
|
2376
|
+
id: string;
|
2377
|
+
name: string;
|
2378
|
+
accessToken: string;
|
2379
|
+
botId: string;
|
2380
|
+
integrationId: string;
|
2381
|
+
}>>;
|
2362
2382
|
actor: z.ZodObject<{
|
2363
2383
|
id: z.ZodString;
|
2364
2384
|
createdAt: z.ZodDate;
|
@@ -2627,6 +2647,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2627
2647
|
isReloginRequired: boolean;
|
2628
2648
|
connectedUserName: string;
|
2629
2649
|
connectedUserId: string;
|
2650
|
+
botpressBot: {
|
2651
|
+
id: string;
|
2652
|
+
name: string;
|
2653
|
+
accessToken: string;
|
2654
|
+
botId: string;
|
2655
|
+
integrationId: string;
|
2656
|
+
} | null;
|
2630
2657
|
}, {
|
2631
2658
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2632
2659
|
id: string;
|
@@ -2691,6 +2718,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2691
2718
|
isReloginRequired: boolean;
|
2692
2719
|
connectedUserName: string;
|
2693
2720
|
connectedUserId: string;
|
2721
|
+
botpressBot: {
|
2722
|
+
id: string;
|
2723
|
+
name: string;
|
2724
|
+
accessToken: string;
|
2725
|
+
botId: string;
|
2726
|
+
integrationId: string;
|
2727
|
+
} | null;
|
2694
2728
|
}>;
|
2695
2729
|
cxlog: z.ZodObject<{
|
2696
2730
|
id: z.ZodString;
|
@@ -3205,6 +3239,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3205
3239
|
isReloginRequired: boolean;
|
3206
3240
|
connectedUserName: string;
|
3207
3241
|
connectedUserId: string;
|
3242
|
+
botpressBot: {
|
3243
|
+
id: string;
|
3244
|
+
name: string;
|
3245
|
+
accessToken: string;
|
3246
|
+
botId: string;
|
3247
|
+
integrationId: string;
|
3248
|
+
} | null;
|
3208
3249
|
};
|
3209
3250
|
direction: "incoming" | "outgoing" | "system";
|
3210
3251
|
status: number;
|
@@ -3306,6 +3347,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3306
3347
|
dateValue: Date | null;
|
3307
3348
|
uploads: {
|
3308
3349
|
id: string;
|
3350
|
+
status: string | null;
|
3309
3351
|
createdAt: Date;
|
3310
3352
|
updatedAt: Date;
|
3311
3353
|
deletedAt: Date | null;
|
@@ -3314,7 +3356,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3314
3356
|
bucketName: string;
|
3315
3357
|
fileSize: number;
|
3316
3358
|
fileUrl: string | null;
|
3317
|
-
status?: string | undefined;
|
3318
3359
|
}[];
|
3319
3360
|
}[];
|
3320
3361
|
company: {
|
@@ -3419,6 +3460,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3419
3460
|
};
|
3420
3461
|
closedAt: Date;
|
3421
3462
|
lastMessageAt: Date | null;
|
3463
|
+
isBotRoom: boolean;
|
3422
3464
|
cxlog: {
|
3423
3465
|
id: string;
|
3424
3466
|
channel: string | null;
|
@@ -3563,6 +3605,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3563
3605
|
isReloginRequired: boolean;
|
3564
3606
|
connectedUserName: string;
|
3565
3607
|
connectedUserId: string;
|
3608
|
+
botpressBot: {
|
3609
|
+
id: string;
|
3610
|
+
name: string;
|
3611
|
+
accessToken: string;
|
3612
|
+
botId: string;
|
3613
|
+
integrationId: string;
|
3614
|
+
} | null;
|
3566
3615
|
};
|
3567
3616
|
direction: "incoming" | "outgoing" | "system";
|
3568
3617
|
status: number;
|
@@ -3664,6 +3713,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3664
3713
|
dateValue: Date | null;
|
3665
3714
|
uploads: {
|
3666
3715
|
id: string;
|
3716
|
+
status: string | null;
|
3667
3717
|
createdAt: Date;
|
3668
3718
|
updatedAt: Date;
|
3669
3719
|
deletedAt: Date | null;
|
@@ -3672,7 +3722,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3672
3722
|
bucketName: string;
|
3673
3723
|
fileSize: number;
|
3674
3724
|
fileUrl: string | null;
|
3675
|
-
status?: string | undefined;
|
3676
3725
|
}[];
|
3677
3726
|
}[];
|
3678
3727
|
company: {
|
@@ -3777,6 +3826,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3777
3826
|
};
|
3778
3827
|
closedAt: Date;
|
3779
3828
|
lastMessageAt: Date | null;
|
3829
|
+
isBotRoom: boolean;
|
3780
3830
|
cxlog: {
|
3781
3831
|
id: string;
|
3782
3832
|
channel: string | null;
|
@@ -3866,7 +3916,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3866
3916
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3867
3917
|
message: z.ZodString;
|
3868
3918
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3869
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
3919
|
+
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"]>;
|
3870
3920
|
readAt: z.ZodDate;
|
3871
3921
|
metadata: z.ZodAny;
|
3872
3922
|
platformId: z.ZodString;
|
@@ -3891,6 +3941,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3891
3941
|
firstResponseAt: z.ZodDate;
|
3892
3942
|
firstResponseTime: z.ZodNumber;
|
3893
3943
|
isLatest: z.ZodBoolean;
|
3944
|
+
isBotRoom: z.ZodBoolean;
|
3894
3945
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
3895
3946
|
platformContact: z.ZodObject<{
|
3896
3947
|
id: z.ZodString;
|
@@ -4211,9 +4262,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4211
4262
|
fileSize: z.ZodNumber;
|
4212
4263
|
fileKey: z.ZodString;
|
4213
4264
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4214
|
-
status: z.
|
4265
|
+
status: z.ZodNullable<z.ZodString>;
|
4215
4266
|
}, "strip", z.ZodTypeAny, {
|
4216
4267
|
id: string;
|
4268
|
+
status: string | null;
|
4217
4269
|
createdAt: Date;
|
4218
4270
|
updatedAt: Date;
|
4219
4271
|
deletedAt: Date | null;
|
@@ -4222,9 +4274,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4222
4274
|
bucketName: string;
|
4223
4275
|
fileSize: number;
|
4224
4276
|
fileUrl: string | null;
|
4225
|
-
status?: string | undefined;
|
4226
4277
|
}, {
|
4227
4278
|
id: string;
|
4279
|
+
status: string | null;
|
4228
4280
|
createdAt: Date;
|
4229
4281
|
updatedAt: Date;
|
4230
4282
|
deletedAt: Date | null;
|
@@ -4233,7 +4285,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4233
4285
|
bucketName: string;
|
4234
4286
|
fileSize: number;
|
4235
4287
|
fileUrl: string | null;
|
4236
|
-
status?: string | undefined;
|
4237
4288
|
}>, "many">;
|
4238
4289
|
}, "strip", z.ZodTypeAny, {
|
4239
4290
|
id: string;
|
@@ -4260,6 +4311,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4260
4311
|
dateValue: Date | null;
|
4261
4312
|
uploads: {
|
4262
4313
|
id: string;
|
4314
|
+
status: string | null;
|
4263
4315
|
createdAt: Date;
|
4264
4316
|
updatedAt: Date;
|
4265
4317
|
deletedAt: Date | null;
|
@@ -4268,7 +4320,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4268
4320
|
bucketName: string;
|
4269
4321
|
fileSize: number;
|
4270
4322
|
fileUrl: string | null;
|
4271
|
-
status?: string | undefined;
|
4272
4323
|
}[];
|
4273
4324
|
}, {
|
4274
4325
|
id: string;
|
@@ -4295,6 +4346,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4295
4346
|
dateValue: Date | null;
|
4296
4347
|
uploads: {
|
4297
4348
|
id: string;
|
4349
|
+
status: string | null;
|
4298
4350
|
createdAt: Date;
|
4299
4351
|
updatedAt: Date;
|
4300
4352
|
deletedAt: Date | null;
|
@@ -4303,7 +4355,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4303
4355
|
bucketName: string;
|
4304
4356
|
fileSize: number;
|
4305
4357
|
fileUrl: string | null;
|
4306
|
-
status?: string | undefined;
|
4307
4358
|
}[];
|
4308
4359
|
}>, "many">;
|
4309
4360
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -4443,6 +4494,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4443
4494
|
dateValue: Date | null;
|
4444
4495
|
uploads: {
|
4445
4496
|
id: string;
|
4497
|
+
status: string | null;
|
4446
4498
|
createdAt: Date;
|
4447
4499
|
updatedAt: Date;
|
4448
4500
|
deletedAt: Date | null;
|
@@ -4451,7 +4503,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4451
4503
|
bucketName: string;
|
4452
4504
|
fileSize: number;
|
4453
4505
|
fileUrl: string | null;
|
4454
|
-
status?: string | undefined;
|
4455
4506
|
}[];
|
4456
4507
|
}[];
|
4457
4508
|
company: {
|
@@ -4539,6 +4590,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4539
4590
|
dateValue: Date | null;
|
4540
4591
|
uploads: {
|
4541
4592
|
id: string;
|
4593
|
+
status: string | null;
|
4542
4594
|
createdAt: Date;
|
4543
4595
|
updatedAt: Date;
|
4544
4596
|
deletedAt: Date | null;
|
@@ -4547,7 +4599,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4547
4599
|
bucketName: string;
|
4548
4600
|
fileSize: number;
|
4549
4601
|
fileUrl: string | null;
|
4550
|
-
status?: string | undefined;
|
4551
4602
|
}[];
|
4552
4603
|
}[];
|
4553
4604
|
company: {
|
@@ -4648,6 +4699,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4648
4699
|
dateValue: Date | null;
|
4649
4700
|
uploads: {
|
4650
4701
|
id: string;
|
4702
|
+
status: string | null;
|
4651
4703
|
createdAt: Date;
|
4652
4704
|
updatedAt: Date;
|
4653
4705
|
deletedAt: Date | null;
|
@@ -4656,7 +4708,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4656
4708
|
bucketName: string;
|
4657
4709
|
fileSize: number;
|
4658
4710
|
fileUrl: string | null;
|
4659
|
-
status?: string | undefined;
|
4660
4711
|
}[];
|
4661
4712
|
}[];
|
4662
4713
|
company: {
|
@@ -4759,6 +4810,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4759
4810
|
dateValue: Date | null;
|
4760
4811
|
uploads: {
|
4761
4812
|
id: string;
|
4813
|
+
status: string | null;
|
4762
4814
|
createdAt: Date;
|
4763
4815
|
updatedAt: Date;
|
4764
4816
|
deletedAt: Date | null;
|
@@ -4767,7 +4819,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4767
4819
|
bucketName: string;
|
4768
4820
|
fileSize: number;
|
4769
4821
|
fileUrl: string | null;
|
4770
|
-
status?: string | undefined;
|
4771
4822
|
}[];
|
4772
4823
|
}[];
|
4773
4824
|
company: {
|
@@ -5266,6 +5317,25 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5266
5317
|
isReloginRequired: z.ZodBoolean;
|
5267
5318
|
connectedUserName: z.ZodString;
|
5268
5319
|
connectedUserId: z.ZodString;
|
5320
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
5321
|
+
id: z.ZodString;
|
5322
|
+
name: z.ZodString;
|
5323
|
+
botId: z.ZodString;
|
5324
|
+
integrationId: z.ZodString;
|
5325
|
+
accessToken: z.ZodString;
|
5326
|
+
}, "strip", z.ZodTypeAny, {
|
5327
|
+
id: string;
|
5328
|
+
name: string;
|
5329
|
+
accessToken: string;
|
5330
|
+
botId: string;
|
5331
|
+
integrationId: string;
|
5332
|
+
}, {
|
5333
|
+
id: string;
|
5334
|
+
name: string;
|
5335
|
+
accessToken: string;
|
5336
|
+
botId: string;
|
5337
|
+
integrationId: string;
|
5338
|
+
}>>;
|
5269
5339
|
actor: z.ZodObject<{
|
5270
5340
|
id: z.ZodString;
|
5271
5341
|
createdAt: z.ZodDate;
|
@@ -5534,6 +5604,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5534
5604
|
isReloginRequired: boolean;
|
5535
5605
|
connectedUserName: string;
|
5536
5606
|
connectedUserId: string;
|
5607
|
+
botpressBot: {
|
5608
|
+
id: string;
|
5609
|
+
name: string;
|
5610
|
+
accessToken: string;
|
5611
|
+
botId: string;
|
5612
|
+
integrationId: string;
|
5613
|
+
} | null;
|
5537
5614
|
}, {
|
5538
5615
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5539
5616
|
id: string;
|
@@ -5598,6 +5675,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5598
5675
|
isReloginRequired: boolean;
|
5599
5676
|
connectedUserName: string;
|
5600
5677
|
connectedUserId: string;
|
5678
|
+
botpressBot: {
|
5679
|
+
id: string;
|
5680
|
+
name: string;
|
5681
|
+
accessToken: string;
|
5682
|
+
botId: string;
|
5683
|
+
integrationId: string;
|
5684
|
+
} | null;
|
5601
5685
|
}>;
|
5602
5686
|
cxlog: z.ZodObject<{
|
5603
5687
|
id: z.ZodString;
|
@@ -6112,6 +6196,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6112
6196
|
isReloginRequired: boolean;
|
6113
6197
|
connectedUserName: string;
|
6114
6198
|
connectedUserId: string;
|
6199
|
+
botpressBot: {
|
6200
|
+
id: string;
|
6201
|
+
name: string;
|
6202
|
+
accessToken: string;
|
6203
|
+
botId: string;
|
6204
|
+
integrationId: string;
|
6205
|
+
} | null;
|
6115
6206
|
};
|
6116
6207
|
direction: "incoming" | "outgoing" | "system";
|
6117
6208
|
status: number;
|
@@ -6213,6 +6304,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6213
6304
|
dateValue: Date | null;
|
6214
6305
|
uploads: {
|
6215
6306
|
id: string;
|
6307
|
+
status: string | null;
|
6216
6308
|
createdAt: Date;
|
6217
6309
|
updatedAt: Date;
|
6218
6310
|
deletedAt: Date | null;
|
@@ -6221,7 +6313,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6221
6313
|
bucketName: string;
|
6222
6314
|
fileSize: number;
|
6223
6315
|
fileUrl: string | null;
|
6224
|
-
status?: string | undefined;
|
6225
6316
|
}[];
|
6226
6317
|
}[];
|
6227
6318
|
company: {
|
@@ -6326,6 +6417,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6326
6417
|
};
|
6327
6418
|
closedAt: Date;
|
6328
6419
|
lastMessageAt: Date | null;
|
6420
|
+
isBotRoom: boolean;
|
6329
6421
|
cxlog: {
|
6330
6422
|
id: string;
|
6331
6423
|
channel: string | null;
|
@@ -6470,6 +6562,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6470
6562
|
isReloginRequired: boolean;
|
6471
6563
|
connectedUserName: string;
|
6472
6564
|
connectedUserId: string;
|
6565
|
+
botpressBot: {
|
6566
|
+
id: string;
|
6567
|
+
name: string;
|
6568
|
+
accessToken: string;
|
6569
|
+
botId: string;
|
6570
|
+
integrationId: string;
|
6571
|
+
} | null;
|
6473
6572
|
};
|
6474
6573
|
direction: "incoming" | "outgoing" | "system";
|
6475
6574
|
status: number;
|
@@ -6571,6 +6670,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6571
6670
|
dateValue: Date | null;
|
6572
6671
|
uploads: {
|
6573
6672
|
id: string;
|
6673
|
+
status: string | null;
|
6574
6674
|
createdAt: Date;
|
6575
6675
|
updatedAt: Date;
|
6576
6676
|
deletedAt: Date | null;
|
@@ -6579,7 +6679,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6579
6679
|
bucketName: string;
|
6580
6680
|
fileSize: number;
|
6581
6681
|
fileUrl: string | null;
|
6582
|
-
status?: string | undefined;
|
6583
6682
|
}[];
|
6584
6683
|
}[];
|
6585
6684
|
company: {
|
@@ -6684,6 +6783,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6684
6783
|
};
|
6685
6784
|
closedAt: Date;
|
6686
6785
|
lastMessageAt: Date | null;
|
6786
|
+
isBotRoom: boolean;
|
6687
6787
|
cxlog: {
|
6688
6788
|
id: string;
|
6689
6789
|
channel: string | null;
|
@@ -6773,9 +6873,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6773
6873
|
fileSize: z.ZodNumber;
|
6774
6874
|
fileKey: z.ZodString;
|
6775
6875
|
fileUrl: z.ZodNullable<z.ZodString>;
|
6776
|
-
status: z.
|
6876
|
+
status: z.ZodNullable<z.ZodString>;
|
6777
6877
|
}, "strip", z.ZodTypeAny, {
|
6778
6878
|
id: string;
|
6879
|
+
status: string | null;
|
6779
6880
|
createdAt: Date;
|
6780
6881
|
updatedAt: Date;
|
6781
6882
|
deletedAt: Date | null;
|
@@ -6784,9 +6885,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6784
6885
|
bucketName: string;
|
6785
6886
|
fileSize: number;
|
6786
6887
|
fileUrl: string | null;
|
6787
|
-
status?: string | undefined;
|
6788
6888
|
}, {
|
6789
6889
|
id: string;
|
6890
|
+
status: string | null;
|
6790
6891
|
createdAt: Date;
|
6791
6892
|
updatedAt: Date;
|
6792
6893
|
deletedAt: Date | null;
|
@@ -6795,7 +6896,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6795
6896
|
bucketName: string;
|
6796
6897
|
fileSize: number;
|
6797
6898
|
fileUrl: string | null;
|
6798
|
-
status?: string | undefined;
|
6799
6899
|
}>;
|
6800
6900
|
repliedMessage: z.ZodLazy<z.ZodObject<{
|
6801
6901
|
id: z.ZodString;
|
@@ -6804,7 +6904,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6804
6904
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6805
6905
|
message: z.ZodString;
|
6806
6906
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6807
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
6907
|
+
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"]>;
|
6808
6908
|
readAt: z.ZodDate;
|
6809
6909
|
metadata: z.ZodAny;
|
6810
6910
|
platformId: z.ZodString;
|
@@ -6825,9 +6925,10 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6825
6925
|
fileSize: z.ZodNumber;
|
6826
6926
|
fileKey: z.ZodString;
|
6827
6927
|
fileUrl: z.ZodNullable<z.ZodString>;
|
6828
|
-
status: z.
|
6928
|
+
status: z.ZodNullable<z.ZodString>;
|
6829
6929
|
}, "strip", z.ZodTypeAny, {
|
6830
6930
|
id: string;
|
6931
|
+
status: string | null;
|
6831
6932
|
createdAt: Date;
|
6832
6933
|
updatedAt: Date;
|
6833
6934
|
deletedAt: Date | null;
|
@@ -6836,9 +6937,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6836
6937
|
bucketName: string;
|
6837
6938
|
fileSize: number;
|
6838
6939
|
fileUrl: string | null;
|
6839
|
-
status?: string | undefined;
|
6840
6940
|
}, {
|
6841
6941
|
id: string;
|
6942
|
+
status: string | null;
|
6842
6943
|
createdAt: Date;
|
6843
6944
|
updatedAt: Date;
|
6844
6945
|
deletedAt: Date | null;
|
@@ -6847,7 +6948,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6847
6948
|
bucketName: string;
|
6848
6949
|
fileSize: number;
|
6849
6950
|
fileUrl: string | null;
|
6850
|
-
status?: string | undefined;
|
6851
6951
|
}>;
|
6852
6952
|
actor: z.ZodObject<{
|
6853
6953
|
id: z.ZodString;
|
@@ -7471,7 +7571,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7471
7571
|
};
|
7472
7572
|
}>;
|
7473
7573
|
}, "strip", z.ZodTypeAny, {
|
7474
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7574
|
+
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";
|
7475
7575
|
message: string;
|
7476
7576
|
id: string;
|
7477
7577
|
url: string;
|
@@ -7523,9 +7623,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7523
7623
|
telephonySignature: string | null;
|
7524
7624
|
};
|
7525
7625
|
};
|
7526
|
-
platformId: string;
|
7527
7626
|
upload: {
|
7528
7627
|
id: string;
|
7628
|
+
status: string | null;
|
7529
7629
|
createdAt: Date;
|
7530
7630
|
updatedAt: Date;
|
7531
7631
|
deletedAt: Date | null;
|
@@ -7534,7 +7634,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7534
7634
|
bucketName: string;
|
7535
7635
|
fileSize: number;
|
7536
7636
|
fileUrl: string | null;
|
7537
|
-
status?: string | undefined;
|
7538
7637
|
};
|
7539
7638
|
assignee: {
|
7540
7639
|
id: string;
|
@@ -7580,6 +7679,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7580
7679
|
telephonySignature: string | null;
|
7581
7680
|
};
|
7582
7681
|
};
|
7682
|
+
platformId: string;
|
7583
7683
|
readAt: Date;
|
7584
7684
|
platformMessageId: string;
|
7585
7685
|
replyPlatformMessageId: string;
|
@@ -7633,7 +7733,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7633
7733
|
metadata?: any;
|
7634
7734
|
template?: any;
|
7635
7735
|
}, {
|
7636
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
7736
|
+
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";
|
7637
7737
|
message: string;
|
7638
7738
|
id: string;
|
7639
7739
|
url: string;
|
@@ -7685,9 +7785,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7685
7785
|
telephonySignature: string | null;
|
7686
7786
|
};
|
7687
7787
|
};
|
7688
|
-
platformId: string;
|
7689
7788
|
upload: {
|
7690
7789
|
id: string;
|
7790
|
+
status: string | null;
|
7691
7791
|
createdAt: Date;
|
7692
7792
|
updatedAt: Date;
|
7693
7793
|
deletedAt: Date | null;
|
@@ -7696,7 +7796,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7696
7796
|
bucketName: string;
|
7697
7797
|
fileSize: number;
|
7698
7798
|
fileUrl: string | null;
|
7699
|
-
status?: string | undefined;
|
7700
7799
|
};
|
7701
7800
|
assignee: {
|
7702
7801
|
id: string;
|
@@ -7742,6 +7841,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7742
7841
|
telephonySignature: string | null;
|
7743
7842
|
};
|
7744
7843
|
};
|
7844
|
+
platformId: string;
|
7745
7845
|
readAt: Date;
|
7746
7846
|
platformMessageId: string;
|
7747
7847
|
replyPlatformMessageId: string;
|
@@ -8433,7 +8533,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8433
8533
|
isActive: boolean;
|
8434
8534
|
}>;
|
8435
8535
|
}, "strip", z.ZodTypeAny, {
|
8436
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
8536
|
+
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";
|
8437
8537
|
message: string;
|
8438
8538
|
id: string;
|
8439
8539
|
url: string;
|
@@ -8485,9 +8585,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8485
8585
|
telephonySignature: string | null;
|
8486
8586
|
};
|
8487
8587
|
};
|
8488
|
-
platformId: string;
|
8489
8588
|
upload: {
|
8490
8589
|
id: string;
|
8590
|
+
status: string | null;
|
8491
8591
|
createdAt: Date;
|
8492
8592
|
updatedAt: Date;
|
8493
8593
|
deletedAt: Date | null;
|
@@ -8496,7 +8596,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8496
8596
|
bucketName: string;
|
8497
8597
|
fileSize: number;
|
8498
8598
|
fileUrl: string | null;
|
8499
|
-
status?: string | undefined;
|
8500
8599
|
};
|
8501
8600
|
assignee: {
|
8502
8601
|
id: string;
|
@@ -8542,6 +8641,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8542
8641
|
telephonySignature: string | null;
|
8543
8642
|
};
|
8544
8643
|
};
|
8644
|
+
platformId: string;
|
8545
8645
|
room: {
|
8546
8646
|
id: string;
|
8547
8647
|
channel: {
|
@@ -8608,6 +8708,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8608
8708
|
isReloginRequired: boolean;
|
8609
8709
|
connectedUserName: string;
|
8610
8710
|
connectedUserId: string;
|
8711
|
+
botpressBot: {
|
8712
|
+
id: string;
|
8713
|
+
name: string;
|
8714
|
+
accessToken: string;
|
8715
|
+
botId: string;
|
8716
|
+
integrationId: string;
|
8717
|
+
} | null;
|
8611
8718
|
};
|
8612
8719
|
direction: "incoming" | "outgoing" | "system";
|
8613
8720
|
status: number;
|
@@ -8709,6 +8816,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8709
8816
|
dateValue: Date | null;
|
8710
8817
|
uploads: {
|
8711
8818
|
id: string;
|
8819
|
+
status: string | null;
|
8712
8820
|
createdAt: Date;
|
8713
8821
|
updatedAt: Date;
|
8714
8822
|
deletedAt: Date | null;
|
@@ -8717,7 +8825,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8717
8825
|
bucketName: string;
|
8718
8826
|
fileSize: number;
|
8719
8827
|
fileUrl: string | null;
|
8720
|
-
status?: string | undefined;
|
8721
8828
|
}[];
|
8722
8829
|
}[];
|
8723
8830
|
company: {
|
@@ -8822,6 +8929,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8822
8929
|
};
|
8823
8930
|
closedAt: Date;
|
8824
8931
|
lastMessageAt: Date | null;
|
8932
|
+
isBotRoom: boolean;
|
8825
8933
|
cxlog: {
|
8826
8934
|
id: string;
|
8827
8935
|
channel: string | null;
|
@@ -8917,7 +9025,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8917
9025
|
previewUrl: string;
|
8918
9026
|
imageSetId: string;
|
8919
9027
|
repliedMessage: {
|
8920
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9028
|
+
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";
|
8921
9029
|
message: string;
|
8922
9030
|
id: string;
|
8923
9031
|
url: string;
|
@@ -8969,9 +9077,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8969
9077
|
telephonySignature: string | null;
|
8970
9078
|
};
|
8971
9079
|
};
|
8972
|
-
platformId: string;
|
8973
9080
|
upload: {
|
8974
9081
|
id: string;
|
9082
|
+
status: string | null;
|
8975
9083
|
createdAt: Date;
|
8976
9084
|
updatedAt: Date;
|
8977
9085
|
deletedAt: Date | null;
|
@@ -8980,7 +9088,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8980
9088
|
bucketName: string;
|
8981
9089
|
fileSize: number;
|
8982
9090
|
fileUrl: string | null;
|
8983
|
-
status?: string | undefined;
|
8984
9091
|
};
|
8985
9092
|
assignee: {
|
8986
9093
|
id: string;
|
@@ -9026,6 +9133,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9026
9133
|
telephonySignature: string | null;
|
9027
9134
|
};
|
9028
9135
|
};
|
9136
|
+
platformId: string;
|
9029
9137
|
readAt: Date;
|
9030
9138
|
platformMessageId: string;
|
9031
9139
|
replyPlatformMessageId: string;
|
@@ -9126,7 +9234,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9126
9234
|
metadata?: any;
|
9127
9235
|
template?: any;
|
9128
9236
|
}, {
|
9129
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9237
|
+
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";
|
9130
9238
|
message: string;
|
9131
9239
|
id: string;
|
9132
9240
|
url: string;
|
@@ -9178,9 +9286,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9178
9286
|
telephonySignature: string | null;
|
9179
9287
|
};
|
9180
9288
|
};
|
9181
|
-
platformId: string;
|
9182
9289
|
upload: {
|
9183
9290
|
id: string;
|
9291
|
+
status: string | null;
|
9184
9292
|
createdAt: Date;
|
9185
9293
|
updatedAt: Date;
|
9186
9294
|
deletedAt: Date | null;
|
@@ -9189,7 +9297,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9189
9297
|
bucketName: string;
|
9190
9298
|
fileSize: number;
|
9191
9299
|
fileUrl: string | null;
|
9192
|
-
status?: string | undefined;
|
9193
9300
|
};
|
9194
9301
|
assignee: {
|
9195
9302
|
id: string;
|
@@ -9235,6 +9342,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9235
9342
|
telephonySignature: string | null;
|
9236
9343
|
};
|
9237
9344
|
};
|
9345
|
+
platformId: string;
|
9238
9346
|
room: {
|
9239
9347
|
id: string;
|
9240
9348
|
channel: {
|
@@ -9301,6 +9409,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9301
9409
|
isReloginRequired: boolean;
|
9302
9410
|
connectedUserName: string;
|
9303
9411
|
connectedUserId: string;
|
9412
|
+
botpressBot: {
|
9413
|
+
id: string;
|
9414
|
+
name: string;
|
9415
|
+
accessToken: string;
|
9416
|
+
botId: string;
|
9417
|
+
integrationId: string;
|
9418
|
+
} | null;
|
9304
9419
|
};
|
9305
9420
|
direction: "incoming" | "outgoing" | "system";
|
9306
9421
|
status: number;
|
@@ -9402,6 +9517,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9402
9517
|
dateValue: Date | null;
|
9403
9518
|
uploads: {
|
9404
9519
|
id: string;
|
9520
|
+
status: string | null;
|
9405
9521
|
createdAt: Date;
|
9406
9522
|
updatedAt: Date;
|
9407
9523
|
deletedAt: Date | null;
|
@@ -9410,7 +9526,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9410
9526
|
bucketName: string;
|
9411
9527
|
fileSize: number;
|
9412
9528
|
fileUrl: string | null;
|
9413
|
-
status?: string | undefined;
|
9414
9529
|
}[];
|
9415
9530
|
}[];
|
9416
9531
|
company: {
|
@@ -9515,6 +9630,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9515
9630
|
};
|
9516
9631
|
closedAt: Date;
|
9517
9632
|
lastMessageAt: Date | null;
|
9633
|
+
isBotRoom: boolean;
|
9518
9634
|
cxlog: {
|
9519
9635
|
id: string;
|
9520
9636
|
channel: string | null;
|
@@ -9610,7 +9726,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9610
9726
|
previewUrl: string;
|
9611
9727
|
imageSetId: string;
|
9612
9728
|
repliedMessage: {
|
9613
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
9729
|
+
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";
|
9614
9730
|
message: string;
|
9615
9731
|
id: string;
|
9616
9732
|
url: string;
|
@@ -9662,9 +9778,9 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9662
9778
|
telephonySignature: string | null;
|
9663
9779
|
};
|
9664
9780
|
};
|
9665
|
-
platformId: string;
|
9666
9781
|
upload: {
|
9667
9782
|
id: string;
|
9783
|
+
status: string | null;
|
9668
9784
|
createdAt: Date;
|
9669
9785
|
updatedAt: Date;
|
9670
9786
|
deletedAt: Date | null;
|
@@ -9673,7 +9789,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9673
9789
|
bucketName: string;
|
9674
9790
|
fileSize: number;
|
9675
9791
|
fileUrl: string | null;
|
9676
|
-
status?: string | undefined;
|
9677
9792
|
};
|
9678
9793
|
assignee: {
|
9679
9794
|
id: string;
|
@@ -9719,6 +9834,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9719
9834
|
telephonySignature: string | null;
|
9720
9835
|
};
|
9721
9836
|
};
|
9837
|
+
platformId: string;
|
9722
9838
|
readAt: Date;
|
9723
9839
|
platformMessageId: string;
|
9724
9840
|
replyPlatformMessageId: string;
|
@@ -9826,7 +9942,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
9826
9942
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
9827
9943
|
message: z.ZodString;
|
9828
9944
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
9829
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "unsupported"]>;
|
9945
|
+
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"]>;
|
9830
9946
|
readAt: z.ZodDate;
|
9831
9947
|
metadata: z.ZodAny;
|
9832
9948
|
platformId: z.ZodString;
|
@@ -9847,9 +9963,10 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
9847
9963
|
fileSize: z.ZodNumber;
|
9848
9964
|
fileKey: z.ZodString;
|
9849
9965
|
fileUrl: z.ZodNullable<z.ZodString>;
|
9850
|
-
status: z.
|
9966
|
+
status: z.ZodNullable<z.ZodString>;
|
9851
9967
|
}, "strip", z.ZodTypeAny, {
|
9852
9968
|
id: string;
|
9969
|
+
status: string | null;
|
9853
9970
|
createdAt: Date;
|
9854
9971
|
updatedAt: Date;
|
9855
9972
|
deletedAt: Date | null;
|
@@ -9858,9 +9975,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
9858
9975
|
bucketName: string;
|
9859
9976
|
fileSize: number;
|
9860
9977
|
fileUrl: string | null;
|
9861
|
-
status?: string | undefined;
|
9862
9978
|
}, {
|
9863
9979
|
id: string;
|
9980
|
+
status: string | null;
|
9864
9981
|
createdAt: Date;
|
9865
9982
|
updatedAt: Date;
|
9866
9983
|
deletedAt: Date | null;
|
@@ -9869,7 +9986,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
9869
9986
|
bucketName: string;
|
9870
9987
|
fileSize: number;
|
9871
9988
|
fileUrl: string | null;
|
9872
|
-
status?: string | undefined;
|
9873
9989
|
}>;
|
9874
9990
|
actor: z.ZodObject<{
|
9875
9991
|
id: z.ZodString;
|
@@ -10493,7 +10609,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10493
10609
|
};
|
10494
10610
|
}>;
|
10495
10611
|
}, "strip", z.ZodTypeAny, {
|
10496
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10612
|
+
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";
|
10497
10613
|
message: string;
|
10498
10614
|
id: string;
|
10499
10615
|
url: string;
|
@@ -10545,9 +10661,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10545
10661
|
telephonySignature: string | null;
|
10546
10662
|
};
|
10547
10663
|
};
|
10548
|
-
platformId: string;
|
10549
10664
|
upload: {
|
10550
10665
|
id: string;
|
10666
|
+
status: string | null;
|
10551
10667
|
createdAt: Date;
|
10552
10668
|
updatedAt: Date;
|
10553
10669
|
deletedAt: Date | null;
|
@@ -10556,7 +10672,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10556
10672
|
bucketName: string;
|
10557
10673
|
fileSize: number;
|
10558
10674
|
fileUrl: string | null;
|
10559
|
-
status?: string | undefined;
|
10560
10675
|
};
|
10561
10676
|
assignee: {
|
10562
10677
|
id: string;
|
@@ -10602,6 +10717,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10602
10717
|
telephonySignature: string | null;
|
10603
10718
|
};
|
10604
10719
|
};
|
10720
|
+
platformId: string;
|
10605
10721
|
readAt: Date;
|
10606
10722
|
platformMessageId: string;
|
10607
10723
|
replyPlatformMessageId: string;
|
@@ -10655,7 +10771,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10655
10771
|
metadata?: any;
|
10656
10772
|
template?: any;
|
10657
10773
|
}, {
|
10658
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "unsupported";
|
10774
|
+
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";
|
10659
10775
|
message: string;
|
10660
10776
|
id: string;
|
10661
10777
|
url: string;
|
@@ -10707,9 +10823,9 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10707
10823
|
telephonySignature: string | null;
|
10708
10824
|
};
|
10709
10825
|
};
|
10710
|
-
platformId: string;
|
10711
10826
|
upload: {
|
10712
10827
|
id: string;
|
10828
|
+
status: string | null;
|
10713
10829
|
createdAt: Date;
|
10714
10830
|
updatedAt: Date;
|
10715
10831
|
deletedAt: Date | null;
|
@@ -10718,7 +10834,6 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10718
10834
|
bucketName: string;
|
10719
10835
|
fileSize: number;
|
10720
10836
|
fileUrl: string | null;
|
10721
|
-
status?: string | undefined;
|
10722
10837
|
};
|
10723
10838
|
assignee: {
|
10724
10839
|
id: string;
|
@@ -10764,6 +10879,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
10764
10879
|
telephonySignature: string | null;
|
10765
10880
|
};
|
10766
10881
|
};
|
10882
|
+
platformId: string;
|
10767
10883
|
readAt: Date;
|
10768
10884
|
platformMessageId: string;
|
10769
10885
|
replyPlatformMessageId: string;
|