@kl1/contracts 1.2.40-uat → 1.2.41-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +4 -4
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
- package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
- package/dist/api-contracts/src/botpress/index.d.ts +28 -28
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
- package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/category/index.d.ts +12 -12
- package/dist/api-contracts/src/category/schema.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +467 -467
- package/dist/api-contracts/src/channel/schema.d.ts +16 -16
- package/dist/api-contracts/src/channel/validation.d.ts +20 -20
- package/dist/api-contracts/src/chat/index.d.ts +3922 -3922
- package/dist/api-contracts/src/chat/schema.d.ts +1152 -1128
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +745 -745
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +10147 -10079
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +316 -248
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +252 -204
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +708 -708
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
- package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +596 -596
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +608 -608
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +50 -50
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2463 -2463
- 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 +1474 -1474
- 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 +466 -466
- package/dist/api-contracts/src/messenger/index.d.ts +599 -599
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +84 -84
- package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
- package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
- package/dist/api-contracts/src/sms/index.d.ts +86 -86
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +190 -190
- package/dist/api-contracts/src/subscription/schema.d.ts +222 -222
- 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 +556 -556
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +568 -568
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +562 -562
- 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 +562 -562
- 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 +232 -232
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -2380,8 +2380,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2380
2380
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2381
2381
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2382
2382
|
}, "strip", z.ZodTypeAny, {
|
|
2383
|
-
name: string;
|
|
2384
2383
|
id: string;
|
|
2384
|
+
name: string;
|
|
2385
2385
|
accessToken?: string | undefined;
|
|
2386
2386
|
channelSecret?: string | undefined;
|
|
2387
2387
|
additionalCredentials?: any;
|
|
@@ -2406,8 +2406,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2406
2406
|
lineRichMenuId?: string | null | undefined;
|
|
2407
2407
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2408
2408
|
}, {
|
|
2409
|
-
name: string;
|
|
2410
2409
|
id: string;
|
|
2410
|
+
name: string;
|
|
2411
2411
|
accessToken?: string | undefined;
|
|
2412
2412
|
channelSecret?: string | undefined;
|
|
2413
2413
|
additionalCredentials?: any;
|
|
@@ -2445,14 +2445,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2445
2445
|
integrationId: z.ZodString;
|
|
2446
2446
|
accessToken: z.ZodString;
|
|
2447
2447
|
}, "strip", z.ZodTypeAny, {
|
|
2448
|
-
name: string;
|
|
2449
2448
|
id: string;
|
|
2449
|
+
name: string;
|
|
2450
2450
|
accessToken: string;
|
|
2451
2451
|
botId: string;
|
|
2452
2452
|
integrationId: string;
|
|
2453
2453
|
}, {
|
|
2454
|
-
name: string;
|
|
2455
2454
|
id: string;
|
|
2455
|
+
name: string;
|
|
2456
2456
|
accessToken: string;
|
|
2457
2457
|
botId: string;
|
|
2458
2458
|
integrationId: string;
|
|
@@ -2575,9 +2575,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2575
2575
|
telephonySignature: string | null;
|
|
2576
2576
|
}>;
|
|
2577
2577
|
}, "strip", z.ZodTypeAny, {
|
|
2578
|
-
name: string;
|
|
2579
2578
|
id: string;
|
|
2580
2579
|
address: string | null;
|
|
2580
|
+
name: string;
|
|
2581
2581
|
email: string;
|
|
2582
2582
|
createdAt: Date;
|
|
2583
2583
|
updatedAt: Date;
|
|
@@ -2618,9 +2618,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2618
2618
|
telephonySignature: string | null;
|
|
2619
2619
|
};
|
|
2620
2620
|
}, {
|
|
2621
|
-
name: string;
|
|
2622
2621
|
id: string;
|
|
2623
2622
|
address: string | null;
|
|
2623
|
+
name: string;
|
|
2624
2624
|
email: string;
|
|
2625
2625
|
createdAt: Date;
|
|
2626
2626
|
updatedAt: Date;
|
|
@@ -2662,12 +2662,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2662
2662
|
};
|
|
2663
2663
|
}>;
|
|
2664
2664
|
}, "strip", z.ZodTypeAny, {
|
|
2665
|
-
name: string;
|
|
2666
2665
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2667
2666
|
id: string;
|
|
2667
|
+
name: string;
|
|
2668
2668
|
metadata: {
|
|
2669
|
-
name: string;
|
|
2670
2669
|
id: string;
|
|
2670
|
+
name: string;
|
|
2671
2671
|
accessToken?: string | undefined;
|
|
2672
2672
|
channelSecret?: string | undefined;
|
|
2673
2673
|
additionalCredentials?: any;
|
|
@@ -2697,9 +2697,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2697
2697
|
updatedAt: Date;
|
|
2698
2698
|
deletedAt: Date | null;
|
|
2699
2699
|
actor: {
|
|
2700
|
-
name: string;
|
|
2701
2700
|
id: string;
|
|
2702
2701
|
address: string | null;
|
|
2702
|
+
name: string;
|
|
2703
2703
|
email: string;
|
|
2704
2704
|
createdAt: Date;
|
|
2705
2705
|
updatedAt: Date;
|
|
@@ -2746,19 +2746,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2746
2746
|
connectedUserName: string;
|
|
2747
2747
|
connectedUserId: string;
|
|
2748
2748
|
botpressBot: {
|
|
2749
|
-
name: string;
|
|
2750
2749
|
id: string;
|
|
2750
|
+
name: string;
|
|
2751
2751
|
accessToken: string;
|
|
2752
2752
|
botId: string;
|
|
2753
2753
|
integrationId: string;
|
|
2754
2754
|
} | null;
|
|
2755
2755
|
}, {
|
|
2756
|
-
name: string;
|
|
2757
2756
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2758
2757
|
id: string;
|
|
2758
|
+
name: string;
|
|
2759
2759
|
metadata: {
|
|
2760
|
-
name: string;
|
|
2761
2760
|
id: string;
|
|
2761
|
+
name: string;
|
|
2762
2762
|
accessToken?: string | undefined;
|
|
2763
2763
|
channelSecret?: string | undefined;
|
|
2764
2764
|
additionalCredentials?: any;
|
|
@@ -2788,9 +2788,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2788
2788
|
updatedAt: Date;
|
|
2789
2789
|
deletedAt: Date | null;
|
|
2790
2790
|
actor: {
|
|
2791
|
-
name: string;
|
|
2792
2791
|
id: string;
|
|
2793
2792
|
address: string | null;
|
|
2793
|
+
name: string;
|
|
2794
2794
|
email: string;
|
|
2795
2795
|
createdAt: Date;
|
|
2796
2796
|
updatedAt: Date;
|
|
@@ -2837,8 +2837,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2837
2837
|
connectedUserName: string;
|
|
2838
2838
|
connectedUserId: string;
|
|
2839
2839
|
botpressBot: {
|
|
2840
|
-
name: string;
|
|
2841
2840
|
id: string;
|
|
2841
|
+
name: string;
|
|
2842
2842
|
accessToken: string;
|
|
2843
2843
|
botId: string;
|
|
2844
2844
|
integrationId: string;
|
|
@@ -2847,12 +2847,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2847
2847
|
}, "strip", z.ZodTypeAny, {
|
|
2848
2848
|
id: string;
|
|
2849
2849
|
channel: {
|
|
2850
|
-
name: string;
|
|
2851
2850
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2852
2851
|
id: string;
|
|
2852
|
+
name: string;
|
|
2853
2853
|
metadata: {
|
|
2854
|
-
name: string;
|
|
2855
2854
|
id: string;
|
|
2855
|
+
name: string;
|
|
2856
2856
|
accessToken?: string | undefined;
|
|
2857
2857
|
channelSecret?: string | undefined;
|
|
2858
2858
|
additionalCredentials?: any;
|
|
@@ -2882,9 +2882,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2882
2882
|
updatedAt: Date;
|
|
2883
2883
|
deletedAt: Date | null;
|
|
2884
2884
|
actor: {
|
|
2885
|
-
name: string;
|
|
2886
2885
|
id: string;
|
|
2887
2886
|
address: string | null;
|
|
2887
|
+
name: string;
|
|
2888
2888
|
email: string;
|
|
2889
2889
|
createdAt: Date;
|
|
2890
2890
|
updatedAt: Date;
|
|
@@ -2931,8 +2931,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2931
2931
|
connectedUserName: string;
|
|
2932
2932
|
connectedUserId: string;
|
|
2933
2933
|
botpressBot: {
|
|
2934
|
-
name: string;
|
|
2935
2934
|
id: string;
|
|
2935
|
+
name: string;
|
|
2936
2936
|
accessToken: string;
|
|
2937
2937
|
botId: string;
|
|
2938
2938
|
integrationId: string;
|
|
@@ -2943,9 +2943,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2943
2943
|
updatedAt: Date;
|
|
2944
2944
|
deletedAt: Date | null;
|
|
2945
2945
|
actor: {
|
|
2946
|
-
name: string;
|
|
2947
2946
|
id: string;
|
|
2948
2947
|
address: string | null;
|
|
2948
|
+
name: string;
|
|
2949
2949
|
email: string;
|
|
2950
2950
|
createdAt: Date;
|
|
2951
2951
|
updatedAt: Date;
|
|
@@ -2997,8 +2997,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2997
2997
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2998
2998
|
id: string;
|
|
2999
2999
|
metadata: {
|
|
3000
|
-
name: string;
|
|
3001
3000
|
id: string;
|
|
3001
|
+
name: string;
|
|
3002
3002
|
picture?: string | undefined;
|
|
3003
3003
|
additionalCredentials?: any;
|
|
3004
3004
|
};
|
|
@@ -3006,10 +3006,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3006
3006
|
updatedAt: Date;
|
|
3007
3007
|
deletedAt: Date | null;
|
|
3008
3008
|
contact: {
|
|
3009
|
-
name: string;
|
|
3010
3009
|
id: string;
|
|
3011
3010
|
channel: string | null;
|
|
3012
3011
|
address: string | null;
|
|
3012
|
+
name: string;
|
|
3013
3013
|
createdAt: Date;
|
|
3014
3014
|
updatedAt: Date;
|
|
3015
3015
|
deletedAt: Date | null;
|
|
@@ -3054,8 +3054,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3054
3054
|
createdAt: Date;
|
|
3055
3055
|
updatedAt: Date;
|
|
3056
3056
|
deletedAt: Date | null;
|
|
3057
|
-
name?: string | undefined;
|
|
3058
3057
|
address?: string | null | undefined;
|
|
3058
|
+
name?: string | undefined;
|
|
3059
3059
|
phone?: string | null | undefined;
|
|
3060
3060
|
industry?: string | null | undefined;
|
|
3061
3061
|
} | null;
|
|
@@ -3063,8 +3063,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3063
3063
|
contactProfile: string | null;
|
|
3064
3064
|
socialProfileUrl: string | null;
|
|
3065
3065
|
tags: {
|
|
3066
|
-
name: string;
|
|
3067
3066
|
id: string;
|
|
3067
|
+
name: string;
|
|
3068
3068
|
createdAt: Date;
|
|
3069
3069
|
updatedAt: Date;
|
|
3070
3070
|
deletedAt: Date | null;
|
|
@@ -3089,8 +3089,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3089
3089
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3090
3090
|
id: string;
|
|
3091
3091
|
metadata: {
|
|
3092
|
-
name: string;
|
|
3093
3092
|
id: string;
|
|
3093
|
+
name: string;
|
|
3094
3094
|
picture?: string | undefined;
|
|
3095
3095
|
additionalCredentials?: any;
|
|
3096
3096
|
};
|
|
@@ -3121,9 +3121,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3121
3121
|
socialPlatformId: string;
|
|
3122
3122
|
};
|
|
3123
3123
|
assignee: {
|
|
3124
|
-
name: string;
|
|
3125
3124
|
id: string;
|
|
3126
3125
|
address: string | null;
|
|
3126
|
+
name: string;
|
|
3127
3127
|
email: string;
|
|
3128
3128
|
createdAt: Date;
|
|
3129
3129
|
updatedAt: Date;
|
|
@@ -3167,12 +3167,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3167
3167
|
}, {
|
|
3168
3168
|
id: string;
|
|
3169
3169
|
channel: {
|
|
3170
|
-
name: string;
|
|
3171
3170
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3172
3171
|
id: string;
|
|
3172
|
+
name: string;
|
|
3173
3173
|
metadata: {
|
|
3174
|
-
name: string;
|
|
3175
3174
|
id: string;
|
|
3175
|
+
name: string;
|
|
3176
3176
|
accessToken?: string | undefined;
|
|
3177
3177
|
channelSecret?: string | undefined;
|
|
3178
3178
|
additionalCredentials?: any;
|
|
@@ -3202,9 +3202,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3202
3202
|
updatedAt: Date;
|
|
3203
3203
|
deletedAt: Date | null;
|
|
3204
3204
|
actor: {
|
|
3205
|
-
name: string;
|
|
3206
3205
|
id: string;
|
|
3207
3206
|
address: string | null;
|
|
3207
|
+
name: string;
|
|
3208
3208
|
email: string;
|
|
3209
3209
|
createdAt: Date;
|
|
3210
3210
|
updatedAt: Date;
|
|
@@ -3251,8 +3251,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3251
3251
|
connectedUserName: string;
|
|
3252
3252
|
connectedUserId: string;
|
|
3253
3253
|
botpressBot: {
|
|
3254
|
-
name: string;
|
|
3255
3254
|
id: string;
|
|
3255
|
+
name: string;
|
|
3256
3256
|
accessToken: string;
|
|
3257
3257
|
botId: string;
|
|
3258
3258
|
integrationId: string;
|
|
@@ -3263,9 +3263,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3263
3263
|
updatedAt: Date;
|
|
3264
3264
|
deletedAt: Date | null;
|
|
3265
3265
|
actor: {
|
|
3266
|
-
name: string;
|
|
3267
3266
|
id: string;
|
|
3268
3267
|
address: string | null;
|
|
3268
|
+
name: string;
|
|
3269
3269
|
email: string;
|
|
3270
3270
|
createdAt: Date;
|
|
3271
3271
|
updatedAt: Date;
|
|
@@ -3317,8 +3317,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3317
3317
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3318
3318
|
id: string;
|
|
3319
3319
|
metadata: {
|
|
3320
|
-
name: string;
|
|
3321
3320
|
id: string;
|
|
3321
|
+
name: string;
|
|
3322
3322
|
picture?: string | undefined;
|
|
3323
3323
|
additionalCredentials?: any;
|
|
3324
3324
|
};
|
|
@@ -3326,10 +3326,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3326
3326
|
updatedAt: Date;
|
|
3327
3327
|
deletedAt: Date | null;
|
|
3328
3328
|
contact: {
|
|
3329
|
-
name: string;
|
|
3330
3329
|
id: string;
|
|
3331
3330
|
channel: string | null;
|
|
3332
3331
|
address: string | null;
|
|
3332
|
+
name: string;
|
|
3333
3333
|
createdAt: Date;
|
|
3334
3334
|
updatedAt: Date;
|
|
3335
3335
|
deletedAt: Date | null;
|
|
@@ -3374,8 +3374,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3374
3374
|
createdAt: Date;
|
|
3375
3375
|
updatedAt: Date;
|
|
3376
3376
|
deletedAt: Date | null;
|
|
3377
|
-
name?: string | undefined;
|
|
3378
3377
|
address?: string | null | undefined;
|
|
3378
|
+
name?: string | undefined;
|
|
3379
3379
|
phone?: string | null | undefined;
|
|
3380
3380
|
industry?: string | null | undefined;
|
|
3381
3381
|
} | null;
|
|
@@ -3383,8 +3383,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3383
3383
|
contactProfile: string | null;
|
|
3384
3384
|
socialProfileUrl: string | null;
|
|
3385
3385
|
tags: {
|
|
3386
|
-
name: string;
|
|
3387
3386
|
id: string;
|
|
3387
|
+
name: string;
|
|
3388
3388
|
createdAt: Date;
|
|
3389
3389
|
updatedAt: Date;
|
|
3390
3390
|
deletedAt: Date | null;
|
|
@@ -3409,8 +3409,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3409
3409
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3410
3410
|
id: string;
|
|
3411
3411
|
metadata: {
|
|
3412
|
-
name: string;
|
|
3413
3412
|
id: string;
|
|
3413
|
+
name: string;
|
|
3414
3414
|
picture?: string | undefined;
|
|
3415
3415
|
additionalCredentials?: any;
|
|
3416
3416
|
};
|
|
@@ -3441,9 +3441,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3441
3441
|
socialPlatformId: string;
|
|
3442
3442
|
};
|
|
3443
3443
|
assignee: {
|
|
3444
|
-
name: string;
|
|
3445
3444
|
id: string;
|
|
3446
3445
|
address: string | null;
|
|
3446
|
+
name: string;
|
|
3447
3447
|
email: string;
|
|
3448
3448
|
createdAt: Date;
|
|
3449
3449
|
updatedAt: Date;
|
|
@@ -3516,14 +3516,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3516
3516
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3517
3517
|
name: z.ZodString;
|
|
3518
3518
|
}, "strip", z.ZodTypeAny, {
|
|
3519
|
-
name: string;
|
|
3520
3519
|
id: string;
|
|
3520
|
+
name: string;
|
|
3521
3521
|
createdAt: Date;
|
|
3522
3522
|
updatedAt: Date;
|
|
3523
3523
|
deletedAt: Date | null;
|
|
3524
3524
|
}, {
|
|
3525
|
-
name: string;
|
|
3526
3525
|
id: string;
|
|
3526
|
+
name: string;
|
|
3527
3527
|
createdAt: Date;
|
|
3528
3528
|
updatedAt: Date;
|
|
3529
3529
|
deletedAt: Date | null;
|
|
@@ -3679,8 +3679,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3679
3679
|
createdAt: Date;
|
|
3680
3680
|
updatedAt: Date;
|
|
3681
3681
|
deletedAt: Date | null;
|
|
3682
|
-
name?: string | undefined;
|
|
3683
3682
|
address?: string | null | undefined;
|
|
3683
|
+
name?: string | undefined;
|
|
3684
3684
|
phone?: string | null | undefined;
|
|
3685
3685
|
industry?: string | null | undefined;
|
|
3686
3686
|
}, {
|
|
@@ -3688,8 +3688,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3688
3688
|
createdAt: Date;
|
|
3689
3689
|
updatedAt: Date;
|
|
3690
3690
|
deletedAt: Date | null;
|
|
3691
|
-
name?: string | undefined;
|
|
3692
3691
|
address?: string | null | undefined;
|
|
3692
|
+
name?: string | undefined;
|
|
3693
3693
|
phone?: string | null | undefined;
|
|
3694
3694
|
industry?: string | null | undefined;
|
|
3695
3695
|
}>>;
|
|
@@ -3707,13 +3707,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3707
3707
|
picture: z.ZodOptional<z.ZodString>;
|
|
3708
3708
|
additionalCredentials: z.ZodAny;
|
|
3709
3709
|
}, "strip", z.ZodTypeAny, {
|
|
3710
|
-
name: string;
|
|
3711
3710
|
id: string;
|
|
3711
|
+
name: string;
|
|
3712
3712
|
picture?: string | undefined;
|
|
3713
3713
|
additionalCredentials?: any;
|
|
3714
3714
|
}, {
|
|
3715
|
-
name: string;
|
|
3716
3715
|
id: string;
|
|
3716
|
+
name: string;
|
|
3717
3717
|
picture?: string | undefined;
|
|
3718
3718
|
additionalCredentials?: any;
|
|
3719
3719
|
}>;
|
|
@@ -3721,8 +3721,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3721
3721
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3722
3722
|
id: string;
|
|
3723
3723
|
metadata: {
|
|
3724
|
-
name: string;
|
|
3725
3724
|
id: string;
|
|
3725
|
+
name: string;
|
|
3726
3726
|
picture?: string | undefined;
|
|
3727
3727
|
additionalCredentials?: any;
|
|
3728
3728
|
};
|
|
@@ -3735,8 +3735,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3735
3735
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3736
3736
|
id: string;
|
|
3737
3737
|
metadata: {
|
|
3738
|
-
name: string;
|
|
3739
3738
|
id: string;
|
|
3739
|
+
name: string;
|
|
3740
3740
|
picture?: string | undefined;
|
|
3741
3741
|
additionalCredentials?: any;
|
|
3742
3742
|
};
|
|
@@ -4046,10 +4046,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4046
4046
|
};
|
|
4047
4047
|
}>, "many">>;
|
|
4048
4048
|
}, "strip", z.ZodTypeAny, {
|
|
4049
|
-
name: string;
|
|
4050
4049
|
id: string;
|
|
4051
4050
|
channel: string | null;
|
|
4052
4051
|
address: string | null;
|
|
4052
|
+
name: string;
|
|
4053
4053
|
createdAt: Date;
|
|
4054
4054
|
updatedAt: Date;
|
|
4055
4055
|
deletedAt: Date | null;
|
|
@@ -4094,8 +4094,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4094
4094
|
createdAt: Date;
|
|
4095
4095
|
updatedAt: Date;
|
|
4096
4096
|
deletedAt: Date | null;
|
|
4097
|
-
name?: string | undefined;
|
|
4098
4097
|
address?: string | null | undefined;
|
|
4098
|
+
name?: string | undefined;
|
|
4099
4099
|
phone?: string | null | undefined;
|
|
4100
4100
|
industry?: string | null | undefined;
|
|
4101
4101
|
} | null;
|
|
@@ -4103,8 +4103,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4103
4103
|
contactProfile: string | null;
|
|
4104
4104
|
socialProfileUrl: string | null;
|
|
4105
4105
|
tags: {
|
|
4106
|
-
name: string;
|
|
4107
4106
|
id: string;
|
|
4107
|
+
name: string;
|
|
4108
4108
|
createdAt: Date;
|
|
4109
4109
|
updatedAt: Date;
|
|
4110
4110
|
deletedAt: Date | null;
|
|
@@ -4129,8 +4129,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4129
4129
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4130
4130
|
id: string;
|
|
4131
4131
|
metadata: {
|
|
4132
|
-
name: string;
|
|
4133
4132
|
id: string;
|
|
4133
|
+
name: string;
|
|
4134
4134
|
picture?: string | undefined;
|
|
4135
4135
|
additionalCredentials?: any;
|
|
4136
4136
|
};
|
|
@@ -4157,10 +4157,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4157
4157
|
};
|
|
4158
4158
|
}[] | undefined;
|
|
4159
4159
|
}, {
|
|
4160
|
-
name: string;
|
|
4161
4160
|
id: string;
|
|
4162
4161
|
channel: string | null;
|
|
4163
4162
|
address: string | null;
|
|
4163
|
+
name: string;
|
|
4164
4164
|
createdAt: Date;
|
|
4165
4165
|
updatedAt: Date;
|
|
4166
4166
|
deletedAt: Date | null;
|
|
@@ -4205,8 +4205,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4205
4205
|
createdAt: Date;
|
|
4206
4206
|
updatedAt: Date;
|
|
4207
4207
|
deletedAt: Date | null;
|
|
4208
|
-
name?: string | undefined;
|
|
4209
4208
|
address?: string | null | undefined;
|
|
4209
|
+
name?: string | undefined;
|
|
4210
4210
|
phone?: string | null | undefined;
|
|
4211
4211
|
industry?: string | null | undefined;
|
|
4212
4212
|
} | null;
|
|
@@ -4214,8 +4214,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4214
4214
|
contactProfile: string | null;
|
|
4215
4215
|
socialProfileUrl: string | null;
|
|
4216
4216
|
tags: {
|
|
4217
|
-
name: string;
|
|
4218
4217
|
id: string;
|
|
4218
|
+
name: string;
|
|
4219
4219
|
createdAt: Date;
|
|
4220
4220
|
updatedAt: Date;
|
|
4221
4221
|
deletedAt: Date | null;
|
|
@@ -4240,8 +4240,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4240
4240
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4241
4241
|
id: string;
|
|
4242
4242
|
metadata: {
|
|
4243
|
-
name: string;
|
|
4244
4243
|
id: string;
|
|
4244
|
+
name: string;
|
|
4245
4245
|
picture?: string | undefined;
|
|
4246
4246
|
additionalCredentials?: any;
|
|
4247
4247
|
};
|
|
@@ -4459,9 +4459,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4459
4459
|
telephonySignature: string | null;
|
|
4460
4460
|
}>;
|
|
4461
4461
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4462
|
-
name: string;
|
|
4463
4462
|
id: string;
|
|
4464
4463
|
address: string | null;
|
|
4464
|
+
name: string;
|
|
4465
4465
|
email: string;
|
|
4466
4466
|
createdAt: Date;
|
|
4467
4467
|
updatedAt: Date;
|
|
@@ -4471,9 +4471,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4471
4471
|
phone: string | null;
|
|
4472
4472
|
notificationCount: number | null;
|
|
4473
4473
|
}, {
|
|
4474
|
-
name: string;
|
|
4475
4474
|
id: string;
|
|
4476
4475
|
address: string | null;
|
|
4476
|
+
name: string;
|
|
4477
4477
|
email: string;
|
|
4478
4478
|
createdAt: Date;
|
|
4479
4479
|
updatedAt: Date;
|
|
@@ -4496,9 +4496,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4496
4496
|
}, "strip", z.ZodTypeAny, {
|
|
4497
4497
|
id: string;
|
|
4498
4498
|
user: {
|
|
4499
|
-
name: string;
|
|
4500
4499
|
id: string;
|
|
4501
4500
|
address: string | null;
|
|
4501
|
+
name: string;
|
|
4502
4502
|
email: string;
|
|
4503
4503
|
createdAt: Date;
|
|
4504
4504
|
updatedAt: Date;
|
|
@@ -4521,9 +4521,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4521
4521
|
}, {
|
|
4522
4522
|
id: string;
|
|
4523
4523
|
user: {
|
|
4524
|
-
name: string;
|
|
4525
4524
|
id: string;
|
|
4526
4525
|
address: string | null;
|
|
4526
|
+
name: string;
|
|
4527
4527
|
email: string;
|
|
4528
4528
|
createdAt: Date;
|
|
4529
4529
|
updatedAt: Date;
|
|
@@ -4664,9 +4664,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4664
4664
|
telephonySignature: string | null;
|
|
4665
4665
|
}>;
|
|
4666
4666
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4667
|
-
name: string;
|
|
4668
4667
|
id: string;
|
|
4669
4668
|
address: string | null;
|
|
4669
|
+
name: string;
|
|
4670
4670
|
email: string;
|
|
4671
4671
|
createdAt: Date;
|
|
4672
4672
|
updatedAt: Date;
|
|
@@ -4676,9 +4676,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4676
4676
|
phone: string | null;
|
|
4677
4677
|
notificationCount: number | null;
|
|
4678
4678
|
}, {
|
|
4679
|
-
name: string;
|
|
4680
4679
|
id: string;
|
|
4681
4680
|
address: string | null;
|
|
4681
|
+
name: string;
|
|
4682
4682
|
email: string;
|
|
4683
4683
|
createdAt: Date;
|
|
4684
4684
|
updatedAt: Date;
|
|
@@ -4701,9 +4701,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4701
4701
|
}, "strip", z.ZodTypeAny, {
|
|
4702
4702
|
id: string;
|
|
4703
4703
|
user: {
|
|
4704
|
-
name: string;
|
|
4705
4704
|
id: string;
|
|
4706
4705
|
address: string | null;
|
|
4706
|
+
name: string;
|
|
4707
4707
|
email: string;
|
|
4708
4708
|
createdAt: Date;
|
|
4709
4709
|
updatedAt: Date;
|
|
@@ -4726,9 +4726,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4726
4726
|
}, {
|
|
4727
4727
|
id: string;
|
|
4728
4728
|
user: {
|
|
4729
|
-
name: string;
|
|
4730
4729
|
id: string;
|
|
4731
4730
|
address: string | null;
|
|
4731
|
+
name: string;
|
|
4732
4732
|
email: string;
|
|
4733
4733
|
createdAt: Date;
|
|
4734
4734
|
updatedAt: Date;
|
|
@@ -4753,9 +4753,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4753
4753
|
callTo?: {
|
|
4754
4754
|
id: string;
|
|
4755
4755
|
user: {
|
|
4756
|
-
name: string;
|
|
4757
4756
|
id: string;
|
|
4758
4757
|
address: string | null;
|
|
4758
|
+
name: string;
|
|
4759
4759
|
email: string;
|
|
4760
4760
|
createdAt: Date;
|
|
4761
4761
|
updatedAt: Date;
|
|
@@ -4779,9 +4779,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4779
4779
|
callFrom?: {
|
|
4780
4780
|
id: string;
|
|
4781
4781
|
user: {
|
|
4782
|
-
name: string;
|
|
4783
4782
|
id: string;
|
|
4784
4783
|
address: string | null;
|
|
4784
|
+
name: string;
|
|
4785
4785
|
email: string;
|
|
4786
4786
|
createdAt: Date;
|
|
4787
4787
|
updatedAt: Date;
|
|
@@ -4806,9 +4806,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4806
4806
|
callTo?: {
|
|
4807
4807
|
id: string;
|
|
4808
4808
|
user: {
|
|
4809
|
-
name: string;
|
|
4810
4809
|
id: string;
|
|
4811
4810
|
address: string | null;
|
|
4811
|
+
name: string;
|
|
4812
4812
|
email: string;
|
|
4813
4813
|
createdAt: Date;
|
|
4814
4814
|
updatedAt: Date;
|
|
@@ -4832,9 +4832,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4832
4832
|
callFrom?: {
|
|
4833
4833
|
id: string;
|
|
4834
4834
|
user: {
|
|
4835
|
-
name: string;
|
|
4836
4835
|
id: string;
|
|
4837
4836
|
address: string | null;
|
|
4837
|
+
name: string;
|
|
4838
4838
|
email: string;
|
|
4839
4839
|
createdAt: Date;
|
|
4840
4840
|
updatedAt: Date;
|
|
@@ -4988,9 +4988,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4988
4988
|
telephonySignature: string | null;
|
|
4989
4989
|
}>;
|
|
4990
4990
|
}, "strip", z.ZodTypeAny, {
|
|
4991
|
-
name: string;
|
|
4992
4991
|
id: string;
|
|
4993
4992
|
address: string | null;
|
|
4993
|
+
name: string;
|
|
4994
4994
|
email: string;
|
|
4995
4995
|
createdAt: Date;
|
|
4996
4996
|
updatedAt: Date;
|
|
@@ -5031,9 +5031,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5031
5031
|
telephonySignature: string | null;
|
|
5032
5032
|
};
|
|
5033
5033
|
}, {
|
|
5034
|
-
name: string;
|
|
5035
5034
|
id: string;
|
|
5036
5035
|
address: string | null;
|
|
5036
|
+
name: string;
|
|
5037
5037
|
email: string;
|
|
5038
5038
|
createdAt: Date;
|
|
5039
5039
|
updatedAt: Date;
|
|
@@ -5087,9 +5087,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5087
5087
|
extensionName: string;
|
|
5088
5088
|
telephonySignature: string | null;
|
|
5089
5089
|
user?: {
|
|
5090
|
-
name: string;
|
|
5091
5090
|
id: string;
|
|
5092
5091
|
address: string | null;
|
|
5092
|
+
name: string;
|
|
5093
5093
|
email: string;
|
|
5094
5094
|
createdAt: Date;
|
|
5095
5095
|
updatedAt: Date;
|
|
@@ -5143,9 +5143,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5143
5143
|
extensionName: string;
|
|
5144
5144
|
telephonySignature: string | null;
|
|
5145
5145
|
user?: {
|
|
5146
|
-
name: string;
|
|
5147
5146
|
id: string;
|
|
5148
5147
|
address: string | null;
|
|
5148
|
+
name: string;
|
|
5149
5149
|
email: string;
|
|
5150
5150
|
createdAt: Date;
|
|
5151
5151
|
updatedAt: Date;
|
|
@@ -5215,9 +5215,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5215
5215
|
callTo?: {
|
|
5216
5216
|
id: string;
|
|
5217
5217
|
user: {
|
|
5218
|
-
name: string;
|
|
5219
5218
|
id: string;
|
|
5220
5219
|
address: string | null;
|
|
5220
|
+
name: string;
|
|
5221
5221
|
email: string;
|
|
5222
5222
|
createdAt: Date;
|
|
5223
5223
|
updatedAt: Date;
|
|
@@ -5241,9 +5241,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5241
5241
|
callFrom?: {
|
|
5242
5242
|
id: string;
|
|
5243
5243
|
user: {
|
|
5244
|
-
name: string;
|
|
5245
5244
|
id: string;
|
|
5246
5245
|
address: string | null;
|
|
5246
|
+
name: string;
|
|
5247
5247
|
email: string;
|
|
5248
5248
|
createdAt: Date;
|
|
5249
5249
|
updatedAt: Date;
|
|
@@ -5269,10 +5269,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5269
5269
|
telephonyQueueId: string | null;
|
|
5270
5270
|
contactId: string | null;
|
|
5271
5271
|
contact?: {
|
|
5272
|
-
name: string;
|
|
5273
5272
|
id: string;
|
|
5274
5273
|
channel: string | null;
|
|
5275
5274
|
address: string | null;
|
|
5275
|
+
name: string;
|
|
5276
5276
|
createdAt: Date;
|
|
5277
5277
|
updatedAt: Date;
|
|
5278
5278
|
deletedAt: Date | null;
|
|
@@ -5317,8 +5317,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5317
5317
|
createdAt: Date;
|
|
5318
5318
|
updatedAt: Date;
|
|
5319
5319
|
deletedAt: Date | null;
|
|
5320
|
-
name?: string | undefined;
|
|
5321
5320
|
address?: string | null | undefined;
|
|
5321
|
+
name?: string | undefined;
|
|
5322
5322
|
phone?: string | null | undefined;
|
|
5323
5323
|
industry?: string | null | undefined;
|
|
5324
5324
|
} | null;
|
|
@@ -5326,8 +5326,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5326
5326
|
contactProfile: string | null;
|
|
5327
5327
|
socialProfileUrl: string | null;
|
|
5328
5328
|
tags: {
|
|
5329
|
-
name: string;
|
|
5330
5329
|
id: string;
|
|
5330
|
+
name: string;
|
|
5331
5331
|
createdAt: Date;
|
|
5332
5332
|
updatedAt: Date;
|
|
5333
5333
|
deletedAt: Date | null;
|
|
@@ -5352,8 +5352,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5352
5352
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5353
5353
|
id: string;
|
|
5354
5354
|
metadata: {
|
|
5355
|
-
name: string;
|
|
5356
5355
|
id: string;
|
|
5356
|
+
name: string;
|
|
5357
5357
|
picture?: string | undefined;
|
|
5358
5358
|
additionalCredentials?: any;
|
|
5359
5359
|
};
|
|
@@ -5415,9 +5415,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5415
5415
|
extensionName: string;
|
|
5416
5416
|
telephonySignature: string | null;
|
|
5417
5417
|
user?: {
|
|
5418
|
-
name: string;
|
|
5419
5418
|
id: string;
|
|
5420
5419
|
address: string | null;
|
|
5420
|
+
name: string;
|
|
5421
5421
|
email: string;
|
|
5422
5422
|
createdAt: Date;
|
|
5423
5423
|
updatedAt: Date;
|
|
@@ -5485,9 +5485,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5485
5485
|
callTo?: {
|
|
5486
5486
|
id: string;
|
|
5487
5487
|
user: {
|
|
5488
|
-
name: string;
|
|
5489
5488
|
id: string;
|
|
5490
5489
|
address: string | null;
|
|
5490
|
+
name: string;
|
|
5491
5491
|
email: string;
|
|
5492
5492
|
createdAt: Date;
|
|
5493
5493
|
updatedAt: Date;
|
|
@@ -5511,9 +5511,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5511
5511
|
callFrom?: {
|
|
5512
5512
|
id: string;
|
|
5513
5513
|
user: {
|
|
5514
|
-
name: string;
|
|
5515
5514
|
id: string;
|
|
5516
5515
|
address: string | null;
|
|
5516
|
+
name: string;
|
|
5517
5517
|
email: string;
|
|
5518
5518
|
createdAt: Date;
|
|
5519
5519
|
updatedAt: Date;
|
|
@@ -5539,10 +5539,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5539
5539
|
telephonyQueueId: string | null;
|
|
5540
5540
|
contactId: string | null;
|
|
5541
5541
|
contact?: {
|
|
5542
|
-
name: string;
|
|
5543
5542
|
id: string;
|
|
5544
5543
|
channel: string | null;
|
|
5545
5544
|
address: string | null;
|
|
5545
|
+
name: string;
|
|
5546
5546
|
createdAt: Date;
|
|
5547
5547
|
updatedAt: Date;
|
|
5548
5548
|
deletedAt: Date | null;
|
|
@@ -5587,8 +5587,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5587
5587
|
createdAt: Date;
|
|
5588
5588
|
updatedAt: Date;
|
|
5589
5589
|
deletedAt: Date | null;
|
|
5590
|
-
name?: string | undefined;
|
|
5591
5590
|
address?: string | null | undefined;
|
|
5591
|
+
name?: string | undefined;
|
|
5592
5592
|
phone?: string | null | undefined;
|
|
5593
5593
|
industry?: string | null | undefined;
|
|
5594
5594
|
} | null;
|
|
@@ -5596,8 +5596,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5596
5596
|
contactProfile: string | null;
|
|
5597
5597
|
socialProfileUrl: string | null;
|
|
5598
5598
|
tags: {
|
|
5599
|
-
name: string;
|
|
5600
5599
|
id: string;
|
|
5600
|
+
name: string;
|
|
5601
5601
|
createdAt: Date;
|
|
5602
5602
|
updatedAt: Date;
|
|
5603
5603
|
deletedAt: Date | null;
|
|
@@ -5622,8 +5622,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5622
5622
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5623
5623
|
id: string;
|
|
5624
5624
|
metadata: {
|
|
5625
|
-
name: string;
|
|
5626
5625
|
id: string;
|
|
5626
|
+
name: string;
|
|
5627
5627
|
picture?: string | undefined;
|
|
5628
5628
|
additionalCredentials?: any;
|
|
5629
5629
|
};
|
|
@@ -5685,9 +5685,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5685
5685
|
extensionName: string;
|
|
5686
5686
|
telephonySignature: string | null;
|
|
5687
5687
|
user?: {
|
|
5688
|
-
name: string;
|
|
5689
5688
|
id: string;
|
|
5690
5689
|
address: string | null;
|
|
5690
|
+
name: string;
|
|
5691
5691
|
email: string;
|
|
5692
5692
|
createdAt: Date;
|
|
5693
5693
|
updatedAt: Date;
|
|
@@ -5755,14 +5755,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5755
5755
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5756
5756
|
name: z.ZodString;
|
|
5757
5757
|
}, "strip", z.ZodTypeAny, {
|
|
5758
|
-
name: string;
|
|
5759
5758
|
id: string;
|
|
5759
|
+
name: string;
|
|
5760
5760
|
createdAt: Date;
|
|
5761
5761
|
updatedAt: Date;
|
|
5762
5762
|
deletedAt: Date | null;
|
|
5763
5763
|
}, {
|
|
5764
|
-
name: string;
|
|
5765
5764
|
id: string;
|
|
5765
|
+
name: string;
|
|
5766
5766
|
createdAt: Date;
|
|
5767
5767
|
updatedAt: Date;
|
|
5768
5768
|
deletedAt: Date | null;
|
|
@@ -5918,8 +5918,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5918
5918
|
createdAt: Date;
|
|
5919
5919
|
updatedAt: Date;
|
|
5920
5920
|
deletedAt: Date | null;
|
|
5921
|
-
name?: string | undefined;
|
|
5922
5921
|
address?: string | null | undefined;
|
|
5922
|
+
name?: string | undefined;
|
|
5923
5923
|
phone?: string | null | undefined;
|
|
5924
5924
|
industry?: string | null | undefined;
|
|
5925
5925
|
}, {
|
|
@@ -5927,8 +5927,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5927
5927
|
createdAt: Date;
|
|
5928
5928
|
updatedAt: Date;
|
|
5929
5929
|
deletedAt: Date | null;
|
|
5930
|
-
name?: string | undefined;
|
|
5931
5930
|
address?: string | null | undefined;
|
|
5931
|
+
name?: string | undefined;
|
|
5932
5932
|
phone?: string | null | undefined;
|
|
5933
5933
|
industry?: string | null | undefined;
|
|
5934
5934
|
}>>;
|
|
@@ -5946,13 +5946,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5946
5946
|
picture: z.ZodOptional<z.ZodString>;
|
|
5947
5947
|
additionalCredentials: z.ZodAny;
|
|
5948
5948
|
}, "strip", z.ZodTypeAny, {
|
|
5949
|
-
name: string;
|
|
5950
5949
|
id: string;
|
|
5950
|
+
name: string;
|
|
5951
5951
|
picture?: string | undefined;
|
|
5952
5952
|
additionalCredentials?: any;
|
|
5953
5953
|
}, {
|
|
5954
|
-
name: string;
|
|
5955
5954
|
id: string;
|
|
5955
|
+
name: string;
|
|
5956
5956
|
picture?: string | undefined;
|
|
5957
5957
|
additionalCredentials?: any;
|
|
5958
5958
|
}>;
|
|
@@ -5960,8 +5960,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5960
5960
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5961
5961
|
id: string;
|
|
5962
5962
|
metadata: {
|
|
5963
|
-
name: string;
|
|
5964
5963
|
id: string;
|
|
5964
|
+
name: string;
|
|
5965
5965
|
picture?: string | undefined;
|
|
5966
5966
|
additionalCredentials?: any;
|
|
5967
5967
|
};
|
|
@@ -5974,8 +5974,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5974
5974
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5975
5975
|
id: string;
|
|
5976
5976
|
metadata: {
|
|
5977
|
-
name: string;
|
|
5978
5977
|
id: string;
|
|
5978
|
+
name: string;
|
|
5979
5979
|
picture?: string | undefined;
|
|
5980
5980
|
additionalCredentials?: any;
|
|
5981
5981
|
};
|
|
@@ -6285,10 +6285,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6285
6285
|
};
|
|
6286
6286
|
}>, "many">>;
|
|
6287
6287
|
}, "strip", z.ZodTypeAny, {
|
|
6288
|
-
name: string;
|
|
6289
6288
|
id: string;
|
|
6290
6289
|
channel: string | null;
|
|
6291
6290
|
address: string | null;
|
|
6291
|
+
name: string;
|
|
6292
6292
|
createdAt: Date;
|
|
6293
6293
|
updatedAt: Date;
|
|
6294
6294
|
deletedAt: Date | null;
|
|
@@ -6333,8 +6333,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6333
6333
|
createdAt: Date;
|
|
6334
6334
|
updatedAt: Date;
|
|
6335
6335
|
deletedAt: Date | null;
|
|
6336
|
-
name?: string | undefined;
|
|
6337
6336
|
address?: string | null | undefined;
|
|
6337
|
+
name?: string | undefined;
|
|
6338
6338
|
phone?: string | null | undefined;
|
|
6339
6339
|
industry?: string | null | undefined;
|
|
6340
6340
|
} | null;
|
|
@@ -6342,8 +6342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6342
6342
|
contactProfile: string | null;
|
|
6343
6343
|
socialProfileUrl: string | null;
|
|
6344
6344
|
tags: {
|
|
6345
|
-
name: string;
|
|
6346
6345
|
id: string;
|
|
6346
|
+
name: string;
|
|
6347
6347
|
createdAt: Date;
|
|
6348
6348
|
updatedAt: Date;
|
|
6349
6349
|
deletedAt: Date | null;
|
|
@@ -6368,8 +6368,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6368
6368
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6369
6369
|
id: string;
|
|
6370
6370
|
metadata: {
|
|
6371
|
-
name: string;
|
|
6372
6371
|
id: string;
|
|
6372
|
+
name: string;
|
|
6373
6373
|
picture?: string | undefined;
|
|
6374
6374
|
additionalCredentials?: any;
|
|
6375
6375
|
};
|
|
@@ -6396,10 +6396,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6396
6396
|
};
|
|
6397
6397
|
}[] | undefined;
|
|
6398
6398
|
}, {
|
|
6399
|
-
name: string;
|
|
6400
6399
|
id: string;
|
|
6401
6400
|
channel: string | null;
|
|
6402
6401
|
address: string | null;
|
|
6402
|
+
name: string;
|
|
6403
6403
|
createdAt: Date;
|
|
6404
6404
|
updatedAt: Date;
|
|
6405
6405
|
deletedAt: Date | null;
|
|
@@ -6444,8 +6444,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6444
6444
|
createdAt: Date;
|
|
6445
6445
|
updatedAt: Date;
|
|
6446
6446
|
deletedAt: Date | null;
|
|
6447
|
-
name?: string | undefined;
|
|
6448
6447
|
address?: string | null | undefined;
|
|
6448
|
+
name?: string | undefined;
|
|
6449
6449
|
phone?: string | null | undefined;
|
|
6450
6450
|
industry?: string | null | undefined;
|
|
6451
6451
|
} | null;
|
|
@@ -6453,8 +6453,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6453
6453
|
contactProfile: string | null;
|
|
6454
6454
|
socialProfileUrl: string | null;
|
|
6455
6455
|
tags: {
|
|
6456
|
-
name: string;
|
|
6457
6456
|
id: string;
|
|
6457
|
+
name: string;
|
|
6458
6458
|
createdAt: Date;
|
|
6459
6459
|
updatedAt: Date;
|
|
6460
6460
|
deletedAt: Date | null;
|
|
@@ -6479,8 +6479,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6479
6479
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6480
6480
|
id: string;
|
|
6481
6481
|
metadata: {
|
|
6482
|
-
name: string;
|
|
6483
6482
|
id: string;
|
|
6483
|
+
name: string;
|
|
6484
6484
|
picture?: string | undefined;
|
|
6485
6485
|
additionalCredentials?: any;
|
|
6486
6486
|
};
|
|
@@ -6625,9 +6625,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6625
6625
|
telephonySignature: string | null;
|
|
6626
6626
|
}>;
|
|
6627
6627
|
}, "strip", z.ZodTypeAny, {
|
|
6628
|
-
name: string;
|
|
6629
6628
|
id: string;
|
|
6630
6629
|
address: string | null;
|
|
6630
|
+
name: string;
|
|
6631
6631
|
email: string;
|
|
6632
6632
|
createdAt: Date;
|
|
6633
6633
|
updatedAt: Date;
|
|
@@ -6668,9 +6668,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6668
6668
|
telephonySignature: string | null;
|
|
6669
6669
|
};
|
|
6670
6670
|
}, {
|
|
6671
|
-
name: string;
|
|
6672
6671
|
id: string;
|
|
6673
6672
|
address: string | null;
|
|
6673
|
+
name: string;
|
|
6674
6674
|
email: string;
|
|
6675
6675
|
createdAt: Date;
|
|
6676
6676
|
updatedAt: Date;
|
|
@@ -6829,9 +6829,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6829
6829
|
telephonySignature: string | null;
|
|
6830
6830
|
}>;
|
|
6831
6831
|
}, "strip", z.ZodTypeAny, {
|
|
6832
|
-
name: string;
|
|
6833
6832
|
id: string;
|
|
6834
6833
|
address: string | null;
|
|
6834
|
+
name: string;
|
|
6835
6835
|
email: string;
|
|
6836
6836
|
createdAt: Date;
|
|
6837
6837
|
updatedAt: Date;
|
|
@@ -6872,9 +6872,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6872
6872
|
telephonySignature: string | null;
|
|
6873
6873
|
};
|
|
6874
6874
|
}, {
|
|
6875
|
-
name: string;
|
|
6876
6875
|
id: string;
|
|
6877
6876
|
address: string | null;
|
|
6877
|
+
name: string;
|
|
6878
6878
|
email: string;
|
|
6879
6879
|
createdAt: Date;
|
|
6880
6880
|
updatedAt: Date;
|
|
@@ -7033,9 +7033,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7033
7033
|
telephonySignature: string | null;
|
|
7034
7034
|
}>;
|
|
7035
7035
|
}, "strip", z.ZodTypeAny, {
|
|
7036
|
-
name: string;
|
|
7037
7036
|
id: string;
|
|
7038
7037
|
address: string | null;
|
|
7038
|
+
name: string;
|
|
7039
7039
|
email: string;
|
|
7040
7040
|
createdAt: Date;
|
|
7041
7041
|
updatedAt: Date;
|
|
@@ -7076,9 +7076,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7076
7076
|
telephonySignature: string | null;
|
|
7077
7077
|
};
|
|
7078
7078
|
}, {
|
|
7079
|
-
name: string;
|
|
7080
7079
|
id: string;
|
|
7081
7080
|
address: string | null;
|
|
7081
|
+
name: string;
|
|
7082
7082
|
email: string;
|
|
7083
7083
|
createdAt: Date;
|
|
7084
7084
|
updatedAt: Date;
|
|
@@ -7120,6 +7120,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7120
7120
|
};
|
|
7121
7121
|
}>>;
|
|
7122
7122
|
contactLabel: z.ZodArray<z.ZodString, "many">;
|
|
7123
|
+
cxIntelligence: z.ZodObject<{
|
|
7124
|
+
id: z.ZodString;
|
|
7125
|
+
intelligenceType: z.ZodString;
|
|
7126
|
+
provider: z.ZodString;
|
|
7127
|
+
cxLogId: z.ZodString;
|
|
7128
|
+
transcript: z.ZodString;
|
|
7129
|
+
summary: z.ZodString;
|
|
7130
|
+
usage: z.ZodNumber;
|
|
7131
|
+
usageUnit: z.ZodString;
|
|
7132
|
+
}, "strip", z.ZodTypeAny, {
|
|
7133
|
+
id: string;
|
|
7134
|
+
summary: string;
|
|
7135
|
+
cxLogId: string;
|
|
7136
|
+
intelligenceType: string;
|
|
7137
|
+
provider: string;
|
|
7138
|
+
transcript: string;
|
|
7139
|
+
usage: number;
|
|
7140
|
+
usageUnit: string;
|
|
7141
|
+
}, {
|
|
7142
|
+
id: string;
|
|
7143
|
+
summary: string;
|
|
7144
|
+
cxLogId: string;
|
|
7145
|
+
intelligenceType: string;
|
|
7146
|
+
provider: string;
|
|
7147
|
+
transcript: string;
|
|
7148
|
+
usage: number;
|
|
7149
|
+
usageUnit: string;
|
|
7150
|
+
}>;
|
|
7123
7151
|
}, "strip", z.ZodTypeAny, {
|
|
7124
7152
|
id: string;
|
|
7125
7153
|
channel: string | null;
|
|
@@ -7129,10 +7157,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7129
7157
|
deletedAt: Date | null;
|
|
7130
7158
|
entityId: string;
|
|
7131
7159
|
contact: {
|
|
7132
|
-
name: string;
|
|
7133
7160
|
id: string;
|
|
7134
7161
|
channel: string | null;
|
|
7135
7162
|
address: string | null;
|
|
7163
|
+
name: string;
|
|
7136
7164
|
createdAt: Date;
|
|
7137
7165
|
updatedAt: Date;
|
|
7138
7166
|
deletedAt: Date | null;
|
|
@@ -7177,8 +7205,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7177
7205
|
createdAt: Date;
|
|
7178
7206
|
updatedAt: Date;
|
|
7179
7207
|
deletedAt: Date | null;
|
|
7180
|
-
name?: string | undefined;
|
|
7181
7208
|
address?: string | null | undefined;
|
|
7209
|
+
name?: string | undefined;
|
|
7182
7210
|
phone?: string | null | undefined;
|
|
7183
7211
|
industry?: string | null | undefined;
|
|
7184
7212
|
} | null;
|
|
@@ -7186,8 +7214,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7186
7214
|
contactProfile: string | null;
|
|
7187
7215
|
socialProfileUrl: string | null;
|
|
7188
7216
|
tags: {
|
|
7189
|
-
name: string;
|
|
7190
7217
|
id: string;
|
|
7218
|
+
name: string;
|
|
7191
7219
|
createdAt: Date;
|
|
7192
7220
|
updatedAt: Date;
|
|
7193
7221
|
deletedAt: Date | null;
|
|
@@ -7212,8 +7240,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7212
7240
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7213
7241
|
id: string;
|
|
7214
7242
|
metadata: {
|
|
7215
|
-
name: string;
|
|
7216
7243
|
id: string;
|
|
7244
|
+
name: string;
|
|
7217
7245
|
picture?: string | undefined;
|
|
7218
7246
|
additionalCredentials?: any;
|
|
7219
7247
|
};
|
|
@@ -7279,8 +7307,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7279
7307
|
}[];
|
|
7280
7308
|
}[];
|
|
7281
7309
|
tags: {
|
|
7282
|
-
name: string;
|
|
7283
7310
|
id: string;
|
|
7311
|
+
name: string;
|
|
7284
7312
|
createdAt: Date;
|
|
7285
7313
|
updatedAt: Date;
|
|
7286
7314
|
deletedAt: Date | null;
|
|
@@ -7319,12 +7347,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7319
7347
|
room: {
|
|
7320
7348
|
id: string;
|
|
7321
7349
|
channel: {
|
|
7322
|
-
name: string;
|
|
7323
7350
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7324
7351
|
id: string;
|
|
7352
|
+
name: string;
|
|
7325
7353
|
metadata: {
|
|
7326
|
-
name: string;
|
|
7327
7354
|
id: string;
|
|
7355
|
+
name: string;
|
|
7328
7356
|
accessToken?: string | undefined;
|
|
7329
7357
|
channelSecret?: string | undefined;
|
|
7330
7358
|
additionalCredentials?: any;
|
|
@@ -7354,9 +7382,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7354
7382
|
updatedAt: Date;
|
|
7355
7383
|
deletedAt: Date | null;
|
|
7356
7384
|
actor: {
|
|
7357
|
-
name: string;
|
|
7358
7385
|
id: string;
|
|
7359
7386
|
address: string | null;
|
|
7387
|
+
name: string;
|
|
7360
7388
|
email: string;
|
|
7361
7389
|
createdAt: Date;
|
|
7362
7390
|
updatedAt: Date;
|
|
@@ -7403,8 +7431,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7403
7431
|
connectedUserName: string;
|
|
7404
7432
|
connectedUserId: string;
|
|
7405
7433
|
botpressBot: {
|
|
7406
|
-
name: string;
|
|
7407
7434
|
id: string;
|
|
7435
|
+
name: string;
|
|
7408
7436
|
accessToken: string;
|
|
7409
7437
|
botId: string;
|
|
7410
7438
|
integrationId: string;
|
|
@@ -7415,9 +7443,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7415
7443
|
updatedAt: Date;
|
|
7416
7444
|
deletedAt: Date | null;
|
|
7417
7445
|
actor: {
|
|
7418
|
-
name: string;
|
|
7419
7446
|
id: string;
|
|
7420
7447
|
address: string | null;
|
|
7448
|
+
name: string;
|
|
7421
7449
|
email: string;
|
|
7422
7450
|
createdAt: Date;
|
|
7423
7451
|
updatedAt: Date;
|
|
@@ -7469,8 +7497,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7469
7497
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7470
7498
|
id: string;
|
|
7471
7499
|
metadata: {
|
|
7472
|
-
name: string;
|
|
7473
7500
|
id: string;
|
|
7501
|
+
name: string;
|
|
7474
7502
|
picture?: string | undefined;
|
|
7475
7503
|
additionalCredentials?: any;
|
|
7476
7504
|
};
|
|
@@ -7478,10 +7506,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7478
7506
|
updatedAt: Date;
|
|
7479
7507
|
deletedAt: Date | null;
|
|
7480
7508
|
contact: {
|
|
7481
|
-
name: string;
|
|
7482
7509
|
id: string;
|
|
7483
7510
|
channel: string | null;
|
|
7484
7511
|
address: string | null;
|
|
7512
|
+
name: string;
|
|
7485
7513
|
createdAt: Date;
|
|
7486
7514
|
updatedAt: Date;
|
|
7487
7515
|
deletedAt: Date | null;
|
|
@@ -7526,8 +7554,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7526
7554
|
createdAt: Date;
|
|
7527
7555
|
updatedAt: Date;
|
|
7528
7556
|
deletedAt: Date | null;
|
|
7529
|
-
name?: string | undefined;
|
|
7530
7557
|
address?: string | null | undefined;
|
|
7558
|
+
name?: string | undefined;
|
|
7531
7559
|
phone?: string | null | undefined;
|
|
7532
7560
|
industry?: string | null | undefined;
|
|
7533
7561
|
} | null;
|
|
@@ -7535,8 +7563,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7535
7563
|
contactProfile: string | null;
|
|
7536
7564
|
socialProfileUrl: string | null;
|
|
7537
7565
|
tags: {
|
|
7538
|
-
name: string;
|
|
7539
7566
|
id: string;
|
|
7567
|
+
name: string;
|
|
7540
7568
|
createdAt: Date;
|
|
7541
7569
|
updatedAt: Date;
|
|
7542
7570
|
deletedAt: Date | null;
|
|
@@ -7561,8 +7589,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7561
7589
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7562
7590
|
id: string;
|
|
7563
7591
|
metadata: {
|
|
7564
|
-
name: string;
|
|
7565
7592
|
id: string;
|
|
7593
|
+
name: string;
|
|
7566
7594
|
picture?: string | undefined;
|
|
7567
7595
|
additionalCredentials?: any;
|
|
7568
7596
|
};
|
|
@@ -7593,9 +7621,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7593
7621
|
socialPlatformId: string;
|
|
7594
7622
|
};
|
|
7595
7623
|
assignee: {
|
|
7596
|
-
name: string;
|
|
7597
7624
|
id: string;
|
|
7598
7625
|
address: string | null;
|
|
7626
|
+
name: string;
|
|
7599
7627
|
email: string;
|
|
7600
7628
|
createdAt: Date;
|
|
7601
7629
|
updatedAt: Date;
|
|
@@ -7663,9 +7691,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7663
7691
|
callTo?: {
|
|
7664
7692
|
id: string;
|
|
7665
7693
|
user: {
|
|
7666
|
-
name: string;
|
|
7667
7694
|
id: string;
|
|
7668
7695
|
address: string | null;
|
|
7696
|
+
name: string;
|
|
7669
7697
|
email: string;
|
|
7670
7698
|
createdAt: Date;
|
|
7671
7699
|
updatedAt: Date;
|
|
@@ -7689,9 +7717,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7689
7717
|
callFrom?: {
|
|
7690
7718
|
id: string;
|
|
7691
7719
|
user: {
|
|
7692
|
-
name: string;
|
|
7693
7720
|
id: string;
|
|
7694
7721
|
address: string | null;
|
|
7722
|
+
name: string;
|
|
7695
7723
|
email: string;
|
|
7696
7724
|
createdAt: Date;
|
|
7697
7725
|
updatedAt: Date;
|
|
@@ -7717,10 +7745,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7717
7745
|
telephonyQueueId: string | null;
|
|
7718
7746
|
contactId: string | null;
|
|
7719
7747
|
contact?: {
|
|
7720
|
-
name: string;
|
|
7721
7748
|
id: string;
|
|
7722
7749
|
channel: string | null;
|
|
7723
7750
|
address: string | null;
|
|
7751
|
+
name: string;
|
|
7724
7752
|
createdAt: Date;
|
|
7725
7753
|
updatedAt: Date;
|
|
7726
7754
|
deletedAt: Date | null;
|
|
@@ -7765,8 +7793,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7765
7793
|
createdAt: Date;
|
|
7766
7794
|
updatedAt: Date;
|
|
7767
7795
|
deletedAt: Date | null;
|
|
7768
|
-
name?: string | undefined;
|
|
7769
7796
|
address?: string | null | undefined;
|
|
7797
|
+
name?: string | undefined;
|
|
7770
7798
|
phone?: string | null | undefined;
|
|
7771
7799
|
industry?: string | null | undefined;
|
|
7772
7800
|
} | null;
|
|
@@ -7774,8 +7802,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7774
7802
|
contactProfile: string | null;
|
|
7775
7803
|
socialProfileUrl: string | null;
|
|
7776
7804
|
tags: {
|
|
7777
|
-
name: string;
|
|
7778
7805
|
id: string;
|
|
7806
|
+
name: string;
|
|
7779
7807
|
createdAt: Date;
|
|
7780
7808
|
updatedAt: Date;
|
|
7781
7809
|
deletedAt: Date | null;
|
|
@@ -7800,8 +7828,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7800
7828
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7801
7829
|
id: string;
|
|
7802
7830
|
metadata: {
|
|
7803
|
-
name: string;
|
|
7804
7831
|
id: string;
|
|
7832
|
+
name: string;
|
|
7805
7833
|
picture?: string | undefined;
|
|
7806
7834
|
additionalCredentials?: any;
|
|
7807
7835
|
};
|
|
@@ -7863,9 +7891,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7863
7891
|
extensionName: string;
|
|
7864
7892
|
telephonySignature: string | null;
|
|
7865
7893
|
user?: {
|
|
7866
|
-
name: string;
|
|
7867
7894
|
id: string;
|
|
7868
7895
|
address: string | null;
|
|
7896
|
+
name: string;
|
|
7869
7897
|
email: string;
|
|
7870
7898
|
createdAt: Date;
|
|
7871
7899
|
updatedAt: Date;
|
|
@@ -7912,9 +7940,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7912
7940
|
queueName?: string | null | undefined;
|
|
7913
7941
|
} | null;
|
|
7914
7942
|
firstAssignee: {
|
|
7915
|
-
name: string;
|
|
7916
7943
|
id: string;
|
|
7917
7944
|
address: string | null;
|
|
7945
|
+
name: string;
|
|
7918
7946
|
email: string;
|
|
7919
7947
|
createdAt: Date;
|
|
7920
7948
|
updatedAt: Date;
|
|
@@ -7956,9 +7984,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7956
7984
|
};
|
|
7957
7985
|
} | null;
|
|
7958
7986
|
agent: {
|
|
7959
|
-
name: string;
|
|
7960
7987
|
id: string;
|
|
7961
7988
|
address: string | null;
|
|
7989
|
+
name: string;
|
|
7962
7990
|
email: string;
|
|
7963
7991
|
createdAt: Date;
|
|
7964
7992
|
updatedAt: Date;
|
|
@@ -8000,9 +8028,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8000
8028
|
};
|
|
8001
8029
|
} | null;
|
|
8002
8030
|
closedAssignee: {
|
|
8003
|
-
name: string;
|
|
8004
8031
|
id: string;
|
|
8005
8032
|
address: string | null;
|
|
8033
|
+
name: string;
|
|
8006
8034
|
email: string;
|
|
8007
8035
|
createdAt: Date;
|
|
8008
8036
|
updatedAt: Date;
|
|
@@ -8044,6 +8072,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8044
8072
|
};
|
|
8045
8073
|
} | null;
|
|
8046
8074
|
contactLabel: string[];
|
|
8075
|
+
cxIntelligence: {
|
|
8076
|
+
id: string;
|
|
8077
|
+
summary: string;
|
|
8078
|
+
cxLogId: string;
|
|
8079
|
+
intelligenceType: string;
|
|
8080
|
+
provider: string;
|
|
8081
|
+
transcript: string;
|
|
8082
|
+
usage: number;
|
|
8083
|
+
usageUnit: string;
|
|
8084
|
+
};
|
|
8047
8085
|
}, {
|
|
8048
8086
|
id: string;
|
|
8049
8087
|
channel: string | null;
|
|
@@ -8053,10 +8091,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8053
8091
|
deletedAt: Date | null;
|
|
8054
8092
|
entityId: string;
|
|
8055
8093
|
contact: {
|
|
8056
|
-
name: string;
|
|
8057
8094
|
id: string;
|
|
8058
8095
|
channel: string | null;
|
|
8059
8096
|
address: string | null;
|
|
8097
|
+
name: string;
|
|
8060
8098
|
createdAt: Date;
|
|
8061
8099
|
updatedAt: Date;
|
|
8062
8100
|
deletedAt: Date | null;
|
|
@@ -8101,8 +8139,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8101
8139
|
createdAt: Date;
|
|
8102
8140
|
updatedAt: Date;
|
|
8103
8141
|
deletedAt: Date | null;
|
|
8104
|
-
name?: string | undefined;
|
|
8105
8142
|
address?: string | null | undefined;
|
|
8143
|
+
name?: string | undefined;
|
|
8106
8144
|
phone?: string | null | undefined;
|
|
8107
8145
|
industry?: string | null | undefined;
|
|
8108
8146
|
} | null;
|
|
@@ -8110,8 +8148,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8110
8148
|
contactProfile: string | null;
|
|
8111
8149
|
socialProfileUrl: string | null;
|
|
8112
8150
|
tags: {
|
|
8113
|
-
name: string;
|
|
8114
8151
|
id: string;
|
|
8152
|
+
name: string;
|
|
8115
8153
|
createdAt: Date;
|
|
8116
8154
|
updatedAt: Date;
|
|
8117
8155
|
deletedAt: Date | null;
|
|
@@ -8136,8 +8174,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8136
8174
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8137
8175
|
id: string;
|
|
8138
8176
|
metadata: {
|
|
8139
|
-
name: string;
|
|
8140
8177
|
id: string;
|
|
8178
|
+
name: string;
|
|
8141
8179
|
picture?: string | undefined;
|
|
8142
8180
|
additionalCredentials?: any;
|
|
8143
8181
|
};
|
|
@@ -8203,8 +8241,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8203
8241
|
}[];
|
|
8204
8242
|
}[];
|
|
8205
8243
|
tags: {
|
|
8206
|
-
name: string;
|
|
8207
8244
|
id: string;
|
|
8245
|
+
name: string;
|
|
8208
8246
|
createdAt: Date;
|
|
8209
8247
|
updatedAt: Date;
|
|
8210
8248
|
deletedAt: Date | null;
|
|
@@ -8243,12 +8281,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8243
8281
|
room: {
|
|
8244
8282
|
id: string;
|
|
8245
8283
|
channel: {
|
|
8246
|
-
name: string;
|
|
8247
8284
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8248
8285
|
id: string;
|
|
8286
|
+
name: string;
|
|
8249
8287
|
metadata: {
|
|
8250
|
-
name: string;
|
|
8251
8288
|
id: string;
|
|
8289
|
+
name: string;
|
|
8252
8290
|
accessToken?: string | undefined;
|
|
8253
8291
|
channelSecret?: string | undefined;
|
|
8254
8292
|
additionalCredentials?: any;
|
|
@@ -8278,9 +8316,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8278
8316
|
updatedAt: Date;
|
|
8279
8317
|
deletedAt: Date | null;
|
|
8280
8318
|
actor: {
|
|
8281
|
-
name: string;
|
|
8282
8319
|
id: string;
|
|
8283
8320
|
address: string | null;
|
|
8321
|
+
name: string;
|
|
8284
8322
|
email: string;
|
|
8285
8323
|
createdAt: Date;
|
|
8286
8324
|
updatedAt: Date;
|
|
@@ -8327,8 +8365,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8327
8365
|
connectedUserName: string;
|
|
8328
8366
|
connectedUserId: string;
|
|
8329
8367
|
botpressBot: {
|
|
8330
|
-
name: string;
|
|
8331
8368
|
id: string;
|
|
8369
|
+
name: string;
|
|
8332
8370
|
accessToken: string;
|
|
8333
8371
|
botId: string;
|
|
8334
8372
|
integrationId: string;
|
|
@@ -8339,9 +8377,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8339
8377
|
updatedAt: Date;
|
|
8340
8378
|
deletedAt: Date | null;
|
|
8341
8379
|
actor: {
|
|
8342
|
-
name: string;
|
|
8343
8380
|
id: string;
|
|
8344
8381
|
address: string | null;
|
|
8382
|
+
name: string;
|
|
8345
8383
|
email: string;
|
|
8346
8384
|
createdAt: Date;
|
|
8347
8385
|
updatedAt: Date;
|
|
@@ -8393,8 +8431,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8393
8431
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8394
8432
|
id: string;
|
|
8395
8433
|
metadata: {
|
|
8396
|
-
name: string;
|
|
8397
8434
|
id: string;
|
|
8435
|
+
name: string;
|
|
8398
8436
|
picture?: string | undefined;
|
|
8399
8437
|
additionalCredentials?: any;
|
|
8400
8438
|
};
|
|
@@ -8402,10 +8440,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8402
8440
|
updatedAt: Date;
|
|
8403
8441
|
deletedAt: Date | null;
|
|
8404
8442
|
contact: {
|
|
8405
|
-
name: string;
|
|
8406
8443
|
id: string;
|
|
8407
8444
|
channel: string | null;
|
|
8408
8445
|
address: string | null;
|
|
8446
|
+
name: string;
|
|
8409
8447
|
createdAt: Date;
|
|
8410
8448
|
updatedAt: Date;
|
|
8411
8449
|
deletedAt: Date | null;
|
|
@@ -8450,8 +8488,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8450
8488
|
createdAt: Date;
|
|
8451
8489
|
updatedAt: Date;
|
|
8452
8490
|
deletedAt: Date | null;
|
|
8453
|
-
name?: string | undefined;
|
|
8454
8491
|
address?: string | null | undefined;
|
|
8492
|
+
name?: string | undefined;
|
|
8455
8493
|
phone?: string | null | undefined;
|
|
8456
8494
|
industry?: string | null | undefined;
|
|
8457
8495
|
} | null;
|
|
@@ -8459,8 +8497,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8459
8497
|
contactProfile: string | null;
|
|
8460
8498
|
socialProfileUrl: string | null;
|
|
8461
8499
|
tags: {
|
|
8462
|
-
name: string;
|
|
8463
8500
|
id: string;
|
|
8501
|
+
name: string;
|
|
8464
8502
|
createdAt: Date;
|
|
8465
8503
|
updatedAt: Date;
|
|
8466
8504
|
deletedAt: Date | null;
|
|
@@ -8485,8 +8523,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8485
8523
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8486
8524
|
id: string;
|
|
8487
8525
|
metadata: {
|
|
8488
|
-
name: string;
|
|
8489
8526
|
id: string;
|
|
8527
|
+
name: string;
|
|
8490
8528
|
picture?: string | undefined;
|
|
8491
8529
|
additionalCredentials?: any;
|
|
8492
8530
|
};
|
|
@@ -8517,9 +8555,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8517
8555
|
socialPlatformId: string;
|
|
8518
8556
|
};
|
|
8519
8557
|
assignee: {
|
|
8520
|
-
name: string;
|
|
8521
8558
|
id: string;
|
|
8522
8559
|
address: string | null;
|
|
8560
|
+
name: string;
|
|
8523
8561
|
email: string;
|
|
8524
8562
|
createdAt: Date;
|
|
8525
8563
|
updatedAt: Date;
|
|
@@ -8587,9 +8625,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8587
8625
|
callTo?: {
|
|
8588
8626
|
id: string;
|
|
8589
8627
|
user: {
|
|
8590
|
-
name: string;
|
|
8591
8628
|
id: string;
|
|
8592
8629
|
address: string | null;
|
|
8630
|
+
name: string;
|
|
8593
8631
|
email: string;
|
|
8594
8632
|
createdAt: Date;
|
|
8595
8633
|
updatedAt: Date;
|
|
@@ -8613,9 +8651,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8613
8651
|
callFrom?: {
|
|
8614
8652
|
id: string;
|
|
8615
8653
|
user: {
|
|
8616
|
-
name: string;
|
|
8617
8654
|
id: string;
|
|
8618
8655
|
address: string | null;
|
|
8656
|
+
name: string;
|
|
8619
8657
|
email: string;
|
|
8620
8658
|
createdAt: Date;
|
|
8621
8659
|
updatedAt: Date;
|
|
@@ -8641,10 +8679,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8641
8679
|
telephonyQueueId: string | null;
|
|
8642
8680
|
contactId: string | null;
|
|
8643
8681
|
contact?: {
|
|
8644
|
-
name: string;
|
|
8645
8682
|
id: string;
|
|
8646
8683
|
channel: string | null;
|
|
8647
8684
|
address: string | null;
|
|
8685
|
+
name: string;
|
|
8648
8686
|
createdAt: Date;
|
|
8649
8687
|
updatedAt: Date;
|
|
8650
8688
|
deletedAt: Date | null;
|
|
@@ -8689,8 +8727,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8689
8727
|
createdAt: Date;
|
|
8690
8728
|
updatedAt: Date;
|
|
8691
8729
|
deletedAt: Date | null;
|
|
8692
|
-
name?: string | undefined;
|
|
8693
8730
|
address?: string | null | undefined;
|
|
8731
|
+
name?: string | undefined;
|
|
8694
8732
|
phone?: string | null | undefined;
|
|
8695
8733
|
industry?: string | null | undefined;
|
|
8696
8734
|
} | null;
|
|
@@ -8698,8 +8736,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8698
8736
|
contactProfile: string | null;
|
|
8699
8737
|
socialProfileUrl: string | null;
|
|
8700
8738
|
tags: {
|
|
8701
|
-
name: string;
|
|
8702
8739
|
id: string;
|
|
8740
|
+
name: string;
|
|
8703
8741
|
createdAt: Date;
|
|
8704
8742
|
updatedAt: Date;
|
|
8705
8743
|
deletedAt: Date | null;
|
|
@@ -8724,8 +8762,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8724
8762
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8725
8763
|
id: string;
|
|
8726
8764
|
metadata: {
|
|
8727
|
-
name: string;
|
|
8728
8765
|
id: string;
|
|
8766
|
+
name: string;
|
|
8729
8767
|
picture?: string | undefined;
|
|
8730
8768
|
additionalCredentials?: any;
|
|
8731
8769
|
};
|
|
@@ -8787,9 +8825,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8787
8825
|
extensionName: string;
|
|
8788
8826
|
telephonySignature: string | null;
|
|
8789
8827
|
user?: {
|
|
8790
|
-
name: string;
|
|
8791
8828
|
id: string;
|
|
8792
8829
|
address: string | null;
|
|
8830
|
+
name: string;
|
|
8793
8831
|
email: string;
|
|
8794
8832
|
createdAt: Date;
|
|
8795
8833
|
updatedAt: Date;
|
|
@@ -8836,9 +8874,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8836
8874
|
queueName?: string | null | undefined;
|
|
8837
8875
|
} | null;
|
|
8838
8876
|
firstAssignee: {
|
|
8839
|
-
name: string;
|
|
8840
8877
|
id: string;
|
|
8841
8878
|
address: string | null;
|
|
8879
|
+
name: string;
|
|
8842
8880
|
email: string;
|
|
8843
8881
|
createdAt: Date;
|
|
8844
8882
|
updatedAt: Date;
|
|
@@ -8880,9 +8918,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8880
8918
|
};
|
|
8881
8919
|
} | null;
|
|
8882
8920
|
agent: {
|
|
8883
|
-
name: string;
|
|
8884
8921
|
id: string;
|
|
8885
8922
|
address: string | null;
|
|
8923
|
+
name: string;
|
|
8886
8924
|
email: string;
|
|
8887
8925
|
createdAt: Date;
|
|
8888
8926
|
updatedAt: Date;
|
|
@@ -8924,9 +8962,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8924
8962
|
};
|
|
8925
8963
|
} | null;
|
|
8926
8964
|
closedAssignee: {
|
|
8927
|
-
name: string;
|
|
8928
8965
|
id: string;
|
|
8929
8966
|
address: string | null;
|
|
8967
|
+
name: string;
|
|
8930
8968
|
email: string;
|
|
8931
8969
|
createdAt: Date;
|
|
8932
8970
|
updatedAt: Date;
|
|
@@ -8968,5 +9006,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8968
9006
|
};
|
|
8969
9007
|
} | null;
|
|
8970
9008
|
contactLabel: string[];
|
|
9009
|
+
cxIntelligence: {
|
|
9010
|
+
id: string;
|
|
9011
|
+
summary: string;
|
|
9012
|
+
cxLogId: string;
|
|
9013
|
+
intelligenceType: string;
|
|
9014
|
+
provider: string;
|
|
9015
|
+
transcript: string;
|
|
9016
|
+
usage: number;
|
|
9017
|
+
usageUnit: string;
|
|
9018
|
+
};
|
|
8971
9019
|
}>;
|
|
8972
9020
|
//# sourceMappingURL=schema.d.ts.map
|