@kl1/contracts 1.2.39-uat → 1.2.40-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1253 -1074
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +84 -72
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +98 -84
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +1918 -1644
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +462 -396
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +679 -582
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +7294 -6252
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +91 -78
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +77 -66
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +938 -804
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +63 -54
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/validation.d.ts +49 -42
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +735 -630
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +651 -558
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +77 -66
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/messenger/index.d.ts +735 -630
  32. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/messenger/validation.d.ts +49 -42
  34. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  35. package/dist/api-contracts/src/sms/index.d.ts +140 -120
  36. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/telegram/index.d.ts +525 -450
  38. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/viber/index.d.ts +525 -450
  40. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/webchat/index.d.ts +525 -450
  42. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/whatsapp/index.d.ts +623 -534
  44. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/workflow-rule/index.d.ts +154 -132
  46. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  47. package/dist/index.js +8 -7
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +8 -7
  50. package/dist/index.mjs.map +1 -1
  51. package/package.json +1 -1
@@ -775,35 +775,38 @@ export declare const ChannelSchema: z.ZodObject<{
775
775
  additionalCredentials: z.ZodOptional<z.ZodAny>;
776
776
  senderId: z.ZodOptional<z.ZodString>;
777
777
  whatsapp: z.ZodOptional<z.ZodObject<{
778
- wabaBusinessId: z.ZodOptional<z.ZodString>;
779
- wabaExternalId: z.ZodString;
780
- phoneNumberId: z.ZodString;
781
- email: z.ZodString;
782
- clientId: z.ZodOptional<z.ZodString>;
783
- channelId: z.ZodOptional<z.ZodString>;
778
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
779
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
780
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
781
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
782
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
783
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
784
784
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
785
785
  apiKey: z.ZodOptional<z.ZodString>;
786
786
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
787
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
787
788
  }, "strip", z.ZodTypeAny, {
788
- email: string;
789
- wabaExternalId: string;
790
- phoneNumberId: string;
791
- wabaBusinessId?: string | undefined;
792
- clientId?: string | undefined;
793
- channelId?: string | undefined;
789
+ wabaBusinessId?: string | null | undefined;
790
+ wabaExternalId?: string | null | undefined;
791
+ phoneNumberId?: string | null | undefined;
792
+ email?: string | null | undefined;
793
+ clientId?: string | null | undefined;
794
+ channelId?: string | null | undefined;
794
795
  status?: "active" | "pending" | undefined;
795
796
  apiKey?: string | undefined;
796
797
  tier?: "basic" | "regular" | "premium" | undefined;
798
+ integrationType?: "meta" | "360dialog" | undefined;
797
799
  }, {
798
- email: string;
799
- wabaExternalId: string;
800
- phoneNumberId: string;
801
- wabaBusinessId?: string | undefined;
802
- clientId?: string | undefined;
803
- channelId?: string | undefined;
800
+ wabaBusinessId?: string | null | undefined;
801
+ wabaExternalId?: string | null | undefined;
802
+ phoneNumberId?: string | null | undefined;
803
+ email?: string | null | undefined;
804
+ clientId?: string | null | undefined;
805
+ channelId?: string | null | undefined;
804
806
  status?: "active" | "pending" | undefined;
805
807
  apiKey?: string | undefined;
806
808
  tier?: "basic" | "regular" | "premium" | undefined;
809
+ integrationType?: "meta" | "360dialog" | undefined;
807
810
  }>>;
808
811
  vonageCredentials: z.ZodOptional<z.ZodObject<{
809
812
  mobileNumber: z.ZodString;
@@ -828,15 +831,16 @@ export declare const ChannelSchema: z.ZodObject<{
828
831
  additionalCredentials?: any;
829
832
  senderId?: string | undefined;
830
833
  whatsapp?: {
831
- email: string;
832
- wabaExternalId: string;
833
- phoneNumberId: string;
834
- wabaBusinessId?: string | undefined;
835
- clientId?: string | undefined;
836
- channelId?: string | undefined;
834
+ wabaBusinessId?: string | null | undefined;
835
+ wabaExternalId?: string | null | undefined;
836
+ phoneNumberId?: string | null | undefined;
837
+ email?: string | null | undefined;
838
+ clientId?: string | null | undefined;
839
+ channelId?: string | null | undefined;
837
840
  status?: "active" | "pending" | undefined;
838
841
  apiKey?: string | undefined;
839
842
  tier?: "basic" | "regular" | "premium" | undefined;
843
+ integrationType?: "meta" | "360dialog" | undefined;
840
844
  } | undefined;
841
845
  vonageCredentials?: {
842
846
  apiKey: string;
@@ -853,15 +857,16 @@ export declare const ChannelSchema: z.ZodObject<{
853
857
  additionalCredentials?: any;
854
858
  senderId?: string | undefined;
855
859
  whatsapp?: {
856
- email: string;
857
- wabaExternalId: string;
858
- phoneNumberId: string;
859
- wabaBusinessId?: string | undefined;
860
- clientId?: string | undefined;
861
- channelId?: string | undefined;
860
+ wabaBusinessId?: string | null | undefined;
861
+ wabaExternalId?: string | null | undefined;
862
+ phoneNumberId?: string | null | undefined;
863
+ email?: string | null | undefined;
864
+ clientId?: string | null | undefined;
865
+ channelId?: string | null | undefined;
862
866
  status?: "active" | "pending" | undefined;
863
867
  apiKey?: string | undefined;
864
868
  tier?: "basic" | "regular" | "premium" | undefined;
869
+ integrationType?: "meta" | "360dialog" | undefined;
865
870
  } | undefined;
866
871
  vonageCredentials?: {
867
872
  apiKey: string;
@@ -908,15 +913,16 @@ export declare const ChannelSchema: z.ZodObject<{
908
913
  additionalCredentials?: any;
909
914
  senderId?: string | undefined;
910
915
  whatsapp?: {
911
- email: string;
912
- wabaExternalId: string;
913
- phoneNumberId: string;
914
- wabaBusinessId?: string | undefined;
915
- clientId?: string | undefined;
916
- channelId?: string | undefined;
916
+ wabaBusinessId?: string | null | undefined;
917
+ wabaExternalId?: string | null | undefined;
918
+ phoneNumberId?: string | null | undefined;
919
+ email?: string | null | undefined;
920
+ clientId?: string | null | undefined;
921
+ channelId?: string | null | undefined;
917
922
  status?: "active" | "pending" | undefined;
918
923
  apiKey?: string | undefined;
919
924
  tier?: "basic" | "regular" | "premium" | undefined;
925
+ integrationType?: "meta" | "360dialog" | undefined;
920
926
  } | undefined;
921
927
  vonageCredentials?: {
922
928
  apiKey: string;
@@ -951,15 +957,16 @@ export declare const ChannelSchema: z.ZodObject<{
951
957
  additionalCredentials?: any;
952
958
  senderId?: string | undefined;
953
959
  whatsapp?: {
954
- email: string;
955
- wabaExternalId: string;
956
- phoneNumberId: string;
957
- wabaBusinessId?: string | undefined;
958
- clientId?: string | undefined;
959
- channelId?: string | undefined;
960
+ wabaBusinessId?: string | null | undefined;
961
+ wabaExternalId?: string | null | undefined;
962
+ phoneNumberId?: string | null | undefined;
963
+ email?: string | null | undefined;
964
+ clientId?: string | null | undefined;
965
+ channelId?: string | null | undefined;
960
966
  status?: "active" | "pending" | undefined;
961
967
  apiKey?: string | undefined;
962
968
  tier?: "basic" | "regular" | "premium" | undefined;
969
+ integrationType?: "meta" | "360dialog" | undefined;
963
970
  } | undefined;
964
971
  vonageCredentials?: {
965
972
  apiKey: string;
@@ -994,35 +1001,38 @@ export declare const ReloginChanelSchema: z.ZodObject<{
994
1001
  additionalCredentials: z.ZodOptional<z.ZodAny>;
995
1002
  senderId: z.ZodOptional<z.ZodString>;
996
1003
  whatsapp: z.ZodOptional<z.ZodObject<{
997
- wabaBusinessId: z.ZodOptional<z.ZodString>;
998
- wabaExternalId: z.ZodString;
999
- phoneNumberId: z.ZodString;
1000
- email: z.ZodString;
1001
- clientId: z.ZodOptional<z.ZodString>;
1002
- channelId: z.ZodOptional<z.ZodString>;
1004
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1005
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1006
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1007
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1008
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1009
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1003
1010
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1004
1011
  apiKey: z.ZodOptional<z.ZodString>;
1005
1012
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1013
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1006
1014
  }, "strip", z.ZodTypeAny, {
1007
- email: string;
1008
- wabaExternalId: string;
1009
- phoneNumberId: string;
1010
- wabaBusinessId?: string | undefined;
1011
- clientId?: string | undefined;
1012
- channelId?: string | undefined;
1015
+ wabaBusinessId?: string | null | undefined;
1016
+ wabaExternalId?: string | null | undefined;
1017
+ phoneNumberId?: string | null | undefined;
1018
+ email?: string | null | undefined;
1019
+ clientId?: string | null | undefined;
1020
+ channelId?: string | null | undefined;
1013
1021
  status?: "active" | "pending" | undefined;
1014
1022
  apiKey?: string | undefined;
1015
1023
  tier?: "basic" | "regular" | "premium" | undefined;
1024
+ integrationType?: "meta" | "360dialog" | undefined;
1016
1025
  }, {
1017
- email: string;
1018
- wabaExternalId: string;
1019
- phoneNumberId: string;
1020
- wabaBusinessId?: string | undefined;
1021
- clientId?: string | undefined;
1022
- channelId?: string | undefined;
1026
+ wabaBusinessId?: string | null | undefined;
1027
+ wabaExternalId?: string | null | undefined;
1028
+ phoneNumberId?: string | null | undefined;
1029
+ email?: string | null | undefined;
1030
+ clientId?: string | null | undefined;
1031
+ channelId?: string | null | undefined;
1023
1032
  status?: "active" | "pending" | undefined;
1024
1033
  apiKey?: string | undefined;
1025
1034
  tier?: "basic" | "regular" | "premium" | undefined;
1035
+ integrationType?: "meta" | "360dialog" | undefined;
1026
1036
  }>>;
1027
1037
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1028
1038
  mobileNumber: z.ZodString;
@@ -1047,15 +1057,16 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1047
1057
  additionalCredentials?: any;
1048
1058
  senderId?: string | undefined;
1049
1059
  whatsapp?: {
1050
- email: string;
1051
- wabaExternalId: string;
1052
- phoneNumberId: string;
1053
- wabaBusinessId?: string | undefined;
1054
- clientId?: string | undefined;
1055
- channelId?: string | undefined;
1060
+ wabaBusinessId?: string | null | undefined;
1061
+ wabaExternalId?: string | null | undefined;
1062
+ phoneNumberId?: string | null | undefined;
1063
+ email?: string | null | undefined;
1064
+ clientId?: string | null | undefined;
1065
+ channelId?: string | null | undefined;
1056
1066
  status?: "active" | "pending" | undefined;
1057
1067
  apiKey?: string | undefined;
1058
1068
  tier?: "basic" | "regular" | "premium" | undefined;
1069
+ integrationType?: "meta" | "360dialog" | undefined;
1059
1070
  } | undefined;
1060
1071
  vonageCredentials?: {
1061
1072
  apiKey: string;
@@ -1072,15 +1083,16 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1072
1083
  additionalCredentials?: any;
1073
1084
  senderId?: string | undefined;
1074
1085
  whatsapp?: {
1075
- email: string;
1076
- wabaExternalId: string;
1077
- phoneNumberId: string;
1078
- wabaBusinessId?: string | undefined;
1079
- clientId?: string | undefined;
1080
- channelId?: string | undefined;
1086
+ wabaBusinessId?: string | null | undefined;
1087
+ wabaExternalId?: string | null | undefined;
1088
+ phoneNumberId?: string | null | undefined;
1089
+ email?: string | null | undefined;
1090
+ clientId?: string | null | undefined;
1091
+ channelId?: string | null | undefined;
1081
1092
  status?: "active" | "pending" | undefined;
1082
1093
  apiKey?: string | undefined;
1083
1094
  tier?: "basic" | "regular" | "premium" | undefined;
1095
+ integrationType?: "meta" | "360dialog" | undefined;
1084
1096
  } | undefined;
1085
1097
  vonageCredentials?: {
1086
1098
  apiKey: string;
@@ -1132,15 +1144,16 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1132
1144
  additionalCredentials?: any;
1133
1145
  senderId?: string | undefined;
1134
1146
  whatsapp?: {
1135
- email: string;
1136
- wabaExternalId: string;
1137
- phoneNumberId: string;
1138
- wabaBusinessId?: string | undefined;
1139
- clientId?: string | undefined;
1140
- channelId?: string | undefined;
1147
+ wabaBusinessId?: string | null | undefined;
1148
+ wabaExternalId?: string | null | undefined;
1149
+ phoneNumberId?: string | null | undefined;
1150
+ email?: string | null | undefined;
1151
+ clientId?: string | null | undefined;
1152
+ channelId?: string | null | undefined;
1141
1153
  status?: "active" | "pending" | undefined;
1142
1154
  apiKey?: string | undefined;
1143
1155
  tier?: "basic" | "regular" | "premium" | undefined;
1156
+ integrationType?: "meta" | "360dialog" | undefined;
1144
1157
  } | undefined;
1145
1158
  vonageCredentials?: {
1146
1159
  apiKey: string;
@@ -1179,15 +1192,16 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1179
1192
  additionalCredentials?: any;
1180
1193
  senderId?: string | undefined;
1181
1194
  whatsapp?: {
1182
- email: string;
1183
- wabaExternalId: string;
1184
- phoneNumberId: string;
1185
- wabaBusinessId?: string | undefined;
1186
- clientId?: string | undefined;
1187
- channelId?: string | undefined;
1195
+ wabaBusinessId?: string | null | undefined;
1196
+ wabaExternalId?: string | null | undefined;
1197
+ phoneNumberId?: string | null | undefined;
1198
+ email?: string | null | undefined;
1199
+ clientId?: string | null | undefined;
1200
+ channelId?: string | null | undefined;
1188
1201
  status?: "active" | "pending" | undefined;
1189
1202
  apiKey?: string | undefined;
1190
1203
  tier?: "basic" | "regular" | "premium" | undefined;
1204
+ integrationType?: "meta" | "360dialog" | undefined;
1191
1205
  } | undefined;
1192
1206
  vonageCredentials?: {
1193
1207
  apiKey: string;
@@ -1230,35 +1244,38 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1230
1244
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1231
1245
  senderId: z.ZodOptional<z.ZodString>;
1232
1246
  whatsapp: z.ZodOptional<z.ZodObject<{
1233
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1234
- wabaExternalId: z.ZodString;
1235
- phoneNumberId: z.ZodString;
1236
- email: z.ZodString;
1237
- clientId: z.ZodOptional<z.ZodString>;
1238
- channelId: z.ZodOptional<z.ZodString>;
1247
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1248
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1249
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1250
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1251
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1252
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1239
1253
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1240
1254
  apiKey: z.ZodOptional<z.ZodString>;
1241
1255
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1256
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1242
1257
  }, "strip", z.ZodTypeAny, {
1243
- email: string;
1244
- wabaExternalId: string;
1245
- phoneNumberId: string;
1246
- wabaBusinessId?: string | undefined;
1247
- clientId?: string | undefined;
1248
- channelId?: string | undefined;
1258
+ wabaBusinessId?: string | null | undefined;
1259
+ wabaExternalId?: string | null | undefined;
1260
+ phoneNumberId?: string | null | undefined;
1261
+ email?: string | null | undefined;
1262
+ clientId?: string | null | undefined;
1263
+ channelId?: string | null | undefined;
1249
1264
  status?: "active" | "pending" | undefined;
1250
1265
  apiKey?: string | undefined;
1251
1266
  tier?: "basic" | "regular" | "premium" | undefined;
1267
+ integrationType?: "meta" | "360dialog" | undefined;
1252
1268
  }, {
1253
- email: string;
1254
- wabaExternalId: string;
1255
- phoneNumberId: string;
1256
- wabaBusinessId?: string | undefined;
1257
- clientId?: string | undefined;
1258
- channelId?: string | undefined;
1269
+ wabaBusinessId?: string | null | undefined;
1270
+ wabaExternalId?: string | null | undefined;
1271
+ phoneNumberId?: string | null | undefined;
1272
+ email?: string | null | undefined;
1273
+ clientId?: string | null | undefined;
1274
+ channelId?: string | null | undefined;
1259
1275
  status?: "active" | "pending" | undefined;
1260
1276
  apiKey?: string | undefined;
1261
1277
  tier?: "basic" | "regular" | "premium" | undefined;
1278
+ integrationType?: "meta" | "360dialog" | undefined;
1262
1279
  }>>;
1263
1280
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1264
1281
  mobileNumber: z.ZodString;
@@ -1283,15 +1300,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1283
1300
  additionalCredentials?: any;
1284
1301
  senderId?: string | undefined;
1285
1302
  whatsapp?: {
1286
- email: string;
1287
- wabaExternalId: string;
1288
- phoneNumberId: string;
1289
- wabaBusinessId?: string | undefined;
1290
- clientId?: string | undefined;
1291
- channelId?: string | undefined;
1303
+ wabaBusinessId?: string | null | undefined;
1304
+ wabaExternalId?: string | null | undefined;
1305
+ phoneNumberId?: string | null | undefined;
1306
+ email?: string | null | undefined;
1307
+ clientId?: string | null | undefined;
1308
+ channelId?: string | null | undefined;
1292
1309
  status?: "active" | "pending" | undefined;
1293
1310
  apiKey?: string | undefined;
1294
1311
  tier?: "basic" | "regular" | "premium" | undefined;
1312
+ integrationType?: "meta" | "360dialog" | undefined;
1295
1313
  } | undefined;
1296
1314
  vonageCredentials?: {
1297
1315
  apiKey: string;
@@ -1308,15 +1326,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1308
1326
  additionalCredentials?: any;
1309
1327
  senderId?: string | undefined;
1310
1328
  whatsapp?: {
1311
- email: string;
1312
- wabaExternalId: string;
1313
- phoneNumberId: string;
1314
- wabaBusinessId?: string | undefined;
1315
- clientId?: string | undefined;
1316
- channelId?: string | undefined;
1329
+ wabaBusinessId?: string | null | undefined;
1330
+ wabaExternalId?: string | null | undefined;
1331
+ phoneNumberId?: string | null | undefined;
1332
+ email?: string | null | undefined;
1333
+ clientId?: string | null | undefined;
1334
+ channelId?: string | null | undefined;
1317
1335
  status?: "active" | "pending" | undefined;
1318
1336
  apiKey?: string | undefined;
1319
1337
  tier?: "basic" | "regular" | "premium" | undefined;
1338
+ integrationType?: "meta" | "360dialog" | undefined;
1320
1339
  } | undefined;
1321
1340
  vonageCredentials?: {
1322
1341
  apiKey: string;
@@ -1363,15 +1382,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1363
1382
  additionalCredentials?: any;
1364
1383
  senderId?: string | undefined;
1365
1384
  whatsapp?: {
1366
- email: string;
1367
- wabaExternalId: string;
1368
- phoneNumberId: string;
1369
- wabaBusinessId?: string | undefined;
1370
- clientId?: string | undefined;
1371
- channelId?: string | undefined;
1385
+ wabaBusinessId?: string | null | undefined;
1386
+ wabaExternalId?: string | null | undefined;
1387
+ phoneNumberId?: string | null | undefined;
1388
+ email?: string | null | undefined;
1389
+ clientId?: string | null | undefined;
1390
+ channelId?: string | null | undefined;
1372
1391
  status?: "active" | "pending" | undefined;
1373
1392
  apiKey?: string | undefined;
1374
1393
  tier?: "basic" | "regular" | "premium" | undefined;
1394
+ integrationType?: "meta" | "360dialog" | undefined;
1375
1395
  } | undefined;
1376
1396
  vonageCredentials?: {
1377
1397
  apiKey: string;
@@ -1406,15 +1426,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1406
1426
  additionalCredentials?: any;
1407
1427
  senderId?: string | undefined;
1408
1428
  whatsapp?: {
1409
- email: string;
1410
- wabaExternalId: string;
1411
- phoneNumberId: string;
1412
- wabaBusinessId?: string | undefined;
1413
- clientId?: string | undefined;
1414
- channelId?: string | undefined;
1429
+ wabaBusinessId?: string | null | undefined;
1430
+ wabaExternalId?: string | null | undefined;
1431
+ phoneNumberId?: string | null | undefined;
1432
+ email?: string | null | undefined;
1433
+ clientId?: string | null | undefined;
1434
+ channelId?: string | null | undefined;
1415
1435
  status?: "active" | "pending" | undefined;
1416
1436
  apiKey?: string | undefined;
1417
1437
  tier?: "basic" | "regular" | "premium" | undefined;
1438
+ integrationType?: "meta" | "360dialog" | undefined;
1418
1439
  } | undefined;
1419
1440
  vonageCredentials?: {
1420
1441
  apiKey: string;
@@ -1452,15 +1473,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1452
1473
  additionalCredentials?: any;
1453
1474
  senderId?: string | undefined;
1454
1475
  whatsapp?: {
1455
- email: string;
1456
- wabaExternalId: string;
1457
- phoneNumberId: string;
1458
- wabaBusinessId?: string | undefined;
1459
- clientId?: string | undefined;
1460
- channelId?: string | undefined;
1476
+ wabaBusinessId?: string | null | undefined;
1477
+ wabaExternalId?: string | null | undefined;
1478
+ phoneNumberId?: string | null | undefined;
1479
+ email?: string | null | undefined;
1480
+ clientId?: string | null | undefined;
1481
+ channelId?: string | null | undefined;
1461
1482
  status?: "active" | "pending" | undefined;
1462
1483
  apiKey?: string | undefined;
1463
1484
  tier?: "basic" | "regular" | "premium" | undefined;
1485
+ integrationType?: "meta" | "360dialog" | undefined;
1464
1486
  } | undefined;
1465
1487
  vonageCredentials?: {
1466
1488
  apiKey: string;
@@ -1498,15 +1520,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1498
1520
  additionalCredentials?: any;
1499
1521
  senderId?: string | undefined;
1500
1522
  whatsapp?: {
1501
- email: string;
1502
- wabaExternalId: string;
1503
- phoneNumberId: string;
1504
- wabaBusinessId?: string | undefined;
1505
- clientId?: string | undefined;
1506
- channelId?: string | undefined;
1523
+ wabaBusinessId?: string | null | undefined;
1524
+ wabaExternalId?: string | null | undefined;
1525
+ phoneNumberId?: string | null | undefined;
1526
+ email?: string | null | undefined;
1527
+ clientId?: string | null | undefined;
1528
+ channelId?: string | null | undefined;
1507
1529
  status?: "active" | "pending" | undefined;
1508
1530
  apiKey?: string | undefined;
1509
1531
  tier?: "basic" | "regular" | "premium" | undefined;
1532
+ integrationType?: "meta" | "360dialog" | undefined;
1510
1533
  } | undefined;
1511
1534
  vonageCredentials?: {
1512
1535
  apiKey: string;
@@ -1696,15 +1719,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1696
1719
  additionalCredentials?: any;
1697
1720
  senderId?: string | undefined;
1698
1721
  whatsapp?: {
1699
- email: string;
1700
- wabaExternalId: string;
1701
- phoneNumberId: string;
1702
- wabaBusinessId?: string | undefined;
1703
- clientId?: string | undefined;
1704
- channelId?: string | undefined;
1722
+ wabaBusinessId?: string | null | undefined;
1723
+ wabaExternalId?: string | null | undefined;
1724
+ phoneNumberId?: string | null | undefined;
1725
+ email?: string | null | undefined;
1726
+ clientId?: string | null | undefined;
1727
+ channelId?: string | null | undefined;
1705
1728
  status?: "active" | "pending" | undefined;
1706
1729
  apiKey?: string | undefined;
1707
1730
  tier?: "basic" | "regular" | "premium" | undefined;
1731
+ integrationType?: "meta" | "360dialog" | undefined;
1708
1732
  } | undefined;
1709
1733
  vonageCredentials?: {
1710
1734
  apiKey: string;
@@ -1776,15 +1800,16 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1776
1800
  additionalCredentials?: any;
1777
1801
  senderId?: string | undefined;
1778
1802
  whatsapp?: {
1779
- email: string;
1780
- wabaExternalId: string;
1781
- phoneNumberId: string;
1782
- wabaBusinessId?: string | undefined;
1783
- clientId?: string | undefined;
1784
- channelId?: string | undefined;
1803
+ wabaBusinessId?: string | null | undefined;
1804
+ wabaExternalId?: string | null | undefined;
1805
+ phoneNumberId?: string | null | undefined;
1806
+ email?: string | null | undefined;
1807
+ clientId?: string | null | undefined;
1808
+ channelId?: string | null | undefined;
1785
1809
  status?: "active" | "pending" | undefined;
1786
1810
  apiKey?: string | undefined;
1787
1811
  tier?: "basic" | "regular" | "premium" | undefined;
1812
+ integrationType?: "meta" | "360dialog" | undefined;
1788
1813
  } | undefined;
1789
1814
  vonageCredentials?: {
1790
1815
  apiKey: string;
@@ -1947,35 +1972,38 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1947
1972
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1948
1973
  senderId: z.ZodOptional<z.ZodString>;
1949
1974
  whatsapp: z.ZodOptional<z.ZodObject<{
1950
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1951
- wabaExternalId: z.ZodString;
1952
- phoneNumberId: z.ZodString;
1953
- email: z.ZodString;
1954
- clientId: z.ZodOptional<z.ZodString>;
1955
- channelId: z.ZodOptional<z.ZodString>;
1975
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1976
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1977
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1978
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1979
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1980
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1956
1981
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1957
1982
  apiKey: z.ZodOptional<z.ZodString>;
1958
1983
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1984
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
1959
1985
  }, "strip", z.ZodTypeAny, {
1960
- email: string;
1961
- wabaExternalId: string;
1962
- phoneNumberId: string;
1963
- wabaBusinessId?: string | undefined;
1964
- clientId?: string | undefined;
1965
- channelId?: string | undefined;
1986
+ wabaBusinessId?: string | null | undefined;
1987
+ wabaExternalId?: string | null | undefined;
1988
+ phoneNumberId?: string | null | undefined;
1989
+ email?: string | null | undefined;
1990
+ clientId?: string | null | undefined;
1991
+ channelId?: string | null | undefined;
1966
1992
  status?: "active" | "pending" | undefined;
1967
1993
  apiKey?: string | undefined;
1968
1994
  tier?: "basic" | "regular" | "premium" | undefined;
1995
+ integrationType?: "meta" | "360dialog" | undefined;
1969
1996
  }, {
1970
- email: string;
1971
- wabaExternalId: string;
1972
- phoneNumberId: string;
1973
- wabaBusinessId?: string | undefined;
1974
- clientId?: string | undefined;
1975
- channelId?: string | undefined;
1997
+ wabaBusinessId?: string | null | undefined;
1998
+ wabaExternalId?: string | null | undefined;
1999
+ phoneNumberId?: string | null | undefined;
2000
+ email?: string | null | undefined;
2001
+ clientId?: string | null | undefined;
2002
+ channelId?: string | null | undefined;
1976
2003
  status?: "active" | "pending" | undefined;
1977
2004
  apiKey?: string | undefined;
1978
2005
  tier?: "basic" | "regular" | "premium" | undefined;
2006
+ integrationType?: "meta" | "360dialog" | undefined;
1979
2007
  }>>;
1980
2008
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1981
2009
  mobileNumber: z.ZodString;
@@ -2000,15 +2028,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2000
2028
  additionalCredentials?: any;
2001
2029
  senderId?: string | undefined;
2002
2030
  whatsapp?: {
2003
- email: string;
2004
- wabaExternalId: string;
2005
- phoneNumberId: string;
2006
- wabaBusinessId?: string | undefined;
2007
- clientId?: string | undefined;
2008
- channelId?: string | undefined;
2031
+ wabaBusinessId?: string | null | undefined;
2032
+ wabaExternalId?: string | null | undefined;
2033
+ phoneNumberId?: string | null | undefined;
2034
+ email?: string | null | undefined;
2035
+ clientId?: string | null | undefined;
2036
+ channelId?: string | null | undefined;
2009
2037
  status?: "active" | "pending" | undefined;
2010
2038
  apiKey?: string | undefined;
2011
2039
  tier?: "basic" | "regular" | "premium" | undefined;
2040
+ integrationType?: "meta" | "360dialog" | undefined;
2012
2041
  } | undefined;
2013
2042
  vonageCredentials?: {
2014
2043
  apiKey: string;
@@ -2025,15 +2054,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2025
2054
  additionalCredentials?: any;
2026
2055
  senderId?: string | undefined;
2027
2056
  whatsapp?: {
2028
- email: string;
2029
- wabaExternalId: string;
2030
- phoneNumberId: string;
2031
- wabaBusinessId?: string | undefined;
2032
- clientId?: string | undefined;
2033
- channelId?: string | undefined;
2057
+ wabaBusinessId?: string | null | undefined;
2058
+ wabaExternalId?: string | null | undefined;
2059
+ phoneNumberId?: string | null | undefined;
2060
+ email?: string | null | undefined;
2061
+ clientId?: string | null | undefined;
2062
+ channelId?: string | null | undefined;
2034
2063
  status?: "active" | "pending" | undefined;
2035
2064
  apiKey?: string | undefined;
2036
2065
  tier?: "basic" | "regular" | "premium" | undefined;
2066
+ integrationType?: "meta" | "360dialog" | undefined;
2037
2067
  } | undefined;
2038
2068
  vonageCredentials?: {
2039
2069
  apiKey: string;
@@ -2080,15 +2110,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2080
2110
  additionalCredentials?: any;
2081
2111
  senderId?: string | undefined;
2082
2112
  whatsapp?: {
2083
- email: string;
2084
- wabaExternalId: string;
2085
- phoneNumberId: string;
2086
- wabaBusinessId?: string | undefined;
2087
- clientId?: string | undefined;
2088
- channelId?: string | undefined;
2113
+ wabaBusinessId?: string | null | undefined;
2114
+ wabaExternalId?: string | null | undefined;
2115
+ phoneNumberId?: string | null | undefined;
2116
+ email?: string | null | undefined;
2117
+ clientId?: string | null | undefined;
2118
+ channelId?: string | null | undefined;
2089
2119
  status?: "active" | "pending" | undefined;
2090
2120
  apiKey?: string | undefined;
2091
2121
  tier?: "basic" | "regular" | "premium" | undefined;
2122
+ integrationType?: "meta" | "360dialog" | undefined;
2092
2123
  } | undefined;
2093
2124
  vonageCredentials?: {
2094
2125
  apiKey: string;
@@ -2123,15 +2154,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2123
2154
  additionalCredentials?: any;
2124
2155
  senderId?: string | undefined;
2125
2156
  whatsapp?: {
2126
- email: string;
2127
- wabaExternalId: string;
2128
- phoneNumberId: string;
2129
- wabaBusinessId?: string | undefined;
2130
- clientId?: string | undefined;
2131
- channelId?: string | undefined;
2157
+ wabaBusinessId?: string | null | undefined;
2158
+ wabaExternalId?: string | null | undefined;
2159
+ phoneNumberId?: string | null | undefined;
2160
+ email?: string | null | undefined;
2161
+ clientId?: string | null | undefined;
2162
+ channelId?: string | null | undefined;
2132
2163
  status?: "active" | "pending" | undefined;
2133
2164
  apiKey?: string | undefined;
2134
2165
  tier?: "basic" | "regular" | "premium" | undefined;
2166
+ integrationType?: "meta" | "360dialog" | undefined;
2135
2167
  } | undefined;
2136
2168
  vonageCredentials?: {
2137
2169
  apiKey: string;
@@ -2171,15 +2203,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2171
2203
  additionalCredentials?: any;
2172
2204
  senderId?: string | undefined;
2173
2205
  whatsapp?: {
2174
- email: string;
2175
- wabaExternalId: string;
2176
- phoneNumberId: string;
2177
- wabaBusinessId?: string | undefined;
2178
- clientId?: string | undefined;
2179
- channelId?: string | undefined;
2206
+ wabaBusinessId?: string | null | undefined;
2207
+ wabaExternalId?: string | null | undefined;
2208
+ phoneNumberId?: string | null | undefined;
2209
+ email?: string | null | undefined;
2210
+ clientId?: string | null | undefined;
2211
+ channelId?: string | null | undefined;
2180
2212
  status?: "active" | "pending" | undefined;
2181
2213
  apiKey?: string | undefined;
2182
2214
  tier?: "basic" | "regular" | "premium" | undefined;
2215
+ integrationType?: "meta" | "360dialog" | undefined;
2183
2216
  } | undefined;
2184
2217
  vonageCredentials?: {
2185
2218
  apiKey: string;
@@ -2258,15 +2291,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2258
2291
  additionalCredentials?: any;
2259
2292
  senderId?: string | undefined;
2260
2293
  whatsapp?: {
2261
- email: string;
2262
- wabaExternalId: string;
2263
- phoneNumberId: string;
2264
- wabaBusinessId?: string | undefined;
2265
- clientId?: string | undefined;
2266
- channelId?: string | undefined;
2294
+ wabaBusinessId?: string | null | undefined;
2295
+ wabaExternalId?: string | null | undefined;
2296
+ phoneNumberId?: string | null | undefined;
2297
+ email?: string | null | undefined;
2298
+ clientId?: string | null | undefined;
2299
+ channelId?: string | null | undefined;
2267
2300
  status?: "active" | "pending" | undefined;
2268
2301
  apiKey?: string | undefined;
2269
2302
  tier?: "basic" | "regular" | "premium" | undefined;
2303
+ integrationType?: "meta" | "360dialog" | undefined;
2270
2304
  } | undefined;
2271
2305
  vonageCredentials?: {
2272
2306
  apiKey: string;
@@ -2513,15 +2547,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2513
2547
  additionalCredentials?: any;
2514
2548
  senderId?: string | undefined;
2515
2549
  whatsapp?: {
2516
- email: string;
2517
- wabaExternalId: string;
2518
- phoneNumberId: string;
2519
- wabaBusinessId?: string | undefined;
2520
- clientId?: string | undefined;
2521
- channelId?: string | undefined;
2550
+ wabaBusinessId?: string | null | undefined;
2551
+ wabaExternalId?: string | null | undefined;
2552
+ phoneNumberId?: string | null | undefined;
2553
+ email?: string | null | undefined;
2554
+ clientId?: string | null | undefined;
2555
+ channelId?: string | null | undefined;
2522
2556
  status?: "active" | "pending" | undefined;
2523
2557
  apiKey?: string | undefined;
2524
2558
  tier?: "basic" | "regular" | "premium" | undefined;
2559
+ integrationType?: "meta" | "360dialog" | undefined;
2525
2560
  } | undefined;
2526
2561
  vonageCredentials?: {
2527
2562
  apiKey: string;
@@ -2639,15 +2674,16 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2639
2674
  additionalCredentials?: any;
2640
2675
  senderId?: string | undefined;
2641
2676
  whatsapp?: {
2642
- email: string;
2643
- wabaExternalId: string;
2644
- phoneNumberId: string;
2645
- wabaBusinessId?: string | undefined;
2646
- clientId?: string | undefined;
2647
- channelId?: string | undefined;
2677
+ wabaBusinessId?: string | null | undefined;
2678
+ wabaExternalId?: string | null | undefined;
2679
+ phoneNumberId?: string | null | undefined;
2680
+ email?: string | null | undefined;
2681
+ clientId?: string | null | undefined;
2682
+ channelId?: string | null | undefined;
2648
2683
  status?: "active" | "pending" | undefined;
2649
2684
  apiKey?: string | undefined;
2650
2685
  tier?: "basic" | "regular" | "premium" | undefined;
2686
+ integrationType?: "meta" | "360dialog" | undefined;
2651
2687
  } | undefined;
2652
2688
  vonageCredentials?: {
2653
2689
  apiKey: string;
@@ -2981,35 +3017,38 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2981
3017
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2982
3018
  senderId: z.ZodOptional<z.ZodString>;
2983
3019
  whatsapp: z.ZodOptional<z.ZodObject<{
2984
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2985
- wabaExternalId: z.ZodString;
2986
- phoneNumberId: z.ZodString;
2987
- email: z.ZodString;
2988
- clientId: z.ZodOptional<z.ZodString>;
2989
- channelId: z.ZodOptional<z.ZodString>;
3020
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3021
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3022
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3023
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3024
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3025
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2990
3026
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2991
3027
  apiKey: z.ZodOptional<z.ZodString>;
2992
3028
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3029
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2993
3030
  }, "strip", z.ZodTypeAny, {
2994
- email: string;
2995
- wabaExternalId: string;
2996
- phoneNumberId: string;
2997
- wabaBusinessId?: string | undefined;
2998
- clientId?: string | undefined;
2999
- channelId?: string | undefined;
3031
+ wabaBusinessId?: string | null | undefined;
3032
+ wabaExternalId?: string | null | undefined;
3033
+ phoneNumberId?: string | null | undefined;
3034
+ email?: string | null | undefined;
3035
+ clientId?: string | null | undefined;
3036
+ channelId?: string | null | undefined;
3000
3037
  status?: "active" | "pending" | undefined;
3001
3038
  apiKey?: string | undefined;
3002
3039
  tier?: "basic" | "regular" | "premium" | undefined;
3040
+ integrationType?: "meta" | "360dialog" | undefined;
3003
3041
  }, {
3004
- email: string;
3005
- wabaExternalId: string;
3006
- phoneNumberId: string;
3007
- wabaBusinessId?: string | undefined;
3008
- clientId?: string | undefined;
3009
- channelId?: string | undefined;
3042
+ wabaBusinessId?: string | null | undefined;
3043
+ wabaExternalId?: string | null | undefined;
3044
+ phoneNumberId?: string | null | undefined;
3045
+ email?: string | null | undefined;
3046
+ clientId?: string | null | undefined;
3047
+ channelId?: string | null | undefined;
3010
3048
  status?: "active" | "pending" | undefined;
3011
3049
  apiKey?: string | undefined;
3012
3050
  tier?: "basic" | "regular" | "premium" | undefined;
3051
+ integrationType?: "meta" | "360dialog" | undefined;
3013
3052
  }>>;
3014
3053
  vonageCredentials: z.ZodOptional<z.ZodObject<{
3015
3054
  mobileNumber: z.ZodString;
@@ -3034,15 +3073,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3034
3073
  additionalCredentials?: any;
3035
3074
  senderId?: string | undefined;
3036
3075
  whatsapp?: {
3037
- email: string;
3038
- wabaExternalId: string;
3039
- phoneNumberId: string;
3040
- wabaBusinessId?: string | undefined;
3041
- clientId?: string | undefined;
3042
- channelId?: string | undefined;
3076
+ wabaBusinessId?: string | null | undefined;
3077
+ wabaExternalId?: string | null | undefined;
3078
+ phoneNumberId?: string | null | undefined;
3079
+ email?: string | null | undefined;
3080
+ clientId?: string | null | undefined;
3081
+ channelId?: string | null | undefined;
3043
3082
  status?: "active" | "pending" | undefined;
3044
3083
  apiKey?: string | undefined;
3045
3084
  tier?: "basic" | "regular" | "premium" | undefined;
3085
+ integrationType?: "meta" | "360dialog" | undefined;
3046
3086
  } | undefined;
3047
3087
  vonageCredentials?: {
3048
3088
  apiKey: string;
@@ -3059,15 +3099,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3059
3099
  additionalCredentials?: any;
3060
3100
  senderId?: string | undefined;
3061
3101
  whatsapp?: {
3062
- email: string;
3063
- wabaExternalId: string;
3064
- phoneNumberId: string;
3065
- wabaBusinessId?: string | undefined;
3066
- clientId?: string | undefined;
3067
- channelId?: string | undefined;
3102
+ wabaBusinessId?: string | null | undefined;
3103
+ wabaExternalId?: string | null | undefined;
3104
+ phoneNumberId?: string | null | undefined;
3105
+ email?: string | null | undefined;
3106
+ clientId?: string | null | undefined;
3107
+ channelId?: string | null | undefined;
3068
3108
  status?: "active" | "pending" | undefined;
3069
3109
  apiKey?: string | undefined;
3070
3110
  tier?: "basic" | "regular" | "premium" | undefined;
3111
+ integrationType?: "meta" | "360dialog" | undefined;
3071
3112
  } | undefined;
3072
3113
  vonageCredentials?: {
3073
3114
  apiKey: string;
@@ -3114,15 +3155,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3114
3155
  additionalCredentials?: any;
3115
3156
  senderId?: string | undefined;
3116
3157
  whatsapp?: {
3117
- email: string;
3118
- wabaExternalId: string;
3119
- phoneNumberId: string;
3120
- wabaBusinessId?: string | undefined;
3121
- clientId?: string | undefined;
3122
- channelId?: string | undefined;
3158
+ wabaBusinessId?: string | null | undefined;
3159
+ wabaExternalId?: string | null | undefined;
3160
+ phoneNumberId?: string | null | undefined;
3161
+ email?: string | null | undefined;
3162
+ clientId?: string | null | undefined;
3163
+ channelId?: string | null | undefined;
3123
3164
  status?: "active" | "pending" | undefined;
3124
3165
  apiKey?: string | undefined;
3125
3166
  tier?: "basic" | "regular" | "premium" | undefined;
3167
+ integrationType?: "meta" | "360dialog" | undefined;
3126
3168
  } | undefined;
3127
3169
  vonageCredentials?: {
3128
3170
  apiKey: string;
@@ -3157,15 +3199,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3157
3199
  additionalCredentials?: any;
3158
3200
  senderId?: string | undefined;
3159
3201
  whatsapp?: {
3160
- email: string;
3161
- wabaExternalId: string;
3162
- phoneNumberId: string;
3163
- wabaBusinessId?: string | undefined;
3164
- clientId?: string | undefined;
3165
- channelId?: string | undefined;
3202
+ wabaBusinessId?: string | null | undefined;
3203
+ wabaExternalId?: string | null | undefined;
3204
+ phoneNumberId?: string | null | undefined;
3205
+ email?: string | null | undefined;
3206
+ clientId?: string | null | undefined;
3207
+ channelId?: string | null | undefined;
3166
3208
  status?: "active" | "pending" | undefined;
3167
3209
  apiKey?: string | undefined;
3168
3210
  tier?: "basic" | "regular" | "premium" | undefined;
3211
+ integrationType?: "meta" | "360dialog" | undefined;
3169
3212
  } | undefined;
3170
3213
  vonageCredentials?: {
3171
3214
  apiKey: string;
@@ -3205,15 +3248,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3205
3248
  additionalCredentials?: any;
3206
3249
  senderId?: string | undefined;
3207
3250
  whatsapp?: {
3208
- email: string;
3209
- wabaExternalId: string;
3210
- phoneNumberId: string;
3211
- wabaBusinessId?: string | undefined;
3212
- clientId?: string | undefined;
3213
- channelId?: string | undefined;
3251
+ wabaBusinessId?: string | null | undefined;
3252
+ wabaExternalId?: string | null | undefined;
3253
+ phoneNumberId?: string | null | undefined;
3254
+ email?: string | null | undefined;
3255
+ clientId?: string | null | undefined;
3256
+ channelId?: string | null | undefined;
3214
3257
  status?: "active" | "pending" | undefined;
3215
3258
  apiKey?: string | undefined;
3216
3259
  tier?: "basic" | "regular" | "premium" | undefined;
3260
+ integrationType?: "meta" | "360dialog" | undefined;
3217
3261
  } | undefined;
3218
3262
  vonageCredentials?: {
3219
3263
  apiKey: string;
@@ -3292,15 +3336,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3292
3336
  additionalCredentials?: any;
3293
3337
  senderId?: string | undefined;
3294
3338
  whatsapp?: {
3295
- email: string;
3296
- wabaExternalId: string;
3297
- phoneNumberId: string;
3298
- wabaBusinessId?: string | undefined;
3299
- clientId?: string | undefined;
3300
- channelId?: string | undefined;
3339
+ wabaBusinessId?: string | null | undefined;
3340
+ wabaExternalId?: string | null | undefined;
3341
+ phoneNumberId?: string | null | undefined;
3342
+ email?: string | null | undefined;
3343
+ clientId?: string | null | undefined;
3344
+ channelId?: string | null | undefined;
3301
3345
  status?: "active" | "pending" | undefined;
3302
3346
  apiKey?: string | undefined;
3303
3347
  tier?: "basic" | "regular" | "premium" | undefined;
3348
+ integrationType?: "meta" | "360dialog" | undefined;
3304
3349
  } | undefined;
3305
3350
  vonageCredentials?: {
3306
3351
  apiKey: string;
@@ -3428,15 +3473,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3428
3473
  additionalCredentials?: any;
3429
3474
  senderId?: string | undefined;
3430
3475
  whatsapp?: {
3431
- email: string;
3432
- wabaExternalId: string;
3433
- phoneNumberId: string;
3434
- wabaBusinessId?: string | undefined;
3435
- clientId?: string | undefined;
3436
- channelId?: string | undefined;
3476
+ wabaBusinessId?: string | null | undefined;
3477
+ wabaExternalId?: string | null | undefined;
3478
+ phoneNumberId?: string | null | undefined;
3479
+ email?: string | null | undefined;
3480
+ clientId?: string | null | undefined;
3481
+ channelId?: string | null | undefined;
3437
3482
  status?: "active" | "pending" | undefined;
3438
3483
  apiKey?: string | undefined;
3439
3484
  tier?: "basic" | "regular" | "premium" | undefined;
3485
+ integrationType?: "meta" | "360dialog" | undefined;
3440
3486
  } | undefined;
3441
3487
  vonageCredentials?: {
3442
3488
  apiKey: string;
@@ -3558,15 +3604,16 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3558
3604
  additionalCredentials?: any;
3559
3605
  senderId?: string | undefined;
3560
3606
  whatsapp?: {
3561
- email: string;
3562
- wabaExternalId: string;
3563
- phoneNumberId: string;
3564
- wabaBusinessId?: string | undefined;
3565
- clientId?: string | undefined;
3566
- channelId?: string | undefined;
3607
+ wabaBusinessId?: string | null | undefined;
3608
+ wabaExternalId?: string | null | undefined;
3609
+ phoneNumberId?: string | null | undefined;
3610
+ email?: string | null | undefined;
3611
+ clientId?: string | null | undefined;
3612
+ channelId?: string | null | undefined;
3567
3613
  status?: "active" | "pending" | undefined;
3568
3614
  apiKey?: string | undefined;
3569
3615
  tier?: "basic" | "regular" | "premium" | undefined;
3616
+ integrationType?: "meta" | "360dialog" | undefined;
3570
3617
  } | undefined;
3571
3618
  vonageCredentials?: {
3572
3619
  apiKey: string;
@@ -5581,35 +5628,38 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5581
5628
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5582
5629
  senderId: z.ZodOptional<z.ZodString>;
5583
5630
  whatsapp: z.ZodOptional<z.ZodObject<{
5584
- wabaBusinessId: z.ZodOptional<z.ZodString>;
5585
- wabaExternalId: z.ZodString;
5586
- phoneNumberId: z.ZodString;
5587
- email: z.ZodString;
5588
- clientId: z.ZodOptional<z.ZodString>;
5589
- channelId: z.ZodOptional<z.ZodString>;
5631
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5632
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5633
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5634
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5635
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5636
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5590
5637
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5591
5638
  apiKey: z.ZodOptional<z.ZodString>;
5592
5639
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5640
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
5593
5641
  }, "strip", z.ZodTypeAny, {
5594
- email: string;
5595
- wabaExternalId: string;
5596
- phoneNumberId: string;
5597
- wabaBusinessId?: string | undefined;
5598
- clientId?: string | undefined;
5599
- channelId?: string | undefined;
5642
+ wabaBusinessId?: string | null | undefined;
5643
+ wabaExternalId?: string | null | undefined;
5644
+ phoneNumberId?: string | null | undefined;
5645
+ email?: string | null | undefined;
5646
+ clientId?: string | null | undefined;
5647
+ channelId?: string | null | undefined;
5600
5648
  status?: "active" | "pending" | undefined;
5601
5649
  apiKey?: string | undefined;
5602
5650
  tier?: "basic" | "regular" | "premium" | undefined;
5651
+ integrationType?: "meta" | "360dialog" | undefined;
5603
5652
  }, {
5604
- email: string;
5605
- wabaExternalId: string;
5606
- phoneNumberId: string;
5607
- wabaBusinessId?: string | undefined;
5608
- clientId?: string | undefined;
5609
- channelId?: string | undefined;
5653
+ wabaBusinessId?: string | null | undefined;
5654
+ wabaExternalId?: string | null | undefined;
5655
+ phoneNumberId?: string | null | undefined;
5656
+ email?: string | null | undefined;
5657
+ clientId?: string | null | undefined;
5658
+ channelId?: string | null | undefined;
5610
5659
  status?: "active" | "pending" | undefined;
5611
5660
  apiKey?: string | undefined;
5612
5661
  tier?: "basic" | "regular" | "premium" | undefined;
5662
+ integrationType?: "meta" | "360dialog" | undefined;
5613
5663
  }>>;
5614
5664
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5615
5665
  mobileNumber: z.ZodString;
@@ -5634,15 +5684,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5634
5684
  additionalCredentials?: any;
5635
5685
  senderId?: string | undefined;
5636
5686
  whatsapp?: {
5637
- email: string;
5638
- wabaExternalId: string;
5639
- phoneNumberId: string;
5640
- wabaBusinessId?: string | undefined;
5641
- clientId?: string | undefined;
5642
- channelId?: string | undefined;
5687
+ wabaBusinessId?: string | null | undefined;
5688
+ wabaExternalId?: string | null | undefined;
5689
+ phoneNumberId?: string | null | undefined;
5690
+ email?: string | null | undefined;
5691
+ clientId?: string | null | undefined;
5692
+ channelId?: string | null | undefined;
5643
5693
  status?: "active" | "pending" | undefined;
5644
5694
  apiKey?: string | undefined;
5645
5695
  tier?: "basic" | "regular" | "premium" | undefined;
5696
+ integrationType?: "meta" | "360dialog" | undefined;
5646
5697
  } | undefined;
5647
5698
  vonageCredentials?: {
5648
5699
  apiKey: string;
@@ -5659,15 +5710,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5659
5710
  additionalCredentials?: any;
5660
5711
  senderId?: string | undefined;
5661
5712
  whatsapp?: {
5662
- email: string;
5663
- wabaExternalId: string;
5664
- phoneNumberId: string;
5665
- wabaBusinessId?: string | undefined;
5666
- clientId?: string | undefined;
5667
- channelId?: string | undefined;
5713
+ wabaBusinessId?: string | null | undefined;
5714
+ wabaExternalId?: string | null | undefined;
5715
+ phoneNumberId?: string | null | undefined;
5716
+ email?: string | null | undefined;
5717
+ clientId?: string | null | undefined;
5718
+ channelId?: string | null | undefined;
5668
5719
  status?: "active" | "pending" | undefined;
5669
5720
  apiKey?: string | undefined;
5670
5721
  tier?: "basic" | "regular" | "premium" | undefined;
5722
+ integrationType?: "meta" | "360dialog" | undefined;
5671
5723
  } | undefined;
5672
5724
  vonageCredentials?: {
5673
5725
  apiKey: string;
@@ -5918,15 +5970,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5918
5970
  additionalCredentials?: any;
5919
5971
  senderId?: string | undefined;
5920
5972
  whatsapp?: {
5921
- email: string;
5922
- wabaExternalId: string;
5923
- phoneNumberId: string;
5924
- wabaBusinessId?: string | undefined;
5925
- clientId?: string | undefined;
5926
- channelId?: string | undefined;
5973
+ wabaBusinessId?: string | null | undefined;
5974
+ wabaExternalId?: string | null | undefined;
5975
+ phoneNumberId?: string | null | undefined;
5976
+ email?: string | null | undefined;
5977
+ clientId?: string | null | undefined;
5978
+ channelId?: string | null | undefined;
5927
5979
  status?: "active" | "pending" | undefined;
5928
5980
  apiKey?: string | undefined;
5929
5981
  tier?: "basic" | "regular" | "premium" | undefined;
5982
+ integrationType?: "meta" | "360dialog" | undefined;
5930
5983
  } | undefined;
5931
5984
  vonageCredentials?: {
5932
5985
  apiKey: string;
@@ -6008,15 +6061,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6008
6061
  additionalCredentials?: any;
6009
6062
  senderId?: string | undefined;
6010
6063
  whatsapp?: {
6011
- email: string;
6012
- wabaExternalId: string;
6013
- phoneNumberId: string;
6014
- wabaBusinessId?: string | undefined;
6015
- clientId?: string | undefined;
6016
- channelId?: string | undefined;
6064
+ wabaBusinessId?: string | null | undefined;
6065
+ wabaExternalId?: string | null | undefined;
6066
+ phoneNumberId?: string | null | undefined;
6067
+ email?: string | null | undefined;
6068
+ clientId?: string | null | undefined;
6069
+ channelId?: string | null | undefined;
6017
6070
  status?: "active" | "pending" | undefined;
6018
6071
  apiKey?: string | undefined;
6019
6072
  tier?: "basic" | "regular" | "premium" | undefined;
6073
+ integrationType?: "meta" | "360dialog" | undefined;
6020
6074
  } | undefined;
6021
6075
  vonageCredentials?: {
6022
6076
  apiKey: string;
@@ -6662,15 +6716,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6662
6716
  additionalCredentials?: any;
6663
6717
  senderId?: string | undefined;
6664
6718
  whatsapp?: {
6665
- email: string;
6666
- wabaExternalId: string;
6667
- phoneNumberId: string;
6668
- wabaBusinessId?: string | undefined;
6669
- clientId?: string | undefined;
6670
- channelId?: string | undefined;
6719
+ wabaBusinessId?: string | null | undefined;
6720
+ wabaExternalId?: string | null | undefined;
6721
+ phoneNumberId?: string | null | undefined;
6722
+ email?: string | null | undefined;
6723
+ clientId?: string | null | undefined;
6724
+ channelId?: string | null | undefined;
6671
6725
  status?: "active" | "pending" | undefined;
6672
6726
  apiKey?: string | undefined;
6673
6727
  tier?: "basic" | "regular" | "premium" | undefined;
6728
+ integrationType?: "meta" | "360dialog" | undefined;
6674
6729
  } | undefined;
6675
6730
  vonageCredentials?: {
6676
6731
  apiKey: string;
@@ -7085,15 +7140,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7085
7140
  additionalCredentials?: any;
7086
7141
  senderId?: string | undefined;
7087
7142
  whatsapp?: {
7088
- email: string;
7089
- wabaExternalId: string;
7090
- phoneNumberId: string;
7091
- wabaBusinessId?: string | undefined;
7092
- clientId?: string | undefined;
7093
- channelId?: string | undefined;
7143
+ wabaBusinessId?: string | null | undefined;
7144
+ wabaExternalId?: string | null | undefined;
7145
+ phoneNumberId?: string | null | undefined;
7146
+ email?: string | null | undefined;
7147
+ clientId?: string | null | undefined;
7148
+ channelId?: string | null | undefined;
7094
7149
  status?: "active" | "pending" | undefined;
7095
7150
  apiKey?: string | undefined;
7096
7151
  tier?: "basic" | "regular" | "premium" | undefined;
7152
+ integrationType?: "meta" | "360dialog" | undefined;
7097
7153
  } | undefined;
7098
7154
  vonageCredentials?: {
7099
7155
  apiKey: string;
@@ -10224,35 +10280,38 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10224
10280
  additionalCredentials: z.ZodOptional<z.ZodAny>;
10225
10281
  senderId: z.ZodOptional<z.ZodString>;
10226
10282
  whatsapp: z.ZodOptional<z.ZodObject<{
10227
- wabaBusinessId: z.ZodOptional<z.ZodString>;
10228
- wabaExternalId: z.ZodString;
10229
- phoneNumberId: z.ZodString;
10230
- email: z.ZodString;
10231
- clientId: z.ZodOptional<z.ZodString>;
10232
- channelId: z.ZodOptional<z.ZodString>;
10283
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10284
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10285
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10286
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10287
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10288
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10233
10289
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10234
10290
  apiKey: z.ZodOptional<z.ZodString>;
10235
10291
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10292
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
10236
10293
  }, "strip", z.ZodTypeAny, {
10237
- email: string;
10238
- wabaExternalId: string;
10239
- phoneNumberId: string;
10240
- wabaBusinessId?: string | undefined;
10241
- clientId?: string | undefined;
10242
- channelId?: string | undefined;
10294
+ wabaBusinessId?: string | null | undefined;
10295
+ wabaExternalId?: string | null | undefined;
10296
+ phoneNumberId?: string | null | undefined;
10297
+ email?: string | null | undefined;
10298
+ clientId?: string | null | undefined;
10299
+ channelId?: string | null | undefined;
10243
10300
  status?: "active" | "pending" | undefined;
10244
10301
  apiKey?: string | undefined;
10245
10302
  tier?: "basic" | "regular" | "premium" | undefined;
10303
+ integrationType?: "meta" | "360dialog" | undefined;
10246
10304
  }, {
10247
- email: string;
10248
- wabaExternalId: string;
10249
- phoneNumberId: string;
10250
- wabaBusinessId?: string | undefined;
10251
- clientId?: string | undefined;
10252
- channelId?: string | undefined;
10305
+ wabaBusinessId?: string | null | undefined;
10306
+ wabaExternalId?: string | null | undefined;
10307
+ phoneNumberId?: string | null | undefined;
10308
+ email?: string | null | undefined;
10309
+ clientId?: string | null | undefined;
10310
+ channelId?: string | null | undefined;
10253
10311
  status?: "active" | "pending" | undefined;
10254
10312
  apiKey?: string | undefined;
10255
10313
  tier?: "basic" | "regular" | "premium" | undefined;
10314
+ integrationType?: "meta" | "360dialog" | undefined;
10256
10315
  }>>;
10257
10316
  vonageCredentials: z.ZodOptional<z.ZodObject<{
10258
10317
  mobileNumber: z.ZodString;
@@ -10277,15 +10336,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10277
10336
  additionalCredentials?: any;
10278
10337
  senderId?: string | undefined;
10279
10338
  whatsapp?: {
10280
- email: string;
10281
- wabaExternalId: string;
10282
- phoneNumberId: string;
10283
- wabaBusinessId?: string | undefined;
10284
- clientId?: string | undefined;
10285
- channelId?: string | undefined;
10339
+ wabaBusinessId?: string | null | undefined;
10340
+ wabaExternalId?: string | null | undefined;
10341
+ phoneNumberId?: string | null | undefined;
10342
+ email?: string | null | undefined;
10343
+ clientId?: string | null | undefined;
10344
+ channelId?: string | null | undefined;
10286
10345
  status?: "active" | "pending" | undefined;
10287
10346
  apiKey?: string | undefined;
10288
10347
  tier?: "basic" | "regular" | "premium" | undefined;
10348
+ integrationType?: "meta" | "360dialog" | undefined;
10289
10349
  } | undefined;
10290
10350
  vonageCredentials?: {
10291
10351
  apiKey: string;
@@ -10302,15 +10362,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10302
10362
  additionalCredentials?: any;
10303
10363
  senderId?: string | undefined;
10304
10364
  whatsapp?: {
10305
- email: string;
10306
- wabaExternalId: string;
10307
- phoneNumberId: string;
10308
- wabaBusinessId?: string | undefined;
10309
- clientId?: string | undefined;
10310
- channelId?: string | undefined;
10365
+ wabaBusinessId?: string | null | undefined;
10366
+ wabaExternalId?: string | null | undefined;
10367
+ phoneNumberId?: string | null | undefined;
10368
+ email?: string | null | undefined;
10369
+ clientId?: string | null | undefined;
10370
+ channelId?: string | null | undefined;
10311
10371
  status?: "active" | "pending" | undefined;
10312
10372
  apiKey?: string | undefined;
10313
10373
  tier?: "basic" | "regular" | "premium" | undefined;
10374
+ integrationType?: "meta" | "360dialog" | undefined;
10314
10375
  } | undefined;
10315
10376
  vonageCredentials?: {
10316
10377
  apiKey: string;
@@ -10561,15 +10622,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10561
10622
  additionalCredentials?: any;
10562
10623
  senderId?: string | undefined;
10563
10624
  whatsapp?: {
10564
- email: string;
10565
- wabaExternalId: string;
10566
- phoneNumberId: string;
10567
- wabaBusinessId?: string | undefined;
10568
- clientId?: string | undefined;
10569
- channelId?: string | undefined;
10625
+ wabaBusinessId?: string | null | undefined;
10626
+ wabaExternalId?: string | null | undefined;
10627
+ phoneNumberId?: string | null | undefined;
10628
+ email?: string | null | undefined;
10629
+ clientId?: string | null | undefined;
10630
+ channelId?: string | null | undefined;
10570
10631
  status?: "active" | "pending" | undefined;
10571
10632
  apiKey?: string | undefined;
10572
10633
  tier?: "basic" | "regular" | "premium" | undefined;
10634
+ integrationType?: "meta" | "360dialog" | undefined;
10573
10635
  } | undefined;
10574
10636
  vonageCredentials?: {
10575
10637
  apiKey: string;
@@ -10651,15 +10713,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10651
10713
  additionalCredentials?: any;
10652
10714
  senderId?: string | undefined;
10653
10715
  whatsapp?: {
10654
- email: string;
10655
- wabaExternalId: string;
10656
- phoneNumberId: string;
10657
- wabaBusinessId?: string | undefined;
10658
- clientId?: string | undefined;
10659
- channelId?: string | undefined;
10716
+ wabaBusinessId?: string | null | undefined;
10717
+ wabaExternalId?: string | null | undefined;
10718
+ phoneNumberId?: string | null | undefined;
10719
+ email?: string | null | undefined;
10720
+ clientId?: string | null | undefined;
10721
+ channelId?: string | null | undefined;
10660
10722
  status?: "active" | "pending" | undefined;
10661
10723
  apiKey?: string | undefined;
10662
10724
  tier?: "basic" | "regular" | "premium" | undefined;
10725
+ integrationType?: "meta" | "360dialog" | undefined;
10663
10726
  } | undefined;
10664
10727
  vonageCredentials?: {
10665
10728
  apiKey: string;
@@ -11305,15 +11368,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11305
11368
  additionalCredentials?: any;
11306
11369
  senderId?: string | undefined;
11307
11370
  whatsapp?: {
11308
- email: string;
11309
- wabaExternalId: string;
11310
- phoneNumberId: string;
11311
- wabaBusinessId?: string | undefined;
11312
- clientId?: string | undefined;
11313
- channelId?: string | undefined;
11371
+ wabaBusinessId?: string | null | undefined;
11372
+ wabaExternalId?: string | null | undefined;
11373
+ phoneNumberId?: string | null | undefined;
11374
+ email?: string | null | undefined;
11375
+ clientId?: string | null | undefined;
11376
+ channelId?: string | null | undefined;
11314
11377
  status?: "active" | "pending" | undefined;
11315
11378
  apiKey?: string | undefined;
11316
11379
  tier?: "basic" | "regular" | "premium" | undefined;
11380
+ integrationType?: "meta" | "360dialog" | undefined;
11317
11381
  } | undefined;
11318
11382
  vonageCredentials?: {
11319
11383
  apiKey: string;
@@ -11728,15 +11792,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11728
11792
  additionalCredentials?: any;
11729
11793
  senderId?: string | undefined;
11730
11794
  whatsapp?: {
11731
- email: string;
11732
- wabaExternalId: string;
11733
- phoneNumberId: string;
11734
- wabaBusinessId?: string | undefined;
11735
- clientId?: string | undefined;
11736
- channelId?: string | undefined;
11795
+ wabaBusinessId?: string | null | undefined;
11796
+ wabaExternalId?: string | null | undefined;
11797
+ phoneNumberId?: string | null | undefined;
11798
+ email?: string | null | undefined;
11799
+ clientId?: string | null | undefined;
11800
+ channelId?: string | null | undefined;
11737
11801
  status?: "active" | "pending" | undefined;
11738
11802
  apiKey?: string | undefined;
11739
11803
  tier?: "basic" | "regular" | "premium" | undefined;
11804
+ integrationType?: "meta" | "360dialog" | undefined;
11740
11805
  } | undefined;
11741
11806
  vonageCredentials?: {
11742
11807
  apiKey: string;
@@ -13924,15 +13989,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13924
13989
  additionalCredentials?: any;
13925
13990
  senderId?: string | undefined;
13926
13991
  whatsapp?: {
13927
- email: string;
13928
- wabaExternalId: string;
13929
- phoneNumberId: string;
13930
- wabaBusinessId?: string | undefined;
13931
- clientId?: string | undefined;
13932
- channelId?: string | undefined;
13992
+ wabaBusinessId?: string | null | undefined;
13993
+ wabaExternalId?: string | null | undefined;
13994
+ phoneNumberId?: string | null | undefined;
13995
+ email?: string | null | undefined;
13996
+ clientId?: string | null | undefined;
13997
+ channelId?: string | null | undefined;
13933
13998
  status?: "active" | "pending" | undefined;
13934
13999
  apiKey?: string | undefined;
13935
14000
  tier?: "basic" | "regular" | "premium" | undefined;
14001
+ integrationType?: "meta" | "360dialog" | undefined;
13936
14002
  } | undefined;
13937
14003
  vonageCredentials?: {
13938
14004
  apiKey: string;
@@ -14684,15 +14750,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14684
14750
  additionalCredentials?: any;
14685
14751
  senderId?: string | undefined;
14686
14752
  whatsapp?: {
14687
- email: string;
14688
- wabaExternalId: string;
14689
- phoneNumberId: string;
14690
- wabaBusinessId?: string | undefined;
14691
- clientId?: string | undefined;
14692
- channelId?: string | undefined;
14753
+ wabaBusinessId?: string | null | undefined;
14754
+ wabaExternalId?: string | null | undefined;
14755
+ phoneNumberId?: string | null | undefined;
14756
+ email?: string | null | undefined;
14757
+ clientId?: string | null | undefined;
14758
+ channelId?: string | null | undefined;
14693
14759
  status?: "active" | "pending" | undefined;
14694
14760
  apiKey?: string | undefined;
14695
14761
  tier?: "basic" | "regular" | "premium" | undefined;
14762
+ integrationType?: "meta" | "360dialog" | undefined;
14696
14763
  } | undefined;
14697
14764
  vonageCredentials?: {
14698
14765
  apiKey: string;
@@ -15445,15 +15512,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15445
15512
  additionalCredentials?: any;
15446
15513
  senderId?: string | undefined;
15447
15514
  whatsapp?: {
15448
- email: string;
15449
- wabaExternalId: string;
15450
- phoneNumberId: string;
15451
- wabaBusinessId?: string | undefined;
15452
- clientId?: string | undefined;
15453
- channelId?: string | undefined;
15515
+ wabaBusinessId?: string | null | undefined;
15516
+ wabaExternalId?: string | null | undefined;
15517
+ phoneNumberId?: string | null | undefined;
15518
+ email?: string | null | undefined;
15519
+ clientId?: string | null | undefined;
15520
+ channelId?: string | null | undefined;
15454
15521
  status?: "active" | "pending" | undefined;
15455
15522
  apiKey?: string | undefined;
15456
15523
  tier?: "basic" | "regular" | "premium" | undefined;
15524
+ integrationType?: "meta" | "360dialog" | undefined;
15457
15525
  } | undefined;
15458
15526
  vonageCredentials?: {
15459
15527
  apiKey: string;
@@ -16205,15 +16273,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16205
16273
  additionalCredentials?: any;
16206
16274
  senderId?: string | undefined;
16207
16275
  whatsapp?: {
16208
- email: string;
16209
- wabaExternalId: string;
16210
- phoneNumberId: string;
16211
- wabaBusinessId?: string | undefined;
16212
- clientId?: string | undefined;
16213
- channelId?: string | undefined;
16276
+ wabaBusinessId?: string | null | undefined;
16277
+ wabaExternalId?: string | null | undefined;
16278
+ phoneNumberId?: string | null | undefined;
16279
+ email?: string | null | undefined;
16280
+ clientId?: string | null | undefined;
16281
+ channelId?: string | null | undefined;
16214
16282
  status?: "active" | "pending" | undefined;
16215
16283
  apiKey?: string | undefined;
16216
16284
  tier?: "basic" | "regular" | "premium" | undefined;
16285
+ integrationType?: "meta" | "360dialog" | undefined;
16217
16286
  } | undefined;
16218
16287
  vonageCredentials?: {
16219
16288
  apiKey: string;
@@ -16966,15 +17035,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16966
17035
  additionalCredentials?: any;
16967
17036
  senderId?: string | undefined;
16968
17037
  whatsapp?: {
16969
- email: string;
16970
- wabaExternalId: string;
16971
- phoneNumberId: string;
16972
- wabaBusinessId?: string | undefined;
16973
- clientId?: string | undefined;
16974
- channelId?: string | undefined;
17038
+ wabaBusinessId?: string | null | undefined;
17039
+ wabaExternalId?: string | null | undefined;
17040
+ phoneNumberId?: string | null | undefined;
17041
+ email?: string | null | undefined;
17042
+ clientId?: string | null | undefined;
17043
+ channelId?: string | null | undefined;
16975
17044
  status?: "active" | "pending" | undefined;
16976
17045
  apiKey?: string | undefined;
16977
17046
  tier?: "basic" | "regular" | "premium" | undefined;
17047
+ integrationType?: "meta" | "360dialog" | undefined;
16978
17048
  } | undefined;
16979
17049
  vonageCredentials?: {
16980
17050
  apiKey: string;
@@ -17726,15 +17796,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17726
17796
  additionalCredentials?: any;
17727
17797
  senderId?: string | undefined;
17728
17798
  whatsapp?: {
17729
- email: string;
17730
- wabaExternalId: string;
17731
- phoneNumberId: string;
17732
- wabaBusinessId?: string | undefined;
17733
- clientId?: string | undefined;
17734
- channelId?: string | undefined;
17799
+ wabaBusinessId?: string | null | undefined;
17800
+ wabaExternalId?: string | null | undefined;
17801
+ phoneNumberId?: string | null | undefined;
17802
+ email?: string | null | undefined;
17803
+ clientId?: string | null | undefined;
17804
+ channelId?: string | null | undefined;
17735
17805
  status?: "active" | "pending" | undefined;
17736
17806
  apiKey?: string | undefined;
17737
17807
  tier?: "basic" | "regular" | "premium" | undefined;
17808
+ integrationType?: "meta" | "360dialog" | undefined;
17738
17809
  } | undefined;
17739
17810
  vonageCredentials?: {
17740
17811
  apiKey: string;
@@ -18489,15 +18560,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18489
18560
  additionalCredentials?: any;
18490
18561
  senderId?: string | undefined;
18491
18562
  whatsapp?: {
18492
- email: string;
18493
- wabaExternalId: string;
18494
- phoneNumberId: string;
18495
- wabaBusinessId?: string | undefined;
18496
- clientId?: string | undefined;
18497
- channelId?: string | undefined;
18563
+ wabaBusinessId?: string | null | undefined;
18564
+ wabaExternalId?: string | null | undefined;
18565
+ phoneNumberId?: string | null | undefined;
18566
+ email?: string | null | undefined;
18567
+ clientId?: string | null | undefined;
18568
+ channelId?: string | null | undefined;
18498
18569
  status?: "active" | "pending" | undefined;
18499
18570
  apiKey?: string | undefined;
18500
18571
  tier?: "basic" | "regular" | "premium" | undefined;
18572
+ integrationType?: "meta" | "360dialog" | undefined;
18501
18573
  } | undefined;
18502
18574
  vonageCredentials?: {
18503
18575
  apiKey: string;
@@ -19249,15 +19321,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19249
19321
  additionalCredentials?: any;
19250
19322
  senderId?: string | undefined;
19251
19323
  whatsapp?: {
19252
- email: string;
19253
- wabaExternalId: string;
19254
- phoneNumberId: string;
19255
- wabaBusinessId?: string | undefined;
19256
- clientId?: string | undefined;
19257
- channelId?: string | undefined;
19324
+ wabaBusinessId?: string | null | undefined;
19325
+ wabaExternalId?: string | null | undefined;
19326
+ phoneNumberId?: string | null | undefined;
19327
+ email?: string | null | undefined;
19328
+ clientId?: string | null | undefined;
19329
+ channelId?: string | null | undefined;
19258
19330
  status?: "active" | "pending" | undefined;
19259
19331
  apiKey?: string | undefined;
19260
19332
  tier?: "basic" | "regular" | "premium" | undefined;
19333
+ integrationType?: "meta" | "360dialog" | undefined;
19261
19334
  } | undefined;
19262
19335
  vonageCredentials?: {
19263
19336
  apiKey: string;
@@ -20013,15 +20086,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20013
20086
  additionalCredentials?: any;
20014
20087
  senderId?: string | undefined;
20015
20088
  whatsapp?: {
20016
- email: string;
20017
- wabaExternalId: string;
20018
- phoneNumberId: string;
20019
- wabaBusinessId?: string | undefined;
20020
- clientId?: string | undefined;
20021
- channelId?: string | undefined;
20089
+ wabaBusinessId?: string | null | undefined;
20090
+ wabaExternalId?: string | null | undefined;
20091
+ phoneNumberId?: string | null | undefined;
20092
+ email?: string | null | undefined;
20093
+ clientId?: string | null | undefined;
20094
+ channelId?: string | null | undefined;
20022
20095
  status?: "active" | "pending" | undefined;
20023
20096
  apiKey?: string | undefined;
20024
20097
  tier?: "basic" | "regular" | "premium" | undefined;
20098
+ integrationType?: "meta" | "360dialog" | undefined;
20025
20099
  } | undefined;
20026
20100
  vonageCredentials?: {
20027
20101
  apiKey: string;
@@ -20773,15 +20847,16 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20773
20847
  additionalCredentials?: any;
20774
20848
  senderId?: string | undefined;
20775
20849
  whatsapp?: {
20776
- email: string;
20777
- wabaExternalId: string;
20778
- phoneNumberId: string;
20779
- wabaBusinessId?: string | undefined;
20780
- clientId?: string | undefined;
20781
- channelId?: string | undefined;
20850
+ wabaBusinessId?: string | null | undefined;
20851
+ wabaExternalId?: string | null | undefined;
20852
+ phoneNumberId?: string | null | undefined;
20853
+ email?: string | null | undefined;
20854
+ clientId?: string | null | undefined;
20855
+ channelId?: string | null | undefined;
20782
20856
  status?: "active" | "pending" | undefined;
20783
20857
  apiKey?: string | undefined;
20784
20858
  tier?: "basic" | "regular" | "premium" | undefined;
20859
+ integrationType?: "meta" | "360dialog" | undefined;
20785
20860
  } | undefined;
20786
20861
  vonageCredentials?: {
20787
20862
  apiKey: string;
@@ -21427,35 +21502,38 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21427
21502
  additionalCredentials: z.ZodOptional<z.ZodAny>;
21428
21503
  senderId: z.ZodOptional<z.ZodString>;
21429
21504
  whatsapp: z.ZodOptional<z.ZodObject<{
21430
- wabaBusinessId: z.ZodOptional<z.ZodString>;
21431
- wabaExternalId: z.ZodString;
21432
- phoneNumberId: z.ZodString;
21433
- email: z.ZodString;
21434
- clientId: z.ZodOptional<z.ZodString>;
21435
- channelId: z.ZodOptional<z.ZodString>;
21505
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21506
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21507
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21508
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21509
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21510
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21436
21511
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
21437
21512
  apiKey: z.ZodOptional<z.ZodString>;
21438
21513
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
21514
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
21439
21515
  }, "strip", z.ZodTypeAny, {
21440
- email: string;
21441
- wabaExternalId: string;
21442
- phoneNumberId: string;
21443
- wabaBusinessId?: string | undefined;
21444
- clientId?: string | undefined;
21445
- channelId?: string | undefined;
21516
+ wabaBusinessId?: string | null | undefined;
21517
+ wabaExternalId?: string | null | undefined;
21518
+ phoneNumberId?: string | null | undefined;
21519
+ email?: string | null | undefined;
21520
+ clientId?: string | null | undefined;
21521
+ channelId?: string | null | undefined;
21446
21522
  status?: "active" | "pending" | undefined;
21447
21523
  apiKey?: string | undefined;
21448
21524
  tier?: "basic" | "regular" | "premium" | undefined;
21525
+ integrationType?: "meta" | "360dialog" | undefined;
21449
21526
  }, {
21450
- email: string;
21451
- wabaExternalId: string;
21452
- phoneNumberId: string;
21453
- wabaBusinessId?: string | undefined;
21454
- clientId?: string | undefined;
21455
- channelId?: string | undefined;
21527
+ wabaBusinessId?: string | null | undefined;
21528
+ wabaExternalId?: string | null | undefined;
21529
+ phoneNumberId?: string | null | undefined;
21530
+ email?: string | null | undefined;
21531
+ clientId?: string | null | undefined;
21532
+ channelId?: string | null | undefined;
21456
21533
  status?: "active" | "pending" | undefined;
21457
21534
  apiKey?: string | undefined;
21458
21535
  tier?: "basic" | "regular" | "premium" | undefined;
21536
+ integrationType?: "meta" | "360dialog" | undefined;
21459
21537
  }>>;
21460
21538
  vonageCredentials: z.ZodOptional<z.ZodObject<{
21461
21539
  mobileNumber: z.ZodString;
@@ -21480,15 +21558,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21480
21558
  additionalCredentials?: any;
21481
21559
  senderId?: string | undefined;
21482
21560
  whatsapp?: {
21483
- email: string;
21484
- wabaExternalId: string;
21485
- phoneNumberId: string;
21486
- wabaBusinessId?: string | undefined;
21487
- clientId?: string | undefined;
21488
- channelId?: string | undefined;
21561
+ wabaBusinessId?: string | null | undefined;
21562
+ wabaExternalId?: string | null | undefined;
21563
+ phoneNumberId?: string | null | undefined;
21564
+ email?: string | null | undefined;
21565
+ clientId?: string | null | undefined;
21566
+ channelId?: string | null | undefined;
21489
21567
  status?: "active" | "pending" | undefined;
21490
21568
  apiKey?: string | undefined;
21491
21569
  tier?: "basic" | "regular" | "premium" | undefined;
21570
+ integrationType?: "meta" | "360dialog" | undefined;
21492
21571
  } | undefined;
21493
21572
  vonageCredentials?: {
21494
21573
  apiKey: string;
@@ -21505,15 +21584,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21505
21584
  additionalCredentials?: any;
21506
21585
  senderId?: string | undefined;
21507
21586
  whatsapp?: {
21508
- email: string;
21509
- wabaExternalId: string;
21510
- phoneNumberId: string;
21511
- wabaBusinessId?: string | undefined;
21512
- clientId?: string | undefined;
21513
- channelId?: string | undefined;
21587
+ wabaBusinessId?: string | null | undefined;
21588
+ wabaExternalId?: string | null | undefined;
21589
+ phoneNumberId?: string | null | undefined;
21590
+ email?: string | null | undefined;
21591
+ clientId?: string | null | undefined;
21592
+ channelId?: string | null | undefined;
21514
21593
  status?: "active" | "pending" | undefined;
21515
21594
  apiKey?: string | undefined;
21516
21595
  tier?: "basic" | "regular" | "premium" | undefined;
21596
+ integrationType?: "meta" | "360dialog" | undefined;
21517
21597
  } | undefined;
21518
21598
  vonageCredentials?: {
21519
21599
  apiKey: string;
@@ -21560,15 +21640,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21560
21640
  additionalCredentials?: any;
21561
21641
  senderId?: string | undefined;
21562
21642
  whatsapp?: {
21563
- email: string;
21564
- wabaExternalId: string;
21565
- phoneNumberId: string;
21566
- wabaBusinessId?: string | undefined;
21567
- clientId?: string | undefined;
21568
- channelId?: string | undefined;
21643
+ wabaBusinessId?: string | null | undefined;
21644
+ wabaExternalId?: string | null | undefined;
21645
+ phoneNumberId?: string | null | undefined;
21646
+ email?: string | null | undefined;
21647
+ clientId?: string | null | undefined;
21648
+ channelId?: string | null | undefined;
21569
21649
  status?: "active" | "pending" | undefined;
21570
21650
  apiKey?: string | undefined;
21571
21651
  tier?: "basic" | "regular" | "premium" | undefined;
21652
+ integrationType?: "meta" | "360dialog" | undefined;
21572
21653
  } | undefined;
21573
21654
  vonageCredentials?: {
21574
21655
  apiKey: string;
@@ -21603,15 +21684,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21603
21684
  additionalCredentials?: any;
21604
21685
  senderId?: string | undefined;
21605
21686
  whatsapp?: {
21606
- email: string;
21607
- wabaExternalId: string;
21608
- phoneNumberId: string;
21609
- wabaBusinessId?: string | undefined;
21610
- clientId?: string | undefined;
21611
- channelId?: string | undefined;
21687
+ wabaBusinessId?: string | null | undefined;
21688
+ wabaExternalId?: string | null | undefined;
21689
+ phoneNumberId?: string | null | undefined;
21690
+ email?: string | null | undefined;
21691
+ clientId?: string | null | undefined;
21692
+ channelId?: string | null | undefined;
21612
21693
  status?: "active" | "pending" | undefined;
21613
21694
  apiKey?: string | undefined;
21614
21695
  tier?: "basic" | "regular" | "premium" | undefined;
21696
+ integrationType?: "meta" | "360dialog" | undefined;
21615
21697
  } | undefined;
21616
21698
  vonageCredentials?: {
21617
21699
  apiKey: string;
@@ -21648,15 +21730,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21648
21730
  additionalCredentials?: any;
21649
21731
  senderId?: string | undefined;
21650
21732
  whatsapp?: {
21651
- email: string;
21652
- wabaExternalId: string;
21653
- phoneNumberId: string;
21654
- wabaBusinessId?: string | undefined;
21655
- clientId?: string | undefined;
21656
- channelId?: string | undefined;
21733
+ wabaBusinessId?: string | null | undefined;
21734
+ wabaExternalId?: string | null | undefined;
21735
+ phoneNumberId?: string | null | undefined;
21736
+ email?: string | null | undefined;
21737
+ clientId?: string | null | undefined;
21738
+ channelId?: string | null | undefined;
21657
21739
  status?: "active" | "pending" | undefined;
21658
21740
  apiKey?: string | undefined;
21659
21741
  tier?: "basic" | "regular" | "premium" | undefined;
21742
+ integrationType?: "meta" | "360dialog" | undefined;
21660
21743
  } | undefined;
21661
21744
  vonageCredentials?: {
21662
21745
  apiKey: string;
@@ -21694,15 +21777,16 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21694
21777
  additionalCredentials?: any;
21695
21778
  senderId?: string | undefined;
21696
21779
  whatsapp?: {
21697
- email: string;
21698
- wabaExternalId: string;
21699
- phoneNumberId: string;
21700
- wabaBusinessId?: string | undefined;
21701
- clientId?: string | undefined;
21702
- channelId?: string | undefined;
21780
+ wabaBusinessId?: string | null | undefined;
21781
+ wabaExternalId?: string | null | undefined;
21782
+ phoneNumberId?: string | null | undefined;
21783
+ email?: string | null | undefined;
21784
+ clientId?: string | null | undefined;
21785
+ channelId?: string | null | undefined;
21703
21786
  status?: "active" | "pending" | undefined;
21704
21787
  apiKey?: string | undefined;
21705
21788
  tier?: "basic" | "regular" | "premium" | undefined;
21789
+ integrationType?: "meta" | "360dialog" | undefined;
21706
21790
  } | undefined;
21707
21791
  vonageCredentials?: {
21708
21792
  apiKey: string;
@@ -23113,35 +23197,38 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23113
23197
  additionalCredentials: z.ZodOptional<z.ZodAny>;
23114
23198
  senderId: z.ZodOptional<z.ZodString>;
23115
23199
  whatsapp: z.ZodOptional<z.ZodObject<{
23116
- wabaBusinessId: z.ZodOptional<z.ZodString>;
23117
- wabaExternalId: z.ZodString;
23118
- phoneNumberId: z.ZodString;
23119
- email: z.ZodString;
23120
- clientId: z.ZodOptional<z.ZodString>;
23121
- channelId: z.ZodOptional<z.ZodString>;
23200
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23201
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23202
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23203
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23204
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23205
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23122
23206
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
23123
23207
  apiKey: z.ZodOptional<z.ZodString>;
23124
23208
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
23209
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
23125
23210
  }, "strip", z.ZodTypeAny, {
23126
- email: string;
23127
- wabaExternalId: string;
23128
- phoneNumberId: string;
23129
- wabaBusinessId?: string | undefined;
23130
- clientId?: string | undefined;
23131
- channelId?: string | undefined;
23211
+ wabaBusinessId?: string | null | undefined;
23212
+ wabaExternalId?: string | null | undefined;
23213
+ phoneNumberId?: string | null | undefined;
23214
+ email?: string | null | undefined;
23215
+ clientId?: string | null | undefined;
23216
+ channelId?: string | null | undefined;
23132
23217
  status?: "active" | "pending" | undefined;
23133
23218
  apiKey?: string | undefined;
23134
23219
  tier?: "basic" | "regular" | "premium" | undefined;
23220
+ integrationType?: "meta" | "360dialog" | undefined;
23135
23221
  }, {
23136
- email: string;
23137
- wabaExternalId: string;
23138
- phoneNumberId: string;
23139
- wabaBusinessId?: string | undefined;
23140
- clientId?: string | undefined;
23141
- channelId?: string | undefined;
23222
+ wabaBusinessId?: string | null | undefined;
23223
+ wabaExternalId?: string | null | undefined;
23224
+ phoneNumberId?: string | null | undefined;
23225
+ email?: string | null | undefined;
23226
+ clientId?: string | null | undefined;
23227
+ channelId?: string | null | undefined;
23142
23228
  status?: "active" | "pending" | undefined;
23143
23229
  apiKey?: string | undefined;
23144
23230
  tier?: "basic" | "regular" | "premium" | undefined;
23231
+ integrationType?: "meta" | "360dialog" | undefined;
23145
23232
  }>>;
23146
23233
  vonageCredentials: z.ZodOptional<z.ZodObject<{
23147
23234
  mobileNumber: z.ZodString;
@@ -23166,15 +23253,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23166
23253
  additionalCredentials?: any;
23167
23254
  senderId?: string | undefined;
23168
23255
  whatsapp?: {
23169
- email: string;
23170
- wabaExternalId: string;
23171
- phoneNumberId: string;
23172
- wabaBusinessId?: string | undefined;
23173
- clientId?: string | undefined;
23174
- channelId?: string | undefined;
23256
+ wabaBusinessId?: string | null | undefined;
23257
+ wabaExternalId?: string | null | undefined;
23258
+ phoneNumberId?: string | null | undefined;
23259
+ email?: string | null | undefined;
23260
+ clientId?: string | null | undefined;
23261
+ channelId?: string | null | undefined;
23175
23262
  status?: "active" | "pending" | undefined;
23176
23263
  apiKey?: string | undefined;
23177
23264
  tier?: "basic" | "regular" | "premium" | undefined;
23265
+ integrationType?: "meta" | "360dialog" | undefined;
23178
23266
  } | undefined;
23179
23267
  vonageCredentials?: {
23180
23268
  apiKey: string;
@@ -23191,15 +23279,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23191
23279
  additionalCredentials?: any;
23192
23280
  senderId?: string | undefined;
23193
23281
  whatsapp?: {
23194
- email: string;
23195
- wabaExternalId: string;
23196
- phoneNumberId: string;
23197
- wabaBusinessId?: string | undefined;
23198
- clientId?: string | undefined;
23199
- channelId?: string | undefined;
23282
+ wabaBusinessId?: string | null | undefined;
23283
+ wabaExternalId?: string | null | undefined;
23284
+ phoneNumberId?: string | null | undefined;
23285
+ email?: string | null | undefined;
23286
+ clientId?: string | null | undefined;
23287
+ channelId?: string | null | undefined;
23200
23288
  status?: "active" | "pending" | undefined;
23201
23289
  apiKey?: string | undefined;
23202
23290
  tier?: "basic" | "regular" | "premium" | undefined;
23291
+ integrationType?: "meta" | "360dialog" | undefined;
23203
23292
  } | undefined;
23204
23293
  vonageCredentials?: {
23205
23294
  apiKey: string;
@@ -23246,15 +23335,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23246
23335
  additionalCredentials?: any;
23247
23336
  senderId?: string | undefined;
23248
23337
  whatsapp?: {
23249
- email: string;
23250
- wabaExternalId: string;
23251
- phoneNumberId: string;
23252
- wabaBusinessId?: string | undefined;
23253
- clientId?: string | undefined;
23254
- channelId?: string | undefined;
23338
+ wabaBusinessId?: string | null | undefined;
23339
+ wabaExternalId?: string | null | undefined;
23340
+ phoneNumberId?: string | null | undefined;
23341
+ email?: string | null | undefined;
23342
+ clientId?: string | null | undefined;
23343
+ channelId?: string | null | undefined;
23255
23344
  status?: "active" | "pending" | undefined;
23256
23345
  apiKey?: string | undefined;
23257
23346
  tier?: "basic" | "regular" | "premium" | undefined;
23347
+ integrationType?: "meta" | "360dialog" | undefined;
23258
23348
  } | undefined;
23259
23349
  vonageCredentials?: {
23260
23350
  apiKey: string;
@@ -23289,15 +23379,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23289
23379
  additionalCredentials?: any;
23290
23380
  senderId?: string | undefined;
23291
23381
  whatsapp?: {
23292
- email: string;
23293
- wabaExternalId: string;
23294
- phoneNumberId: string;
23295
- wabaBusinessId?: string | undefined;
23296
- clientId?: string | undefined;
23297
- channelId?: string | undefined;
23382
+ wabaBusinessId?: string | null | undefined;
23383
+ wabaExternalId?: string | null | undefined;
23384
+ phoneNumberId?: string | null | undefined;
23385
+ email?: string | null | undefined;
23386
+ clientId?: string | null | undefined;
23387
+ channelId?: string | null | undefined;
23298
23388
  status?: "active" | "pending" | undefined;
23299
23389
  apiKey?: string | undefined;
23300
23390
  tier?: "basic" | "regular" | "premium" | undefined;
23391
+ integrationType?: "meta" | "360dialog" | undefined;
23301
23392
  } | undefined;
23302
23393
  vonageCredentials?: {
23303
23394
  apiKey: string;
@@ -24081,15 +24172,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24081
24172
  additionalCredentials?: any;
24082
24173
  senderId?: string | undefined;
24083
24174
  whatsapp?: {
24084
- email: string;
24085
- wabaExternalId: string;
24086
- phoneNumberId: string;
24087
- wabaBusinessId?: string | undefined;
24088
- clientId?: string | undefined;
24089
- channelId?: string | undefined;
24175
+ wabaBusinessId?: string | null | undefined;
24176
+ wabaExternalId?: string | null | undefined;
24177
+ phoneNumberId?: string | null | undefined;
24178
+ email?: string | null | undefined;
24179
+ clientId?: string | null | undefined;
24180
+ channelId?: string | null | undefined;
24090
24181
  status?: "active" | "pending" | undefined;
24091
24182
  apiKey?: string | undefined;
24092
24183
  tier?: "basic" | "regular" | "premium" | undefined;
24184
+ integrationType?: "meta" | "360dialog" | undefined;
24093
24185
  } | undefined;
24094
24186
  vonageCredentials?: {
24095
24187
  apiKey: string;
@@ -24429,15 +24521,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24429
24521
  additionalCredentials?: any;
24430
24522
  senderId?: string | undefined;
24431
24523
  whatsapp?: {
24432
- email: string;
24433
- wabaExternalId: string;
24434
- phoneNumberId: string;
24435
- wabaBusinessId?: string | undefined;
24436
- clientId?: string | undefined;
24437
- channelId?: string | undefined;
24524
+ wabaBusinessId?: string | null | undefined;
24525
+ wabaExternalId?: string | null | undefined;
24526
+ phoneNumberId?: string | null | undefined;
24527
+ email?: string | null | undefined;
24528
+ clientId?: string | null | undefined;
24529
+ channelId?: string | null | undefined;
24438
24530
  status?: "active" | "pending" | undefined;
24439
24531
  apiKey?: string | undefined;
24440
24532
  tier?: "basic" | "regular" | "premium" | undefined;
24533
+ integrationType?: "meta" | "360dialog" | undefined;
24441
24534
  } | undefined;
24442
24535
  vonageCredentials?: {
24443
24536
  apiKey: string;
@@ -25433,15 +25526,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25433
25526
  additionalCredentials?: any;
25434
25527
  senderId?: string | undefined;
25435
25528
  whatsapp?: {
25436
- email: string;
25437
- wabaExternalId: string;
25438
- phoneNumberId: string;
25439
- wabaBusinessId?: string | undefined;
25440
- clientId?: string | undefined;
25441
- channelId?: string | undefined;
25529
+ wabaBusinessId?: string | null | undefined;
25530
+ wabaExternalId?: string | null | undefined;
25531
+ phoneNumberId?: string | null | undefined;
25532
+ email?: string | null | undefined;
25533
+ clientId?: string | null | undefined;
25534
+ channelId?: string | null | undefined;
25442
25535
  status?: "active" | "pending" | undefined;
25443
25536
  apiKey?: string | undefined;
25444
25537
  tier?: "basic" | "regular" | "premium" | undefined;
25538
+ integrationType?: "meta" | "360dialog" | undefined;
25445
25539
  } | undefined;
25446
25540
  vonageCredentials?: {
25447
25541
  apiKey: string;
@@ -25944,15 +26038,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25944
26038
  additionalCredentials?: any;
25945
26039
  senderId?: string | undefined;
25946
26040
  whatsapp?: {
25947
- email: string;
25948
- wabaExternalId: string;
25949
- phoneNumberId: string;
25950
- wabaBusinessId?: string | undefined;
25951
- clientId?: string | undefined;
25952
- channelId?: string | undefined;
26041
+ wabaBusinessId?: string | null | undefined;
26042
+ wabaExternalId?: string | null | undefined;
26043
+ phoneNumberId?: string | null | undefined;
26044
+ email?: string | null | undefined;
26045
+ clientId?: string | null | undefined;
26046
+ channelId?: string | null | undefined;
25953
26047
  status?: "active" | "pending" | undefined;
25954
26048
  apiKey?: string | undefined;
25955
26049
  tier?: "basic" | "regular" | "premium" | undefined;
26050
+ integrationType?: "meta" | "360dialog" | undefined;
25956
26051
  } | undefined;
25957
26052
  vonageCredentials?: {
25958
26053
  apiKey: string;
@@ -26457,15 +26552,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26457
26552
  additionalCredentials?: any;
26458
26553
  senderId?: string | undefined;
26459
26554
  whatsapp?: {
26460
- email: string;
26461
- wabaExternalId: string;
26462
- phoneNumberId: string;
26463
- wabaBusinessId?: string | undefined;
26464
- clientId?: string | undefined;
26465
- channelId?: string | undefined;
26555
+ wabaBusinessId?: string | null | undefined;
26556
+ wabaExternalId?: string | null | undefined;
26557
+ phoneNumberId?: string | null | undefined;
26558
+ email?: string | null | undefined;
26559
+ clientId?: string | null | undefined;
26560
+ channelId?: string | null | undefined;
26466
26561
  status?: "active" | "pending" | undefined;
26467
26562
  apiKey?: string | undefined;
26468
26563
  tier?: "basic" | "regular" | "premium" | undefined;
26564
+ integrationType?: "meta" | "360dialog" | undefined;
26469
26565
  } | undefined;
26470
26566
  vonageCredentials?: {
26471
26567
  apiKey: string;
@@ -26970,15 +27066,16 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26970
27066
  additionalCredentials?: any;
26971
27067
  senderId?: string | undefined;
26972
27068
  whatsapp?: {
26973
- email: string;
26974
- wabaExternalId: string;
26975
- phoneNumberId: string;
26976
- wabaBusinessId?: string | undefined;
26977
- clientId?: string | undefined;
26978
- channelId?: string | undefined;
27069
+ wabaBusinessId?: string | null | undefined;
27070
+ wabaExternalId?: string | null | undefined;
27071
+ phoneNumberId?: string | null | undefined;
27072
+ email?: string | null | undefined;
27073
+ clientId?: string | null | undefined;
27074
+ channelId?: string | null | undefined;
26979
27075
  status?: "active" | "pending" | undefined;
26980
27076
  apiKey?: string | undefined;
26981
27077
  tier?: "basic" | "regular" | "premium" | undefined;
27078
+ integrationType?: "meta" | "360dialog" | undefined;
26982
27079
  } | undefined;
26983
27080
  vonageCredentials?: {
26984
27081
  apiKey: string;