@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
@@ -33,6 +33,7 @@ export declare const chatContract: {
|
|
33
33
|
firstResponseAt: z.ZodDate;
|
34
34
|
firstResponseTime: z.ZodNumber;
|
35
35
|
isLatest: z.ZodBoolean;
|
36
|
+
isBotRoom: z.ZodBoolean;
|
36
37
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
37
38
|
platformContact: z.ZodObject<{
|
38
39
|
id: z.ZodString;
|
@@ -353,9 +354,10 @@ export declare const chatContract: {
|
|
353
354
|
fileSize: z.ZodNumber;
|
354
355
|
fileKey: z.ZodString;
|
355
356
|
fileUrl: z.ZodNullable<z.ZodString>;
|
356
|
-
status: z.
|
357
|
+
status: z.ZodNullable<z.ZodString>;
|
357
358
|
}, "strip", z.ZodTypeAny, {
|
358
359
|
id: string;
|
360
|
+
status: string | null;
|
359
361
|
createdAt: Date;
|
360
362
|
updatedAt: Date;
|
361
363
|
deletedAt: Date | null;
|
@@ -364,9 +366,9 @@ export declare const chatContract: {
|
|
364
366
|
bucketName: string;
|
365
367
|
fileSize: number;
|
366
368
|
fileUrl: string | null;
|
367
|
-
status?: string | undefined;
|
368
369
|
}, {
|
369
370
|
id: string;
|
371
|
+
status: string | null;
|
370
372
|
createdAt: Date;
|
371
373
|
updatedAt: Date;
|
372
374
|
deletedAt: Date | null;
|
@@ -375,7 +377,6 @@ export declare const chatContract: {
|
|
375
377
|
bucketName: string;
|
376
378
|
fileSize: number;
|
377
379
|
fileUrl: string | null;
|
378
|
-
status?: string | undefined;
|
379
380
|
}>, "many">;
|
380
381
|
}, "strip", z.ZodTypeAny, {
|
381
382
|
id: string;
|
@@ -402,6 +403,7 @@ export declare const chatContract: {
|
|
402
403
|
dateValue: Date | null;
|
403
404
|
uploads: {
|
404
405
|
id: string;
|
406
|
+
status: string | null;
|
405
407
|
createdAt: Date;
|
406
408
|
updatedAt: Date;
|
407
409
|
deletedAt: Date | null;
|
@@ -410,7 +412,6 @@ export declare const chatContract: {
|
|
410
412
|
bucketName: string;
|
411
413
|
fileSize: number;
|
412
414
|
fileUrl: string | null;
|
413
|
-
status?: string | undefined;
|
414
415
|
}[];
|
415
416
|
}, {
|
416
417
|
id: string;
|
@@ -437,6 +438,7 @@ export declare const chatContract: {
|
|
437
438
|
dateValue: Date | null;
|
438
439
|
uploads: {
|
439
440
|
id: string;
|
441
|
+
status: string | null;
|
440
442
|
createdAt: Date;
|
441
443
|
updatedAt: Date;
|
442
444
|
deletedAt: Date | null;
|
@@ -445,7 +447,6 @@ export declare const chatContract: {
|
|
445
447
|
bucketName: string;
|
446
448
|
fileSize: number;
|
447
449
|
fileUrl: string | null;
|
448
|
-
status?: string | undefined;
|
449
450
|
}[];
|
450
451
|
}>, "many">;
|
451
452
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -585,6 +586,7 @@ export declare const chatContract: {
|
|
585
586
|
dateValue: Date | null;
|
586
587
|
uploads: {
|
587
588
|
id: string;
|
589
|
+
status: string | null;
|
588
590
|
createdAt: Date;
|
589
591
|
updatedAt: Date;
|
590
592
|
deletedAt: Date | null;
|
@@ -593,7 +595,6 @@ export declare const chatContract: {
|
|
593
595
|
bucketName: string;
|
594
596
|
fileSize: number;
|
595
597
|
fileUrl: string | null;
|
596
|
-
status?: string | undefined;
|
597
598
|
}[];
|
598
599
|
}[];
|
599
600
|
company: {
|
@@ -681,6 +682,7 @@ export declare const chatContract: {
|
|
681
682
|
dateValue: Date | null;
|
682
683
|
uploads: {
|
683
684
|
id: string;
|
685
|
+
status: string | null;
|
684
686
|
createdAt: Date;
|
685
687
|
updatedAt: Date;
|
686
688
|
deletedAt: Date | null;
|
@@ -689,7 +691,6 @@ export declare const chatContract: {
|
|
689
691
|
bucketName: string;
|
690
692
|
fileSize: number;
|
691
693
|
fileUrl: string | null;
|
692
|
-
status?: string | undefined;
|
693
694
|
}[];
|
694
695
|
}[];
|
695
696
|
company: {
|
@@ -790,6 +791,7 @@ export declare const chatContract: {
|
|
790
791
|
dateValue: Date | null;
|
791
792
|
uploads: {
|
792
793
|
id: string;
|
794
|
+
status: string | null;
|
793
795
|
createdAt: Date;
|
794
796
|
updatedAt: Date;
|
795
797
|
deletedAt: Date | null;
|
@@ -798,7 +800,6 @@ export declare const chatContract: {
|
|
798
800
|
bucketName: string;
|
799
801
|
fileSize: number;
|
800
802
|
fileUrl: string | null;
|
801
|
-
status?: string | undefined;
|
802
803
|
}[];
|
803
804
|
}[];
|
804
805
|
company: {
|
@@ -901,6 +902,7 @@ export declare const chatContract: {
|
|
901
902
|
dateValue: Date | null;
|
902
903
|
uploads: {
|
903
904
|
id: string;
|
905
|
+
status: string | null;
|
904
906
|
createdAt: Date;
|
905
907
|
updatedAt: Date;
|
906
908
|
deletedAt: Date | null;
|
@@ -909,7 +911,6 @@ export declare const chatContract: {
|
|
909
911
|
bucketName: string;
|
910
912
|
fileSize: number;
|
911
913
|
fileUrl: string | null;
|
912
|
-
status?: string | undefined;
|
913
914
|
}[];
|
914
915
|
}[];
|
915
916
|
company: {
|
@@ -1408,6 +1409,25 @@ export declare const chatContract: {
|
|
1408
1409
|
isReloginRequired: z.ZodBoolean;
|
1409
1410
|
connectedUserName: z.ZodString;
|
1410
1411
|
connectedUserId: z.ZodString;
|
1412
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
1413
|
+
id: z.ZodString;
|
1414
|
+
name: z.ZodString;
|
1415
|
+
botId: z.ZodString;
|
1416
|
+
integrationId: z.ZodString;
|
1417
|
+
accessToken: z.ZodString;
|
1418
|
+
}, "strip", z.ZodTypeAny, {
|
1419
|
+
id: string;
|
1420
|
+
name: string;
|
1421
|
+
accessToken: string;
|
1422
|
+
botId: string;
|
1423
|
+
integrationId: string;
|
1424
|
+
}, {
|
1425
|
+
id: string;
|
1426
|
+
name: string;
|
1427
|
+
accessToken: string;
|
1428
|
+
botId: string;
|
1429
|
+
integrationId: string;
|
1430
|
+
}>>;
|
1411
1431
|
actor: z.ZodObject<{
|
1412
1432
|
id: z.ZodString;
|
1413
1433
|
createdAt: z.ZodDate;
|
@@ -1676,6 +1696,13 @@ export declare const chatContract: {
|
|
1676
1696
|
isReloginRequired: boolean;
|
1677
1697
|
connectedUserName: string;
|
1678
1698
|
connectedUserId: string;
|
1699
|
+
botpressBot: {
|
1700
|
+
id: string;
|
1701
|
+
name: string;
|
1702
|
+
accessToken: string;
|
1703
|
+
botId: string;
|
1704
|
+
integrationId: string;
|
1705
|
+
} | null;
|
1679
1706
|
}, {
|
1680
1707
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1681
1708
|
id: string;
|
@@ -1740,6 +1767,13 @@ export declare const chatContract: {
|
|
1740
1767
|
isReloginRequired: boolean;
|
1741
1768
|
connectedUserName: string;
|
1742
1769
|
connectedUserId: string;
|
1770
|
+
botpressBot: {
|
1771
|
+
id: string;
|
1772
|
+
name: string;
|
1773
|
+
accessToken: string;
|
1774
|
+
botId: string;
|
1775
|
+
integrationId: string;
|
1776
|
+
} | null;
|
1743
1777
|
}>;
|
1744
1778
|
cxlog: z.ZodObject<{
|
1745
1779
|
id: z.ZodString;
|
@@ -2251,6 +2285,13 @@ export declare const chatContract: {
|
|
2251
2285
|
isReloginRequired: boolean;
|
2252
2286
|
connectedUserName: string;
|
2253
2287
|
connectedUserId: string;
|
2288
|
+
botpressBot: {
|
2289
|
+
id: string;
|
2290
|
+
name: string;
|
2291
|
+
accessToken: string;
|
2292
|
+
botId: string;
|
2293
|
+
integrationId: string;
|
2294
|
+
} | null;
|
2254
2295
|
};
|
2255
2296
|
direction: "incoming" | "outgoing" | "system";
|
2256
2297
|
status: number;
|
@@ -2352,6 +2393,7 @@ export declare const chatContract: {
|
|
2352
2393
|
dateValue: Date | null;
|
2353
2394
|
uploads: {
|
2354
2395
|
id: string;
|
2396
|
+
status: string | null;
|
2355
2397
|
createdAt: Date;
|
2356
2398
|
updatedAt: Date;
|
2357
2399
|
deletedAt: Date | null;
|
@@ -2360,7 +2402,6 @@ export declare const chatContract: {
|
|
2360
2402
|
bucketName: string;
|
2361
2403
|
fileSize: number;
|
2362
2404
|
fileUrl: string | null;
|
2363
|
-
status?: string | undefined;
|
2364
2405
|
}[];
|
2365
2406
|
}[];
|
2366
2407
|
company: {
|
@@ -2465,6 +2506,7 @@ export declare const chatContract: {
|
|
2465
2506
|
};
|
2466
2507
|
closedAt: Date;
|
2467
2508
|
lastMessageAt: Date | null;
|
2509
|
+
isBotRoom: boolean;
|
2468
2510
|
cxlog: {
|
2469
2511
|
id: string;
|
2470
2512
|
channel: string | null;
|
@@ -2609,6 +2651,13 @@ export declare const chatContract: {
|
|
2609
2651
|
isReloginRequired: boolean;
|
2610
2652
|
connectedUserName: string;
|
2611
2653
|
connectedUserId: string;
|
2654
|
+
botpressBot: {
|
2655
|
+
id: string;
|
2656
|
+
name: string;
|
2657
|
+
accessToken: string;
|
2658
|
+
botId: string;
|
2659
|
+
integrationId: string;
|
2660
|
+
} | null;
|
2612
2661
|
};
|
2613
2662
|
direction: "incoming" | "outgoing" | "system";
|
2614
2663
|
status: number;
|
@@ -2710,6 +2759,7 @@ export declare const chatContract: {
|
|
2710
2759
|
dateValue: Date | null;
|
2711
2760
|
uploads: {
|
2712
2761
|
id: string;
|
2762
|
+
status: string | null;
|
2713
2763
|
createdAt: Date;
|
2714
2764
|
updatedAt: Date;
|
2715
2765
|
deletedAt: Date | null;
|
@@ -2718,7 +2768,6 @@ export declare const chatContract: {
|
|
2718
2768
|
bucketName: string;
|
2719
2769
|
fileSize: number;
|
2720
2770
|
fileUrl: string | null;
|
2721
|
-
status?: string | undefined;
|
2722
2771
|
}[];
|
2723
2772
|
}[];
|
2724
2773
|
company: {
|
@@ -2823,6 +2872,7 @@ export declare const chatContract: {
|
|
2823
2872
|
};
|
2824
2873
|
closedAt: Date;
|
2825
2874
|
lastMessageAt: Date | null;
|
2875
|
+
isBotRoom: boolean;
|
2826
2876
|
cxlog: {
|
2827
2877
|
id: string;
|
2828
2878
|
channel: string | null;
|
@@ -2969,6 +3019,13 @@ export declare const chatContract: {
|
|
2969
3019
|
isReloginRequired: boolean;
|
2970
3020
|
connectedUserName: string;
|
2971
3021
|
connectedUserId: string;
|
3022
|
+
botpressBot: {
|
3023
|
+
id: string;
|
3024
|
+
name: string;
|
3025
|
+
accessToken: string;
|
3026
|
+
botId: string;
|
3027
|
+
integrationId: string;
|
3028
|
+
} | null;
|
2972
3029
|
};
|
2973
3030
|
direction: "incoming" | "outgoing" | "system";
|
2974
3031
|
status: number;
|
@@ -3070,6 +3127,7 @@ export declare const chatContract: {
|
|
3070
3127
|
dateValue: Date | null;
|
3071
3128
|
uploads: {
|
3072
3129
|
id: string;
|
3130
|
+
status: string | null;
|
3073
3131
|
createdAt: Date;
|
3074
3132
|
updatedAt: Date;
|
3075
3133
|
deletedAt: Date | null;
|
@@ -3078,7 +3136,6 @@ export declare const chatContract: {
|
|
3078
3136
|
bucketName: string;
|
3079
3137
|
fileSize: number;
|
3080
3138
|
fileUrl: string | null;
|
3081
|
-
status?: string | undefined;
|
3082
3139
|
}[];
|
3083
3140
|
}[];
|
3084
3141
|
company: {
|
@@ -3183,6 +3240,7 @@ export declare const chatContract: {
|
|
3183
3240
|
};
|
3184
3241
|
closedAt: Date;
|
3185
3242
|
lastMessageAt: Date | null;
|
3243
|
+
isBotRoom: boolean;
|
3186
3244
|
cxlog: {
|
3187
3245
|
id: string;
|
3188
3246
|
channel: string | null;
|
@@ -3330,6 +3388,13 @@ export declare const chatContract: {
|
|
3330
3388
|
isReloginRequired: boolean;
|
3331
3389
|
connectedUserName: string;
|
3332
3390
|
connectedUserId: string;
|
3391
|
+
botpressBot: {
|
3392
|
+
id: string;
|
3393
|
+
name: string;
|
3394
|
+
accessToken: string;
|
3395
|
+
botId: string;
|
3396
|
+
integrationId: string;
|
3397
|
+
} | null;
|
3333
3398
|
};
|
3334
3399
|
direction: "incoming" | "outgoing" | "system";
|
3335
3400
|
status: number;
|
@@ -3431,6 +3496,7 @@ export declare const chatContract: {
|
|
3431
3496
|
dateValue: Date | null;
|
3432
3497
|
uploads: {
|
3433
3498
|
id: string;
|
3499
|
+
status: string | null;
|
3434
3500
|
createdAt: Date;
|
3435
3501
|
updatedAt: Date;
|
3436
3502
|
deletedAt: Date | null;
|
@@ -3439,7 +3505,6 @@ export declare const chatContract: {
|
|
3439
3505
|
bucketName: string;
|
3440
3506
|
fileSize: number;
|
3441
3507
|
fileUrl: string | null;
|
3442
|
-
status?: string | undefined;
|
3443
3508
|
}[];
|
3444
3509
|
}[];
|
3445
3510
|
company: {
|
@@ -3544,6 +3609,7 @@ export declare const chatContract: {
|
|
3544
3609
|
};
|
3545
3610
|
closedAt: Date;
|
3546
3611
|
lastMessageAt: Date | null;
|
3612
|
+
isBotRoom: boolean;
|
3547
3613
|
cxlog: {
|
3548
3614
|
id: string;
|
3549
3615
|
channel: string | null;
|
@@ -3701,6 +3767,25 @@ export declare const chatContract: {
|
|
3701
3767
|
isReloginRequired: z.ZodBoolean;
|
3702
3768
|
connectedUserName: z.ZodString;
|
3703
3769
|
connectedUserId: z.ZodString;
|
3770
|
+
botpressBot: z.ZodNullable<z.ZodObject<{
|
3771
|
+
id: z.ZodString;
|
3772
|
+
name: z.ZodString;
|
3773
|
+
botId: z.ZodString;
|
3774
|
+
integrationId: z.ZodString;
|
3775
|
+
accessToken: z.ZodString;
|
3776
|
+
}, "strip", z.ZodTypeAny, {
|
3777
|
+
id: string;
|
3778
|
+
name: string;
|
3779
|
+
accessToken: string;
|
3780
|
+
botId: string;
|
3781
|
+
integrationId: string;
|
3782
|
+
}, {
|
3783
|
+
id: string;
|
3784
|
+
name: string;
|
3785
|
+
accessToken: string;
|
3786
|
+
botId: string;
|
3787
|
+
integrationId: string;
|
3788
|
+
}>>;
|
3704
3789
|
actor: z.ZodObject<{
|
3705
3790
|
id: z.ZodString;
|
3706
3791
|
createdAt: z.ZodDate;
|
@@ -3969,6 +4054,13 @@ export declare const chatContract: {
|
|
3969
4054
|
isReloginRequired: boolean;
|
3970
4055
|
connectedUserName: string;
|
3971
4056
|
connectedUserId: string;
|
4057
|
+
botpressBot: {
|
4058
|
+
id: string;
|
4059
|
+
name: string;
|
4060
|
+
accessToken: string;
|
4061
|
+
botId: string;
|
4062
|
+
integrationId: string;
|
4063
|
+
} | null;
|
3972
4064
|
}, {
|
3973
4065
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3974
4066
|
id: string;
|
@@ -4033,6 +4125,13 @@ export declare const chatContract: {
|
|
4033
4125
|
isReloginRequired: boolean;
|
4034
4126
|
connectedUserName: string;
|
4035
4127
|
connectedUserId: string;
|
4128
|
+
botpressBot: {
|
4129
|
+
id: string;
|
4130
|
+
name: string;
|
4131
|
+
accessToken: string;
|
4132
|
+
botId: string;
|
4133
|
+
integrationId: string;
|
4134
|
+
} | null;
|
4036
4135
|
}>;
|
4037
4136
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
4038
4137
|
status: z.ZodNumber;
|
@@ -4568,9 +4667,10 @@ export declare const chatContract: {
|
|
4568
4667
|
fileSize: z.ZodNumber;
|
4569
4668
|
fileKey: z.ZodString;
|
4570
4669
|
fileUrl: z.ZodNullable<z.ZodString>;
|
4571
|
-
status: z.
|
4670
|
+
status: z.ZodNullable<z.ZodString>;
|
4572
4671
|
}, "strip", z.ZodTypeAny, {
|
4573
4672
|
id: string;
|
4673
|
+
status: string | null;
|
4574
4674
|
createdAt: Date;
|
4575
4675
|
updatedAt: Date;
|
4576
4676
|
deletedAt: Date | null;
|
@@ -4579,9 +4679,9 @@ export declare const chatContract: {
|
|
4579
4679
|
bucketName: string;
|
4580
4680
|
fileSize: number;
|
4581
4681
|
fileUrl: string | null;
|
4582
|
-
status?: string | undefined;
|
4583
4682
|
}, {
|
4584
4683
|
id: string;
|
4684
|
+
status: string | null;
|
4585
4685
|
createdAt: Date;
|
4586
4686
|
updatedAt: Date;
|
4587
4687
|
deletedAt: Date | null;
|
@@ -4590,7 +4690,6 @@ export declare const chatContract: {
|
|
4590
4690
|
bucketName: string;
|
4591
4691
|
fileSize: number;
|
4592
4692
|
fileUrl: string | null;
|
4593
|
-
status?: string | undefined;
|
4594
4693
|
}>, "many">;
|
4595
4694
|
}, "strip", z.ZodTypeAny, {
|
4596
4695
|
id: string;
|
@@ -4617,6 +4716,7 @@ export declare const chatContract: {
|
|
4617
4716
|
dateValue: Date | null;
|
4618
4717
|
uploads: {
|
4619
4718
|
id: string;
|
4719
|
+
status: string | null;
|
4620
4720
|
createdAt: Date;
|
4621
4721
|
updatedAt: Date;
|
4622
4722
|
deletedAt: Date | null;
|
@@ -4625,7 +4725,6 @@ export declare const chatContract: {
|
|
4625
4725
|
bucketName: string;
|
4626
4726
|
fileSize: number;
|
4627
4727
|
fileUrl: string | null;
|
4628
|
-
status?: string | undefined;
|
4629
4728
|
}[];
|
4630
4729
|
}, {
|
4631
4730
|
id: string;
|
@@ -4652,6 +4751,7 @@ export declare const chatContract: {
|
|
4652
4751
|
dateValue: Date | null;
|
4653
4752
|
uploads: {
|
4654
4753
|
id: string;
|
4754
|
+
status: string | null;
|
4655
4755
|
createdAt: Date;
|
4656
4756
|
updatedAt: Date;
|
4657
4757
|
deletedAt: Date | null;
|
@@ -4660,7 +4760,6 @@ export declare const chatContract: {
|
|
4660
4760
|
bucketName: string;
|
4661
4761
|
fileSize: number;
|
4662
4762
|
fileUrl: string | null;
|
4663
|
-
status?: string | undefined;
|
4664
4763
|
}[];
|
4665
4764
|
}>, "many">;
|
4666
4765
|
contactEmails: z.ZodArray<z.ZodObject<{
|
@@ -4800,6 +4899,7 @@ export declare const chatContract: {
|
|
4800
4899
|
dateValue: Date | null;
|
4801
4900
|
uploads: {
|
4802
4901
|
id: string;
|
4902
|
+
status: string | null;
|
4803
4903
|
createdAt: Date;
|
4804
4904
|
updatedAt: Date;
|
4805
4905
|
deletedAt: Date | null;
|
@@ -4808,7 +4908,6 @@ export declare const chatContract: {
|
|
4808
4908
|
bucketName: string;
|
4809
4909
|
fileSize: number;
|
4810
4910
|
fileUrl: string | null;
|
4811
|
-
status?: string | undefined;
|
4812
4911
|
}[];
|
4813
4912
|
}[];
|
4814
4913
|
company: {
|
@@ -4896,6 +4995,7 @@ export declare const chatContract: {
|
|
4896
4995
|
dateValue: Date | null;
|
4897
4996
|
uploads: {
|
4898
4997
|
id: string;
|
4998
|
+
status: string | null;
|
4899
4999
|
createdAt: Date;
|
4900
5000
|
updatedAt: Date;
|
4901
5001
|
deletedAt: Date | null;
|
@@ -4904,7 +5004,6 @@ export declare const chatContract: {
|
|
4904
5004
|
bucketName: string;
|
4905
5005
|
fileSize: number;
|
4906
5006
|
fileUrl: string | null;
|
4907
|
-
status?: string | undefined;
|
4908
5007
|
}[];
|
4909
5008
|
}[];
|
4910
5009
|
company: {
|
@@ -5005,6 +5104,7 @@ export declare const chatContract: {
|
|
5005
5104
|
dateValue: Date | null;
|
5006
5105
|
uploads: {
|
5007
5106
|
id: string;
|
5107
|
+
status: string | null;
|
5008
5108
|
createdAt: Date;
|
5009
5109
|
updatedAt: Date;
|
5010
5110
|
deletedAt: Date | null;
|
@@ -5013,7 +5113,6 @@ export declare const chatContract: {
|
|
5013
5113
|
bucketName: string;
|
5014
5114
|
fileSize: number;
|
5015
5115
|
fileUrl: string | null;
|
5016
|
-
status?: string | undefined;
|
5017
5116
|
}[];
|
5018
5117
|
}[];
|
5019
5118
|
company: {
|
@@ -5116,6 +5215,7 @@ export declare const chatContract: {
|
|
5116
5215
|
dateValue: Date | null;
|
5117
5216
|
uploads: {
|
5118
5217
|
id: string;
|
5218
|
+
status: string | null;
|
5119
5219
|
createdAt: Date;
|
5120
5220
|
updatedAt: Date;
|
5121
5221
|
deletedAt: Date | null;
|
@@ -5124,7 +5224,6 @@ export declare const chatContract: {
|
|
5124
5224
|
bucketName: string;
|
5125
5225
|
fileSize: number;
|
5126
5226
|
fileUrl: string | null;
|
5127
|
-
status?: string | undefined;
|
5128
5227
|
}[];
|
5129
5228
|
}[];
|
5130
5229
|
company: {
|
@@ -5389,6 +5488,7 @@ export declare const chatContract: {
|
|
5389
5488
|
}>;
|
5390
5489
|
closedAt: z.ZodDate;
|
5391
5490
|
lastMessageAt: z.ZodNullable<z.ZodDate>;
|
5491
|
+
isBotRoom: z.ZodBoolean;
|
5392
5492
|
cxlog: z.ZodObject<{
|
5393
5493
|
id: z.ZodString;
|
5394
5494
|
createdAt: z.ZodDate;
|
@@ -5900,6 +6000,13 @@ export declare const chatContract: {
|
|
5900
6000
|
isReloginRequired: boolean;
|
5901
6001
|
connectedUserName: string;
|
5902
6002
|
connectedUserId: string;
|
6003
|
+
botpressBot: {
|
6004
|
+
id: string;
|
6005
|
+
name: string;
|
6006
|
+
accessToken: string;
|
6007
|
+
botId: string;
|
6008
|
+
integrationId: string;
|
6009
|
+
} | null;
|
5903
6010
|
};
|
5904
6011
|
direction: "incoming" | "outgoing" | "system";
|
5905
6012
|
status: number;
|
@@ -6001,6 +6108,7 @@ export declare const chatContract: {
|
|
6001
6108
|
dateValue: Date | null;
|
6002
6109
|
uploads: {
|
6003
6110
|
id: string;
|
6111
|
+
status: string | null;
|
6004
6112
|
createdAt: Date;
|
6005
6113
|
updatedAt: Date;
|
6006
6114
|
deletedAt: Date | null;
|
@@ -6009,7 +6117,6 @@ export declare const chatContract: {
|
|
6009
6117
|
bucketName: string;
|
6010
6118
|
fileSize: number;
|
6011
6119
|
fileUrl: string | null;
|
6012
|
-
status?: string | undefined;
|
6013
6120
|
}[];
|
6014
6121
|
}[];
|
6015
6122
|
company: {
|
@@ -6114,6 +6221,7 @@ export declare const chatContract: {
|
|
6114
6221
|
};
|
6115
6222
|
closedAt: Date;
|
6116
6223
|
lastMessageAt: Date | null;
|
6224
|
+
isBotRoom: boolean;
|
6117
6225
|
cxlog: {
|
6118
6226
|
id: string;
|
6119
6227
|
channel: string | null;
|
@@ -6259,6 +6367,13 @@ export declare const chatContract: {
|
|
6259
6367
|
isReloginRequired: boolean;
|
6260
6368
|
connectedUserName: string;
|
6261
6369
|
connectedUserId: string;
|
6370
|
+
botpressBot: {
|
6371
|
+
id: string;
|
6372
|
+
name: string;
|
6373
|
+
accessToken: string;
|
6374
|
+
botId: string;
|
6375
|
+
integrationId: string;
|
6376
|
+
} | null;
|
6262
6377
|
};
|
6263
6378
|
direction: "incoming" | "outgoing" | "system";
|
6264
6379
|
status: number;
|
@@ -6360,6 +6475,7 @@ export declare const chatContract: {
|
|
6360
6475
|
dateValue: Date | null;
|
6361
6476
|
uploads: {
|
6362
6477
|
id: string;
|
6478
|
+
status: string | null;
|
6363
6479
|
createdAt: Date;
|
6364
6480
|
updatedAt: Date;
|
6365
6481
|
deletedAt: Date | null;
|
@@ -6368,7 +6484,6 @@ export declare const chatContract: {
|
|
6368
6484
|
bucketName: string;
|
6369
6485
|
fileSize: number;
|
6370
6486
|
fileUrl: string | null;
|
6371
|
-
status?: string | undefined;
|
6372
6487
|
}[];
|
6373
6488
|
}[];
|
6374
6489
|
company: {
|
@@ -6473,6 +6588,7 @@ export declare const chatContract: {
|
|
6473
6588
|
};
|
6474
6589
|
closedAt: Date;
|
6475
6590
|
lastMessageAt: Date | null;
|
6591
|
+
isBotRoom: boolean;
|
6476
6592
|
cxlog: {
|
6477
6593
|
id: string;
|
6478
6594
|
channel: string | null;
|
@@ -6620,6 +6736,13 @@ export declare const chatContract: {
|
|
6620
6736
|
isReloginRequired: boolean;
|
6621
6737
|
connectedUserName: string;
|
6622
6738
|
connectedUserId: string;
|
6739
|
+
botpressBot: {
|
6740
|
+
id: string;
|
6741
|
+
name: string;
|
6742
|
+
accessToken: string;
|
6743
|
+
botId: string;
|
6744
|
+
integrationId: string;
|
6745
|
+
} | null;
|
6623
6746
|
};
|
6624
6747
|
direction: "incoming" | "outgoing" | "system";
|
6625
6748
|
status: number;
|
@@ -6721,6 +6844,7 @@ export declare const chatContract: {
|
|
6721
6844
|
dateValue: Date | null;
|
6722
6845
|
uploads: {
|
6723
6846
|
id: string;
|
6847
|
+
status: string | null;
|
6724
6848
|
createdAt: Date;
|
6725
6849
|
updatedAt: Date;
|
6726
6850
|
deletedAt: Date | null;
|
@@ -6729,7 +6853,6 @@ export declare const chatContract: {
|
|
6729
6853
|
bucketName: string;
|
6730
6854
|
fileSize: number;
|
6731
6855
|
fileUrl: string | null;
|
6732
|
-
status?: string | undefined;
|
6733
6856
|
}[];
|
6734
6857
|
}[];
|
6735
6858
|
company: {
|
@@ -6834,6 +6957,7 @@ export declare const chatContract: {
|
|
6834
6957
|
};
|
6835
6958
|
closedAt: Date;
|
6836
6959
|
lastMessageAt: Date | null;
|
6960
|
+
isBotRoom: boolean;
|
6837
6961
|
cxlog: {
|
6838
6962
|
id: string;
|
6839
6963
|
channel: string | null;
|
@@ -6982,6 +7106,13 @@ export declare const chatContract: {
|
|
6982
7106
|
isReloginRequired: boolean;
|
6983
7107
|
connectedUserName: string;
|
6984
7108
|
connectedUserId: string;
|
7109
|
+
botpressBot: {
|
7110
|
+
id: string;
|
7111
|
+
name: string;
|
7112
|
+
accessToken: string;
|
7113
|
+
botId: string;
|
7114
|
+
integrationId: string;
|
7115
|
+
} | null;
|
6985
7116
|
};
|
6986
7117
|
direction: "incoming" | "outgoing" | "system";
|
6987
7118
|
status: number;
|
@@ -7083,6 +7214,7 @@ export declare const chatContract: {
|
|
7083
7214
|
dateValue: Date | null;
|
7084
7215
|
uploads: {
|
7085
7216
|
id: string;
|
7217
|
+
status: string | null;
|
7086
7218
|
createdAt: Date;
|
7087
7219
|
updatedAt: Date;
|
7088
7220
|
deletedAt: Date | null;
|
@@ -7091,7 +7223,6 @@ export declare const chatContract: {
|
|
7091
7223
|
bucketName: string;
|
7092
7224
|
fileSize: number;
|
7093
7225
|
fileUrl: string | null;
|
7094
|
-
status?: string | undefined;
|
7095
7226
|
}[];
|
7096
7227
|
}[];
|
7097
7228
|
company: {
|
@@ -7196,6 +7327,7 @@ export declare const chatContract: {
|
|
7196
7327
|
};
|
7197
7328
|
closedAt: Date;
|
7198
7329
|
lastMessageAt: Date | null;
|
7330
|
+
isBotRoom: boolean;
|
7199
7331
|
cxlog: {
|
7200
7332
|
id: string;
|
7201
7333
|
channel: string | null;
|