@kl1/contracts 1.1.49 → 1.1.50

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.
Files changed (37) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +663 -1
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  4. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  5. package/dist/api-contracts/src/chat/index.d.ts +5 -2
  6. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/contact/index.d.ts +12 -0
  8. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/contact/validation.d.ts +6 -0
  10. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  11. package/dist/api-contracts/src/contract.d.ts +21113 -667
  12. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  13. package/dist/api-contracts/src/mail/account-contract.d.ts +11 -11
  14. package/dist/api-contracts/src/mail/index.d.ts +2 -1
  15. package/dist/api-contracts/src/mail/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/mail/mail-contract.d.ts +29000 -7921
  17. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  19. package/dist/api-contracts/src/mail/message-contract.d.ts +5033 -67
  20. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  21. package/dist/api-contracts/src/mail/room-contract.d.ts +18048 -1933
  22. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  23. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +7 -4
  24. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +762 -40
  26. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +5639 -347
  28. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5635 -304
  30. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/telegram/index.d.ts +216 -1430
  32. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  33. package/dist/index.js +1095 -880
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +1094 -880
  36. package/dist/index.mjs.map +1 -1
  37. package/package.json +1 -1
@@ -680,456 +680,19 @@ export declare const telegramContract: {
680
680
  };
681
681
  disconnect: {
682
682
  body: z.ZodObject<{
683
- id: z.ZodOptional<z.ZodString>;
684
- createdAt: z.ZodOptional<z.ZodDate>;
685
- updatedAt: z.ZodOptional<z.ZodDate>;
686
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
687
- name: z.ZodOptional<z.ZodString>;
688
- type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>>;
689
- metadata: z.ZodOptional<z.ZodObject<{
690
- id: z.ZodString;
691
- name: z.ZodString;
692
- accessToken: z.ZodOptional<z.ZodString>;
693
- channelSecret: z.ZodOptional<z.ZodString>;
694
- additionalCredentials: z.ZodOptional<z.ZodAny>;
695
- senderId: z.ZodOptional<z.ZodString>;
696
- vonageCredentials: z.ZodOptional<z.ZodObject<{
697
- mobileNumber: z.ZodString;
698
- apiKey: z.ZodString;
699
- apiSecret: z.ZodString;
700
- }, "strip", z.ZodTypeAny, {
701
- mobileNumber: string;
702
- apiKey: string;
703
- apiSecret: string;
704
- }, {
705
- mobileNumber: string;
706
- apiKey: string;
707
- apiSecret: string;
708
- }>>;
709
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
710
- }, "strip", z.ZodTypeAny, {
711
- id: string;
712
- name: string;
713
- accessToken?: string | undefined;
714
- channelSecret?: string | undefined;
715
- additionalCredentials?: any;
716
- senderId?: string | undefined;
717
- vonageCredentials?: {
718
- mobileNumber: string;
719
- apiKey: string;
720
- apiSecret: string;
721
- } | undefined;
722
- lineRichMenuId?: string | null | undefined;
723
- }, {
724
- id: string;
725
- name: string;
726
- accessToken?: string | undefined;
727
- channelSecret?: string | undefined;
728
- additionalCredentials?: any;
729
- senderId?: string | undefined;
730
- vonageCredentials?: {
731
- mobileNumber: string;
732
- apiKey: string;
733
- apiSecret: string;
734
- } | undefined;
735
- lineRichMenuId?: string | null | undefined;
736
- }>>;
737
- brandName: z.ZodOptional<z.ZodString>;
738
- platformId: z.ZodOptional<z.ZodString>;
739
- status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
740
- isReloginRequired: z.ZodOptional<z.ZodBoolean>;
741
- connectedUserName: z.ZodOptional<z.ZodString>;
742
- connectedUserId: z.ZodOptional<z.ZodString>;
743
- botpressBot: z.ZodOptional<z.ZodNullable<z.ZodObject<{
744
- id: z.ZodString;
745
- name: z.ZodString;
746
- botId: z.ZodString;
747
- integrationId: z.ZodString;
748
- accessToken: z.ZodString;
749
- }, "strip", z.ZodTypeAny, {
750
- id: string;
751
- name: string;
752
- accessToken: string;
753
- botId: string;
754
- integrationId: string;
755
- }, {
756
- id: string;
757
- name: string;
758
- accessToken: string;
759
- botId: string;
760
- integrationId: string;
761
- }>>>;
762
- actor: z.ZodOptional<z.ZodObject<{
763
- id: z.ZodString;
764
- createdAt: z.ZodDate;
765
- updatedAt: z.ZodDate;
766
- deletedAt: z.ZodNullable<z.ZodDate>;
767
- name: z.ZodString;
768
- email: z.ZodString;
769
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
770
- password: z.ZodString;
771
- address: z.ZodNullable<z.ZodString>;
772
- phone: z.ZodNullable<z.ZodString>;
773
- notificationCount: z.ZodNullable<z.ZodNumber>;
774
- roles: z.ZodArray<z.ZodObject<{
775
- id: z.ZodString;
776
- createdAt: z.ZodDate;
777
- updatedAt: z.ZodDate;
778
- deletedAt: z.ZodNullable<z.ZodDate>;
779
- systemName: z.ZodString;
780
- displayName: z.ZodString;
781
- description: z.ZodNullable<z.ZodString>;
782
- permissions: z.ZodArray<z.ZodObject<{
783
- id: z.ZodString;
784
- createdAt: z.ZodDate;
785
- updatedAt: z.ZodDate;
786
- deletedAt: z.ZodNullable<z.ZodDate>;
787
- systemName: z.ZodString;
788
- displayName: z.ZodString;
789
- description: z.ZodNullable<z.ZodString>;
790
- }, "strip", z.ZodTypeAny, {
791
- id: string;
792
- description: string | null;
793
- createdAt: Date;
794
- updatedAt: Date;
795
- deletedAt: Date | null;
796
- systemName: string;
797
- displayName: string;
798
- }, {
799
- id: string;
800
- description: string | null;
801
- createdAt: Date;
802
- updatedAt: Date;
803
- deletedAt: Date | null;
804
- systemName: string;
805
- displayName: string;
806
- }>, "many">;
807
- }, "strip", z.ZodTypeAny, {
808
- id: string;
809
- description: string | null;
810
- createdAt: Date;
811
- updatedAt: Date;
812
- deletedAt: Date | null;
813
- systemName: string;
814
- displayName: string;
815
- permissions: {
816
- id: string;
817
- description: string | null;
818
- createdAt: Date;
819
- updatedAt: Date;
820
- deletedAt: Date | null;
821
- systemName: string;
822
- displayName: string;
823
- }[];
824
- }, {
825
- id: string;
826
- description: string | null;
827
- createdAt: Date;
828
- updatedAt: Date;
829
- deletedAt: Date | null;
830
- systemName: string;
831
- displayName: string;
832
- permissions: {
833
- id: string;
834
- description: string | null;
835
- createdAt: Date;
836
- updatedAt: Date;
837
- deletedAt: Date | null;
838
- systemName: string;
839
- displayName: string;
840
- }[];
841
- }>, "many">;
842
- extension: z.ZodObject<{
843
- id: z.ZodString;
844
- createdAt: z.ZodDate;
845
- updatedAt: z.ZodDate;
846
- deletedAt: z.ZodNullable<z.ZodDate>;
847
- userId: z.ZodNullable<z.ZodString>;
848
- sipServerUrl: z.ZodString;
849
- sipUserName: z.ZodString;
850
- webphoneLoginUser: z.ZodString;
851
- extensionId: z.ZodNullable<z.ZodString>;
852
- extensionName: z.ZodString;
853
- telephonySignature: z.ZodNullable<z.ZodString>;
854
- }, "strip", z.ZodTypeAny, {
855
- id: string;
856
- createdAt: Date;
857
- updatedAt: Date;
858
- deletedAt: Date | null;
859
- userId: string | null;
860
- sipServerUrl: string;
861
- sipUserName: string;
862
- webphoneLoginUser: string;
863
- extensionId: string | null;
864
- extensionName: string;
865
- telephonySignature: string | null;
866
- }, {
867
- id: string;
868
- createdAt: Date;
869
- updatedAt: Date;
870
- deletedAt: Date | null;
871
- userId: string | null;
872
- sipServerUrl: string;
873
- sipUserName: string;
874
- webphoneLoginUser: string;
875
- extensionId: string | null;
876
- extensionName: string;
877
- telephonySignature: string | null;
878
- }>;
879
- }, "strip", z.ZodTypeAny, {
880
- id: string;
881
- address: string | null;
882
- name: string;
883
- email: string;
884
- createdAt: Date;
885
- updatedAt: Date;
886
- deletedAt: Date | null;
887
- emailVerifiedAt: Date | null;
888
- password: string;
889
- phone: string | null;
890
- notificationCount: number | null;
891
- roles: {
892
- id: string;
893
- description: string | null;
894
- createdAt: Date;
895
- updatedAt: Date;
896
- deletedAt: Date | null;
897
- systemName: string;
898
- displayName: string;
899
- permissions: {
900
- id: string;
901
- description: string | null;
902
- createdAt: Date;
903
- updatedAt: Date;
904
- deletedAt: Date | null;
905
- systemName: string;
906
- displayName: string;
907
- }[];
908
- }[];
909
- extension: {
910
- id: string;
911
- createdAt: Date;
912
- updatedAt: Date;
913
- deletedAt: Date | null;
914
- userId: string | null;
915
- sipServerUrl: string;
916
- sipUserName: string;
917
- webphoneLoginUser: string;
918
- extensionId: string | null;
919
- extensionName: string;
920
- telephonySignature: string | null;
921
- };
922
- }, {
923
- id: string;
924
- address: string | null;
925
- name: string;
926
- email: string;
927
- createdAt: Date;
928
- updatedAt: Date;
929
- deletedAt: Date | null;
930
- emailVerifiedAt: Date | null;
931
- password: string;
932
- phone: string | null;
933
- notificationCount: number | null;
934
- roles: {
935
- id: string;
936
- description: string | null;
937
- createdAt: Date;
938
- updatedAt: Date;
939
- deletedAt: Date | null;
940
- systemName: string;
941
- displayName: string;
942
- permissions: {
943
- id: string;
944
- description: string | null;
945
- createdAt: Date;
946
- updatedAt: Date;
947
- deletedAt: Date | null;
948
- systemName: string;
949
- displayName: string;
950
- }[];
951
- }[];
952
- extension: {
953
- id: string;
954
- createdAt: Date;
955
- updatedAt: Date;
956
- deletedAt: Date | null;
957
- userId: string | null;
958
- sipServerUrl: string;
959
- sipUserName: string;
960
- webphoneLoginUser: string;
961
- extensionId: string | null;
962
- extensionName: string;
963
- telephonySignature: string | null;
964
- };
965
- }>>;
683
+ id: z.ZodString;
966
684
  }, "strip", z.ZodTypeAny, {
967
- id?: string | undefined;
968
- createdAt?: Date | undefined;
969
- updatedAt?: Date | undefined;
970
- deletedAt?: Date | null | undefined;
971
- name?: string | undefined;
972
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
973
- metadata?: {
974
- id: string;
975
- name: string;
976
- accessToken?: string | undefined;
977
- channelSecret?: string | undefined;
978
- additionalCredentials?: any;
979
- senderId?: string | undefined;
980
- vonageCredentials?: {
981
- mobileNumber: string;
982
- apiKey: string;
983
- apiSecret: string;
984
- } | undefined;
985
- lineRichMenuId?: string | null | undefined;
986
- } | undefined;
987
- brandName?: string | undefined;
988
- platformId?: string | undefined;
989
- status?: boolean | undefined;
990
- isReloginRequired?: boolean | undefined;
991
- connectedUserName?: string | undefined;
992
- connectedUserId?: string | undefined;
993
- botpressBot?: {
994
- id: string;
995
- name: string;
996
- accessToken: string;
997
- botId: string;
998
- integrationId: string;
999
- } | null | undefined;
1000
- actor?: {
1001
- id: string;
1002
- address: string | null;
1003
- name: string;
1004
- email: string;
1005
- createdAt: Date;
1006
- updatedAt: Date;
1007
- deletedAt: Date | null;
1008
- emailVerifiedAt: Date | null;
1009
- password: string;
1010
- phone: string | null;
1011
- notificationCount: number | null;
1012
- roles: {
1013
- id: string;
1014
- description: string | null;
1015
- createdAt: Date;
1016
- updatedAt: Date;
1017
- deletedAt: Date | null;
1018
- systemName: string;
1019
- displayName: string;
1020
- permissions: {
1021
- id: string;
1022
- description: string | null;
1023
- createdAt: Date;
1024
- updatedAt: Date;
1025
- deletedAt: Date | null;
1026
- systemName: string;
1027
- displayName: string;
1028
- }[];
1029
- }[];
1030
- extension: {
1031
- id: string;
1032
- createdAt: Date;
1033
- updatedAt: Date;
1034
- deletedAt: Date | null;
1035
- userId: string | null;
1036
- sipServerUrl: string;
1037
- sipUserName: string;
1038
- webphoneLoginUser: string;
1039
- extensionId: string | null;
1040
- extensionName: string;
1041
- telephonySignature: string | null;
1042
- };
1043
- } | undefined;
685
+ id: string;
1044
686
  }, {
1045
- id?: string | undefined;
1046
- createdAt?: Date | undefined;
1047
- updatedAt?: Date | undefined;
1048
- deletedAt?: Date | null | undefined;
1049
- name?: string | undefined;
1050
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
1051
- metadata?: {
1052
- id: string;
1053
- name: string;
1054
- accessToken?: string | undefined;
1055
- channelSecret?: string | undefined;
1056
- additionalCredentials?: any;
1057
- senderId?: string | undefined;
1058
- vonageCredentials?: {
1059
- mobileNumber: string;
1060
- apiKey: string;
1061
- apiSecret: string;
1062
- } | undefined;
1063
- lineRichMenuId?: string | null | undefined;
1064
- } | undefined;
1065
- brandName?: string | undefined;
1066
- platformId?: string | undefined;
1067
- status?: boolean | undefined;
1068
- isReloginRequired?: boolean | undefined;
1069
- connectedUserName?: string | undefined;
1070
- connectedUserId?: string | undefined;
1071
- botpressBot?: {
1072
- id: string;
1073
- name: string;
1074
- accessToken: string;
1075
- botId: string;
1076
- integrationId: string;
1077
- } | null | undefined;
1078
- actor?: {
1079
- id: string;
1080
- address: string | null;
1081
- name: string;
1082
- email: string;
1083
- createdAt: Date;
1084
- updatedAt: Date;
1085
- deletedAt: Date | null;
1086
- emailVerifiedAt: Date | null;
1087
- password: string;
1088
- phone: string | null;
1089
- notificationCount: number | null;
1090
- roles: {
1091
- id: string;
1092
- description: string | null;
1093
- createdAt: Date;
1094
- updatedAt: Date;
1095
- deletedAt: Date | null;
1096
- systemName: string;
1097
- displayName: string;
1098
- permissions: {
1099
- id: string;
1100
- description: string | null;
1101
- createdAt: Date;
1102
- updatedAt: Date;
1103
- deletedAt: Date | null;
1104
- systemName: string;
1105
- displayName: string;
1106
- }[];
1107
- }[];
1108
- extension: {
1109
- id: string;
1110
- createdAt: Date;
1111
- updatedAt: Date;
1112
- deletedAt: Date | null;
1113
- userId: string | null;
1114
- sipServerUrl: string;
1115
- sipUserName: string;
1116
- webphoneLoginUser: string;
1117
- extensionId: string | null;
1118
- extensionName: string;
1119
- telephonySignature: string | null;
1120
- };
1121
- } | undefined;
687
+ id: string;
1122
688
  }>;
1123
689
  summary: "Disconnect telegram channel";
1124
690
  method: "POST";
1125
691
  responses: {
1126
692
  200: z.ZodObject<{
1127
693
  requestId: z.ZodString;
1128
- channel: z.ZodObject<{
694
+ data: z.ZodObject<{
1129
695
  id: z.ZodString;
1130
- createdAt: z.ZodDate;
1131
- updatedAt: z.ZodDate;
1132
- deletedAt: z.ZodNullable<z.ZodDate>;
1133
696
  name: z.ZodString;
1134
697
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
1135
698
  metadata: z.ZodObject<{
@@ -1180,235 +743,31 @@ export declare const telegramContract: {
1180
743
  } | undefined;
1181
744
  lineRichMenuId?: string | null | undefined;
1182
745
  }>;
1183
- brandName: z.ZodString;
1184
746
  platformId: z.ZodString;
747
+ brandName: z.ZodString;
1185
748
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
1186
- isReloginRequired: z.ZodBoolean;
1187
- connectedUserName: z.ZodString;
1188
- connectedUserId: z.ZodString;
1189
- botpressBot: z.ZodNullable<z.ZodObject<{
1190
- id: z.ZodString;
1191
- name: z.ZodString;
1192
- botId: z.ZodString;
1193
- integrationId: z.ZodString;
1194
- accessToken: z.ZodString;
1195
- }, "strip", z.ZodTypeAny, {
1196
- id: string;
1197
- name: string;
1198
- accessToken: string;
1199
- botId: string;
1200
- integrationId: string;
1201
- }, {
1202
- id: string;
1203
- name: string;
1204
- accessToken: string;
1205
- botId: string;
1206
- integrationId: string;
1207
- }>>;
1208
- actor: z.ZodObject<{
1209
- id: z.ZodString;
1210
- createdAt: z.ZodDate;
1211
- updatedAt: z.ZodDate;
1212
- deletedAt: z.ZodNullable<z.ZodDate>;
1213
- name: z.ZodString;
1214
- email: z.ZodString;
1215
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1216
- password: z.ZodString;
1217
- address: z.ZodNullable<z.ZodString>;
1218
- phone: z.ZodNullable<z.ZodString>;
1219
- notificationCount: z.ZodNullable<z.ZodNumber>;
1220
- roles: z.ZodArray<z.ZodObject<{
1221
- id: z.ZodString;
1222
- createdAt: z.ZodDate;
1223
- updatedAt: z.ZodDate;
1224
- deletedAt: z.ZodNullable<z.ZodDate>;
1225
- systemName: z.ZodString;
1226
- displayName: z.ZodString;
1227
- description: z.ZodNullable<z.ZodString>;
1228
- permissions: z.ZodArray<z.ZodObject<{
1229
- id: z.ZodString;
1230
- createdAt: z.ZodDate;
1231
- updatedAt: z.ZodDate;
1232
- deletedAt: z.ZodNullable<z.ZodDate>;
1233
- systemName: z.ZodString;
1234
- displayName: z.ZodString;
1235
- description: z.ZodNullable<z.ZodString>;
1236
- }, "strip", z.ZodTypeAny, {
1237
- id: string;
1238
- description: string | null;
1239
- createdAt: Date;
1240
- updatedAt: Date;
1241
- deletedAt: Date | null;
1242
- systemName: string;
1243
- displayName: string;
1244
- }, {
1245
- id: string;
1246
- description: string | null;
1247
- createdAt: Date;
1248
- updatedAt: Date;
1249
- deletedAt: Date | null;
1250
- systemName: string;
1251
- displayName: string;
1252
- }>, "many">;
1253
- }, "strip", z.ZodTypeAny, {
1254
- id: string;
1255
- description: string | null;
1256
- createdAt: Date;
1257
- updatedAt: Date;
1258
- deletedAt: Date | null;
1259
- systemName: string;
1260
- displayName: string;
1261
- permissions: {
1262
- id: string;
1263
- description: string | null;
1264
- createdAt: Date;
1265
- updatedAt: Date;
1266
- deletedAt: Date | null;
1267
- systemName: string;
1268
- displayName: string;
1269
- }[];
1270
- }, {
1271
- id: string;
1272
- description: string | null;
1273
- createdAt: Date;
1274
- updatedAt: Date;
1275
- deletedAt: Date | null;
1276
- systemName: string;
1277
- displayName: string;
1278
- permissions: {
1279
- id: string;
1280
- description: string | null;
1281
- createdAt: Date;
1282
- updatedAt: Date;
1283
- deletedAt: Date | null;
1284
- systemName: string;
1285
- displayName: string;
1286
- }[];
1287
- }>, "many">;
1288
- extension: z.ZodObject<{
1289
- id: z.ZodString;
1290
- createdAt: z.ZodDate;
1291
- updatedAt: z.ZodDate;
1292
- deletedAt: z.ZodNullable<z.ZodDate>;
1293
- userId: z.ZodNullable<z.ZodString>;
1294
- sipServerUrl: z.ZodString;
1295
- sipUserName: z.ZodString;
1296
- webphoneLoginUser: z.ZodString;
1297
- extensionId: z.ZodNullable<z.ZodString>;
1298
- extensionName: z.ZodString;
1299
- telephonySignature: z.ZodNullable<z.ZodString>;
1300
- }, "strip", z.ZodTypeAny, {
1301
- id: string;
1302
- createdAt: Date;
1303
- updatedAt: Date;
1304
- deletedAt: Date | null;
1305
- userId: string | null;
1306
- sipServerUrl: string;
1307
- sipUserName: string;
1308
- webphoneLoginUser: string;
1309
- extensionId: string | null;
1310
- extensionName: string;
1311
- telephonySignature: string | null;
1312
- }, {
1313
- id: string;
1314
- createdAt: Date;
1315
- updatedAt: Date;
1316
- deletedAt: Date | null;
1317
- userId: string | null;
1318
- sipServerUrl: string;
1319
- sipUserName: string;
1320
- webphoneLoginUser: string;
1321
- extensionId: string | null;
1322
- extensionName: string;
1323
- telephonySignature: string | null;
1324
- }>;
1325
- }, "strip", z.ZodTypeAny, {
1326
- id: string;
1327
- address: string | null;
1328
- name: string;
1329
- email: string;
1330
- createdAt: Date;
1331
- updatedAt: Date;
1332
- deletedAt: Date | null;
1333
- emailVerifiedAt: Date | null;
1334
- password: string;
1335
- phone: string | null;
1336
- notificationCount: number | null;
1337
- roles: {
1338
- id: string;
1339
- description: string | null;
1340
- createdAt: Date;
1341
- updatedAt: Date;
1342
- deletedAt: Date | null;
1343
- systemName: string;
1344
- displayName: string;
1345
- permissions: {
1346
- id: string;
1347
- description: string | null;
1348
- createdAt: Date;
1349
- updatedAt: Date;
1350
- deletedAt: Date | null;
1351
- systemName: string;
1352
- displayName: string;
1353
- }[];
1354
- }[];
1355
- extension: {
1356
- id: string;
1357
- createdAt: Date;
1358
- updatedAt: Date;
1359
- deletedAt: Date | null;
1360
- userId: string | null;
1361
- sipServerUrl: string;
1362
- sipUserName: string;
1363
- webphoneLoginUser: string;
1364
- extensionId: string | null;
1365
- extensionName: string;
1366
- telephonySignature: string | null;
1367
- };
1368
- }, {
1369
- id: string;
1370
- address: string | null;
1371
- name: string;
1372
- email: string;
1373
- createdAt: Date;
1374
- updatedAt: Date;
1375
- deletedAt: Date | null;
1376
- emailVerifiedAt: Date | null;
1377
- password: string;
1378
- phone: string | null;
1379
- notificationCount: number | null;
1380
- roles: {
1381
- id: string;
1382
- description: string | null;
1383
- createdAt: Date;
1384
- updatedAt: Date;
1385
- deletedAt: Date | null;
1386
- systemName: string;
1387
- displayName: string;
1388
- permissions: {
1389
- id: string;
1390
- description: string | null;
1391
- createdAt: Date;
1392
- updatedAt: Date;
1393
- deletedAt: Date | null;
1394
- systemName: string;
1395
- displayName: string;
1396
- }[];
1397
- }[];
1398
- extension: {
1399
- id: string;
1400
- createdAt: Date;
1401
- updatedAt: Date;
1402
- deletedAt: Date | null;
1403
- userId: string | null;
1404
- sipServerUrl: string;
1405
- sipUserName: string;
1406
- webphoneLoginUser: string;
1407
- extensionId: string | null;
1408
- extensionName: string;
1409
- telephonySignature: string | null;
1410
- };
1411
- }>;
749
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
750
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
751
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
752
+ actor: z.ZodOptional<z.ZodObject<{
753
+ id: z.ZodString;
754
+ name: z.ZodString;
755
+ email: z.ZodString;
756
+ address: z.ZodNullable<z.ZodString>;
757
+ phone: z.ZodNullable<z.ZodString>;
758
+ }, "strip", z.ZodTypeAny, {
759
+ id: string;
760
+ address: string | null;
761
+ name: string;
762
+ email: string;
763
+ phone: string | null;
764
+ }, {
765
+ id: string;
766
+ address: string | null;
767
+ name: string;
768
+ email: string;
769
+ phone: string | null;
770
+ }>>;
1412
771
  }, "strip", z.ZodTypeAny, {
1413
772
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1414
773
  id: string;
@@ -1428,65 +787,18 @@ export declare const telegramContract: {
1428
787
  lineRichMenuId?: string | null | undefined;
1429
788
  };
1430
789
  status: boolean;
1431
- createdAt: Date;
1432
- updatedAt: Date;
1433
- deletedAt: Date | null;
1434
- actor: {
790
+ brandName: string;
791
+ platformId: string;
792
+ connectedUserName?: string | null | undefined;
793
+ connectedUserId?: string | null | undefined;
794
+ lineRichMenuId?: string | null | undefined;
795
+ actor?: {
1435
796
  id: string;
1436
797
  address: string | null;
1437
798
  name: string;
1438
799
  email: string;
1439
- createdAt: Date;
1440
- updatedAt: Date;
1441
- deletedAt: Date | null;
1442
- emailVerifiedAt: Date | null;
1443
- password: string;
1444
800
  phone: string | null;
1445
- notificationCount: number | null;
1446
- roles: {
1447
- id: string;
1448
- description: string | null;
1449
- createdAt: Date;
1450
- updatedAt: Date;
1451
- deletedAt: Date | null;
1452
- systemName: string;
1453
- displayName: string;
1454
- permissions: {
1455
- id: string;
1456
- description: string | null;
1457
- createdAt: Date;
1458
- updatedAt: Date;
1459
- deletedAt: Date | null;
1460
- systemName: string;
1461
- displayName: string;
1462
- }[];
1463
- }[];
1464
- extension: {
1465
- id: string;
1466
- createdAt: Date;
1467
- updatedAt: Date;
1468
- deletedAt: Date | null;
1469
- userId: string | null;
1470
- sipServerUrl: string;
1471
- sipUserName: string;
1472
- webphoneLoginUser: string;
1473
- extensionId: string | null;
1474
- extensionName: string;
1475
- telephonySignature: string | null;
1476
- };
1477
- };
1478
- brandName: string;
1479
- platformId: string;
1480
- isReloginRequired: boolean;
1481
- connectedUserName: string;
1482
- connectedUserId: string;
1483
- botpressBot: {
1484
- id: string;
1485
- name: string;
1486
- accessToken: string;
1487
- botId: string;
1488
- integrationId: string;
1489
- } | null;
801
+ } | undefined;
1490
802
  }, {
1491
803
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1492
804
  id: string;
@@ -1506,68 +818,21 @@ export declare const telegramContract: {
1506
818
  lineRichMenuId?: string | null | undefined;
1507
819
  };
1508
820
  status: boolean;
1509
- createdAt: Date;
1510
- updatedAt: Date;
1511
- deletedAt: Date | null;
1512
- actor: {
821
+ brandName: string;
822
+ platformId: string;
823
+ connectedUserName?: string | null | undefined;
824
+ connectedUserId?: string | null | undefined;
825
+ lineRichMenuId?: string | null | undefined;
826
+ actor?: {
1513
827
  id: string;
1514
828
  address: string | null;
1515
829
  name: string;
1516
830
  email: string;
1517
- createdAt: Date;
1518
- updatedAt: Date;
1519
- deletedAt: Date | null;
1520
- emailVerifiedAt: Date | null;
1521
- password: string;
1522
831
  phone: string | null;
1523
- notificationCount: number | null;
1524
- roles: {
1525
- id: string;
1526
- description: string | null;
1527
- createdAt: Date;
1528
- updatedAt: Date;
1529
- deletedAt: Date | null;
1530
- systemName: string;
1531
- displayName: string;
1532
- permissions: {
1533
- id: string;
1534
- description: string | null;
1535
- createdAt: Date;
1536
- updatedAt: Date;
1537
- deletedAt: Date | null;
1538
- systemName: string;
1539
- displayName: string;
1540
- }[];
1541
- }[];
1542
- extension: {
1543
- id: string;
1544
- createdAt: Date;
1545
- updatedAt: Date;
1546
- deletedAt: Date | null;
1547
- userId: string | null;
1548
- sipServerUrl: string;
1549
- sipUserName: string;
1550
- webphoneLoginUser: string;
1551
- extensionId: string | null;
1552
- extensionName: string;
1553
- telephonySignature: string | null;
1554
- };
1555
- };
1556
- brandName: string;
1557
- platformId: string;
1558
- isReloginRequired: boolean;
1559
- connectedUserName: string;
1560
- connectedUserId: string;
1561
- botpressBot: {
1562
- id: string;
1563
- name: string;
1564
- accessToken: string;
1565
- botId: string;
1566
- integrationId: string;
1567
- } | null;
832
+ } | undefined;
1568
833
  }>;
1569
834
  }, "strip", z.ZodTypeAny, {
1570
- channel: {
835
+ data: {
1571
836
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1572
837
  id: string;
1573
838
  name: string;
@@ -1586,69 +851,22 @@ export declare const telegramContract: {
1586
851
  lineRichMenuId?: string | null | undefined;
1587
852
  };
1588
853
  status: boolean;
1589
- createdAt: Date;
1590
- updatedAt: Date;
1591
- deletedAt: Date | null;
1592
- actor: {
854
+ brandName: string;
855
+ platformId: string;
856
+ connectedUserName?: string | null | undefined;
857
+ connectedUserId?: string | null | undefined;
858
+ lineRichMenuId?: string | null | undefined;
859
+ actor?: {
1593
860
  id: string;
1594
861
  address: string | null;
1595
862
  name: string;
1596
863
  email: string;
1597
- createdAt: Date;
1598
- updatedAt: Date;
1599
- deletedAt: Date | null;
1600
- emailVerifiedAt: Date | null;
1601
- password: string;
1602
864
  phone: string | null;
1603
- notificationCount: number | null;
1604
- roles: {
1605
- id: string;
1606
- description: string | null;
1607
- createdAt: Date;
1608
- updatedAt: Date;
1609
- deletedAt: Date | null;
1610
- systemName: string;
1611
- displayName: string;
1612
- permissions: {
1613
- id: string;
1614
- description: string | null;
1615
- createdAt: Date;
1616
- updatedAt: Date;
1617
- deletedAt: Date | null;
1618
- systemName: string;
1619
- displayName: string;
1620
- }[];
1621
- }[];
1622
- extension: {
1623
- id: string;
1624
- createdAt: Date;
1625
- updatedAt: Date;
1626
- deletedAt: Date | null;
1627
- userId: string | null;
1628
- sipServerUrl: string;
1629
- sipUserName: string;
1630
- webphoneLoginUser: string;
1631
- extensionId: string | null;
1632
- extensionName: string;
1633
- telephonySignature: string | null;
1634
- };
1635
- };
1636
- brandName: string;
1637
- platformId: string;
1638
- isReloginRequired: boolean;
1639
- connectedUserName: string;
1640
- connectedUserId: string;
1641
- botpressBot: {
1642
- id: string;
1643
- name: string;
1644
- accessToken: string;
1645
- botId: string;
1646
- integrationId: string;
1647
- } | null;
865
+ } | undefined;
1648
866
  };
1649
867
  requestId: string;
1650
868
  }, {
1651
- channel: {
869
+ data: {
1652
870
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1653
871
  id: string;
1654
872
  name: string;
@@ -1663,72 +881,35 @@ export declare const telegramContract: {
1663
881
  mobileNumber: string;
1664
882
  apiKey: string;
1665
883
  apiSecret: string;
1666
- } | undefined;
1667
- lineRichMenuId?: string | null | undefined;
1668
- };
1669
- status: boolean;
1670
- createdAt: Date;
1671
- updatedAt: Date;
1672
- deletedAt: Date | null;
1673
- actor: {
1674
- id: string;
1675
- address: string | null;
1676
- name: string;
1677
- email: string;
1678
- createdAt: Date;
1679
- updatedAt: Date;
1680
- deletedAt: Date | null;
1681
- emailVerifiedAt: Date | null;
1682
- password: string;
1683
- phone: string | null;
1684
- notificationCount: number | null;
1685
- roles: {
1686
- id: string;
1687
- description: string | null;
1688
- createdAt: Date;
1689
- updatedAt: Date;
1690
- deletedAt: Date | null;
1691
- systemName: string;
1692
- displayName: string;
1693
- permissions: {
1694
- id: string;
1695
- description: string | null;
1696
- createdAt: Date;
1697
- updatedAt: Date;
1698
- deletedAt: Date | null;
1699
- systemName: string;
1700
- displayName: string;
1701
- }[];
1702
- }[];
1703
- extension: {
1704
- id: string;
1705
- createdAt: Date;
1706
- updatedAt: Date;
1707
- deletedAt: Date | null;
1708
- userId: string | null;
1709
- sipServerUrl: string;
1710
- sipUserName: string;
1711
- webphoneLoginUser: string;
1712
- extensionId: string | null;
1713
- extensionName: string;
1714
- telephonySignature: string | null;
1715
- };
884
+ } | undefined;
885
+ lineRichMenuId?: string | null | undefined;
1716
886
  };
887
+ status: boolean;
1717
888
  brandName: string;
1718
889
  platformId: string;
1719
- isReloginRequired: boolean;
1720
- connectedUserName: string;
1721
- connectedUserId: string;
1722
- botpressBot: {
890
+ connectedUserName?: string | null | undefined;
891
+ connectedUserId?: string | null | undefined;
892
+ lineRichMenuId?: string | null | undefined;
893
+ actor?: {
1723
894
  id: string;
895
+ address: string | null;
1724
896
  name: string;
1725
- accessToken: string;
1726
- botId: string;
1727
- integrationId: string;
1728
- } | null;
897
+ email: string;
898
+ phone: string | null;
899
+ } | undefined;
1729
900
  };
1730
901
  requestId: string;
1731
902
  }>;
903
+ 500: z.ZodObject<{
904
+ message: z.ZodString;
905
+ error: z.ZodAny;
906
+ }, "strip", z.ZodTypeAny, {
907
+ message: string;
908
+ error?: any;
909
+ }, {
910
+ message: string;
911
+ error?: any;
912
+ }>;
1732
913
  400: z.ZodObject<{
1733
914
  message: z.ZodString;
1734
915
  error: z.ZodAny;
@@ -2162,7 +1343,7 @@ export declare const telegramContract: {
2162
1343
  id: z.ZodOptional<z.ZodString>;
2163
1344
  message: z.ZodOptional<z.ZodString>;
2164
1345
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2165
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1346
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2166
1347
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2167
1348
  metadata: z.ZodOptional<z.ZodAny>;
2168
1349
  platformId: z.ZodOptional<z.ZodString>;
@@ -2218,7 +1399,7 @@ export declare const telegramContract: {
2218
1399
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2219
1400
  label: z.ZodOptional<z.ZodString>;
2220
1401
  }, "strip", z.ZodTypeAny, {
2221
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1402
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2222
1403
  direction: "incoming" | "outgoing" | "system";
2223
1404
  id?: string | undefined;
2224
1405
  message?: string | undefined;
@@ -2253,7 +1434,7 @@ export declare const telegramContract: {
2253
1434
  editedAt?: string | Date | null | undefined;
2254
1435
  label?: string | undefined;
2255
1436
  }, {
2256
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1437
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2257
1438
  direction: "incoming" | "outgoing" | "system";
2258
1439
  id?: string | undefined;
2259
1440
  message?: string | undefined;
@@ -2290,7 +1471,7 @@ export declare const telegramContract: {
2290
1471
  }>;
2291
1472
  }, "strip", z.ZodTypeAny, {
2292
1473
  message: {
2293
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1474
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2294
1475
  direction: "incoming" | "outgoing" | "system";
2295
1476
  id?: string | undefined;
2296
1477
  message?: string | undefined;
@@ -2403,7 +1584,7 @@ export declare const telegramContract: {
2403
1584
  isBot: boolean | null;
2404
1585
  }, {
2405
1586
  message: {
2406
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1587
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2407
1588
  direction: "incoming" | "outgoing" | "system";
2408
1589
  id?: string | undefined;
2409
1590
  message?: string | undefined;
@@ -2520,7 +1701,7 @@ export declare const telegramContract: {
2520
1701
  200: z.ZodObject<{
2521
1702
  requestId: z.ZodString;
2522
1703
  data: z.ZodObject<{
2523
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1704
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2524
1705
  message: z.ZodString;
2525
1706
  id: z.ZodString;
2526
1707
  url: z.ZodString;
@@ -2745,10 +1926,9 @@ export declare const telegramContract: {
2745
1926
  fileSize: z.ZodNumber;
2746
1927
  fileKey: z.ZodString;
2747
1928
  fileUrl: z.ZodNullable<z.ZodString>;
2748
- status: z.ZodNullable<z.ZodString>;
1929
+ status: z.ZodOptional<z.ZodString>;
2749
1930
  }, "strip", z.ZodTypeAny, {
2750
1931
  id: string;
2751
- status: string | null;
2752
1932
  createdAt: Date;
2753
1933
  updatedAt: Date;
2754
1934
  deletedAt: Date | null;
@@ -2757,9 +1937,9 @@ export declare const telegramContract: {
2757
1937
  bucketName: string;
2758
1938
  fileSize: number;
2759
1939
  fileUrl: string | null;
1940
+ status?: string | undefined;
2760
1941
  }, {
2761
1942
  id: string;
2762
- status: string | null;
2763
1943
  createdAt: Date;
2764
1944
  updatedAt: Date;
2765
1945
  deletedAt: Date | null;
@@ -2768,6 +1948,7 @@ export declare const telegramContract: {
2768
1948
  bucketName: string;
2769
1949
  fileSize: number;
2770
1950
  fileUrl: string | null;
1951
+ status?: string | undefined;
2771
1952
  }>;
2772
1953
  assignee: z.ZodObject<{
2773
1954
  id: z.ZodString;
@@ -3362,10 +2543,9 @@ export declare const telegramContract: {
3362
2543
  fileSize: z.ZodNumber;
3363
2544
  fileKey: z.ZodString;
3364
2545
  fileUrl: z.ZodNullable<z.ZodString>;
3365
- status: z.ZodNullable<z.ZodString>;
2546
+ status: z.ZodOptional<z.ZodString>;
3366
2547
  }, "strip", z.ZodTypeAny, {
3367
2548
  id: string;
3368
- status: string | null;
3369
2549
  createdAt: Date;
3370
2550
  updatedAt: Date;
3371
2551
  deletedAt: Date | null;
@@ -3374,9 +2554,9 @@ export declare const telegramContract: {
3374
2554
  bucketName: string;
3375
2555
  fileSize: number;
3376
2556
  fileUrl: string | null;
2557
+ status?: string | undefined;
3377
2558
  }, {
3378
2559
  id: string;
3379
- status: string | null;
3380
2560
  createdAt: Date;
3381
2561
  updatedAt: Date;
3382
2562
  deletedAt: Date | null;
@@ -3385,6 +2565,7 @@ export declare const telegramContract: {
3385
2565
  bucketName: string;
3386
2566
  fileSize: number;
3387
2567
  fileUrl: string | null;
2568
+ status?: string | undefined;
3388
2569
  }>, "many">;
3389
2570
  }, "strip", z.ZodTypeAny, {
3390
2571
  id: string;
@@ -3411,7 +2592,6 @@ export declare const telegramContract: {
3411
2592
  dateValue: Date | null;
3412
2593
  uploads: {
3413
2594
  id: string;
3414
- status: string | null;
3415
2595
  createdAt: Date;
3416
2596
  updatedAt: Date;
3417
2597
  deletedAt: Date | null;
@@ -3420,6 +2600,7 @@ export declare const telegramContract: {
3420
2600
  bucketName: string;
3421
2601
  fileSize: number;
3422
2602
  fileUrl: string | null;
2603
+ status?: string | undefined;
3423
2604
  }[];
3424
2605
  }, {
3425
2606
  id: string;
@@ -3446,7 +2627,6 @@ export declare const telegramContract: {
3446
2627
  dateValue: Date | null;
3447
2628
  uploads: {
3448
2629
  id: string;
3449
- status: string | null;
3450
2630
  createdAt: Date;
3451
2631
  updatedAt: Date;
3452
2632
  deletedAt: Date | null;
@@ -3455,6 +2635,7 @@ export declare const telegramContract: {
3455
2635
  bucketName: string;
3456
2636
  fileSize: number;
3457
2637
  fileUrl: string | null;
2638
+ status?: string | undefined;
3458
2639
  }[];
3459
2640
  }>, "many">;
3460
2641
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -3594,7 +2775,6 @@ export declare const telegramContract: {
3594
2775
  dateValue: Date | null;
3595
2776
  uploads: {
3596
2777
  id: string;
3597
- status: string | null;
3598
2778
  createdAt: Date;
3599
2779
  updatedAt: Date;
3600
2780
  deletedAt: Date | null;
@@ -3603,6 +2783,7 @@ export declare const telegramContract: {
3603
2783
  bucketName: string;
3604
2784
  fileSize: number;
3605
2785
  fileUrl: string | null;
2786
+ status?: string | undefined;
3606
2787
  }[];
3607
2788
  }[];
3608
2789
  company: {
@@ -3705,7 +2886,6 @@ export declare const telegramContract: {
3705
2886
  dateValue: Date | null;
3706
2887
  uploads: {
3707
2888
  id: string;
3708
- status: string | null;
3709
2889
  createdAt: Date;
3710
2890
  updatedAt: Date;
3711
2891
  deletedAt: Date | null;
@@ -3714,6 +2894,7 @@ export declare const telegramContract: {
3714
2894
  bucketName: string;
3715
2895
  fileSize: number;
3716
2896
  fileUrl: string | null;
2897
+ status?: string | undefined;
3717
2898
  }[];
3718
2899
  }[];
3719
2900
  company: {
@@ -3829,7 +3010,6 @@ export declare const telegramContract: {
3829
3010
  dateValue: Date | null;
3830
3011
  uploads: {
3831
3012
  id: string;
3832
- status: string | null;
3833
3013
  createdAt: Date;
3834
3014
  updatedAt: Date;
3835
3015
  deletedAt: Date | null;
@@ -3838,6 +3018,7 @@ export declare const telegramContract: {
3838
3018
  bucketName: string;
3839
3019
  fileSize: number;
3840
3020
  fileUrl: string | null;
3021
+ status?: string | undefined;
3841
3022
  }[];
3842
3023
  }[];
3843
3024
  company: {
@@ -3955,7 +3136,6 @@ export declare const telegramContract: {
3955
3136
  dateValue: Date | null;
3956
3137
  uploads: {
3957
3138
  id: string;
3958
- status: string | null;
3959
3139
  createdAt: Date;
3960
3140
  updatedAt: Date;
3961
3141
  deletedAt: Date | null;
@@ -3964,6 +3144,7 @@ export declare const telegramContract: {
3964
3144
  bucketName: string;
3965
3145
  fileSize: number;
3966
3146
  fileUrl: string | null;
3147
+ status?: string | undefined;
3967
3148
  }[];
3968
3149
  }[];
3969
3150
  company: {
@@ -5512,7 +4693,6 @@ export declare const telegramContract: {
5512
4693
  dateValue: Date | null;
5513
4694
  uploads: {
5514
4695
  id: string;
5515
- status: string | null;
5516
4696
  createdAt: Date;
5517
4697
  updatedAt: Date;
5518
4698
  deletedAt: Date | null;
@@ -5521,6 +4701,7 @@ export declare const telegramContract: {
5521
4701
  bucketName: string;
5522
4702
  fileSize: number;
5523
4703
  fileUrl: string | null;
4704
+ status?: string | undefined;
5524
4705
  }[];
5525
4706
  }[];
5526
4707
  company: {
@@ -5901,7 +5082,6 @@ export declare const telegramContract: {
5901
5082
  dateValue: Date | null;
5902
5083
  uploads: {
5903
5084
  id: string;
5904
- status: string | null;
5905
5085
  createdAt: Date;
5906
5086
  updatedAt: Date;
5907
5087
  deletedAt: Date | null;
@@ -5910,6 +5090,7 @@ export declare const telegramContract: {
5910
5090
  bucketName: string;
5911
5091
  fileSize: number;
5912
5092
  fileUrl: string | null;
5093
+ status?: string | undefined;
5913
5094
  }[];
5914
5095
  }[];
5915
5096
  company: {
@@ -6148,7 +5329,7 @@ export declare const telegramContract: {
6148
5329
  deletedAt: z.ZodNullable<z.ZodDate>;
6149
5330
  message: z.ZodString;
6150
5331
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6151
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
5332
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
6152
5333
  readAt: z.ZodDate;
6153
5334
  metadata: z.ZodAny;
6154
5335
  platformId: z.ZodString;
@@ -6169,10 +5350,9 @@ export declare const telegramContract: {
6169
5350
  fileSize: z.ZodNumber;
6170
5351
  fileKey: z.ZodString;
6171
5352
  fileUrl: z.ZodNullable<z.ZodString>;
6172
- status: z.ZodNullable<z.ZodString>;
5353
+ status: z.ZodOptional<z.ZodString>;
6173
5354
  }, "strip", z.ZodTypeAny, {
6174
5355
  id: string;
6175
- status: string | null;
6176
5356
  createdAt: Date;
6177
5357
  updatedAt: Date;
6178
5358
  deletedAt: Date | null;
@@ -6181,9 +5361,9 @@ export declare const telegramContract: {
6181
5361
  bucketName: string;
6182
5362
  fileSize: number;
6183
5363
  fileUrl: string | null;
5364
+ status?: string | undefined;
6184
5365
  }, {
6185
5366
  id: string;
6186
- status: string | null;
6187
5367
  createdAt: Date;
6188
5368
  updatedAt: Date;
6189
5369
  deletedAt: Date | null;
@@ -6192,6 +5372,7 @@ export declare const telegramContract: {
6192
5372
  bucketName: string;
6193
5373
  fileSize: number;
6194
5374
  fileUrl: string | null;
5375
+ status?: string | undefined;
6195
5376
  }>;
6196
5377
  actor: z.ZodObject<{
6197
5378
  id: z.ZodString;
@@ -6806,7 +5987,7 @@ export declare const telegramContract: {
6806
5987
  };
6807
5988
  }>;
6808
5989
  }, "strip", z.ZodTypeAny, {
6809
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
5990
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6810
5991
  message: string;
6811
5992
  id: string;
6812
5993
  url: string;
@@ -6860,7 +6041,6 @@ export declare const telegramContract: {
6860
6041
  };
6861
6042
  upload: {
6862
6043
  id: string;
6863
- status: string | null;
6864
6044
  createdAt: Date;
6865
6045
  updatedAt: Date;
6866
6046
  deletedAt: Date | null;
@@ -6869,6 +6049,7 @@ export declare const telegramContract: {
6869
6049
  bucketName: string;
6870
6050
  fileSize: number;
6871
6051
  fileUrl: string | null;
6052
+ status?: string | undefined;
6872
6053
  };
6873
6054
  assignee: {
6874
6055
  id: string;
@@ -6968,7 +6149,7 @@ export declare const telegramContract: {
6968
6149
  metadata?: any;
6969
6150
  template?: any;
6970
6151
  }, {
6971
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6152
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
6972
6153
  message: string;
6973
6154
  id: string;
6974
6155
  url: string;
@@ -7022,7 +6203,6 @@ export declare const telegramContract: {
7022
6203
  };
7023
6204
  upload: {
7024
6205
  id: string;
7025
- status: string | null;
7026
6206
  createdAt: Date;
7027
6207
  updatedAt: Date;
7028
6208
  deletedAt: Date | null;
@@ -7031,6 +6211,7 @@ export declare const telegramContract: {
7031
6211
  bucketName: string;
7032
6212
  fileSize: number;
7033
6213
  fileUrl: string | null;
6214
+ status?: string | undefined;
7034
6215
  };
7035
6216
  assignee: {
7036
6217
  id: string;
@@ -7342,7 +6523,7 @@ export declare const telegramContract: {
7342
6523
  deletedAt: z.ZodNullable<z.ZodDate>;
7343
6524
  message: z.ZodString;
7344
6525
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7345
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
6526
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7346
6527
  readAt: z.ZodDate;
7347
6528
  metadata: z.ZodAny;
7348
6529
  platformId: z.ZodString;
@@ -7741,10 +6922,9 @@ export declare const telegramContract: {
7741
6922
  fileSize: z.ZodNumber;
7742
6923
  fileKey: z.ZodString;
7743
6924
  fileUrl: z.ZodNullable<z.ZodString>;
7744
- status: z.ZodNullable<z.ZodString>;
6925
+ status: z.ZodOptional<z.ZodString>;
7745
6926
  }, "strip", z.ZodTypeAny, {
7746
6927
  id: string;
7747
- status: string | null;
7748
6928
  createdAt: Date;
7749
6929
  updatedAt: Date;
7750
6930
  deletedAt: Date | null;
@@ -7753,9 +6933,9 @@ export declare const telegramContract: {
7753
6933
  bucketName: string;
7754
6934
  fileSize: number;
7755
6935
  fileUrl: string | null;
6936
+ status?: string | undefined;
7756
6937
  }, {
7757
6938
  id: string;
7758
- status: string | null;
7759
6939
  createdAt: Date;
7760
6940
  updatedAt: Date;
7761
6941
  deletedAt: Date | null;
@@ -7764,6 +6944,7 @@ export declare const telegramContract: {
7764
6944
  bucketName: string;
7765
6945
  fileSize: number;
7766
6946
  fileUrl: string | null;
6947
+ status?: string | undefined;
7767
6948
  }>, "many">;
7768
6949
  }, "strip", z.ZodTypeAny, {
7769
6950
  id: string;
@@ -7790,7 +6971,6 @@ export declare const telegramContract: {
7790
6971
  dateValue: Date | null;
7791
6972
  uploads: {
7792
6973
  id: string;
7793
- status: string | null;
7794
6974
  createdAt: Date;
7795
6975
  updatedAt: Date;
7796
6976
  deletedAt: Date | null;
@@ -7799,6 +6979,7 @@ export declare const telegramContract: {
7799
6979
  bucketName: string;
7800
6980
  fileSize: number;
7801
6981
  fileUrl: string | null;
6982
+ status?: string | undefined;
7802
6983
  }[];
7803
6984
  }, {
7804
6985
  id: string;
@@ -7825,7 +7006,6 @@ export declare const telegramContract: {
7825
7006
  dateValue: Date | null;
7826
7007
  uploads: {
7827
7008
  id: string;
7828
- status: string | null;
7829
7009
  createdAt: Date;
7830
7010
  updatedAt: Date;
7831
7011
  deletedAt: Date | null;
@@ -7834,6 +7014,7 @@ export declare const telegramContract: {
7834
7014
  bucketName: string;
7835
7015
  fileSize: number;
7836
7016
  fileUrl: string | null;
7017
+ status?: string | undefined;
7837
7018
  }[];
7838
7019
  }>, "many">;
7839
7020
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -7973,7 +7154,6 @@ export declare const telegramContract: {
7973
7154
  dateValue: Date | null;
7974
7155
  uploads: {
7975
7156
  id: string;
7976
- status: string | null;
7977
7157
  createdAt: Date;
7978
7158
  updatedAt: Date;
7979
7159
  deletedAt: Date | null;
@@ -7982,6 +7162,7 @@ export declare const telegramContract: {
7982
7162
  bucketName: string;
7983
7163
  fileSize: number;
7984
7164
  fileUrl: string | null;
7165
+ status?: string | undefined;
7985
7166
  }[];
7986
7167
  }[];
7987
7168
  company: {
@@ -8084,7 +7265,6 @@ export declare const telegramContract: {
8084
7265
  dateValue: Date | null;
8085
7266
  uploads: {
8086
7267
  id: string;
8087
- status: string | null;
8088
7268
  createdAt: Date;
8089
7269
  updatedAt: Date;
8090
7270
  deletedAt: Date | null;
@@ -8093,6 +7273,7 @@ export declare const telegramContract: {
8093
7273
  bucketName: string;
8094
7274
  fileSize: number;
8095
7275
  fileUrl: string | null;
7276
+ status?: string | undefined;
8096
7277
  }[];
8097
7278
  }[];
8098
7279
  company: {
@@ -8208,7 +7389,6 @@ export declare const telegramContract: {
8208
7389
  dateValue: Date | null;
8209
7390
  uploads: {
8210
7391
  id: string;
8211
- status: string | null;
8212
7392
  createdAt: Date;
8213
7393
  updatedAt: Date;
8214
7394
  deletedAt: Date | null;
@@ -8217,6 +7397,7 @@ export declare const telegramContract: {
8217
7397
  bucketName: string;
8218
7398
  fileSize: number;
8219
7399
  fileUrl: string | null;
7400
+ status?: string | undefined;
8220
7401
  }[];
8221
7402
  }[];
8222
7403
  company: {
@@ -8334,7 +7515,6 @@ export declare const telegramContract: {
8334
7515
  dateValue: Date | null;
8335
7516
  uploads: {
8336
7517
  id: string;
8337
- status: string | null;
8338
7518
  createdAt: Date;
8339
7519
  updatedAt: Date;
8340
7520
  deletedAt: Date | null;
@@ -8343,6 +7523,7 @@ export declare const telegramContract: {
8343
7523
  bucketName: string;
8344
7524
  fileSize: number;
8345
7525
  fileUrl: string | null;
7526
+ status?: string | undefined;
8346
7527
  }[];
8347
7528
  }[];
8348
7529
  company: {
@@ -9891,7 +9072,6 @@ export declare const telegramContract: {
9891
9072
  dateValue: Date | null;
9892
9073
  uploads: {
9893
9074
  id: string;
9894
- status: string | null;
9895
9075
  createdAt: Date;
9896
9076
  updatedAt: Date;
9897
9077
  deletedAt: Date | null;
@@ -9900,6 +9080,7 @@ export declare const telegramContract: {
9900
9080
  bucketName: string;
9901
9081
  fileSize: number;
9902
9082
  fileUrl: string | null;
9083
+ status?: string | undefined;
9903
9084
  }[];
9904
9085
  }[];
9905
9086
  company: {
@@ -10280,7 +9461,6 @@ export declare const telegramContract: {
10280
9461
  dateValue: Date | null;
10281
9462
  uploads: {
10282
9463
  id: string;
10283
- status: string | null;
10284
9464
  createdAt: Date;
10285
9465
  updatedAt: Date;
10286
9466
  deletedAt: Date | null;
@@ -10289,6 +9469,7 @@ export declare const telegramContract: {
10289
9469
  bucketName: string;
10290
9470
  fileSize: number;
10291
9471
  fileUrl: string | null;
9472
+ status?: string | undefined;
10292
9473
  }[];
10293
9474
  }[];
10294
9475
  company: {
@@ -10499,10 +9680,9 @@ export declare const telegramContract: {
10499
9680
  fileSize: z.ZodNumber;
10500
9681
  fileKey: z.ZodString;
10501
9682
  fileUrl: z.ZodNullable<z.ZodString>;
10502
- status: z.ZodNullable<z.ZodString>;
9683
+ status: z.ZodOptional<z.ZodString>;
10503
9684
  }, "strip", z.ZodTypeAny, {
10504
9685
  id: string;
10505
- status: string | null;
10506
9686
  createdAt: Date;
10507
9687
  updatedAt: Date;
10508
9688
  deletedAt: Date | null;
@@ -10511,9 +9691,9 @@ export declare const telegramContract: {
10511
9691
  bucketName: string;
10512
9692
  fileSize: number;
10513
9693
  fileUrl: string | null;
9694
+ status?: string | undefined;
10514
9695
  }, {
10515
9696
  id: string;
10516
- status: string | null;
10517
9697
  createdAt: Date;
10518
9698
  updatedAt: Date;
10519
9699
  deletedAt: Date | null;
@@ -10522,6 +9702,7 @@ export declare const telegramContract: {
10522
9702
  bucketName: string;
10523
9703
  fileSize: number;
10524
9704
  fileUrl: string | null;
9705
+ status?: string | undefined;
10525
9706
  }>;
10526
9707
  repliedMessage: z.ZodLazy<z.ZodObject<{
10527
9708
  id: z.ZodString;
@@ -10530,7 +9711,7 @@ export declare const telegramContract: {
10530
9711
  deletedAt: z.ZodNullable<z.ZodDate>;
10531
9712
  message: z.ZodString;
10532
9713
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
10533
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
9714
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
10534
9715
  readAt: z.ZodDate;
10535
9716
  metadata: z.ZodAny;
10536
9717
  platformId: z.ZodString;
@@ -10551,10 +9732,9 @@ export declare const telegramContract: {
10551
9732
  fileSize: z.ZodNumber;
10552
9733
  fileKey: z.ZodString;
10553
9734
  fileUrl: z.ZodNullable<z.ZodString>;
10554
- status: z.ZodNullable<z.ZodString>;
9735
+ status: z.ZodOptional<z.ZodString>;
10555
9736
  }, "strip", z.ZodTypeAny, {
10556
9737
  id: string;
10557
- status: string | null;
10558
9738
  createdAt: Date;
10559
9739
  updatedAt: Date;
10560
9740
  deletedAt: Date | null;
@@ -10563,9 +9743,9 @@ export declare const telegramContract: {
10563
9743
  bucketName: string;
10564
9744
  fileSize: number;
10565
9745
  fileUrl: string | null;
9746
+ status?: string | undefined;
10566
9747
  }, {
10567
9748
  id: string;
10568
- status: string | null;
10569
9749
  createdAt: Date;
10570
9750
  updatedAt: Date;
10571
9751
  deletedAt: Date | null;
@@ -10574,6 +9754,7 @@ export declare const telegramContract: {
10574
9754
  bucketName: string;
10575
9755
  fileSize: number;
10576
9756
  fileUrl: string | null;
9757
+ status?: string | undefined;
10577
9758
  }>;
10578
9759
  actor: z.ZodObject<{
10579
9760
  id: z.ZodString;
@@ -11188,7 +10369,7 @@ export declare const telegramContract: {
11188
10369
  };
11189
10370
  }>;
11190
10371
  }, "strip", z.ZodTypeAny, {
11191
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10372
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11192
10373
  message: string;
11193
10374
  id: string;
11194
10375
  url: string;
@@ -11242,7 +10423,6 @@ export declare const telegramContract: {
11242
10423
  };
11243
10424
  upload: {
11244
10425
  id: string;
11245
- status: string | null;
11246
10426
  createdAt: Date;
11247
10427
  updatedAt: Date;
11248
10428
  deletedAt: Date | null;
@@ -11251,6 +10431,7 @@ export declare const telegramContract: {
11251
10431
  bucketName: string;
11252
10432
  fileSize: number;
11253
10433
  fileUrl: string | null;
10434
+ status?: string | undefined;
11254
10435
  };
11255
10436
  assignee: {
11256
10437
  id: string;
@@ -11350,7 +10531,7 @@ export declare const telegramContract: {
11350
10531
  metadata?: any;
11351
10532
  template?: any;
11352
10533
  }, {
11353
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10534
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11354
10535
  message: string;
11355
10536
  id: string;
11356
10537
  url: string;
@@ -11404,7 +10585,6 @@ export declare const telegramContract: {
11404
10585
  };
11405
10586
  upload: {
11406
10587
  id: string;
11407
- status: string | null;
11408
10588
  createdAt: Date;
11409
10589
  updatedAt: Date;
11410
10590
  deletedAt: Date | null;
@@ -11413,6 +10593,7 @@ export declare const telegramContract: {
11413
10593
  bucketName: string;
11414
10594
  fileSize: number;
11415
10595
  fileUrl: string | null;
10596
+ status?: string | undefined;
11416
10597
  };
11417
10598
  assignee: {
11418
10599
  id: string;
@@ -12152,7 +11333,7 @@ export declare const telegramContract: {
12152
11333
  editedMessageid: z.ZodString;
12153
11334
  label: z.ZodOptional<z.ZodString>;
12154
11335
  }, "strip", z.ZodTypeAny, {
12155
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11336
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12156
11337
  message: string;
12157
11338
  id: string;
12158
11339
  url: string;
@@ -12206,7 +11387,6 @@ export declare const telegramContract: {
12206
11387
  };
12207
11388
  upload: {
12208
11389
  id: string;
12209
- status: string | null;
12210
11390
  createdAt: Date;
12211
11391
  updatedAt: Date;
12212
11392
  deletedAt: Date | null;
@@ -12215,6 +11395,7 @@ export declare const telegramContract: {
12215
11395
  bucketName: string;
12216
11396
  fileSize: number;
12217
11397
  fileUrl: string | null;
11398
+ status?: string | undefined;
12218
11399
  };
12219
11400
  assignee: {
12220
11401
  id: string;
@@ -12442,7 +11623,6 @@ export declare const telegramContract: {
12442
11623
  dateValue: Date | null;
12443
11624
  uploads: {
12444
11625
  id: string;
12445
- status: string | null;
12446
11626
  createdAt: Date;
12447
11627
  updatedAt: Date;
12448
11628
  deletedAt: Date | null;
@@ -12451,6 +11631,7 @@ export declare const telegramContract: {
12451
11631
  bucketName: string;
12452
11632
  fileSize: number;
12453
11633
  fileUrl: string | null;
11634
+ status?: string | undefined;
12454
11635
  }[];
12455
11636
  }[];
12456
11637
  company: {
@@ -12667,7 +11848,7 @@ export declare const telegramContract: {
12667
11848
  previewUrl: string;
12668
11849
  imageSetId: string;
12669
11850
  repliedMessage: {
12670
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11851
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12671
11852
  message: string;
12672
11853
  id: string;
12673
11854
  url: string;
@@ -12721,7 +11902,6 @@ export declare const telegramContract: {
12721
11902
  };
12722
11903
  upload: {
12723
11904
  id: string;
12724
- status: string | null;
12725
11905
  createdAt: Date;
12726
11906
  updatedAt: Date;
12727
11907
  deletedAt: Date | null;
@@ -12730,6 +11910,7 @@ export declare const telegramContract: {
12730
11910
  bucketName: string;
12731
11911
  fileSize: number;
12732
11912
  fileUrl: string | null;
11913
+ status?: string | undefined;
12733
11914
  };
12734
11915
  assignee: {
12735
11916
  id: string;
@@ -12878,7 +12059,7 @@ export declare const telegramContract: {
12878
12059
  template?: any;
12879
12060
  label?: string | undefined;
12880
12061
  }, {
12881
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12062
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12882
12063
  message: string;
12883
12064
  id: string;
12884
12065
  url: string;
@@ -12932,7 +12113,6 @@ export declare const telegramContract: {
12932
12113
  };
12933
12114
  upload: {
12934
12115
  id: string;
12935
- status: string | null;
12936
12116
  createdAt: Date;
12937
12117
  updatedAt: Date;
12938
12118
  deletedAt: Date | null;
@@ -12941,6 +12121,7 @@ export declare const telegramContract: {
12941
12121
  bucketName: string;
12942
12122
  fileSize: number;
12943
12123
  fileUrl: string | null;
12124
+ status?: string | undefined;
12944
12125
  };
12945
12126
  assignee: {
12946
12127
  id: string;
@@ -13168,7 +12349,6 @@ export declare const telegramContract: {
13168
12349
  dateValue: Date | null;
13169
12350
  uploads: {
13170
12351
  id: string;
13171
- status: string | null;
13172
12352
  createdAt: Date;
13173
12353
  updatedAt: Date;
13174
12354
  deletedAt: Date | null;
@@ -13177,6 +12357,7 @@ export declare const telegramContract: {
13177
12357
  bucketName: string;
13178
12358
  fileSize: number;
13179
12359
  fileUrl: string | null;
12360
+ status?: string | undefined;
13180
12361
  }[];
13181
12362
  }[];
13182
12363
  company: {
@@ -13393,7 +12574,7 @@ export declare const telegramContract: {
13393
12574
  previewUrl: string;
13394
12575
  imageSetId: string;
13395
12576
  repliedMessage: {
13396
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12577
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13397
12578
  message: string;
13398
12579
  id: string;
13399
12580
  url: string;
@@ -13447,7 +12628,6 @@ export declare const telegramContract: {
13447
12628
  };
13448
12629
  upload: {
13449
12630
  id: string;
13450
- status: string | null;
13451
12631
  createdAt: Date;
13452
12632
  updatedAt: Date;
13453
12633
  deletedAt: Date | null;
@@ -13456,6 +12636,7 @@ export declare const telegramContract: {
13456
12636
  bucketName: string;
13457
12637
  fileSize: number;
13458
12638
  fileUrl: string | null;
12639
+ status?: string | undefined;
13459
12640
  };
13460
12641
  assignee: {
13461
12642
  id: string;
@@ -13605,7 +12786,7 @@ export declare const telegramContract: {
13605
12786
  label?: string | undefined;
13606
12787
  }>>>;
13607
12788
  }, "strip", z.ZodTypeAny, {
13608
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12789
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13609
12790
  message: string;
13610
12791
  id: string;
13611
12792
  url: string;
@@ -13659,7 +12840,6 @@ export declare const telegramContract: {
13659
12840
  };
13660
12841
  upload: {
13661
12842
  id: string;
13662
- status: string | null;
13663
12843
  createdAt: Date;
13664
12844
  updatedAt: Date;
13665
12845
  deletedAt: Date | null;
@@ -13668,6 +12848,7 @@ export declare const telegramContract: {
13668
12848
  bucketName: string;
13669
12849
  fileSize: number;
13670
12850
  fileUrl: string | null;
12851
+ status?: string | undefined;
13671
12852
  };
13672
12853
  assignee: {
13673
12854
  id: string;
@@ -13895,7 +13076,6 @@ export declare const telegramContract: {
13895
13076
  dateValue: Date | null;
13896
13077
  uploads: {
13897
13078
  id: string;
13898
- status: string | null;
13899
13079
  createdAt: Date;
13900
13080
  updatedAt: Date;
13901
13081
  deletedAt: Date | null;
@@ -13904,6 +13084,7 @@ export declare const telegramContract: {
13904
13084
  bucketName: string;
13905
13085
  fileSize: number;
13906
13086
  fileUrl: string | null;
13087
+ status?: string | undefined;
13907
13088
  }[];
13908
13089
  }[];
13909
13090
  company: {
@@ -14120,7 +13301,7 @@ export declare const telegramContract: {
14120
13301
  previewUrl: string;
14121
13302
  imageSetId: string;
14122
13303
  repliedMessage: {
14123
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13304
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14124
13305
  message: string;
14125
13306
  id: string;
14126
13307
  url: string;
@@ -14174,7 +13355,6 @@ export declare const telegramContract: {
14174
13355
  };
14175
13356
  upload: {
14176
13357
  id: string;
14177
- status: string | null;
14178
13358
  createdAt: Date;
14179
13359
  updatedAt: Date;
14180
13360
  deletedAt: Date | null;
@@ -14183,6 +13363,7 @@ export declare const telegramContract: {
14183
13363
  bucketName: string;
14184
13364
  fileSize: number;
14185
13365
  fileUrl: string | null;
13366
+ status?: string | undefined;
14186
13367
  };
14187
13368
  assignee: {
14188
13369
  id: string;
@@ -14331,7 +13512,7 @@ export declare const telegramContract: {
14331
13512
  template?: any;
14332
13513
  metadata?: any;
14333
13514
  fromMessage?: {
14334
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13515
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14335
13516
  message: string;
14336
13517
  id: string;
14337
13518
  url: string;
@@ -14385,7 +13566,6 @@ export declare const telegramContract: {
14385
13566
  };
14386
13567
  upload: {
14387
13568
  id: string;
14388
- status: string | null;
14389
13569
  createdAt: Date;
14390
13570
  updatedAt: Date;
14391
13571
  deletedAt: Date | null;
@@ -14394,6 +13574,7 @@ export declare const telegramContract: {
14394
13574
  bucketName: string;
14395
13575
  fileSize: number;
14396
13576
  fileUrl: string | null;
13577
+ status?: string | undefined;
14397
13578
  };
14398
13579
  assignee: {
14399
13580
  id: string;
@@ -14621,7 +13802,6 @@ export declare const telegramContract: {
14621
13802
  dateValue: Date | null;
14622
13803
  uploads: {
14623
13804
  id: string;
14624
- status: string | null;
14625
13805
  createdAt: Date;
14626
13806
  updatedAt: Date;
14627
13807
  deletedAt: Date | null;
@@ -14630,6 +13810,7 @@ export declare const telegramContract: {
14630
13810
  bucketName: string;
14631
13811
  fileSize: number;
14632
13812
  fileUrl: string | null;
13813
+ status?: string | undefined;
14633
13814
  }[];
14634
13815
  }[];
14635
13816
  company: {
@@ -14846,7 +14027,7 @@ export declare const telegramContract: {
14846
14027
  previewUrl: string;
14847
14028
  imageSetId: string;
14848
14029
  repliedMessage: {
14849
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14030
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14850
14031
  message: string;
14851
14032
  id: string;
14852
14033
  url: string;
@@ -14900,7 +14081,6 @@ export declare const telegramContract: {
14900
14081
  };
14901
14082
  upload: {
14902
14083
  id: string;
14903
- status: string | null;
14904
14084
  createdAt: Date;
14905
14085
  updatedAt: Date;
14906
14086
  deletedAt: Date | null;
@@ -14909,6 +14089,7 @@ export declare const telegramContract: {
14909
14089
  bucketName: string;
14910
14090
  fileSize: number;
14911
14091
  fileUrl: string | null;
14092
+ status?: string | undefined;
14912
14093
  };
14913
14094
  assignee: {
14914
14095
  id: string;
@@ -15058,7 +14239,7 @@ export declare const telegramContract: {
15058
14239
  label?: string | undefined;
15059
14240
  } | null | undefined;
15060
14241
  }, {
15061
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14242
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15062
14243
  message: string;
15063
14244
  id: string;
15064
14245
  url: string;
@@ -15112,7 +14293,6 @@ export declare const telegramContract: {
15112
14293
  };
15113
14294
  upload: {
15114
14295
  id: string;
15115
- status: string | null;
15116
14296
  createdAt: Date;
15117
14297
  updatedAt: Date;
15118
14298
  deletedAt: Date | null;
@@ -15121,6 +14301,7 @@ export declare const telegramContract: {
15121
14301
  bucketName: string;
15122
14302
  fileSize: number;
15123
14303
  fileUrl: string | null;
14304
+ status?: string | undefined;
15124
14305
  };
15125
14306
  assignee: {
15126
14307
  id: string;
@@ -15348,7 +14529,6 @@ export declare const telegramContract: {
15348
14529
  dateValue: Date | null;
15349
14530
  uploads: {
15350
14531
  id: string;
15351
- status: string | null;
15352
14532
  createdAt: Date;
15353
14533
  updatedAt: Date;
15354
14534
  deletedAt: Date | null;
@@ -15357,6 +14537,7 @@ export declare const telegramContract: {
15357
14537
  bucketName: string;
15358
14538
  fileSize: number;
15359
14539
  fileUrl: string | null;
14540
+ status?: string | undefined;
15360
14541
  }[];
15361
14542
  }[];
15362
14543
  company: {
@@ -15573,7 +14754,7 @@ export declare const telegramContract: {
15573
14754
  previewUrl: string;
15574
14755
  imageSetId: string;
15575
14756
  repliedMessage: {
15576
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14757
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15577
14758
  message: string;
15578
14759
  id: string;
15579
14760
  url: string;
@@ -15627,7 +14808,6 @@ export declare const telegramContract: {
15627
14808
  };
15628
14809
  upload: {
15629
14810
  id: string;
15630
- status: string | null;
15631
14811
  createdAt: Date;
15632
14812
  updatedAt: Date;
15633
14813
  deletedAt: Date | null;
@@ -15636,6 +14816,7 @@ export declare const telegramContract: {
15636
14816
  bucketName: string;
15637
14817
  fileSize: number;
15638
14818
  fileUrl: string | null;
14819
+ status?: string | undefined;
15639
14820
  };
15640
14821
  assignee: {
15641
14822
  id: string;
@@ -15784,7 +14965,7 @@ export declare const telegramContract: {
15784
14965
  template?: any;
15785
14966
  metadata?: any;
15786
14967
  fromMessage?: {
15787
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14968
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15788
14969
  message: string;
15789
14970
  id: string;
15790
14971
  url: string;
@@ -15838,7 +15019,6 @@ export declare const telegramContract: {
15838
15019
  };
15839
15020
  upload: {
15840
15021
  id: string;
15841
- status: string | null;
15842
15022
  createdAt: Date;
15843
15023
  updatedAt: Date;
15844
15024
  deletedAt: Date | null;
@@ -15847,6 +15027,7 @@ export declare const telegramContract: {
15847
15027
  bucketName: string;
15848
15028
  fileSize: number;
15849
15029
  fileUrl: string | null;
15030
+ status?: string | undefined;
15850
15031
  };
15851
15032
  assignee: {
15852
15033
  id: string;
@@ -16074,7 +15255,6 @@ export declare const telegramContract: {
16074
15255
  dateValue: Date | null;
16075
15256
  uploads: {
16076
15257
  id: string;
16077
- status: string | null;
16078
15258
  createdAt: Date;
16079
15259
  updatedAt: Date;
16080
15260
  deletedAt: Date | null;
@@ -16083,6 +15263,7 @@ export declare const telegramContract: {
16083
15263
  bucketName: string;
16084
15264
  fileSize: number;
16085
15265
  fileUrl: string | null;
15266
+ status?: string | undefined;
16086
15267
  }[];
16087
15268
  }[];
16088
15269
  company: {
@@ -16299,7 +15480,7 @@ export declare const telegramContract: {
16299
15480
  previewUrl: string;
16300
15481
  imageSetId: string;
16301
15482
  repliedMessage: {
16302
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15483
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16303
15484
  message: string;
16304
15485
  id: string;
16305
15486
  url: string;
@@ -16353,7 +15534,6 @@ export declare const telegramContract: {
16353
15534
  };
16354
15535
  upload: {
16355
15536
  id: string;
16356
- status: string | null;
16357
15537
  createdAt: Date;
16358
15538
  updatedAt: Date;
16359
15539
  deletedAt: Date | null;
@@ -16362,6 +15542,7 @@ export declare const telegramContract: {
16362
15542
  bucketName: string;
16363
15543
  fileSize: number;
16364
15544
  fileUrl: string | null;
15545
+ status?: string | undefined;
16365
15546
  };
16366
15547
  assignee: {
16367
15548
  id: string;
@@ -16513,7 +15694,7 @@ export declare const telegramContract: {
16513
15694
  }>;
16514
15695
  }, "strip", z.ZodTypeAny, {
16515
15696
  data: {
16516
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15697
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16517
15698
  message: string;
16518
15699
  id: string;
16519
15700
  url: string;
@@ -16567,7 +15748,6 @@ export declare const telegramContract: {
16567
15748
  };
16568
15749
  upload: {
16569
15750
  id: string;
16570
- status: string | null;
16571
15751
  createdAt: Date;
16572
15752
  updatedAt: Date;
16573
15753
  deletedAt: Date | null;
@@ -16576,6 +15756,7 @@ export declare const telegramContract: {
16576
15756
  bucketName: string;
16577
15757
  fileSize: number;
16578
15758
  fileUrl: string | null;
15759
+ status?: string | undefined;
16579
15760
  };
16580
15761
  assignee: {
16581
15762
  id: string;
@@ -16803,7 +15984,6 @@ export declare const telegramContract: {
16803
15984
  dateValue: Date | null;
16804
15985
  uploads: {
16805
15986
  id: string;
16806
- status: string | null;
16807
15987
  createdAt: Date;
16808
15988
  updatedAt: Date;
16809
15989
  deletedAt: Date | null;
@@ -16812,6 +15992,7 @@ export declare const telegramContract: {
16812
15992
  bucketName: string;
16813
15993
  fileSize: number;
16814
15994
  fileUrl: string | null;
15995
+ status?: string | undefined;
16815
15996
  }[];
16816
15997
  }[];
16817
15998
  company: {
@@ -17028,7 +16209,7 @@ export declare const telegramContract: {
17028
16209
  previewUrl: string;
17029
16210
  imageSetId: string;
17030
16211
  repliedMessage: {
17031
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16212
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17032
16213
  message: string;
17033
16214
  id: string;
17034
16215
  url: string;
@@ -17082,7 +16263,6 @@ export declare const telegramContract: {
17082
16263
  };
17083
16264
  upload: {
17084
16265
  id: string;
17085
- status: string | null;
17086
16266
  createdAt: Date;
17087
16267
  updatedAt: Date;
17088
16268
  deletedAt: Date | null;
@@ -17091,6 +16271,7 @@ export declare const telegramContract: {
17091
16271
  bucketName: string;
17092
16272
  fileSize: number;
17093
16273
  fileUrl: string | null;
16274
+ status?: string | undefined;
17094
16275
  };
17095
16276
  assignee: {
17096
16277
  id: string;
@@ -17239,7 +16420,7 @@ export declare const telegramContract: {
17239
16420
  template?: any;
17240
16421
  metadata?: any;
17241
16422
  fromMessage?: {
17242
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16423
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17243
16424
  message: string;
17244
16425
  id: string;
17245
16426
  url: string;
@@ -17293,7 +16474,6 @@ export declare const telegramContract: {
17293
16474
  };
17294
16475
  upload: {
17295
16476
  id: string;
17296
- status: string | null;
17297
16477
  createdAt: Date;
17298
16478
  updatedAt: Date;
17299
16479
  deletedAt: Date | null;
@@ -17302,6 +16482,7 @@ export declare const telegramContract: {
17302
16482
  bucketName: string;
17303
16483
  fileSize: number;
17304
16484
  fileUrl: string | null;
16485
+ status?: string | undefined;
17305
16486
  };
17306
16487
  assignee: {
17307
16488
  id: string;
@@ -17529,7 +16710,6 @@ export declare const telegramContract: {
17529
16710
  dateValue: Date | null;
17530
16711
  uploads: {
17531
16712
  id: string;
17532
- status: string | null;
17533
16713
  createdAt: Date;
17534
16714
  updatedAt: Date;
17535
16715
  deletedAt: Date | null;
@@ -17538,6 +16718,7 @@ export declare const telegramContract: {
17538
16718
  bucketName: string;
17539
16719
  fileSize: number;
17540
16720
  fileUrl: string | null;
16721
+ status?: string | undefined;
17541
16722
  }[];
17542
16723
  }[];
17543
16724
  company: {
@@ -17754,7 +16935,7 @@ export declare const telegramContract: {
17754
16935
  previewUrl: string;
17755
16936
  imageSetId: string;
17756
16937
  repliedMessage: {
17757
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16938
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17758
16939
  message: string;
17759
16940
  id: string;
17760
16941
  url: string;
@@ -17808,7 +16989,6 @@ export declare const telegramContract: {
17808
16989
  };
17809
16990
  upload: {
17810
16991
  id: string;
17811
- status: string | null;
17812
16992
  createdAt: Date;
17813
16993
  updatedAt: Date;
17814
16994
  deletedAt: Date | null;
@@ -17817,6 +16997,7 @@ export declare const telegramContract: {
17817
16997
  bucketName: string;
17818
16998
  fileSize: number;
17819
16999
  fileUrl: string | null;
17000
+ status?: string | undefined;
17820
17001
  };
17821
17002
  assignee: {
17822
17003
  id: string;
@@ -17969,7 +17150,7 @@ export declare const telegramContract: {
17969
17150
  requestId: string;
17970
17151
  }, {
17971
17152
  data: {
17972
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17153
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17973
17154
  message: string;
17974
17155
  id: string;
17975
17156
  url: string;
@@ -18023,7 +17204,6 @@ export declare const telegramContract: {
18023
17204
  };
18024
17205
  upload: {
18025
17206
  id: string;
18026
- status: string | null;
18027
17207
  createdAt: Date;
18028
17208
  updatedAt: Date;
18029
17209
  deletedAt: Date | null;
@@ -18032,6 +17212,7 @@ export declare const telegramContract: {
18032
17212
  bucketName: string;
18033
17213
  fileSize: number;
18034
17214
  fileUrl: string | null;
17215
+ status?: string | undefined;
18035
17216
  };
18036
17217
  assignee: {
18037
17218
  id: string;
@@ -18259,7 +17440,6 @@ export declare const telegramContract: {
18259
17440
  dateValue: Date | null;
18260
17441
  uploads: {
18261
17442
  id: string;
18262
- status: string | null;
18263
17443
  createdAt: Date;
18264
17444
  updatedAt: Date;
18265
17445
  deletedAt: Date | null;
@@ -18268,6 +17448,7 @@ export declare const telegramContract: {
18268
17448
  bucketName: string;
18269
17449
  fileSize: number;
18270
17450
  fileUrl: string | null;
17451
+ status?: string | undefined;
18271
17452
  }[];
18272
17453
  }[];
18273
17454
  company: {
@@ -18484,7 +17665,7 @@ export declare const telegramContract: {
18484
17665
  previewUrl: string;
18485
17666
  imageSetId: string;
18486
17667
  repliedMessage: {
18487
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17668
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18488
17669
  message: string;
18489
17670
  id: string;
18490
17671
  url: string;
@@ -18538,7 +17719,6 @@ export declare const telegramContract: {
18538
17719
  };
18539
17720
  upload: {
18540
17721
  id: string;
18541
- status: string | null;
18542
17722
  createdAt: Date;
18543
17723
  updatedAt: Date;
18544
17724
  deletedAt: Date | null;
@@ -18547,6 +17727,7 @@ export declare const telegramContract: {
18547
17727
  bucketName: string;
18548
17728
  fileSize: number;
18549
17729
  fileUrl: string | null;
17730
+ status?: string | undefined;
18550
17731
  };
18551
17732
  assignee: {
18552
17733
  id: string;
@@ -18695,7 +17876,7 @@ export declare const telegramContract: {
18695
17876
  template?: any;
18696
17877
  metadata?: any;
18697
17878
  fromMessage?: {
18698
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17879
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18699
17880
  message: string;
18700
17881
  id: string;
18701
17882
  url: string;
@@ -18749,7 +17930,6 @@ export declare const telegramContract: {
18749
17930
  };
18750
17931
  upload: {
18751
17932
  id: string;
18752
- status: string | null;
18753
17933
  createdAt: Date;
18754
17934
  updatedAt: Date;
18755
17935
  deletedAt: Date | null;
@@ -18758,6 +17938,7 @@ export declare const telegramContract: {
18758
17938
  bucketName: string;
18759
17939
  fileSize: number;
18760
17940
  fileUrl: string | null;
17941
+ status?: string | undefined;
18761
17942
  };
18762
17943
  assignee: {
18763
17944
  id: string;
@@ -18985,7 +18166,6 @@ export declare const telegramContract: {
18985
18166
  dateValue: Date | null;
18986
18167
  uploads: {
18987
18168
  id: string;
18988
- status: string | null;
18989
18169
  createdAt: Date;
18990
18170
  updatedAt: Date;
18991
18171
  deletedAt: Date | null;
@@ -18994,6 +18174,7 @@ export declare const telegramContract: {
18994
18174
  bucketName: string;
18995
18175
  fileSize: number;
18996
18176
  fileUrl: string | null;
18177
+ status?: string | undefined;
18997
18178
  }[];
18998
18179
  }[];
18999
18180
  company: {
@@ -19210,7 +18391,7 @@ export declare const telegramContract: {
19210
18391
  previewUrl: string;
19211
18392
  imageSetId: string;
19212
18393
  repliedMessage: {
19213
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18394
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19214
18395
  message: string;
19215
18396
  id: string;
19216
18397
  url: string;
@@ -19264,7 +18445,6 @@ export declare const telegramContract: {
19264
18445
  };
19265
18446
  upload: {
19266
18447
  id: string;
19267
- status: string | null;
19268
18448
  createdAt: Date;
19269
18449
  updatedAt: Date;
19270
18450
  deletedAt: Date | null;
@@ -19273,6 +18453,7 @@ export declare const telegramContract: {
19273
18453
  bucketName: string;
19274
18454
  fileSize: number;
19275
18455
  fileUrl: string | null;
18456
+ status?: string | undefined;
19276
18457
  };
19277
18458
  assignee: {
19278
18459
  id: string;
@@ -19451,11 +18632,8 @@ export declare const telegramContract: {
19451
18632
  responses: {
19452
18633
  200: z.ZodObject<{
19453
18634
  requestId: z.ZodString;
19454
- channel: z.ZodObject<{
18635
+ data: z.ZodObject<{
19455
18636
  id: z.ZodString;
19456
- createdAt: z.ZodDate;
19457
- updatedAt: z.ZodDate;
19458
- deletedAt: z.ZodNullable<z.ZodDate>;
19459
18637
  name: z.ZodString;
19460
18638
  type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19461
18639
  metadata: z.ZodObject<{
@@ -19506,235 +18684,31 @@ export declare const telegramContract: {
19506
18684
  } | undefined;
19507
18685
  lineRichMenuId?: string | null | undefined;
19508
18686
  }>;
19509
- brandName: z.ZodString;
19510
18687
  platformId: z.ZodString;
18688
+ brandName: z.ZodString;
19511
18689
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19512
- isReloginRequired: z.ZodBoolean;
19513
- connectedUserName: z.ZodString;
19514
- connectedUserId: z.ZodString;
19515
- botpressBot: z.ZodNullable<z.ZodObject<{
19516
- id: z.ZodString;
19517
- name: z.ZodString;
19518
- botId: z.ZodString;
19519
- integrationId: z.ZodString;
19520
- accessToken: z.ZodString;
19521
- }, "strip", z.ZodTypeAny, {
19522
- id: string;
19523
- name: string;
19524
- accessToken: string;
19525
- botId: string;
19526
- integrationId: string;
19527
- }, {
19528
- id: string;
19529
- name: string;
19530
- accessToken: string;
19531
- botId: string;
19532
- integrationId: string;
19533
- }>>;
19534
- actor: z.ZodObject<{
18690
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18691
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18692
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18693
+ actor: z.ZodOptional<z.ZodObject<{
19535
18694
  id: z.ZodString;
19536
- createdAt: z.ZodDate;
19537
- updatedAt: z.ZodDate;
19538
- deletedAt: z.ZodNullable<z.ZodDate>;
19539
18695
  name: z.ZodString;
19540
18696
  email: z.ZodString;
19541
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
19542
- password: z.ZodString;
19543
18697
  address: z.ZodNullable<z.ZodString>;
19544
18698
  phone: z.ZodNullable<z.ZodString>;
19545
- notificationCount: z.ZodNullable<z.ZodNumber>;
19546
- roles: z.ZodArray<z.ZodObject<{
19547
- id: z.ZodString;
19548
- createdAt: z.ZodDate;
19549
- updatedAt: z.ZodDate;
19550
- deletedAt: z.ZodNullable<z.ZodDate>;
19551
- systemName: z.ZodString;
19552
- displayName: z.ZodString;
19553
- description: z.ZodNullable<z.ZodString>;
19554
- permissions: z.ZodArray<z.ZodObject<{
19555
- id: z.ZodString;
19556
- createdAt: z.ZodDate;
19557
- updatedAt: z.ZodDate;
19558
- deletedAt: z.ZodNullable<z.ZodDate>;
19559
- systemName: z.ZodString;
19560
- displayName: z.ZodString;
19561
- description: z.ZodNullable<z.ZodString>;
19562
- }, "strip", z.ZodTypeAny, {
19563
- id: string;
19564
- description: string | null;
19565
- createdAt: Date;
19566
- updatedAt: Date;
19567
- deletedAt: Date | null;
19568
- systemName: string;
19569
- displayName: string;
19570
- }, {
19571
- id: string;
19572
- description: string | null;
19573
- createdAt: Date;
19574
- updatedAt: Date;
19575
- deletedAt: Date | null;
19576
- systemName: string;
19577
- displayName: string;
19578
- }>, "many">;
19579
- }, "strip", z.ZodTypeAny, {
19580
- id: string;
19581
- description: string | null;
19582
- createdAt: Date;
19583
- updatedAt: Date;
19584
- deletedAt: Date | null;
19585
- systemName: string;
19586
- displayName: string;
19587
- permissions: {
19588
- id: string;
19589
- description: string | null;
19590
- createdAt: Date;
19591
- updatedAt: Date;
19592
- deletedAt: Date | null;
19593
- systemName: string;
19594
- displayName: string;
19595
- }[];
19596
- }, {
19597
- id: string;
19598
- description: string | null;
19599
- createdAt: Date;
19600
- updatedAt: Date;
19601
- deletedAt: Date | null;
19602
- systemName: string;
19603
- displayName: string;
19604
- permissions: {
19605
- id: string;
19606
- description: string | null;
19607
- createdAt: Date;
19608
- updatedAt: Date;
19609
- deletedAt: Date | null;
19610
- systemName: string;
19611
- displayName: string;
19612
- }[];
19613
- }>, "many">;
19614
- extension: z.ZodObject<{
19615
- id: z.ZodString;
19616
- createdAt: z.ZodDate;
19617
- updatedAt: z.ZodDate;
19618
- deletedAt: z.ZodNullable<z.ZodDate>;
19619
- userId: z.ZodNullable<z.ZodString>;
19620
- sipServerUrl: z.ZodString;
19621
- sipUserName: z.ZodString;
19622
- webphoneLoginUser: z.ZodString;
19623
- extensionId: z.ZodNullable<z.ZodString>;
19624
- extensionName: z.ZodString;
19625
- telephonySignature: z.ZodNullable<z.ZodString>;
19626
- }, "strip", z.ZodTypeAny, {
19627
- id: string;
19628
- createdAt: Date;
19629
- updatedAt: Date;
19630
- deletedAt: Date | null;
19631
- userId: string | null;
19632
- sipServerUrl: string;
19633
- sipUserName: string;
19634
- webphoneLoginUser: string;
19635
- extensionId: string | null;
19636
- extensionName: string;
19637
- telephonySignature: string | null;
19638
- }, {
19639
- id: string;
19640
- createdAt: Date;
19641
- updatedAt: Date;
19642
- deletedAt: Date | null;
19643
- userId: string | null;
19644
- sipServerUrl: string;
19645
- sipUserName: string;
19646
- webphoneLoginUser: string;
19647
- extensionId: string | null;
19648
- extensionName: string;
19649
- telephonySignature: string | null;
19650
- }>;
19651
18699
  }, "strip", z.ZodTypeAny, {
19652
18700
  id: string;
19653
18701
  address: string | null;
19654
18702
  name: string;
19655
18703
  email: string;
19656
- createdAt: Date;
19657
- updatedAt: Date;
19658
- deletedAt: Date | null;
19659
- emailVerifiedAt: Date | null;
19660
- password: string;
19661
- phone: string | null;
19662
- notificationCount: number | null;
19663
- roles: {
19664
- id: string;
19665
- description: string | null;
19666
- createdAt: Date;
19667
- updatedAt: Date;
19668
- deletedAt: Date | null;
19669
- systemName: string;
19670
- displayName: string;
19671
- permissions: {
19672
- id: string;
19673
- description: string | null;
19674
- createdAt: Date;
19675
- updatedAt: Date;
19676
- deletedAt: Date | null;
19677
- systemName: string;
19678
- displayName: string;
19679
- }[];
19680
- }[];
19681
- extension: {
19682
- id: string;
19683
- createdAt: Date;
19684
- updatedAt: Date;
19685
- deletedAt: Date | null;
19686
- userId: string | null;
19687
- sipServerUrl: string;
19688
- sipUserName: string;
19689
- webphoneLoginUser: string;
19690
- extensionId: string | null;
19691
- extensionName: string;
19692
- telephonySignature: string | null;
19693
- };
19694
- }, {
19695
- id: string;
19696
- address: string | null;
19697
- name: string;
19698
- email: string;
19699
- createdAt: Date;
19700
- updatedAt: Date;
19701
- deletedAt: Date | null;
19702
- emailVerifiedAt: Date | null;
19703
- password: string;
19704
- phone: string | null;
19705
- notificationCount: number | null;
19706
- roles: {
19707
- id: string;
19708
- description: string | null;
19709
- createdAt: Date;
19710
- updatedAt: Date;
19711
- deletedAt: Date | null;
19712
- systemName: string;
19713
- displayName: string;
19714
- permissions: {
19715
- id: string;
19716
- description: string | null;
19717
- createdAt: Date;
19718
- updatedAt: Date;
19719
- deletedAt: Date | null;
19720
- systemName: string;
19721
- displayName: string;
19722
- }[];
19723
- }[];
19724
- extension: {
19725
- id: string;
19726
- createdAt: Date;
19727
- updatedAt: Date;
19728
- deletedAt: Date | null;
19729
- userId: string | null;
19730
- sipServerUrl: string;
19731
- sipUserName: string;
19732
- webphoneLoginUser: string;
19733
- extensionId: string | null;
19734
- extensionName: string;
19735
- telephonySignature: string | null;
19736
- };
19737
- }>;
18704
+ phone: string | null;
18705
+ }, {
18706
+ id: string;
18707
+ address: string | null;
18708
+ name: string;
18709
+ email: string;
18710
+ phone: string | null;
18711
+ }>>;
19738
18712
  }, "strip", z.ZodTypeAny, {
19739
18713
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19740
18714
  id: string;
@@ -19754,65 +18728,18 @@ export declare const telegramContract: {
19754
18728
  lineRichMenuId?: string | null | undefined;
19755
18729
  };
19756
18730
  status: boolean;
19757
- createdAt: Date;
19758
- updatedAt: Date;
19759
- deletedAt: Date | null;
19760
- actor: {
18731
+ brandName: string;
18732
+ platformId: string;
18733
+ connectedUserName?: string | null | undefined;
18734
+ connectedUserId?: string | null | undefined;
18735
+ lineRichMenuId?: string | null | undefined;
18736
+ actor?: {
19761
18737
  id: string;
19762
18738
  address: string | null;
19763
18739
  name: string;
19764
18740
  email: string;
19765
- createdAt: Date;
19766
- updatedAt: Date;
19767
- deletedAt: Date | null;
19768
- emailVerifiedAt: Date | null;
19769
- password: string;
19770
18741
  phone: string | null;
19771
- notificationCount: number | null;
19772
- roles: {
19773
- id: string;
19774
- description: string | null;
19775
- createdAt: Date;
19776
- updatedAt: Date;
19777
- deletedAt: Date | null;
19778
- systemName: string;
19779
- displayName: string;
19780
- permissions: {
19781
- id: string;
19782
- description: string | null;
19783
- createdAt: Date;
19784
- updatedAt: Date;
19785
- deletedAt: Date | null;
19786
- systemName: string;
19787
- displayName: string;
19788
- }[];
19789
- }[];
19790
- extension: {
19791
- id: string;
19792
- createdAt: Date;
19793
- updatedAt: Date;
19794
- deletedAt: Date | null;
19795
- userId: string | null;
19796
- sipServerUrl: string;
19797
- sipUserName: string;
19798
- webphoneLoginUser: string;
19799
- extensionId: string | null;
19800
- extensionName: string;
19801
- telephonySignature: string | null;
19802
- };
19803
- };
19804
- brandName: string;
19805
- platformId: string;
19806
- isReloginRequired: boolean;
19807
- connectedUserName: string;
19808
- connectedUserId: string;
19809
- botpressBot: {
19810
- id: string;
19811
- name: string;
19812
- accessToken: string;
19813
- botId: string;
19814
- integrationId: string;
19815
- } | null;
18742
+ } | undefined;
19816
18743
  }, {
19817
18744
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19818
18745
  id: string;
@@ -19832,68 +18759,21 @@ export declare const telegramContract: {
19832
18759
  lineRichMenuId?: string | null | undefined;
19833
18760
  };
19834
18761
  status: boolean;
19835
- createdAt: Date;
19836
- updatedAt: Date;
19837
- deletedAt: Date | null;
19838
- actor: {
18762
+ brandName: string;
18763
+ platformId: string;
18764
+ connectedUserName?: string | null | undefined;
18765
+ connectedUserId?: string | null | undefined;
18766
+ lineRichMenuId?: string | null | undefined;
18767
+ actor?: {
19839
18768
  id: string;
19840
18769
  address: string | null;
19841
18770
  name: string;
19842
18771
  email: string;
19843
- createdAt: Date;
19844
- updatedAt: Date;
19845
- deletedAt: Date | null;
19846
- emailVerifiedAt: Date | null;
19847
- password: string;
19848
18772
  phone: string | null;
19849
- notificationCount: number | null;
19850
- roles: {
19851
- id: string;
19852
- description: string | null;
19853
- createdAt: Date;
19854
- updatedAt: Date;
19855
- deletedAt: Date | null;
19856
- systemName: string;
19857
- displayName: string;
19858
- permissions: {
19859
- id: string;
19860
- description: string | null;
19861
- createdAt: Date;
19862
- updatedAt: Date;
19863
- deletedAt: Date | null;
19864
- systemName: string;
19865
- displayName: string;
19866
- }[];
19867
- }[];
19868
- extension: {
19869
- id: string;
19870
- createdAt: Date;
19871
- updatedAt: Date;
19872
- deletedAt: Date | null;
19873
- userId: string | null;
19874
- sipServerUrl: string;
19875
- sipUserName: string;
19876
- webphoneLoginUser: string;
19877
- extensionId: string | null;
19878
- extensionName: string;
19879
- telephonySignature: string | null;
19880
- };
19881
- };
19882
- brandName: string;
19883
- platformId: string;
19884
- isReloginRequired: boolean;
19885
- connectedUserName: string;
19886
- connectedUserId: string;
19887
- botpressBot: {
19888
- id: string;
19889
- name: string;
19890
- accessToken: string;
19891
- botId: string;
19892
- integrationId: string;
19893
- } | null;
18773
+ } | undefined;
19894
18774
  }>;
19895
18775
  }, "strip", z.ZodTypeAny, {
19896
- channel: {
18776
+ data: {
19897
18777
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19898
18778
  id: string;
19899
18779
  name: string;
@@ -19912,69 +18792,22 @@ export declare const telegramContract: {
19912
18792
  lineRichMenuId?: string | null | undefined;
19913
18793
  };
19914
18794
  status: boolean;
19915
- createdAt: Date;
19916
- updatedAt: Date;
19917
- deletedAt: Date | null;
19918
- actor: {
18795
+ brandName: string;
18796
+ platformId: string;
18797
+ connectedUserName?: string | null | undefined;
18798
+ connectedUserId?: string | null | undefined;
18799
+ lineRichMenuId?: string | null | undefined;
18800
+ actor?: {
19919
18801
  id: string;
19920
18802
  address: string | null;
19921
18803
  name: string;
19922
18804
  email: string;
19923
- createdAt: Date;
19924
- updatedAt: Date;
19925
- deletedAt: Date | null;
19926
- emailVerifiedAt: Date | null;
19927
- password: string;
19928
18805
  phone: string | null;
19929
- notificationCount: number | null;
19930
- roles: {
19931
- id: string;
19932
- description: string | null;
19933
- createdAt: Date;
19934
- updatedAt: Date;
19935
- deletedAt: Date | null;
19936
- systemName: string;
19937
- displayName: string;
19938
- permissions: {
19939
- id: string;
19940
- description: string | null;
19941
- createdAt: Date;
19942
- updatedAt: Date;
19943
- deletedAt: Date | null;
19944
- systemName: string;
19945
- displayName: string;
19946
- }[];
19947
- }[];
19948
- extension: {
19949
- id: string;
19950
- createdAt: Date;
19951
- updatedAt: Date;
19952
- deletedAt: Date | null;
19953
- userId: string | null;
19954
- sipServerUrl: string;
19955
- sipUserName: string;
19956
- webphoneLoginUser: string;
19957
- extensionId: string | null;
19958
- extensionName: string;
19959
- telephonySignature: string | null;
19960
- };
19961
- };
19962
- brandName: string;
19963
- platformId: string;
19964
- isReloginRequired: boolean;
19965
- connectedUserName: string;
19966
- connectedUserId: string;
19967
- botpressBot: {
19968
- id: string;
19969
- name: string;
19970
- accessToken: string;
19971
- botId: string;
19972
- integrationId: string;
19973
- } | null;
18806
+ } | undefined;
19974
18807
  };
19975
18808
  requestId: string;
19976
18809
  }, {
19977
- channel: {
18810
+ data: {
19978
18811
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19979
18812
  id: string;
19980
18813
  name: string;
@@ -19993,65 +18826,18 @@ export declare const telegramContract: {
19993
18826
  lineRichMenuId?: string | null | undefined;
19994
18827
  };
19995
18828
  status: boolean;
19996
- createdAt: Date;
19997
- updatedAt: Date;
19998
- deletedAt: Date | null;
19999
- actor: {
18829
+ brandName: string;
18830
+ platformId: string;
18831
+ connectedUserName?: string | null | undefined;
18832
+ connectedUserId?: string | null | undefined;
18833
+ lineRichMenuId?: string | null | undefined;
18834
+ actor?: {
20000
18835
  id: string;
20001
18836
  address: string | null;
20002
18837
  name: string;
20003
18838
  email: string;
20004
- createdAt: Date;
20005
- updatedAt: Date;
20006
- deletedAt: Date | null;
20007
- emailVerifiedAt: Date | null;
20008
- password: string;
20009
18839
  phone: string | null;
20010
- notificationCount: number | null;
20011
- roles: {
20012
- id: string;
20013
- description: string | null;
20014
- createdAt: Date;
20015
- updatedAt: Date;
20016
- deletedAt: Date | null;
20017
- systemName: string;
20018
- displayName: string;
20019
- permissions: {
20020
- id: string;
20021
- description: string | null;
20022
- createdAt: Date;
20023
- updatedAt: Date;
20024
- deletedAt: Date | null;
20025
- systemName: string;
20026
- displayName: string;
20027
- }[];
20028
- }[];
20029
- extension: {
20030
- id: string;
20031
- createdAt: Date;
20032
- updatedAt: Date;
20033
- deletedAt: Date | null;
20034
- userId: string | null;
20035
- sipServerUrl: string;
20036
- sipUserName: string;
20037
- webphoneLoginUser: string;
20038
- extensionId: string | null;
20039
- extensionName: string;
20040
- telephonySignature: string | null;
20041
- };
20042
- };
20043
- brandName: string;
20044
- platformId: string;
20045
- isReloginRequired: boolean;
20046
- connectedUserName: string;
20047
- connectedUserId: string;
20048
- botpressBot: {
20049
- id: string;
20050
- name: string;
20051
- accessToken: string;
20052
- botId: string;
20053
- integrationId: string;
20054
- } | null;
18840
+ } | undefined;
20055
18841
  };
20056
18842
  requestId: string;
20057
18843
  }>;