@kl1/contracts 1.2.32-uat → 1.2.34-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/attribute/index.d.ts +4 -4
- package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +80 -80
- package/dist/api-contracts/src/automation-queue/schema.d.ts +10 -10
- package/dist/api-contracts/src/botpress/index.d.ts +28 -28
- package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
- package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/index.d.ts +32 -32
- package/dist/api-contracts/src/business-calendar/schema.d.ts +8 -8
- package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
- package/dist/api-contracts/src/category/index.d.ts +12 -12
- package/dist/api-contracts/src/category/schema.d.ts +2 -2
- package/dist/api-contracts/src/channel/index.d.ts +467 -467
- package/dist/api-contracts/src/channel/schema.d.ts +16 -16
- package/dist/api-contracts/src/channel/validation.d.ts +20 -20
- package/dist/api-contracts/src/chat/index.d.ts +4615 -3734
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1213 -1018
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +905 -748
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +244 -244
- package/dist/api-contracts/src/comment/schema.d.ts +68 -68
- package/dist/api-contracts/src/company/index.d.ts +4 -4
- package/dist/api-contracts/src/company/validation.d.ts +4 -4
- package/dist/api-contracts/src/contact/index.d.ts +246 -246
- package/dist/api-contracts/src/contact/schema.d.ts +26 -26
- package/dist/api-contracts/src/contact/validation.d.ts +134 -134
- package/dist/api-contracts/src/contract.d.ts +9877 -8920
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +267 -252
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +234 -206
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +2 -2
- package/dist/api-contracts/src/dashboard/index.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/schema.d.ts +34 -34
- package/dist/api-contracts/src/extension/index.d.ts +4 -4
- package/dist/api-contracts/src/facebook-feed/index.d.ts +816 -708
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +64 -64
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +66 -66
- package/dist/api-contracts/src/hold-label/index.d.ts +64 -30
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +14 -6
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- package/dist/api-contracts/src/index.d.ts +0 -1
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +704 -596
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +10 -10
- package/dist/api-contracts/src/line/index.d.ts +716 -608
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +4 -4
- package/dist/api-contracts/src/line/validation.d.ts +50 -50
- package/dist/api-contracts/src/mail/account-contract.d.ts +72 -72
- package/dist/api-contracts/src/mail/mail-contract.d.ts +2715 -2598
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +26 -26
- package/dist/api-contracts/src/mail/message-contract.d.ts +272 -272
- package/dist/api-contracts/src/mail/room-contract.d.ts +1591 -1474
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
- package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +517 -478
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +495 -466
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +707 -599
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
- package/dist/api-contracts/src/messenger/validation.d.ts +62 -62
- package/dist/api-contracts/src/notification/index.d.ts +26 -26
- package/dist/api-contracts/src/notification/schema.d.ts +18 -18
- package/dist/api-contracts/src/notification/validation.d.ts +10 -10
- package/dist/api-contracts/src/public-api/index.d.ts +84 -84
- package/dist/api-contracts/src/public-api/schema.d.ts +10 -10
- package/dist/api-contracts/src/public-api/validation.d.ts +20 -20
- package/dist/api-contracts/src/sms/index.d.ts +86 -86
- package/dist/api-contracts/src/sms/schema.d.ts +8 -8
- package/dist/api-contracts/src/sms/validation.d.ts +2 -2
- package/dist/api-contracts/src/snippet/index.d.ts +42 -42
- package/dist/api-contracts/src/snippet/schema.d.ts +10 -10
- package/dist/api-contracts/src/subscription/index.d.ts +184 -184
- package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
- package/dist/api-contracts/src/tag/index.d.ts +12 -12
- package/dist/api-contracts/src/tag/schema.d.ts +2 -2
- package/dist/api-contracts/src/telegram/index.d.ts +664 -556
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +186 -186
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +58 -58
- package/dist/api-contracts/src/tenant/schema.d.ts +2 -2
- package/dist/api-contracts/src/ticket/index.d.ts +328 -328
- package/dist/api-contracts/src/ticket/schema.d.ts +42 -42
- package/dist/api-contracts/src/user/index.d.ts +23 -23
- package/dist/api-contracts/src/user/schema.d.ts +2 -2
- package/dist/api-contracts/src/user/validation.d.ts +5 -5
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +4 -4
- package/dist/api-contracts/src/viber/index.d.ts +676 -568
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/validation.d.ts +4 -4
- package/dist/api-contracts/src/webchat/index.d.ts +670 -562
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
- package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
- package/dist/api-contracts/src/whatsapp/index.d.ts +670 -562
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +24 -24
- package/dist/api-contracts/src/widget/schema.d.ts +2 -2
- package/dist/api-contracts/src/widget/validation.d.ts +4 -4
- package/dist/api-contracts/src/workflow-rule/index.d.ts +310 -232
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -2
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +26 -26
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +4 -4
- package/dist/api-contracts/utils.d.ts +1 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +13 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +0 -115
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +0 -1
|
@@ -13,8 +13,12 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
13
13
|
agentId: z.ZodNullable<z.ZodString>;
|
|
14
14
|
direction: z.ZodNullable<z.ZodString>;
|
|
15
15
|
startedDate: z.ZodNullable<z.ZodDate>;
|
|
16
|
+
totalHoldDuration: z.ZodNullable<z.ZodNumber>;
|
|
16
17
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
fullHandledTime: z.ZodNullable<z.ZodNumber>;
|
|
17
19
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
|
20
|
+
resolutionTime: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
fullResolutionTime: z.ZodNullable<z.ZodNumber>;
|
|
18
22
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
|
19
23
|
id: z.ZodString;
|
|
20
24
|
createdAt: z.ZodDate;
|
|
@@ -30,14 +34,14 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
30
34
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31
35
|
name: z.ZodString;
|
|
32
36
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
id: string;
|
|
34
37
|
name: string;
|
|
38
|
+
id: string;
|
|
35
39
|
createdAt: Date;
|
|
36
40
|
updatedAt: Date;
|
|
37
41
|
deletedAt: Date | null;
|
|
38
42
|
}, {
|
|
39
|
-
id: string;
|
|
40
43
|
name: string;
|
|
44
|
+
id: string;
|
|
41
45
|
createdAt: Date;
|
|
42
46
|
updatedAt: Date;
|
|
43
47
|
deletedAt: Date | null;
|
|
@@ -208,8 +212,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
208
212
|
}[];
|
|
209
213
|
}[];
|
|
210
214
|
tags: {
|
|
211
|
-
id: string;
|
|
212
215
|
name: string;
|
|
216
|
+
id: string;
|
|
213
217
|
createdAt: Date;
|
|
214
218
|
updatedAt: Date;
|
|
215
219
|
deletedAt: Date | null;
|
|
@@ -259,8 +263,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
259
263
|
}[];
|
|
260
264
|
}[];
|
|
261
265
|
tags: {
|
|
262
|
-
id: string;
|
|
263
266
|
name: string;
|
|
267
|
+
id: string;
|
|
264
268
|
createdAt: Date;
|
|
265
269
|
updatedAt: Date;
|
|
266
270
|
deletedAt: Date | null;
|
|
@@ -296,20 +300,23 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
296
300
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
297
301
|
name: z.ZodString;
|
|
298
302
|
position: z.ZodNumber;
|
|
303
|
+
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
299
304
|
}, "strip", z.ZodTypeAny, {
|
|
300
|
-
id: string;
|
|
301
305
|
name: string;
|
|
306
|
+
id: string;
|
|
302
307
|
position: number;
|
|
303
308
|
createdAt: Date;
|
|
304
309
|
updatedAt: Date;
|
|
305
310
|
deletedAt: Date | null;
|
|
311
|
+
isDefault: boolean;
|
|
306
312
|
}, {
|
|
307
|
-
id: string;
|
|
308
313
|
name: string;
|
|
314
|
+
id: string;
|
|
309
315
|
position: number;
|
|
310
316
|
createdAt: Date;
|
|
311
317
|
updatedAt: Date;
|
|
312
318
|
deletedAt: Date | null;
|
|
319
|
+
isDefault?: boolean | undefined;
|
|
313
320
|
}>>>;
|
|
314
321
|
}, "strip", z.ZodTypeAny, {
|
|
315
322
|
id: string;
|
|
@@ -320,12 +327,13 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
320
327
|
endedAt: string | null;
|
|
321
328
|
duration: number | null;
|
|
322
329
|
holdLabel?: {
|
|
323
|
-
id: string;
|
|
324
330
|
name: string;
|
|
331
|
+
id: string;
|
|
325
332
|
position: number;
|
|
326
333
|
createdAt: Date;
|
|
327
334
|
updatedAt: Date;
|
|
328
335
|
deletedAt: Date | null;
|
|
336
|
+
isDefault: boolean;
|
|
329
337
|
} | null | undefined;
|
|
330
338
|
}, {
|
|
331
339
|
id: string;
|
|
@@ -336,12 +344,13 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
336
344
|
endedAt: string | null;
|
|
337
345
|
duration: number | null;
|
|
338
346
|
holdLabel?: {
|
|
339
|
-
id: string;
|
|
340
347
|
name: string;
|
|
348
|
+
id: string;
|
|
341
349
|
position: number;
|
|
342
350
|
createdAt: Date;
|
|
343
351
|
updatedAt: Date;
|
|
344
352
|
deletedAt: Date | null;
|
|
353
|
+
isDefault?: boolean | undefined;
|
|
345
354
|
} | null | undefined;
|
|
346
355
|
}>, "many">>>;
|
|
347
356
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -358,8 +367,12 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
358
367
|
entityName: string;
|
|
359
368
|
agentId: string | null;
|
|
360
369
|
startedDate: Date | null;
|
|
370
|
+
totalHoldDuration: number | null;
|
|
361
371
|
handledTime: number | null;
|
|
372
|
+
fullHandledTime: number | null;
|
|
362
373
|
firstResponseTime: number | null;
|
|
374
|
+
resolutionTime: number | null;
|
|
375
|
+
fullResolutionTime: number | null;
|
|
363
376
|
wrapUpForm: {
|
|
364
377
|
type: string;
|
|
365
378
|
id: string;
|
|
@@ -390,8 +403,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
390
403
|
}[];
|
|
391
404
|
}[];
|
|
392
405
|
tags: {
|
|
393
|
-
id: string;
|
|
394
406
|
name: string;
|
|
407
|
+
id: string;
|
|
395
408
|
createdAt: Date;
|
|
396
409
|
updatedAt: Date;
|
|
397
410
|
deletedAt: Date | null;
|
|
@@ -421,12 +434,13 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
421
434
|
endedAt: string | null;
|
|
422
435
|
duration: number | null;
|
|
423
436
|
holdLabel?: {
|
|
424
|
-
id: string;
|
|
425
437
|
name: string;
|
|
438
|
+
id: string;
|
|
426
439
|
position: number;
|
|
427
440
|
createdAt: Date;
|
|
428
441
|
updatedAt: Date;
|
|
429
442
|
deletedAt: Date | null;
|
|
443
|
+
isDefault: boolean;
|
|
430
444
|
} | null | undefined;
|
|
431
445
|
}[] | null | undefined;
|
|
432
446
|
}, {
|
|
@@ -443,8 +457,12 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
443
457
|
entityName: string;
|
|
444
458
|
agentId: string | null;
|
|
445
459
|
startedDate: Date | null;
|
|
460
|
+
totalHoldDuration: number | null;
|
|
446
461
|
handledTime: number | null;
|
|
462
|
+
fullHandledTime: number | null;
|
|
447
463
|
firstResponseTime: number | null;
|
|
464
|
+
resolutionTime: number | null;
|
|
465
|
+
fullResolutionTime: number | null;
|
|
448
466
|
wrapUpForm: {
|
|
449
467
|
type: string;
|
|
450
468
|
id: string;
|
|
@@ -475,8 +493,8 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
475
493
|
}[];
|
|
476
494
|
}[];
|
|
477
495
|
tags: {
|
|
478
|
-
id: string;
|
|
479
496
|
name: string;
|
|
497
|
+
id: string;
|
|
480
498
|
createdAt: Date;
|
|
481
499
|
updatedAt: Date;
|
|
482
500
|
deletedAt: Date | null;
|
|
@@ -506,12 +524,13 @@ export declare const CxLogSchema: z.ZodObject<{
|
|
|
506
524
|
endedAt: string | null;
|
|
507
525
|
duration: number | null;
|
|
508
526
|
holdLabel?: {
|
|
509
|
-
id: string;
|
|
510
527
|
name: string;
|
|
528
|
+
id: string;
|
|
511
529
|
position: number;
|
|
512
530
|
createdAt: Date;
|
|
513
531
|
updatedAt: Date;
|
|
514
532
|
deletedAt: Date | null;
|
|
533
|
+
isDefault?: boolean | undefined;
|
|
515
534
|
} | null | undefined;
|
|
516
535
|
}[] | null | undefined;
|
|
517
536
|
}>;
|
|
@@ -528,8 +547,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
528
547
|
channel: z.ZodNullable<z.ZodString>;
|
|
529
548
|
direction: z.ZodNullable<z.ZodString>;
|
|
530
549
|
startedDate: z.ZodNullable<z.ZodString>;
|
|
550
|
+
totalHoldDuration: z.ZodNullable<z.ZodString>;
|
|
531
551
|
handledTime: z.ZodNullable<z.ZodString>;
|
|
552
|
+
fullHandledTime: z.ZodNullable<z.ZodString>;
|
|
532
553
|
firstResponseTime: z.ZodNullable<z.ZodString>;
|
|
554
|
+
fullResolutionTime: z.ZodNullable<z.ZodString>;
|
|
533
555
|
firstResponseDate: z.ZodString;
|
|
534
556
|
resolutionTime: z.ZodNullable<z.ZodString>;
|
|
535
557
|
resolutionDate: z.ZodString;
|
|
@@ -575,14 +597,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
575
597
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
576
598
|
name: z.ZodString;
|
|
577
599
|
}, "strip", z.ZodTypeAny, {
|
|
578
|
-
id: string;
|
|
579
600
|
name: string;
|
|
601
|
+
id: string;
|
|
580
602
|
createdAt: Date;
|
|
581
603
|
updatedAt: Date;
|
|
582
604
|
deletedAt: Date | null;
|
|
583
605
|
}, {
|
|
584
|
-
id: string;
|
|
585
606
|
name: string;
|
|
607
|
+
id: string;
|
|
586
608
|
createdAt: Date;
|
|
587
609
|
updatedAt: Date;
|
|
588
610
|
deletedAt: Date | null;
|
|
@@ -753,8 +775,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
753
775
|
}[];
|
|
754
776
|
}[];
|
|
755
777
|
tags: {
|
|
756
|
-
id: string;
|
|
757
778
|
name: string;
|
|
779
|
+
id: string;
|
|
758
780
|
createdAt: Date;
|
|
759
781
|
updatedAt: Date;
|
|
760
782
|
deletedAt: Date | null;
|
|
@@ -804,8 +826,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
804
826
|
}[];
|
|
805
827
|
}[];
|
|
806
828
|
tags: {
|
|
807
|
-
id: string;
|
|
808
829
|
name: string;
|
|
830
|
+
id: string;
|
|
809
831
|
createdAt: Date;
|
|
810
832
|
updatedAt: Date;
|
|
811
833
|
deletedAt: Date | null;
|
|
@@ -853,13 +875,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
853
875
|
picture: z.ZodOptional<z.ZodString>;
|
|
854
876
|
additionalCredentials: z.ZodAny;
|
|
855
877
|
}, "strip", z.ZodTypeAny, {
|
|
856
|
-
id: string;
|
|
857
878
|
name: string;
|
|
879
|
+
id: string;
|
|
858
880
|
picture?: string | undefined;
|
|
859
881
|
additionalCredentials?: any;
|
|
860
882
|
}, {
|
|
861
|
-
id: string;
|
|
862
883
|
name: string;
|
|
884
|
+
id: string;
|
|
863
885
|
picture?: string | undefined;
|
|
864
886
|
additionalCredentials?: any;
|
|
865
887
|
}>;
|
|
@@ -881,14 +903,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
881
903
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
882
904
|
name: z.ZodString;
|
|
883
905
|
}, "strip", z.ZodTypeAny, {
|
|
884
|
-
id: string;
|
|
885
906
|
name: string;
|
|
907
|
+
id: string;
|
|
886
908
|
createdAt: Date;
|
|
887
909
|
updatedAt: Date;
|
|
888
910
|
deletedAt: Date | null;
|
|
889
911
|
}, {
|
|
890
|
-
id: string;
|
|
891
912
|
name: string;
|
|
913
|
+
id: string;
|
|
892
914
|
createdAt: Date;
|
|
893
915
|
updatedAt: Date;
|
|
894
916
|
deletedAt: Date | null;
|
|
@@ -1044,8 +1066,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1044
1066
|
createdAt: Date;
|
|
1045
1067
|
updatedAt: Date;
|
|
1046
1068
|
deletedAt: Date | null;
|
|
1047
|
-
address?: string | null | undefined;
|
|
1048
1069
|
name?: string | undefined;
|
|
1070
|
+
address?: string | null | undefined;
|
|
1049
1071
|
phone?: string | null | undefined;
|
|
1050
1072
|
industry?: string | null | undefined;
|
|
1051
1073
|
}, {
|
|
@@ -1053,8 +1075,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1053
1075
|
createdAt: Date;
|
|
1054
1076
|
updatedAt: Date;
|
|
1055
1077
|
deletedAt: Date | null;
|
|
1056
|
-
address?: string | null | undefined;
|
|
1057
1078
|
name?: string | undefined;
|
|
1079
|
+
address?: string | null | undefined;
|
|
1058
1080
|
phone?: string | null | undefined;
|
|
1059
1081
|
industry?: string | null | undefined;
|
|
1060
1082
|
}>>;
|
|
@@ -1072,13 +1094,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1072
1094
|
picture: z.ZodOptional<z.ZodString>;
|
|
1073
1095
|
additionalCredentials: z.ZodAny;
|
|
1074
1096
|
}, "strip", z.ZodTypeAny, {
|
|
1075
|
-
id: string;
|
|
1076
1097
|
name: string;
|
|
1098
|
+
id: string;
|
|
1077
1099
|
picture?: string | undefined;
|
|
1078
1100
|
additionalCredentials?: any;
|
|
1079
1101
|
}, {
|
|
1080
|
-
id: string;
|
|
1081
1102
|
name: string;
|
|
1103
|
+
id: string;
|
|
1082
1104
|
picture?: string | undefined;
|
|
1083
1105
|
additionalCredentials?: any;
|
|
1084
1106
|
}>;
|
|
@@ -1086,8 +1108,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1086
1108
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1087
1109
|
id: string;
|
|
1088
1110
|
metadata: {
|
|
1089
|
-
id: string;
|
|
1090
1111
|
name: string;
|
|
1112
|
+
id: string;
|
|
1091
1113
|
picture?: string | undefined;
|
|
1092
1114
|
additionalCredentials?: any;
|
|
1093
1115
|
};
|
|
@@ -1100,8 +1122,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1100
1122
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1101
1123
|
id: string;
|
|
1102
1124
|
metadata: {
|
|
1103
|
-
id: string;
|
|
1104
1125
|
name: string;
|
|
1126
|
+
id: string;
|
|
1105
1127
|
picture?: string | undefined;
|
|
1106
1128
|
additionalCredentials?: any;
|
|
1107
1129
|
};
|
|
@@ -1411,10 +1433,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1411
1433
|
};
|
|
1412
1434
|
}>, "many">>;
|
|
1413
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
|
+
name: string;
|
|
1414
1437
|
id: string;
|
|
1415
1438
|
channel: string | null;
|
|
1416
1439
|
address: string | null;
|
|
1417
|
-
name: string;
|
|
1418
1440
|
createdAt: Date;
|
|
1419
1441
|
updatedAt: Date;
|
|
1420
1442
|
deletedAt: Date | null;
|
|
@@ -1459,8 +1481,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1459
1481
|
createdAt: Date;
|
|
1460
1482
|
updatedAt: Date;
|
|
1461
1483
|
deletedAt: Date | null;
|
|
1462
|
-
address?: string | null | undefined;
|
|
1463
1484
|
name?: string | undefined;
|
|
1485
|
+
address?: string | null | undefined;
|
|
1464
1486
|
phone?: string | null | undefined;
|
|
1465
1487
|
industry?: string | null | undefined;
|
|
1466
1488
|
} | null;
|
|
@@ -1468,8 +1490,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1468
1490
|
contactProfile: string | null;
|
|
1469
1491
|
socialProfileUrl: string | null;
|
|
1470
1492
|
tags: {
|
|
1471
|
-
id: string;
|
|
1472
1493
|
name: string;
|
|
1494
|
+
id: string;
|
|
1473
1495
|
createdAt: Date;
|
|
1474
1496
|
updatedAt: Date;
|
|
1475
1497
|
deletedAt: Date | null;
|
|
@@ -1494,8 +1516,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1494
1516
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1495
1517
|
id: string;
|
|
1496
1518
|
metadata: {
|
|
1497
|
-
id: string;
|
|
1498
1519
|
name: string;
|
|
1520
|
+
id: string;
|
|
1499
1521
|
picture?: string | undefined;
|
|
1500
1522
|
additionalCredentials?: any;
|
|
1501
1523
|
};
|
|
@@ -1522,10 +1544,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1522
1544
|
};
|
|
1523
1545
|
}[] | undefined;
|
|
1524
1546
|
}, {
|
|
1547
|
+
name: string;
|
|
1525
1548
|
id: string;
|
|
1526
1549
|
channel: string | null;
|
|
1527
1550
|
address: string | null;
|
|
1528
|
-
name: string;
|
|
1529
1551
|
createdAt: Date;
|
|
1530
1552
|
updatedAt: Date;
|
|
1531
1553
|
deletedAt: Date | null;
|
|
@@ -1570,8 +1592,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1570
1592
|
createdAt: Date;
|
|
1571
1593
|
updatedAt: Date;
|
|
1572
1594
|
deletedAt: Date | null;
|
|
1573
|
-
address?: string | null | undefined;
|
|
1574
1595
|
name?: string | undefined;
|
|
1596
|
+
address?: string | null | undefined;
|
|
1575
1597
|
phone?: string | null | undefined;
|
|
1576
1598
|
industry?: string | null | undefined;
|
|
1577
1599
|
} | null;
|
|
@@ -1579,8 +1601,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1579
1601
|
contactProfile: string | null;
|
|
1580
1602
|
socialProfileUrl: string | null;
|
|
1581
1603
|
tags: {
|
|
1582
|
-
id: string;
|
|
1583
1604
|
name: string;
|
|
1605
|
+
id: string;
|
|
1584
1606
|
createdAt: Date;
|
|
1585
1607
|
updatedAt: Date;
|
|
1586
1608
|
deletedAt: Date | null;
|
|
@@ -1605,8 +1627,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1605
1627
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1606
1628
|
id: string;
|
|
1607
1629
|
metadata: {
|
|
1608
|
-
id: string;
|
|
1609
1630
|
name: string;
|
|
1631
|
+
id: string;
|
|
1610
1632
|
picture?: string | undefined;
|
|
1611
1633
|
additionalCredentials?: any;
|
|
1612
1634
|
};
|
|
@@ -1637,8 +1659,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1637
1659
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1638
1660
|
id: string;
|
|
1639
1661
|
metadata: {
|
|
1640
|
-
id: string;
|
|
1641
1662
|
name: string;
|
|
1663
|
+
id: string;
|
|
1642
1664
|
picture?: string | undefined;
|
|
1643
1665
|
additionalCredentials?: any;
|
|
1644
1666
|
};
|
|
@@ -1646,10 +1668,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1646
1668
|
updatedAt: Date;
|
|
1647
1669
|
deletedAt: Date | null;
|
|
1648
1670
|
contact: {
|
|
1671
|
+
name: string;
|
|
1649
1672
|
id: string;
|
|
1650
1673
|
channel: string | null;
|
|
1651
1674
|
address: string | null;
|
|
1652
|
-
name: string;
|
|
1653
1675
|
createdAt: Date;
|
|
1654
1676
|
updatedAt: Date;
|
|
1655
1677
|
deletedAt: Date | null;
|
|
@@ -1694,8 +1716,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1694
1716
|
createdAt: Date;
|
|
1695
1717
|
updatedAt: Date;
|
|
1696
1718
|
deletedAt: Date | null;
|
|
1697
|
-
address?: string | null | undefined;
|
|
1698
1719
|
name?: string | undefined;
|
|
1720
|
+
address?: string | null | undefined;
|
|
1699
1721
|
phone?: string | null | undefined;
|
|
1700
1722
|
industry?: string | null | undefined;
|
|
1701
1723
|
} | null;
|
|
@@ -1703,8 +1725,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1703
1725
|
contactProfile: string | null;
|
|
1704
1726
|
socialProfileUrl: string | null;
|
|
1705
1727
|
tags: {
|
|
1706
|
-
id: string;
|
|
1707
1728
|
name: string;
|
|
1729
|
+
id: string;
|
|
1708
1730
|
createdAt: Date;
|
|
1709
1731
|
updatedAt: Date;
|
|
1710
1732
|
deletedAt: Date | null;
|
|
@@ -1729,8 +1751,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1729
1751
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1730
1752
|
id: string;
|
|
1731
1753
|
metadata: {
|
|
1732
|
-
id: string;
|
|
1733
1754
|
name: string;
|
|
1755
|
+
id: string;
|
|
1734
1756
|
picture?: string | undefined;
|
|
1735
1757
|
additionalCredentials?: any;
|
|
1736
1758
|
};
|
|
@@ -1763,8 +1785,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1763
1785
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1764
1786
|
id: string;
|
|
1765
1787
|
metadata: {
|
|
1766
|
-
id: string;
|
|
1767
1788
|
name: string;
|
|
1789
|
+
id: string;
|
|
1768
1790
|
picture?: string | undefined;
|
|
1769
1791
|
additionalCredentials?: any;
|
|
1770
1792
|
};
|
|
@@ -1772,10 +1794,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1772
1794
|
updatedAt: Date;
|
|
1773
1795
|
deletedAt: Date | null;
|
|
1774
1796
|
contact: {
|
|
1797
|
+
name: string;
|
|
1775
1798
|
id: string;
|
|
1776
1799
|
channel: string | null;
|
|
1777
1800
|
address: string | null;
|
|
1778
|
-
name: string;
|
|
1779
1801
|
createdAt: Date;
|
|
1780
1802
|
updatedAt: Date;
|
|
1781
1803
|
deletedAt: Date | null;
|
|
@@ -1820,8 +1842,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1820
1842
|
createdAt: Date;
|
|
1821
1843
|
updatedAt: Date;
|
|
1822
1844
|
deletedAt: Date | null;
|
|
1823
|
-
address?: string | null | undefined;
|
|
1824
1845
|
name?: string | undefined;
|
|
1846
|
+
address?: string | null | undefined;
|
|
1825
1847
|
phone?: string | null | undefined;
|
|
1826
1848
|
industry?: string | null | undefined;
|
|
1827
1849
|
} | null;
|
|
@@ -1829,8 +1851,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1829
1851
|
contactProfile: string | null;
|
|
1830
1852
|
socialProfileUrl: string | null;
|
|
1831
1853
|
tags: {
|
|
1832
|
-
id: string;
|
|
1833
1854
|
name: string;
|
|
1855
|
+
id: string;
|
|
1834
1856
|
createdAt: Date;
|
|
1835
1857
|
updatedAt: Date;
|
|
1836
1858
|
deletedAt: Date | null;
|
|
@@ -1855,8 +1877,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
1855
1877
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
1856
1878
|
id: string;
|
|
1857
1879
|
metadata: {
|
|
1858
|
-
id: string;
|
|
1859
1880
|
name: string;
|
|
1881
|
+
id: string;
|
|
1860
1882
|
picture?: string | undefined;
|
|
1861
1883
|
additionalCredentials?: any;
|
|
1862
1884
|
};
|
|
@@ -2004,9 +2026,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2004
2026
|
telephonySignature: string | null;
|
|
2005
2027
|
}>;
|
|
2006
2028
|
}, "strip", z.ZodTypeAny, {
|
|
2029
|
+
name: string;
|
|
2007
2030
|
id: string;
|
|
2008
2031
|
address: string | null;
|
|
2009
|
-
name: string;
|
|
2010
2032
|
email: string;
|
|
2011
2033
|
createdAt: Date;
|
|
2012
2034
|
updatedAt: Date;
|
|
@@ -2047,9 +2069,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2047
2069
|
telephonySignature: string | null;
|
|
2048
2070
|
};
|
|
2049
2071
|
}, {
|
|
2072
|
+
name: string;
|
|
2050
2073
|
id: string;
|
|
2051
2074
|
address: string | null;
|
|
2052
|
-
name: string;
|
|
2053
2075
|
email: string;
|
|
2054
2076
|
createdAt: Date;
|
|
2055
2077
|
updatedAt: Date;
|
|
@@ -2208,9 +2230,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2208
2230
|
telephonySignature: string | null;
|
|
2209
2231
|
}>;
|
|
2210
2232
|
}, "strip", z.ZodTypeAny, {
|
|
2233
|
+
name: string;
|
|
2211
2234
|
id: string;
|
|
2212
2235
|
address: string | null;
|
|
2213
|
-
name: string;
|
|
2214
2236
|
email: string;
|
|
2215
2237
|
createdAt: Date;
|
|
2216
2238
|
updatedAt: Date;
|
|
@@ -2251,9 +2273,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2251
2273
|
telephonySignature: string | null;
|
|
2252
2274
|
};
|
|
2253
2275
|
}, {
|
|
2276
|
+
name: string;
|
|
2254
2277
|
id: string;
|
|
2255
2278
|
address: string | null;
|
|
2256
|
-
name: string;
|
|
2257
2279
|
email: string;
|
|
2258
2280
|
createdAt: Date;
|
|
2259
2281
|
updatedAt: Date;
|
|
@@ -2355,8 +2377,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2355
2377
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2356
2378
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2357
2379
|
}, "strip", z.ZodTypeAny, {
|
|
2358
|
-
id: string;
|
|
2359
2380
|
name: string;
|
|
2381
|
+
id: string;
|
|
2360
2382
|
accessToken?: string | undefined;
|
|
2361
2383
|
channelSecret?: string | undefined;
|
|
2362
2384
|
additionalCredentials?: any;
|
|
@@ -2380,8 +2402,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2380
2402
|
lineRichMenuId?: string | null | undefined;
|
|
2381
2403
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2382
2404
|
}, {
|
|
2383
|
-
id: string;
|
|
2384
2405
|
name: string;
|
|
2406
|
+
id: string;
|
|
2385
2407
|
accessToken?: string | undefined;
|
|
2386
2408
|
channelSecret?: string | undefined;
|
|
2387
2409
|
additionalCredentials?: any;
|
|
@@ -2418,14 +2440,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2418
2440
|
integrationId: z.ZodString;
|
|
2419
2441
|
accessToken: z.ZodString;
|
|
2420
2442
|
}, "strip", z.ZodTypeAny, {
|
|
2421
|
-
id: string;
|
|
2422
2443
|
name: string;
|
|
2444
|
+
id: string;
|
|
2423
2445
|
accessToken: string;
|
|
2424
2446
|
botId: string;
|
|
2425
2447
|
integrationId: string;
|
|
2426
2448
|
}, {
|
|
2427
|
-
id: string;
|
|
2428
2449
|
name: string;
|
|
2450
|
+
id: string;
|
|
2429
2451
|
accessToken: string;
|
|
2430
2452
|
botId: string;
|
|
2431
2453
|
integrationId: string;
|
|
@@ -2548,9 +2570,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2548
2570
|
telephonySignature: string | null;
|
|
2549
2571
|
}>;
|
|
2550
2572
|
}, "strip", z.ZodTypeAny, {
|
|
2573
|
+
name: string;
|
|
2551
2574
|
id: string;
|
|
2552
2575
|
address: string | null;
|
|
2553
|
-
name: string;
|
|
2554
2576
|
email: string;
|
|
2555
2577
|
createdAt: Date;
|
|
2556
2578
|
updatedAt: Date;
|
|
@@ -2591,9 +2613,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2591
2613
|
telephonySignature: string | null;
|
|
2592
2614
|
};
|
|
2593
2615
|
}, {
|
|
2616
|
+
name: string;
|
|
2594
2617
|
id: string;
|
|
2595
2618
|
address: string | null;
|
|
2596
|
-
name: string;
|
|
2597
2619
|
email: string;
|
|
2598
2620
|
createdAt: Date;
|
|
2599
2621
|
updatedAt: Date;
|
|
@@ -2635,12 +2657,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2635
2657
|
};
|
|
2636
2658
|
}>;
|
|
2637
2659
|
}, "strip", z.ZodTypeAny, {
|
|
2660
|
+
name: string;
|
|
2638
2661
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2639
2662
|
id: string;
|
|
2640
|
-
name: string;
|
|
2641
2663
|
metadata: {
|
|
2642
|
-
id: string;
|
|
2643
2664
|
name: string;
|
|
2665
|
+
id: string;
|
|
2644
2666
|
accessToken?: string | undefined;
|
|
2645
2667
|
channelSecret?: string | undefined;
|
|
2646
2668
|
additionalCredentials?: any;
|
|
@@ -2669,9 +2691,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2669
2691
|
updatedAt: Date;
|
|
2670
2692
|
deletedAt: Date | null;
|
|
2671
2693
|
actor: {
|
|
2694
|
+
name: string;
|
|
2672
2695
|
id: string;
|
|
2673
2696
|
address: string | null;
|
|
2674
|
-
name: string;
|
|
2675
2697
|
email: string;
|
|
2676
2698
|
createdAt: Date;
|
|
2677
2699
|
updatedAt: Date;
|
|
@@ -2718,19 +2740,19 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2718
2740
|
connectedUserName: string;
|
|
2719
2741
|
connectedUserId: string;
|
|
2720
2742
|
botpressBot: {
|
|
2721
|
-
id: string;
|
|
2722
2743
|
name: string;
|
|
2744
|
+
id: string;
|
|
2723
2745
|
accessToken: string;
|
|
2724
2746
|
botId: string;
|
|
2725
2747
|
integrationId: string;
|
|
2726
2748
|
} | null;
|
|
2727
2749
|
}, {
|
|
2750
|
+
name: string;
|
|
2728
2751
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2729
2752
|
id: string;
|
|
2730
|
-
name: string;
|
|
2731
2753
|
metadata: {
|
|
2732
|
-
id: string;
|
|
2733
2754
|
name: string;
|
|
2755
|
+
id: string;
|
|
2734
2756
|
accessToken?: string | undefined;
|
|
2735
2757
|
channelSecret?: string | undefined;
|
|
2736
2758
|
additionalCredentials?: any;
|
|
@@ -2759,9 +2781,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2759
2781
|
updatedAt: Date;
|
|
2760
2782
|
deletedAt: Date | null;
|
|
2761
2783
|
actor: {
|
|
2784
|
+
name: string;
|
|
2762
2785
|
id: string;
|
|
2763
2786
|
address: string | null;
|
|
2764
|
-
name: string;
|
|
2765
2787
|
email: string;
|
|
2766
2788
|
createdAt: Date;
|
|
2767
2789
|
updatedAt: Date;
|
|
@@ -2808,8 +2830,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2808
2830
|
connectedUserName: string;
|
|
2809
2831
|
connectedUserId: string;
|
|
2810
2832
|
botpressBot: {
|
|
2811
|
-
id: string;
|
|
2812
2833
|
name: string;
|
|
2834
|
+
id: string;
|
|
2813
2835
|
accessToken: string;
|
|
2814
2836
|
botId: string;
|
|
2815
2837
|
integrationId: string;
|
|
@@ -2818,12 +2840,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2818
2840
|
}, "strip", z.ZodTypeAny, {
|
|
2819
2841
|
id: string;
|
|
2820
2842
|
channel: {
|
|
2843
|
+
name: string;
|
|
2821
2844
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2822
2845
|
id: string;
|
|
2823
|
-
name: string;
|
|
2824
2846
|
metadata: {
|
|
2825
|
-
id: string;
|
|
2826
2847
|
name: string;
|
|
2848
|
+
id: string;
|
|
2827
2849
|
accessToken?: string | undefined;
|
|
2828
2850
|
channelSecret?: string | undefined;
|
|
2829
2851
|
additionalCredentials?: any;
|
|
@@ -2852,9 +2874,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2852
2874
|
updatedAt: Date;
|
|
2853
2875
|
deletedAt: Date | null;
|
|
2854
2876
|
actor: {
|
|
2877
|
+
name: string;
|
|
2855
2878
|
id: string;
|
|
2856
2879
|
address: string | null;
|
|
2857
|
-
name: string;
|
|
2858
2880
|
email: string;
|
|
2859
2881
|
createdAt: Date;
|
|
2860
2882
|
updatedAt: Date;
|
|
@@ -2901,8 +2923,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2901
2923
|
connectedUserName: string;
|
|
2902
2924
|
connectedUserId: string;
|
|
2903
2925
|
botpressBot: {
|
|
2904
|
-
id: string;
|
|
2905
2926
|
name: string;
|
|
2927
|
+
id: string;
|
|
2906
2928
|
accessToken: string;
|
|
2907
2929
|
botId: string;
|
|
2908
2930
|
integrationId: string;
|
|
@@ -2913,9 +2935,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2913
2935
|
updatedAt: Date;
|
|
2914
2936
|
deletedAt: Date | null;
|
|
2915
2937
|
actor: {
|
|
2938
|
+
name: string;
|
|
2916
2939
|
id: string;
|
|
2917
2940
|
address: string | null;
|
|
2918
|
-
name: string;
|
|
2919
2941
|
email: string;
|
|
2920
2942
|
createdAt: Date;
|
|
2921
2943
|
updatedAt: Date;
|
|
@@ -2967,8 +2989,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2967
2989
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
2968
2990
|
id: string;
|
|
2969
2991
|
metadata: {
|
|
2970
|
-
id: string;
|
|
2971
2992
|
name: string;
|
|
2993
|
+
id: string;
|
|
2972
2994
|
picture?: string | undefined;
|
|
2973
2995
|
additionalCredentials?: any;
|
|
2974
2996
|
};
|
|
@@ -2976,10 +2998,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
2976
2998
|
updatedAt: Date;
|
|
2977
2999
|
deletedAt: Date | null;
|
|
2978
3000
|
contact: {
|
|
3001
|
+
name: string;
|
|
2979
3002
|
id: string;
|
|
2980
3003
|
channel: string | null;
|
|
2981
3004
|
address: string | null;
|
|
2982
|
-
name: string;
|
|
2983
3005
|
createdAt: Date;
|
|
2984
3006
|
updatedAt: Date;
|
|
2985
3007
|
deletedAt: Date | null;
|
|
@@ -3024,8 +3046,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3024
3046
|
createdAt: Date;
|
|
3025
3047
|
updatedAt: Date;
|
|
3026
3048
|
deletedAt: Date | null;
|
|
3027
|
-
address?: string | null | undefined;
|
|
3028
3049
|
name?: string | undefined;
|
|
3050
|
+
address?: string | null | undefined;
|
|
3029
3051
|
phone?: string | null | undefined;
|
|
3030
3052
|
industry?: string | null | undefined;
|
|
3031
3053
|
} | null;
|
|
@@ -3033,8 +3055,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3033
3055
|
contactProfile: string | null;
|
|
3034
3056
|
socialProfileUrl: string | null;
|
|
3035
3057
|
tags: {
|
|
3036
|
-
id: string;
|
|
3037
3058
|
name: string;
|
|
3059
|
+
id: string;
|
|
3038
3060
|
createdAt: Date;
|
|
3039
3061
|
updatedAt: Date;
|
|
3040
3062
|
deletedAt: Date | null;
|
|
@@ -3059,8 +3081,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3059
3081
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3060
3082
|
id: string;
|
|
3061
3083
|
metadata: {
|
|
3062
|
-
id: string;
|
|
3063
3084
|
name: string;
|
|
3085
|
+
id: string;
|
|
3064
3086
|
picture?: string | undefined;
|
|
3065
3087
|
additionalCredentials?: any;
|
|
3066
3088
|
};
|
|
@@ -3091,9 +3113,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3091
3113
|
socialPlatformId: string;
|
|
3092
3114
|
};
|
|
3093
3115
|
assignee: {
|
|
3116
|
+
name: string;
|
|
3094
3117
|
id: string;
|
|
3095
3118
|
address: string | null;
|
|
3096
|
-
name: string;
|
|
3097
3119
|
email: string;
|
|
3098
3120
|
createdAt: Date;
|
|
3099
3121
|
updatedAt: Date;
|
|
@@ -3137,12 +3159,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3137
3159
|
}, {
|
|
3138
3160
|
id: string;
|
|
3139
3161
|
channel: {
|
|
3162
|
+
name: string;
|
|
3140
3163
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3141
3164
|
id: string;
|
|
3142
|
-
name: string;
|
|
3143
3165
|
metadata: {
|
|
3144
|
-
id: string;
|
|
3145
3166
|
name: string;
|
|
3167
|
+
id: string;
|
|
3146
3168
|
accessToken?: string | undefined;
|
|
3147
3169
|
channelSecret?: string | undefined;
|
|
3148
3170
|
additionalCredentials?: any;
|
|
@@ -3171,9 +3193,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3171
3193
|
updatedAt: Date;
|
|
3172
3194
|
deletedAt: Date | null;
|
|
3173
3195
|
actor: {
|
|
3196
|
+
name: string;
|
|
3174
3197
|
id: string;
|
|
3175
3198
|
address: string | null;
|
|
3176
|
-
name: string;
|
|
3177
3199
|
email: string;
|
|
3178
3200
|
createdAt: Date;
|
|
3179
3201
|
updatedAt: Date;
|
|
@@ -3220,8 +3242,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3220
3242
|
connectedUserName: string;
|
|
3221
3243
|
connectedUserId: string;
|
|
3222
3244
|
botpressBot: {
|
|
3223
|
-
id: string;
|
|
3224
3245
|
name: string;
|
|
3246
|
+
id: string;
|
|
3225
3247
|
accessToken: string;
|
|
3226
3248
|
botId: string;
|
|
3227
3249
|
integrationId: string;
|
|
@@ -3232,9 +3254,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3232
3254
|
updatedAt: Date;
|
|
3233
3255
|
deletedAt: Date | null;
|
|
3234
3256
|
actor: {
|
|
3257
|
+
name: string;
|
|
3235
3258
|
id: string;
|
|
3236
3259
|
address: string | null;
|
|
3237
|
-
name: string;
|
|
3238
3260
|
email: string;
|
|
3239
3261
|
createdAt: Date;
|
|
3240
3262
|
updatedAt: Date;
|
|
@@ -3286,8 +3308,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3286
3308
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3287
3309
|
id: string;
|
|
3288
3310
|
metadata: {
|
|
3289
|
-
id: string;
|
|
3290
3311
|
name: string;
|
|
3312
|
+
id: string;
|
|
3291
3313
|
picture?: string | undefined;
|
|
3292
3314
|
additionalCredentials?: any;
|
|
3293
3315
|
};
|
|
@@ -3295,10 +3317,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3295
3317
|
updatedAt: Date;
|
|
3296
3318
|
deletedAt: Date | null;
|
|
3297
3319
|
contact: {
|
|
3320
|
+
name: string;
|
|
3298
3321
|
id: string;
|
|
3299
3322
|
channel: string | null;
|
|
3300
3323
|
address: string | null;
|
|
3301
|
-
name: string;
|
|
3302
3324
|
createdAt: Date;
|
|
3303
3325
|
updatedAt: Date;
|
|
3304
3326
|
deletedAt: Date | null;
|
|
@@ -3343,8 +3365,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3343
3365
|
createdAt: Date;
|
|
3344
3366
|
updatedAt: Date;
|
|
3345
3367
|
deletedAt: Date | null;
|
|
3346
|
-
address?: string | null | undefined;
|
|
3347
3368
|
name?: string | undefined;
|
|
3369
|
+
address?: string | null | undefined;
|
|
3348
3370
|
phone?: string | null | undefined;
|
|
3349
3371
|
industry?: string | null | undefined;
|
|
3350
3372
|
} | null;
|
|
@@ -3352,8 +3374,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3352
3374
|
contactProfile: string | null;
|
|
3353
3375
|
socialProfileUrl: string | null;
|
|
3354
3376
|
tags: {
|
|
3355
|
-
id: string;
|
|
3356
3377
|
name: string;
|
|
3378
|
+
id: string;
|
|
3357
3379
|
createdAt: Date;
|
|
3358
3380
|
updatedAt: Date;
|
|
3359
3381
|
deletedAt: Date | null;
|
|
@@ -3378,8 +3400,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3378
3400
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3379
3401
|
id: string;
|
|
3380
3402
|
metadata: {
|
|
3381
|
-
id: string;
|
|
3382
3403
|
name: string;
|
|
3404
|
+
id: string;
|
|
3383
3405
|
picture?: string | undefined;
|
|
3384
3406
|
additionalCredentials?: any;
|
|
3385
3407
|
};
|
|
@@ -3410,9 +3432,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3410
3432
|
socialPlatformId: string;
|
|
3411
3433
|
};
|
|
3412
3434
|
assignee: {
|
|
3435
|
+
name: string;
|
|
3413
3436
|
id: string;
|
|
3414
3437
|
address: string | null;
|
|
3415
|
-
name: string;
|
|
3416
3438
|
email: string;
|
|
3417
3439
|
createdAt: Date;
|
|
3418
3440
|
updatedAt: Date;
|
|
@@ -3485,14 +3507,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3485
3507
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
3486
3508
|
name: z.ZodString;
|
|
3487
3509
|
}, "strip", z.ZodTypeAny, {
|
|
3488
|
-
id: string;
|
|
3489
3510
|
name: string;
|
|
3511
|
+
id: string;
|
|
3490
3512
|
createdAt: Date;
|
|
3491
3513
|
updatedAt: Date;
|
|
3492
3514
|
deletedAt: Date | null;
|
|
3493
3515
|
}, {
|
|
3494
|
-
id: string;
|
|
3495
3516
|
name: string;
|
|
3517
|
+
id: string;
|
|
3496
3518
|
createdAt: Date;
|
|
3497
3519
|
updatedAt: Date;
|
|
3498
3520
|
deletedAt: Date | null;
|
|
@@ -3648,8 +3670,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3648
3670
|
createdAt: Date;
|
|
3649
3671
|
updatedAt: Date;
|
|
3650
3672
|
deletedAt: Date | null;
|
|
3651
|
-
address?: string | null | undefined;
|
|
3652
3673
|
name?: string | undefined;
|
|
3674
|
+
address?: string | null | undefined;
|
|
3653
3675
|
phone?: string | null | undefined;
|
|
3654
3676
|
industry?: string | null | undefined;
|
|
3655
3677
|
}, {
|
|
@@ -3657,8 +3679,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3657
3679
|
createdAt: Date;
|
|
3658
3680
|
updatedAt: Date;
|
|
3659
3681
|
deletedAt: Date | null;
|
|
3660
|
-
address?: string | null | undefined;
|
|
3661
3682
|
name?: string | undefined;
|
|
3683
|
+
address?: string | null | undefined;
|
|
3662
3684
|
phone?: string | null | undefined;
|
|
3663
3685
|
industry?: string | null | undefined;
|
|
3664
3686
|
}>>;
|
|
@@ -3676,13 +3698,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3676
3698
|
picture: z.ZodOptional<z.ZodString>;
|
|
3677
3699
|
additionalCredentials: z.ZodAny;
|
|
3678
3700
|
}, "strip", z.ZodTypeAny, {
|
|
3679
|
-
id: string;
|
|
3680
3701
|
name: string;
|
|
3702
|
+
id: string;
|
|
3681
3703
|
picture?: string | undefined;
|
|
3682
3704
|
additionalCredentials?: any;
|
|
3683
3705
|
}, {
|
|
3684
|
-
id: string;
|
|
3685
3706
|
name: string;
|
|
3707
|
+
id: string;
|
|
3686
3708
|
picture?: string | undefined;
|
|
3687
3709
|
additionalCredentials?: any;
|
|
3688
3710
|
}>;
|
|
@@ -3690,8 +3712,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3690
3712
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3691
3713
|
id: string;
|
|
3692
3714
|
metadata: {
|
|
3693
|
-
id: string;
|
|
3694
3715
|
name: string;
|
|
3716
|
+
id: string;
|
|
3695
3717
|
picture?: string | undefined;
|
|
3696
3718
|
additionalCredentials?: any;
|
|
3697
3719
|
};
|
|
@@ -3704,8 +3726,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
3704
3726
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
3705
3727
|
id: string;
|
|
3706
3728
|
metadata: {
|
|
3707
|
-
id: string;
|
|
3708
3729
|
name: string;
|
|
3730
|
+
id: string;
|
|
3709
3731
|
picture?: string | undefined;
|
|
3710
3732
|
additionalCredentials?: any;
|
|
3711
3733
|
};
|
|
@@ -4015,10 +4037,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4015
4037
|
};
|
|
4016
4038
|
}>, "many">>;
|
|
4017
4039
|
}, "strip", z.ZodTypeAny, {
|
|
4040
|
+
name: string;
|
|
4018
4041
|
id: string;
|
|
4019
4042
|
channel: string | null;
|
|
4020
4043
|
address: string | null;
|
|
4021
|
-
name: string;
|
|
4022
4044
|
createdAt: Date;
|
|
4023
4045
|
updatedAt: Date;
|
|
4024
4046
|
deletedAt: Date | null;
|
|
@@ -4063,8 +4085,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4063
4085
|
createdAt: Date;
|
|
4064
4086
|
updatedAt: Date;
|
|
4065
4087
|
deletedAt: Date | null;
|
|
4066
|
-
address?: string | null | undefined;
|
|
4067
4088
|
name?: string | undefined;
|
|
4089
|
+
address?: string | null | undefined;
|
|
4068
4090
|
phone?: string | null | undefined;
|
|
4069
4091
|
industry?: string | null | undefined;
|
|
4070
4092
|
} | null;
|
|
@@ -4072,8 +4094,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4072
4094
|
contactProfile: string | null;
|
|
4073
4095
|
socialProfileUrl: string | null;
|
|
4074
4096
|
tags: {
|
|
4075
|
-
id: string;
|
|
4076
4097
|
name: string;
|
|
4098
|
+
id: string;
|
|
4077
4099
|
createdAt: Date;
|
|
4078
4100
|
updatedAt: Date;
|
|
4079
4101
|
deletedAt: Date | null;
|
|
@@ -4098,8 +4120,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4098
4120
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4099
4121
|
id: string;
|
|
4100
4122
|
metadata: {
|
|
4101
|
-
id: string;
|
|
4102
4123
|
name: string;
|
|
4124
|
+
id: string;
|
|
4103
4125
|
picture?: string | undefined;
|
|
4104
4126
|
additionalCredentials?: any;
|
|
4105
4127
|
};
|
|
@@ -4126,10 +4148,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4126
4148
|
};
|
|
4127
4149
|
}[] | undefined;
|
|
4128
4150
|
}, {
|
|
4151
|
+
name: string;
|
|
4129
4152
|
id: string;
|
|
4130
4153
|
channel: string | null;
|
|
4131
4154
|
address: string | null;
|
|
4132
|
-
name: string;
|
|
4133
4155
|
createdAt: Date;
|
|
4134
4156
|
updatedAt: Date;
|
|
4135
4157
|
deletedAt: Date | null;
|
|
@@ -4174,8 +4196,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4174
4196
|
createdAt: Date;
|
|
4175
4197
|
updatedAt: Date;
|
|
4176
4198
|
deletedAt: Date | null;
|
|
4177
|
-
address?: string | null | undefined;
|
|
4178
4199
|
name?: string | undefined;
|
|
4200
|
+
address?: string | null | undefined;
|
|
4179
4201
|
phone?: string | null | undefined;
|
|
4180
4202
|
industry?: string | null | undefined;
|
|
4181
4203
|
} | null;
|
|
@@ -4183,8 +4205,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4183
4205
|
contactProfile: string | null;
|
|
4184
4206
|
socialProfileUrl: string | null;
|
|
4185
4207
|
tags: {
|
|
4186
|
-
id: string;
|
|
4187
4208
|
name: string;
|
|
4209
|
+
id: string;
|
|
4188
4210
|
createdAt: Date;
|
|
4189
4211
|
updatedAt: Date;
|
|
4190
4212
|
deletedAt: Date | null;
|
|
@@ -4209,8 +4231,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4209
4231
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
4210
4232
|
id: string;
|
|
4211
4233
|
metadata: {
|
|
4212
|
-
id: string;
|
|
4213
4234
|
name: string;
|
|
4235
|
+
id: string;
|
|
4214
4236
|
picture?: string | undefined;
|
|
4215
4237
|
additionalCredentials?: any;
|
|
4216
4238
|
};
|
|
@@ -4428,9 +4450,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4428
4450
|
telephonySignature: string | null;
|
|
4429
4451
|
}>;
|
|
4430
4452
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4453
|
+
name: string;
|
|
4431
4454
|
id: string;
|
|
4432
4455
|
address: string | null;
|
|
4433
|
-
name: string;
|
|
4434
4456
|
email: string;
|
|
4435
4457
|
createdAt: Date;
|
|
4436
4458
|
updatedAt: Date;
|
|
@@ -4440,9 +4462,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4440
4462
|
phone: string | null;
|
|
4441
4463
|
notificationCount: number | null;
|
|
4442
4464
|
}, {
|
|
4465
|
+
name: string;
|
|
4443
4466
|
id: string;
|
|
4444
4467
|
address: string | null;
|
|
4445
|
-
name: string;
|
|
4446
4468
|
email: string;
|
|
4447
4469
|
createdAt: Date;
|
|
4448
4470
|
updatedAt: Date;
|
|
@@ -4465,9 +4487,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4465
4487
|
}, "strip", z.ZodTypeAny, {
|
|
4466
4488
|
id: string;
|
|
4467
4489
|
user: {
|
|
4490
|
+
name: string;
|
|
4468
4491
|
id: string;
|
|
4469
4492
|
address: string | null;
|
|
4470
|
-
name: string;
|
|
4471
4493
|
email: string;
|
|
4472
4494
|
createdAt: Date;
|
|
4473
4495
|
updatedAt: Date;
|
|
@@ -4490,9 +4512,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4490
4512
|
}, {
|
|
4491
4513
|
id: string;
|
|
4492
4514
|
user: {
|
|
4515
|
+
name: string;
|
|
4493
4516
|
id: string;
|
|
4494
4517
|
address: string | null;
|
|
4495
|
-
name: string;
|
|
4496
4518
|
email: string;
|
|
4497
4519
|
createdAt: Date;
|
|
4498
4520
|
updatedAt: Date;
|
|
@@ -4633,9 +4655,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4633
4655
|
telephonySignature: string | null;
|
|
4634
4656
|
}>;
|
|
4635
4657
|
}, "roles" | "extension">, "strip", z.ZodTypeAny, {
|
|
4658
|
+
name: string;
|
|
4636
4659
|
id: string;
|
|
4637
4660
|
address: string | null;
|
|
4638
|
-
name: string;
|
|
4639
4661
|
email: string;
|
|
4640
4662
|
createdAt: Date;
|
|
4641
4663
|
updatedAt: Date;
|
|
@@ -4645,9 +4667,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4645
4667
|
phone: string | null;
|
|
4646
4668
|
notificationCount: number | null;
|
|
4647
4669
|
}, {
|
|
4670
|
+
name: string;
|
|
4648
4671
|
id: string;
|
|
4649
4672
|
address: string | null;
|
|
4650
|
-
name: string;
|
|
4651
4673
|
email: string;
|
|
4652
4674
|
createdAt: Date;
|
|
4653
4675
|
updatedAt: Date;
|
|
@@ -4670,9 +4692,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4670
4692
|
}, "strip", z.ZodTypeAny, {
|
|
4671
4693
|
id: string;
|
|
4672
4694
|
user: {
|
|
4695
|
+
name: string;
|
|
4673
4696
|
id: string;
|
|
4674
4697
|
address: string | null;
|
|
4675
|
-
name: string;
|
|
4676
4698
|
email: string;
|
|
4677
4699
|
createdAt: Date;
|
|
4678
4700
|
updatedAt: Date;
|
|
@@ -4695,9 +4717,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4695
4717
|
}, {
|
|
4696
4718
|
id: string;
|
|
4697
4719
|
user: {
|
|
4720
|
+
name: string;
|
|
4698
4721
|
id: string;
|
|
4699
4722
|
address: string | null;
|
|
4700
|
-
name: string;
|
|
4701
4723
|
email: string;
|
|
4702
4724
|
createdAt: Date;
|
|
4703
4725
|
updatedAt: Date;
|
|
@@ -4722,9 +4744,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4722
4744
|
callTo?: {
|
|
4723
4745
|
id: string;
|
|
4724
4746
|
user: {
|
|
4747
|
+
name: string;
|
|
4725
4748
|
id: string;
|
|
4726
4749
|
address: string | null;
|
|
4727
|
-
name: string;
|
|
4728
4750
|
email: string;
|
|
4729
4751
|
createdAt: Date;
|
|
4730
4752
|
updatedAt: Date;
|
|
@@ -4748,9 +4770,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4748
4770
|
callFrom?: {
|
|
4749
4771
|
id: string;
|
|
4750
4772
|
user: {
|
|
4773
|
+
name: string;
|
|
4751
4774
|
id: string;
|
|
4752
4775
|
address: string | null;
|
|
4753
|
-
name: string;
|
|
4754
4776
|
email: string;
|
|
4755
4777
|
createdAt: Date;
|
|
4756
4778
|
updatedAt: Date;
|
|
@@ -4775,9 +4797,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4775
4797
|
callTo?: {
|
|
4776
4798
|
id: string;
|
|
4777
4799
|
user: {
|
|
4800
|
+
name: string;
|
|
4778
4801
|
id: string;
|
|
4779
4802
|
address: string | null;
|
|
4780
|
-
name: string;
|
|
4781
4803
|
email: string;
|
|
4782
4804
|
createdAt: Date;
|
|
4783
4805
|
updatedAt: Date;
|
|
@@ -4801,9 +4823,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4801
4823
|
callFrom?: {
|
|
4802
4824
|
id: string;
|
|
4803
4825
|
user: {
|
|
4826
|
+
name: string;
|
|
4804
4827
|
id: string;
|
|
4805
4828
|
address: string | null;
|
|
4806
|
-
name: string;
|
|
4807
4829
|
email: string;
|
|
4808
4830
|
createdAt: Date;
|
|
4809
4831
|
updatedAt: Date;
|
|
@@ -4957,9 +4979,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
4957
4979
|
telephonySignature: string | null;
|
|
4958
4980
|
}>;
|
|
4959
4981
|
}, "strip", z.ZodTypeAny, {
|
|
4982
|
+
name: string;
|
|
4960
4983
|
id: string;
|
|
4961
4984
|
address: string | null;
|
|
4962
|
-
name: string;
|
|
4963
4985
|
email: string;
|
|
4964
4986
|
createdAt: Date;
|
|
4965
4987
|
updatedAt: Date;
|
|
@@ -5000,9 +5022,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5000
5022
|
telephonySignature: string | null;
|
|
5001
5023
|
};
|
|
5002
5024
|
}, {
|
|
5025
|
+
name: string;
|
|
5003
5026
|
id: string;
|
|
5004
5027
|
address: string | null;
|
|
5005
|
-
name: string;
|
|
5006
5028
|
email: string;
|
|
5007
5029
|
createdAt: Date;
|
|
5008
5030
|
updatedAt: Date;
|
|
@@ -5056,9 +5078,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5056
5078
|
extensionName: string;
|
|
5057
5079
|
telephonySignature: string | null;
|
|
5058
5080
|
user?: {
|
|
5081
|
+
name: string;
|
|
5059
5082
|
id: string;
|
|
5060
5083
|
address: string | null;
|
|
5061
|
-
name: string;
|
|
5062
5084
|
email: string;
|
|
5063
5085
|
createdAt: Date;
|
|
5064
5086
|
updatedAt: Date;
|
|
@@ -5112,9 +5134,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5112
5134
|
extensionName: string;
|
|
5113
5135
|
telephonySignature: string | null;
|
|
5114
5136
|
user?: {
|
|
5137
|
+
name: string;
|
|
5115
5138
|
id: string;
|
|
5116
5139
|
address: string | null;
|
|
5117
|
-
name: string;
|
|
5118
5140
|
email: string;
|
|
5119
5141
|
createdAt: Date;
|
|
5120
5142
|
updatedAt: Date;
|
|
@@ -5184,9 +5206,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5184
5206
|
callTo?: {
|
|
5185
5207
|
id: string;
|
|
5186
5208
|
user: {
|
|
5209
|
+
name: string;
|
|
5187
5210
|
id: string;
|
|
5188
5211
|
address: string | null;
|
|
5189
|
-
name: string;
|
|
5190
5212
|
email: string;
|
|
5191
5213
|
createdAt: Date;
|
|
5192
5214
|
updatedAt: Date;
|
|
@@ -5210,9 +5232,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5210
5232
|
callFrom?: {
|
|
5211
5233
|
id: string;
|
|
5212
5234
|
user: {
|
|
5235
|
+
name: string;
|
|
5213
5236
|
id: string;
|
|
5214
5237
|
address: string | null;
|
|
5215
|
-
name: string;
|
|
5216
5238
|
email: string;
|
|
5217
5239
|
createdAt: Date;
|
|
5218
5240
|
updatedAt: Date;
|
|
@@ -5238,10 +5260,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5238
5260
|
telephonyQueueId: string | null;
|
|
5239
5261
|
contactId: string | null;
|
|
5240
5262
|
contact?: {
|
|
5263
|
+
name: string;
|
|
5241
5264
|
id: string;
|
|
5242
5265
|
channel: string | null;
|
|
5243
5266
|
address: string | null;
|
|
5244
|
-
name: string;
|
|
5245
5267
|
createdAt: Date;
|
|
5246
5268
|
updatedAt: Date;
|
|
5247
5269
|
deletedAt: Date | null;
|
|
@@ -5286,8 +5308,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5286
5308
|
createdAt: Date;
|
|
5287
5309
|
updatedAt: Date;
|
|
5288
5310
|
deletedAt: Date | null;
|
|
5289
|
-
address?: string | null | undefined;
|
|
5290
5311
|
name?: string | undefined;
|
|
5312
|
+
address?: string | null | undefined;
|
|
5291
5313
|
phone?: string | null | undefined;
|
|
5292
5314
|
industry?: string | null | undefined;
|
|
5293
5315
|
} | null;
|
|
@@ -5295,8 +5317,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5295
5317
|
contactProfile: string | null;
|
|
5296
5318
|
socialProfileUrl: string | null;
|
|
5297
5319
|
tags: {
|
|
5298
|
-
id: string;
|
|
5299
5320
|
name: string;
|
|
5321
|
+
id: string;
|
|
5300
5322
|
createdAt: Date;
|
|
5301
5323
|
updatedAt: Date;
|
|
5302
5324
|
deletedAt: Date | null;
|
|
@@ -5321,8 +5343,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5321
5343
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5322
5344
|
id: string;
|
|
5323
5345
|
metadata: {
|
|
5324
|
-
id: string;
|
|
5325
5346
|
name: string;
|
|
5347
|
+
id: string;
|
|
5326
5348
|
picture?: string | undefined;
|
|
5327
5349
|
additionalCredentials?: any;
|
|
5328
5350
|
};
|
|
@@ -5384,9 +5406,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5384
5406
|
extensionName: string;
|
|
5385
5407
|
telephonySignature: string | null;
|
|
5386
5408
|
user?: {
|
|
5409
|
+
name: string;
|
|
5387
5410
|
id: string;
|
|
5388
5411
|
address: string | null;
|
|
5389
|
-
name: string;
|
|
5390
5412
|
email: string;
|
|
5391
5413
|
createdAt: Date;
|
|
5392
5414
|
updatedAt: Date;
|
|
@@ -5454,9 +5476,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5454
5476
|
callTo?: {
|
|
5455
5477
|
id: string;
|
|
5456
5478
|
user: {
|
|
5479
|
+
name: string;
|
|
5457
5480
|
id: string;
|
|
5458
5481
|
address: string | null;
|
|
5459
|
-
name: string;
|
|
5460
5482
|
email: string;
|
|
5461
5483
|
createdAt: Date;
|
|
5462
5484
|
updatedAt: Date;
|
|
@@ -5480,9 +5502,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5480
5502
|
callFrom?: {
|
|
5481
5503
|
id: string;
|
|
5482
5504
|
user: {
|
|
5505
|
+
name: string;
|
|
5483
5506
|
id: string;
|
|
5484
5507
|
address: string | null;
|
|
5485
|
-
name: string;
|
|
5486
5508
|
email: string;
|
|
5487
5509
|
createdAt: Date;
|
|
5488
5510
|
updatedAt: Date;
|
|
@@ -5508,10 +5530,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5508
5530
|
telephonyQueueId: string | null;
|
|
5509
5531
|
contactId: string | null;
|
|
5510
5532
|
contact?: {
|
|
5533
|
+
name: string;
|
|
5511
5534
|
id: string;
|
|
5512
5535
|
channel: string | null;
|
|
5513
5536
|
address: string | null;
|
|
5514
|
-
name: string;
|
|
5515
5537
|
createdAt: Date;
|
|
5516
5538
|
updatedAt: Date;
|
|
5517
5539
|
deletedAt: Date | null;
|
|
@@ -5556,8 +5578,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5556
5578
|
createdAt: Date;
|
|
5557
5579
|
updatedAt: Date;
|
|
5558
5580
|
deletedAt: Date | null;
|
|
5559
|
-
address?: string | null | undefined;
|
|
5560
5581
|
name?: string | undefined;
|
|
5582
|
+
address?: string | null | undefined;
|
|
5561
5583
|
phone?: string | null | undefined;
|
|
5562
5584
|
industry?: string | null | undefined;
|
|
5563
5585
|
} | null;
|
|
@@ -5565,8 +5587,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5565
5587
|
contactProfile: string | null;
|
|
5566
5588
|
socialProfileUrl: string | null;
|
|
5567
5589
|
tags: {
|
|
5568
|
-
id: string;
|
|
5569
5590
|
name: string;
|
|
5591
|
+
id: string;
|
|
5570
5592
|
createdAt: Date;
|
|
5571
5593
|
updatedAt: Date;
|
|
5572
5594
|
deletedAt: Date | null;
|
|
@@ -5591,8 +5613,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5591
5613
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5592
5614
|
id: string;
|
|
5593
5615
|
metadata: {
|
|
5594
|
-
id: string;
|
|
5595
5616
|
name: string;
|
|
5617
|
+
id: string;
|
|
5596
5618
|
picture?: string | undefined;
|
|
5597
5619
|
additionalCredentials?: any;
|
|
5598
5620
|
};
|
|
@@ -5654,9 +5676,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5654
5676
|
extensionName: string;
|
|
5655
5677
|
telephonySignature: string | null;
|
|
5656
5678
|
user?: {
|
|
5679
|
+
name: string;
|
|
5657
5680
|
id: string;
|
|
5658
5681
|
address: string | null;
|
|
5659
|
-
name: string;
|
|
5660
5682
|
email: string;
|
|
5661
5683
|
createdAt: Date;
|
|
5662
5684
|
updatedAt: Date;
|
|
@@ -5724,14 +5746,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5724
5746
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
5725
5747
|
name: z.ZodString;
|
|
5726
5748
|
}, "strip", z.ZodTypeAny, {
|
|
5727
|
-
id: string;
|
|
5728
5749
|
name: string;
|
|
5750
|
+
id: string;
|
|
5729
5751
|
createdAt: Date;
|
|
5730
5752
|
updatedAt: Date;
|
|
5731
5753
|
deletedAt: Date | null;
|
|
5732
5754
|
}, {
|
|
5733
|
-
id: string;
|
|
5734
5755
|
name: string;
|
|
5756
|
+
id: string;
|
|
5735
5757
|
createdAt: Date;
|
|
5736
5758
|
updatedAt: Date;
|
|
5737
5759
|
deletedAt: Date | null;
|
|
@@ -5887,8 +5909,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5887
5909
|
createdAt: Date;
|
|
5888
5910
|
updatedAt: Date;
|
|
5889
5911
|
deletedAt: Date | null;
|
|
5890
|
-
address?: string | null | undefined;
|
|
5891
5912
|
name?: string | undefined;
|
|
5913
|
+
address?: string | null | undefined;
|
|
5892
5914
|
phone?: string | null | undefined;
|
|
5893
5915
|
industry?: string | null | undefined;
|
|
5894
5916
|
}, {
|
|
@@ -5896,8 +5918,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5896
5918
|
createdAt: Date;
|
|
5897
5919
|
updatedAt: Date;
|
|
5898
5920
|
deletedAt: Date | null;
|
|
5899
|
-
address?: string | null | undefined;
|
|
5900
5921
|
name?: string | undefined;
|
|
5922
|
+
address?: string | null | undefined;
|
|
5901
5923
|
phone?: string | null | undefined;
|
|
5902
5924
|
industry?: string | null | undefined;
|
|
5903
5925
|
}>>;
|
|
@@ -5915,13 +5937,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5915
5937
|
picture: z.ZodOptional<z.ZodString>;
|
|
5916
5938
|
additionalCredentials: z.ZodAny;
|
|
5917
5939
|
}, "strip", z.ZodTypeAny, {
|
|
5918
|
-
id: string;
|
|
5919
5940
|
name: string;
|
|
5941
|
+
id: string;
|
|
5920
5942
|
picture?: string | undefined;
|
|
5921
5943
|
additionalCredentials?: any;
|
|
5922
5944
|
}, {
|
|
5923
|
-
id: string;
|
|
5924
5945
|
name: string;
|
|
5946
|
+
id: string;
|
|
5925
5947
|
picture?: string | undefined;
|
|
5926
5948
|
additionalCredentials?: any;
|
|
5927
5949
|
}>;
|
|
@@ -5929,8 +5951,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5929
5951
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5930
5952
|
id: string;
|
|
5931
5953
|
metadata: {
|
|
5932
|
-
id: string;
|
|
5933
5954
|
name: string;
|
|
5955
|
+
id: string;
|
|
5934
5956
|
picture?: string | undefined;
|
|
5935
5957
|
additionalCredentials?: any;
|
|
5936
5958
|
};
|
|
@@ -5943,8 +5965,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
5943
5965
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
5944
5966
|
id: string;
|
|
5945
5967
|
metadata: {
|
|
5946
|
-
id: string;
|
|
5947
5968
|
name: string;
|
|
5969
|
+
id: string;
|
|
5948
5970
|
picture?: string | undefined;
|
|
5949
5971
|
additionalCredentials?: any;
|
|
5950
5972
|
};
|
|
@@ -6254,10 +6276,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6254
6276
|
};
|
|
6255
6277
|
}>, "many">>;
|
|
6256
6278
|
}, "strip", z.ZodTypeAny, {
|
|
6279
|
+
name: string;
|
|
6257
6280
|
id: string;
|
|
6258
6281
|
channel: string | null;
|
|
6259
6282
|
address: string | null;
|
|
6260
|
-
name: string;
|
|
6261
6283
|
createdAt: Date;
|
|
6262
6284
|
updatedAt: Date;
|
|
6263
6285
|
deletedAt: Date | null;
|
|
@@ -6302,8 +6324,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6302
6324
|
createdAt: Date;
|
|
6303
6325
|
updatedAt: Date;
|
|
6304
6326
|
deletedAt: Date | null;
|
|
6305
|
-
address?: string | null | undefined;
|
|
6306
6327
|
name?: string | undefined;
|
|
6328
|
+
address?: string | null | undefined;
|
|
6307
6329
|
phone?: string | null | undefined;
|
|
6308
6330
|
industry?: string | null | undefined;
|
|
6309
6331
|
} | null;
|
|
@@ -6311,8 +6333,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6311
6333
|
contactProfile: string | null;
|
|
6312
6334
|
socialProfileUrl: string | null;
|
|
6313
6335
|
tags: {
|
|
6314
|
-
id: string;
|
|
6315
6336
|
name: string;
|
|
6337
|
+
id: string;
|
|
6316
6338
|
createdAt: Date;
|
|
6317
6339
|
updatedAt: Date;
|
|
6318
6340
|
deletedAt: Date | null;
|
|
@@ -6337,8 +6359,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6337
6359
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6338
6360
|
id: string;
|
|
6339
6361
|
metadata: {
|
|
6340
|
-
id: string;
|
|
6341
6362
|
name: string;
|
|
6363
|
+
id: string;
|
|
6342
6364
|
picture?: string | undefined;
|
|
6343
6365
|
additionalCredentials?: any;
|
|
6344
6366
|
};
|
|
@@ -6365,10 +6387,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6365
6387
|
};
|
|
6366
6388
|
}[] | undefined;
|
|
6367
6389
|
}, {
|
|
6390
|
+
name: string;
|
|
6368
6391
|
id: string;
|
|
6369
6392
|
channel: string | null;
|
|
6370
6393
|
address: string | null;
|
|
6371
|
-
name: string;
|
|
6372
6394
|
createdAt: Date;
|
|
6373
6395
|
updatedAt: Date;
|
|
6374
6396
|
deletedAt: Date | null;
|
|
@@ -6413,8 +6435,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6413
6435
|
createdAt: Date;
|
|
6414
6436
|
updatedAt: Date;
|
|
6415
6437
|
deletedAt: Date | null;
|
|
6416
|
-
address?: string | null | undefined;
|
|
6417
6438
|
name?: string | undefined;
|
|
6439
|
+
address?: string | null | undefined;
|
|
6418
6440
|
phone?: string | null | undefined;
|
|
6419
6441
|
industry?: string | null | undefined;
|
|
6420
6442
|
} | null;
|
|
@@ -6422,8 +6444,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6422
6444
|
contactProfile: string | null;
|
|
6423
6445
|
socialProfileUrl: string | null;
|
|
6424
6446
|
tags: {
|
|
6425
|
-
id: string;
|
|
6426
6447
|
name: string;
|
|
6448
|
+
id: string;
|
|
6427
6449
|
createdAt: Date;
|
|
6428
6450
|
updatedAt: Date;
|
|
6429
6451
|
deletedAt: Date | null;
|
|
@@ -6448,8 +6470,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6448
6470
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
6449
6471
|
id: string;
|
|
6450
6472
|
metadata: {
|
|
6451
|
-
id: string;
|
|
6452
6473
|
name: string;
|
|
6474
|
+
id: string;
|
|
6453
6475
|
picture?: string | undefined;
|
|
6454
6476
|
additionalCredentials?: any;
|
|
6455
6477
|
};
|
|
@@ -6594,9 +6616,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6594
6616
|
telephonySignature: string | null;
|
|
6595
6617
|
}>;
|
|
6596
6618
|
}, "strip", z.ZodTypeAny, {
|
|
6619
|
+
name: string;
|
|
6597
6620
|
id: string;
|
|
6598
6621
|
address: string | null;
|
|
6599
|
-
name: string;
|
|
6600
6622
|
email: string;
|
|
6601
6623
|
createdAt: Date;
|
|
6602
6624
|
updatedAt: Date;
|
|
@@ -6637,9 +6659,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6637
6659
|
telephonySignature: string | null;
|
|
6638
6660
|
};
|
|
6639
6661
|
}, {
|
|
6662
|
+
name: string;
|
|
6640
6663
|
id: string;
|
|
6641
6664
|
address: string | null;
|
|
6642
|
-
name: string;
|
|
6643
6665
|
email: string;
|
|
6644
6666
|
createdAt: Date;
|
|
6645
6667
|
updatedAt: Date;
|
|
@@ -6798,9 +6820,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6798
6820
|
telephonySignature: string | null;
|
|
6799
6821
|
}>;
|
|
6800
6822
|
}, "strip", z.ZodTypeAny, {
|
|
6823
|
+
name: string;
|
|
6801
6824
|
id: string;
|
|
6802
6825
|
address: string | null;
|
|
6803
|
-
name: string;
|
|
6804
6826
|
email: string;
|
|
6805
6827
|
createdAt: Date;
|
|
6806
6828
|
updatedAt: Date;
|
|
@@ -6841,9 +6863,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
6841
6863
|
telephonySignature: string | null;
|
|
6842
6864
|
};
|
|
6843
6865
|
}, {
|
|
6866
|
+
name: string;
|
|
6844
6867
|
id: string;
|
|
6845
6868
|
address: string | null;
|
|
6846
|
-
name: string;
|
|
6847
6869
|
email: string;
|
|
6848
6870
|
createdAt: Date;
|
|
6849
6871
|
updatedAt: Date;
|
|
@@ -7002,9 +7024,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7002
7024
|
telephonySignature: string | null;
|
|
7003
7025
|
}>;
|
|
7004
7026
|
}, "strip", z.ZodTypeAny, {
|
|
7027
|
+
name: string;
|
|
7005
7028
|
id: string;
|
|
7006
7029
|
address: string | null;
|
|
7007
|
-
name: string;
|
|
7008
7030
|
email: string;
|
|
7009
7031
|
createdAt: Date;
|
|
7010
7032
|
updatedAt: Date;
|
|
@@ -7045,9 +7067,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7045
7067
|
telephonySignature: string | null;
|
|
7046
7068
|
};
|
|
7047
7069
|
}, {
|
|
7070
|
+
name: string;
|
|
7048
7071
|
id: string;
|
|
7049
7072
|
address: string | null;
|
|
7050
|
-
name: string;
|
|
7051
7073
|
email: string;
|
|
7052
7074
|
createdAt: Date;
|
|
7053
7075
|
updatedAt: Date;
|
|
@@ -7098,10 +7120,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7098
7120
|
deletedAt: Date | null;
|
|
7099
7121
|
entityId: string;
|
|
7100
7122
|
contact: {
|
|
7123
|
+
name: string;
|
|
7101
7124
|
id: string;
|
|
7102
7125
|
channel: string | null;
|
|
7103
7126
|
address: string | null;
|
|
7104
|
-
name: string;
|
|
7105
7127
|
createdAt: Date;
|
|
7106
7128
|
updatedAt: Date;
|
|
7107
7129
|
deletedAt: Date | null;
|
|
@@ -7146,8 +7168,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7146
7168
|
createdAt: Date;
|
|
7147
7169
|
updatedAt: Date;
|
|
7148
7170
|
deletedAt: Date | null;
|
|
7149
|
-
address?: string | null | undefined;
|
|
7150
7171
|
name?: string | undefined;
|
|
7172
|
+
address?: string | null | undefined;
|
|
7151
7173
|
phone?: string | null | undefined;
|
|
7152
7174
|
industry?: string | null | undefined;
|
|
7153
7175
|
} | null;
|
|
@@ -7155,8 +7177,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7155
7177
|
contactProfile: string | null;
|
|
7156
7178
|
socialProfileUrl: string | null;
|
|
7157
7179
|
tags: {
|
|
7158
|
-
id: string;
|
|
7159
7180
|
name: string;
|
|
7181
|
+
id: string;
|
|
7160
7182
|
createdAt: Date;
|
|
7161
7183
|
updatedAt: Date;
|
|
7162
7184
|
deletedAt: Date | null;
|
|
@@ -7181,8 +7203,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7181
7203
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7182
7204
|
id: string;
|
|
7183
7205
|
metadata: {
|
|
7184
|
-
id: string;
|
|
7185
7206
|
name: string;
|
|
7207
|
+
id: string;
|
|
7186
7208
|
picture?: string | undefined;
|
|
7187
7209
|
additionalCredentials?: any;
|
|
7188
7210
|
};
|
|
@@ -7212,8 +7234,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7212
7234
|
caseId: number;
|
|
7213
7235
|
entityName: string;
|
|
7214
7236
|
startedDate: string | null;
|
|
7237
|
+
totalHoldDuration: string | null;
|
|
7215
7238
|
handledTime: string | null;
|
|
7239
|
+
fullHandledTime: string | null;
|
|
7216
7240
|
firstResponseTime: string | null;
|
|
7241
|
+
resolutionTime: string | null;
|
|
7242
|
+
fullResolutionTime: string | null;
|
|
7217
7243
|
wrapUpForm: {
|
|
7218
7244
|
type: string;
|
|
7219
7245
|
id: string;
|
|
@@ -7244,8 +7270,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7244
7270
|
}[];
|
|
7245
7271
|
}[];
|
|
7246
7272
|
tags: {
|
|
7247
|
-
id: string;
|
|
7248
7273
|
name: string;
|
|
7274
|
+
id: string;
|
|
7249
7275
|
createdAt: Date;
|
|
7250
7276
|
updatedAt: Date;
|
|
7251
7277
|
deletedAt: Date | null;
|
|
@@ -7269,7 +7295,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7269
7295
|
customerPhone: string | null;
|
|
7270
7296
|
channelType: string | null;
|
|
7271
7297
|
firstResponseDate: string;
|
|
7272
|
-
resolutionTime: string | null;
|
|
7273
7298
|
resolutionDate: string;
|
|
7274
7299
|
wrapUpDuration: string;
|
|
7275
7300
|
slaMeet: string | null;
|
|
@@ -7285,12 +7310,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7285
7310
|
room: {
|
|
7286
7311
|
id: string;
|
|
7287
7312
|
channel: {
|
|
7313
|
+
name: string;
|
|
7288
7314
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7289
7315
|
id: string;
|
|
7290
|
-
name: string;
|
|
7291
7316
|
metadata: {
|
|
7292
|
-
id: string;
|
|
7293
7317
|
name: string;
|
|
7318
|
+
id: string;
|
|
7294
7319
|
accessToken?: string | undefined;
|
|
7295
7320
|
channelSecret?: string | undefined;
|
|
7296
7321
|
additionalCredentials?: any;
|
|
@@ -7319,9 +7344,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7319
7344
|
updatedAt: Date;
|
|
7320
7345
|
deletedAt: Date | null;
|
|
7321
7346
|
actor: {
|
|
7347
|
+
name: string;
|
|
7322
7348
|
id: string;
|
|
7323
7349
|
address: string | null;
|
|
7324
|
-
name: string;
|
|
7325
7350
|
email: string;
|
|
7326
7351
|
createdAt: Date;
|
|
7327
7352
|
updatedAt: Date;
|
|
@@ -7368,8 +7393,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7368
7393
|
connectedUserName: string;
|
|
7369
7394
|
connectedUserId: string;
|
|
7370
7395
|
botpressBot: {
|
|
7371
|
-
id: string;
|
|
7372
7396
|
name: string;
|
|
7397
|
+
id: string;
|
|
7373
7398
|
accessToken: string;
|
|
7374
7399
|
botId: string;
|
|
7375
7400
|
integrationId: string;
|
|
@@ -7380,9 +7405,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7380
7405
|
updatedAt: Date;
|
|
7381
7406
|
deletedAt: Date | null;
|
|
7382
7407
|
actor: {
|
|
7408
|
+
name: string;
|
|
7383
7409
|
id: string;
|
|
7384
7410
|
address: string | null;
|
|
7385
|
-
name: string;
|
|
7386
7411
|
email: string;
|
|
7387
7412
|
createdAt: Date;
|
|
7388
7413
|
updatedAt: Date;
|
|
@@ -7434,8 +7459,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7434
7459
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7435
7460
|
id: string;
|
|
7436
7461
|
metadata: {
|
|
7437
|
-
id: string;
|
|
7438
7462
|
name: string;
|
|
7463
|
+
id: string;
|
|
7439
7464
|
picture?: string | undefined;
|
|
7440
7465
|
additionalCredentials?: any;
|
|
7441
7466
|
};
|
|
@@ -7443,10 +7468,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7443
7468
|
updatedAt: Date;
|
|
7444
7469
|
deletedAt: Date | null;
|
|
7445
7470
|
contact: {
|
|
7471
|
+
name: string;
|
|
7446
7472
|
id: string;
|
|
7447
7473
|
channel: string | null;
|
|
7448
7474
|
address: string | null;
|
|
7449
|
-
name: string;
|
|
7450
7475
|
createdAt: Date;
|
|
7451
7476
|
updatedAt: Date;
|
|
7452
7477
|
deletedAt: Date | null;
|
|
@@ -7491,8 +7516,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7491
7516
|
createdAt: Date;
|
|
7492
7517
|
updatedAt: Date;
|
|
7493
7518
|
deletedAt: Date | null;
|
|
7494
|
-
address?: string | null | undefined;
|
|
7495
7519
|
name?: string | undefined;
|
|
7520
|
+
address?: string | null | undefined;
|
|
7496
7521
|
phone?: string | null | undefined;
|
|
7497
7522
|
industry?: string | null | undefined;
|
|
7498
7523
|
} | null;
|
|
@@ -7500,8 +7525,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7500
7525
|
contactProfile: string | null;
|
|
7501
7526
|
socialProfileUrl: string | null;
|
|
7502
7527
|
tags: {
|
|
7503
|
-
id: string;
|
|
7504
7528
|
name: string;
|
|
7529
|
+
id: string;
|
|
7505
7530
|
createdAt: Date;
|
|
7506
7531
|
updatedAt: Date;
|
|
7507
7532
|
deletedAt: Date | null;
|
|
@@ -7526,8 +7551,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7526
7551
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7527
7552
|
id: string;
|
|
7528
7553
|
metadata: {
|
|
7529
|
-
id: string;
|
|
7530
7554
|
name: string;
|
|
7555
|
+
id: string;
|
|
7531
7556
|
picture?: string | undefined;
|
|
7532
7557
|
additionalCredentials?: any;
|
|
7533
7558
|
};
|
|
@@ -7558,9 +7583,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7558
7583
|
socialPlatformId: string;
|
|
7559
7584
|
};
|
|
7560
7585
|
assignee: {
|
|
7586
|
+
name: string;
|
|
7561
7587
|
id: string;
|
|
7562
7588
|
address: string | null;
|
|
7563
|
-
name: string;
|
|
7564
7589
|
email: string;
|
|
7565
7590
|
createdAt: Date;
|
|
7566
7591
|
updatedAt: Date;
|
|
@@ -7628,9 +7653,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7628
7653
|
callTo?: {
|
|
7629
7654
|
id: string;
|
|
7630
7655
|
user: {
|
|
7656
|
+
name: string;
|
|
7631
7657
|
id: string;
|
|
7632
7658
|
address: string | null;
|
|
7633
|
-
name: string;
|
|
7634
7659
|
email: string;
|
|
7635
7660
|
createdAt: Date;
|
|
7636
7661
|
updatedAt: Date;
|
|
@@ -7654,9 +7679,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7654
7679
|
callFrom?: {
|
|
7655
7680
|
id: string;
|
|
7656
7681
|
user: {
|
|
7682
|
+
name: string;
|
|
7657
7683
|
id: string;
|
|
7658
7684
|
address: string | null;
|
|
7659
|
-
name: string;
|
|
7660
7685
|
email: string;
|
|
7661
7686
|
createdAt: Date;
|
|
7662
7687
|
updatedAt: Date;
|
|
@@ -7682,10 +7707,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7682
7707
|
telephonyQueueId: string | null;
|
|
7683
7708
|
contactId: string | null;
|
|
7684
7709
|
contact?: {
|
|
7710
|
+
name: string;
|
|
7685
7711
|
id: string;
|
|
7686
7712
|
channel: string | null;
|
|
7687
7713
|
address: string | null;
|
|
7688
|
-
name: string;
|
|
7689
7714
|
createdAt: Date;
|
|
7690
7715
|
updatedAt: Date;
|
|
7691
7716
|
deletedAt: Date | null;
|
|
@@ -7730,8 +7755,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7730
7755
|
createdAt: Date;
|
|
7731
7756
|
updatedAt: Date;
|
|
7732
7757
|
deletedAt: Date | null;
|
|
7733
|
-
address?: string | null | undefined;
|
|
7734
7758
|
name?: string | undefined;
|
|
7759
|
+
address?: string | null | undefined;
|
|
7735
7760
|
phone?: string | null | undefined;
|
|
7736
7761
|
industry?: string | null | undefined;
|
|
7737
7762
|
} | null;
|
|
@@ -7739,8 +7764,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7739
7764
|
contactProfile: string | null;
|
|
7740
7765
|
socialProfileUrl: string | null;
|
|
7741
7766
|
tags: {
|
|
7742
|
-
id: string;
|
|
7743
7767
|
name: string;
|
|
7768
|
+
id: string;
|
|
7744
7769
|
createdAt: Date;
|
|
7745
7770
|
updatedAt: Date;
|
|
7746
7771
|
deletedAt: Date | null;
|
|
@@ -7765,8 +7790,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7765
7790
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
7766
7791
|
id: string;
|
|
7767
7792
|
metadata: {
|
|
7768
|
-
id: string;
|
|
7769
7793
|
name: string;
|
|
7794
|
+
id: string;
|
|
7770
7795
|
picture?: string | undefined;
|
|
7771
7796
|
additionalCredentials?: any;
|
|
7772
7797
|
};
|
|
@@ -7828,9 +7853,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7828
7853
|
extensionName: string;
|
|
7829
7854
|
telephonySignature: string | null;
|
|
7830
7855
|
user?: {
|
|
7856
|
+
name: string;
|
|
7831
7857
|
id: string;
|
|
7832
7858
|
address: string | null;
|
|
7833
|
-
name: string;
|
|
7834
7859
|
email: string;
|
|
7835
7860
|
createdAt: Date;
|
|
7836
7861
|
updatedAt: Date;
|
|
@@ -7877,9 +7902,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7877
7902
|
queueName?: string | null | undefined;
|
|
7878
7903
|
} | null;
|
|
7879
7904
|
firstAssignee: {
|
|
7905
|
+
name: string;
|
|
7880
7906
|
id: string;
|
|
7881
7907
|
address: string | null;
|
|
7882
|
-
name: string;
|
|
7883
7908
|
email: string;
|
|
7884
7909
|
createdAt: Date;
|
|
7885
7910
|
updatedAt: Date;
|
|
@@ -7921,9 +7946,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7921
7946
|
};
|
|
7922
7947
|
} | null;
|
|
7923
7948
|
agent: {
|
|
7949
|
+
name: string;
|
|
7924
7950
|
id: string;
|
|
7925
7951
|
address: string | null;
|
|
7926
|
-
name: string;
|
|
7927
7952
|
email: string;
|
|
7928
7953
|
createdAt: Date;
|
|
7929
7954
|
updatedAt: Date;
|
|
@@ -7965,9 +7990,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
7965
7990
|
};
|
|
7966
7991
|
} | null;
|
|
7967
7992
|
closedAssignee: {
|
|
7993
|
+
name: string;
|
|
7968
7994
|
id: string;
|
|
7969
7995
|
address: string | null;
|
|
7970
|
-
name: string;
|
|
7971
7996
|
email: string;
|
|
7972
7997
|
createdAt: Date;
|
|
7973
7998
|
updatedAt: Date;
|
|
@@ -8018,10 +8043,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8018
8043
|
deletedAt: Date | null;
|
|
8019
8044
|
entityId: string;
|
|
8020
8045
|
contact: {
|
|
8046
|
+
name: string;
|
|
8021
8047
|
id: string;
|
|
8022
8048
|
channel: string | null;
|
|
8023
8049
|
address: string | null;
|
|
8024
|
-
name: string;
|
|
8025
8050
|
createdAt: Date;
|
|
8026
8051
|
updatedAt: Date;
|
|
8027
8052
|
deletedAt: Date | null;
|
|
@@ -8066,8 +8091,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8066
8091
|
createdAt: Date;
|
|
8067
8092
|
updatedAt: Date;
|
|
8068
8093
|
deletedAt: Date | null;
|
|
8069
|
-
address?: string | null | undefined;
|
|
8070
8094
|
name?: string | undefined;
|
|
8095
|
+
address?: string | null | undefined;
|
|
8071
8096
|
phone?: string | null | undefined;
|
|
8072
8097
|
industry?: string | null | undefined;
|
|
8073
8098
|
} | null;
|
|
@@ -8075,8 +8100,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8075
8100
|
contactProfile: string | null;
|
|
8076
8101
|
socialProfileUrl: string | null;
|
|
8077
8102
|
tags: {
|
|
8078
|
-
id: string;
|
|
8079
8103
|
name: string;
|
|
8104
|
+
id: string;
|
|
8080
8105
|
createdAt: Date;
|
|
8081
8106
|
updatedAt: Date;
|
|
8082
8107
|
deletedAt: Date | null;
|
|
@@ -8101,8 +8126,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8101
8126
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8102
8127
|
id: string;
|
|
8103
8128
|
metadata: {
|
|
8104
|
-
id: string;
|
|
8105
8129
|
name: string;
|
|
8130
|
+
id: string;
|
|
8106
8131
|
picture?: string | undefined;
|
|
8107
8132
|
additionalCredentials?: any;
|
|
8108
8133
|
};
|
|
@@ -8132,8 +8157,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8132
8157
|
caseId: number;
|
|
8133
8158
|
entityName: string;
|
|
8134
8159
|
startedDate: string | null;
|
|
8160
|
+
totalHoldDuration: string | null;
|
|
8135
8161
|
handledTime: string | null;
|
|
8162
|
+
fullHandledTime: string | null;
|
|
8136
8163
|
firstResponseTime: string | null;
|
|
8164
|
+
resolutionTime: string | null;
|
|
8165
|
+
fullResolutionTime: string | null;
|
|
8137
8166
|
wrapUpForm: {
|
|
8138
8167
|
type: string;
|
|
8139
8168
|
id: string;
|
|
@@ -8164,8 +8193,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8164
8193
|
}[];
|
|
8165
8194
|
}[];
|
|
8166
8195
|
tags: {
|
|
8167
|
-
id: string;
|
|
8168
8196
|
name: string;
|
|
8197
|
+
id: string;
|
|
8169
8198
|
createdAt: Date;
|
|
8170
8199
|
updatedAt: Date;
|
|
8171
8200
|
deletedAt: Date | null;
|
|
@@ -8189,7 +8218,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8189
8218
|
customerPhone: string | null;
|
|
8190
8219
|
channelType: string | null;
|
|
8191
8220
|
firstResponseDate: string;
|
|
8192
|
-
resolutionTime: string | null;
|
|
8193
8221
|
resolutionDate: string;
|
|
8194
8222
|
wrapUpDuration: string;
|
|
8195
8223
|
slaMeet: string | null;
|
|
@@ -8205,12 +8233,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8205
8233
|
room: {
|
|
8206
8234
|
id: string;
|
|
8207
8235
|
channel: {
|
|
8236
|
+
name: string;
|
|
8208
8237
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8209
8238
|
id: string;
|
|
8210
|
-
name: string;
|
|
8211
8239
|
metadata: {
|
|
8212
|
-
id: string;
|
|
8213
8240
|
name: string;
|
|
8241
|
+
id: string;
|
|
8214
8242
|
accessToken?: string | undefined;
|
|
8215
8243
|
channelSecret?: string | undefined;
|
|
8216
8244
|
additionalCredentials?: any;
|
|
@@ -8239,9 +8267,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8239
8267
|
updatedAt: Date;
|
|
8240
8268
|
deletedAt: Date | null;
|
|
8241
8269
|
actor: {
|
|
8270
|
+
name: string;
|
|
8242
8271
|
id: string;
|
|
8243
8272
|
address: string | null;
|
|
8244
|
-
name: string;
|
|
8245
8273
|
email: string;
|
|
8246
8274
|
createdAt: Date;
|
|
8247
8275
|
updatedAt: Date;
|
|
@@ -8288,8 +8316,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8288
8316
|
connectedUserName: string;
|
|
8289
8317
|
connectedUserId: string;
|
|
8290
8318
|
botpressBot: {
|
|
8291
|
-
id: string;
|
|
8292
8319
|
name: string;
|
|
8320
|
+
id: string;
|
|
8293
8321
|
accessToken: string;
|
|
8294
8322
|
botId: string;
|
|
8295
8323
|
integrationId: string;
|
|
@@ -8300,9 +8328,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8300
8328
|
updatedAt: Date;
|
|
8301
8329
|
deletedAt: Date | null;
|
|
8302
8330
|
actor: {
|
|
8331
|
+
name: string;
|
|
8303
8332
|
id: string;
|
|
8304
8333
|
address: string | null;
|
|
8305
|
-
name: string;
|
|
8306
8334
|
email: string;
|
|
8307
8335
|
createdAt: Date;
|
|
8308
8336
|
updatedAt: Date;
|
|
@@ -8354,8 +8382,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8354
8382
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8355
8383
|
id: string;
|
|
8356
8384
|
metadata: {
|
|
8357
|
-
id: string;
|
|
8358
8385
|
name: string;
|
|
8386
|
+
id: string;
|
|
8359
8387
|
picture?: string | undefined;
|
|
8360
8388
|
additionalCredentials?: any;
|
|
8361
8389
|
};
|
|
@@ -8363,10 +8391,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8363
8391
|
updatedAt: Date;
|
|
8364
8392
|
deletedAt: Date | null;
|
|
8365
8393
|
contact: {
|
|
8394
|
+
name: string;
|
|
8366
8395
|
id: string;
|
|
8367
8396
|
channel: string | null;
|
|
8368
8397
|
address: string | null;
|
|
8369
|
-
name: string;
|
|
8370
8398
|
createdAt: Date;
|
|
8371
8399
|
updatedAt: Date;
|
|
8372
8400
|
deletedAt: Date | null;
|
|
@@ -8411,8 +8439,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8411
8439
|
createdAt: Date;
|
|
8412
8440
|
updatedAt: Date;
|
|
8413
8441
|
deletedAt: Date | null;
|
|
8414
|
-
address?: string | null | undefined;
|
|
8415
8442
|
name?: string | undefined;
|
|
8443
|
+
address?: string | null | undefined;
|
|
8416
8444
|
phone?: string | null | undefined;
|
|
8417
8445
|
industry?: string | null | undefined;
|
|
8418
8446
|
} | null;
|
|
@@ -8420,8 +8448,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8420
8448
|
contactProfile: string | null;
|
|
8421
8449
|
socialProfileUrl: string | null;
|
|
8422
8450
|
tags: {
|
|
8423
|
-
id: string;
|
|
8424
8451
|
name: string;
|
|
8452
|
+
id: string;
|
|
8425
8453
|
createdAt: Date;
|
|
8426
8454
|
updatedAt: Date;
|
|
8427
8455
|
deletedAt: Date | null;
|
|
@@ -8446,8 +8474,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8446
8474
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8447
8475
|
id: string;
|
|
8448
8476
|
metadata: {
|
|
8449
|
-
id: string;
|
|
8450
8477
|
name: string;
|
|
8478
|
+
id: string;
|
|
8451
8479
|
picture?: string | undefined;
|
|
8452
8480
|
additionalCredentials?: any;
|
|
8453
8481
|
};
|
|
@@ -8478,9 +8506,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8478
8506
|
socialPlatformId: string;
|
|
8479
8507
|
};
|
|
8480
8508
|
assignee: {
|
|
8509
|
+
name: string;
|
|
8481
8510
|
id: string;
|
|
8482
8511
|
address: string | null;
|
|
8483
|
-
name: string;
|
|
8484
8512
|
email: string;
|
|
8485
8513
|
createdAt: Date;
|
|
8486
8514
|
updatedAt: Date;
|
|
@@ -8548,9 +8576,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8548
8576
|
callTo?: {
|
|
8549
8577
|
id: string;
|
|
8550
8578
|
user: {
|
|
8579
|
+
name: string;
|
|
8551
8580
|
id: string;
|
|
8552
8581
|
address: string | null;
|
|
8553
|
-
name: string;
|
|
8554
8582
|
email: string;
|
|
8555
8583
|
createdAt: Date;
|
|
8556
8584
|
updatedAt: Date;
|
|
@@ -8574,9 +8602,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8574
8602
|
callFrom?: {
|
|
8575
8603
|
id: string;
|
|
8576
8604
|
user: {
|
|
8605
|
+
name: string;
|
|
8577
8606
|
id: string;
|
|
8578
8607
|
address: string | null;
|
|
8579
|
-
name: string;
|
|
8580
8608
|
email: string;
|
|
8581
8609
|
createdAt: Date;
|
|
8582
8610
|
updatedAt: Date;
|
|
@@ -8602,10 +8630,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8602
8630
|
telephonyQueueId: string | null;
|
|
8603
8631
|
contactId: string | null;
|
|
8604
8632
|
contact?: {
|
|
8633
|
+
name: string;
|
|
8605
8634
|
id: string;
|
|
8606
8635
|
channel: string | null;
|
|
8607
8636
|
address: string | null;
|
|
8608
|
-
name: string;
|
|
8609
8637
|
createdAt: Date;
|
|
8610
8638
|
updatedAt: Date;
|
|
8611
8639
|
deletedAt: Date | null;
|
|
@@ -8650,8 +8678,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8650
8678
|
createdAt: Date;
|
|
8651
8679
|
updatedAt: Date;
|
|
8652
8680
|
deletedAt: Date | null;
|
|
8653
|
-
address?: string | null | undefined;
|
|
8654
8681
|
name?: string | undefined;
|
|
8682
|
+
address?: string | null | undefined;
|
|
8655
8683
|
phone?: string | null | undefined;
|
|
8656
8684
|
industry?: string | null | undefined;
|
|
8657
8685
|
} | null;
|
|
@@ -8659,8 +8687,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8659
8687
|
contactProfile: string | null;
|
|
8660
8688
|
socialProfileUrl: string | null;
|
|
8661
8689
|
tags: {
|
|
8662
|
-
id: string;
|
|
8663
8690
|
name: string;
|
|
8691
|
+
id: string;
|
|
8664
8692
|
createdAt: Date;
|
|
8665
8693
|
updatedAt: Date;
|
|
8666
8694
|
deletedAt: Date | null;
|
|
@@ -8685,8 +8713,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8685
8713
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
|
|
8686
8714
|
id: string;
|
|
8687
8715
|
metadata: {
|
|
8688
|
-
id: string;
|
|
8689
8716
|
name: string;
|
|
8717
|
+
id: string;
|
|
8690
8718
|
picture?: string | undefined;
|
|
8691
8719
|
additionalCredentials?: any;
|
|
8692
8720
|
};
|
|
@@ -8748,9 +8776,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8748
8776
|
extensionName: string;
|
|
8749
8777
|
telephonySignature: string | null;
|
|
8750
8778
|
user?: {
|
|
8779
|
+
name: string;
|
|
8751
8780
|
id: string;
|
|
8752
8781
|
address: string | null;
|
|
8753
|
-
name: string;
|
|
8754
8782
|
email: string;
|
|
8755
8783
|
createdAt: Date;
|
|
8756
8784
|
updatedAt: Date;
|
|
@@ -8797,9 +8825,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8797
8825
|
queueName?: string | null | undefined;
|
|
8798
8826
|
} | null;
|
|
8799
8827
|
firstAssignee: {
|
|
8828
|
+
name: string;
|
|
8800
8829
|
id: string;
|
|
8801
8830
|
address: string | null;
|
|
8802
|
-
name: string;
|
|
8803
8831
|
email: string;
|
|
8804
8832
|
createdAt: Date;
|
|
8805
8833
|
updatedAt: Date;
|
|
@@ -8841,9 +8869,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8841
8869
|
};
|
|
8842
8870
|
} | null;
|
|
8843
8871
|
agent: {
|
|
8872
|
+
name: string;
|
|
8844
8873
|
id: string;
|
|
8845
8874
|
address: string | null;
|
|
8846
|
-
name: string;
|
|
8847
8875
|
email: string;
|
|
8848
8876
|
createdAt: Date;
|
|
8849
8877
|
updatedAt: Date;
|
|
@@ -8885,9 +8913,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<{
|
|
|
8885
8913
|
};
|
|
8886
8914
|
} | null;
|
|
8887
8915
|
closedAssignee: {
|
|
8916
|
+
name: string;
|
|
8888
8917
|
id: string;
|
|
8889
8918
|
address: string | null;
|
|
8890
|
-
name: string;
|
|
8891
8919
|
email: string;
|
|
8892
8920
|
createdAt: Date;
|
|
8893
8921
|
updatedAt: Date;
|