@kl1/contracts 1.2.32-uat → 1.2.34-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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 +4615 -3734
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1213 -1018
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +905 -748
- 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 +9877 -8920
- 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 +234 -206
- 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 +40 -40
- package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +816 -708
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
- package/dist/api-contracts/src/hold-label/index.d.ts +64 -30
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +14 -6
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +704 -596
- 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 +716 -608
- 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 +50 -50
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2715 -2598
- 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 +1591 -1474
- 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 +517 -478
- 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 +495 -466
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +707 -599
- 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 +86 -86
- 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 +664 -556
- 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 +676 -568
- 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 +670 -562
- 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 +670 -562
- 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 +310 -232
- 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/index.js +13 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +0 -115
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +0 -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
|
-
id: string;
|
|
56
55
|
name: string;
|
|
56
|
+
id: string;
|
|
57
57
|
picture?: string | undefined;
|
|
58
58
|
additionalCredentials?: any;
|
|
59
59
|
}, {
|
|
60
|
-
id: string;
|
|
61
60
|
name: string;
|
|
61
|
+
id: 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
|
-
id: string;
|
|
84
83
|
name: string;
|
|
84
|
+
id: string;
|
|
85
85
|
createdAt: Date;
|
|
86
86
|
updatedAt: Date;
|
|
87
87
|
deletedAt: Date | null;
|
|
88
88
|
}, {
|
|
89
|
-
id: string;
|
|
90
89
|
name: string;
|
|
90
|
+
id: 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
|
-
address?: string | null | undefined;
|
|
247
246
|
name?: string | undefined;
|
|
247
|
+
address?: string | null | 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
|
-
address?: string | null | undefined;
|
|
256
255
|
name?: string | undefined;
|
|
256
|
+
address?: string | null | 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
|
-
id: string;
|
|
275
274
|
name: string;
|
|
275
|
+
id: string;
|
|
276
276
|
picture?: string | undefined;
|
|
277
277
|
additionalCredentials?: any;
|
|
278
278
|
}, {
|
|
279
|
-
id: string;
|
|
280
279
|
name: string;
|
|
280
|
+
id: 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
|
-
id: string;
|
|
289
288
|
name: string;
|
|
289
|
+
id: 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
|
-
id: string;
|
|
303
302
|
name: string;
|
|
303
|
+
id: 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;
|
|
613
614
|
id: string;
|
|
614
615
|
channel: string | null;
|
|
615
616
|
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
|
-
address?: string | null | undefined;
|
|
662
661
|
name?: string | undefined;
|
|
662
|
+
address?: string | null | 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
|
-
id: string;
|
|
671
670
|
name: string;
|
|
671
|
+
id: 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
|
-
id: string;
|
|
697
696
|
name: string;
|
|
697
|
+
id: 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;
|
|
724
725
|
id: string;
|
|
725
726
|
channel: string | null;
|
|
726
727
|
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
|
-
address?: string | null | undefined;
|
|
773
772
|
name?: string | undefined;
|
|
773
|
+
address?: string | null | 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
|
-
id: string;
|
|
782
781
|
name: string;
|
|
782
|
+
id: 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
|
-
id: string;
|
|
808
807
|
name: string;
|
|
808
|
+
id: 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
|
-
id: string;
|
|
840
839
|
name: string;
|
|
840
|
+
id: 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;
|
|
848
849
|
id: string;
|
|
849
850
|
channel: string | null;
|
|
850
851
|
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
|
-
address?: string | null | undefined;
|
|
897
896
|
name?: string | undefined;
|
|
897
|
+
address?: string | null | 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
|
-
id: string;
|
|
906
905
|
name: string;
|
|
906
|
+
id: 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
|
-
id: string;
|
|
932
931
|
name: string;
|
|
932
|
+
id: 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
|
-
id: string;
|
|
966
965
|
name: string;
|
|
966
|
+
id: 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;
|
|
974
975
|
id: string;
|
|
975
976
|
channel: string | null;
|
|
976
977
|
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
|
-
address?: string | null | undefined;
|
|
1023
1022
|
name?: string | undefined;
|
|
1023
|
+
address?: string | null | 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
|
-
id: string;
|
|
1032
1031
|
name: string;
|
|
1032
|
+
id: 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
|
-
id: string;
|
|
1058
1057
|
name: string;
|
|
1058
|
+
id: 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;
|
|
1206
1207
|
id: string;
|
|
1207
1208
|
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;
|
|
1249
1250
|
id: string;
|
|
1250
1251
|
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;
|
|
1410
1411
|
id: string;
|
|
1411
1412
|
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;
|
|
1453
1454
|
id: string;
|
|
1454
1455
|
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
|
-
id: string;
|
|
1558
1557
|
name: string;
|
|
1558
|
+
id: 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
|
-
id: string;
|
|
1583
1582
|
name: string;
|
|
1583
|
+
id: 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
|
-
id: string;
|
|
1621
1620
|
name: string;
|
|
1621
|
+
id: string;
|
|
1622
1622
|
accessToken: string;
|
|
1623
1623
|
botId: string;
|
|
1624
1624
|
integrationId: string;
|
|
1625
1625
|
}, {
|
|
1626
|
-
id: string;
|
|
1627
1626
|
name: string;
|
|
1627
|
+
id: 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;
|
|
1750
1751
|
id: string;
|
|
1751
1752
|
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;
|
|
1793
1794
|
id: string;
|
|
1794
1795
|
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;
|
|
1837
1838
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1838
1839
|
id: string;
|
|
1839
|
-
name: string;
|
|
1840
1840
|
metadata: {
|
|
1841
|
-
id: string;
|
|
1842
1841
|
name: string;
|
|
1842
|
+
id: 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;
|
|
1871
1872
|
id: string;
|
|
1872
1873
|
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
|
-
id: string;
|
|
1921
1920
|
name: string;
|
|
1921
|
+
id: string;
|
|
1922
1922
|
accessToken: string;
|
|
1923
1923
|
botId: string;
|
|
1924
1924
|
integrationId: string;
|
|
1925
1925
|
} | null;
|
|
1926
1926
|
}, {
|
|
1927
|
+
name: string;
|
|
1927
1928
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1928
1929
|
id: string;
|
|
1929
|
-
name: string;
|
|
1930
1930
|
metadata: {
|
|
1931
|
-
id: string;
|
|
1932
1931
|
name: string;
|
|
1932
|
+
id: 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;
|
|
1961
1962
|
id: string;
|
|
1962
1963
|
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
|
-
id: string;
|
|
2011
2010
|
name: string;
|
|
2011
|
+
id: 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
|
-
id: string;
|
|
2049
2052
|
name: string;
|
|
2053
|
+
id: string;
|
|
2050
2054
|
createdAt: Date;
|
|
2051
2055
|
updatedAt: Date;
|
|
2052
2056
|
deletedAt: Date | null;
|
|
2053
2057
|
}, {
|
|
2054
|
-
id: string;
|
|
2055
2058
|
name: string;
|
|
2059
|
+
id: 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
|
-
id: string;
|
|
2227
2230
|
name: string;
|
|
2231
|
+
id: 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
|
-
id: string;
|
|
2278
2281
|
name: string;
|
|
2282
|
+
id: string;
|
|
2279
2283
|
createdAt: Date;
|
|
2280
2284
|
updatedAt: Date;
|
|
2281
2285
|
deletedAt: Date | null;
|
|
@@ -2311,20 +2315,23 @@ export declare const chatContract: {
|
|
|
2311
2315
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
2312
2316
|
name: z.ZodString;
|
|
2313
2317
|
position: z.ZodNumber;
|
|
2318
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
2314
2319
|
}, "strip", z.ZodTypeAny, {
|
|
2315
|
-
id: string;
|
|
2316
2320
|
name: string;
|
|
2321
|
+
id: string;
|
|
2317
2322
|
position: number;
|
|
2318
2323
|
createdAt: Date;
|
|
2319
2324
|
updatedAt: Date;
|
|
2320
2325
|
deletedAt: Date | null;
|
|
2326
|
+
isDefault: boolean;
|
|
2321
2327
|
}, {
|
|
2322
|
-
id: string;
|
|
2323
2328
|
name: string;
|
|
2329
|
+
id: string;
|
|
2324
2330
|
position: number;
|
|
2325
2331
|
createdAt: Date;
|
|
2326
2332
|
updatedAt: Date;
|
|
2327
2333
|
deletedAt: Date | null;
|
|
2334
|
+
isDefault?: boolean | undefined;
|
|
2328
2335
|
}>>>;
|
|
2329
2336
|
}, "strip", z.ZodTypeAny, {
|
|
2330
2337
|
id: string;
|
|
@@ -2335,12 +2342,13 @@ export declare const chatContract: {
|
|
|
2335
2342
|
endedAt: string | null;
|
|
2336
2343
|
duration: number | null;
|
|
2337
2344
|
holdLabel?: {
|
|
2338
|
-
id: string;
|
|
2339
2345
|
name: string;
|
|
2346
|
+
id: string;
|
|
2340
2347
|
position: number;
|
|
2341
2348
|
createdAt: Date;
|
|
2342
2349
|
updatedAt: Date;
|
|
2343
2350
|
deletedAt: Date | null;
|
|
2351
|
+
isDefault: boolean;
|
|
2344
2352
|
} | null | undefined;
|
|
2345
2353
|
}, {
|
|
2346
2354
|
id: string;
|
|
@@ -2351,12 +2359,13 @@ export declare const chatContract: {
|
|
|
2351
2359
|
endedAt: string | null;
|
|
2352
2360
|
duration: number | null;
|
|
2353
2361
|
holdLabel?: {
|
|
2354
|
-
id: string;
|
|
2355
2362
|
name: string;
|
|
2363
|
+
id: string;
|
|
2356
2364
|
position: number;
|
|
2357
2365
|
createdAt: Date;
|
|
2358
2366
|
updatedAt: Date;
|
|
2359
2367
|
deletedAt: Date | null;
|
|
2368
|
+
isDefault?: boolean | undefined;
|
|
2360
2369
|
} | null | undefined;
|
|
2361
2370
|
}>, "many">>>;
|
|
2362
2371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2373,8 +2382,12 @@ export declare const chatContract: {
|
|
|
2373
2382
|
entityName: string;
|
|
2374
2383
|
agentId: string | null;
|
|
2375
2384
|
startedDate: Date | null;
|
|
2385
|
+
totalHoldDuration: number | null;
|
|
2376
2386
|
handledTime: number | null;
|
|
2387
|
+
fullHandledTime: number | null;
|
|
2377
2388
|
firstResponseTime: number | null;
|
|
2389
|
+
resolutionTime: number | null;
|
|
2390
|
+
fullResolutionTime: number | null;
|
|
2378
2391
|
wrapUpForm: {
|
|
2379
2392
|
type: string;
|
|
2380
2393
|
id: string;
|
|
@@ -2405,8 +2418,8 @@ export declare const chatContract: {
|
|
|
2405
2418
|
}[];
|
|
2406
2419
|
}[];
|
|
2407
2420
|
tags: {
|
|
2408
|
-
id: string;
|
|
2409
2421
|
name: string;
|
|
2422
|
+
id: string;
|
|
2410
2423
|
createdAt: Date;
|
|
2411
2424
|
updatedAt: Date;
|
|
2412
2425
|
deletedAt: Date | null;
|
|
@@ -2436,12 +2449,13 @@ export declare const chatContract: {
|
|
|
2436
2449
|
endedAt: string | null;
|
|
2437
2450
|
duration: number | null;
|
|
2438
2451
|
holdLabel?: {
|
|
2439
|
-
id: string;
|
|
2440
2452
|
name: string;
|
|
2453
|
+
id: string;
|
|
2441
2454
|
position: number;
|
|
2442
2455
|
createdAt: Date;
|
|
2443
2456
|
updatedAt: Date;
|
|
2444
2457
|
deletedAt: Date | null;
|
|
2458
|
+
isDefault: boolean;
|
|
2445
2459
|
} | null | undefined;
|
|
2446
2460
|
}[] | null | undefined;
|
|
2447
2461
|
}, {
|
|
@@ -2458,8 +2472,12 @@ export declare const chatContract: {
|
|
|
2458
2472
|
entityName: string;
|
|
2459
2473
|
agentId: string | null;
|
|
2460
2474
|
startedDate: Date | null;
|
|
2475
|
+
totalHoldDuration: number | null;
|
|
2461
2476
|
handledTime: number | null;
|
|
2477
|
+
fullHandledTime: number | null;
|
|
2462
2478
|
firstResponseTime: number | null;
|
|
2479
|
+
resolutionTime: number | null;
|
|
2480
|
+
fullResolutionTime: number | null;
|
|
2463
2481
|
wrapUpForm: {
|
|
2464
2482
|
type: string;
|
|
2465
2483
|
id: string;
|
|
@@ -2490,8 +2508,8 @@ export declare const chatContract: {
|
|
|
2490
2508
|
}[];
|
|
2491
2509
|
}[];
|
|
2492
2510
|
tags: {
|
|
2493
|
-
id: string;
|
|
2494
2511
|
name: string;
|
|
2512
|
+
id: string;
|
|
2495
2513
|
createdAt: Date;
|
|
2496
2514
|
updatedAt: Date;
|
|
2497
2515
|
deletedAt: Date | null;
|
|
@@ -2521,12 +2539,13 @@ export declare const chatContract: {
|
|
|
2521
2539
|
endedAt: string | null;
|
|
2522
2540
|
duration: number | null;
|
|
2523
2541
|
holdLabel?: {
|
|
2524
|
-
id: string;
|
|
2525
2542
|
name: string;
|
|
2543
|
+
id: string;
|
|
2526
2544
|
position: number;
|
|
2527
2545
|
createdAt: Date;
|
|
2528
2546
|
updatedAt: Date;
|
|
2529
2547
|
deletedAt: Date | null;
|
|
2548
|
+
isDefault?: boolean | undefined;
|
|
2530
2549
|
} | null | undefined;
|
|
2531
2550
|
}[] | null | undefined;
|
|
2532
2551
|
}>;
|
|
@@ -2539,17 +2558,17 @@ export declare const chatContract: {
|
|
|
2539
2558
|
isActive: z.ZodBoolean;
|
|
2540
2559
|
type: z.ZodString;
|
|
2541
2560
|
}, "strip", z.ZodTypeAny, {
|
|
2561
|
+
name: string;
|
|
2542
2562
|
type: string;
|
|
2543
2563
|
id: string;
|
|
2544
|
-
name: string;
|
|
2545
2564
|
createdAt: Date;
|
|
2546
2565
|
updatedAt: Date;
|
|
2547
2566
|
deletedAt: Date | null;
|
|
2548
2567
|
isActive: boolean;
|
|
2549
2568
|
}, {
|
|
2569
|
+
name: string;
|
|
2550
2570
|
type: string;
|
|
2551
2571
|
id: string;
|
|
2552
|
-
name: string;
|
|
2553
2572
|
createdAt: Date;
|
|
2554
2573
|
updatedAt: Date;
|
|
2555
2574
|
deletedAt: Date | null;
|
|
@@ -2559,12 +2578,12 @@ export declare const chatContract: {
|
|
|
2559
2578
|
}, "strip", z.ZodTypeAny, {
|
|
2560
2579
|
id: string;
|
|
2561
2580
|
channel: {
|
|
2581
|
+
name: string;
|
|
2562
2582
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2563
2583
|
id: string;
|
|
2564
|
-
name: string;
|
|
2565
2584
|
metadata: {
|
|
2566
|
-
id: string;
|
|
2567
2585
|
name: string;
|
|
2586
|
+
id: string;
|
|
2568
2587
|
accessToken?: string | undefined;
|
|
2569
2588
|
channelSecret?: string | undefined;
|
|
2570
2589
|
additionalCredentials?: any;
|
|
@@ -2593,9 +2612,9 @@ export declare const chatContract: {
|
|
|
2593
2612
|
updatedAt: Date;
|
|
2594
2613
|
deletedAt: Date | null;
|
|
2595
2614
|
actor: {
|
|
2615
|
+
name: string;
|
|
2596
2616
|
id: string;
|
|
2597
2617
|
address: string | null;
|
|
2598
|
-
name: string;
|
|
2599
2618
|
email: string;
|
|
2600
2619
|
createdAt: Date;
|
|
2601
2620
|
updatedAt: Date;
|
|
@@ -2642,8 +2661,8 @@ export declare const chatContract: {
|
|
|
2642
2661
|
connectedUserName: string;
|
|
2643
2662
|
connectedUserId: string;
|
|
2644
2663
|
botpressBot: {
|
|
2645
|
-
id: string;
|
|
2646
2664
|
name: string;
|
|
2665
|
+
id: string;
|
|
2647
2666
|
accessToken: string;
|
|
2648
2667
|
botId: string;
|
|
2649
2668
|
integrationId: string;
|
|
@@ -2655,9 +2674,9 @@ export declare const chatContract: {
|
|
|
2655
2674
|
updatedAt: Date;
|
|
2656
2675
|
deletedAt: Date | null;
|
|
2657
2676
|
actor: {
|
|
2677
|
+
name: string;
|
|
2658
2678
|
id: string;
|
|
2659
2679
|
address: string | null;
|
|
2660
|
-
name: string;
|
|
2661
2680
|
email: string;
|
|
2662
2681
|
createdAt: Date;
|
|
2663
2682
|
updatedAt: Date;
|
|
@@ -2708,8 +2727,8 @@ export declare const chatContract: {
|
|
|
2708
2727
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2709
2728
|
id: string;
|
|
2710
2729
|
metadata: {
|
|
2711
|
-
id: string;
|
|
2712
2730
|
name: string;
|
|
2731
|
+
id: string;
|
|
2713
2732
|
picture?: string | undefined;
|
|
2714
2733
|
additionalCredentials?: any;
|
|
2715
2734
|
};
|
|
@@ -2717,10 +2736,10 @@ export declare const chatContract: {
|
|
|
2717
2736
|
updatedAt: Date;
|
|
2718
2737
|
deletedAt: Date | null;
|
|
2719
2738
|
contact: {
|
|
2739
|
+
name: string;
|
|
2720
2740
|
id: string;
|
|
2721
2741
|
channel: string | null;
|
|
2722
2742
|
address: string | null;
|
|
2723
|
-
name: string;
|
|
2724
2743
|
createdAt: Date;
|
|
2725
2744
|
updatedAt: Date;
|
|
2726
2745
|
deletedAt: Date | null;
|
|
@@ -2765,8 +2784,8 @@ export declare const chatContract: {
|
|
|
2765
2784
|
createdAt: Date;
|
|
2766
2785
|
updatedAt: Date;
|
|
2767
2786
|
deletedAt: Date | null;
|
|
2768
|
-
address?: string | null | undefined;
|
|
2769
2787
|
name?: string | undefined;
|
|
2788
|
+
address?: string | null | undefined;
|
|
2770
2789
|
phone?: string | null | undefined;
|
|
2771
2790
|
industry?: string | null | undefined;
|
|
2772
2791
|
} | null;
|
|
@@ -2774,8 +2793,8 @@ export declare const chatContract: {
|
|
|
2774
2793
|
contactProfile: string | null;
|
|
2775
2794
|
socialProfileUrl: string | null;
|
|
2776
2795
|
tags: {
|
|
2777
|
-
id: string;
|
|
2778
2796
|
name: string;
|
|
2797
|
+
id: string;
|
|
2779
2798
|
createdAt: Date;
|
|
2780
2799
|
updatedAt: Date;
|
|
2781
2800
|
deletedAt: Date | null;
|
|
@@ -2800,8 +2819,8 @@ export declare const chatContract: {
|
|
|
2800
2819
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2801
2820
|
id: string;
|
|
2802
2821
|
metadata: {
|
|
2803
|
-
id: string;
|
|
2804
2822
|
name: string;
|
|
2823
|
+
id: string;
|
|
2805
2824
|
picture?: string | undefined;
|
|
2806
2825
|
additionalCredentials?: any;
|
|
2807
2826
|
};
|
|
@@ -2832,9 +2851,9 @@ export declare const chatContract: {
|
|
|
2832
2851
|
socialPlatformId: string;
|
|
2833
2852
|
};
|
|
2834
2853
|
assignee: {
|
|
2854
|
+
name: string;
|
|
2835
2855
|
id: string;
|
|
2836
2856
|
address: string | null;
|
|
2837
|
-
name: string;
|
|
2838
2857
|
email: string;
|
|
2839
2858
|
createdAt: Date;
|
|
2840
2859
|
updatedAt: Date;
|
|
@@ -2892,8 +2911,12 @@ export declare const chatContract: {
|
|
|
2892
2911
|
entityName: string;
|
|
2893
2912
|
agentId: string | null;
|
|
2894
2913
|
startedDate: Date | null;
|
|
2914
|
+
totalHoldDuration: number | null;
|
|
2895
2915
|
handledTime: number | null;
|
|
2916
|
+
fullHandledTime: number | null;
|
|
2896
2917
|
firstResponseTime: number | null;
|
|
2918
|
+
resolutionTime: number | null;
|
|
2919
|
+
fullResolutionTime: number | null;
|
|
2897
2920
|
wrapUpForm: {
|
|
2898
2921
|
type: string;
|
|
2899
2922
|
id: string;
|
|
@@ -2924,8 +2947,8 @@ export declare const chatContract: {
|
|
|
2924
2947
|
}[];
|
|
2925
2948
|
}[];
|
|
2926
2949
|
tags: {
|
|
2927
|
-
id: string;
|
|
2928
2950
|
name: string;
|
|
2951
|
+
id: string;
|
|
2929
2952
|
createdAt: Date;
|
|
2930
2953
|
updatedAt: Date;
|
|
2931
2954
|
deletedAt: Date | null;
|
|
@@ -2955,19 +2978,20 @@ export declare const chatContract: {
|
|
|
2955
2978
|
endedAt: string | null;
|
|
2956
2979
|
duration: number | null;
|
|
2957
2980
|
holdLabel?: {
|
|
2958
|
-
id: string;
|
|
2959
2981
|
name: string;
|
|
2982
|
+
id: string;
|
|
2960
2983
|
position: number;
|
|
2961
2984
|
createdAt: Date;
|
|
2962
2985
|
updatedAt: Date;
|
|
2963
2986
|
deletedAt: Date | null;
|
|
2987
|
+
isDefault: boolean;
|
|
2964
2988
|
} | null | undefined;
|
|
2965
2989
|
}[] | null | undefined;
|
|
2966
2990
|
};
|
|
2967
2991
|
workflowRule: {
|
|
2992
|
+
name: string;
|
|
2968
2993
|
type: string;
|
|
2969
2994
|
id: string;
|
|
2970
|
-
name: string;
|
|
2971
2995
|
createdAt: Date;
|
|
2972
2996
|
updatedAt: Date;
|
|
2973
2997
|
deletedAt: Date | null;
|
|
@@ -2977,12 +3001,12 @@ export declare const chatContract: {
|
|
|
2977
3001
|
}, {
|
|
2978
3002
|
id: string;
|
|
2979
3003
|
channel: {
|
|
3004
|
+
name: string;
|
|
2980
3005
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2981
3006
|
id: string;
|
|
2982
|
-
name: string;
|
|
2983
3007
|
metadata: {
|
|
2984
|
-
id: string;
|
|
2985
3008
|
name: string;
|
|
3009
|
+
id: string;
|
|
2986
3010
|
accessToken?: string | undefined;
|
|
2987
3011
|
channelSecret?: string | undefined;
|
|
2988
3012
|
additionalCredentials?: any;
|
|
@@ -3011,9 +3035,9 @@ export declare const chatContract: {
|
|
|
3011
3035
|
updatedAt: Date;
|
|
3012
3036
|
deletedAt: Date | null;
|
|
3013
3037
|
actor: {
|
|
3038
|
+
name: string;
|
|
3014
3039
|
id: string;
|
|
3015
3040
|
address: string | null;
|
|
3016
|
-
name: string;
|
|
3017
3041
|
email: string;
|
|
3018
3042
|
createdAt: Date;
|
|
3019
3043
|
updatedAt: Date;
|
|
@@ -3060,8 +3084,8 @@ export declare const chatContract: {
|
|
|
3060
3084
|
connectedUserName: string;
|
|
3061
3085
|
connectedUserId: string;
|
|
3062
3086
|
botpressBot: {
|
|
3063
|
-
id: string;
|
|
3064
3087
|
name: string;
|
|
3088
|
+
id: string;
|
|
3065
3089
|
accessToken: string;
|
|
3066
3090
|
botId: string;
|
|
3067
3091
|
integrationId: string;
|
|
@@ -3073,9 +3097,9 @@ export declare const chatContract: {
|
|
|
3073
3097
|
updatedAt: Date;
|
|
3074
3098
|
deletedAt: Date | null;
|
|
3075
3099
|
actor: {
|
|
3100
|
+
name: string;
|
|
3076
3101
|
id: string;
|
|
3077
3102
|
address: string | null;
|
|
3078
|
-
name: string;
|
|
3079
3103
|
email: string;
|
|
3080
3104
|
createdAt: Date;
|
|
3081
3105
|
updatedAt: Date;
|
|
@@ -3126,8 +3150,8 @@ export declare const chatContract: {
|
|
|
3126
3150
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3127
3151
|
id: string;
|
|
3128
3152
|
metadata: {
|
|
3129
|
-
id: string;
|
|
3130
3153
|
name: string;
|
|
3154
|
+
id: string;
|
|
3131
3155
|
picture?: string | undefined;
|
|
3132
3156
|
additionalCredentials?: any;
|
|
3133
3157
|
};
|
|
@@ -3135,10 +3159,10 @@ export declare const chatContract: {
|
|
|
3135
3159
|
updatedAt: Date;
|
|
3136
3160
|
deletedAt: Date | null;
|
|
3137
3161
|
contact: {
|
|
3162
|
+
name: string;
|
|
3138
3163
|
id: string;
|
|
3139
3164
|
channel: string | null;
|
|
3140
3165
|
address: string | null;
|
|
3141
|
-
name: string;
|
|
3142
3166
|
createdAt: Date;
|
|
3143
3167
|
updatedAt: Date;
|
|
3144
3168
|
deletedAt: Date | null;
|
|
@@ -3183,8 +3207,8 @@ export declare const chatContract: {
|
|
|
3183
3207
|
createdAt: Date;
|
|
3184
3208
|
updatedAt: Date;
|
|
3185
3209
|
deletedAt: Date | null;
|
|
3186
|
-
address?: string | null | undefined;
|
|
3187
3210
|
name?: string | undefined;
|
|
3211
|
+
address?: string | null | undefined;
|
|
3188
3212
|
phone?: string | null | undefined;
|
|
3189
3213
|
industry?: string | null | undefined;
|
|
3190
3214
|
} | null;
|
|
@@ -3192,8 +3216,8 @@ export declare const chatContract: {
|
|
|
3192
3216
|
contactProfile: string | null;
|
|
3193
3217
|
socialProfileUrl: string | null;
|
|
3194
3218
|
tags: {
|
|
3195
|
-
id: string;
|
|
3196
3219
|
name: string;
|
|
3220
|
+
id: string;
|
|
3197
3221
|
createdAt: Date;
|
|
3198
3222
|
updatedAt: Date;
|
|
3199
3223
|
deletedAt: Date | null;
|
|
@@ -3218,8 +3242,8 @@ export declare const chatContract: {
|
|
|
3218
3242
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3219
3243
|
id: string;
|
|
3220
3244
|
metadata: {
|
|
3221
|
-
id: string;
|
|
3222
3245
|
name: string;
|
|
3246
|
+
id: string;
|
|
3223
3247
|
picture?: string | undefined;
|
|
3224
3248
|
additionalCredentials?: any;
|
|
3225
3249
|
};
|
|
@@ -3250,9 +3274,9 @@ export declare const chatContract: {
|
|
|
3250
3274
|
socialPlatformId: string;
|
|
3251
3275
|
};
|
|
3252
3276
|
assignee: {
|
|
3277
|
+
name: string;
|
|
3253
3278
|
id: string;
|
|
3254
3279
|
address: string | null;
|
|
3255
|
-
name: string;
|
|
3256
3280
|
email: string;
|
|
3257
3281
|
createdAt: Date;
|
|
3258
3282
|
updatedAt: Date;
|
|
@@ -3310,8 +3334,12 @@ export declare const chatContract: {
|
|
|
3310
3334
|
entityName: string;
|
|
3311
3335
|
agentId: string | null;
|
|
3312
3336
|
startedDate: Date | null;
|
|
3337
|
+
totalHoldDuration: number | null;
|
|
3313
3338
|
handledTime: number | null;
|
|
3339
|
+
fullHandledTime: number | null;
|
|
3314
3340
|
firstResponseTime: number | null;
|
|
3341
|
+
resolutionTime: number | null;
|
|
3342
|
+
fullResolutionTime: number | null;
|
|
3315
3343
|
wrapUpForm: {
|
|
3316
3344
|
type: string;
|
|
3317
3345
|
id: string;
|
|
@@ -3342,8 +3370,8 @@ export declare const chatContract: {
|
|
|
3342
3370
|
}[];
|
|
3343
3371
|
}[];
|
|
3344
3372
|
tags: {
|
|
3345
|
-
id: string;
|
|
3346
3373
|
name: string;
|
|
3374
|
+
id: string;
|
|
3347
3375
|
createdAt: Date;
|
|
3348
3376
|
updatedAt: Date;
|
|
3349
3377
|
deletedAt: Date | null;
|
|
@@ -3373,19 +3401,20 @@ export declare const chatContract: {
|
|
|
3373
3401
|
endedAt: string | null;
|
|
3374
3402
|
duration: number | null;
|
|
3375
3403
|
holdLabel?: {
|
|
3376
|
-
id: string;
|
|
3377
3404
|
name: string;
|
|
3405
|
+
id: string;
|
|
3378
3406
|
position: number;
|
|
3379
3407
|
createdAt: Date;
|
|
3380
3408
|
updatedAt: Date;
|
|
3381
3409
|
deletedAt: Date | null;
|
|
3410
|
+
isDefault?: boolean | undefined;
|
|
3382
3411
|
} | null | undefined;
|
|
3383
3412
|
}[] | null | undefined;
|
|
3384
3413
|
};
|
|
3385
3414
|
workflowRule: {
|
|
3415
|
+
name: string;
|
|
3386
3416
|
type: string;
|
|
3387
3417
|
id: string;
|
|
3388
|
-
name: string;
|
|
3389
3418
|
createdAt: Date;
|
|
3390
3419
|
updatedAt: Date;
|
|
3391
3420
|
deletedAt: Date | null;
|
|
@@ -3397,12 +3426,12 @@ export declare const chatContract: {
|
|
|
3397
3426
|
data: {
|
|
3398
3427
|
id: string;
|
|
3399
3428
|
channel: {
|
|
3429
|
+
name: string;
|
|
3400
3430
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3401
3431
|
id: string;
|
|
3402
|
-
name: string;
|
|
3403
3432
|
metadata: {
|
|
3404
|
-
id: string;
|
|
3405
3433
|
name: string;
|
|
3434
|
+
id: string;
|
|
3406
3435
|
accessToken?: string | undefined;
|
|
3407
3436
|
channelSecret?: string | undefined;
|
|
3408
3437
|
additionalCredentials?: any;
|
|
@@ -3431,9 +3460,9 @@ export declare const chatContract: {
|
|
|
3431
3460
|
updatedAt: Date;
|
|
3432
3461
|
deletedAt: Date | null;
|
|
3433
3462
|
actor: {
|
|
3463
|
+
name: string;
|
|
3434
3464
|
id: string;
|
|
3435
3465
|
address: string | null;
|
|
3436
|
-
name: string;
|
|
3437
3466
|
email: string;
|
|
3438
3467
|
createdAt: Date;
|
|
3439
3468
|
updatedAt: Date;
|
|
@@ -3480,8 +3509,8 @@ export declare const chatContract: {
|
|
|
3480
3509
|
connectedUserName: string;
|
|
3481
3510
|
connectedUserId: string;
|
|
3482
3511
|
botpressBot: {
|
|
3483
|
-
id: string;
|
|
3484
3512
|
name: string;
|
|
3513
|
+
id: string;
|
|
3485
3514
|
accessToken: string;
|
|
3486
3515
|
botId: string;
|
|
3487
3516
|
integrationId: string;
|
|
@@ -3493,9 +3522,9 @@ export declare const chatContract: {
|
|
|
3493
3522
|
updatedAt: Date;
|
|
3494
3523
|
deletedAt: Date | null;
|
|
3495
3524
|
actor: {
|
|
3525
|
+
name: string;
|
|
3496
3526
|
id: string;
|
|
3497
3527
|
address: string | null;
|
|
3498
|
-
name: string;
|
|
3499
3528
|
email: string;
|
|
3500
3529
|
createdAt: Date;
|
|
3501
3530
|
updatedAt: Date;
|
|
@@ -3546,8 +3575,8 @@ export declare const chatContract: {
|
|
|
3546
3575
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3547
3576
|
id: string;
|
|
3548
3577
|
metadata: {
|
|
3549
|
-
id: string;
|
|
3550
3578
|
name: string;
|
|
3579
|
+
id: string;
|
|
3551
3580
|
picture?: string | undefined;
|
|
3552
3581
|
additionalCredentials?: any;
|
|
3553
3582
|
};
|
|
@@ -3555,10 +3584,10 @@ export declare const chatContract: {
|
|
|
3555
3584
|
updatedAt: Date;
|
|
3556
3585
|
deletedAt: Date | null;
|
|
3557
3586
|
contact: {
|
|
3587
|
+
name: string;
|
|
3558
3588
|
id: string;
|
|
3559
3589
|
channel: string | null;
|
|
3560
3590
|
address: string | null;
|
|
3561
|
-
name: string;
|
|
3562
3591
|
createdAt: Date;
|
|
3563
3592
|
updatedAt: Date;
|
|
3564
3593
|
deletedAt: Date | null;
|
|
@@ -3603,8 +3632,8 @@ export declare const chatContract: {
|
|
|
3603
3632
|
createdAt: Date;
|
|
3604
3633
|
updatedAt: Date;
|
|
3605
3634
|
deletedAt: Date | null;
|
|
3606
|
-
address?: string | null | undefined;
|
|
3607
3635
|
name?: string | undefined;
|
|
3636
|
+
address?: string | null | undefined;
|
|
3608
3637
|
phone?: string | null | undefined;
|
|
3609
3638
|
industry?: string | null | undefined;
|
|
3610
3639
|
} | null;
|
|
@@ -3612,8 +3641,8 @@ export declare const chatContract: {
|
|
|
3612
3641
|
contactProfile: string | null;
|
|
3613
3642
|
socialProfileUrl: string | null;
|
|
3614
3643
|
tags: {
|
|
3615
|
-
id: string;
|
|
3616
3644
|
name: string;
|
|
3645
|
+
id: string;
|
|
3617
3646
|
createdAt: Date;
|
|
3618
3647
|
updatedAt: Date;
|
|
3619
3648
|
deletedAt: Date | null;
|
|
@@ -3638,8 +3667,8 @@ export declare const chatContract: {
|
|
|
3638
3667
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3639
3668
|
id: string;
|
|
3640
3669
|
metadata: {
|
|
3641
|
-
id: string;
|
|
3642
3670
|
name: string;
|
|
3671
|
+
id: string;
|
|
3643
3672
|
picture?: string | undefined;
|
|
3644
3673
|
additionalCredentials?: any;
|
|
3645
3674
|
};
|
|
@@ -3670,9 +3699,9 @@ export declare const chatContract: {
|
|
|
3670
3699
|
socialPlatformId: string;
|
|
3671
3700
|
};
|
|
3672
3701
|
assignee: {
|
|
3702
|
+
name: string;
|
|
3673
3703
|
id: string;
|
|
3674
3704
|
address: string | null;
|
|
3675
|
-
name: string;
|
|
3676
3705
|
email: string;
|
|
3677
3706
|
createdAt: Date;
|
|
3678
3707
|
updatedAt: Date;
|
|
@@ -3730,8 +3759,12 @@ export declare const chatContract: {
|
|
|
3730
3759
|
entityName: string;
|
|
3731
3760
|
agentId: string | null;
|
|
3732
3761
|
startedDate: Date | null;
|
|
3762
|
+
totalHoldDuration: number | null;
|
|
3733
3763
|
handledTime: number | null;
|
|
3764
|
+
fullHandledTime: number | null;
|
|
3734
3765
|
firstResponseTime: number | null;
|
|
3766
|
+
resolutionTime: number | null;
|
|
3767
|
+
fullResolutionTime: number | null;
|
|
3735
3768
|
wrapUpForm: {
|
|
3736
3769
|
type: string;
|
|
3737
3770
|
id: string;
|
|
@@ -3762,8 +3795,8 @@ export declare const chatContract: {
|
|
|
3762
3795
|
}[];
|
|
3763
3796
|
}[];
|
|
3764
3797
|
tags: {
|
|
3765
|
-
id: string;
|
|
3766
3798
|
name: string;
|
|
3799
|
+
id: string;
|
|
3767
3800
|
createdAt: Date;
|
|
3768
3801
|
updatedAt: Date;
|
|
3769
3802
|
deletedAt: Date | null;
|
|
@@ -3793,19 +3826,20 @@ export declare const chatContract: {
|
|
|
3793
3826
|
endedAt: string | null;
|
|
3794
3827
|
duration: number | null;
|
|
3795
3828
|
holdLabel?: {
|
|
3796
|
-
id: string;
|
|
3797
3829
|
name: string;
|
|
3830
|
+
id: string;
|
|
3798
3831
|
position: number;
|
|
3799
3832
|
createdAt: Date;
|
|
3800
3833
|
updatedAt: Date;
|
|
3801
3834
|
deletedAt: Date | null;
|
|
3835
|
+
isDefault: boolean;
|
|
3802
3836
|
} | null | undefined;
|
|
3803
3837
|
}[] | null | undefined;
|
|
3804
3838
|
};
|
|
3805
3839
|
workflowRule: {
|
|
3840
|
+
name: string;
|
|
3806
3841
|
type: string;
|
|
3807
3842
|
id: string;
|
|
3808
|
-
name: string;
|
|
3809
3843
|
createdAt: Date;
|
|
3810
3844
|
updatedAt: Date;
|
|
3811
3845
|
deletedAt: Date | null;
|
|
@@ -3818,12 +3852,12 @@ export declare const chatContract: {
|
|
|
3818
3852
|
data: {
|
|
3819
3853
|
id: string;
|
|
3820
3854
|
channel: {
|
|
3855
|
+
name: string;
|
|
3821
3856
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3822
3857
|
id: string;
|
|
3823
|
-
name: string;
|
|
3824
3858
|
metadata: {
|
|
3825
|
-
id: string;
|
|
3826
3859
|
name: string;
|
|
3860
|
+
id: string;
|
|
3827
3861
|
accessToken?: string | undefined;
|
|
3828
3862
|
channelSecret?: string | undefined;
|
|
3829
3863
|
additionalCredentials?: any;
|
|
@@ -3852,9 +3886,9 @@ export declare const chatContract: {
|
|
|
3852
3886
|
updatedAt: Date;
|
|
3853
3887
|
deletedAt: Date | null;
|
|
3854
3888
|
actor: {
|
|
3889
|
+
name: string;
|
|
3855
3890
|
id: string;
|
|
3856
3891
|
address: string | null;
|
|
3857
|
-
name: string;
|
|
3858
3892
|
email: string;
|
|
3859
3893
|
createdAt: Date;
|
|
3860
3894
|
updatedAt: Date;
|
|
@@ -3901,8 +3935,8 @@ export declare const chatContract: {
|
|
|
3901
3935
|
connectedUserName: string;
|
|
3902
3936
|
connectedUserId: string;
|
|
3903
3937
|
botpressBot: {
|
|
3904
|
-
id: string;
|
|
3905
3938
|
name: string;
|
|
3939
|
+
id: string;
|
|
3906
3940
|
accessToken: string;
|
|
3907
3941
|
botId: string;
|
|
3908
3942
|
integrationId: string;
|
|
@@ -3914,9 +3948,9 @@ export declare const chatContract: {
|
|
|
3914
3948
|
updatedAt: Date;
|
|
3915
3949
|
deletedAt: Date | null;
|
|
3916
3950
|
actor: {
|
|
3951
|
+
name: string;
|
|
3917
3952
|
id: string;
|
|
3918
3953
|
address: string | null;
|
|
3919
|
-
name: string;
|
|
3920
3954
|
email: string;
|
|
3921
3955
|
createdAt: Date;
|
|
3922
3956
|
updatedAt: Date;
|
|
@@ -3967,8 +4001,8 @@ export declare const chatContract: {
|
|
|
3967
4001
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3968
4002
|
id: string;
|
|
3969
4003
|
metadata: {
|
|
3970
|
-
id: string;
|
|
3971
4004
|
name: string;
|
|
4005
|
+
id: string;
|
|
3972
4006
|
picture?: string | undefined;
|
|
3973
4007
|
additionalCredentials?: any;
|
|
3974
4008
|
};
|
|
@@ -3976,10 +4010,10 @@ export declare const chatContract: {
|
|
|
3976
4010
|
updatedAt: Date;
|
|
3977
4011
|
deletedAt: Date | null;
|
|
3978
4012
|
contact: {
|
|
4013
|
+
name: string;
|
|
3979
4014
|
id: string;
|
|
3980
4015
|
channel: string | null;
|
|
3981
4016
|
address: string | null;
|
|
3982
|
-
name: string;
|
|
3983
4017
|
createdAt: Date;
|
|
3984
4018
|
updatedAt: Date;
|
|
3985
4019
|
deletedAt: Date | null;
|
|
@@ -4024,8 +4058,8 @@ export declare const chatContract: {
|
|
|
4024
4058
|
createdAt: Date;
|
|
4025
4059
|
updatedAt: Date;
|
|
4026
4060
|
deletedAt: Date | null;
|
|
4027
|
-
address?: string | null | undefined;
|
|
4028
4061
|
name?: string | undefined;
|
|
4062
|
+
address?: string | null | undefined;
|
|
4029
4063
|
phone?: string | null | undefined;
|
|
4030
4064
|
industry?: string | null | undefined;
|
|
4031
4065
|
} | null;
|
|
@@ -4033,8 +4067,8 @@ export declare const chatContract: {
|
|
|
4033
4067
|
contactProfile: string | null;
|
|
4034
4068
|
socialProfileUrl: string | null;
|
|
4035
4069
|
tags: {
|
|
4036
|
-
id: string;
|
|
4037
4070
|
name: string;
|
|
4071
|
+
id: string;
|
|
4038
4072
|
createdAt: Date;
|
|
4039
4073
|
updatedAt: Date;
|
|
4040
4074
|
deletedAt: Date | null;
|
|
@@ -4059,8 +4093,8 @@ export declare const chatContract: {
|
|
|
4059
4093
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4060
4094
|
id: string;
|
|
4061
4095
|
metadata: {
|
|
4062
|
-
id: string;
|
|
4063
4096
|
name: string;
|
|
4097
|
+
id: string;
|
|
4064
4098
|
picture?: string | undefined;
|
|
4065
4099
|
additionalCredentials?: any;
|
|
4066
4100
|
};
|
|
@@ -4091,9 +4125,9 @@ export declare const chatContract: {
|
|
|
4091
4125
|
socialPlatformId: string;
|
|
4092
4126
|
};
|
|
4093
4127
|
assignee: {
|
|
4128
|
+
name: string;
|
|
4094
4129
|
id: string;
|
|
4095
4130
|
address: string | null;
|
|
4096
|
-
name: string;
|
|
4097
4131
|
email: string;
|
|
4098
4132
|
createdAt: Date;
|
|
4099
4133
|
updatedAt: Date;
|
|
@@ -4151,8 +4185,12 @@ export declare const chatContract: {
|
|
|
4151
4185
|
entityName: string;
|
|
4152
4186
|
agentId: string | null;
|
|
4153
4187
|
startedDate: Date | null;
|
|
4188
|
+
totalHoldDuration: number | null;
|
|
4154
4189
|
handledTime: number | null;
|
|
4190
|
+
fullHandledTime: number | null;
|
|
4155
4191
|
firstResponseTime: number | null;
|
|
4192
|
+
resolutionTime: number | null;
|
|
4193
|
+
fullResolutionTime: number | null;
|
|
4156
4194
|
wrapUpForm: {
|
|
4157
4195
|
type: string;
|
|
4158
4196
|
id: string;
|
|
@@ -4183,8 +4221,8 @@ export declare const chatContract: {
|
|
|
4183
4221
|
}[];
|
|
4184
4222
|
}[];
|
|
4185
4223
|
tags: {
|
|
4186
|
-
id: string;
|
|
4187
4224
|
name: string;
|
|
4225
|
+
id: string;
|
|
4188
4226
|
createdAt: Date;
|
|
4189
4227
|
updatedAt: Date;
|
|
4190
4228
|
deletedAt: Date | null;
|
|
@@ -4214,19 +4252,20 @@ export declare const chatContract: {
|
|
|
4214
4252
|
endedAt: string | null;
|
|
4215
4253
|
duration: number | null;
|
|
4216
4254
|
holdLabel?: {
|
|
4217
|
-
id: string;
|
|
4218
4255
|
name: string;
|
|
4256
|
+
id: string;
|
|
4219
4257
|
position: number;
|
|
4220
4258
|
createdAt: Date;
|
|
4221
4259
|
updatedAt: Date;
|
|
4222
4260
|
deletedAt: Date | null;
|
|
4261
|
+
isDefault?: boolean | undefined;
|
|
4223
4262
|
} | null | undefined;
|
|
4224
4263
|
}[] | null | undefined;
|
|
4225
4264
|
};
|
|
4226
4265
|
workflowRule: {
|
|
4266
|
+
name: string;
|
|
4227
4267
|
type: string;
|
|
4228
4268
|
id: string;
|
|
4229
|
-
name: string;
|
|
4230
4269
|
createdAt: Date;
|
|
4231
4270
|
updatedAt: Date;
|
|
4232
4271
|
deletedAt: Date | null;
|
|
@@ -4341,8 +4380,8 @@ export declare const chatContract: {
|
|
|
4341
4380
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4342
4381
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
4343
4382
|
}, "strip", z.ZodTypeAny, {
|
|
4344
|
-
id: string;
|
|
4345
4383
|
name: string;
|
|
4384
|
+
id: string;
|
|
4346
4385
|
accessToken?: string | undefined;
|
|
4347
4386
|
channelSecret?: string | undefined;
|
|
4348
4387
|
additionalCredentials?: any;
|
|
@@ -4366,8 +4405,8 @@ export declare const chatContract: {
|
|
|
4366
4405
|
lineRichMenuId?: string | null | undefined;
|
|
4367
4406
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4368
4407
|
}, {
|
|
4369
|
-
id: string;
|
|
4370
4408
|
name: string;
|
|
4409
|
+
id: string;
|
|
4371
4410
|
accessToken?: string | undefined;
|
|
4372
4411
|
channelSecret?: string | undefined;
|
|
4373
4412
|
additionalCredentials?: any;
|
|
@@ -4404,14 +4443,14 @@ export declare const chatContract: {
|
|
|
4404
4443
|
integrationId: z.ZodString;
|
|
4405
4444
|
accessToken: z.ZodString;
|
|
4406
4445
|
}, "strip", z.ZodTypeAny, {
|
|
4407
|
-
id: string;
|
|
4408
4446
|
name: string;
|
|
4447
|
+
id: string;
|
|
4409
4448
|
accessToken: string;
|
|
4410
4449
|
botId: string;
|
|
4411
4450
|
integrationId: string;
|
|
4412
4451
|
}, {
|
|
4413
|
-
id: string;
|
|
4414
4452
|
name: string;
|
|
4453
|
+
id: string;
|
|
4415
4454
|
accessToken: string;
|
|
4416
4455
|
botId: string;
|
|
4417
4456
|
integrationId: string;
|
|
@@ -4534,9 +4573,9 @@ export declare const chatContract: {
|
|
|
4534
4573
|
telephonySignature: string | null;
|
|
4535
4574
|
}>;
|
|
4536
4575
|
}, "strip", z.ZodTypeAny, {
|
|
4576
|
+
name: string;
|
|
4537
4577
|
id: string;
|
|
4538
4578
|
address: string | null;
|
|
4539
|
-
name: string;
|
|
4540
4579
|
email: string;
|
|
4541
4580
|
createdAt: Date;
|
|
4542
4581
|
updatedAt: Date;
|
|
@@ -4577,9 +4616,9 @@ export declare const chatContract: {
|
|
|
4577
4616
|
telephonySignature: string | null;
|
|
4578
4617
|
};
|
|
4579
4618
|
}, {
|
|
4619
|
+
name: string;
|
|
4580
4620
|
id: string;
|
|
4581
4621
|
address: string | null;
|
|
4582
|
-
name: string;
|
|
4583
4622
|
email: string;
|
|
4584
4623
|
createdAt: Date;
|
|
4585
4624
|
updatedAt: Date;
|
|
@@ -4621,12 +4660,12 @@ export declare const chatContract: {
|
|
|
4621
4660
|
};
|
|
4622
4661
|
}>;
|
|
4623
4662
|
}, "strip", z.ZodTypeAny, {
|
|
4663
|
+
name: string;
|
|
4624
4664
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4625
4665
|
id: string;
|
|
4626
|
-
name: string;
|
|
4627
4666
|
metadata: {
|
|
4628
|
-
id: string;
|
|
4629
4667
|
name: string;
|
|
4668
|
+
id: string;
|
|
4630
4669
|
accessToken?: string | undefined;
|
|
4631
4670
|
channelSecret?: string | undefined;
|
|
4632
4671
|
additionalCredentials?: any;
|
|
@@ -4655,9 +4694,9 @@ export declare const chatContract: {
|
|
|
4655
4694
|
updatedAt: Date;
|
|
4656
4695
|
deletedAt: Date | null;
|
|
4657
4696
|
actor: {
|
|
4697
|
+
name: string;
|
|
4658
4698
|
id: string;
|
|
4659
4699
|
address: string | null;
|
|
4660
|
-
name: string;
|
|
4661
4700
|
email: string;
|
|
4662
4701
|
createdAt: Date;
|
|
4663
4702
|
updatedAt: Date;
|
|
@@ -4704,19 +4743,19 @@ export declare const chatContract: {
|
|
|
4704
4743
|
connectedUserName: string;
|
|
4705
4744
|
connectedUserId: string;
|
|
4706
4745
|
botpressBot: {
|
|
4707
|
-
id: string;
|
|
4708
4746
|
name: string;
|
|
4747
|
+
id: string;
|
|
4709
4748
|
accessToken: string;
|
|
4710
4749
|
botId: string;
|
|
4711
4750
|
integrationId: string;
|
|
4712
4751
|
} | null;
|
|
4713
4752
|
}, {
|
|
4753
|
+
name: string;
|
|
4714
4754
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4715
4755
|
id: string;
|
|
4716
|
-
name: string;
|
|
4717
4756
|
metadata: {
|
|
4718
|
-
id: string;
|
|
4719
4757
|
name: string;
|
|
4758
|
+
id: string;
|
|
4720
4759
|
accessToken?: string | undefined;
|
|
4721
4760
|
channelSecret?: string | undefined;
|
|
4722
4761
|
additionalCredentials?: any;
|
|
@@ -4745,9 +4784,9 @@ export declare const chatContract: {
|
|
|
4745
4784
|
updatedAt: Date;
|
|
4746
4785
|
deletedAt: Date | null;
|
|
4747
4786
|
actor: {
|
|
4787
|
+
name: string;
|
|
4748
4788
|
id: string;
|
|
4749
4789
|
address: string | null;
|
|
4750
|
-
name: string;
|
|
4751
4790
|
email: string;
|
|
4752
4791
|
createdAt: Date;
|
|
4753
4792
|
updatedAt: Date;
|
|
@@ -4794,8 +4833,8 @@ export declare const chatContract: {
|
|
|
4794
4833
|
connectedUserName: string;
|
|
4795
4834
|
connectedUserId: string;
|
|
4796
4835
|
botpressBot: {
|
|
4797
|
-
id: string;
|
|
4798
4836
|
name: string;
|
|
4837
|
+
id: string;
|
|
4799
4838
|
accessToken: string;
|
|
4800
4839
|
botId: string;
|
|
4801
4840
|
integrationId: string;
|
|
@@ -4924,9 +4963,9 @@ export declare const chatContract: {
|
|
|
4924
4963
|
telephonySignature: string | null;
|
|
4925
4964
|
}>;
|
|
4926
4965
|
}, "strip", z.ZodTypeAny, {
|
|
4966
|
+
name: string;
|
|
4927
4967
|
id: string;
|
|
4928
4968
|
address: string | null;
|
|
4929
|
-
name: string;
|
|
4930
4969
|
email: string;
|
|
4931
4970
|
createdAt: Date;
|
|
4932
4971
|
updatedAt: Date;
|
|
@@ -4967,9 +5006,9 @@ export declare const chatContract: {
|
|
|
4967
5006
|
telephonySignature: string | null;
|
|
4968
5007
|
};
|
|
4969
5008
|
}, {
|
|
5009
|
+
name: string;
|
|
4970
5010
|
id: string;
|
|
4971
5011
|
address: string | null;
|
|
4972
|
-
name: string;
|
|
4973
5012
|
email: string;
|
|
4974
5013
|
createdAt: Date;
|
|
4975
5014
|
updatedAt: Date;
|
|
@@ -5030,13 +5069,13 @@ export declare const chatContract: {
|
|
|
5030
5069
|
picture: z.ZodOptional<z.ZodString>;
|
|
5031
5070
|
additionalCredentials: z.ZodAny;
|
|
5032
5071
|
}, "strip", z.ZodTypeAny, {
|
|
5033
|
-
id: string;
|
|
5034
5072
|
name: string;
|
|
5073
|
+
id: string;
|
|
5035
5074
|
picture?: string | undefined;
|
|
5036
5075
|
additionalCredentials?: any;
|
|
5037
5076
|
}, {
|
|
5038
|
-
id: string;
|
|
5039
5077
|
name: string;
|
|
5078
|
+
id: string;
|
|
5040
5079
|
picture?: string | undefined;
|
|
5041
5080
|
additionalCredentials?: any;
|
|
5042
5081
|
}>;
|
|
@@ -5058,14 +5097,14 @@ export declare const chatContract: {
|
|
|
5058
5097
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5059
5098
|
name: z.ZodString;
|
|
5060
5099
|
}, "strip", z.ZodTypeAny, {
|
|
5061
|
-
id: string;
|
|
5062
5100
|
name: string;
|
|
5101
|
+
id: string;
|
|
5063
5102
|
createdAt: Date;
|
|
5064
5103
|
updatedAt: Date;
|
|
5065
5104
|
deletedAt: Date | null;
|
|
5066
5105
|
}, {
|
|
5067
|
-
id: string;
|
|
5068
5106
|
name: string;
|
|
5107
|
+
id: string;
|
|
5069
5108
|
createdAt: Date;
|
|
5070
5109
|
updatedAt: Date;
|
|
5071
5110
|
deletedAt: Date | null;
|
|
@@ -5221,8 +5260,8 @@ export declare const chatContract: {
|
|
|
5221
5260
|
createdAt: Date;
|
|
5222
5261
|
updatedAt: Date;
|
|
5223
5262
|
deletedAt: Date | null;
|
|
5224
|
-
address?: string | null | undefined;
|
|
5225
5263
|
name?: string | undefined;
|
|
5264
|
+
address?: string | null | undefined;
|
|
5226
5265
|
phone?: string | null | undefined;
|
|
5227
5266
|
industry?: string | null | undefined;
|
|
5228
5267
|
}, {
|
|
@@ -5230,8 +5269,8 @@ export declare const chatContract: {
|
|
|
5230
5269
|
createdAt: Date;
|
|
5231
5270
|
updatedAt: Date;
|
|
5232
5271
|
deletedAt: Date | null;
|
|
5233
|
-
address?: string | null | undefined;
|
|
5234
5272
|
name?: string | undefined;
|
|
5273
|
+
address?: string | null | undefined;
|
|
5235
5274
|
phone?: string | null | undefined;
|
|
5236
5275
|
industry?: string | null | undefined;
|
|
5237
5276
|
}>>;
|
|
@@ -5249,13 +5288,13 @@ export declare const chatContract: {
|
|
|
5249
5288
|
picture: z.ZodOptional<z.ZodString>;
|
|
5250
5289
|
additionalCredentials: z.ZodAny;
|
|
5251
5290
|
}, "strip", z.ZodTypeAny, {
|
|
5252
|
-
id: string;
|
|
5253
5291
|
name: string;
|
|
5292
|
+
id: string;
|
|
5254
5293
|
picture?: string | undefined;
|
|
5255
5294
|
additionalCredentials?: any;
|
|
5256
5295
|
}, {
|
|
5257
|
-
id: string;
|
|
5258
5296
|
name: string;
|
|
5297
|
+
id: string;
|
|
5259
5298
|
picture?: string | undefined;
|
|
5260
5299
|
additionalCredentials?: any;
|
|
5261
5300
|
}>;
|
|
@@ -5263,8 +5302,8 @@ export declare const chatContract: {
|
|
|
5263
5302
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5264
5303
|
id: string;
|
|
5265
5304
|
metadata: {
|
|
5266
|
-
id: string;
|
|
5267
5305
|
name: string;
|
|
5306
|
+
id: string;
|
|
5268
5307
|
picture?: string | undefined;
|
|
5269
5308
|
additionalCredentials?: any;
|
|
5270
5309
|
};
|
|
@@ -5277,8 +5316,8 @@ export declare const chatContract: {
|
|
|
5277
5316
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5278
5317
|
id: string;
|
|
5279
5318
|
metadata: {
|
|
5280
|
-
id: string;
|
|
5281
5319
|
name: string;
|
|
5320
|
+
id: string;
|
|
5282
5321
|
picture?: string | undefined;
|
|
5283
5322
|
additionalCredentials?: any;
|
|
5284
5323
|
};
|
|
@@ -5588,10 +5627,10 @@ export declare const chatContract: {
|
|
|
5588
5627
|
};
|
|
5589
5628
|
}>, "many">>;
|
|
5590
5629
|
}, "strip", z.ZodTypeAny, {
|
|
5630
|
+
name: string;
|
|
5591
5631
|
id: string;
|
|
5592
5632
|
channel: string | null;
|
|
5593
5633
|
address: string | null;
|
|
5594
|
-
name: string;
|
|
5595
5634
|
createdAt: Date;
|
|
5596
5635
|
updatedAt: Date;
|
|
5597
5636
|
deletedAt: Date | null;
|
|
@@ -5636,8 +5675,8 @@ export declare const chatContract: {
|
|
|
5636
5675
|
createdAt: Date;
|
|
5637
5676
|
updatedAt: Date;
|
|
5638
5677
|
deletedAt: Date | null;
|
|
5639
|
-
address?: string | null | undefined;
|
|
5640
5678
|
name?: string | undefined;
|
|
5679
|
+
address?: string | null | undefined;
|
|
5641
5680
|
phone?: string | null | undefined;
|
|
5642
5681
|
industry?: string | null | undefined;
|
|
5643
5682
|
} | null;
|
|
@@ -5645,8 +5684,8 @@ export declare const chatContract: {
|
|
|
5645
5684
|
contactProfile: string | null;
|
|
5646
5685
|
socialProfileUrl: string | null;
|
|
5647
5686
|
tags: {
|
|
5648
|
-
id: string;
|
|
5649
5687
|
name: string;
|
|
5688
|
+
id: string;
|
|
5650
5689
|
createdAt: Date;
|
|
5651
5690
|
updatedAt: Date;
|
|
5652
5691
|
deletedAt: Date | null;
|
|
@@ -5671,8 +5710,8 @@ export declare const chatContract: {
|
|
|
5671
5710
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5672
5711
|
id: string;
|
|
5673
5712
|
metadata: {
|
|
5674
|
-
id: string;
|
|
5675
5713
|
name: string;
|
|
5714
|
+
id: string;
|
|
5676
5715
|
picture?: string | undefined;
|
|
5677
5716
|
additionalCredentials?: any;
|
|
5678
5717
|
};
|
|
@@ -5699,10 +5738,10 @@ export declare const chatContract: {
|
|
|
5699
5738
|
};
|
|
5700
5739
|
}[] | undefined;
|
|
5701
5740
|
}, {
|
|
5741
|
+
name: string;
|
|
5702
5742
|
id: string;
|
|
5703
5743
|
channel: string | null;
|
|
5704
5744
|
address: string | null;
|
|
5705
|
-
name: string;
|
|
5706
5745
|
createdAt: Date;
|
|
5707
5746
|
updatedAt: Date;
|
|
5708
5747
|
deletedAt: Date | null;
|
|
@@ -5747,8 +5786,8 @@ export declare const chatContract: {
|
|
|
5747
5786
|
createdAt: Date;
|
|
5748
5787
|
updatedAt: Date;
|
|
5749
5788
|
deletedAt: Date | null;
|
|
5750
|
-
address?: string | null | undefined;
|
|
5751
5789
|
name?: string | undefined;
|
|
5790
|
+
address?: string | null | undefined;
|
|
5752
5791
|
phone?: string | null | undefined;
|
|
5753
5792
|
industry?: string | null | undefined;
|
|
5754
5793
|
} | null;
|
|
@@ -5756,8 +5795,8 @@ export declare const chatContract: {
|
|
|
5756
5795
|
contactProfile: string | null;
|
|
5757
5796
|
socialProfileUrl: string | null;
|
|
5758
5797
|
tags: {
|
|
5759
|
-
id: string;
|
|
5760
5798
|
name: string;
|
|
5799
|
+
id: string;
|
|
5761
5800
|
createdAt: Date;
|
|
5762
5801
|
updatedAt: Date;
|
|
5763
5802
|
deletedAt: Date | null;
|
|
@@ -5782,8 +5821,8 @@ export declare const chatContract: {
|
|
|
5782
5821
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5783
5822
|
id: string;
|
|
5784
5823
|
metadata: {
|
|
5785
|
-
id: string;
|
|
5786
5824
|
name: string;
|
|
5825
|
+
id: string;
|
|
5787
5826
|
picture?: string | undefined;
|
|
5788
5827
|
additionalCredentials?: any;
|
|
5789
5828
|
};
|
|
@@ -5814,8 +5853,8 @@ export declare const chatContract: {
|
|
|
5814
5853
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5815
5854
|
id: string;
|
|
5816
5855
|
metadata: {
|
|
5817
|
-
id: string;
|
|
5818
5856
|
name: string;
|
|
5857
|
+
id: string;
|
|
5819
5858
|
picture?: string | undefined;
|
|
5820
5859
|
additionalCredentials?: any;
|
|
5821
5860
|
};
|
|
@@ -5823,10 +5862,10 @@ export declare const chatContract: {
|
|
|
5823
5862
|
updatedAt: Date;
|
|
5824
5863
|
deletedAt: Date | null;
|
|
5825
5864
|
contact: {
|
|
5865
|
+
name: string;
|
|
5826
5866
|
id: string;
|
|
5827
5867
|
channel: string | null;
|
|
5828
5868
|
address: string | null;
|
|
5829
|
-
name: string;
|
|
5830
5869
|
createdAt: Date;
|
|
5831
5870
|
updatedAt: Date;
|
|
5832
5871
|
deletedAt: Date | null;
|
|
@@ -5871,8 +5910,8 @@ export declare const chatContract: {
|
|
|
5871
5910
|
createdAt: Date;
|
|
5872
5911
|
updatedAt: Date;
|
|
5873
5912
|
deletedAt: Date | null;
|
|
5874
|
-
address?: string | null | undefined;
|
|
5875
5913
|
name?: string | undefined;
|
|
5914
|
+
address?: string | null | undefined;
|
|
5876
5915
|
phone?: string | null | undefined;
|
|
5877
5916
|
industry?: string | null | undefined;
|
|
5878
5917
|
} | null;
|
|
@@ -5880,8 +5919,8 @@ export declare const chatContract: {
|
|
|
5880
5919
|
contactProfile: string | null;
|
|
5881
5920
|
socialProfileUrl: string | null;
|
|
5882
5921
|
tags: {
|
|
5883
|
-
id: string;
|
|
5884
5922
|
name: string;
|
|
5923
|
+
id: string;
|
|
5885
5924
|
createdAt: Date;
|
|
5886
5925
|
updatedAt: Date;
|
|
5887
5926
|
deletedAt: Date | null;
|
|
@@ -5906,8 +5945,8 @@ export declare const chatContract: {
|
|
|
5906
5945
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5907
5946
|
id: string;
|
|
5908
5947
|
metadata: {
|
|
5909
|
-
id: string;
|
|
5910
5948
|
name: string;
|
|
5949
|
+
id: string;
|
|
5911
5950
|
picture?: string | undefined;
|
|
5912
5951
|
additionalCredentials?: any;
|
|
5913
5952
|
};
|
|
@@ -5940,8 +5979,8 @@ export declare const chatContract: {
|
|
|
5940
5979
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5941
5980
|
id: string;
|
|
5942
5981
|
metadata: {
|
|
5943
|
-
id: string;
|
|
5944
5982
|
name: string;
|
|
5983
|
+
id: string;
|
|
5945
5984
|
picture?: string | undefined;
|
|
5946
5985
|
additionalCredentials?: any;
|
|
5947
5986
|
};
|
|
@@ -5949,10 +5988,10 @@ export declare const chatContract: {
|
|
|
5949
5988
|
updatedAt: Date;
|
|
5950
5989
|
deletedAt: Date | null;
|
|
5951
5990
|
contact: {
|
|
5991
|
+
name: string;
|
|
5952
5992
|
id: string;
|
|
5953
5993
|
channel: string | null;
|
|
5954
5994
|
address: string | null;
|
|
5955
|
-
name: string;
|
|
5956
5995
|
createdAt: Date;
|
|
5957
5996
|
updatedAt: Date;
|
|
5958
5997
|
deletedAt: Date | null;
|
|
@@ -5997,8 +6036,8 @@ export declare const chatContract: {
|
|
|
5997
6036
|
createdAt: Date;
|
|
5998
6037
|
updatedAt: Date;
|
|
5999
6038
|
deletedAt: Date | null;
|
|
6000
|
-
address?: string | null | undefined;
|
|
6001
6039
|
name?: string | undefined;
|
|
6040
|
+
address?: string | null | undefined;
|
|
6002
6041
|
phone?: string | null | undefined;
|
|
6003
6042
|
industry?: string | null | undefined;
|
|
6004
6043
|
} | null;
|
|
@@ -6006,8 +6045,8 @@ export declare const chatContract: {
|
|
|
6006
6045
|
contactProfile: string | null;
|
|
6007
6046
|
socialProfileUrl: string | null;
|
|
6008
6047
|
tags: {
|
|
6009
|
-
id: string;
|
|
6010
6048
|
name: string;
|
|
6049
|
+
id: string;
|
|
6011
6050
|
createdAt: Date;
|
|
6012
6051
|
updatedAt: Date;
|
|
6013
6052
|
deletedAt: Date | null;
|
|
@@ -6032,8 +6071,8 @@ export declare const chatContract: {
|
|
|
6032
6071
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6033
6072
|
id: string;
|
|
6034
6073
|
metadata: {
|
|
6035
|
-
id: string;
|
|
6036
6074
|
name: string;
|
|
6075
|
+
id: string;
|
|
6037
6076
|
picture?: string | undefined;
|
|
6038
6077
|
additionalCredentials?: any;
|
|
6039
6078
|
};
|
|
@@ -6181,9 +6220,9 @@ export declare const chatContract: {
|
|
|
6181
6220
|
telephonySignature: string | null;
|
|
6182
6221
|
}>;
|
|
6183
6222
|
}, "strip", z.ZodTypeAny, {
|
|
6223
|
+
name: string;
|
|
6184
6224
|
id: string;
|
|
6185
6225
|
address: string | null;
|
|
6186
|
-
name: string;
|
|
6187
6226
|
email: string;
|
|
6188
6227
|
createdAt: Date;
|
|
6189
6228
|
updatedAt: Date;
|
|
@@ -6224,9 +6263,9 @@ export declare const chatContract: {
|
|
|
6224
6263
|
telephonySignature: string | null;
|
|
6225
6264
|
};
|
|
6226
6265
|
}, {
|
|
6266
|
+
name: string;
|
|
6227
6267
|
id: string;
|
|
6228
6268
|
address: string | null;
|
|
6229
|
-
name: string;
|
|
6230
6269
|
email: string;
|
|
6231
6270
|
createdAt: Date;
|
|
6232
6271
|
updatedAt: Date;
|
|
@@ -6284,8 +6323,12 @@ export declare const chatContract: {
|
|
|
6284
6323
|
agentId: z.ZodNullable<z.ZodString>;
|
|
6285
6324
|
direction: z.ZodNullable<z.ZodString>;
|
|
6286
6325
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
6326
|
+
totalHoldDuration: z.ZodNullable<z.ZodNumber>;
|
|
6287
6327
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
6328
|
+
fullHandledTime: z.ZodNullable<z.ZodNumber>;
|
|
6288
6329
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
6330
|
+
resolutionTime: z.ZodNullable<z.ZodNumber>;
|
|
6331
|
+
fullResolutionTime: z.ZodNullable<z.ZodNumber>;
|
|
6289
6332
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
6290
6333
|
id: z.ZodString;
|
|
6291
6334
|
createdAt: z.ZodDate;
|
|
@@ -6301,14 +6344,14 @@ export declare const chatContract: {
|
|
|
6301
6344
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6302
6345
|
name: z.ZodString;
|
|
6303
6346
|
}, "strip", z.ZodTypeAny, {
|
|
6304
|
-
id: string;
|
|
6305
6347
|
name: string;
|
|
6348
|
+
id: string;
|
|
6306
6349
|
createdAt: Date;
|
|
6307
6350
|
updatedAt: Date;
|
|
6308
6351
|
deletedAt: Date | null;
|
|
6309
6352
|
}, {
|
|
6310
|
-
id: string;
|
|
6311
6353
|
name: string;
|
|
6354
|
+
id: string;
|
|
6312
6355
|
createdAt: Date;
|
|
6313
6356
|
updatedAt: Date;
|
|
6314
6357
|
deletedAt: Date | null;
|
|
@@ -6479,8 +6522,8 @@ export declare const chatContract: {
|
|
|
6479
6522
|
}[];
|
|
6480
6523
|
}[];
|
|
6481
6524
|
tags: {
|
|
6482
|
-
id: string;
|
|
6483
6525
|
name: string;
|
|
6526
|
+
id: string;
|
|
6484
6527
|
createdAt: Date;
|
|
6485
6528
|
updatedAt: Date;
|
|
6486
6529
|
deletedAt: Date | null;
|
|
@@ -6530,8 +6573,8 @@ export declare const chatContract: {
|
|
|
6530
6573
|
}[];
|
|
6531
6574
|
}[];
|
|
6532
6575
|
tags: {
|
|
6533
|
-
id: string;
|
|
6534
6576
|
name: string;
|
|
6577
|
+
id: string;
|
|
6535
6578
|
createdAt: Date;
|
|
6536
6579
|
updatedAt: Date;
|
|
6537
6580
|
deletedAt: Date | null;
|
|
@@ -6567,20 +6610,23 @@ export declare const chatContract: {
|
|
|
6567
6610
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
6568
6611
|
name: z.ZodString;
|
|
6569
6612
|
position: z.ZodNumber;
|
|
6613
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
6570
6614
|
}, "strip", z.ZodTypeAny, {
|
|
6571
|
-
id: string;
|
|
6572
6615
|
name: string;
|
|
6616
|
+
id: string;
|
|
6573
6617
|
position: number;
|
|
6574
6618
|
createdAt: Date;
|
|
6575
6619
|
updatedAt: Date;
|
|
6576
6620
|
deletedAt: Date | null;
|
|
6621
|
+
isDefault: boolean;
|
|
6577
6622
|
}, {
|
|
6578
|
-
id: string;
|
|
6579
6623
|
name: string;
|
|
6624
|
+
id: string;
|
|
6580
6625
|
position: number;
|
|
6581
6626
|
createdAt: Date;
|
|
6582
6627
|
updatedAt: Date;
|
|
6583
6628
|
deletedAt: Date | null;
|
|
6629
|
+
isDefault?: boolean | undefined;
|
|
6584
6630
|
}>>>;
|
|
6585
6631
|
}, "strip", z.ZodTypeAny, {
|
|
6586
6632
|
id: string;
|
|
@@ -6591,12 +6637,13 @@ export declare const chatContract: {
|
|
|
6591
6637
|
endedAt: string | null;
|
|
6592
6638
|
duration: number | null;
|
|
6593
6639
|
holdLabel?: {
|
|
6594
|
-
id: string;
|
|
6595
6640
|
name: string;
|
|
6641
|
+
id: string;
|
|
6596
6642
|
position: number;
|
|
6597
6643
|
createdAt: Date;
|
|
6598
6644
|
updatedAt: Date;
|
|
6599
6645
|
deletedAt: Date | null;
|
|
6646
|
+
isDefault: boolean;
|
|
6600
6647
|
} | null | undefined;
|
|
6601
6648
|
}, {
|
|
6602
6649
|
id: string;
|
|
@@ -6607,12 +6654,13 @@ export declare const chatContract: {
|
|
|
6607
6654
|
endedAt: string | null;
|
|
6608
6655
|
duration: number | null;
|
|
6609
6656
|
holdLabel?: {
|
|
6610
|
-
id: string;
|
|
6611
6657
|
name: string;
|
|
6658
|
+
id: string;
|
|
6612
6659
|
position: number;
|
|
6613
6660
|
createdAt: Date;
|
|
6614
6661
|
updatedAt: Date;
|
|
6615
6662
|
deletedAt: Date | null;
|
|
6663
|
+
isDefault?: boolean | undefined;
|
|
6616
6664
|
} | null | undefined;
|
|
6617
6665
|
}>, "many">>>;
|
|
6618
6666
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6629,8 +6677,12 @@ export declare const chatContract: {
|
|
|
6629
6677
|
entityName: string;
|
|
6630
6678
|
agentId: string | null;
|
|
6631
6679
|
startedDate: Date | null;
|
|
6680
|
+
totalHoldDuration: number | null;
|
|
6632
6681
|
handledTime: number | null;
|
|
6682
|
+
fullHandledTime: number | null;
|
|
6633
6683
|
firstResponseTime: number | null;
|
|
6684
|
+
resolutionTime: number | null;
|
|
6685
|
+
fullResolutionTime: number | null;
|
|
6634
6686
|
wrapUpForm: {
|
|
6635
6687
|
type: string;
|
|
6636
6688
|
id: string;
|
|
@@ -6661,8 +6713,8 @@ export declare const chatContract: {
|
|
|
6661
6713
|
}[];
|
|
6662
6714
|
}[];
|
|
6663
6715
|
tags: {
|
|
6664
|
-
id: string;
|
|
6665
6716
|
name: string;
|
|
6717
|
+
id: string;
|
|
6666
6718
|
createdAt: Date;
|
|
6667
6719
|
updatedAt: Date;
|
|
6668
6720
|
deletedAt: Date | null;
|
|
@@ -6692,12 +6744,13 @@ export declare const chatContract: {
|
|
|
6692
6744
|
endedAt: string | null;
|
|
6693
6745
|
duration: number | null;
|
|
6694
6746
|
holdLabel?: {
|
|
6695
|
-
id: string;
|
|
6696
6747
|
name: string;
|
|
6748
|
+
id: string;
|
|
6697
6749
|
position: number;
|
|
6698
6750
|
createdAt: Date;
|
|
6699
6751
|
updatedAt: Date;
|
|
6700
6752
|
deletedAt: Date | null;
|
|
6753
|
+
isDefault: boolean;
|
|
6701
6754
|
} | null | undefined;
|
|
6702
6755
|
}[] | null | undefined;
|
|
6703
6756
|
}, {
|
|
@@ -6714,8 +6767,12 @@ export declare const chatContract: {
|
|
|
6714
6767
|
entityName: string;
|
|
6715
6768
|
agentId: string | null;
|
|
6716
6769
|
startedDate: Date | null;
|
|
6770
|
+
totalHoldDuration: number | null;
|
|
6717
6771
|
handledTime: number | null;
|
|
6772
|
+
fullHandledTime: number | null;
|
|
6718
6773
|
firstResponseTime: number | null;
|
|
6774
|
+
resolutionTime: number | null;
|
|
6775
|
+
fullResolutionTime: number | null;
|
|
6719
6776
|
wrapUpForm: {
|
|
6720
6777
|
type: string;
|
|
6721
6778
|
id: string;
|
|
@@ -6746,8 +6803,8 @@ export declare const chatContract: {
|
|
|
6746
6803
|
}[];
|
|
6747
6804
|
}[];
|
|
6748
6805
|
tags: {
|
|
6749
|
-
id: string;
|
|
6750
6806
|
name: string;
|
|
6807
|
+
id: string;
|
|
6751
6808
|
createdAt: Date;
|
|
6752
6809
|
updatedAt: Date;
|
|
6753
6810
|
deletedAt: Date | null;
|
|
@@ -6777,12 +6834,13 @@ export declare const chatContract: {
|
|
|
6777
6834
|
endedAt: string | null;
|
|
6778
6835
|
duration: number | null;
|
|
6779
6836
|
holdLabel?: {
|
|
6780
|
-
id: string;
|
|
6781
6837
|
name: string;
|
|
6838
|
+
id: string;
|
|
6782
6839
|
position: number;
|
|
6783
6840
|
createdAt: Date;
|
|
6784
6841
|
updatedAt: Date;
|
|
6785
6842
|
deletedAt: Date | null;
|
|
6843
|
+
isDefault?: boolean | undefined;
|
|
6786
6844
|
} | null | undefined;
|
|
6787
6845
|
}[] | null | undefined;
|
|
6788
6846
|
}>;
|
|
@@ -6795,17 +6853,17 @@ export declare const chatContract: {
|
|
|
6795
6853
|
isActive: z.ZodBoolean;
|
|
6796
6854
|
type: z.ZodString;
|
|
6797
6855
|
}, "strip", z.ZodTypeAny, {
|
|
6856
|
+
name: string;
|
|
6798
6857
|
type: string;
|
|
6799
6858
|
id: string;
|
|
6800
|
-
name: string;
|
|
6801
6859
|
createdAt: Date;
|
|
6802
6860
|
updatedAt: Date;
|
|
6803
6861
|
deletedAt: Date | null;
|
|
6804
6862
|
isActive: boolean;
|
|
6805
6863
|
}, {
|
|
6864
|
+
name: string;
|
|
6806
6865
|
type: string;
|
|
6807
6866
|
id: string;
|
|
6808
|
-
name: string;
|
|
6809
6867
|
createdAt: Date;
|
|
6810
6868
|
updatedAt: Date;
|
|
6811
6869
|
deletedAt: Date | null;
|
|
@@ -6816,12 +6874,12 @@ export declare const chatContract: {
|
|
|
6816
6874
|
}, "strip", z.ZodTypeAny, {
|
|
6817
6875
|
id: string;
|
|
6818
6876
|
channel: {
|
|
6877
|
+
name: string;
|
|
6819
6878
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6820
6879
|
id: string;
|
|
6821
|
-
name: string;
|
|
6822
6880
|
metadata: {
|
|
6823
|
-
id: string;
|
|
6824
6881
|
name: string;
|
|
6882
|
+
id: string;
|
|
6825
6883
|
accessToken?: string | undefined;
|
|
6826
6884
|
channelSecret?: string | undefined;
|
|
6827
6885
|
additionalCredentials?: any;
|
|
@@ -6850,9 +6908,9 @@ export declare const chatContract: {
|
|
|
6850
6908
|
updatedAt: Date;
|
|
6851
6909
|
deletedAt: Date | null;
|
|
6852
6910
|
actor: {
|
|
6911
|
+
name: string;
|
|
6853
6912
|
id: string;
|
|
6854
6913
|
address: string | null;
|
|
6855
|
-
name: string;
|
|
6856
6914
|
email: string;
|
|
6857
6915
|
createdAt: Date;
|
|
6858
6916
|
updatedAt: Date;
|
|
@@ -6899,8 +6957,8 @@ export declare const chatContract: {
|
|
|
6899
6957
|
connectedUserName: string;
|
|
6900
6958
|
connectedUserId: string;
|
|
6901
6959
|
botpressBot: {
|
|
6902
|
-
id: string;
|
|
6903
6960
|
name: string;
|
|
6961
|
+
id: string;
|
|
6904
6962
|
accessToken: string;
|
|
6905
6963
|
botId: string;
|
|
6906
6964
|
integrationId: string;
|
|
@@ -6912,9 +6970,9 @@ export declare const chatContract: {
|
|
|
6912
6970
|
updatedAt: Date;
|
|
6913
6971
|
deletedAt: Date | null;
|
|
6914
6972
|
actor: {
|
|
6973
|
+
name: string;
|
|
6915
6974
|
id: string;
|
|
6916
6975
|
address: string | null;
|
|
6917
|
-
name: string;
|
|
6918
6976
|
email: string;
|
|
6919
6977
|
createdAt: Date;
|
|
6920
6978
|
updatedAt: Date;
|
|
@@ -6965,8 +7023,8 @@ export declare const chatContract: {
|
|
|
6965
7023
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6966
7024
|
id: string;
|
|
6967
7025
|
metadata: {
|
|
6968
|
-
id: string;
|
|
6969
7026
|
name: string;
|
|
7027
|
+
id: string;
|
|
6970
7028
|
picture?: string | undefined;
|
|
6971
7029
|
additionalCredentials?: any;
|
|
6972
7030
|
};
|
|
@@ -6974,10 +7032,10 @@ export declare const chatContract: {
|
|
|
6974
7032
|
updatedAt: Date;
|
|
6975
7033
|
deletedAt: Date | null;
|
|
6976
7034
|
contact: {
|
|
7035
|
+
name: string;
|
|
6977
7036
|
id: string;
|
|
6978
7037
|
channel: string | null;
|
|
6979
7038
|
address: string | null;
|
|
6980
|
-
name: string;
|
|
6981
7039
|
createdAt: Date;
|
|
6982
7040
|
updatedAt: Date;
|
|
6983
7041
|
deletedAt: Date | null;
|
|
@@ -7022,8 +7080,8 @@ export declare const chatContract: {
|
|
|
7022
7080
|
createdAt: Date;
|
|
7023
7081
|
updatedAt: Date;
|
|
7024
7082
|
deletedAt: Date | null;
|
|
7025
|
-
address?: string | null | undefined;
|
|
7026
7083
|
name?: string | undefined;
|
|
7084
|
+
address?: string | null | undefined;
|
|
7027
7085
|
phone?: string | null | undefined;
|
|
7028
7086
|
industry?: string | null | undefined;
|
|
7029
7087
|
} | null;
|
|
@@ -7031,8 +7089,8 @@ export declare const chatContract: {
|
|
|
7031
7089
|
contactProfile: string | null;
|
|
7032
7090
|
socialProfileUrl: string | null;
|
|
7033
7091
|
tags: {
|
|
7034
|
-
id: string;
|
|
7035
7092
|
name: string;
|
|
7093
|
+
id: string;
|
|
7036
7094
|
createdAt: Date;
|
|
7037
7095
|
updatedAt: Date;
|
|
7038
7096
|
deletedAt: Date | null;
|
|
@@ -7057,8 +7115,8 @@ export declare const chatContract: {
|
|
|
7057
7115
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7058
7116
|
id: string;
|
|
7059
7117
|
metadata: {
|
|
7060
|
-
id: string;
|
|
7061
7118
|
name: string;
|
|
7119
|
+
id: string;
|
|
7062
7120
|
picture?: string | undefined;
|
|
7063
7121
|
additionalCredentials?: any;
|
|
7064
7122
|
};
|
|
@@ -7089,9 +7147,9 @@ export declare const chatContract: {
|
|
|
7089
7147
|
socialPlatformId: string;
|
|
7090
7148
|
};
|
|
7091
7149
|
assignee: {
|
|
7150
|
+
name: string;
|
|
7092
7151
|
id: string;
|
|
7093
7152
|
address: string | null;
|
|
7094
|
-
name: string;
|
|
7095
7153
|
email: string;
|
|
7096
7154
|
createdAt: Date;
|
|
7097
7155
|
updatedAt: Date;
|
|
@@ -7149,8 +7207,12 @@ export declare const chatContract: {
|
|
|
7149
7207
|
entityName: string;
|
|
7150
7208
|
agentId: string | null;
|
|
7151
7209
|
startedDate: Date | null;
|
|
7210
|
+
totalHoldDuration: number | null;
|
|
7152
7211
|
handledTime: number | null;
|
|
7212
|
+
fullHandledTime: number | null;
|
|
7153
7213
|
firstResponseTime: number | null;
|
|
7214
|
+
resolutionTime: number | null;
|
|
7215
|
+
fullResolutionTime: number | null;
|
|
7154
7216
|
wrapUpForm: {
|
|
7155
7217
|
type: string;
|
|
7156
7218
|
id: string;
|
|
@@ -7181,8 +7243,8 @@ export declare const chatContract: {
|
|
|
7181
7243
|
}[];
|
|
7182
7244
|
}[];
|
|
7183
7245
|
tags: {
|
|
7184
|
-
id: string;
|
|
7185
7246
|
name: string;
|
|
7247
|
+
id: string;
|
|
7186
7248
|
createdAt: Date;
|
|
7187
7249
|
updatedAt: Date;
|
|
7188
7250
|
deletedAt: Date | null;
|
|
@@ -7212,19 +7274,20 @@ export declare const chatContract: {
|
|
|
7212
7274
|
endedAt: string | null;
|
|
7213
7275
|
duration: number | null;
|
|
7214
7276
|
holdLabel?: {
|
|
7215
|
-
id: string;
|
|
7216
7277
|
name: string;
|
|
7278
|
+
id: string;
|
|
7217
7279
|
position: number;
|
|
7218
7280
|
createdAt: Date;
|
|
7219
7281
|
updatedAt: Date;
|
|
7220
7282
|
deletedAt: Date | null;
|
|
7283
|
+
isDefault: boolean;
|
|
7221
7284
|
} | null | undefined;
|
|
7222
7285
|
}[] | null | undefined;
|
|
7223
7286
|
};
|
|
7224
7287
|
workflowRule: {
|
|
7288
|
+
name: string;
|
|
7225
7289
|
type: string;
|
|
7226
7290
|
id: string;
|
|
7227
|
-
name: string;
|
|
7228
7291
|
createdAt: Date;
|
|
7229
7292
|
updatedAt: Date;
|
|
7230
7293
|
deletedAt: Date | null;
|
|
@@ -7235,12 +7298,12 @@ export declare const chatContract: {
|
|
|
7235
7298
|
}, {
|
|
7236
7299
|
id: string;
|
|
7237
7300
|
channel: {
|
|
7301
|
+
name: string;
|
|
7238
7302
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7239
7303
|
id: string;
|
|
7240
|
-
name: string;
|
|
7241
7304
|
metadata: {
|
|
7242
|
-
id: string;
|
|
7243
7305
|
name: string;
|
|
7306
|
+
id: string;
|
|
7244
7307
|
accessToken?: string | undefined;
|
|
7245
7308
|
channelSecret?: string | undefined;
|
|
7246
7309
|
additionalCredentials?: any;
|
|
@@ -7269,9 +7332,9 @@ export declare const chatContract: {
|
|
|
7269
7332
|
updatedAt: Date;
|
|
7270
7333
|
deletedAt: Date | null;
|
|
7271
7334
|
actor: {
|
|
7335
|
+
name: string;
|
|
7272
7336
|
id: string;
|
|
7273
7337
|
address: string | null;
|
|
7274
|
-
name: string;
|
|
7275
7338
|
email: string;
|
|
7276
7339
|
createdAt: Date;
|
|
7277
7340
|
updatedAt: Date;
|
|
@@ -7318,8 +7381,8 @@ export declare const chatContract: {
|
|
|
7318
7381
|
connectedUserName: string;
|
|
7319
7382
|
connectedUserId: string;
|
|
7320
7383
|
botpressBot: {
|
|
7321
|
-
id: string;
|
|
7322
7384
|
name: string;
|
|
7385
|
+
id: string;
|
|
7323
7386
|
accessToken: string;
|
|
7324
7387
|
botId: string;
|
|
7325
7388
|
integrationId: string;
|
|
@@ -7331,9 +7394,9 @@ export declare const chatContract: {
|
|
|
7331
7394
|
updatedAt: Date;
|
|
7332
7395
|
deletedAt: Date | null;
|
|
7333
7396
|
actor: {
|
|
7397
|
+
name: string;
|
|
7334
7398
|
id: string;
|
|
7335
7399
|
address: string | null;
|
|
7336
|
-
name: string;
|
|
7337
7400
|
email: string;
|
|
7338
7401
|
createdAt: Date;
|
|
7339
7402
|
updatedAt: Date;
|
|
@@ -7384,8 +7447,8 @@ export declare const chatContract: {
|
|
|
7384
7447
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7385
7448
|
id: string;
|
|
7386
7449
|
metadata: {
|
|
7387
|
-
id: string;
|
|
7388
7450
|
name: string;
|
|
7451
|
+
id: string;
|
|
7389
7452
|
picture?: string | undefined;
|
|
7390
7453
|
additionalCredentials?: any;
|
|
7391
7454
|
};
|
|
@@ -7393,10 +7456,10 @@ export declare const chatContract: {
|
|
|
7393
7456
|
updatedAt: Date;
|
|
7394
7457
|
deletedAt: Date | null;
|
|
7395
7458
|
contact: {
|
|
7459
|
+
name: string;
|
|
7396
7460
|
id: string;
|
|
7397
7461
|
channel: string | null;
|
|
7398
7462
|
address: string | null;
|
|
7399
|
-
name: string;
|
|
7400
7463
|
createdAt: Date;
|
|
7401
7464
|
updatedAt: Date;
|
|
7402
7465
|
deletedAt: Date | null;
|
|
@@ -7441,8 +7504,8 @@ export declare const chatContract: {
|
|
|
7441
7504
|
createdAt: Date;
|
|
7442
7505
|
updatedAt: Date;
|
|
7443
7506
|
deletedAt: Date | null;
|
|
7444
|
-
address?: string | null | undefined;
|
|
7445
7507
|
name?: string | undefined;
|
|
7508
|
+
address?: string | null | undefined;
|
|
7446
7509
|
phone?: string | null | undefined;
|
|
7447
7510
|
industry?: string | null | undefined;
|
|
7448
7511
|
} | null;
|
|
@@ -7450,8 +7513,8 @@ export declare const chatContract: {
|
|
|
7450
7513
|
contactProfile: string | null;
|
|
7451
7514
|
socialProfileUrl: string | null;
|
|
7452
7515
|
tags: {
|
|
7453
|
-
id: string;
|
|
7454
7516
|
name: string;
|
|
7517
|
+
id: string;
|
|
7455
7518
|
createdAt: Date;
|
|
7456
7519
|
updatedAt: Date;
|
|
7457
7520
|
deletedAt: Date | null;
|
|
@@ -7476,8 +7539,8 @@ export declare const chatContract: {
|
|
|
7476
7539
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7477
7540
|
id: string;
|
|
7478
7541
|
metadata: {
|
|
7479
|
-
id: string;
|
|
7480
7542
|
name: string;
|
|
7543
|
+
id: string;
|
|
7481
7544
|
picture?: string | undefined;
|
|
7482
7545
|
additionalCredentials?: any;
|
|
7483
7546
|
};
|
|
@@ -7508,9 +7571,9 @@ export declare const chatContract: {
|
|
|
7508
7571
|
socialPlatformId: string;
|
|
7509
7572
|
};
|
|
7510
7573
|
assignee: {
|
|
7574
|
+
name: string;
|
|
7511
7575
|
id: string;
|
|
7512
7576
|
address: string | null;
|
|
7513
|
-
name: string;
|
|
7514
7577
|
email: string;
|
|
7515
7578
|
createdAt: Date;
|
|
7516
7579
|
updatedAt: Date;
|
|
@@ -7568,8 +7631,12 @@ export declare const chatContract: {
|
|
|
7568
7631
|
entityName: string;
|
|
7569
7632
|
agentId: string | null;
|
|
7570
7633
|
startedDate: Date | null;
|
|
7634
|
+
totalHoldDuration: number | null;
|
|
7571
7635
|
handledTime: number | null;
|
|
7636
|
+
fullHandledTime: number | null;
|
|
7572
7637
|
firstResponseTime: number | null;
|
|
7638
|
+
resolutionTime: number | null;
|
|
7639
|
+
fullResolutionTime: number | null;
|
|
7573
7640
|
wrapUpForm: {
|
|
7574
7641
|
type: string;
|
|
7575
7642
|
id: string;
|
|
@@ -7600,8 +7667,8 @@ export declare const chatContract: {
|
|
|
7600
7667
|
}[];
|
|
7601
7668
|
}[];
|
|
7602
7669
|
tags: {
|
|
7603
|
-
id: string;
|
|
7604
7670
|
name: string;
|
|
7671
|
+
id: string;
|
|
7605
7672
|
createdAt: Date;
|
|
7606
7673
|
updatedAt: Date;
|
|
7607
7674
|
deletedAt: Date | null;
|
|
@@ -7631,19 +7698,20 @@ export declare const chatContract: {
|
|
|
7631
7698
|
endedAt: string | null;
|
|
7632
7699
|
duration: number | null;
|
|
7633
7700
|
holdLabel?: {
|
|
7634
|
-
id: string;
|
|
7635
7701
|
name: string;
|
|
7702
|
+
id: string;
|
|
7636
7703
|
position: number;
|
|
7637
7704
|
createdAt: Date;
|
|
7638
7705
|
updatedAt: Date;
|
|
7639
7706
|
deletedAt: Date | null;
|
|
7707
|
+
isDefault?: boolean | undefined;
|
|
7640
7708
|
} | null | undefined;
|
|
7641
7709
|
}[] | null | undefined;
|
|
7642
7710
|
};
|
|
7643
7711
|
workflowRule: {
|
|
7712
|
+
name: string;
|
|
7644
7713
|
type: string;
|
|
7645
7714
|
id: string;
|
|
7646
|
-
name: string;
|
|
7647
7715
|
createdAt: Date;
|
|
7648
7716
|
updatedAt: Date;
|
|
7649
7717
|
deletedAt: Date | null;
|
|
@@ -7656,12 +7724,12 @@ export declare const chatContract: {
|
|
|
7656
7724
|
data: {
|
|
7657
7725
|
id: string;
|
|
7658
7726
|
channel: {
|
|
7727
|
+
name: string;
|
|
7659
7728
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7660
7729
|
id: string;
|
|
7661
|
-
name: string;
|
|
7662
7730
|
metadata: {
|
|
7663
|
-
id: string;
|
|
7664
7731
|
name: string;
|
|
7732
|
+
id: string;
|
|
7665
7733
|
accessToken?: string | undefined;
|
|
7666
7734
|
channelSecret?: string | undefined;
|
|
7667
7735
|
additionalCredentials?: any;
|
|
@@ -7690,9 +7758,9 @@ export declare const chatContract: {
|
|
|
7690
7758
|
updatedAt: Date;
|
|
7691
7759
|
deletedAt: Date | null;
|
|
7692
7760
|
actor: {
|
|
7761
|
+
name: string;
|
|
7693
7762
|
id: string;
|
|
7694
7763
|
address: string | null;
|
|
7695
|
-
name: string;
|
|
7696
7764
|
email: string;
|
|
7697
7765
|
createdAt: Date;
|
|
7698
7766
|
updatedAt: Date;
|
|
@@ -7739,8 +7807,8 @@ export declare const chatContract: {
|
|
|
7739
7807
|
connectedUserName: string;
|
|
7740
7808
|
connectedUserId: string;
|
|
7741
7809
|
botpressBot: {
|
|
7742
|
-
id: string;
|
|
7743
7810
|
name: string;
|
|
7811
|
+
id: string;
|
|
7744
7812
|
accessToken: string;
|
|
7745
7813
|
botId: string;
|
|
7746
7814
|
integrationId: string;
|
|
@@ -7752,9 +7820,9 @@ export declare const chatContract: {
|
|
|
7752
7820
|
updatedAt: Date;
|
|
7753
7821
|
deletedAt: Date | null;
|
|
7754
7822
|
actor: {
|
|
7823
|
+
name: string;
|
|
7755
7824
|
id: string;
|
|
7756
7825
|
address: string | null;
|
|
7757
|
-
name: string;
|
|
7758
7826
|
email: string;
|
|
7759
7827
|
createdAt: Date;
|
|
7760
7828
|
updatedAt: Date;
|
|
@@ -7805,8 +7873,8 @@ export declare const chatContract: {
|
|
|
7805
7873
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7806
7874
|
id: string;
|
|
7807
7875
|
metadata: {
|
|
7808
|
-
id: string;
|
|
7809
7876
|
name: string;
|
|
7877
|
+
id: string;
|
|
7810
7878
|
picture?: string | undefined;
|
|
7811
7879
|
additionalCredentials?: any;
|
|
7812
7880
|
};
|
|
@@ -7814,10 +7882,10 @@ export declare const chatContract: {
|
|
|
7814
7882
|
updatedAt: Date;
|
|
7815
7883
|
deletedAt: Date | null;
|
|
7816
7884
|
contact: {
|
|
7885
|
+
name: string;
|
|
7817
7886
|
id: string;
|
|
7818
7887
|
channel: string | null;
|
|
7819
7888
|
address: string | null;
|
|
7820
|
-
name: string;
|
|
7821
7889
|
createdAt: Date;
|
|
7822
7890
|
updatedAt: Date;
|
|
7823
7891
|
deletedAt: Date | null;
|
|
@@ -7862,8 +7930,8 @@ export declare const chatContract: {
|
|
|
7862
7930
|
createdAt: Date;
|
|
7863
7931
|
updatedAt: Date;
|
|
7864
7932
|
deletedAt: Date | null;
|
|
7865
|
-
address?: string | null | undefined;
|
|
7866
7933
|
name?: string | undefined;
|
|
7934
|
+
address?: string | null | undefined;
|
|
7867
7935
|
phone?: string | null | undefined;
|
|
7868
7936
|
industry?: string | null | undefined;
|
|
7869
7937
|
} | null;
|
|
@@ -7871,8 +7939,8 @@ export declare const chatContract: {
|
|
|
7871
7939
|
contactProfile: string | null;
|
|
7872
7940
|
socialProfileUrl: string | null;
|
|
7873
7941
|
tags: {
|
|
7874
|
-
id: string;
|
|
7875
7942
|
name: string;
|
|
7943
|
+
id: string;
|
|
7876
7944
|
createdAt: Date;
|
|
7877
7945
|
updatedAt: Date;
|
|
7878
7946
|
deletedAt: Date | null;
|
|
@@ -7897,8 +7965,8 @@ export declare const chatContract: {
|
|
|
7897
7965
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7898
7966
|
id: string;
|
|
7899
7967
|
metadata: {
|
|
7900
|
-
id: string;
|
|
7901
7968
|
name: string;
|
|
7969
|
+
id: string;
|
|
7902
7970
|
picture?: string | undefined;
|
|
7903
7971
|
additionalCredentials?: any;
|
|
7904
7972
|
};
|
|
@@ -7929,9 +7997,9 @@ export declare const chatContract: {
|
|
|
7929
7997
|
socialPlatformId: string;
|
|
7930
7998
|
};
|
|
7931
7999
|
assignee: {
|
|
8000
|
+
name: string;
|
|
7932
8001
|
id: string;
|
|
7933
8002
|
address: string | null;
|
|
7934
|
-
name: string;
|
|
7935
8003
|
email: string;
|
|
7936
8004
|
createdAt: Date;
|
|
7937
8005
|
updatedAt: Date;
|
|
@@ -7989,8 +8057,12 @@ export declare const chatContract: {
|
|
|
7989
8057
|
entityName: string;
|
|
7990
8058
|
agentId: string | null;
|
|
7991
8059
|
startedDate: Date | null;
|
|
8060
|
+
totalHoldDuration: number | null;
|
|
7992
8061
|
handledTime: number | null;
|
|
8062
|
+
fullHandledTime: number | null;
|
|
7993
8063
|
firstResponseTime: number | null;
|
|
8064
|
+
resolutionTime: number | null;
|
|
8065
|
+
fullResolutionTime: number | null;
|
|
7994
8066
|
wrapUpForm: {
|
|
7995
8067
|
type: string;
|
|
7996
8068
|
id: string;
|
|
@@ -8021,8 +8093,8 @@ export declare const chatContract: {
|
|
|
8021
8093
|
}[];
|
|
8022
8094
|
}[];
|
|
8023
8095
|
tags: {
|
|
8024
|
-
id: string;
|
|
8025
8096
|
name: string;
|
|
8097
|
+
id: string;
|
|
8026
8098
|
createdAt: Date;
|
|
8027
8099
|
updatedAt: Date;
|
|
8028
8100
|
deletedAt: Date | null;
|
|
@@ -8052,19 +8124,20 @@ export declare const chatContract: {
|
|
|
8052
8124
|
endedAt: string | null;
|
|
8053
8125
|
duration: number | null;
|
|
8054
8126
|
holdLabel?: {
|
|
8055
|
-
id: string;
|
|
8056
8127
|
name: string;
|
|
8128
|
+
id: string;
|
|
8057
8129
|
position: number;
|
|
8058
8130
|
createdAt: Date;
|
|
8059
8131
|
updatedAt: Date;
|
|
8060
8132
|
deletedAt: Date | null;
|
|
8133
|
+
isDefault: boolean;
|
|
8061
8134
|
} | null | undefined;
|
|
8062
8135
|
}[] | null | undefined;
|
|
8063
8136
|
};
|
|
8064
8137
|
workflowRule: {
|
|
8138
|
+
name: string;
|
|
8065
8139
|
type: string;
|
|
8066
8140
|
id: string;
|
|
8067
|
-
name: string;
|
|
8068
8141
|
createdAt: Date;
|
|
8069
8142
|
updatedAt: Date;
|
|
8070
8143
|
deletedAt: Date | null;
|
|
@@ -8078,12 +8151,12 @@ export declare const chatContract: {
|
|
|
8078
8151
|
data: {
|
|
8079
8152
|
id: string;
|
|
8080
8153
|
channel: {
|
|
8154
|
+
name: string;
|
|
8081
8155
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8082
8156
|
id: string;
|
|
8083
|
-
name: string;
|
|
8084
8157
|
metadata: {
|
|
8085
|
-
id: string;
|
|
8086
8158
|
name: string;
|
|
8159
|
+
id: string;
|
|
8087
8160
|
accessToken?: string | undefined;
|
|
8088
8161
|
channelSecret?: string | undefined;
|
|
8089
8162
|
additionalCredentials?: any;
|
|
@@ -8112,9 +8185,9 @@ export declare const chatContract: {
|
|
|
8112
8185
|
updatedAt: Date;
|
|
8113
8186
|
deletedAt: Date | null;
|
|
8114
8187
|
actor: {
|
|
8188
|
+
name: string;
|
|
8115
8189
|
id: string;
|
|
8116
8190
|
address: string | null;
|
|
8117
|
-
name: string;
|
|
8118
8191
|
email: string;
|
|
8119
8192
|
createdAt: Date;
|
|
8120
8193
|
updatedAt: Date;
|
|
@@ -8161,8 +8234,8 @@ export declare const chatContract: {
|
|
|
8161
8234
|
connectedUserName: string;
|
|
8162
8235
|
connectedUserId: string;
|
|
8163
8236
|
botpressBot: {
|
|
8164
|
-
id: string;
|
|
8165
8237
|
name: string;
|
|
8238
|
+
id: string;
|
|
8166
8239
|
accessToken: string;
|
|
8167
8240
|
botId: string;
|
|
8168
8241
|
integrationId: string;
|
|
@@ -8174,9 +8247,9 @@ export declare const chatContract: {
|
|
|
8174
8247
|
updatedAt: Date;
|
|
8175
8248
|
deletedAt: Date | null;
|
|
8176
8249
|
actor: {
|
|
8250
|
+
name: string;
|
|
8177
8251
|
id: string;
|
|
8178
8252
|
address: string | null;
|
|
8179
|
-
name: string;
|
|
8180
8253
|
email: string;
|
|
8181
8254
|
createdAt: Date;
|
|
8182
8255
|
updatedAt: Date;
|
|
@@ -8227,8 +8300,8 @@ export declare const chatContract: {
|
|
|
8227
8300
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8228
8301
|
id: string;
|
|
8229
8302
|
metadata: {
|
|
8230
|
-
id: string;
|
|
8231
8303
|
name: string;
|
|
8304
|
+
id: string;
|
|
8232
8305
|
picture?: string | undefined;
|
|
8233
8306
|
additionalCredentials?: any;
|
|
8234
8307
|
};
|
|
@@ -8236,10 +8309,10 @@ export declare const chatContract: {
|
|
|
8236
8309
|
updatedAt: Date;
|
|
8237
8310
|
deletedAt: Date | null;
|
|
8238
8311
|
contact: {
|
|
8312
|
+
name: string;
|
|
8239
8313
|
id: string;
|
|
8240
8314
|
channel: string | null;
|
|
8241
8315
|
address: string | null;
|
|
8242
|
-
name: string;
|
|
8243
8316
|
createdAt: Date;
|
|
8244
8317
|
updatedAt: Date;
|
|
8245
8318
|
deletedAt: Date | null;
|
|
@@ -8284,8 +8357,8 @@ export declare const chatContract: {
|
|
|
8284
8357
|
createdAt: Date;
|
|
8285
8358
|
updatedAt: Date;
|
|
8286
8359
|
deletedAt: Date | null;
|
|
8287
|
-
address?: string | null | undefined;
|
|
8288
8360
|
name?: string | undefined;
|
|
8361
|
+
address?: string | null | undefined;
|
|
8289
8362
|
phone?: string | null | undefined;
|
|
8290
8363
|
industry?: string | null | undefined;
|
|
8291
8364
|
} | null;
|
|
@@ -8293,8 +8366,8 @@ export declare const chatContract: {
|
|
|
8293
8366
|
contactProfile: string | null;
|
|
8294
8367
|
socialProfileUrl: string | null;
|
|
8295
8368
|
tags: {
|
|
8296
|
-
id: string;
|
|
8297
8369
|
name: string;
|
|
8370
|
+
id: string;
|
|
8298
8371
|
createdAt: Date;
|
|
8299
8372
|
updatedAt: Date;
|
|
8300
8373
|
deletedAt: Date | null;
|
|
@@ -8319,8 +8392,8 @@ export declare const chatContract: {
|
|
|
8319
8392
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8320
8393
|
id: string;
|
|
8321
8394
|
metadata: {
|
|
8322
|
-
id: string;
|
|
8323
8395
|
name: string;
|
|
8396
|
+
id: string;
|
|
8324
8397
|
picture?: string | undefined;
|
|
8325
8398
|
additionalCredentials?: any;
|
|
8326
8399
|
};
|
|
@@ -8351,9 +8424,9 @@ export declare const chatContract: {
|
|
|
8351
8424
|
socialPlatformId: string;
|
|
8352
8425
|
};
|
|
8353
8426
|
assignee: {
|
|
8427
|
+
name: string;
|
|
8354
8428
|
id: string;
|
|
8355
8429
|
address: string | null;
|
|
8356
|
-
name: string;
|
|
8357
8430
|
email: string;
|
|
8358
8431
|
createdAt: Date;
|
|
8359
8432
|
updatedAt: Date;
|
|
@@ -8411,8 +8484,12 @@ export declare const chatContract: {
|
|
|
8411
8484
|
entityName: string;
|
|
8412
8485
|
agentId: string | null;
|
|
8413
8486
|
startedDate: Date | null;
|
|
8487
|
+
totalHoldDuration: number | null;
|
|
8414
8488
|
handledTime: number | null;
|
|
8489
|
+
fullHandledTime: number | null;
|
|
8415
8490
|
firstResponseTime: number | null;
|
|
8491
|
+
resolutionTime: number | null;
|
|
8492
|
+
fullResolutionTime: number | null;
|
|
8416
8493
|
wrapUpForm: {
|
|
8417
8494
|
type: string;
|
|
8418
8495
|
id: string;
|
|
@@ -8443,8 +8520,8 @@ export declare const chatContract: {
|
|
|
8443
8520
|
}[];
|
|
8444
8521
|
}[];
|
|
8445
8522
|
tags: {
|
|
8446
|
-
id: string;
|
|
8447
8523
|
name: string;
|
|
8524
|
+
id: string;
|
|
8448
8525
|
createdAt: Date;
|
|
8449
8526
|
updatedAt: Date;
|
|
8450
8527
|
deletedAt: Date | null;
|
|
@@ -8474,19 +8551,20 @@ export declare const chatContract: {
|
|
|
8474
8551
|
endedAt: string | null;
|
|
8475
8552
|
duration: number | null;
|
|
8476
8553
|
holdLabel?: {
|
|
8477
|
-
id: string;
|
|
8478
8554
|
name: string;
|
|
8555
|
+
id: string;
|
|
8479
8556
|
position: number;
|
|
8480
8557
|
createdAt: Date;
|
|
8481
8558
|
updatedAt: Date;
|
|
8482
8559
|
deletedAt: Date | null;
|
|
8560
|
+
isDefault?: boolean | undefined;
|
|
8483
8561
|
} | null | undefined;
|
|
8484
8562
|
}[] | null | undefined;
|
|
8485
8563
|
};
|
|
8486
8564
|
workflowRule: {
|
|
8565
|
+
name: string;
|
|
8487
8566
|
type: string;
|
|
8488
8567
|
id: string;
|
|
8489
|
-
name: string;
|
|
8490
8568
|
createdAt: Date;
|
|
8491
8569
|
updatedAt: Date;
|
|
8492
8570
|
deletedAt: Date | null;
|