@kl1/contracts 1.2.44-uat → 1.2.46-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 +1725 -2399
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +103 -139
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +118 -160
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +6471 -7294
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2167 -2366
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1563 -1854
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +312 -312
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- 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 +343 -343
- package/dist/api-contracts/src/contact/schema.d.ts +38 -38
- package/dist/api-contracts/src/contact/validation.d.ts +190 -190
- package/dist/api-contracts/src/contract.d.ts +52403 -67729
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +387 -539
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +321 -402
- 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 +135 -113
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +87 -44
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +0 -26
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +4 -85
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1768 -2170
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +141 -168
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +126 -147
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +0 -5
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1432 -1747
- 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 +1365 -1644
- 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 +132 -165
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2470 -2470
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +32 -32
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +1481 -1481
- 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 +12 -12
- 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 +478 -478
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +471 -471
- package/dist/api-contracts/src/messenger/index.d.ts +1435 -1750
- 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 +122 -143
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- 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 +143 -143
- package/dist/api-contracts/src/public-api/schema.d.ts +22 -22
- package/dist/api-contracts/src/public-api/validation.d.ts +39 -39
- package/dist/api-contracts/src/sms/index.d.ts +295 -3282
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +8 -30
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +147 -147
- package/dist/api-contracts/src/snippet/schema.d.ts +50 -50
- 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 +1182 -1407
- 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 +103 -48
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +31 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +240 -240
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +72 -72
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +439 -439
- package/dist/api-contracts/src/ticket/schema.d.ts +63 -63
- package/dist/api-contracts/src/upload/schema.d.ts +3 -3
- 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 +12 -20
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +14 -24
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1194 -1419
- 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 +1188 -1413
- 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 +1287 -1717
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +0 -79
- package/dist/api-contracts/src/whatsapp/validation.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 +427 -8713
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +0 -1
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +4397 -4941
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4394 -4933
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -7
|
@@ -34,14 +34,14 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
34
34
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
35
35
|
name: z.ZodString;
|
|
36
36
|
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
name: string;
|
|
38
37
|
id: string;
|
|
38
|
+
name: string;
|
|
39
39
|
createdAt: Date;
|
|
40
40
|
updatedAt: Date;
|
|
41
41
|
deletedAt: Date | null;
|
|
42
42
|
}, {
|
|
43
|
-
name: string;
|
|
44
43
|
id: string;
|
|
44
|
+
name: string;
|
|
45
45
|
createdAt: Date;
|
|
46
46
|
updatedAt: Date;
|
|
47
47
|
deletedAt: Date | null;
|
|
@@ -212,8 +212,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
212
212
|
}[];
|
|
213
213
|
}[];
|
|
214
214
|
tags: {
|
|
215
|
-
name: string;
|
|
216
215
|
id: string;
|
|
216
|
+
name: string;
|
|
217
217
|
createdAt: Date;
|
|
218
218
|
updatedAt: Date;
|
|
219
219
|
deletedAt: Date | null;
|
|
@@ -263,8 +263,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
263
263
|
}[];
|
|
264
264
|
}[];
|
|
265
265
|
tags: {
|
|
266
|
-
name: string;
|
|
267
266
|
id: string;
|
|
267
|
+
name: string;
|
|
268
268
|
createdAt: Date;
|
|
269
269
|
updatedAt: Date;
|
|
270
270
|
deletedAt: Date | null;
|
|
@@ -302,16 +302,16 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
302
302
|
position: z.ZodNumber;
|
|
303
303
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
304
304
|
}, "strip", z.ZodTypeAny, {
|
|
305
|
-
name: string;
|
|
306
305
|
id: string;
|
|
306
|
+
name: string;
|
|
307
307
|
position: number;
|
|
308
308
|
createdAt: Date;
|
|
309
309
|
updatedAt: Date;
|
|
310
310
|
deletedAt: Date | null;
|
|
311
311
|
isDefault: boolean;
|
|
312
312
|
}, {
|
|
313
|
-
name: string;
|
|
314
313
|
id: string;
|
|
314
|
+
name: string;
|
|
315
315
|
position: number;
|
|
316
316
|
createdAt: Date;
|
|
317
317
|
updatedAt: Date;
|
|
@@ -327,8 +327,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
327
327
|
endedAt: string | null;
|
|
328
328
|
duration: number | null;
|
|
329
329
|
holdLabel?: {
|
|
330
|
-
name: string;
|
|
331
330
|
id: string;
|
|
331
|
+
name: string;
|
|
332
332
|
position: number;
|
|
333
333
|
createdAt: Date;
|
|
334
334
|
updatedAt: Date;
|
|
@@ -344,8 +344,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
344
344
|
endedAt: string | null;
|
|
345
345
|
duration: number | null;
|
|
346
346
|
holdLabel?: {
|
|
347
|
-
name: string;
|
|
348
347
|
id: string;
|
|
348
|
+
name: string;
|
|
349
349
|
position: number;
|
|
350
350
|
createdAt: Date;
|
|
351
351
|
updatedAt: Date;
|
|
@@ -403,8 +403,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
403
403
|
}[];
|
|
404
404
|
}[];
|
|
405
405
|
tags: {
|
|
406
|
-
name: string;
|
|
407
406
|
id: string;
|
|
407
|
+
name: string;
|
|
408
408
|
createdAt: Date;
|
|
409
409
|
updatedAt: Date;
|
|
410
410
|
deletedAt: Date | null;
|
|
@@ -434,8 +434,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
434
434
|
endedAt: string | null;
|
|
435
435
|
duration: number | null;
|
|
436
436
|
holdLabel?: {
|
|
437
|
-
name: string;
|
|
438
437
|
id: string;
|
|
438
|
+
name: string;
|
|
439
439
|
position: number;
|
|
440
440
|
createdAt: Date;
|
|
441
441
|
updatedAt: Date;
|
|
@@ -493,8 +493,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
493
493
|
}[];
|
|
494
494
|
}[];
|
|
495
495
|
tags: {
|
|
496
|
-
name: string;
|
|
497
496
|
id: string;
|
|
497
|
+
name: string;
|
|
498
498
|
createdAt: Date;
|
|
499
499
|
updatedAt: Date;
|
|
500
500
|
deletedAt: Date | null;
|
|
@@ -524,8 +524,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
524
524
|
endedAt: string | null;
|
|
525
525
|
duration: number | null;
|
|
526
526
|
holdLabel?: {
|
|
527
|
-
name: string;
|
|
528
527
|
id: string;
|
|
528
|
+
name: string;
|
|
529
529
|
position: number;
|
|
530
530
|
createdAt: Date;
|
|
531
531
|
updatedAt: Date;
|
|
@@ -597,14 +597,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
597
597
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
598
598
|
name: z.ZodString;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
name: string;
|
|
601
600
|
id: string;
|
|
601
|
+
name: string;
|
|
602
602
|
createdAt: Date;
|
|
603
603
|
updatedAt: Date;
|
|
604
604
|
deletedAt: Date | null;
|
|
605
605
|
}, {
|
|
606
|
-
name: string;
|
|
607
606
|
id: string;
|
|
607
|
+
name: string;
|
|
608
608
|
createdAt: Date;
|
|
609
609
|
updatedAt: Date;
|
|
610
610
|
deletedAt: Date | null;
|
|
@@ -775,8 +775,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
775
775
|
}[];
|
|
776
776
|
}[];
|
|
777
777
|
tags: {
|
|
778
|
-
name: string;
|
|
779
778
|
id: string;
|
|
779
|
+
name: string;
|
|
780
780
|
createdAt: Date;
|
|
781
781
|
updatedAt: Date;
|
|
782
782
|
deletedAt: Date | null;
|
|
@@ -826,8 +826,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
826
826
|
}[];
|
|
827
827
|
}[];
|
|
828
828
|
tags: {
|
|
829
|
-
name: string;
|
|
830
829
|
id: string;
|
|
830
|
+
name: string;
|
|
831
831
|
createdAt: Date;
|
|
832
832
|
updatedAt: Date;
|
|
833
833
|
deletedAt: Date | null;
|
|
@@ -875,13 +875,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
875
875
|
picture: z.ZodOptional<z.ZodString>;
|
|
876
876
|
additionalCredentials: z.ZodAny;
|
|
877
877
|
}, "strip", z.ZodTypeAny, {
|
|
878
|
-
name: string;
|
|
879
878
|
id: string;
|
|
879
|
+
name: string;
|
|
880
880
|
picture?: string | undefined;
|
|
881
881
|
additionalCredentials?: any;
|
|
882
882
|
}, {
|
|
883
|
-
name: string;
|
|
884
883
|
id: string;
|
|
884
|
+
name: string;
|
|
885
885
|
picture?: string | undefined;
|
|
886
886
|
additionalCredentials?: any;
|
|
887
887
|
}>;
|
|
@@ -903,14 +903,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
903
903
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
904
904
|
name: z.ZodString;
|
|
905
905
|
}, "strip", z.ZodTypeAny, {
|
|
906
|
-
name: string;
|
|
907
906
|
id: string;
|
|
907
|
+
name: string;
|
|
908
908
|
createdAt: Date;
|
|
909
909
|
updatedAt: Date;
|
|
910
910
|
deletedAt: Date | null;
|
|
911
911
|
}, {
|
|
912
|
-
name: string;
|
|
913
912
|
id: string;
|
|
913
|
+
name: string;
|
|
914
914
|
createdAt: Date;
|
|
915
915
|
updatedAt: Date;
|
|
916
916
|
deletedAt: Date | null;
|
|
@@ -1066,8 +1066,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1066
1066
|
createdAt: Date;
|
|
1067
1067
|
updatedAt: Date;
|
|
1068
1068
|
deletedAt: Date | null;
|
|
1069
|
-
name?: string | undefined;
|
|
1070
1069
|
address?: string | null | undefined;
|
|
1070
|
+
name?: string | undefined;
|
|
1071
1071
|
phone?: string | null | undefined;
|
|
1072
1072
|
industry?: string | null | undefined;
|
|
1073
1073
|
}, {
|
|
@@ -1075,8 +1075,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1075
1075
|
createdAt: Date;
|
|
1076
1076
|
updatedAt: Date;
|
|
1077
1077
|
deletedAt: Date | null;
|
|
1078
|
-
name?: string | undefined;
|
|
1079
1078
|
address?: string | null | undefined;
|
|
1079
|
+
name?: string | undefined;
|
|
1080
1080
|
phone?: string | null | undefined;
|
|
1081
1081
|
industry?: string | null | undefined;
|
|
1082
1082
|
}>>;
|
|
@@ -1094,13 +1094,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1094
1094
|
picture: z.ZodOptional<z.ZodString>;
|
|
1095
1095
|
additionalCredentials: z.ZodAny;
|
|
1096
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1097
|
-
name: string;
|
|
1098
1097
|
id: string;
|
|
1098
|
+
name: string;
|
|
1099
1099
|
picture?: string | undefined;
|
|
1100
1100
|
additionalCredentials?: any;
|
|
1101
1101
|
}, {
|
|
1102
|
-
name: string;
|
|
1103
1102
|
id: string;
|
|
1103
|
+
name: string;
|
|
1104
1104
|
picture?: string | undefined;
|
|
1105
1105
|
additionalCredentials?: any;
|
|
1106
1106
|
}>;
|
|
@@ -1108,8 +1108,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1108
1108
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1109
1109
|
id: string;
|
|
1110
1110
|
metadata: {
|
|
1111
|
-
name: string;
|
|
1112
1111
|
id: string;
|
|
1112
|
+
name: string;
|
|
1113
1113
|
picture?: string | undefined;
|
|
1114
1114
|
additionalCredentials?: any;
|
|
1115
1115
|
};
|
|
@@ -1122,8 +1122,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1122
1122
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1123
1123
|
id: string;
|
|
1124
1124
|
metadata: {
|
|
1125
|
-
name: string;
|
|
1126
1125
|
id: string;
|
|
1126
|
+
name: string;
|
|
1127
1127
|
picture?: string | undefined;
|
|
1128
1128
|
additionalCredentials?: any;
|
|
1129
1129
|
};
|
|
@@ -1233,10 +1233,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1233
1233
|
fileSize: z.ZodNumber;
|
|
1234
1234
|
fileKey: z.ZodString;
|
|
1235
1235
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
1236
|
-
status: z.
|
|
1236
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1237
1237
|
}, "strip", z.ZodTypeAny, {
|
|
1238
1238
|
id: string;
|
|
1239
|
-
status: string | null;
|
|
1240
1239
|
createdAt: Date;
|
|
1241
1240
|
updatedAt: Date;
|
|
1242
1241
|
deletedAt: Date | null;
|
|
@@ -1245,9 +1244,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1245
1244
|
bucketName: string;
|
|
1246
1245
|
fileSize: number;
|
|
1247
1246
|
fileUrl: string | null;
|
|
1247
|
+
status?: string | undefined;
|
|
1248
1248
|
}, {
|
|
1249
1249
|
id: string;
|
|
1250
|
-
status: string | null;
|
|
1251
1250
|
createdAt: Date;
|
|
1252
1251
|
updatedAt: Date;
|
|
1253
1252
|
deletedAt: Date | null;
|
|
@@ -1256,6 +1255,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1256
1255
|
bucketName: string;
|
|
1257
1256
|
fileSize: number;
|
|
1258
1257
|
fileUrl: string | null;
|
|
1258
|
+
status?: string | undefined;
|
|
1259
1259
|
}>, "many">;
|
|
1260
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
1261
|
id: string;
|
|
@@ -1282,7 +1282,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1282
1282
|
dateValue: Date | null;
|
|
1283
1283
|
uploads: {
|
|
1284
1284
|
id: string;
|
|
1285
|
-
status: string | null;
|
|
1286
1285
|
createdAt: Date;
|
|
1287
1286
|
updatedAt: Date;
|
|
1288
1287
|
deletedAt: Date | null;
|
|
@@ -1291,6 +1290,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1291
1290
|
bucketName: string;
|
|
1292
1291
|
fileSize: number;
|
|
1293
1292
|
fileUrl: string | null;
|
|
1293
|
+
status?: string | undefined;
|
|
1294
1294
|
}[];
|
|
1295
1295
|
}, {
|
|
1296
1296
|
id: string;
|
|
@@ -1317,7 +1317,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1317
1317
|
dateValue: Date | null;
|
|
1318
1318
|
uploads: {
|
|
1319
1319
|
id: string;
|
|
1320
|
-
status: string | null;
|
|
1321
1320
|
createdAt: Date;
|
|
1322
1321
|
updatedAt: Date;
|
|
1323
1322
|
deletedAt: Date | null;
|
|
@@ -1326,6 +1325,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1326
1325
|
bucketName: string;
|
|
1327
1326
|
fileSize: number;
|
|
1328
1327
|
fileUrl: string | null;
|
|
1328
|
+
status?: string | undefined;
|
|
1329
1329
|
}[];
|
|
1330
1330
|
}>, "many">;
|
|
1331
1331
|
contactEmails: z.ZodArray<z.ZodObject<{
|
|
@@ -1433,10 +1433,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1433
1433
|
};
|
|
1434
1434
|
}>, "many">>;
|
|
1435
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
|
-
name: string;
|
|
1437
1436
|
id: string;
|
|
1438
1437
|
channel: string | null;
|
|
1439
1438
|
address: string | null;
|
|
1439
|
+
name: string;
|
|
1440
1440
|
createdAt: Date;
|
|
1441
1441
|
updatedAt: Date;
|
|
1442
1442
|
deletedAt: Date | null;
|
|
@@ -1465,7 +1465,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1465
1465
|
dateValue: Date | null;
|
|
1466
1466
|
uploads: {
|
|
1467
1467
|
id: string;
|
|
1468
|
-
status: string | null;
|
|
1469
1468
|
createdAt: Date;
|
|
1470
1469
|
updatedAt: Date;
|
|
1471
1470
|
deletedAt: Date | null;
|
|
@@ -1474,6 +1473,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1474
1473
|
bucketName: string;
|
|
1475
1474
|
fileSize: number;
|
|
1476
1475
|
fileUrl: string | null;
|
|
1476
|
+
status?: string | undefined;
|
|
1477
1477
|
}[];
|
|
1478
1478
|
}[];
|
|
1479
1479
|
company: {
|
|
@@ -1481,8 +1481,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1481
1481
|
createdAt: Date;
|
|
1482
1482
|
updatedAt: Date;
|
|
1483
1483
|
deletedAt: Date | null;
|
|
1484
|
-
name?: string | undefined;
|
|
1485
1484
|
address?: string | null | undefined;
|
|
1485
|
+
name?: string | undefined;
|
|
1486
1486
|
phone?: string | null | undefined;
|
|
1487
1487
|
industry?: string | null | undefined;
|
|
1488
1488
|
} | null;
|
|
@@ -1490,8 +1490,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1490
1490
|
contactProfile: string | null;
|
|
1491
1491
|
socialProfileUrl: string | null;
|
|
1492
1492
|
tags: {
|
|
1493
|
-
name: string;
|
|
1494
1493
|
id: string;
|
|
1494
|
+
name: string;
|
|
1495
1495
|
createdAt: Date;
|
|
1496
1496
|
updatedAt: Date;
|
|
1497
1497
|
deletedAt: Date | null;
|
|
@@ -1516,8 +1516,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1516
1516
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1517
1517
|
id: string;
|
|
1518
1518
|
metadata: {
|
|
1519
|
-
name: string;
|
|
1520
1519
|
id: string;
|
|
1520
|
+
name: string;
|
|
1521
1521
|
picture?: string | undefined;
|
|
1522
1522
|
additionalCredentials?: any;
|
|
1523
1523
|
};
|
|
@@ -1544,10 +1544,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1544
1544
|
};
|
|
1545
1545
|
}[] | undefined;
|
|
1546
1546
|
}, {
|
|
1547
|
-
name: string;
|
|
1548
1547
|
id: string;
|
|
1549
1548
|
channel: string | null;
|
|
1550
1549
|
address: string | null;
|
|
1550
|
+
name: string;
|
|
1551
1551
|
createdAt: Date;
|
|
1552
1552
|
updatedAt: Date;
|
|
1553
1553
|
deletedAt: Date | null;
|
|
@@ -1576,7 +1576,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1576
1576
|
dateValue: Date | null;
|
|
1577
1577
|
uploads: {
|
|
1578
1578
|
id: string;
|
|
1579
|
-
status: string | null;
|
|
1580
1579
|
createdAt: Date;
|
|
1581
1580
|
updatedAt: Date;
|
|
1582
1581
|
deletedAt: Date | null;
|
|
@@ -1585,6 +1584,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1585
1584
|
bucketName: string;
|
|
1586
1585
|
fileSize: number;
|
|
1587
1586
|
fileUrl: string | null;
|
|
1587
|
+
status?: string | undefined;
|
|
1588
1588
|
}[];
|
|
1589
1589
|
}[];
|
|
1590
1590
|
company: {
|
|
@@ -1592,8 +1592,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1592
1592
|
createdAt: Date;
|
|
1593
1593
|
updatedAt: Date;
|
|
1594
1594
|
deletedAt: Date | null;
|
|
1595
|
-
name?: string | undefined;
|
|
1596
1595
|
address?: string | null | undefined;
|
|
1596
|
+
name?: string | undefined;
|
|
1597
1597
|
phone?: string | null | undefined;
|
|
1598
1598
|
industry?: string | null | undefined;
|
|
1599
1599
|
} | null;
|
|
@@ -1601,8 +1601,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1601
1601
|
contactProfile: string | null;
|
|
1602
1602
|
socialProfileUrl: string | null;
|
|
1603
1603
|
tags: {
|
|
1604
|
-
name: string;
|
|
1605
1604
|
id: string;
|
|
1605
|
+
name: string;
|
|
1606
1606
|
createdAt: Date;
|
|
1607
1607
|
updatedAt: Date;
|
|
1608
1608
|
deletedAt: Date | null;
|
|
@@ -1627,8 +1627,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1627
1627
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1628
1628
|
id: string;
|
|
1629
1629
|
metadata: {
|
|
1630
|
-
name: string;
|
|
1631
1630
|
id: string;
|
|
1631
|
+
name: string;
|
|
1632
1632
|
picture?: string | undefined;
|
|
1633
1633
|
additionalCredentials?: any;
|
|
1634
1634
|
};
|
|
@@ -1659,8 +1659,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1659
1659
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1660
1660
|
id: string;
|
|
1661
1661
|
metadata: {
|
|
1662
|
-
name: string;
|
|
1663
1662
|
id: string;
|
|
1663
|
+
name: string;
|
|
1664
1664
|
picture?: string | undefined;
|
|
1665
1665
|
additionalCredentials?: any;
|
|
1666
1666
|
};
|
|
@@ -1668,10 +1668,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1668
1668
|
updatedAt: Date;
|
|
1669
1669
|
deletedAt: Date | null;
|
|
1670
1670
|
contact: {
|
|
1671
|
-
name: string;
|
|
1672
1671
|
id: string;
|
|
1673
1672
|
channel: string | null;
|
|
1674
1673
|
address: string | null;
|
|
1674
|
+
name: string;
|
|
1675
1675
|
createdAt: Date;
|
|
1676
1676
|
updatedAt: Date;
|
|
1677
1677
|
deletedAt: Date | null;
|
|
@@ -1700,7 +1700,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1700
1700
|
dateValue: Date | null;
|
|
1701
1701
|
uploads: {
|
|
1702
1702
|
id: string;
|
|
1703
|
-
status: string | null;
|
|
1704
1703
|
createdAt: Date;
|
|
1705
1704
|
updatedAt: Date;
|
|
1706
1705
|
deletedAt: Date | null;
|
|
@@ -1709,6 +1708,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1709
1708
|
bucketName: string;
|
|
1710
1709
|
fileSize: number;
|
|
1711
1710
|
fileUrl: string | null;
|
|
1711
|
+
status?: string | undefined;
|
|
1712
1712
|
}[];
|
|
1713
1713
|
}[];
|
|
1714
1714
|
company: {
|
|
@@ -1716,8 +1716,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1716
1716
|
createdAt: Date;
|
|
1717
1717
|
updatedAt: Date;
|
|
1718
1718
|
deletedAt: Date | null;
|
|
1719
|
-
name?: string | undefined;
|
|
1720
1719
|
address?: string | null | undefined;
|
|
1720
|
+
name?: string | undefined;
|
|
1721
1721
|
phone?: string | null | undefined;
|
|
1722
1722
|
industry?: string | null | undefined;
|
|
1723
1723
|
} | null;
|
|
@@ -1725,8 +1725,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1725
1725
|
contactProfile: string | null;
|
|
1726
1726
|
socialProfileUrl: string | null;
|
|
1727
1727
|
tags: {
|
|
1728
|
-
name: string;
|
|
1729
1728
|
id: string;
|
|
1729
|
+
name: string;
|
|
1730
1730
|
createdAt: Date;
|
|
1731
1731
|
updatedAt: Date;
|
|
1732
1732
|
deletedAt: Date | null;
|
|
@@ -1751,8 +1751,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1751
1751
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1752
1752
|
id: string;
|
|
1753
1753
|
metadata: {
|
|
1754
|
-
name: string;
|
|
1755
1754
|
id: string;
|
|
1755
|
+
name: string;
|
|
1756
1756
|
picture?: string | undefined;
|
|
1757
1757
|
additionalCredentials?: any;
|
|
1758
1758
|
};
|
|
@@ -1785,8 +1785,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1785
1785
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1786
1786
|
id: string;
|
|
1787
1787
|
metadata: {
|
|
1788
|
-
name: string;
|
|
1789
1788
|
id: string;
|
|
1789
|
+
name: string;
|
|
1790
1790
|
picture?: string | undefined;
|
|
1791
1791
|
additionalCredentials?: any;
|
|
1792
1792
|
};
|
|
@@ -1794,10 +1794,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1794
1794
|
updatedAt: Date;
|
|
1795
1795
|
deletedAt: Date | null;
|
|
1796
1796
|
contact: {
|
|
1797
|
-
name: string;
|
|
1798
1797
|
id: string;
|
|
1799
1798
|
channel: string | null;
|
|
1800
1799
|
address: string | null;
|
|
1800
|
+
name: string;
|
|
1801
1801
|
createdAt: Date;
|
|
1802
1802
|
updatedAt: Date;
|
|
1803
1803
|
deletedAt: Date | null;
|
|
@@ -1826,7 +1826,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1826
1826
|
dateValue: Date | null;
|
|
1827
1827
|
uploads: {
|
|
1828
1828
|
id: string;
|
|
1829
|
-
status: string | null;
|
|
1830
1829
|
createdAt: Date;
|
|
1831
1830
|
updatedAt: Date;
|
|
1832
1831
|
deletedAt: Date | null;
|
|
@@ -1835,6 +1834,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1835
1834
|
bucketName: string;
|
|
1836
1835
|
fileSize: number;
|
|
1837
1836
|
fileUrl: string | null;
|
|
1837
|
+
status?: string | undefined;
|
|
1838
1838
|
}[];
|
|
1839
1839
|
}[];
|
|
1840
1840
|
company: {
|
|
@@ -1842,8 +1842,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1842
1842
|
createdAt: Date;
|
|
1843
1843
|
updatedAt: Date;
|
|
1844
1844
|
deletedAt: Date | null;
|
|
1845
|
-
name?: string | undefined;
|
|
1846
1845
|
address?: string | null | undefined;
|
|
1846
|
+
name?: string | undefined;
|
|
1847
1847
|
phone?: string | null | undefined;
|
|
1848
1848
|
industry?: string | null | undefined;
|
|
1849
1849
|
} | null;
|
|
@@ -1851,8 +1851,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1851
1851
|
contactProfile: string | null;
|
|
1852
1852
|
socialProfileUrl: string | null;
|
|
1853
1853
|
tags: {
|
|
1854
|
-
name: string;
|
|
1855
1854
|
id: string;
|
|
1855
|
+
name: string;
|
|
1856
1856
|
createdAt: Date;
|
|
1857
1857
|
updatedAt: Date;
|
|
1858
1858
|
deletedAt: Date | null;
|
|
@@ -1877,8 +1877,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1877
1877
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1878
1878
|
id: string;
|
|
1879
1879
|
metadata: {
|
|
1880
|
-
name: string;
|
|
1881
1880
|
id: string;
|
|
1881
|
+
name: string;
|
|
1882
1882
|
picture?: string | undefined;
|
|
1883
1883
|
additionalCredentials?: any;
|
|
1884
1884
|
};
|
|
@@ -2026,9 +2026,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2026
2026
|
telephonySignature: string | null;
|
|
2027
2027
|
}>;
|
|
2028
2028
|
}, "strip", z.ZodTypeAny, {
|
|
2029
|
-
name: string;
|
|
2030
2029
|
id: string;
|
|
2031
2030
|
address: string | null;
|
|
2031
|
+
name: string;
|
|
2032
2032
|
email: string;
|
|
2033
2033
|
createdAt: Date;
|
|
2034
2034
|
updatedAt: Date;
|
|
@@ -2069,9 +2069,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2069
2069
|
telephonySignature: string | null;
|
|
2070
2070
|
};
|
|
2071
2071
|
}, {
|
|
2072
|
-
name: string;
|
|
2073
2072
|
id: string;
|
|
2074
2073
|
address: string | null;
|
|
2074
|
+
name: string;
|
|
2075
2075
|
email: string;
|
|
2076
2076
|
createdAt: Date;
|
|
2077
2077
|
updatedAt: Date;
|
|
@@ -2230,9 +2230,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2230
2230
|
telephonySignature: string | null;
|
|
2231
2231
|
}>;
|
|
2232
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
-
name: string;
|
|
2234
2233
|
id: string;
|
|
2235
2234
|
address: string | null;
|
|
2235
|
+
name: string;
|
|
2236
2236
|
email: string;
|
|
2237
2237
|
createdAt: Date;
|
|
2238
2238
|
updatedAt: Date;
|
|
@@ -2273,9 +2273,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2273
2273
|
telephonySignature: string | null;
|
|
2274
2274
|
};
|
|
2275
2275
|
}, {
|
|
2276
|
-
name: string;
|
|
2277
2276
|
id: string;
|
|
2278
2277
|
address: string | null;
|
|
2278
|
+
name: string;
|
|
2279
2279
|
email: string;
|
|
2280
2280
|
createdAt: Date;
|
|
2281
2281
|
updatedAt: Date;
|
|
@@ -2331,44 +2331,35 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2331
2331
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
|
2332
2332
|
senderId: z.ZodOptional<z.ZodString>;
|
|
2333
2333
|
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
2334
|
-
wabaBusinessId: z.
|
|
2335
|
-
wabaExternalId: z.
|
|
2336
|
-
phoneNumberId: z.
|
|
2337
|
-
email: z.
|
|
2338
|
-
clientId: z.
|
|
2339
|
-
channelId: z.
|
|
2340
|
-
|
|
2341
|
-
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2342
|
-
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
|
2334
|
+
wabaBusinessId: z.ZodOptional<z.ZodString>;
|
|
2335
|
+
wabaExternalId: z.ZodString;
|
|
2336
|
+
phoneNumberId: z.ZodString;
|
|
2337
|
+
email: z.ZodString;
|
|
2338
|
+
clientId: z.ZodOptional<z.ZodString>;
|
|
2339
|
+
channelId: z.ZodOptional<z.ZodString>;
|
|
2340
|
+
status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
|
|
2343
2341
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
2344
2342
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
|
2345
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
|
2346
2343
|
}, "strip", z.ZodTypeAny, {
|
|
2347
|
-
|
|
2348
|
-
wabaExternalId
|
|
2349
|
-
phoneNumberId
|
|
2350
|
-
|
|
2351
|
-
clientId?: string |
|
|
2352
|
-
channelId?: string |
|
|
2353
|
-
|
|
2354
|
-
qr?: string | null | undefined;
|
|
2355
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2344
|
+
email: string;
|
|
2345
|
+
wabaExternalId: string;
|
|
2346
|
+
phoneNumberId: string;
|
|
2347
|
+
wabaBusinessId?: string | undefined;
|
|
2348
|
+
clientId?: string | undefined;
|
|
2349
|
+
channelId?: string | undefined;
|
|
2350
|
+
status?: "active" | "pending" | undefined;
|
|
2356
2351
|
apiKey?: string | undefined;
|
|
2357
2352
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2358
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2359
2353
|
}, {
|
|
2360
|
-
|
|
2361
|
-
wabaExternalId
|
|
2362
|
-
phoneNumberId
|
|
2363
|
-
|
|
2364
|
-
clientId?: string |
|
|
2365
|
-
channelId?: string |
|
|
2366
|
-
|
|
2367
|
-
qr?: string | null | undefined;
|
|
2368
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2354
|
+
email: string;
|
|
2355
|
+
wabaExternalId: string;
|
|
2356
|
+
phoneNumberId: string;
|
|
2357
|
+
wabaBusinessId?: string | undefined;
|
|
2358
|
+
clientId?: string | undefined;
|
|
2359
|
+
channelId?: string | undefined;
|
|
2360
|
+
status?: "active" | "pending" | undefined;
|
|
2369
2361
|
apiKey?: string | undefined;
|
|
2370
2362
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2371
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2372
2363
|
}>>;
|
|
2373
2364
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
|
2374
2365
|
mobileNumber: z.ZodString;
|
|
@@ -2387,25 +2378,22 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2387
2378
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2388
2379
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2389
2380
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
name: string;
|
|
2391
2381
|
id: string;
|
|
2382
|
+
name: string;
|
|
2392
2383
|
accessToken?: string | undefined;
|
|
2393
2384
|
channelSecret?: string | undefined;
|
|
2394
2385
|
additionalCredentials?: any;
|
|
2395
2386
|
senderId?: string | undefined;
|
|
2396
2387
|
whatsapp?: {
|
|
2397
|
-
|
|
2398
|
-
wabaExternalId
|
|
2399
|
-
phoneNumberId
|
|
2400
|
-
|
|
2401
|
-
clientId?: string |
|
|
2402
|
-
channelId?: string |
|
|
2403
|
-
|
|
2404
|
-
qr?: string | null | undefined;
|
|
2405
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2388
|
+
email: string;
|
|
2389
|
+
wabaExternalId: string;
|
|
2390
|
+
phoneNumberId: string;
|
|
2391
|
+
wabaBusinessId?: string | undefined;
|
|
2392
|
+
clientId?: string | undefined;
|
|
2393
|
+
channelId?: string | undefined;
|
|
2394
|
+
status?: "active" | "pending" | undefined;
|
|
2406
2395
|
apiKey?: string | undefined;
|
|
2407
2396
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2408
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2409
2397
|
} | undefined;
|
|
2410
2398
|
vonageCredentials?: {
|
|
2411
2399
|
apiKey: string;
|
|
@@ -2416,25 +2404,22 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2416
2404
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2417
2405
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2418
2406
|
}, {
|
|
2419
|
-
name: string;
|
|
2420
2407
|
id: string;
|
|
2408
|
+
name: string;
|
|
2421
2409
|
accessToken?: string | undefined;
|
|
2422
2410
|
channelSecret?: string | undefined;
|
|
2423
2411
|
additionalCredentials?: any;
|
|
2424
2412
|
senderId?: string | undefined;
|
|
2425
2413
|
whatsapp?: {
|
|
2426
|
-
|
|
2427
|
-
wabaExternalId
|
|
2428
|
-
phoneNumberId
|
|
2429
|
-
|
|
2430
|
-
clientId?: string |
|
|
2431
|
-
channelId?: string |
|
|
2432
|
-
|
|
2433
|
-
qr?: string | null | undefined;
|
|
2434
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2414
|
+
email: string;
|
|
2415
|
+
wabaExternalId: string;
|
|
2416
|
+
phoneNumberId: string;
|
|
2417
|
+
wabaBusinessId?: string | undefined;
|
|
2418
|
+
clientId?: string | undefined;
|
|
2419
|
+
channelId?: string | undefined;
|
|
2420
|
+
status?: "active" | "pending" | undefined;
|
|
2435
2421
|
apiKey?: string | undefined;
|
|
2436
2422
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2437
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2438
2423
|
} | undefined;
|
|
2439
2424
|
vonageCredentials?: {
|
|
2440
2425
|
apiKey: string;
|
|
@@ -2458,14 +2443,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2458
2443
|
integrationId: z.ZodString;
|
|
2459
2444
|
accessToken: z.ZodString;
|
|
2460
2445
|
}, "strip", z.ZodTypeAny, {
|
|
2461
|
-
name: string;
|
|
2462
2446
|
id: string;
|
|
2447
|
+
name: string;
|
|
2463
2448
|
accessToken: string;
|
|
2464
2449
|
botId: string;
|
|
2465
2450
|
integrationId: string;
|
|
2466
2451
|
}, {
|
|
2467
|
-
name: string;
|
|
2468
2452
|
id: string;
|
|
2453
|
+
name: string;
|
|
2469
2454
|
accessToken: string;
|
|
2470
2455
|
botId: string;
|
|
2471
2456
|
integrationId: string;
|
|
@@ -2588,9 +2573,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2588
2573
|
telephonySignature: string | null;
|
|
2589
2574
|
}>;
|
|
2590
2575
|
}, "strip", z.ZodTypeAny, {
|
|
2591
|
-
name: string;
|
|
2592
2576
|
id: string;
|
|
2593
2577
|
address: string | null;
|
|
2578
|
+
name: string;
|
|
2594
2579
|
email: string;
|
|
2595
2580
|
createdAt: Date;
|
|
2596
2581
|
updatedAt: Date;
|
|
@@ -2631,9 +2616,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2631
2616
|
telephonySignature: string | null;
|
|
2632
2617
|
};
|
|
2633
2618
|
}, {
|
|
2634
|
-
name: string;
|
|
2635
2619
|
id: string;
|
|
2636
2620
|
address: string | null;
|
|
2621
|
+
name: string;
|
|
2637
2622
|
email: string;
|
|
2638
2623
|
createdAt: Date;
|
|
2639
2624
|
updatedAt: Date;
|
|
@@ -2675,29 +2660,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2675
2660
|
};
|
|
2676
2661
|
}>;
|
|
2677
2662
|
}, "strip", z.ZodTypeAny, {
|
|
2678
|
-
name: string;
|
|
2679
2663
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2680
2664
|
id: string;
|
|
2665
|
+
name: string;
|
|
2681
2666
|
metadata: {
|
|
2682
|
-
name: string;
|
|
2683
2667
|
id: string;
|
|
2668
|
+
name: string;
|
|
2684
2669
|
accessToken?: string | undefined;
|
|
2685
2670
|
channelSecret?: string | undefined;
|
|
2686
2671
|
additionalCredentials?: any;
|
|
2687
2672
|
senderId?: string | undefined;
|
|
2688
2673
|
whatsapp?: {
|
|
2689
|
-
|
|
2690
|
-
wabaExternalId
|
|
2691
|
-
phoneNumberId
|
|
2692
|
-
|
|
2693
|
-
clientId?: string |
|
|
2694
|
-
channelId?: string |
|
|
2695
|
-
|
|
2696
|
-
qr?: string | null | undefined;
|
|
2697
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2674
|
+
email: string;
|
|
2675
|
+
wabaExternalId: string;
|
|
2676
|
+
phoneNumberId: string;
|
|
2677
|
+
wabaBusinessId?: string | undefined;
|
|
2678
|
+
clientId?: string | undefined;
|
|
2679
|
+
channelId?: string | undefined;
|
|
2680
|
+
status?: "active" | "pending" | undefined;
|
|
2698
2681
|
apiKey?: string | undefined;
|
|
2699
2682
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2700
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2701
2683
|
} | undefined;
|
|
2702
2684
|
vonageCredentials?: {
|
|
2703
2685
|
apiKey: string;
|
|
@@ -2713,9 +2695,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2713
2695
|
updatedAt: Date;
|
|
2714
2696
|
deletedAt: Date | null;
|
|
2715
2697
|
actor: {
|
|
2716
|
-
name: string;
|
|
2717
2698
|
id: string;
|
|
2718
2699
|
address: string | null;
|
|
2700
|
+
name: string;
|
|
2719
2701
|
email: string;
|
|
2720
2702
|
createdAt: Date;
|
|
2721
2703
|
updatedAt: Date;
|
|
@@ -2762,36 +2744,33 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2762
2744
|
connectedUserName: string;
|
|
2763
2745
|
connectedUserId: string;
|
|
2764
2746
|
botpressBot: {
|
|
2765
|
-
name: string;
|
|
2766
2747
|
id: string;
|
|
2748
|
+
name: string;
|
|
2767
2749
|
accessToken: string;
|
|
2768
2750
|
botId: string;
|
|
2769
2751
|
integrationId: string;
|
|
2770
2752
|
} | null;
|
|
2771
2753
|
}, {
|
|
2772
|
-
name: string;
|
|
2773
2754
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2774
2755
|
id: string;
|
|
2756
|
+
name: string;
|
|
2775
2757
|
metadata: {
|
|
2776
|
-
name: string;
|
|
2777
2758
|
id: string;
|
|
2759
|
+
name: string;
|
|
2778
2760
|
accessToken?: string | undefined;
|
|
2779
2761
|
channelSecret?: string | undefined;
|
|
2780
2762
|
additionalCredentials?: any;
|
|
2781
2763
|
senderId?: string | undefined;
|
|
2782
2764
|
whatsapp?: {
|
|
2783
|
-
|
|
2784
|
-
wabaExternalId
|
|
2785
|
-
phoneNumberId
|
|
2786
|
-
|
|
2787
|
-
clientId?: string |
|
|
2788
|
-
channelId?: string |
|
|
2789
|
-
|
|
2790
|
-
qr?: string | null | undefined;
|
|
2791
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2765
|
+
email: string;
|
|
2766
|
+
wabaExternalId: string;
|
|
2767
|
+
phoneNumberId: string;
|
|
2768
|
+
wabaBusinessId?: string | undefined;
|
|
2769
|
+
clientId?: string | undefined;
|
|
2770
|
+
channelId?: string | undefined;
|
|
2771
|
+
status?: "active" | "pending" | undefined;
|
|
2792
2772
|
apiKey?: string | undefined;
|
|
2793
2773
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2794
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2795
2774
|
} | undefined;
|
|
2796
2775
|
vonageCredentials?: {
|
|
2797
2776
|
apiKey: string;
|
|
@@ -2807,9 +2786,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2807
2786
|
updatedAt: Date;
|
|
2808
2787
|
deletedAt: Date | null;
|
|
2809
2788
|
actor: {
|
|
2810
|
-
name: string;
|
|
2811
2789
|
id: string;
|
|
2812
2790
|
address: string | null;
|
|
2791
|
+
name: string;
|
|
2813
2792
|
email: string;
|
|
2814
2793
|
createdAt: Date;
|
|
2815
2794
|
updatedAt: Date;
|
|
@@ -2856,8 +2835,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2856
2835
|
connectedUserName: string;
|
|
2857
2836
|
connectedUserId: string;
|
|
2858
2837
|
botpressBot: {
|
|
2859
|
-
name: string;
|
|
2860
2838
|
id: string;
|
|
2839
|
+
name: string;
|
|
2861
2840
|
accessToken: string;
|
|
2862
2841
|
botId: string;
|
|
2863
2842
|
integrationId: string;
|
|
@@ -2866,29 +2845,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2866
2845
|
}, "strip", z.ZodTypeAny, {
|
|
2867
2846
|
id: string;
|
|
2868
2847
|
channel: {
|
|
2869
|
-
name: string;
|
|
2870
2848
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2871
2849
|
id: string;
|
|
2850
|
+
name: string;
|
|
2872
2851
|
metadata: {
|
|
2873
|
-
name: string;
|
|
2874
2852
|
id: string;
|
|
2853
|
+
name: string;
|
|
2875
2854
|
accessToken?: string | undefined;
|
|
2876
2855
|
channelSecret?: string | undefined;
|
|
2877
2856
|
additionalCredentials?: any;
|
|
2878
2857
|
senderId?: string | undefined;
|
|
2879
2858
|
whatsapp?: {
|
|
2880
|
-
|
|
2881
|
-
wabaExternalId
|
|
2882
|
-
phoneNumberId
|
|
2883
|
-
|
|
2884
|
-
clientId?: string |
|
|
2885
|
-
channelId?: string |
|
|
2886
|
-
|
|
2887
|
-
qr?: string | null | undefined;
|
|
2888
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
2859
|
+
email: string;
|
|
2860
|
+
wabaExternalId: string;
|
|
2861
|
+
phoneNumberId: string;
|
|
2862
|
+
wabaBusinessId?: string | undefined;
|
|
2863
|
+
clientId?: string | undefined;
|
|
2864
|
+
channelId?: string | undefined;
|
|
2865
|
+
status?: "active" | "pending" | undefined;
|
|
2889
2866
|
apiKey?: string | undefined;
|
|
2890
2867
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
2891
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
2892
2868
|
} | undefined;
|
|
2893
2869
|
vonageCredentials?: {
|
|
2894
2870
|
apiKey: string;
|
|
@@ -2904,9 +2880,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2904
2880
|
updatedAt: Date;
|
|
2905
2881
|
deletedAt: Date | null;
|
|
2906
2882
|
actor: {
|
|
2907
|
-
name: string;
|
|
2908
2883
|
id: string;
|
|
2909
2884
|
address: string | null;
|
|
2885
|
+
name: string;
|
|
2910
2886
|
email: string;
|
|
2911
2887
|
createdAt: Date;
|
|
2912
2888
|
updatedAt: Date;
|
|
@@ -2953,8 +2929,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2953
2929
|
connectedUserName: string;
|
|
2954
2930
|
connectedUserId: string;
|
|
2955
2931
|
botpressBot: {
|
|
2956
|
-
name: string;
|
|
2957
2932
|
id: string;
|
|
2933
|
+
name: string;
|
|
2958
2934
|
accessToken: string;
|
|
2959
2935
|
botId: string;
|
|
2960
2936
|
integrationId: string;
|
|
@@ -2965,9 +2941,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2965
2941
|
updatedAt: Date;
|
|
2966
2942
|
deletedAt: Date | null;
|
|
2967
2943
|
actor: {
|
|
2968
|
-
name: string;
|
|
2969
2944
|
id: string;
|
|
2970
2945
|
address: string | null;
|
|
2946
|
+
name: string;
|
|
2971
2947
|
email: string;
|
|
2972
2948
|
createdAt: Date;
|
|
2973
2949
|
updatedAt: Date;
|
|
@@ -3019,8 +2995,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3019
2995
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3020
2996
|
id: string;
|
|
3021
2997
|
metadata: {
|
|
3022
|
-
name: string;
|
|
3023
2998
|
id: string;
|
|
2999
|
+
name: string;
|
|
3024
3000
|
picture?: string | undefined;
|
|
3025
3001
|
additionalCredentials?: any;
|
|
3026
3002
|
};
|
|
@@ -3028,10 +3004,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3028
3004
|
updatedAt: Date;
|
|
3029
3005
|
deletedAt: Date | null;
|
|
3030
3006
|
contact: {
|
|
3031
|
-
name: string;
|
|
3032
3007
|
id: string;
|
|
3033
3008
|
channel: string | null;
|
|
3034
3009
|
address: string | null;
|
|
3010
|
+
name: string;
|
|
3035
3011
|
createdAt: Date;
|
|
3036
3012
|
updatedAt: Date;
|
|
3037
3013
|
deletedAt: Date | null;
|
|
@@ -3060,7 +3036,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3060
3036
|
dateValue: Date | null;
|
|
3061
3037
|
uploads: {
|
|
3062
3038
|
id: string;
|
|
3063
|
-
status: string | null;
|
|
3064
3039
|
createdAt: Date;
|
|
3065
3040
|
updatedAt: Date;
|
|
3066
3041
|
deletedAt: Date | null;
|
|
@@ -3069,6 +3044,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3069
3044
|
bucketName: string;
|
|
3070
3045
|
fileSize: number;
|
|
3071
3046
|
fileUrl: string | null;
|
|
3047
|
+
status?: string | undefined;
|
|
3072
3048
|
}[];
|
|
3073
3049
|
}[];
|
|
3074
3050
|
company: {
|
|
@@ -3076,8 +3052,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3076
3052
|
createdAt: Date;
|
|
3077
3053
|
updatedAt: Date;
|
|
3078
3054
|
deletedAt: Date | null;
|
|
3079
|
-
name?: string | undefined;
|
|
3080
3055
|
address?: string | null | undefined;
|
|
3056
|
+
name?: string | undefined;
|
|
3081
3057
|
phone?: string | null | undefined;
|
|
3082
3058
|
industry?: string | null | undefined;
|
|
3083
3059
|
} | null;
|
|
@@ -3085,8 +3061,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3085
3061
|
contactProfile: string | null;
|
|
3086
3062
|
socialProfileUrl: string | null;
|
|
3087
3063
|
tags: {
|
|
3088
|
-
name: string;
|
|
3089
3064
|
id: string;
|
|
3065
|
+
name: string;
|
|
3090
3066
|
createdAt: Date;
|
|
3091
3067
|
updatedAt: Date;
|
|
3092
3068
|
deletedAt: Date | null;
|
|
@@ -3111,8 +3087,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3111
3087
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3112
3088
|
id: string;
|
|
3113
3089
|
metadata: {
|
|
3114
|
-
name: string;
|
|
3115
3090
|
id: string;
|
|
3091
|
+
name: string;
|
|
3116
3092
|
picture?: string | undefined;
|
|
3117
3093
|
additionalCredentials?: any;
|
|
3118
3094
|
};
|
|
@@ -3143,9 +3119,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3143
3119
|
socialPlatformId: string;
|
|
3144
3120
|
};
|
|
3145
3121
|
assignee: {
|
|
3146
|
-
name: string;
|
|
3147
3122
|
id: string;
|
|
3148
3123
|
address: string | null;
|
|
3124
|
+
name: string;
|
|
3149
3125
|
email: string;
|
|
3150
3126
|
createdAt: Date;
|
|
3151
3127
|
updatedAt: Date;
|
|
@@ -3189,29 +3165,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3189
3165
|
}, {
|
|
3190
3166
|
id: string;
|
|
3191
3167
|
channel: {
|
|
3192
|
-
name: string;
|
|
3193
3168
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3194
3169
|
id: string;
|
|
3170
|
+
name: string;
|
|
3195
3171
|
metadata: {
|
|
3196
|
-
name: string;
|
|
3197
3172
|
id: string;
|
|
3173
|
+
name: string;
|
|
3198
3174
|
accessToken?: string | undefined;
|
|
3199
3175
|
channelSecret?: string | undefined;
|
|
3200
3176
|
additionalCredentials?: any;
|
|
3201
3177
|
senderId?: string | undefined;
|
|
3202
3178
|
whatsapp?: {
|
|
3203
|
-
|
|
3204
|
-
wabaExternalId
|
|
3205
|
-
phoneNumberId
|
|
3206
|
-
|
|
3207
|
-
clientId?: string |
|
|
3208
|
-
channelId?: string |
|
|
3209
|
-
|
|
3210
|
-
qr?: string | null | undefined;
|
|
3211
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
3179
|
+
email: string;
|
|
3180
|
+
wabaExternalId: string;
|
|
3181
|
+
phoneNumberId: string;
|
|
3182
|
+
wabaBusinessId?: string | undefined;
|
|
3183
|
+
clientId?: string | undefined;
|
|
3184
|
+
channelId?: string | undefined;
|
|
3185
|
+
status?: "active" | "pending" | undefined;
|
|
3212
3186
|
apiKey?: string | undefined;
|
|
3213
3187
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
3214
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
3215
3188
|
} | undefined;
|
|
3216
3189
|
vonageCredentials?: {
|
|
3217
3190
|
apiKey: string;
|
|
@@ -3227,9 +3200,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3227
3200
|
updatedAt: Date;
|
|
3228
3201
|
deletedAt: Date | null;
|
|
3229
3202
|
actor: {
|
|
3230
|
-
name: string;
|
|
3231
3203
|
id: string;
|
|
3232
3204
|
address: string | null;
|
|
3205
|
+
name: string;
|
|
3233
3206
|
email: string;
|
|
3234
3207
|
createdAt: Date;
|
|
3235
3208
|
updatedAt: Date;
|
|
@@ -3276,8 +3249,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3276
3249
|
connectedUserName: string;
|
|
3277
3250
|
connectedUserId: string;
|
|
3278
3251
|
botpressBot: {
|
|
3279
|
-
name: string;
|
|
3280
3252
|
id: string;
|
|
3253
|
+
name: string;
|
|
3281
3254
|
accessToken: string;
|
|
3282
3255
|
botId: string;
|
|
3283
3256
|
integrationId: string;
|
|
@@ -3288,9 +3261,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3288
3261
|
updatedAt: Date;
|
|
3289
3262
|
deletedAt: Date | null;
|
|
3290
3263
|
actor: {
|
|
3291
|
-
name: string;
|
|
3292
3264
|
id: string;
|
|
3293
3265
|
address: string | null;
|
|
3266
|
+
name: string;
|
|
3294
3267
|
email: string;
|
|
3295
3268
|
createdAt: Date;
|
|
3296
3269
|
updatedAt: Date;
|
|
@@ -3342,8 +3315,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3342
3315
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3343
3316
|
id: string;
|
|
3344
3317
|
metadata: {
|
|
3345
|
-
name: string;
|
|
3346
3318
|
id: string;
|
|
3319
|
+
name: string;
|
|
3347
3320
|
picture?: string | undefined;
|
|
3348
3321
|
additionalCredentials?: any;
|
|
3349
3322
|
};
|
|
@@ -3351,10 +3324,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3351
3324
|
updatedAt: Date;
|
|
3352
3325
|
deletedAt: Date | null;
|
|
3353
3326
|
contact: {
|
|
3354
|
-
name: string;
|
|
3355
3327
|
id: string;
|
|
3356
3328
|
channel: string | null;
|
|
3357
3329
|
address: string | null;
|
|
3330
|
+
name: string;
|
|
3358
3331
|
createdAt: Date;
|
|
3359
3332
|
updatedAt: Date;
|
|
3360
3333
|
deletedAt: Date | null;
|
|
@@ -3383,7 +3356,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3383
3356
|
dateValue: Date | null;
|
|
3384
3357
|
uploads: {
|
|
3385
3358
|
id: string;
|
|
3386
|
-
status: string | null;
|
|
3387
3359
|
createdAt: Date;
|
|
3388
3360
|
updatedAt: Date;
|
|
3389
3361
|
deletedAt: Date | null;
|
|
@@ -3392,6 +3364,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3392
3364
|
bucketName: string;
|
|
3393
3365
|
fileSize: number;
|
|
3394
3366
|
fileUrl: string | null;
|
|
3367
|
+
status?: string | undefined;
|
|
3395
3368
|
}[];
|
|
3396
3369
|
}[];
|
|
3397
3370
|
company: {
|
|
@@ -3399,8 +3372,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3399
3372
|
createdAt: Date;
|
|
3400
3373
|
updatedAt: Date;
|
|
3401
3374
|
deletedAt: Date | null;
|
|
3402
|
-
name?: string | undefined;
|
|
3403
3375
|
address?: string | null | undefined;
|
|
3376
|
+
name?: string | undefined;
|
|
3404
3377
|
phone?: string | null | undefined;
|
|
3405
3378
|
industry?: string | null | undefined;
|
|
3406
3379
|
} | null;
|
|
@@ -3408,8 +3381,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3408
3381
|
contactProfile: string | null;
|
|
3409
3382
|
socialProfileUrl: string | null;
|
|
3410
3383
|
tags: {
|
|
3411
|
-
name: string;
|
|
3412
3384
|
id: string;
|
|
3385
|
+
name: string;
|
|
3413
3386
|
createdAt: Date;
|
|
3414
3387
|
updatedAt: Date;
|
|
3415
3388
|
deletedAt: Date | null;
|
|
@@ -3434,8 +3407,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3434
3407
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3435
3408
|
id: string;
|
|
3436
3409
|
metadata: {
|
|
3437
|
-
name: string;
|
|
3438
3410
|
id: string;
|
|
3411
|
+
name: string;
|
|
3439
3412
|
picture?: string | undefined;
|
|
3440
3413
|
additionalCredentials?: any;
|
|
3441
3414
|
};
|
|
@@ -3466,9 +3439,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3466
3439
|
socialPlatformId: string;
|
|
3467
3440
|
};
|
|
3468
3441
|
assignee: {
|
|
3469
|
-
name: string;
|
|
3470
3442
|
id: string;
|
|
3471
3443
|
address: string | null;
|
|
3444
|
+
name: string;
|
|
3472
3445
|
email: string;
|
|
3473
3446
|
createdAt: Date;
|
|
3474
3447
|
updatedAt: Date;
|
|
@@ -3541,14 +3514,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3541
3514
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3542
3515
|
name: z.ZodString;
|
|
3543
3516
|
}, "strip", z.ZodTypeAny, {
|
|
3544
|
-
name: string;
|
|
3545
3517
|
id: string;
|
|
3518
|
+
name: string;
|
|
3546
3519
|
createdAt: Date;
|
|
3547
3520
|
updatedAt: Date;
|
|
3548
3521
|
deletedAt: Date | null;
|
|
3549
3522
|
}, {
|
|
3550
|
-
name: string;
|
|
3551
3523
|
id: string;
|
|
3524
|
+
name: string;
|
|
3552
3525
|
createdAt: Date;
|
|
3553
3526
|
updatedAt: Date;
|
|
3554
3527
|
deletedAt: Date | null;
|
|
@@ -3704,8 +3677,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3704
3677
|
createdAt: Date;
|
|
3705
3678
|
updatedAt: Date;
|
|
3706
3679
|
deletedAt: Date | null;
|
|
3707
|
-
name?: string | undefined;
|
|
3708
3680
|
address?: string | null | undefined;
|
|
3681
|
+
name?: string | undefined;
|
|
3709
3682
|
phone?: string | null | undefined;
|
|
3710
3683
|
industry?: string | null | undefined;
|
|
3711
3684
|
}, {
|
|
@@ -3713,8 +3686,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3713
3686
|
createdAt: Date;
|
|
3714
3687
|
updatedAt: Date;
|
|
3715
3688
|
deletedAt: Date | null;
|
|
3716
|
-
name?: string | undefined;
|
|
3717
3689
|
address?: string | null | undefined;
|
|
3690
|
+
name?: string | undefined;
|
|
3718
3691
|
phone?: string | null | undefined;
|
|
3719
3692
|
industry?: string | null | undefined;
|
|
3720
3693
|
}>>;
|
|
@@ -3732,13 +3705,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3732
3705
|
picture: z.ZodOptional<z.ZodString>;
|
|
3733
3706
|
additionalCredentials: z.ZodAny;
|
|
3734
3707
|
}, "strip", z.ZodTypeAny, {
|
|
3735
|
-
name: string;
|
|
3736
3708
|
id: string;
|
|
3709
|
+
name: string;
|
|
3737
3710
|
picture?: string | undefined;
|
|
3738
3711
|
additionalCredentials?: any;
|
|
3739
3712
|
}, {
|
|
3740
|
-
name: string;
|
|
3741
3713
|
id: string;
|
|
3714
|
+
name: string;
|
|
3742
3715
|
picture?: string | undefined;
|
|
3743
3716
|
additionalCredentials?: any;
|
|
3744
3717
|
}>;
|
|
@@ -3746,8 +3719,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3746
3719
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3747
3720
|
id: string;
|
|
3748
3721
|
metadata: {
|
|
3749
|
-
name: string;
|
|
3750
3722
|
id: string;
|
|
3723
|
+
name: string;
|
|
3751
3724
|
picture?: string | undefined;
|
|
3752
3725
|
additionalCredentials?: any;
|
|
3753
3726
|
};
|
|
@@ -3760,8 +3733,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3760
3733
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3761
3734
|
id: string;
|
|
3762
3735
|
metadata: {
|
|
3763
|
-
name: string;
|
|
3764
3736
|
id: string;
|
|
3737
|
+
name: string;
|
|
3765
3738
|
picture?: string | undefined;
|
|
3766
3739
|
additionalCredentials?: any;
|
|
3767
3740
|
};
|
|
@@ -3871,10 +3844,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3871
3844
|
fileSize: z.ZodNumber;
|
|
3872
3845
|
fileKey: z.ZodString;
|
|
3873
3846
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
3874
|
-
status: z.
|
|
3847
|
+
status: z.ZodOptional<z.ZodString>;
|
|
3875
3848
|
}, "strip", z.ZodTypeAny, {
|
|
3876
3849
|
id: string;
|
|
3877
|
-
status: string | null;
|
|
3878
3850
|
createdAt: Date;
|
|
3879
3851
|
updatedAt: Date;
|
|
3880
3852
|
deletedAt: Date | null;
|
|
@@ -3883,9 +3855,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3883
3855
|
bucketName: string;
|
|
3884
3856
|
fileSize: number;
|
|
3885
3857
|
fileUrl: string | null;
|
|
3858
|
+
status?: string | undefined;
|
|
3886
3859
|
}, {
|
|
3887
3860
|
id: string;
|
|
3888
|
-
status: string | null;
|
|
3889
3861
|
createdAt: Date;
|
|
3890
3862
|
updatedAt: Date;
|
|
3891
3863
|
deletedAt: Date | null;
|
|
@@ -3894,6 +3866,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3894
3866
|
bucketName: string;
|
|
3895
3867
|
fileSize: number;
|
|
3896
3868
|
fileUrl: string | null;
|
|
3869
|
+
status?: string | undefined;
|
|
3897
3870
|
}>, "many">;
|
|
3898
3871
|
}, "strip", z.ZodTypeAny, {
|
|
3899
3872
|
id: string;
|
|
@@ -3920,7 +3893,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3920
3893
|
dateValue: Date | null;
|
|
3921
3894
|
uploads: {
|
|
3922
3895
|
id: string;
|
|
3923
|
-
status: string | null;
|
|
3924
3896
|
createdAt: Date;
|
|
3925
3897
|
updatedAt: Date;
|
|
3926
3898
|
deletedAt: Date | null;
|
|
@@ -3929,6 +3901,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3929
3901
|
bucketName: string;
|
|
3930
3902
|
fileSize: number;
|
|
3931
3903
|
fileUrl: string | null;
|
|
3904
|
+
status?: string | undefined;
|
|
3932
3905
|
}[];
|
|
3933
3906
|
}, {
|
|
3934
3907
|
id: string;
|
|
@@ -3955,7 +3928,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3955
3928
|
dateValue: Date | null;
|
|
3956
3929
|
uploads: {
|
|
3957
3930
|
id: string;
|
|
3958
|
-
status: string | null;
|
|
3959
3931
|
createdAt: Date;
|
|
3960
3932
|
updatedAt: Date;
|
|
3961
3933
|
deletedAt: Date | null;
|
|
@@ -3964,6 +3936,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3964
3936
|
bucketName: string;
|
|
3965
3937
|
fileSize: number;
|
|
3966
3938
|
fileUrl: string | null;
|
|
3939
|
+
status?: string | undefined;
|
|
3967
3940
|
}[];
|
|
3968
3941
|
}>, "many">;
|
|
3969
3942
|
contactEmails: z.ZodArray<z.ZodObject<{
|
|
@@ -4071,10 +4044,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4071
4044
|
};
|
|
4072
4045
|
}>, "many">>;
|
|
4073
4046
|
}, "strip", z.ZodTypeAny, {
|
|
4074
|
-
name: string;
|
|
4075
4047
|
id: string;
|
|
4076
4048
|
channel: string | null;
|
|
4077
4049
|
address: string | null;
|
|
4050
|
+
name: string;
|
|
4078
4051
|
createdAt: Date;
|
|
4079
4052
|
updatedAt: Date;
|
|
4080
4053
|
deletedAt: Date | null;
|
|
@@ -4103,7 +4076,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4103
4076
|
dateValue: Date | null;
|
|
4104
4077
|
uploads: {
|
|
4105
4078
|
id: string;
|
|
4106
|
-
status: string | null;
|
|
4107
4079
|
createdAt: Date;
|
|
4108
4080
|
updatedAt: Date;
|
|
4109
4081
|
deletedAt: Date | null;
|
|
@@ -4112,6 +4084,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4112
4084
|
bucketName: string;
|
|
4113
4085
|
fileSize: number;
|
|
4114
4086
|
fileUrl: string | null;
|
|
4087
|
+
status?: string | undefined;
|
|
4115
4088
|
}[];
|
|
4116
4089
|
}[];
|
|
4117
4090
|
company: {
|
|
@@ -4119,8 +4092,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4119
4092
|
createdAt: Date;
|
|
4120
4093
|
updatedAt: Date;
|
|
4121
4094
|
deletedAt: Date | null;
|
|
4122
|
-
name?: string | undefined;
|
|
4123
4095
|
address?: string | null | undefined;
|
|
4096
|
+
name?: string | undefined;
|
|
4124
4097
|
phone?: string | null | undefined;
|
|
4125
4098
|
industry?: string | null | undefined;
|
|
4126
4099
|
} | null;
|
|
@@ -4128,8 +4101,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4128
4101
|
contactProfile: string | null;
|
|
4129
4102
|
socialProfileUrl: string | null;
|
|
4130
4103
|
tags: {
|
|
4131
|
-
name: string;
|
|
4132
4104
|
id: string;
|
|
4105
|
+
name: string;
|
|
4133
4106
|
createdAt: Date;
|
|
4134
4107
|
updatedAt: Date;
|
|
4135
4108
|
deletedAt: Date | null;
|
|
@@ -4154,8 +4127,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4154
4127
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4155
4128
|
id: string;
|
|
4156
4129
|
metadata: {
|
|
4157
|
-
name: string;
|
|
4158
4130
|
id: string;
|
|
4131
|
+
name: string;
|
|
4159
4132
|
picture?: string | undefined;
|
|
4160
4133
|
additionalCredentials?: any;
|
|
4161
4134
|
};
|
|
@@ -4182,10 +4155,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4182
4155
|
};
|
|
4183
4156
|
}[] | undefined;
|
|
4184
4157
|
}, {
|
|
4185
|
-
name: string;
|
|
4186
4158
|
id: string;
|
|
4187
4159
|
channel: string | null;
|
|
4188
4160
|
address: string | null;
|
|
4161
|
+
name: string;
|
|
4189
4162
|
createdAt: Date;
|
|
4190
4163
|
updatedAt: Date;
|
|
4191
4164
|
deletedAt: Date | null;
|
|
@@ -4214,7 +4187,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4214
4187
|
dateValue: Date | null;
|
|
4215
4188
|
uploads: {
|
|
4216
4189
|
id: string;
|
|
4217
|
-
status: string | null;
|
|
4218
4190
|
createdAt: Date;
|
|
4219
4191
|
updatedAt: Date;
|
|
4220
4192
|
deletedAt: Date | null;
|
|
@@ -4223,6 +4195,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4223
4195
|
bucketName: string;
|
|
4224
4196
|
fileSize: number;
|
|
4225
4197
|
fileUrl: string | null;
|
|
4198
|
+
status?: string | undefined;
|
|
4226
4199
|
}[];
|
|
4227
4200
|
}[];
|
|
4228
4201
|
company: {
|
|
@@ -4230,8 +4203,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4230
4203
|
createdAt: Date;
|
|
4231
4204
|
updatedAt: Date;
|
|
4232
4205
|
deletedAt: Date | null;
|
|
4233
|
-
name?: string | undefined;
|
|
4234
4206
|
address?: string | null | undefined;
|
|
4207
|
+
name?: string | undefined;
|
|
4235
4208
|
phone?: string | null | undefined;
|
|
4236
4209
|
industry?: string | null | undefined;
|
|
4237
4210
|
} | null;
|
|
@@ -4239,8 +4212,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4239
4212
|
contactProfile: string | null;
|
|
4240
4213
|
socialProfileUrl: string | null;
|
|
4241
4214
|
tags: {
|
|
4242
|
-
name: string;
|
|
4243
4215
|
id: string;
|
|
4216
|
+
name: string;
|
|
4244
4217
|
createdAt: Date;
|
|
4245
4218
|
updatedAt: Date;
|
|
4246
4219
|
deletedAt: Date | null;
|
|
@@ -4265,8 +4238,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4265
4238
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4266
4239
|
id: string;
|
|
4267
4240
|
metadata: {
|
|
4268
|
-
name: string;
|
|
4269
4241
|
id: string;
|
|
4242
|
+
name: string;
|
|
4270
4243
|
picture?: string | undefined;
|
|
4271
4244
|
additionalCredentials?: any;
|
|
4272
4245
|
};
|
|
@@ -4339,10 +4312,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4339
4312
|
fileSize: z.ZodNumber;
|
|
4340
4313
|
fileKey: z.ZodString;
|
|
4341
4314
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
4342
|
-
status: z.
|
|
4315
|
+
status: z.ZodOptional<z.ZodString>;
|
|
4343
4316
|
}, "strip", z.ZodTypeAny, {
|
|
4344
4317
|
id: string;
|
|
4345
|
-
status: string | null;
|
|
4346
4318
|
createdAt: Date;
|
|
4347
4319
|
updatedAt: Date;
|
|
4348
4320
|
deletedAt: Date | null;
|
|
@@ -4351,9 +4323,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4351
4323
|
bucketName: string;
|
|
4352
4324
|
fileSize: number;
|
|
4353
4325
|
fileUrl: string | null;
|
|
4326
|
+
status?: string | undefined;
|
|
4354
4327
|
}, {
|
|
4355
4328
|
id: string;
|
|
4356
|
-
status: string | null;
|
|
4357
4329
|
createdAt: Date;
|
|
4358
4330
|
updatedAt: Date;
|
|
4359
4331
|
deletedAt: Date | null;
|
|
@@ -4362,6 +4334,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4362
4334
|
bucketName: string;
|
|
4363
4335
|
fileSize: number;
|
|
4364
4336
|
fileUrl: string | null;
|
|
4337
|
+
status?: string | undefined;
|
|
4365
4338
|
}>>>;
|
|
4366
4339
|
callParticipants: z.ZodNullable<z.ZodObject<{
|
|
4367
4340
|
callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -4484,9 +4457,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4484
4457
|
telephonySignature: string | null;
|
|
4485
4458
|
}>;
|
|
4486
4459
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4487
|
-
name: string;
|
|
4488
4460
|
id: string;
|
|
4489
4461
|
address: string | null;
|
|
4462
|
+
name: string;
|
|
4490
4463
|
email: string;
|
|
4491
4464
|
createdAt: Date;
|
|
4492
4465
|
updatedAt: Date;
|
|
@@ -4496,9 +4469,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4496
4469
|
phone: string | null;
|
|
4497
4470
|
notificationCount: number | null;
|
|
4498
4471
|
}, {
|
|
4499
|
-
name: string;
|
|
4500
4472
|
id: string;
|
|
4501
4473
|
address: string | null;
|
|
4474
|
+
name: string;
|
|
4502
4475
|
email: string;
|
|
4503
4476
|
createdAt: Date;
|
|
4504
4477
|
updatedAt: Date;
|
|
@@ -4521,9 +4494,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4521
4494
|
}, "strip", z.ZodTypeAny, {
|
|
4522
4495
|
id: string;
|
|
4523
4496
|
user: {
|
|
4524
|
-
name: string;
|
|
4525
4497
|
id: string;
|
|
4526
4498
|
address: string | null;
|
|
4499
|
+
name: string;
|
|
4527
4500
|
email: string;
|
|
4528
4501
|
createdAt: Date;
|
|
4529
4502
|
updatedAt: Date;
|
|
@@ -4546,9 +4519,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4546
4519
|
}, {
|
|
4547
4520
|
id: string;
|
|
4548
4521
|
user: {
|
|
4549
|
-
name: string;
|
|
4550
4522
|
id: string;
|
|
4551
4523
|
address: string | null;
|
|
4524
|
+
name: string;
|
|
4552
4525
|
email: string;
|
|
4553
4526
|
createdAt: Date;
|
|
4554
4527
|
updatedAt: Date;
|
|
@@ -4689,9 +4662,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4689
4662
|
telephonySignature: string | null;
|
|
4690
4663
|
}>;
|
|
4691
4664
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4692
|
-
name: string;
|
|
4693
4665
|
id: string;
|
|
4694
4666
|
address: string | null;
|
|
4667
|
+
name: string;
|
|
4695
4668
|
email: string;
|
|
4696
4669
|
createdAt: Date;
|
|
4697
4670
|
updatedAt: Date;
|
|
@@ -4701,9 +4674,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4701
4674
|
phone: string | null;
|
|
4702
4675
|
notificationCount: number | null;
|
|
4703
4676
|
}, {
|
|
4704
|
-
name: string;
|
|
4705
4677
|
id: string;
|
|
4706
4678
|
address: string | null;
|
|
4679
|
+
name: string;
|
|
4707
4680
|
email: string;
|
|
4708
4681
|
createdAt: Date;
|
|
4709
4682
|
updatedAt: Date;
|
|
@@ -4726,9 +4699,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4726
4699
|
}, "strip", z.ZodTypeAny, {
|
|
4727
4700
|
id: string;
|
|
4728
4701
|
user: {
|
|
4729
|
-
name: string;
|
|
4730
4702
|
id: string;
|
|
4731
4703
|
address: string | null;
|
|
4704
|
+
name: string;
|
|
4732
4705
|
email: string;
|
|
4733
4706
|
createdAt: Date;
|
|
4734
4707
|
updatedAt: Date;
|
|
@@ -4751,9 +4724,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4751
4724
|
}, {
|
|
4752
4725
|
id: string;
|
|
4753
4726
|
user: {
|
|
4754
|
-
name: string;
|
|
4755
4727
|
id: string;
|
|
4756
4728
|
address: string | null;
|
|
4729
|
+
name: string;
|
|
4757
4730
|
email: string;
|
|
4758
4731
|
createdAt: Date;
|
|
4759
4732
|
updatedAt: Date;
|
|
@@ -4778,9 +4751,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4778
4751
|
callTo?: {
|
|
4779
4752
|
id: string;
|
|
4780
4753
|
user: {
|
|
4781
|
-
name: string;
|
|
4782
4754
|
id: string;
|
|
4783
4755
|
address: string | null;
|
|
4756
|
+
name: string;
|
|
4784
4757
|
email: string;
|
|
4785
4758
|
createdAt: Date;
|
|
4786
4759
|
updatedAt: Date;
|
|
@@ -4804,9 +4777,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4804
4777
|
callFrom?: {
|
|
4805
4778
|
id: string;
|
|
4806
4779
|
user: {
|
|
4807
|
-
name: string;
|
|
4808
4780
|
id: string;
|
|
4809
4781
|
address: string | null;
|
|
4782
|
+
name: string;
|
|
4810
4783
|
email: string;
|
|
4811
4784
|
createdAt: Date;
|
|
4812
4785
|
updatedAt: Date;
|
|
@@ -4831,9 +4804,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4831
4804
|
callTo?: {
|
|
4832
4805
|
id: string;
|
|
4833
4806
|
user: {
|
|
4834
|
-
name: string;
|
|
4835
4807
|
id: string;
|
|
4836
4808
|
address: string | null;
|
|
4809
|
+
name: string;
|
|
4837
4810
|
email: string;
|
|
4838
4811
|
createdAt: Date;
|
|
4839
4812
|
updatedAt: Date;
|
|
@@ -4857,9 +4830,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4857
4830
|
callFrom?: {
|
|
4858
4831
|
id: string;
|
|
4859
4832
|
user: {
|
|
4860
|
-
name: string;
|
|
4861
4833
|
id: string;
|
|
4862
4834
|
address: string | null;
|
|
4835
|
+
name: string;
|
|
4863
4836
|
email: string;
|
|
4864
4837
|
createdAt: Date;
|
|
4865
4838
|
updatedAt: Date;
|
|
@@ -5013,9 +4986,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5013
4986
|
telephonySignature: string | null;
|
|
5014
4987
|
}>;
|
|
5015
4988
|
}, "strip", z.ZodTypeAny, {
|
|
5016
|
-
name: string;
|
|
5017
4989
|
id: string;
|
|
5018
4990
|
address: string | null;
|
|
4991
|
+
name: string;
|
|
5019
4992
|
email: string;
|
|
5020
4993
|
createdAt: Date;
|
|
5021
4994
|
updatedAt: Date;
|
|
@@ -5056,9 +5029,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5056
5029
|
telephonySignature: string | null;
|
|
5057
5030
|
};
|
|
5058
5031
|
}, {
|
|
5059
|
-
name: string;
|
|
5060
5032
|
id: string;
|
|
5061
5033
|
address: string | null;
|
|
5034
|
+
name: string;
|
|
5062
5035
|
email: string;
|
|
5063
5036
|
createdAt: Date;
|
|
5064
5037
|
updatedAt: Date;
|
|
@@ -5112,9 +5085,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5112
5085
|
extensionName: string;
|
|
5113
5086
|
telephonySignature: string | null;
|
|
5114
5087
|
user?: {
|
|
5115
|
-
name: string;
|
|
5116
5088
|
id: string;
|
|
5117
5089
|
address: string | null;
|
|
5090
|
+
name: string;
|
|
5118
5091
|
email: string;
|
|
5119
5092
|
createdAt: Date;
|
|
5120
5093
|
updatedAt: Date;
|
|
@@ -5168,9 +5141,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5168
5141
|
extensionName: string;
|
|
5169
5142
|
telephonySignature: string | null;
|
|
5170
5143
|
user?: {
|
|
5171
|
-
name: string;
|
|
5172
5144
|
id: string;
|
|
5173
5145
|
address: string | null;
|
|
5146
|
+
name: string;
|
|
5174
5147
|
email: string;
|
|
5175
5148
|
createdAt: Date;
|
|
5176
5149
|
updatedAt: Date;
|
|
@@ -5240,9 +5213,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5240
5213
|
callTo?: {
|
|
5241
5214
|
id: string;
|
|
5242
5215
|
user: {
|
|
5243
|
-
name: string;
|
|
5244
5216
|
id: string;
|
|
5245
5217
|
address: string | null;
|
|
5218
|
+
name: string;
|
|
5246
5219
|
email: string;
|
|
5247
5220
|
createdAt: Date;
|
|
5248
5221
|
updatedAt: Date;
|
|
@@ -5266,9 +5239,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5266
5239
|
callFrom?: {
|
|
5267
5240
|
id: string;
|
|
5268
5241
|
user: {
|
|
5269
|
-
name: string;
|
|
5270
5242
|
id: string;
|
|
5271
5243
|
address: string | null;
|
|
5244
|
+
name: string;
|
|
5272
5245
|
email: string;
|
|
5273
5246
|
createdAt: Date;
|
|
5274
5247
|
updatedAt: Date;
|
|
@@ -5294,10 +5267,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5294
5267
|
telephonyQueueId: string | null;
|
|
5295
5268
|
contactId: string | null;
|
|
5296
5269
|
contact?: {
|
|
5297
|
-
name: string;
|
|
5298
5270
|
id: string;
|
|
5299
5271
|
channel: string | null;
|
|
5300
5272
|
address: string | null;
|
|
5273
|
+
name: string;
|
|
5301
5274
|
createdAt: Date;
|
|
5302
5275
|
updatedAt: Date;
|
|
5303
5276
|
deletedAt: Date | null;
|
|
@@ -5326,7 +5299,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5326
5299
|
dateValue: Date | null;
|
|
5327
5300
|
uploads: {
|
|
5328
5301
|
id: string;
|
|
5329
|
-
status: string | null;
|
|
5330
5302
|
createdAt: Date;
|
|
5331
5303
|
updatedAt: Date;
|
|
5332
5304
|
deletedAt: Date | null;
|
|
@@ -5335,6 +5307,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5335
5307
|
bucketName: string;
|
|
5336
5308
|
fileSize: number;
|
|
5337
5309
|
fileUrl: string | null;
|
|
5310
|
+
status?: string | undefined;
|
|
5338
5311
|
}[];
|
|
5339
5312
|
}[];
|
|
5340
5313
|
company: {
|
|
@@ -5342,8 +5315,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5342
5315
|
createdAt: Date;
|
|
5343
5316
|
updatedAt: Date;
|
|
5344
5317
|
deletedAt: Date | null;
|
|
5345
|
-
name?: string | undefined;
|
|
5346
5318
|
address?: string | null | undefined;
|
|
5319
|
+
name?: string | undefined;
|
|
5347
5320
|
phone?: string | null | undefined;
|
|
5348
5321
|
industry?: string | null | undefined;
|
|
5349
5322
|
} | null;
|
|
@@ -5351,8 +5324,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5351
5324
|
contactProfile: string | null;
|
|
5352
5325
|
socialProfileUrl: string | null;
|
|
5353
5326
|
tags: {
|
|
5354
|
-
name: string;
|
|
5355
5327
|
id: string;
|
|
5328
|
+
name: string;
|
|
5356
5329
|
createdAt: Date;
|
|
5357
5330
|
updatedAt: Date;
|
|
5358
5331
|
deletedAt: Date | null;
|
|
@@ -5377,8 +5350,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5377
5350
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5378
5351
|
id: string;
|
|
5379
5352
|
metadata: {
|
|
5380
|
-
name: string;
|
|
5381
5353
|
id: string;
|
|
5354
|
+
name: string;
|
|
5382
5355
|
picture?: string | undefined;
|
|
5383
5356
|
additionalCredentials?: any;
|
|
5384
5357
|
};
|
|
@@ -5417,7 +5390,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5417
5390
|
} | null | undefined;
|
|
5418
5391
|
upload?: {
|
|
5419
5392
|
id: string;
|
|
5420
|
-
status: string | null;
|
|
5421
5393
|
createdAt: Date;
|
|
5422
5394
|
updatedAt: Date;
|
|
5423
5395
|
deletedAt: Date | null;
|
|
@@ -5426,6 +5398,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5426
5398
|
bucketName: string;
|
|
5427
5399
|
fileSize: number;
|
|
5428
5400
|
fileUrl: string | null;
|
|
5401
|
+
status?: string | undefined;
|
|
5429
5402
|
} | null | undefined;
|
|
5430
5403
|
extension?: {
|
|
5431
5404
|
id: string;
|
|
@@ -5440,9 +5413,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5440
5413
|
extensionName: string;
|
|
5441
5414
|
telephonySignature: string | null;
|
|
5442
5415
|
user?: {
|
|
5443
|
-
name: string;
|
|
5444
5416
|
id: string;
|
|
5445
5417
|
address: string | null;
|
|
5418
|
+
name: string;
|
|
5446
5419
|
email: string;
|
|
5447
5420
|
createdAt: Date;
|
|
5448
5421
|
updatedAt: Date;
|
|
@@ -5510,9 +5483,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5510
5483
|
callTo?: {
|
|
5511
5484
|
id: string;
|
|
5512
5485
|
user: {
|
|
5513
|
-
name: string;
|
|
5514
5486
|
id: string;
|
|
5515
5487
|
address: string | null;
|
|
5488
|
+
name: string;
|
|
5516
5489
|
email: string;
|
|
5517
5490
|
createdAt: Date;
|
|
5518
5491
|
updatedAt: Date;
|
|
@@ -5536,9 +5509,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5536
5509
|
callFrom?: {
|
|
5537
5510
|
id: string;
|
|
5538
5511
|
user: {
|
|
5539
|
-
name: string;
|
|
5540
5512
|
id: string;
|
|
5541
5513
|
address: string | null;
|
|
5514
|
+
name: string;
|
|
5542
5515
|
email: string;
|
|
5543
5516
|
createdAt: Date;
|
|
5544
5517
|
updatedAt: Date;
|
|
@@ -5564,10 +5537,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5564
5537
|
telephonyQueueId: string | null;
|
|
5565
5538
|
contactId: string | null;
|
|
5566
5539
|
contact?: {
|
|
5567
|
-
name: string;
|
|
5568
5540
|
id: string;
|
|
5569
5541
|
channel: string | null;
|
|
5570
5542
|
address: string | null;
|
|
5543
|
+
name: string;
|
|
5571
5544
|
createdAt: Date;
|
|
5572
5545
|
updatedAt: Date;
|
|
5573
5546
|
deletedAt: Date | null;
|
|
@@ -5596,7 +5569,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5596
5569
|
dateValue: Date | null;
|
|
5597
5570
|
uploads: {
|
|
5598
5571
|
id: string;
|
|
5599
|
-
status: string | null;
|
|
5600
5572
|
createdAt: Date;
|
|
5601
5573
|
updatedAt: Date;
|
|
5602
5574
|
deletedAt: Date | null;
|
|
@@ -5605,6 +5577,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5605
5577
|
bucketName: string;
|
|
5606
5578
|
fileSize: number;
|
|
5607
5579
|
fileUrl: string | null;
|
|
5580
|
+
status?: string | undefined;
|
|
5608
5581
|
}[];
|
|
5609
5582
|
}[];
|
|
5610
5583
|
company: {
|
|
@@ -5612,8 +5585,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5612
5585
|
createdAt: Date;
|
|
5613
5586
|
updatedAt: Date;
|
|
5614
5587
|
deletedAt: Date | null;
|
|
5615
|
-
name?: string | undefined;
|
|
5616
5588
|
address?: string | null | undefined;
|
|
5589
|
+
name?: string | undefined;
|
|
5617
5590
|
phone?: string | null | undefined;
|
|
5618
5591
|
industry?: string | null | undefined;
|
|
5619
5592
|
} | null;
|
|
@@ -5621,8 +5594,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5621
5594
|
contactProfile: string | null;
|
|
5622
5595
|
socialProfileUrl: string | null;
|
|
5623
5596
|
tags: {
|
|
5624
|
-
name: string;
|
|
5625
5597
|
id: string;
|
|
5598
|
+
name: string;
|
|
5626
5599
|
createdAt: Date;
|
|
5627
5600
|
updatedAt: Date;
|
|
5628
5601
|
deletedAt: Date | null;
|
|
@@ -5647,8 +5620,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5647
5620
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5648
5621
|
id: string;
|
|
5649
5622
|
metadata: {
|
|
5650
|
-
name: string;
|
|
5651
5623
|
id: string;
|
|
5624
|
+
name: string;
|
|
5652
5625
|
picture?: string | undefined;
|
|
5653
5626
|
additionalCredentials?: any;
|
|
5654
5627
|
};
|
|
@@ -5687,7 +5660,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5687
5660
|
} | null | undefined;
|
|
5688
5661
|
upload?: {
|
|
5689
5662
|
id: string;
|
|
5690
|
-
status: string | null;
|
|
5691
5663
|
createdAt: Date;
|
|
5692
5664
|
updatedAt: Date;
|
|
5693
5665
|
deletedAt: Date | null;
|
|
@@ -5696,6 +5668,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5696
5668
|
bucketName: string;
|
|
5697
5669
|
fileSize: number;
|
|
5698
5670
|
fileUrl: string | null;
|
|
5671
|
+
status?: string | undefined;
|
|
5699
5672
|
} | null | undefined;
|
|
5700
5673
|
extension?: {
|
|
5701
5674
|
id: string;
|
|
@@ -5710,9 +5683,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5710
5683
|
extensionName: string;
|
|
5711
5684
|
telephonySignature: string | null;
|
|
5712
5685
|
user?: {
|
|
5713
|
-
name: string;
|
|
5714
5686
|
id: string;
|
|
5715
5687
|
address: string | null;
|
|
5688
|
+
name: string;
|
|
5716
5689
|
email: string;
|
|
5717
5690
|
createdAt: Date;
|
|
5718
5691
|
updatedAt: Date;
|
|
@@ -5780,14 +5753,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5780
5753
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5781
5754
|
name: z.ZodString;
|
|
5782
5755
|
}, "strip", z.ZodTypeAny, {
|
|
5783
|
-
name: string;
|
|
5784
5756
|
id: string;
|
|
5757
|
+
name: string;
|
|
5785
5758
|
createdAt: Date;
|
|
5786
5759
|
updatedAt: Date;
|
|
5787
5760
|
deletedAt: Date | null;
|
|
5788
5761
|
}, {
|
|
5789
|
-
name: string;
|
|
5790
5762
|
id: string;
|
|
5763
|
+
name: string;
|
|
5791
5764
|
createdAt: Date;
|
|
5792
5765
|
updatedAt: Date;
|
|
5793
5766
|
deletedAt: Date | null;
|
|
@@ -5943,8 +5916,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5943
5916
|
createdAt: Date;
|
|
5944
5917
|
updatedAt: Date;
|
|
5945
5918
|
deletedAt: Date | null;
|
|
5946
|
-
name?: string | undefined;
|
|
5947
5919
|
address?: string | null | undefined;
|
|
5920
|
+
name?: string | undefined;
|
|
5948
5921
|
phone?: string | null | undefined;
|
|
5949
5922
|
industry?: string | null | undefined;
|
|
5950
5923
|
}, {
|
|
@@ -5952,8 +5925,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5952
5925
|
createdAt: Date;
|
|
5953
5926
|
updatedAt: Date;
|
|
5954
5927
|
deletedAt: Date | null;
|
|
5955
|
-
name?: string | undefined;
|
|
5956
5928
|
address?: string | null | undefined;
|
|
5929
|
+
name?: string | undefined;
|
|
5957
5930
|
phone?: string | null | undefined;
|
|
5958
5931
|
industry?: string | null | undefined;
|
|
5959
5932
|
}>>;
|
|
@@ -5971,13 +5944,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5971
5944
|
picture: z.ZodOptional<z.ZodString>;
|
|
5972
5945
|
additionalCredentials: z.ZodAny;
|
|
5973
5946
|
}, "strip", z.ZodTypeAny, {
|
|
5974
|
-
name: string;
|
|
5975
5947
|
id: string;
|
|
5948
|
+
name: string;
|
|
5976
5949
|
picture?: string | undefined;
|
|
5977
5950
|
additionalCredentials?: any;
|
|
5978
5951
|
}, {
|
|
5979
|
-
name: string;
|
|
5980
5952
|
id: string;
|
|
5953
|
+
name: string;
|
|
5981
5954
|
picture?: string | undefined;
|
|
5982
5955
|
additionalCredentials?: any;
|
|
5983
5956
|
}>;
|
|
@@ -5985,8 +5958,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5985
5958
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5986
5959
|
id: string;
|
|
5987
5960
|
metadata: {
|
|
5988
|
-
name: string;
|
|
5989
5961
|
id: string;
|
|
5962
|
+
name: string;
|
|
5990
5963
|
picture?: string | undefined;
|
|
5991
5964
|
additionalCredentials?: any;
|
|
5992
5965
|
};
|
|
@@ -5999,8 +5972,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5999
5972
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6000
5973
|
id: string;
|
|
6001
5974
|
metadata: {
|
|
6002
|
-
name: string;
|
|
6003
5975
|
id: string;
|
|
5976
|
+
name: string;
|
|
6004
5977
|
picture?: string | undefined;
|
|
6005
5978
|
additionalCredentials?: any;
|
|
6006
5979
|
};
|
|
@@ -6110,10 +6083,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6110
6083
|
fileSize: z.ZodNumber;
|
|
6111
6084
|
fileKey: z.ZodString;
|
|
6112
6085
|
fileUrl: z.ZodNullable<z.ZodString>;
|
|
6113
|
-
status: z.
|
|
6086
|
+
status: z.ZodOptional<z.ZodString>;
|
|
6114
6087
|
}, "strip", z.ZodTypeAny, {
|
|
6115
6088
|
id: string;
|
|
6116
|
-
status: string | null;
|
|
6117
6089
|
createdAt: Date;
|
|
6118
6090
|
updatedAt: Date;
|
|
6119
6091
|
deletedAt: Date | null;
|
|
@@ -6122,9 +6094,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6122
6094
|
bucketName: string;
|
|
6123
6095
|
fileSize: number;
|
|
6124
6096
|
fileUrl: string | null;
|
|
6097
|
+
status?: string | undefined;
|
|
6125
6098
|
}, {
|
|
6126
6099
|
id: string;
|
|
6127
|
-
status: string | null;
|
|
6128
6100
|
createdAt: Date;
|
|
6129
6101
|
updatedAt: Date;
|
|
6130
6102
|
deletedAt: Date | null;
|
|
@@ -6133,6 +6105,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6133
6105
|
bucketName: string;
|
|
6134
6106
|
fileSize: number;
|
|
6135
6107
|
fileUrl: string | null;
|
|
6108
|
+
status?: string | undefined;
|
|
6136
6109
|
}>, "many">;
|
|
6137
6110
|
}, "strip", z.ZodTypeAny, {
|
|
6138
6111
|
id: string;
|
|
@@ -6159,7 +6132,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6159
6132
|
dateValue: Date | null;
|
|
6160
6133
|
uploads: {
|
|
6161
6134
|
id: string;
|
|
6162
|
-
status: string | null;
|
|
6163
6135
|
createdAt: Date;
|
|
6164
6136
|
updatedAt: Date;
|
|
6165
6137
|
deletedAt: Date | null;
|
|
@@ -6168,6 +6140,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6168
6140
|
bucketName: string;
|
|
6169
6141
|
fileSize: number;
|
|
6170
6142
|
fileUrl: string | null;
|
|
6143
|
+
status?: string | undefined;
|
|
6171
6144
|
}[];
|
|
6172
6145
|
}, {
|
|
6173
6146
|
id: string;
|
|
@@ -6194,7 +6167,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6194
6167
|
dateValue: Date | null;
|
|
6195
6168
|
uploads: {
|
|
6196
6169
|
id: string;
|
|
6197
|
-
status: string | null;
|
|
6198
6170
|
createdAt: Date;
|
|
6199
6171
|
updatedAt: Date;
|
|
6200
6172
|
deletedAt: Date | null;
|
|
@@ -6203,6 +6175,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6203
6175
|
bucketName: string;
|
|
6204
6176
|
fileSize: number;
|
|
6205
6177
|
fileUrl: string | null;
|
|
6178
|
+
status?: string | undefined;
|
|
6206
6179
|
}[];
|
|
6207
6180
|
}>, "many">;
|
|
6208
6181
|
contactEmails: z.ZodArray<z.ZodObject<{
|
|
@@ -6310,10 +6283,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6310
6283
|
};
|
|
6311
6284
|
}>, "many">>;
|
|
6312
6285
|
}, "strip", z.ZodTypeAny, {
|
|
6313
|
-
name: string;
|
|
6314
6286
|
id: string;
|
|
6315
6287
|
channel: string | null;
|
|
6316
6288
|
address: string | null;
|
|
6289
|
+
name: string;
|
|
6317
6290
|
createdAt: Date;
|
|
6318
6291
|
updatedAt: Date;
|
|
6319
6292
|
deletedAt: Date | null;
|
|
@@ -6342,7 +6315,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6342
6315
|
dateValue: Date | null;
|
|
6343
6316
|
uploads: {
|
|
6344
6317
|
id: string;
|
|
6345
|
-
status: string | null;
|
|
6346
6318
|
createdAt: Date;
|
|
6347
6319
|
updatedAt: Date;
|
|
6348
6320
|
deletedAt: Date | null;
|
|
@@ -6351,6 +6323,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6351
6323
|
bucketName: string;
|
|
6352
6324
|
fileSize: number;
|
|
6353
6325
|
fileUrl: string | null;
|
|
6326
|
+
status?: string | undefined;
|
|
6354
6327
|
}[];
|
|
6355
6328
|
}[];
|
|
6356
6329
|
company: {
|
|
@@ -6358,8 +6331,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6358
6331
|
createdAt: Date;
|
|
6359
6332
|
updatedAt: Date;
|
|
6360
6333
|
deletedAt: Date | null;
|
|
6361
|
-
name?: string | undefined;
|
|
6362
6334
|
address?: string | null | undefined;
|
|
6335
|
+
name?: string | undefined;
|
|
6363
6336
|
phone?: string | null | undefined;
|
|
6364
6337
|
industry?: string | null | undefined;
|
|
6365
6338
|
} | null;
|
|
@@ -6367,8 +6340,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6367
6340
|
contactProfile: string | null;
|
|
6368
6341
|
socialProfileUrl: string | null;
|
|
6369
6342
|
tags: {
|
|
6370
|
-
name: string;
|
|
6371
6343
|
id: string;
|
|
6344
|
+
name: string;
|
|
6372
6345
|
createdAt: Date;
|
|
6373
6346
|
updatedAt: Date;
|
|
6374
6347
|
deletedAt: Date | null;
|
|
@@ -6393,8 +6366,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6393
6366
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6394
6367
|
id: string;
|
|
6395
6368
|
metadata: {
|
|
6396
|
-
name: string;
|
|
6397
6369
|
id: string;
|
|
6370
|
+
name: string;
|
|
6398
6371
|
picture?: string | undefined;
|
|
6399
6372
|
additionalCredentials?: any;
|
|
6400
6373
|
};
|
|
@@ -6421,10 +6394,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6421
6394
|
};
|
|
6422
6395
|
}[] | undefined;
|
|
6423
6396
|
}, {
|
|
6424
|
-
name: string;
|
|
6425
6397
|
id: string;
|
|
6426
6398
|
channel: string | null;
|
|
6427
6399
|
address: string | null;
|
|
6400
|
+
name: string;
|
|
6428
6401
|
createdAt: Date;
|
|
6429
6402
|
updatedAt: Date;
|
|
6430
6403
|
deletedAt: Date | null;
|
|
@@ -6453,7 +6426,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6453
6426
|
dateValue: Date | null;
|
|
6454
6427
|
uploads: {
|
|
6455
6428
|
id: string;
|
|
6456
|
-
status: string | null;
|
|
6457
6429
|
createdAt: Date;
|
|
6458
6430
|
updatedAt: Date;
|
|
6459
6431
|
deletedAt: Date | null;
|
|
@@ -6462,6 +6434,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6462
6434
|
bucketName: string;
|
|
6463
6435
|
fileSize: number;
|
|
6464
6436
|
fileUrl: string | null;
|
|
6437
|
+
status?: string | undefined;
|
|
6465
6438
|
}[];
|
|
6466
6439
|
}[];
|
|
6467
6440
|
company: {
|
|
@@ -6469,8 +6442,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6469
6442
|
createdAt: Date;
|
|
6470
6443
|
updatedAt: Date;
|
|
6471
6444
|
deletedAt: Date | null;
|
|
6472
|
-
name?: string | undefined;
|
|
6473
6445
|
address?: string | null | undefined;
|
|
6446
|
+
name?: string | undefined;
|
|
6474
6447
|
phone?: string | null | undefined;
|
|
6475
6448
|
industry?: string | null | undefined;
|
|
6476
6449
|
} | null;
|
|
@@ -6478,8 +6451,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6478
6451
|
contactProfile: string | null;
|
|
6479
6452
|
socialProfileUrl: string | null;
|
|
6480
6453
|
tags: {
|
|
6481
|
-
name: string;
|
|
6482
6454
|
id: string;
|
|
6455
|
+
name: string;
|
|
6483
6456
|
createdAt: Date;
|
|
6484
6457
|
updatedAt: Date;
|
|
6485
6458
|
deletedAt: Date | null;
|
|
@@ -6504,8 +6477,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6504
6477
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6505
6478
|
id: string;
|
|
6506
6479
|
metadata: {
|
|
6507
|
-
name: string;
|
|
6508
6480
|
id: string;
|
|
6481
|
+
name: string;
|
|
6509
6482
|
picture?: string | undefined;
|
|
6510
6483
|
additionalCredentials?: any;
|
|
6511
6484
|
};
|
|
@@ -6650,9 +6623,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6650
6623
|
telephonySignature: string | null;
|
|
6651
6624
|
}>;
|
|
6652
6625
|
}, "strip", z.ZodTypeAny, {
|
|
6653
|
-
name: string;
|
|
6654
6626
|
id: string;
|
|
6655
6627
|
address: string | null;
|
|
6628
|
+
name: string;
|
|
6656
6629
|
email: string;
|
|
6657
6630
|
createdAt: Date;
|
|
6658
6631
|
updatedAt: Date;
|
|
@@ -6693,9 +6666,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6693
6666
|
telephonySignature: string | null;
|
|
6694
6667
|
};
|
|
6695
6668
|
}, {
|
|
6696
|
-
name: string;
|
|
6697
6669
|
id: string;
|
|
6698
6670
|
address: string | null;
|
|
6671
|
+
name: string;
|
|
6699
6672
|
email: string;
|
|
6700
6673
|
createdAt: Date;
|
|
6701
6674
|
updatedAt: Date;
|
|
@@ -6854,9 +6827,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6854
6827
|
telephonySignature: string | null;
|
|
6855
6828
|
}>;
|
|
6856
6829
|
}, "strip", z.ZodTypeAny, {
|
|
6857
|
-
name: string;
|
|
6858
6830
|
id: string;
|
|
6859
6831
|
address: string | null;
|
|
6832
|
+
name: string;
|
|
6860
6833
|
email: string;
|
|
6861
6834
|
createdAt: Date;
|
|
6862
6835
|
updatedAt: Date;
|
|
@@ -6897,9 +6870,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6897
6870
|
telephonySignature: string | null;
|
|
6898
6871
|
};
|
|
6899
6872
|
}, {
|
|
6900
|
-
name: string;
|
|
6901
6873
|
id: string;
|
|
6902
6874
|
address: string | null;
|
|
6875
|
+
name: string;
|
|
6903
6876
|
email: string;
|
|
6904
6877
|
createdAt: Date;
|
|
6905
6878
|
updatedAt: Date;
|
|
@@ -7058,9 +7031,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7058
7031
|
telephonySignature: string | null;
|
|
7059
7032
|
}>;
|
|
7060
7033
|
}, "strip", z.ZodTypeAny, {
|
|
7061
|
-
name: string;
|
|
7062
7034
|
id: string;
|
|
7063
7035
|
address: string | null;
|
|
7036
|
+
name: string;
|
|
7064
7037
|
email: string;
|
|
7065
7038
|
createdAt: Date;
|
|
7066
7039
|
updatedAt: Date;
|
|
@@ -7101,9 +7074,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7101
7074
|
telephonySignature: string | null;
|
|
7102
7075
|
};
|
|
7103
7076
|
}, {
|
|
7104
|
-
name: string;
|
|
7105
7077
|
id: string;
|
|
7106
7078
|
address: string | null;
|
|
7079
|
+
name: string;
|
|
7107
7080
|
email: string;
|
|
7108
7081
|
createdAt: Date;
|
|
7109
7082
|
updatedAt: Date;
|
|
@@ -7145,34 +7118,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7145
7118
|
};
|
|
7146
7119
|
}>>;
|
|
7147
7120
|
contactLabel: z.ZodArray<z.ZodString, "many">;
|
|
7148
|
-
cxIntelligence: z.ZodObject<{
|
|
7149
|
-
id: z.ZodString;
|
|
7150
|
-
intelligenceType: z.ZodString;
|
|
7151
|
-
provider: z.ZodString;
|
|
7152
|
-
cxLogId: z.ZodString;
|
|
7153
|
-
transcript: z.ZodString;
|
|
7154
|
-
summary: z.ZodString;
|
|
7155
|
-
usage: z.ZodNumber;
|
|
7156
|
-
usageUnit: z.ZodString;
|
|
7157
|
-
}, "strip", z.ZodTypeAny, {
|
|
7158
|
-
id: string;
|
|
7159
|
-
summary: string;
|
|
7160
|
-
cxLogId: string;
|
|
7161
|
-
intelligenceType: string;
|
|
7162
|
-
provider: string;
|
|
7163
|
-
transcript: string;
|
|
7164
|
-
usage: number;
|
|
7165
|
-
usageUnit: string;
|
|
7166
|
-
}, {
|
|
7167
|
-
id: string;
|
|
7168
|
-
summary: string;
|
|
7169
|
-
cxLogId: string;
|
|
7170
|
-
intelligenceType: string;
|
|
7171
|
-
provider: string;
|
|
7172
|
-
transcript: string;
|
|
7173
|
-
usage: number;
|
|
7174
|
-
usageUnit: string;
|
|
7175
|
-
}>;
|
|
7176
7121
|
}, "strip", z.ZodTypeAny, {
|
|
7177
7122
|
id: string;
|
|
7178
7123
|
channel: string | null;
|
|
@@ -7182,10 +7127,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7182
7127
|
deletedAt: Date | null;
|
|
7183
7128
|
entityId: string;
|
|
7184
7129
|
contact: {
|
|
7185
|
-
name: string;
|
|
7186
7130
|
id: string;
|
|
7187
7131
|
channel: string | null;
|
|
7188
7132
|
address: string | null;
|
|
7133
|
+
name: string;
|
|
7189
7134
|
createdAt: Date;
|
|
7190
7135
|
updatedAt: Date;
|
|
7191
7136
|
deletedAt: Date | null;
|
|
@@ -7214,7 +7159,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7214
7159
|
dateValue: Date | null;
|
|
7215
7160
|
uploads: {
|
|
7216
7161
|
id: string;
|
|
7217
|
-
status: string | null;
|
|
7218
7162
|
createdAt: Date;
|
|
7219
7163
|
updatedAt: Date;
|
|
7220
7164
|
deletedAt: Date | null;
|
|
@@ -7223,6 +7167,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7223
7167
|
bucketName: string;
|
|
7224
7168
|
fileSize: number;
|
|
7225
7169
|
fileUrl: string | null;
|
|
7170
|
+
status?: string | undefined;
|
|
7226
7171
|
}[];
|
|
7227
7172
|
}[];
|
|
7228
7173
|
company: {
|
|
@@ -7230,8 +7175,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7230
7175
|
createdAt: Date;
|
|
7231
7176
|
updatedAt: Date;
|
|
7232
7177
|
deletedAt: Date | null;
|
|
7233
|
-
name?: string | undefined;
|
|
7234
7178
|
address?: string | null | undefined;
|
|
7179
|
+
name?: string | undefined;
|
|
7235
7180
|
phone?: string | null | undefined;
|
|
7236
7181
|
industry?: string | null | undefined;
|
|
7237
7182
|
} | null;
|
|
@@ -7239,8 +7184,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7239
7184
|
contactProfile: string | null;
|
|
7240
7185
|
socialProfileUrl: string | null;
|
|
7241
7186
|
tags: {
|
|
7242
|
-
name: string;
|
|
7243
7187
|
id: string;
|
|
7188
|
+
name: string;
|
|
7244
7189
|
createdAt: Date;
|
|
7245
7190
|
updatedAt: Date;
|
|
7246
7191
|
deletedAt: Date | null;
|
|
@@ -7265,8 +7210,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7265
7210
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7266
7211
|
id: string;
|
|
7267
7212
|
metadata: {
|
|
7268
|
-
name: string;
|
|
7269
7213
|
id: string;
|
|
7214
|
+
name: string;
|
|
7270
7215
|
picture?: string | undefined;
|
|
7271
7216
|
additionalCredentials?: any;
|
|
7272
7217
|
};
|
|
@@ -7332,8 +7277,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7332
7277
|
}[];
|
|
7333
7278
|
}[];
|
|
7334
7279
|
tags: {
|
|
7335
|
-
name: string;
|
|
7336
7280
|
id: string;
|
|
7281
|
+
name: string;
|
|
7337
7282
|
createdAt: Date;
|
|
7338
7283
|
updatedAt: Date;
|
|
7339
7284
|
deletedAt: Date | null;
|
|
@@ -7372,29 +7317,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7372
7317
|
room: {
|
|
7373
7318
|
id: string;
|
|
7374
7319
|
channel: {
|
|
7375
|
-
name: string;
|
|
7376
7320
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7377
7321
|
id: string;
|
|
7322
|
+
name: string;
|
|
7378
7323
|
metadata: {
|
|
7379
|
-
name: string;
|
|
7380
7324
|
id: string;
|
|
7325
|
+
name: string;
|
|
7381
7326
|
accessToken?: string | undefined;
|
|
7382
7327
|
channelSecret?: string | undefined;
|
|
7383
7328
|
additionalCredentials?: any;
|
|
7384
7329
|
senderId?: string | undefined;
|
|
7385
7330
|
whatsapp?: {
|
|
7386
|
-
|
|
7387
|
-
wabaExternalId
|
|
7388
|
-
phoneNumberId
|
|
7389
|
-
|
|
7390
|
-
clientId?: string |
|
|
7391
|
-
channelId?: string |
|
|
7392
|
-
|
|
7393
|
-
qr?: string | null | undefined;
|
|
7394
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
7331
|
+
email: string;
|
|
7332
|
+
wabaExternalId: string;
|
|
7333
|
+
phoneNumberId: string;
|
|
7334
|
+
wabaBusinessId?: string | undefined;
|
|
7335
|
+
clientId?: string | undefined;
|
|
7336
|
+
channelId?: string | undefined;
|
|
7337
|
+
status?: "active" | "pending" | undefined;
|
|
7395
7338
|
apiKey?: string | undefined;
|
|
7396
7339
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
7397
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
7398
7340
|
} | undefined;
|
|
7399
7341
|
vonageCredentials?: {
|
|
7400
7342
|
apiKey: string;
|
|
@@ -7410,9 +7352,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7410
7352
|
updatedAt: Date;
|
|
7411
7353
|
deletedAt: Date | null;
|
|
7412
7354
|
actor: {
|
|
7413
|
-
name: string;
|
|
7414
7355
|
id: string;
|
|
7415
7356
|
address: string | null;
|
|
7357
|
+
name: string;
|
|
7416
7358
|
email: string;
|
|
7417
7359
|
createdAt: Date;
|
|
7418
7360
|
updatedAt: Date;
|
|
@@ -7459,8 +7401,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7459
7401
|
connectedUserName: string;
|
|
7460
7402
|
connectedUserId: string;
|
|
7461
7403
|
botpressBot: {
|
|
7462
|
-
name: string;
|
|
7463
7404
|
id: string;
|
|
7405
|
+
name: string;
|
|
7464
7406
|
accessToken: string;
|
|
7465
7407
|
botId: string;
|
|
7466
7408
|
integrationId: string;
|
|
@@ -7471,9 +7413,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7471
7413
|
updatedAt: Date;
|
|
7472
7414
|
deletedAt: Date | null;
|
|
7473
7415
|
actor: {
|
|
7474
|
-
name: string;
|
|
7475
7416
|
id: string;
|
|
7476
7417
|
address: string | null;
|
|
7418
|
+
name: string;
|
|
7477
7419
|
email: string;
|
|
7478
7420
|
createdAt: Date;
|
|
7479
7421
|
updatedAt: Date;
|
|
@@ -7525,8 +7467,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7525
7467
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7526
7468
|
id: string;
|
|
7527
7469
|
metadata: {
|
|
7528
|
-
name: string;
|
|
7529
7470
|
id: string;
|
|
7471
|
+
name: string;
|
|
7530
7472
|
picture?: string | undefined;
|
|
7531
7473
|
additionalCredentials?: any;
|
|
7532
7474
|
};
|
|
@@ -7534,10 +7476,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7534
7476
|
updatedAt: Date;
|
|
7535
7477
|
deletedAt: Date | null;
|
|
7536
7478
|
contact: {
|
|
7537
|
-
name: string;
|
|
7538
7479
|
id: string;
|
|
7539
7480
|
channel: string | null;
|
|
7540
7481
|
address: string | null;
|
|
7482
|
+
name: string;
|
|
7541
7483
|
createdAt: Date;
|
|
7542
7484
|
updatedAt: Date;
|
|
7543
7485
|
deletedAt: Date | null;
|
|
@@ -7566,7 +7508,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7566
7508
|
dateValue: Date | null;
|
|
7567
7509
|
uploads: {
|
|
7568
7510
|
id: string;
|
|
7569
|
-
status: string | null;
|
|
7570
7511
|
createdAt: Date;
|
|
7571
7512
|
updatedAt: Date;
|
|
7572
7513
|
deletedAt: Date | null;
|
|
@@ -7575,6 +7516,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7575
7516
|
bucketName: string;
|
|
7576
7517
|
fileSize: number;
|
|
7577
7518
|
fileUrl: string | null;
|
|
7519
|
+
status?: string | undefined;
|
|
7578
7520
|
}[];
|
|
7579
7521
|
}[];
|
|
7580
7522
|
company: {
|
|
@@ -7582,8 +7524,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7582
7524
|
createdAt: Date;
|
|
7583
7525
|
updatedAt: Date;
|
|
7584
7526
|
deletedAt: Date | null;
|
|
7585
|
-
name?: string | undefined;
|
|
7586
7527
|
address?: string | null | undefined;
|
|
7528
|
+
name?: string | undefined;
|
|
7587
7529
|
phone?: string | null | undefined;
|
|
7588
7530
|
industry?: string | null | undefined;
|
|
7589
7531
|
} | null;
|
|
@@ -7591,8 +7533,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7591
7533
|
contactProfile: string | null;
|
|
7592
7534
|
socialProfileUrl: string | null;
|
|
7593
7535
|
tags: {
|
|
7594
|
-
name: string;
|
|
7595
7536
|
id: string;
|
|
7537
|
+
name: string;
|
|
7596
7538
|
createdAt: Date;
|
|
7597
7539
|
updatedAt: Date;
|
|
7598
7540
|
deletedAt: Date | null;
|
|
@@ -7617,8 +7559,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7617
7559
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7618
7560
|
id: string;
|
|
7619
7561
|
metadata: {
|
|
7620
|
-
name: string;
|
|
7621
7562
|
id: string;
|
|
7563
|
+
name: string;
|
|
7622
7564
|
picture?: string | undefined;
|
|
7623
7565
|
additionalCredentials?: any;
|
|
7624
7566
|
};
|
|
@@ -7649,9 +7591,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7649
7591
|
socialPlatformId: string;
|
|
7650
7592
|
};
|
|
7651
7593
|
assignee: {
|
|
7652
|
-
name: string;
|
|
7653
7594
|
id: string;
|
|
7654
7595
|
address: string | null;
|
|
7596
|
+
name: string;
|
|
7655
7597
|
email: string;
|
|
7656
7598
|
createdAt: Date;
|
|
7657
7599
|
updatedAt: Date;
|
|
@@ -7719,9 +7661,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7719
7661
|
callTo?: {
|
|
7720
7662
|
id: string;
|
|
7721
7663
|
user: {
|
|
7722
|
-
name: string;
|
|
7723
7664
|
id: string;
|
|
7724
7665
|
address: string | null;
|
|
7666
|
+
name: string;
|
|
7725
7667
|
email: string;
|
|
7726
7668
|
createdAt: Date;
|
|
7727
7669
|
updatedAt: Date;
|
|
@@ -7745,9 +7687,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7745
7687
|
callFrom?: {
|
|
7746
7688
|
id: string;
|
|
7747
7689
|
user: {
|
|
7748
|
-
name: string;
|
|
7749
7690
|
id: string;
|
|
7750
7691
|
address: string | null;
|
|
7692
|
+
name: string;
|
|
7751
7693
|
email: string;
|
|
7752
7694
|
createdAt: Date;
|
|
7753
7695
|
updatedAt: Date;
|
|
@@ -7773,10 +7715,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7773
7715
|
telephonyQueueId: string | null;
|
|
7774
7716
|
contactId: string | null;
|
|
7775
7717
|
contact?: {
|
|
7776
|
-
name: string;
|
|
7777
7718
|
id: string;
|
|
7778
7719
|
channel: string | null;
|
|
7779
7720
|
address: string | null;
|
|
7721
|
+
name: string;
|
|
7780
7722
|
createdAt: Date;
|
|
7781
7723
|
updatedAt: Date;
|
|
7782
7724
|
deletedAt: Date | null;
|
|
@@ -7805,7 +7747,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7805
7747
|
dateValue: Date | null;
|
|
7806
7748
|
uploads: {
|
|
7807
7749
|
id: string;
|
|
7808
|
-
status: string | null;
|
|
7809
7750
|
createdAt: Date;
|
|
7810
7751
|
updatedAt: Date;
|
|
7811
7752
|
deletedAt: Date | null;
|
|
@@ -7814,6 +7755,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7814
7755
|
bucketName: string;
|
|
7815
7756
|
fileSize: number;
|
|
7816
7757
|
fileUrl: string | null;
|
|
7758
|
+
status?: string | undefined;
|
|
7817
7759
|
}[];
|
|
7818
7760
|
}[];
|
|
7819
7761
|
company: {
|
|
@@ -7821,8 +7763,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7821
7763
|
createdAt: Date;
|
|
7822
7764
|
updatedAt: Date;
|
|
7823
7765
|
deletedAt: Date | null;
|
|
7824
|
-
name?: string | undefined;
|
|
7825
7766
|
address?: string | null | undefined;
|
|
7767
|
+
name?: string | undefined;
|
|
7826
7768
|
phone?: string | null | undefined;
|
|
7827
7769
|
industry?: string | null | undefined;
|
|
7828
7770
|
} | null;
|
|
@@ -7830,8 +7772,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7830
7772
|
contactProfile: string | null;
|
|
7831
7773
|
socialProfileUrl: string | null;
|
|
7832
7774
|
tags: {
|
|
7833
|
-
name: string;
|
|
7834
7775
|
id: string;
|
|
7776
|
+
name: string;
|
|
7835
7777
|
createdAt: Date;
|
|
7836
7778
|
updatedAt: Date;
|
|
7837
7779
|
deletedAt: Date | null;
|
|
@@ -7856,8 +7798,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7856
7798
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7857
7799
|
id: string;
|
|
7858
7800
|
metadata: {
|
|
7859
|
-
name: string;
|
|
7860
7801
|
id: string;
|
|
7802
|
+
name: string;
|
|
7861
7803
|
picture?: string | undefined;
|
|
7862
7804
|
additionalCredentials?: any;
|
|
7863
7805
|
};
|
|
@@ -7896,7 +7838,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7896
7838
|
} | null | undefined;
|
|
7897
7839
|
upload?: {
|
|
7898
7840
|
id: string;
|
|
7899
|
-
status: string | null;
|
|
7900
7841
|
createdAt: Date;
|
|
7901
7842
|
updatedAt: Date;
|
|
7902
7843
|
deletedAt: Date | null;
|
|
@@ -7905,6 +7846,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7905
7846
|
bucketName: string;
|
|
7906
7847
|
fileSize: number;
|
|
7907
7848
|
fileUrl: string | null;
|
|
7849
|
+
status?: string | undefined;
|
|
7908
7850
|
} | null | undefined;
|
|
7909
7851
|
extension?: {
|
|
7910
7852
|
id: string;
|
|
@@ -7919,9 +7861,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7919
7861
|
extensionName: string;
|
|
7920
7862
|
telephonySignature: string | null;
|
|
7921
7863
|
user?: {
|
|
7922
|
-
name: string;
|
|
7923
7864
|
id: string;
|
|
7924
7865
|
address: string | null;
|
|
7866
|
+
name: string;
|
|
7925
7867
|
email: string;
|
|
7926
7868
|
createdAt: Date;
|
|
7927
7869
|
updatedAt: Date;
|
|
@@ -7968,9 +7910,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7968
7910
|
queueName?: string | null | undefined;
|
|
7969
7911
|
} | null;
|
|
7970
7912
|
firstAssignee: {
|
|
7971
|
-
name: string;
|
|
7972
7913
|
id: string;
|
|
7973
7914
|
address: string | null;
|
|
7915
|
+
name: string;
|
|
7974
7916
|
email: string;
|
|
7975
7917
|
createdAt: Date;
|
|
7976
7918
|
updatedAt: Date;
|
|
@@ -8012,9 +7954,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8012
7954
|
};
|
|
8013
7955
|
} | null;
|
|
8014
7956
|
agent: {
|
|
8015
|
-
name: string;
|
|
8016
7957
|
id: string;
|
|
8017
7958
|
address: string | null;
|
|
7959
|
+
name: string;
|
|
8018
7960
|
email: string;
|
|
8019
7961
|
createdAt: Date;
|
|
8020
7962
|
updatedAt: Date;
|
|
@@ -8056,9 +7998,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8056
7998
|
};
|
|
8057
7999
|
} | null;
|
|
8058
8000
|
closedAssignee: {
|
|
8059
|
-
name: string;
|
|
8060
8001
|
id: string;
|
|
8061
8002
|
address: string | null;
|
|
8003
|
+
name: string;
|
|
8062
8004
|
email: string;
|
|
8063
8005
|
createdAt: Date;
|
|
8064
8006
|
updatedAt: Date;
|
|
@@ -8100,16 +8042,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8100
8042
|
};
|
|
8101
8043
|
} | null;
|
|
8102
8044
|
contactLabel: string[];
|
|
8103
|
-
cxIntelligence: {
|
|
8104
|
-
id: string;
|
|
8105
|
-
summary: string;
|
|
8106
|
-
cxLogId: string;
|
|
8107
|
-
intelligenceType: string;
|
|
8108
|
-
provider: string;
|
|
8109
|
-
transcript: string;
|
|
8110
|
-
usage: number;
|
|
8111
|
-
usageUnit: string;
|
|
8112
|
-
};
|
|
8113
8045
|
}, {
|
|
8114
8046
|
id: string;
|
|
8115
8047
|
channel: string | null;
|
|
@@ -8119,10 +8051,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8119
8051
|
deletedAt: Date | null;
|
|
8120
8052
|
entityId: string;
|
|
8121
8053
|
contact: {
|
|
8122
|
-
name: string;
|
|
8123
8054
|
id: string;
|
|
8124
8055
|
channel: string | null;
|
|
8125
8056
|
address: string | null;
|
|
8057
|
+
name: string;
|
|
8126
8058
|
createdAt: Date;
|
|
8127
8059
|
updatedAt: Date;
|
|
8128
8060
|
deletedAt: Date | null;
|
|
@@ -8151,7 +8083,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8151
8083
|
dateValue: Date | null;
|
|
8152
8084
|
uploads: {
|
|
8153
8085
|
id: string;
|
|
8154
|
-
status: string | null;
|
|
8155
8086
|
createdAt: Date;
|
|
8156
8087
|
updatedAt: Date;
|
|
8157
8088
|
deletedAt: Date | null;
|
|
@@ -8160,6 +8091,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8160
8091
|
bucketName: string;
|
|
8161
8092
|
fileSize: number;
|
|
8162
8093
|
fileUrl: string | null;
|
|
8094
|
+
status?: string | undefined;
|
|
8163
8095
|
}[];
|
|
8164
8096
|
}[];
|
|
8165
8097
|
company: {
|
|
@@ -8167,8 +8099,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8167
8099
|
createdAt: Date;
|
|
8168
8100
|
updatedAt: Date;
|
|
8169
8101
|
deletedAt: Date | null;
|
|
8170
|
-
name?: string | undefined;
|
|
8171
8102
|
address?: string | null | undefined;
|
|
8103
|
+
name?: string | undefined;
|
|
8172
8104
|
phone?: string | null | undefined;
|
|
8173
8105
|
industry?: string | null | undefined;
|
|
8174
8106
|
} | null;
|
|
@@ -8176,8 +8108,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8176
8108
|
contactProfile: string | null;
|
|
8177
8109
|
socialProfileUrl: string | null;
|
|
8178
8110
|
tags: {
|
|
8179
|
-
name: string;
|
|
8180
8111
|
id: string;
|
|
8112
|
+
name: string;
|
|
8181
8113
|
createdAt: Date;
|
|
8182
8114
|
updatedAt: Date;
|
|
8183
8115
|
deletedAt: Date | null;
|
|
@@ -8202,8 +8134,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8202
8134
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8203
8135
|
id: string;
|
|
8204
8136
|
metadata: {
|
|
8205
|
-
name: string;
|
|
8206
8137
|
id: string;
|
|
8138
|
+
name: string;
|
|
8207
8139
|
picture?: string | undefined;
|
|
8208
8140
|
additionalCredentials?: any;
|
|
8209
8141
|
};
|
|
@@ -8269,8 +8201,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8269
8201
|
}[];
|
|
8270
8202
|
}[];
|
|
8271
8203
|
tags: {
|
|
8272
|
-
name: string;
|
|
8273
8204
|
id: string;
|
|
8205
|
+
name: string;
|
|
8274
8206
|
createdAt: Date;
|
|
8275
8207
|
updatedAt: Date;
|
|
8276
8208
|
deletedAt: Date | null;
|
|
@@ -8309,29 +8241,26 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8309
8241
|
room: {
|
|
8310
8242
|
id: string;
|
|
8311
8243
|
channel: {
|
|
8312
|
-
name: string;
|
|
8313
8244
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8314
8245
|
id: string;
|
|
8246
|
+
name: string;
|
|
8315
8247
|
metadata: {
|
|
8316
|
-
name: string;
|
|
8317
8248
|
id: string;
|
|
8249
|
+
name: string;
|
|
8318
8250
|
accessToken?: string | undefined;
|
|
8319
8251
|
channelSecret?: string | undefined;
|
|
8320
8252
|
additionalCredentials?: any;
|
|
8321
8253
|
senderId?: string | undefined;
|
|
8322
8254
|
whatsapp?: {
|
|
8323
|
-
|
|
8324
|
-
wabaExternalId
|
|
8325
|
-
phoneNumberId
|
|
8326
|
-
|
|
8327
|
-
clientId?: string |
|
|
8328
|
-
channelId?: string |
|
|
8329
|
-
|
|
8330
|
-
qr?: string | null | undefined;
|
|
8331
|
-
status?: "active" | "pending" | "waapi-qr" | undefined;
|
|
8255
|
+
email: string;
|
|
8256
|
+
wabaExternalId: string;
|
|
8257
|
+
phoneNumberId: string;
|
|
8258
|
+
wabaBusinessId?: string | undefined;
|
|
8259
|
+
clientId?: string | undefined;
|
|
8260
|
+
channelId?: string | undefined;
|
|
8261
|
+
status?: "active" | "pending" | undefined;
|
|
8332
8262
|
apiKey?: string | undefined;
|
|
8333
8263
|
tier?: "basic" | "regular" | "premium" | undefined;
|
|
8334
|
-
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
|
8335
8264
|
} | undefined;
|
|
8336
8265
|
vonageCredentials?: {
|
|
8337
8266
|
apiKey: string;
|
|
@@ -8347,9 +8276,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8347
8276
|
updatedAt: Date;
|
|
8348
8277
|
deletedAt: Date | null;
|
|
8349
8278
|
actor: {
|
|
8350
|
-
name: string;
|
|
8351
8279
|
id: string;
|
|
8352
8280
|
address: string | null;
|
|
8281
|
+
name: string;
|
|
8353
8282
|
email: string;
|
|
8354
8283
|
createdAt: Date;
|
|
8355
8284
|
updatedAt: Date;
|
|
@@ -8396,8 +8325,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8396
8325
|
connectedUserName: string;
|
|
8397
8326
|
connectedUserId: string;
|
|
8398
8327
|
botpressBot: {
|
|
8399
|
-
name: string;
|
|
8400
8328
|
id: string;
|
|
8329
|
+
name: string;
|
|
8401
8330
|
accessToken: string;
|
|
8402
8331
|
botId: string;
|
|
8403
8332
|
integrationId: string;
|
|
@@ -8408,9 +8337,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8408
8337
|
updatedAt: Date;
|
|
8409
8338
|
deletedAt: Date | null;
|
|
8410
8339
|
actor: {
|
|
8411
|
-
name: string;
|
|
8412
8340
|
id: string;
|
|
8413
8341
|
address: string | null;
|
|
8342
|
+
name: string;
|
|
8414
8343
|
email: string;
|
|
8415
8344
|
createdAt: Date;
|
|
8416
8345
|
updatedAt: Date;
|
|
@@ -8462,8 +8391,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8462
8391
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8463
8392
|
id: string;
|
|
8464
8393
|
metadata: {
|
|
8465
|
-
name: string;
|
|
8466
8394
|
id: string;
|
|
8395
|
+
name: string;
|
|
8467
8396
|
picture?: string | undefined;
|
|
8468
8397
|
additionalCredentials?: any;
|
|
8469
8398
|
};
|
|
@@ -8471,10 +8400,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8471
8400
|
updatedAt: Date;
|
|
8472
8401
|
deletedAt: Date | null;
|
|
8473
8402
|
contact: {
|
|
8474
|
-
name: string;
|
|
8475
8403
|
id: string;
|
|
8476
8404
|
channel: string | null;
|
|
8477
8405
|
address: string | null;
|
|
8406
|
+
name: string;
|
|
8478
8407
|
createdAt: Date;
|
|
8479
8408
|
updatedAt: Date;
|
|
8480
8409
|
deletedAt: Date | null;
|
|
@@ -8503,7 +8432,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8503
8432
|
dateValue: Date | null;
|
|
8504
8433
|
uploads: {
|
|
8505
8434
|
id: string;
|
|
8506
|
-
status: string | null;
|
|
8507
8435
|
createdAt: Date;
|
|
8508
8436
|
updatedAt: Date;
|
|
8509
8437
|
deletedAt: Date | null;
|
|
@@ -8512,6 +8440,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8512
8440
|
bucketName: string;
|
|
8513
8441
|
fileSize: number;
|
|
8514
8442
|
fileUrl: string | null;
|
|
8443
|
+
status?: string | undefined;
|
|
8515
8444
|
}[];
|
|
8516
8445
|
}[];
|
|
8517
8446
|
company: {
|
|
@@ -8519,8 +8448,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8519
8448
|
createdAt: Date;
|
|
8520
8449
|
updatedAt: Date;
|
|
8521
8450
|
deletedAt: Date | null;
|
|
8522
|
-
name?: string | undefined;
|
|
8523
8451
|
address?: string | null | undefined;
|
|
8452
|
+
name?: string | undefined;
|
|
8524
8453
|
phone?: string | null | undefined;
|
|
8525
8454
|
industry?: string | null | undefined;
|
|
8526
8455
|
} | null;
|
|
@@ -8528,8 +8457,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8528
8457
|
contactProfile: string | null;
|
|
8529
8458
|
socialProfileUrl: string | null;
|
|
8530
8459
|
tags: {
|
|
8531
|
-
name: string;
|
|
8532
8460
|
id: string;
|
|
8461
|
+
name: string;
|
|
8533
8462
|
createdAt: Date;
|
|
8534
8463
|
updatedAt: Date;
|
|
8535
8464
|
deletedAt: Date | null;
|
|
@@ -8554,8 +8483,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8554
8483
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8555
8484
|
id: string;
|
|
8556
8485
|
metadata: {
|
|
8557
|
-
name: string;
|
|
8558
8486
|
id: string;
|
|
8487
|
+
name: string;
|
|
8559
8488
|
picture?: string | undefined;
|
|
8560
8489
|
additionalCredentials?: any;
|
|
8561
8490
|
};
|
|
@@ -8586,9 +8515,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8586
8515
|
socialPlatformId: string;
|
|
8587
8516
|
};
|
|
8588
8517
|
assignee: {
|
|
8589
|
-
name: string;
|
|
8590
8518
|
id: string;
|
|
8591
8519
|
address: string | null;
|
|
8520
|
+
name: string;
|
|
8592
8521
|
email: string;
|
|
8593
8522
|
createdAt: Date;
|
|
8594
8523
|
updatedAt: Date;
|
|
@@ -8656,9 +8585,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8656
8585
|
callTo?: {
|
|
8657
8586
|
id: string;
|
|
8658
8587
|
user: {
|
|
8659
|
-
name: string;
|
|
8660
8588
|
id: string;
|
|
8661
8589
|
address: string | null;
|
|
8590
|
+
name: string;
|
|
8662
8591
|
email: string;
|
|
8663
8592
|
createdAt: Date;
|
|
8664
8593
|
updatedAt: Date;
|
|
@@ -8682,9 +8611,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8682
8611
|
callFrom?: {
|
|
8683
8612
|
id: string;
|
|
8684
8613
|
user: {
|
|
8685
|
-
name: string;
|
|
8686
8614
|
id: string;
|
|
8687
8615
|
address: string | null;
|
|
8616
|
+
name: string;
|
|
8688
8617
|
email: string;
|
|
8689
8618
|
createdAt: Date;
|
|
8690
8619
|
updatedAt: Date;
|
|
@@ -8710,10 +8639,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8710
8639
|
telephonyQueueId: string | null;
|
|
8711
8640
|
contactId: string | null;
|
|
8712
8641
|
contact?: {
|
|
8713
|
-
name: string;
|
|
8714
8642
|
id: string;
|
|
8715
8643
|
channel: string | null;
|
|
8716
8644
|
address: string | null;
|
|
8645
|
+
name: string;
|
|
8717
8646
|
createdAt: Date;
|
|
8718
8647
|
updatedAt: Date;
|
|
8719
8648
|
deletedAt: Date | null;
|
|
@@ -8742,7 +8671,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8742
8671
|
dateValue: Date | null;
|
|
8743
8672
|
uploads: {
|
|
8744
8673
|
id: string;
|
|
8745
|
-
status: string | null;
|
|
8746
8674
|
createdAt: Date;
|
|
8747
8675
|
updatedAt: Date;
|
|
8748
8676
|
deletedAt: Date | null;
|
|
@@ -8751,6 +8679,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8751
8679
|
bucketName: string;
|
|
8752
8680
|
fileSize: number;
|
|
8753
8681
|
fileUrl: string | null;
|
|
8682
|
+
status?: string | undefined;
|
|
8754
8683
|
}[];
|
|
8755
8684
|
}[];
|
|
8756
8685
|
company: {
|
|
@@ -8758,8 +8687,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8758
8687
|
createdAt: Date;
|
|
8759
8688
|
updatedAt: Date;
|
|
8760
8689
|
deletedAt: Date | null;
|
|
8761
|
-
name?: string | undefined;
|
|
8762
8690
|
address?: string | null | undefined;
|
|
8691
|
+
name?: string | undefined;
|
|
8763
8692
|
phone?: string | null | undefined;
|
|
8764
8693
|
industry?: string | null | undefined;
|
|
8765
8694
|
} | null;
|
|
@@ -8767,8 +8696,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8767
8696
|
contactProfile: string | null;
|
|
8768
8697
|
socialProfileUrl: string | null;
|
|
8769
8698
|
tags: {
|
|
8770
|
-
name: string;
|
|
8771
8699
|
id: string;
|
|
8700
|
+
name: string;
|
|
8772
8701
|
createdAt: Date;
|
|
8773
8702
|
updatedAt: Date;
|
|
8774
8703
|
deletedAt: Date | null;
|
|
@@ -8793,8 +8722,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8793
8722
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8794
8723
|
id: string;
|
|
8795
8724
|
metadata: {
|
|
8796
|
-
name: string;
|
|
8797
8725
|
id: string;
|
|
8726
|
+
name: string;
|
|
8798
8727
|
picture?: string | undefined;
|
|
8799
8728
|
additionalCredentials?: any;
|
|
8800
8729
|
};
|
|
@@ -8833,7 +8762,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8833
8762
|
} | null | undefined;
|
|
8834
8763
|
upload?: {
|
|
8835
8764
|
id: string;
|
|
8836
|
-
status: string | null;
|
|
8837
8765
|
createdAt: Date;
|
|
8838
8766
|
updatedAt: Date;
|
|
8839
8767
|
deletedAt: Date | null;
|
|
@@ -8842,6 +8770,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8842
8770
|
bucketName: string;
|
|
8843
8771
|
fileSize: number;
|
|
8844
8772
|
fileUrl: string | null;
|
|
8773
|
+
status?: string | undefined;
|
|
8845
8774
|
} | null | undefined;
|
|
8846
8775
|
extension?: {
|
|
8847
8776
|
id: string;
|
|
@@ -8856,9 +8785,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8856
8785
|
extensionName: string;
|
|
8857
8786
|
telephonySignature: string | null;
|
|
8858
8787
|
user?: {
|
|
8859
|
-
name: string;
|
|
8860
8788
|
id: string;
|
|
8861
8789
|
address: string | null;
|
|
8790
|
+
name: string;
|
|
8862
8791
|
email: string;
|
|
8863
8792
|
createdAt: Date;
|
|
8864
8793
|
updatedAt: Date;
|
|
@@ -8905,9 +8834,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8905
8834
|
queueName?: string | null | undefined;
|
|
8906
8835
|
} | null;
|
|
8907
8836
|
firstAssignee: {
|
|
8908
|
-
name: string;
|
|
8909
8837
|
id: string;
|
|
8910
8838
|
address: string | null;
|
|
8839
|
+
name: string;
|
|
8911
8840
|
email: string;
|
|
8912
8841
|
createdAt: Date;
|
|
8913
8842
|
updatedAt: Date;
|
|
@@ -8949,9 +8878,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8949
8878
|
};
|
|
8950
8879
|
} | null;
|
|
8951
8880
|
agent: {
|
|
8952
|
-
name: string;
|
|
8953
8881
|
id: string;
|
|
8954
8882
|
address: string | null;
|
|
8883
|
+
name: string;
|
|
8955
8884
|
email: string;
|
|
8956
8885
|
createdAt: Date;
|
|
8957
8886
|
updatedAt: Date;
|
|
@@ -8993,9 +8922,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8993
8922
|
};
|
|
8994
8923
|
} | null;
|
|
8995
8924
|
closedAssignee: {
|
|
8996
|
-
name: string;
|
|
8997
8925
|
id: string;
|
|
8998
8926
|
address: string | null;
|
|
8927
|
+
name: string;
|
|
8999
8928
|
email: string;
|
|
9000
8929
|
createdAt: Date;
|
|
9001
8930
|
updatedAt: Date;
|
|
@@ -9037,15 +8966,5 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
9037
8966
|
};
|
|
9038
8967
|
} | null;
|
|
9039
8968
|
contactLabel: string[];
|
|
9040
|
-
cxIntelligence: {
|
|
9041
|
-
id: string;
|
|
9042
|
-
summary: string;
|
|
9043
|
-
cxLogId: string;
|
|
9044
|
-
intelligenceType: string;
|
|
9045
|
-
provider: string;
|
|
9046
|
-
transcript: string;
|
|
9047
|
-
usage: number;
|
|
9048
|
-
usageUnit: string;
|
|
9049
|
-
};
|
|
9050
8969
|
}>;
|
|
9051
8970
|
//# sourceMappingURL=schema.d.ts.map
|