@kl1/contracts 1.0.27 → 1.0.29
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/index.js +144 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -56
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +38 -38
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +876 -876
- package/dist/src/chat/validation.d.ts +1008 -1008
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +288 -288
- package/dist/src/company/schema.d.ts +87 -87
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1212 -1212
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9737 -9761
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +63 -63
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +63 -63
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +25 -25
- package/dist/src/messenger/index.d.ts +492 -492
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +774 -909
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +150 -79
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -273,27 +273,27 @@ export declare const messengerContract: {
|
|
273
273
|
imageSetId: z.ZodOptional<z.ZodString>;
|
274
274
|
upload: z.ZodOptional<z.ZodObject<{
|
275
275
|
id: z.ZodString;
|
276
|
-
createdAt: z.
|
277
|
-
updatedAt: z.
|
278
|
-
deletedAt: z.ZodNullable<z.
|
276
|
+
createdAt: z.ZodDate;
|
277
|
+
updatedAt: z.ZodDate;
|
278
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
279
279
|
bucketName: z.ZodString;
|
280
280
|
fileName: z.ZodString;
|
281
281
|
fileSize: z.ZodNumber;
|
282
282
|
fileKey: z.ZodString;
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
284
284
|
id: string;
|
285
|
-
createdAt:
|
286
|
-
updatedAt:
|
287
|
-
deletedAt:
|
285
|
+
createdAt: Date;
|
286
|
+
updatedAt: Date;
|
287
|
+
deletedAt: Date | null;
|
288
288
|
fileName: string;
|
289
289
|
fileKey: string;
|
290
290
|
bucketName: string;
|
291
291
|
fileSize: number;
|
292
292
|
}, {
|
293
293
|
id: string;
|
294
|
-
createdAt:
|
295
|
-
updatedAt:
|
296
|
-
deletedAt:
|
294
|
+
createdAt: Date;
|
295
|
+
updatedAt: Date;
|
296
|
+
deletedAt: Date | null;
|
297
297
|
fileName: string;
|
298
298
|
fileKey: string;
|
299
299
|
bucketName: string;
|
@@ -337,9 +337,9 @@ export declare const messengerContract: {
|
|
337
337
|
imageSetId?: string | undefined;
|
338
338
|
upload?: {
|
339
339
|
id: string;
|
340
|
-
createdAt:
|
341
|
-
updatedAt:
|
342
|
-
deletedAt:
|
340
|
+
createdAt: Date;
|
341
|
+
updatedAt: Date;
|
342
|
+
deletedAt: Date | null;
|
343
343
|
fileName: string;
|
344
344
|
fileKey: string;
|
345
345
|
bucketName: string;
|
@@ -367,9 +367,9 @@ export declare const messengerContract: {
|
|
367
367
|
imageSetId?: string | undefined;
|
368
368
|
upload?: {
|
369
369
|
id: string;
|
370
|
-
createdAt:
|
371
|
-
updatedAt:
|
372
|
-
deletedAt:
|
370
|
+
createdAt: Date;
|
371
|
+
updatedAt: Date;
|
372
|
+
deletedAt: Date | null;
|
373
373
|
fileName: string;
|
374
374
|
fileKey: string;
|
375
375
|
bucketName: string;
|
@@ -399,9 +399,9 @@ export declare const messengerContract: {
|
|
399
399
|
imageSetId?: string | undefined;
|
400
400
|
upload?: {
|
401
401
|
id: string;
|
402
|
-
createdAt:
|
403
|
-
updatedAt:
|
404
|
-
deletedAt:
|
402
|
+
createdAt: Date;
|
403
|
+
updatedAt: Date;
|
404
|
+
deletedAt: Date | null;
|
405
405
|
fileName: string;
|
406
406
|
fileKey: string;
|
407
407
|
bucketName: string;
|
@@ -479,9 +479,9 @@ export declare const messengerContract: {
|
|
479
479
|
imageSetId?: string | undefined;
|
480
480
|
upload?: {
|
481
481
|
id: string;
|
482
|
-
createdAt:
|
483
|
-
updatedAt:
|
484
|
-
deletedAt:
|
482
|
+
createdAt: Date;
|
483
|
+
updatedAt: Date;
|
484
|
+
deletedAt: Date | null;
|
485
485
|
fileName: string;
|
486
486
|
fileKey: string;
|
487
487
|
bucketName: string;
|
@@ -543,9 +543,9 @@ export declare const messengerContract: {
|
|
543
543
|
requestId: z.ZodString;
|
544
544
|
data: z.ZodObject<{
|
545
545
|
id: z.ZodString;
|
546
|
-
createdAt: z.
|
547
|
-
updatedAt: z.
|
548
|
-
deletedAt: z.ZodNullable<z.
|
546
|
+
createdAt: z.ZodDate;
|
547
|
+
updatedAt: z.ZodDate;
|
548
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
549
549
|
message: z.ZodString;
|
550
550
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
551
551
|
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
@@ -561,9 +561,9 @@ export declare const messengerContract: {
|
|
561
561
|
imageSetId: z.ZodString;
|
562
562
|
room: z.ZodObject<{
|
563
563
|
id: z.ZodString;
|
564
|
-
createdAt: z.
|
565
|
-
updatedAt: z.
|
566
|
-
deletedAt: z.ZodNullable<z.
|
564
|
+
createdAt: z.ZodDate;
|
565
|
+
updatedAt: z.ZodDate;
|
566
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
567
567
|
lastMessage: z.ZodString;
|
568
568
|
handleTime: z.ZodNumber;
|
569
569
|
closeAt: z.ZodDate;
|
@@ -574,9 +574,9 @@ export declare const messengerContract: {
|
|
574
574
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
575
575
|
platformContact: z.ZodObject<{
|
576
576
|
id: z.ZodString;
|
577
|
-
createdAt: z.
|
578
|
-
updatedAt: z.
|
579
|
-
deletedAt: z.ZodNullable<z.
|
577
|
+
createdAt: z.ZodDate;
|
578
|
+
updatedAt: z.ZodDate;
|
579
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
580
580
|
channelId: z.ZodString;
|
581
581
|
socialPlatformId: z.ZodString;
|
582
582
|
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
@@ -609,46 +609,46 @@ export declare const messengerContract: {
|
|
609
609
|
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
610
610
|
tags: z.ZodArray<z.ZodObject<{
|
611
611
|
id: z.ZodString;
|
612
|
-
createdAt: z.
|
613
|
-
updatedAt: z.
|
614
|
-
deletedAt: z.ZodNullable<z.
|
612
|
+
createdAt: z.ZodDate;
|
613
|
+
updatedAt: z.ZodDate;
|
614
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
615
615
|
name: z.ZodString;
|
616
616
|
}, "strip", z.ZodTypeAny, {
|
617
617
|
id: string;
|
618
618
|
name: string;
|
619
|
-
createdAt:
|
620
|
-
updatedAt:
|
621
|
-
deletedAt:
|
619
|
+
createdAt: Date;
|
620
|
+
updatedAt: Date;
|
621
|
+
deletedAt: Date | null;
|
622
622
|
}, {
|
623
623
|
id: string;
|
624
624
|
name: string;
|
625
|
-
createdAt:
|
626
|
-
updatedAt:
|
627
|
-
deletedAt:
|
625
|
+
createdAt: Date;
|
626
|
+
updatedAt: Date;
|
627
|
+
deletedAt: Date | null;
|
628
628
|
}>, "many">;
|
629
629
|
company: z.ZodNullable<z.ZodObject<Omit<{
|
630
630
|
id: z.ZodString;
|
631
|
-
createdAt: z.
|
632
|
-
updatedAt: z.
|
633
|
-
deletedAt: z.ZodNullable<z.
|
631
|
+
createdAt: z.ZodDate;
|
632
|
+
updatedAt: z.ZodDate;
|
633
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
634
634
|
name: z.ZodOptional<z.ZodString>;
|
635
635
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
636
636
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
637
637
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
638
638
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
639
639
|
id: z.ZodString;
|
640
|
-
createdAt: z.
|
641
|
-
updatedAt: z.
|
642
|
-
deletedAt: z.ZodNullable<z.
|
640
|
+
createdAt: z.ZodDate;
|
641
|
+
updatedAt: z.ZodDate;
|
642
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
643
643
|
textValue: z.ZodNullable<z.ZodString>;
|
644
644
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
645
645
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
646
646
|
dateValue: z.ZodNullable<z.ZodDate>;
|
647
647
|
attribute: z.ZodObject<Omit<{
|
648
648
|
id: z.ZodString;
|
649
|
-
createdAt: z.
|
650
|
-
updatedAt: z.
|
651
|
-
deletedAt: z.ZodNullable<z.
|
649
|
+
createdAt: z.ZodDate;
|
650
|
+
updatedAt: z.ZodDate;
|
651
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
652
652
|
systemName: z.ZodString;
|
653
653
|
displayName: z.ZodString;
|
654
654
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -678,23 +678,23 @@ export declare const messengerContract: {
|
|
678
678
|
}>, "many">;
|
679
679
|
group: z.ZodObject<{
|
680
680
|
id: z.ZodString;
|
681
|
-
createdAt: z.
|
682
|
-
updatedAt: z.
|
683
|
-
deletedAt: z.ZodNullable<z.
|
681
|
+
createdAt: z.ZodDate;
|
682
|
+
updatedAt: z.ZodDate;
|
683
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
684
684
|
systemName: z.ZodString;
|
685
685
|
displayName: z.ZodString;
|
686
686
|
}, "strip", z.ZodTypeAny, {
|
687
687
|
id: string;
|
688
|
-
createdAt:
|
689
|
-
updatedAt:
|
690
|
-
deletedAt:
|
688
|
+
createdAt: Date;
|
689
|
+
updatedAt: Date;
|
690
|
+
deletedAt: Date | null;
|
691
691
|
systemName: string;
|
692
692
|
displayName: string;
|
693
693
|
}, {
|
694
694
|
id: string;
|
695
|
-
createdAt:
|
696
|
-
updatedAt:
|
697
|
-
deletedAt:
|
695
|
+
createdAt: Date;
|
696
|
+
updatedAt: Date;
|
697
|
+
deletedAt: Date | null;
|
698
698
|
systemName: string;
|
699
699
|
displayName: string;
|
700
700
|
}>;
|
@@ -702,9 +702,9 @@ export declare const messengerContract: {
|
|
702
702
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
703
703
|
id: string;
|
704
704
|
position: number;
|
705
|
-
createdAt:
|
706
|
-
updatedAt:
|
707
|
-
deletedAt:
|
705
|
+
createdAt: Date;
|
706
|
+
updatedAt: Date;
|
707
|
+
deletedAt: Date | null;
|
708
708
|
isDefault: boolean;
|
709
709
|
systemName: string;
|
710
710
|
displayName: string;
|
@@ -715,9 +715,9 @@ export declare const messengerContract: {
|
|
715
715
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
716
716
|
id: string;
|
717
717
|
position: number;
|
718
|
-
createdAt:
|
719
|
-
updatedAt:
|
720
|
-
deletedAt:
|
718
|
+
createdAt: Date;
|
719
|
+
updatedAt: Date;
|
720
|
+
deletedAt: Date | null;
|
721
721
|
isDefault: boolean;
|
722
722
|
systemName: string;
|
723
723
|
displayName: string;
|
@@ -727,16 +727,16 @@ export declare const messengerContract: {
|
|
727
727
|
}>;
|
728
728
|
}, "strip", z.ZodTypeAny, {
|
729
729
|
id: string;
|
730
|
-
createdAt:
|
731
|
-
updatedAt:
|
732
|
-
deletedAt:
|
730
|
+
createdAt: Date;
|
731
|
+
updatedAt: Date;
|
732
|
+
deletedAt: Date | null;
|
733
733
|
attribute: {
|
734
734
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
735
735
|
id: string;
|
736
736
|
position: number;
|
737
|
-
createdAt:
|
738
|
-
updatedAt:
|
739
|
-
deletedAt:
|
737
|
+
createdAt: Date;
|
738
|
+
updatedAt: Date;
|
739
|
+
deletedAt: Date | null;
|
740
740
|
isDefault: boolean;
|
741
741
|
systemName: string;
|
742
742
|
displayName: string;
|
@@ -750,16 +750,16 @@ export declare const messengerContract: {
|
|
750
750
|
dateValue: Date | null;
|
751
751
|
}, {
|
752
752
|
id: string;
|
753
|
-
createdAt:
|
754
|
-
updatedAt:
|
755
|
-
deletedAt:
|
753
|
+
createdAt: Date;
|
754
|
+
updatedAt: Date;
|
755
|
+
deletedAt: Date | null;
|
756
756
|
attribute: {
|
757
757
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
758
758
|
id: string;
|
759
759
|
position: number;
|
760
|
-
createdAt:
|
761
|
-
updatedAt:
|
762
|
-
deletedAt:
|
760
|
+
createdAt: Date;
|
761
|
+
updatedAt: Date;
|
762
|
+
deletedAt: Date | null;
|
763
763
|
isDefault: boolean;
|
764
764
|
systemName: string;
|
765
765
|
displayName: string;
|
@@ -774,18 +774,18 @@ export declare const messengerContract: {
|
|
774
774
|
}>, "many">>;
|
775
775
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
776
776
|
id: string;
|
777
|
-
createdAt:
|
778
|
-
updatedAt:
|
779
|
-
deletedAt:
|
777
|
+
createdAt: Date;
|
778
|
+
updatedAt: Date;
|
779
|
+
deletedAt: Date | null;
|
780
780
|
address?: string | null | undefined;
|
781
781
|
name?: string | undefined;
|
782
782
|
phone?: string | null | undefined;
|
783
783
|
industry?: string | null | undefined;
|
784
784
|
}, {
|
785
785
|
id: string;
|
786
|
-
createdAt:
|
787
|
-
updatedAt:
|
788
|
-
deletedAt:
|
786
|
+
createdAt: Date;
|
787
|
+
updatedAt: Date;
|
788
|
+
deletedAt: Date | null;
|
789
789
|
address?: string | null | undefined;
|
790
790
|
name?: string | undefined;
|
791
791
|
phone?: string | null | undefined;
|
@@ -802,9 +802,9 @@ export declare const messengerContract: {
|
|
802
802
|
dateValue: z.ZodNullable<z.ZodDate>;
|
803
803
|
attribute: z.ZodObject<Omit<{
|
804
804
|
id: z.ZodString;
|
805
|
-
createdAt: z.
|
806
|
-
updatedAt: z.
|
807
|
-
deletedAt: z.ZodNullable<z.
|
805
|
+
createdAt: z.ZodDate;
|
806
|
+
updatedAt: z.ZodDate;
|
807
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
808
808
|
systemName: z.ZodString;
|
809
809
|
displayName: z.ZodString;
|
810
810
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -834,23 +834,23 @@ export declare const messengerContract: {
|
|
834
834
|
}>, "many">;
|
835
835
|
group: z.ZodObject<{
|
836
836
|
id: z.ZodString;
|
837
|
-
createdAt: z.
|
838
|
-
updatedAt: z.
|
839
|
-
deletedAt: z.ZodNullable<z.
|
837
|
+
createdAt: z.ZodDate;
|
838
|
+
updatedAt: z.ZodDate;
|
839
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
840
840
|
systemName: z.ZodString;
|
841
841
|
displayName: z.ZodString;
|
842
842
|
}, "strip", z.ZodTypeAny, {
|
843
843
|
id: string;
|
844
|
-
createdAt:
|
845
|
-
updatedAt:
|
846
|
-
deletedAt:
|
844
|
+
createdAt: Date;
|
845
|
+
updatedAt: Date;
|
846
|
+
deletedAt: Date | null;
|
847
847
|
systemName: string;
|
848
848
|
displayName: string;
|
849
849
|
}, {
|
850
850
|
id: string;
|
851
|
-
createdAt:
|
852
|
-
updatedAt:
|
853
|
-
deletedAt:
|
851
|
+
createdAt: Date;
|
852
|
+
updatedAt: Date;
|
853
|
+
deletedAt: Date | null;
|
854
854
|
systemName: string;
|
855
855
|
displayName: string;
|
856
856
|
}>;
|
@@ -858,9 +858,9 @@ export declare const messengerContract: {
|
|
858
858
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
859
859
|
id: string;
|
860
860
|
position: number;
|
861
|
-
createdAt:
|
862
|
-
updatedAt:
|
863
|
-
deletedAt:
|
861
|
+
createdAt: Date;
|
862
|
+
updatedAt: Date;
|
863
|
+
deletedAt: Date | null;
|
864
864
|
isDefault: boolean;
|
865
865
|
systemName: string;
|
866
866
|
displayName: string;
|
@@ -871,9 +871,9 @@ export declare const messengerContract: {
|
|
871
871
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
872
872
|
id: string;
|
873
873
|
position: number;
|
874
|
-
createdAt:
|
875
|
-
updatedAt:
|
876
|
-
deletedAt:
|
874
|
+
createdAt: Date;
|
875
|
+
updatedAt: Date;
|
876
|
+
deletedAt: Date | null;
|
877
877
|
isDefault: boolean;
|
878
878
|
systemName: string;
|
879
879
|
displayName: string;
|
@@ -883,33 +883,33 @@ export declare const messengerContract: {
|
|
883
883
|
}>;
|
884
884
|
uploads: z.ZodArray<z.ZodObject<{
|
885
885
|
id: z.ZodString;
|
886
|
-
createdAt: z.
|
887
|
-
updatedAt: z.
|
888
|
-
deletedAt: z.ZodNullable<z.
|
886
|
+
createdAt: z.ZodDate;
|
887
|
+
updatedAt: z.ZodDate;
|
888
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
889
889
|
customFieldId: z.ZodString;
|
890
890
|
upload: z.ZodObject<{
|
891
891
|
id: z.ZodString;
|
892
|
-
createdAt: z.
|
893
|
-
updatedAt: z.
|
894
|
-
deletedAt: z.ZodNullable<z.
|
892
|
+
createdAt: z.ZodDate;
|
893
|
+
updatedAt: z.ZodDate;
|
894
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
895
895
|
bucketName: z.ZodString;
|
896
896
|
fileName: z.ZodString;
|
897
897
|
fileSize: z.ZodNumber;
|
898
898
|
fileKey: z.ZodString;
|
899
899
|
}, "strip", z.ZodTypeAny, {
|
900
900
|
id: string;
|
901
|
-
createdAt:
|
902
|
-
updatedAt:
|
903
|
-
deletedAt:
|
901
|
+
createdAt: Date;
|
902
|
+
updatedAt: Date;
|
903
|
+
deletedAt: Date | null;
|
904
904
|
fileName: string;
|
905
905
|
fileKey: string;
|
906
906
|
bucketName: string;
|
907
907
|
fileSize: number;
|
908
908
|
}, {
|
909
909
|
id: string;
|
910
|
-
createdAt:
|
911
|
-
updatedAt:
|
912
|
-
deletedAt:
|
910
|
+
createdAt: Date;
|
911
|
+
updatedAt: Date;
|
912
|
+
deletedAt: Date | null;
|
913
913
|
fileName: string;
|
914
914
|
fileKey: string;
|
915
915
|
bucketName: string;
|
@@ -917,15 +917,15 @@ export declare const messengerContract: {
|
|
917
917
|
}>;
|
918
918
|
}, "strip", z.ZodTypeAny, {
|
919
919
|
id: string;
|
920
|
-
createdAt:
|
921
|
-
updatedAt:
|
922
|
-
deletedAt:
|
920
|
+
createdAt: Date;
|
921
|
+
updatedAt: Date;
|
922
|
+
deletedAt: Date | null;
|
923
923
|
customFieldId: string;
|
924
924
|
upload: {
|
925
925
|
id: string;
|
926
|
-
createdAt:
|
927
|
-
updatedAt:
|
928
|
-
deletedAt:
|
926
|
+
createdAt: Date;
|
927
|
+
updatedAt: Date;
|
928
|
+
deletedAt: Date | null;
|
929
929
|
fileName: string;
|
930
930
|
fileKey: string;
|
931
931
|
bucketName: string;
|
@@ -933,15 +933,15 @@ export declare const messengerContract: {
|
|
933
933
|
};
|
934
934
|
}, {
|
935
935
|
id: string;
|
936
|
-
createdAt:
|
937
|
-
updatedAt:
|
938
|
-
deletedAt:
|
936
|
+
createdAt: Date;
|
937
|
+
updatedAt: Date;
|
938
|
+
deletedAt: Date | null;
|
939
939
|
customFieldId: string;
|
940
940
|
upload: {
|
941
941
|
id: string;
|
942
|
-
createdAt:
|
943
|
-
updatedAt:
|
944
|
-
deletedAt:
|
942
|
+
createdAt: Date;
|
943
|
+
updatedAt: Date;
|
944
|
+
deletedAt: Date | null;
|
945
945
|
fileName: string;
|
946
946
|
fileKey: string;
|
947
947
|
bucketName: string;
|
@@ -957,9 +957,9 @@ export declare const messengerContract: {
|
|
957
957
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
958
958
|
id: string;
|
959
959
|
position: number;
|
960
|
-
createdAt:
|
961
|
-
updatedAt:
|
962
|
-
deletedAt:
|
960
|
+
createdAt: Date;
|
961
|
+
updatedAt: Date;
|
962
|
+
deletedAt: Date | null;
|
963
963
|
isDefault: boolean;
|
964
964
|
systemName: string;
|
965
965
|
displayName: string;
|
@@ -973,15 +973,15 @@ export declare const messengerContract: {
|
|
973
973
|
dateValue: Date | null;
|
974
974
|
uploads: {
|
975
975
|
id: string;
|
976
|
-
createdAt:
|
977
|
-
updatedAt:
|
978
|
-
deletedAt:
|
976
|
+
createdAt: Date;
|
977
|
+
updatedAt: Date;
|
978
|
+
deletedAt: Date | null;
|
979
979
|
customFieldId: string;
|
980
980
|
upload: {
|
981
981
|
id: string;
|
982
|
-
createdAt:
|
983
|
-
updatedAt:
|
984
|
-
deletedAt:
|
982
|
+
createdAt: Date;
|
983
|
+
updatedAt: Date;
|
984
|
+
deletedAt: Date | null;
|
985
985
|
fileName: string;
|
986
986
|
fileKey: string;
|
987
987
|
bucketName: string;
|
@@ -997,9 +997,9 @@ export declare const messengerContract: {
|
|
997
997
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
998
998
|
id: string;
|
999
999
|
position: number;
|
1000
|
-
createdAt:
|
1001
|
-
updatedAt:
|
1002
|
-
deletedAt:
|
1000
|
+
createdAt: Date;
|
1001
|
+
updatedAt: Date;
|
1002
|
+
deletedAt: Date | null;
|
1003
1003
|
isDefault: boolean;
|
1004
1004
|
systemName: string;
|
1005
1005
|
displayName: string;
|
@@ -1013,15 +1013,15 @@ export declare const messengerContract: {
|
|
1013
1013
|
dateValue: Date | null;
|
1014
1014
|
uploads: {
|
1015
1015
|
id: string;
|
1016
|
-
createdAt:
|
1017
|
-
updatedAt:
|
1018
|
-
deletedAt:
|
1016
|
+
createdAt: Date;
|
1017
|
+
updatedAt: Date;
|
1018
|
+
deletedAt: Date | null;
|
1019
1019
|
customFieldId: string;
|
1020
1020
|
upload: {
|
1021
1021
|
id: string;
|
1022
|
-
createdAt:
|
1023
|
-
updatedAt:
|
1024
|
-
deletedAt:
|
1022
|
+
createdAt: Date;
|
1023
|
+
updatedAt: Date;
|
1024
|
+
deletedAt: Date | null;
|
1025
1025
|
fileName: string;
|
1026
1026
|
fileKey: string;
|
1027
1027
|
bucketName: string;
|
@@ -1150,9 +1150,9 @@ export declare const messengerContract: {
|
|
1150
1150
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1151
1151
|
id: string;
|
1152
1152
|
position: number;
|
1153
|
-
createdAt:
|
1154
|
-
updatedAt:
|
1155
|
-
deletedAt:
|
1153
|
+
createdAt: Date;
|
1154
|
+
updatedAt: Date;
|
1155
|
+
deletedAt: Date | null;
|
1156
1156
|
isDefault: boolean;
|
1157
1157
|
systemName: string;
|
1158
1158
|
displayName: string;
|
@@ -1166,15 +1166,15 @@ export declare const messengerContract: {
|
|
1166
1166
|
dateValue: Date | null;
|
1167
1167
|
uploads: {
|
1168
1168
|
id: string;
|
1169
|
-
createdAt:
|
1170
|
-
updatedAt:
|
1171
|
-
deletedAt:
|
1169
|
+
createdAt: Date;
|
1170
|
+
updatedAt: Date;
|
1171
|
+
deletedAt: Date | null;
|
1172
1172
|
customFieldId: string;
|
1173
1173
|
upload: {
|
1174
1174
|
id: string;
|
1175
|
-
createdAt:
|
1176
|
-
updatedAt:
|
1177
|
-
deletedAt:
|
1175
|
+
createdAt: Date;
|
1176
|
+
updatedAt: Date;
|
1177
|
+
deletedAt: Date | null;
|
1178
1178
|
fileName: string;
|
1179
1179
|
fileKey: string;
|
1180
1180
|
bucketName: string;
|
@@ -1188,15 +1188,15 @@ export declare const messengerContract: {
|
|
1188
1188
|
tags: {
|
1189
1189
|
id: string;
|
1190
1190
|
name: string;
|
1191
|
-
createdAt:
|
1192
|
-
updatedAt:
|
1193
|
-
deletedAt:
|
1191
|
+
createdAt: Date;
|
1192
|
+
updatedAt: Date;
|
1193
|
+
deletedAt: Date | null;
|
1194
1194
|
}[];
|
1195
1195
|
company: {
|
1196
1196
|
id: string;
|
1197
|
-
createdAt:
|
1198
|
-
updatedAt:
|
1199
|
-
deletedAt:
|
1197
|
+
createdAt: Date;
|
1198
|
+
updatedAt: Date;
|
1199
|
+
deletedAt: Date | null;
|
1200
1200
|
address?: string | null | undefined;
|
1201
1201
|
name?: string | undefined;
|
1202
1202
|
phone?: string | null | undefined;
|
@@ -1251,9 +1251,9 @@ export declare const messengerContract: {
|
|
1251
1251
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1252
1252
|
id: string;
|
1253
1253
|
position: number;
|
1254
|
-
createdAt:
|
1255
|
-
updatedAt:
|
1256
|
-
deletedAt:
|
1254
|
+
createdAt: Date;
|
1255
|
+
updatedAt: Date;
|
1256
|
+
deletedAt: Date | null;
|
1257
1257
|
isDefault: boolean;
|
1258
1258
|
systemName: string;
|
1259
1259
|
displayName: string;
|
@@ -1267,15 +1267,15 @@ export declare const messengerContract: {
|
|
1267
1267
|
dateValue: Date | null;
|
1268
1268
|
uploads: {
|
1269
1269
|
id: string;
|
1270
|
-
createdAt:
|
1271
|
-
updatedAt:
|
1272
|
-
deletedAt:
|
1270
|
+
createdAt: Date;
|
1271
|
+
updatedAt: Date;
|
1272
|
+
deletedAt: Date | null;
|
1273
1273
|
customFieldId: string;
|
1274
1274
|
upload: {
|
1275
1275
|
id: string;
|
1276
|
-
createdAt:
|
1277
|
-
updatedAt:
|
1278
|
-
deletedAt:
|
1276
|
+
createdAt: Date;
|
1277
|
+
updatedAt: Date;
|
1278
|
+
deletedAt: Date | null;
|
1279
1279
|
fileName: string;
|
1280
1280
|
fileKey: string;
|
1281
1281
|
bucketName: string;
|
@@ -1289,15 +1289,15 @@ export declare const messengerContract: {
|
|
1289
1289
|
tags: {
|
1290
1290
|
id: string;
|
1291
1291
|
name: string;
|
1292
|
-
createdAt:
|
1293
|
-
updatedAt:
|
1294
|
-
deletedAt:
|
1292
|
+
createdAt: Date;
|
1293
|
+
updatedAt: Date;
|
1294
|
+
deletedAt: Date | null;
|
1295
1295
|
}[];
|
1296
1296
|
company: {
|
1297
1297
|
id: string;
|
1298
|
-
createdAt:
|
1299
|
-
updatedAt:
|
1300
|
-
deletedAt:
|
1298
|
+
createdAt: Date;
|
1299
|
+
updatedAt: Date;
|
1300
|
+
deletedAt: Date | null;
|
1301
1301
|
address?: string | null | undefined;
|
1302
1302
|
name?: string | undefined;
|
1303
1303
|
phone?: string | null | undefined;
|
@@ -1345,9 +1345,9 @@ export declare const messengerContract: {
|
|
1345
1345
|
picture?: string | undefined;
|
1346
1346
|
additionalCredentials?: any;
|
1347
1347
|
};
|
1348
|
-
createdAt:
|
1349
|
-
updatedAt:
|
1350
|
-
deletedAt:
|
1348
|
+
createdAt: Date;
|
1349
|
+
updatedAt: Date;
|
1350
|
+
deletedAt: Date | null;
|
1351
1351
|
contact: {
|
1352
1352
|
id: string;
|
1353
1353
|
channel: string | null;
|
@@ -1365,9 +1365,9 @@ export declare const messengerContract: {
|
|
1365
1365
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1366
1366
|
id: string;
|
1367
1367
|
position: number;
|
1368
|
-
createdAt:
|
1369
|
-
updatedAt:
|
1370
|
-
deletedAt:
|
1368
|
+
createdAt: Date;
|
1369
|
+
updatedAt: Date;
|
1370
|
+
deletedAt: Date | null;
|
1371
1371
|
isDefault: boolean;
|
1372
1372
|
systemName: string;
|
1373
1373
|
displayName: string;
|
@@ -1381,15 +1381,15 @@ export declare const messengerContract: {
|
|
1381
1381
|
dateValue: Date | null;
|
1382
1382
|
uploads: {
|
1383
1383
|
id: string;
|
1384
|
-
createdAt:
|
1385
|
-
updatedAt:
|
1386
|
-
deletedAt:
|
1384
|
+
createdAt: Date;
|
1385
|
+
updatedAt: Date;
|
1386
|
+
deletedAt: Date | null;
|
1387
1387
|
customFieldId: string;
|
1388
1388
|
upload: {
|
1389
1389
|
id: string;
|
1390
|
-
createdAt:
|
1391
|
-
updatedAt:
|
1392
|
-
deletedAt:
|
1390
|
+
createdAt: Date;
|
1391
|
+
updatedAt: Date;
|
1392
|
+
deletedAt: Date | null;
|
1393
1393
|
fileName: string;
|
1394
1394
|
fileKey: string;
|
1395
1395
|
bucketName: string;
|
@@ -1403,15 +1403,15 @@ export declare const messengerContract: {
|
|
1403
1403
|
tags: {
|
1404
1404
|
id: string;
|
1405
1405
|
name: string;
|
1406
|
-
createdAt:
|
1407
|
-
updatedAt:
|
1408
|
-
deletedAt:
|
1406
|
+
createdAt: Date;
|
1407
|
+
updatedAt: Date;
|
1408
|
+
deletedAt: Date | null;
|
1409
1409
|
}[];
|
1410
1410
|
company: {
|
1411
1411
|
id: string;
|
1412
|
-
createdAt:
|
1413
|
-
updatedAt:
|
1414
|
-
deletedAt:
|
1412
|
+
createdAt: Date;
|
1413
|
+
updatedAt: Date;
|
1414
|
+
deletedAt: Date | null;
|
1415
1415
|
address?: string | null | undefined;
|
1416
1416
|
name?: string | undefined;
|
1417
1417
|
phone?: string | null | undefined;
|
@@ -1461,9 +1461,9 @@ export declare const messengerContract: {
|
|
1461
1461
|
picture?: string | undefined;
|
1462
1462
|
additionalCredentials?: any;
|
1463
1463
|
};
|
1464
|
-
createdAt:
|
1465
|
-
updatedAt:
|
1466
|
-
deletedAt:
|
1464
|
+
createdAt: Date;
|
1465
|
+
updatedAt: Date;
|
1466
|
+
deletedAt: Date | null;
|
1467
1467
|
contact: {
|
1468
1468
|
id: string;
|
1469
1469
|
channel: string | null;
|
@@ -1481,9 +1481,9 @@ export declare const messengerContract: {
|
|
1481
1481
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1482
1482
|
id: string;
|
1483
1483
|
position: number;
|
1484
|
-
createdAt:
|
1485
|
-
updatedAt:
|
1486
|
-
deletedAt:
|
1484
|
+
createdAt: Date;
|
1485
|
+
updatedAt: Date;
|
1486
|
+
deletedAt: Date | null;
|
1487
1487
|
isDefault: boolean;
|
1488
1488
|
systemName: string;
|
1489
1489
|
displayName: string;
|
@@ -1497,15 +1497,15 @@ export declare const messengerContract: {
|
|
1497
1497
|
dateValue: Date | null;
|
1498
1498
|
uploads: {
|
1499
1499
|
id: string;
|
1500
|
-
createdAt:
|
1501
|
-
updatedAt:
|
1502
|
-
deletedAt:
|
1500
|
+
createdAt: Date;
|
1501
|
+
updatedAt: Date;
|
1502
|
+
deletedAt: Date | null;
|
1503
1503
|
customFieldId: string;
|
1504
1504
|
upload: {
|
1505
1505
|
id: string;
|
1506
|
-
createdAt:
|
1507
|
-
updatedAt:
|
1508
|
-
deletedAt:
|
1506
|
+
createdAt: Date;
|
1507
|
+
updatedAt: Date;
|
1508
|
+
deletedAt: Date | null;
|
1509
1509
|
fileName: string;
|
1510
1510
|
fileKey: string;
|
1511
1511
|
bucketName: string;
|
@@ -1519,15 +1519,15 @@ export declare const messengerContract: {
|
|
1519
1519
|
tags: {
|
1520
1520
|
id: string;
|
1521
1521
|
name: string;
|
1522
|
-
createdAt:
|
1523
|
-
updatedAt:
|
1524
|
-
deletedAt:
|
1522
|
+
createdAt: Date;
|
1523
|
+
updatedAt: Date;
|
1524
|
+
deletedAt: Date | null;
|
1525
1525
|
}[];
|
1526
1526
|
company: {
|
1527
1527
|
id: string;
|
1528
|
-
createdAt:
|
1529
|
-
updatedAt:
|
1530
|
-
deletedAt:
|
1528
|
+
createdAt: Date;
|
1529
|
+
updatedAt: Date;
|
1530
|
+
deletedAt: Date | null;
|
1531
1531
|
address?: string | null | undefined;
|
1532
1532
|
name?: string | undefined;
|
1533
1533
|
phone?: string | null | undefined;
|
@@ -1969,9 +1969,9 @@ export declare const messengerContract: {
|
|
1969
1969
|
}>;
|
1970
1970
|
channel: z.ZodOptional<z.ZodObject<{
|
1971
1971
|
id: z.ZodOptional<z.ZodString>;
|
1972
|
-
createdAt: z.ZodOptional<z.
|
1973
|
-
updatedAt: z.ZodOptional<z.
|
1974
|
-
deletedAt: z.ZodOptional<z.ZodNullable<z.
|
1972
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
1973
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
1974
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
1975
1975
|
name: z.ZodOptional<z.ZodString>;
|
1976
1976
|
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
1977
1977
|
metadata: z.ZodOptional<z.ZodObject<{
|
@@ -2197,9 +2197,9 @@ export declare const messengerContract: {
|
|
2197
2197
|
}>>;
|
2198
2198
|
}, "strip", z.ZodTypeAny, {
|
2199
2199
|
id?: string | undefined;
|
2200
|
-
createdAt?:
|
2201
|
-
updatedAt?:
|
2202
|
-
deletedAt?:
|
2200
|
+
createdAt?: Date | undefined;
|
2201
|
+
updatedAt?: Date | undefined;
|
2202
|
+
deletedAt?: Date | null | undefined;
|
2203
2203
|
name?: string | undefined;
|
2204
2204
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2205
2205
|
metadata?: {
|
@@ -2259,9 +2259,9 @@ export declare const messengerContract: {
|
|
2259
2259
|
} | undefined;
|
2260
2260
|
}, {
|
2261
2261
|
id?: string | undefined;
|
2262
|
-
createdAt?:
|
2263
|
-
updatedAt?:
|
2264
|
-
deletedAt?:
|
2262
|
+
createdAt?: Date | undefined;
|
2263
|
+
updatedAt?: Date | undefined;
|
2264
|
+
deletedAt?: Date | null | undefined;
|
2265
2265
|
name?: string | undefined;
|
2266
2266
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2267
2267
|
metadata?: {
|
@@ -2322,9 +2322,9 @@ export declare const messengerContract: {
|
|
2322
2322
|
}>>;
|
2323
2323
|
cxlog: z.ZodObject<{
|
2324
2324
|
id: z.ZodString;
|
2325
|
-
createdAt: z.
|
2326
|
-
updatedAt: z.
|
2327
|
-
deletedAt: z.ZodNullable<z.
|
2325
|
+
createdAt: z.ZodDate;
|
2326
|
+
updatedAt: z.ZodDate;
|
2327
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2328
2328
|
caseId: z.ZodNumber;
|
2329
2329
|
entityId: z.ZodString;
|
2330
2330
|
entityName: z.ZodString;
|
@@ -2339,44 +2339,44 @@ export declare const messengerContract: {
|
|
2339
2339
|
disposition: z.ZodNullable<z.ZodString>;
|
2340
2340
|
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2341
2341
|
id: z.ZodString;
|
2342
|
-
createdAt: z.
|
2343
|
-
updatedAt: z.
|
2344
|
-
deletedAt: z.ZodNullable<z.
|
2342
|
+
createdAt: z.ZodDate;
|
2343
|
+
updatedAt: z.ZodDate;
|
2344
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2345
2345
|
note: z.ZodNullable<z.ZodString>;
|
2346
2346
|
disposition: z.ZodNullable<z.ZodString>;
|
2347
2347
|
callFrom: z.ZodNullable<z.ZodString>;
|
2348
2348
|
callTo: z.ZodNullable<z.ZodString>;
|
2349
2349
|
tags: z.ZodArray<z.ZodObject<{
|
2350
2350
|
id: z.ZodString;
|
2351
|
-
createdAt: z.
|
2352
|
-
updatedAt: z.
|
2353
|
-
deletedAt: z.ZodNullable<z.
|
2351
|
+
createdAt: z.ZodDate;
|
2352
|
+
updatedAt: z.ZodDate;
|
2353
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2354
2354
|
name: z.ZodString;
|
2355
2355
|
}, "strip", z.ZodTypeAny, {
|
2356
2356
|
id: string;
|
2357
2357
|
name: string;
|
2358
|
-
createdAt:
|
2359
|
-
updatedAt:
|
2360
|
-
deletedAt:
|
2358
|
+
createdAt: Date;
|
2359
|
+
updatedAt: Date;
|
2360
|
+
deletedAt: Date | null;
|
2361
2361
|
}, {
|
2362
2362
|
id: string;
|
2363
2363
|
name: string;
|
2364
|
-
createdAt:
|
2365
|
-
updatedAt:
|
2366
|
-
deletedAt:
|
2364
|
+
createdAt: Date;
|
2365
|
+
updatedAt: Date;
|
2366
|
+
deletedAt: Date | null;
|
2367
2367
|
}>, "many">;
|
2368
2368
|
}, "strip", z.ZodTypeAny, {
|
2369
2369
|
id: string;
|
2370
2370
|
disposition: string | null;
|
2371
|
-
createdAt:
|
2372
|
-
updatedAt:
|
2373
|
-
deletedAt:
|
2371
|
+
createdAt: Date;
|
2372
|
+
updatedAt: Date;
|
2373
|
+
deletedAt: Date | null;
|
2374
2374
|
tags: {
|
2375
2375
|
id: string;
|
2376
2376
|
name: string;
|
2377
|
-
createdAt:
|
2378
|
-
updatedAt:
|
2379
|
-
deletedAt:
|
2377
|
+
createdAt: Date;
|
2378
|
+
updatedAt: Date;
|
2379
|
+
deletedAt: Date | null;
|
2380
2380
|
}[];
|
2381
2381
|
callFrom: string | null;
|
2382
2382
|
callTo: string | null;
|
@@ -2384,15 +2384,15 @@ export declare const messengerContract: {
|
|
2384
2384
|
}, {
|
2385
2385
|
id: string;
|
2386
2386
|
disposition: string | null;
|
2387
|
-
createdAt:
|
2388
|
-
updatedAt:
|
2389
|
-
deletedAt:
|
2387
|
+
createdAt: Date;
|
2388
|
+
updatedAt: Date;
|
2389
|
+
deletedAt: Date | null;
|
2390
2390
|
tags: {
|
2391
2391
|
id: string;
|
2392
2392
|
name: string;
|
2393
|
-
createdAt:
|
2394
|
-
updatedAt:
|
2395
|
-
deletedAt:
|
2393
|
+
createdAt: Date;
|
2394
|
+
updatedAt: Date;
|
2395
|
+
deletedAt: Date | null;
|
2396
2396
|
}[];
|
2397
2397
|
callFrom: string | null;
|
2398
2398
|
callTo: string | null;
|
@@ -2403,9 +2403,9 @@ export declare const messengerContract: {
|
|
2403
2403
|
channel: string | null;
|
2404
2404
|
disposition: string | null;
|
2405
2405
|
direction: string | null;
|
2406
|
-
createdAt:
|
2407
|
-
updatedAt:
|
2408
|
-
deletedAt:
|
2406
|
+
createdAt: Date;
|
2407
|
+
updatedAt: Date;
|
2408
|
+
deletedAt: Date | null;
|
2409
2409
|
entityId: string;
|
2410
2410
|
contactId: string | null;
|
2411
2411
|
caseId: number;
|
@@ -2418,15 +2418,15 @@ export declare const messengerContract: {
|
|
2418
2418
|
wrapUpForm: {
|
2419
2419
|
id: string;
|
2420
2420
|
disposition: string | null;
|
2421
|
-
createdAt:
|
2422
|
-
updatedAt:
|
2423
|
-
deletedAt:
|
2421
|
+
createdAt: Date;
|
2422
|
+
updatedAt: Date;
|
2423
|
+
deletedAt: Date | null;
|
2424
2424
|
tags: {
|
2425
2425
|
id: string;
|
2426
2426
|
name: string;
|
2427
|
-
createdAt:
|
2428
|
-
updatedAt:
|
2429
|
-
deletedAt:
|
2427
|
+
createdAt: Date;
|
2428
|
+
updatedAt: Date;
|
2429
|
+
deletedAt: Date | null;
|
2430
2430
|
}[];
|
2431
2431
|
callFrom: string | null;
|
2432
2432
|
callTo: string | null;
|
@@ -2437,9 +2437,9 @@ export declare const messengerContract: {
|
|
2437
2437
|
channel: string | null;
|
2438
2438
|
disposition: string | null;
|
2439
2439
|
direction: string | null;
|
2440
|
-
createdAt:
|
2441
|
-
updatedAt:
|
2442
|
-
deletedAt:
|
2440
|
+
createdAt: Date;
|
2441
|
+
updatedAt: Date;
|
2442
|
+
deletedAt: Date | null;
|
2443
2443
|
entityId: string;
|
2444
2444
|
contactId: string | null;
|
2445
2445
|
caseId: number;
|
@@ -2452,15 +2452,15 @@ export declare const messengerContract: {
|
|
2452
2452
|
wrapUpForm: {
|
2453
2453
|
id: string;
|
2454
2454
|
disposition: string | null;
|
2455
|
-
createdAt:
|
2456
|
-
updatedAt:
|
2457
|
-
deletedAt:
|
2455
|
+
createdAt: Date;
|
2456
|
+
updatedAt: Date;
|
2457
|
+
deletedAt: Date | null;
|
2458
2458
|
tags: {
|
2459
2459
|
id: string;
|
2460
2460
|
name: string;
|
2461
|
-
createdAt:
|
2462
|
-
updatedAt:
|
2463
|
-
deletedAt:
|
2461
|
+
createdAt: Date;
|
2462
|
+
updatedAt: Date;
|
2463
|
+
deletedAt: Date | null;
|
2464
2464
|
}[];
|
2465
2465
|
callFrom: string | null;
|
2466
2466
|
callTo: string | null;
|
@@ -2470,9 +2470,9 @@ export declare const messengerContract: {
|
|
2470
2470
|
}, "strip", z.ZodTypeAny, {
|
2471
2471
|
id: string;
|
2472
2472
|
direction: "incoming" | "outgoing" | "system";
|
2473
|
-
createdAt:
|
2474
|
-
updatedAt:
|
2475
|
-
deletedAt:
|
2473
|
+
createdAt: Date;
|
2474
|
+
updatedAt: Date;
|
2475
|
+
deletedAt: Date | null;
|
2476
2476
|
actor: {
|
2477
2477
|
id: string;
|
2478
2478
|
address: string | null;
|
@@ -2532,9 +2532,9 @@ export declare const messengerContract: {
|
|
2532
2532
|
picture?: string | undefined;
|
2533
2533
|
additionalCredentials?: any;
|
2534
2534
|
};
|
2535
|
-
createdAt:
|
2536
|
-
updatedAt:
|
2537
|
-
deletedAt:
|
2535
|
+
createdAt: Date;
|
2536
|
+
updatedAt: Date;
|
2537
|
+
deletedAt: Date | null;
|
2538
2538
|
contact: {
|
2539
2539
|
id: string;
|
2540
2540
|
channel: string | null;
|
@@ -2552,9 +2552,9 @@ export declare const messengerContract: {
|
|
2552
2552
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2553
2553
|
id: string;
|
2554
2554
|
position: number;
|
2555
|
-
createdAt:
|
2556
|
-
updatedAt:
|
2557
|
-
deletedAt:
|
2555
|
+
createdAt: Date;
|
2556
|
+
updatedAt: Date;
|
2557
|
+
deletedAt: Date | null;
|
2558
2558
|
isDefault: boolean;
|
2559
2559
|
systemName: string;
|
2560
2560
|
displayName: string;
|
@@ -2568,15 +2568,15 @@ export declare const messengerContract: {
|
|
2568
2568
|
dateValue: Date | null;
|
2569
2569
|
uploads: {
|
2570
2570
|
id: string;
|
2571
|
-
createdAt:
|
2572
|
-
updatedAt:
|
2573
|
-
deletedAt:
|
2571
|
+
createdAt: Date;
|
2572
|
+
updatedAt: Date;
|
2573
|
+
deletedAt: Date | null;
|
2574
2574
|
customFieldId: string;
|
2575
2575
|
upload: {
|
2576
2576
|
id: string;
|
2577
|
-
createdAt:
|
2578
|
-
updatedAt:
|
2579
|
-
deletedAt:
|
2577
|
+
createdAt: Date;
|
2578
|
+
updatedAt: Date;
|
2579
|
+
deletedAt: Date | null;
|
2580
2580
|
fileName: string;
|
2581
2581
|
fileKey: string;
|
2582
2582
|
bucketName: string;
|
@@ -2590,15 +2590,15 @@ export declare const messengerContract: {
|
|
2590
2590
|
tags: {
|
2591
2591
|
id: string;
|
2592
2592
|
name: string;
|
2593
|
-
createdAt:
|
2594
|
-
updatedAt:
|
2595
|
-
deletedAt:
|
2593
|
+
createdAt: Date;
|
2594
|
+
updatedAt: Date;
|
2595
|
+
deletedAt: Date | null;
|
2596
2596
|
}[];
|
2597
2597
|
company: {
|
2598
2598
|
id: string;
|
2599
|
-
createdAt:
|
2600
|
-
updatedAt:
|
2601
|
-
deletedAt:
|
2599
|
+
createdAt: Date;
|
2600
|
+
updatedAt: Date;
|
2601
|
+
deletedAt: Date | null;
|
2602
2602
|
address?: string | null | undefined;
|
2603
2603
|
name?: string | undefined;
|
2604
2604
|
phone?: string | null | undefined;
|
@@ -2688,9 +2688,9 @@ export declare const messengerContract: {
|
|
2688
2688
|
channel: string | null;
|
2689
2689
|
disposition: string | null;
|
2690
2690
|
direction: string | null;
|
2691
|
-
createdAt:
|
2692
|
-
updatedAt:
|
2693
|
-
deletedAt:
|
2691
|
+
createdAt: Date;
|
2692
|
+
updatedAt: Date;
|
2693
|
+
deletedAt: Date | null;
|
2694
2694
|
entityId: string;
|
2695
2695
|
contactId: string | null;
|
2696
2696
|
caseId: number;
|
@@ -2703,15 +2703,15 @@ export declare const messengerContract: {
|
|
2703
2703
|
wrapUpForm: {
|
2704
2704
|
id: string;
|
2705
2705
|
disposition: string | null;
|
2706
|
-
createdAt:
|
2707
|
-
updatedAt:
|
2708
|
-
deletedAt:
|
2706
|
+
createdAt: Date;
|
2707
|
+
updatedAt: Date;
|
2708
|
+
deletedAt: Date | null;
|
2709
2709
|
tags: {
|
2710
2710
|
id: string;
|
2711
2711
|
name: string;
|
2712
|
-
createdAt:
|
2713
|
-
updatedAt:
|
2714
|
-
deletedAt:
|
2712
|
+
createdAt: Date;
|
2713
|
+
updatedAt: Date;
|
2714
|
+
deletedAt: Date | null;
|
2715
2715
|
}[];
|
2716
2716
|
callFrom: string | null;
|
2717
2717
|
callTo: string | null;
|
@@ -2720,9 +2720,9 @@ export declare const messengerContract: {
|
|
2720
2720
|
};
|
2721
2721
|
channel?: {
|
2722
2722
|
id?: string | undefined;
|
2723
|
-
createdAt?:
|
2724
|
-
updatedAt?:
|
2725
|
-
deletedAt?:
|
2723
|
+
createdAt?: Date | undefined;
|
2724
|
+
updatedAt?: Date | undefined;
|
2725
|
+
deletedAt?: Date | null | undefined;
|
2726
2726
|
name?: string | undefined;
|
2727
2727
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2728
2728
|
metadata?: {
|
@@ -2784,9 +2784,9 @@ export declare const messengerContract: {
|
|
2784
2784
|
}, {
|
2785
2785
|
id: string;
|
2786
2786
|
direction: "incoming" | "outgoing" | "system";
|
2787
|
-
createdAt:
|
2788
|
-
updatedAt:
|
2789
|
-
deletedAt:
|
2787
|
+
createdAt: Date;
|
2788
|
+
updatedAt: Date;
|
2789
|
+
deletedAt: Date | null;
|
2790
2790
|
actor: {
|
2791
2791
|
id: string;
|
2792
2792
|
address: string | null;
|
@@ -2846,9 +2846,9 @@ export declare const messengerContract: {
|
|
2846
2846
|
picture?: string | undefined;
|
2847
2847
|
additionalCredentials?: any;
|
2848
2848
|
};
|
2849
|
-
createdAt:
|
2850
|
-
updatedAt:
|
2851
|
-
deletedAt:
|
2849
|
+
createdAt: Date;
|
2850
|
+
updatedAt: Date;
|
2851
|
+
deletedAt: Date | null;
|
2852
2852
|
contact: {
|
2853
2853
|
id: string;
|
2854
2854
|
channel: string | null;
|
@@ -2866,9 +2866,9 @@ export declare const messengerContract: {
|
|
2866
2866
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2867
2867
|
id: string;
|
2868
2868
|
position: number;
|
2869
|
-
createdAt:
|
2870
|
-
updatedAt:
|
2871
|
-
deletedAt:
|
2869
|
+
createdAt: Date;
|
2870
|
+
updatedAt: Date;
|
2871
|
+
deletedAt: Date | null;
|
2872
2872
|
isDefault: boolean;
|
2873
2873
|
systemName: string;
|
2874
2874
|
displayName: string;
|
@@ -2882,15 +2882,15 @@ export declare const messengerContract: {
|
|
2882
2882
|
dateValue: Date | null;
|
2883
2883
|
uploads: {
|
2884
2884
|
id: string;
|
2885
|
-
createdAt:
|
2886
|
-
updatedAt:
|
2887
|
-
deletedAt:
|
2885
|
+
createdAt: Date;
|
2886
|
+
updatedAt: Date;
|
2887
|
+
deletedAt: Date | null;
|
2888
2888
|
customFieldId: string;
|
2889
2889
|
upload: {
|
2890
2890
|
id: string;
|
2891
|
-
createdAt:
|
2892
|
-
updatedAt:
|
2893
|
-
deletedAt:
|
2891
|
+
createdAt: Date;
|
2892
|
+
updatedAt: Date;
|
2893
|
+
deletedAt: Date | null;
|
2894
2894
|
fileName: string;
|
2895
2895
|
fileKey: string;
|
2896
2896
|
bucketName: string;
|
@@ -2904,15 +2904,15 @@ export declare const messengerContract: {
|
|
2904
2904
|
tags: {
|
2905
2905
|
id: string;
|
2906
2906
|
name: string;
|
2907
|
-
createdAt:
|
2908
|
-
updatedAt:
|
2909
|
-
deletedAt:
|
2907
|
+
createdAt: Date;
|
2908
|
+
updatedAt: Date;
|
2909
|
+
deletedAt: Date | null;
|
2910
2910
|
}[];
|
2911
2911
|
company: {
|
2912
2912
|
id: string;
|
2913
|
-
createdAt:
|
2914
|
-
updatedAt:
|
2915
|
-
deletedAt:
|
2913
|
+
createdAt: Date;
|
2914
|
+
updatedAt: Date;
|
2915
|
+
deletedAt: Date | null;
|
2916
2916
|
address?: string | null | undefined;
|
2917
2917
|
name?: string | undefined;
|
2918
2918
|
phone?: string | null | undefined;
|
@@ -3002,9 +3002,9 @@ export declare const messengerContract: {
|
|
3002
3002
|
channel: string | null;
|
3003
3003
|
disposition: string | null;
|
3004
3004
|
direction: string | null;
|
3005
|
-
createdAt:
|
3006
|
-
updatedAt:
|
3007
|
-
deletedAt:
|
3005
|
+
createdAt: Date;
|
3006
|
+
updatedAt: Date;
|
3007
|
+
deletedAt: Date | null;
|
3008
3008
|
entityId: string;
|
3009
3009
|
contactId: string | null;
|
3010
3010
|
caseId: number;
|
@@ -3017,15 +3017,15 @@ export declare const messengerContract: {
|
|
3017
3017
|
wrapUpForm: {
|
3018
3018
|
id: string;
|
3019
3019
|
disposition: string | null;
|
3020
|
-
createdAt:
|
3021
|
-
updatedAt:
|
3022
|
-
deletedAt:
|
3020
|
+
createdAt: Date;
|
3021
|
+
updatedAt: Date;
|
3022
|
+
deletedAt: Date | null;
|
3023
3023
|
tags: {
|
3024
3024
|
id: string;
|
3025
3025
|
name: string;
|
3026
|
-
createdAt:
|
3027
|
-
updatedAt:
|
3028
|
-
deletedAt:
|
3026
|
+
createdAt: Date;
|
3027
|
+
updatedAt: Date;
|
3028
|
+
deletedAt: Date | null;
|
3029
3029
|
}[];
|
3030
3030
|
callFrom: string | null;
|
3031
3031
|
callTo: string | null;
|
@@ -3034,9 +3034,9 @@ export declare const messengerContract: {
|
|
3034
3034
|
};
|
3035
3035
|
channel?: {
|
3036
3036
|
id?: string | undefined;
|
3037
|
-
createdAt?:
|
3038
|
-
updatedAt?:
|
3039
|
-
deletedAt?:
|
3037
|
+
createdAt?: Date | undefined;
|
3038
|
+
updatedAt?: Date | undefined;
|
3039
|
+
deletedAt?: Date | null | undefined;
|
3040
3040
|
name?: string | undefined;
|
3041
3041
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3042
3042
|
metadata?: {
|
@@ -3098,27 +3098,27 @@ export declare const messengerContract: {
|
|
3098
3098
|
}>;
|
3099
3099
|
upload: z.ZodObject<{
|
3100
3100
|
id: z.ZodString;
|
3101
|
-
createdAt: z.
|
3102
|
-
updatedAt: z.
|
3103
|
-
deletedAt: z.ZodNullable<z.
|
3101
|
+
createdAt: z.ZodDate;
|
3102
|
+
updatedAt: z.ZodDate;
|
3103
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3104
3104
|
bucketName: z.ZodString;
|
3105
3105
|
fileName: z.ZodString;
|
3106
3106
|
fileSize: z.ZodNumber;
|
3107
3107
|
fileKey: z.ZodString;
|
3108
3108
|
}, "strip", z.ZodTypeAny, {
|
3109
3109
|
id: string;
|
3110
|
-
createdAt:
|
3111
|
-
updatedAt:
|
3112
|
-
deletedAt:
|
3110
|
+
createdAt: Date;
|
3111
|
+
updatedAt: Date;
|
3112
|
+
deletedAt: Date | null;
|
3113
3113
|
fileName: string;
|
3114
3114
|
fileKey: string;
|
3115
3115
|
bucketName: string;
|
3116
3116
|
fileSize: number;
|
3117
3117
|
}, {
|
3118
3118
|
id: string;
|
3119
|
-
createdAt:
|
3120
|
-
updatedAt:
|
3121
|
-
deletedAt:
|
3119
|
+
createdAt: Date;
|
3120
|
+
updatedAt: Date;
|
3121
|
+
deletedAt: Date | null;
|
3122
3122
|
fileName: string;
|
3123
3123
|
fileKey: string;
|
3124
3124
|
bucketName: string;
|
@@ -3727,9 +3727,9 @@ export declare const messengerContract: {
|
|
3727
3727
|
id: string;
|
3728
3728
|
url: string;
|
3729
3729
|
direction: "incoming" | "outgoing" | "system";
|
3730
|
-
createdAt:
|
3731
|
-
updatedAt:
|
3732
|
-
deletedAt:
|
3730
|
+
createdAt: Date;
|
3731
|
+
updatedAt: Date;
|
3732
|
+
deletedAt: Date | null;
|
3733
3733
|
platformId: string;
|
3734
3734
|
actor: {
|
3735
3735
|
id: string;
|
@@ -3776,9 +3776,9 @@ export declare const messengerContract: {
|
|
3776
3776
|
};
|
3777
3777
|
upload: {
|
3778
3778
|
id: string;
|
3779
|
-
createdAt:
|
3780
|
-
updatedAt:
|
3781
|
-
deletedAt:
|
3779
|
+
createdAt: Date;
|
3780
|
+
updatedAt: Date;
|
3781
|
+
deletedAt: Date | null;
|
3782
3782
|
fileName: string;
|
3783
3783
|
fileKey: string;
|
3784
3784
|
bucketName: string;
|
@@ -3830,9 +3830,9 @@ export declare const messengerContract: {
|
|
3830
3830
|
room: {
|
3831
3831
|
id: string;
|
3832
3832
|
direction: "incoming" | "outgoing" | "system";
|
3833
|
-
createdAt:
|
3834
|
-
updatedAt:
|
3835
|
-
deletedAt:
|
3833
|
+
createdAt: Date;
|
3834
|
+
updatedAt: Date;
|
3835
|
+
deletedAt: Date | null;
|
3836
3836
|
actor: {
|
3837
3837
|
id: string;
|
3838
3838
|
address: string | null;
|
@@ -3892,9 +3892,9 @@ export declare const messengerContract: {
|
|
3892
3892
|
picture?: string | undefined;
|
3893
3893
|
additionalCredentials?: any;
|
3894
3894
|
};
|
3895
|
-
createdAt:
|
3896
|
-
updatedAt:
|
3897
|
-
deletedAt:
|
3895
|
+
createdAt: Date;
|
3896
|
+
updatedAt: Date;
|
3897
|
+
deletedAt: Date | null;
|
3898
3898
|
contact: {
|
3899
3899
|
id: string;
|
3900
3900
|
channel: string | null;
|
@@ -3912,9 +3912,9 @@ export declare const messengerContract: {
|
|
3912
3912
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3913
3913
|
id: string;
|
3914
3914
|
position: number;
|
3915
|
-
createdAt:
|
3916
|
-
updatedAt:
|
3917
|
-
deletedAt:
|
3915
|
+
createdAt: Date;
|
3916
|
+
updatedAt: Date;
|
3917
|
+
deletedAt: Date | null;
|
3918
3918
|
isDefault: boolean;
|
3919
3919
|
systemName: string;
|
3920
3920
|
displayName: string;
|
@@ -3928,15 +3928,15 @@ export declare const messengerContract: {
|
|
3928
3928
|
dateValue: Date | null;
|
3929
3929
|
uploads: {
|
3930
3930
|
id: string;
|
3931
|
-
createdAt:
|
3932
|
-
updatedAt:
|
3933
|
-
deletedAt:
|
3931
|
+
createdAt: Date;
|
3932
|
+
updatedAt: Date;
|
3933
|
+
deletedAt: Date | null;
|
3934
3934
|
customFieldId: string;
|
3935
3935
|
upload: {
|
3936
3936
|
id: string;
|
3937
|
-
createdAt:
|
3938
|
-
updatedAt:
|
3939
|
-
deletedAt:
|
3937
|
+
createdAt: Date;
|
3938
|
+
updatedAt: Date;
|
3939
|
+
deletedAt: Date | null;
|
3940
3940
|
fileName: string;
|
3941
3941
|
fileKey: string;
|
3942
3942
|
bucketName: string;
|
@@ -3950,15 +3950,15 @@ export declare const messengerContract: {
|
|
3950
3950
|
tags: {
|
3951
3951
|
id: string;
|
3952
3952
|
name: string;
|
3953
|
-
createdAt:
|
3954
|
-
updatedAt:
|
3955
|
-
deletedAt:
|
3953
|
+
createdAt: Date;
|
3954
|
+
updatedAt: Date;
|
3955
|
+
deletedAt: Date | null;
|
3956
3956
|
}[];
|
3957
3957
|
company: {
|
3958
3958
|
id: string;
|
3959
|
-
createdAt:
|
3960
|
-
updatedAt:
|
3961
|
-
deletedAt:
|
3959
|
+
createdAt: Date;
|
3960
|
+
updatedAt: Date;
|
3961
|
+
deletedAt: Date | null;
|
3962
3962
|
address?: string | null | undefined;
|
3963
3963
|
name?: string | undefined;
|
3964
3964
|
phone?: string | null | undefined;
|
@@ -4048,9 +4048,9 @@ export declare const messengerContract: {
|
|
4048
4048
|
channel: string | null;
|
4049
4049
|
disposition: string | null;
|
4050
4050
|
direction: string | null;
|
4051
|
-
createdAt:
|
4052
|
-
updatedAt:
|
4053
|
-
deletedAt:
|
4051
|
+
createdAt: Date;
|
4052
|
+
updatedAt: Date;
|
4053
|
+
deletedAt: Date | null;
|
4054
4054
|
entityId: string;
|
4055
4055
|
contactId: string | null;
|
4056
4056
|
caseId: number;
|
@@ -4063,15 +4063,15 @@ export declare const messengerContract: {
|
|
4063
4063
|
wrapUpForm: {
|
4064
4064
|
id: string;
|
4065
4065
|
disposition: string | null;
|
4066
|
-
createdAt:
|
4067
|
-
updatedAt:
|
4068
|
-
deletedAt:
|
4066
|
+
createdAt: Date;
|
4067
|
+
updatedAt: Date;
|
4068
|
+
deletedAt: Date | null;
|
4069
4069
|
tags: {
|
4070
4070
|
id: string;
|
4071
4071
|
name: string;
|
4072
|
-
createdAt:
|
4073
|
-
updatedAt:
|
4074
|
-
deletedAt:
|
4072
|
+
createdAt: Date;
|
4073
|
+
updatedAt: Date;
|
4074
|
+
deletedAt: Date | null;
|
4075
4075
|
}[];
|
4076
4076
|
callFrom: string | null;
|
4077
4077
|
callTo: string | null;
|
@@ -4080,9 +4080,9 @@ export declare const messengerContract: {
|
|
4080
4080
|
};
|
4081
4081
|
channel?: {
|
4082
4082
|
id?: string | undefined;
|
4083
|
-
createdAt?:
|
4084
|
-
updatedAt?:
|
4085
|
-
deletedAt?:
|
4083
|
+
createdAt?: Date | undefined;
|
4084
|
+
updatedAt?: Date | undefined;
|
4085
|
+
deletedAt?: Date | null | undefined;
|
4086
4086
|
name?: string | undefined;
|
4087
4087
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4088
4088
|
metadata?: {
|
@@ -4199,9 +4199,9 @@ export declare const messengerContract: {
|
|
4199
4199
|
id: string;
|
4200
4200
|
url: string;
|
4201
4201
|
direction: "incoming" | "outgoing" | "system";
|
4202
|
-
createdAt:
|
4203
|
-
updatedAt:
|
4204
|
-
deletedAt:
|
4202
|
+
createdAt: Date;
|
4203
|
+
updatedAt: Date;
|
4204
|
+
deletedAt: Date | null;
|
4205
4205
|
platformId: string;
|
4206
4206
|
actor: {
|
4207
4207
|
id: string;
|
@@ -4248,9 +4248,9 @@ export declare const messengerContract: {
|
|
4248
4248
|
};
|
4249
4249
|
upload: {
|
4250
4250
|
id: string;
|
4251
|
-
createdAt:
|
4252
|
-
updatedAt:
|
4253
|
-
deletedAt:
|
4251
|
+
createdAt: Date;
|
4252
|
+
updatedAt: Date;
|
4253
|
+
deletedAt: Date | null;
|
4254
4254
|
fileName: string;
|
4255
4255
|
fileKey: string;
|
4256
4256
|
bucketName: string;
|
@@ -4302,9 +4302,9 @@ export declare const messengerContract: {
|
|
4302
4302
|
room: {
|
4303
4303
|
id: string;
|
4304
4304
|
direction: "incoming" | "outgoing" | "system";
|
4305
|
-
createdAt:
|
4306
|
-
updatedAt:
|
4307
|
-
deletedAt:
|
4305
|
+
createdAt: Date;
|
4306
|
+
updatedAt: Date;
|
4307
|
+
deletedAt: Date | null;
|
4308
4308
|
actor: {
|
4309
4309
|
id: string;
|
4310
4310
|
address: string | null;
|
@@ -4364,9 +4364,9 @@ export declare const messengerContract: {
|
|
4364
4364
|
picture?: string | undefined;
|
4365
4365
|
additionalCredentials?: any;
|
4366
4366
|
};
|
4367
|
-
createdAt:
|
4368
|
-
updatedAt:
|
4369
|
-
deletedAt:
|
4367
|
+
createdAt: Date;
|
4368
|
+
updatedAt: Date;
|
4369
|
+
deletedAt: Date | null;
|
4370
4370
|
contact: {
|
4371
4371
|
id: string;
|
4372
4372
|
channel: string | null;
|
@@ -4384,9 +4384,9 @@ export declare const messengerContract: {
|
|
4384
4384
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4385
4385
|
id: string;
|
4386
4386
|
position: number;
|
4387
|
-
createdAt:
|
4388
|
-
updatedAt:
|
4389
|
-
deletedAt:
|
4387
|
+
createdAt: Date;
|
4388
|
+
updatedAt: Date;
|
4389
|
+
deletedAt: Date | null;
|
4390
4390
|
isDefault: boolean;
|
4391
4391
|
systemName: string;
|
4392
4392
|
displayName: string;
|
@@ -4400,15 +4400,15 @@ export declare const messengerContract: {
|
|
4400
4400
|
dateValue: Date | null;
|
4401
4401
|
uploads: {
|
4402
4402
|
id: string;
|
4403
|
-
createdAt:
|
4404
|
-
updatedAt:
|
4405
|
-
deletedAt:
|
4403
|
+
createdAt: Date;
|
4404
|
+
updatedAt: Date;
|
4405
|
+
deletedAt: Date | null;
|
4406
4406
|
customFieldId: string;
|
4407
4407
|
upload: {
|
4408
4408
|
id: string;
|
4409
|
-
createdAt:
|
4410
|
-
updatedAt:
|
4411
|
-
deletedAt:
|
4409
|
+
createdAt: Date;
|
4410
|
+
updatedAt: Date;
|
4411
|
+
deletedAt: Date | null;
|
4412
4412
|
fileName: string;
|
4413
4413
|
fileKey: string;
|
4414
4414
|
bucketName: string;
|
@@ -4422,15 +4422,15 @@ export declare const messengerContract: {
|
|
4422
4422
|
tags: {
|
4423
4423
|
id: string;
|
4424
4424
|
name: string;
|
4425
|
-
createdAt:
|
4426
|
-
updatedAt:
|
4427
|
-
deletedAt:
|
4425
|
+
createdAt: Date;
|
4426
|
+
updatedAt: Date;
|
4427
|
+
deletedAt: Date | null;
|
4428
4428
|
}[];
|
4429
4429
|
company: {
|
4430
4430
|
id: string;
|
4431
|
-
createdAt:
|
4432
|
-
updatedAt:
|
4433
|
-
deletedAt:
|
4431
|
+
createdAt: Date;
|
4432
|
+
updatedAt: Date;
|
4433
|
+
deletedAt: Date | null;
|
4434
4434
|
address?: string | null | undefined;
|
4435
4435
|
name?: string | undefined;
|
4436
4436
|
phone?: string | null | undefined;
|
@@ -4520,9 +4520,9 @@ export declare const messengerContract: {
|
|
4520
4520
|
channel: string | null;
|
4521
4521
|
disposition: string | null;
|
4522
4522
|
direction: string | null;
|
4523
|
-
createdAt:
|
4524
|
-
updatedAt:
|
4525
|
-
deletedAt:
|
4523
|
+
createdAt: Date;
|
4524
|
+
updatedAt: Date;
|
4525
|
+
deletedAt: Date | null;
|
4526
4526
|
entityId: string;
|
4527
4527
|
contactId: string | null;
|
4528
4528
|
caseId: number;
|
@@ -4535,15 +4535,15 @@ export declare const messengerContract: {
|
|
4535
4535
|
wrapUpForm: {
|
4536
4536
|
id: string;
|
4537
4537
|
disposition: string | null;
|
4538
|
-
createdAt:
|
4539
|
-
updatedAt:
|
4540
|
-
deletedAt:
|
4538
|
+
createdAt: Date;
|
4539
|
+
updatedAt: Date;
|
4540
|
+
deletedAt: Date | null;
|
4541
4541
|
tags: {
|
4542
4542
|
id: string;
|
4543
4543
|
name: string;
|
4544
|
-
createdAt:
|
4545
|
-
updatedAt:
|
4546
|
-
deletedAt:
|
4544
|
+
createdAt: Date;
|
4545
|
+
updatedAt: Date;
|
4546
|
+
deletedAt: Date | null;
|
4547
4547
|
}[];
|
4548
4548
|
callFrom: string | null;
|
4549
4549
|
callTo: string | null;
|
@@ -4552,9 +4552,9 @@ export declare const messengerContract: {
|
|
4552
4552
|
};
|
4553
4553
|
channel?: {
|
4554
4554
|
id?: string | undefined;
|
4555
|
-
createdAt?:
|
4556
|
-
updatedAt?:
|
4557
|
-
deletedAt?:
|
4555
|
+
createdAt?: Date | undefined;
|
4556
|
+
updatedAt?: Date | undefined;
|
4557
|
+
deletedAt?: Date | null | undefined;
|
4558
4558
|
name?: string | undefined;
|
4559
4559
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
4560
4560
|
metadata?: {
|
@@ -4673,9 +4673,9 @@ export declare const messengerContract: {
|
|
4673
4673
|
id: string;
|
4674
4674
|
url: string;
|
4675
4675
|
direction: "incoming" | "outgoing" | "system";
|
4676
|
-
createdAt:
|
4677
|
-
updatedAt:
|
4678
|
-
deletedAt:
|
4676
|
+
createdAt: Date;
|
4677
|
+
updatedAt: Date;
|
4678
|
+
deletedAt: Date | null;
|
4679
4679
|
platformId: string;
|
4680
4680
|
actor: {
|
4681
4681
|
id: string;
|
@@ -4722,9 +4722,9 @@ export declare const messengerContract: {
|
|
4722
4722
|
};
|
4723
4723
|
upload: {
|
4724
4724
|
id: string;
|
4725
|
-
createdAt:
|
4726
|
-
updatedAt:
|
4727
|
-
deletedAt:
|
4725
|
+
createdAt: Date;
|
4726
|
+
updatedAt: Date;
|
4727
|
+
deletedAt: Date | null;
|
4728
4728
|
fileName: string;
|
4729
4729
|
fileKey: string;
|
4730
4730
|
bucketName: string;
|
@@ -4776,9 +4776,9 @@ export declare const messengerContract: {
|
|
4776
4776
|
room: {
|
4777
4777
|
id: string;
|
4778
4778
|
direction: "incoming" | "outgoing" | "system";
|
4779
|
-
createdAt:
|
4780
|
-
updatedAt:
|
4781
|
-
deletedAt:
|
4779
|
+
createdAt: Date;
|
4780
|
+
updatedAt: Date;
|
4781
|
+
deletedAt: Date | null;
|
4782
4782
|
actor: {
|
4783
4783
|
id: string;
|
4784
4784
|
address: string | null;
|
@@ -4838,9 +4838,9 @@ export declare const messengerContract: {
|
|
4838
4838
|
picture?: string | undefined;
|
4839
4839
|
additionalCredentials?: any;
|
4840
4840
|
};
|
4841
|
-
createdAt:
|
4842
|
-
updatedAt:
|
4843
|
-
deletedAt:
|
4841
|
+
createdAt: Date;
|
4842
|
+
updatedAt: Date;
|
4843
|
+
deletedAt: Date | null;
|
4844
4844
|
contact: {
|
4845
4845
|
id: string;
|
4846
4846
|
channel: string | null;
|
@@ -4858,9 +4858,9 @@ export declare const messengerContract: {
|
|
4858
4858
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4859
4859
|
id: string;
|
4860
4860
|
position: number;
|
4861
|
-
createdAt:
|
4862
|
-
updatedAt:
|
4863
|
-
deletedAt:
|
4861
|
+
createdAt: Date;
|
4862
|
+
updatedAt: Date;
|
4863
|
+
deletedAt: Date | null;
|
4864
4864
|
isDefault: boolean;
|
4865
4865
|
systemName: string;
|
4866
4866
|
displayName: string;
|
@@ -4874,15 +4874,15 @@ export declare const messengerContract: {
|
|
4874
4874
|
dateValue: Date | null;
|
4875
4875
|
uploads: {
|
4876
4876
|
id: string;
|
4877
|
-
createdAt:
|
4878
|
-
updatedAt:
|
4879
|
-
deletedAt:
|
4877
|
+
createdAt: Date;
|
4878
|
+
updatedAt: Date;
|
4879
|
+
deletedAt: Date | null;
|
4880
4880
|
customFieldId: string;
|
4881
4881
|
upload: {
|
4882
4882
|
id: string;
|
4883
|
-
createdAt:
|
4884
|
-
updatedAt:
|
4885
|
-
deletedAt:
|
4883
|
+
createdAt: Date;
|
4884
|
+
updatedAt: Date;
|
4885
|
+
deletedAt: Date | null;
|
4886
4886
|
fileName: string;
|
4887
4887
|
fileKey: string;
|
4888
4888
|
bucketName: string;
|
@@ -4896,15 +4896,15 @@ export declare const messengerContract: {
|
|
4896
4896
|
tags: {
|
4897
4897
|
id: string;
|
4898
4898
|
name: string;
|
4899
|
-
createdAt:
|
4900
|
-
updatedAt:
|
4901
|
-
deletedAt:
|
4899
|
+
createdAt: Date;
|
4900
|
+
updatedAt: Date;
|
4901
|
+
deletedAt: Date | null;
|
4902
4902
|
}[];
|
4903
4903
|
company: {
|
4904
4904
|
id: string;
|
4905
|
-
createdAt:
|
4906
|
-
updatedAt:
|
4907
|
-
deletedAt:
|
4905
|
+
createdAt: Date;
|
4906
|
+
updatedAt: Date;
|
4907
|
+
deletedAt: Date | null;
|
4908
4908
|
address?: string | null | undefined;
|
4909
4909
|
name?: string | undefined;
|
4910
4910
|
phone?: string | null | undefined;
|
@@ -4994,9 +4994,9 @@ export declare const messengerContract: {
|
|
4994
4994
|
channel: string | null;
|
4995
4995
|
disposition: string | null;
|
4996
4996
|
direction: string | null;
|
4997
|
-
createdAt:
|
4998
|
-
updatedAt:
|
4999
|
-
deletedAt:
|
4997
|
+
createdAt: Date;
|
4998
|
+
updatedAt: Date;
|
4999
|
+
deletedAt: Date | null;
|
5000
5000
|
entityId: string;
|
5001
5001
|
contactId: string | null;
|
5002
5002
|
caseId: number;
|
@@ -5009,15 +5009,15 @@ export declare const messengerContract: {
|
|
5009
5009
|
wrapUpForm: {
|
5010
5010
|
id: string;
|
5011
5011
|
disposition: string | null;
|
5012
|
-
createdAt:
|
5013
|
-
updatedAt:
|
5014
|
-
deletedAt:
|
5012
|
+
createdAt: Date;
|
5013
|
+
updatedAt: Date;
|
5014
|
+
deletedAt: Date | null;
|
5015
5015
|
tags: {
|
5016
5016
|
id: string;
|
5017
5017
|
name: string;
|
5018
|
-
createdAt:
|
5019
|
-
updatedAt:
|
5020
|
-
deletedAt:
|
5018
|
+
createdAt: Date;
|
5019
|
+
updatedAt: Date;
|
5020
|
+
deletedAt: Date | null;
|
5021
5021
|
}[];
|
5022
5022
|
callFrom: string | null;
|
5023
5023
|
callTo: string | null;
|
@@ -5026,9 +5026,9 @@ export declare const messengerContract: {
|
|
5026
5026
|
};
|
5027
5027
|
channel?: {
|
5028
5028
|
id?: string | undefined;
|
5029
|
-
createdAt?:
|
5030
|
-
updatedAt?:
|
5031
|
-
deletedAt?:
|
5029
|
+
createdAt?: Date | undefined;
|
5030
|
+
updatedAt?: Date | undefined;
|
5031
|
+
deletedAt?: Date | null | undefined;
|
5032
5032
|
name?: string | undefined;
|
5033
5033
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5034
5034
|
metadata?: {
|
@@ -5148,9 +5148,9 @@ export declare const messengerContract: {
|
|
5148
5148
|
id: string;
|
5149
5149
|
url: string;
|
5150
5150
|
direction: "incoming" | "outgoing" | "system";
|
5151
|
-
createdAt:
|
5152
|
-
updatedAt:
|
5153
|
-
deletedAt:
|
5151
|
+
createdAt: Date;
|
5152
|
+
updatedAt: Date;
|
5153
|
+
deletedAt: Date | null;
|
5154
5154
|
platformId: string;
|
5155
5155
|
actor: {
|
5156
5156
|
id: string;
|
@@ -5197,9 +5197,9 @@ export declare const messengerContract: {
|
|
5197
5197
|
};
|
5198
5198
|
upload: {
|
5199
5199
|
id: string;
|
5200
|
-
createdAt:
|
5201
|
-
updatedAt:
|
5202
|
-
deletedAt:
|
5200
|
+
createdAt: Date;
|
5201
|
+
updatedAt: Date;
|
5202
|
+
deletedAt: Date | null;
|
5203
5203
|
fileName: string;
|
5204
5204
|
fileKey: string;
|
5205
5205
|
bucketName: string;
|
@@ -5251,9 +5251,9 @@ export declare const messengerContract: {
|
|
5251
5251
|
room: {
|
5252
5252
|
id: string;
|
5253
5253
|
direction: "incoming" | "outgoing" | "system";
|
5254
|
-
createdAt:
|
5255
|
-
updatedAt:
|
5256
|
-
deletedAt:
|
5254
|
+
createdAt: Date;
|
5255
|
+
updatedAt: Date;
|
5256
|
+
deletedAt: Date | null;
|
5257
5257
|
actor: {
|
5258
5258
|
id: string;
|
5259
5259
|
address: string | null;
|
@@ -5313,9 +5313,9 @@ export declare const messengerContract: {
|
|
5313
5313
|
picture?: string | undefined;
|
5314
5314
|
additionalCredentials?: any;
|
5315
5315
|
};
|
5316
|
-
createdAt:
|
5317
|
-
updatedAt:
|
5318
|
-
deletedAt:
|
5316
|
+
createdAt: Date;
|
5317
|
+
updatedAt: Date;
|
5318
|
+
deletedAt: Date | null;
|
5319
5319
|
contact: {
|
5320
5320
|
id: string;
|
5321
5321
|
channel: string | null;
|
@@ -5333,9 +5333,9 @@ export declare const messengerContract: {
|
|
5333
5333
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5334
5334
|
id: string;
|
5335
5335
|
position: number;
|
5336
|
-
createdAt:
|
5337
|
-
updatedAt:
|
5338
|
-
deletedAt:
|
5336
|
+
createdAt: Date;
|
5337
|
+
updatedAt: Date;
|
5338
|
+
deletedAt: Date | null;
|
5339
5339
|
isDefault: boolean;
|
5340
5340
|
systemName: string;
|
5341
5341
|
displayName: string;
|
@@ -5349,15 +5349,15 @@ export declare const messengerContract: {
|
|
5349
5349
|
dateValue: Date | null;
|
5350
5350
|
uploads: {
|
5351
5351
|
id: string;
|
5352
|
-
createdAt:
|
5353
|
-
updatedAt:
|
5354
|
-
deletedAt:
|
5352
|
+
createdAt: Date;
|
5353
|
+
updatedAt: Date;
|
5354
|
+
deletedAt: Date | null;
|
5355
5355
|
customFieldId: string;
|
5356
5356
|
upload: {
|
5357
5357
|
id: string;
|
5358
|
-
createdAt:
|
5359
|
-
updatedAt:
|
5360
|
-
deletedAt:
|
5358
|
+
createdAt: Date;
|
5359
|
+
updatedAt: Date;
|
5360
|
+
deletedAt: Date | null;
|
5361
5361
|
fileName: string;
|
5362
5362
|
fileKey: string;
|
5363
5363
|
bucketName: string;
|
@@ -5371,15 +5371,15 @@ export declare const messengerContract: {
|
|
5371
5371
|
tags: {
|
5372
5372
|
id: string;
|
5373
5373
|
name: string;
|
5374
|
-
createdAt:
|
5375
|
-
updatedAt:
|
5376
|
-
deletedAt:
|
5374
|
+
createdAt: Date;
|
5375
|
+
updatedAt: Date;
|
5376
|
+
deletedAt: Date | null;
|
5377
5377
|
}[];
|
5378
5378
|
company: {
|
5379
5379
|
id: string;
|
5380
|
-
createdAt:
|
5381
|
-
updatedAt:
|
5382
|
-
deletedAt:
|
5380
|
+
createdAt: Date;
|
5381
|
+
updatedAt: Date;
|
5382
|
+
deletedAt: Date | null;
|
5383
5383
|
address?: string | null | undefined;
|
5384
5384
|
name?: string | undefined;
|
5385
5385
|
phone?: string | null | undefined;
|
@@ -5469,9 +5469,9 @@ export declare const messengerContract: {
|
|
5469
5469
|
channel: string | null;
|
5470
5470
|
disposition: string | null;
|
5471
5471
|
direction: string | null;
|
5472
|
-
createdAt:
|
5473
|
-
updatedAt:
|
5474
|
-
deletedAt:
|
5472
|
+
createdAt: Date;
|
5473
|
+
updatedAt: Date;
|
5474
|
+
deletedAt: Date | null;
|
5475
5475
|
entityId: string;
|
5476
5476
|
contactId: string | null;
|
5477
5477
|
caseId: number;
|
@@ -5484,15 +5484,15 @@ export declare const messengerContract: {
|
|
5484
5484
|
wrapUpForm: {
|
5485
5485
|
id: string;
|
5486
5486
|
disposition: string | null;
|
5487
|
-
createdAt:
|
5488
|
-
updatedAt:
|
5489
|
-
deletedAt:
|
5487
|
+
createdAt: Date;
|
5488
|
+
updatedAt: Date;
|
5489
|
+
deletedAt: Date | null;
|
5490
5490
|
tags: {
|
5491
5491
|
id: string;
|
5492
5492
|
name: string;
|
5493
|
-
createdAt:
|
5494
|
-
updatedAt:
|
5495
|
-
deletedAt:
|
5493
|
+
createdAt: Date;
|
5494
|
+
updatedAt: Date;
|
5495
|
+
deletedAt: Date | null;
|
5496
5496
|
}[];
|
5497
5497
|
callFrom: string | null;
|
5498
5498
|
callTo: string | null;
|
@@ -5501,9 +5501,9 @@ export declare const messengerContract: {
|
|
5501
5501
|
};
|
5502
5502
|
channel?: {
|
5503
5503
|
id?: string | undefined;
|
5504
|
-
createdAt?:
|
5505
|
-
updatedAt?:
|
5506
|
-
deletedAt?:
|
5504
|
+
createdAt?: Date | undefined;
|
5505
|
+
updatedAt?: Date | undefined;
|
5506
|
+
deletedAt?: Date | null | undefined;
|
5507
5507
|
name?: string | undefined;
|
5508
5508
|
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5509
5509
|
metadata?: {
|