@kl1/contracts 1.2.42-uat → 1.2.44-uat
Sign up to get free protection for your applications and to get access to all the features.
- 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 +1345 -850
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +64 -40
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +76 -48
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +5307 -4759
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1438 -1329
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +1189 -995
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +48611 -34999
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +300 -274
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +248 -226
- 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 +1287 -1019
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +103 -85
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +94 -80
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +34 -34
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -10
- package/dist/api-contracts/src/instagram/index.d.ts +1049 -839
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +1018 -832
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +99 -77
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2598 -2598
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +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 +10 -10
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +478 -478
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +466 -466
- package/dist/api-contracts/src/messenger/index.d.ts +1052 -842
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +90 -76
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +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 +3110 -197
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +184 -184
- package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/tag/schema.d.ts +2 -2
- package/dist/api-contracts/src/telegram/index.d.ts +889 -739
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +901 -751
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +895 -745
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +1115 -774
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +24 -24
- package/dist/api-contracts/src/widget/schema.d.ts +2 -2
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +8542 -278
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +1 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +160 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +160 -22
- 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
|
-
id: string;
|
38
37
|
name: string;
|
38
|
+
id: string;
|
39
39
|
createdAt: Date;
|
40
40
|
updatedAt: Date;
|
41
41
|
deletedAt: Date | null;
|
42
42
|
}, {
|
43
|
-
id: string;
|
44
43
|
name: string;
|
44
|
+
id: 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
|
-
id: string;
|
216
215
|
name: string;
|
216
|
+
id: 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
|
-
id: string;
|
267
266
|
name: string;
|
267
|
+
id: 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
|
-
id: string;
|
306
305
|
name: string;
|
306
|
+
id: 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
|
-
id: string;
|
314
313
|
name: string;
|
314
|
+
id: 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
|
-
id: string;
|
331
330
|
name: string;
|
331
|
+
id: 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
|
-
id: string;
|
348
347
|
name: string;
|
348
|
+
id: 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
|
-
id: string;
|
407
406
|
name: string;
|
407
|
+
id: 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
|
-
id: string;
|
438
437
|
name: string;
|
438
|
+
id: 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
|
-
id: string;
|
497
496
|
name: string;
|
497
|
+
id: 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
|
-
id: string;
|
528
527
|
name: string;
|
528
|
+
id: 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
|
-
id: string;
|
601
600
|
name: string;
|
601
|
+
id: string;
|
602
602
|
createdAt: Date;
|
603
603
|
updatedAt: Date;
|
604
604
|
deletedAt: Date | null;
|
605
605
|
}, {
|
606
|
-
id: string;
|
607
606
|
name: string;
|
607
|
+
id: 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
|
-
id: string;
|
779
778
|
name: string;
|
779
|
+
id: 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
|
-
id: string;
|
830
829
|
name: string;
|
830
|
+
id: 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
|
-
id: string;
|
879
878
|
name: string;
|
879
|
+
id: string;
|
880
880
|
picture?: string | undefined;
|
881
881
|
additionalCredentials?: any;
|
882
882
|
}, {
|
883
|
-
id: string;
|
884
883
|
name: string;
|
884
|
+
id: 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
|
-
id: string;
|
907
906
|
name: string;
|
907
|
+
id: string;
|
908
908
|
createdAt: Date;
|
909
909
|
updatedAt: Date;
|
910
910
|
deletedAt: Date | null;
|
911
911
|
}, {
|
912
|
-
id: string;
|
913
912
|
name: string;
|
913
|
+
id: 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
|
-
address?: string | null | undefined;
|
1070
1069
|
name?: string | undefined;
|
1070
|
+
address?: string | null | 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
|
-
address?: string | null | undefined;
|
1079
1078
|
name?: string | undefined;
|
1079
|
+
address?: string | null | 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
|
-
id: string;
|
1098
1097
|
name: string;
|
1098
|
+
id: string;
|
1099
1099
|
picture?: string | undefined;
|
1100
1100
|
additionalCredentials?: any;
|
1101
1101
|
}, {
|
1102
|
-
id: string;
|
1103
1102
|
name: string;
|
1103
|
+
id: 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
|
-
id: string;
|
1112
1111
|
name: string;
|
1112
|
+
id: 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
|
-
id: string;
|
1126
1125
|
name: string;
|
1126
|
+
id: 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;
|
1436
1437
|
id: string;
|
1437
1438
|
channel: string | null;
|
1438
1439
|
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
|
-
address?: string | null | undefined;
|
1485
1484
|
name?: string | undefined;
|
1485
|
+
address?: string | null | 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
|
-
id: string;
|
1494
1493
|
name: string;
|
1494
|
+
id: 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
|
-
id: string;
|
1520
1519
|
name: string;
|
1520
|
+
id: 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;
|
1547
1548
|
id: string;
|
1548
1549
|
channel: string | null;
|
1549
1550
|
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
|
-
address?: string | null | undefined;
|
1596
1595
|
name?: string | undefined;
|
1596
|
+
address?: string | null | 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
|
-
id: string;
|
1605
1604
|
name: string;
|
1605
|
+
id: 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
|
-
id: string;
|
1631
1630
|
name: string;
|
1631
|
+
id: 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
|
-
id: string;
|
1663
1662
|
name: string;
|
1663
|
+
id: 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;
|
1671
1672
|
id: string;
|
1672
1673
|
channel: string | null;
|
1673
1674
|
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
|
-
address?: string | null | undefined;
|
1720
1719
|
name?: string | undefined;
|
1720
|
+
address?: string | null | 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
|
-
id: string;
|
1729
1728
|
name: string;
|
1729
|
+
id: 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
|
-
id: string;
|
1755
1754
|
name: string;
|
1755
|
+
id: 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
|
-
id: string;
|
1789
1788
|
name: string;
|
1789
|
+
id: 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;
|
1797
1798
|
id: string;
|
1798
1799
|
channel: string | null;
|
1799
1800
|
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
|
-
address?: string | null | undefined;
|
1846
1845
|
name?: string | undefined;
|
1846
|
+
address?: string | null | 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
|
-
id: string;
|
1855
1854
|
name: string;
|
1855
|
+
id: 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
|
-
id: string;
|
1881
1880
|
name: string;
|
1881
|
+
id: 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;
|
2029
2030
|
id: string;
|
2030
2031
|
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;
|
2072
2073
|
id: string;
|
2073
2074
|
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;
|
2233
2234
|
id: string;
|
2234
2235
|
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;
|
2276
2277
|
id: string;
|
2277
2278
|
address: string | null;
|
2278
|
-
name: string;
|
2279
2279
|
email: string;
|
2280
2280
|
createdAt: Date;
|
2281
2281
|
updatedAt: Date;
|
@@ -2337,10 +2337,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2337
2337
|
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2338
2338
|
clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2339
2339
|
channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2340
|
-
|
2340
|
+
waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2341
|
+
qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2342
|
+
status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
|
2341
2343
|
apiKey: z.ZodOptional<z.ZodString>;
|
2342
2344
|
tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
|
2343
|
-
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
|
2345
|
+
integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
|
2344
2346
|
}, "strip", z.ZodTypeAny, {
|
2345
2347
|
wabaBusinessId?: string | null | undefined;
|
2346
2348
|
wabaExternalId?: string | null | undefined;
|
@@ -2348,10 +2350,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2348
2350
|
email?: string | null | undefined;
|
2349
2351
|
clientId?: string | null | undefined;
|
2350
2352
|
channelId?: string | null | undefined;
|
2351
|
-
|
2353
|
+
waapiInstanceId?: string | null | undefined;
|
2354
|
+
qr?: string | null | undefined;
|
2355
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2352
2356
|
apiKey?: string | undefined;
|
2353
2357
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2354
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2358
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2355
2359
|
}, {
|
2356
2360
|
wabaBusinessId?: string | null | undefined;
|
2357
2361
|
wabaExternalId?: string | null | undefined;
|
@@ -2359,10 +2363,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2359
2363
|
email?: string | null | undefined;
|
2360
2364
|
clientId?: string | null | undefined;
|
2361
2365
|
channelId?: string | null | undefined;
|
2362
|
-
|
2366
|
+
waapiInstanceId?: string | null | undefined;
|
2367
|
+
qr?: string | null | undefined;
|
2368
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2363
2369
|
apiKey?: string | undefined;
|
2364
2370
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2365
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2371
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2366
2372
|
}>>;
|
2367
2373
|
vonageCredentials: z.ZodOptional<z.ZodObject<{
|
2368
2374
|
mobileNumber: z.ZodString;
|
@@ -2381,8 +2387,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2381
2387
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2382
2388
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2383
2389
|
}, "strip", z.ZodTypeAny, {
|
2384
|
-
id: string;
|
2385
2390
|
name: string;
|
2391
|
+
id: string;
|
2386
2392
|
accessToken?: string | undefined;
|
2387
2393
|
channelSecret?: string | undefined;
|
2388
2394
|
additionalCredentials?: any;
|
@@ -2394,10 +2400,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2394
2400
|
email?: string | null | undefined;
|
2395
2401
|
clientId?: string | null | undefined;
|
2396
2402
|
channelId?: string | null | undefined;
|
2397
|
-
|
2403
|
+
waapiInstanceId?: string | null | undefined;
|
2404
|
+
qr?: string | null | undefined;
|
2405
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2398
2406
|
apiKey?: string | undefined;
|
2399
2407
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2400
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2408
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2401
2409
|
} | undefined;
|
2402
2410
|
vonageCredentials?: {
|
2403
2411
|
apiKey: string;
|
@@ -2408,8 +2416,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2408
2416
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2409
2417
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2410
2418
|
}, {
|
2411
|
-
id: string;
|
2412
2419
|
name: string;
|
2420
|
+
id: string;
|
2413
2421
|
accessToken?: string | undefined;
|
2414
2422
|
channelSecret?: string | undefined;
|
2415
2423
|
additionalCredentials?: any;
|
@@ -2421,10 +2429,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2421
2429
|
email?: string | null | undefined;
|
2422
2430
|
clientId?: string | null | undefined;
|
2423
2431
|
channelId?: string | null | undefined;
|
2424
|
-
|
2432
|
+
waapiInstanceId?: string | null | undefined;
|
2433
|
+
qr?: string | null | undefined;
|
2434
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2425
2435
|
apiKey?: string | undefined;
|
2426
2436
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2427
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2437
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2428
2438
|
} | undefined;
|
2429
2439
|
vonageCredentials?: {
|
2430
2440
|
apiKey: string;
|
@@ -2448,14 +2458,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2448
2458
|
integrationId: z.ZodString;
|
2449
2459
|
accessToken: z.ZodString;
|
2450
2460
|
}, "strip", z.ZodTypeAny, {
|
2451
|
-
id: string;
|
2452
2461
|
name: string;
|
2462
|
+
id: string;
|
2453
2463
|
accessToken: string;
|
2454
2464
|
botId: string;
|
2455
2465
|
integrationId: string;
|
2456
2466
|
}, {
|
2457
|
-
id: string;
|
2458
2467
|
name: string;
|
2468
|
+
id: string;
|
2459
2469
|
accessToken: string;
|
2460
2470
|
botId: string;
|
2461
2471
|
integrationId: string;
|
@@ -2578,9 +2588,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2578
2588
|
telephonySignature: string | null;
|
2579
2589
|
}>;
|
2580
2590
|
}, "strip", z.ZodTypeAny, {
|
2591
|
+
name: string;
|
2581
2592
|
id: string;
|
2582
2593
|
address: string | null;
|
2583
|
-
name: string;
|
2584
2594
|
email: string;
|
2585
2595
|
createdAt: Date;
|
2586
2596
|
updatedAt: Date;
|
@@ -2621,9 +2631,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2621
2631
|
telephonySignature: string | null;
|
2622
2632
|
};
|
2623
2633
|
}, {
|
2634
|
+
name: string;
|
2624
2635
|
id: string;
|
2625
2636
|
address: string | null;
|
2626
|
-
name: string;
|
2627
2637
|
email: string;
|
2628
2638
|
createdAt: Date;
|
2629
2639
|
updatedAt: Date;
|
@@ -2665,12 +2675,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2665
2675
|
};
|
2666
2676
|
}>;
|
2667
2677
|
}, "strip", z.ZodTypeAny, {
|
2678
|
+
name: string;
|
2668
2679
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2669
2680
|
id: string;
|
2670
|
-
name: string;
|
2671
2681
|
metadata: {
|
2672
|
-
id: string;
|
2673
2682
|
name: string;
|
2683
|
+
id: string;
|
2674
2684
|
accessToken?: string | undefined;
|
2675
2685
|
channelSecret?: string | undefined;
|
2676
2686
|
additionalCredentials?: any;
|
@@ -2682,10 +2692,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2682
2692
|
email?: string | null | undefined;
|
2683
2693
|
clientId?: string | null | undefined;
|
2684
2694
|
channelId?: string | null | undefined;
|
2685
|
-
|
2695
|
+
waapiInstanceId?: string | null | undefined;
|
2696
|
+
qr?: string | null | undefined;
|
2697
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2686
2698
|
apiKey?: string | undefined;
|
2687
2699
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2688
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2700
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2689
2701
|
} | undefined;
|
2690
2702
|
vonageCredentials?: {
|
2691
2703
|
apiKey: string;
|
@@ -2701,9 +2713,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2701
2713
|
updatedAt: Date;
|
2702
2714
|
deletedAt: Date | null;
|
2703
2715
|
actor: {
|
2716
|
+
name: string;
|
2704
2717
|
id: string;
|
2705
2718
|
address: string | null;
|
2706
|
-
name: string;
|
2707
2719
|
email: string;
|
2708
2720
|
createdAt: Date;
|
2709
2721
|
updatedAt: Date;
|
@@ -2750,19 +2762,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2750
2762
|
connectedUserName: string;
|
2751
2763
|
connectedUserId: string;
|
2752
2764
|
botpressBot: {
|
2753
|
-
id: string;
|
2754
2765
|
name: string;
|
2766
|
+
id: string;
|
2755
2767
|
accessToken: string;
|
2756
2768
|
botId: string;
|
2757
2769
|
integrationId: string;
|
2758
2770
|
} | null;
|
2759
2771
|
}, {
|
2772
|
+
name: string;
|
2760
2773
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2761
2774
|
id: string;
|
2762
|
-
name: string;
|
2763
2775
|
metadata: {
|
2764
|
-
id: string;
|
2765
2776
|
name: string;
|
2777
|
+
id: string;
|
2766
2778
|
accessToken?: string | undefined;
|
2767
2779
|
channelSecret?: string | undefined;
|
2768
2780
|
additionalCredentials?: any;
|
@@ -2774,10 +2786,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2774
2786
|
email?: string | null | undefined;
|
2775
2787
|
clientId?: string | null | undefined;
|
2776
2788
|
channelId?: string | null | undefined;
|
2777
|
-
|
2789
|
+
waapiInstanceId?: string | null | undefined;
|
2790
|
+
qr?: string | null | undefined;
|
2791
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2778
2792
|
apiKey?: string | undefined;
|
2779
2793
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2780
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2794
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2781
2795
|
} | undefined;
|
2782
2796
|
vonageCredentials?: {
|
2783
2797
|
apiKey: string;
|
@@ -2793,9 +2807,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2793
2807
|
updatedAt: Date;
|
2794
2808
|
deletedAt: Date | null;
|
2795
2809
|
actor: {
|
2810
|
+
name: string;
|
2796
2811
|
id: string;
|
2797
2812
|
address: string | null;
|
2798
|
-
name: string;
|
2799
2813
|
email: string;
|
2800
2814
|
createdAt: Date;
|
2801
2815
|
updatedAt: Date;
|
@@ -2842,8 +2856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2842
2856
|
connectedUserName: string;
|
2843
2857
|
connectedUserId: string;
|
2844
2858
|
botpressBot: {
|
2845
|
-
id: string;
|
2846
2859
|
name: string;
|
2860
|
+
id: string;
|
2847
2861
|
accessToken: string;
|
2848
2862
|
botId: string;
|
2849
2863
|
integrationId: string;
|
@@ -2852,12 +2866,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2852
2866
|
}, "strip", z.ZodTypeAny, {
|
2853
2867
|
id: string;
|
2854
2868
|
channel: {
|
2869
|
+
name: string;
|
2855
2870
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
2856
2871
|
id: string;
|
2857
|
-
name: string;
|
2858
2872
|
metadata: {
|
2859
|
-
id: string;
|
2860
2873
|
name: string;
|
2874
|
+
id: string;
|
2861
2875
|
accessToken?: string | undefined;
|
2862
2876
|
channelSecret?: string | undefined;
|
2863
2877
|
additionalCredentials?: any;
|
@@ -2869,10 +2883,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2869
2883
|
email?: string | null | undefined;
|
2870
2884
|
clientId?: string | null | undefined;
|
2871
2885
|
channelId?: string | null | undefined;
|
2872
|
-
|
2886
|
+
waapiInstanceId?: string | null | undefined;
|
2887
|
+
qr?: string | null | undefined;
|
2888
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
2873
2889
|
apiKey?: string | undefined;
|
2874
2890
|
tier?: "basic" | "regular" | "premium" | undefined;
|
2875
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
2891
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
2876
2892
|
} | undefined;
|
2877
2893
|
vonageCredentials?: {
|
2878
2894
|
apiKey: string;
|
@@ -2888,9 +2904,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2888
2904
|
updatedAt: Date;
|
2889
2905
|
deletedAt: Date | null;
|
2890
2906
|
actor: {
|
2907
|
+
name: string;
|
2891
2908
|
id: string;
|
2892
2909
|
address: string | null;
|
2893
|
-
name: string;
|
2894
2910
|
email: string;
|
2895
2911
|
createdAt: Date;
|
2896
2912
|
updatedAt: Date;
|
@@ -2937,8 +2953,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2937
2953
|
connectedUserName: string;
|
2938
2954
|
connectedUserId: string;
|
2939
2955
|
botpressBot: {
|
2940
|
-
id: string;
|
2941
2956
|
name: string;
|
2957
|
+
id: string;
|
2942
2958
|
accessToken: string;
|
2943
2959
|
botId: string;
|
2944
2960
|
integrationId: string;
|
@@ -2949,9 +2965,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
2949
2965
|
updatedAt: Date;
|
2950
2966
|
deletedAt: Date | null;
|
2951
2967
|
actor: {
|
2968
|
+
name: string;
|
2952
2969
|
id: string;
|
2953
2970
|
address: string | null;
|
2954
|
-
name: string;
|
2955
2971
|
email: string;
|
2956
2972
|
createdAt: Date;
|
2957
2973
|
updatedAt: Date;
|
@@ -3003,8 +3019,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3003
3019
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3004
3020
|
id: string;
|
3005
3021
|
metadata: {
|
3006
|
-
id: string;
|
3007
3022
|
name: string;
|
3023
|
+
id: string;
|
3008
3024
|
picture?: string | undefined;
|
3009
3025
|
additionalCredentials?: any;
|
3010
3026
|
};
|
@@ -3012,10 +3028,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3012
3028
|
updatedAt: Date;
|
3013
3029
|
deletedAt: Date | null;
|
3014
3030
|
contact: {
|
3031
|
+
name: string;
|
3015
3032
|
id: string;
|
3016
3033
|
channel: string | null;
|
3017
3034
|
address: string | null;
|
3018
|
-
name: string;
|
3019
3035
|
createdAt: Date;
|
3020
3036
|
updatedAt: Date;
|
3021
3037
|
deletedAt: Date | null;
|
@@ -3060,8 +3076,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3060
3076
|
createdAt: Date;
|
3061
3077
|
updatedAt: Date;
|
3062
3078
|
deletedAt: Date | null;
|
3063
|
-
address?: string | null | undefined;
|
3064
3079
|
name?: string | undefined;
|
3080
|
+
address?: string | null | undefined;
|
3065
3081
|
phone?: string | null | undefined;
|
3066
3082
|
industry?: string | null | undefined;
|
3067
3083
|
} | null;
|
@@ -3069,8 +3085,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3069
3085
|
contactProfile: string | null;
|
3070
3086
|
socialProfileUrl: string | null;
|
3071
3087
|
tags: {
|
3072
|
-
id: string;
|
3073
3088
|
name: string;
|
3089
|
+
id: string;
|
3074
3090
|
createdAt: Date;
|
3075
3091
|
updatedAt: Date;
|
3076
3092
|
deletedAt: Date | null;
|
@@ -3095,8 +3111,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3095
3111
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3096
3112
|
id: string;
|
3097
3113
|
metadata: {
|
3098
|
-
id: string;
|
3099
3114
|
name: string;
|
3115
|
+
id: string;
|
3100
3116
|
picture?: string | undefined;
|
3101
3117
|
additionalCredentials?: any;
|
3102
3118
|
};
|
@@ -3127,9 +3143,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3127
3143
|
socialPlatformId: string;
|
3128
3144
|
};
|
3129
3145
|
assignee: {
|
3146
|
+
name: string;
|
3130
3147
|
id: string;
|
3131
3148
|
address: string | null;
|
3132
|
-
name: string;
|
3133
3149
|
email: string;
|
3134
3150
|
createdAt: Date;
|
3135
3151
|
updatedAt: Date;
|
@@ -3173,12 +3189,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3173
3189
|
}, {
|
3174
3190
|
id: string;
|
3175
3191
|
channel: {
|
3192
|
+
name: string;
|
3176
3193
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3177
3194
|
id: string;
|
3178
|
-
name: string;
|
3179
3195
|
metadata: {
|
3180
|
-
id: string;
|
3181
3196
|
name: string;
|
3197
|
+
id: string;
|
3182
3198
|
accessToken?: string | undefined;
|
3183
3199
|
channelSecret?: string | undefined;
|
3184
3200
|
additionalCredentials?: any;
|
@@ -3190,10 +3206,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3190
3206
|
email?: string | null | undefined;
|
3191
3207
|
clientId?: string | null | undefined;
|
3192
3208
|
channelId?: string | null | undefined;
|
3193
|
-
|
3209
|
+
waapiInstanceId?: string | null | undefined;
|
3210
|
+
qr?: string | null | undefined;
|
3211
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
3194
3212
|
apiKey?: string | undefined;
|
3195
3213
|
tier?: "basic" | "regular" | "premium" | undefined;
|
3196
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
3214
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
3197
3215
|
} | undefined;
|
3198
3216
|
vonageCredentials?: {
|
3199
3217
|
apiKey: string;
|
@@ -3209,9 +3227,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3209
3227
|
updatedAt: Date;
|
3210
3228
|
deletedAt: Date | null;
|
3211
3229
|
actor: {
|
3230
|
+
name: string;
|
3212
3231
|
id: string;
|
3213
3232
|
address: string | null;
|
3214
|
-
name: string;
|
3215
3233
|
email: string;
|
3216
3234
|
createdAt: Date;
|
3217
3235
|
updatedAt: Date;
|
@@ -3258,8 +3276,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3258
3276
|
connectedUserName: string;
|
3259
3277
|
connectedUserId: string;
|
3260
3278
|
botpressBot: {
|
3261
|
-
id: string;
|
3262
3279
|
name: string;
|
3280
|
+
id: string;
|
3263
3281
|
accessToken: string;
|
3264
3282
|
botId: string;
|
3265
3283
|
integrationId: string;
|
@@ -3270,9 +3288,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3270
3288
|
updatedAt: Date;
|
3271
3289
|
deletedAt: Date | null;
|
3272
3290
|
actor: {
|
3291
|
+
name: string;
|
3273
3292
|
id: string;
|
3274
3293
|
address: string | null;
|
3275
|
-
name: string;
|
3276
3294
|
email: string;
|
3277
3295
|
createdAt: Date;
|
3278
3296
|
updatedAt: Date;
|
@@ -3324,8 +3342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3324
3342
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3325
3343
|
id: string;
|
3326
3344
|
metadata: {
|
3327
|
-
id: string;
|
3328
3345
|
name: string;
|
3346
|
+
id: string;
|
3329
3347
|
picture?: string | undefined;
|
3330
3348
|
additionalCredentials?: any;
|
3331
3349
|
};
|
@@ -3333,10 +3351,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3333
3351
|
updatedAt: Date;
|
3334
3352
|
deletedAt: Date | null;
|
3335
3353
|
contact: {
|
3354
|
+
name: string;
|
3336
3355
|
id: string;
|
3337
3356
|
channel: string | null;
|
3338
3357
|
address: string | null;
|
3339
|
-
name: string;
|
3340
3358
|
createdAt: Date;
|
3341
3359
|
updatedAt: Date;
|
3342
3360
|
deletedAt: Date | null;
|
@@ -3381,8 +3399,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3381
3399
|
createdAt: Date;
|
3382
3400
|
updatedAt: Date;
|
3383
3401
|
deletedAt: Date | null;
|
3384
|
-
address?: string | null | undefined;
|
3385
3402
|
name?: string | undefined;
|
3403
|
+
address?: string | null | undefined;
|
3386
3404
|
phone?: string | null | undefined;
|
3387
3405
|
industry?: string | null | undefined;
|
3388
3406
|
} | null;
|
@@ -3390,8 +3408,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3390
3408
|
contactProfile: string | null;
|
3391
3409
|
socialProfileUrl: string | null;
|
3392
3410
|
tags: {
|
3393
|
-
id: string;
|
3394
3411
|
name: string;
|
3412
|
+
id: string;
|
3395
3413
|
createdAt: Date;
|
3396
3414
|
updatedAt: Date;
|
3397
3415
|
deletedAt: Date | null;
|
@@ -3416,8 +3434,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3416
3434
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3417
3435
|
id: string;
|
3418
3436
|
metadata: {
|
3419
|
-
id: string;
|
3420
3437
|
name: string;
|
3438
|
+
id: string;
|
3421
3439
|
picture?: string | undefined;
|
3422
3440
|
additionalCredentials?: any;
|
3423
3441
|
};
|
@@ -3448,9 +3466,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3448
3466
|
socialPlatformId: string;
|
3449
3467
|
};
|
3450
3468
|
assignee: {
|
3469
|
+
name: string;
|
3451
3470
|
id: string;
|
3452
3471
|
address: string | null;
|
3453
|
-
name: string;
|
3454
3472
|
email: string;
|
3455
3473
|
createdAt: Date;
|
3456
3474
|
updatedAt: Date;
|
@@ -3523,14 +3541,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3523
3541
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3524
3542
|
name: z.ZodString;
|
3525
3543
|
}, "strip", z.ZodTypeAny, {
|
3526
|
-
id: string;
|
3527
3544
|
name: string;
|
3545
|
+
id: string;
|
3528
3546
|
createdAt: Date;
|
3529
3547
|
updatedAt: Date;
|
3530
3548
|
deletedAt: Date | null;
|
3531
3549
|
}, {
|
3532
|
-
id: string;
|
3533
3550
|
name: string;
|
3551
|
+
id: string;
|
3534
3552
|
createdAt: Date;
|
3535
3553
|
updatedAt: Date;
|
3536
3554
|
deletedAt: Date | null;
|
@@ -3686,8 +3704,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3686
3704
|
createdAt: Date;
|
3687
3705
|
updatedAt: Date;
|
3688
3706
|
deletedAt: Date | null;
|
3689
|
-
address?: string | null | undefined;
|
3690
3707
|
name?: string | undefined;
|
3708
|
+
address?: string | null | undefined;
|
3691
3709
|
phone?: string | null | undefined;
|
3692
3710
|
industry?: string | null | undefined;
|
3693
3711
|
}, {
|
@@ -3695,8 +3713,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3695
3713
|
createdAt: Date;
|
3696
3714
|
updatedAt: Date;
|
3697
3715
|
deletedAt: Date | null;
|
3698
|
-
address?: string | null | undefined;
|
3699
3716
|
name?: string | undefined;
|
3717
|
+
address?: string | null | undefined;
|
3700
3718
|
phone?: string | null | undefined;
|
3701
3719
|
industry?: string | null | undefined;
|
3702
3720
|
}>>;
|
@@ -3714,13 +3732,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3714
3732
|
picture: z.ZodOptional<z.ZodString>;
|
3715
3733
|
additionalCredentials: z.ZodAny;
|
3716
3734
|
}, "strip", z.ZodTypeAny, {
|
3717
|
-
id: string;
|
3718
3735
|
name: string;
|
3736
|
+
id: string;
|
3719
3737
|
picture?: string | undefined;
|
3720
3738
|
additionalCredentials?: any;
|
3721
3739
|
}, {
|
3722
|
-
id: string;
|
3723
3740
|
name: string;
|
3741
|
+
id: string;
|
3724
3742
|
picture?: string | undefined;
|
3725
3743
|
additionalCredentials?: any;
|
3726
3744
|
}>;
|
@@ -3728,8 +3746,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3728
3746
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3729
3747
|
id: string;
|
3730
3748
|
metadata: {
|
3731
|
-
id: string;
|
3732
3749
|
name: string;
|
3750
|
+
id: string;
|
3733
3751
|
picture?: string | undefined;
|
3734
3752
|
additionalCredentials?: any;
|
3735
3753
|
};
|
@@ -3742,8 +3760,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
3742
3760
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
3743
3761
|
id: string;
|
3744
3762
|
metadata: {
|
3745
|
-
id: string;
|
3746
3763
|
name: string;
|
3764
|
+
id: string;
|
3747
3765
|
picture?: string | undefined;
|
3748
3766
|
additionalCredentials?: any;
|
3749
3767
|
};
|
@@ -4053,10 +4071,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4053
4071
|
};
|
4054
4072
|
}>, "many">>;
|
4055
4073
|
}, "strip", z.ZodTypeAny, {
|
4074
|
+
name: string;
|
4056
4075
|
id: string;
|
4057
4076
|
channel: string | null;
|
4058
4077
|
address: string | null;
|
4059
|
-
name: string;
|
4060
4078
|
createdAt: Date;
|
4061
4079
|
updatedAt: Date;
|
4062
4080
|
deletedAt: Date | null;
|
@@ -4101,8 +4119,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4101
4119
|
createdAt: Date;
|
4102
4120
|
updatedAt: Date;
|
4103
4121
|
deletedAt: Date | null;
|
4104
|
-
address?: string | null | undefined;
|
4105
4122
|
name?: string | undefined;
|
4123
|
+
address?: string | null | undefined;
|
4106
4124
|
phone?: string | null | undefined;
|
4107
4125
|
industry?: string | null | undefined;
|
4108
4126
|
} | null;
|
@@ -4110,8 +4128,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4110
4128
|
contactProfile: string | null;
|
4111
4129
|
socialProfileUrl: string | null;
|
4112
4130
|
tags: {
|
4113
|
-
id: string;
|
4114
4131
|
name: string;
|
4132
|
+
id: string;
|
4115
4133
|
createdAt: Date;
|
4116
4134
|
updatedAt: Date;
|
4117
4135
|
deletedAt: Date | null;
|
@@ -4136,8 +4154,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4136
4154
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4137
4155
|
id: string;
|
4138
4156
|
metadata: {
|
4139
|
-
id: string;
|
4140
4157
|
name: string;
|
4158
|
+
id: string;
|
4141
4159
|
picture?: string | undefined;
|
4142
4160
|
additionalCredentials?: any;
|
4143
4161
|
};
|
@@ -4164,10 +4182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4164
4182
|
};
|
4165
4183
|
}[] | undefined;
|
4166
4184
|
}, {
|
4185
|
+
name: string;
|
4167
4186
|
id: string;
|
4168
4187
|
channel: string | null;
|
4169
4188
|
address: string | null;
|
4170
|
-
name: string;
|
4171
4189
|
createdAt: Date;
|
4172
4190
|
updatedAt: Date;
|
4173
4191
|
deletedAt: Date | null;
|
@@ -4212,8 +4230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4212
4230
|
createdAt: Date;
|
4213
4231
|
updatedAt: Date;
|
4214
4232
|
deletedAt: Date | null;
|
4215
|
-
address?: string | null | undefined;
|
4216
4233
|
name?: string | undefined;
|
4234
|
+
address?: string | null | undefined;
|
4217
4235
|
phone?: string | null | undefined;
|
4218
4236
|
industry?: string | null | undefined;
|
4219
4237
|
} | null;
|
@@ -4221,8 +4239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4221
4239
|
contactProfile: string | null;
|
4222
4240
|
socialProfileUrl: string | null;
|
4223
4241
|
tags: {
|
4224
|
-
id: string;
|
4225
4242
|
name: string;
|
4243
|
+
id: string;
|
4226
4244
|
createdAt: Date;
|
4227
4245
|
updatedAt: Date;
|
4228
4246
|
deletedAt: Date | null;
|
@@ -4247,8 +4265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4247
4265
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
4248
4266
|
id: string;
|
4249
4267
|
metadata: {
|
4250
|
-
id: string;
|
4251
4268
|
name: string;
|
4269
|
+
id: string;
|
4252
4270
|
picture?: string | undefined;
|
4253
4271
|
additionalCredentials?: any;
|
4254
4272
|
};
|
@@ -4466,9 +4484,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4466
4484
|
telephonySignature: string | null;
|
4467
4485
|
}>;
|
4468
4486
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
4487
|
+
name: string;
|
4469
4488
|
id: string;
|
4470
4489
|
address: string | null;
|
4471
|
-
name: string;
|
4472
4490
|
email: string;
|
4473
4491
|
createdAt: Date;
|
4474
4492
|
updatedAt: Date;
|
@@ -4478,9 +4496,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4478
4496
|
phone: string | null;
|
4479
4497
|
notificationCount: number | null;
|
4480
4498
|
}, {
|
4499
|
+
name: string;
|
4481
4500
|
id: string;
|
4482
4501
|
address: string | null;
|
4483
|
-
name: string;
|
4484
4502
|
email: string;
|
4485
4503
|
createdAt: Date;
|
4486
4504
|
updatedAt: Date;
|
@@ -4503,9 +4521,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4503
4521
|
}, "strip", z.ZodTypeAny, {
|
4504
4522
|
id: string;
|
4505
4523
|
user: {
|
4524
|
+
name: string;
|
4506
4525
|
id: string;
|
4507
4526
|
address: string | null;
|
4508
|
-
name: string;
|
4509
4527
|
email: string;
|
4510
4528
|
createdAt: Date;
|
4511
4529
|
updatedAt: Date;
|
@@ -4528,9 +4546,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4528
4546
|
}, {
|
4529
4547
|
id: string;
|
4530
4548
|
user: {
|
4549
|
+
name: string;
|
4531
4550
|
id: string;
|
4532
4551
|
address: string | null;
|
4533
|
-
name: string;
|
4534
4552
|
email: string;
|
4535
4553
|
createdAt: Date;
|
4536
4554
|
updatedAt: Date;
|
@@ -4671,9 +4689,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4671
4689
|
telephonySignature: string | null;
|
4672
4690
|
}>;
|
4673
4691
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
4692
|
+
name: string;
|
4674
4693
|
id: string;
|
4675
4694
|
address: string | null;
|
4676
|
-
name: string;
|
4677
4695
|
email: string;
|
4678
4696
|
createdAt: Date;
|
4679
4697
|
updatedAt: Date;
|
@@ -4683,9 +4701,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4683
4701
|
phone: string | null;
|
4684
4702
|
notificationCount: number | null;
|
4685
4703
|
}, {
|
4704
|
+
name: string;
|
4686
4705
|
id: string;
|
4687
4706
|
address: string | null;
|
4688
|
-
name: string;
|
4689
4707
|
email: string;
|
4690
4708
|
createdAt: Date;
|
4691
4709
|
updatedAt: Date;
|
@@ -4708,9 +4726,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4708
4726
|
}, "strip", z.ZodTypeAny, {
|
4709
4727
|
id: string;
|
4710
4728
|
user: {
|
4729
|
+
name: string;
|
4711
4730
|
id: string;
|
4712
4731
|
address: string | null;
|
4713
|
-
name: string;
|
4714
4732
|
email: string;
|
4715
4733
|
createdAt: Date;
|
4716
4734
|
updatedAt: Date;
|
@@ -4733,9 +4751,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4733
4751
|
}, {
|
4734
4752
|
id: string;
|
4735
4753
|
user: {
|
4754
|
+
name: string;
|
4736
4755
|
id: string;
|
4737
4756
|
address: string | null;
|
4738
|
-
name: string;
|
4739
4757
|
email: string;
|
4740
4758
|
createdAt: Date;
|
4741
4759
|
updatedAt: Date;
|
@@ -4760,9 +4778,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4760
4778
|
callTo?: {
|
4761
4779
|
id: string;
|
4762
4780
|
user: {
|
4781
|
+
name: string;
|
4763
4782
|
id: string;
|
4764
4783
|
address: string | null;
|
4765
|
-
name: string;
|
4766
4784
|
email: string;
|
4767
4785
|
createdAt: Date;
|
4768
4786
|
updatedAt: Date;
|
@@ -4786,9 +4804,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4786
4804
|
callFrom?: {
|
4787
4805
|
id: string;
|
4788
4806
|
user: {
|
4807
|
+
name: string;
|
4789
4808
|
id: string;
|
4790
4809
|
address: string | null;
|
4791
|
-
name: string;
|
4792
4810
|
email: string;
|
4793
4811
|
createdAt: Date;
|
4794
4812
|
updatedAt: Date;
|
@@ -4813,9 +4831,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4813
4831
|
callTo?: {
|
4814
4832
|
id: string;
|
4815
4833
|
user: {
|
4834
|
+
name: string;
|
4816
4835
|
id: string;
|
4817
4836
|
address: string | null;
|
4818
|
-
name: string;
|
4819
4837
|
email: string;
|
4820
4838
|
createdAt: Date;
|
4821
4839
|
updatedAt: Date;
|
@@ -4839,9 +4857,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4839
4857
|
callFrom?: {
|
4840
4858
|
id: string;
|
4841
4859
|
user: {
|
4860
|
+
name: string;
|
4842
4861
|
id: string;
|
4843
4862
|
address: string | null;
|
4844
|
-
name: string;
|
4845
4863
|
email: string;
|
4846
4864
|
createdAt: Date;
|
4847
4865
|
updatedAt: Date;
|
@@ -4995,9 +5013,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
4995
5013
|
telephonySignature: string | null;
|
4996
5014
|
}>;
|
4997
5015
|
}, "strip", z.ZodTypeAny, {
|
5016
|
+
name: string;
|
4998
5017
|
id: string;
|
4999
5018
|
address: string | null;
|
5000
|
-
name: string;
|
5001
5019
|
email: string;
|
5002
5020
|
createdAt: Date;
|
5003
5021
|
updatedAt: Date;
|
@@ -5038,9 +5056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5038
5056
|
telephonySignature: string | null;
|
5039
5057
|
};
|
5040
5058
|
}, {
|
5059
|
+
name: string;
|
5041
5060
|
id: string;
|
5042
5061
|
address: string | null;
|
5043
|
-
name: string;
|
5044
5062
|
email: string;
|
5045
5063
|
createdAt: Date;
|
5046
5064
|
updatedAt: Date;
|
@@ -5094,9 +5112,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5094
5112
|
extensionName: string;
|
5095
5113
|
telephonySignature: string | null;
|
5096
5114
|
user?: {
|
5115
|
+
name: string;
|
5097
5116
|
id: string;
|
5098
5117
|
address: string | null;
|
5099
|
-
name: string;
|
5100
5118
|
email: string;
|
5101
5119
|
createdAt: Date;
|
5102
5120
|
updatedAt: Date;
|
@@ -5150,9 +5168,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5150
5168
|
extensionName: string;
|
5151
5169
|
telephonySignature: string | null;
|
5152
5170
|
user?: {
|
5171
|
+
name: string;
|
5153
5172
|
id: string;
|
5154
5173
|
address: string | null;
|
5155
|
-
name: string;
|
5156
5174
|
email: string;
|
5157
5175
|
createdAt: Date;
|
5158
5176
|
updatedAt: Date;
|
@@ -5222,9 +5240,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5222
5240
|
callTo?: {
|
5223
5241
|
id: string;
|
5224
5242
|
user: {
|
5243
|
+
name: string;
|
5225
5244
|
id: string;
|
5226
5245
|
address: string | null;
|
5227
|
-
name: string;
|
5228
5246
|
email: string;
|
5229
5247
|
createdAt: Date;
|
5230
5248
|
updatedAt: Date;
|
@@ -5248,9 +5266,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5248
5266
|
callFrom?: {
|
5249
5267
|
id: string;
|
5250
5268
|
user: {
|
5269
|
+
name: string;
|
5251
5270
|
id: string;
|
5252
5271
|
address: string | null;
|
5253
|
-
name: string;
|
5254
5272
|
email: string;
|
5255
5273
|
createdAt: Date;
|
5256
5274
|
updatedAt: Date;
|
@@ -5276,10 +5294,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5276
5294
|
telephonyQueueId: string | null;
|
5277
5295
|
contactId: string | null;
|
5278
5296
|
contact?: {
|
5297
|
+
name: string;
|
5279
5298
|
id: string;
|
5280
5299
|
channel: string | null;
|
5281
5300
|
address: string | null;
|
5282
|
-
name: string;
|
5283
5301
|
createdAt: Date;
|
5284
5302
|
updatedAt: Date;
|
5285
5303
|
deletedAt: Date | null;
|
@@ -5324,8 +5342,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5324
5342
|
createdAt: Date;
|
5325
5343
|
updatedAt: Date;
|
5326
5344
|
deletedAt: Date | null;
|
5327
|
-
address?: string | null | undefined;
|
5328
5345
|
name?: string | undefined;
|
5346
|
+
address?: string | null | undefined;
|
5329
5347
|
phone?: string | null | undefined;
|
5330
5348
|
industry?: string | null | undefined;
|
5331
5349
|
} | null;
|
@@ -5333,8 +5351,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5333
5351
|
contactProfile: string | null;
|
5334
5352
|
socialProfileUrl: string | null;
|
5335
5353
|
tags: {
|
5336
|
-
id: string;
|
5337
5354
|
name: string;
|
5355
|
+
id: string;
|
5338
5356
|
createdAt: Date;
|
5339
5357
|
updatedAt: Date;
|
5340
5358
|
deletedAt: Date | null;
|
@@ -5359,8 +5377,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5359
5377
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5360
5378
|
id: string;
|
5361
5379
|
metadata: {
|
5362
|
-
id: string;
|
5363
5380
|
name: string;
|
5381
|
+
id: string;
|
5364
5382
|
picture?: string | undefined;
|
5365
5383
|
additionalCredentials?: any;
|
5366
5384
|
};
|
@@ -5422,9 +5440,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5422
5440
|
extensionName: string;
|
5423
5441
|
telephonySignature: string | null;
|
5424
5442
|
user?: {
|
5443
|
+
name: string;
|
5425
5444
|
id: string;
|
5426
5445
|
address: string | null;
|
5427
|
-
name: string;
|
5428
5446
|
email: string;
|
5429
5447
|
createdAt: Date;
|
5430
5448
|
updatedAt: Date;
|
@@ -5492,9 +5510,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5492
5510
|
callTo?: {
|
5493
5511
|
id: string;
|
5494
5512
|
user: {
|
5513
|
+
name: string;
|
5495
5514
|
id: string;
|
5496
5515
|
address: string | null;
|
5497
|
-
name: string;
|
5498
5516
|
email: string;
|
5499
5517
|
createdAt: Date;
|
5500
5518
|
updatedAt: Date;
|
@@ -5518,9 +5536,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5518
5536
|
callFrom?: {
|
5519
5537
|
id: string;
|
5520
5538
|
user: {
|
5539
|
+
name: string;
|
5521
5540
|
id: string;
|
5522
5541
|
address: string | null;
|
5523
|
-
name: string;
|
5524
5542
|
email: string;
|
5525
5543
|
createdAt: Date;
|
5526
5544
|
updatedAt: Date;
|
@@ -5546,10 +5564,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5546
5564
|
telephonyQueueId: string | null;
|
5547
5565
|
contactId: string | null;
|
5548
5566
|
contact?: {
|
5567
|
+
name: string;
|
5549
5568
|
id: string;
|
5550
5569
|
channel: string | null;
|
5551
5570
|
address: string | null;
|
5552
|
-
name: string;
|
5553
5571
|
createdAt: Date;
|
5554
5572
|
updatedAt: Date;
|
5555
5573
|
deletedAt: Date | null;
|
@@ -5594,8 +5612,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5594
5612
|
createdAt: Date;
|
5595
5613
|
updatedAt: Date;
|
5596
5614
|
deletedAt: Date | null;
|
5597
|
-
address?: string | null | undefined;
|
5598
5615
|
name?: string | undefined;
|
5616
|
+
address?: string | null | undefined;
|
5599
5617
|
phone?: string | null | undefined;
|
5600
5618
|
industry?: string | null | undefined;
|
5601
5619
|
} | null;
|
@@ -5603,8 +5621,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5603
5621
|
contactProfile: string | null;
|
5604
5622
|
socialProfileUrl: string | null;
|
5605
5623
|
tags: {
|
5606
|
-
id: string;
|
5607
5624
|
name: string;
|
5625
|
+
id: string;
|
5608
5626
|
createdAt: Date;
|
5609
5627
|
updatedAt: Date;
|
5610
5628
|
deletedAt: Date | null;
|
@@ -5629,8 +5647,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5629
5647
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5630
5648
|
id: string;
|
5631
5649
|
metadata: {
|
5632
|
-
id: string;
|
5633
5650
|
name: string;
|
5651
|
+
id: string;
|
5634
5652
|
picture?: string | undefined;
|
5635
5653
|
additionalCredentials?: any;
|
5636
5654
|
};
|
@@ -5692,9 +5710,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5692
5710
|
extensionName: string;
|
5693
5711
|
telephonySignature: string | null;
|
5694
5712
|
user?: {
|
5713
|
+
name: string;
|
5695
5714
|
id: string;
|
5696
5715
|
address: string | null;
|
5697
|
-
name: string;
|
5698
5716
|
email: string;
|
5699
5717
|
createdAt: Date;
|
5700
5718
|
updatedAt: Date;
|
@@ -5762,14 +5780,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5762
5780
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
5763
5781
|
name: z.ZodString;
|
5764
5782
|
}, "strip", z.ZodTypeAny, {
|
5765
|
-
id: string;
|
5766
5783
|
name: string;
|
5784
|
+
id: string;
|
5767
5785
|
createdAt: Date;
|
5768
5786
|
updatedAt: Date;
|
5769
5787
|
deletedAt: Date | null;
|
5770
5788
|
}, {
|
5771
|
-
id: string;
|
5772
5789
|
name: string;
|
5790
|
+
id: string;
|
5773
5791
|
createdAt: Date;
|
5774
5792
|
updatedAt: Date;
|
5775
5793
|
deletedAt: Date | null;
|
@@ -5925,8 +5943,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5925
5943
|
createdAt: Date;
|
5926
5944
|
updatedAt: Date;
|
5927
5945
|
deletedAt: Date | null;
|
5928
|
-
address?: string | null | undefined;
|
5929
5946
|
name?: string | undefined;
|
5947
|
+
address?: string | null | undefined;
|
5930
5948
|
phone?: string | null | undefined;
|
5931
5949
|
industry?: string | null | undefined;
|
5932
5950
|
}, {
|
@@ -5934,8 +5952,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5934
5952
|
createdAt: Date;
|
5935
5953
|
updatedAt: Date;
|
5936
5954
|
deletedAt: Date | null;
|
5937
|
-
address?: string | null | undefined;
|
5938
5955
|
name?: string | undefined;
|
5956
|
+
address?: string | null | undefined;
|
5939
5957
|
phone?: string | null | undefined;
|
5940
5958
|
industry?: string | null | undefined;
|
5941
5959
|
}>>;
|
@@ -5953,13 +5971,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5953
5971
|
picture: z.ZodOptional<z.ZodString>;
|
5954
5972
|
additionalCredentials: z.ZodAny;
|
5955
5973
|
}, "strip", z.ZodTypeAny, {
|
5956
|
-
id: string;
|
5957
5974
|
name: string;
|
5975
|
+
id: string;
|
5958
5976
|
picture?: string | undefined;
|
5959
5977
|
additionalCredentials?: any;
|
5960
5978
|
}, {
|
5961
|
-
id: string;
|
5962
5979
|
name: string;
|
5980
|
+
id: string;
|
5963
5981
|
picture?: string | undefined;
|
5964
5982
|
additionalCredentials?: any;
|
5965
5983
|
}>;
|
@@ -5967,8 +5985,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5967
5985
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5968
5986
|
id: string;
|
5969
5987
|
metadata: {
|
5970
|
-
id: string;
|
5971
5988
|
name: string;
|
5989
|
+
id: string;
|
5972
5990
|
picture?: string | undefined;
|
5973
5991
|
additionalCredentials?: any;
|
5974
5992
|
};
|
@@ -5981,8 +5999,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
5981
5999
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
5982
6000
|
id: string;
|
5983
6001
|
metadata: {
|
5984
|
-
id: string;
|
5985
6002
|
name: string;
|
6003
|
+
id: string;
|
5986
6004
|
picture?: string | undefined;
|
5987
6005
|
additionalCredentials?: any;
|
5988
6006
|
};
|
@@ -6292,10 +6310,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6292
6310
|
};
|
6293
6311
|
}>, "many">>;
|
6294
6312
|
}, "strip", z.ZodTypeAny, {
|
6313
|
+
name: string;
|
6295
6314
|
id: string;
|
6296
6315
|
channel: string | null;
|
6297
6316
|
address: string | null;
|
6298
|
-
name: string;
|
6299
6317
|
createdAt: Date;
|
6300
6318
|
updatedAt: Date;
|
6301
6319
|
deletedAt: Date | null;
|
@@ -6340,8 +6358,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6340
6358
|
createdAt: Date;
|
6341
6359
|
updatedAt: Date;
|
6342
6360
|
deletedAt: Date | null;
|
6343
|
-
address?: string | null | undefined;
|
6344
6361
|
name?: string | undefined;
|
6362
|
+
address?: string | null | undefined;
|
6345
6363
|
phone?: string | null | undefined;
|
6346
6364
|
industry?: string | null | undefined;
|
6347
6365
|
} | null;
|
@@ -6349,8 +6367,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6349
6367
|
contactProfile: string | null;
|
6350
6368
|
socialProfileUrl: string | null;
|
6351
6369
|
tags: {
|
6352
|
-
id: string;
|
6353
6370
|
name: string;
|
6371
|
+
id: string;
|
6354
6372
|
createdAt: Date;
|
6355
6373
|
updatedAt: Date;
|
6356
6374
|
deletedAt: Date | null;
|
@@ -6375,8 +6393,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6375
6393
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6376
6394
|
id: string;
|
6377
6395
|
metadata: {
|
6378
|
-
id: string;
|
6379
6396
|
name: string;
|
6397
|
+
id: string;
|
6380
6398
|
picture?: string | undefined;
|
6381
6399
|
additionalCredentials?: any;
|
6382
6400
|
};
|
@@ -6403,10 +6421,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6403
6421
|
};
|
6404
6422
|
}[] | undefined;
|
6405
6423
|
}, {
|
6424
|
+
name: string;
|
6406
6425
|
id: string;
|
6407
6426
|
channel: string | null;
|
6408
6427
|
address: string | null;
|
6409
|
-
name: string;
|
6410
6428
|
createdAt: Date;
|
6411
6429
|
updatedAt: Date;
|
6412
6430
|
deletedAt: Date | null;
|
@@ -6451,8 +6469,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6451
6469
|
createdAt: Date;
|
6452
6470
|
updatedAt: Date;
|
6453
6471
|
deletedAt: Date | null;
|
6454
|
-
address?: string | null | undefined;
|
6455
6472
|
name?: string | undefined;
|
6473
|
+
address?: string | null | undefined;
|
6456
6474
|
phone?: string | null | undefined;
|
6457
6475
|
industry?: string | null | undefined;
|
6458
6476
|
} | null;
|
@@ -6460,8 +6478,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6460
6478
|
contactProfile: string | null;
|
6461
6479
|
socialProfileUrl: string | null;
|
6462
6480
|
tags: {
|
6463
|
-
id: string;
|
6464
6481
|
name: string;
|
6482
|
+
id: string;
|
6465
6483
|
createdAt: Date;
|
6466
6484
|
updatedAt: Date;
|
6467
6485
|
deletedAt: Date | null;
|
@@ -6486,8 +6504,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6486
6504
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
6487
6505
|
id: string;
|
6488
6506
|
metadata: {
|
6489
|
-
id: string;
|
6490
6507
|
name: string;
|
6508
|
+
id: string;
|
6491
6509
|
picture?: string | undefined;
|
6492
6510
|
additionalCredentials?: any;
|
6493
6511
|
};
|
@@ -6632,9 +6650,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6632
6650
|
telephonySignature: string | null;
|
6633
6651
|
}>;
|
6634
6652
|
}, "strip", z.ZodTypeAny, {
|
6653
|
+
name: string;
|
6635
6654
|
id: string;
|
6636
6655
|
address: string | null;
|
6637
|
-
name: string;
|
6638
6656
|
email: string;
|
6639
6657
|
createdAt: Date;
|
6640
6658
|
updatedAt: Date;
|
@@ -6675,9 +6693,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6675
6693
|
telephonySignature: string | null;
|
6676
6694
|
};
|
6677
6695
|
}, {
|
6696
|
+
name: string;
|
6678
6697
|
id: string;
|
6679
6698
|
address: string | null;
|
6680
|
-
name: string;
|
6681
6699
|
email: string;
|
6682
6700
|
createdAt: Date;
|
6683
6701
|
updatedAt: Date;
|
@@ -6836,9 +6854,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6836
6854
|
telephonySignature: string | null;
|
6837
6855
|
}>;
|
6838
6856
|
}, "strip", z.ZodTypeAny, {
|
6857
|
+
name: string;
|
6839
6858
|
id: string;
|
6840
6859
|
address: string | null;
|
6841
|
-
name: string;
|
6842
6860
|
email: string;
|
6843
6861
|
createdAt: Date;
|
6844
6862
|
updatedAt: Date;
|
@@ -6879,9 +6897,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
6879
6897
|
telephonySignature: string | null;
|
6880
6898
|
};
|
6881
6899
|
}, {
|
6900
|
+
name: string;
|
6882
6901
|
id: string;
|
6883
6902
|
address: string | null;
|
6884
|
-
name: string;
|
6885
6903
|
email: string;
|
6886
6904
|
createdAt: Date;
|
6887
6905
|
updatedAt: Date;
|
@@ -7040,9 +7058,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7040
7058
|
telephonySignature: string | null;
|
7041
7059
|
}>;
|
7042
7060
|
}, "strip", z.ZodTypeAny, {
|
7061
|
+
name: string;
|
7043
7062
|
id: string;
|
7044
7063
|
address: string | null;
|
7045
|
-
name: string;
|
7046
7064
|
email: string;
|
7047
7065
|
createdAt: Date;
|
7048
7066
|
updatedAt: Date;
|
@@ -7083,9 +7101,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7083
7101
|
telephonySignature: string | null;
|
7084
7102
|
};
|
7085
7103
|
}, {
|
7104
|
+
name: string;
|
7086
7105
|
id: string;
|
7087
7106
|
address: string | null;
|
7088
|
-
name: string;
|
7089
7107
|
email: string;
|
7090
7108
|
createdAt: Date;
|
7091
7109
|
updatedAt: Date;
|
@@ -7164,10 +7182,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7164
7182
|
deletedAt: Date | null;
|
7165
7183
|
entityId: string;
|
7166
7184
|
contact: {
|
7185
|
+
name: string;
|
7167
7186
|
id: string;
|
7168
7187
|
channel: string | null;
|
7169
7188
|
address: string | null;
|
7170
|
-
name: string;
|
7171
7189
|
createdAt: Date;
|
7172
7190
|
updatedAt: Date;
|
7173
7191
|
deletedAt: Date | null;
|
@@ -7212,8 +7230,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7212
7230
|
createdAt: Date;
|
7213
7231
|
updatedAt: Date;
|
7214
7232
|
deletedAt: Date | null;
|
7215
|
-
address?: string | null | undefined;
|
7216
7233
|
name?: string | undefined;
|
7234
|
+
address?: string | null | undefined;
|
7217
7235
|
phone?: string | null | undefined;
|
7218
7236
|
industry?: string | null | undefined;
|
7219
7237
|
} | null;
|
@@ -7221,8 +7239,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7221
7239
|
contactProfile: string | null;
|
7222
7240
|
socialProfileUrl: string | null;
|
7223
7241
|
tags: {
|
7224
|
-
id: string;
|
7225
7242
|
name: string;
|
7243
|
+
id: string;
|
7226
7244
|
createdAt: Date;
|
7227
7245
|
updatedAt: Date;
|
7228
7246
|
deletedAt: Date | null;
|
@@ -7247,8 +7265,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7247
7265
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7248
7266
|
id: string;
|
7249
7267
|
metadata: {
|
7250
|
-
id: string;
|
7251
7268
|
name: string;
|
7269
|
+
id: string;
|
7252
7270
|
picture?: string | undefined;
|
7253
7271
|
additionalCredentials?: any;
|
7254
7272
|
};
|
@@ -7314,8 +7332,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7314
7332
|
}[];
|
7315
7333
|
}[];
|
7316
7334
|
tags: {
|
7317
|
-
id: string;
|
7318
7335
|
name: string;
|
7336
|
+
id: string;
|
7319
7337
|
createdAt: Date;
|
7320
7338
|
updatedAt: Date;
|
7321
7339
|
deletedAt: Date | null;
|
@@ -7354,12 +7372,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7354
7372
|
room: {
|
7355
7373
|
id: string;
|
7356
7374
|
channel: {
|
7375
|
+
name: string;
|
7357
7376
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7358
7377
|
id: string;
|
7359
|
-
name: string;
|
7360
7378
|
metadata: {
|
7361
|
-
id: string;
|
7362
7379
|
name: string;
|
7380
|
+
id: string;
|
7363
7381
|
accessToken?: string | undefined;
|
7364
7382
|
channelSecret?: string | undefined;
|
7365
7383
|
additionalCredentials?: any;
|
@@ -7371,10 +7389,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7371
7389
|
email?: string | null | undefined;
|
7372
7390
|
clientId?: string | null | undefined;
|
7373
7391
|
channelId?: string | null | undefined;
|
7374
|
-
|
7392
|
+
waapiInstanceId?: string | null | undefined;
|
7393
|
+
qr?: string | null | undefined;
|
7394
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
7375
7395
|
apiKey?: string | undefined;
|
7376
7396
|
tier?: "basic" | "regular" | "premium" | undefined;
|
7377
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
7397
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
7378
7398
|
} | undefined;
|
7379
7399
|
vonageCredentials?: {
|
7380
7400
|
apiKey: string;
|
@@ -7390,9 +7410,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7390
7410
|
updatedAt: Date;
|
7391
7411
|
deletedAt: Date | null;
|
7392
7412
|
actor: {
|
7413
|
+
name: string;
|
7393
7414
|
id: string;
|
7394
7415
|
address: string | null;
|
7395
|
-
name: string;
|
7396
7416
|
email: string;
|
7397
7417
|
createdAt: Date;
|
7398
7418
|
updatedAt: Date;
|
@@ -7439,8 +7459,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7439
7459
|
connectedUserName: string;
|
7440
7460
|
connectedUserId: string;
|
7441
7461
|
botpressBot: {
|
7442
|
-
id: string;
|
7443
7462
|
name: string;
|
7463
|
+
id: string;
|
7444
7464
|
accessToken: string;
|
7445
7465
|
botId: string;
|
7446
7466
|
integrationId: string;
|
@@ -7451,9 +7471,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7451
7471
|
updatedAt: Date;
|
7452
7472
|
deletedAt: Date | null;
|
7453
7473
|
actor: {
|
7474
|
+
name: string;
|
7454
7475
|
id: string;
|
7455
7476
|
address: string | null;
|
7456
|
-
name: string;
|
7457
7477
|
email: string;
|
7458
7478
|
createdAt: Date;
|
7459
7479
|
updatedAt: Date;
|
@@ -7505,8 +7525,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7505
7525
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7506
7526
|
id: string;
|
7507
7527
|
metadata: {
|
7508
|
-
id: string;
|
7509
7528
|
name: string;
|
7529
|
+
id: string;
|
7510
7530
|
picture?: string | undefined;
|
7511
7531
|
additionalCredentials?: any;
|
7512
7532
|
};
|
@@ -7514,10 +7534,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7514
7534
|
updatedAt: Date;
|
7515
7535
|
deletedAt: Date | null;
|
7516
7536
|
contact: {
|
7537
|
+
name: string;
|
7517
7538
|
id: string;
|
7518
7539
|
channel: string | null;
|
7519
7540
|
address: string | null;
|
7520
|
-
name: string;
|
7521
7541
|
createdAt: Date;
|
7522
7542
|
updatedAt: Date;
|
7523
7543
|
deletedAt: Date | null;
|
@@ -7562,8 +7582,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7562
7582
|
createdAt: Date;
|
7563
7583
|
updatedAt: Date;
|
7564
7584
|
deletedAt: Date | null;
|
7565
|
-
address?: string | null | undefined;
|
7566
7585
|
name?: string | undefined;
|
7586
|
+
address?: string | null | undefined;
|
7567
7587
|
phone?: string | null | undefined;
|
7568
7588
|
industry?: string | null | undefined;
|
7569
7589
|
} | null;
|
@@ -7571,8 +7591,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7571
7591
|
contactProfile: string | null;
|
7572
7592
|
socialProfileUrl: string | null;
|
7573
7593
|
tags: {
|
7574
|
-
id: string;
|
7575
7594
|
name: string;
|
7595
|
+
id: string;
|
7576
7596
|
createdAt: Date;
|
7577
7597
|
updatedAt: Date;
|
7578
7598
|
deletedAt: Date | null;
|
@@ -7597,8 +7617,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7597
7617
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7598
7618
|
id: string;
|
7599
7619
|
metadata: {
|
7600
|
-
id: string;
|
7601
7620
|
name: string;
|
7621
|
+
id: string;
|
7602
7622
|
picture?: string | undefined;
|
7603
7623
|
additionalCredentials?: any;
|
7604
7624
|
};
|
@@ -7629,9 +7649,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7629
7649
|
socialPlatformId: string;
|
7630
7650
|
};
|
7631
7651
|
assignee: {
|
7652
|
+
name: string;
|
7632
7653
|
id: string;
|
7633
7654
|
address: string | null;
|
7634
|
-
name: string;
|
7635
7655
|
email: string;
|
7636
7656
|
createdAt: Date;
|
7637
7657
|
updatedAt: Date;
|
@@ -7699,9 +7719,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7699
7719
|
callTo?: {
|
7700
7720
|
id: string;
|
7701
7721
|
user: {
|
7722
|
+
name: string;
|
7702
7723
|
id: string;
|
7703
7724
|
address: string | null;
|
7704
|
-
name: string;
|
7705
7725
|
email: string;
|
7706
7726
|
createdAt: Date;
|
7707
7727
|
updatedAt: Date;
|
@@ -7725,9 +7745,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7725
7745
|
callFrom?: {
|
7726
7746
|
id: string;
|
7727
7747
|
user: {
|
7748
|
+
name: string;
|
7728
7749
|
id: string;
|
7729
7750
|
address: string | null;
|
7730
|
-
name: string;
|
7731
7751
|
email: string;
|
7732
7752
|
createdAt: Date;
|
7733
7753
|
updatedAt: Date;
|
@@ -7753,10 +7773,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7753
7773
|
telephonyQueueId: string | null;
|
7754
7774
|
contactId: string | null;
|
7755
7775
|
contact?: {
|
7776
|
+
name: string;
|
7756
7777
|
id: string;
|
7757
7778
|
channel: string | null;
|
7758
7779
|
address: string | null;
|
7759
|
-
name: string;
|
7760
7780
|
createdAt: Date;
|
7761
7781
|
updatedAt: Date;
|
7762
7782
|
deletedAt: Date | null;
|
@@ -7801,8 +7821,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7801
7821
|
createdAt: Date;
|
7802
7822
|
updatedAt: Date;
|
7803
7823
|
deletedAt: Date | null;
|
7804
|
-
address?: string | null | undefined;
|
7805
7824
|
name?: string | undefined;
|
7825
|
+
address?: string | null | undefined;
|
7806
7826
|
phone?: string | null | undefined;
|
7807
7827
|
industry?: string | null | undefined;
|
7808
7828
|
} | null;
|
@@ -7810,8 +7830,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7810
7830
|
contactProfile: string | null;
|
7811
7831
|
socialProfileUrl: string | null;
|
7812
7832
|
tags: {
|
7813
|
-
id: string;
|
7814
7833
|
name: string;
|
7834
|
+
id: string;
|
7815
7835
|
createdAt: Date;
|
7816
7836
|
updatedAt: Date;
|
7817
7837
|
deletedAt: Date | null;
|
@@ -7836,8 +7856,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7836
7856
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
7837
7857
|
id: string;
|
7838
7858
|
metadata: {
|
7839
|
-
id: string;
|
7840
7859
|
name: string;
|
7860
|
+
id: string;
|
7841
7861
|
picture?: string | undefined;
|
7842
7862
|
additionalCredentials?: any;
|
7843
7863
|
};
|
@@ -7899,9 +7919,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7899
7919
|
extensionName: string;
|
7900
7920
|
telephonySignature: string | null;
|
7901
7921
|
user?: {
|
7922
|
+
name: string;
|
7902
7923
|
id: string;
|
7903
7924
|
address: string | null;
|
7904
|
-
name: string;
|
7905
7925
|
email: string;
|
7906
7926
|
createdAt: Date;
|
7907
7927
|
updatedAt: Date;
|
@@ -7948,9 +7968,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7948
7968
|
queueName?: string | null | undefined;
|
7949
7969
|
} | null;
|
7950
7970
|
firstAssignee: {
|
7971
|
+
name: string;
|
7951
7972
|
id: string;
|
7952
7973
|
address: string | null;
|
7953
|
-
name: string;
|
7954
7974
|
email: string;
|
7955
7975
|
createdAt: Date;
|
7956
7976
|
updatedAt: Date;
|
@@ -7992,9 +8012,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
7992
8012
|
};
|
7993
8013
|
} | null;
|
7994
8014
|
agent: {
|
8015
|
+
name: string;
|
7995
8016
|
id: string;
|
7996
8017
|
address: string | null;
|
7997
|
-
name: string;
|
7998
8018
|
email: string;
|
7999
8019
|
createdAt: Date;
|
8000
8020
|
updatedAt: Date;
|
@@ -8036,9 +8056,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8036
8056
|
};
|
8037
8057
|
} | null;
|
8038
8058
|
closedAssignee: {
|
8059
|
+
name: string;
|
8039
8060
|
id: string;
|
8040
8061
|
address: string | null;
|
8041
|
-
name: string;
|
8042
8062
|
email: string;
|
8043
8063
|
createdAt: Date;
|
8044
8064
|
updatedAt: Date;
|
@@ -8099,10 +8119,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8099
8119
|
deletedAt: Date | null;
|
8100
8120
|
entityId: string;
|
8101
8121
|
contact: {
|
8122
|
+
name: string;
|
8102
8123
|
id: string;
|
8103
8124
|
channel: string | null;
|
8104
8125
|
address: string | null;
|
8105
|
-
name: string;
|
8106
8126
|
createdAt: Date;
|
8107
8127
|
updatedAt: Date;
|
8108
8128
|
deletedAt: Date | null;
|
@@ -8147,8 +8167,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8147
8167
|
createdAt: Date;
|
8148
8168
|
updatedAt: Date;
|
8149
8169
|
deletedAt: Date | null;
|
8150
|
-
address?: string | null | undefined;
|
8151
8170
|
name?: string | undefined;
|
8171
|
+
address?: string | null | undefined;
|
8152
8172
|
phone?: string | null | undefined;
|
8153
8173
|
industry?: string | null | undefined;
|
8154
8174
|
} | null;
|
@@ -8156,8 +8176,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8156
8176
|
contactProfile: string | null;
|
8157
8177
|
socialProfileUrl: string | null;
|
8158
8178
|
tags: {
|
8159
|
-
id: string;
|
8160
8179
|
name: string;
|
8180
|
+
id: string;
|
8161
8181
|
createdAt: Date;
|
8162
8182
|
updatedAt: Date;
|
8163
8183
|
deletedAt: Date | null;
|
@@ -8182,8 +8202,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8182
8202
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8183
8203
|
id: string;
|
8184
8204
|
metadata: {
|
8185
|
-
id: string;
|
8186
8205
|
name: string;
|
8206
|
+
id: string;
|
8187
8207
|
picture?: string | undefined;
|
8188
8208
|
additionalCredentials?: any;
|
8189
8209
|
};
|
@@ -8249,8 +8269,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8249
8269
|
}[];
|
8250
8270
|
}[];
|
8251
8271
|
tags: {
|
8252
|
-
id: string;
|
8253
8272
|
name: string;
|
8273
|
+
id: string;
|
8254
8274
|
createdAt: Date;
|
8255
8275
|
updatedAt: Date;
|
8256
8276
|
deletedAt: Date | null;
|
@@ -8289,12 +8309,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8289
8309
|
room: {
|
8290
8310
|
id: string;
|
8291
8311
|
channel: {
|
8312
|
+
name: string;
|
8292
8313
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8293
8314
|
id: string;
|
8294
|
-
name: string;
|
8295
8315
|
metadata: {
|
8296
|
-
id: string;
|
8297
8316
|
name: string;
|
8317
|
+
id: string;
|
8298
8318
|
accessToken?: string | undefined;
|
8299
8319
|
channelSecret?: string | undefined;
|
8300
8320
|
additionalCredentials?: any;
|
@@ -8306,10 +8326,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8306
8326
|
email?: string | null | undefined;
|
8307
8327
|
clientId?: string | null | undefined;
|
8308
8328
|
channelId?: string | null | undefined;
|
8309
|
-
|
8329
|
+
waapiInstanceId?: string | null | undefined;
|
8330
|
+
qr?: string | null | undefined;
|
8331
|
+
status?: "active" | "pending" | "waapi-qr" | undefined;
|
8310
8332
|
apiKey?: string | undefined;
|
8311
8333
|
tier?: "basic" | "regular" | "premium" | undefined;
|
8312
|
-
integrationType?: "meta" | "360dialog" | undefined;
|
8334
|
+
integrationType?: "meta" | "360dialog" | "waapi" | undefined;
|
8313
8335
|
} | undefined;
|
8314
8336
|
vonageCredentials?: {
|
8315
8337
|
apiKey: string;
|
@@ -8325,9 +8347,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8325
8347
|
updatedAt: Date;
|
8326
8348
|
deletedAt: Date | null;
|
8327
8349
|
actor: {
|
8350
|
+
name: string;
|
8328
8351
|
id: string;
|
8329
8352
|
address: string | null;
|
8330
|
-
name: string;
|
8331
8353
|
email: string;
|
8332
8354
|
createdAt: Date;
|
8333
8355
|
updatedAt: Date;
|
@@ -8374,8 +8396,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8374
8396
|
connectedUserName: string;
|
8375
8397
|
connectedUserId: string;
|
8376
8398
|
botpressBot: {
|
8377
|
-
id: string;
|
8378
8399
|
name: string;
|
8400
|
+
id: string;
|
8379
8401
|
accessToken: string;
|
8380
8402
|
botId: string;
|
8381
8403
|
integrationId: string;
|
@@ -8386,9 +8408,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8386
8408
|
updatedAt: Date;
|
8387
8409
|
deletedAt: Date | null;
|
8388
8410
|
actor: {
|
8411
|
+
name: string;
|
8389
8412
|
id: string;
|
8390
8413
|
address: string | null;
|
8391
|
-
name: string;
|
8392
8414
|
email: string;
|
8393
8415
|
createdAt: Date;
|
8394
8416
|
updatedAt: Date;
|
@@ -8440,8 +8462,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8440
8462
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8441
8463
|
id: string;
|
8442
8464
|
metadata: {
|
8443
|
-
id: string;
|
8444
8465
|
name: string;
|
8466
|
+
id: string;
|
8445
8467
|
picture?: string | undefined;
|
8446
8468
|
additionalCredentials?: any;
|
8447
8469
|
};
|
@@ -8449,10 +8471,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8449
8471
|
updatedAt: Date;
|
8450
8472
|
deletedAt: Date | null;
|
8451
8473
|
contact: {
|
8474
|
+
name: string;
|
8452
8475
|
id: string;
|
8453
8476
|
channel: string | null;
|
8454
8477
|
address: string | null;
|
8455
|
-
name: string;
|
8456
8478
|
createdAt: Date;
|
8457
8479
|
updatedAt: Date;
|
8458
8480
|
deletedAt: Date | null;
|
@@ -8497,8 +8519,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8497
8519
|
createdAt: Date;
|
8498
8520
|
updatedAt: Date;
|
8499
8521
|
deletedAt: Date | null;
|
8500
|
-
address?: string | null | undefined;
|
8501
8522
|
name?: string | undefined;
|
8523
|
+
address?: string | null | undefined;
|
8502
8524
|
phone?: string | null | undefined;
|
8503
8525
|
industry?: string | null | undefined;
|
8504
8526
|
} | null;
|
@@ -8506,8 +8528,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8506
8528
|
contactProfile: string | null;
|
8507
8529
|
socialProfileUrl: string | null;
|
8508
8530
|
tags: {
|
8509
|
-
id: string;
|
8510
8531
|
name: string;
|
8532
|
+
id: string;
|
8511
8533
|
createdAt: Date;
|
8512
8534
|
updatedAt: Date;
|
8513
8535
|
deletedAt: Date | null;
|
@@ -8532,8 +8554,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8532
8554
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8533
8555
|
id: string;
|
8534
8556
|
metadata: {
|
8535
|
-
id: string;
|
8536
8557
|
name: string;
|
8558
|
+
id: string;
|
8537
8559
|
picture?: string | undefined;
|
8538
8560
|
additionalCredentials?: any;
|
8539
8561
|
};
|
@@ -8564,9 +8586,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8564
8586
|
socialPlatformId: string;
|
8565
8587
|
};
|
8566
8588
|
assignee: {
|
8589
|
+
name: string;
|
8567
8590
|
id: string;
|
8568
8591
|
address: string | null;
|
8569
|
-
name: string;
|
8570
8592
|
email: string;
|
8571
8593
|
createdAt: Date;
|
8572
8594
|
updatedAt: Date;
|
@@ -8634,9 +8656,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8634
8656
|
callTo?: {
|
8635
8657
|
id: string;
|
8636
8658
|
user: {
|
8659
|
+
name: string;
|
8637
8660
|
id: string;
|
8638
8661
|
address: string | null;
|
8639
|
-
name: string;
|
8640
8662
|
email: string;
|
8641
8663
|
createdAt: Date;
|
8642
8664
|
updatedAt: Date;
|
@@ -8660,9 +8682,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8660
8682
|
callFrom?: {
|
8661
8683
|
id: string;
|
8662
8684
|
user: {
|
8685
|
+
name: string;
|
8663
8686
|
id: string;
|
8664
8687
|
address: string | null;
|
8665
|
-
name: string;
|
8666
8688
|
email: string;
|
8667
8689
|
createdAt: Date;
|
8668
8690
|
updatedAt: Date;
|
@@ -8688,10 +8710,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8688
8710
|
telephonyQueueId: string | null;
|
8689
8711
|
contactId: string | null;
|
8690
8712
|
contact?: {
|
8713
|
+
name: string;
|
8691
8714
|
id: string;
|
8692
8715
|
channel: string | null;
|
8693
8716
|
address: string | null;
|
8694
|
-
name: string;
|
8695
8717
|
createdAt: Date;
|
8696
8718
|
updatedAt: Date;
|
8697
8719
|
deletedAt: Date | null;
|
@@ -8736,8 +8758,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8736
8758
|
createdAt: Date;
|
8737
8759
|
updatedAt: Date;
|
8738
8760
|
deletedAt: Date | null;
|
8739
|
-
address?: string | null | undefined;
|
8740
8761
|
name?: string | undefined;
|
8762
|
+
address?: string | null | undefined;
|
8741
8763
|
phone?: string | null | undefined;
|
8742
8764
|
industry?: string | null | undefined;
|
8743
8765
|
} | null;
|
@@ -8745,8 +8767,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8745
8767
|
contactProfile: string | null;
|
8746
8768
|
socialProfileUrl: string | null;
|
8747
8769
|
tags: {
|
8748
|
-
id: string;
|
8749
8770
|
name: string;
|
8771
|
+
id: string;
|
8750
8772
|
createdAt: Date;
|
8751
8773
|
updatedAt: Date;
|
8752
8774
|
deletedAt: Date | null;
|
@@ -8771,8 +8793,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8771
8793
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
8772
8794
|
id: string;
|
8773
8795
|
metadata: {
|
8774
|
-
id: string;
|
8775
8796
|
name: string;
|
8797
|
+
id: string;
|
8776
8798
|
picture?: string | undefined;
|
8777
8799
|
additionalCredentials?: any;
|
8778
8800
|
};
|
@@ -8834,9 +8856,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8834
8856
|
extensionName: string;
|
8835
8857
|
telephonySignature: string | null;
|
8836
8858
|
user?: {
|
8859
|
+
name: string;
|
8837
8860
|
id: string;
|
8838
8861
|
address: string | null;
|
8839
|
-
name: string;
|
8840
8862
|
email: string;
|
8841
8863
|
createdAt: Date;
|
8842
8864
|
updatedAt: Date;
|
@@ -8883,9 +8905,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8883
8905
|
queueName?: string | null | undefined;
|
8884
8906
|
} | null;
|
8885
8907
|
firstAssignee: {
|
8908
|
+
name: string;
|
8886
8909
|
id: string;
|
8887
8910
|
address: string | null;
|
8888
|
-
name: string;
|
8889
8911
|
email: string;
|
8890
8912
|
createdAt: Date;
|
8891
8913
|
updatedAt: Date;
|
@@ -8927,9 +8949,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8927
8949
|
};
|
8928
8950
|
} | null;
|
8929
8951
|
agent: {
|
8952
|
+
name: string;
|
8930
8953
|
id: string;
|
8931
8954
|
address: string | null;
|
8932
|
-
name: string;
|
8933
8955
|
email: string;
|
8934
8956
|
createdAt: Date;
|
8935
8957
|
updatedAt: Date;
|
@@ -8971,9 +8993,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
8971
8993
|
};
|
8972
8994
|
} | null;
|
8973
8995
|
closedAssignee: {
|
8996
|
+
name: string;
|
8974
8997
|
id: string;
|
8975
8998
|
address: string | null;
|
8976
|
-
name: string;
|
8977
8999
|
email: string;
|
8978
9000
|
createdAt: Date;
|
8979
9001
|
updatedAt: Date;
|