@kl1/contracts 1.1.53 → 1.1.54

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 (58) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2772 -197
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +126 -10
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +240 -10
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +24249 -21551
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +753 -105
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1096 -144
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +35856 -4586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +140 -12
  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 +118 -10
  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 +1475 -163
  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 +99 -11
  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 +74 -6
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +1155 -127
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +1034 -122
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +123 -15
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/mail/mail-contract.d.ts +6 -6
  32. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  33. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  34. package/dist/api-contracts/src/messenger/index.d.ts +1155 -127
  35. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/messenger/validation.d.ts +74 -6
  37. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/sms/index.d.ts +225 -29
  39. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/sms/schema.d.ts +6 -6
  41. package/dist/api-contracts/src/sms/validation.d.ts +4 -4
  42. package/dist/api-contracts/src/telegram/index.d.ts +837 -101
  43. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/viber/index.d.ts +837 -101
  45. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/webchat/index.d.ts +549 -77
  47. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/whatsapp/index.d.ts +637 -642
  49. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/workflow-rule/index.d.ts +236 -20
  51. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  52. package/dist/entities/src/enums/chat.d.ts +1 -0
  53. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  54. package/dist/index.js +2394 -2240
  55. package/dist/index.js.map +1 -1
  56. package/dist/index.mjs +2392 -2240
  57. package/dist/index.mjs.map +1 -1
  58. package/package.json +1 -1
@@ -261,7 +261,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
261
261
  }>;
262
262
  export declare const SendMessageSchema: z.ZodObject<{
263
263
  roomId: z.ZodString;
264
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
264
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
265
265
  message: z.ZodOptional<z.ZodString>;
266
266
  messageAttachments: z.ZodOptional<z.ZodObject<{
267
267
  bucketName: z.ZodString;
@@ -520,7 +520,7 @@ export declare const SendMessageSchema: z.ZodObject<{
520
520
  mentions?: string[] | undefined;
521
521
  }>>;
522
522
  }, "strip", z.ZodTypeAny, {
523
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
523
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
524
524
  roomId: string;
525
525
  message?: string | undefined;
526
526
  messageAttachments?: {
@@ -592,7 +592,7 @@ export declare const SendMessageSchema: z.ZodObject<{
592
592
  mentions?: string[] | undefined;
593
593
  } | undefined;
594
594
  }, {
595
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
595
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
596
596
  roomId: string;
597
597
  message?: string | undefined;
598
598
  messageAttachments?: {
@@ -670,17 +670,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
670
670
  contactId: z.ZodOptional<z.ZodString>;
671
671
  message: z.ZodObject<{
672
672
  message: z.ZodOptional<z.ZodString>;
673
- messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
673
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
674
674
  }, "strip", z.ZodTypeAny, {
675
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
675
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
676
676
  message?: string | undefined;
677
677
  }, {
678
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
678
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
679
679
  message?: string | undefined;
680
680
  }>;
681
681
  }, "strip", z.ZodTypeAny, {
682
682
  message: {
683
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
683
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
684
684
  message?: string | undefined;
685
685
  };
686
686
  channelId: string;
@@ -688,7 +688,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
688
688
  contactId?: string | undefined;
689
689
  }, {
690
690
  message: {
691
- messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
691
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
692
692
  message?: string | undefined;
693
693
  };
694
694
  channelId: string;
@@ -771,17 +771,45 @@ export declare const ChannelSchema: z.ZodObject<{
771
771
  channelSecret: z.ZodOptional<z.ZodString>;
772
772
  additionalCredentials: z.ZodOptional<z.ZodAny>;
773
773
  senderId: z.ZodOptional<z.ZodString>;
774
+ whatsapp: z.ZodOptional<z.ZodObject<{
775
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
776
+ wabaExternalId: z.ZodString;
777
+ phoneNumberId: z.ZodString;
778
+ email: z.ZodString;
779
+ clientId: z.ZodOptional<z.ZodString>;
780
+ channelId: z.ZodOptional<z.ZodString>;
781
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
782
+ apiKey: z.ZodOptional<z.ZodString>;
783
+ }, "strip", z.ZodTypeAny, {
784
+ email: string;
785
+ wabaExternalId: string;
786
+ phoneNumberId: string;
787
+ wabaBusinessId?: string | undefined;
788
+ clientId?: string | undefined;
789
+ channelId?: string | undefined;
790
+ status?: "active" | "pending" | undefined;
791
+ apiKey?: string | undefined;
792
+ }, {
793
+ email: string;
794
+ wabaExternalId: string;
795
+ phoneNumberId: string;
796
+ wabaBusinessId?: string | undefined;
797
+ clientId?: string | undefined;
798
+ channelId?: string | undefined;
799
+ status?: "active" | "pending" | undefined;
800
+ apiKey?: string | undefined;
801
+ }>>;
774
802
  vonageCredentials: z.ZodOptional<z.ZodObject<{
775
803
  mobileNumber: z.ZodString;
776
804
  apiKey: z.ZodString;
777
805
  apiSecret: z.ZodString;
778
806
  }, "strip", z.ZodTypeAny, {
779
- mobileNumber: string;
780
807
  apiKey: string;
808
+ mobileNumber: string;
781
809
  apiSecret: string;
782
810
  }, {
783
- mobileNumber: string;
784
811
  apiKey: string;
812
+ mobileNumber: string;
785
813
  apiSecret: string;
786
814
  }>>;
787
815
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -793,9 +821,19 @@ export declare const ChannelSchema: z.ZodObject<{
793
821
  channelSecret?: string | undefined;
794
822
  additionalCredentials?: any;
795
823
  senderId?: string | undefined;
824
+ whatsapp?: {
825
+ email: string;
826
+ wabaExternalId: string;
827
+ phoneNumberId: string;
828
+ wabaBusinessId?: string | undefined;
829
+ clientId?: string | undefined;
830
+ channelId?: string | undefined;
831
+ status?: "active" | "pending" | undefined;
832
+ apiKey?: string | undefined;
833
+ } | undefined;
796
834
  vonageCredentials?: {
797
- mobileNumber: string;
798
835
  apiKey: string;
836
+ mobileNumber: string;
799
837
  apiSecret: string;
800
838
  } | undefined;
801
839
  lineRichMenuId?: string | null | undefined;
@@ -807,9 +845,19 @@ export declare const ChannelSchema: z.ZodObject<{
807
845
  channelSecret?: string | undefined;
808
846
  additionalCredentials?: any;
809
847
  senderId?: string | undefined;
848
+ whatsapp?: {
849
+ email: string;
850
+ wabaExternalId: string;
851
+ phoneNumberId: string;
852
+ wabaBusinessId?: string | undefined;
853
+ clientId?: string | undefined;
854
+ channelId?: string | undefined;
855
+ status?: "active" | "pending" | undefined;
856
+ apiKey?: string | undefined;
857
+ } | undefined;
810
858
  vonageCredentials?: {
811
- mobileNumber: string;
812
859
  apiKey: string;
860
+ mobileNumber: string;
813
861
  apiSecret: string;
814
862
  } | undefined;
815
863
  lineRichMenuId?: string | null | undefined;
@@ -851,9 +899,19 @@ export declare const ChannelSchema: z.ZodObject<{
851
899
  channelSecret?: string | undefined;
852
900
  additionalCredentials?: any;
853
901
  senderId?: string | undefined;
902
+ whatsapp?: {
903
+ email: string;
904
+ wabaExternalId: string;
905
+ phoneNumberId: string;
906
+ wabaBusinessId?: string | undefined;
907
+ clientId?: string | undefined;
908
+ channelId?: string | undefined;
909
+ status?: "active" | "pending" | undefined;
910
+ apiKey?: string | undefined;
911
+ } | undefined;
854
912
  vonageCredentials?: {
855
- mobileNumber: string;
856
913
  apiKey: string;
914
+ mobileNumber: string;
857
915
  apiSecret: string;
858
916
  } | undefined;
859
917
  lineRichMenuId?: string | null | undefined;
@@ -883,9 +941,19 @@ export declare const ChannelSchema: z.ZodObject<{
883
941
  channelSecret?: string | undefined;
884
942
  additionalCredentials?: any;
885
943
  senderId?: string | undefined;
944
+ whatsapp?: {
945
+ email: string;
946
+ wabaExternalId: string;
947
+ phoneNumberId: string;
948
+ wabaBusinessId?: string | undefined;
949
+ clientId?: string | undefined;
950
+ channelId?: string | undefined;
951
+ status?: "active" | "pending" | undefined;
952
+ apiKey?: string | undefined;
953
+ } | undefined;
886
954
  vonageCredentials?: {
887
- mobileNumber: string;
888
955
  apiKey: string;
956
+ mobileNumber: string;
889
957
  apiSecret: string;
890
958
  } | undefined;
891
959
  lineRichMenuId?: string | null | undefined;
@@ -915,17 +983,45 @@ export declare const ReloginChanelSchema: z.ZodObject<{
915
983
  channelSecret: z.ZodOptional<z.ZodString>;
916
984
  additionalCredentials: z.ZodOptional<z.ZodAny>;
917
985
  senderId: z.ZodOptional<z.ZodString>;
986
+ whatsapp: z.ZodOptional<z.ZodObject<{
987
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
988
+ wabaExternalId: z.ZodString;
989
+ phoneNumberId: z.ZodString;
990
+ email: z.ZodString;
991
+ clientId: z.ZodOptional<z.ZodString>;
992
+ channelId: z.ZodOptional<z.ZodString>;
993
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
994
+ apiKey: z.ZodOptional<z.ZodString>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ email: string;
997
+ wabaExternalId: string;
998
+ phoneNumberId: string;
999
+ wabaBusinessId?: string | undefined;
1000
+ clientId?: string | undefined;
1001
+ channelId?: string | undefined;
1002
+ status?: "active" | "pending" | undefined;
1003
+ apiKey?: string | undefined;
1004
+ }, {
1005
+ email: string;
1006
+ wabaExternalId: string;
1007
+ phoneNumberId: string;
1008
+ wabaBusinessId?: string | undefined;
1009
+ clientId?: string | undefined;
1010
+ channelId?: string | undefined;
1011
+ status?: "active" | "pending" | undefined;
1012
+ apiKey?: string | undefined;
1013
+ }>>;
918
1014
  vonageCredentials: z.ZodOptional<z.ZodObject<{
919
1015
  mobileNumber: z.ZodString;
920
1016
  apiKey: z.ZodString;
921
1017
  apiSecret: z.ZodString;
922
1018
  }, "strip", z.ZodTypeAny, {
923
- mobileNumber: string;
924
1019
  apiKey: string;
1020
+ mobileNumber: string;
925
1021
  apiSecret: string;
926
1022
  }, {
927
- mobileNumber: string;
928
1023
  apiKey: string;
1024
+ mobileNumber: string;
929
1025
  apiSecret: string;
930
1026
  }>>;
931
1027
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -937,9 +1033,19 @@ export declare const ReloginChanelSchema: z.ZodObject<{
937
1033
  channelSecret?: string | undefined;
938
1034
  additionalCredentials?: any;
939
1035
  senderId?: string | undefined;
1036
+ whatsapp?: {
1037
+ email: string;
1038
+ wabaExternalId: string;
1039
+ phoneNumberId: string;
1040
+ wabaBusinessId?: string | undefined;
1041
+ clientId?: string | undefined;
1042
+ channelId?: string | undefined;
1043
+ status?: "active" | "pending" | undefined;
1044
+ apiKey?: string | undefined;
1045
+ } | undefined;
940
1046
  vonageCredentials?: {
941
- mobileNumber: string;
942
1047
  apiKey: string;
1048
+ mobileNumber: string;
943
1049
  apiSecret: string;
944
1050
  } | undefined;
945
1051
  lineRichMenuId?: string | null | undefined;
@@ -951,9 +1057,19 @@ export declare const ReloginChanelSchema: z.ZodObject<{
951
1057
  channelSecret?: string | undefined;
952
1058
  additionalCredentials?: any;
953
1059
  senderId?: string | undefined;
1060
+ whatsapp?: {
1061
+ email: string;
1062
+ wabaExternalId: string;
1063
+ phoneNumberId: string;
1064
+ wabaBusinessId?: string | undefined;
1065
+ clientId?: string | undefined;
1066
+ channelId?: string | undefined;
1067
+ status?: "active" | "pending" | undefined;
1068
+ apiKey?: string | undefined;
1069
+ } | undefined;
954
1070
  vonageCredentials?: {
955
- mobileNumber: string;
956
1071
  apiKey: string;
1072
+ mobileNumber: string;
957
1073
  apiSecret: string;
958
1074
  } | undefined;
959
1075
  lineRichMenuId?: string | null | undefined;
@@ -1000,9 +1116,19 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1000
1116
  channelSecret?: string | undefined;
1001
1117
  additionalCredentials?: any;
1002
1118
  senderId?: string | undefined;
1119
+ whatsapp?: {
1120
+ email: string;
1121
+ wabaExternalId: string;
1122
+ phoneNumberId: string;
1123
+ wabaBusinessId?: string | undefined;
1124
+ clientId?: string | undefined;
1125
+ channelId?: string | undefined;
1126
+ status?: "active" | "pending" | undefined;
1127
+ apiKey?: string | undefined;
1128
+ } | undefined;
1003
1129
  vonageCredentials?: {
1004
- mobileNumber: string;
1005
1130
  apiKey: string;
1131
+ mobileNumber: string;
1006
1132
  apiSecret: string;
1007
1133
  } | undefined;
1008
1134
  lineRichMenuId?: string | null | undefined;
@@ -1036,9 +1162,19 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1036
1162
  channelSecret?: string | undefined;
1037
1163
  additionalCredentials?: any;
1038
1164
  senderId?: string | undefined;
1165
+ whatsapp?: {
1166
+ email: string;
1167
+ wabaExternalId: string;
1168
+ phoneNumberId: string;
1169
+ wabaBusinessId?: string | undefined;
1170
+ clientId?: string | undefined;
1171
+ channelId?: string | undefined;
1172
+ status?: "active" | "pending" | undefined;
1173
+ apiKey?: string | undefined;
1174
+ } | undefined;
1039
1175
  vonageCredentials?: {
1040
- mobileNumber: string;
1041
1176
  apiKey: string;
1177
+ mobileNumber: string;
1042
1178
  apiSecret: string;
1043
1179
  } | undefined;
1044
1180
  lineRichMenuId?: string | null | undefined;
@@ -1076,17 +1212,45 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1076
1212
  channelSecret: z.ZodOptional<z.ZodString>;
1077
1213
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1078
1214
  senderId: z.ZodOptional<z.ZodString>;
1215
+ whatsapp: z.ZodOptional<z.ZodObject<{
1216
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1217
+ wabaExternalId: z.ZodString;
1218
+ phoneNumberId: z.ZodString;
1219
+ email: z.ZodString;
1220
+ clientId: z.ZodOptional<z.ZodString>;
1221
+ channelId: z.ZodOptional<z.ZodString>;
1222
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1223
+ apiKey: z.ZodOptional<z.ZodString>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ email: string;
1226
+ wabaExternalId: string;
1227
+ phoneNumberId: string;
1228
+ wabaBusinessId?: string | undefined;
1229
+ clientId?: string | undefined;
1230
+ channelId?: string | undefined;
1231
+ status?: "active" | "pending" | undefined;
1232
+ apiKey?: string | undefined;
1233
+ }, {
1234
+ email: string;
1235
+ wabaExternalId: string;
1236
+ phoneNumberId: string;
1237
+ wabaBusinessId?: string | undefined;
1238
+ clientId?: string | undefined;
1239
+ channelId?: string | undefined;
1240
+ status?: "active" | "pending" | undefined;
1241
+ apiKey?: string | undefined;
1242
+ }>>;
1079
1243
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1080
1244
  mobileNumber: z.ZodString;
1081
1245
  apiKey: z.ZodString;
1082
1246
  apiSecret: z.ZodString;
1083
1247
  }, "strip", z.ZodTypeAny, {
1084
- mobileNumber: string;
1085
1248
  apiKey: string;
1249
+ mobileNumber: string;
1086
1250
  apiSecret: string;
1087
1251
  }, {
1088
- mobileNumber: string;
1089
1252
  apiKey: string;
1253
+ mobileNumber: string;
1090
1254
  apiSecret: string;
1091
1255
  }>>;
1092
1256
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1098,9 +1262,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1098
1262
  channelSecret?: string | undefined;
1099
1263
  additionalCredentials?: any;
1100
1264
  senderId?: string | undefined;
1265
+ whatsapp?: {
1266
+ email: string;
1267
+ wabaExternalId: string;
1268
+ phoneNumberId: string;
1269
+ wabaBusinessId?: string | undefined;
1270
+ clientId?: string | undefined;
1271
+ channelId?: string | undefined;
1272
+ status?: "active" | "pending" | undefined;
1273
+ apiKey?: string | undefined;
1274
+ } | undefined;
1101
1275
  vonageCredentials?: {
1102
- mobileNumber: string;
1103
1276
  apiKey: string;
1277
+ mobileNumber: string;
1104
1278
  apiSecret: string;
1105
1279
  } | undefined;
1106
1280
  lineRichMenuId?: string | null | undefined;
@@ -1112,9 +1286,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1112
1286
  channelSecret?: string | undefined;
1113
1287
  additionalCredentials?: any;
1114
1288
  senderId?: string | undefined;
1289
+ whatsapp?: {
1290
+ email: string;
1291
+ wabaExternalId: string;
1292
+ phoneNumberId: string;
1293
+ wabaBusinessId?: string | undefined;
1294
+ clientId?: string | undefined;
1295
+ channelId?: string | undefined;
1296
+ status?: "active" | "pending" | undefined;
1297
+ apiKey?: string | undefined;
1298
+ } | undefined;
1115
1299
  vonageCredentials?: {
1116
- mobileNumber: string;
1117
1300
  apiKey: string;
1301
+ mobileNumber: string;
1118
1302
  apiSecret: string;
1119
1303
  } | undefined;
1120
1304
  lineRichMenuId?: string | null | undefined;
@@ -1156,9 +1340,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1156
1340
  channelSecret?: string | undefined;
1157
1341
  additionalCredentials?: any;
1158
1342
  senderId?: string | undefined;
1343
+ whatsapp?: {
1344
+ email: string;
1345
+ wabaExternalId: string;
1346
+ phoneNumberId: string;
1347
+ wabaBusinessId?: string | undefined;
1348
+ clientId?: string | undefined;
1349
+ channelId?: string | undefined;
1350
+ status?: "active" | "pending" | undefined;
1351
+ apiKey?: string | undefined;
1352
+ } | undefined;
1159
1353
  vonageCredentials?: {
1160
- mobileNumber: string;
1161
1354
  apiKey: string;
1355
+ mobileNumber: string;
1162
1356
  apiSecret: string;
1163
1357
  } | undefined;
1164
1358
  lineRichMenuId?: string | null | undefined;
@@ -1188,9 +1382,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1188
1382
  channelSecret?: string | undefined;
1189
1383
  additionalCredentials?: any;
1190
1384
  senderId?: string | undefined;
1385
+ whatsapp?: {
1386
+ email: string;
1387
+ wabaExternalId: string;
1388
+ phoneNumberId: string;
1389
+ wabaBusinessId?: string | undefined;
1390
+ clientId?: string | undefined;
1391
+ channelId?: string | undefined;
1392
+ status?: "active" | "pending" | undefined;
1393
+ apiKey?: string | undefined;
1394
+ } | undefined;
1191
1395
  vonageCredentials?: {
1192
- mobileNumber: string;
1193
1396
  apiKey: string;
1397
+ mobileNumber: string;
1194
1398
  apiSecret: string;
1195
1399
  } | undefined;
1196
1400
  lineRichMenuId?: string | null | undefined;
@@ -1223,9 +1427,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1223
1427
  channelSecret?: string | undefined;
1224
1428
  additionalCredentials?: any;
1225
1429
  senderId?: string | undefined;
1430
+ whatsapp?: {
1431
+ email: string;
1432
+ wabaExternalId: string;
1433
+ phoneNumberId: string;
1434
+ wabaBusinessId?: string | undefined;
1435
+ clientId?: string | undefined;
1436
+ channelId?: string | undefined;
1437
+ status?: "active" | "pending" | undefined;
1438
+ apiKey?: string | undefined;
1439
+ } | undefined;
1226
1440
  vonageCredentials?: {
1227
- mobileNumber: string;
1228
1441
  apiKey: string;
1442
+ mobileNumber: string;
1229
1443
  apiSecret: string;
1230
1444
  } | undefined;
1231
1445
  lineRichMenuId?: string | null | undefined;
@@ -1258,9 +1472,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1258
1472
  channelSecret?: string | undefined;
1259
1473
  additionalCredentials?: any;
1260
1474
  senderId?: string | undefined;
1475
+ whatsapp?: {
1476
+ email: string;
1477
+ wabaExternalId: string;
1478
+ phoneNumberId: string;
1479
+ wabaBusinessId?: string | undefined;
1480
+ clientId?: string | undefined;
1481
+ channelId?: string | undefined;
1482
+ status?: "active" | "pending" | undefined;
1483
+ apiKey?: string | undefined;
1484
+ } | undefined;
1261
1485
  vonageCredentials?: {
1262
- mobileNumber: string;
1263
1486
  apiKey: string;
1487
+ mobileNumber: string;
1264
1488
  apiSecret: string;
1265
1489
  } | undefined;
1266
1490
  lineRichMenuId?: string | null | undefined;
@@ -1285,7 +1509,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1285
1509
  id: z.ZodOptional<z.ZodString>;
1286
1510
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1287
1511
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1288
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1512
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1289
1513
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1290
1514
  metadata: z.ZodOptional<z.ZodAny>;
1291
1515
  platformId: z.ZodOptional<z.ZodString>;
@@ -1337,7 +1561,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1337
1561
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1338
1562
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1339
1563
  }, "strip", z.ZodTypeAny, {
1340
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1564
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1341
1565
  direction: "incoming" | "outgoing" | "system";
1342
1566
  id?: string | undefined;
1343
1567
  message?: string | null | undefined;
@@ -1368,7 +1592,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1368
1592
  parentMessageId?: string | null | undefined;
1369
1593
  feedPostId?: string | null | undefined;
1370
1594
  }, {
1371
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1595
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1372
1596
  direction: "incoming" | "outgoing" | "system";
1373
1597
  id?: string | undefined;
1374
1598
  message?: string | null | undefined;
@@ -1401,7 +1625,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1401
1625
  }>;
1402
1626
  }, "strip", z.ZodTypeAny, {
1403
1627
  message: {
1404
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1628
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1405
1629
  direction: "incoming" | "outgoing" | "system";
1406
1630
  id?: string | undefined;
1407
1631
  message?: string | null | undefined;
@@ -1445,9 +1669,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1445
1669
  channelSecret?: string | undefined;
1446
1670
  additionalCredentials?: any;
1447
1671
  senderId?: string | undefined;
1672
+ whatsapp?: {
1673
+ email: string;
1674
+ wabaExternalId: string;
1675
+ phoneNumberId: string;
1676
+ wabaBusinessId?: string | undefined;
1677
+ clientId?: string | undefined;
1678
+ channelId?: string | undefined;
1679
+ status?: "active" | "pending" | undefined;
1680
+ apiKey?: string | undefined;
1681
+ } | undefined;
1448
1682
  vonageCredentials?: {
1449
- mobileNumber: string;
1450
1683
  apiKey: string;
1684
+ mobileNumber: string;
1451
1685
  apiSecret: string;
1452
1686
  } | undefined;
1453
1687
  lineRichMenuId?: string | null | undefined;
@@ -1470,7 +1704,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1470
1704
  };
1471
1705
  }, {
1472
1706
  message: {
1473
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1707
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
1474
1708
  direction: "incoming" | "outgoing" | "system";
1475
1709
  id?: string | undefined;
1476
1710
  message?: string | null | undefined;
@@ -1514,9 +1748,19 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1514
1748
  channelSecret?: string | undefined;
1515
1749
  additionalCredentials?: any;
1516
1750
  senderId?: string | undefined;
1751
+ whatsapp?: {
1752
+ email: string;
1753
+ wabaExternalId: string;
1754
+ phoneNumberId: string;
1755
+ wabaBusinessId?: string | undefined;
1756
+ clientId?: string | undefined;
1757
+ channelId?: string | undefined;
1758
+ status?: "active" | "pending" | undefined;
1759
+ apiKey?: string | undefined;
1760
+ } | undefined;
1517
1761
  vonageCredentials?: {
1518
- mobileNumber: string;
1519
1762
  apiKey: string;
1763
+ mobileNumber: string;
1520
1764
  apiSecret: string;
1521
1765
  } | undefined;
1522
1766
  lineRichMenuId?: string | null | undefined;
@@ -1674,17 +1918,45 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1674
1918
  channelSecret: z.ZodOptional<z.ZodString>;
1675
1919
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1676
1920
  senderId: z.ZodOptional<z.ZodString>;
1921
+ whatsapp: z.ZodOptional<z.ZodObject<{
1922
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
1923
+ wabaExternalId: z.ZodString;
1924
+ phoneNumberId: z.ZodString;
1925
+ email: z.ZodString;
1926
+ clientId: z.ZodOptional<z.ZodString>;
1927
+ channelId: z.ZodOptional<z.ZodString>;
1928
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1929
+ apiKey: z.ZodOptional<z.ZodString>;
1930
+ }, "strip", z.ZodTypeAny, {
1931
+ email: string;
1932
+ wabaExternalId: string;
1933
+ phoneNumberId: string;
1934
+ wabaBusinessId?: string | undefined;
1935
+ clientId?: string | undefined;
1936
+ channelId?: string | undefined;
1937
+ status?: "active" | "pending" | undefined;
1938
+ apiKey?: string | undefined;
1939
+ }, {
1940
+ email: string;
1941
+ wabaExternalId: string;
1942
+ phoneNumberId: string;
1943
+ wabaBusinessId?: string | undefined;
1944
+ clientId?: string | undefined;
1945
+ channelId?: string | undefined;
1946
+ status?: "active" | "pending" | undefined;
1947
+ apiKey?: string | undefined;
1948
+ }>>;
1677
1949
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1678
1950
  mobileNumber: z.ZodString;
1679
1951
  apiKey: z.ZodString;
1680
1952
  apiSecret: z.ZodString;
1681
1953
  }, "strip", z.ZodTypeAny, {
1682
- mobileNumber: string;
1683
1954
  apiKey: string;
1955
+ mobileNumber: string;
1684
1956
  apiSecret: string;
1685
1957
  }, {
1686
- mobileNumber: string;
1687
1958
  apiKey: string;
1959
+ mobileNumber: string;
1688
1960
  apiSecret: string;
1689
1961
  }>>;
1690
1962
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1696,9 +1968,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1696
1968
  channelSecret?: string | undefined;
1697
1969
  additionalCredentials?: any;
1698
1970
  senderId?: string | undefined;
1971
+ whatsapp?: {
1972
+ email: string;
1973
+ wabaExternalId: string;
1974
+ phoneNumberId: string;
1975
+ wabaBusinessId?: string | undefined;
1976
+ clientId?: string | undefined;
1977
+ channelId?: string | undefined;
1978
+ status?: "active" | "pending" | undefined;
1979
+ apiKey?: string | undefined;
1980
+ } | undefined;
1699
1981
  vonageCredentials?: {
1700
- mobileNumber: string;
1701
1982
  apiKey: string;
1983
+ mobileNumber: string;
1702
1984
  apiSecret: string;
1703
1985
  } | undefined;
1704
1986
  lineRichMenuId?: string | null | undefined;
@@ -1710,9 +1992,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1710
1992
  channelSecret?: string | undefined;
1711
1993
  additionalCredentials?: any;
1712
1994
  senderId?: string | undefined;
1995
+ whatsapp?: {
1996
+ email: string;
1997
+ wabaExternalId: string;
1998
+ phoneNumberId: string;
1999
+ wabaBusinessId?: string | undefined;
2000
+ clientId?: string | undefined;
2001
+ channelId?: string | undefined;
2002
+ status?: "active" | "pending" | undefined;
2003
+ apiKey?: string | undefined;
2004
+ } | undefined;
1713
2005
  vonageCredentials?: {
1714
- mobileNumber: string;
1715
2006
  apiKey: string;
2007
+ mobileNumber: string;
1716
2008
  apiSecret: string;
1717
2009
  } | undefined;
1718
2010
  lineRichMenuId?: string | null | undefined;
@@ -1754,9 +2046,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1754
2046
  channelSecret?: string | undefined;
1755
2047
  additionalCredentials?: any;
1756
2048
  senderId?: string | undefined;
2049
+ whatsapp?: {
2050
+ email: string;
2051
+ wabaExternalId: string;
2052
+ phoneNumberId: string;
2053
+ wabaBusinessId?: string | undefined;
2054
+ clientId?: string | undefined;
2055
+ channelId?: string | undefined;
2056
+ status?: "active" | "pending" | undefined;
2057
+ apiKey?: string | undefined;
2058
+ } | undefined;
1757
2059
  vonageCredentials?: {
1758
- mobileNumber: string;
1759
2060
  apiKey: string;
2061
+ mobileNumber: string;
1760
2062
  apiSecret: string;
1761
2063
  } | undefined;
1762
2064
  lineRichMenuId?: string | null | undefined;
@@ -1786,9 +2088,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1786
2088
  channelSecret?: string | undefined;
1787
2089
  additionalCredentials?: any;
1788
2090
  senderId?: string | undefined;
2091
+ whatsapp?: {
2092
+ email: string;
2093
+ wabaExternalId: string;
2094
+ phoneNumberId: string;
2095
+ wabaBusinessId?: string | undefined;
2096
+ clientId?: string | undefined;
2097
+ channelId?: string | undefined;
2098
+ status?: "active" | "pending" | undefined;
2099
+ apiKey?: string | undefined;
2100
+ } | undefined;
1789
2101
  vonageCredentials?: {
1790
- mobileNumber: string;
1791
2102
  apiKey: string;
2103
+ mobileNumber: string;
1792
2104
  apiSecret: string;
1793
2105
  } | undefined;
1794
2106
  lineRichMenuId?: string | null | undefined;
@@ -1822,9 +2134,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1822
2134
  channelSecret?: string | undefined;
1823
2135
  additionalCredentials?: any;
1824
2136
  senderId?: string | undefined;
2137
+ whatsapp?: {
2138
+ email: string;
2139
+ wabaExternalId: string;
2140
+ phoneNumberId: string;
2141
+ wabaBusinessId?: string | undefined;
2142
+ clientId?: string | undefined;
2143
+ channelId?: string | undefined;
2144
+ status?: "active" | "pending" | undefined;
2145
+ apiKey?: string | undefined;
2146
+ } | undefined;
1825
2147
  vonageCredentials?: {
1826
- mobileNumber: string;
1827
2148
  apiKey: string;
2149
+ mobileNumber: string;
1828
2150
  apiSecret: string;
1829
2151
  } | undefined;
1830
2152
  lineRichMenuId?: string | null | undefined;
@@ -1897,9 +2219,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1897
2219
  channelSecret?: string | undefined;
1898
2220
  additionalCredentials?: any;
1899
2221
  senderId?: string | undefined;
2222
+ whatsapp?: {
2223
+ email: string;
2224
+ wabaExternalId: string;
2225
+ phoneNumberId: string;
2226
+ wabaBusinessId?: string | undefined;
2227
+ clientId?: string | undefined;
2228
+ channelId?: string | undefined;
2229
+ status?: "active" | "pending" | undefined;
2230
+ apiKey?: string | undefined;
2231
+ } | undefined;
1900
2232
  vonageCredentials?: {
1901
- mobileNumber: string;
1902
2233
  apiKey: string;
2234
+ mobileNumber: string;
1903
2235
  apiSecret: string;
1904
2236
  } | undefined;
1905
2237
  lineRichMenuId?: string | null | undefined;
@@ -1964,7 +2296,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1964
2296
  id: z.ZodOptional<z.ZodString>;
1965
2297
  message: z.ZodOptional<z.ZodString>;
1966
2298
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1967
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2299
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
1968
2300
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1969
2301
  metadata: z.ZodOptional<z.ZodAny>;
1970
2302
  platformId: z.ZodOptional<z.ZodString>;
@@ -2020,7 +2352,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2020
2352
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2021
2353
  label: z.ZodOptional<z.ZodString>;
2022
2354
  }, "strip", z.ZodTypeAny, {
2023
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2355
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2024
2356
  direction: "incoming" | "outgoing" | "system";
2025
2357
  id?: string | undefined;
2026
2358
  message?: string | undefined;
@@ -2055,7 +2387,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2055
2387
  editedAt?: string | Date | null | undefined;
2056
2388
  label?: string | undefined;
2057
2389
  }, {
2058
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2390
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2059
2391
  direction: "incoming" | "outgoing" | "system";
2060
2392
  id?: string | undefined;
2061
2393
  message?: string | undefined;
@@ -2092,7 +2424,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2092
2424
  }>;
2093
2425
  }, "strip", z.ZodTypeAny, {
2094
2426
  message: {
2095
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2427
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2096
2428
  direction: "incoming" | "outgoing" | "system";
2097
2429
  id?: string | undefined;
2098
2430
  message?: string | undefined;
@@ -2140,9 +2472,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2140
2472
  channelSecret?: string | undefined;
2141
2473
  additionalCredentials?: any;
2142
2474
  senderId?: string | undefined;
2475
+ whatsapp?: {
2476
+ email: string;
2477
+ wabaExternalId: string;
2478
+ phoneNumberId: string;
2479
+ wabaBusinessId?: string | undefined;
2480
+ clientId?: string | undefined;
2481
+ channelId?: string | undefined;
2482
+ status?: "active" | "pending" | undefined;
2483
+ apiKey?: string | undefined;
2484
+ } | undefined;
2143
2485
  vonageCredentials?: {
2144
- mobileNumber: string;
2145
2486
  apiKey: string;
2487
+ mobileNumber: string;
2146
2488
  apiSecret: string;
2147
2489
  } | undefined;
2148
2490
  lineRichMenuId?: string | null | undefined;
@@ -2206,7 +2548,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2206
2548
  isBot: boolean | null;
2207
2549
  }, {
2208
2550
  message: {
2209
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2551
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2210
2552
  direction: "incoming" | "outgoing" | "system";
2211
2553
  id?: string | undefined;
2212
2554
  message?: string | undefined;
@@ -2254,9 +2596,19 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2254
2596
  channelSecret?: string | undefined;
2255
2597
  additionalCredentials?: any;
2256
2598
  senderId?: string | undefined;
2599
+ whatsapp?: {
2600
+ email: string;
2601
+ wabaExternalId: string;
2602
+ phoneNumberId: string;
2603
+ wabaBusinessId?: string | undefined;
2604
+ clientId?: string | undefined;
2605
+ channelId?: string | undefined;
2606
+ status?: "active" | "pending" | undefined;
2607
+ apiKey?: string | undefined;
2608
+ } | undefined;
2257
2609
  vonageCredentials?: {
2258
- mobileNumber: string;
2259
2610
  apiKey: string;
2611
+ mobileNumber: string;
2260
2612
  apiSecret: string;
2261
2613
  } | undefined;
2262
2614
  lineRichMenuId?: string | null | undefined;
@@ -2324,7 +2676,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2324
2676
  id: z.ZodOptional<z.ZodString>;
2325
2677
  message: z.ZodOptional<z.ZodString>;
2326
2678
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2327
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2679
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
2328
2680
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2329
2681
  metadata: z.ZodOptional<z.ZodAny>;
2330
2682
  platformId: z.ZodOptional<z.ZodString>;
@@ -2380,7 +2732,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2380
2732
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2381
2733
  label: z.ZodOptional<z.ZodString>;
2382
2734
  }, "strip", z.ZodTypeAny, {
2383
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2735
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2384
2736
  direction: "incoming" | "outgoing" | "system";
2385
2737
  id?: string | undefined;
2386
2738
  message?: string | undefined;
@@ -2415,7 +2767,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2415
2767
  editedAt?: string | Date | null | undefined;
2416
2768
  label?: string | undefined;
2417
2769
  }, {
2418
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2770
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2419
2771
  direction: "incoming" | "outgoing" | "system";
2420
2772
  id?: string | undefined;
2421
2773
  message?: string | undefined;
@@ -2584,17 +2936,45 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2584
2936
  channelSecret: z.ZodOptional<z.ZodString>;
2585
2937
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2586
2938
  senderId: z.ZodOptional<z.ZodString>;
2939
+ whatsapp: z.ZodOptional<z.ZodObject<{
2940
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
2941
+ wabaExternalId: z.ZodString;
2942
+ phoneNumberId: z.ZodString;
2943
+ email: z.ZodString;
2944
+ clientId: z.ZodOptional<z.ZodString>;
2945
+ channelId: z.ZodOptional<z.ZodString>;
2946
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2947
+ apiKey: z.ZodOptional<z.ZodString>;
2948
+ }, "strip", z.ZodTypeAny, {
2949
+ email: string;
2950
+ wabaExternalId: string;
2951
+ phoneNumberId: string;
2952
+ wabaBusinessId?: string | undefined;
2953
+ clientId?: string | undefined;
2954
+ channelId?: string | undefined;
2955
+ status?: "active" | "pending" | undefined;
2956
+ apiKey?: string | undefined;
2957
+ }, {
2958
+ email: string;
2959
+ wabaExternalId: string;
2960
+ phoneNumberId: string;
2961
+ wabaBusinessId?: string | undefined;
2962
+ clientId?: string | undefined;
2963
+ channelId?: string | undefined;
2964
+ status?: "active" | "pending" | undefined;
2965
+ apiKey?: string | undefined;
2966
+ }>>;
2587
2967
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2588
2968
  mobileNumber: z.ZodString;
2589
2969
  apiKey: z.ZodString;
2590
2970
  apiSecret: z.ZodString;
2591
2971
  }, "strip", z.ZodTypeAny, {
2592
- mobileNumber: string;
2593
2972
  apiKey: string;
2973
+ mobileNumber: string;
2594
2974
  apiSecret: string;
2595
2975
  }, {
2596
- mobileNumber: string;
2597
2976
  apiKey: string;
2977
+ mobileNumber: string;
2598
2978
  apiSecret: string;
2599
2979
  }>>;
2600
2980
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2606,9 +2986,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2606
2986
  channelSecret?: string | undefined;
2607
2987
  additionalCredentials?: any;
2608
2988
  senderId?: string | undefined;
2989
+ whatsapp?: {
2990
+ email: string;
2991
+ wabaExternalId: string;
2992
+ phoneNumberId: string;
2993
+ wabaBusinessId?: string | undefined;
2994
+ clientId?: string | undefined;
2995
+ channelId?: string | undefined;
2996
+ status?: "active" | "pending" | undefined;
2997
+ apiKey?: string | undefined;
2998
+ } | undefined;
2609
2999
  vonageCredentials?: {
2610
- mobileNumber: string;
2611
3000
  apiKey: string;
3001
+ mobileNumber: string;
2612
3002
  apiSecret: string;
2613
3003
  } | undefined;
2614
3004
  lineRichMenuId?: string | null | undefined;
@@ -2620,9 +3010,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2620
3010
  channelSecret?: string | undefined;
2621
3011
  additionalCredentials?: any;
2622
3012
  senderId?: string | undefined;
3013
+ whatsapp?: {
3014
+ email: string;
3015
+ wabaExternalId: string;
3016
+ phoneNumberId: string;
3017
+ wabaBusinessId?: string | undefined;
3018
+ clientId?: string | undefined;
3019
+ channelId?: string | undefined;
3020
+ status?: "active" | "pending" | undefined;
3021
+ apiKey?: string | undefined;
3022
+ } | undefined;
2623
3023
  vonageCredentials?: {
2624
- mobileNumber: string;
2625
3024
  apiKey: string;
3025
+ mobileNumber: string;
2626
3026
  apiSecret: string;
2627
3027
  } | undefined;
2628
3028
  lineRichMenuId?: string | null | undefined;
@@ -2664,9 +3064,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2664
3064
  channelSecret?: string | undefined;
2665
3065
  additionalCredentials?: any;
2666
3066
  senderId?: string | undefined;
3067
+ whatsapp?: {
3068
+ email: string;
3069
+ wabaExternalId: string;
3070
+ phoneNumberId: string;
3071
+ wabaBusinessId?: string | undefined;
3072
+ clientId?: string | undefined;
3073
+ channelId?: string | undefined;
3074
+ status?: "active" | "pending" | undefined;
3075
+ apiKey?: string | undefined;
3076
+ } | undefined;
2667
3077
  vonageCredentials?: {
2668
- mobileNumber: string;
2669
3078
  apiKey: string;
3079
+ mobileNumber: string;
2670
3080
  apiSecret: string;
2671
3081
  } | undefined;
2672
3082
  lineRichMenuId?: string | null | undefined;
@@ -2696,9 +3106,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2696
3106
  channelSecret?: string | undefined;
2697
3107
  additionalCredentials?: any;
2698
3108
  senderId?: string | undefined;
3109
+ whatsapp?: {
3110
+ email: string;
3111
+ wabaExternalId: string;
3112
+ phoneNumberId: string;
3113
+ wabaBusinessId?: string | undefined;
3114
+ clientId?: string | undefined;
3115
+ channelId?: string | undefined;
3116
+ status?: "active" | "pending" | undefined;
3117
+ apiKey?: string | undefined;
3118
+ } | undefined;
2699
3119
  vonageCredentials?: {
2700
- mobileNumber: string;
2701
3120
  apiKey: string;
3121
+ mobileNumber: string;
2702
3122
  apiSecret: string;
2703
3123
  } | undefined;
2704
3124
  lineRichMenuId?: string | null | undefined;
@@ -2732,9 +3152,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2732
3152
  channelSecret?: string | undefined;
2733
3153
  additionalCredentials?: any;
2734
3154
  senderId?: string | undefined;
3155
+ whatsapp?: {
3156
+ email: string;
3157
+ wabaExternalId: string;
3158
+ phoneNumberId: string;
3159
+ wabaBusinessId?: string | undefined;
3160
+ clientId?: string | undefined;
3161
+ channelId?: string | undefined;
3162
+ status?: "active" | "pending" | undefined;
3163
+ apiKey?: string | undefined;
3164
+ } | undefined;
2735
3165
  vonageCredentials?: {
2736
- mobileNumber: string;
2737
3166
  apiKey: string;
3167
+ mobileNumber: string;
2738
3168
  apiSecret: string;
2739
3169
  } | undefined;
2740
3170
  lineRichMenuId?: string | null | undefined;
@@ -2807,9 +3237,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2807
3237
  channelSecret?: string | undefined;
2808
3238
  additionalCredentials?: any;
2809
3239
  senderId?: string | undefined;
3240
+ whatsapp?: {
3241
+ email: string;
3242
+ wabaExternalId: string;
3243
+ phoneNumberId: string;
3244
+ wabaBusinessId?: string | undefined;
3245
+ clientId?: string | undefined;
3246
+ channelId?: string | undefined;
3247
+ status?: "active" | "pending" | undefined;
3248
+ apiKey?: string | undefined;
3249
+ } | undefined;
2810
3250
  vonageCredentials?: {
2811
- mobileNumber: string;
2812
3251
  apiKey: string;
3252
+ mobileNumber: string;
2813
3253
  apiSecret: string;
2814
3254
  } | undefined;
2815
3255
  lineRichMenuId?: string | null | undefined;
@@ -2883,7 +3323,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2883
3323
  }>>;
2884
3324
  }, "strip", z.ZodTypeAny, {
2885
3325
  message: {
2886
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
3326
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
2887
3327
  direction: "incoming" | "outgoing" | "system";
2888
3328
  id?: string | undefined;
2889
3329
  message?: string | undefined;
@@ -2931,9 +3371,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2931
3371
  channelSecret?: string | undefined;
2932
3372
  additionalCredentials?: any;
2933
3373
  senderId?: string | undefined;
3374
+ whatsapp?: {
3375
+ email: string;
3376
+ wabaExternalId: string;
3377
+ phoneNumberId: string;
3378
+ wabaBusinessId?: string | undefined;
3379
+ clientId?: string | undefined;
3380
+ channelId?: string | undefined;
3381
+ status?: "active" | "pending" | undefined;
3382
+ apiKey?: string | undefined;
3383
+ } | undefined;
2934
3384
  vonageCredentials?: {
2935
- mobileNumber: string;
2936
3385
  apiKey: string;
3386
+ mobileNumber: string;
2937
3387
  apiSecret: string;
2938
3388
  } | undefined;
2939
3389
  lineRichMenuId?: string | null | undefined;
@@ -3001,7 +3451,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3001
3451
  } | undefined;
3002
3452
  }, {
3003
3453
  message: {
3004
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
3454
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
3005
3455
  direction: "incoming" | "outgoing" | "system";
3006
3456
  id?: string | undefined;
3007
3457
  message?: string | undefined;
@@ -3049,9 +3499,19 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3049
3499
  channelSecret?: string | undefined;
3050
3500
  additionalCredentials?: any;
3051
3501
  senderId?: string | undefined;
3502
+ whatsapp?: {
3503
+ email: string;
3504
+ wabaExternalId: string;
3505
+ phoneNumberId: string;
3506
+ wabaBusinessId?: string | undefined;
3507
+ clientId?: string | undefined;
3508
+ channelId?: string | undefined;
3509
+ status?: "active" | "pending" | undefined;
3510
+ apiKey?: string | undefined;
3511
+ } | undefined;
3052
3512
  vonageCredentials?: {
3053
- mobileNumber: string;
3054
3513
  apiKey: string;
3514
+ mobileNumber: string;
3055
3515
  apiSecret: string;
3056
3516
  } | undefined;
3057
3517
  lineRichMenuId?: string | null | undefined;
@@ -3121,7 +3581,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3121
3581
  export declare const SendMessageResponseSchema: z.ZodObject<{
3122
3582
  requestId: z.ZodString;
3123
3583
  data: z.ZodObject<{
3124
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
3584
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
3125
3585
  message: z.ZodString;
3126
3586
  id: z.ZodString;
3127
3587
  url: z.ZodString;
@@ -5060,17 +5520,45 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5060
5520
  channelSecret: z.ZodOptional<z.ZodString>;
5061
5521
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5062
5522
  senderId: z.ZodOptional<z.ZodString>;
5523
+ whatsapp: z.ZodOptional<z.ZodObject<{
5524
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
5525
+ wabaExternalId: z.ZodString;
5526
+ phoneNumberId: z.ZodString;
5527
+ email: z.ZodString;
5528
+ clientId: z.ZodOptional<z.ZodString>;
5529
+ channelId: z.ZodOptional<z.ZodString>;
5530
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5531
+ apiKey: z.ZodOptional<z.ZodString>;
5532
+ }, "strip", z.ZodTypeAny, {
5533
+ email: string;
5534
+ wabaExternalId: string;
5535
+ phoneNumberId: string;
5536
+ wabaBusinessId?: string | undefined;
5537
+ clientId?: string | undefined;
5538
+ channelId?: string | undefined;
5539
+ status?: "active" | "pending" | undefined;
5540
+ apiKey?: string | undefined;
5541
+ }, {
5542
+ email: string;
5543
+ wabaExternalId: string;
5544
+ phoneNumberId: string;
5545
+ wabaBusinessId?: string | undefined;
5546
+ clientId?: string | undefined;
5547
+ channelId?: string | undefined;
5548
+ status?: "active" | "pending" | undefined;
5549
+ apiKey?: string | undefined;
5550
+ }>>;
5063
5551
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5064
5552
  mobileNumber: z.ZodString;
5065
5553
  apiKey: z.ZodString;
5066
5554
  apiSecret: z.ZodString;
5067
5555
  }, "strip", z.ZodTypeAny, {
5068
- mobileNumber: string;
5069
5556
  apiKey: string;
5557
+ mobileNumber: string;
5070
5558
  apiSecret: string;
5071
5559
  }, {
5072
- mobileNumber: string;
5073
5560
  apiKey: string;
5561
+ mobileNumber: string;
5074
5562
  apiSecret: string;
5075
5563
  }>>;
5076
5564
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5082,9 +5570,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5082
5570
  channelSecret?: string | undefined;
5083
5571
  additionalCredentials?: any;
5084
5572
  senderId?: string | undefined;
5573
+ whatsapp?: {
5574
+ email: string;
5575
+ wabaExternalId: string;
5576
+ phoneNumberId: string;
5577
+ wabaBusinessId?: string | undefined;
5578
+ clientId?: string | undefined;
5579
+ channelId?: string | undefined;
5580
+ status?: "active" | "pending" | undefined;
5581
+ apiKey?: string | undefined;
5582
+ } | undefined;
5085
5583
  vonageCredentials?: {
5086
- mobileNumber: string;
5087
5584
  apiKey: string;
5585
+ mobileNumber: string;
5088
5586
  apiSecret: string;
5089
5587
  } | undefined;
5090
5588
  lineRichMenuId?: string | null | undefined;
@@ -5096,9 +5594,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5096
5594
  channelSecret?: string | undefined;
5097
5595
  additionalCredentials?: any;
5098
5596
  senderId?: string | undefined;
5597
+ whatsapp?: {
5598
+ email: string;
5599
+ wabaExternalId: string;
5600
+ phoneNumberId: string;
5601
+ wabaBusinessId?: string | undefined;
5602
+ clientId?: string | undefined;
5603
+ channelId?: string | undefined;
5604
+ status?: "active" | "pending" | undefined;
5605
+ apiKey?: string | undefined;
5606
+ } | undefined;
5099
5607
  vonageCredentials?: {
5100
- mobileNumber: string;
5101
5608
  apiKey: string;
5609
+ mobileNumber: string;
5102
5610
  apiSecret: string;
5103
5611
  } | undefined;
5104
5612
  lineRichMenuId?: string | null | undefined;
@@ -5344,9 +5852,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5344
5852
  channelSecret?: string | undefined;
5345
5853
  additionalCredentials?: any;
5346
5854
  senderId?: string | undefined;
5855
+ whatsapp?: {
5856
+ email: string;
5857
+ wabaExternalId: string;
5858
+ phoneNumberId: string;
5859
+ wabaBusinessId?: string | undefined;
5860
+ clientId?: string | undefined;
5861
+ channelId?: string | undefined;
5862
+ status?: "active" | "pending" | undefined;
5863
+ apiKey?: string | undefined;
5864
+ } | undefined;
5347
5865
  vonageCredentials?: {
5348
- mobileNumber: string;
5349
5866
  apiKey: string;
5867
+ mobileNumber: string;
5350
5868
  apiSecret: string;
5351
5869
  } | undefined;
5352
5870
  lineRichMenuId?: string | null | undefined;
@@ -5423,9 +5941,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5423
5941
  channelSecret?: string | undefined;
5424
5942
  additionalCredentials?: any;
5425
5943
  senderId?: string | undefined;
5944
+ whatsapp?: {
5945
+ email: string;
5946
+ wabaExternalId: string;
5947
+ phoneNumberId: string;
5948
+ wabaBusinessId?: string | undefined;
5949
+ clientId?: string | undefined;
5950
+ channelId?: string | undefined;
5951
+ status?: "active" | "pending" | undefined;
5952
+ apiKey?: string | undefined;
5953
+ } | undefined;
5426
5954
  vonageCredentials?: {
5427
- mobileNumber: string;
5428
5955
  apiKey: string;
5956
+ mobileNumber: string;
5429
5957
  apiSecret: string;
5430
5958
  } | undefined;
5431
5959
  lineRichMenuId?: string | null | undefined;
@@ -5950,9 +6478,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5950
6478
  channelSecret?: string | undefined;
5951
6479
  additionalCredentials?: any;
5952
6480
  senderId?: string | undefined;
6481
+ whatsapp?: {
6482
+ email: string;
6483
+ wabaExternalId: string;
6484
+ phoneNumberId: string;
6485
+ wabaBusinessId?: string | undefined;
6486
+ clientId?: string | undefined;
6487
+ channelId?: string | undefined;
6488
+ status?: "active" | "pending" | undefined;
6489
+ apiKey?: string | undefined;
6490
+ } | undefined;
5953
6491
  vonageCredentials?: {
5954
- mobileNumber: string;
5955
6492
  apiKey: string;
6493
+ mobileNumber: string;
5956
6494
  apiSecret: string;
5957
6495
  } | undefined;
5958
6496
  lineRichMenuId?: string | null | undefined;
@@ -6340,9 +6878,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6340
6878
  channelSecret?: string | undefined;
6341
6879
  additionalCredentials?: any;
6342
6880
  senderId?: string | undefined;
6881
+ whatsapp?: {
6882
+ email: string;
6883
+ wabaExternalId: string;
6884
+ phoneNumberId: string;
6885
+ wabaBusinessId?: string | undefined;
6886
+ clientId?: string | undefined;
6887
+ channelId?: string | undefined;
6888
+ status?: "active" | "pending" | undefined;
6889
+ apiKey?: string | undefined;
6890
+ } | undefined;
6343
6891
  vonageCredentials?: {
6344
- mobileNumber: string;
6345
6892
  apiKey: string;
6893
+ mobileNumber: string;
6346
6894
  apiSecret: string;
6347
6895
  } | undefined;
6348
6896
  lineRichMenuId?: string | null | undefined;
@@ -6756,7 +7304,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6756
7304
  deletedAt: z.ZodNullable<z.ZodDate>;
6757
7305
  message: z.ZodString;
6758
7306
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6759
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7307
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
6760
7308
  readAt: z.ZodDate;
6761
7309
  metadata: z.ZodAny;
6762
7310
  platformId: z.ZodString;
@@ -7414,7 +7962,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7414
7962
  };
7415
7963
  }>;
7416
7964
  }, "strip", z.ZodTypeAny, {
7417
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7965
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7418
7966
  message: string;
7419
7967
  id: string;
7420
7968
  url: string;
@@ -7576,7 +8124,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7576
8124
  metadata?: any;
7577
8125
  template?: any;
7578
8126
  }, {
7579
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
8127
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
7580
8128
  message: string;
7581
8129
  id: string;
7582
8130
  url: string;
@@ -7950,7 +8498,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7950
8498
  deletedAt: z.ZodNullable<z.ZodDate>;
7951
8499
  message: z.ZodString;
7952
8500
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7953
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
8501
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
7954
8502
  readAt: z.ZodDate;
7955
8503
  metadata: z.ZodAny;
7956
8504
  platformId: z.ZodString;
@@ -9446,17 +9994,45 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9446
9994
  channelSecret: z.ZodOptional<z.ZodString>;
9447
9995
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9448
9996
  senderId: z.ZodOptional<z.ZodString>;
9997
+ whatsapp: z.ZodOptional<z.ZodObject<{
9998
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
9999
+ wabaExternalId: z.ZodString;
10000
+ phoneNumberId: z.ZodString;
10001
+ email: z.ZodString;
10002
+ clientId: z.ZodOptional<z.ZodString>;
10003
+ channelId: z.ZodOptional<z.ZodString>;
10004
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10005
+ apiKey: z.ZodOptional<z.ZodString>;
10006
+ }, "strip", z.ZodTypeAny, {
10007
+ email: string;
10008
+ wabaExternalId: string;
10009
+ phoneNumberId: string;
10010
+ wabaBusinessId?: string | undefined;
10011
+ clientId?: string | undefined;
10012
+ channelId?: string | undefined;
10013
+ status?: "active" | "pending" | undefined;
10014
+ apiKey?: string | undefined;
10015
+ }, {
10016
+ email: string;
10017
+ wabaExternalId: string;
10018
+ phoneNumberId: string;
10019
+ wabaBusinessId?: string | undefined;
10020
+ clientId?: string | undefined;
10021
+ channelId?: string | undefined;
10022
+ status?: "active" | "pending" | undefined;
10023
+ apiKey?: string | undefined;
10024
+ }>>;
9449
10025
  vonageCredentials: z.ZodOptional<z.ZodObject<{
9450
10026
  mobileNumber: z.ZodString;
9451
10027
  apiKey: z.ZodString;
9452
10028
  apiSecret: z.ZodString;
9453
10029
  }, "strip", z.ZodTypeAny, {
9454
- mobileNumber: string;
9455
10030
  apiKey: string;
10031
+ mobileNumber: string;
9456
10032
  apiSecret: string;
9457
10033
  }, {
9458
- mobileNumber: string;
9459
10034
  apiKey: string;
10035
+ mobileNumber: string;
9460
10036
  apiSecret: string;
9461
10037
  }>>;
9462
10038
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -9468,9 +10044,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9468
10044
  channelSecret?: string | undefined;
9469
10045
  additionalCredentials?: any;
9470
10046
  senderId?: string | undefined;
10047
+ whatsapp?: {
10048
+ email: string;
10049
+ wabaExternalId: string;
10050
+ phoneNumberId: string;
10051
+ wabaBusinessId?: string | undefined;
10052
+ clientId?: string | undefined;
10053
+ channelId?: string | undefined;
10054
+ status?: "active" | "pending" | undefined;
10055
+ apiKey?: string | undefined;
10056
+ } | undefined;
9471
10057
  vonageCredentials?: {
9472
- mobileNumber: string;
9473
10058
  apiKey: string;
10059
+ mobileNumber: string;
9474
10060
  apiSecret: string;
9475
10061
  } | undefined;
9476
10062
  lineRichMenuId?: string | null | undefined;
@@ -9482,9 +10068,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9482
10068
  channelSecret?: string | undefined;
9483
10069
  additionalCredentials?: any;
9484
10070
  senderId?: string | undefined;
10071
+ whatsapp?: {
10072
+ email: string;
10073
+ wabaExternalId: string;
10074
+ phoneNumberId: string;
10075
+ wabaBusinessId?: string | undefined;
10076
+ clientId?: string | undefined;
10077
+ channelId?: string | undefined;
10078
+ status?: "active" | "pending" | undefined;
10079
+ apiKey?: string | undefined;
10080
+ } | undefined;
9485
10081
  vonageCredentials?: {
9486
- mobileNumber: string;
9487
10082
  apiKey: string;
10083
+ mobileNumber: string;
9488
10084
  apiSecret: string;
9489
10085
  } | undefined;
9490
10086
  lineRichMenuId?: string | null | undefined;
@@ -9730,9 +10326,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9730
10326
  channelSecret?: string | undefined;
9731
10327
  additionalCredentials?: any;
9732
10328
  senderId?: string | undefined;
10329
+ whatsapp?: {
10330
+ email: string;
10331
+ wabaExternalId: string;
10332
+ phoneNumberId: string;
10333
+ wabaBusinessId?: string | undefined;
10334
+ clientId?: string | undefined;
10335
+ channelId?: string | undefined;
10336
+ status?: "active" | "pending" | undefined;
10337
+ apiKey?: string | undefined;
10338
+ } | undefined;
9733
10339
  vonageCredentials?: {
9734
- mobileNumber: string;
9735
10340
  apiKey: string;
10341
+ mobileNumber: string;
9736
10342
  apiSecret: string;
9737
10343
  } | undefined;
9738
10344
  lineRichMenuId?: string | null | undefined;
@@ -9809,9 +10415,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9809
10415
  channelSecret?: string | undefined;
9810
10416
  additionalCredentials?: any;
9811
10417
  senderId?: string | undefined;
10418
+ whatsapp?: {
10419
+ email: string;
10420
+ wabaExternalId: string;
10421
+ phoneNumberId: string;
10422
+ wabaBusinessId?: string | undefined;
10423
+ clientId?: string | undefined;
10424
+ channelId?: string | undefined;
10425
+ status?: "active" | "pending" | undefined;
10426
+ apiKey?: string | undefined;
10427
+ } | undefined;
9812
10428
  vonageCredentials?: {
9813
- mobileNumber: string;
9814
10429
  apiKey: string;
10430
+ mobileNumber: string;
9815
10431
  apiSecret: string;
9816
10432
  } | undefined;
9817
10433
  lineRichMenuId?: string | null | undefined;
@@ -10336,9 +10952,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10336
10952
  channelSecret?: string | undefined;
10337
10953
  additionalCredentials?: any;
10338
10954
  senderId?: string | undefined;
10955
+ whatsapp?: {
10956
+ email: string;
10957
+ wabaExternalId: string;
10958
+ phoneNumberId: string;
10959
+ wabaBusinessId?: string | undefined;
10960
+ clientId?: string | undefined;
10961
+ channelId?: string | undefined;
10962
+ status?: "active" | "pending" | undefined;
10963
+ apiKey?: string | undefined;
10964
+ } | undefined;
10339
10965
  vonageCredentials?: {
10340
- mobileNumber: string;
10341
10966
  apiKey: string;
10967
+ mobileNumber: string;
10342
10968
  apiSecret: string;
10343
10969
  } | undefined;
10344
10970
  lineRichMenuId?: string | null | undefined;
@@ -10726,9 +11352,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10726
11352
  channelSecret?: string | undefined;
10727
11353
  additionalCredentials?: any;
10728
11354
  senderId?: string | undefined;
11355
+ whatsapp?: {
11356
+ email: string;
11357
+ wabaExternalId: string;
11358
+ phoneNumberId: string;
11359
+ wabaBusinessId?: string | undefined;
11360
+ clientId?: string | undefined;
11361
+ channelId?: string | undefined;
11362
+ status?: "active" | "pending" | undefined;
11363
+ apiKey?: string | undefined;
11364
+ } | undefined;
10729
11365
  vonageCredentials?: {
10730
- mobileNumber: string;
10731
11366
  apiKey: string;
11367
+ mobileNumber: string;
10732
11368
  apiSecret: string;
10733
11369
  } | undefined;
10734
11370
  lineRichMenuId?: string | null | undefined;
@@ -11145,7 +11781,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11145
11781
  deletedAt: z.ZodNullable<z.ZodDate>;
11146
11782
  message: z.ZodString;
11147
11783
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
11148
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
11784
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
11149
11785
  readAt: z.ZodDate;
11150
11786
  metadata: z.ZodAny;
11151
11787
  platformId: z.ZodString;
@@ -11803,7 +12439,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11803
12439
  };
11804
12440
  }>;
11805
12441
  }, "strip", z.ZodTypeAny, {
11806
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12442
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11807
12443
  message: string;
11808
12444
  id: string;
11809
12445
  url: string;
@@ -11965,7 +12601,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11965
12601
  metadata?: any;
11966
12602
  template?: any;
11967
12603
  }, {
11968
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12604
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11969
12605
  message: string;
11970
12606
  id: string;
11971
12607
  url: string;
@@ -12767,7 +13403,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12767
13403
  editedMessageid: z.ZodString;
12768
13404
  label: z.ZodOptional<z.ZodString>;
12769
13405
  }, "strip", z.ZodTypeAny, {
12770
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13406
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12771
13407
  message: string;
12772
13408
  id: string;
12773
13409
  url: string;
@@ -12889,9 +13525,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12889
13525
  channelSecret?: string | undefined;
12890
13526
  additionalCredentials?: any;
12891
13527
  senderId?: string | undefined;
13528
+ whatsapp?: {
13529
+ email: string;
13530
+ wabaExternalId: string;
13531
+ phoneNumberId: string;
13532
+ wabaBusinessId?: string | undefined;
13533
+ clientId?: string | undefined;
13534
+ channelId?: string | undefined;
13535
+ status?: "active" | "pending" | undefined;
13536
+ apiKey?: string | undefined;
13537
+ } | undefined;
12892
13538
  vonageCredentials?: {
12893
- mobileNumber: string;
12894
13539
  apiKey: string;
13540
+ mobileNumber: string;
12895
13541
  apiSecret: string;
12896
13542
  } | undefined;
12897
13543
  lineRichMenuId?: string | null | undefined;
@@ -13283,7 +13929,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13283
13929
  previewUrl: string;
13284
13930
  imageSetId: string;
13285
13931
  repliedMessage: {
13286
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13932
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13287
13933
  message: string;
13288
13934
  id: string;
13289
13935
  url: string;
@@ -13494,7 +14140,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13494
14140
  template?: any;
13495
14141
  label?: string | undefined;
13496
14142
  }, {
13497
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14143
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13498
14144
  message: string;
13499
14145
  id: string;
13500
14146
  url: string;
@@ -13616,9 +14262,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13616
14262
  channelSecret?: string | undefined;
13617
14263
  additionalCredentials?: any;
13618
14264
  senderId?: string | undefined;
14265
+ whatsapp?: {
14266
+ email: string;
14267
+ wabaExternalId: string;
14268
+ phoneNumberId: string;
14269
+ wabaBusinessId?: string | undefined;
14270
+ clientId?: string | undefined;
14271
+ channelId?: string | undefined;
14272
+ status?: "active" | "pending" | undefined;
14273
+ apiKey?: string | undefined;
14274
+ } | undefined;
13619
14275
  vonageCredentials?: {
13620
- mobileNumber: string;
13621
14276
  apiKey: string;
14277
+ mobileNumber: string;
13622
14278
  apiSecret: string;
13623
14279
  } | undefined;
13624
14280
  lineRichMenuId?: string | null | undefined;
@@ -14010,7 +14666,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14010
14666
  previewUrl: string;
14011
14667
  imageSetId: string;
14012
14668
  repliedMessage: {
14013
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14669
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14014
14670
  message: string;
14015
14671
  id: string;
14016
14672
  url: string;
@@ -14222,7 +14878,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14222
14878
  label?: string | undefined;
14223
14879
  }>>>;
14224
14880
  }, "strip", z.ZodTypeAny, {
14225
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14881
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14226
14882
  message: string;
14227
14883
  id: string;
14228
14884
  url: string;
@@ -14344,9 +15000,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14344
15000
  channelSecret?: string | undefined;
14345
15001
  additionalCredentials?: any;
14346
15002
  senderId?: string | undefined;
15003
+ whatsapp?: {
15004
+ email: string;
15005
+ wabaExternalId: string;
15006
+ phoneNumberId: string;
15007
+ wabaBusinessId?: string | undefined;
15008
+ clientId?: string | undefined;
15009
+ channelId?: string | undefined;
15010
+ status?: "active" | "pending" | undefined;
15011
+ apiKey?: string | undefined;
15012
+ } | undefined;
14347
15013
  vonageCredentials?: {
14348
- mobileNumber: string;
14349
15014
  apiKey: string;
15015
+ mobileNumber: string;
14350
15016
  apiSecret: string;
14351
15017
  } | undefined;
14352
15018
  lineRichMenuId?: string | null | undefined;
@@ -14738,7 +15404,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14738
15404
  previewUrl: string;
14739
15405
  imageSetId: string;
14740
15406
  repliedMessage: {
14741
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15407
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14742
15408
  message: string;
14743
15409
  id: string;
14744
15410
  url: string;
@@ -14949,7 +15615,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14949
15615
  template?: any;
14950
15616
  metadata?: any;
14951
15617
  fromMessage?: {
14952
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15618
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14953
15619
  message: string;
14954
15620
  id: string;
14955
15621
  url: string;
@@ -15071,9 +15737,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15071
15737
  channelSecret?: string | undefined;
15072
15738
  additionalCredentials?: any;
15073
15739
  senderId?: string | undefined;
15740
+ whatsapp?: {
15741
+ email: string;
15742
+ wabaExternalId: string;
15743
+ phoneNumberId: string;
15744
+ wabaBusinessId?: string | undefined;
15745
+ clientId?: string | undefined;
15746
+ channelId?: string | undefined;
15747
+ status?: "active" | "pending" | undefined;
15748
+ apiKey?: string | undefined;
15749
+ } | undefined;
15074
15750
  vonageCredentials?: {
15075
- mobileNumber: string;
15076
15751
  apiKey: string;
15752
+ mobileNumber: string;
15077
15753
  apiSecret: string;
15078
15754
  } | undefined;
15079
15755
  lineRichMenuId?: string | null | undefined;
@@ -15465,7 +16141,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15465
16141
  previewUrl: string;
15466
16142
  imageSetId: string;
15467
16143
  repliedMessage: {
15468
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16144
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15469
16145
  message: string;
15470
16146
  id: string;
15471
16147
  url: string;
@@ -15677,7 +16353,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15677
16353
  label?: string | undefined;
15678
16354
  } | null | undefined;
15679
16355
  }, {
15680
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16356
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15681
16357
  message: string;
15682
16358
  id: string;
15683
16359
  url: string;
@@ -15799,9 +16475,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15799
16475
  channelSecret?: string | undefined;
15800
16476
  additionalCredentials?: any;
15801
16477
  senderId?: string | undefined;
16478
+ whatsapp?: {
16479
+ email: string;
16480
+ wabaExternalId: string;
16481
+ phoneNumberId: string;
16482
+ wabaBusinessId?: string | undefined;
16483
+ clientId?: string | undefined;
16484
+ channelId?: string | undefined;
16485
+ status?: "active" | "pending" | undefined;
16486
+ apiKey?: string | undefined;
16487
+ } | undefined;
15802
16488
  vonageCredentials?: {
15803
- mobileNumber: string;
15804
16489
  apiKey: string;
16490
+ mobileNumber: string;
15805
16491
  apiSecret: string;
15806
16492
  } | undefined;
15807
16493
  lineRichMenuId?: string | null | undefined;
@@ -16193,7 +16879,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16193
16879
  previewUrl: string;
16194
16880
  imageSetId: string;
16195
16881
  repliedMessage: {
16196
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16882
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16197
16883
  message: string;
16198
16884
  id: string;
16199
16885
  url: string;
@@ -16404,7 +17090,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16404
17090
  template?: any;
16405
17091
  metadata?: any;
16406
17092
  fromMessage?: {
16407
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17093
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16408
17094
  message: string;
16409
17095
  id: string;
16410
17096
  url: string;
@@ -16526,9 +17212,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16526
17212
  channelSecret?: string | undefined;
16527
17213
  additionalCredentials?: any;
16528
17214
  senderId?: string | undefined;
17215
+ whatsapp?: {
17216
+ email: string;
17217
+ wabaExternalId: string;
17218
+ phoneNumberId: string;
17219
+ wabaBusinessId?: string | undefined;
17220
+ clientId?: string | undefined;
17221
+ channelId?: string | undefined;
17222
+ status?: "active" | "pending" | undefined;
17223
+ apiKey?: string | undefined;
17224
+ } | undefined;
16529
17225
  vonageCredentials?: {
16530
- mobileNumber: string;
16531
17226
  apiKey: string;
17227
+ mobileNumber: string;
16532
17228
  apiSecret: string;
16533
17229
  } | undefined;
16534
17230
  lineRichMenuId?: string | null | undefined;
@@ -16920,7 +17616,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16920
17616
  previewUrl: string;
16921
17617
  imageSetId: string;
16922
17618
  repliedMessage: {
16923
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17619
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16924
17620
  message: string;
16925
17621
  id: string;
16926
17622
  url: string;
@@ -17134,7 +17830,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17134
17830
  }>;
17135
17831
  }, "strip", z.ZodTypeAny, {
17136
17832
  data: {
17137
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17833
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17138
17834
  message: string;
17139
17835
  id: string;
17140
17836
  url: string;
@@ -17256,9 +17952,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17256
17952
  channelSecret?: string | undefined;
17257
17953
  additionalCredentials?: any;
17258
17954
  senderId?: string | undefined;
17955
+ whatsapp?: {
17956
+ email: string;
17957
+ wabaExternalId: string;
17958
+ phoneNumberId: string;
17959
+ wabaBusinessId?: string | undefined;
17960
+ clientId?: string | undefined;
17961
+ channelId?: string | undefined;
17962
+ status?: "active" | "pending" | undefined;
17963
+ apiKey?: string | undefined;
17964
+ } | undefined;
17259
17965
  vonageCredentials?: {
17260
- mobileNumber: string;
17261
17966
  apiKey: string;
17967
+ mobileNumber: string;
17262
17968
  apiSecret: string;
17263
17969
  } | undefined;
17264
17970
  lineRichMenuId?: string | null | undefined;
@@ -17650,7 +18356,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17650
18356
  previewUrl: string;
17651
18357
  imageSetId: string;
17652
18358
  repliedMessage: {
17653
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18359
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17654
18360
  message: string;
17655
18361
  id: string;
17656
18362
  url: string;
@@ -17861,7 +18567,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17861
18567
  template?: any;
17862
18568
  metadata?: any;
17863
18569
  fromMessage?: {
17864
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18570
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17865
18571
  message: string;
17866
18572
  id: string;
17867
18573
  url: string;
@@ -17983,9 +18689,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17983
18689
  channelSecret?: string | undefined;
17984
18690
  additionalCredentials?: any;
17985
18691
  senderId?: string | undefined;
18692
+ whatsapp?: {
18693
+ email: string;
18694
+ wabaExternalId: string;
18695
+ phoneNumberId: string;
18696
+ wabaBusinessId?: string | undefined;
18697
+ clientId?: string | undefined;
18698
+ channelId?: string | undefined;
18699
+ status?: "active" | "pending" | undefined;
18700
+ apiKey?: string | undefined;
18701
+ } | undefined;
17986
18702
  vonageCredentials?: {
17987
- mobileNumber: string;
17988
18703
  apiKey: string;
18704
+ mobileNumber: string;
17989
18705
  apiSecret: string;
17990
18706
  } | undefined;
17991
18707
  lineRichMenuId?: string | null | undefined;
@@ -18377,7 +19093,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18377
19093
  previewUrl: string;
18378
19094
  imageSetId: string;
18379
19095
  repliedMessage: {
18380
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19096
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18381
19097
  message: string;
18382
19098
  id: string;
18383
19099
  url: string;
@@ -18592,7 +19308,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18592
19308
  requestId: string;
18593
19309
  }, {
18594
19310
  data: {
18595
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19311
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18596
19312
  message: string;
18597
19313
  id: string;
18598
19314
  url: string;
@@ -18714,9 +19430,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18714
19430
  channelSecret?: string | undefined;
18715
19431
  additionalCredentials?: any;
18716
19432
  senderId?: string | undefined;
19433
+ whatsapp?: {
19434
+ email: string;
19435
+ wabaExternalId: string;
19436
+ phoneNumberId: string;
19437
+ wabaBusinessId?: string | undefined;
19438
+ clientId?: string | undefined;
19439
+ channelId?: string | undefined;
19440
+ status?: "active" | "pending" | undefined;
19441
+ apiKey?: string | undefined;
19442
+ } | undefined;
18717
19443
  vonageCredentials?: {
18718
- mobileNumber: string;
18719
19444
  apiKey: string;
19445
+ mobileNumber: string;
18720
19446
  apiSecret: string;
18721
19447
  } | undefined;
18722
19448
  lineRichMenuId?: string | null | undefined;
@@ -19108,7 +19834,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19108
19834
  previewUrl: string;
19109
19835
  imageSetId: string;
19110
19836
  repliedMessage: {
19111
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19837
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19112
19838
  message: string;
19113
19839
  id: string;
19114
19840
  url: string;
@@ -19319,7 +20045,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19319
20045
  template?: any;
19320
20046
  metadata?: any;
19321
20047
  fromMessage?: {
19322
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20048
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19323
20049
  message: string;
19324
20050
  id: string;
19325
20051
  url: string;
@@ -19441,9 +20167,19 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19441
20167
  channelSecret?: string | undefined;
19442
20168
  additionalCredentials?: any;
19443
20169
  senderId?: string | undefined;
20170
+ whatsapp?: {
20171
+ email: string;
20172
+ wabaExternalId: string;
20173
+ phoneNumberId: string;
20174
+ wabaBusinessId?: string | undefined;
20175
+ clientId?: string | undefined;
20176
+ channelId?: string | undefined;
20177
+ status?: "active" | "pending" | undefined;
20178
+ apiKey?: string | undefined;
20179
+ } | undefined;
19444
20180
  vonageCredentials?: {
19445
- mobileNumber: string;
19446
20181
  apiKey: string;
20182
+ mobileNumber: string;
19447
20183
  apiSecret: string;
19448
20184
  } | undefined;
19449
20185
  lineRichMenuId?: string | null | undefined;
@@ -19835,7 +20571,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19835
20571
  previewUrl: string;
19836
20572
  imageSetId: string;
19837
20573
  repliedMessage: {
19838
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
20574
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
19839
20575
  message: string;
19840
20576
  id: string;
19841
20577
  url: string;
@@ -20062,17 +20798,45 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20062
20798
  channelSecret: z.ZodOptional<z.ZodString>;
20063
20799
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20064
20800
  senderId: z.ZodOptional<z.ZodString>;
20801
+ whatsapp: z.ZodOptional<z.ZodObject<{
20802
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
20803
+ wabaExternalId: z.ZodString;
20804
+ phoneNumberId: z.ZodString;
20805
+ email: z.ZodString;
20806
+ clientId: z.ZodOptional<z.ZodString>;
20807
+ channelId: z.ZodOptional<z.ZodString>;
20808
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20809
+ apiKey: z.ZodOptional<z.ZodString>;
20810
+ }, "strip", z.ZodTypeAny, {
20811
+ email: string;
20812
+ wabaExternalId: string;
20813
+ phoneNumberId: string;
20814
+ wabaBusinessId?: string | undefined;
20815
+ clientId?: string | undefined;
20816
+ channelId?: string | undefined;
20817
+ status?: "active" | "pending" | undefined;
20818
+ apiKey?: string | undefined;
20819
+ }, {
20820
+ email: string;
20821
+ wabaExternalId: string;
20822
+ phoneNumberId: string;
20823
+ wabaBusinessId?: string | undefined;
20824
+ clientId?: string | undefined;
20825
+ channelId?: string | undefined;
20826
+ status?: "active" | "pending" | undefined;
20827
+ apiKey?: string | undefined;
20828
+ }>>;
20065
20829
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20066
20830
  mobileNumber: z.ZodString;
20067
20831
  apiKey: z.ZodString;
20068
20832
  apiSecret: z.ZodString;
20069
20833
  }, "strip", z.ZodTypeAny, {
20070
- mobileNumber: string;
20071
20834
  apiKey: string;
20835
+ mobileNumber: string;
20072
20836
  apiSecret: string;
20073
20837
  }, {
20074
- mobileNumber: string;
20075
20838
  apiKey: string;
20839
+ mobileNumber: string;
20076
20840
  apiSecret: string;
20077
20841
  }>>;
20078
20842
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -20084,9 +20848,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20084
20848
  channelSecret?: string | undefined;
20085
20849
  additionalCredentials?: any;
20086
20850
  senderId?: string | undefined;
20851
+ whatsapp?: {
20852
+ email: string;
20853
+ wabaExternalId: string;
20854
+ phoneNumberId: string;
20855
+ wabaBusinessId?: string | undefined;
20856
+ clientId?: string | undefined;
20857
+ channelId?: string | undefined;
20858
+ status?: "active" | "pending" | undefined;
20859
+ apiKey?: string | undefined;
20860
+ } | undefined;
20087
20861
  vonageCredentials?: {
20088
- mobileNumber: string;
20089
20862
  apiKey: string;
20863
+ mobileNumber: string;
20090
20864
  apiSecret: string;
20091
20865
  } | undefined;
20092
20866
  lineRichMenuId?: string | null | undefined;
@@ -20098,9 +20872,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20098
20872
  channelSecret?: string | undefined;
20099
20873
  additionalCredentials?: any;
20100
20874
  senderId?: string | undefined;
20875
+ whatsapp?: {
20876
+ email: string;
20877
+ wabaExternalId: string;
20878
+ phoneNumberId: string;
20879
+ wabaBusinessId?: string | undefined;
20880
+ clientId?: string | undefined;
20881
+ channelId?: string | undefined;
20882
+ status?: "active" | "pending" | undefined;
20883
+ apiKey?: string | undefined;
20884
+ } | undefined;
20101
20885
  vonageCredentials?: {
20102
- mobileNumber: string;
20103
20886
  apiKey: string;
20887
+ mobileNumber: string;
20104
20888
  apiSecret: string;
20105
20889
  } | undefined;
20106
20890
  lineRichMenuId?: string | null | undefined;
@@ -20142,9 +20926,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20142
20926
  channelSecret?: string | undefined;
20143
20927
  additionalCredentials?: any;
20144
20928
  senderId?: string | undefined;
20929
+ whatsapp?: {
20930
+ email: string;
20931
+ wabaExternalId: string;
20932
+ phoneNumberId: string;
20933
+ wabaBusinessId?: string | undefined;
20934
+ clientId?: string | undefined;
20935
+ channelId?: string | undefined;
20936
+ status?: "active" | "pending" | undefined;
20937
+ apiKey?: string | undefined;
20938
+ } | undefined;
20145
20939
  vonageCredentials?: {
20146
- mobileNumber: string;
20147
20940
  apiKey: string;
20941
+ mobileNumber: string;
20148
20942
  apiSecret: string;
20149
20943
  } | undefined;
20150
20944
  lineRichMenuId?: string | null | undefined;
@@ -20174,9 +20968,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20174
20968
  channelSecret?: string | undefined;
20175
20969
  additionalCredentials?: any;
20176
20970
  senderId?: string | undefined;
20971
+ whatsapp?: {
20972
+ email: string;
20973
+ wabaExternalId: string;
20974
+ phoneNumberId: string;
20975
+ wabaBusinessId?: string | undefined;
20976
+ clientId?: string | undefined;
20977
+ channelId?: string | undefined;
20978
+ status?: "active" | "pending" | undefined;
20979
+ apiKey?: string | undefined;
20980
+ } | undefined;
20177
20981
  vonageCredentials?: {
20178
- mobileNumber: string;
20179
20982
  apiKey: string;
20983
+ mobileNumber: string;
20180
20984
  apiSecret: string;
20181
20985
  } | undefined;
20182
20986
  lineRichMenuId?: string | null | undefined;
@@ -20208,9 +21012,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20208
21012
  channelSecret?: string | undefined;
20209
21013
  additionalCredentials?: any;
20210
21014
  senderId?: string | undefined;
21015
+ whatsapp?: {
21016
+ email: string;
21017
+ wabaExternalId: string;
21018
+ phoneNumberId: string;
21019
+ wabaBusinessId?: string | undefined;
21020
+ clientId?: string | undefined;
21021
+ channelId?: string | undefined;
21022
+ status?: "active" | "pending" | undefined;
21023
+ apiKey?: string | undefined;
21024
+ } | undefined;
20211
21025
  vonageCredentials?: {
20212
- mobileNumber: string;
20213
21026
  apiKey: string;
21027
+ mobileNumber: string;
20214
21028
  apiSecret: string;
20215
21029
  } | undefined;
20216
21030
  lineRichMenuId?: string | null | undefined;
@@ -20243,9 +21057,19 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
20243
21057
  channelSecret?: string | undefined;
20244
21058
  additionalCredentials?: any;
20245
21059
  senderId?: string | undefined;
21060
+ whatsapp?: {
21061
+ email: string;
21062
+ wabaExternalId: string;
21063
+ phoneNumberId: string;
21064
+ wabaBusinessId?: string | undefined;
21065
+ clientId?: string | undefined;
21066
+ channelId?: string | undefined;
21067
+ status?: "active" | "pending" | undefined;
21068
+ apiKey?: string | undefined;
21069
+ } | undefined;
20246
21070
  vonageCredentials?: {
20247
- mobileNumber: string;
20248
21071
  apiKey: string;
21072
+ mobileNumber: string;
20249
21073
  apiSecret: string;
20250
21074
  } | undefined;
20251
21075
  lineRichMenuId?: string | null | undefined;
@@ -20275,7 +21099,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
20275
21099
  deletedAt: z.ZodNullable<z.ZodString>;
20276
21100
  message: z.ZodOptional<z.ZodString>;
20277
21101
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
20278
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
21102
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
20279
21103
  metadata: z.ZodAny;
20280
21104
  platformId: z.ZodString;
20281
21105
  platformMessageId: z.ZodString;
@@ -21651,17 +22475,45 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21651
22475
  channelSecret: z.ZodOptional<z.ZodString>;
21652
22476
  additionalCredentials: z.ZodOptional<z.ZodAny>;
21653
22477
  senderId: z.ZodOptional<z.ZodString>;
22478
+ whatsapp: z.ZodOptional<z.ZodObject<{
22479
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
22480
+ wabaExternalId: z.ZodString;
22481
+ phoneNumberId: z.ZodString;
22482
+ email: z.ZodString;
22483
+ clientId: z.ZodOptional<z.ZodString>;
22484
+ channelId: z.ZodOptional<z.ZodString>;
22485
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
22486
+ apiKey: z.ZodOptional<z.ZodString>;
22487
+ }, "strip", z.ZodTypeAny, {
22488
+ email: string;
22489
+ wabaExternalId: string;
22490
+ phoneNumberId: string;
22491
+ wabaBusinessId?: string | undefined;
22492
+ clientId?: string | undefined;
22493
+ channelId?: string | undefined;
22494
+ status?: "active" | "pending" | undefined;
22495
+ apiKey?: string | undefined;
22496
+ }, {
22497
+ email: string;
22498
+ wabaExternalId: string;
22499
+ phoneNumberId: string;
22500
+ wabaBusinessId?: string | undefined;
22501
+ clientId?: string | undefined;
22502
+ channelId?: string | undefined;
22503
+ status?: "active" | "pending" | undefined;
22504
+ apiKey?: string | undefined;
22505
+ }>>;
21654
22506
  vonageCredentials: z.ZodOptional<z.ZodObject<{
21655
22507
  mobileNumber: z.ZodString;
21656
22508
  apiKey: z.ZodString;
21657
22509
  apiSecret: z.ZodString;
21658
22510
  }, "strip", z.ZodTypeAny, {
21659
- mobileNumber: string;
21660
22511
  apiKey: string;
22512
+ mobileNumber: string;
21661
22513
  apiSecret: string;
21662
22514
  }, {
21663
- mobileNumber: string;
21664
22515
  apiKey: string;
22516
+ mobileNumber: string;
21665
22517
  apiSecret: string;
21666
22518
  }>>;
21667
22519
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -21673,9 +22525,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21673
22525
  channelSecret?: string | undefined;
21674
22526
  additionalCredentials?: any;
21675
22527
  senderId?: string | undefined;
22528
+ whatsapp?: {
22529
+ email: string;
22530
+ wabaExternalId: string;
22531
+ phoneNumberId: string;
22532
+ wabaBusinessId?: string | undefined;
22533
+ clientId?: string | undefined;
22534
+ channelId?: string | undefined;
22535
+ status?: "active" | "pending" | undefined;
22536
+ apiKey?: string | undefined;
22537
+ } | undefined;
21676
22538
  vonageCredentials?: {
21677
- mobileNumber: string;
21678
22539
  apiKey: string;
22540
+ mobileNumber: string;
21679
22541
  apiSecret: string;
21680
22542
  } | undefined;
21681
22543
  lineRichMenuId?: string | null | undefined;
@@ -21687,9 +22549,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21687
22549
  channelSecret?: string | undefined;
21688
22550
  additionalCredentials?: any;
21689
22551
  senderId?: string | undefined;
22552
+ whatsapp?: {
22553
+ email: string;
22554
+ wabaExternalId: string;
22555
+ phoneNumberId: string;
22556
+ wabaBusinessId?: string | undefined;
22557
+ clientId?: string | undefined;
22558
+ channelId?: string | undefined;
22559
+ status?: "active" | "pending" | undefined;
22560
+ apiKey?: string | undefined;
22561
+ } | undefined;
21690
22562
  vonageCredentials?: {
21691
- mobileNumber: string;
21692
22563
  apiKey: string;
22564
+ mobileNumber: string;
21693
22565
  apiSecret: string;
21694
22566
  } | undefined;
21695
22567
  lineRichMenuId?: string | null | undefined;
@@ -21731,9 +22603,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21731
22603
  channelSecret?: string | undefined;
21732
22604
  additionalCredentials?: any;
21733
22605
  senderId?: string | undefined;
22606
+ whatsapp?: {
22607
+ email: string;
22608
+ wabaExternalId: string;
22609
+ phoneNumberId: string;
22610
+ wabaBusinessId?: string | undefined;
22611
+ clientId?: string | undefined;
22612
+ channelId?: string | undefined;
22613
+ status?: "active" | "pending" | undefined;
22614
+ apiKey?: string | undefined;
22615
+ } | undefined;
21734
22616
  vonageCredentials?: {
21735
- mobileNumber: string;
21736
22617
  apiKey: string;
22618
+ mobileNumber: string;
21737
22619
  apiSecret: string;
21738
22620
  } | undefined;
21739
22621
  lineRichMenuId?: string | null | undefined;
@@ -21763,9 +22645,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21763
22645
  channelSecret?: string | undefined;
21764
22646
  additionalCredentials?: any;
21765
22647
  senderId?: string | undefined;
22648
+ whatsapp?: {
22649
+ email: string;
22650
+ wabaExternalId: string;
22651
+ phoneNumberId: string;
22652
+ wabaBusinessId?: string | undefined;
22653
+ clientId?: string | undefined;
22654
+ channelId?: string | undefined;
22655
+ status?: "active" | "pending" | undefined;
22656
+ apiKey?: string | undefined;
22657
+ } | undefined;
21766
22658
  vonageCredentials?: {
21767
- mobileNumber: string;
21768
22659
  apiKey: string;
22660
+ mobileNumber: string;
21769
22661
  apiSecret: string;
21770
22662
  } | undefined;
21771
22663
  lineRichMenuId?: string | null | undefined;
@@ -22428,9 +23320,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22428
23320
  channelSecret?: string | undefined;
22429
23321
  additionalCredentials?: any;
22430
23322
  senderId?: string | undefined;
23323
+ whatsapp?: {
23324
+ email: string;
23325
+ wabaExternalId: string;
23326
+ phoneNumberId: string;
23327
+ wabaBusinessId?: string | undefined;
23328
+ clientId?: string | undefined;
23329
+ channelId?: string | undefined;
23330
+ status?: "active" | "pending" | undefined;
23331
+ apiKey?: string | undefined;
23332
+ } | undefined;
22431
23333
  vonageCredentials?: {
22432
- mobileNumber: string;
22433
23334
  apiKey: string;
23335
+ mobileNumber: string;
22434
23336
  apiSecret: string;
22435
23337
  } | undefined;
22436
23338
  lineRichMenuId?: string | null | undefined;
@@ -22743,9 +23645,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22743
23645
  channelSecret?: string | undefined;
22744
23646
  additionalCredentials?: any;
22745
23647
  senderId?: string | undefined;
23648
+ whatsapp?: {
23649
+ email: string;
23650
+ wabaExternalId: string;
23651
+ phoneNumberId: string;
23652
+ wabaBusinessId?: string | undefined;
23653
+ clientId?: string | undefined;
23654
+ channelId?: string | undefined;
23655
+ status?: "active" | "pending" | undefined;
23656
+ apiKey?: string | undefined;
23657
+ } | undefined;
22746
23658
  vonageCredentials?: {
22747
- mobileNumber: string;
22748
23659
  apiKey: string;
23660
+ mobileNumber: string;
22749
23661
  apiSecret: string;
22750
23662
  } | undefined;
22751
23663
  lineRichMenuId?: string | null | undefined;
@@ -23483,7 +24395,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23483
24395
  }>>>;
23484
24396
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23485
24397
  }, "strip", z.ZodTypeAny, {
23486
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24398
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
23487
24399
  id: string;
23488
24400
  direction: "incoming" | "outgoing" | "system";
23489
24401
  createdAt: string;
@@ -23714,9 +24626,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23714
24626
  channelSecret?: string | undefined;
23715
24627
  additionalCredentials?: any;
23716
24628
  senderId?: string | undefined;
24629
+ whatsapp?: {
24630
+ email: string;
24631
+ wabaExternalId: string;
24632
+ phoneNumberId: string;
24633
+ wabaBusinessId?: string | undefined;
24634
+ clientId?: string | undefined;
24635
+ channelId?: string | undefined;
24636
+ status?: "active" | "pending" | undefined;
24637
+ apiKey?: string | undefined;
24638
+ } | undefined;
23717
24639
  vonageCredentials?: {
23718
- mobileNumber: string;
23719
24640
  apiKey: string;
24641
+ mobileNumber: string;
23720
24642
  apiSecret: string;
23721
24643
  } | undefined;
23722
24644
  lineRichMenuId?: string | null | undefined;
@@ -23961,7 +24883,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23961
24883
  } | null | undefined;
23962
24884
  label?: string | null | undefined;
23963
24885
  }, {
23964
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24886
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
23965
24887
  id: string;
23966
24888
  direction: "incoming" | "outgoing" | "system";
23967
24889
  createdAt: string;
@@ -24192,9 +25114,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24192
25114
  channelSecret?: string | undefined;
24193
25115
  additionalCredentials?: any;
24194
25116
  senderId?: string | undefined;
25117
+ whatsapp?: {
25118
+ email: string;
25119
+ wabaExternalId: string;
25120
+ phoneNumberId: string;
25121
+ wabaBusinessId?: string | undefined;
25122
+ clientId?: string | undefined;
25123
+ channelId?: string | undefined;
25124
+ status?: "active" | "pending" | undefined;
25125
+ apiKey?: string | undefined;
25126
+ } | undefined;
24195
25127
  vonageCredentials?: {
24196
- mobileNumber: string;
24197
25128
  apiKey: string;
25129
+ mobileNumber: string;
24198
25130
  apiSecret: string;
24199
25131
  } | undefined;
24200
25132
  lineRichMenuId?: string | null | undefined;
@@ -24441,7 +25373,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24441
25373
  }>;
24442
25374
  }, "strip", z.ZodTypeAny, {
24443
25375
  message: {
24444
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
25376
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24445
25377
  id: string;
24446
25378
  direction: "incoming" | "outgoing" | "system";
24447
25379
  createdAt: string;
@@ -24672,9 +25604,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24672
25604
  channelSecret?: string | undefined;
24673
25605
  additionalCredentials?: any;
24674
25606
  senderId?: string | undefined;
25607
+ whatsapp?: {
25608
+ email: string;
25609
+ wabaExternalId: string;
25610
+ phoneNumberId: string;
25611
+ wabaBusinessId?: string | undefined;
25612
+ clientId?: string | undefined;
25613
+ channelId?: string | undefined;
25614
+ status?: "active" | "pending" | undefined;
25615
+ apiKey?: string | undefined;
25616
+ } | undefined;
24675
25617
  vonageCredentials?: {
24676
- mobileNumber: string;
24677
25618
  apiKey: string;
25619
+ mobileNumber: string;
24678
25620
  apiSecret: string;
24679
25621
  } | undefined;
24680
25622
  lineRichMenuId?: string | null | undefined;
@@ -24921,7 +25863,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24921
25863
  };
24922
25864
  }, {
24923
25865
  message: {
24924
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
25866
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
24925
25867
  id: string;
24926
25868
  direction: "incoming" | "outgoing" | "system";
24927
25869
  createdAt: string;
@@ -25152,9 +26094,19 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25152
26094
  channelSecret?: string | undefined;
25153
26095
  additionalCredentials?: any;
25154
26096
  senderId?: string | undefined;
26097
+ whatsapp?: {
26098
+ email: string;
26099
+ wabaExternalId: string;
26100
+ phoneNumberId: string;
26101
+ wabaBusinessId?: string | undefined;
26102
+ clientId?: string | undefined;
26103
+ channelId?: string | undefined;
26104
+ status?: "active" | "pending" | undefined;
26105
+ apiKey?: string | undefined;
26106
+ } | undefined;
25155
26107
  vonageCredentials?: {
25156
- mobileNumber: string;
25157
26108
  apiKey: string;
26109
+ mobileNumber: string;
25158
26110
  apiSecret: string;
25159
26111
  } | undefined;
25160
26112
  lineRichMenuId?: string | null | undefined;