@kl1/contracts 1.2.46-uat → 1.2.48-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +20 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4853 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4842 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -264,7 +264,7 @@ export declare const ActionMessageSchema: z.ZodObject<{
264
264
  }>;
265
265
  export declare const SendMessageSchema: z.ZodObject<{
266
266
  roomId: z.ZodString;
267
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
267
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
268
268
  message: z.ZodOptional<z.ZodString>;
269
269
  messageAttachments: z.ZodOptional<z.ZodObject<{
270
270
  bucketName: z.ZodString;
@@ -523,7 +523,7 @@ export declare const SendMessageSchema: z.ZodObject<{
523
523
  mentions?: string[] | undefined;
524
524
  }>>;
525
525
  }, "strip", z.ZodTypeAny, {
526
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
526
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
527
527
  roomId: string;
528
528
  message?: string | undefined;
529
529
  messageAttachments?: {
@@ -595,7 +595,7 @@ export declare const SendMessageSchema: z.ZodObject<{
595
595
  mentions?: string[] | undefined;
596
596
  } | undefined;
597
597
  }, {
598
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
598
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
599
599
  roomId: string;
600
600
  message?: string | undefined;
601
601
  messageAttachments?: {
@@ -673,17 +673,17 @@ export declare const InitiateMessageSchema: z.ZodObject<{
673
673
  contactId: z.ZodOptional<z.ZodString>;
674
674
  message: z.ZodObject<{
675
675
  message: z.ZodOptional<z.ZodString>;
676
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
676
+ messageType: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
677
677
  }, "strip", z.ZodTypeAny, {
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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
678
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
679
679
  message?: string | undefined;
680
680
  }, {
681
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
681
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
682
682
  message?: string | undefined;
683
683
  }>;
684
684
  }, "strip", z.ZodTypeAny, {
685
685
  message: {
686
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
686
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
687
687
  message?: string | undefined;
688
688
  };
689
689
  channelId: string;
@@ -691,7 +691,7 @@ export declare const InitiateMessageSchema: z.ZodObject<{
691
691
  contactId?: string | undefined;
692
692
  }, {
693
693
  message: {
694
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
694
+ messageType: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
695
695
  message?: string | undefined;
696
696
  };
697
697
  channelId: string;
@@ -775,35 +775,44 @@ export declare const ChannelSchema: z.ZodObject<{
775
775
  additionalCredentials: z.ZodOptional<z.ZodAny>;
776
776
  senderId: z.ZodOptional<z.ZodString>;
777
777
  whatsapp: z.ZodOptional<z.ZodObject<{
778
- wabaBusinessId: z.ZodOptional<z.ZodString>;
779
- wabaExternalId: z.ZodString;
780
- phoneNumberId: z.ZodString;
781
- email: z.ZodString;
782
- clientId: z.ZodOptional<z.ZodString>;
783
- channelId: z.ZodOptional<z.ZodString>;
784
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
778
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
779
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
780
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
781
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
782
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
783
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
784
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
785
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
786
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
785
787
  apiKey: z.ZodOptional<z.ZodString>;
786
788
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
789
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
787
790
  }, "strip", z.ZodTypeAny, {
788
- email: string;
789
- wabaExternalId: string;
790
- phoneNumberId: string;
791
- wabaBusinessId?: string | undefined;
792
- clientId?: string | undefined;
793
- channelId?: string | undefined;
794
- status?: "active" | "pending" | undefined;
791
+ wabaBusinessId?: string | null | undefined;
792
+ wabaExternalId?: string | null | undefined;
793
+ phoneNumberId?: string | null | undefined;
794
+ email?: string | null | undefined;
795
+ clientId?: string | null | undefined;
796
+ channelId?: string | null | undefined;
797
+ waapiInstanceId?: string | null | undefined;
798
+ qr?: string | null | undefined;
799
+ status?: "active" | "pending" | "waapi-qr" | undefined;
795
800
  apiKey?: string | undefined;
796
801
  tier?: "basic" | "regular" | "premium" | undefined;
802
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
797
803
  }, {
798
- email: string;
799
- wabaExternalId: string;
800
- phoneNumberId: string;
801
- wabaBusinessId?: string | undefined;
802
- clientId?: string | undefined;
803
- channelId?: string | undefined;
804
- status?: "active" | "pending" | undefined;
804
+ wabaBusinessId?: string | null | undefined;
805
+ wabaExternalId?: string | null | undefined;
806
+ phoneNumberId?: string | null | undefined;
807
+ email?: string | null | undefined;
808
+ clientId?: string | null | undefined;
809
+ channelId?: string | null | undefined;
810
+ waapiInstanceId?: string | null | undefined;
811
+ qr?: string | null | undefined;
812
+ status?: "active" | "pending" | "waapi-qr" | undefined;
805
813
  apiKey?: string | undefined;
806
814
  tier?: "basic" | "regular" | "premium" | undefined;
815
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
807
816
  }>>;
808
817
  vonageCredentials: z.ZodOptional<z.ZodObject<{
809
818
  mobileNumber: z.ZodString;
@@ -829,15 +838,18 @@ export declare const ChannelSchema: z.ZodObject<{
829
838
  additionalCredentials?: any;
830
839
  senderId?: string | undefined;
831
840
  whatsapp?: {
832
- email: string;
833
- wabaExternalId: string;
834
- phoneNumberId: string;
835
- wabaBusinessId?: string | undefined;
836
- clientId?: string | undefined;
837
- channelId?: string | undefined;
838
- status?: "active" | "pending" | undefined;
841
+ wabaBusinessId?: string | null | undefined;
842
+ wabaExternalId?: string | null | undefined;
843
+ phoneNumberId?: string | null | undefined;
844
+ email?: string | null | undefined;
845
+ clientId?: string | null | undefined;
846
+ channelId?: string | null | undefined;
847
+ waapiInstanceId?: string | null | undefined;
848
+ qr?: string | null | undefined;
849
+ status?: "active" | "pending" | "waapi-qr" | undefined;
839
850
  apiKey?: string | undefined;
840
851
  tier?: "basic" | "regular" | "premium" | undefined;
852
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
841
853
  } | undefined;
842
854
  vonageCredentials?: {
843
855
  apiKey: string;
@@ -855,15 +867,18 @@ export declare const ChannelSchema: z.ZodObject<{
855
867
  additionalCredentials?: any;
856
868
  senderId?: string | undefined;
857
869
  whatsapp?: {
858
- email: string;
859
- wabaExternalId: string;
860
- phoneNumberId: string;
861
- wabaBusinessId?: string | undefined;
862
- clientId?: string | undefined;
863
- channelId?: string | undefined;
864
- status?: "active" | "pending" | undefined;
870
+ wabaBusinessId?: string | null | undefined;
871
+ wabaExternalId?: string | null | undefined;
872
+ phoneNumberId?: string | null | undefined;
873
+ email?: string | null | undefined;
874
+ clientId?: string | null | undefined;
875
+ channelId?: string | null | undefined;
876
+ waapiInstanceId?: string | null | undefined;
877
+ qr?: string | null | undefined;
878
+ status?: "active" | "pending" | "waapi-qr" | undefined;
865
879
  apiKey?: string | undefined;
866
880
  tier?: "basic" | "regular" | "premium" | undefined;
881
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
867
882
  } | undefined;
868
883
  vonageCredentials?: {
869
884
  apiKey: string;
@@ -911,15 +926,18 @@ export declare const ChannelSchema: z.ZodObject<{
911
926
  additionalCredentials?: any;
912
927
  senderId?: string | undefined;
913
928
  whatsapp?: {
914
- email: string;
915
- wabaExternalId: string;
916
- phoneNumberId: string;
917
- wabaBusinessId?: string | undefined;
918
- clientId?: string | undefined;
919
- channelId?: string | undefined;
920
- status?: "active" | "pending" | undefined;
929
+ wabaBusinessId?: string | null | undefined;
930
+ wabaExternalId?: string | null | undefined;
931
+ phoneNumberId?: string | null | undefined;
932
+ email?: string | null | undefined;
933
+ clientId?: string | null | undefined;
934
+ channelId?: string | null | undefined;
935
+ waapiInstanceId?: string | null | undefined;
936
+ qr?: string | null | undefined;
937
+ status?: "active" | "pending" | "waapi-qr" | undefined;
921
938
  apiKey?: string | undefined;
922
939
  tier?: "basic" | "regular" | "premium" | undefined;
940
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
923
941
  } | undefined;
924
942
  vonageCredentials?: {
925
943
  apiKey: string;
@@ -955,15 +973,18 @@ export declare const ChannelSchema: z.ZodObject<{
955
973
  additionalCredentials?: any;
956
974
  senderId?: string | undefined;
957
975
  whatsapp?: {
958
- email: string;
959
- wabaExternalId: string;
960
- phoneNumberId: string;
961
- wabaBusinessId?: string | undefined;
962
- clientId?: string | undefined;
963
- channelId?: string | undefined;
964
- status?: "active" | "pending" | undefined;
976
+ wabaBusinessId?: string | null | undefined;
977
+ wabaExternalId?: string | null | undefined;
978
+ phoneNumberId?: string | null | undefined;
979
+ email?: string | null | undefined;
980
+ clientId?: string | null | undefined;
981
+ channelId?: string | null | undefined;
982
+ waapiInstanceId?: string | null | undefined;
983
+ qr?: string | null | undefined;
984
+ status?: "active" | "pending" | "waapi-qr" | undefined;
965
985
  apiKey?: string | undefined;
966
986
  tier?: "basic" | "regular" | "premium" | undefined;
987
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
967
988
  } | undefined;
968
989
  vonageCredentials?: {
969
990
  apiKey: string;
@@ -999,35 +1020,44 @@ export declare const ReloginChanelSchema: z.ZodObject<{
999
1020
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1000
1021
  senderId: z.ZodOptional<z.ZodString>;
1001
1022
  whatsapp: z.ZodOptional<z.ZodObject<{
1002
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1003
- wabaExternalId: z.ZodString;
1004
- phoneNumberId: z.ZodString;
1005
- email: z.ZodString;
1006
- clientId: z.ZodOptional<z.ZodString>;
1007
- channelId: z.ZodOptional<z.ZodString>;
1008
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1023
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1024
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1025
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1026
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1027
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1028
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1029
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1030
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1031
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1009
1032
  apiKey: z.ZodOptional<z.ZodString>;
1010
1033
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1034
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1011
1035
  }, "strip", z.ZodTypeAny, {
1012
- email: string;
1013
- wabaExternalId: string;
1014
- phoneNumberId: string;
1015
- wabaBusinessId?: string | undefined;
1016
- clientId?: string | undefined;
1017
- channelId?: string | undefined;
1018
- status?: "active" | "pending" | undefined;
1036
+ wabaBusinessId?: string | null | undefined;
1037
+ wabaExternalId?: string | null | undefined;
1038
+ phoneNumberId?: string | null | undefined;
1039
+ email?: string | null | undefined;
1040
+ clientId?: string | null | undefined;
1041
+ channelId?: string | null | undefined;
1042
+ waapiInstanceId?: string | null | undefined;
1043
+ qr?: string | null | undefined;
1044
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1019
1045
  apiKey?: string | undefined;
1020
1046
  tier?: "basic" | "regular" | "premium" | undefined;
1047
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1021
1048
  }, {
1022
- email: string;
1023
- wabaExternalId: string;
1024
- phoneNumberId: string;
1025
- wabaBusinessId?: string | undefined;
1026
- clientId?: string | undefined;
1027
- channelId?: string | undefined;
1028
- status?: "active" | "pending" | undefined;
1049
+ wabaBusinessId?: string | null | undefined;
1050
+ wabaExternalId?: string | null | undefined;
1051
+ phoneNumberId?: string | null | undefined;
1052
+ email?: string | null | undefined;
1053
+ clientId?: string | null | undefined;
1054
+ channelId?: string | null | undefined;
1055
+ waapiInstanceId?: string | null | undefined;
1056
+ qr?: string | null | undefined;
1057
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1029
1058
  apiKey?: string | undefined;
1030
1059
  tier?: "basic" | "regular" | "premium" | undefined;
1060
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1031
1061
  }>>;
1032
1062
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1033
1063
  mobileNumber: z.ZodString;
@@ -1053,15 +1083,18 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1053
1083
  additionalCredentials?: any;
1054
1084
  senderId?: string | undefined;
1055
1085
  whatsapp?: {
1056
- email: string;
1057
- wabaExternalId: string;
1058
- phoneNumberId: string;
1059
- wabaBusinessId?: string | undefined;
1060
- clientId?: string | undefined;
1061
- channelId?: string | undefined;
1062
- status?: "active" | "pending" | undefined;
1086
+ wabaBusinessId?: string | null | undefined;
1087
+ wabaExternalId?: string | null | undefined;
1088
+ phoneNumberId?: string | null | undefined;
1089
+ email?: string | null | undefined;
1090
+ clientId?: string | null | undefined;
1091
+ channelId?: string | null | undefined;
1092
+ waapiInstanceId?: string | null | undefined;
1093
+ qr?: string | null | undefined;
1094
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1063
1095
  apiKey?: string | undefined;
1064
1096
  tier?: "basic" | "regular" | "premium" | undefined;
1097
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1065
1098
  } | undefined;
1066
1099
  vonageCredentials?: {
1067
1100
  apiKey: string;
@@ -1079,15 +1112,18 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1079
1112
  additionalCredentials?: any;
1080
1113
  senderId?: string | undefined;
1081
1114
  whatsapp?: {
1082
- email: string;
1083
- wabaExternalId: string;
1084
- phoneNumberId: string;
1085
- wabaBusinessId?: string | undefined;
1086
- clientId?: string | undefined;
1087
- channelId?: string | undefined;
1088
- status?: "active" | "pending" | undefined;
1115
+ wabaBusinessId?: string | null | undefined;
1116
+ wabaExternalId?: string | null | undefined;
1117
+ phoneNumberId?: string | null | undefined;
1118
+ email?: string | null | undefined;
1119
+ clientId?: string | null | undefined;
1120
+ channelId?: string | null | undefined;
1121
+ waapiInstanceId?: string | null | undefined;
1122
+ qr?: string | null | undefined;
1123
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1089
1124
  apiKey?: string | undefined;
1090
1125
  tier?: "basic" | "regular" | "premium" | undefined;
1126
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1091
1127
  } | undefined;
1092
1128
  vonageCredentials?: {
1093
1129
  apiKey: string;
@@ -1140,15 +1176,18 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1140
1176
  additionalCredentials?: any;
1141
1177
  senderId?: string | undefined;
1142
1178
  whatsapp?: {
1143
- email: string;
1144
- wabaExternalId: string;
1145
- phoneNumberId: string;
1146
- wabaBusinessId?: string | undefined;
1147
- clientId?: string | undefined;
1148
- channelId?: string | undefined;
1149
- status?: "active" | "pending" | undefined;
1179
+ wabaBusinessId?: string | null | undefined;
1180
+ wabaExternalId?: string | null | undefined;
1181
+ phoneNumberId?: string | null | undefined;
1182
+ email?: string | null | undefined;
1183
+ clientId?: string | null | undefined;
1184
+ channelId?: string | null | undefined;
1185
+ waapiInstanceId?: string | null | undefined;
1186
+ qr?: string | null | undefined;
1187
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1150
1188
  apiKey?: string | undefined;
1151
1189
  tier?: "basic" | "regular" | "premium" | undefined;
1190
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1152
1191
  } | undefined;
1153
1192
  vonageCredentials?: {
1154
1193
  apiKey: string;
@@ -1188,15 +1227,18 @@ export declare const ReloginChanelSchema: z.ZodObject<{
1188
1227
  additionalCredentials?: any;
1189
1228
  senderId?: string | undefined;
1190
1229
  whatsapp?: {
1191
- email: string;
1192
- wabaExternalId: string;
1193
- phoneNumberId: string;
1194
- wabaBusinessId?: string | undefined;
1195
- clientId?: string | undefined;
1196
- channelId?: string | undefined;
1197
- status?: "active" | "pending" | undefined;
1230
+ wabaBusinessId?: string | null | undefined;
1231
+ wabaExternalId?: string | null | undefined;
1232
+ phoneNumberId?: string | null | undefined;
1233
+ email?: string | null | undefined;
1234
+ clientId?: string | null | undefined;
1235
+ channelId?: string | null | undefined;
1236
+ waapiInstanceId?: string | null | undefined;
1237
+ qr?: string | null | undefined;
1238
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1198
1239
  apiKey?: string | undefined;
1199
1240
  tier?: "basic" | "regular" | "premium" | undefined;
1241
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1200
1242
  } | undefined;
1201
1243
  vonageCredentials?: {
1202
1244
  apiKey: string;
@@ -1240,35 +1282,44 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1240
1282
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1241
1283
  senderId: z.ZodOptional<z.ZodString>;
1242
1284
  whatsapp: z.ZodOptional<z.ZodObject<{
1243
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1244
- wabaExternalId: z.ZodString;
1245
- phoneNumberId: z.ZodString;
1246
- email: z.ZodString;
1247
- clientId: z.ZodOptional<z.ZodString>;
1248
- channelId: z.ZodOptional<z.ZodString>;
1249
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1285
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1286
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1287
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1288
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1289
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1290
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1291
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1292
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1293
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1250
1294
  apiKey: z.ZodOptional<z.ZodString>;
1251
1295
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1296
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1252
1297
  }, "strip", z.ZodTypeAny, {
1253
- email: string;
1254
- wabaExternalId: string;
1255
- phoneNumberId: string;
1256
- wabaBusinessId?: string | undefined;
1257
- clientId?: string | undefined;
1258
- channelId?: string | undefined;
1259
- status?: "active" | "pending" | undefined;
1298
+ wabaBusinessId?: string | null | undefined;
1299
+ wabaExternalId?: string | null | undefined;
1300
+ phoneNumberId?: string | null | undefined;
1301
+ email?: string | null | undefined;
1302
+ clientId?: string | null | undefined;
1303
+ channelId?: string | null | undefined;
1304
+ waapiInstanceId?: string | null | undefined;
1305
+ qr?: string | null | undefined;
1306
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1260
1307
  apiKey?: string | undefined;
1261
1308
  tier?: "basic" | "regular" | "premium" | undefined;
1309
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1262
1310
  }, {
1263
- email: string;
1264
- wabaExternalId: string;
1265
- phoneNumberId: string;
1266
- wabaBusinessId?: string | undefined;
1267
- clientId?: string | undefined;
1268
- channelId?: string | undefined;
1269
- status?: "active" | "pending" | undefined;
1311
+ wabaBusinessId?: string | null | undefined;
1312
+ wabaExternalId?: string | null | undefined;
1313
+ phoneNumberId?: string | null | undefined;
1314
+ email?: string | null | undefined;
1315
+ clientId?: string | null | undefined;
1316
+ channelId?: string | null | undefined;
1317
+ waapiInstanceId?: string | null | undefined;
1318
+ qr?: string | null | undefined;
1319
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1270
1320
  apiKey?: string | undefined;
1271
1321
  tier?: "basic" | "regular" | "premium" | undefined;
1322
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1272
1323
  }>>;
1273
1324
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1274
1325
  mobileNumber: z.ZodString;
@@ -1294,15 +1345,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1294
1345
  additionalCredentials?: any;
1295
1346
  senderId?: string | undefined;
1296
1347
  whatsapp?: {
1297
- email: string;
1298
- wabaExternalId: string;
1299
- phoneNumberId: string;
1300
- wabaBusinessId?: string | undefined;
1301
- clientId?: string | undefined;
1302
- channelId?: string | undefined;
1303
- status?: "active" | "pending" | undefined;
1348
+ wabaBusinessId?: string | null | undefined;
1349
+ wabaExternalId?: string | null | undefined;
1350
+ phoneNumberId?: string | null | undefined;
1351
+ email?: string | null | undefined;
1352
+ clientId?: string | null | undefined;
1353
+ channelId?: string | null | undefined;
1354
+ waapiInstanceId?: string | null | undefined;
1355
+ qr?: string | null | undefined;
1356
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1304
1357
  apiKey?: string | undefined;
1305
1358
  tier?: "basic" | "regular" | "premium" | undefined;
1359
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1306
1360
  } | undefined;
1307
1361
  vonageCredentials?: {
1308
1362
  apiKey: string;
@@ -1320,15 +1374,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1320
1374
  additionalCredentials?: any;
1321
1375
  senderId?: string | undefined;
1322
1376
  whatsapp?: {
1323
- email: string;
1324
- wabaExternalId: string;
1325
- phoneNumberId: string;
1326
- wabaBusinessId?: string | undefined;
1327
- clientId?: string | undefined;
1328
- channelId?: string | undefined;
1329
- status?: "active" | "pending" | undefined;
1377
+ wabaBusinessId?: string | null | undefined;
1378
+ wabaExternalId?: string | null | undefined;
1379
+ phoneNumberId?: string | null | undefined;
1380
+ email?: string | null | undefined;
1381
+ clientId?: string | null | undefined;
1382
+ channelId?: string | null | undefined;
1383
+ waapiInstanceId?: string | null | undefined;
1384
+ qr?: string | null | undefined;
1385
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1330
1386
  apiKey?: string | undefined;
1331
1387
  tier?: "basic" | "regular" | "premium" | undefined;
1388
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1332
1389
  } | undefined;
1333
1390
  vonageCredentials?: {
1334
1391
  apiKey: string;
@@ -1376,15 +1433,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1376
1433
  additionalCredentials?: any;
1377
1434
  senderId?: string | undefined;
1378
1435
  whatsapp?: {
1379
- email: string;
1380
- wabaExternalId: string;
1381
- phoneNumberId: string;
1382
- wabaBusinessId?: string | undefined;
1383
- clientId?: string | undefined;
1384
- channelId?: string | undefined;
1385
- status?: "active" | "pending" | undefined;
1436
+ wabaBusinessId?: string | null | undefined;
1437
+ wabaExternalId?: string | null | undefined;
1438
+ phoneNumberId?: string | null | undefined;
1439
+ email?: string | null | undefined;
1440
+ clientId?: string | null | undefined;
1441
+ channelId?: string | null | undefined;
1442
+ waapiInstanceId?: string | null | undefined;
1443
+ qr?: string | null | undefined;
1444
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1386
1445
  apiKey?: string | undefined;
1387
1446
  tier?: "basic" | "regular" | "premium" | undefined;
1447
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1388
1448
  } | undefined;
1389
1449
  vonageCredentials?: {
1390
1450
  apiKey: string;
@@ -1420,15 +1480,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1420
1480
  additionalCredentials?: any;
1421
1481
  senderId?: string | undefined;
1422
1482
  whatsapp?: {
1423
- email: string;
1424
- wabaExternalId: string;
1425
- phoneNumberId: string;
1426
- wabaBusinessId?: string | undefined;
1427
- clientId?: string | undefined;
1428
- channelId?: string | undefined;
1429
- status?: "active" | "pending" | undefined;
1483
+ wabaBusinessId?: string | null | undefined;
1484
+ wabaExternalId?: string | null | undefined;
1485
+ phoneNumberId?: string | null | undefined;
1486
+ email?: string | null | undefined;
1487
+ clientId?: string | null | undefined;
1488
+ channelId?: string | null | undefined;
1489
+ waapiInstanceId?: string | null | undefined;
1490
+ qr?: string | null | undefined;
1491
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1430
1492
  apiKey?: string | undefined;
1431
1493
  tier?: "basic" | "regular" | "premium" | undefined;
1494
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1432
1495
  } | undefined;
1433
1496
  vonageCredentials?: {
1434
1497
  apiKey: string;
@@ -1467,15 +1530,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1467
1530
  additionalCredentials?: any;
1468
1531
  senderId?: string | undefined;
1469
1532
  whatsapp?: {
1470
- email: string;
1471
- wabaExternalId: string;
1472
- phoneNumberId: string;
1473
- wabaBusinessId?: string | undefined;
1474
- clientId?: string | undefined;
1475
- channelId?: string | undefined;
1476
- status?: "active" | "pending" | undefined;
1533
+ wabaBusinessId?: string | null | undefined;
1534
+ wabaExternalId?: string | null | undefined;
1535
+ phoneNumberId?: string | null | undefined;
1536
+ email?: string | null | undefined;
1537
+ clientId?: string | null | undefined;
1538
+ channelId?: string | null | undefined;
1539
+ waapiInstanceId?: string | null | undefined;
1540
+ qr?: string | null | undefined;
1541
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1477
1542
  apiKey?: string | undefined;
1478
1543
  tier?: "basic" | "regular" | "premium" | undefined;
1544
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1479
1545
  } | undefined;
1480
1546
  vonageCredentials?: {
1481
1547
  apiKey: string;
@@ -1514,15 +1580,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1514
1580
  additionalCredentials?: any;
1515
1581
  senderId?: string | undefined;
1516
1582
  whatsapp?: {
1517
- email: string;
1518
- wabaExternalId: string;
1519
- phoneNumberId: string;
1520
- wabaBusinessId?: string | undefined;
1521
- clientId?: string | undefined;
1522
- channelId?: string | undefined;
1523
- status?: "active" | "pending" | undefined;
1583
+ wabaBusinessId?: string | null | undefined;
1584
+ wabaExternalId?: string | null | undefined;
1585
+ phoneNumberId?: string | null | undefined;
1586
+ email?: string | null | undefined;
1587
+ clientId?: string | null | undefined;
1588
+ channelId?: string | null | undefined;
1589
+ waapiInstanceId?: string | null | undefined;
1590
+ qr?: string | null | undefined;
1591
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1524
1592
  apiKey?: string | undefined;
1525
1593
  tier?: "basic" | "regular" | "premium" | undefined;
1594
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1526
1595
  } | undefined;
1527
1596
  vonageCredentials?: {
1528
1597
  apiKey: string;
@@ -1552,7 +1621,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1552
1621
  id: z.ZodOptional<z.ZodString>;
1553
1622
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1554
1623
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
1555
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1624
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
1556
1625
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
1557
1626
  metadata: z.ZodOptional<z.ZodAny>;
1558
1627
  platformId: z.ZodOptional<z.ZodString>;
@@ -1604,7 +1673,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1604
1673
  parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1605
1674
  feedPostId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1606
1675
  }, "strip", z.ZodTypeAny, {
1607
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1676
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1608
1677
  direction: "incoming" | "outgoing" | "system";
1609
1678
  id?: string | undefined;
1610
1679
  message?: string | null | undefined;
@@ -1635,7 +1704,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1635
1704
  parentMessageId?: string | null | undefined;
1636
1705
  feedPostId?: string | null | undefined;
1637
1706
  }, {
1638
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1707
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1639
1708
  direction: "incoming" | "outgoing" | "system";
1640
1709
  id?: string | undefined;
1641
1710
  message?: string | null | undefined;
@@ -1668,7 +1737,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1668
1737
  }>;
1669
1738
  }, "strip", z.ZodTypeAny, {
1670
1739
  message: {
1671
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1740
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1672
1741
  direction: "incoming" | "outgoing" | "system";
1673
1742
  id?: string | undefined;
1674
1743
  message?: string | null | undefined;
@@ -1713,15 +1782,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1713
1782
  additionalCredentials?: any;
1714
1783
  senderId?: string | undefined;
1715
1784
  whatsapp?: {
1716
- email: string;
1717
- wabaExternalId: string;
1718
- phoneNumberId: string;
1719
- wabaBusinessId?: string | undefined;
1720
- clientId?: string | undefined;
1721
- channelId?: string | undefined;
1722
- status?: "active" | "pending" | undefined;
1785
+ wabaBusinessId?: string | null | undefined;
1786
+ wabaExternalId?: string | null | undefined;
1787
+ phoneNumberId?: string | null | undefined;
1788
+ email?: string | null | undefined;
1789
+ clientId?: string | null | undefined;
1790
+ channelId?: string | null | undefined;
1791
+ waapiInstanceId?: string | null | undefined;
1792
+ qr?: string | null | undefined;
1793
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1723
1794
  apiKey?: string | undefined;
1724
1795
  tier?: "basic" | "regular" | "premium" | undefined;
1796
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1725
1797
  } | undefined;
1726
1798
  vonageCredentials?: {
1727
1799
  apiKey: string;
@@ -1749,7 +1821,7 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1749
1821
  };
1750
1822
  }, {
1751
1823
  message: {
1752
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1824
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
1753
1825
  direction: "incoming" | "outgoing" | "system";
1754
1826
  id?: string | undefined;
1755
1827
  message?: string | null | undefined;
@@ -1794,15 +1866,18 @@ export declare const DeleteMessageToPlatformSchema: z.ZodObject<{
1794
1866
  additionalCredentials?: any;
1795
1867
  senderId?: string | undefined;
1796
1868
  whatsapp?: {
1797
- email: string;
1798
- wabaExternalId: string;
1799
- phoneNumberId: string;
1800
- wabaBusinessId?: string | undefined;
1801
- clientId?: string | undefined;
1802
- channelId?: string | undefined;
1803
- status?: "active" | "pending" | undefined;
1869
+ wabaBusinessId?: string | null | undefined;
1870
+ wabaExternalId?: string | null | undefined;
1871
+ phoneNumberId?: string | null | undefined;
1872
+ email?: string | null | undefined;
1873
+ clientId?: string | null | undefined;
1874
+ channelId?: string | null | undefined;
1875
+ waapiInstanceId?: string | null | undefined;
1876
+ qr?: string | null | undefined;
1877
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1804
1878
  apiKey?: string | undefined;
1805
1879
  tier?: "basic" | "regular" | "premium" | undefined;
1880
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1806
1881
  } | undefined;
1807
1882
  vonageCredentials?: {
1808
1883
  apiKey: string;
@@ -1966,35 +2041,44 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
1966
2041
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1967
2042
  senderId: z.ZodOptional<z.ZodString>;
1968
2043
  whatsapp: z.ZodOptional<z.ZodObject<{
1969
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1970
- wabaExternalId: z.ZodString;
1971
- phoneNumberId: z.ZodString;
1972
- email: z.ZodString;
1973
- clientId: z.ZodOptional<z.ZodString>;
1974
- channelId: z.ZodOptional<z.ZodString>;
1975
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2044
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2045
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2046
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2047
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2048
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2049
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2050
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2051
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2052
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1976
2053
  apiKey: z.ZodOptional<z.ZodString>;
1977
2054
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2055
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1978
2056
  }, "strip", z.ZodTypeAny, {
1979
- email: string;
1980
- wabaExternalId: string;
1981
- phoneNumberId: string;
1982
- wabaBusinessId?: string | undefined;
1983
- clientId?: string | undefined;
1984
- channelId?: string | undefined;
1985
- status?: "active" | "pending" | undefined;
2057
+ wabaBusinessId?: string | null | undefined;
2058
+ wabaExternalId?: string | null | undefined;
2059
+ phoneNumberId?: string | null | undefined;
2060
+ email?: string | null | undefined;
2061
+ clientId?: string | null | undefined;
2062
+ channelId?: string | null | undefined;
2063
+ waapiInstanceId?: string | null | undefined;
2064
+ qr?: string | null | undefined;
2065
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1986
2066
  apiKey?: string | undefined;
1987
2067
  tier?: "basic" | "regular" | "premium" | undefined;
2068
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1988
2069
  }, {
1989
- email: string;
1990
- wabaExternalId: string;
1991
- phoneNumberId: string;
1992
- wabaBusinessId?: string | undefined;
1993
- clientId?: string | undefined;
1994
- channelId?: string | undefined;
1995
- status?: "active" | "pending" | undefined;
2070
+ wabaBusinessId?: string | null | undefined;
2071
+ wabaExternalId?: string | null | undefined;
2072
+ phoneNumberId?: string | null | undefined;
2073
+ email?: string | null | undefined;
2074
+ clientId?: string | null | undefined;
2075
+ channelId?: string | null | undefined;
2076
+ waapiInstanceId?: string | null | undefined;
2077
+ qr?: string | null | undefined;
2078
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1996
2079
  apiKey?: string | undefined;
1997
2080
  tier?: "basic" | "regular" | "premium" | undefined;
2081
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1998
2082
  }>>;
1999
2083
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2000
2084
  mobileNumber: z.ZodString;
@@ -2020,15 +2104,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2020
2104
  additionalCredentials?: any;
2021
2105
  senderId?: string | undefined;
2022
2106
  whatsapp?: {
2023
- email: string;
2024
- wabaExternalId: string;
2025
- phoneNumberId: string;
2026
- wabaBusinessId?: string | undefined;
2027
- clientId?: string | undefined;
2028
- channelId?: string | undefined;
2029
- status?: "active" | "pending" | undefined;
2107
+ wabaBusinessId?: string | null | undefined;
2108
+ wabaExternalId?: string | null | undefined;
2109
+ phoneNumberId?: string | null | undefined;
2110
+ email?: string | null | undefined;
2111
+ clientId?: string | null | undefined;
2112
+ channelId?: string | null | undefined;
2113
+ waapiInstanceId?: string | null | undefined;
2114
+ qr?: string | null | undefined;
2115
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2030
2116
  apiKey?: string | undefined;
2031
2117
  tier?: "basic" | "regular" | "premium" | undefined;
2118
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2032
2119
  } | undefined;
2033
2120
  vonageCredentials?: {
2034
2121
  apiKey: string;
@@ -2046,15 +2133,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2046
2133
  additionalCredentials?: any;
2047
2134
  senderId?: string | undefined;
2048
2135
  whatsapp?: {
2049
- email: string;
2050
- wabaExternalId: string;
2051
- phoneNumberId: string;
2052
- wabaBusinessId?: string | undefined;
2053
- clientId?: string | undefined;
2054
- channelId?: string | undefined;
2055
- status?: "active" | "pending" | undefined;
2136
+ wabaBusinessId?: string | null | undefined;
2137
+ wabaExternalId?: string | null | undefined;
2138
+ phoneNumberId?: string | null | undefined;
2139
+ email?: string | null | undefined;
2140
+ clientId?: string | null | undefined;
2141
+ channelId?: string | null | undefined;
2142
+ waapiInstanceId?: string | null | undefined;
2143
+ qr?: string | null | undefined;
2144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2056
2145
  apiKey?: string | undefined;
2057
2146
  tier?: "basic" | "regular" | "premium" | undefined;
2147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2058
2148
  } | undefined;
2059
2149
  vonageCredentials?: {
2060
2150
  apiKey: string;
@@ -2102,15 +2192,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2102
2192
  additionalCredentials?: any;
2103
2193
  senderId?: string | undefined;
2104
2194
  whatsapp?: {
2105
- email: string;
2106
- wabaExternalId: string;
2107
- phoneNumberId: string;
2108
- wabaBusinessId?: string | undefined;
2109
- clientId?: string | undefined;
2110
- channelId?: string | undefined;
2111
- status?: "active" | "pending" | undefined;
2195
+ wabaBusinessId?: string | null | undefined;
2196
+ wabaExternalId?: string | null | undefined;
2197
+ phoneNumberId?: string | null | undefined;
2198
+ email?: string | null | undefined;
2199
+ clientId?: string | null | undefined;
2200
+ channelId?: string | null | undefined;
2201
+ waapiInstanceId?: string | null | undefined;
2202
+ qr?: string | null | undefined;
2203
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2112
2204
  apiKey?: string | undefined;
2113
2205
  tier?: "basic" | "regular" | "premium" | undefined;
2206
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2114
2207
  } | undefined;
2115
2208
  vonageCredentials?: {
2116
2209
  apiKey: string;
@@ -2146,15 +2239,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2146
2239
  additionalCredentials?: any;
2147
2240
  senderId?: string | undefined;
2148
2241
  whatsapp?: {
2149
- email: string;
2150
- wabaExternalId: string;
2151
- phoneNumberId: string;
2152
- wabaBusinessId?: string | undefined;
2153
- clientId?: string | undefined;
2154
- channelId?: string | undefined;
2155
- status?: "active" | "pending" | undefined;
2242
+ wabaBusinessId?: string | null | undefined;
2243
+ wabaExternalId?: string | null | undefined;
2244
+ phoneNumberId?: string | null | undefined;
2245
+ email?: string | null | undefined;
2246
+ clientId?: string | null | undefined;
2247
+ channelId?: string | null | undefined;
2248
+ waapiInstanceId?: string | null | undefined;
2249
+ qr?: string | null | undefined;
2250
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2156
2251
  apiKey?: string | undefined;
2157
2252
  tier?: "basic" | "regular" | "premium" | undefined;
2253
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2158
2254
  } | undefined;
2159
2255
  vonageCredentials?: {
2160
2256
  apiKey: string;
@@ -2195,15 +2291,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2195
2291
  additionalCredentials?: any;
2196
2292
  senderId?: string | undefined;
2197
2293
  whatsapp?: {
2198
- email: string;
2199
- wabaExternalId: string;
2200
- phoneNumberId: string;
2201
- wabaBusinessId?: string | undefined;
2202
- clientId?: string | undefined;
2203
- channelId?: string | undefined;
2204
- status?: "active" | "pending" | undefined;
2294
+ wabaBusinessId?: string | null | undefined;
2295
+ wabaExternalId?: string | null | undefined;
2296
+ phoneNumberId?: string | null | undefined;
2297
+ email?: string | null | undefined;
2298
+ clientId?: string | null | undefined;
2299
+ channelId?: string | null | undefined;
2300
+ waapiInstanceId?: string | null | undefined;
2301
+ qr?: string | null | undefined;
2302
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2205
2303
  apiKey?: string | undefined;
2206
2304
  tier?: "basic" | "regular" | "premium" | undefined;
2305
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2207
2306
  } | undefined;
2208
2307
  vonageCredentials?: {
2209
2308
  apiKey: string;
@@ -2283,15 +2382,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2283
2382
  additionalCredentials?: any;
2284
2383
  senderId?: string | undefined;
2285
2384
  whatsapp?: {
2286
- email: string;
2287
- wabaExternalId: string;
2288
- phoneNumberId: string;
2289
- wabaBusinessId?: string | undefined;
2290
- clientId?: string | undefined;
2291
- channelId?: string | undefined;
2292
- status?: "active" | "pending" | undefined;
2385
+ wabaBusinessId?: string | null | undefined;
2386
+ wabaExternalId?: string | null | undefined;
2387
+ phoneNumberId?: string | null | undefined;
2388
+ email?: string | null | undefined;
2389
+ clientId?: string | null | undefined;
2390
+ channelId?: string | null | undefined;
2391
+ waapiInstanceId?: string | null | undefined;
2392
+ qr?: string | null | undefined;
2393
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2293
2394
  apiKey?: string | undefined;
2294
2395
  tier?: "basic" | "regular" | "premium" | undefined;
2396
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2295
2397
  } | undefined;
2296
2398
  vonageCredentials?: {
2297
2399
  apiKey: string;
@@ -2362,7 +2464,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2362
2464
  id: z.ZodOptional<z.ZodString>;
2363
2465
  message: z.ZodOptional<z.ZodString>;
2364
2466
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2365
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2467
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2366
2468
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2367
2469
  metadata: z.ZodOptional<z.ZodAny>;
2368
2470
  platformId: z.ZodOptional<z.ZodString>;
@@ -2418,7 +2520,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2418
2520
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2419
2521
  label: z.ZodOptional<z.ZodString>;
2420
2522
  }, "strip", z.ZodTypeAny, {
2421
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2523
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2422
2524
  direction: "incoming" | "outgoing" | "system";
2423
2525
  id?: string | undefined;
2424
2526
  message?: string | undefined;
@@ -2453,7 +2555,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2453
2555
  editedAt?: string | Date | null | undefined;
2454
2556
  label?: string | undefined;
2455
2557
  }, {
2456
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2558
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2457
2559
  direction: "incoming" | "outgoing" | "system";
2458
2560
  id?: string | undefined;
2459
2561
  message?: string | undefined;
@@ -2490,7 +2592,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2490
2592
  }>;
2491
2593
  }, "strip", z.ZodTypeAny, {
2492
2594
  message: {
2493
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2595
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2494
2596
  direction: "incoming" | "outgoing" | "system";
2495
2597
  id?: string | undefined;
2496
2598
  message?: string | undefined;
@@ -2539,15 +2641,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2539
2641
  additionalCredentials?: any;
2540
2642
  senderId?: string | undefined;
2541
2643
  whatsapp?: {
2542
- email: string;
2543
- wabaExternalId: string;
2544
- phoneNumberId: string;
2545
- wabaBusinessId?: string | undefined;
2546
- clientId?: string | undefined;
2547
- channelId?: string | undefined;
2548
- status?: "active" | "pending" | undefined;
2644
+ wabaBusinessId?: string | null | undefined;
2645
+ wabaExternalId?: string | null | undefined;
2646
+ phoneNumberId?: string | null | undefined;
2647
+ email?: string | null | undefined;
2648
+ clientId?: string | null | undefined;
2649
+ channelId?: string | null | undefined;
2650
+ waapiInstanceId?: string | null | undefined;
2651
+ qr?: string | null | undefined;
2652
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2549
2653
  apiKey?: string | undefined;
2550
2654
  tier?: "basic" | "regular" | "premium" | undefined;
2655
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2551
2656
  } | undefined;
2552
2657
  vonageCredentials?: {
2553
2658
  apiKey: string;
@@ -2617,7 +2722,7 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2617
2722
  isBot: boolean | null;
2618
2723
  }, {
2619
2724
  message: {
2620
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2725
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2621
2726
  direction: "incoming" | "outgoing" | "system";
2622
2727
  id?: string | undefined;
2623
2728
  message?: string | undefined;
@@ -2666,15 +2771,18 @@ export declare const SendMessageToPlatformSchema: z.ZodObject<{
2666
2771
  additionalCredentials?: any;
2667
2772
  senderId?: string | undefined;
2668
2773
  whatsapp?: {
2669
- email: string;
2670
- wabaExternalId: string;
2671
- phoneNumberId: string;
2672
- wabaBusinessId?: string | undefined;
2673
- clientId?: string | undefined;
2674
- channelId?: string | undefined;
2675
- status?: "active" | "pending" | undefined;
2774
+ wabaBusinessId?: string | null | undefined;
2775
+ wabaExternalId?: string | null | undefined;
2776
+ phoneNumberId?: string | null | undefined;
2777
+ email?: string | null | undefined;
2778
+ clientId?: string | null | undefined;
2779
+ channelId?: string | null | undefined;
2780
+ waapiInstanceId?: string | null | undefined;
2781
+ qr?: string | null | undefined;
2782
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2676
2783
  apiKey?: string | undefined;
2677
2784
  tier?: "basic" | "regular" | "premium" | undefined;
2785
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2678
2786
  } | undefined;
2679
2787
  vonageCredentials?: {
2680
2788
  apiKey: string;
@@ -2748,7 +2856,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2748
2856
  id: z.ZodOptional<z.ZodString>;
2749
2857
  message: z.ZodOptional<z.ZodString>;
2750
2858
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
2751
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2859
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
2752
2860
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2753
2861
  metadata: z.ZodOptional<z.ZodAny>;
2754
2862
  platformId: z.ZodOptional<z.ZodString>;
@@ -2804,7 +2912,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2804
2912
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
2805
2913
  label: z.ZodOptional<z.ZodString>;
2806
2914
  }, "strip", z.ZodTypeAny, {
2807
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2915
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2808
2916
  direction: "incoming" | "outgoing" | "system";
2809
2917
  id?: string | undefined;
2810
2918
  message?: string | undefined;
@@ -2839,7 +2947,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
2839
2947
  editedAt?: string | Date | null | undefined;
2840
2948
  label?: string | undefined;
2841
2949
  }, {
2842
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2950
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
2843
2951
  direction: "incoming" | "outgoing" | "system";
2844
2952
  id?: string | undefined;
2845
2953
  message?: string | undefined;
@@ -3009,35 +3117,44 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3009
3117
  additionalCredentials: z.ZodOptional<z.ZodAny>;
3010
3118
  senderId: z.ZodOptional<z.ZodString>;
3011
3119
  whatsapp: z.ZodOptional<z.ZodObject<{
3012
- wabaBusinessId: z.ZodOptional<z.ZodString>;
3013
- wabaExternalId: z.ZodString;
3014
- phoneNumberId: z.ZodString;
3015
- email: z.ZodString;
3016
- clientId: z.ZodOptional<z.ZodString>;
3017
- channelId: z.ZodOptional<z.ZodString>;
3018
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
3120
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3121
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3122
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3123
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3124
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3125
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3126
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3127
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3128
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
3019
3129
  apiKey: z.ZodOptional<z.ZodString>;
3020
3130
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3131
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
3021
3132
  }, "strip", z.ZodTypeAny, {
3022
- email: string;
3023
- wabaExternalId: string;
3024
- phoneNumberId: string;
3025
- wabaBusinessId?: string | undefined;
3026
- clientId?: string | undefined;
3027
- channelId?: string | undefined;
3028
- status?: "active" | "pending" | undefined;
3133
+ wabaBusinessId?: string | null | undefined;
3134
+ wabaExternalId?: string | null | undefined;
3135
+ phoneNumberId?: string | null | undefined;
3136
+ email?: string | null | undefined;
3137
+ clientId?: string | null | undefined;
3138
+ channelId?: string | null | undefined;
3139
+ waapiInstanceId?: string | null | undefined;
3140
+ qr?: string | null | undefined;
3141
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3029
3142
  apiKey?: string | undefined;
3030
3143
  tier?: "basic" | "regular" | "premium" | undefined;
3144
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3031
3145
  }, {
3032
- email: string;
3033
- wabaExternalId: string;
3034
- phoneNumberId: string;
3035
- wabaBusinessId?: string | undefined;
3036
- clientId?: string | undefined;
3037
- channelId?: string | undefined;
3038
- status?: "active" | "pending" | undefined;
3146
+ wabaBusinessId?: string | null | undefined;
3147
+ wabaExternalId?: string | null | undefined;
3148
+ phoneNumberId?: string | null | undefined;
3149
+ email?: string | null | undefined;
3150
+ clientId?: string | null | undefined;
3151
+ channelId?: string | null | undefined;
3152
+ waapiInstanceId?: string | null | undefined;
3153
+ qr?: string | null | undefined;
3154
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3039
3155
  apiKey?: string | undefined;
3040
3156
  tier?: "basic" | "regular" | "premium" | undefined;
3157
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3041
3158
  }>>;
3042
3159
  vonageCredentials: z.ZodOptional<z.ZodObject<{
3043
3160
  mobileNumber: z.ZodString;
@@ -3063,15 +3180,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3063
3180
  additionalCredentials?: any;
3064
3181
  senderId?: string | undefined;
3065
3182
  whatsapp?: {
3066
- email: string;
3067
- wabaExternalId: string;
3068
- phoneNumberId: string;
3069
- wabaBusinessId?: string | undefined;
3070
- clientId?: string | undefined;
3071
- channelId?: string | undefined;
3072
- status?: "active" | "pending" | undefined;
3183
+ wabaBusinessId?: string | null | undefined;
3184
+ wabaExternalId?: string | null | undefined;
3185
+ phoneNumberId?: string | null | undefined;
3186
+ email?: string | null | undefined;
3187
+ clientId?: string | null | undefined;
3188
+ channelId?: string | null | undefined;
3189
+ waapiInstanceId?: string | null | undefined;
3190
+ qr?: string | null | undefined;
3191
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3073
3192
  apiKey?: string | undefined;
3074
3193
  tier?: "basic" | "regular" | "premium" | undefined;
3194
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3075
3195
  } | undefined;
3076
3196
  vonageCredentials?: {
3077
3197
  apiKey: string;
@@ -3089,15 +3209,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3089
3209
  additionalCredentials?: any;
3090
3210
  senderId?: string | undefined;
3091
3211
  whatsapp?: {
3092
- email: string;
3093
- wabaExternalId: string;
3094
- phoneNumberId: string;
3095
- wabaBusinessId?: string | undefined;
3096
- clientId?: string | undefined;
3097
- channelId?: string | undefined;
3098
- status?: "active" | "pending" | undefined;
3212
+ wabaBusinessId?: string | null | undefined;
3213
+ wabaExternalId?: string | null | undefined;
3214
+ phoneNumberId?: string | null | undefined;
3215
+ email?: string | null | undefined;
3216
+ clientId?: string | null | undefined;
3217
+ channelId?: string | null | undefined;
3218
+ waapiInstanceId?: string | null | undefined;
3219
+ qr?: string | null | undefined;
3220
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3099
3221
  apiKey?: string | undefined;
3100
3222
  tier?: "basic" | "regular" | "premium" | undefined;
3223
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3101
3224
  } | undefined;
3102
3225
  vonageCredentials?: {
3103
3226
  apiKey: string;
@@ -3145,15 +3268,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3145
3268
  additionalCredentials?: any;
3146
3269
  senderId?: string | undefined;
3147
3270
  whatsapp?: {
3148
- email: string;
3149
- wabaExternalId: string;
3150
- phoneNumberId: string;
3151
- wabaBusinessId?: string | undefined;
3152
- clientId?: string | undefined;
3153
- channelId?: string | undefined;
3154
- status?: "active" | "pending" | undefined;
3271
+ wabaBusinessId?: string | null | undefined;
3272
+ wabaExternalId?: string | null | undefined;
3273
+ phoneNumberId?: string | null | undefined;
3274
+ email?: string | null | undefined;
3275
+ clientId?: string | null | undefined;
3276
+ channelId?: string | null | undefined;
3277
+ waapiInstanceId?: string | null | undefined;
3278
+ qr?: string | null | undefined;
3279
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3155
3280
  apiKey?: string | undefined;
3156
3281
  tier?: "basic" | "regular" | "premium" | undefined;
3282
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3157
3283
  } | undefined;
3158
3284
  vonageCredentials?: {
3159
3285
  apiKey: string;
@@ -3189,15 +3315,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3189
3315
  additionalCredentials?: any;
3190
3316
  senderId?: string | undefined;
3191
3317
  whatsapp?: {
3192
- email: string;
3193
- wabaExternalId: string;
3194
- phoneNumberId: string;
3195
- wabaBusinessId?: string | undefined;
3196
- clientId?: string | undefined;
3197
- channelId?: string | undefined;
3198
- status?: "active" | "pending" | undefined;
3318
+ wabaBusinessId?: string | null | undefined;
3319
+ wabaExternalId?: string | null | undefined;
3320
+ phoneNumberId?: string | null | undefined;
3321
+ email?: string | null | undefined;
3322
+ clientId?: string | null | undefined;
3323
+ channelId?: string | null | undefined;
3324
+ waapiInstanceId?: string | null | undefined;
3325
+ qr?: string | null | undefined;
3326
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3199
3327
  apiKey?: string | undefined;
3200
3328
  tier?: "basic" | "regular" | "premium" | undefined;
3329
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3201
3330
  } | undefined;
3202
3331
  vonageCredentials?: {
3203
3332
  apiKey: string;
@@ -3238,15 +3367,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3238
3367
  additionalCredentials?: any;
3239
3368
  senderId?: string | undefined;
3240
3369
  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;
3370
+ wabaBusinessId?: string | null | undefined;
3371
+ wabaExternalId?: string | null | undefined;
3372
+ phoneNumberId?: string | null | undefined;
3373
+ email?: string | null | undefined;
3374
+ clientId?: string | null | undefined;
3375
+ channelId?: string | null | undefined;
3376
+ waapiInstanceId?: string | null | undefined;
3377
+ qr?: string | null | undefined;
3378
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3248
3379
  apiKey?: string | undefined;
3249
3380
  tier?: "basic" | "regular" | "premium" | undefined;
3381
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3250
3382
  } | undefined;
3251
3383
  vonageCredentials?: {
3252
3384
  apiKey: string;
@@ -3326,15 +3458,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3326
3458
  additionalCredentials?: any;
3327
3459
  senderId?: string | undefined;
3328
3460
  whatsapp?: {
3329
- email: string;
3330
- wabaExternalId: string;
3331
- phoneNumberId: string;
3332
- wabaBusinessId?: string | undefined;
3333
- clientId?: string | undefined;
3334
- channelId?: string | undefined;
3335
- status?: "active" | "pending" | undefined;
3461
+ wabaBusinessId?: string | null | undefined;
3462
+ wabaExternalId?: string | null | undefined;
3463
+ phoneNumberId?: string | null | undefined;
3464
+ email?: string | null | undefined;
3465
+ clientId?: string | null | undefined;
3466
+ channelId?: string | null | undefined;
3467
+ waapiInstanceId?: string | null | undefined;
3468
+ qr?: string | null | undefined;
3469
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3336
3470
  apiKey?: string | undefined;
3337
3471
  tier?: "basic" | "regular" | "premium" | undefined;
3472
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3338
3473
  } | undefined;
3339
3474
  vonageCredentials?: {
3340
3475
  apiKey: string;
@@ -3414,7 +3549,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3414
3549
  }>>;
3415
3550
  }, "strip", z.ZodTypeAny, {
3416
3551
  message: {
3417
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3552
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3418
3553
  direction: "incoming" | "outgoing" | "system";
3419
3554
  id?: string | undefined;
3420
3555
  message?: string | undefined;
@@ -3463,15 +3598,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3463
3598
  additionalCredentials?: any;
3464
3599
  senderId?: string | undefined;
3465
3600
  whatsapp?: {
3466
- email: string;
3467
- wabaExternalId: string;
3468
- phoneNumberId: string;
3469
- wabaBusinessId?: string | undefined;
3470
- clientId?: string | undefined;
3471
- channelId?: string | undefined;
3472
- status?: "active" | "pending" | undefined;
3601
+ wabaBusinessId?: string | null | undefined;
3602
+ wabaExternalId?: string | null | undefined;
3603
+ phoneNumberId?: string | null | undefined;
3604
+ email?: string | null | undefined;
3605
+ clientId?: string | null | undefined;
3606
+ channelId?: string | null | undefined;
3607
+ waapiInstanceId?: string | null | undefined;
3608
+ qr?: string | null | undefined;
3609
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3473
3610
  apiKey?: string | undefined;
3474
3611
  tier?: "basic" | "regular" | "premium" | undefined;
3612
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3475
3613
  } | undefined;
3476
3614
  vonageCredentials?: {
3477
3615
  apiKey: string;
@@ -3545,7 +3683,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3545
3683
  } | undefined;
3546
3684
  }, {
3547
3685
  message: {
3548
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3686
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
3549
3687
  direction: "incoming" | "outgoing" | "system";
3550
3688
  id?: string | undefined;
3551
3689
  message?: string | undefined;
@@ -3594,15 +3732,18 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3594
3732
  additionalCredentials?: any;
3595
3733
  senderId?: string | undefined;
3596
3734
  whatsapp?: {
3597
- email: string;
3598
- wabaExternalId: string;
3599
- phoneNumberId: string;
3600
- wabaBusinessId?: string | undefined;
3601
- clientId?: string | undefined;
3602
- channelId?: string | undefined;
3603
- status?: "active" | "pending" | undefined;
3735
+ wabaBusinessId?: string | null | undefined;
3736
+ wabaExternalId?: string | null | undefined;
3737
+ phoneNumberId?: string | null | undefined;
3738
+ email?: string | null | undefined;
3739
+ clientId?: string | null | undefined;
3740
+ channelId?: string | null | undefined;
3741
+ waapiInstanceId?: string | null | undefined;
3742
+ qr?: string | null | undefined;
3743
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3604
3744
  apiKey?: string | undefined;
3605
3745
  tier?: "basic" | "regular" | "premium" | undefined;
3746
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3606
3747
  } | undefined;
3607
3748
  vonageCredentials?: {
3608
3749
  apiKey: string;
@@ -3678,7 +3819,7 @@ export declare const SendMessageWithActionTypeSchema: z.ZodObject<{
3678
3819
  export declare const SendMessageResponseSchema: z.ZodObject<{
3679
3820
  requestId: z.ZodString;
3680
3821
  data: z.ZodObject<{
3681
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
3822
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
3682
3823
  message: z.ZodString;
3683
3824
  id: z.ZodString;
3684
3825
  url: z.ZodString;
@@ -3903,9 +4044,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3903
4044
  fileSize: z.ZodNumber;
3904
4045
  fileKey: z.ZodString;
3905
4046
  fileUrl: z.ZodNullable<z.ZodString>;
3906
- status: z.ZodOptional<z.ZodString>;
4047
+ status: z.ZodNullable<z.ZodString>;
3907
4048
  }, "strip", z.ZodTypeAny, {
3908
4049
  id: string;
4050
+ status: string | null;
3909
4051
  createdAt: Date;
3910
4052
  updatedAt: Date;
3911
4053
  deletedAt: Date | null;
@@ -3914,9 +4056,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3914
4056
  bucketName: string;
3915
4057
  fileSize: number;
3916
4058
  fileUrl: string | null;
3917
- status?: string | undefined;
3918
4059
  }, {
3919
4060
  id: string;
4061
+ status: string | null;
3920
4062
  createdAt: Date;
3921
4063
  updatedAt: Date;
3922
4064
  deletedAt: Date | null;
@@ -3925,7 +4067,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
3925
4067
  bucketName: string;
3926
4068
  fileSize: number;
3927
4069
  fileUrl: string | null;
3928
- status?: string | undefined;
3929
4070
  }>;
3930
4071
  assignee: z.ZodObject<{
3931
4072
  id: z.ZodString;
@@ -4520,9 +4661,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4520
4661
  fileSize: z.ZodNumber;
4521
4662
  fileKey: z.ZodString;
4522
4663
  fileUrl: z.ZodNullable<z.ZodString>;
4523
- status: z.ZodOptional<z.ZodString>;
4664
+ status: z.ZodNullable<z.ZodString>;
4524
4665
  }, "strip", z.ZodTypeAny, {
4525
4666
  id: string;
4667
+ status: string | null;
4526
4668
  createdAt: Date;
4527
4669
  updatedAt: Date;
4528
4670
  deletedAt: Date | null;
@@ -4531,9 +4673,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4531
4673
  bucketName: string;
4532
4674
  fileSize: number;
4533
4675
  fileUrl: string | null;
4534
- status?: string | undefined;
4535
4676
  }, {
4536
4677
  id: string;
4678
+ status: string | null;
4537
4679
  createdAt: Date;
4538
4680
  updatedAt: Date;
4539
4681
  deletedAt: Date | null;
@@ -4542,7 +4684,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4542
4684
  bucketName: string;
4543
4685
  fileSize: number;
4544
4686
  fileUrl: string | null;
4545
- status?: string | undefined;
4546
4687
  }>, "many">;
4547
4688
  }, "strip", z.ZodTypeAny, {
4548
4689
  id: string;
@@ -4569,6 +4710,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4569
4710
  dateValue: Date | null;
4570
4711
  uploads: {
4571
4712
  id: string;
4713
+ status: string | null;
4572
4714
  createdAt: Date;
4573
4715
  updatedAt: Date;
4574
4716
  deletedAt: Date | null;
@@ -4577,7 +4719,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4577
4719
  bucketName: string;
4578
4720
  fileSize: number;
4579
4721
  fileUrl: string | null;
4580
- status?: string | undefined;
4581
4722
  }[];
4582
4723
  }, {
4583
4724
  id: string;
@@ -4604,6 +4745,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4604
4745
  dateValue: Date | null;
4605
4746
  uploads: {
4606
4747
  id: string;
4748
+ status: string | null;
4607
4749
  createdAt: Date;
4608
4750
  updatedAt: Date;
4609
4751
  deletedAt: Date | null;
@@ -4612,7 +4754,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4612
4754
  bucketName: string;
4613
4755
  fileSize: number;
4614
4756
  fileUrl: string | null;
4615
- status?: string | undefined;
4616
4757
  }[];
4617
4758
  }>, "many">;
4618
4759
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -4752,6 +4893,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4752
4893
  dateValue: Date | null;
4753
4894
  uploads: {
4754
4895
  id: string;
4896
+ status: string | null;
4755
4897
  createdAt: Date;
4756
4898
  updatedAt: Date;
4757
4899
  deletedAt: Date | null;
@@ -4760,7 +4902,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4760
4902
  bucketName: string;
4761
4903
  fileSize: number;
4762
4904
  fileUrl: string | null;
4763
- status?: string | undefined;
4764
4905
  }[];
4765
4906
  }[];
4766
4907
  company: {
@@ -4863,6 +5004,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4863
5004
  dateValue: Date | null;
4864
5005
  uploads: {
4865
5006
  id: string;
5007
+ status: string | null;
4866
5008
  createdAt: Date;
4867
5009
  updatedAt: Date;
4868
5010
  deletedAt: Date | null;
@@ -4871,7 +5013,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4871
5013
  bucketName: string;
4872
5014
  fileSize: number;
4873
5015
  fileUrl: string | null;
4874
- status?: string | undefined;
4875
5016
  }[];
4876
5017
  }[];
4877
5018
  company: {
@@ -4987,6 +5128,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4987
5128
  dateValue: Date | null;
4988
5129
  uploads: {
4989
5130
  id: string;
5131
+ status: string | null;
4990
5132
  createdAt: Date;
4991
5133
  updatedAt: Date;
4992
5134
  deletedAt: Date | null;
@@ -4995,7 +5137,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
4995
5137
  bucketName: string;
4996
5138
  fileSize: number;
4997
5139
  fileUrl: string | null;
4998
- status?: string | undefined;
4999
5140
  }[];
5000
5141
  }[];
5001
5142
  company: {
@@ -5113,6 +5254,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5113
5254
  dateValue: Date | null;
5114
5255
  uploads: {
5115
5256
  id: string;
5257
+ status: string | null;
5116
5258
  createdAt: Date;
5117
5259
  updatedAt: Date;
5118
5260
  deletedAt: Date | null;
@@ -5121,7 +5263,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5121
5263
  bucketName: string;
5122
5264
  fileSize: number;
5123
5265
  fileUrl: string | null;
5124
- status?: string | undefined;
5125
5266
  }[];
5126
5267
  }[];
5127
5268
  company: {
@@ -5618,35 +5759,44 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5618
5759
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5619
5760
  senderId: z.ZodOptional<z.ZodString>;
5620
5761
  whatsapp: z.ZodOptional<z.ZodObject<{
5621
- wabaBusinessId: z.ZodOptional<z.ZodString>;
5622
- wabaExternalId: z.ZodString;
5623
- phoneNumberId: z.ZodString;
5624
- email: z.ZodString;
5625
- clientId: z.ZodOptional<z.ZodString>;
5626
- channelId: z.ZodOptional<z.ZodString>;
5627
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5762
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5763
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5764
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5765
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5766
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5767
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5768
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5769
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5770
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
5628
5771
  apiKey: z.ZodOptional<z.ZodString>;
5629
5772
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5773
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
5630
5774
  }, "strip", z.ZodTypeAny, {
5631
- email: string;
5632
- wabaExternalId: string;
5633
- phoneNumberId: string;
5634
- wabaBusinessId?: string | undefined;
5635
- clientId?: string | undefined;
5636
- channelId?: string | undefined;
5637
- status?: "active" | "pending" | undefined;
5775
+ wabaBusinessId?: string | null | undefined;
5776
+ wabaExternalId?: string | null | undefined;
5777
+ phoneNumberId?: string | null | undefined;
5778
+ email?: string | null | undefined;
5779
+ clientId?: string | null | undefined;
5780
+ channelId?: string | null | undefined;
5781
+ waapiInstanceId?: string | null | undefined;
5782
+ qr?: string | null | undefined;
5783
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5638
5784
  apiKey?: string | undefined;
5639
5785
  tier?: "basic" | "regular" | "premium" | undefined;
5786
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5640
5787
  }, {
5641
- email: string;
5642
- wabaExternalId: string;
5643
- phoneNumberId: string;
5644
- wabaBusinessId?: string | undefined;
5645
- clientId?: string | undefined;
5646
- channelId?: string | undefined;
5647
- status?: "active" | "pending" | undefined;
5788
+ wabaBusinessId?: string | null | undefined;
5789
+ wabaExternalId?: string | null | undefined;
5790
+ phoneNumberId?: string | null | undefined;
5791
+ email?: string | null | undefined;
5792
+ clientId?: string | null | undefined;
5793
+ channelId?: string | null | undefined;
5794
+ waapiInstanceId?: string | null | undefined;
5795
+ qr?: string | null | undefined;
5796
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5648
5797
  apiKey?: string | undefined;
5649
5798
  tier?: "basic" | "regular" | "premium" | undefined;
5799
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5650
5800
  }>>;
5651
5801
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5652
5802
  mobileNumber: z.ZodString;
@@ -5672,15 +5822,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5672
5822
  additionalCredentials?: any;
5673
5823
  senderId?: string | undefined;
5674
5824
  whatsapp?: {
5675
- email: string;
5676
- wabaExternalId: string;
5677
- phoneNumberId: string;
5678
- wabaBusinessId?: string | undefined;
5679
- clientId?: string | undefined;
5680
- channelId?: string | undefined;
5681
- status?: "active" | "pending" | undefined;
5825
+ wabaBusinessId?: string | null | undefined;
5826
+ wabaExternalId?: string | null | undefined;
5827
+ phoneNumberId?: string | null | undefined;
5828
+ email?: string | null | undefined;
5829
+ clientId?: string | null | undefined;
5830
+ channelId?: string | null | undefined;
5831
+ waapiInstanceId?: string | null | undefined;
5832
+ qr?: string | null | undefined;
5833
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5682
5834
  apiKey?: string | undefined;
5683
5835
  tier?: "basic" | "regular" | "premium" | undefined;
5836
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5684
5837
  } | undefined;
5685
5838
  vonageCredentials?: {
5686
5839
  apiKey: string;
@@ -5698,15 +5851,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5698
5851
  additionalCredentials?: any;
5699
5852
  senderId?: string | undefined;
5700
5853
  whatsapp?: {
5701
- email: string;
5702
- wabaExternalId: string;
5703
- phoneNumberId: string;
5704
- wabaBusinessId?: string | undefined;
5705
- clientId?: string | undefined;
5706
- channelId?: string | undefined;
5707
- status?: "active" | "pending" | undefined;
5854
+ wabaBusinessId?: string | null | undefined;
5855
+ wabaExternalId?: string | null | undefined;
5856
+ phoneNumberId?: string | null | undefined;
5857
+ email?: string | null | undefined;
5858
+ clientId?: string | null | undefined;
5859
+ channelId?: string | null | undefined;
5860
+ waapiInstanceId?: string | null | undefined;
5861
+ qr?: string | null | undefined;
5862
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5708
5863
  apiKey?: string | undefined;
5709
5864
  tier?: "basic" | "regular" | "premium" | undefined;
5865
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5710
5866
  } | undefined;
5711
5867
  vonageCredentials?: {
5712
5868
  apiKey: string;
@@ -5958,15 +6114,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
5958
6114
  additionalCredentials?: any;
5959
6115
  senderId?: string | undefined;
5960
6116
  whatsapp?: {
5961
- email: string;
5962
- wabaExternalId: string;
5963
- phoneNumberId: string;
5964
- wabaBusinessId?: string | undefined;
5965
- clientId?: string | undefined;
5966
- channelId?: string | undefined;
5967
- status?: "active" | "pending" | undefined;
6117
+ wabaBusinessId?: string | null | undefined;
6118
+ wabaExternalId?: string | null | undefined;
6119
+ phoneNumberId?: string | null | undefined;
6120
+ email?: string | null | undefined;
6121
+ clientId?: string | null | undefined;
6122
+ channelId?: string | null | undefined;
6123
+ waapiInstanceId?: string | null | undefined;
6124
+ qr?: string | null | undefined;
6125
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5968
6126
  apiKey?: string | undefined;
5969
6127
  tier?: "basic" | "regular" | "premium" | undefined;
6128
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5970
6129
  } | undefined;
5971
6130
  vonageCredentials?: {
5972
6131
  apiKey: string;
@@ -6049,15 +6208,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6049
6208
  additionalCredentials?: any;
6050
6209
  senderId?: string | undefined;
6051
6210
  whatsapp?: {
6052
- email: string;
6053
- wabaExternalId: string;
6054
- phoneNumberId: string;
6055
- wabaBusinessId?: string | undefined;
6056
- clientId?: string | undefined;
6057
- channelId?: string | undefined;
6058
- status?: "active" | "pending" | undefined;
6211
+ wabaBusinessId?: string | null | undefined;
6212
+ wabaExternalId?: string | null | undefined;
6213
+ phoneNumberId?: string | null | undefined;
6214
+ email?: string | null | undefined;
6215
+ clientId?: string | null | undefined;
6216
+ channelId?: string | null | undefined;
6217
+ waapiInstanceId?: string | null | undefined;
6218
+ qr?: string | null | undefined;
6219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6059
6220
  apiKey?: string | undefined;
6060
6221
  tier?: "basic" | "regular" | "premium" | undefined;
6222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6061
6223
  } | undefined;
6062
6224
  vonageCredentials?: {
6063
6225
  apiKey: string;
@@ -6704,15 +6866,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6704
6866
  additionalCredentials?: any;
6705
6867
  senderId?: string | undefined;
6706
6868
  whatsapp?: {
6707
- email: string;
6708
- wabaExternalId: string;
6709
- phoneNumberId: string;
6710
- wabaBusinessId?: string | undefined;
6711
- clientId?: string | undefined;
6712
- channelId?: string | undefined;
6713
- status?: "active" | "pending" | undefined;
6869
+ wabaBusinessId?: string | null | undefined;
6870
+ wabaExternalId?: string | null | undefined;
6871
+ phoneNumberId?: string | null | undefined;
6872
+ email?: string | null | undefined;
6873
+ clientId?: string | null | undefined;
6874
+ channelId?: string | null | undefined;
6875
+ waapiInstanceId?: string | null | undefined;
6876
+ qr?: string | null | undefined;
6877
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6714
6878
  apiKey?: string | undefined;
6715
6879
  tier?: "basic" | "regular" | "premium" | undefined;
6880
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6716
6881
  } | undefined;
6717
6882
  vonageCredentials?: {
6718
6883
  apiKey: string;
@@ -6884,6 +7049,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6884
7049
  dateValue: Date | null;
6885
7050
  uploads: {
6886
7051
  id: string;
7052
+ status: string | null;
6887
7053
  createdAt: Date;
6888
7054
  updatedAt: Date;
6889
7055
  deletedAt: Date | null;
@@ -6892,7 +7058,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
6892
7058
  bucketName: string;
6893
7059
  fileSize: number;
6894
7060
  fileUrl: string | null;
6895
- status?: string | undefined;
6896
7061
  }[];
6897
7062
  }[];
6898
7063
  company: {
@@ -7128,15 +7293,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7128
7293
  additionalCredentials?: any;
7129
7294
  senderId?: string | undefined;
7130
7295
  whatsapp?: {
7131
- email: string;
7132
- wabaExternalId: string;
7133
- phoneNumberId: string;
7134
- wabaBusinessId?: string | undefined;
7135
- clientId?: string | undefined;
7136
- channelId?: string | undefined;
7137
- status?: "active" | "pending" | undefined;
7296
+ wabaBusinessId?: string | null | undefined;
7297
+ wabaExternalId?: string | null | undefined;
7298
+ phoneNumberId?: string | null | undefined;
7299
+ email?: string | null | undefined;
7300
+ clientId?: string | null | undefined;
7301
+ channelId?: string | null | undefined;
7302
+ waapiInstanceId?: string | null | undefined;
7303
+ qr?: string | null | undefined;
7304
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7138
7305
  apiKey?: string | undefined;
7139
7306
  tier?: "basic" | "regular" | "premium" | undefined;
7307
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7140
7308
  } | undefined;
7141
7309
  vonageCredentials?: {
7142
7310
  apiKey: string;
@@ -7308,6 +7476,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7308
7476
  dateValue: Date | null;
7309
7477
  uploads: {
7310
7478
  id: string;
7479
+ status: string | null;
7311
7480
  createdAt: Date;
7312
7481
  updatedAt: Date;
7313
7482
  deletedAt: Date | null;
@@ -7316,7 +7485,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7316
7485
  bucketName: string;
7317
7486
  fileSize: number;
7318
7487
  fileUrl: string | null;
7319
- status?: string | undefined;
7320
7488
  }[];
7321
7489
  }[];
7322
7490
  company: {
@@ -7577,7 +7745,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7577
7745
  deletedAt: z.ZodNullable<z.ZodDate>;
7578
7746
  message: z.ZodString;
7579
7747
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
7580
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7748
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
7581
7749
  readAt: z.ZodDate;
7582
7750
  metadata: z.ZodAny;
7583
7751
  platformId: z.ZodString;
@@ -7598,9 +7766,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7598
7766
  fileSize: z.ZodNumber;
7599
7767
  fileKey: z.ZodString;
7600
7768
  fileUrl: z.ZodNullable<z.ZodString>;
7601
- status: z.ZodOptional<z.ZodString>;
7769
+ status: z.ZodNullable<z.ZodString>;
7602
7770
  }, "strip", z.ZodTypeAny, {
7603
7771
  id: string;
7772
+ status: string | null;
7604
7773
  createdAt: Date;
7605
7774
  updatedAt: Date;
7606
7775
  deletedAt: Date | null;
@@ -7609,9 +7778,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7609
7778
  bucketName: string;
7610
7779
  fileSize: number;
7611
7780
  fileUrl: string | null;
7612
- status?: string | undefined;
7613
7781
  }, {
7614
7782
  id: string;
7783
+ status: string | null;
7615
7784
  createdAt: Date;
7616
7785
  updatedAt: Date;
7617
7786
  deletedAt: Date | null;
@@ -7620,7 +7789,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
7620
7789
  bucketName: string;
7621
7790
  fileSize: number;
7622
7791
  fileUrl: string | null;
7623
- status?: string | undefined;
7624
7792
  }>;
7625
7793
  actor: z.ZodObject<{
7626
7794
  id: z.ZodString;
@@ -8235,7 +8403,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8235
8403
  };
8236
8404
  }>;
8237
8405
  }, "strip", z.ZodTypeAny, {
8238
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8406
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8239
8407
  message: string;
8240
8408
  id: string;
8241
8409
  url: string;
@@ -8289,6 +8457,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8289
8457
  };
8290
8458
  upload: {
8291
8459
  id: string;
8460
+ status: string | null;
8292
8461
  createdAt: Date;
8293
8462
  updatedAt: Date;
8294
8463
  deletedAt: Date | null;
@@ -8297,7 +8466,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8297
8466
  bucketName: string;
8298
8467
  fileSize: number;
8299
8468
  fileUrl: string | null;
8300
- status?: string | undefined;
8301
8469
  };
8302
8470
  assignee: {
8303
8471
  id: string;
@@ -8397,7 +8565,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8397
8565
  metadata?: any;
8398
8566
  template?: any;
8399
8567
  }, {
8400
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8568
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
8401
8569
  message: string;
8402
8570
  id: string;
8403
8571
  url: string;
@@ -8451,6 +8619,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8451
8619
  };
8452
8620
  upload: {
8453
8621
  id: string;
8622
+ status: string | null;
8454
8623
  createdAt: Date;
8455
8624
  updatedAt: Date;
8456
8625
  deletedAt: Date | null;
@@ -8459,7 +8628,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8459
8628
  bucketName: string;
8460
8629
  fileSize: number;
8461
8630
  fileUrl: string | null;
8462
- status?: string | undefined;
8463
8631
  };
8464
8632
  assignee: {
8465
8633
  id: string;
@@ -8771,7 +8939,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
8771
8939
  deletedAt: z.ZodNullable<z.ZodDate>;
8772
8940
  message: z.ZodString;
8773
8941
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
8774
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
8942
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
8775
8943
  readAt: z.ZodDate;
8776
8944
  metadata: z.ZodAny;
8777
8945
  platformId: z.ZodString;
@@ -9170,9 +9338,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9170
9338
  fileSize: z.ZodNumber;
9171
9339
  fileKey: z.ZodString;
9172
9340
  fileUrl: z.ZodNullable<z.ZodString>;
9173
- status: z.ZodOptional<z.ZodString>;
9341
+ status: z.ZodNullable<z.ZodString>;
9174
9342
  }, "strip", z.ZodTypeAny, {
9175
9343
  id: string;
9344
+ status: string | null;
9176
9345
  createdAt: Date;
9177
9346
  updatedAt: Date;
9178
9347
  deletedAt: Date | null;
@@ -9181,9 +9350,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9181
9350
  bucketName: string;
9182
9351
  fileSize: number;
9183
9352
  fileUrl: string | null;
9184
- status?: string | undefined;
9185
9353
  }, {
9186
9354
  id: string;
9355
+ status: string | null;
9187
9356
  createdAt: Date;
9188
9357
  updatedAt: Date;
9189
9358
  deletedAt: Date | null;
@@ -9192,7 +9361,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9192
9361
  bucketName: string;
9193
9362
  fileSize: number;
9194
9363
  fileUrl: string | null;
9195
- status?: string | undefined;
9196
9364
  }>, "many">;
9197
9365
  }, "strip", z.ZodTypeAny, {
9198
9366
  id: string;
@@ -9219,6 +9387,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9219
9387
  dateValue: Date | null;
9220
9388
  uploads: {
9221
9389
  id: string;
9390
+ status: string | null;
9222
9391
  createdAt: Date;
9223
9392
  updatedAt: Date;
9224
9393
  deletedAt: Date | null;
@@ -9227,7 +9396,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9227
9396
  bucketName: string;
9228
9397
  fileSize: number;
9229
9398
  fileUrl: string | null;
9230
- status?: string | undefined;
9231
9399
  }[];
9232
9400
  }, {
9233
9401
  id: string;
@@ -9254,6 +9422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9254
9422
  dateValue: Date | null;
9255
9423
  uploads: {
9256
9424
  id: string;
9425
+ status: string | null;
9257
9426
  createdAt: Date;
9258
9427
  updatedAt: Date;
9259
9428
  deletedAt: Date | null;
@@ -9262,7 +9431,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9262
9431
  bucketName: string;
9263
9432
  fileSize: number;
9264
9433
  fileUrl: string | null;
9265
- status?: string | undefined;
9266
9434
  }[];
9267
9435
  }>, "many">;
9268
9436
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -9402,6 +9570,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9402
9570
  dateValue: Date | null;
9403
9571
  uploads: {
9404
9572
  id: string;
9573
+ status: string | null;
9405
9574
  createdAt: Date;
9406
9575
  updatedAt: Date;
9407
9576
  deletedAt: Date | null;
@@ -9410,7 +9579,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9410
9579
  bucketName: string;
9411
9580
  fileSize: number;
9412
9581
  fileUrl: string | null;
9413
- status?: string | undefined;
9414
9582
  }[];
9415
9583
  }[];
9416
9584
  company: {
@@ -9513,6 +9681,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9513
9681
  dateValue: Date | null;
9514
9682
  uploads: {
9515
9683
  id: string;
9684
+ status: string | null;
9516
9685
  createdAt: Date;
9517
9686
  updatedAt: Date;
9518
9687
  deletedAt: Date | null;
@@ -9521,7 +9690,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9521
9690
  bucketName: string;
9522
9691
  fileSize: number;
9523
9692
  fileUrl: string | null;
9524
- status?: string | undefined;
9525
9693
  }[];
9526
9694
  }[];
9527
9695
  company: {
@@ -9637,6 +9805,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9637
9805
  dateValue: Date | null;
9638
9806
  uploads: {
9639
9807
  id: string;
9808
+ status: string | null;
9640
9809
  createdAt: Date;
9641
9810
  updatedAt: Date;
9642
9811
  deletedAt: Date | null;
@@ -9645,7 +9814,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9645
9814
  bucketName: string;
9646
9815
  fileSize: number;
9647
9816
  fileUrl: string | null;
9648
- status?: string | undefined;
9649
9817
  }[];
9650
9818
  }[];
9651
9819
  company: {
@@ -9763,6 +9931,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9763
9931
  dateValue: Date | null;
9764
9932
  uploads: {
9765
9933
  id: string;
9934
+ status: string | null;
9766
9935
  createdAt: Date;
9767
9936
  updatedAt: Date;
9768
9937
  deletedAt: Date | null;
@@ -9771,7 +9940,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
9771
9940
  bucketName: string;
9772
9941
  fileSize: number;
9773
9942
  fileUrl: string | null;
9774
- status?: string | undefined;
9775
9943
  }[];
9776
9944
  }[];
9777
9945
  company: {
@@ -10268,35 +10436,44 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10268
10436
  additionalCredentials: z.ZodOptional<z.ZodAny>;
10269
10437
  senderId: z.ZodOptional<z.ZodString>;
10270
10438
  whatsapp: z.ZodOptional<z.ZodObject<{
10271
- wabaBusinessId: z.ZodOptional<z.ZodString>;
10272
- wabaExternalId: z.ZodString;
10273
- phoneNumberId: z.ZodString;
10274
- email: z.ZodString;
10275
- clientId: z.ZodOptional<z.ZodString>;
10276
- channelId: z.ZodOptional<z.ZodString>;
10277
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10439
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10440
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10441
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10442
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10443
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10444
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10445
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10446
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10447
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
10278
10448
  apiKey: z.ZodOptional<z.ZodString>;
10279
10449
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10450
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
10280
10451
  }, "strip", z.ZodTypeAny, {
10281
- email: string;
10282
- wabaExternalId: string;
10283
- phoneNumberId: string;
10284
- wabaBusinessId?: string | undefined;
10285
- clientId?: string | undefined;
10286
- channelId?: string | undefined;
10287
- status?: "active" | "pending" | undefined;
10452
+ wabaBusinessId?: string | null | undefined;
10453
+ wabaExternalId?: string | null | undefined;
10454
+ phoneNumberId?: string | null | undefined;
10455
+ email?: string | null | undefined;
10456
+ clientId?: string | null | undefined;
10457
+ channelId?: string | null | undefined;
10458
+ waapiInstanceId?: string | null | undefined;
10459
+ qr?: string | null | undefined;
10460
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10288
10461
  apiKey?: string | undefined;
10289
10462
  tier?: "basic" | "regular" | "premium" | undefined;
10463
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10290
10464
  }, {
10291
- email: string;
10292
- wabaExternalId: string;
10293
- phoneNumberId: string;
10294
- wabaBusinessId?: string | undefined;
10295
- clientId?: string | undefined;
10296
- channelId?: string | undefined;
10297
- status?: "active" | "pending" | undefined;
10465
+ wabaBusinessId?: string | null | undefined;
10466
+ wabaExternalId?: string | null | undefined;
10467
+ phoneNumberId?: string | null | undefined;
10468
+ email?: string | null | undefined;
10469
+ clientId?: string | null | undefined;
10470
+ channelId?: string | null | undefined;
10471
+ waapiInstanceId?: string | null | undefined;
10472
+ qr?: string | null | undefined;
10473
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10298
10474
  apiKey?: string | undefined;
10299
10475
  tier?: "basic" | "regular" | "premium" | undefined;
10476
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10300
10477
  }>>;
10301
10478
  vonageCredentials: z.ZodOptional<z.ZodObject<{
10302
10479
  mobileNumber: z.ZodString;
@@ -10322,15 +10499,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10322
10499
  additionalCredentials?: any;
10323
10500
  senderId?: string | undefined;
10324
10501
  whatsapp?: {
10325
- email: string;
10326
- wabaExternalId: string;
10327
- phoneNumberId: string;
10328
- wabaBusinessId?: string | undefined;
10329
- clientId?: string | undefined;
10330
- channelId?: string | undefined;
10331
- status?: "active" | "pending" | undefined;
10502
+ wabaBusinessId?: string | null | undefined;
10503
+ wabaExternalId?: string | null | undefined;
10504
+ phoneNumberId?: string | null | undefined;
10505
+ email?: string | null | undefined;
10506
+ clientId?: string | null | undefined;
10507
+ channelId?: string | null | undefined;
10508
+ waapiInstanceId?: string | null | undefined;
10509
+ qr?: string | null | undefined;
10510
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10332
10511
  apiKey?: string | undefined;
10333
10512
  tier?: "basic" | "regular" | "premium" | undefined;
10513
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10334
10514
  } | undefined;
10335
10515
  vonageCredentials?: {
10336
10516
  apiKey: string;
@@ -10348,15 +10528,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10348
10528
  additionalCredentials?: any;
10349
10529
  senderId?: string | undefined;
10350
10530
  whatsapp?: {
10351
- email: string;
10352
- wabaExternalId: string;
10353
- phoneNumberId: string;
10354
- wabaBusinessId?: string | undefined;
10355
- clientId?: string | undefined;
10356
- channelId?: string | undefined;
10357
- status?: "active" | "pending" | undefined;
10531
+ wabaBusinessId?: string | null | undefined;
10532
+ wabaExternalId?: string | null | undefined;
10533
+ phoneNumberId?: string | null | undefined;
10534
+ email?: string | null | undefined;
10535
+ clientId?: string | null | undefined;
10536
+ channelId?: string | null | undefined;
10537
+ waapiInstanceId?: string | null | undefined;
10538
+ qr?: string | null | undefined;
10539
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10358
10540
  apiKey?: string | undefined;
10359
10541
  tier?: "basic" | "regular" | "premium" | undefined;
10542
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10360
10543
  } | undefined;
10361
10544
  vonageCredentials?: {
10362
10545
  apiKey: string;
@@ -10608,15 +10791,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10608
10791
  additionalCredentials?: any;
10609
10792
  senderId?: string | undefined;
10610
10793
  whatsapp?: {
10611
- email: string;
10612
- wabaExternalId: string;
10613
- phoneNumberId: string;
10614
- wabaBusinessId?: string | undefined;
10615
- clientId?: string | undefined;
10616
- channelId?: string | undefined;
10617
- status?: "active" | "pending" | undefined;
10794
+ wabaBusinessId?: string | null | undefined;
10795
+ wabaExternalId?: string | null | undefined;
10796
+ phoneNumberId?: string | null | undefined;
10797
+ email?: string | null | undefined;
10798
+ clientId?: string | null | undefined;
10799
+ channelId?: string | null | undefined;
10800
+ waapiInstanceId?: string | null | undefined;
10801
+ qr?: string | null | undefined;
10802
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10618
10803
  apiKey?: string | undefined;
10619
10804
  tier?: "basic" | "regular" | "premium" | undefined;
10805
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10620
10806
  } | undefined;
10621
10807
  vonageCredentials?: {
10622
10808
  apiKey: string;
@@ -10699,15 +10885,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
10699
10885
  additionalCredentials?: any;
10700
10886
  senderId?: string | undefined;
10701
10887
  whatsapp?: {
10702
- email: string;
10703
- wabaExternalId: string;
10704
- phoneNumberId: string;
10705
- wabaBusinessId?: string | undefined;
10706
- clientId?: string | undefined;
10707
- channelId?: string | undefined;
10708
- status?: "active" | "pending" | undefined;
10888
+ wabaBusinessId?: string | null | undefined;
10889
+ wabaExternalId?: string | null | undefined;
10890
+ phoneNumberId?: string | null | undefined;
10891
+ email?: string | null | undefined;
10892
+ clientId?: string | null | undefined;
10893
+ channelId?: string | null | undefined;
10894
+ waapiInstanceId?: string | null | undefined;
10895
+ qr?: string | null | undefined;
10896
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10709
10897
  apiKey?: string | undefined;
10710
10898
  tier?: "basic" | "regular" | "premium" | undefined;
10899
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10711
10900
  } | undefined;
10712
10901
  vonageCredentials?: {
10713
10902
  apiKey: string;
@@ -11354,15 +11543,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11354
11543
  additionalCredentials?: any;
11355
11544
  senderId?: string | undefined;
11356
11545
  whatsapp?: {
11357
- email: string;
11358
- wabaExternalId: string;
11359
- phoneNumberId: string;
11360
- wabaBusinessId?: string | undefined;
11361
- clientId?: string | undefined;
11362
- channelId?: string | undefined;
11363
- status?: "active" | "pending" | undefined;
11546
+ wabaBusinessId?: string | null | undefined;
11547
+ wabaExternalId?: string | null | undefined;
11548
+ phoneNumberId?: string | null | undefined;
11549
+ email?: string | null | undefined;
11550
+ clientId?: string | null | undefined;
11551
+ channelId?: string | null | undefined;
11552
+ waapiInstanceId?: string | null | undefined;
11553
+ qr?: string | null | undefined;
11554
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11364
11555
  apiKey?: string | undefined;
11365
11556
  tier?: "basic" | "regular" | "premium" | undefined;
11557
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11366
11558
  } | undefined;
11367
11559
  vonageCredentials?: {
11368
11560
  apiKey: string;
@@ -11534,6 +11726,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11534
11726
  dateValue: Date | null;
11535
11727
  uploads: {
11536
11728
  id: string;
11729
+ status: string | null;
11537
11730
  createdAt: Date;
11538
11731
  updatedAt: Date;
11539
11732
  deletedAt: Date | null;
@@ -11542,7 +11735,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11542
11735
  bucketName: string;
11543
11736
  fileSize: number;
11544
11737
  fileUrl: string | null;
11545
- status?: string | undefined;
11546
11738
  }[];
11547
11739
  }[];
11548
11740
  company: {
@@ -11778,15 +11970,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11778
11970
  additionalCredentials?: any;
11779
11971
  senderId?: string | undefined;
11780
11972
  whatsapp?: {
11781
- email: string;
11782
- wabaExternalId: string;
11783
- phoneNumberId: string;
11784
- wabaBusinessId?: string | undefined;
11785
- clientId?: string | undefined;
11786
- channelId?: string | undefined;
11787
- status?: "active" | "pending" | undefined;
11973
+ wabaBusinessId?: string | null | undefined;
11974
+ wabaExternalId?: string | null | undefined;
11975
+ phoneNumberId?: string | null | undefined;
11976
+ email?: string | null | undefined;
11977
+ clientId?: string | null | undefined;
11978
+ channelId?: string | null | undefined;
11979
+ waapiInstanceId?: string | null | undefined;
11980
+ qr?: string | null | undefined;
11981
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11788
11982
  apiKey?: string | undefined;
11789
11983
  tier?: "basic" | "regular" | "premium" | undefined;
11984
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11790
11985
  } | undefined;
11791
11986
  vonageCredentials?: {
11792
11987
  apiKey: string;
@@ -11958,6 +12153,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11958
12153
  dateValue: Date | null;
11959
12154
  uploads: {
11960
12155
  id: string;
12156
+ status: string | null;
11961
12157
  createdAt: Date;
11962
12158
  updatedAt: Date;
11963
12159
  deletedAt: Date | null;
@@ -11966,7 +12162,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
11966
12162
  bucketName: string;
11967
12163
  fileSize: number;
11968
12164
  fileUrl: string | null;
11969
- status?: string | undefined;
11970
12165
  }[];
11971
12166
  }[];
11972
12167
  company: {
@@ -12199,9 +12394,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12199
12394
  fileSize: z.ZodNumber;
12200
12395
  fileKey: z.ZodString;
12201
12396
  fileUrl: z.ZodNullable<z.ZodString>;
12202
- status: z.ZodOptional<z.ZodString>;
12397
+ status: z.ZodNullable<z.ZodString>;
12203
12398
  }, "strip", z.ZodTypeAny, {
12204
12399
  id: string;
12400
+ status: string | null;
12205
12401
  createdAt: Date;
12206
12402
  updatedAt: Date;
12207
12403
  deletedAt: Date | null;
@@ -12210,9 +12406,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12210
12406
  bucketName: string;
12211
12407
  fileSize: number;
12212
12408
  fileUrl: string | null;
12213
- status?: string | undefined;
12214
12409
  }, {
12215
12410
  id: string;
12411
+ status: string | null;
12216
12412
  createdAt: Date;
12217
12413
  updatedAt: Date;
12218
12414
  deletedAt: Date | null;
@@ -12221,7 +12417,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12221
12417
  bucketName: string;
12222
12418
  fileSize: number;
12223
12419
  fileUrl: string | null;
12224
- status?: string | undefined;
12225
12420
  }>;
12226
12421
  repliedMessage: z.ZodLazy<z.ZodObject<{
12227
12422
  id: z.ZodString;
@@ -12230,7 +12425,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12230
12425
  deletedAt: z.ZodNullable<z.ZodDate>;
12231
12426
  message: z.ZodString;
12232
12427
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
12233
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
12428
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
12234
12429
  readAt: z.ZodDate;
12235
12430
  metadata: z.ZodAny;
12236
12431
  platformId: z.ZodString;
@@ -12251,9 +12446,10 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12251
12446
  fileSize: z.ZodNumber;
12252
12447
  fileKey: z.ZodString;
12253
12448
  fileUrl: z.ZodNullable<z.ZodString>;
12254
- status: z.ZodOptional<z.ZodString>;
12449
+ status: z.ZodNullable<z.ZodString>;
12255
12450
  }, "strip", z.ZodTypeAny, {
12256
12451
  id: string;
12452
+ status: string | null;
12257
12453
  createdAt: Date;
12258
12454
  updatedAt: Date;
12259
12455
  deletedAt: Date | null;
@@ -12262,9 +12458,9 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12262
12458
  bucketName: string;
12263
12459
  fileSize: number;
12264
12460
  fileUrl: string | null;
12265
- status?: string | undefined;
12266
12461
  }, {
12267
12462
  id: string;
12463
+ status: string | null;
12268
12464
  createdAt: Date;
12269
12465
  updatedAt: Date;
12270
12466
  deletedAt: Date | null;
@@ -12273,7 +12469,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12273
12469
  bucketName: string;
12274
12470
  fileSize: number;
12275
12471
  fileUrl: string | null;
12276
- status?: string | undefined;
12277
12472
  }>;
12278
12473
  actor: z.ZodObject<{
12279
12474
  id: z.ZodString;
@@ -12888,7 +13083,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12888
13083
  };
12889
13084
  }>;
12890
13085
  }, "strip", z.ZodTypeAny, {
12891
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13086
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12892
13087
  message: string;
12893
13088
  id: string;
12894
13089
  url: string;
@@ -12942,6 +13137,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12942
13137
  };
12943
13138
  upload: {
12944
13139
  id: string;
13140
+ status: string | null;
12945
13141
  createdAt: Date;
12946
13142
  updatedAt: Date;
12947
13143
  deletedAt: Date | null;
@@ -12950,7 +13146,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
12950
13146
  bucketName: string;
12951
13147
  fileSize: number;
12952
13148
  fileUrl: string | null;
12953
- status?: string | undefined;
12954
13149
  };
12955
13150
  assignee: {
12956
13151
  id: string;
@@ -13050,7 +13245,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13050
13245
  metadata?: any;
13051
13246
  template?: any;
13052
13247
  }, {
13053
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13248
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13054
13249
  message: string;
13055
13250
  id: string;
13056
13251
  url: string;
@@ -13104,6 +13299,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13104
13299
  };
13105
13300
  upload: {
13106
13301
  id: string;
13302
+ status: string | null;
13107
13303
  createdAt: Date;
13108
13304
  updatedAt: Date;
13109
13305
  deletedAt: Date | null;
@@ -13112,7 +13308,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13112
13308
  bucketName: string;
13113
13309
  fileSize: number;
13114
13310
  fileUrl: string | null;
13115
- status?: string | undefined;
13116
13311
  };
13117
13312
  assignee: {
13118
13313
  id: string;
@@ -13852,7 +14047,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13852
14047
  editedMessageid: z.ZodString;
13853
14048
  label: z.ZodOptional<z.ZodString>;
13854
14049
  }, "strip", z.ZodTypeAny, {
13855
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14050
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13856
14051
  message: string;
13857
14052
  id: string;
13858
14053
  url: string;
@@ -13906,6 +14101,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13906
14101
  };
13907
14102
  upload: {
13908
14103
  id: string;
14104
+ status: string | null;
13909
14105
  createdAt: Date;
13910
14106
  updatedAt: Date;
13911
14107
  deletedAt: Date | null;
@@ -13914,7 +14110,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13914
14110
  bucketName: string;
13915
14111
  fileSize: number;
13916
14112
  fileUrl: string | null;
13917
- status?: string | undefined;
13918
14113
  };
13919
14114
  assignee: {
13920
14115
  id: string;
@@ -13975,15 +14170,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
13975
14170
  additionalCredentials?: any;
13976
14171
  senderId?: string | undefined;
13977
14172
  whatsapp?: {
13978
- email: string;
13979
- wabaExternalId: string;
13980
- phoneNumberId: string;
13981
- wabaBusinessId?: string | undefined;
13982
- clientId?: string | undefined;
13983
- channelId?: string | undefined;
13984
- status?: "active" | "pending" | undefined;
14173
+ wabaBusinessId?: string | null | undefined;
14174
+ wabaExternalId?: string | null | undefined;
14175
+ phoneNumberId?: string | null | undefined;
14176
+ email?: string | null | undefined;
14177
+ clientId?: string | null | undefined;
14178
+ channelId?: string | null | undefined;
14179
+ waapiInstanceId?: string | null | undefined;
14180
+ qr?: string | null | undefined;
14181
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13985
14182
  apiKey?: string | undefined;
13986
14183
  tier?: "basic" | "regular" | "premium" | undefined;
14184
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13987
14185
  } | undefined;
13988
14186
  vonageCredentials?: {
13989
14187
  apiKey: string;
@@ -14155,6 +14353,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14155
14353
  dateValue: Date | null;
14156
14354
  uploads: {
14157
14355
  id: string;
14356
+ status: string | null;
14158
14357
  createdAt: Date;
14159
14358
  updatedAt: Date;
14160
14359
  deletedAt: Date | null;
@@ -14163,7 +14362,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14163
14362
  bucketName: string;
14164
14363
  fileSize: number;
14165
14364
  fileUrl: string | null;
14166
- status?: string | undefined;
14167
14365
  }[];
14168
14366
  }[];
14169
14367
  company: {
@@ -14402,7 +14600,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14402
14600
  previewUrl: string;
14403
14601
  imageSetId: string;
14404
14602
  repliedMessage: {
14405
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14603
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14406
14604
  message: string;
14407
14605
  id: string;
14408
14606
  url: string;
@@ -14456,6 +14654,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14456
14654
  };
14457
14655
  upload: {
14458
14656
  id: string;
14657
+ status: string | null;
14459
14658
  createdAt: Date;
14460
14659
  updatedAt: Date;
14461
14660
  deletedAt: Date | null;
@@ -14464,7 +14663,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14464
14663
  bucketName: string;
14465
14664
  fileSize: number;
14466
14665
  fileUrl: string | null;
14467
- status?: string | undefined;
14468
14666
  };
14469
14667
  assignee: {
14470
14668
  id: string;
@@ -14613,7 +14811,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14613
14811
  template?: any;
14614
14812
  label?: string | undefined;
14615
14813
  }, {
14616
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14814
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14617
14815
  message: string;
14618
14816
  id: string;
14619
14817
  url: string;
@@ -14667,6 +14865,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14667
14865
  };
14668
14866
  upload: {
14669
14867
  id: string;
14868
+ status: string | null;
14670
14869
  createdAt: Date;
14671
14870
  updatedAt: Date;
14672
14871
  deletedAt: Date | null;
@@ -14675,7 +14874,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14675
14874
  bucketName: string;
14676
14875
  fileSize: number;
14677
14876
  fileUrl: string | null;
14678
- status?: string | undefined;
14679
14877
  };
14680
14878
  assignee: {
14681
14879
  id: string;
@@ -14736,15 +14934,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14736
14934
  additionalCredentials?: any;
14737
14935
  senderId?: string | undefined;
14738
14936
  whatsapp?: {
14739
- email: string;
14740
- wabaExternalId: string;
14741
- phoneNumberId: string;
14742
- wabaBusinessId?: string | undefined;
14743
- clientId?: string | undefined;
14744
- channelId?: string | undefined;
14745
- status?: "active" | "pending" | undefined;
14937
+ wabaBusinessId?: string | null | undefined;
14938
+ wabaExternalId?: string | null | undefined;
14939
+ phoneNumberId?: string | null | undefined;
14940
+ email?: string | null | undefined;
14941
+ clientId?: string | null | undefined;
14942
+ channelId?: string | null | undefined;
14943
+ waapiInstanceId?: string | null | undefined;
14944
+ qr?: string | null | undefined;
14945
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14746
14946
  apiKey?: string | undefined;
14747
14947
  tier?: "basic" | "regular" | "premium" | undefined;
14948
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14748
14949
  } | undefined;
14749
14950
  vonageCredentials?: {
14750
14951
  apiKey: string;
@@ -14916,6 +15117,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14916
15117
  dateValue: Date | null;
14917
15118
  uploads: {
14918
15119
  id: string;
15120
+ status: string | null;
14919
15121
  createdAt: Date;
14920
15122
  updatedAt: Date;
14921
15123
  deletedAt: Date | null;
@@ -14924,7 +15126,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
14924
15126
  bucketName: string;
14925
15127
  fileSize: number;
14926
15128
  fileUrl: string | null;
14927
- status?: string | undefined;
14928
15129
  }[];
14929
15130
  }[];
14930
15131
  company: {
@@ -15163,7 +15364,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15163
15364
  previewUrl: string;
15164
15365
  imageSetId: string;
15165
15366
  repliedMessage: {
15166
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15367
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15167
15368
  message: string;
15168
15369
  id: string;
15169
15370
  url: string;
@@ -15217,6 +15418,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15217
15418
  };
15218
15419
  upload: {
15219
15420
  id: string;
15421
+ status: string | null;
15220
15422
  createdAt: Date;
15221
15423
  updatedAt: Date;
15222
15424
  deletedAt: Date | null;
@@ -15225,7 +15427,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15225
15427
  bucketName: string;
15226
15428
  fileSize: number;
15227
15429
  fileUrl: string | null;
15228
- status?: string | undefined;
15229
15430
  };
15230
15431
  assignee: {
15231
15432
  id: string;
@@ -15375,7 +15576,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15375
15576
  label?: string | undefined;
15376
15577
  }>>>;
15377
15578
  }, "strip", z.ZodTypeAny, {
15378
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15579
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15379
15580
  message: string;
15380
15581
  id: string;
15381
15582
  url: string;
@@ -15429,6 +15630,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15429
15630
  };
15430
15631
  upload: {
15431
15632
  id: string;
15633
+ status: string | null;
15432
15634
  createdAt: Date;
15433
15635
  updatedAt: Date;
15434
15636
  deletedAt: Date | null;
@@ -15437,7 +15639,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15437
15639
  bucketName: string;
15438
15640
  fileSize: number;
15439
15641
  fileUrl: string | null;
15440
- status?: string | undefined;
15441
15642
  };
15442
15643
  assignee: {
15443
15644
  id: string;
@@ -15498,15 +15699,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15498
15699
  additionalCredentials?: any;
15499
15700
  senderId?: string | undefined;
15500
15701
  whatsapp?: {
15501
- email: string;
15502
- wabaExternalId: string;
15503
- phoneNumberId: string;
15504
- wabaBusinessId?: string | undefined;
15505
- clientId?: string | undefined;
15506
- channelId?: string | undefined;
15507
- status?: "active" | "pending" | undefined;
15702
+ wabaBusinessId?: string | null | undefined;
15703
+ wabaExternalId?: string | null | undefined;
15704
+ phoneNumberId?: string | null | undefined;
15705
+ email?: string | null | undefined;
15706
+ clientId?: string | null | undefined;
15707
+ channelId?: string | null | undefined;
15708
+ waapiInstanceId?: string | null | undefined;
15709
+ qr?: string | null | undefined;
15710
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15508
15711
  apiKey?: string | undefined;
15509
15712
  tier?: "basic" | "regular" | "premium" | undefined;
15713
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15510
15714
  } | undefined;
15511
15715
  vonageCredentials?: {
15512
15716
  apiKey: string;
@@ -15678,6 +15882,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15678
15882
  dateValue: Date | null;
15679
15883
  uploads: {
15680
15884
  id: string;
15885
+ status: string | null;
15681
15886
  createdAt: Date;
15682
15887
  updatedAt: Date;
15683
15888
  deletedAt: Date | null;
@@ -15686,7 +15891,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15686
15891
  bucketName: string;
15687
15892
  fileSize: number;
15688
15893
  fileUrl: string | null;
15689
- status?: string | undefined;
15690
15894
  }[];
15691
15895
  }[];
15692
15896
  company: {
@@ -15925,7 +16129,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15925
16129
  previewUrl: string;
15926
16130
  imageSetId: string;
15927
16131
  repliedMessage: {
15928
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16132
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15929
16133
  message: string;
15930
16134
  id: string;
15931
16135
  url: string;
@@ -15979,6 +16183,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15979
16183
  };
15980
16184
  upload: {
15981
16185
  id: string;
16186
+ status: string | null;
15982
16187
  createdAt: Date;
15983
16188
  updatedAt: Date;
15984
16189
  deletedAt: Date | null;
@@ -15987,7 +16192,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
15987
16192
  bucketName: string;
15988
16193
  fileSize: number;
15989
16194
  fileUrl: string | null;
15990
- status?: string | undefined;
15991
16195
  };
15992
16196
  assignee: {
15993
16197
  id: string;
@@ -16136,7 +16340,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16136
16340
  template?: any;
16137
16341
  metadata?: any;
16138
16342
  fromMessage?: {
16139
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16343
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16140
16344
  message: string;
16141
16345
  id: string;
16142
16346
  url: string;
@@ -16190,6 +16394,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16190
16394
  };
16191
16395
  upload: {
16192
16396
  id: string;
16397
+ status: string | null;
16193
16398
  createdAt: Date;
16194
16399
  updatedAt: Date;
16195
16400
  deletedAt: Date | null;
@@ -16198,7 +16403,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16198
16403
  bucketName: string;
16199
16404
  fileSize: number;
16200
16405
  fileUrl: string | null;
16201
- status?: string | undefined;
16202
16406
  };
16203
16407
  assignee: {
16204
16408
  id: string;
@@ -16259,15 +16463,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16259
16463
  additionalCredentials?: any;
16260
16464
  senderId?: string | undefined;
16261
16465
  whatsapp?: {
16262
- email: string;
16263
- wabaExternalId: string;
16264
- phoneNumberId: string;
16265
- wabaBusinessId?: string | undefined;
16266
- clientId?: string | undefined;
16267
- channelId?: string | undefined;
16268
- status?: "active" | "pending" | undefined;
16466
+ wabaBusinessId?: string | null | undefined;
16467
+ wabaExternalId?: string | null | undefined;
16468
+ phoneNumberId?: string | null | undefined;
16469
+ email?: string | null | undefined;
16470
+ clientId?: string | null | undefined;
16471
+ channelId?: string | null | undefined;
16472
+ waapiInstanceId?: string | null | undefined;
16473
+ qr?: string | null | undefined;
16474
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16269
16475
  apiKey?: string | undefined;
16270
16476
  tier?: "basic" | "regular" | "premium" | undefined;
16477
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16271
16478
  } | undefined;
16272
16479
  vonageCredentials?: {
16273
16480
  apiKey: string;
@@ -16439,6 +16646,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16439
16646
  dateValue: Date | null;
16440
16647
  uploads: {
16441
16648
  id: string;
16649
+ status: string | null;
16442
16650
  createdAt: Date;
16443
16651
  updatedAt: Date;
16444
16652
  deletedAt: Date | null;
@@ -16447,7 +16655,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16447
16655
  bucketName: string;
16448
16656
  fileSize: number;
16449
16657
  fileUrl: string | null;
16450
- status?: string | undefined;
16451
16658
  }[];
16452
16659
  }[];
16453
16660
  company: {
@@ -16686,7 +16893,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16686
16893
  previewUrl: string;
16687
16894
  imageSetId: string;
16688
16895
  repliedMessage: {
16689
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16896
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16690
16897
  message: string;
16691
16898
  id: string;
16692
16899
  url: string;
@@ -16740,6 +16947,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16740
16947
  };
16741
16948
  upload: {
16742
16949
  id: string;
16950
+ status: string | null;
16743
16951
  createdAt: Date;
16744
16952
  updatedAt: Date;
16745
16953
  deletedAt: Date | null;
@@ -16748,7 +16956,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16748
16956
  bucketName: string;
16749
16957
  fileSize: number;
16750
16958
  fileUrl: string | null;
16751
- status?: string | undefined;
16752
16959
  };
16753
16960
  assignee: {
16754
16961
  id: string;
@@ -16898,7 +17105,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16898
17105
  label?: string | undefined;
16899
17106
  } | null | undefined;
16900
17107
  }, {
16901
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17108
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16902
17109
  message: string;
16903
17110
  id: string;
16904
17111
  url: string;
@@ -16952,6 +17159,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16952
17159
  };
16953
17160
  upload: {
16954
17161
  id: string;
17162
+ status: string | null;
16955
17163
  createdAt: Date;
16956
17164
  updatedAt: Date;
16957
17165
  deletedAt: Date | null;
@@ -16960,7 +17168,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
16960
17168
  bucketName: string;
16961
17169
  fileSize: number;
16962
17170
  fileUrl: string | null;
16963
- status?: string | undefined;
16964
17171
  };
16965
17172
  assignee: {
16966
17173
  id: string;
@@ -17021,15 +17228,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17021
17228
  additionalCredentials?: any;
17022
17229
  senderId?: string | undefined;
17023
17230
  whatsapp?: {
17024
- email: string;
17025
- wabaExternalId: string;
17026
- phoneNumberId: string;
17027
- wabaBusinessId?: string | undefined;
17028
- clientId?: string | undefined;
17029
- channelId?: string | undefined;
17030
- status?: "active" | "pending" | undefined;
17231
+ wabaBusinessId?: string | null | undefined;
17232
+ wabaExternalId?: string | null | undefined;
17233
+ phoneNumberId?: string | null | undefined;
17234
+ email?: string | null | undefined;
17235
+ clientId?: string | null | undefined;
17236
+ channelId?: string | null | undefined;
17237
+ waapiInstanceId?: string | null | undefined;
17238
+ qr?: string | null | undefined;
17239
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17031
17240
  apiKey?: string | undefined;
17032
17241
  tier?: "basic" | "regular" | "premium" | undefined;
17242
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17033
17243
  } | undefined;
17034
17244
  vonageCredentials?: {
17035
17245
  apiKey: string;
@@ -17201,6 +17411,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17201
17411
  dateValue: Date | null;
17202
17412
  uploads: {
17203
17413
  id: string;
17414
+ status: string | null;
17204
17415
  createdAt: Date;
17205
17416
  updatedAt: Date;
17206
17417
  deletedAt: Date | null;
@@ -17209,7 +17420,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17209
17420
  bucketName: string;
17210
17421
  fileSize: number;
17211
17422
  fileUrl: string | null;
17212
- status?: string | undefined;
17213
17423
  }[];
17214
17424
  }[];
17215
17425
  company: {
@@ -17448,7 +17658,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17448
17658
  previewUrl: string;
17449
17659
  imageSetId: string;
17450
17660
  repliedMessage: {
17451
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17661
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17452
17662
  message: string;
17453
17663
  id: string;
17454
17664
  url: string;
@@ -17502,6 +17712,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17502
17712
  };
17503
17713
  upload: {
17504
17714
  id: string;
17715
+ status: string | null;
17505
17716
  createdAt: Date;
17506
17717
  updatedAt: Date;
17507
17718
  deletedAt: Date | null;
@@ -17510,7 +17721,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17510
17721
  bucketName: string;
17511
17722
  fileSize: number;
17512
17723
  fileUrl: string | null;
17513
- status?: string | undefined;
17514
17724
  };
17515
17725
  assignee: {
17516
17726
  id: string;
@@ -17659,7 +17869,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17659
17869
  template?: any;
17660
17870
  metadata?: any;
17661
17871
  fromMessage?: {
17662
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17872
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17663
17873
  message: string;
17664
17874
  id: string;
17665
17875
  url: string;
@@ -17713,6 +17923,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17713
17923
  };
17714
17924
  upload: {
17715
17925
  id: string;
17926
+ status: string | null;
17716
17927
  createdAt: Date;
17717
17928
  updatedAt: Date;
17718
17929
  deletedAt: Date | null;
@@ -17721,7 +17932,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17721
17932
  bucketName: string;
17722
17933
  fileSize: number;
17723
17934
  fileUrl: string | null;
17724
- status?: string | undefined;
17725
17935
  };
17726
17936
  assignee: {
17727
17937
  id: string;
@@ -17782,15 +17992,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17782
17992
  additionalCredentials?: any;
17783
17993
  senderId?: string | undefined;
17784
17994
  whatsapp?: {
17785
- email: string;
17786
- wabaExternalId: string;
17787
- phoneNumberId: string;
17788
- wabaBusinessId?: string | undefined;
17789
- clientId?: string | undefined;
17790
- channelId?: string | undefined;
17791
- status?: "active" | "pending" | undefined;
17995
+ wabaBusinessId?: string | null | undefined;
17996
+ wabaExternalId?: string | null | undefined;
17997
+ phoneNumberId?: string | null | undefined;
17998
+ email?: string | null | undefined;
17999
+ clientId?: string | null | undefined;
18000
+ channelId?: string | null | undefined;
18001
+ waapiInstanceId?: string | null | undefined;
18002
+ qr?: string | null | undefined;
18003
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17792
18004
  apiKey?: string | undefined;
17793
18005
  tier?: "basic" | "regular" | "premium" | undefined;
18006
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17794
18007
  } | undefined;
17795
18008
  vonageCredentials?: {
17796
18009
  apiKey: string;
@@ -17962,6 +18175,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17962
18175
  dateValue: Date | null;
17963
18176
  uploads: {
17964
18177
  id: string;
18178
+ status: string | null;
17965
18179
  createdAt: Date;
17966
18180
  updatedAt: Date;
17967
18181
  deletedAt: Date | null;
@@ -17970,7 +18184,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
17970
18184
  bucketName: string;
17971
18185
  fileSize: number;
17972
18186
  fileUrl: string | null;
17973
- status?: string | undefined;
17974
18187
  }[];
17975
18188
  }[];
17976
18189
  company: {
@@ -18209,7 +18422,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18209
18422
  previewUrl: string;
18210
18423
  imageSetId: string;
18211
18424
  repliedMessage: {
18212
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18425
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18213
18426
  message: string;
18214
18427
  id: string;
18215
18428
  url: string;
@@ -18263,6 +18476,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18263
18476
  };
18264
18477
  upload: {
18265
18478
  id: string;
18479
+ status: string | null;
18266
18480
  createdAt: Date;
18267
18481
  updatedAt: Date;
18268
18482
  deletedAt: Date | null;
@@ -18271,7 +18485,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18271
18485
  bucketName: string;
18272
18486
  fileSize: number;
18273
18487
  fileUrl: string | null;
18274
- status?: string | undefined;
18275
18488
  };
18276
18489
  assignee: {
18277
18490
  id: string;
@@ -18423,7 +18636,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18423
18636
  }>;
18424
18637
  }, "strip", z.ZodTypeAny, {
18425
18638
  data: {
18426
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18639
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18427
18640
  message: string;
18428
18641
  id: string;
18429
18642
  url: string;
@@ -18477,6 +18690,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18477
18690
  };
18478
18691
  upload: {
18479
18692
  id: string;
18693
+ status: string | null;
18480
18694
  createdAt: Date;
18481
18695
  updatedAt: Date;
18482
18696
  deletedAt: Date | null;
@@ -18485,7 +18699,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18485
18699
  bucketName: string;
18486
18700
  fileSize: number;
18487
18701
  fileUrl: string | null;
18488
- status?: string | undefined;
18489
18702
  };
18490
18703
  assignee: {
18491
18704
  id: string;
@@ -18546,15 +18759,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18546
18759
  additionalCredentials?: any;
18547
18760
  senderId?: string | undefined;
18548
18761
  whatsapp?: {
18549
- email: string;
18550
- wabaExternalId: string;
18551
- phoneNumberId: string;
18552
- wabaBusinessId?: string | undefined;
18553
- clientId?: string | undefined;
18554
- channelId?: string | undefined;
18555
- status?: "active" | "pending" | undefined;
18762
+ wabaBusinessId?: string | null | undefined;
18763
+ wabaExternalId?: string | null | undefined;
18764
+ phoneNumberId?: string | null | undefined;
18765
+ email?: string | null | undefined;
18766
+ clientId?: string | null | undefined;
18767
+ channelId?: string | null | undefined;
18768
+ waapiInstanceId?: string | null | undefined;
18769
+ qr?: string | null | undefined;
18770
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18556
18771
  apiKey?: string | undefined;
18557
18772
  tier?: "basic" | "regular" | "premium" | undefined;
18773
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18558
18774
  } | undefined;
18559
18775
  vonageCredentials?: {
18560
18776
  apiKey: string;
@@ -18726,6 +18942,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18726
18942
  dateValue: Date | null;
18727
18943
  uploads: {
18728
18944
  id: string;
18945
+ status: string | null;
18729
18946
  createdAt: Date;
18730
18947
  updatedAt: Date;
18731
18948
  deletedAt: Date | null;
@@ -18734,7 +18951,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18734
18951
  bucketName: string;
18735
18952
  fileSize: number;
18736
18953
  fileUrl: string | null;
18737
- status?: string | undefined;
18738
18954
  }[];
18739
18955
  }[];
18740
18956
  company: {
@@ -18973,7 +19189,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
18973
19189
  previewUrl: string;
18974
19190
  imageSetId: string;
18975
19191
  repliedMessage: {
18976
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19192
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18977
19193
  message: string;
18978
19194
  id: string;
18979
19195
  url: string;
@@ -19027,6 +19243,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19027
19243
  };
19028
19244
  upload: {
19029
19245
  id: string;
19246
+ status: string | null;
19030
19247
  createdAt: Date;
19031
19248
  updatedAt: Date;
19032
19249
  deletedAt: Date | null;
@@ -19035,7 +19252,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19035
19252
  bucketName: string;
19036
19253
  fileSize: number;
19037
19254
  fileUrl: string | null;
19038
- status?: string | undefined;
19039
19255
  };
19040
19256
  assignee: {
19041
19257
  id: string;
@@ -19184,7 +19400,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19184
19400
  template?: any;
19185
19401
  metadata?: any;
19186
19402
  fromMessage?: {
19187
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19403
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19188
19404
  message: string;
19189
19405
  id: string;
19190
19406
  url: string;
@@ -19238,6 +19454,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19238
19454
  };
19239
19455
  upload: {
19240
19456
  id: string;
19457
+ status: string | null;
19241
19458
  createdAt: Date;
19242
19459
  updatedAt: Date;
19243
19460
  deletedAt: Date | null;
@@ -19246,7 +19463,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19246
19463
  bucketName: string;
19247
19464
  fileSize: number;
19248
19465
  fileUrl: string | null;
19249
- status?: string | undefined;
19250
19466
  };
19251
19467
  assignee: {
19252
19468
  id: string;
@@ -19307,15 +19523,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19307
19523
  additionalCredentials?: any;
19308
19524
  senderId?: string | undefined;
19309
19525
  whatsapp?: {
19310
- email: string;
19311
- wabaExternalId: string;
19312
- phoneNumberId: string;
19313
- wabaBusinessId?: string | undefined;
19314
- clientId?: string | undefined;
19315
- channelId?: string | undefined;
19316
- status?: "active" | "pending" | undefined;
19526
+ wabaBusinessId?: string | null | undefined;
19527
+ wabaExternalId?: string | null | undefined;
19528
+ phoneNumberId?: string | null | undefined;
19529
+ email?: string | null | undefined;
19530
+ clientId?: string | null | undefined;
19531
+ channelId?: string | null | undefined;
19532
+ waapiInstanceId?: string | null | undefined;
19533
+ qr?: string | null | undefined;
19534
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19317
19535
  apiKey?: string | undefined;
19318
19536
  tier?: "basic" | "regular" | "premium" | undefined;
19537
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19319
19538
  } | undefined;
19320
19539
  vonageCredentials?: {
19321
19540
  apiKey: string;
@@ -19487,6 +19706,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19487
19706
  dateValue: Date | null;
19488
19707
  uploads: {
19489
19708
  id: string;
19709
+ status: string | null;
19490
19710
  createdAt: Date;
19491
19711
  updatedAt: Date;
19492
19712
  deletedAt: Date | null;
@@ -19495,7 +19715,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19495
19715
  bucketName: string;
19496
19716
  fileSize: number;
19497
19717
  fileUrl: string | null;
19498
- status?: string | undefined;
19499
19718
  }[];
19500
19719
  }[];
19501
19720
  company: {
@@ -19734,7 +19953,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19734
19953
  previewUrl: string;
19735
19954
  imageSetId: string;
19736
19955
  repliedMessage: {
19737
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19956
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19738
19957
  message: string;
19739
19958
  id: string;
19740
19959
  url: string;
@@ -19788,6 +20007,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19788
20007
  };
19789
20008
  upload: {
19790
20009
  id: string;
20010
+ status: string | null;
19791
20011
  createdAt: Date;
19792
20012
  updatedAt: Date;
19793
20013
  deletedAt: Date | null;
@@ -19796,7 +20016,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19796
20016
  bucketName: string;
19797
20017
  fileSize: number;
19798
20018
  fileUrl: string | null;
19799
- status?: string | undefined;
19800
20019
  };
19801
20020
  assignee: {
19802
20021
  id: string;
@@ -19949,7 +20168,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
19949
20168
  requestId: string;
19950
20169
  }, {
19951
20170
  data: {
19952
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20171
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
19953
20172
  message: string;
19954
20173
  id: string;
19955
20174
  url: string;
@@ -20003,6 +20222,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20003
20222
  };
20004
20223
  upload: {
20005
20224
  id: string;
20225
+ status: string | null;
20006
20226
  createdAt: Date;
20007
20227
  updatedAt: Date;
20008
20228
  deletedAt: Date | null;
@@ -20011,7 +20231,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20011
20231
  bucketName: string;
20012
20232
  fileSize: number;
20013
20233
  fileUrl: string | null;
20014
- status?: string | undefined;
20015
20234
  };
20016
20235
  assignee: {
20017
20236
  id: string;
@@ -20072,15 +20291,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20072
20291
  additionalCredentials?: any;
20073
20292
  senderId?: string | undefined;
20074
20293
  whatsapp?: {
20075
- email: string;
20076
- wabaExternalId: string;
20077
- phoneNumberId: string;
20078
- wabaBusinessId?: string | undefined;
20079
- clientId?: string | undefined;
20080
- channelId?: string | undefined;
20081
- status?: "active" | "pending" | undefined;
20294
+ wabaBusinessId?: string | null | undefined;
20295
+ wabaExternalId?: string | null | undefined;
20296
+ phoneNumberId?: string | null | undefined;
20297
+ email?: string | null | undefined;
20298
+ clientId?: string | null | undefined;
20299
+ channelId?: string | null | undefined;
20300
+ waapiInstanceId?: string | null | undefined;
20301
+ qr?: string | null | undefined;
20302
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20082
20303
  apiKey?: string | undefined;
20083
20304
  tier?: "basic" | "regular" | "premium" | undefined;
20305
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20084
20306
  } | undefined;
20085
20307
  vonageCredentials?: {
20086
20308
  apiKey: string;
@@ -20252,6 +20474,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20252
20474
  dateValue: Date | null;
20253
20475
  uploads: {
20254
20476
  id: string;
20477
+ status: string | null;
20255
20478
  createdAt: Date;
20256
20479
  updatedAt: Date;
20257
20480
  deletedAt: Date | null;
@@ -20260,7 +20483,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20260
20483
  bucketName: string;
20261
20484
  fileSize: number;
20262
20485
  fileUrl: string | null;
20263
- status?: string | undefined;
20264
20486
  }[];
20265
20487
  }[];
20266
20488
  company: {
@@ -20499,7 +20721,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20499
20721
  previewUrl: string;
20500
20722
  imageSetId: string;
20501
20723
  repliedMessage: {
20502
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20724
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20503
20725
  message: string;
20504
20726
  id: string;
20505
20727
  url: string;
@@ -20553,6 +20775,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20553
20775
  };
20554
20776
  upload: {
20555
20777
  id: string;
20778
+ status: string | null;
20556
20779
  createdAt: Date;
20557
20780
  updatedAt: Date;
20558
20781
  deletedAt: Date | null;
@@ -20561,7 +20784,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20561
20784
  bucketName: string;
20562
20785
  fileSize: number;
20563
20786
  fileUrl: string | null;
20564
- status?: string | undefined;
20565
20787
  };
20566
20788
  assignee: {
20567
20789
  id: string;
@@ -20710,7 +20932,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20710
20932
  template?: any;
20711
20933
  metadata?: any;
20712
20934
  fromMessage?: {
20713
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20935
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
20714
20936
  message: string;
20715
20937
  id: string;
20716
20938
  url: string;
@@ -20764,6 +20986,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20764
20986
  };
20765
20987
  upload: {
20766
20988
  id: string;
20989
+ status: string | null;
20767
20990
  createdAt: Date;
20768
20991
  updatedAt: Date;
20769
20992
  deletedAt: Date | null;
@@ -20772,7 +20995,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20772
20995
  bucketName: string;
20773
20996
  fileSize: number;
20774
20997
  fileUrl: string | null;
20775
- status?: string | undefined;
20776
20998
  };
20777
20999
  assignee: {
20778
21000
  id: string;
@@ -20833,15 +21055,18 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
20833
21055
  additionalCredentials?: any;
20834
21056
  senderId?: string | undefined;
20835
21057
  whatsapp?: {
20836
- email: string;
20837
- wabaExternalId: string;
20838
- phoneNumberId: string;
20839
- wabaBusinessId?: string | undefined;
20840
- clientId?: string | undefined;
20841
- channelId?: string | undefined;
20842
- status?: "active" | "pending" | undefined;
21058
+ wabaBusinessId?: string | null | undefined;
21059
+ wabaExternalId?: string | null | undefined;
21060
+ phoneNumberId?: string | null | undefined;
21061
+ email?: string | null | undefined;
21062
+ clientId?: string | null | undefined;
21063
+ channelId?: string | null | undefined;
21064
+ waapiInstanceId?: string | null | undefined;
21065
+ qr?: string | null | undefined;
21066
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20843
21067
  apiKey?: string | undefined;
20844
21068
  tier?: "basic" | "regular" | "premium" | undefined;
21069
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20845
21070
  } | undefined;
20846
21071
  vonageCredentials?: {
20847
21072
  apiKey: string;
@@ -21013,6 +21238,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21013
21238
  dateValue: Date | null;
21014
21239
  uploads: {
21015
21240
  id: string;
21241
+ status: string | null;
21016
21242
  createdAt: Date;
21017
21243
  updatedAt: Date;
21018
21244
  deletedAt: Date | null;
@@ -21021,7 +21247,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21021
21247
  bucketName: string;
21022
21248
  fileSize: number;
21023
21249
  fileUrl: string | null;
21024
- status?: string | undefined;
21025
21250
  }[];
21026
21251
  }[];
21027
21252
  company: {
@@ -21260,7 +21485,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21260
21485
  previewUrl: string;
21261
21486
  imageSetId: string;
21262
21487
  repliedMessage: {
21263
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21488
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
21264
21489
  message: string;
21265
21490
  id: string;
21266
21491
  url: string;
@@ -21314,6 +21539,7 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21314
21539
  };
21315
21540
  upload: {
21316
21541
  id: string;
21542
+ status: string | null;
21317
21543
  createdAt: Date;
21318
21544
  updatedAt: Date;
21319
21545
  deletedAt: Date | null;
@@ -21322,7 +21548,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
21322
21548
  bucketName: string;
21323
21549
  fileSize: number;
21324
21550
  fileUrl: string | null;
21325
- status?: string | undefined;
21326
21551
  };
21327
21552
  assignee: {
21328
21553
  id: string;
@@ -21488,35 +21713,44 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21488
21713
  additionalCredentials: z.ZodOptional<z.ZodAny>;
21489
21714
  senderId: z.ZodOptional<z.ZodString>;
21490
21715
  whatsapp: z.ZodOptional<z.ZodObject<{
21491
- wabaBusinessId: z.ZodOptional<z.ZodString>;
21492
- wabaExternalId: z.ZodString;
21493
- phoneNumberId: z.ZodString;
21494
- email: z.ZodString;
21495
- clientId: z.ZodOptional<z.ZodString>;
21496
- channelId: z.ZodOptional<z.ZodString>;
21497
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
21716
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21717
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21718
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21719
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21720
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21721
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21722
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21723
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21724
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
21498
21725
  apiKey: z.ZodOptional<z.ZodString>;
21499
21726
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
21727
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
21500
21728
  }, "strip", z.ZodTypeAny, {
21501
- email: string;
21502
- wabaExternalId: string;
21503
- phoneNumberId: string;
21504
- wabaBusinessId?: string | undefined;
21505
- clientId?: string | undefined;
21506
- channelId?: string | undefined;
21507
- status?: "active" | "pending" | undefined;
21729
+ wabaBusinessId?: string | null | undefined;
21730
+ wabaExternalId?: string | null | undefined;
21731
+ phoneNumberId?: string | null | undefined;
21732
+ email?: string | null | undefined;
21733
+ clientId?: string | null | undefined;
21734
+ channelId?: string | null | undefined;
21735
+ waapiInstanceId?: string | null | undefined;
21736
+ qr?: string | null | undefined;
21737
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21508
21738
  apiKey?: string | undefined;
21509
21739
  tier?: "basic" | "regular" | "premium" | undefined;
21740
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21510
21741
  }, {
21511
- email: string;
21512
- wabaExternalId: string;
21513
- phoneNumberId: string;
21514
- wabaBusinessId?: string | undefined;
21515
- clientId?: string | undefined;
21516
- channelId?: string | undefined;
21517
- status?: "active" | "pending" | undefined;
21742
+ wabaBusinessId?: string | null | undefined;
21743
+ wabaExternalId?: string | null | undefined;
21744
+ phoneNumberId?: string | null | undefined;
21745
+ email?: string | null | undefined;
21746
+ clientId?: string | null | undefined;
21747
+ channelId?: string | null | undefined;
21748
+ waapiInstanceId?: string | null | undefined;
21749
+ qr?: string | null | undefined;
21750
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21518
21751
  apiKey?: string | undefined;
21519
21752
  tier?: "basic" | "regular" | "premium" | undefined;
21753
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21520
21754
  }>>;
21521
21755
  vonageCredentials: z.ZodOptional<z.ZodObject<{
21522
21756
  mobileNumber: z.ZodString;
@@ -21542,15 +21776,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21542
21776
  additionalCredentials?: any;
21543
21777
  senderId?: string | undefined;
21544
21778
  whatsapp?: {
21545
- email: string;
21546
- wabaExternalId: string;
21547
- phoneNumberId: string;
21548
- wabaBusinessId?: string | undefined;
21549
- clientId?: string | undefined;
21550
- channelId?: string | undefined;
21551
- status?: "active" | "pending" | undefined;
21779
+ wabaBusinessId?: string | null | undefined;
21780
+ wabaExternalId?: string | null | undefined;
21781
+ phoneNumberId?: string | null | undefined;
21782
+ email?: string | null | undefined;
21783
+ clientId?: string | null | undefined;
21784
+ channelId?: string | null | undefined;
21785
+ waapiInstanceId?: string | null | undefined;
21786
+ qr?: string | null | undefined;
21787
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21552
21788
  apiKey?: string | undefined;
21553
21789
  tier?: "basic" | "regular" | "premium" | undefined;
21790
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21554
21791
  } | undefined;
21555
21792
  vonageCredentials?: {
21556
21793
  apiKey: string;
@@ -21568,15 +21805,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21568
21805
  additionalCredentials?: any;
21569
21806
  senderId?: string | undefined;
21570
21807
  whatsapp?: {
21571
- email: string;
21572
- wabaExternalId: string;
21573
- phoneNumberId: string;
21574
- wabaBusinessId?: string | undefined;
21575
- clientId?: string | undefined;
21576
- channelId?: string | undefined;
21577
- status?: "active" | "pending" | undefined;
21808
+ wabaBusinessId?: string | null | undefined;
21809
+ wabaExternalId?: string | null | undefined;
21810
+ phoneNumberId?: string | null | undefined;
21811
+ email?: string | null | undefined;
21812
+ clientId?: string | null | undefined;
21813
+ channelId?: string | null | undefined;
21814
+ waapiInstanceId?: string | null | undefined;
21815
+ qr?: string | null | undefined;
21816
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21578
21817
  apiKey?: string | undefined;
21579
21818
  tier?: "basic" | "regular" | "premium" | undefined;
21819
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21580
21820
  } | undefined;
21581
21821
  vonageCredentials?: {
21582
21822
  apiKey: string;
@@ -21624,15 +21864,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21624
21864
  additionalCredentials?: any;
21625
21865
  senderId?: string | undefined;
21626
21866
  whatsapp?: {
21627
- email: string;
21628
- wabaExternalId: string;
21629
- phoneNumberId: string;
21630
- wabaBusinessId?: string | undefined;
21631
- clientId?: string | undefined;
21632
- channelId?: string | undefined;
21633
- status?: "active" | "pending" | undefined;
21867
+ wabaBusinessId?: string | null | undefined;
21868
+ wabaExternalId?: string | null | undefined;
21869
+ phoneNumberId?: string | null | undefined;
21870
+ email?: string | null | undefined;
21871
+ clientId?: string | null | undefined;
21872
+ channelId?: string | null | undefined;
21873
+ waapiInstanceId?: string | null | undefined;
21874
+ qr?: string | null | undefined;
21875
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21634
21876
  apiKey?: string | undefined;
21635
21877
  tier?: "basic" | "regular" | "premium" | undefined;
21878
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21636
21879
  } | undefined;
21637
21880
  vonageCredentials?: {
21638
21881
  apiKey: string;
@@ -21668,15 +21911,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21668
21911
  additionalCredentials?: any;
21669
21912
  senderId?: string | undefined;
21670
21913
  whatsapp?: {
21671
- email: string;
21672
- wabaExternalId: string;
21673
- phoneNumberId: string;
21674
- wabaBusinessId?: string | undefined;
21675
- clientId?: string | undefined;
21676
- channelId?: string | undefined;
21677
- status?: "active" | "pending" | undefined;
21914
+ wabaBusinessId?: string | null | undefined;
21915
+ wabaExternalId?: string | null | undefined;
21916
+ phoneNumberId?: string | null | undefined;
21917
+ email?: string | null | undefined;
21918
+ clientId?: string | null | undefined;
21919
+ channelId?: string | null | undefined;
21920
+ waapiInstanceId?: string | null | undefined;
21921
+ qr?: string | null | undefined;
21922
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21678
21923
  apiKey?: string | undefined;
21679
21924
  tier?: "basic" | "regular" | "premium" | undefined;
21925
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21680
21926
  } | undefined;
21681
21927
  vonageCredentials?: {
21682
21928
  apiKey: string;
@@ -21714,15 +21960,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21714
21960
  additionalCredentials?: any;
21715
21961
  senderId?: string | undefined;
21716
21962
  whatsapp?: {
21717
- email: string;
21718
- wabaExternalId: string;
21719
- phoneNumberId: string;
21720
- wabaBusinessId?: string | undefined;
21721
- clientId?: string | undefined;
21722
- channelId?: string | undefined;
21723
- status?: "active" | "pending" | undefined;
21963
+ wabaBusinessId?: string | null | undefined;
21964
+ wabaExternalId?: string | null | undefined;
21965
+ phoneNumberId?: string | null | undefined;
21966
+ email?: string | null | undefined;
21967
+ clientId?: string | null | undefined;
21968
+ channelId?: string | null | undefined;
21969
+ waapiInstanceId?: string | null | undefined;
21970
+ qr?: string | null | undefined;
21971
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21724
21972
  apiKey?: string | undefined;
21725
21973
  tier?: "basic" | "regular" | "premium" | undefined;
21974
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21726
21975
  } | undefined;
21727
21976
  vonageCredentials?: {
21728
21977
  apiKey: string;
@@ -21761,15 +22010,18 @@ export declare const ChannelServiceResponseSchema: z.ZodObject<{
21761
22010
  additionalCredentials?: any;
21762
22011
  senderId?: string | undefined;
21763
22012
  whatsapp?: {
21764
- email: string;
21765
- wabaExternalId: string;
21766
- phoneNumberId: string;
21767
- wabaBusinessId?: string | undefined;
21768
- clientId?: string | undefined;
21769
- channelId?: string | undefined;
21770
- status?: "active" | "pending" | undefined;
22013
+ wabaBusinessId?: string | null | undefined;
22014
+ wabaExternalId?: string | null | undefined;
22015
+ phoneNumberId?: string | null | undefined;
22016
+ email?: string | null | undefined;
22017
+ clientId?: string | null | undefined;
22018
+ channelId?: string | null | undefined;
22019
+ waapiInstanceId?: string | null | undefined;
22020
+ qr?: string | null | undefined;
22021
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21771
22022
  apiKey?: string | undefined;
21772
22023
  tier?: "basic" | "regular" | "premium" | undefined;
22024
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21773
22025
  } | undefined;
21774
22026
  vonageCredentials?: {
21775
22027
  apiKey: string;
@@ -21804,7 +22056,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
21804
22056
  deletedAt: z.ZodNullable<z.ZodString>;
21805
22057
  message: z.ZodOptional<z.ZodString>;
21806
22058
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
21807
- 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", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
22059
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
21808
22060
  metadata: z.ZodAny;
21809
22061
  platformId: z.ZodString;
21810
22062
  platformMessageId: z.ZodString;
@@ -22146,9 +22398,10 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22146
22398
  fileSize: z.ZodNumber;
22147
22399
  fileKey: z.ZodString;
22148
22400
  fileUrl: z.ZodNullable<z.ZodString>;
22149
- status: z.ZodOptional<z.ZodString>;
22401
+ status: z.ZodNullable<z.ZodString>;
22150
22402
  }, "strip", z.ZodTypeAny, {
22151
22403
  id: string;
22404
+ status: string | null;
22152
22405
  createdAt: Date;
22153
22406
  updatedAt: Date;
22154
22407
  deletedAt: Date | null;
@@ -22157,9 +22410,9 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22157
22410
  bucketName: string;
22158
22411
  fileSize: number;
22159
22412
  fileUrl: string | null;
22160
- status?: string | undefined;
22161
22413
  }, {
22162
22414
  id: string;
22415
+ status: string | null;
22163
22416
  createdAt: Date;
22164
22417
  updatedAt: Date;
22165
22418
  deletedAt: Date | null;
@@ -22168,7 +22421,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22168
22421
  bucketName: string;
22169
22422
  fileSize: number;
22170
22423
  fileUrl: string | null;
22171
- status?: string | undefined;
22172
22424
  }>, "many">;
22173
22425
  }, "strip", z.ZodTypeAny, {
22174
22426
  id: string;
@@ -22195,6 +22447,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22195
22447
  dateValue: Date | null;
22196
22448
  uploads: {
22197
22449
  id: string;
22450
+ status: string | null;
22198
22451
  createdAt: Date;
22199
22452
  updatedAt: Date;
22200
22453
  deletedAt: Date | null;
@@ -22203,7 +22456,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22203
22456
  bucketName: string;
22204
22457
  fileSize: number;
22205
22458
  fileUrl: string | null;
22206
- status?: string | undefined;
22207
22459
  }[];
22208
22460
  }, {
22209
22461
  id: string;
@@ -22230,6 +22482,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22230
22482
  dateValue: Date | null;
22231
22483
  uploads: {
22232
22484
  id: string;
22485
+ status: string | null;
22233
22486
  createdAt: Date;
22234
22487
  updatedAt: Date;
22235
22488
  deletedAt: Date | null;
@@ -22238,7 +22491,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22238
22491
  bucketName: string;
22239
22492
  fileSize: number;
22240
22493
  fileUrl: string | null;
22241
- status?: string | undefined;
22242
22494
  }[];
22243
22495
  }>, "many">>;
22244
22496
  contactEmails: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -22398,6 +22650,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22398
22650
  dateValue: Date | null;
22399
22651
  uploads: {
22400
22652
  id: string;
22653
+ status: string | null;
22401
22654
  createdAt: Date;
22402
22655
  updatedAt: Date;
22403
22656
  deletedAt: Date | null;
@@ -22406,7 +22659,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22406
22659
  bucketName: string;
22407
22660
  fileSize: number;
22408
22661
  fileUrl: string | null;
22409
- status?: string | undefined;
22410
22662
  }[];
22411
22663
  }[] | undefined;
22412
22664
  contactEmails?: {
@@ -22494,6 +22746,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22494
22746
  dateValue: Date | null;
22495
22747
  uploads: {
22496
22748
  id: string;
22749
+ status: string | null;
22497
22750
  createdAt: Date;
22498
22751
  updatedAt: Date;
22499
22752
  deletedAt: Date | null;
@@ -22502,7 +22755,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22502
22755
  bucketName: string;
22503
22756
  fileSize: number;
22504
22757
  fileUrl: string | null;
22505
- status?: string | undefined;
22506
22758
  }[];
22507
22759
  }[] | undefined;
22508
22760
  contactEmails?: {
@@ -22603,6 +22855,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22603
22855
  dateValue: Date | null;
22604
22856
  uploads: {
22605
22857
  id: string;
22858
+ status: string | null;
22606
22859
  createdAt: Date;
22607
22860
  updatedAt: Date;
22608
22861
  deletedAt: Date | null;
@@ -22611,7 +22864,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22611
22864
  bucketName: string;
22612
22865
  fileSize: number;
22613
22866
  fileUrl: string | null;
22614
- status?: string | undefined;
22615
22867
  }[];
22616
22868
  }[] | undefined;
22617
22869
  contactEmails?: {
@@ -22714,6 +22966,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22714
22966
  dateValue: Date | null;
22715
22967
  uploads: {
22716
22968
  id: string;
22969
+ status: string | null;
22717
22970
  createdAt: Date;
22718
22971
  updatedAt: Date;
22719
22972
  deletedAt: Date | null;
@@ -22722,7 +22975,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
22722
22975
  bucketName: string;
22723
22976
  fileSize: number;
22724
22977
  fileUrl: string | null;
22725
- status?: string | undefined;
22726
22978
  }[];
22727
22979
  }[] | undefined;
22728
22980
  contactEmails?: {
@@ -23181,35 +23433,44 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23181
23433
  additionalCredentials: z.ZodOptional<z.ZodAny>;
23182
23434
  senderId: z.ZodOptional<z.ZodString>;
23183
23435
  whatsapp: z.ZodOptional<z.ZodObject<{
23184
- wabaBusinessId: z.ZodOptional<z.ZodString>;
23185
- wabaExternalId: z.ZodString;
23186
- phoneNumberId: z.ZodString;
23187
- email: z.ZodString;
23188
- clientId: z.ZodOptional<z.ZodString>;
23189
- channelId: z.ZodOptional<z.ZodString>;
23190
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
23436
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23437
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23438
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23439
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23440
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23441
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23442
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23443
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
23444
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
23191
23445
  apiKey: z.ZodOptional<z.ZodString>;
23192
23446
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
23447
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
23193
23448
  }, "strip", z.ZodTypeAny, {
23194
- email: string;
23195
- wabaExternalId: string;
23196
- phoneNumberId: string;
23197
- wabaBusinessId?: string | undefined;
23198
- clientId?: string | undefined;
23199
- channelId?: string | undefined;
23200
- status?: "active" | "pending" | undefined;
23449
+ wabaBusinessId?: string | null | undefined;
23450
+ wabaExternalId?: string | null | undefined;
23451
+ phoneNumberId?: string | null | undefined;
23452
+ email?: string | null | undefined;
23453
+ clientId?: string | null | undefined;
23454
+ channelId?: string | null | undefined;
23455
+ waapiInstanceId?: string | null | undefined;
23456
+ qr?: string | null | undefined;
23457
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23201
23458
  apiKey?: string | undefined;
23202
23459
  tier?: "basic" | "regular" | "premium" | undefined;
23460
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23203
23461
  }, {
23204
- email: string;
23205
- wabaExternalId: string;
23206
- phoneNumberId: string;
23207
- wabaBusinessId?: string | undefined;
23208
- clientId?: string | undefined;
23209
- channelId?: string | undefined;
23210
- status?: "active" | "pending" | undefined;
23462
+ wabaBusinessId?: string | null | undefined;
23463
+ wabaExternalId?: string | null | undefined;
23464
+ phoneNumberId?: string | null | undefined;
23465
+ email?: string | null | undefined;
23466
+ clientId?: string | null | undefined;
23467
+ channelId?: string | null | undefined;
23468
+ waapiInstanceId?: string | null | undefined;
23469
+ qr?: string | null | undefined;
23470
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23211
23471
  apiKey?: string | undefined;
23212
23472
  tier?: "basic" | "regular" | "premium" | undefined;
23473
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23213
23474
  }>>;
23214
23475
  vonageCredentials: z.ZodOptional<z.ZodObject<{
23215
23476
  mobileNumber: z.ZodString;
@@ -23235,15 +23496,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23235
23496
  additionalCredentials?: any;
23236
23497
  senderId?: string | undefined;
23237
23498
  whatsapp?: {
23238
- email: string;
23239
- wabaExternalId: string;
23240
- phoneNumberId: string;
23241
- wabaBusinessId?: string | undefined;
23242
- clientId?: string | undefined;
23243
- channelId?: string | undefined;
23244
- status?: "active" | "pending" | undefined;
23499
+ wabaBusinessId?: string | null | undefined;
23500
+ wabaExternalId?: string | null | undefined;
23501
+ phoneNumberId?: string | null | undefined;
23502
+ email?: string | null | undefined;
23503
+ clientId?: string | null | undefined;
23504
+ channelId?: string | null | undefined;
23505
+ waapiInstanceId?: string | null | undefined;
23506
+ qr?: string | null | undefined;
23507
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23245
23508
  apiKey?: string | undefined;
23246
23509
  tier?: "basic" | "regular" | "premium" | undefined;
23510
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23247
23511
  } | undefined;
23248
23512
  vonageCredentials?: {
23249
23513
  apiKey: string;
@@ -23261,15 +23525,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23261
23525
  additionalCredentials?: any;
23262
23526
  senderId?: string | undefined;
23263
23527
  whatsapp?: {
23264
- email: string;
23265
- wabaExternalId: string;
23266
- phoneNumberId: string;
23267
- wabaBusinessId?: string | undefined;
23268
- clientId?: string | undefined;
23269
- channelId?: string | undefined;
23270
- status?: "active" | "pending" | undefined;
23528
+ wabaBusinessId?: string | null | undefined;
23529
+ wabaExternalId?: string | null | undefined;
23530
+ phoneNumberId?: string | null | undefined;
23531
+ email?: string | null | undefined;
23532
+ clientId?: string | null | undefined;
23533
+ channelId?: string | null | undefined;
23534
+ waapiInstanceId?: string | null | undefined;
23535
+ qr?: string | null | undefined;
23536
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23271
23537
  apiKey?: string | undefined;
23272
23538
  tier?: "basic" | "regular" | "premium" | undefined;
23539
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23273
23540
  } | undefined;
23274
23541
  vonageCredentials?: {
23275
23542
  apiKey: string;
@@ -23317,15 +23584,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23317
23584
  additionalCredentials?: any;
23318
23585
  senderId?: string | undefined;
23319
23586
  whatsapp?: {
23320
- email: string;
23321
- wabaExternalId: string;
23322
- phoneNumberId: string;
23323
- wabaBusinessId?: string | undefined;
23324
- clientId?: string | undefined;
23325
- channelId?: string | undefined;
23326
- status?: "active" | "pending" | undefined;
23587
+ wabaBusinessId?: string | null | undefined;
23588
+ wabaExternalId?: string | null | undefined;
23589
+ phoneNumberId?: string | null | undefined;
23590
+ email?: string | null | undefined;
23591
+ clientId?: string | null | undefined;
23592
+ channelId?: string | null | undefined;
23593
+ waapiInstanceId?: string | null | undefined;
23594
+ qr?: string | null | undefined;
23595
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23327
23596
  apiKey?: string | undefined;
23328
23597
  tier?: "basic" | "regular" | "premium" | undefined;
23598
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23329
23599
  } | undefined;
23330
23600
  vonageCredentials?: {
23331
23601
  apiKey: string;
@@ -23361,15 +23631,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
23361
23631
  additionalCredentials?: any;
23362
23632
  senderId?: string | undefined;
23363
23633
  whatsapp?: {
23364
- email: string;
23365
- wabaExternalId: string;
23366
- phoneNumberId: string;
23367
- wabaBusinessId?: string | undefined;
23368
- clientId?: string | undefined;
23369
- channelId?: string | undefined;
23370
- status?: "active" | "pending" | undefined;
23634
+ wabaBusinessId?: string | null | undefined;
23635
+ wabaExternalId?: string | null | undefined;
23636
+ phoneNumberId?: string | null | undefined;
23637
+ email?: string | null | undefined;
23638
+ clientId?: string | null | undefined;
23639
+ channelId?: string | null | undefined;
23640
+ waapiInstanceId?: string | null | undefined;
23641
+ qr?: string | null | undefined;
23642
+ status?: "active" | "pending" | "waapi-qr" | undefined;
23371
23643
  apiKey?: string | undefined;
23372
23644
  tier?: "basic" | "regular" | "premium" | undefined;
23645
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
23373
23646
  } | undefined;
23374
23647
  vonageCredentials?: {
23375
23648
  apiKey: string;
@@ -24007,6 +24280,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24007
24280
  dateValue: Date | null;
24008
24281
  uploads: {
24009
24282
  id: string;
24283
+ status: string | null;
24010
24284
  createdAt: Date;
24011
24285
  updatedAt: Date;
24012
24286
  deletedAt: Date | null;
@@ -24015,7 +24289,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24015
24289
  bucketName: string;
24016
24290
  fileSize: number;
24017
24291
  fileUrl: string | null;
24018
- status?: string | undefined;
24019
24292
  }[];
24020
24293
  }[] | undefined;
24021
24294
  contactEmails?: {
@@ -24154,15 +24427,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24154
24427
  additionalCredentials?: any;
24155
24428
  senderId?: string | undefined;
24156
24429
  whatsapp?: {
24157
- email: string;
24158
- wabaExternalId: string;
24159
- phoneNumberId: string;
24160
- wabaBusinessId?: string | undefined;
24161
- clientId?: string | undefined;
24162
- channelId?: string | undefined;
24163
- status?: "active" | "pending" | undefined;
24430
+ wabaBusinessId?: string | null | undefined;
24431
+ wabaExternalId?: string | null | undefined;
24432
+ phoneNumberId?: string | null | undefined;
24433
+ email?: string | null | undefined;
24434
+ clientId?: string | null | undefined;
24435
+ channelId?: string | null | undefined;
24436
+ waapiInstanceId?: string | null | undefined;
24437
+ qr?: string | null | undefined;
24438
+ status?: "active" | "pending" | "waapi-qr" | undefined;
24164
24439
  apiKey?: string | undefined;
24165
24440
  tier?: "basic" | "regular" | "premium" | undefined;
24441
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
24166
24442
  } | undefined;
24167
24443
  vonageCredentials?: {
24168
24444
  apiKey: string;
@@ -24356,6 +24632,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24356
24632
  dateValue: Date | null;
24357
24633
  uploads: {
24358
24634
  id: string;
24635
+ status: string | null;
24359
24636
  createdAt: Date;
24360
24637
  updatedAt: Date;
24361
24638
  deletedAt: Date | null;
@@ -24364,7 +24641,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24364
24641
  bucketName: string;
24365
24642
  fileSize: number;
24366
24643
  fileUrl: string | null;
24367
- status?: string | undefined;
24368
24644
  }[];
24369
24645
  }[] | undefined;
24370
24646
  contactEmails?: {
@@ -24503,15 +24779,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
24503
24779
  additionalCredentials?: any;
24504
24780
  senderId?: string | undefined;
24505
24781
  whatsapp?: {
24506
- email: string;
24507
- wabaExternalId: string;
24508
- phoneNumberId: string;
24509
- wabaBusinessId?: string | undefined;
24510
- clientId?: string | undefined;
24511
- channelId?: string | undefined;
24512
- status?: "active" | "pending" | undefined;
24782
+ wabaBusinessId?: string | null | undefined;
24783
+ wabaExternalId?: string | null | undefined;
24784
+ phoneNumberId?: string | null | undefined;
24785
+ email?: string | null | undefined;
24786
+ clientId?: string | null | undefined;
24787
+ channelId?: string | null | undefined;
24788
+ waapiInstanceId?: string | null | undefined;
24789
+ qr?: string | null | undefined;
24790
+ status?: "active" | "pending" | "waapi-qr" | undefined;
24513
24791
  apiKey?: string | undefined;
24514
24792
  tier?: "basic" | "regular" | "premium" | undefined;
24793
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
24515
24794
  } | undefined;
24516
24795
  vonageCredentials?: {
24517
24796
  apiKey: string;
@@ -25276,7 +25555,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25276
25555
  }>>>;
25277
25556
  label: z.ZodNullable<z.ZodOptional<z.ZodString>>;
25278
25557
  }, "strip", z.ZodTypeAny, {
25279
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25558
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25280
25559
  id: string;
25281
25560
  direction: "incoming" | "outgoing" | "system";
25282
25561
  createdAt: string;
@@ -25361,6 +25640,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25361
25640
  dateValue: Date | null;
25362
25641
  uploads: {
25363
25642
  id: string;
25643
+ status: string | null;
25364
25644
  createdAt: Date;
25365
25645
  updatedAt: Date;
25366
25646
  deletedAt: Date | null;
@@ -25369,7 +25649,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25369
25649
  bucketName: string;
25370
25650
  fileSize: number;
25371
25651
  fileUrl: string | null;
25372
- status?: string | undefined;
25373
25652
  }[];
25374
25653
  }[] | undefined;
25375
25654
  contactEmails?: {
@@ -25508,15 +25787,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25508
25787
  additionalCredentials?: any;
25509
25788
  senderId?: string | undefined;
25510
25789
  whatsapp?: {
25511
- email: string;
25512
- wabaExternalId: string;
25513
- phoneNumberId: string;
25514
- wabaBusinessId?: string | undefined;
25515
- clientId?: string | undefined;
25516
- channelId?: string | undefined;
25517
- status?: "active" | "pending" | undefined;
25790
+ wabaBusinessId?: string | null | undefined;
25791
+ wabaExternalId?: string | null | undefined;
25792
+ phoneNumberId?: string | null | undefined;
25793
+ email?: string | null | undefined;
25794
+ clientId?: string | null | undefined;
25795
+ channelId?: string | null | undefined;
25796
+ waapiInstanceId?: string | null | undefined;
25797
+ qr?: string | null | undefined;
25798
+ status?: "active" | "pending" | "waapi-qr" | undefined;
25518
25799
  apiKey?: string | undefined;
25519
25800
  tier?: "basic" | "regular" | "premium" | undefined;
25801
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
25520
25802
  } | undefined;
25521
25803
  vonageCredentials?: {
25522
25804
  apiKey: string;
@@ -25788,7 +26070,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25788
26070
  } | null | undefined;
25789
26071
  label?: string | null | undefined;
25790
26072
  }, {
25791
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26073
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
25792
26074
  id: string;
25793
26075
  direction: "incoming" | "outgoing" | "system";
25794
26076
  createdAt: string;
@@ -25873,6 +26155,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25873
26155
  dateValue: Date | null;
25874
26156
  uploads: {
25875
26157
  id: string;
26158
+ status: string | null;
25876
26159
  createdAt: Date;
25877
26160
  updatedAt: Date;
25878
26161
  deletedAt: Date | null;
@@ -25881,7 +26164,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
25881
26164
  bucketName: string;
25882
26165
  fileSize: number;
25883
26166
  fileUrl: string | null;
25884
- status?: string | undefined;
25885
26167
  }[];
25886
26168
  }[] | undefined;
25887
26169
  contactEmails?: {
@@ -26020,15 +26302,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26020
26302
  additionalCredentials?: any;
26021
26303
  senderId?: string | undefined;
26022
26304
  whatsapp?: {
26023
- email: string;
26024
- wabaExternalId: string;
26025
- phoneNumberId: string;
26026
- wabaBusinessId?: string | undefined;
26027
- clientId?: string | undefined;
26028
- channelId?: string | undefined;
26029
- status?: "active" | "pending" | undefined;
26305
+ wabaBusinessId?: string | null | undefined;
26306
+ wabaExternalId?: string | null | undefined;
26307
+ phoneNumberId?: string | null | undefined;
26308
+ email?: string | null | undefined;
26309
+ clientId?: string | null | undefined;
26310
+ channelId?: string | null | undefined;
26311
+ waapiInstanceId?: string | null | undefined;
26312
+ qr?: string | null | undefined;
26313
+ status?: "active" | "pending" | "waapi-qr" | undefined;
26030
26314
  apiKey?: string | undefined;
26031
26315
  tier?: "basic" | "regular" | "premium" | undefined;
26316
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
26032
26317
  } | undefined;
26033
26318
  vonageCredentials?: {
26034
26319
  apiKey: string;
@@ -26302,7 +26587,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26302
26587
  }>;
26303
26588
  }, "strip", z.ZodTypeAny, {
26304
26589
  message: {
26305
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26590
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26306
26591
  id: string;
26307
26592
  direction: "incoming" | "outgoing" | "system";
26308
26593
  createdAt: string;
@@ -26387,6 +26672,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26387
26672
  dateValue: Date | null;
26388
26673
  uploads: {
26389
26674
  id: string;
26675
+ status: string | null;
26390
26676
  createdAt: Date;
26391
26677
  updatedAt: Date;
26392
26678
  deletedAt: Date | null;
@@ -26395,7 +26681,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26395
26681
  bucketName: string;
26396
26682
  fileSize: number;
26397
26683
  fileUrl: string | null;
26398
- status?: string | undefined;
26399
26684
  }[];
26400
26685
  }[] | undefined;
26401
26686
  contactEmails?: {
@@ -26534,15 +26819,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26534
26819
  additionalCredentials?: any;
26535
26820
  senderId?: string | undefined;
26536
26821
  whatsapp?: {
26537
- email: string;
26538
- wabaExternalId: string;
26539
- phoneNumberId: string;
26540
- wabaBusinessId?: string | undefined;
26541
- clientId?: string | undefined;
26542
- channelId?: string | undefined;
26543
- status?: "active" | "pending" | undefined;
26822
+ wabaBusinessId?: string | null | undefined;
26823
+ wabaExternalId?: string | null | undefined;
26824
+ phoneNumberId?: string | null | undefined;
26825
+ email?: string | null | undefined;
26826
+ clientId?: string | null | undefined;
26827
+ channelId?: string | null | undefined;
26828
+ waapiInstanceId?: string | null | undefined;
26829
+ qr?: string | null | undefined;
26830
+ status?: "active" | "pending" | "waapi-qr" | undefined;
26544
26831
  apiKey?: string | undefined;
26545
26832
  tier?: "basic" | "regular" | "premium" | undefined;
26833
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
26546
26834
  } | undefined;
26547
26835
  vonageCredentials?: {
26548
26836
  apiKey: string;
@@ -26816,7 +27104,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26816
27104
  };
26817
27105
  }, {
26818
27106
  message: {
26819
- 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" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
27107
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
26820
27108
  id: string;
26821
27109
  direction: "incoming" | "outgoing" | "system";
26822
27110
  createdAt: string;
@@ -26901,6 +27189,7 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26901
27189
  dateValue: Date | null;
26902
27190
  uploads: {
26903
27191
  id: string;
27192
+ status: string | null;
26904
27193
  createdAt: Date;
26905
27194
  updatedAt: Date;
26906
27195
  deletedAt: Date | null;
@@ -26909,7 +27198,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
26909
27198
  bucketName: string;
26910
27199
  fileSize: number;
26911
27200
  fileUrl: string | null;
26912
- status?: string | undefined;
26913
27201
  }[];
26914
27202
  }[] | undefined;
26915
27203
  contactEmails?: {
@@ -27048,15 +27336,18 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
27048
27336
  additionalCredentials?: any;
27049
27337
  senderId?: string | undefined;
27050
27338
  whatsapp?: {
27051
- email: string;
27052
- wabaExternalId: string;
27053
- phoneNumberId: string;
27054
- wabaBusinessId?: string | undefined;
27055
- clientId?: string | undefined;
27056
- channelId?: string | undefined;
27057
- status?: "active" | "pending" | undefined;
27339
+ wabaBusinessId?: string | null | undefined;
27340
+ wabaExternalId?: string | null | undefined;
27341
+ phoneNumberId?: string | null | undefined;
27342
+ email?: string | null | undefined;
27343
+ clientId?: string | null | undefined;
27344
+ channelId?: string | null | undefined;
27345
+ waapiInstanceId?: string | null | undefined;
27346
+ qr?: string | null | undefined;
27347
+ status?: "active" | "pending" | "waapi-qr" | undefined;
27058
27348
  apiKey?: string | undefined;
27059
27349
  tier?: "basic" | "regular" | "premium" | undefined;
27350
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
27060
27351
  } | undefined;
27061
27352
  vonageCredentials?: {
27062
27353
  apiKey: string;