@kl1/contracts 1.1.56 → 1.1.57
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/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +4 -4
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
- package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
- package/dist/api-contracts/src/botpress/index.d.ts +28 -28
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
- package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/category/index.d.ts +12 -12
- package/dist/api-contracts/src/category/schema.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +467 -467
- package/dist/api-contracts/src/channel/schema.d.ts +16 -16
- package/dist/api-contracts/src/channel/validation.d.ts +20 -20
- package/dist/api-contracts/src/chat/index.d.ts +9108 -4613
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2025 -1005
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1566 -775
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +15618 -10875
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +267 -252
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +325 -200
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/dashboard/index.d.ts +44 -44
- package/dist/api-contracts/src/dashboard/schema.d.ts +36 -36
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1265 -725
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +67 -67
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
- package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1173 -633
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +1160 -620
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +55 -55
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +3138 -2526
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +2056 -1444
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +672 -468
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +618 -458
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1176 -636
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +84 -84
- package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
- package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
- package/dist/api-contracts/src/sms/index.d.ts +91 -91
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +184 -184
- package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/tag/schema.d.ts +2 -2
- package/dist/api-contracts/src/telegram/index.d.ts +1115 -575
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +1115 -575
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +1139 -599
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +1139 -599
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +24 -24
- package/dist/api-contracts/src/widget/schema.d.ts +2 -2
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +620 -212
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +3 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +3044 -2889
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3043 -2889
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -52,13 +52,13 @@ export declare const chatContract: {
|
|
52
52
|
picture: z.ZodOptional<z.ZodString>;
|
53
53
|
additionalCredentials: z.ZodAny;
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
55
|
-
name: string;
|
56
55
|
id: string;
|
56
|
+
name: string;
|
57
57
|
picture?: string | undefined;
|
58
58
|
additionalCredentials?: any;
|
59
59
|
}, {
|
60
|
-
name: string;
|
61
60
|
id: string;
|
61
|
+
name: string;
|
62
62
|
picture?: string | undefined;
|
63
63
|
additionalCredentials?: any;
|
64
64
|
}>;
|
@@ -80,14 +80,14 @@ export declare const chatContract: {
|
|
80
80
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
81
81
|
name: z.ZodString;
|
82
82
|
}, "strip", z.ZodTypeAny, {
|
83
|
-
name: string;
|
84
83
|
id: string;
|
84
|
+
name: string;
|
85
85
|
createdAt: Date;
|
86
86
|
updatedAt: Date;
|
87
87
|
deletedAt: Date | null;
|
88
88
|
}, {
|
89
|
-
name: string;
|
90
89
|
id: string;
|
90
|
+
name: string;
|
91
91
|
createdAt: Date;
|
92
92
|
updatedAt: Date;
|
93
93
|
deletedAt: Date | null;
|
@@ -243,8 +243,8 @@ export declare const chatContract: {
|
|
243
243
|
createdAt: Date;
|
244
244
|
updatedAt: Date;
|
245
245
|
deletedAt: Date | null;
|
246
|
-
name?: string | undefined;
|
247
246
|
address?: string | null | undefined;
|
247
|
+
name?: string | undefined;
|
248
248
|
phone?: string | null | undefined;
|
249
249
|
industry?: string | null | undefined;
|
250
250
|
}, {
|
@@ -252,8 +252,8 @@ export declare const chatContract: {
|
|
252
252
|
createdAt: Date;
|
253
253
|
updatedAt: Date;
|
254
254
|
deletedAt: Date | null;
|
255
|
-
name?: string | undefined;
|
256
255
|
address?: string | null | undefined;
|
256
|
+
name?: string | undefined;
|
257
257
|
phone?: string | null | undefined;
|
258
258
|
industry?: string | null | undefined;
|
259
259
|
}>>;
|
@@ -271,13 +271,13 @@ export declare const chatContract: {
|
|
271
271
|
picture: z.ZodOptional<z.ZodString>;
|
272
272
|
additionalCredentials: z.ZodAny;
|
273
273
|
}, "strip", z.ZodTypeAny, {
|
274
|
-
name: string;
|
275
274
|
id: string;
|
275
|
+
name: string;
|
276
276
|
picture?: string | undefined;
|
277
277
|
additionalCredentials?: any;
|
278
278
|
}, {
|
279
|
-
name: string;
|
280
279
|
id: string;
|
280
|
+
name: string;
|
281
281
|
picture?: string | undefined;
|
282
282
|
additionalCredentials?: any;
|
283
283
|
}>;
|
@@ -285,8 +285,8 @@ export declare const chatContract: {
|
|
285
285
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
286
286
|
id: string;
|
287
287
|
metadata: {
|
288
|
-
name: string;
|
289
288
|
id: string;
|
289
|
+
name: string;
|
290
290
|
picture?: string | undefined;
|
291
291
|
additionalCredentials?: any;
|
292
292
|
};
|
@@ -299,8 +299,8 @@ export declare const chatContract: {
|
|
299
299
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
300
300
|
id: string;
|
301
301
|
metadata: {
|
302
|
-
name: string;
|
303
302
|
id: string;
|
303
|
+
name: string;
|
304
304
|
picture?: string | undefined;
|
305
305
|
additionalCredentials?: any;
|
306
306
|
};
|
@@ -610,10 +610,10 @@ export declare const chatContract: {
|
|
610
610
|
};
|
611
611
|
}>, "many">>;
|
612
612
|
}, "strip", z.ZodTypeAny, {
|
613
|
-
name: string;
|
614
613
|
id: string;
|
615
614
|
channel: string | null;
|
616
615
|
address: string | null;
|
616
|
+
name: string;
|
617
617
|
createdAt: Date;
|
618
618
|
updatedAt: Date;
|
619
619
|
deletedAt: Date | null;
|
@@ -658,8 +658,8 @@ export declare const chatContract: {
|
|
658
658
|
createdAt: Date;
|
659
659
|
updatedAt: Date;
|
660
660
|
deletedAt: Date | null;
|
661
|
-
name?: string | undefined;
|
662
661
|
address?: string | null | undefined;
|
662
|
+
name?: string | undefined;
|
663
663
|
phone?: string | null | undefined;
|
664
664
|
industry?: string | null | undefined;
|
665
665
|
} | null;
|
@@ -667,8 +667,8 @@ export declare const chatContract: {
|
|
667
667
|
contactProfile: string | null;
|
668
668
|
socialProfileUrl: string | null;
|
669
669
|
tags: {
|
670
|
-
name: string;
|
671
670
|
id: string;
|
671
|
+
name: string;
|
672
672
|
createdAt: Date;
|
673
673
|
updatedAt: Date;
|
674
674
|
deletedAt: Date | null;
|
@@ -693,8 +693,8 @@ export declare const chatContract: {
|
|
693
693
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
694
694
|
id: string;
|
695
695
|
metadata: {
|
696
|
-
name: string;
|
697
696
|
id: string;
|
697
|
+
name: string;
|
698
698
|
picture?: string | undefined;
|
699
699
|
additionalCredentials?: any;
|
700
700
|
};
|
@@ -721,10 +721,10 @@ export declare const chatContract: {
|
|
721
721
|
};
|
722
722
|
}[] | undefined;
|
723
723
|
}, {
|
724
|
-
name: string;
|
725
724
|
id: string;
|
726
725
|
channel: string | null;
|
727
726
|
address: string | null;
|
727
|
+
name: string;
|
728
728
|
createdAt: Date;
|
729
729
|
updatedAt: Date;
|
730
730
|
deletedAt: Date | null;
|
@@ -769,8 +769,8 @@ export declare const chatContract: {
|
|
769
769
|
createdAt: Date;
|
770
770
|
updatedAt: Date;
|
771
771
|
deletedAt: Date | null;
|
772
|
-
name?: string | undefined;
|
773
772
|
address?: string | null | undefined;
|
773
|
+
name?: string | undefined;
|
774
774
|
phone?: string | null | undefined;
|
775
775
|
industry?: string | null | undefined;
|
776
776
|
} | null;
|
@@ -778,8 +778,8 @@ export declare const chatContract: {
|
|
778
778
|
contactProfile: string | null;
|
779
779
|
socialProfileUrl: string | null;
|
780
780
|
tags: {
|
781
|
-
name: string;
|
782
781
|
id: string;
|
782
|
+
name: string;
|
783
783
|
createdAt: Date;
|
784
784
|
updatedAt: Date;
|
785
785
|
deletedAt: Date | null;
|
@@ -804,8 +804,8 @@ export declare const chatContract: {
|
|
804
804
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
805
805
|
id: string;
|
806
806
|
metadata: {
|
807
|
-
name: string;
|
808
807
|
id: string;
|
808
|
+
name: string;
|
809
809
|
picture?: string | undefined;
|
810
810
|
additionalCredentials?: any;
|
811
811
|
};
|
@@ -836,8 +836,8 @@ export declare const chatContract: {
|
|
836
836
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
837
837
|
id: string;
|
838
838
|
metadata: {
|
839
|
-
name: string;
|
840
839
|
id: string;
|
840
|
+
name: string;
|
841
841
|
picture?: string | undefined;
|
842
842
|
additionalCredentials?: any;
|
843
843
|
};
|
@@ -845,10 +845,10 @@ export declare const chatContract: {
|
|
845
845
|
updatedAt: Date;
|
846
846
|
deletedAt: Date | null;
|
847
847
|
contact: {
|
848
|
-
name: string;
|
849
848
|
id: string;
|
850
849
|
channel: string | null;
|
851
850
|
address: string | null;
|
851
|
+
name: string;
|
852
852
|
createdAt: Date;
|
853
853
|
updatedAt: Date;
|
854
854
|
deletedAt: Date | null;
|
@@ -893,8 +893,8 @@ export declare const chatContract: {
|
|
893
893
|
createdAt: Date;
|
894
894
|
updatedAt: Date;
|
895
895
|
deletedAt: Date | null;
|
896
|
-
name?: string | undefined;
|
897
896
|
address?: string | null | undefined;
|
897
|
+
name?: string | undefined;
|
898
898
|
phone?: string | null | undefined;
|
899
899
|
industry?: string | null | undefined;
|
900
900
|
} | null;
|
@@ -902,8 +902,8 @@ export declare const chatContract: {
|
|
902
902
|
contactProfile: string | null;
|
903
903
|
socialProfileUrl: string | null;
|
904
904
|
tags: {
|
905
|
-
name: string;
|
906
905
|
id: string;
|
906
|
+
name: string;
|
907
907
|
createdAt: Date;
|
908
908
|
updatedAt: Date;
|
909
909
|
deletedAt: Date | null;
|
@@ -928,8 +928,8 @@ export declare const chatContract: {
|
|
928
928
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
929
929
|
id: string;
|
930
930
|
metadata: {
|
931
|
-
name: string;
|
932
931
|
id: string;
|
932
|
+
name: string;
|
933
933
|
picture?: string | undefined;
|
934
934
|
additionalCredentials?: any;
|
935
935
|
};
|
@@ -962,8 +962,8 @@ export declare const chatContract: {
|
|
962
962
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
963
963
|
id: string;
|
964
964
|
metadata: {
|
965
|
-
name: string;
|
966
965
|
id: string;
|
966
|
+
name: string;
|
967
967
|
picture?: string | undefined;
|
968
968
|
additionalCredentials?: any;
|
969
969
|
};
|
@@ -971,10 +971,10 @@ export declare const chatContract: {
|
|
971
971
|
updatedAt: Date;
|
972
972
|
deletedAt: Date | null;
|
973
973
|
contact: {
|
974
|
-
name: string;
|
975
974
|
id: string;
|
976
975
|
channel: string | null;
|
977
976
|
address: string | null;
|
977
|
+
name: string;
|
978
978
|
createdAt: Date;
|
979
979
|
updatedAt: Date;
|
980
980
|
deletedAt: Date | null;
|
@@ -1019,8 +1019,8 @@ export declare const chatContract: {
|
|
1019
1019
|
createdAt: Date;
|
1020
1020
|
updatedAt: Date;
|
1021
1021
|
deletedAt: Date | null;
|
1022
|
-
name?: string | undefined;
|
1023
1022
|
address?: string | null | undefined;
|
1023
|
+
name?: string | undefined;
|
1024
1024
|
phone?: string | null | undefined;
|
1025
1025
|
industry?: string | null | undefined;
|
1026
1026
|
} | null;
|
@@ -1028,8 +1028,8 @@ export declare const chatContract: {
|
|
1028
1028
|
contactProfile: string | null;
|
1029
1029
|
socialProfileUrl: string | null;
|
1030
1030
|
tags: {
|
1031
|
-
name: string;
|
1032
1031
|
id: string;
|
1032
|
+
name: string;
|
1033
1033
|
createdAt: Date;
|
1034
1034
|
updatedAt: Date;
|
1035
1035
|
deletedAt: Date | null;
|
@@ -1054,8 +1054,8 @@ export declare const chatContract: {
|
|
1054
1054
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1055
1055
|
id: string;
|
1056
1056
|
metadata: {
|
1057
|
-
name: string;
|
1058
1057
|
id: string;
|
1058
|
+
name: string;
|
1059
1059
|
picture?: string | undefined;
|
1060
1060
|
additionalCredentials?: any;
|
1061
1061
|
};
|
@@ -1203,9 +1203,9 @@ export declare const chatContract: {
|
|
1203
1203
|
telephonySignature: string | null;
|
1204
1204
|
}>;
|
1205
1205
|
}, "strip", z.ZodTypeAny, {
|
1206
|
-
name: string;
|
1207
1206
|
id: string;
|
1208
1207
|
address: string | null;
|
1208
|
+
name: string;
|
1209
1209
|
email: string;
|
1210
1210
|
createdAt: Date;
|
1211
1211
|
updatedAt: Date;
|
@@ -1246,9 +1246,9 @@ export declare const chatContract: {
|
|
1246
1246
|
telephonySignature: string | null;
|
1247
1247
|
};
|
1248
1248
|
}, {
|
1249
|
-
name: string;
|
1250
1249
|
id: string;
|
1251
1250
|
address: string | null;
|
1251
|
+
name: string;
|
1252
1252
|
email: string;
|
1253
1253
|
createdAt: Date;
|
1254
1254
|
updatedAt: Date;
|
@@ -1407,9 +1407,9 @@ export declare const chatContract: {
|
|
1407
1407
|
telephonySignature: string | null;
|
1408
1408
|
}>;
|
1409
1409
|
}, "strip", z.ZodTypeAny, {
|
1410
|
-
name: string;
|
1411
1410
|
id: string;
|
1412
1411
|
address: string | null;
|
1412
|
+
name: string;
|
1413
1413
|
email: string;
|
1414
1414
|
createdAt: Date;
|
1415
1415
|
updatedAt: Date;
|
@@ -1450,9 +1450,9 @@ export declare const chatContract: {
|
|
1450
1450
|
telephonySignature: string | null;
|
1451
1451
|
};
|
1452
1452
|
}, {
|
1453
|
-
name: string;
|
1454
1453
|
id: string;
|
1455
1454
|
address: string | null;
|
1455
|
+
name: string;
|
1456
1456
|
email: string;
|
1457
1457
|
createdAt: Date;
|
1458
1458
|
updatedAt: Date;
|
@@ -1554,8 +1554,8 @@ export declare const chatContract: {
|
|
1554
1554
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
1555
1555
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
1556
1556
|
}, "strip", z.ZodTypeAny, {
|
1557
|
-
name: string;
|
1558
1557
|
id: string;
|
1558
|
+
name: string;
|
1559
1559
|
accessToken?: string | undefined;
|
1560
1560
|
channelSecret?: string | undefined;
|
1561
1561
|
additionalCredentials?: any;
|
@@ -1579,8 +1579,8 @@ export declare const chatContract: {
|
|
1579
1579
|
lineRichMenuId?: string | null | undefined;
|
1580
1580
|
messengerIntegrationType?: "own" | "business" | undefined;
|
1581
1581
|
}, {
|
1582
|
-
name: string;
|
1583
1582
|
id: string;
|
1583
|
+
name: string;
|
1584
1584
|
accessToken?: string | undefined;
|
1585
1585
|
channelSecret?: string | undefined;
|
1586
1586
|
additionalCredentials?: any;
|
@@ -1617,14 +1617,14 @@ export declare const chatContract: {
|
|
1617
1617
|
integrationId: z.ZodString;
|
1618
1618
|
accessToken: z.ZodString;
|
1619
1619
|
}, "strip", z.ZodTypeAny, {
|
1620
|
-
name: string;
|
1621
1620
|
id: string;
|
1621
|
+
name: string;
|
1622
1622
|
accessToken: string;
|
1623
1623
|
botId: string;
|
1624
1624
|
integrationId: string;
|
1625
1625
|
}, {
|
1626
|
-
name: string;
|
1627
1626
|
id: string;
|
1627
|
+
name: string;
|
1628
1628
|
accessToken: string;
|
1629
1629
|
botId: string;
|
1630
1630
|
integrationId: string;
|
@@ -1747,9 +1747,9 @@ export declare const chatContract: {
|
|
1747
1747
|
telephonySignature: string | null;
|
1748
1748
|
}>;
|
1749
1749
|
}, "strip", z.ZodTypeAny, {
|
1750
|
-
name: string;
|
1751
1750
|
id: string;
|
1752
1751
|
address: string | null;
|
1752
|
+
name: string;
|
1753
1753
|
email: string;
|
1754
1754
|
createdAt: Date;
|
1755
1755
|
updatedAt: Date;
|
@@ -1790,9 +1790,9 @@ export declare const chatContract: {
|
|
1790
1790
|
telephonySignature: string | null;
|
1791
1791
|
};
|
1792
1792
|
}, {
|
1793
|
-
name: string;
|
1794
1793
|
id: string;
|
1795
1794
|
address: string | null;
|
1795
|
+
name: string;
|
1796
1796
|
email: string;
|
1797
1797
|
createdAt: Date;
|
1798
1798
|
updatedAt: Date;
|
@@ -1834,12 +1834,12 @@ export declare const chatContract: {
|
|
1834
1834
|
};
|
1835
1835
|
}>;
|
1836
1836
|
}, "strip", z.ZodTypeAny, {
|
1837
|
-
name: string;
|
1838
1837
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1839
1838
|
id: string;
|
1839
|
+
name: string;
|
1840
1840
|
metadata: {
|
1841
|
-
name: string;
|
1842
1841
|
id: string;
|
1842
|
+
name: string;
|
1843
1843
|
accessToken?: string | undefined;
|
1844
1844
|
channelSecret?: string | undefined;
|
1845
1845
|
additionalCredentials?: any;
|
@@ -1868,9 +1868,9 @@ export declare const chatContract: {
|
|
1868
1868
|
updatedAt: Date;
|
1869
1869
|
deletedAt: Date | null;
|
1870
1870
|
actor: {
|
1871
|
-
name: string;
|
1872
1871
|
id: string;
|
1873
1872
|
address: string | null;
|
1873
|
+
name: string;
|
1874
1874
|
email: string;
|
1875
1875
|
createdAt: Date;
|
1876
1876
|
updatedAt: Date;
|
@@ -1917,19 +1917,19 @@ export declare const chatContract: {
|
|
1917
1917
|
connectedUserName: string;
|
1918
1918
|
connectedUserId: string;
|
1919
1919
|
botpressBot: {
|
1920
|
-
name: string;
|
1921
1920
|
id: string;
|
1921
|
+
name: string;
|
1922
1922
|
accessToken: string;
|
1923
1923
|
botId: string;
|
1924
1924
|
integrationId: string;
|
1925
1925
|
} | null;
|
1926
1926
|
}, {
|
1927
|
-
name: string;
|
1928
1927
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
1929
1928
|
id: string;
|
1929
|
+
name: string;
|
1930
1930
|
metadata: {
|
1931
|
-
name: string;
|
1932
1931
|
id: string;
|
1932
|
+
name: string;
|
1933
1933
|
accessToken?: string | undefined;
|
1934
1934
|
channelSecret?: string | undefined;
|
1935
1935
|
additionalCredentials?: any;
|
@@ -1958,9 +1958,9 @@ export declare const chatContract: {
|
|
1958
1958
|
updatedAt: Date;
|
1959
1959
|
deletedAt: Date | null;
|
1960
1960
|
actor: {
|
1961
|
-
name: string;
|
1962
1961
|
id: string;
|
1963
1962
|
address: string | null;
|
1963
|
+
name: string;
|
1964
1964
|
email: string;
|
1965
1965
|
createdAt: Date;
|
1966
1966
|
updatedAt: Date;
|
@@ -2007,8 +2007,8 @@ export declare const chatContract: {
|
|
2007
2007
|
connectedUserName: string;
|
2008
2008
|
connectedUserId: string;
|
2009
2009
|
botpressBot: {
|
2010
|
-
name: string;
|
2011
2010
|
id: string;
|
2011
|
+
name: string;
|
2012
2012
|
accessToken: string;
|
2013
2013
|
botId: string;
|
2014
2014
|
integrationId: string;
|
@@ -2028,8 +2028,12 @@ export declare const chatContract: {
|
|
2028
2028
|
agentId: z.ZodNullable<z.ZodString>;
|
2029
2029
|
direction: z.ZodNullable<z.ZodString>;
|
2030
2030
|
startedDate: z.ZodNullable<z.ZodDate>;
|
2031
|
+
totalHoldDuration: z.ZodNullable<z.ZodNumber>;
|
2031
2032
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
2033
|
+
fullHandledTime: z.ZodNullable<z.ZodNumber>;
|
2032
2034
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
2035
|
+
resolutionTime: z.ZodNullable<z.ZodNumber>;
|
2036
|
+
fullResolutionTime: z.ZodNullable<z.ZodNumber>;
|
2033
2037
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2034
2038
|
id: z.ZodString;
|
2035
2039
|
createdAt: z.ZodDate;
|
@@ -2045,14 +2049,14 @@ export declare const chatContract: {
|
|
2045
2049
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2046
2050
|
name: z.ZodString;
|
2047
2051
|
}, "strip", z.ZodTypeAny, {
|
2048
|
-
name: string;
|
2049
2052
|
id: string;
|
2053
|
+
name: string;
|
2050
2054
|
createdAt: Date;
|
2051
2055
|
updatedAt: Date;
|
2052
2056
|
deletedAt: Date | null;
|
2053
2057
|
}, {
|
2054
|
-
name: string;
|
2055
2058
|
id: string;
|
2059
|
+
name: string;
|
2056
2060
|
createdAt: Date;
|
2057
2061
|
updatedAt: Date;
|
2058
2062
|
deletedAt: Date | null;
|
@@ -2223,8 +2227,8 @@ export declare const chatContract: {
|
|
2223
2227
|
}[];
|
2224
2228
|
}[];
|
2225
2229
|
tags: {
|
2226
|
-
name: string;
|
2227
2230
|
id: string;
|
2231
|
+
name: string;
|
2228
2232
|
createdAt: Date;
|
2229
2233
|
updatedAt: Date;
|
2230
2234
|
deletedAt: Date | null;
|
@@ -2274,8 +2278,8 @@ export declare const chatContract: {
|
|
2274
2278
|
}[];
|
2275
2279
|
}[];
|
2276
2280
|
tags: {
|
2277
|
-
name: string;
|
2278
2281
|
id: string;
|
2282
|
+
name: string;
|
2279
2283
|
createdAt: Date;
|
2280
2284
|
updatedAt: Date;
|
2281
2285
|
deletedAt: Date | null;
|
@@ -2296,6 +2300,74 @@ export declare const chatContract: {
|
|
2296
2300
|
dateValue: Date | null;
|
2297
2301
|
}[] | null | undefined;
|
2298
2302
|
}>>;
|
2303
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
2304
|
+
id: z.ZodString;
|
2305
|
+
createdAt: z.ZodDate;
|
2306
|
+
updatedAt: z.ZodDate;
|
2307
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2308
|
+
startedAt: z.ZodString;
|
2309
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
2310
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
2311
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
2312
|
+
id: z.ZodString;
|
2313
|
+
createdAt: z.ZodDate;
|
2314
|
+
updatedAt: z.ZodDate;
|
2315
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2316
|
+
name: z.ZodString;
|
2317
|
+
position: z.ZodNumber;
|
2318
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
2319
|
+
}, "strip", z.ZodTypeAny, {
|
2320
|
+
id: string;
|
2321
|
+
name: string;
|
2322
|
+
position: number;
|
2323
|
+
createdAt: Date;
|
2324
|
+
updatedAt: Date;
|
2325
|
+
deletedAt: Date | null;
|
2326
|
+
isDefault: boolean;
|
2327
|
+
}, {
|
2328
|
+
id: string;
|
2329
|
+
name: string;
|
2330
|
+
position: number;
|
2331
|
+
createdAt: Date;
|
2332
|
+
updatedAt: Date;
|
2333
|
+
deletedAt: Date | null;
|
2334
|
+
isDefault?: boolean | undefined;
|
2335
|
+
}>>>;
|
2336
|
+
}, "strip", z.ZodTypeAny, {
|
2337
|
+
id: string;
|
2338
|
+
createdAt: Date;
|
2339
|
+
updatedAt: Date;
|
2340
|
+
deletedAt: Date | null;
|
2341
|
+
startedAt: string;
|
2342
|
+
endedAt: string | null;
|
2343
|
+
duration: number | null;
|
2344
|
+
holdLabel?: {
|
2345
|
+
id: string;
|
2346
|
+
name: string;
|
2347
|
+
position: number;
|
2348
|
+
createdAt: Date;
|
2349
|
+
updatedAt: Date;
|
2350
|
+
deletedAt: Date | null;
|
2351
|
+
isDefault: boolean;
|
2352
|
+
} | null | undefined;
|
2353
|
+
}, {
|
2354
|
+
id: string;
|
2355
|
+
createdAt: Date;
|
2356
|
+
updatedAt: Date;
|
2357
|
+
deletedAt: Date | null;
|
2358
|
+
startedAt: string;
|
2359
|
+
endedAt: string | null;
|
2360
|
+
duration: number | null;
|
2361
|
+
holdLabel?: {
|
2362
|
+
id: string;
|
2363
|
+
name: string;
|
2364
|
+
position: number;
|
2365
|
+
createdAt: Date;
|
2366
|
+
updatedAt: Date;
|
2367
|
+
deletedAt: Date | null;
|
2368
|
+
isDefault?: boolean | undefined;
|
2369
|
+
} | null | undefined;
|
2370
|
+
}>, "many">>>;
|
2299
2371
|
}, "strip", z.ZodTypeAny, {
|
2300
2372
|
id: string;
|
2301
2373
|
channel: string | null;
|
@@ -2310,8 +2382,12 @@ export declare const chatContract: {
|
|
2310
2382
|
entityName: string;
|
2311
2383
|
agentId: string | null;
|
2312
2384
|
startedDate: Date | null;
|
2385
|
+
totalHoldDuration: number | null;
|
2313
2386
|
handledTime: number | null;
|
2387
|
+
fullHandledTime: number | null;
|
2314
2388
|
firstResponseTime: number | null;
|
2389
|
+
resolutionTime: number | null;
|
2390
|
+
fullResolutionTime: number | null;
|
2315
2391
|
wrapUpForm: {
|
2316
2392
|
type: string;
|
2317
2393
|
id: string;
|
@@ -2342,8 +2418,8 @@ export declare const chatContract: {
|
|
2342
2418
|
}[];
|
2343
2419
|
}[];
|
2344
2420
|
tags: {
|
2345
|
-
name: string;
|
2346
2421
|
id: string;
|
2422
|
+
name: string;
|
2347
2423
|
createdAt: Date;
|
2348
2424
|
updatedAt: Date;
|
2349
2425
|
deletedAt: Date | null;
|
@@ -2364,6 +2440,24 @@ export declare const chatContract: {
|
|
2364
2440
|
dateValue: Date | null;
|
2365
2441
|
}[] | null | undefined;
|
2366
2442
|
} | null;
|
2443
|
+
holdLogs?: {
|
2444
|
+
id: string;
|
2445
|
+
createdAt: Date;
|
2446
|
+
updatedAt: Date;
|
2447
|
+
deletedAt: Date | null;
|
2448
|
+
startedAt: string;
|
2449
|
+
endedAt: string | null;
|
2450
|
+
duration: number | null;
|
2451
|
+
holdLabel?: {
|
2452
|
+
id: string;
|
2453
|
+
name: string;
|
2454
|
+
position: number;
|
2455
|
+
createdAt: Date;
|
2456
|
+
updatedAt: Date;
|
2457
|
+
deletedAt: Date | null;
|
2458
|
+
isDefault: boolean;
|
2459
|
+
} | null | undefined;
|
2460
|
+
}[] | null | undefined;
|
2367
2461
|
}, {
|
2368
2462
|
id: string;
|
2369
2463
|
channel: string | null;
|
@@ -2378,8 +2472,12 @@ export declare const chatContract: {
|
|
2378
2472
|
entityName: string;
|
2379
2473
|
agentId: string | null;
|
2380
2474
|
startedDate: Date | null;
|
2475
|
+
totalHoldDuration: number | null;
|
2381
2476
|
handledTime: number | null;
|
2477
|
+
fullHandledTime: number | null;
|
2382
2478
|
firstResponseTime: number | null;
|
2479
|
+
resolutionTime: number | null;
|
2480
|
+
fullResolutionTime: number | null;
|
2383
2481
|
wrapUpForm: {
|
2384
2482
|
type: string;
|
2385
2483
|
id: string;
|
@@ -2410,8 +2508,8 @@ export declare const chatContract: {
|
|
2410
2508
|
}[];
|
2411
2509
|
}[];
|
2412
2510
|
tags: {
|
2413
|
-
name: string;
|
2414
2511
|
id: string;
|
2512
|
+
name: string;
|
2415
2513
|
createdAt: Date;
|
2416
2514
|
updatedAt: Date;
|
2417
2515
|
deletedAt: Date | null;
|
@@ -2432,6 +2530,24 @@ export declare const chatContract: {
|
|
2432
2530
|
dateValue: Date | null;
|
2433
2531
|
}[] | null | undefined;
|
2434
2532
|
} | null;
|
2533
|
+
holdLogs?: {
|
2534
|
+
id: string;
|
2535
|
+
createdAt: Date;
|
2536
|
+
updatedAt: Date;
|
2537
|
+
deletedAt: Date | null;
|
2538
|
+
startedAt: string;
|
2539
|
+
endedAt: string | null;
|
2540
|
+
duration: number | null;
|
2541
|
+
holdLabel?: {
|
2542
|
+
id: string;
|
2543
|
+
name: string;
|
2544
|
+
position: number;
|
2545
|
+
createdAt: Date;
|
2546
|
+
updatedAt: Date;
|
2547
|
+
deletedAt: Date | null;
|
2548
|
+
isDefault?: boolean | undefined;
|
2549
|
+
} | null | undefined;
|
2550
|
+
}[] | null | undefined;
|
2435
2551
|
}>;
|
2436
2552
|
workflowRule: z.ZodObject<{
|
2437
2553
|
id: z.ZodString;
|
@@ -2442,17 +2558,17 @@ export declare const chatContract: {
|
|
2442
2558
|
isActive: z.ZodBoolean;
|
2443
2559
|
type: z.ZodString;
|
2444
2560
|
}, "strip", z.ZodTypeAny, {
|
2445
|
-
name: string;
|
2446
2561
|
type: string;
|
2447
2562
|
id: string;
|
2563
|
+
name: string;
|
2448
2564
|
createdAt: Date;
|
2449
2565
|
updatedAt: Date;
|
2450
2566
|
deletedAt: Date | null;
|
2451
2567
|
isActive: boolean;
|
2452
2568
|
}, {
|
2453
|
-
name: string;
|
2454
2569
|
type: string;
|
2455
2570
|
id: string;
|
2571
|
+
name: string;
|
2456
2572
|
createdAt: Date;
|
2457
2573
|
updatedAt: Date;
|
2458
2574
|
deletedAt: Date | null;
|
@@ -2462,12 +2578,12 @@ export declare const chatContract: {
|
|
2462
2578
|
}, "strip", z.ZodTypeAny, {
|
2463
2579
|
id: string;
|
2464
2580
|
channel: {
|
2465
|
-
name: string;
|
2466
2581
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2467
2582
|
id: string;
|
2583
|
+
name: string;
|
2468
2584
|
metadata: {
|
2469
|
-
name: string;
|
2470
2585
|
id: string;
|
2586
|
+
name: string;
|
2471
2587
|
accessToken?: string | undefined;
|
2472
2588
|
channelSecret?: string | undefined;
|
2473
2589
|
additionalCredentials?: any;
|
@@ -2496,9 +2612,9 @@ export declare const chatContract: {
|
|
2496
2612
|
updatedAt: Date;
|
2497
2613
|
deletedAt: Date | null;
|
2498
2614
|
actor: {
|
2499
|
-
name: string;
|
2500
2615
|
id: string;
|
2501
2616
|
address: string | null;
|
2617
|
+
name: string;
|
2502
2618
|
email: string;
|
2503
2619
|
createdAt: Date;
|
2504
2620
|
updatedAt: Date;
|
@@ -2545,8 +2661,8 @@ export declare const chatContract: {
|
|
2545
2661
|
connectedUserName: string;
|
2546
2662
|
connectedUserId: string;
|
2547
2663
|
botpressBot: {
|
2548
|
-
name: string;
|
2549
2664
|
id: string;
|
2665
|
+
name: string;
|
2550
2666
|
accessToken: string;
|
2551
2667
|
botId: string;
|
2552
2668
|
integrationId: string;
|
@@ -2558,9 +2674,9 @@ export declare const chatContract: {
|
|
2558
2674
|
updatedAt: Date;
|
2559
2675
|
deletedAt: Date | null;
|
2560
2676
|
actor: {
|
2561
|
-
name: string;
|
2562
2677
|
id: string;
|
2563
2678
|
address: string | null;
|
2679
|
+
name: string;
|
2564
2680
|
email: string;
|
2565
2681
|
createdAt: Date;
|
2566
2682
|
updatedAt: Date;
|
@@ -2611,8 +2727,8 @@ export declare const chatContract: {
|
|
2611
2727
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2612
2728
|
id: string;
|
2613
2729
|
metadata: {
|
2614
|
-
name: string;
|
2615
2730
|
id: string;
|
2731
|
+
name: string;
|
2616
2732
|
picture?: string | undefined;
|
2617
2733
|
additionalCredentials?: any;
|
2618
2734
|
};
|
@@ -2620,10 +2736,10 @@ export declare const chatContract: {
|
|
2620
2736
|
updatedAt: Date;
|
2621
2737
|
deletedAt: Date | null;
|
2622
2738
|
contact: {
|
2623
|
-
name: string;
|
2624
2739
|
id: string;
|
2625
2740
|
channel: string | null;
|
2626
2741
|
address: string | null;
|
2742
|
+
name: string;
|
2627
2743
|
createdAt: Date;
|
2628
2744
|
updatedAt: Date;
|
2629
2745
|
deletedAt: Date | null;
|
@@ -2668,8 +2784,8 @@ export declare const chatContract: {
|
|
2668
2784
|
createdAt: Date;
|
2669
2785
|
updatedAt: Date;
|
2670
2786
|
deletedAt: Date | null;
|
2671
|
-
name?: string | undefined;
|
2672
2787
|
address?: string | null | undefined;
|
2788
|
+
name?: string | undefined;
|
2673
2789
|
phone?: string | null | undefined;
|
2674
2790
|
industry?: string | null | undefined;
|
2675
2791
|
} | null;
|
@@ -2677,8 +2793,8 @@ export declare const chatContract: {
|
|
2677
2793
|
contactProfile: string | null;
|
2678
2794
|
socialProfileUrl: string | null;
|
2679
2795
|
tags: {
|
2680
|
-
name: string;
|
2681
2796
|
id: string;
|
2797
|
+
name: string;
|
2682
2798
|
createdAt: Date;
|
2683
2799
|
updatedAt: Date;
|
2684
2800
|
deletedAt: Date | null;
|
@@ -2703,8 +2819,8 @@ export declare const chatContract: {
|
|
2703
2819
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2704
2820
|
id: string;
|
2705
2821
|
metadata: {
|
2706
|
-
name: string;
|
2707
2822
|
id: string;
|
2823
|
+
name: string;
|
2708
2824
|
picture?: string | undefined;
|
2709
2825
|
additionalCredentials?: any;
|
2710
2826
|
};
|
@@ -2735,9 +2851,9 @@ export declare const chatContract: {
|
|
2735
2851
|
socialPlatformId: string;
|
2736
2852
|
};
|
2737
2853
|
assignee: {
|
2738
|
-
name: string;
|
2739
2854
|
id: string;
|
2740
2855
|
address: string | null;
|
2856
|
+
name: string;
|
2741
2857
|
email: string;
|
2742
2858
|
createdAt: Date;
|
2743
2859
|
updatedAt: Date;
|
@@ -2795,8 +2911,12 @@ export declare const chatContract: {
|
|
2795
2911
|
entityName: string;
|
2796
2912
|
agentId: string | null;
|
2797
2913
|
startedDate: Date | null;
|
2914
|
+
totalHoldDuration: number | null;
|
2798
2915
|
handledTime: number | null;
|
2916
|
+
fullHandledTime: number | null;
|
2799
2917
|
firstResponseTime: number | null;
|
2918
|
+
resolutionTime: number | null;
|
2919
|
+
fullResolutionTime: number | null;
|
2800
2920
|
wrapUpForm: {
|
2801
2921
|
type: string;
|
2802
2922
|
id: string;
|
@@ -2827,8 +2947,8 @@ export declare const chatContract: {
|
|
2827
2947
|
}[];
|
2828
2948
|
}[];
|
2829
2949
|
tags: {
|
2830
|
-
name: string;
|
2831
2950
|
id: string;
|
2951
|
+
name: string;
|
2832
2952
|
createdAt: Date;
|
2833
2953
|
updatedAt: Date;
|
2834
2954
|
deletedAt: Date | null;
|
@@ -2849,11 +2969,29 @@ export declare const chatContract: {
|
|
2849
2969
|
dateValue: Date | null;
|
2850
2970
|
}[] | null | undefined;
|
2851
2971
|
} | null;
|
2972
|
+
holdLogs?: {
|
2973
|
+
id: string;
|
2974
|
+
createdAt: Date;
|
2975
|
+
updatedAt: Date;
|
2976
|
+
deletedAt: Date | null;
|
2977
|
+
startedAt: string;
|
2978
|
+
endedAt: string | null;
|
2979
|
+
duration: number | null;
|
2980
|
+
holdLabel?: {
|
2981
|
+
id: string;
|
2982
|
+
name: string;
|
2983
|
+
position: number;
|
2984
|
+
createdAt: Date;
|
2985
|
+
updatedAt: Date;
|
2986
|
+
deletedAt: Date | null;
|
2987
|
+
isDefault: boolean;
|
2988
|
+
} | null | undefined;
|
2989
|
+
}[] | null | undefined;
|
2852
2990
|
};
|
2853
2991
|
workflowRule: {
|
2854
|
-
name: string;
|
2855
2992
|
type: string;
|
2856
2993
|
id: string;
|
2994
|
+
name: string;
|
2857
2995
|
createdAt: Date;
|
2858
2996
|
updatedAt: Date;
|
2859
2997
|
deletedAt: Date | null;
|
@@ -2863,12 +3001,12 @@ export declare const chatContract: {
|
|
2863
3001
|
}, {
|
2864
3002
|
id: string;
|
2865
3003
|
channel: {
|
2866
|
-
name: string;
|
2867
3004
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2868
3005
|
id: string;
|
3006
|
+
name: string;
|
2869
3007
|
metadata: {
|
2870
|
-
name: string;
|
2871
3008
|
id: string;
|
3009
|
+
name: string;
|
2872
3010
|
accessToken?: string | undefined;
|
2873
3011
|
channelSecret?: string | undefined;
|
2874
3012
|
additionalCredentials?: any;
|
@@ -2897,9 +3035,9 @@ export declare const chatContract: {
|
|
2897
3035
|
updatedAt: Date;
|
2898
3036
|
deletedAt: Date | null;
|
2899
3037
|
actor: {
|
2900
|
-
name: string;
|
2901
3038
|
id: string;
|
2902
3039
|
address: string | null;
|
3040
|
+
name: string;
|
2903
3041
|
email: string;
|
2904
3042
|
createdAt: Date;
|
2905
3043
|
updatedAt: Date;
|
@@ -2946,8 +3084,8 @@ export declare const chatContract: {
|
|
2946
3084
|
connectedUserName: string;
|
2947
3085
|
connectedUserId: string;
|
2948
3086
|
botpressBot: {
|
2949
|
-
name: string;
|
2950
3087
|
id: string;
|
3088
|
+
name: string;
|
2951
3089
|
accessToken: string;
|
2952
3090
|
botId: string;
|
2953
3091
|
integrationId: string;
|
@@ -2959,9 +3097,9 @@ export declare const chatContract: {
|
|
2959
3097
|
updatedAt: Date;
|
2960
3098
|
deletedAt: Date | null;
|
2961
3099
|
actor: {
|
2962
|
-
name: string;
|
2963
3100
|
id: string;
|
2964
3101
|
address: string | null;
|
3102
|
+
name: string;
|
2965
3103
|
email: string;
|
2966
3104
|
createdAt: Date;
|
2967
3105
|
updatedAt: Date;
|
@@ -3012,8 +3150,8 @@ export declare const chatContract: {
|
|
3012
3150
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3013
3151
|
id: string;
|
3014
3152
|
metadata: {
|
3015
|
-
name: string;
|
3016
3153
|
id: string;
|
3154
|
+
name: string;
|
3017
3155
|
picture?: string | undefined;
|
3018
3156
|
additionalCredentials?: any;
|
3019
3157
|
};
|
@@ -3021,10 +3159,10 @@ export declare const chatContract: {
|
|
3021
3159
|
updatedAt: Date;
|
3022
3160
|
deletedAt: Date | null;
|
3023
3161
|
contact: {
|
3024
|
-
name: string;
|
3025
3162
|
id: string;
|
3026
3163
|
channel: string | null;
|
3027
3164
|
address: string | null;
|
3165
|
+
name: string;
|
3028
3166
|
createdAt: Date;
|
3029
3167
|
updatedAt: Date;
|
3030
3168
|
deletedAt: Date | null;
|
@@ -3069,8 +3207,8 @@ export declare const chatContract: {
|
|
3069
3207
|
createdAt: Date;
|
3070
3208
|
updatedAt: Date;
|
3071
3209
|
deletedAt: Date | null;
|
3072
|
-
name?: string | undefined;
|
3073
3210
|
address?: string | null | undefined;
|
3211
|
+
name?: string | undefined;
|
3074
3212
|
phone?: string | null | undefined;
|
3075
3213
|
industry?: string | null | undefined;
|
3076
3214
|
} | null;
|
@@ -3078,8 +3216,8 @@ export declare const chatContract: {
|
|
3078
3216
|
contactProfile: string | null;
|
3079
3217
|
socialProfileUrl: string | null;
|
3080
3218
|
tags: {
|
3081
|
-
name: string;
|
3082
3219
|
id: string;
|
3220
|
+
name: string;
|
3083
3221
|
createdAt: Date;
|
3084
3222
|
updatedAt: Date;
|
3085
3223
|
deletedAt: Date | null;
|
@@ -3104,8 +3242,8 @@ export declare const chatContract: {
|
|
3104
3242
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3105
3243
|
id: string;
|
3106
3244
|
metadata: {
|
3107
|
-
name: string;
|
3108
3245
|
id: string;
|
3246
|
+
name: string;
|
3109
3247
|
picture?: string | undefined;
|
3110
3248
|
additionalCredentials?: any;
|
3111
3249
|
};
|
@@ -3136,9 +3274,9 @@ export declare const chatContract: {
|
|
3136
3274
|
socialPlatformId: string;
|
3137
3275
|
};
|
3138
3276
|
assignee: {
|
3139
|
-
name: string;
|
3140
3277
|
id: string;
|
3141
3278
|
address: string | null;
|
3279
|
+
name: string;
|
3142
3280
|
email: string;
|
3143
3281
|
createdAt: Date;
|
3144
3282
|
updatedAt: Date;
|
@@ -3196,8 +3334,12 @@ export declare const chatContract: {
|
|
3196
3334
|
entityName: string;
|
3197
3335
|
agentId: string | null;
|
3198
3336
|
startedDate: Date | null;
|
3337
|
+
totalHoldDuration: number | null;
|
3199
3338
|
handledTime: number | null;
|
3339
|
+
fullHandledTime: number | null;
|
3200
3340
|
firstResponseTime: number | null;
|
3341
|
+
resolutionTime: number | null;
|
3342
|
+
fullResolutionTime: number | null;
|
3201
3343
|
wrapUpForm: {
|
3202
3344
|
type: string;
|
3203
3345
|
id: string;
|
@@ -3228,8 +3370,8 @@ export declare const chatContract: {
|
|
3228
3370
|
}[];
|
3229
3371
|
}[];
|
3230
3372
|
tags: {
|
3231
|
-
name: string;
|
3232
3373
|
id: string;
|
3374
|
+
name: string;
|
3233
3375
|
createdAt: Date;
|
3234
3376
|
updatedAt: Date;
|
3235
3377
|
deletedAt: Date | null;
|
@@ -3250,11 +3392,29 @@ export declare const chatContract: {
|
|
3250
3392
|
dateValue: Date | null;
|
3251
3393
|
}[] | null | undefined;
|
3252
3394
|
} | null;
|
3395
|
+
holdLogs?: {
|
3396
|
+
id: string;
|
3397
|
+
createdAt: Date;
|
3398
|
+
updatedAt: Date;
|
3399
|
+
deletedAt: Date | null;
|
3400
|
+
startedAt: string;
|
3401
|
+
endedAt: string | null;
|
3402
|
+
duration: number | null;
|
3403
|
+
holdLabel?: {
|
3404
|
+
id: string;
|
3405
|
+
name: string;
|
3406
|
+
position: number;
|
3407
|
+
createdAt: Date;
|
3408
|
+
updatedAt: Date;
|
3409
|
+
deletedAt: Date | null;
|
3410
|
+
isDefault?: boolean | undefined;
|
3411
|
+
} | null | undefined;
|
3412
|
+
}[] | null | undefined;
|
3253
3413
|
};
|
3254
3414
|
workflowRule: {
|
3255
|
-
name: string;
|
3256
3415
|
type: string;
|
3257
3416
|
id: string;
|
3417
|
+
name: string;
|
3258
3418
|
createdAt: Date;
|
3259
3419
|
updatedAt: Date;
|
3260
3420
|
deletedAt: Date | null;
|
@@ -3266,12 +3426,12 @@ export declare const chatContract: {
|
|
3266
3426
|
data: {
|
3267
3427
|
id: string;
|
3268
3428
|
channel: {
|
3269
|
-
name: string;
|
3270
3429
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3271
3430
|
id: string;
|
3431
|
+
name: string;
|
3272
3432
|
metadata: {
|
3273
|
-
name: string;
|
3274
3433
|
id: string;
|
3434
|
+
name: string;
|
3275
3435
|
accessToken?: string | undefined;
|
3276
3436
|
channelSecret?: string | undefined;
|
3277
3437
|
additionalCredentials?: any;
|
@@ -3300,9 +3460,9 @@ export declare const chatContract: {
|
|
3300
3460
|
updatedAt: Date;
|
3301
3461
|
deletedAt: Date | null;
|
3302
3462
|
actor: {
|
3303
|
-
name: string;
|
3304
3463
|
id: string;
|
3305
3464
|
address: string | null;
|
3465
|
+
name: string;
|
3306
3466
|
email: string;
|
3307
3467
|
createdAt: Date;
|
3308
3468
|
updatedAt: Date;
|
@@ -3349,8 +3509,8 @@ export declare const chatContract: {
|
|
3349
3509
|
connectedUserName: string;
|
3350
3510
|
connectedUserId: string;
|
3351
3511
|
botpressBot: {
|
3352
|
-
name: string;
|
3353
3512
|
id: string;
|
3513
|
+
name: string;
|
3354
3514
|
accessToken: string;
|
3355
3515
|
botId: string;
|
3356
3516
|
integrationId: string;
|
@@ -3362,9 +3522,9 @@ export declare const chatContract: {
|
|
3362
3522
|
updatedAt: Date;
|
3363
3523
|
deletedAt: Date | null;
|
3364
3524
|
actor: {
|
3365
|
-
name: string;
|
3366
3525
|
id: string;
|
3367
3526
|
address: string | null;
|
3527
|
+
name: string;
|
3368
3528
|
email: string;
|
3369
3529
|
createdAt: Date;
|
3370
3530
|
updatedAt: Date;
|
@@ -3415,8 +3575,8 @@ export declare const chatContract: {
|
|
3415
3575
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3416
3576
|
id: string;
|
3417
3577
|
metadata: {
|
3418
|
-
name: string;
|
3419
3578
|
id: string;
|
3579
|
+
name: string;
|
3420
3580
|
picture?: string | undefined;
|
3421
3581
|
additionalCredentials?: any;
|
3422
3582
|
};
|
@@ -3424,10 +3584,10 @@ export declare const chatContract: {
|
|
3424
3584
|
updatedAt: Date;
|
3425
3585
|
deletedAt: Date | null;
|
3426
3586
|
contact: {
|
3427
|
-
name: string;
|
3428
3587
|
id: string;
|
3429
3588
|
channel: string | null;
|
3430
3589
|
address: string | null;
|
3590
|
+
name: string;
|
3431
3591
|
createdAt: Date;
|
3432
3592
|
updatedAt: Date;
|
3433
3593
|
deletedAt: Date | null;
|
@@ -3472,8 +3632,8 @@ export declare const chatContract: {
|
|
3472
3632
|
createdAt: Date;
|
3473
3633
|
updatedAt: Date;
|
3474
3634
|
deletedAt: Date | null;
|
3475
|
-
name?: string | undefined;
|
3476
3635
|
address?: string | null | undefined;
|
3636
|
+
name?: string | undefined;
|
3477
3637
|
phone?: string | null | undefined;
|
3478
3638
|
industry?: string | null | undefined;
|
3479
3639
|
} | null;
|
@@ -3481,8 +3641,8 @@ export declare const chatContract: {
|
|
3481
3641
|
contactProfile: string | null;
|
3482
3642
|
socialProfileUrl: string | null;
|
3483
3643
|
tags: {
|
3484
|
-
name: string;
|
3485
3644
|
id: string;
|
3645
|
+
name: string;
|
3486
3646
|
createdAt: Date;
|
3487
3647
|
updatedAt: Date;
|
3488
3648
|
deletedAt: Date | null;
|
@@ -3507,8 +3667,8 @@ export declare const chatContract: {
|
|
3507
3667
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3508
3668
|
id: string;
|
3509
3669
|
metadata: {
|
3510
|
-
name: string;
|
3511
3670
|
id: string;
|
3671
|
+
name: string;
|
3512
3672
|
picture?: string | undefined;
|
3513
3673
|
additionalCredentials?: any;
|
3514
3674
|
};
|
@@ -3539,9 +3699,9 @@ export declare const chatContract: {
|
|
3539
3699
|
socialPlatformId: string;
|
3540
3700
|
};
|
3541
3701
|
assignee: {
|
3542
|
-
name: string;
|
3543
3702
|
id: string;
|
3544
3703
|
address: string | null;
|
3704
|
+
name: string;
|
3545
3705
|
email: string;
|
3546
3706
|
createdAt: Date;
|
3547
3707
|
updatedAt: Date;
|
@@ -3599,8 +3759,12 @@ export declare const chatContract: {
|
|
3599
3759
|
entityName: string;
|
3600
3760
|
agentId: string | null;
|
3601
3761
|
startedDate: Date | null;
|
3762
|
+
totalHoldDuration: number | null;
|
3602
3763
|
handledTime: number | null;
|
3764
|
+
fullHandledTime: number | null;
|
3603
3765
|
firstResponseTime: number | null;
|
3766
|
+
resolutionTime: number | null;
|
3767
|
+
fullResolutionTime: number | null;
|
3604
3768
|
wrapUpForm: {
|
3605
3769
|
type: string;
|
3606
3770
|
id: string;
|
@@ -3631,8 +3795,8 @@ export declare const chatContract: {
|
|
3631
3795
|
}[];
|
3632
3796
|
}[];
|
3633
3797
|
tags: {
|
3634
|
-
name: string;
|
3635
3798
|
id: string;
|
3799
|
+
name: string;
|
3636
3800
|
createdAt: Date;
|
3637
3801
|
updatedAt: Date;
|
3638
3802
|
deletedAt: Date | null;
|
@@ -3653,11 +3817,29 @@ export declare const chatContract: {
|
|
3653
3817
|
dateValue: Date | null;
|
3654
3818
|
}[] | null | undefined;
|
3655
3819
|
} | null;
|
3820
|
+
holdLogs?: {
|
3821
|
+
id: string;
|
3822
|
+
createdAt: Date;
|
3823
|
+
updatedAt: Date;
|
3824
|
+
deletedAt: Date | null;
|
3825
|
+
startedAt: string;
|
3826
|
+
endedAt: string | null;
|
3827
|
+
duration: number | null;
|
3828
|
+
holdLabel?: {
|
3829
|
+
id: string;
|
3830
|
+
name: string;
|
3831
|
+
position: number;
|
3832
|
+
createdAt: Date;
|
3833
|
+
updatedAt: Date;
|
3834
|
+
deletedAt: Date | null;
|
3835
|
+
isDefault: boolean;
|
3836
|
+
} | null | undefined;
|
3837
|
+
}[] | null | undefined;
|
3656
3838
|
};
|
3657
3839
|
workflowRule: {
|
3658
|
-
name: string;
|
3659
3840
|
type: string;
|
3660
3841
|
id: string;
|
3842
|
+
name: string;
|
3661
3843
|
createdAt: Date;
|
3662
3844
|
updatedAt: Date;
|
3663
3845
|
deletedAt: Date | null;
|
@@ -3670,12 +3852,12 @@ export declare const chatContract: {
|
|
3670
3852
|
data: {
|
3671
3853
|
id: string;
|
3672
3854
|
channel: {
|
3673
|
-
name: string;
|
3674
3855
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3675
3856
|
id: string;
|
3857
|
+
name: string;
|
3676
3858
|
metadata: {
|
3677
|
-
name: string;
|
3678
3859
|
id: string;
|
3860
|
+
name: string;
|
3679
3861
|
accessToken?: string | undefined;
|
3680
3862
|
channelSecret?: string | undefined;
|
3681
3863
|
additionalCredentials?: any;
|
@@ -3704,9 +3886,9 @@ export declare const chatContract: {
|
|
3704
3886
|
updatedAt: Date;
|
3705
3887
|
deletedAt: Date | null;
|
3706
3888
|
actor: {
|
3707
|
-
name: string;
|
3708
3889
|
id: string;
|
3709
3890
|
address: string | null;
|
3891
|
+
name: string;
|
3710
3892
|
email: string;
|
3711
3893
|
createdAt: Date;
|
3712
3894
|
updatedAt: Date;
|
@@ -3753,8 +3935,8 @@ export declare const chatContract: {
|
|
3753
3935
|
connectedUserName: string;
|
3754
3936
|
connectedUserId: string;
|
3755
3937
|
botpressBot: {
|
3756
|
-
name: string;
|
3757
3938
|
id: string;
|
3939
|
+
name: string;
|
3758
3940
|
accessToken: string;
|
3759
3941
|
botId: string;
|
3760
3942
|
integrationId: string;
|
@@ -3766,9 +3948,9 @@ export declare const chatContract: {
|
|
3766
3948
|
updatedAt: Date;
|
3767
3949
|
deletedAt: Date | null;
|
3768
3950
|
actor: {
|
3769
|
-
name: string;
|
3770
3951
|
id: string;
|
3771
3952
|
address: string | null;
|
3953
|
+
name: string;
|
3772
3954
|
email: string;
|
3773
3955
|
createdAt: Date;
|
3774
3956
|
updatedAt: Date;
|
@@ -3819,8 +4001,8 @@ export declare const chatContract: {
|
|
3819
4001
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3820
4002
|
id: string;
|
3821
4003
|
metadata: {
|
3822
|
-
name: string;
|
3823
4004
|
id: string;
|
4005
|
+
name: string;
|
3824
4006
|
picture?: string | undefined;
|
3825
4007
|
additionalCredentials?: any;
|
3826
4008
|
};
|
@@ -3828,10 +4010,10 @@ export declare const chatContract: {
|
|
3828
4010
|
updatedAt: Date;
|
3829
4011
|
deletedAt: Date | null;
|
3830
4012
|
contact: {
|
3831
|
-
name: string;
|
3832
4013
|
id: string;
|
3833
4014
|
channel: string | null;
|
3834
4015
|
address: string | null;
|
4016
|
+
name: string;
|
3835
4017
|
createdAt: Date;
|
3836
4018
|
updatedAt: Date;
|
3837
4019
|
deletedAt: Date | null;
|
@@ -3876,8 +4058,8 @@ export declare const chatContract: {
|
|
3876
4058
|
createdAt: Date;
|
3877
4059
|
updatedAt: Date;
|
3878
4060
|
deletedAt: Date | null;
|
3879
|
-
name?: string | undefined;
|
3880
4061
|
address?: string | null | undefined;
|
4062
|
+
name?: string | undefined;
|
3881
4063
|
phone?: string | null | undefined;
|
3882
4064
|
industry?: string | null | undefined;
|
3883
4065
|
} | null;
|
@@ -3885,8 +4067,8 @@ export declare const chatContract: {
|
|
3885
4067
|
contactProfile: string | null;
|
3886
4068
|
socialProfileUrl: string | null;
|
3887
4069
|
tags: {
|
3888
|
-
name: string;
|
3889
4070
|
id: string;
|
4071
|
+
name: string;
|
3890
4072
|
createdAt: Date;
|
3891
4073
|
updatedAt: Date;
|
3892
4074
|
deletedAt: Date | null;
|
@@ -3911,8 +4093,8 @@ export declare const chatContract: {
|
|
3911
4093
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3912
4094
|
id: string;
|
3913
4095
|
metadata: {
|
3914
|
-
name: string;
|
3915
4096
|
id: string;
|
4097
|
+
name: string;
|
3916
4098
|
picture?: string | undefined;
|
3917
4099
|
additionalCredentials?: any;
|
3918
4100
|
};
|
@@ -3943,9 +4125,9 @@ export declare const chatContract: {
|
|
3943
4125
|
socialPlatformId: string;
|
3944
4126
|
};
|
3945
4127
|
assignee: {
|
3946
|
-
name: string;
|
3947
4128
|
id: string;
|
3948
4129
|
address: string | null;
|
4130
|
+
name: string;
|
3949
4131
|
email: string;
|
3950
4132
|
createdAt: Date;
|
3951
4133
|
updatedAt: Date;
|
@@ -4003,8 +4185,12 @@ export declare const chatContract: {
|
|
4003
4185
|
entityName: string;
|
4004
4186
|
agentId: string | null;
|
4005
4187
|
startedDate: Date | null;
|
4188
|
+
totalHoldDuration: number | null;
|
4006
4189
|
handledTime: number | null;
|
4190
|
+
fullHandledTime: number | null;
|
4007
4191
|
firstResponseTime: number | null;
|
4192
|
+
resolutionTime: number | null;
|
4193
|
+
fullResolutionTime: number | null;
|
4008
4194
|
wrapUpForm: {
|
4009
4195
|
type: string;
|
4010
4196
|
id: string;
|
@@ -4035,8 +4221,8 @@ export declare const chatContract: {
|
|
4035
4221
|
}[];
|
4036
4222
|
}[];
|
4037
4223
|
tags: {
|
4038
|
-
name: string;
|
4039
4224
|
id: string;
|
4225
|
+
name: string;
|
4040
4226
|
createdAt: Date;
|
4041
4227
|
updatedAt: Date;
|
4042
4228
|
deletedAt: Date | null;
|
@@ -4057,11 +4243,29 @@ export declare const chatContract: {
|
|
4057
4243
|
dateValue: Date | null;
|
4058
4244
|
}[] | null | undefined;
|
4059
4245
|
} | null;
|
4246
|
+
holdLogs?: {
|
4247
|
+
id: string;
|
4248
|
+
createdAt: Date;
|
4249
|
+
updatedAt: Date;
|
4250
|
+
deletedAt: Date | null;
|
4251
|
+
startedAt: string;
|
4252
|
+
endedAt: string | null;
|
4253
|
+
duration: number | null;
|
4254
|
+
holdLabel?: {
|
4255
|
+
id: string;
|
4256
|
+
name: string;
|
4257
|
+
position: number;
|
4258
|
+
createdAt: Date;
|
4259
|
+
updatedAt: Date;
|
4260
|
+
deletedAt: Date | null;
|
4261
|
+
isDefault?: boolean | undefined;
|
4262
|
+
} | null | undefined;
|
4263
|
+
}[] | null | undefined;
|
4060
4264
|
};
|
4061
4265
|
workflowRule: {
|
4062
|
-
name: string;
|
4063
4266
|
type: string;
|
4064
4267
|
id: string;
|
4268
|
+
name: string;
|
4065
4269
|
createdAt: Date;
|
4066
4270
|
updatedAt: Date;
|
4067
4271
|
deletedAt: Date | null;
|
@@ -4176,8 +4380,8 @@ export declare const chatContract: {
|
|
4176
4380
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
4177
4381
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
4178
4382
|
}, "strip", z.ZodTypeAny, {
|
4179
|
-
name: string;
|
4180
4383
|
id: string;
|
4384
|
+
name: string;
|
4181
4385
|
accessToken?: string | undefined;
|
4182
4386
|
channelSecret?: string | undefined;
|
4183
4387
|
additionalCredentials?: any;
|
@@ -4201,8 +4405,8 @@ export declare const chatContract: {
|
|
4201
4405
|
lineRichMenuId?: string | null | undefined;
|
4202
4406
|
messengerIntegrationType?: "own" | "business" | undefined;
|
4203
4407
|
}, {
|
4204
|
-
name: string;
|
4205
4408
|
id: string;
|
4409
|
+
name: string;
|
4206
4410
|
accessToken?: string | undefined;
|
4207
4411
|
channelSecret?: string | undefined;
|
4208
4412
|
additionalCredentials?: any;
|
@@ -4239,14 +4443,14 @@ export declare const chatContract: {
|
|
4239
4443
|
integrationId: z.ZodString;
|
4240
4444
|
accessToken: z.ZodString;
|
4241
4445
|
}, "strip", z.ZodTypeAny, {
|
4242
|
-
name: string;
|
4243
4446
|
id: string;
|
4447
|
+
name: string;
|
4244
4448
|
accessToken: string;
|
4245
4449
|
botId: string;
|
4246
4450
|
integrationId: string;
|
4247
4451
|
}, {
|
4248
|
-
name: string;
|
4249
4452
|
id: string;
|
4453
|
+
name: string;
|
4250
4454
|
accessToken: string;
|
4251
4455
|
botId: string;
|
4252
4456
|
integrationId: string;
|
@@ -4369,9 +4573,9 @@ export declare const chatContract: {
|
|
4369
4573
|
telephonySignature: string | null;
|
4370
4574
|
}>;
|
4371
4575
|
}, "strip", z.ZodTypeAny, {
|
4372
|
-
name: string;
|
4373
4576
|
id: string;
|
4374
4577
|
address: string | null;
|
4578
|
+
name: string;
|
4375
4579
|
email: string;
|
4376
4580
|
createdAt: Date;
|
4377
4581
|
updatedAt: Date;
|
@@ -4412,9 +4616,9 @@ export declare const chatContract: {
|
|
4412
4616
|
telephonySignature: string | null;
|
4413
4617
|
};
|
4414
4618
|
}, {
|
4415
|
-
name: string;
|
4416
4619
|
id: string;
|
4417
4620
|
address: string | null;
|
4621
|
+
name: string;
|
4418
4622
|
email: string;
|
4419
4623
|
createdAt: Date;
|
4420
4624
|
updatedAt: Date;
|
@@ -4456,12 +4660,12 @@ export declare const chatContract: {
|
|
4456
4660
|
};
|
4457
4661
|
}>;
|
4458
4662
|
}, "strip", z.ZodTypeAny, {
|
4459
|
-
name: string;
|
4460
4663
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4461
4664
|
id: string;
|
4665
|
+
name: string;
|
4462
4666
|
metadata: {
|
4463
|
-
name: string;
|
4464
4667
|
id: string;
|
4668
|
+
name: string;
|
4465
4669
|
accessToken?: string | undefined;
|
4466
4670
|
channelSecret?: string | undefined;
|
4467
4671
|
additionalCredentials?: any;
|
@@ -4490,9 +4694,9 @@ export declare const chatContract: {
|
|
4490
4694
|
updatedAt: Date;
|
4491
4695
|
deletedAt: Date | null;
|
4492
4696
|
actor: {
|
4493
|
-
name: string;
|
4494
4697
|
id: string;
|
4495
4698
|
address: string | null;
|
4699
|
+
name: string;
|
4496
4700
|
email: string;
|
4497
4701
|
createdAt: Date;
|
4498
4702
|
updatedAt: Date;
|
@@ -4539,19 +4743,19 @@ export declare const chatContract: {
|
|
4539
4743
|
connectedUserName: string;
|
4540
4744
|
connectedUserId: string;
|
4541
4745
|
botpressBot: {
|
4542
|
-
name: string;
|
4543
4746
|
id: string;
|
4747
|
+
name: string;
|
4544
4748
|
accessToken: string;
|
4545
4749
|
botId: string;
|
4546
4750
|
integrationId: string;
|
4547
4751
|
} | null;
|
4548
4752
|
}, {
|
4549
|
-
name: string;
|
4550
4753
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4551
4754
|
id: string;
|
4755
|
+
name: string;
|
4552
4756
|
metadata: {
|
4553
|
-
name: string;
|
4554
4757
|
id: string;
|
4758
|
+
name: string;
|
4555
4759
|
accessToken?: string | undefined;
|
4556
4760
|
channelSecret?: string | undefined;
|
4557
4761
|
additionalCredentials?: any;
|
@@ -4580,9 +4784,9 @@ export declare const chatContract: {
|
|
4580
4784
|
updatedAt: Date;
|
4581
4785
|
deletedAt: Date | null;
|
4582
4786
|
actor: {
|
4583
|
-
name: string;
|
4584
4787
|
id: string;
|
4585
4788
|
address: string | null;
|
4789
|
+
name: string;
|
4586
4790
|
email: string;
|
4587
4791
|
createdAt: Date;
|
4588
4792
|
updatedAt: Date;
|
@@ -4629,8 +4833,8 @@ export declare const chatContract: {
|
|
4629
4833
|
connectedUserName: string;
|
4630
4834
|
connectedUserId: string;
|
4631
4835
|
botpressBot: {
|
4632
|
-
name: string;
|
4633
4836
|
id: string;
|
4837
|
+
name: string;
|
4634
4838
|
accessToken: string;
|
4635
4839
|
botId: string;
|
4636
4840
|
integrationId: string;
|
@@ -4759,9 +4963,9 @@ export declare const chatContract: {
|
|
4759
4963
|
telephonySignature: string | null;
|
4760
4964
|
}>;
|
4761
4965
|
}, "strip", z.ZodTypeAny, {
|
4762
|
-
name: string;
|
4763
4966
|
id: string;
|
4764
4967
|
address: string | null;
|
4968
|
+
name: string;
|
4765
4969
|
email: string;
|
4766
4970
|
createdAt: Date;
|
4767
4971
|
updatedAt: Date;
|
@@ -4802,9 +5006,9 @@ export declare const chatContract: {
|
|
4802
5006
|
telephonySignature: string | null;
|
4803
5007
|
};
|
4804
5008
|
}, {
|
4805
|
-
name: string;
|
4806
5009
|
id: string;
|
4807
5010
|
address: string | null;
|
5011
|
+
name: string;
|
4808
5012
|
email: string;
|
4809
5013
|
createdAt: Date;
|
4810
5014
|
updatedAt: Date;
|
@@ -4865,13 +5069,13 @@ export declare const chatContract: {
|
|
4865
5069
|
picture: z.ZodOptional<z.ZodString>;
|
4866
5070
|
additionalCredentials: z.ZodAny;
|
4867
5071
|
}, "strip", z.ZodTypeAny, {
|
4868
|
-
name: string;
|
4869
5072
|
id: string;
|
5073
|
+
name: string;
|
4870
5074
|
picture?: string | undefined;
|
4871
5075
|
additionalCredentials?: any;
|
4872
5076
|
}, {
|
4873
|
-
name: string;
|
4874
5077
|
id: string;
|
5078
|
+
name: string;
|
4875
5079
|
picture?: string | undefined;
|
4876
5080
|
additionalCredentials?: any;
|
4877
5081
|
}>;
|
@@ -4893,14 +5097,14 @@ export declare const chatContract: {
|
|
4893
5097
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4894
5098
|
name: z.ZodString;
|
4895
5099
|
}, "strip", z.ZodTypeAny, {
|
4896
|
-
name: string;
|
4897
5100
|
id: string;
|
5101
|
+
name: string;
|
4898
5102
|
createdAt: Date;
|
4899
5103
|
updatedAt: Date;
|
4900
5104
|
deletedAt: Date | null;
|
4901
5105
|
}, {
|
4902
|
-
name: string;
|
4903
5106
|
id: string;
|
5107
|
+
name: string;
|
4904
5108
|
createdAt: Date;
|
4905
5109
|
updatedAt: Date;
|
4906
5110
|
deletedAt: Date | null;
|
@@ -5056,8 +5260,8 @@ export declare const chatContract: {
|
|
5056
5260
|
createdAt: Date;
|
5057
5261
|
updatedAt: Date;
|
5058
5262
|
deletedAt: Date | null;
|
5059
|
-
name?: string | undefined;
|
5060
5263
|
address?: string | null | undefined;
|
5264
|
+
name?: string | undefined;
|
5061
5265
|
phone?: string | null | undefined;
|
5062
5266
|
industry?: string | null | undefined;
|
5063
5267
|
}, {
|
@@ -5065,8 +5269,8 @@ export declare const chatContract: {
|
|
5065
5269
|
createdAt: Date;
|
5066
5270
|
updatedAt: Date;
|
5067
5271
|
deletedAt: Date | null;
|
5068
|
-
name?: string | undefined;
|
5069
5272
|
address?: string | null | undefined;
|
5273
|
+
name?: string | undefined;
|
5070
5274
|
phone?: string | null | undefined;
|
5071
5275
|
industry?: string | null | undefined;
|
5072
5276
|
}>>;
|
@@ -5084,13 +5288,13 @@ export declare const chatContract: {
|
|
5084
5288
|
picture: z.ZodOptional<z.ZodString>;
|
5085
5289
|
additionalCredentials: z.ZodAny;
|
5086
5290
|
}, "strip", z.ZodTypeAny, {
|
5087
|
-
name: string;
|
5088
5291
|
id: string;
|
5292
|
+
name: string;
|
5089
5293
|
picture?: string | undefined;
|
5090
5294
|
additionalCredentials?: any;
|
5091
5295
|
}, {
|
5092
|
-
name: string;
|
5093
5296
|
id: string;
|
5297
|
+
name: string;
|
5094
5298
|
picture?: string | undefined;
|
5095
5299
|
additionalCredentials?: any;
|
5096
5300
|
}>;
|
@@ -5098,8 +5302,8 @@ export declare const chatContract: {
|
|
5098
5302
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5099
5303
|
id: string;
|
5100
5304
|
metadata: {
|
5101
|
-
name: string;
|
5102
5305
|
id: string;
|
5306
|
+
name: string;
|
5103
5307
|
picture?: string | undefined;
|
5104
5308
|
additionalCredentials?: any;
|
5105
5309
|
};
|
@@ -5112,8 +5316,8 @@ export declare const chatContract: {
|
|
5112
5316
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5113
5317
|
id: string;
|
5114
5318
|
metadata: {
|
5115
|
-
name: string;
|
5116
5319
|
id: string;
|
5320
|
+
name: string;
|
5117
5321
|
picture?: string | undefined;
|
5118
5322
|
additionalCredentials?: any;
|
5119
5323
|
};
|
@@ -5423,10 +5627,10 @@ export declare const chatContract: {
|
|
5423
5627
|
};
|
5424
5628
|
}>, "many">>;
|
5425
5629
|
}, "strip", z.ZodTypeAny, {
|
5426
|
-
name: string;
|
5427
5630
|
id: string;
|
5428
5631
|
channel: string | null;
|
5429
5632
|
address: string | null;
|
5633
|
+
name: string;
|
5430
5634
|
createdAt: Date;
|
5431
5635
|
updatedAt: Date;
|
5432
5636
|
deletedAt: Date | null;
|
@@ -5471,8 +5675,8 @@ export declare const chatContract: {
|
|
5471
5675
|
createdAt: Date;
|
5472
5676
|
updatedAt: Date;
|
5473
5677
|
deletedAt: Date | null;
|
5474
|
-
name?: string | undefined;
|
5475
5678
|
address?: string | null | undefined;
|
5679
|
+
name?: string | undefined;
|
5476
5680
|
phone?: string | null | undefined;
|
5477
5681
|
industry?: string | null | undefined;
|
5478
5682
|
} | null;
|
@@ -5480,8 +5684,8 @@ export declare const chatContract: {
|
|
5480
5684
|
contactProfile: string | null;
|
5481
5685
|
socialProfileUrl: string | null;
|
5482
5686
|
tags: {
|
5483
|
-
name: string;
|
5484
5687
|
id: string;
|
5688
|
+
name: string;
|
5485
5689
|
createdAt: Date;
|
5486
5690
|
updatedAt: Date;
|
5487
5691
|
deletedAt: Date | null;
|
@@ -5506,8 +5710,8 @@ export declare const chatContract: {
|
|
5506
5710
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5507
5711
|
id: string;
|
5508
5712
|
metadata: {
|
5509
|
-
name: string;
|
5510
5713
|
id: string;
|
5714
|
+
name: string;
|
5511
5715
|
picture?: string | undefined;
|
5512
5716
|
additionalCredentials?: any;
|
5513
5717
|
};
|
@@ -5534,10 +5738,10 @@ export declare const chatContract: {
|
|
5534
5738
|
};
|
5535
5739
|
}[] | undefined;
|
5536
5740
|
}, {
|
5537
|
-
name: string;
|
5538
5741
|
id: string;
|
5539
5742
|
channel: string | null;
|
5540
5743
|
address: string | null;
|
5744
|
+
name: string;
|
5541
5745
|
createdAt: Date;
|
5542
5746
|
updatedAt: Date;
|
5543
5747
|
deletedAt: Date | null;
|
@@ -5582,8 +5786,8 @@ export declare const chatContract: {
|
|
5582
5786
|
createdAt: Date;
|
5583
5787
|
updatedAt: Date;
|
5584
5788
|
deletedAt: Date | null;
|
5585
|
-
name?: string | undefined;
|
5586
5789
|
address?: string | null | undefined;
|
5790
|
+
name?: string | undefined;
|
5587
5791
|
phone?: string | null | undefined;
|
5588
5792
|
industry?: string | null | undefined;
|
5589
5793
|
} | null;
|
@@ -5591,8 +5795,8 @@ export declare const chatContract: {
|
|
5591
5795
|
contactProfile: string | null;
|
5592
5796
|
socialProfileUrl: string | null;
|
5593
5797
|
tags: {
|
5594
|
-
name: string;
|
5595
5798
|
id: string;
|
5799
|
+
name: string;
|
5596
5800
|
createdAt: Date;
|
5597
5801
|
updatedAt: Date;
|
5598
5802
|
deletedAt: Date | null;
|
@@ -5617,8 +5821,8 @@ export declare const chatContract: {
|
|
5617
5821
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5618
5822
|
id: string;
|
5619
5823
|
metadata: {
|
5620
|
-
name: string;
|
5621
5824
|
id: string;
|
5825
|
+
name: string;
|
5622
5826
|
picture?: string | undefined;
|
5623
5827
|
additionalCredentials?: any;
|
5624
5828
|
};
|
@@ -5649,8 +5853,8 @@ export declare const chatContract: {
|
|
5649
5853
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5650
5854
|
id: string;
|
5651
5855
|
metadata: {
|
5652
|
-
name: string;
|
5653
5856
|
id: string;
|
5857
|
+
name: string;
|
5654
5858
|
picture?: string | undefined;
|
5655
5859
|
additionalCredentials?: any;
|
5656
5860
|
};
|
@@ -5658,10 +5862,10 @@ export declare const chatContract: {
|
|
5658
5862
|
updatedAt: Date;
|
5659
5863
|
deletedAt: Date | null;
|
5660
5864
|
contact: {
|
5661
|
-
name: string;
|
5662
5865
|
id: string;
|
5663
5866
|
channel: string | null;
|
5664
5867
|
address: string | null;
|
5868
|
+
name: string;
|
5665
5869
|
createdAt: Date;
|
5666
5870
|
updatedAt: Date;
|
5667
5871
|
deletedAt: Date | null;
|
@@ -5706,8 +5910,8 @@ export declare const chatContract: {
|
|
5706
5910
|
createdAt: Date;
|
5707
5911
|
updatedAt: Date;
|
5708
5912
|
deletedAt: Date | null;
|
5709
|
-
name?: string | undefined;
|
5710
5913
|
address?: string | null | undefined;
|
5914
|
+
name?: string | undefined;
|
5711
5915
|
phone?: string | null | undefined;
|
5712
5916
|
industry?: string | null | undefined;
|
5713
5917
|
} | null;
|
@@ -5715,8 +5919,8 @@ export declare const chatContract: {
|
|
5715
5919
|
contactProfile: string | null;
|
5716
5920
|
socialProfileUrl: string | null;
|
5717
5921
|
tags: {
|
5718
|
-
name: string;
|
5719
5922
|
id: string;
|
5923
|
+
name: string;
|
5720
5924
|
createdAt: Date;
|
5721
5925
|
updatedAt: Date;
|
5722
5926
|
deletedAt: Date | null;
|
@@ -5741,8 +5945,8 @@ export declare const chatContract: {
|
|
5741
5945
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5742
5946
|
id: string;
|
5743
5947
|
metadata: {
|
5744
|
-
name: string;
|
5745
5948
|
id: string;
|
5949
|
+
name: string;
|
5746
5950
|
picture?: string | undefined;
|
5747
5951
|
additionalCredentials?: any;
|
5748
5952
|
};
|
@@ -5775,8 +5979,8 @@ export declare const chatContract: {
|
|
5775
5979
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5776
5980
|
id: string;
|
5777
5981
|
metadata: {
|
5778
|
-
name: string;
|
5779
5982
|
id: string;
|
5983
|
+
name: string;
|
5780
5984
|
picture?: string | undefined;
|
5781
5985
|
additionalCredentials?: any;
|
5782
5986
|
};
|
@@ -5784,10 +5988,10 @@ export declare const chatContract: {
|
|
5784
5988
|
updatedAt: Date;
|
5785
5989
|
deletedAt: Date | null;
|
5786
5990
|
contact: {
|
5787
|
-
name: string;
|
5788
5991
|
id: string;
|
5789
5992
|
channel: string | null;
|
5790
5993
|
address: string | null;
|
5994
|
+
name: string;
|
5791
5995
|
createdAt: Date;
|
5792
5996
|
updatedAt: Date;
|
5793
5997
|
deletedAt: Date | null;
|
@@ -5832,8 +6036,8 @@ export declare const chatContract: {
|
|
5832
6036
|
createdAt: Date;
|
5833
6037
|
updatedAt: Date;
|
5834
6038
|
deletedAt: Date | null;
|
5835
|
-
name?: string | undefined;
|
5836
6039
|
address?: string | null | undefined;
|
6040
|
+
name?: string | undefined;
|
5837
6041
|
phone?: string | null | undefined;
|
5838
6042
|
industry?: string | null | undefined;
|
5839
6043
|
} | null;
|
@@ -5841,8 +6045,8 @@ export declare const chatContract: {
|
|
5841
6045
|
contactProfile: string | null;
|
5842
6046
|
socialProfileUrl: string | null;
|
5843
6047
|
tags: {
|
5844
|
-
name: string;
|
5845
6048
|
id: string;
|
6049
|
+
name: string;
|
5846
6050
|
createdAt: Date;
|
5847
6051
|
updatedAt: Date;
|
5848
6052
|
deletedAt: Date | null;
|
@@ -5867,8 +6071,8 @@ export declare const chatContract: {
|
|
5867
6071
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5868
6072
|
id: string;
|
5869
6073
|
metadata: {
|
5870
|
-
name: string;
|
5871
6074
|
id: string;
|
6075
|
+
name: string;
|
5872
6076
|
picture?: string | undefined;
|
5873
6077
|
additionalCredentials?: any;
|
5874
6078
|
};
|
@@ -6016,9 +6220,9 @@ export declare const chatContract: {
|
|
6016
6220
|
telephonySignature: string | null;
|
6017
6221
|
}>;
|
6018
6222
|
}, "strip", z.ZodTypeAny, {
|
6019
|
-
name: string;
|
6020
6223
|
id: string;
|
6021
6224
|
address: string | null;
|
6225
|
+
name: string;
|
6022
6226
|
email: string;
|
6023
6227
|
createdAt: Date;
|
6024
6228
|
updatedAt: Date;
|
@@ -6059,9 +6263,9 @@ export declare const chatContract: {
|
|
6059
6263
|
telephonySignature: string | null;
|
6060
6264
|
};
|
6061
6265
|
}, {
|
6062
|
-
name: string;
|
6063
6266
|
id: string;
|
6064
6267
|
address: string | null;
|
6268
|
+
name: string;
|
6065
6269
|
email: string;
|
6066
6270
|
createdAt: Date;
|
6067
6271
|
updatedAt: Date;
|
@@ -6119,8 +6323,12 @@ export declare const chatContract: {
|
|
6119
6323
|
agentId: z.ZodNullable<z.ZodString>;
|
6120
6324
|
direction: z.ZodNullable<z.ZodString>;
|
6121
6325
|
startedDate: z.ZodNullable<z.ZodDate>;
|
6326
|
+
totalHoldDuration: z.ZodNullable<z.ZodNumber>;
|
6122
6327
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
6328
|
+
fullHandledTime: z.ZodNullable<z.ZodNumber>;
|
6123
6329
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
6330
|
+
resolutionTime: z.ZodNullable<z.ZodNumber>;
|
6331
|
+
fullResolutionTime: z.ZodNullable<z.ZodNumber>;
|
6124
6332
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
6125
6333
|
id: z.ZodString;
|
6126
6334
|
createdAt: z.ZodDate;
|
@@ -6136,14 +6344,14 @@ export declare const chatContract: {
|
|
6136
6344
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6137
6345
|
name: z.ZodString;
|
6138
6346
|
}, "strip", z.ZodTypeAny, {
|
6139
|
-
name: string;
|
6140
6347
|
id: string;
|
6348
|
+
name: string;
|
6141
6349
|
createdAt: Date;
|
6142
6350
|
updatedAt: Date;
|
6143
6351
|
deletedAt: Date | null;
|
6144
6352
|
}, {
|
6145
|
-
name: string;
|
6146
6353
|
id: string;
|
6354
|
+
name: string;
|
6147
6355
|
createdAt: Date;
|
6148
6356
|
updatedAt: Date;
|
6149
6357
|
deletedAt: Date | null;
|
@@ -6314,8 +6522,8 @@ export declare const chatContract: {
|
|
6314
6522
|
}[];
|
6315
6523
|
}[];
|
6316
6524
|
tags: {
|
6317
|
-
name: string;
|
6318
6525
|
id: string;
|
6526
|
+
name: string;
|
6319
6527
|
createdAt: Date;
|
6320
6528
|
updatedAt: Date;
|
6321
6529
|
deletedAt: Date | null;
|
@@ -6365,8 +6573,8 @@ export declare const chatContract: {
|
|
6365
6573
|
}[];
|
6366
6574
|
}[];
|
6367
6575
|
tags: {
|
6368
|
-
name: string;
|
6369
6576
|
id: string;
|
6577
|
+
name: string;
|
6370
6578
|
createdAt: Date;
|
6371
6579
|
updatedAt: Date;
|
6372
6580
|
deletedAt: Date | null;
|
@@ -6387,6 +6595,74 @@ export declare const chatContract: {
|
|
6387
6595
|
dateValue: Date | null;
|
6388
6596
|
}[] | null | undefined;
|
6389
6597
|
}>>;
|
6598
|
+
holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
6599
|
+
id: z.ZodString;
|
6600
|
+
createdAt: z.ZodDate;
|
6601
|
+
updatedAt: z.ZodDate;
|
6602
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6603
|
+
startedAt: z.ZodString;
|
6604
|
+
endedAt: z.ZodNullable<z.ZodString>;
|
6605
|
+
duration: z.ZodNullable<z.ZodNumber>;
|
6606
|
+
holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
6607
|
+
id: z.ZodString;
|
6608
|
+
createdAt: z.ZodDate;
|
6609
|
+
updatedAt: z.ZodDate;
|
6610
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
6611
|
+
name: z.ZodString;
|
6612
|
+
position: z.ZodNumber;
|
6613
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
6614
|
+
}, "strip", z.ZodTypeAny, {
|
6615
|
+
id: string;
|
6616
|
+
name: string;
|
6617
|
+
position: number;
|
6618
|
+
createdAt: Date;
|
6619
|
+
updatedAt: Date;
|
6620
|
+
deletedAt: Date | null;
|
6621
|
+
isDefault: boolean;
|
6622
|
+
}, {
|
6623
|
+
id: string;
|
6624
|
+
name: string;
|
6625
|
+
position: number;
|
6626
|
+
createdAt: Date;
|
6627
|
+
updatedAt: Date;
|
6628
|
+
deletedAt: Date | null;
|
6629
|
+
isDefault?: boolean | undefined;
|
6630
|
+
}>>>;
|
6631
|
+
}, "strip", z.ZodTypeAny, {
|
6632
|
+
id: string;
|
6633
|
+
createdAt: Date;
|
6634
|
+
updatedAt: Date;
|
6635
|
+
deletedAt: Date | null;
|
6636
|
+
startedAt: string;
|
6637
|
+
endedAt: string | null;
|
6638
|
+
duration: number | null;
|
6639
|
+
holdLabel?: {
|
6640
|
+
id: string;
|
6641
|
+
name: string;
|
6642
|
+
position: number;
|
6643
|
+
createdAt: Date;
|
6644
|
+
updatedAt: Date;
|
6645
|
+
deletedAt: Date | null;
|
6646
|
+
isDefault: boolean;
|
6647
|
+
} | null | undefined;
|
6648
|
+
}, {
|
6649
|
+
id: string;
|
6650
|
+
createdAt: Date;
|
6651
|
+
updatedAt: Date;
|
6652
|
+
deletedAt: Date | null;
|
6653
|
+
startedAt: string;
|
6654
|
+
endedAt: string | null;
|
6655
|
+
duration: number | null;
|
6656
|
+
holdLabel?: {
|
6657
|
+
id: string;
|
6658
|
+
name: string;
|
6659
|
+
position: number;
|
6660
|
+
createdAt: Date;
|
6661
|
+
updatedAt: Date;
|
6662
|
+
deletedAt: Date | null;
|
6663
|
+
isDefault?: boolean | undefined;
|
6664
|
+
} | null | undefined;
|
6665
|
+
}>, "many">>>;
|
6390
6666
|
}, "strip", z.ZodTypeAny, {
|
6391
6667
|
id: string;
|
6392
6668
|
channel: string | null;
|
@@ -6401,8 +6677,12 @@ export declare const chatContract: {
|
|
6401
6677
|
entityName: string;
|
6402
6678
|
agentId: string | null;
|
6403
6679
|
startedDate: Date | null;
|
6680
|
+
totalHoldDuration: number | null;
|
6404
6681
|
handledTime: number | null;
|
6682
|
+
fullHandledTime: number | null;
|
6405
6683
|
firstResponseTime: number | null;
|
6684
|
+
resolutionTime: number | null;
|
6685
|
+
fullResolutionTime: number | null;
|
6406
6686
|
wrapUpForm: {
|
6407
6687
|
type: string;
|
6408
6688
|
id: string;
|
@@ -6433,8 +6713,8 @@ export declare const chatContract: {
|
|
6433
6713
|
}[];
|
6434
6714
|
}[];
|
6435
6715
|
tags: {
|
6436
|
-
name: string;
|
6437
6716
|
id: string;
|
6717
|
+
name: string;
|
6438
6718
|
createdAt: Date;
|
6439
6719
|
updatedAt: Date;
|
6440
6720
|
deletedAt: Date | null;
|
@@ -6455,6 +6735,24 @@ export declare const chatContract: {
|
|
6455
6735
|
dateValue: Date | null;
|
6456
6736
|
}[] | null | undefined;
|
6457
6737
|
} | null;
|
6738
|
+
holdLogs?: {
|
6739
|
+
id: string;
|
6740
|
+
createdAt: Date;
|
6741
|
+
updatedAt: Date;
|
6742
|
+
deletedAt: Date | null;
|
6743
|
+
startedAt: string;
|
6744
|
+
endedAt: string | null;
|
6745
|
+
duration: number | null;
|
6746
|
+
holdLabel?: {
|
6747
|
+
id: string;
|
6748
|
+
name: string;
|
6749
|
+
position: number;
|
6750
|
+
createdAt: Date;
|
6751
|
+
updatedAt: Date;
|
6752
|
+
deletedAt: Date | null;
|
6753
|
+
isDefault: boolean;
|
6754
|
+
} | null | undefined;
|
6755
|
+
}[] | null | undefined;
|
6458
6756
|
}, {
|
6459
6757
|
id: string;
|
6460
6758
|
channel: string | null;
|
@@ -6469,8 +6767,12 @@ export declare const chatContract: {
|
|
6469
6767
|
entityName: string;
|
6470
6768
|
agentId: string | null;
|
6471
6769
|
startedDate: Date | null;
|
6770
|
+
totalHoldDuration: number | null;
|
6472
6771
|
handledTime: number | null;
|
6772
|
+
fullHandledTime: number | null;
|
6473
6773
|
firstResponseTime: number | null;
|
6774
|
+
resolutionTime: number | null;
|
6775
|
+
fullResolutionTime: number | null;
|
6474
6776
|
wrapUpForm: {
|
6475
6777
|
type: string;
|
6476
6778
|
id: string;
|
@@ -6501,8 +6803,8 @@ export declare const chatContract: {
|
|
6501
6803
|
}[];
|
6502
6804
|
}[];
|
6503
6805
|
tags: {
|
6504
|
-
name: string;
|
6505
6806
|
id: string;
|
6807
|
+
name: string;
|
6506
6808
|
createdAt: Date;
|
6507
6809
|
updatedAt: Date;
|
6508
6810
|
deletedAt: Date | null;
|
@@ -6523,6 +6825,24 @@ export declare const chatContract: {
|
|
6523
6825
|
dateValue: Date | null;
|
6524
6826
|
}[] | null | undefined;
|
6525
6827
|
} | null;
|
6828
|
+
holdLogs?: {
|
6829
|
+
id: string;
|
6830
|
+
createdAt: Date;
|
6831
|
+
updatedAt: Date;
|
6832
|
+
deletedAt: Date | null;
|
6833
|
+
startedAt: string;
|
6834
|
+
endedAt: string | null;
|
6835
|
+
duration: number | null;
|
6836
|
+
holdLabel?: {
|
6837
|
+
id: string;
|
6838
|
+
name: string;
|
6839
|
+
position: number;
|
6840
|
+
createdAt: Date;
|
6841
|
+
updatedAt: Date;
|
6842
|
+
deletedAt: Date | null;
|
6843
|
+
isDefault?: boolean | undefined;
|
6844
|
+
} | null | undefined;
|
6845
|
+
}[] | null | undefined;
|
6526
6846
|
}>;
|
6527
6847
|
workflowRule: z.ZodObject<{
|
6528
6848
|
id: z.ZodString;
|
@@ -6533,17 +6853,17 @@ export declare const chatContract: {
|
|
6533
6853
|
isActive: z.ZodBoolean;
|
6534
6854
|
type: z.ZodString;
|
6535
6855
|
}, "strip", z.ZodTypeAny, {
|
6536
|
-
name: string;
|
6537
6856
|
type: string;
|
6538
6857
|
id: string;
|
6858
|
+
name: string;
|
6539
6859
|
createdAt: Date;
|
6540
6860
|
updatedAt: Date;
|
6541
6861
|
deletedAt: Date | null;
|
6542
6862
|
isActive: boolean;
|
6543
6863
|
}, {
|
6544
|
-
name: string;
|
6545
6864
|
type: string;
|
6546
6865
|
id: string;
|
6866
|
+
name: string;
|
6547
6867
|
createdAt: Date;
|
6548
6868
|
updatedAt: Date;
|
6549
6869
|
deletedAt: Date | null;
|
@@ -6554,12 +6874,12 @@ export declare const chatContract: {
|
|
6554
6874
|
}, "strip", z.ZodTypeAny, {
|
6555
6875
|
id: string;
|
6556
6876
|
channel: {
|
6557
|
-
name: string;
|
6558
6877
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6559
6878
|
id: string;
|
6879
|
+
name: string;
|
6560
6880
|
metadata: {
|
6561
|
-
name: string;
|
6562
6881
|
id: string;
|
6882
|
+
name: string;
|
6563
6883
|
accessToken?: string | undefined;
|
6564
6884
|
channelSecret?: string | undefined;
|
6565
6885
|
additionalCredentials?: any;
|
@@ -6588,9 +6908,9 @@ export declare const chatContract: {
|
|
6588
6908
|
updatedAt: Date;
|
6589
6909
|
deletedAt: Date | null;
|
6590
6910
|
actor: {
|
6591
|
-
name: string;
|
6592
6911
|
id: string;
|
6593
6912
|
address: string | null;
|
6913
|
+
name: string;
|
6594
6914
|
email: string;
|
6595
6915
|
createdAt: Date;
|
6596
6916
|
updatedAt: Date;
|
@@ -6637,8 +6957,8 @@ export declare const chatContract: {
|
|
6637
6957
|
connectedUserName: string;
|
6638
6958
|
connectedUserId: string;
|
6639
6959
|
botpressBot: {
|
6640
|
-
name: string;
|
6641
6960
|
id: string;
|
6961
|
+
name: string;
|
6642
6962
|
accessToken: string;
|
6643
6963
|
botId: string;
|
6644
6964
|
integrationId: string;
|
@@ -6650,9 +6970,9 @@ export declare const chatContract: {
|
|
6650
6970
|
updatedAt: Date;
|
6651
6971
|
deletedAt: Date | null;
|
6652
6972
|
actor: {
|
6653
|
-
name: string;
|
6654
6973
|
id: string;
|
6655
6974
|
address: string | null;
|
6975
|
+
name: string;
|
6656
6976
|
email: string;
|
6657
6977
|
createdAt: Date;
|
6658
6978
|
updatedAt: Date;
|
@@ -6703,8 +7023,8 @@ export declare const chatContract: {
|
|
6703
7023
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6704
7024
|
id: string;
|
6705
7025
|
metadata: {
|
6706
|
-
name: string;
|
6707
7026
|
id: string;
|
7027
|
+
name: string;
|
6708
7028
|
picture?: string | undefined;
|
6709
7029
|
additionalCredentials?: any;
|
6710
7030
|
};
|
@@ -6712,10 +7032,10 @@ export declare const chatContract: {
|
|
6712
7032
|
updatedAt: Date;
|
6713
7033
|
deletedAt: Date | null;
|
6714
7034
|
contact: {
|
6715
|
-
name: string;
|
6716
7035
|
id: string;
|
6717
7036
|
channel: string | null;
|
6718
7037
|
address: string | null;
|
7038
|
+
name: string;
|
6719
7039
|
createdAt: Date;
|
6720
7040
|
updatedAt: Date;
|
6721
7041
|
deletedAt: Date | null;
|
@@ -6760,8 +7080,8 @@ export declare const chatContract: {
|
|
6760
7080
|
createdAt: Date;
|
6761
7081
|
updatedAt: Date;
|
6762
7082
|
deletedAt: Date | null;
|
6763
|
-
name?: string | undefined;
|
6764
7083
|
address?: string | null | undefined;
|
7084
|
+
name?: string | undefined;
|
6765
7085
|
phone?: string | null | undefined;
|
6766
7086
|
industry?: string | null | undefined;
|
6767
7087
|
} | null;
|
@@ -6769,8 +7089,8 @@ export declare const chatContract: {
|
|
6769
7089
|
contactProfile: string | null;
|
6770
7090
|
socialProfileUrl: string | null;
|
6771
7091
|
tags: {
|
6772
|
-
name: string;
|
6773
7092
|
id: string;
|
7093
|
+
name: string;
|
6774
7094
|
createdAt: Date;
|
6775
7095
|
updatedAt: Date;
|
6776
7096
|
deletedAt: Date | null;
|
@@ -6795,8 +7115,8 @@ export declare const chatContract: {
|
|
6795
7115
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6796
7116
|
id: string;
|
6797
7117
|
metadata: {
|
6798
|
-
name: string;
|
6799
7118
|
id: string;
|
7119
|
+
name: string;
|
6800
7120
|
picture?: string | undefined;
|
6801
7121
|
additionalCredentials?: any;
|
6802
7122
|
};
|
@@ -6827,9 +7147,9 @@ export declare const chatContract: {
|
|
6827
7147
|
socialPlatformId: string;
|
6828
7148
|
};
|
6829
7149
|
assignee: {
|
6830
|
-
name: string;
|
6831
7150
|
id: string;
|
6832
7151
|
address: string | null;
|
7152
|
+
name: string;
|
6833
7153
|
email: string;
|
6834
7154
|
createdAt: Date;
|
6835
7155
|
updatedAt: Date;
|
@@ -6887,8 +7207,12 @@ export declare const chatContract: {
|
|
6887
7207
|
entityName: string;
|
6888
7208
|
agentId: string | null;
|
6889
7209
|
startedDate: Date | null;
|
7210
|
+
totalHoldDuration: number | null;
|
6890
7211
|
handledTime: number | null;
|
7212
|
+
fullHandledTime: number | null;
|
6891
7213
|
firstResponseTime: number | null;
|
7214
|
+
resolutionTime: number | null;
|
7215
|
+
fullResolutionTime: number | null;
|
6892
7216
|
wrapUpForm: {
|
6893
7217
|
type: string;
|
6894
7218
|
id: string;
|
@@ -6919,8 +7243,8 @@ export declare const chatContract: {
|
|
6919
7243
|
}[];
|
6920
7244
|
}[];
|
6921
7245
|
tags: {
|
6922
|
-
name: string;
|
6923
7246
|
id: string;
|
7247
|
+
name: string;
|
6924
7248
|
createdAt: Date;
|
6925
7249
|
updatedAt: Date;
|
6926
7250
|
deletedAt: Date | null;
|
@@ -6941,11 +7265,29 @@ export declare const chatContract: {
|
|
6941
7265
|
dateValue: Date | null;
|
6942
7266
|
}[] | null | undefined;
|
6943
7267
|
} | null;
|
7268
|
+
holdLogs?: {
|
7269
|
+
id: string;
|
7270
|
+
createdAt: Date;
|
7271
|
+
updatedAt: Date;
|
7272
|
+
deletedAt: Date | null;
|
7273
|
+
startedAt: string;
|
7274
|
+
endedAt: string | null;
|
7275
|
+
duration: number | null;
|
7276
|
+
holdLabel?: {
|
7277
|
+
id: string;
|
7278
|
+
name: string;
|
7279
|
+
position: number;
|
7280
|
+
createdAt: Date;
|
7281
|
+
updatedAt: Date;
|
7282
|
+
deletedAt: Date | null;
|
7283
|
+
isDefault: boolean;
|
7284
|
+
} | null | undefined;
|
7285
|
+
}[] | null | undefined;
|
6944
7286
|
};
|
6945
7287
|
workflowRule: {
|
6946
|
-
name: string;
|
6947
7288
|
type: string;
|
6948
7289
|
id: string;
|
7290
|
+
name: string;
|
6949
7291
|
createdAt: Date;
|
6950
7292
|
updatedAt: Date;
|
6951
7293
|
deletedAt: Date | null;
|
@@ -6956,12 +7298,12 @@ export declare const chatContract: {
|
|
6956
7298
|
}, {
|
6957
7299
|
id: string;
|
6958
7300
|
channel: {
|
6959
|
-
name: string;
|
6960
7301
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6961
7302
|
id: string;
|
7303
|
+
name: string;
|
6962
7304
|
metadata: {
|
6963
|
-
name: string;
|
6964
7305
|
id: string;
|
7306
|
+
name: string;
|
6965
7307
|
accessToken?: string | undefined;
|
6966
7308
|
channelSecret?: string | undefined;
|
6967
7309
|
additionalCredentials?: any;
|
@@ -6990,9 +7332,9 @@ export declare const chatContract: {
|
|
6990
7332
|
updatedAt: Date;
|
6991
7333
|
deletedAt: Date | null;
|
6992
7334
|
actor: {
|
6993
|
-
name: string;
|
6994
7335
|
id: string;
|
6995
7336
|
address: string | null;
|
7337
|
+
name: string;
|
6996
7338
|
email: string;
|
6997
7339
|
createdAt: Date;
|
6998
7340
|
updatedAt: Date;
|
@@ -7039,8 +7381,8 @@ export declare const chatContract: {
|
|
7039
7381
|
connectedUserName: string;
|
7040
7382
|
connectedUserId: string;
|
7041
7383
|
botpressBot: {
|
7042
|
-
name: string;
|
7043
7384
|
id: string;
|
7385
|
+
name: string;
|
7044
7386
|
accessToken: string;
|
7045
7387
|
botId: string;
|
7046
7388
|
integrationId: string;
|
@@ -7052,9 +7394,9 @@ export declare const chatContract: {
|
|
7052
7394
|
updatedAt: Date;
|
7053
7395
|
deletedAt: Date | null;
|
7054
7396
|
actor: {
|
7055
|
-
name: string;
|
7056
7397
|
id: string;
|
7057
7398
|
address: string | null;
|
7399
|
+
name: string;
|
7058
7400
|
email: string;
|
7059
7401
|
createdAt: Date;
|
7060
7402
|
updatedAt: Date;
|
@@ -7105,8 +7447,8 @@ export declare const chatContract: {
|
|
7105
7447
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7106
7448
|
id: string;
|
7107
7449
|
metadata: {
|
7108
|
-
name: string;
|
7109
7450
|
id: string;
|
7451
|
+
name: string;
|
7110
7452
|
picture?: string | undefined;
|
7111
7453
|
additionalCredentials?: any;
|
7112
7454
|
};
|
@@ -7114,10 +7456,10 @@ export declare const chatContract: {
|
|
7114
7456
|
updatedAt: Date;
|
7115
7457
|
deletedAt: Date | null;
|
7116
7458
|
contact: {
|
7117
|
-
name: string;
|
7118
7459
|
id: string;
|
7119
7460
|
channel: string | null;
|
7120
7461
|
address: string | null;
|
7462
|
+
name: string;
|
7121
7463
|
createdAt: Date;
|
7122
7464
|
updatedAt: Date;
|
7123
7465
|
deletedAt: Date | null;
|
@@ -7162,8 +7504,8 @@ export declare const chatContract: {
|
|
7162
7504
|
createdAt: Date;
|
7163
7505
|
updatedAt: Date;
|
7164
7506
|
deletedAt: Date | null;
|
7165
|
-
name?: string | undefined;
|
7166
7507
|
address?: string | null | undefined;
|
7508
|
+
name?: string | undefined;
|
7167
7509
|
phone?: string | null | undefined;
|
7168
7510
|
industry?: string | null | undefined;
|
7169
7511
|
} | null;
|
@@ -7171,8 +7513,8 @@ export declare const chatContract: {
|
|
7171
7513
|
contactProfile: string | null;
|
7172
7514
|
socialProfileUrl: string | null;
|
7173
7515
|
tags: {
|
7174
|
-
name: string;
|
7175
7516
|
id: string;
|
7517
|
+
name: string;
|
7176
7518
|
createdAt: Date;
|
7177
7519
|
updatedAt: Date;
|
7178
7520
|
deletedAt: Date | null;
|
@@ -7197,8 +7539,8 @@ export declare const chatContract: {
|
|
7197
7539
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7198
7540
|
id: string;
|
7199
7541
|
metadata: {
|
7200
|
-
name: string;
|
7201
7542
|
id: string;
|
7543
|
+
name: string;
|
7202
7544
|
picture?: string | undefined;
|
7203
7545
|
additionalCredentials?: any;
|
7204
7546
|
};
|
@@ -7229,9 +7571,9 @@ export declare const chatContract: {
|
|
7229
7571
|
socialPlatformId: string;
|
7230
7572
|
};
|
7231
7573
|
assignee: {
|
7232
|
-
name: string;
|
7233
7574
|
id: string;
|
7234
7575
|
address: string | null;
|
7576
|
+
name: string;
|
7235
7577
|
email: string;
|
7236
7578
|
createdAt: Date;
|
7237
7579
|
updatedAt: Date;
|
@@ -7289,8 +7631,12 @@ export declare const chatContract: {
|
|
7289
7631
|
entityName: string;
|
7290
7632
|
agentId: string | null;
|
7291
7633
|
startedDate: Date | null;
|
7634
|
+
totalHoldDuration: number | null;
|
7292
7635
|
handledTime: number | null;
|
7636
|
+
fullHandledTime: number | null;
|
7293
7637
|
firstResponseTime: number | null;
|
7638
|
+
resolutionTime: number | null;
|
7639
|
+
fullResolutionTime: number | null;
|
7294
7640
|
wrapUpForm: {
|
7295
7641
|
type: string;
|
7296
7642
|
id: string;
|
@@ -7321,8 +7667,8 @@ export declare const chatContract: {
|
|
7321
7667
|
}[];
|
7322
7668
|
}[];
|
7323
7669
|
tags: {
|
7324
|
-
name: string;
|
7325
7670
|
id: string;
|
7671
|
+
name: string;
|
7326
7672
|
createdAt: Date;
|
7327
7673
|
updatedAt: Date;
|
7328
7674
|
deletedAt: Date | null;
|
@@ -7343,11 +7689,29 @@ export declare const chatContract: {
|
|
7343
7689
|
dateValue: Date | null;
|
7344
7690
|
}[] | null | undefined;
|
7345
7691
|
} | null;
|
7692
|
+
holdLogs?: {
|
7693
|
+
id: string;
|
7694
|
+
createdAt: Date;
|
7695
|
+
updatedAt: Date;
|
7696
|
+
deletedAt: Date | null;
|
7697
|
+
startedAt: string;
|
7698
|
+
endedAt: string | null;
|
7699
|
+
duration: number | null;
|
7700
|
+
holdLabel?: {
|
7701
|
+
id: string;
|
7702
|
+
name: string;
|
7703
|
+
position: number;
|
7704
|
+
createdAt: Date;
|
7705
|
+
updatedAt: Date;
|
7706
|
+
deletedAt: Date | null;
|
7707
|
+
isDefault?: boolean | undefined;
|
7708
|
+
} | null | undefined;
|
7709
|
+
}[] | null | undefined;
|
7346
7710
|
};
|
7347
7711
|
workflowRule: {
|
7348
|
-
name: string;
|
7349
7712
|
type: string;
|
7350
7713
|
id: string;
|
7714
|
+
name: string;
|
7351
7715
|
createdAt: Date;
|
7352
7716
|
updatedAt: Date;
|
7353
7717
|
deletedAt: Date | null;
|
@@ -7360,12 +7724,12 @@ export declare const chatContract: {
|
|
7360
7724
|
data: {
|
7361
7725
|
id: string;
|
7362
7726
|
channel: {
|
7363
|
-
name: string;
|
7364
7727
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7365
7728
|
id: string;
|
7729
|
+
name: string;
|
7366
7730
|
metadata: {
|
7367
|
-
name: string;
|
7368
7731
|
id: string;
|
7732
|
+
name: string;
|
7369
7733
|
accessToken?: string | undefined;
|
7370
7734
|
channelSecret?: string | undefined;
|
7371
7735
|
additionalCredentials?: any;
|
@@ -7394,9 +7758,9 @@ export declare const chatContract: {
|
|
7394
7758
|
updatedAt: Date;
|
7395
7759
|
deletedAt: Date | null;
|
7396
7760
|
actor: {
|
7397
|
-
name: string;
|
7398
7761
|
id: string;
|
7399
7762
|
address: string | null;
|
7763
|
+
name: string;
|
7400
7764
|
email: string;
|
7401
7765
|
createdAt: Date;
|
7402
7766
|
updatedAt: Date;
|
@@ -7443,8 +7807,8 @@ export declare const chatContract: {
|
|
7443
7807
|
connectedUserName: string;
|
7444
7808
|
connectedUserId: string;
|
7445
7809
|
botpressBot: {
|
7446
|
-
name: string;
|
7447
7810
|
id: string;
|
7811
|
+
name: string;
|
7448
7812
|
accessToken: string;
|
7449
7813
|
botId: string;
|
7450
7814
|
integrationId: string;
|
@@ -7456,9 +7820,9 @@ export declare const chatContract: {
|
|
7456
7820
|
updatedAt: Date;
|
7457
7821
|
deletedAt: Date | null;
|
7458
7822
|
actor: {
|
7459
|
-
name: string;
|
7460
7823
|
id: string;
|
7461
7824
|
address: string | null;
|
7825
|
+
name: string;
|
7462
7826
|
email: string;
|
7463
7827
|
createdAt: Date;
|
7464
7828
|
updatedAt: Date;
|
@@ -7509,8 +7873,8 @@ export declare const chatContract: {
|
|
7509
7873
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7510
7874
|
id: string;
|
7511
7875
|
metadata: {
|
7512
|
-
name: string;
|
7513
7876
|
id: string;
|
7877
|
+
name: string;
|
7514
7878
|
picture?: string | undefined;
|
7515
7879
|
additionalCredentials?: any;
|
7516
7880
|
};
|
@@ -7518,10 +7882,10 @@ export declare const chatContract: {
|
|
7518
7882
|
updatedAt: Date;
|
7519
7883
|
deletedAt: Date | null;
|
7520
7884
|
contact: {
|
7521
|
-
name: string;
|
7522
7885
|
id: string;
|
7523
7886
|
channel: string | null;
|
7524
7887
|
address: string | null;
|
7888
|
+
name: string;
|
7525
7889
|
createdAt: Date;
|
7526
7890
|
updatedAt: Date;
|
7527
7891
|
deletedAt: Date | null;
|
@@ -7566,8 +7930,8 @@ export declare const chatContract: {
|
|
7566
7930
|
createdAt: Date;
|
7567
7931
|
updatedAt: Date;
|
7568
7932
|
deletedAt: Date | null;
|
7569
|
-
name?: string | undefined;
|
7570
7933
|
address?: string | null | undefined;
|
7934
|
+
name?: string | undefined;
|
7571
7935
|
phone?: string | null | undefined;
|
7572
7936
|
industry?: string | null | undefined;
|
7573
7937
|
} | null;
|
@@ -7575,8 +7939,8 @@ export declare const chatContract: {
|
|
7575
7939
|
contactProfile: string | null;
|
7576
7940
|
socialProfileUrl: string | null;
|
7577
7941
|
tags: {
|
7578
|
-
name: string;
|
7579
7942
|
id: string;
|
7943
|
+
name: string;
|
7580
7944
|
createdAt: Date;
|
7581
7945
|
updatedAt: Date;
|
7582
7946
|
deletedAt: Date | null;
|
@@ -7601,8 +7965,8 @@ export declare const chatContract: {
|
|
7601
7965
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7602
7966
|
id: string;
|
7603
7967
|
metadata: {
|
7604
|
-
name: string;
|
7605
7968
|
id: string;
|
7969
|
+
name: string;
|
7606
7970
|
picture?: string | undefined;
|
7607
7971
|
additionalCredentials?: any;
|
7608
7972
|
};
|
@@ -7633,9 +7997,9 @@ export declare const chatContract: {
|
|
7633
7997
|
socialPlatformId: string;
|
7634
7998
|
};
|
7635
7999
|
assignee: {
|
7636
|
-
name: string;
|
7637
8000
|
id: string;
|
7638
8001
|
address: string | null;
|
8002
|
+
name: string;
|
7639
8003
|
email: string;
|
7640
8004
|
createdAt: Date;
|
7641
8005
|
updatedAt: Date;
|
@@ -7693,8 +8057,12 @@ export declare const chatContract: {
|
|
7693
8057
|
entityName: string;
|
7694
8058
|
agentId: string | null;
|
7695
8059
|
startedDate: Date | null;
|
8060
|
+
totalHoldDuration: number | null;
|
7696
8061
|
handledTime: number | null;
|
8062
|
+
fullHandledTime: number | null;
|
7697
8063
|
firstResponseTime: number | null;
|
8064
|
+
resolutionTime: number | null;
|
8065
|
+
fullResolutionTime: number | null;
|
7698
8066
|
wrapUpForm: {
|
7699
8067
|
type: string;
|
7700
8068
|
id: string;
|
@@ -7725,8 +8093,8 @@ export declare const chatContract: {
|
|
7725
8093
|
}[];
|
7726
8094
|
}[];
|
7727
8095
|
tags: {
|
7728
|
-
name: string;
|
7729
8096
|
id: string;
|
8097
|
+
name: string;
|
7730
8098
|
createdAt: Date;
|
7731
8099
|
updatedAt: Date;
|
7732
8100
|
deletedAt: Date | null;
|
@@ -7747,11 +8115,29 @@ export declare const chatContract: {
|
|
7747
8115
|
dateValue: Date | null;
|
7748
8116
|
}[] | null | undefined;
|
7749
8117
|
} | null;
|
8118
|
+
holdLogs?: {
|
8119
|
+
id: string;
|
8120
|
+
createdAt: Date;
|
8121
|
+
updatedAt: Date;
|
8122
|
+
deletedAt: Date | null;
|
8123
|
+
startedAt: string;
|
8124
|
+
endedAt: string | null;
|
8125
|
+
duration: number | null;
|
8126
|
+
holdLabel?: {
|
8127
|
+
id: string;
|
8128
|
+
name: string;
|
8129
|
+
position: number;
|
8130
|
+
createdAt: Date;
|
8131
|
+
updatedAt: Date;
|
8132
|
+
deletedAt: Date | null;
|
8133
|
+
isDefault: boolean;
|
8134
|
+
} | null | undefined;
|
8135
|
+
}[] | null | undefined;
|
7750
8136
|
};
|
7751
8137
|
workflowRule: {
|
7752
|
-
name: string;
|
7753
8138
|
type: string;
|
7754
8139
|
id: string;
|
8140
|
+
name: string;
|
7755
8141
|
createdAt: Date;
|
7756
8142
|
updatedAt: Date;
|
7757
8143
|
deletedAt: Date | null;
|
@@ -7765,12 +8151,12 @@ export declare const chatContract: {
|
|
7765
8151
|
data: {
|
7766
8152
|
id: string;
|
7767
8153
|
channel: {
|
7768
|
-
name: string;
|
7769
8154
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7770
8155
|
id: string;
|
8156
|
+
name: string;
|
7771
8157
|
metadata: {
|
7772
|
-
name: string;
|
7773
8158
|
id: string;
|
8159
|
+
name: string;
|
7774
8160
|
accessToken?: string | undefined;
|
7775
8161
|
channelSecret?: string | undefined;
|
7776
8162
|
additionalCredentials?: any;
|
@@ -7799,9 +8185,9 @@ export declare const chatContract: {
|
|
7799
8185
|
updatedAt: Date;
|
7800
8186
|
deletedAt: Date | null;
|
7801
8187
|
actor: {
|
7802
|
-
name: string;
|
7803
8188
|
id: string;
|
7804
8189
|
address: string | null;
|
8190
|
+
name: string;
|
7805
8191
|
email: string;
|
7806
8192
|
createdAt: Date;
|
7807
8193
|
updatedAt: Date;
|
@@ -7848,8 +8234,8 @@ export declare const chatContract: {
|
|
7848
8234
|
connectedUserName: string;
|
7849
8235
|
connectedUserId: string;
|
7850
8236
|
botpressBot: {
|
7851
|
-
name: string;
|
7852
8237
|
id: string;
|
8238
|
+
name: string;
|
7853
8239
|
accessToken: string;
|
7854
8240
|
botId: string;
|
7855
8241
|
integrationId: string;
|
@@ -7861,9 +8247,9 @@ export declare const chatContract: {
|
|
7861
8247
|
updatedAt: Date;
|
7862
8248
|
deletedAt: Date | null;
|
7863
8249
|
actor: {
|
7864
|
-
name: string;
|
7865
8250
|
id: string;
|
7866
8251
|
address: string | null;
|
8252
|
+
name: string;
|
7867
8253
|
email: string;
|
7868
8254
|
createdAt: Date;
|
7869
8255
|
updatedAt: Date;
|
@@ -7914,8 +8300,8 @@ export declare const chatContract: {
|
|
7914
8300
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7915
8301
|
id: string;
|
7916
8302
|
metadata: {
|
7917
|
-
name: string;
|
7918
8303
|
id: string;
|
8304
|
+
name: string;
|
7919
8305
|
picture?: string | undefined;
|
7920
8306
|
additionalCredentials?: any;
|
7921
8307
|
};
|
@@ -7923,10 +8309,10 @@ export declare const chatContract: {
|
|
7923
8309
|
updatedAt: Date;
|
7924
8310
|
deletedAt: Date | null;
|
7925
8311
|
contact: {
|
7926
|
-
name: string;
|
7927
8312
|
id: string;
|
7928
8313
|
channel: string | null;
|
7929
8314
|
address: string | null;
|
8315
|
+
name: string;
|
7930
8316
|
createdAt: Date;
|
7931
8317
|
updatedAt: Date;
|
7932
8318
|
deletedAt: Date | null;
|
@@ -7971,8 +8357,8 @@ export declare const chatContract: {
|
|
7971
8357
|
createdAt: Date;
|
7972
8358
|
updatedAt: Date;
|
7973
8359
|
deletedAt: Date | null;
|
7974
|
-
name?: string | undefined;
|
7975
8360
|
address?: string | null | undefined;
|
8361
|
+
name?: string | undefined;
|
7976
8362
|
phone?: string | null | undefined;
|
7977
8363
|
industry?: string | null | undefined;
|
7978
8364
|
} | null;
|
@@ -7980,8 +8366,8 @@ export declare const chatContract: {
|
|
7980
8366
|
contactProfile: string | null;
|
7981
8367
|
socialProfileUrl: string | null;
|
7982
8368
|
tags: {
|
7983
|
-
name: string;
|
7984
8369
|
id: string;
|
8370
|
+
name: string;
|
7985
8371
|
createdAt: Date;
|
7986
8372
|
updatedAt: Date;
|
7987
8373
|
deletedAt: Date | null;
|
@@ -8006,8 +8392,8 @@ export declare const chatContract: {
|
|
8006
8392
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8007
8393
|
id: string;
|
8008
8394
|
metadata: {
|
8009
|
-
name: string;
|
8010
8395
|
id: string;
|
8396
|
+
name: string;
|
8011
8397
|
picture?: string | undefined;
|
8012
8398
|
additionalCredentials?: any;
|
8013
8399
|
};
|
@@ -8038,9 +8424,9 @@ export declare const chatContract: {
|
|
8038
8424
|
socialPlatformId: string;
|
8039
8425
|
};
|
8040
8426
|
assignee: {
|
8041
|
-
name: string;
|
8042
8427
|
id: string;
|
8043
8428
|
address: string | null;
|
8429
|
+
name: string;
|
8044
8430
|
email: string;
|
8045
8431
|
createdAt: Date;
|
8046
8432
|
updatedAt: Date;
|
@@ -8098,8 +8484,12 @@ export declare const chatContract: {
|
|
8098
8484
|
entityName: string;
|
8099
8485
|
agentId: string | null;
|
8100
8486
|
startedDate: Date | null;
|
8487
|
+
totalHoldDuration: number | null;
|
8101
8488
|
handledTime: number | null;
|
8489
|
+
fullHandledTime: number | null;
|
8102
8490
|
firstResponseTime: number | null;
|
8491
|
+
resolutionTime: number | null;
|
8492
|
+
fullResolutionTime: number | null;
|
8103
8493
|
wrapUpForm: {
|
8104
8494
|
type: string;
|
8105
8495
|
id: string;
|
@@ -8130,8 +8520,8 @@ export declare const chatContract: {
|
|
8130
8520
|
}[];
|
8131
8521
|
}[];
|
8132
8522
|
tags: {
|
8133
|
-
name: string;
|
8134
8523
|
id: string;
|
8524
|
+
name: string;
|
8135
8525
|
createdAt: Date;
|
8136
8526
|
updatedAt: Date;
|
8137
8527
|
deletedAt: Date | null;
|
@@ -8152,11 +8542,29 @@ export declare const chatContract: {
|
|
8152
8542
|
dateValue: Date | null;
|
8153
8543
|
}[] | null | undefined;
|
8154
8544
|
} | null;
|
8545
|
+
holdLogs?: {
|
8546
|
+
id: string;
|
8547
|
+
createdAt: Date;
|
8548
|
+
updatedAt: Date;
|
8549
|
+
deletedAt: Date | null;
|
8550
|
+
startedAt: string;
|
8551
|
+
endedAt: string | null;
|
8552
|
+
duration: number | null;
|
8553
|
+
holdLabel?: {
|
8554
|
+
id: string;
|
8555
|
+
name: string;
|
8556
|
+
position: number;
|
8557
|
+
createdAt: Date;
|
8558
|
+
updatedAt: Date;
|
8559
|
+
deletedAt: Date | null;
|
8560
|
+
isDefault?: boolean | undefined;
|
8561
|
+
} | null | undefined;
|
8562
|
+
}[] | null | undefined;
|
8155
8563
|
};
|
8156
8564
|
workflowRule: {
|
8157
|
-
name: string;
|
8158
8565
|
type: string;
|
8159
8566
|
id: string;
|
8567
|
+
name: string;
|
8160
8568
|
createdAt: Date;
|
8161
8569
|
updatedAt: Date;
|
8162
8570
|
deletedAt: Date | null;
|