@kl1/contracts 1.0.30 → 1.0.32
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 +1649 -1713
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1647 -1711
- 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/channel/index.d.ts +20 -200
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -6
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +32 -32
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +4 -4
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +57 -168
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +5 -8
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +0 -137
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1103 -1103
- package/dist/src/contract.d.ts +1835 -2012
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +7 -11
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -127
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -42
- 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 +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 +703 -1185
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +1 -108
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +458 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +74 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +342 -207
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +338 -168
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +1 -72
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +0 -10
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +1 -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", "attachment", "assign", "solve", "reopen", "open", "sticker", "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
212
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
220
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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", "attachment", "assign", "solve", "reopen", "open", "sticker", "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", "attachment", "assign", "solve", "reopen", "open", "sticker", "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
241
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
249
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
457
|
+
messageType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
463
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
515
|
+
messageType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "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: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
521
|
+
fileType: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
522
522
|
fileKey: string;
|
523
523
|
bucketName: string;
|
524
524
|
fileSize: number;
|
@@ -619,29 +619,12 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
619
619
|
accessToken: string;
|
620
620
|
additionalCredentials?: any;
|
621
621
|
}>;
|
622
|
+
brandName: z.ZodString;
|
622
623
|
platformId: z.ZodString;
|
623
624
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
625
|
+
isReloginRequired: z.ZodBoolean;
|
624
626
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
625
627
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
626
|
-
actor: z.ZodObject<{
|
627
|
-
id: z.ZodString;
|
628
|
-
name: z.ZodString;
|
629
|
-
email: z.ZodString;
|
630
|
-
address: z.ZodNullable<z.ZodString>;
|
631
|
-
phone: z.ZodNullable<z.ZodString>;
|
632
|
-
}, "strip", z.ZodTypeAny, {
|
633
|
-
id: string;
|
634
|
-
address: string | null;
|
635
|
-
name: string;
|
636
|
-
email: string;
|
637
|
-
phone: string | null;
|
638
|
-
}, {
|
639
|
-
id: string;
|
640
|
-
address: string | null;
|
641
|
-
name: string;
|
642
|
-
email: string;
|
643
|
-
phone: string | null;
|
644
|
-
}>;
|
645
628
|
}, "strip", z.ZodTypeAny, {
|
646
629
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
647
630
|
name: string;
|
@@ -652,14 +635,9 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
652
635
|
additionalCredentials?: any;
|
653
636
|
};
|
654
637
|
status: boolean;
|
638
|
+
brandName: string;
|
655
639
|
platformId: string;
|
656
|
-
|
657
|
-
id: string;
|
658
|
-
address: string | null;
|
659
|
-
name: string;
|
660
|
-
email: string;
|
661
|
-
phone: string | null;
|
662
|
-
};
|
640
|
+
isReloginRequired: boolean;
|
663
641
|
connectedUserName?: string | null | undefined;
|
664
642
|
connectedUserId?: string | null | undefined;
|
665
643
|
}, {
|
@@ -672,14 +650,9 @@ export declare const ChannelSchema: z.ZodObject<{
|
|
672
650
|
additionalCredentials?: any;
|
673
651
|
};
|
674
652
|
status: boolean;
|
653
|
+
brandName: string;
|
675
654
|
platformId: string;
|
676
|
-
|
677
|
-
id: string;
|
678
|
-
address: string | null;
|
679
|
-
name: string;
|
680
|
-
email: string;
|
681
|
-
phone: string | null;
|
682
|
-
};
|
655
|
+
isReloginRequired: boolean;
|
683
656
|
connectedUserName?: string | null | undefined;
|
684
657
|
connectedUserId?: string | null | undefined;
|
685
658
|
}>;
|
@@ -804,29 +777,12 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
804
777
|
accessToken: string;
|
805
778
|
additionalCredentials?: any;
|
806
779
|
}>;
|
780
|
+
brandName: z.ZodString;
|
807
781
|
platformId: z.ZodString;
|
808
782
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
783
|
+
isReloginRequired: z.ZodBoolean;
|
809
784
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
810
785
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
811
|
-
actor: z.ZodObject<{
|
812
|
-
id: z.ZodString;
|
813
|
-
name: z.ZodString;
|
814
|
-
email: z.ZodString;
|
815
|
-
address: z.ZodNullable<z.ZodString>;
|
816
|
-
phone: z.ZodNullable<z.ZodString>;
|
817
|
-
}, "strip", z.ZodTypeAny, {
|
818
|
-
id: string;
|
819
|
-
address: string | null;
|
820
|
-
name: string;
|
821
|
-
email: string;
|
822
|
-
phone: string | null;
|
823
|
-
}, {
|
824
|
-
id: string;
|
825
|
-
address: string | null;
|
826
|
-
name: string;
|
827
|
-
email: string;
|
828
|
-
phone: string | null;
|
829
|
-
}>;
|
830
786
|
}, "strip", z.ZodTypeAny, {
|
831
787
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
832
788
|
name: string;
|
@@ -837,14 +793,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
837
793
|
additionalCredentials?: any;
|
838
794
|
};
|
839
795
|
status: boolean;
|
796
|
+
brandName: string;
|
840
797
|
platformId: string;
|
841
|
-
|
842
|
-
id: string;
|
843
|
-
address: string | null;
|
844
|
-
name: string;
|
845
|
-
email: string;
|
846
|
-
phone: string | null;
|
847
|
-
};
|
798
|
+
isReloginRequired: boolean;
|
848
799
|
connectedUserName?: string | null | undefined;
|
849
800
|
connectedUserId?: string | null | undefined;
|
850
801
|
}, {
|
@@ -857,14 +808,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
857
808
|
additionalCredentials?: any;
|
858
809
|
};
|
859
810
|
status: boolean;
|
811
|
+
brandName: string;
|
860
812
|
platformId: string;
|
861
|
-
|
862
|
-
id: string;
|
863
|
-
address: string | null;
|
864
|
-
name: string;
|
865
|
-
email: string;
|
866
|
-
phone: string | null;
|
867
|
-
};
|
813
|
+
isReloginRequired: boolean;
|
868
814
|
connectedUserName?: string | null | undefined;
|
869
815
|
connectedUserId?: string | null | undefined;
|
870
816
|
}>;
|
@@ -880,14 +826,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
880
826
|
additionalCredentials?: any;
|
881
827
|
};
|
882
828
|
status: boolean;
|
829
|
+
brandName: string;
|
883
830
|
platformId: string;
|
884
|
-
|
885
|
-
id: string;
|
886
|
-
address: string | null;
|
887
|
-
name: string;
|
888
|
-
email: string;
|
889
|
-
phone: string | null;
|
890
|
-
};
|
831
|
+
isReloginRequired: boolean;
|
891
832
|
connectedUserName?: string | null | undefined;
|
892
833
|
connectedUserId?: string | null | undefined;
|
893
834
|
};
|
@@ -932,14 +873,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
932
873
|
additionalCredentials?: any;
|
933
874
|
};
|
934
875
|
status: boolean;
|
876
|
+
brandName: string;
|
935
877
|
platformId: string;
|
936
|
-
|
937
|
-
id: string;
|
938
|
-
address: string | null;
|
939
|
-
name: string;
|
940
|
-
email: string;
|
941
|
-
phone: string | null;
|
942
|
-
};
|
878
|
+
isReloginRequired: boolean;
|
943
879
|
connectedUserName?: string | null | undefined;
|
944
880
|
connectedUserId?: string | null | undefined;
|
945
881
|
};
|
@@ -976,7 +912,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
976
912
|
message: z.ZodObject<{
|
977
913
|
message: z.ZodOptional<z.ZodString>;
|
978
914
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
979
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
915
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
980
916
|
readAt: z.ZodOptional<z.ZodDate>;
|
981
917
|
metadata: z.ZodOptional<z.ZodAny>;
|
982
918
|
platformId: z.ZodOptional<z.ZodString>;
|
@@ -1032,7 +968,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1032
968
|
phone: string | null;
|
1033
969
|
}>;
|
1034
970
|
}, "strip", z.ZodTypeAny, {
|
1035
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
971
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
1036
972
|
direction: "incoming" | "outgoing" | "system";
|
1037
973
|
sender: {
|
1038
974
|
address: string | null;
|
@@ -1062,7 +998,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1062
998
|
fileSize: number;
|
1063
999
|
} | undefined;
|
1064
1000
|
}, {
|
1065
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
1001
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
1066
1002
|
direction: "incoming" | "outgoing" | "system";
|
1067
1003
|
sender: {
|
1068
1004
|
address: string | null;
|
@@ -1094,7 +1030,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1094
1030
|
}>;
|
1095
1031
|
}, "strip", z.ZodTypeAny, {
|
1096
1032
|
message: {
|
1097
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
1033
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
1098
1034
|
direction: "incoming" | "outgoing" | "system";
|
1099
1035
|
sender: {
|
1100
1036
|
address: string | null;
|
@@ -1136,14 +1072,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1136
1072
|
additionalCredentials?: any;
|
1137
1073
|
};
|
1138
1074
|
status: boolean;
|
1075
|
+
brandName: string;
|
1139
1076
|
platformId: string;
|
1140
|
-
|
1141
|
-
id: string;
|
1142
|
-
address: string | null;
|
1143
|
-
name: string;
|
1144
|
-
email: string;
|
1145
|
-
phone: string | null;
|
1146
|
-
};
|
1077
|
+
isReloginRequired: boolean;
|
1147
1078
|
connectedUserName?: string | null | undefined;
|
1148
1079
|
connectedUserId?: string | null | undefined;
|
1149
1080
|
};
|
@@ -1179,7 +1110,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1179
1110
|
};
|
1180
1111
|
}, {
|
1181
1112
|
message: {
|
1182
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
1113
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
1183
1114
|
direction: "incoming" | "outgoing" | "system";
|
1184
1115
|
sender: {
|
1185
1116
|
address: string | null;
|
@@ -1221,14 +1152,9 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
|
1221
1152
|
additionalCredentials?: any;
|
1222
1153
|
};
|
1223
1154
|
status: boolean;
|
1155
|
+
brandName: string;
|
1224
1156
|
platformId: string;
|
1225
|
-
|
1226
|
-
id: string;
|
1227
|
-
address: string | null;
|
1228
|
-
name: string;
|
1229
|
-
email: string;
|
1230
|
-
phone: string | null;
|
1231
|
-
};
|
1157
|
+
isReloginRequired: boolean;
|
1232
1158
|
connectedUserName?: string | null | undefined;
|
1233
1159
|
connectedUserId?: string | null | undefined;
|
1234
1160
|
};
|
@@ -1272,7 +1198,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
1272
1198
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1273
1199
|
message: z.ZodString;
|
1274
1200
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
1275
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
1201
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
1276
1202
|
readAt: z.ZodDate;
|
1277
1203
|
metadata: z.ZodAny;
|
1278
1204
|
platformId: z.ZodString;
|
@@ -4446,7 +4372,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4446
4372
|
} | undefined;
|
4447
4373
|
}>;
|
4448
4374
|
}, "strip", z.ZodTypeAny, {
|
4449
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
4375
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
4450
4376
|
message: string;
|
4451
4377
|
id: string;
|
4452
4378
|
url: string;
|
@@ -4918,7 +4844,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4918
4844
|
metadata?: any;
|
4919
4845
|
template?: any;
|
4920
4846
|
}, {
|
4921
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
4847
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
4922
4848
|
message: string;
|
4923
4849
|
id: string;
|
4924
4850
|
url: string;
|
@@ -5392,7 +5318,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5392
5318
|
}>;
|
5393
5319
|
}, "strip", z.ZodTypeAny, {
|
5394
5320
|
data: {
|
5395
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
5321
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
5396
5322
|
message: string;
|
5397
5323
|
id: string;
|
5398
5324
|
url: string;
|
@@ -5867,7 +5793,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5867
5793
|
requestId: string;
|
5868
5794
|
}, {
|
5869
5795
|
data: {
|
5870
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
5796
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
5871
5797
|
message: string;
|
5872
5798
|
id: string;
|
5873
5799
|
url: string;
|
@@ -6341,7 +6267,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6341
6267
|
};
|
6342
6268
|
requestId: string;
|
6343
6269
|
}>;
|
6344
|
-
export declare const
|
6270
|
+
export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
6345
6271
|
requestId: z.ZodString;
|
6346
6272
|
data: z.ZodObject<{
|
6347
6273
|
name: z.ZodString;
|
@@ -6362,29 +6288,12 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6362
6288
|
accessToken: string;
|
6363
6289
|
additionalCredentials?: any;
|
6364
6290
|
}>;
|
6291
|
+
brandName: z.ZodString;
|
6365
6292
|
platformId: z.ZodString;
|
6366
6293
|
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
6294
|
+
isReloginRequired: z.ZodBoolean;
|
6367
6295
|
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6368
6296
|
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6369
|
-
actor: z.ZodObject<{
|
6370
|
-
id: z.ZodString;
|
6371
|
-
name: z.ZodString;
|
6372
|
-
email: z.ZodString;
|
6373
|
-
address: z.ZodNullable<z.ZodString>;
|
6374
|
-
phone: z.ZodNullable<z.ZodString>;
|
6375
|
-
}, "strip", z.ZodTypeAny, {
|
6376
|
-
id: string;
|
6377
|
-
address: string | null;
|
6378
|
-
name: string;
|
6379
|
-
email: string;
|
6380
|
-
phone: string | null;
|
6381
|
-
}, {
|
6382
|
-
id: string;
|
6383
|
-
address: string | null;
|
6384
|
-
name: string;
|
6385
|
-
email: string;
|
6386
|
-
phone: string | null;
|
6387
|
-
}>;
|
6388
6297
|
}, "strip", z.ZodTypeAny, {
|
6389
6298
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6390
6299
|
name: string;
|
@@ -6395,14 +6304,9 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6395
6304
|
additionalCredentials?: any;
|
6396
6305
|
};
|
6397
6306
|
status: boolean;
|
6307
|
+
brandName: string;
|
6398
6308
|
platformId: string;
|
6399
|
-
|
6400
|
-
id: string;
|
6401
|
-
address: string | null;
|
6402
|
-
name: string;
|
6403
|
-
email: string;
|
6404
|
-
phone: string | null;
|
6405
|
-
};
|
6309
|
+
isReloginRequired: boolean;
|
6406
6310
|
connectedUserName?: string | null | undefined;
|
6407
6311
|
connectedUserId?: string | null | undefined;
|
6408
6312
|
}, {
|
@@ -6415,14 +6319,9 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6415
6319
|
additionalCredentials?: any;
|
6416
6320
|
};
|
6417
6321
|
status: boolean;
|
6322
|
+
brandName: string;
|
6418
6323
|
platformId: string;
|
6419
|
-
|
6420
|
-
id: string;
|
6421
|
-
address: string | null;
|
6422
|
-
name: string;
|
6423
|
-
email: string;
|
6424
|
-
phone: string | null;
|
6425
|
-
};
|
6324
|
+
isReloginRequired: boolean;
|
6426
6325
|
connectedUserName?: string | null | undefined;
|
6427
6326
|
connectedUserId?: string | null | undefined;
|
6428
6327
|
}>;
|
@@ -6437,14 +6336,9 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6437
6336
|
additionalCredentials?: any;
|
6438
6337
|
};
|
6439
6338
|
status: boolean;
|
6339
|
+
brandName: string;
|
6440
6340
|
platformId: string;
|
6441
|
-
|
6442
|
-
id: string;
|
6443
|
-
address: string | null;
|
6444
|
-
name: string;
|
6445
|
-
email: string;
|
6446
|
-
phone: string | null;
|
6447
|
-
};
|
6341
|
+
isReloginRequired: boolean;
|
6448
6342
|
connectedUserName?: string | null | undefined;
|
6449
6343
|
connectedUserId?: string | null | undefined;
|
6450
6344
|
};
|
@@ -6460,14 +6354,9 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
|
|
6460
6354
|
additionalCredentials?: any;
|
6461
6355
|
};
|
6462
6356
|
status: boolean;
|
6357
|
+
brandName: string;
|
6463
6358
|
platformId: string;
|
6464
|
-
|
6465
|
-
id: string;
|
6466
|
-
address: string | null;
|
6467
|
-
name: string;
|
6468
|
-
email: string;
|
6469
|
-
phone: string | null;
|
6470
|
-
};
|
6359
|
+
isReloginRequired: boolean;
|
6471
6360
|
connectedUserName?: string | null | undefined;
|
6472
6361
|
connectedUserId?: string | null | undefined;
|
6473
6362
|
};
|
@@ -6481,7 +6370,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
6481
6370
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
6482
6371
|
message: z.ZodString;
|
6483
6372
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
6484
|
-
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "
|
6373
|
+
type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "attachment", "assign", "solve", "reopen", "open", "sticker", "closed", "handed_over", "updated", "started"]>;
|
6485
6374
|
readAt: z.ZodDate;
|
6486
6375
|
metadata: z.ZodAny;
|
6487
6376
|
platformId: z.ZodString;
|
@@ -9655,7 +9544,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9655
9544
|
} | undefined;
|
9656
9545
|
}>;
|
9657
9546
|
}, "strip", z.ZodTypeAny, {
|
9658
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
9547
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
9659
9548
|
message: string;
|
9660
9549
|
id: string;
|
9661
9550
|
url: string;
|
@@ -10127,7 +10016,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10127
10016
|
metadata?: any;
|
10128
10017
|
template?: any;
|
10129
10018
|
}, {
|
10130
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
10019
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
10131
10020
|
message: string;
|
10132
10021
|
id: string;
|
10133
10022
|
url: string;
|
@@ -10601,7 +10490,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10601
10490
|
}>;
|
10602
10491
|
}, "strip", z.ZodTypeAny, {
|
10603
10492
|
message: {
|
10604
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
10493
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
10605
10494
|
message: string;
|
10606
10495
|
id: string;
|
10607
10496
|
url: string;
|
@@ -11075,7 +10964,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11075
10964
|
};
|
11076
10965
|
}, {
|
11077
10966
|
message: {
|
11078
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "
|
10967
|
+
type: "attachment" | "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "assign" | "solve" | "reopen" | "sticker" | "handed_over" | "updated" | "started";
|
11079
10968
|
message: string;
|
11080
10969
|
id: string;
|
11081
10970
|
url: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/chat/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAsBpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBzB,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAErC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;EAQlC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B,CAAC;AAEH,eAAO,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC"}
|
@@ -1,8 +1,5 @@
|
|
1
1
|
import z from 'zod';
|
2
2
|
import { CompanyContractsValidationSchema } from './validation';
|
3
|
-
import { CompanyCustomFieldSchema, CompanySchema } from './schema';
|
4
|
-
export type Company = z.infer<typeof CompanySchema>;
|
5
|
-
export type CompanyCustomField = z.infer<typeof CompanyCustomFieldSchema>;
|
6
3
|
export type CreateCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.create.request>;
|
7
4
|
export type UpdateCompanyRequest = Partial<CreateCompanyRequest>;
|
8
5
|
export type GetAllCompanyRequest = z.infer<typeof CompanyContractsValidationSchema.getAll.request>;
|
@@ -480,7 +477,7 @@ export declare const companyContract: {
|
|
480
477
|
error?: any;
|
481
478
|
}>;
|
482
479
|
};
|
483
|
-
path: "
|
480
|
+
path: "company";
|
484
481
|
};
|
485
482
|
update: {
|
486
483
|
body: z.ZodObject<{
|
@@ -962,7 +959,7 @@ export declare const companyContract: {
|
|
962
959
|
error?: any;
|
963
960
|
}>;
|
964
961
|
};
|
965
|
-
path: "
|
962
|
+
path: "company/:id";
|
966
963
|
};
|
967
964
|
delete: {
|
968
965
|
body: null;
|
@@ -1038,7 +1035,7 @@ export declare const companyContract: {
|
|
1038
1035
|
error?: any;
|
1039
1036
|
}>;
|
1040
1037
|
};
|
1041
|
-
path: "
|
1038
|
+
path: "company/:id";
|
1042
1039
|
};
|
1043
1040
|
getById: {
|
1044
1041
|
summary: "Get a company by id";
|
@@ -1391,7 +1388,7 @@ export declare const companyContract: {
|
|
1391
1388
|
error?: any;
|
1392
1389
|
}>;
|
1393
1390
|
};
|
1394
|
-
path: "
|
1391
|
+
path: "company/:id";
|
1395
1392
|
};
|
1396
1393
|
getAll: {
|
1397
1394
|
summary: "Get all companies";
|
@@ -1800,7 +1797,7 @@ export declare const companyContract: {
|
|
1800
1797
|
error?: any;
|
1801
1798
|
}>;
|
1802
1799
|
};
|
1803
|
-
path: "
|
1800
|
+
path: "company";
|
1804
1801
|
};
|
1805
1802
|
};
|
1806
1803
|
//# sourceMappingURL=index.d.ts.map
|