@kl1/contracts 1.0.32 → 1.0.33
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 +1809 -1627
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1807 -1627
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/validation.d.ts.map +1 -1
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/channel/index.d.ts +721 -299
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +0 -291
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +105 -104
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +16 -16
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +193 -67
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +8 -85
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +137 -0
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +0 -40
- package/dist/src/company/validation.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1191 -1191
- package/dist/src/contract.d.ts +3159 -2340
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +22 -22
- package/dist/src/cx-log/schema.d.ts +16 -16
- package/dist/src/dashboard/index.d.ts +11 -7
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +127 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +6 -6
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -42
- package/dist/src/mail/room-contract.d.ts +42 -42
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +10 -10
- package/dist/src/messenger/index.d.ts +1212 -707
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +108 -1
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +207 -342
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +72 -1
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +47 -46
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -204,12 +204,12 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
204
204
|
fileName: z.ZodString;
|
205
205
|
fileSize: z.ZodNumber;
|
206
206
|
url: z.ZodString;
|
207
|
-
fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
207
|
+
fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
208
208
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
210
210
|
url: string;
|
211
211
|
fileName: string;
|
212
|
-
fileType: "
|
212
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
213
213
|
fileKey: string;
|
214
214
|
bucketName: string;
|
215
215
|
fileSize: number;
|
@@ -217,7 +217,7 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
217
217
|
}, {
|
218
218
|
url: string;
|
219
219
|
fileName: string;
|
220
|
-
fileType: "
|
220
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
221
221
|
fileKey: string;
|
222
222
|
bucketName: string;
|
223
223
|
fileSize: number;
|
@@ -225,7 +225,7 @@ export declare const MessageAttachmentSchema: z.ZodObject<{
|
|
225
225
|
}>;
|
226
226
|
export declare const SendMessageSchema: z.ZodObject<{
|
227
227
|
roomId: z.ZodString;
|
228
|
-
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
228
|
+
messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
229
229
|
message: z.ZodOptional<z.ZodString>;
|
230
230
|
messageAttachments: z.ZodOptional<z.ZodObject<{
|
231
231
|
bucketName: z.ZodString;
|
@@ -233,12 +233,12 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
233
233
|
fileName: z.ZodString;
|
234
234
|
fileSize: z.ZodNumber;
|
235
235
|
url: z.ZodString;
|
236
|
-
fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
236
|
+
fileType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
237
237
|
thumbnailUrl: z.ZodOptional<z.ZodString>;
|
238
238
|
}, "strip", z.ZodTypeAny, {
|
239
239
|
url: string;
|
240
240
|
fileName: string;
|
241
|
-
fileType: "
|
241
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
242
242
|
fileKey: string;
|
243
243
|
bucketName: string;
|
244
244
|
fileSize: number;
|
@@ -246,7 +246,7 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
246
246
|
}, {
|
247
247
|
url: string;
|
248
248
|
fileName: string;
|
249
|
-
fileType: "
|
249
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
250
250
|
fileKey: string;
|
251
251
|
bucketName: string;
|
252
252
|
fileSize: number;
|
@@ -454,13 +454,13 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
454
454
|
packageId: z.ZodOptional<z.ZodNumber>;
|
455
455
|
stickerId: z.ZodOptional<z.ZodNumber>;
|
456
456
|
}, "strip", z.ZodTypeAny, {
|
457
|
-
messageType: "
|
457
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
458
458
|
roomId: string;
|
459
459
|
message?: string | undefined;
|
460
460
|
messageAttachments?: {
|
461
461
|
url: string;
|
462
462
|
fileName: string;
|
463
|
-
fileType: "
|
463
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
464
464
|
fileKey: string;
|
465
465
|
bucketName: string;
|
466
466
|
fileSize: number;
|
@@ -512,13 +512,13 @@ export declare const SendMessageSchema: z.ZodObject<{
|
|
512
512
|
packageId?: number | undefined;
|
513
513
|
stickerId?: number | undefined;
|
514
514
|
}, {
|
515
|
-
messageType: "
|
515
|
+
messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
516
516
|
roomId: string;
|
517
517
|
message?: string | undefined;
|
518
518
|
messageAttachments?: {
|
519
519
|
url: string;
|
520
520
|
fileName: string;
|
521
|
-
fileType: "
|
521
|
+
fileType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
522
522
|
fileKey: string;
|
523
523
|
bucketName: string;
|
524
524
|
fileSize: number;
|
@@ -619,12 +619,30 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
619
619
|
accessToken: string;
|
620
620
|
additionalCredentials?: any;
|
621
621
|
}>;
|
622
|
-
brandName: z.ZodString;
|
623
622
|
platformId: z.ZodString;
|
623
|
+
brandName: z.ZodString;
|
624
624
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
625
|
-
isReloginRequired: z.ZodBoolean;
|
626
625
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
627
626
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
627
|
+
actor: z.ZodObject<{
|
628
|
+
id: z.ZodString;
|
629
|
+
name: z.ZodString;
|
630
|
+
email: z.ZodString;
|
631
|
+
address: z.ZodNullable<z.ZodString>;
|
632
|
+
phone: z.ZodNullable<z.ZodString>;
|
633
|
+
}, "strip", z.ZodTypeAny, {
|
634
|
+
id: string;
|
635
|
+
address: string | null;
|
636
|
+
name: string;
|
637
|
+
email: string;
|
638
|
+
phone: string | null;
|
639
|
+
}, {
|
640
|
+
id: string;
|
641
|
+
address: string | null;
|
642
|
+
name: string;
|
643
|
+
email: string;
|
644
|
+
phone: string | null;
|
645
|
+
}>;
|
628
646
|
}, "strip", z.ZodTypeAny, {
|
629
647
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
630
648
|
name: string;
|
@@ -637,7 +655,13 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
637
655
|
status: boolean;
|
638
656
|
brandName: string;
|
639
657
|
platformId: string;
|
640
|
-
|
658
|
+
actor: {
|
659
|
+
id: string;
|
660
|
+
address: string | null;
|
661
|
+
name: string;
|
662
|
+
email: string;
|
663
|
+
phone: string | null;
|
664
|
+
};
|
641
665
|
connectedUserName?: string | null | undefined;
|
642
666
|
connectedUserId?: string | null | undefined;
|
643
667
|
}, {
|
@@ -652,7 +676,13 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
652
676
|
status: boolean;
|
653
677
|
brandName: string;
|
654
678
|
platformId: string;
|
655
|
-
|
679
|
+
actor: {
|
680
|
+
id: string;
|
681
|
+
address: string | null;
|
682
|
+
name: string;
|
683
|
+
email: string;
|
684
|
+
phone: string | null;
|
685
|
+
};
|
656
686
|
connectedUserName?: string | null | undefined;
|
657
687
|
connectedUserId?: string | null | undefined;
|
658
688
|
}>;
|
@@ -713,6 +743,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
713
743
|
picture?: string | undefined;
|
714
744
|
additionalCredentials?: any;
|
715
745
|
};
|
746
|
+
channelId: string;
|
716
747
|
contact: {
|
717
748
|
channel: string | null;
|
718
749
|
address: string | null;
|
@@ -721,7 +752,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
721
752
|
contactProfile: string | null;
|
722
753
|
socialProfileUrl: string | null;
|
723
754
|
};
|
724
|
-
channelId: string;
|
725
755
|
socialPlatformId: string | null;
|
726
756
|
}, {
|
727
757
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -731,6 +761,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
731
761
|
picture?: string | undefined;
|
732
762
|
additionalCredentials?: any;
|
733
763
|
};
|
764
|
+
channelId: string;
|
734
765
|
contact: {
|
735
766
|
channel: string | null;
|
736
767
|
address: string | null;
|
@@ -739,7 +770,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
739
770
|
contactProfile: string | null;
|
740
771
|
socialProfileUrl: string | null;
|
741
772
|
};
|
742
|
-
channelId: string;
|
743
773
|
socialPlatformId: string | null;
|
744
774
|
}>;
|
745
775
|
actor: z.ZodNullable<z.ZodObject<{
|
@@ -777,12 +807,30 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
777
807
|
accessToken: string;
|
778
808
|
additionalCredentials?: any;
|
779
809
|
}>;
|
780
|
-
brandName: z.ZodString;
|
781
810
|
platformId: z.ZodString;
|
811
|
+
brandName: z.ZodString;
|
782
812
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
783
|
-
isReloginRequired: z.ZodBoolean;
|
784
813
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
785
814
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
815
|
+
actor: z.ZodObject<{
|
816
|
+
id: z.ZodString;
|
817
|
+
name: z.ZodString;
|
818
|
+
email: z.ZodString;
|
819
|
+
address: z.ZodNullable<z.ZodString>;
|
820
|
+
phone: z.ZodNullable<z.ZodString>;
|
821
|
+
}, "strip", z.ZodTypeAny, {
|
822
|
+
id: string;
|
823
|
+
address: string | null;
|
824
|
+
name: string;
|
825
|
+
email: string;
|
826
|
+
phone: string | null;
|
827
|
+
}, {
|
828
|
+
id: string;
|
829
|
+
address: string | null;
|
830
|
+
name: string;
|
831
|
+
email: string;
|
832
|
+
phone: string | null;
|
833
|
+
}>;
|
786
834
|
}, "strip", z.ZodTypeAny, {
|
787
835
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
788
836
|
name: string;
|
@@ -795,7 +843,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
795
843
|
status: boolean;
|
796
844
|
brandName: string;
|
797
845
|
platformId: string;
|
798
|
-
|
846
|
+
actor: {
|
847
|
+
id: string;
|
848
|
+
address: string | null;
|
849
|
+
name: string;
|
850
|
+
email: string;
|
851
|
+
phone: string | null;
|
852
|
+
};
|
799
853
|
connectedUserName?: string | null | undefined;
|
800
854
|
connectedUserId?: string | null | undefined;
|
801
855
|
}, {
|
@@ -810,7 +864,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
810
864
|
status: boolean;
|
811
865
|
brandName: string;
|
812
866
|
platformId: string;
|
813
|
-
|
867
|
+
actor: {
|
868
|
+
id: string;
|
869
|
+
address: string | null;
|
870
|
+
name: string;
|
871
|
+
email: string;
|
872
|
+
phone: string | null;
|
873
|
+
};
|
814
874
|
connectedUserName?: string | null | undefined;
|
815
875
|
connectedUserId?: string | null | undefined;
|
816
876
|
}>;
|
@@ -828,7 +888,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
828
888
|
status: boolean;
|
829
889
|
brandName: string;
|
830
890
|
platformId: string;
|
831
|
-
|
891
|
+
actor: {
|
892
|
+
id: string;
|
893
|
+
address: string | null;
|
894
|
+
name: string;
|
895
|
+
email: string;
|
896
|
+
phone: string | null;
|
897
|
+
};
|
832
898
|
connectedUserName?: string | null | undefined;
|
833
899
|
connectedUserId?: string | null | undefined;
|
834
900
|
};
|
@@ -848,6 +914,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
848
914
|
picture?: string | undefined;
|
849
915
|
additionalCredentials?: any;
|
850
916
|
};
|
917
|
+
channelId: string;
|
851
918
|
contact: {
|
852
919
|
channel: string | null;
|
853
920
|
address: string | null;
|
@@ -856,7 +923,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
856
923
|
contactProfile: string | null;
|
857
924
|
socialProfileUrl: string | null;
|
858
925
|
};
|
859
|
-
channelId: string;
|
860
926
|
socialPlatformId: string | null;
|
861
927
|
};
|
862
928
|
lastMessage?: string | undefined;
|
@@ -875,7 +941,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
875
941
|
status: boolean;
|
876
942
|
brandName: string;
|
877
943
|
platformId: string;
|
878
|
-
|
944
|
+
actor: {
|
945
|
+
id: string;
|
946
|
+
address: string | null;
|
947
|
+
name: string;
|
948
|
+
email: string;
|
949
|
+
phone: string | null;
|
950
|
+
};
|
879
951
|
connectedUserName?: string | null | undefined;
|
880
952
|
connectedUserId?: string | null | undefined;
|
881
953
|
};
|
@@ -895,6 +967,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
895
967
|
picture?: string | undefined;
|
896
968
|
additionalCredentials?: any;
|
897
969
|
};
|
970
|
+
channelId: string;
|
898
971
|
contact: {
|
899
972
|
channel: string | null;
|
900
973
|
address: string | null;
|
@@ -903,7 +976,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
903
976
|
contactProfile: string | null;
|
904
977
|
socialProfileUrl: string | null;
|
905
978
|
};
|
906
|
-
channelId: string;
|
907
979
|
socialPlatformId: string | null;
|
908
980
|
};
|
909
981
|
lastMessage?: string | undefined;
|
@@ -912,7 +984,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
912
984
|
message: z.ZodObject<{
|
913
985
|
message: z.ZodOptional<z.ZodString>;
|
914
986
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
915
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
987
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
916
988
|
readAt: z.ZodOptional<z.ZodDate>;
|
917
989
|
metadata: z.ZodOptional<z.ZodAny>;
|
918
990
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -968,7 +1040,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
968
1040
|
phone: string | null;
|
969
1041
|
}>;
|
970
1042
|
}, "strip", z.ZodTypeAny, {
|
971
|
-
type: "
|
1043
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
972
1044
|
direction: "incoming" | "outgoing" | "system";
|
973
1045
|
sender: {
|
974
1046
|
address: string | null;
|
@@ -998,7 +1070,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
998
1070
|
fileSize: number;
|
999
1071
|
} | undefined;
|
1000
1072
|
}, {
|
1001
|
-
type: "
|
1073
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
1002
1074
|
direction: "incoming" | "outgoing" | "system";
|
1003
1075
|
sender: {
|
1004
1076
|
address: string | null;
|
@@ -1030,7 +1102,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1030
1102
|
}>;
|
1031
1103
|
}, "strip", z.ZodTypeAny, {
|
1032
1104
|
message: {
|
1033
|
-
type: "
|
1105
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
1034
1106
|
direction: "incoming" | "outgoing" | "system";
|
1035
1107
|
sender: {
|
1036
1108
|
address: string | null;
|
@@ -1074,7 +1146,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1074
1146
|
status: boolean;
|
1075
1147
|
brandName: string;
|
1076
1148
|
platformId: string;
|
1077
|
-
|
1149
|
+
actor: {
|
1150
|
+
id: string;
|
1151
|
+
address: string | null;
|
1152
|
+
name: string;
|
1153
|
+
email: string;
|
1154
|
+
phone: string | null;
|
1155
|
+
};
|
1078
1156
|
connectedUserName?: string | null | undefined;
|
1079
1157
|
connectedUserId?: string | null | undefined;
|
1080
1158
|
};
|
@@ -1094,6 +1172,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1094
1172
|
picture?: string | undefined;
|
1095
1173
|
additionalCredentials?: any;
|
1096
1174
|
};
|
1175
|
+
channelId: string;
|
1097
1176
|
contact: {
|
1098
1177
|
channel: string | null;
|
1099
1178
|
address: string | null;
|
@@ -1102,7 +1181,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1102
1181
|
contactProfile: string | null;
|
1103
1182
|
socialProfileUrl: string | null;
|
1104
1183
|
};
|
1105
|
-
channelId: string;
|
1106
1184
|
socialPlatformId: string | null;
|
1107
1185
|
};
|
1108
1186
|
lastMessage?: string | undefined;
|
@@ -1110,7 +1188,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1110
1188
|
};
|
1111
1189
|
}, {
|
1112
1190
|
message: {
|
1113
|
-
type: "
|
1191
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
1114
1192
|
direction: "incoming" | "outgoing" | "system";
|
1115
1193
|
sender: {
|
1116
1194
|
address: string | null;
|
@@ -1154,7 +1232,13 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1154
1232
|
status: boolean;
|
1155
1233
|
brandName: string;
|
1156
1234
|
platformId: string;
|
1157
|
-
|
1235
|
+
actor: {
|
1236
|
+
id: string;
|
1237
|
+
address: string | null;
|
1238
|
+
name: string;
|
1239
|
+
email: string;
|
1240
|
+
phone: string | null;
|
1241
|
+
};
|
1158
1242
|
connectedUserName?: string | null | undefined;
|
1159
1243
|
connectedUserId?: string | null | undefined;
|
1160
1244
|
};
|
@@ -1174,6 +1258,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1174
1258
|
picture?: string | undefined;
|
1175
1259
|
additionalCredentials?: any;
|
1176
1260
|
};
|
1261
|
+
channelId: string;
|
1177
1262
|
contact: {
|
1178
1263
|
channel: string | null;
|
1179
1264
|
address: string | null;
|
@@ -1182,7 +1267,6 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1182
1267
|
contactProfile: string | null;
|
1183
1268
|
socialProfileUrl: string | null;
|
1184
1269
|
};
|
1185
|
-
channelId: string;
|
1186
1270
|
socialPlatformId: string | null;
|
1187
1271
|
};
|
1188
1272
|
lastMessage?: string | undefined;
|
@@ -1198,7 +1282,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1198
1282
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1199
1283
|
message: z.ZodString;
|
1200
1284
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1201
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
1285
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
1202
1286
|
readAt: z.ZodDate;
|
1203
1287
|
metadata: z.ZodAny;
|
1204
1288
|
platformId: z.ZodString;
|
@@ -1998,6 +2082,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1998
2082
|
createdAt: Date;
|
1999
2083
|
updatedAt: Date;
|
2000
2084
|
deletedAt: Date | null;
|
2085
|
+
channelId: string;
|
2001
2086
|
contact: {
|
2002
2087
|
id: string;
|
2003
2088
|
channel: string | null;
|
@@ -2100,7 +2185,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2100
2185
|
};
|
2101
2186
|
}[] | undefined;
|
2102
2187
|
};
|
2103
|
-
channelId: string;
|
2104
2188
|
socialPlatformId: string;
|
2105
2189
|
}, {
|
2106
2190
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -2114,6 +2198,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2114
2198
|
createdAt: Date;
|
2115
2199
|
updatedAt: Date;
|
2116
2200
|
deletedAt: Date | null;
|
2201
|
+
channelId: string;
|
2117
2202
|
contact: {
|
2118
2203
|
id: string;
|
2119
2204
|
channel: string | null;
|
@@ -2216,7 +2301,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2216
2301
|
};
|
2217
2302
|
}[] | undefined;
|
2218
2303
|
};
|
2219
|
-
channelId: string;
|
2220
2304
|
socialPlatformId: string;
|
2221
2305
|
}>;
|
2222
2306
|
actor: z.ZodObject<{
|
@@ -3185,6 +3269,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3185
3269
|
createdAt: Date;
|
3186
3270
|
updatedAt: Date;
|
3187
3271
|
deletedAt: Date | null;
|
3272
|
+
channelId: string;
|
3188
3273
|
contact: {
|
3189
3274
|
id: string;
|
3190
3275
|
channel: string | null;
|
@@ -3287,7 +3372,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3287
3372
|
};
|
3288
3373
|
}[] | undefined;
|
3289
3374
|
};
|
3290
|
-
channelId: string;
|
3291
3375
|
socialPlatformId: string;
|
3292
3376
|
};
|
3293
3377
|
assignee: {
|
@@ -3499,6 +3583,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3499
3583
|
createdAt: Date;
|
3500
3584
|
updatedAt: Date;
|
3501
3585
|
deletedAt: Date | null;
|
3586
|
+
channelId: string;
|
3502
3587
|
contact: {
|
3503
3588
|
id: string;
|
3504
3589
|
channel: string | null;
|
@@ -3601,7 +3686,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3601
3686
|
};
|
3602
3687
|
}[] | undefined;
|
3603
3688
|
};
|
3604
|
-
channelId: string;
|
3605
3689
|
socialPlatformId: string;
|
3606
3690
|
};
|
3607
3691
|
assignee: {
|
@@ -4372,7 +4456,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4372
4456
|
} | undefined;
|
4373
4457
|
}>;
|
4374
4458
|
}, "strip", z.ZodTypeAny, {
|
4375
|
-
type: "
|
4459
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
4376
4460
|
message: string;
|
4377
4461
|
id: string;
|
4378
4462
|
url: string;
|
@@ -4545,6 +4629,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4545
4629
|
createdAt: Date;
|
4546
4630
|
updatedAt: Date;
|
4547
4631
|
deletedAt: Date | null;
|
4632
|
+
channelId: string;
|
4548
4633
|
contact: {
|
4549
4634
|
id: string;
|
4550
4635
|
channel: string | null;
|
@@ -4647,7 +4732,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4647
4732
|
};
|
4648
4733
|
}[] | undefined;
|
4649
4734
|
};
|
4650
|
-
channelId: string;
|
4651
4735
|
socialPlatformId: string;
|
4652
4736
|
};
|
4653
4737
|
assignee: {
|
@@ -4844,7 +4928,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4844
4928
|
metadata?: any;
|
4845
4929
|
template?: any;
|
4846
4930
|
}, {
|
4847
|
-
type: "
|
4931
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
4848
4932
|
message: string;
|
4849
4933
|
id: string;
|
4850
4934
|
url: string;
|
@@ -5017,6 +5101,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5017
5101
|
createdAt: Date;
|
5018
5102
|
updatedAt: Date;
|
5019
5103
|
deletedAt: Date | null;
|
5104
|
+
channelId: string;
|
5020
5105
|
contact: {
|
5021
5106
|
id: string;
|
5022
5107
|
channel: string | null;
|
@@ -5119,7 +5204,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5119
5204
|
};
|
5120
5205
|
}[] | undefined;
|
5121
5206
|
};
|
5122
|
-
channelId: string;
|
5123
5207
|
socialPlatformId: string;
|
5124
5208
|
};
|
5125
5209
|
assignee: {
|
@@ -5318,7 +5402,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5318
5402
|
}>;
|
5319
5403
|
}, "strip", z.ZodTypeAny, {
|
5320
5404
|
data: {
|
5321
|
-
type: "
|
5405
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
5322
5406
|
message: string;
|
5323
5407
|
id: string;
|
5324
5408
|
url: string;
|
@@ -5491,6 +5575,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5491
5575
|
createdAt: Date;
|
5492
5576
|
updatedAt: Date;
|
5493
5577
|
deletedAt: Date | null;
|
5578
|
+
channelId: string;
|
5494
5579
|
contact: {
|
5495
5580
|
id: string;
|
5496
5581
|
channel: string | null;
|
@@ -5593,7 +5678,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5593
5678
|
};
|
5594
5679
|
}[] | undefined;
|
5595
5680
|
};
|
5596
|
-
channelId: string;
|
5597
5681
|
socialPlatformId: string;
|
5598
5682
|
};
|
5599
5683
|
assignee: {
|
@@ -5793,7 +5877,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5793
5877
|
requestId: string;
|
5794
5878
|
}, {
|
5795
5879
|
data: {
|
5796
|
-
type: "
|
5880
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
5797
5881
|
message: string;
|
5798
5882
|
id: string;
|
5799
5883
|
url: string;
|
@@ -5966,6 +6050,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5966
6050
|
createdAt: Date;
|
5967
6051
|
updatedAt: Date;
|
5968
6052
|
deletedAt: Date | null;
|
6053
|
+
channelId: string;
|
5969
6054
|
contact: {
|
5970
6055
|
id: string;
|
5971
6056
|
channel: string | null;
|
@@ -6068,7 +6153,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6068
6153
|
};
|
6069
6154
|
}[] | undefined;
|
6070
6155
|
};
|
6071
|
-
channelId: string;
|
6072
6156
|
socialPlatformId: string;
|
6073
6157
|
};
|
6074
6158
|
assignee: {
|
@@ -6267,7 +6351,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6267
6351
|
};
|
6268
6352
|
requestId: string;
|
6269
6353
|
}>;
|
6270
|
-
export declare const
|
6354
|
+
export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
6271
6355
|
requestId: z.ZodString;
|
6272
6356
|
data: z.ZodObject<{
|
6273
6357
|
name: z.ZodString;
|
@@ -6288,12 +6372,30 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6288
6372
|
accessToken: string;
|
6289
6373
|
additionalCredentials?: any;
|
6290
6374
|
}>;
|
6291
|
-
brandName: z.ZodString;
|
6292
6375
|
platformId: z.ZodString;
|
6376
|
+
brandName: z.ZodString;
|
6293
6377
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
6294
|
-
isReloginRequired: z.ZodBoolean;
|
6295
6378
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6296
6379
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6380
|
+
actor: z.ZodObject<{
|
6381
|
+
id: z.ZodString;
|
6382
|
+
name: z.ZodString;
|
6383
|
+
email: z.ZodString;
|
6384
|
+
address: z.ZodNullable<z.ZodString>;
|
6385
|
+
phone: z.ZodNullable<z.ZodString>;
|
6386
|
+
}, "strip", z.ZodTypeAny, {
|
6387
|
+
id: string;
|
6388
|
+
address: string | null;
|
6389
|
+
name: string;
|
6390
|
+
email: string;
|
6391
|
+
phone: string | null;
|
6392
|
+
}, {
|
6393
|
+
id: string;
|
6394
|
+
address: string | null;
|
6395
|
+
name: string;
|
6396
|
+
email: string;
|
6397
|
+
phone: string | null;
|
6398
|
+
}>;
|
6297
6399
|
}, "strip", z.ZodTypeAny, {
|
6298
6400
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6299
6401
|
name: string;
|
@@ -6306,7 +6408,13 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6306
6408
|
status: boolean;
|
6307
6409
|
brandName: string;
|
6308
6410
|
platformId: string;
|
6309
|
-
|
6411
|
+
actor: {
|
6412
|
+
id: string;
|
6413
|
+
address: string | null;
|
6414
|
+
name: string;
|
6415
|
+
email: string;
|
6416
|
+
phone: string | null;
|
6417
|
+
};
|
6310
6418
|
connectedUserName?: string | null | undefined;
|
6311
6419
|
connectedUserId?: string | null | undefined;
|
6312
6420
|
}, {
|
@@ -6321,7 +6429,13 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6321
6429
|
status: boolean;
|
6322
6430
|
brandName: string;
|
6323
6431
|
platformId: string;
|
6324
|
-
|
6432
|
+
actor: {
|
6433
|
+
id: string;
|
6434
|
+
address: string | null;
|
6435
|
+
name: string;
|
6436
|
+
email: string;
|
6437
|
+
phone: string | null;
|
6438
|
+
};
|
6325
6439
|
connectedUserName?: string | null | undefined;
|
6326
6440
|
connectedUserId?: string | null | undefined;
|
6327
6441
|
}>;
|
@@ -6338,7 +6452,13 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6338
6452
|
status: boolean;
|
6339
6453
|
brandName: string;
|
6340
6454
|
platformId: string;
|
6341
|
-
|
6455
|
+
actor: {
|
6456
|
+
id: string;
|
6457
|
+
address: string | null;
|
6458
|
+
name: string;
|
6459
|
+
email: string;
|
6460
|
+
phone: string | null;
|
6461
|
+
};
|
6342
6462
|
connectedUserName?: string | null | undefined;
|
6343
6463
|
connectedUserId?: string | null | undefined;
|
6344
6464
|
};
|
@@ -6356,7 +6476,13 @@ export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
|
6356
6476
|
status: boolean;
|
6357
6477
|
brandName: string;
|
6358
6478
|
platformId: string;
|
6359
|
-
|
6479
|
+
actor: {
|
6480
|
+
id: string;
|
6481
|
+
address: string | null;
|
6482
|
+
name: string;
|
6483
|
+
email: string;
|
6484
|
+
phone: string | null;
|
6485
|
+
};
|
6360
6486
|
connectedUserName?: string | null | undefined;
|
6361
6487
|
connectedUserId?: string | null | undefined;
|
6362
6488
|
};
|
@@ -6370,7 +6496,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6370
6496
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6371
6497
|
message: z.ZodString;
|
6372
6498
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6373
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
6499
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "assign", "solve", "reopen", "open", "closed", "handed_over", "updated", "started"]>;
|
6374
6500
|
readAt: z.ZodDate;
|
6375
6501
|
metadata: z.ZodAny;
|
6376
6502
|
platformId: z.ZodString;
|
@@ -7170,6 +7296,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7170
7296
|
createdAt: Date;
|
7171
7297
|
updatedAt: Date;
|
7172
7298
|
deletedAt: Date | null;
|
7299
|
+
channelId: string;
|
7173
7300
|
contact: {
|
7174
7301
|
id: string;
|
7175
7302
|
channel: string | null;
|
@@ -7272,7 +7399,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7272
7399
|
};
|
7273
7400
|
}[] | undefined;
|
7274
7401
|
};
|
7275
|
-
channelId: string;
|
7276
7402
|
socialPlatformId: string;
|
7277
7403
|
}, {
|
7278
7404
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -7286,6 +7412,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7286
7412
|
createdAt: Date;
|
7287
7413
|
updatedAt: Date;
|
7288
7414
|
deletedAt: Date | null;
|
7415
|
+
channelId: string;
|
7289
7416
|
contact: {
|
7290
7417
|
id: string;
|
7291
7418
|
channel: string | null;
|
@@ -7388,7 +7515,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7388
7515
|
};
|
7389
7516
|
}[] | undefined;
|
7390
7517
|
};
|
7391
|
-
channelId: string;
|
7392
7518
|
socialPlatformId: string;
|
7393
7519
|
}>;
|
7394
7520
|
actor: z.ZodObject<{
|
@@ -8357,6 +8483,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8357
8483
|
createdAt: Date;
|
8358
8484
|
updatedAt: Date;
|
8359
8485
|
deletedAt: Date | null;
|
8486
|
+
channelId: string;
|
8360
8487
|
contact: {
|
8361
8488
|
id: string;
|
8362
8489
|
channel: string | null;
|
@@ -8459,7 +8586,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8459
8586
|
};
|
8460
8587
|
}[] | undefined;
|
8461
8588
|
};
|
8462
|
-
channelId: string;
|
8463
8589
|
socialPlatformId: string;
|
8464
8590
|
};
|
8465
8591
|
assignee: {
|
@@ -8671,6 +8797,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8671
8797
|
createdAt: Date;
|
8672
8798
|
updatedAt: Date;
|
8673
8799
|
deletedAt: Date | null;
|
8800
|
+
channelId: string;
|
8674
8801
|
contact: {
|
8675
8802
|
id: string;
|
8676
8803
|
channel: string | null;
|
@@ -8773,7 +8900,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8773
8900
|
};
|
8774
8901
|
}[] | undefined;
|
8775
8902
|
};
|
8776
|
-
channelId: string;
|
8777
8903
|
socialPlatformId: string;
|
8778
8904
|
};
|
8779
8905
|
assignee: {
|
@@ -9544,7 +9670,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9544
9670
|
} | undefined;
|
9545
9671
|
}>;
|
9546
9672
|
}, "strip", z.ZodTypeAny, {
|
9547
|
-
type: "
|
9673
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
9548
9674
|
message: string;
|
9549
9675
|
id: string;
|
9550
9676
|
url: string;
|
@@ -9717,6 +9843,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9717
9843
|
createdAt: Date;
|
9718
9844
|
updatedAt: Date;
|
9719
9845
|
deletedAt: Date | null;
|
9846
|
+
channelId: string;
|
9720
9847
|
contact: {
|
9721
9848
|
id: string;
|
9722
9849
|
channel: string | null;
|
@@ -9819,7 +9946,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9819
9946
|
};
|
9820
9947
|
}[] | undefined;
|
9821
9948
|
};
|
9822
|
-
channelId: string;
|
9823
9949
|
socialPlatformId: string;
|
9824
9950
|
};
|
9825
9951
|
assignee: {
|
@@ -10016,7 +10142,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10016
10142
|
metadata?: any;
|
10017
10143
|
template?: any;
|
10018
10144
|
}, {
|
10019
|
-
type: "
|
10145
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10020
10146
|
message: string;
|
10021
10147
|
id: string;
|
10022
10148
|
url: string;
|
@@ -10189,6 +10315,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10189
10315
|
createdAt: Date;
|
10190
10316
|
updatedAt: Date;
|
10191
10317
|
deletedAt: Date | null;
|
10318
|
+
channelId: string;
|
10192
10319
|
contact: {
|
10193
10320
|
id: string;
|
10194
10321
|
channel: string | null;
|
@@ -10291,7 +10418,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10291
10418
|
};
|
10292
10419
|
}[] | undefined;
|
10293
10420
|
};
|
10294
|
-
channelId: string;
|
10295
10421
|
socialPlatformId: string;
|
10296
10422
|
};
|
10297
10423
|
assignee: {
|
@@ -10490,7 +10616,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10490
10616
|
}>;
|
10491
10617
|
}, "strip", z.ZodTypeAny, {
|
10492
10618
|
message: {
|
10493
|
-
type: "
|
10619
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10494
10620
|
message: string;
|
10495
10621
|
id: string;
|
10496
10622
|
url: string;
|
@@ -10663,6 +10789,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10663
10789
|
createdAt: Date;
|
10664
10790
|
updatedAt: Date;
|
10665
10791
|
deletedAt: Date | null;
|
10792
|
+
channelId: string;
|
10666
10793
|
contact: {
|
10667
10794
|
id: string;
|
10668
10795
|
channel: string | null;
|
@@ -10765,7 +10892,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10765
10892
|
};
|
10766
10893
|
}[] | undefined;
|
10767
10894
|
};
|
10768
|
-
channelId: string;
|
10769
10895
|
socialPlatformId: string;
|
10770
10896
|
};
|
10771
10897
|
assignee: {
|
@@ -10964,7 +11090,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10964
11090
|
};
|
10965
11091
|
}, {
|
10966
11092
|
message: {
|
10967
|
-
type: "
|
11093
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "assign" | "solve" | "reopen" | "handed_over" | "updated" | "started";
|
10968
11094
|
message: string;
|
10969
11095
|
id: string;
|
10970
11096
|
url: string;
|
@@ -11137,6 +11263,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11137
11263
|
createdAt: Date;
|
11138
11264
|
updatedAt: Date;
|
11139
11265
|
deletedAt: Date | null;
|
11266
|
+
channelId: string;
|
11140
11267
|
contact: {
|
11141
11268
|
id: string;
|
11142
11269
|
channel: string | null;
|
@@ -11239,7 +11366,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11239
11366
|
};
|
11240
11367
|
}[] | undefined;
|
11241
11368
|
};
|
11242
|
-
channelId: string;
|
11243
11369
|
socialPlatformId: string;
|
11244
11370
|
};
|
11245
11371
|
assignee: {
|