@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
@@ -39,35 +39,44 @@ export declare const channelContract: {
39
39
  additionalCredentials: z.ZodOptional<z.ZodAny>;
40
40
  senderId: z.ZodOptional<z.ZodString>;
41
41
  whatsapp: z.ZodOptional<z.ZodObject<{
42
- wabaBusinessId: z.ZodOptional<z.ZodString>;
43
- wabaExternalId: z.ZodString;
44
- phoneNumberId: z.ZodString;
45
- email: z.ZodString;
46
- clientId: z.ZodOptional<z.ZodString>;
47
- channelId: z.ZodOptional<z.ZodString>;
48
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
42
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
43
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
44
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
45
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
46
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
47
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
49
51
  apiKey: z.ZodOptional<z.ZodString>;
50
52
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
53
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
51
54
  }, "strip", z.ZodTypeAny, {
52
- email: string;
53
- wabaExternalId: string;
54
- phoneNumberId: string;
55
- wabaBusinessId?: string | undefined;
56
- clientId?: string | undefined;
57
- channelId?: string | undefined;
58
- status?: "active" | "pending" | undefined;
55
+ wabaBusinessId?: string | null | undefined;
56
+ wabaExternalId?: string | null | undefined;
57
+ phoneNumberId?: string | null | undefined;
58
+ email?: string | null | undefined;
59
+ clientId?: string | null | undefined;
60
+ channelId?: string | null | undefined;
61
+ waapiInstanceId?: string | null | undefined;
62
+ qr?: string | null | undefined;
63
+ status?: "active" | "pending" | "waapi-qr" | undefined;
59
64
  apiKey?: string | undefined;
60
65
  tier?: "basic" | "regular" | "premium" | undefined;
66
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
61
67
  }, {
62
- email: string;
63
- wabaExternalId: string;
64
- phoneNumberId: string;
65
- wabaBusinessId?: string | undefined;
66
- clientId?: string | undefined;
67
- channelId?: string | undefined;
68
- status?: "active" | "pending" | undefined;
68
+ wabaBusinessId?: string | null | undefined;
69
+ wabaExternalId?: string | null | undefined;
70
+ phoneNumberId?: string | null | undefined;
71
+ email?: string | null | undefined;
72
+ clientId?: string | null | undefined;
73
+ channelId?: string | null | undefined;
74
+ waapiInstanceId?: string | null | undefined;
75
+ qr?: string | null | undefined;
76
+ status?: "active" | "pending" | "waapi-qr" | undefined;
69
77
  apiKey?: string | undefined;
70
78
  tier?: "basic" | "regular" | "premium" | undefined;
79
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
71
80
  }>>;
72
81
  vonageCredentials: z.ZodOptional<z.ZodObject<{
73
82
  mobileNumber: z.ZodString;
@@ -93,15 +102,18 @@ export declare const channelContract: {
93
102
  additionalCredentials?: any;
94
103
  senderId?: string | undefined;
95
104
  whatsapp?: {
96
- email: string;
97
- wabaExternalId: string;
98
- phoneNumberId: string;
99
- wabaBusinessId?: string | undefined;
100
- clientId?: string | undefined;
101
- channelId?: string | undefined;
102
- status?: "active" | "pending" | undefined;
105
+ wabaBusinessId?: string | null | undefined;
106
+ wabaExternalId?: string | null | undefined;
107
+ phoneNumberId?: string | null | undefined;
108
+ email?: string | null | undefined;
109
+ clientId?: string | null | undefined;
110
+ channelId?: string | null | undefined;
111
+ waapiInstanceId?: string | null | undefined;
112
+ qr?: string | null | undefined;
113
+ status?: "active" | "pending" | "waapi-qr" | undefined;
103
114
  apiKey?: string | undefined;
104
115
  tier?: "basic" | "regular" | "premium" | undefined;
116
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
105
117
  } | undefined;
106
118
  vonageCredentials?: {
107
119
  apiKey: string;
@@ -119,15 +131,18 @@ export declare const channelContract: {
119
131
  additionalCredentials?: any;
120
132
  senderId?: string | undefined;
121
133
  whatsapp?: {
122
- email: string;
123
- wabaExternalId: string;
124
- phoneNumberId: string;
125
- wabaBusinessId?: string | undefined;
126
- clientId?: string | undefined;
127
- channelId?: string | undefined;
128
- status?: "active" | "pending" | undefined;
134
+ wabaBusinessId?: string | null | undefined;
135
+ wabaExternalId?: string | null | undefined;
136
+ phoneNumberId?: string | null | undefined;
137
+ email?: string | null | undefined;
138
+ clientId?: string | null | undefined;
139
+ channelId?: string | null | undefined;
140
+ waapiInstanceId?: string | null | undefined;
141
+ qr?: string | null | undefined;
142
+ status?: "active" | "pending" | "waapi-qr" | undefined;
129
143
  apiKey?: string | undefined;
130
144
  tier?: "basic" | "regular" | "premium" | undefined;
145
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
131
146
  } | undefined;
132
147
  vonageCredentials?: {
133
148
  apiKey: string;
@@ -379,15 +394,18 @@ export declare const channelContract: {
379
394
  additionalCredentials?: any;
380
395
  senderId?: string | undefined;
381
396
  whatsapp?: {
382
- email: string;
383
- wabaExternalId: string;
384
- phoneNumberId: string;
385
- wabaBusinessId?: string | undefined;
386
- clientId?: string | undefined;
387
- channelId?: string | undefined;
388
- status?: "active" | "pending" | undefined;
397
+ wabaBusinessId?: string | null | undefined;
398
+ wabaExternalId?: string | null | undefined;
399
+ phoneNumberId?: string | null | undefined;
400
+ email?: string | null | undefined;
401
+ clientId?: string | null | undefined;
402
+ channelId?: string | null | undefined;
403
+ waapiInstanceId?: string | null | undefined;
404
+ qr?: string | null | undefined;
405
+ status?: "active" | "pending" | "waapi-qr" | undefined;
389
406
  apiKey?: string | undefined;
390
407
  tier?: "basic" | "regular" | "premium" | undefined;
408
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
391
409
  } | undefined;
392
410
  vonageCredentials?: {
393
411
  apiKey: string;
@@ -470,15 +488,18 @@ export declare const channelContract: {
470
488
  additionalCredentials?: any;
471
489
  senderId?: string | undefined;
472
490
  whatsapp?: {
473
- email: string;
474
- wabaExternalId: string;
475
- phoneNumberId: string;
476
- wabaBusinessId?: string | undefined;
477
- clientId?: string | undefined;
478
- channelId?: string | undefined;
479
- status?: "active" | "pending" | undefined;
491
+ wabaBusinessId?: string | null | undefined;
492
+ wabaExternalId?: string | null | undefined;
493
+ phoneNumberId?: string | null | undefined;
494
+ email?: string | null | undefined;
495
+ clientId?: string | null | undefined;
496
+ channelId?: string | null | undefined;
497
+ waapiInstanceId?: string | null | undefined;
498
+ qr?: string | null | undefined;
499
+ status?: "active" | "pending" | "waapi-qr" | undefined;
480
500
  apiKey?: string | undefined;
481
501
  tier?: "basic" | "regular" | "premium" | undefined;
502
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
482
503
  } | undefined;
483
504
  vonageCredentials?: {
484
505
  apiKey: string;
@@ -563,15 +584,18 @@ export declare const channelContract: {
563
584
  additionalCredentials?: any;
564
585
  senderId?: string | undefined;
565
586
  whatsapp?: {
566
- email: string;
567
- wabaExternalId: string;
568
- phoneNumberId: string;
569
- wabaBusinessId?: string | undefined;
570
- clientId?: string | undefined;
571
- channelId?: string | undefined;
572
- status?: "active" | "pending" | undefined;
587
+ wabaBusinessId?: string | null | undefined;
588
+ wabaExternalId?: string | null | undefined;
589
+ phoneNumberId?: string | null | undefined;
590
+ email?: string | null | undefined;
591
+ clientId?: string | null | undefined;
592
+ channelId?: string | null | undefined;
593
+ waapiInstanceId?: string | null | undefined;
594
+ qr?: string | null | undefined;
595
+ status?: "active" | "pending" | "waapi-qr" | undefined;
573
596
  apiKey?: string | undefined;
574
597
  tier?: "basic" | "regular" | "premium" | undefined;
598
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
575
599
  } | undefined;
576
600
  vonageCredentials?: {
577
601
  apiKey: string;
@@ -657,15 +681,18 @@ export declare const channelContract: {
657
681
  additionalCredentials?: any;
658
682
  senderId?: string | undefined;
659
683
  whatsapp?: {
660
- email: string;
661
- wabaExternalId: string;
662
- phoneNumberId: string;
663
- wabaBusinessId?: string | undefined;
664
- clientId?: string | undefined;
665
- channelId?: string | undefined;
666
- status?: "active" | "pending" | undefined;
684
+ wabaBusinessId?: string | null | undefined;
685
+ wabaExternalId?: string | null | undefined;
686
+ phoneNumberId?: string | null | undefined;
687
+ email?: string | null | undefined;
688
+ clientId?: string | null | undefined;
689
+ channelId?: string | null | undefined;
690
+ waapiInstanceId?: string | null | undefined;
691
+ qr?: string | null | undefined;
692
+ status?: "active" | "pending" | "waapi-qr" | undefined;
667
693
  apiKey?: string | undefined;
668
694
  tier?: "basic" | "regular" | "premium" | undefined;
695
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
669
696
  } | undefined;
670
697
  vonageCredentials?: {
671
698
  apiKey: string;
@@ -783,35 +810,44 @@ export declare const channelContract: {
783
810
  additionalCredentials: z.ZodOptional<z.ZodAny>;
784
811
  senderId: z.ZodOptional<z.ZodString>;
785
812
  whatsapp: z.ZodOptional<z.ZodObject<{
786
- wabaBusinessId: z.ZodOptional<z.ZodString>;
787
- wabaExternalId: z.ZodString;
788
- phoneNumberId: z.ZodString;
789
- email: z.ZodString;
790
- clientId: z.ZodOptional<z.ZodString>;
791
- channelId: z.ZodOptional<z.ZodString>;
792
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
813
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
814
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
815
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
816
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
817
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
818
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
819
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
820
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
821
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
793
822
  apiKey: z.ZodOptional<z.ZodString>;
794
823
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
824
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
795
825
  }, "strip", z.ZodTypeAny, {
796
- email: string;
797
- wabaExternalId: string;
798
- phoneNumberId: string;
799
- wabaBusinessId?: string | undefined;
800
- clientId?: string | undefined;
801
- channelId?: string | undefined;
802
- status?: "active" | "pending" | undefined;
826
+ wabaBusinessId?: string | null | undefined;
827
+ wabaExternalId?: string | null | undefined;
828
+ phoneNumberId?: string | null | undefined;
829
+ email?: string | null | undefined;
830
+ clientId?: string | null | undefined;
831
+ channelId?: string | null | undefined;
832
+ waapiInstanceId?: string | null | undefined;
833
+ qr?: string | null | undefined;
834
+ status?: "active" | "pending" | "waapi-qr" | undefined;
803
835
  apiKey?: string | undefined;
804
836
  tier?: "basic" | "regular" | "premium" | undefined;
837
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
805
838
  }, {
806
- email: string;
807
- wabaExternalId: string;
808
- phoneNumberId: string;
809
- wabaBusinessId?: string | undefined;
810
- clientId?: string | undefined;
811
- channelId?: string | undefined;
812
- status?: "active" | "pending" | undefined;
839
+ wabaBusinessId?: string | null | undefined;
840
+ wabaExternalId?: string | null | undefined;
841
+ phoneNumberId?: string | null | undefined;
842
+ email?: string | null | undefined;
843
+ clientId?: string | null | undefined;
844
+ channelId?: string | null | undefined;
845
+ waapiInstanceId?: string | null | undefined;
846
+ qr?: string | null | undefined;
847
+ status?: "active" | "pending" | "waapi-qr" | undefined;
813
848
  apiKey?: string | undefined;
814
849
  tier?: "basic" | "regular" | "premium" | undefined;
850
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
815
851
  }>>;
816
852
  vonageCredentials: z.ZodOptional<z.ZodObject<{
817
853
  mobileNumber: z.ZodString;
@@ -837,15 +873,18 @@ export declare const channelContract: {
837
873
  additionalCredentials?: any;
838
874
  senderId?: string | undefined;
839
875
  whatsapp?: {
840
- email: string;
841
- wabaExternalId: string;
842
- phoneNumberId: string;
843
- wabaBusinessId?: string | undefined;
844
- clientId?: string | undefined;
845
- channelId?: string | undefined;
846
- status?: "active" | "pending" | undefined;
876
+ wabaBusinessId?: string | null | undefined;
877
+ wabaExternalId?: string | null | undefined;
878
+ phoneNumberId?: string | null | undefined;
879
+ email?: string | null | undefined;
880
+ clientId?: string | null | undefined;
881
+ channelId?: string | null | undefined;
882
+ waapiInstanceId?: string | null | undefined;
883
+ qr?: string | null | undefined;
884
+ status?: "active" | "pending" | "waapi-qr" | undefined;
847
885
  apiKey?: string | undefined;
848
886
  tier?: "basic" | "regular" | "premium" | undefined;
887
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
849
888
  } | undefined;
850
889
  vonageCredentials?: {
851
890
  apiKey: string;
@@ -863,15 +902,18 @@ export declare const channelContract: {
863
902
  additionalCredentials?: any;
864
903
  senderId?: string | undefined;
865
904
  whatsapp?: {
866
- email: string;
867
- wabaExternalId: string;
868
- phoneNumberId: string;
869
- wabaBusinessId?: string | undefined;
870
- clientId?: string | undefined;
871
- channelId?: string | undefined;
872
- status?: "active" | "pending" | undefined;
905
+ wabaBusinessId?: string | null | undefined;
906
+ wabaExternalId?: string | null | undefined;
907
+ phoneNumberId?: string | null | undefined;
908
+ email?: string | null | undefined;
909
+ clientId?: string | null | undefined;
910
+ channelId?: string | null | undefined;
911
+ waapiInstanceId?: string | null | undefined;
912
+ qr?: string | null | undefined;
913
+ status?: "active" | "pending" | "waapi-qr" | undefined;
873
914
  apiKey?: string | undefined;
874
915
  tier?: "basic" | "regular" | "premium" | undefined;
916
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
875
917
  } | undefined;
876
918
  vonageCredentials?: {
877
919
  apiKey: string;
@@ -924,15 +966,18 @@ export declare const channelContract: {
924
966
  additionalCredentials?: any;
925
967
  senderId?: string | undefined;
926
968
  whatsapp?: {
927
- email: string;
928
- wabaExternalId: string;
929
- phoneNumberId: string;
930
- wabaBusinessId?: string | undefined;
931
- clientId?: string | undefined;
932
- channelId?: string | undefined;
933
- status?: "active" | "pending" | undefined;
969
+ wabaBusinessId?: string | null | undefined;
970
+ wabaExternalId?: string | null | undefined;
971
+ phoneNumberId?: string | null | undefined;
972
+ email?: string | null | undefined;
973
+ clientId?: string | null | undefined;
974
+ channelId?: string | null | undefined;
975
+ waapiInstanceId?: string | null | undefined;
976
+ qr?: string | null | undefined;
977
+ status?: "active" | "pending" | "waapi-qr" | undefined;
934
978
  apiKey?: string | undefined;
935
979
  tier?: "basic" | "regular" | "premium" | undefined;
980
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
936
981
  } | undefined;
937
982
  vonageCredentials?: {
938
983
  apiKey: string;
@@ -972,15 +1017,18 @@ export declare const channelContract: {
972
1017
  additionalCredentials?: any;
973
1018
  senderId?: string | undefined;
974
1019
  whatsapp?: {
975
- email: string;
976
- wabaExternalId: string;
977
- phoneNumberId: string;
978
- wabaBusinessId?: string | undefined;
979
- clientId?: string | undefined;
980
- channelId?: string | undefined;
981
- status?: "active" | "pending" | undefined;
1020
+ wabaBusinessId?: string | null | undefined;
1021
+ wabaExternalId?: string | null | undefined;
1022
+ phoneNumberId?: string | null | undefined;
1023
+ email?: string | null | undefined;
1024
+ clientId?: string | null | undefined;
1025
+ channelId?: string | null | undefined;
1026
+ waapiInstanceId?: string | null | undefined;
1027
+ qr?: string | null | undefined;
1028
+ status?: "active" | "pending" | "waapi-qr" | undefined;
982
1029
  apiKey?: string | undefined;
983
1030
  tier?: "basic" | "regular" | "premium" | undefined;
1031
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
984
1032
  } | undefined;
985
1033
  vonageCredentials?: {
986
1034
  apiKey: string;
@@ -1022,15 +1070,18 @@ export declare const channelContract: {
1022
1070
  additionalCredentials?: any;
1023
1071
  senderId?: string | undefined;
1024
1072
  whatsapp?: {
1025
- email: string;
1026
- wabaExternalId: string;
1027
- phoneNumberId: string;
1028
- wabaBusinessId?: string | undefined;
1029
- clientId?: string | undefined;
1030
- channelId?: string | undefined;
1031
- status?: "active" | "pending" | undefined;
1073
+ wabaBusinessId?: string | null | undefined;
1074
+ wabaExternalId?: string | null | undefined;
1075
+ phoneNumberId?: string | null | undefined;
1076
+ email?: string | null | undefined;
1077
+ clientId?: string | null | undefined;
1078
+ channelId?: string | null | undefined;
1079
+ waapiInstanceId?: string | null | undefined;
1080
+ qr?: string | null | undefined;
1081
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1032
1082
  apiKey?: string | undefined;
1033
1083
  tier?: "basic" | "regular" | "premium" | undefined;
1084
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1034
1085
  } | undefined;
1035
1086
  vonageCredentials?: {
1036
1087
  apiKey: string;
@@ -1073,15 +1124,18 @@ export declare const channelContract: {
1073
1124
  additionalCredentials?: any;
1074
1125
  senderId?: string | undefined;
1075
1126
  whatsapp?: {
1076
- email: string;
1077
- wabaExternalId: string;
1078
- phoneNumberId: string;
1079
- wabaBusinessId?: string | undefined;
1080
- clientId?: string | undefined;
1081
- channelId?: string | undefined;
1082
- status?: "active" | "pending" | undefined;
1127
+ wabaBusinessId?: string | null | undefined;
1128
+ wabaExternalId?: string | null | undefined;
1129
+ phoneNumberId?: string | null | undefined;
1130
+ email?: string | null | undefined;
1131
+ clientId?: string | null | undefined;
1132
+ channelId?: string | null | undefined;
1133
+ waapiInstanceId?: string | null | undefined;
1134
+ qr?: string | null | undefined;
1135
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1083
1136
  apiKey?: string | undefined;
1084
1137
  tier?: "basic" | "regular" | "premium" | undefined;
1138
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1085
1139
  } | undefined;
1086
1140
  vonageCredentials?: {
1087
1141
  apiKey: string;
@@ -1170,35 +1224,44 @@ export declare const channelContract: {
1170
1224
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1171
1225
  senderId: z.ZodOptional<z.ZodString>;
1172
1226
  whatsapp: z.ZodOptional<z.ZodObject<{
1173
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1174
- wabaExternalId: z.ZodString;
1175
- phoneNumberId: z.ZodString;
1176
- email: z.ZodString;
1177
- clientId: z.ZodOptional<z.ZodString>;
1178
- channelId: z.ZodOptional<z.ZodString>;
1179
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1227
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1228
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1229
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1230
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1231
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1232
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1233
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1234
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1235
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1180
1236
  apiKey: z.ZodOptional<z.ZodString>;
1181
1237
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1238
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1182
1239
  }, "strip", z.ZodTypeAny, {
1183
- email: string;
1184
- wabaExternalId: string;
1185
- phoneNumberId: string;
1186
- wabaBusinessId?: string | undefined;
1187
- clientId?: string | undefined;
1188
- channelId?: string | undefined;
1189
- status?: "active" | "pending" | undefined;
1240
+ wabaBusinessId?: string | null | undefined;
1241
+ wabaExternalId?: string | null | undefined;
1242
+ phoneNumberId?: string | null | undefined;
1243
+ email?: string | null | undefined;
1244
+ clientId?: string | null | undefined;
1245
+ channelId?: string | null | undefined;
1246
+ waapiInstanceId?: string | null | undefined;
1247
+ qr?: string | null | undefined;
1248
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1190
1249
  apiKey?: string | undefined;
1191
1250
  tier?: "basic" | "regular" | "premium" | undefined;
1251
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1192
1252
  }, {
1193
- email: string;
1194
- wabaExternalId: string;
1195
- phoneNumberId: string;
1196
- wabaBusinessId?: string | undefined;
1197
- clientId?: string | undefined;
1198
- channelId?: string | undefined;
1199
- status?: "active" | "pending" | undefined;
1253
+ wabaBusinessId?: string | null | undefined;
1254
+ wabaExternalId?: string | null | undefined;
1255
+ phoneNumberId?: string | null | undefined;
1256
+ email?: string | null | undefined;
1257
+ clientId?: string | null | undefined;
1258
+ channelId?: string | null | undefined;
1259
+ waapiInstanceId?: string | null | undefined;
1260
+ qr?: string | null | undefined;
1261
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1200
1262
  apiKey?: string | undefined;
1201
1263
  tier?: "basic" | "regular" | "premium" | undefined;
1264
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1202
1265
  }>>;
1203
1266
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1204
1267
  mobileNumber: z.ZodString;
@@ -1224,15 +1287,18 @@ export declare const channelContract: {
1224
1287
  additionalCredentials?: any;
1225
1288
  senderId?: string | undefined;
1226
1289
  whatsapp?: {
1227
- email: string;
1228
- wabaExternalId: string;
1229
- phoneNumberId: string;
1230
- wabaBusinessId?: string | undefined;
1231
- clientId?: string | undefined;
1232
- channelId?: string | undefined;
1233
- status?: "active" | "pending" | undefined;
1290
+ wabaBusinessId?: string | null | undefined;
1291
+ wabaExternalId?: string | null | undefined;
1292
+ phoneNumberId?: string | null | undefined;
1293
+ email?: string | null | undefined;
1294
+ clientId?: string | null | undefined;
1295
+ channelId?: string | null | undefined;
1296
+ waapiInstanceId?: string | null | undefined;
1297
+ qr?: string | null | undefined;
1298
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1234
1299
  apiKey?: string | undefined;
1235
1300
  tier?: "basic" | "regular" | "premium" | undefined;
1301
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1236
1302
  } | undefined;
1237
1303
  vonageCredentials?: {
1238
1304
  apiKey: string;
@@ -1250,15 +1316,18 @@ export declare const channelContract: {
1250
1316
  additionalCredentials?: any;
1251
1317
  senderId?: string | undefined;
1252
1318
  whatsapp?: {
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;
1319
+ wabaBusinessId?: string | null | undefined;
1320
+ wabaExternalId?: string | null | undefined;
1321
+ phoneNumberId?: string | null | undefined;
1322
+ email?: string | null | undefined;
1323
+ clientId?: string | null | undefined;
1324
+ channelId?: string | null | undefined;
1325
+ waapiInstanceId?: string | null | undefined;
1326
+ qr?: string | null | undefined;
1327
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1260
1328
  apiKey?: string | undefined;
1261
1329
  tier?: "basic" | "regular" | "premium" | undefined;
1330
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1262
1331
  } | undefined;
1263
1332
  vonageCredentials?: {
1264
1333
  apiKey: string;
@@ -1510,15 +1579,18 @@ export declare const channelContract: {
1510
1579
  additionalCredentials?: any;
1511
1580
  senderId?: string | undefined;
1512
1581
  whatsapp?: {
1513
- email: string;
1514
- wabaExternalId: string;
1515
- phoneNumberId: string;
1516
- wabaBusinessId?: string | undefined;
1517
- clientId?: string | undefined;
1518
- channelId?: string | undefined;
1519
- status?: "active" | "pending" | undefined;
1582
+ wabaBusinessId?: string | null | undefined;
1583
+ wabaExternalId?: string | null | undefined;
1584
+ phoneNumberId?: string | null | undefined;
1585
+ email?: string | null | undefined;
1586
+ clientId?: string | null | undefined;
1587
+ channelId?: string | null | undefined;
1588
+ waapiInstanceId?: string | null | undefined;
1589
+ qr?: string | null | undefined;
1590
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1520
1591
  apiKey?: string | undefined;
1521
1592
  tier?: "basic" | "regular" | "premium" | undefined;
1593
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1522
1594
  } | undefined;
1523
1595
  vonageCredentials?: {
1524
1596
  apiKey: string;
@@ -1601,15 +1673,18 @@ export declare const channelContract: {
1601
1673
  additionalCredentials?: any;
1602
1674
  senderId?: string | undefined;
1603
1675
  whatsapp?: {
1604
- email: string;
1605
- wabaExternalId: string;
1606
- phoneNumberId: string;
1607
- wabaBusinessId?: string | undefined;
1608
- clientId?: string | undefined;
1609
- channelId?: string | undefined;
1610
- status?: "active" | "pending" | undefined;
1676
+ wabaBusinessId?: string | null | undefined;
1677
+ wabaExternalId?: string | null | undefined;
1678
+ phoneNumberId?: string | null | undefined;
1679
+ email?: string | null | undefined;
1680
+ clientId?: string | null | undefined;
1681
+ channelId?: string | null | undefined;
1682
+ waapiInstanceId?: string | null | undefined;
1683
+ qr?: string | null | undefined;
1684
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1611
1685
  apiKey?: string | undefined;
1612
1686
  tier?: "basic" | "regular" | "premium" | undefined;
1687
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1613
1688
  } | undefined;
1614
1689
  vonageCredentials?: {
1615
1690
  apiKey: string;
@@ -1694,15 +1769,18 @@ export declare const channelContract: {
1694
1769
  additionalCredentials?: any;
1695
1770
  senderId?: string | undefined;
1696
1771
  whatsapp?: {
1697
- email: string;
1698
- wabaExternalId: string;
1699
- phoneNumberId: string;
1700
- wabaBusinessId?: string | undefined;
1701
- clientId?: string | undefined;
1702
- channelId?: string | undefined;
1703
- status?: "active" | "pending" | undefined;
1772
+ wabaBusinessId?: string | null | undefined;
1773
+ wabaExternalId?: string | null | undefined;
1774
+ phoneNumberId?: string | null | undefined;
1775
+ email?: string | null | undefined;
1776
+ clientId?: string | null | undefined;
1777
+ channelId?: string | null | undefined;
1778
+ waapiInstanceId?: string | null | undefined;
1779
+ qr?: string | null | undefined;
1780
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1704
1781
  apiKey?: string | undefined;
1705
1782
  tier?: "basic" | "regular" | "premium" | undefined;
1783
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1706
1784
  } | undefined;
1707
1785
  vonageCredentials?: {
1708
1786
  apiKey: string;
@@ -1788,15 +1866,18 @@ export declare const channelContract: {
1788
1866
  additionalCredentials?: any;
1789
1867
  senderId?: string | undefined;
1790
1868
  whatsapp?: {
1791
- email: string;
1792
- wabaExternalId: string;
1793
- phoneNumberId: string;
1794
- wabaBusinessId?: string | undefined;
1795
- clientId?: string | undefined;
1796
- channelId?: string | undefined;
1797
- 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;
1798
1878
  apiKey?: string | undefined;
1799
1879
  tier?: "basic" | "regular" | "premium" | undefined;
1880
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1800
1881
  } | undefined;
1801
1882
  vonageCredentials?: {
1802
1883
  apiKey: string;
@@ -1934,35 +2015,44 @@ export declare const channelContract: {
1934
2015
  additionalCredentials: z.ZodOptional<z.ZodAny>;
1935
2016
  senderId: z.ZodOptional<z.ZodString>;
1936
2017
  whatsapp: z.ZodOptional<z.ZodObject<{
1937
- wabaBusinessId: z.ZodOptional<z.ZodString>;
1938
- wabaExternalId: z.ZodString;
1939
- phoneNumberId: z.ZodString;
1940
- email: z.ZodString;
1941
- clientId: z.ZodOptional<z.ZodString>;
1942
- channelId: z.ZodOptional<z.ZodString>;
1943
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2018
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2019
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2020
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2021
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2022
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2023
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2024
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2025
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2026
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
1944
2027
  apiKey: z.ZodOptional<z.ZodString>;
1945
2028
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2029
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1946
2030
  }, "strip", z.ZodTypeAny, {
1947
- email: string;
1948
- wabaExternalId: string;
1949
- phoneNumberId: string;
1950
- wabaBusinessId?: string | undefined;
1951
- clientId?: string | undefined;
1952
- channelId?: string | undefined;
1953
- status?: "active" | "pending" | undefined;
2031
+ wabaBusinessId?: string | null | undefined;
2032
+ wabaExternalId?: string | null | undefined;
2033
+ phoneNumberId?: string | null | undefined;
2034
+ email?: string | null | undefined;
2035
+ clientId?: string | null | undefined;
2036
+ channelId?: string | null | undefined;
2037
+ waapiInstanceId?: string | null | undefined;
2038
+ qr?: string | null | undefined;
2039
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1954
2040
  apiKey?: string | undefined;
1955
2041
  tier?: "basic" | "regular" | "premium" | undefined;
2042
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1956
2043
  }, {
1957
- email: string;
1958
- wabaExternalId: string;
1959
- phoneNumberId: string;
1960
- wabaBusinessId?: string | undefined;
1961
- clientId?: string | undefined;
1962
- channelId?: string | undefined;
1963
- status?: "active" | "pending" | undefined;
2044
+ wabaBusinessId?: string | null | undefined;
2045
+ wabaExternalId?: string | null | undefined;
2046
+ phoneNumberId?: string | null | undefined;
2047
+ email?: string | null | undefined;
2048
+ clientId?: string | null | undefined;
2049
+ channelId?: string | null | undefined;
2050
+ waapiInstanceId?: string | null | undefined;
2051
+ qr?: string | null | undefined;
2052
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1964
2053
  apiKey?: string | undefined;
1965
2054
  tier?: "basic" | "regular" | "premium" | undefined;
2055
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1966
2056
  }>>;
1967
2057
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1968
2058
  mobileNumber: z.ZodString;
@@ -1988,15 +2078,18 @@ export declare const channelContract: {
1988
2078
  additionalCredentials?: any;
1989
2079
  senderId?: string | undefined;
1990
2080
  whatsapp?: {
1991
- email: string;
1992
- wabaExternalId: string;
1993
- phoneNumberId: string;
1994
- wabaBusinessId?: string | undefined;
1995
- clientId?: string | undefined;
1996
- channelId?: string | undefined;
1997
- status?: "active" | "pending" | undefined;
2081
+ wabaBusinessId?: string | null | undefined;
2082
+ wabaExternalId?: string | null | undefined;
2083
+ phoneNumberId?: string | null | undefined;
2084
+ email?: string | null | undefined;
2085
+ clientId?: string | null | undefined;
2086
+ channelId?: string | null | undefined;
2087
+ waapiInstanceId?: string | null | undefined;
2088
+ qr?: string | null | undefined;
2089
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1998
2090
  apiKey?: string | undefined;
1999
2091
  tier?: "basic" | "regular" | "premium" | undefined;
2092
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2000
2093
  } | undefined;
2001
2094
  vonageCredentials?: {
2002
2095
  apiKey: string;
@@ -2014,15 +2107,18 @@ export declare const channelContract: {
2014
2107
  additionalCredentials?: any;
2015
2108
  senderId?: string | undefined;
2016
2109
  whatsapp?: {
2017
- email: string;
2018
- wabaExternalId: string;
2019
- phoneNumberId: string;
2020
- wabaBusinessId?: string | undefined;
2021
- clientId?: string | undefined;
2022
- channelId?: string | undefined;
2023
- status?: "active" | "pending" | undefined;
2110
+ wabaBusinessId?: string | null | undefined;
2111
+ wabaExternalId?: string | null | undefined;
2112
+ phoneNumberId?: string | null | undefined;
2113
+ email?: string | null | undefined;
2114
+ clientId?: string | null | undefined;
2115
+ channelId?: string | null | undefined;
2116
+ waapiInstanceId?: string | null | undefined;
2117
+ qr?: string | null | undefined;
2118
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2024
2119
  apiKey?: string | undefined;
2025
2120
  tier?: "basic" | "regular" | "premium" | undefined;
2121
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2026
2122
  } | undefined;
2027
2123
  vonageCredentials?: {
2028
2124
  apiKey: string;
@@ -2274,15 +2370,18 @@ export declare const channelContract: {
2274
2370
  additionalCredentials?: any;
2275
2371
  senderId?: string | undefined;
2276
2372
  whatsapp?: {
2277
- email: string;
2278
- wabaExternalId: string;
2279
- phoneNumberId: string;
2280
- wabaBusinessId?: string | undefined;
2281
- clientId?: string | undefined;
2282
- channelId?: string | undefined;
2283
- status?: "active" | "pending" | undefined;
2373
+ wabaBusinessId?: string | null | undefined;
2374
+ wabaExternalId?: string | null | undefined;
2375
+ phoneNumberId?: string | null | undefined;
2376
+ email?: string | null | undefined;
2377
+ clientId?: string | null | undefined;
2378
+ channelId?: string | null | undefined;
2379
+ waapiInstanceId?: string | null | undefined;
2380
+ qr?: string | null | undefined;
2381
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2284
2382
  apiKey?: string | undefined;
2285
2383
  tier?: "basic" | "regular" | "premium" | undefined;
2384
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2286
2385
  } | undefined;
2287
2386
  vonageCredentials?: {
2288
2387
  apiKey: string;
@@ -2365,15 +2464,18 @@ export declare const channelContract: {
2365
2464
  additionalCredentials?: any;
2366
2465
  senderId?: string | undefined;
2367
2466
  whatsapp?: {
2368
- email: string;
2369
- wabaExternalId: string;
2370
- phoneNumberId: string;
2371
- wabaBusinessId?: string | undefined;
2372
- clientId?: string | undefined;
2373
- channelId?: string | undefined;
2374
- status?: "active" | "pending" | undefined;
2467
+ wabaBusinessId?: string | null | undefined;
2468
+ wabaExternalId?: string | null | undefined;
2469
+ phoneNumberId?: string | null | undefined;
2470
+ email?: string | null | undefined;
2471
+ clientId?: string | null | undefined;
2472
+ channelId?: string | null | undefined;
2473
+ waapiInstanceId?: string | null | undefined;
2474
+ qr?: string | null | undefined;
2475
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2375
2476
  apiKey?: string | undefined;
2376
2477
  tier?: "basic" | "regular" | "premium" | undefined;
2478
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2377
2479
  } | undefined;
2378
2480
  vonageCredentials?: {
2379
2481
  apiKey: string;
@@ -2458,15 +2560,18 @@ export declare const channelContract: {
2458
2560
  additionalCredentials?: any;
2459
2561
  senderId?: string | undefined;
2460
2562
  whatsapp?: {
2461
- email: string;
2462
- wabaExternalId: string;
2463
- phoneNumberId: string;
2464
- wabaBusinessId?: string | undefined;
2465
- clientId?: string | undefined;
2466
- channelId?: string | undefined;
2467
- status?: "active" | "pending" | undefined;
2563
+ wabaBusinessId?: string | null | undefined;
2564
+ wabaExternalId?: string | null | undefined;
2565
+ phoneNumberId?: string | null | undefined;
2566
+ email?: string | null | undefined;
2567
+ clientId?: string | null | undefined;
2568
+ channelId?: string | null | undefined;
2569
+ waapiInstanceId?: string | null | undefined;
2570
+ qr?: string | null | undefined;
2571
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2468
2572
  apiKey?: string | undefined;
2469
2573
  tier?: "basic" | "regular" | "premium" | undefined;
2574
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2470
2575
  } | undefined;
2471
2576
  vonageCredentials?: {
2472
2577
  apiKey: string;
@@ -2552,15 +2657,18 @@ export declare const channelContract: {
2552
2657
  additionalCredentials?: any;
2553
2658
  senderId?: string | undefined;
2554
2659
  whatsapp?: {
2555
- email: string;
2556
- wabaExternalId: string;
2557
- phoneNumberId: string;
2558
- wabaBusinessId?: string | undefined;
2559
- clientId?: string | undefined;
2560
- channelId?: string | undefined;
2561
- status?: "active" | "pending" | undefined;
2660
+ wabaBusinessId?: string | null | undefined;
2661
+ wabaExternalId?: string | null | undefined;
2662
+ phoneNumberId?: string | null | undefined;
2663
+ email?: string | null | undefined;
2664
+ clientId?: string | null | undefined;
2665
+ channelId?: string | null | undefined;
2666
+ waapiInstanceId?: string | null | undefined;
2667
+ qr?: string | null | undefined;
2668
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2562
2669
  apiKey?: string | undefined;
2563
2670
  tier?: "basic" | "regular" | "premium" | undefined;
2671
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2564
2672
  } | undefined;
2565
2673
  vonageCredentials?: {
2566
2674
  apiKey: string;
@@ -2692,35 +2800,44 @@ export declare const channelContract: {
2692
2800
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2693
2801
  senderId: z.ZodOptional<z.ZodString>;
2694
2802
  whatsapp: z.ZodOptional<z.ZodObject<{
2695
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2696
- wabaExternalId: z.ZodString;
2697
- phoneNumberId: z.ZodString;
2698
- email: z.ZodString;
2699
- clientId: z.ZodOptional<z.ZodString>;
2700
- channelId: z.ZodOptional<z.ZodString>;
2701
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2803
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2804
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2805
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2806
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2807
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2808
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2809
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2810
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2811
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2702
2812
  apiKey: z.ZodOptional<z.ZodString>;
2703
2813
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2814
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2704
2815
  }, "strip", z.ZodTypeAny, {
2705
- email: string;
2706
- wabaExternalId: string;
2707
- phoneNumberId: string;
2708
- wabaBusinessId?: string | undefined;
2709
- clientId?: string | undefined;
2710
- channelId?: string | undefined;
2711
- status?: "active" | "pending" | undefined;
2816
+ wabaBusinessId?: string | null | undefined;
2817
+ wabaExternalId?: string | null | undefined;
2818
+ phoneNumberId?: string | null | undefined;
2819
+ email?: string | null | undefined;
2820
+ clientId?: string | null | undefined;
2821
+ channelId?: string | null | undefined;
2822
+ waapiInstanceId?: string | null | undefined;
2823
+ qr?: string | null | undefined;
2824
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2712
2825
  apiKey?: string | undefined;
2713
2826
  tier?: "basic" | "regular" | "premium" | undefined;
2827
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2714
2828
  }, {
2715
- email: string;
2716
- wabaExternalId: string;
2717
- phoneNumberId: string;
2718
- wabaBusinessId?: string | undefined;
2719
- clientId?: string | undefined;
2720
- channelId?: string | undefined;
2721
- status?: "active" | "pending" | undefined;
2829
+ wabaBusinessId?: string | null | undefined;
2830
+ wabaExternalId?: string | null | undefined;
2831
+ phoneNumberId?: string | null | undefined;
2832
+ email?: string | null | undefined;
2833
+ clientId?: string | null | undefined;
2834
+ channelId?: string | null | undefined;
2835
+ waapiInstanceId?: string | null | undefined;
2836
+ qr?: string | null | undefined;
2837
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2722
2838
  apiKey?: string | undefined;
2723
2839
  tier?: "basic" | "regular" | "premium" | undefined;
2840
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2724
2841
  }>>;
2725
2842
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2726
2843
  mobileNumber: z.ZodString;
@@ -2746,15 +2863,18 @@ export declare const channelContract: {
2746
2863
  additionalCredentials?: any;
2747
2864
  senderId?: string | undefined;
2748
2865
  whatsapp?: {
2749
- email: string;
2750
- wabaExternalId: string;
2751
- phoneNumberId: string;
2752
- wabaBusinessId?: string | undefined;
2753
- clientId?: string | undefined;
2754
- channelId?: string | undefined;
2755
- status?: "active" | "pending" | undefined;
2866
+ wabaBusinessId?: string | null | undefined;
2867
+ wabaExternalId?: string | null | undefined;
2868
+ phoneNumberId?: string | null | undefined;
2869
+ email?: string | null | undefined;
2870
+ clientId?: string | null | undefined;
2871
+ channelId?: string | null | undefined;
2872
+ waapiInstanceId?: string | null | undefined;
2873
+ qr?: string | null | undefined;
2874
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2756
2875
  apiKey?: string | undefined;
2757
2876
  tier?: "basic" | "regular" | "premium" | undefined;
2877
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2758
2878
  } | undefined;
2759
2879
  vonageCredentials?: {
2760
2880
  apiKey: string;
@@ -2772,15 +2892,18 @@ export declare const channelContract: {
2772
2892
  additionalCredentials?: any;
2773
2893
  senderId?: string | undefined;
2774
2894
  whatsapp?: {
2775
- email: string;
2776
- wabaExternalId: string;
2777
- phoneNumberId: string;
2778
- wabaBusinessId?: string | undefined;
2779
- clientId?: string | undefined;
2780
- channelId?: string | undefined;
2781
- status?: "active" | "pending" | undefined;
2895
+ wabaBusinessId?: string | null | undefined;
2896
+ wabaExternalId?: string | null | undefined;
2897
+ phoneNumberId?: string | null | undefined;
2898
+ email?: string | null | undefined;
2899
+ clientId?: string | null | undefined;
2900
+ channelId?: string | null | undefined;
2901
+ waapiInstanceId?: string | null | undefined;
2902
+ qr?: string | null | undefined;
2903
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2782
2904
  apiKey?: string | undefined;
2783
2905
  tier?: "basic" | "regular" | "premium" | undefined;
2906
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2784
2907
  } | undefined;
2785
2908
  vonageCredentials?: {
2786
2909
  apiKey: string;
@@ -3032,15 +3155,18 @@ export declare const channelContract: {
3032
3155
  additionalCredentials?: any;
3033
3156
  senderId?: string | undefined;
3034
3157
  whatsapp?: {
3035
- email: string;
3036
- wabaExternalId: string;
3037
- phoneNumberId: string;
3038
- wabaBusinessId?: string | undefined;
3039
- clientId?: string | undefined;
3040
- channelId?: string | undefined;
3041
- status?: "active" | "pending" | undefined;
3158
+ wabaBusinessId?: string | null | undefined;
3159
+ wabaExternalId?: string | null | undefined;
3160
+ phoneNumberId?: string | null | undefined;
3161
+ email?: string | null | undefined;
3162
+ clientId?: string | null | undefined;
3163
+ channelId?: string | null | undefined;
3164
+ waapiInstanceId?: string | null | undefined;
3165
+ qr?: string | null | undefined;
3166
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3042
3167
  apiKey?: string | undefined;
3043
3168
  tier?: "basic" | "regular" | "premium" | undefined;
3169
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3044
3170
  } | undefined;
3045
3171
  vonageCredentials?: {
3046
3172
  apiKey: string;
@@ -3123,15 +3249,18 @@ export declare const channelContract: {
3123
3249
  additionalCredentials?: any;
3124
3250
  senderId?: string | undefined;
3125
3251
  whatsapp?: {
3126
- email: string;
3127
- wabaExternalId: string;
3128
- phoneNumberId: string;
3129
- wabaBusinessId?: string | undefined;
3130
- clientId?: string | undefined;
3131
- channelId?: string | undefined;
3132
- status?: "active" | "pending" | undefined;
3252
+ wabaBusinessId?: string | null | undefined;
3253
+ wabaExternalId?: string | null | undefined;
3254
+ phoneNumberId?: string | null | undefined;
3255
+ email?: string | null | undefined;
3256
+ clientId?: string | null | undefined;
3257
+ channelId?: string | null | undefined;
3258
+ waapiInstanceId?: string | null | undefined;
3259
+ qr?: string | null | undefined;
3260
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3133
3261
  apiKey?: string | undefined;
3134
3262
  tier?: "basic" | "regular" | "premium" | undefined;
3263
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3135
3264
  } | undefined;
3136
3265
  vonageCredentials?: {
3137
3266
  apiKey: string;
@@ -3216,15 +3345,18 @@ export declare const channelContract: {
3216
3345
  additionalCredentials?: any;
3217
3346
  senderId?: string | undefined;
3218
3347
  whatsapp?: {
3219
- email: string;
3220
- wabaExternalId: string;
3221
- phoneNumberId: string;
3222
- wabaBusinessId?: string | undefined;
3223
- clientId?: string | undefined;
3224
- channelId?: string | undefined;
3225
- status?: "active" | "pending" | undefined;
3348
+ wabaBusinessId?: string | null | undefined;
3349
+ wabaExternalId?: string | null | undefined;
3350
+ phoneNumberId?: string | null | undefined;
3351
+ email?: string | null | undefined;
3352
+ clientId?: string | null | undefined;
3353
+ channelId?: string | null | undefined;
3354
+ waapiInstanceId?: string | null | undefined;
3355
+ qr?: string | null | undefined;
3356
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3226
3357
  apiKey?: string | undefined;
3227
3358
  tier?: "basic" | "regular" | "premium" | undefined;
3359
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3228
3360
  } | undefined;
3229
3361
  vonageCredentials?: {
3230
3362
  apiKey: string;
@@ -3310,15 +3442,18 @@ export declare const channelContract: {
3310
3442
  additionalCredentials?: any;
3311
3443
  senderId?: string | undefined;
3312
3444
  whatsapp?: {
3313
- email: string;
3314
- wabaExternalId: string;
3315
- phoneNumberId: string;
3316
- wabaBusinessId?: string | undefined;
3317
- clientId?: string | undefined;
3318
- channelId?: string | undefined;
3319
- status?: "active" | "pending" | undefined;
3445
+ wabaBusinessId?: string | null | undefined;
3446
+ wabaExternalId?: string | null | undefined;
3447
+ phoneNumberId?: string | null | undefined;
3448
+ email?: string | null | undefined;
3449
+ clientId?: string | null | undefined;
3450
+ channelId?: string | null | undefined;
3451
+ waapiInstanceId?: string | null | undefined;
3452
+ qr?: string | null | undefined;
3453
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3320
3454
  apiKey?: string | undefined;
3321
3455
  tier?: "basic" | "regular" | "premium" | undefined;
3456
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3322
3457
  } | undefined;
3323
3458
  vonageCredentials?: {
3324
3459
  apiKey: string;
@@ -3433,35 +3568,44 @@ export declare const channelContract: {
3433
3568
  additionalCredentials: z.ZodOptional<z.ZodAny>;
3434
3569
  senderId: z.ZodOptional<z.ZodString>;
3435
3570
  whatsapp: z.ZodOptional<z.ZodObject<{
3436
- wabaBusinessId: z.ZodOptional<z.ZodString>;
3437
- wabaExternalId: z.ZodString;
3438
- phoneNumberId: z.ZodString;
3439
- email: z.ZodString;
3440
- clientId: z.ZodOptional<z.ZodString>;
3441
- channelId: z.ZodOptional<z.ZodString>;
3442
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
3571
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3572
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3573
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3574
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3575
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3576
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3577
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3578
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3579
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
3443
3580
  apiKey: z.ZodOptional<z.ZodString>;
3444
3581
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3582
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
3445
3583
  }, "strip", z.ZodTypeAny, {
3446
- email: string;
3447
- wabaExternalId: string;
3448
- phoneNumberId: string;
3449
- wabaBusinessId?: string | undefined;
3450
- clientId?: string | undefined;
3451
- channelId?: string | undefined;
3452
- status?: "active" | "pending" | undefined;
3584
+ wabaBusinessId?: string | null | undefined;
3585
+ wabaExternalId?: string | null | undefined;
3586
+ phoneNumberId?: string | null | undefined;
3587
+ email?: string | null | undefined;
3588
+ clientId?: string | null | undefined;
3589
+ channelId?: string | null | undefined;
3590
+ waapiInstanceId?: string | null | undefined;
3591
+ qr?: string | null | undefined;
3592
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3453
3593
  apiKey?: string | undefined;
3454
3594
  tier?: "basic" | "regular" | "premium" | undefined;
3595
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3455
3596
  }, {
3456
- email: string;
3457
- wabaExternalId: string;
3458
- phoneNumberId: string;
3459
- wabaBusinessId?: string | undefined;
3460
- clientId?: string | undefined;
3461
- channelId?: string | undefined;
3462
- status?: "active" | "pending" | undefined;
3597
+ wabaBusinessId?: string | null | undefined;
3598
+ wabaExternalId?: string | null | undefined;
3599
+ phoneNumberId?: string | null | undefined;
3600
+ email?: string | null | undefined;
3601
+ clientId?: string | null | undefined;
3602
+ channelId?: string | null | undefined;
3603
+ waapiInstanceId?: string | null | undefined;
3604
+ qr?: string | null | undefined;
3605
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3463
3606
  apiKey?: string | undefined;
3464
3607
  tier?: "basic" | "regular" | "premium" | undefined;
3608
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3465
3609
  }>>;
3466
3610
  vonageCredentials: z.ZodOptional<z.ZodObject<{
3467
3611
  mobileNumber: z.ZodString;
@@ -3487,15 +3631,18 @@ export declare const channelContract: {
3487
3631
  additionalCredentials?: any;
3488
3632
  senderId?: string | undefined;
3489
3633
  whatsapp?: {
3490
- email: string;
3491
- wabaExternalId: string;
3492
- phoneNumberId: string;
3493
- wabaBusinessId?: string | undefined;
3494
- clientId?: string | undefined;
3495
- channelId?: string | undefined;
3496
- status?: "active" | "pending" | undefined;
3634
+ wabaBusinessId?: string | null | undefined;
3635
+ wabaExternalId?: string | null | undefined;
3636
+ phoneNumberId?: string | null | undefined;
3637
+ email?: string | null | undefined;
3638
+ clientId?: string | null | undefined;
3639
+ channelId?: string | null | undefined;
3640
+ waapiInstanceId?: string | null | undefined;
3641
+ qr?: string | null | undefined;
3642
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3497
3643
  apiKey?: string | undefined;
3498
3644
  tier?: "basic" | "regular" | "premium" | undefined;
3645
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3499
3646
  } | undefined;
3500
3647
  vonageCredentials?: {
3501
3648
  apiKey: string;
@@ -3513,15 +3660,18 @@ export declare const channelContract: {
3513
3660
  additionalCredentials?: any;
3514
3661
  senderId?: string | undefined;
3515
3662
  whatsapp?: {
3516
- email: string;
3517
- wabaExternalId: string;
3518
- phoneNumberId: string;
3519
- wabaBusinessId?: string | undefined;
3520
- clientId?: string | undefined;
3521
- channelId?: string | undefined;
3522
- status?: "active" | "pending" | undefined;
3663
+ wabaBusinessId?: string | null | undefined;
3664
+ wabaExternalId?: string | null | undefined;
3665
+ phoneNumberId?: string | null | undefined;
3666
+ email?: string | null | undefined;
3667
+ clientId?: string | null | undefined;
3668
+ channelId?: string | null | undefined;
3669
+ waapiInstanceId?: string | null | undefined;
3670
+ qr?: string | null | undefined;
3671
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3523
3672
  apiKey?: string | undefined;
3524
3673
  tier?: "basic" | "regular" | "premium" | undefined;
3674
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3525
3675
  } | undefined;
3526
3676
  vonageCredentials?: {
3527
3677
  apiKey: string;
@@ -3546,15 +3696,18 @@ export declare const channelContract: {
3546
3696
  additionalCredentials?: any;
3547
3697
  senderId?: string | undefined;
3548
3698
  whatsapp?: {
3549
- email: string;
3550
- wabaExternalId: string;
3551
- phoneNumberId: string;
3552
- wabaBusinessId?: string | undefined;
3553
- clientId?: string | undefined;
3554
- channelId?: string | undefined;
3555
- status?: "active" | "pending" | undefined;
3699
+ wabaBusinessId?: string | null | undefined;
3700
+ wabaExternalId?: string | null | undefined;
3701
+ phoneNumberId?: string | null | undefined;
3702
+ email?: string | null | undefined;
3703
+ clientId?: string | null | undefined;
3704
+ channelId?: string | null | undefined;
3705
+ waapiInstanceId?: string | null | undefined;
3706
+ qr?: string | null | undefined;
3707
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3556
3708
  apiKey?: string | undefined;
3557
3709
  tier?: "basic" | "regular" | "premium" | undefined;
3710
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3558
3711
  } | undefined;
3559
3712
  vonageCredentials?: {
3560
3713
  apiKey: string;
@@ -3579,15 +3732,18 @@ export declare const channelContract: {
3579
3732
  additionalCredentials?: any;
3580
3733
  senderId?: string | undefined;
3581
3734
  whatsapp?: {
3582
- email: string;
3583
- wabaExternalId: string;
3584
- phoneNumberId: string;
3585
- wabaBusinessId?: string | undefined;
3586
- clientId?: string | undefined;
3587
- channelId?: string | undefined;
3588
- 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;
3589
3744
  apiKey?: string | undefined;
3590
3745
  tier?: "basic" | "regular" | "premium" | undefined;
3746
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3591
3747
  } | undefined;
3592
3748
  vonageCredentials?: {
3593
3749
  apiKey: string;
@@ -3622,35 +3778,44 @@ export declare const channelContract: {
3622
3778
  additionalCredentials: z.ZodOptional<z.ZodAny>;
3623
3779
  senderId: z.ZodOptional<z.ZodString>;
3624
3780
  whatsapp: z.ZodOptional<z.ZodObject<{
3625
- wabaBusinessId: z.ZodOptional<z.ZodString>;
3626
- wabaExternalId: z.ZodString;
3627
- phoneNumberId: z.ZodString;
3628
- email: z.ZodString;
3629
- clientId: z.ZodOptional<z.ZodString>;
3630
- channelId: z.ZodOptional<z.ZodString>;
3631
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
3781
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3782
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3783
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3784
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3785
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3786
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3787
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3788
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3789
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
3632
3790
  apiKey: z.ZodOptional<z.ZodString>;
3633
3791
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
3792
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
3634
3793
  }, "strip", z.ZodTypeAny, {
3635
- email: string;
3636
- wabaExternalId: string;
3637
- phoneNumberId: string;
3638
- wabaBusinessId?: string | undefined;
3639
- clientId?: string | undefined;
3640
- channelId?: string | undefined;
3641
- status?: "active" | "pending" | undefined;
3794
+ wabaBusinessId?: string | null | undefined;
3795
+ wabaExternalId?: string | null | undefined;
3796
+ phoneNumberId?: string | null | undefined;
3797
+ email?: string | null | undefined;
3798
+ clientId?: string | null | undefined;
3799
+ channelId?: string | null | undefined;
3800
+ waapiInstanceId?: string | null | undefined;
3801
+ qr?: string | null | undefined;
3802
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3642
3803
  apiKey?: string | undefined;
3643
3804
  tier?: "basic" | "regular" | "premium" | undefined;
3805
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3644
3806
  }, {
3645
- email: string;
3646
- wabaExternalId: string;
3647
- phoneNumberId: string;
3648
- wabaBusinessId?: string | undefined;
3649
- clientId?: string | undefined;
3650
- channelId?: string | undefined;
3651
- status?: "active" | "pending" | undefined;
3807
+ wabaBusinessId?: string | null | undefined;
3808
+ wabaExternalId?: string | null | undefined;
3809
+ phoneNumberId?: string | null | undefined;
3810
+ email?: string | null | undefined;
3811
+ clientId?: string | null | undefined;
3812
+ channelId?: string | null | undefined;
3813
+ waapiInstanceId?: string | null | undefined;
3814
+ qr?: string | null | undefined;
3815
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3652
3816
  apiKey?: string | undefined;
3653
3817
  tier?: "basic" | "regular" | "premium" | undefined;
3818
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3654
3819
  }>>;
3655
3820
  vonageCredentials: z.ZodOptional<z.ZodObject<{
3656
3821
  mobileNumber: z.ZodString;
@@ -3676,15 +3841,18 @@ export declare const channelContract: {
3676
3841
  additionalCredentials?: any;
3677
3842
  senderId?: string | undefined;
3678
3843
  whatsapp?: {
3679
- email: string;
3680
- wabaExternalId: string;
3681
- phoneNumberId: string;
3682
- wabaBusinessId?: string | undefined;
3683
- clientId?: string | undefined;
3684
- channelId?: string | undefined;
3685
- status?: "active" | "pending" | undefined;
3844
+ wabaBusinessId?: string | null | undefined;
3845
+ wabaExternalId?: string | null | undefined;
3846
+ phoneNumberId?: string | null | undefined;
3847
+ email?: string | null | undefined;
3848
+ clientId?: string | null | undefined;
3849
+ channelId?: string | null | undefined;
3850
+ waapiInstanceId?: string | null | undefined;
3851
+ qr?: string | null | undefined;
3852
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3686
3853
  apiKey?: string | undefined;
3687
3854
  tier?: "basic" | "regular" | "premium" | undefined;
3855
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3688
3856
  } | undefined;
3689
3857
  vonageCredentials?: {
3690
3858
  apiKey: string;
@@ -3702,15 +3870,18 @@ export declare const channelContract: {
3702
3870
  additionalCredentials?: any;
3703
3871
  senderId?: string | undefined;
3704
3872
  whatsapp?: {
3705
- email: string;
3706
- wabaExternalId: string;
3707
- phoneNumberId: string;
3708
- wabaBusinessId?: string | undefined;
3709
- clientId?: string | undefined;
3710
- channelId?: string | undefined;
3711
- status?: "active" | "pending" | undefined;
3873
+ wabaBusinessId?: string | null | undefined;
3874
+ wabaExternalId?: string | null | undefined;
3875
+ phoneNumberId?: string | null | undefined;
3876
+ email?: string | null | undefined;
3877
+ clientId?: string | null | undefined;
3878
+ channelId?: string | null | undefined;
3879
+ waapiInstanceId?: string | null | undefined;
3880
+ qr?: string | null | undefined;
3881
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3712
3882
  apiKey?: string | undefined;
3713
3883
  tier?: "basic" | "regular" | "premium" | undefined;
3884
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3714
3885
  } | undefined;
3715
3886
  vonageCredentials?: {
3716
3887
  apiKey: string;
@@ -3962,15 +4133,18 @@ export declare const channelContract: {
3962
4133
  additionalCredentials?: any;
3963
4134
  senderId?: string | undefined;
3964
4135
  whatsapp?: {
3965
- email: string;
3966
- wabaExternalId: string;
3967
- phoneNumberId: string;
3968
- wabaBusinessId?: string | undefined;
3969
- clientId?: string | undefined;
3970
- channelId?: string | undefined;
3971
- status?: "active" | "pending" | undefined;
4136
+ wabaBusinessId?: string | null | undefined;
4137
+ wabaExternalId?: string | null | undefined;
4138
+ phoneNumberId?: string | null | undefined;
4139
+ email?: string | null | undefined;
4140
+ clientId?: string | null | undefined;
4141
+ channelId?: string | null | undefined;
4142
+ waapiInstanceId?: string | null | undefined;
4143
+ qr?: string | null | undefined;
4144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3972
4145
  apiKey?: string | undefined;
3973
4146
  tier?: "basic" | "regular" | "premium" | undefined;
4147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3974
4148
  } | undefined;
3975
4149
  vonageCredentials?: {
3976
4150
  apiKey: string;
@@ -4053,15 +4227,18 @@ export declare const channelContract: {
4053
4227
  additionalCredentials?: any;
4054
4228
  senderId?: string | undefined;
4055
4229
  whatsapp?: {
4056
- email: string;
4057
- wabaExternalId: string;
4058
- phoneNumberId: string;
4059
- wabaBusinessId?: string | undefined;
4060
- clientId?: string | undefined;
4061
- channelId?: string | undefined;
4062
- status?: "active" | "pending" | undefined;
4230
+ wabaBusinessId?: string | null | undefined;
4231
+ wabaExternalId?: string | null | undefined;
4232
+ phoneNumberId?: string | null | undefined;
4233
+ email?: string | null | undefined;
4234
+ clientId?: string | null | undefined;
4235
+ channelId?: string | null | undefined;
4236
+ waapiInstanceId?: string | null | undefined;
4237
+ qr?: string | null | undefined;
4238
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4063
4239
  apiKey?: string | undefined;
4064
4240
  tier?: "basic" | "regular" | "premium" | undefined;
4241
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4065
4242
  } | undefined;
4066
4243
  vonageCredentials?: {
4067
4244
  apiKey: string;
@@ -4146,15 +4323,18 @@ export declare const channelContract: {
4146
4323
  additionalCredentials?: any;
4147
4324
  senderId?: string | undefined;
4148
4325
  whatsapp?: {
4149
- email: string;
4150
- wabaExternalId: string;
4151
- phoneNumberId: string;
4152
- wabaBusinessId?: string | undefined;
4153
- clientId?: string | undefined;
4154
- channelId?: string | undefined;
4155
- status?: "active" | "pending" | undefined;
4326
+ wabaBusinessId?: string | null | undefined;
4327
+ wabaExternalId?: string | null | undefined;
4328
+ phoneNumberId?: string | null | undefined;
4329
+ email?: string | null | undefined;
4330
+ clientId?: string | null | undefined;
4331
+ channelId?: string | null | undefined;
4332
+ waapiInstanceId?: string | null | undefined;
4333
+ qr?: string | null | undefined;
4334
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4156
4335
  apiKey?: string | undefined;
4157
4336
  tier?: "basic" | "regular" | "premium" | undefined;
4337
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4158
4338
  } | undefined;
4159
4339
  vonageCredentials?: {
4160
4340
  apiKey: string;
@@ -4240,15 +4420,18 @@ export declare const channelContract: {
4240
4420
  additionalCredentials?: any;
4241
4421
  senderId?: string | undefined;
4242
4422
  whatsapp?: {
4243
- email: string;
4244
- wabaExternalId: string;
4245
- phoneNumberId: string;
4246
- wabaBusinessId?: string | undefined;
4247
- clientId?: string | undefined;
4248
- channelId?: string | undefined;
4249
- status?: "active" | "pending" | undefined;
4423
+ wabaBusinessId?: string | null | undefined;
4424
+ wabaExternalId?: string | null | undefined;
4425
+ phoneNumberId?: string | null | undefined;
4426
+ email?: string | null | undefined;
4427
+ clientId?: string | null | undefined;
4428
+ channelId?: string | null | undefined;
4429
+ waapiInstanceId?: string | null | undefined;
4430
+ qr?: string | null | undefined;
4431
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4250
4432
  apiKey?: string | undefined;
4251
4433
  tier?: "basic" | "regular" | "premium" | undefined;
4434
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4252
4435
  } | undefined;
4253
4436
  vonageCredentials?: {
4254
4437
  apiKey: string;
@@ -4359,34 +4542,24 @@ export declare const channelContract: {
4359
4542
  requestId: z.ZodString;
4360
4543
  data: z.ZodObject<{
4361
4544
  isNewTenant: z.ZodBoolean;
4362
- isChannelExist: z.ZodBoolean;
4363
- isContactExist: z.ZodBoolean;
4364
- isExtensionExist: z.ZodBoolean;
4545
+ extensionId: z.ZodNullable<z.ZodString>;
4365
4546
  }, "strip", z.ZodTypeAny, {
4547
+ extensionId: string | null;
4366
4548
  isNewTenant: boolean;
4367
- isChannelExist: boolean;
4368
- isContactExist: boolean;
4369
- isExtensionExist: boolean;
4370
4549
  }, {
4550
+ extensionId: string | null;
4371
4551
  isNewTenant: boolean;
4372
- isChannelExist: boolean;
4373
- isContactExist: boolean;
4374
- isExtensionExist: boolean;
4375
4552
  }>;
4376
4553
  }, "strip", z.ZodTypeAny, {
4377
4554
  data: {
4555
+ extensionId: string | null;
4378
4556
  isNewTenant: boolean;
4379
- isChannelExist: boolean;
4380
- isContactExist: boolean;
4381
- isExtensionExist: boolean;
4382
4557
  };
4383
4558
  requestId: string;
4384
4559
  }, {
4385
4560
  data: {
4561
+ extensionId: string | null;
4386
4562
  isNewTenant: boolean;
4387
- isChannelExist: boolean;
4388
- isContactExist: boolean;
4389
- isExtensionExist: boolean;
4390
4563
  };
4391
4564
  requestId: string;
4392
4565
  }>;
@@ -4419,6 +4592,59 @@ export declare const channelContract: {
4419
4592
  'x-client-timezone'?: string | undefined;
4420
4593
  }>>>;
4421
4594
  };
4595
+ updateNewTenant: {
4596
+ body: z.ZodObject<{
4597
+ id: z.ZodString;
4598
+ time: z.ZodString;
4599
+ }, "strip", z.ZodTypeAny, {
4600
+ time: string;
4601
+ id: string;
4602
+ }, {
4603
+ time: string;
4604
+ id: string;
4605
+ }>;
4606
+ summary: "Update new tenant";
4607
+ method: "PATCH";
4608
+ responses: {
4609
+ 200: z.ZodObject<{
4610
+ requestId: z.ZodString;
4611
+ message: z.ZodString;
4612
+ }, "strip", z.ZodTypeAny, {
4613
+ message: string;
4614
+ requestId: string;
4615
+ }, {
4616
+ message: string;
4617
+ requestId: string;
4618
+ }>;
4619
+ 408: z.ZodObject<{
4620
+ message: z.ZodString;
4621
+ error: z.ZodAny;
4622
+ }, "strip", z.ZodTypeAny, {
4623
+ message: string;
4624
+ error?: any;
4625
+ }, {
4626
+ message: string;
4627
+ error?: any;
4628
+ }>;
4629
+ };
4630
+ path: "channel/update-new-tenant";
4631
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4632
+ 'x-tenant': z.ZodString;
4633
+ authorization: z.ZodString;
4634
+ 'x-code': z.ZodOptional<z.ZodString>;
4635
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4636
+ }, "strip", z.ZodTypeAny, {
4637
+ 'x-tenant': string;
4638
+ authorization: string;
4639
+ 'x-client-timezone': string;
4640
+ 'x-code'?: string | undefined;
4641
+ }, {
4642
+ 'x-tenant': string;
4643
+ authorization: string;
4644
+ 'x-code'?: string | undefined;
4645
+ 'x-client-timezone'?: string | undefined;
4646
+ }>>>;
4647
+ };
4422
4648
  messenger: {
4423
4649
  getPages: {
4424
4650
  method: "GET";
@@ -5255,35 +5481,44 @@ export declare const channelContract: {
5255
5481
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5256
5482
  senderId: z.ZodOptional<z.ZodString>;
5257
5483
  whatsapp: z.ZodOptional<z.ZodObject<{
5258
- wabaBusinessId: z.ZodOptional<z.ZodString>;
5259
- wabaExternalId: z.ZodString;
5260
- phoneNumberId: z.ZodString;
5261
- email: z.ZodString;
5262
- clientId: z.ZodOptional<z.ZodString>;
5263
- channelId: z.ZodOptional<z.ZodString>;
5264
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5484
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5485
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5486
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5487
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5488
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5489
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5490
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5491
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5492
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
5265
5493
  apiKey: z.ZodOptional<z.ZodString>;
5266
5494
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5495
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
5267
5496
  }, "strip", z.ZodTypeAny, {
5268
- email: string;
5269
- wabaExternalId: string;
5270
- phoneNumberId: string;
5271
- wabaBusinessId?: string | undefined;
5272
- clientId?: string | undefined;
5273
- channelId?: string | undefined;
5274
- status?: "active" | "pending" | undefined;
5497
+ wabaBusinessId?: string | null | undefined;
5498
+ wabaExternalId?: string | null | undefined;
5499
+ phoneNumberId?: string | null | undefined;
5500
+ email?: string | null | undefined;
5501
+ clientId?: string | null | undefined;
5502
+ channelId?: string | null | undefined;
5503
+ waapiInstanceId?: string | null | undefined;
5504
+ qr?: string | null | undefined;
5505
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5275
5506
  apiKey?: string | undefined;
5276
5507
  tier?: "basic" | "regular" | "premium" | undefined;
5508
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5277
5509
  }, {
5278
- email: string;
5279
- wabaExternalId: string;
5280
- phoneNumberId: string;
5281
- wabaBusinessId?: string | undefined;
5282
- clientId?: string | undefined;
5283
- channelId?: string | undefined;
5284
- status?: "active" | "pending" | undefined;
5510
+ wabaBusinessId?: string | null | undefined;
5511
+ wabaExternalId?: string | null | undefined;
5512
+ phoneNumberId?: string | null | undefined;
5513
+ email?: string | null | undefined;
5514
+ clientId?: string | null | undefined;
5515
+ channelId?: string | null | undefined;
5516
+ waapiInstanceId?: string | null | undefined;
5517
+ qr?: string | null | undefined;
5518
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5285
5519
  apiKey?: string | undefined;
5286
5520
  tier?: "basic" | "regular" | "premium" | undefined;
5521
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5287
5522
  }>>;
5288
5523
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5289
5524
  mobileNumber: z.ZodString;
@@ -5309,15 +5544,18 @@ export declare const channelContract: {
5309
5544
  additionalCredentials?: any;
5310
5545
  senderId?: string | undefined;
5311
5546
  whatsapp?: {
5312
- email: string;
5313
- wabaExternalId: string;
5314
- phoneNumberId: string;
5315
- wabaBusinessId?: string | undefined;
5316
- clientId?: string | undefined;
5317
- channelId?: string | undefined;
5318
- status?: "active" | "pending" | undefined;
5547
+ wabaBusinessId?: string | null | undefined;
5548
+ wabaExternalId?: string | null | undefined;
5549
+ phoneNumberId?: string | null | undefined;
5550
+ email?: string | null | undefined;
5551
+ clientId?: string | null | undefined;
5552
+ channelId?: string | null | undefined;
5553
+ waapiInstanceId?: string | null | undefined;
5554
+ qr?: string | null | undefined;
5555
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5319
5556
  apiKey?: string | undefined;
5320
5557
  tier?: "basic" | "regular" | "premium" | undefined;
5558
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5321
5559
  } | undefined;
5322
5560
  vonageCredentials?: {
5323
5561
  apiKey: string;
@@ -5335,15 +5573,18 @@ export declare const channelContract: {
5335
5573
  additionalCredentials?: any;
5336
5574
  senderId?: string | undefined;
5337
5575
  whatsapp?: {
5338
- email: string;
5339
- wabaExternalId: string;
5340
- phoneNumberId: string;
5341
- wabaBusinessId?: string | undefined;
5342
- clientId?: string | undefined;
5343
- channelId?: string | undefined;
5344
- status?: "active" | "pending" | undefined;
5576
+ wabaBusinessId?: string | null | undefined;
5577
+ wabaExternalId?: string | null | undefined;
5578
+ phoneNumberId?: string | null | undefined;
5579
+ email?: string | null | undefined;
5580
+ clientId?: string | null | undefined;
5581
+ channelId?: string | null | undefined;
5582
+ waapiInstanceId?: string | null | undefined;
5583
+ qr?: string | null | undefined;
5584
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5345
5585
  apiKey?: string | undefined;
5346
5586
  tier?: "basic" | "regular" | "premium" | undefined;
5587
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5347
5588
  } | undefined;
5348
5589
  vonageCredentials?: {
5349
5590
  apiKey: string;
@@ -5368,15 +5609,18 @@ export declare const channelContract: {
5368
5609
  additionalCredentials?: any;
5369
5610
  senderId?: string | undefined;
5370
5611
  whatsapp?: {
5371
- email: string;
5372
- wabaExternalId: string;
5373
- phoneNumberId: string;
5374
- wabaBusinessId?: string | undefined;
5375
- clientId?: string | undefined;
5376
- channelId?: string | undefined;
5377
- status?: "active" | "pending" | undefined;
5612
+ wabaBusinessId?: string | null | undefined;
5613
+ wabaExternalId?: string | null | undefined;
5614
+ phoneNumberId?: string | null | undefined;
5615
+ email?: string | null | undefined;
5616
+ clientId?: string | null | undefined;
5617
+ channelId?: string | null | undefined;
5618
+ waapiInstanceId?: string | null | undefined;
5619
+ qr?: string | null | undefined;
5620
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5378
5621
  apiKey?: string | undefined;
5379
5622
  tier?: "basic" | "regular" | "premium" | undefined;
5623
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5380
5624
  } | undefined;
5381
5625
  vonageCredentials?: {
5382
5626
  apiKey: string;
@@ -5401,15 +5645,18 @@ export declare const channelContract: {
5401
5645
  additionalCredentials?: any;
5402
5646
  senderId?: string | undefined;
5403
5647
  whatsapp?: {
5404
- email: string;
5405
- wabaExternalId: string;
5406
- phoneNumberId: string;
5407
- wabaBusinessId?: string | undefined;
5408
- clientId?: string | undefined;
5409
- channelId?: string | undefined;
5410
- status?: "active" | "pending" | undefined;
5648
+ wabaBusinessId?: string | null | undefined;
5649
+ wabaExternalId?: string | null | undefined;
5650
+ phoneNumberId?: string | null | undefined;
5651
+ email?: string | null | undefined;
5652
+ clientId?: string | null | undefined;
5653
+ channelId?: string | null | undefined;
5654
+ waapiInstanceId?: string | null | undefined;
5655
+ qr?: string | null | undefined;
5656
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5411
5657
  apiKey?: string | undefined;
5412
5658
  tier?: "basic" | "regular" | "premium" | undefined;
5659
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5413
5660
  } | undefined;
5414
5661
  vonageCredentials?: {
5415
5662
  apiKey: string;
@@ -5444,35 +5691,44 @@ export declare const channelContract: {
5444
5691
  additionalCredentials: z.ZodOptional<z.ZodAny>;
5445
5692
  senderId: z.ZodOptional<z.ZodString>;
5446
5693
  whatsapp: z.ZodOptional<z.ZodObject<{
5447
- wabaBusinessId: z.ZodOptional<z.ZodString>;
5448
- wabaExternalId: z.ZodString;
5449
- phoneNumberId: z.ZodString;
5450
- email: z.ZodString;
5451
- clientId: z.ZodOptional<z.ZodString>;
5452
- channelId: z.ZodOptional<z.ZodString>;
5453
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
5694
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5695
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5696
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5697
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5698
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5699
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5700
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5701
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5702
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
5454
5703
  apiKey: z.ZodOptional<z.ZodString>;
5455
5704
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
5705
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
5456
5706
  }, "strip", z.ZodTypeAny, {
5457
- email: string;
5458
- wabaExternalId: string;
5459
- phoneNumberId: string;
5460
- wabaBusinessId?: string | undefined;
5461
- clientId?: string | undefined;
5462
- channelId?: string | undefined;
5463
- status?: "active" | "pending" | undefined;
5707
+ wabaBusinessId?: string | null | undefined;
5708
+ wabaExternalId?: string | null | undefined;
5709
+ phoneNumberId?: string | null | undefined;
5710
+ email?: string | null | undefined;
5711
+ clientId?: string | null | undefined;
5712
+ channelId?: string | null | undefined;
5713
+ waapiInstanceId?: string | null | undefined;
5714
+ qr?: string | null | undefined;
5715
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5464
5716
  apiKey?: string | undefined;
5465
5717
  tier?: "basic" | "regular" | "premium" | undefined;
5718
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5466
5719
  }, {
5467
- email: string;
5468
- wabaExternalId: string;
5469
- phoneNumberId: string;
5470
- wabaBusinessId?: string | undefined;
5471
- clientId?: string | undefined;
5472
- channelId?: string | undefined;
5473
- status?: "active" | "pending" | undefined;
5720
+ wabaBusinessId?: string | null | undefined;
5721
+ wabaExternalId?: string | null | undefined;
5722
+ phoneNumberId?: string | null | undefined;
5723
+ email?: string | null | undefined;
5724
+ clientId?: string | null | undefined;
5725
+ channelId?: string | null | undefined;
5726
+ waapiInstanceId?: string | null | undefined;
5727
+ qr?: string | null | undefined;
5728
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5474
5729
  apiKey?: string | undefined;
5475
5730
  tier?: "basic" | "regular" | "premium" | undefined;
5731
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5476
5732
  }>>;
5477
5733
  vonageCredentials: z.ZodOptional<z.ZodObject<{
5478
5734
  mobileNumber: z.ZodString;
@@ -5498,15 +5754,18 @@ export declare const channelContract: {
5498
5754
  additionalCredentials?: any;
5499
5755
  senderId?: string | undefined;
5500
5756
  whatsapp?: {
5501
- email: string;
5502
- wabaExternalId: string;
5503
- phoneNumberId: string;
5504
- wabaBusinessId?: string | undefined;
5505
- clientId?: string | undefined;
5506
- channelId?: string | undefined;
5507
- status?: "active" | "pending" | undefined;
5757
+ wabaBusinessId?: string | null | undefined;
5758
+ wabaExternalId?: string | null | undefined;
5759
+ phoneNumberId?: string | null | undefined;
5760
+ email?: string | null | undefined;
5761
+ clientId?: string | null | undefined;
5762
+ channelId?: string | null | undefined;
5763
+ waapiInstanceId?: string | null | undefined;
5764
+ qr?: string | null | undefined;
5765
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5508
5766
  apiKey?: string | undefined;
5509
5767
  tier?: "basic" | "regular" | "premium" | undefined;
5768
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5510
5769
  } | undefined;
5511
5770
  vonageCredentials?: {
5512
5771
  apiKey: string;
@@ -5524,15 +5783,18 @@ export declare const channelContract: {
5524
5783
  additionalCredentials?: any;
5525
5784
  senderId?: string | undefined;
5526
5785
  whatsapp?: {
5527
- email: string;
5528
- wabaExternalId: string;
5529
- phoneNumberId: string;
5530
- wabaBusinessId?: string | undefined;
5531
- clientId?: string | undefined;
5532
- channelId?: string | undefined;
5533
- status?: "active" | "pending" | undefined;
5786
+ wabaBusinessId?: string | null | undefined;
5787
+ wabaExternalId?: string | null | undefined;
5788
+ phoneNumberId?: string | null | undefined;
5789
+ email?: string | null | undefined;
5790
+ clientId?: string | null | undefined;
5791
+ channelId?: string | null | undefined;
5792
+ waapiInstanceId?: string | null | undefined;
5793
+ qr?: string | null | undefined;
5794
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5534
5795
  apiKey?: string | undefined;
5535
5796
  tier?: "basic" | "regular" | "premium" | undefined;
5797
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5536
5798
  } | undefined;
5537
5799
  vonageCredentials?: {
5538
5800
  apiKey: string;
@@ -5784,15 +6046,18 @@ export declare const channelContract: {
5784
6046
  additionalCredentials?: any;
5785
6047
  senderId?: string | undefined;
5786
6048
  whatsapp?: {
5787
- email: string;
5788
- wabaExternalId: string;
5789
- phoneNumberId: string;
5790
- wabaBusinessId?: string | undefined;
5791
- clientId?: string | undefined;
5792
- channelId?: string | undefined;
5793
- status?: "active" | "pending" | undefined;
6049
+ wabaBusinessId?: string | null | undefined;
6050
+ wabaExternalId?: string | null | undefined;
6051
+ phoneNumberId?: string | null | undefined;
6052
+ email?: string | null | undefined;
6053
+ clientId?: string | null | undefined;
6054
+ channelId?: string | null | undefined;
6055
+ waapiInstanceId?: string | null | undefined;
6056
+ qr?: string | null | undefined;
6057
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5794
6058
  apiKey?: string | undefined;
5795
6059
  tier?: "basic" | "regular" | "premium" | undefined;
6060
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5796
6061
  } | undefined;
5797
6062
  vonageCredentials?: {
5798
6063
  apiKey: string;
@@ -5875,15 +6140,18 @@ export declare const channelContract: {
5875
6140
  additionalCredentials?: any;
5876
6141
  senderId?: string | undefined;
5877
6142
  whatsapp?: {
5878
- email: string;
5879
- wabaExternalId: string;
5880
- phoneNumberId: string;
5881
- wabaBusinessId?: string | undefined;
5882
- clientId?: string | undefined;
5883
- channelId?: string | undefined;
5884
- status?: "active" | "pending" | undefined;
6143
+ wabaBusinessId?: string | null | undefined;
6144
+ wabaExternalId?: string | null | undefined;
6145
+ phoneNumberId?: string | null | undefined;
6146
+ email?: string | null | undefined;
6147
+ clientId?: string | null | undefined;
6148
+ channelId?: string | null | undefined;
6149
+ waapiInstanceId?: string | null | undefined;
6150
+ qr?: string | null | undefined;
6151
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5885
6152
  apiKey?: string | undefined;
5886
6153
  tier?: "basic" | "regular" | "premium" | undefined;
6154
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5887
6155
  } | undefined;
5888
6156
  vonageCredentials?: {
5889
6157
  apiKey: string;
@@ -5968,15 +6236,18 @@ export declare const channelContract: {
5968
6236
  additionalCredentials?: any;
5969
6237
  senderId?: string | undefined;
5970
6238
  whatsapp?: {
5971
- email: string;
5972
- wabaExternalId: string;
5973
- phoneNumberId: string;
5974
- wabaBusinessId?: string | undefined;
5975
- clientId?: string | undefined;
5976
- channelId?: string | undefined;
5977
- status?: "active" | "pending" | undefined;
6239
+ wabaBusinessId?: string | null | undefined;
6240
+ wabaExternalId?: string | null | undefined;
6241
+ phoneNumberId?: string | null | undefined;
6242
+ email?: string | null | undefined;
6243
+ clientId?: string | null | undefined;
6244
+ channelId?: string | null | undefined;
6245
+ waapiInstanceId?: string | null | undefined;
6246
+ qr?: string | null | undefined;
6247
+ status?: "active" | "pending" | "waapi-qr" | undefined;
5978
6248
  apiKey?: string | undefined;
5979
6249
  tier?: "basic" | "regular" | "premium" | undefined;
6250
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
5980
6251
  } | undefined;
5981
6252
  vonageCredentials?: {
5982
6253
  apiKey: string;
@@ -6062,15 +6333,18 @@ export declare const channelContract: {
6062
6333
  additionalCredentials?: any;
6063
6334
  senderId?: string | undefined;
6064
6335
  whatsapp?: {
6065
- email: string;
6066
- wabaExternalId: string;
6067
- phoneNumberId: string;
6068
- wabaBusinessId?: string | undefined;
6069
- clientId?: string | undefined;
6070
- channelId?: string | undefined;
6071
- status?: "active" | "pending" | undefined;
6336
+ wabaBusinessId?: string | null | undefined;
6337
+ wabaExternalId?: string | null | undefined;
6338
+ phoneNumberId?: string | null | undefined;
6339
+ email?: string | null | undefined;
6340
+ clientId?: string | null | undefined;
6341
+ channelId?: string | null | undefined;
6342
+ waapiInstanceId?: string | null | undefined;
6343
+ qr?: string | null | undefined;
6344
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6072
6345
  apiKey?: string | undefined;
6073
6346
  tier?: "basic" | "regular" | "premium" | undefined;
6347
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6074
6348
  } | undefined;
6075
6349
  vonageCredentials?: {
6076
6350
  apiKey: string;
@@ -6436,35 +6710,44 @@ export declare const channelContract: {
6436
6710
  additionalCredentials: z.ZodOptional<z.ZodAny>;
6437
6711
  senderId: z.ZodOptional<z.ZodString>;
6438
6712
  whatsapp: z.ZodOptional<z.ZodObject<{
6439
- wabaBusinessId: z.ZodOptional<z.ZodString>;
6440
- wabaExternalId: z.ZodString;
6441
- phoneNumberId: z.ZodString;
6442
- email: z.ZodString;
6443
- clientId: z.ZodOptional<z.ZodString>;
6444
- channelId: z.ZodOptional<z.ZodString>;
6445
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
6713
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6714
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6715
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6716
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6717
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6718
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6719
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6720
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6721
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
6446
6722
  apiKey: z.ZodOptional<z.ZodString>;
6447
6723
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
6724
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
6448
6725
  }, "strip", z.ZodTypeAny, {
6449
- email: string;
6450
- wabaExternalId: string;
6451
- phoneNumberId: string;
6452
- wabaBusinessId?: string | undefined;
6453
- clientId?: string | undefined;
6454
- channelId?: string | undefined;
6455
- status?: "active" | "pending" | undefined;
6726
+ wabaBusinessId?: string | null | undefined;
6727
+ wabaExternalId?: string | null | undefined;
6728
+ phoneNumberId?: string | null | undefined;
6729
+ email?: string | null | undefined;
6730
+ clientId?: string | null | undefined;
6731
+ channelId?: string | null | undefined;
6732
+ waapiInstanceId?: string | null | undefined;
6733
+ qr?: string | null | undefined;
6734
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6456
6735
  apiKey?: string | undefined;
6457
6736
  tier?: "basic" | "regular" | "premium" | undefined;
6737
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6458
6738
  }, {
6459
- email: string;
6460
- wabaExternalId: string;
6461
- phoneNumberId: string;
6462
- wabaBusinessId?: string | undefined;
6463
- clientId?: string | undefined;
6464
- channelId?: string | undefined;
6465
- status?: "active" | "pending" | undefined;
6739
+ wabaBusinessId?: string | null | undefined;
6740
+ wabaExternalId?: string | null | undefined;
6741
+ phoneNumberId?: string | null | undefined;
6742
+ email?: string | null | undefined;
6743
+ clientId?: string | null | undefined;
6744
+ channelId?: string | null | undefined;
6745
+ waapiInstanceId?: string | null | undefined;
6746
+ qr?: string | null | undefined;
6747
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6466
6748
  apiKey?: string | undefined;
6467
6749
  tier?: "basic" | "regular" | "premium" | undefined;
6750
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6468
6751
  }>>;
6469
6752
  vonageCredentials: z.ZodOptional<z.ZodObject<{
6470
6753
  mobileNumber: z.ZodString;
@@ -6490,15 +6773,18 @@ export declare const channelContract: {
6490
6773
  additionalCredentials?: any;
6491
6774
  senderId?: string | undefined;
6492
6775
  whatsapp?: {
6493
- email: string;
6494
- wabaExternalId: string;
6495
- phoneNumberId: string;
6496
- wabaBusinessId?: string | undefined;
6497
- clientId?: string | undefined;
6498
- channelId?: string | undefined;
6499
- status?: "active" | "pending" | undefined;
6776
+ wabaBusinessId?: string | null | undefined;
6777
+ wabaExternalId?: string | null | undefined;
6778
+ phoneNumberId?: string | null | undefined;
6779
+ email?: string | null | undefined;
6780
+ clientId?: string | null | undefined;
6781
+ channelId?: string | null | undefined;
6782
+ waapiInstanceId?: string | null | undefined;
6783
+ qr?: string | null | undefined;
6784
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6500
6785
  apiKey?: string | undefined;
6501
6786
  tier?: "basic" | "regular" | "premium" | undefined;
6787
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6502
6788
  } | undefined;
6503
6789
  vonageCredentials?: {
6504
6790
  apiKey: string;
@@ -6516,15 +6802,18 @@ export declare const channelContract: {
6516
6802
  additionalCredentials?: any;
6517
6803
  senderId?: string | undefined;
6518
6804
  whatsapp?: {
6519
- email: string;
6520
- wabaExternalId: string;
6521
- phoneNumberId: string;
6522
- wabaBusinessId?: string | undefined;
6523
- clientId?: string | undefined;
6524
- channelId?: string | undefined;
6525
- status?: "active" | "pending" | undefined;
6805
+ wabaBusinessId?: string | null | undefined;
6806
+ wabaExternalId?: string | null | undefined;
6807
+ phoneNumberId?: string | null | undefined;
6808
+ email?: string | null | undefined;
6809
+ clientId?: string | null | undefined;
6810
+ channelId?: string | null | undefined;
6811
+ waapiInstanceId?: string | null | undefined;
6812
+ qr?: string | null | undefined;
6813
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6526
6814
  apiKey?: string | undefined;
6527
6815
  tier?: "basic" | "regular" | "premium" | undefined;
6816
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6528
6817
  } | undefined;
6529
6818
  vonageCredentials?: {
6530
6819
  apiKey: string;
@@ -6549,15 +6838,18 @@ export declare const channelContract: {
6549
6838
  additionalCredentials?: any;
6550
6839
  senderId?: string | undefined;
6551
6840
  whatsapp?: {
6552
- email: string;
6553
- wabaExternalId: string;
6554
- phoneNumberId: string;
6555
- wabaBusinessId?: string | undefined;
6556
- clientId?: string | undefined;
6557
- channelId?: string | undefined;
6558
- status?: "active" | "pending" | undefined;
6841
+ wabaBusinessId?: string | null | undefined;
6842
+ wabaExternalId?: string | null | undefined;
6843
+ phoneNumberId?: string | null | undefined;
6844
+ email?: string | null | undefined;
6845
+ clientId?: string | null | undefined;
6846
+ channelId?: string | null | undefined;
6847
+ waapiInstanceId?: string | null | undefined;
6848
+ qr?: string | null | undefined;
6849
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6559
6850
  apiKey?: string | undefined;
6560
6851
  tier?: "basic" | "regular" | "premium" | undefined;
6852
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6561
6853
  } | undefined;
6562
6854
  vonageCredentials?: {
6563
6855
  apiKey: string;
@@ -6582,15 +6874,18 @@ export declare const channelContract: {
6582
6874
  additionalCredentials?: any;
6583
6875
  senderId?: string | undefined;
6584
6876
  whatsapp?: {
6585
- email: string;
6586
- wabaExternalId: string;
6587
- phoneNumberId: string;
6588
- wabaBusinessId?: string | undefined;
6589
- clientId?: string | undefined;
6590
- channelId?: string | undefined;
6591
- status?: "active" | "pending" | undefined;
6877
+ wabaBusinessId?: string | null | undefined;
6878
+ wabaExternalId?: string | null | undefined;
6879
+ phoneNumberId?: string | null | undefined;
6880
+ email?: string | null | undefined;
6881
+ clientId?: string | null | undefined;
6882
+ channelId?: string | null | undefined;
6883
+ waapiInstanceId?: string | null | undefined;
6884
+ qr?: string | null | undefined;
6885
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6592
6886
  apiKey?: string | undefined;
6593
6887
  tier?: "basic" | "regular" | "premium" | undefined;
6888
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6594
6889
  } | undefined;
6595
6890
  vonageCredentials?: {
6596
6891
  apiKey: string;
@@ -6625,35 +6920,44 @@ export declare const channelContract: {
6625
6920
  additionalCredentials: z.ZodOptional<z.ZodAny>;
6626
6921
  senderId: z.ZodOptional<z.ZodString>;
6627
6922
  whatsapp: z.ZodOptional<z.ZodObject<{
6628
- wabaBusinessId: z.ZodOptional<z.ZodString>;
6629
- wabaExternalId: z.ZodString;
6630
- phoneNumberId: z.ZodString;
6631
- email: z.ZodString;
6632
- clientId: z.ZodOptional<z.ZodString>;
6633
- channelId: z.ZodOptional<z.ZodString>;
6634
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
6923
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6924
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6925
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6926
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6927
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6928
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6929
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6930
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6931
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
6635
6932
  apiKey: z.ZodOptional<z.ZodString>;
6636
6933
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
6934
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
6637
6935
  }, "strip", z.ZodTypeAny, {
6638
- email: string;
6639
- wabaExternalId: string;
6640
- phoneNumberId: string;
6641
- wabaBusinessId?: string | undefined;
6642
- clientId?: string | undefined;
6643
- channelId?: string | undefined;
6644
- status?: "active" | "pending" | undefined;
6936
+ wabaBusinessId?: string | null | undefined;
6937
+ wabaExternalId?: string | null | undefined;
6938
+ phoneNumberId?: string | null | undefined;
6939
+ email?: string | null | undefined;
6940
+ clientId?: string | null | undefined;
6941
+ channelId?: string | null | undefined;
6942
+ waapiInstanceId?: string | null | undefined;
6943
+ qr?: string | null | undefined;
6944
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6645
6945
  apiKey?: string | undefined;
6646
6946
  tier?: "basic" | "regular" | "premium" | undefined;
6947
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6647
6948
  }, {
6648
- email: string;
6649
- wabaExternalId: string;
6650
- phoneNumberId: string;
6651
- wabaBusinessId?: string | undefined;
6652
- clientId?: string | undefined;
6653
- channelId?: string | undefined;
6654
- status?: "active" | "pending" | undefined;
6949
+ wabaBusinessId?: string | null | undefined;
6950
+ wabaExternalId?: string | null | undefined;
6951
+ phoneNumberId?: string | null | undefined;
6952
+ email?: string | null | undefined;
6953
+ clientId?: string | null | undefined;
6954
+ channelId?: string | null | undefined;
6955
+ waapiInstanceId?: string | null | undefined;
6956
+ qr?: string | null | undefined;
6957
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6655
6958
  apiKey?: string | undefined;
6656
6959
  tier?: "basic" | "regular" | "premium" | undefined;
6960
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6657
6961
  }>>;
6658
6962
  vonageCredentials: z.ZodOptional<z.ZodObject<{
6659
6963
  mobileNumber: z.ZodString;
@@ -6679,15 +6983,18 @@ export declare const channelContract: {
6679
6983
  additionalCredentials?: any;
6680
6984
  senderId?: string | undefined;
6681
6985
  whatsapp?: {
6682
- email: string;
6683
- wabaExternalId: string;
6684
- phoneNumberId: string;
6685
- wabaBusinessId?: string | undefined;
6686
- clientId?: string | undefined;
6687
- channelId?: string | undefined;
6688
- status?: "active" | "pending" | undefined;
6986
+ wabaBusinessId?: string | null | undefined;
6987
+ wabaExternalId?: string | null | undefined;
6988
+ phoneNumberId?: string | null | undefined;
6989
+ email?: string | null | undefined;
6990
+ clientId?: string | null | undefined;
6991
+ channelId?: string | null | undefined;
6992
+ waapiInstanceId?: string | null | undefined;
6993
+ qr?: string | null | undefined;
6994
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6689
6995
  apiKey?: string | undefined;
6690
6996
  tier?: "basic" | "regular" | "premium" | undefined;
6997
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6691
6998
  } | undefined;
6692
6999
  vonageCredentials?: {
6693
7000
  apiKey: string;
@@ -6705,15 +7012,18 @@ export declare const channelContract: {
6705
7012
  additionalCredentials?: any;
6706
7013
  senderId?: string | undefined;
6707
7014
  whatsapp?: {
6708
- email: string;
6709
- wabaExternalId: string;
6710
- phoneNumberId: string;
6711
- wabaBusinessId?: string | undefined;
6712
- clientId?: string | undefined;
6713
- channelId?: string | undefined;
6714
- status?: "active" | "pending" | undefined;
7015
+ wabaBusinessId?: string | null | undefined;
7016
+ wabaExternalId?: string | null | undefined;
7017
+ phoneNumberId?: string | null | undefined;
7018
+ email?: string | null | undefined;
7019
+ clientId?: string | null | undefined;
7020
+ channelId?: string | null | undefined;
7021
+ waapiInstanceId?: string | null | undefined;
7022
+ qr?: string | null | undefined;
7023
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6715
7024
  apiKey?: string | undefined;
6716
7025
  tier?: "basic" | "regular" | "premium" | undefined;
7026
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6717
7027
  } | undefined;
6718
7028
  vonageCredentials?: {
6719
7029
  apiKey: string;
@@ -6965,15 +7275,18 @@ export declare const channelContract: {
6965
7275
  additionalCredentials?: any;
6966
7276
  senderId?: string | undefined;
6967
7277
  whatsapp?: {
6968
- email: string;
6969
- wabaExternalId: string;
6970
- phoneNumberId: string;
6971
- wabaBusinessId?: string | undefined;
6972
- clientId?: string | undefined;
6973
- channelId?: string | undefined;
6974
- status?: "active" | "pending" | undefined;
7278
+ wabaBusinessId?: string | null | undefined;
7279
+ wabaExternalId?: string | null | undefined;
7280
+ phoneNumberId?: string | null | undefined;
7281
+ email?: string | null | undefined;
7282
+ clientId?: string | null | undefined;
7283
+ channelId?: string | null | undefined;
7284
+ waapiInstanceId?: string | null | undefined;
7285
+ qr?: string | null | undefined;
7286
+ status?: "active" | "pending" | "waapi-qr" | undefined;
6975
7287
  apiKey?: string | undefined;
6976
7288
  tier?: "basic" | "regular" | "premium" | undefined;
7289
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
6977
7290
  } | undefined;
6978
7291
  vonageCredentials?: {
6979
7292
  apiKey: string;
@@ -7056,15 +7369,18 @@ export declare const channelContract: {
7056
7369
  additionalCredentials?: any;
7057
7370
  senderId?: string | undefined;
7058
7371
  whatsapp?: {
7059
- email: string;
7060
- wabaExternalId: string;
7061
- phoneNumberId: string;
7062
- wabaBusinessId?: string | undefined;
7063
- clientId?: string | undefined;
7064
- channelId?: string | undefined;
7065
- status?: "active" | "pending" | undefined;
7372
+ wabaBusinessId?: string | null | undefined;
7373
+ wabaExternalId?: string | null | undefined;
7374
+ phoneNumberId?: string | null | undefined;
7375
+ email?: string | null | undefined;
7376
+ clientId?: string | null | undefined;
7377
+ channelId?: string | null | undefined;
7378
+ waapiInstanceId?: string | null | undefined;
7379
+ qr?: string | null | undefined;
7380
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7066
7381
  apiKey?: string | undefined;
7067
7382
  tier?: "basic" | "regular" | "premium" | undefined;
7383
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7068
7384
  } | undefined;
7069
7385
  vonageCredentials?: {
7070
7386
  apiKey: string;
@@ -7149,15 +7465,18 @@ export declare const channelContract: {
7149
7465
  additionalCredentials?: any;
7150
7466
  senderId?: string | undefined;
7151
7467
  whatsapp?: {
7152
- email: string;
7153
- wabaExternalId: string;
7154
- phoneNumberId: string;
7155
- wabaBusinessId?: string | undefined;
7156
- clientId?: string | undefined;
7157
- channelId?: string | undefined;
7158
- status?: "active" | "pending" | undefined;
7468
+ wabaBusinessId?: string | null | undefined;
7469
+ wabaExternalId?: string | null | undefined;
7470
+ phoneNumberId?: string | null | undefined;
7471
+ email?: string | null | undefined;
7472
+ clientId?: string | null | undefined;
7473
+ channelId?: string | null | undefined;
7474
+ waapiInstanceId?: string | null | undefined;
7475
+ qr?: string | null | undefined;
7476
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7159
7477
  apiKey?: string | undefined;
7160
7478
  tier?: "basic" | "regular" | "premium" | undefined;
7479
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7161
7480
  } | undefined;
7162
7481
  vonageCredentials?: {
7163
7482
  apiKey: string;
@@ -7243,15 +7562,18 @@ export declare const channelContract: {
7243
7562
  additionalCredentials?: any;
7244
7563
  senderId?: string | undefined;
7245
7564
  whatsapp?: {
7246
- email: string;
7247
- wabaExternalId: string;
7248
- phoneNumberId: string;
7249
- wabaBusinessId?: string | undefined;
7250
- clientId?: string | undefined;
7251
- channelId?: string | undefined;
7252
- status?: "active" | "pending" | undefined;
7565
+ wabaBusinessId?: string | null | undefined;
7566
+ wabaExternalId?: string | null | undefined;
7567
+ phoneNumberId?: string | null | undefined;
7568
+ email?: string | null | undefined;
7569
+ clientId?: string | null | undefined;
7570
+ channelId?: string | null | undefined;
7571
+ waapiInstanceId?: string | null | undefined;
7572
+ qr?: string | null | undefined;
7573
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7253
7574
  apiKey?: string | undefined;
7254
7575
  tier?: "basic" | "regular" | "premium" | undefined;
7576
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7255
7577
  } | undefined;
7256
7578
  vonageCredentials?: {
7257
7579
  apiKey: string;
@@ -7387,35 +7709,44 @@ export declare const channelContract: {
7387
7709
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7388
7710
  senderId: z.ZodOptional<z.ZodString>;
7389
7711
  whatsapp: z.ZodOptional<z.ZodObject<{
7390
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7391
- wabaExternalId: z.ZodString;
7392
- phoneNumberId: z.ZodString;
7393
- email: z.ZodString;
7394
- clientId: z.ZodOptional<z.ZodString>;
7395
- channelId: z.ZodOptional<z.ZodString>;
7396
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7712
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7713
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7714
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7715
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7716
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7717
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7718
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7719
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7720
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
7397
7721
  apiKey: z.ZodOptional<z.ZodString>;
7398
7722
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7723
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
7399
7724
  }, "strip", z.ZodTypeAny, {
7400
- email: string;
7401
- wabaExternalId: string;
7402
- phoneNumberId: string;
7403
- wabaBusinessId?: string | undefined;
7404
- clientId?: string | undefined;
7405
- channelId?: string | undefined;
7406
- status?: "active" | "pending" | undefined;
7725
+ wabaBusinessId?: string | null | undefined;
7726
+ wabaExternalId?: string | null | undefined;
7727
+ phoneNumberId?: string | null | undefined;
7728
+ email?: string | null | undefined;
7729
+ clientId?: string | null | undefined;
7730
+ channelId?: string | null | undefined;
7731
+ waapiInstanceId?: string | null | undefined;
7732
+ qr?: string | null | undefined;
7733
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7407
7734
  apiKey?: string | undefined;
7408
7735
  tier?: "basic" | "regular" | "premium" | undefined;
7736
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7409
7737
  }, {
7410
- email: string;
7411
- wabaExternalId: string;
7412
- phoneNumberId: string;
7413
- wabaBusinessId?: string | undefined;
7414
- clientId?: string | undefined;
7415
- channelId?: string | undefined;
7416
- status?: "active" | "pending" | undefined;
7738
+ wabaBusinessId?: string | null | undefined;
7739
+ wabaExternalId?: string | null | undefined;
7740
+ phoneNumberId?: string | null | undefined;
7741
+ email?: string | null | undefined;
7742
+ clientId?: string | null | undefined;
7743
+ channelId?: string | null | undefined;
7744
+ waapiInstanceId?: string | null | undefined;
7745
+ qr?: string | null | undefined;
7746
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7417
7747
  apiKey?: string | undefined;
7418
7748
  tier?: "basic" | "regular" | "premium" | undefined;
7749
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7419
7750
  }>>;
7420
7751
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7421
7752
  mobileNumber: z.ZodString;
@@ -7441,15 +7772,18 @@ export declare const channelContract: {
7441
7772
  additionalCredentials?: any;
7442
7773
  senderId?: string | undefined;
7443
7774
  whatsapp?: {
7444
- email: string;
7445
- wabaExternalId: string;
7446
- phoneNumberId: string;
7447
- wabaBusinessId?: string | undefined;
7448
- clientId?: string | undefined;
7449
- channelId?: string | undefined;
7450
- status?: "active" | "pending" | undefined;
7775
+ wabaBusinessId?: string | null | undefined;
7776
+ wabaExternalId?: string | null | undefined;
7777
+ phoneNumberId?: string | null | undefined;
7778
+ email?: string | null | undefined;
7779
+ clientId?: string | null | undefined;
7780
+ channelId?: string | null | undefined;
7781
+ waapiInstanceId?: string | null | undefined;
7782
+ qr?: string | null | undefined;
7783
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7451
7784
  apiKey?: string | undefined;
7452
7785
  tier?: "basic" | "regular" | "premium" | undefined;
7786
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7453
7787
  } | undefined;
7454
7788
  vonageCredentials?: {
7455
7789
  apiKey: string;
@@ -7467,15 +7801,18 @@ export declare const channelContract: {
7467
7801
  additionalCredentials?: any;
7468
7802
  senderId?: string | undefined;
7469
7803
  whatsapp?: {
7470
- email: string;
7471
- wabaExternalId: string;
7472
- phoneNumberId: string;
7473
- wabaBusinessId?: string | undefined;
7474
- clientId?: string | undefined;
7475
- channelId?: string | undefined;
7476
- status?: "active" | "pending" | undefined;
7804
+ wabaBusinessId?: string | null | undefined;
7805
+ wabaExternalId?: string | null | undefined;
7806
+ phoneNumberId?: string | null | undefined;
7807
+ email?: string | null | undefined;
7808
+ clientId?: string | null | undefined;
7809
+ channelId?: string | null | undefined;
7810
+ waapiInstanceId?: string | null | undefined;
7811
+ qr?: string | null | undefined;
7812
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7477
7813
  apiKey?: string | undefined;
7478
7814
  tier?: "basic" | "regular" | "premium" | undefined;
7815
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7479
7816
  } | undefined;
7480
7817
  vonageCredentials?: {
7481
7818
  apiKey: string;
@@ -7727,15 +8064,18 @@ export declare const channelContract: {
7727
8064
  additionalCredentials?: any;
7728
8065
  senderId?: string | undefined;
7729
8066
  whatsapp?: {
7730
- email: string;
7731
- wabaExternalId: string;
7732
- phoneNumberId: string;
7733
- wabaBusinessId?: string | undefined;
7734
- clientId?: string | undefined;
7735
- channelId?: string | undefined;
7736
- status?: "active" | "pending" | undefined;
8067
+ wabaBusinessId?: string | null | undefined;
8068
+ wabaExternalId?: string | null | undefined;
8069
+ phoneNumberId?: string | null | undefined;
8070
+ email?: string | null | undefined;
8071
+ clientId?: string | null | undefined;
8072
+ channelId?: string | null | undefined;
8073
+ waapiInstanceId?: string | null | undefined;
8074
+ qr?: string | null | undefined;
8075
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7737
8076
  apiKey?: string | undefined;
7738
8077
  tier?: "basic" | "regular" | "premium" | undefined;
8078
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7739
8079
  } | undefined;
7740
8080
  vonageCredentials?: {
7741
8081
  apiKey: string;
@@ -7818,15 +8158,18 @@ export declare const channelContract: {
7818
8158
  additionalCredentials?: any;
7819
8159
  senderId?: string | undefined;
7820
8160
  whatsapp?: {
7821
- email: string;
7822
- wabaExternalId: string;
7823
- phoneNumberId: string;
7824
- wabaBusinessId?: string | undefined;
7825
- clientId?: string | undefined;
7826
- channelId?: string | undefined;
7827
- status?: "active" | "pending" | undefined;
8161
+ wabaBusinessId?: string | null | undefined;
8162
+ wabaExternalId?: string | null | undefined;
8163
+ phoneNumberId?: string | null | undefined;
8164
+ email?: string | null | undefined;
8165
+ clientId?: string | null | undefined;
8166
+ channelId?: string | null | undefined;
8167
+ waapiInstanceId?: string | null | undefined;
8168
+ qr?: string | null | undefined;
8169
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7828
8170
  apiKey?: string | undefined;
7829
8171
  tier?: "basic" | "regular" | "premium" | undefined;
8172
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7830
8173
  } | undefined;
7831
8174
  vonageCredentials?: {
7832
8175
  apiKey: string;
@@ -7911,15 +8254,18 @@ export declare const channelContract: {
7911
8254
  additionalCredentials?: any;
7912
8255
  senderId?: string | undefined;
7913
8256
  whatsapp?: {
7914
- email: string;
7915
- wabaExternalId: string;
7916
- phoneNumberId: string;
7917
- wabaBusinessId?: string | undefined;
7918
- clientId?: string | undefined;
7919
- channelId?: string | undefined;
7920
- status?: "active" | "pending" | undefined;
8257
+ wabaBusinessId?: string | null | undefined;
8258
+ wabaExternalId?: string | null | undefined;
8259
+ phoneNumberId?: string | null | undefined;
8260
+ email?: string | null | undefined;
8261
+ clientId?: string | null | undefined;
8262
+ channelId?: string | null | undefined;
8263
+ waapiInstanceId?: string | null | undefined;
8264
+ qr?: string | null | undefined;
8265
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7921
8266
  apiKey?: string | undefined;
7922
8267
  tier?: "basic" | "regular" | "premium" | undefined;
8268
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7923
8269
  } | undefined;
7924
8270
  vonageCredentials?: {
7925
8271
  apiKey: string;
@@ -8005,15 +8351,18 @@ export declare const channelContract: {
8005
8351
  additionalCredentials?: any;
8006
8352
  senderId?: string | undefined;
8007
8353
  whatsapp?: {
8008
- email: string;
8009
- wabaExternalId: string;
8010
- phoneNumberId: string;
8011
- wabaBusinessId?: string | undefined;
8012
- clientId?: string | undefined;
8013
- channelId?: string | undefined;
8014
- status?: "active" | "pending" | undefined;
8354
+ wabaBusinessId?: string | null | undefined;
8355
+ wabaExternalId?: string | null | undefined;
8356
+ phoneNumberId?: string | null | undefined;
8357
+ email?: string | null | undefined;
8358
+ clientId?: string | null | undefined;
8359
+ channelId?: string | null | undefined;
8360
+ waapiInstanceId?: string | null | undefined;
8361
+ qr?: string | null | undefined;
8362
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8015
8363
  apiKey?: string | undefined;
8016
8364
  tier?: "basic" | "regular" | "premium" | undefined;
8365
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8017
8366
  } | undefined;
8018
8367
  vonageCredentials?: {
8019
8368
  apiKey: string;
@@ -8159,35 +8508,44 @@ export declare const channelContract: {
8159
8508
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8160
8509
  senderId: z.ZodOptional<z.ZodString>;
8161
8510
  whatsapp: z.ZodOptional<z.ZodObject<{
8162
- wabaBusinessId: z.ZodOptional<z.ZodString>;
8163
- wabaExternalId: z.ZodString;
8164
- phoneNumberId: z.ZodString;
8165
- email: z.ZodString;
8166
- clientId: z.ZodOptional<z.ZodString>;
8167
- channelId: z.ZodOptional<z.ZodString>;
8168
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
8511
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8512
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8513
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8514
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8515
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8516
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8517
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8518
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8519
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
8169
8520
  apiKey: z.ZodOptional<z.ZodString>;
8170
8521
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
8522
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
8171
8523
  }, "strip", z.ZodTypeAny, {
8172
- email: string;
8173
- wabaExternalId: string;
8174
- phoneNumberId: string;
8175
- wabaBusinessId?: string | undefined;
8176
- clientId?: string | undefined;
8177
- channelId?: string | undefined;
8178
- status?: "active" | "pending" | undefined;
8524
+ wabaBusinessId?: string | null | undefined;
8525
+ wabaExternalId?: string | null | undefined;
8526
+ phoneNumberId?: string | null | undefined;
8527
+ email?: string | null | undefined;
8528
+ clientId?: string | null | undefined;
8529
+ channelId?: string | null | undefined;
8530
+ waapiInstanceId?: string | null | undefined;
8531
+ qr?: string | null | undefined;
8532
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8179
8533
  apiKey?: string | undefined;
8180
8534
  tier?: "basic" | "regular" | "premium" | undefined;
8535
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8181
8536
  }, {
8182
- email: string;
8183
- wabaExternalId: string;
8184
- phoneNumberId: string;
8185
- wabaBusinessId?: string | undefined;
8186
- clientId?: string | undefined;
8187
- channelId?: string | undefined;
8188
- status?: "active" | "pending" | undefined;
8537
+ wabaBusinessId?: string | null | undefined;
8538
+ wabaExternalId?: string | null | undefined;
8539
+ phoneNumberId?: string | null | undefined;
8540
+ email?: string | null | undefined;
8541
+ clientId?: string | null | undefined;
8542
+ channelId?: string | null | undefined;
8543
+ waapiInstanceId?: string | null | undefined;
8544
+ qr?: string | null | undefined;
8545
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8189
8546
  apiKey?: string | undefined;
8190
8547
  tier?: "basic" | "regular" | "premium" | undefined;
8548
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8191
8549
  }>>;
8192
8550
  vonageCredentials: z.ZodOptional<z.ZodObject<{
8193
8551
  mobileNumber: z.ZodString;
@@ -8213,15 +8571,18 @@ export declare const channelContract: {
8213
8571
  additionalCredentials?: any;
8214
8572
  senderId?: string | undefined;
8215
8573
  whatsapp?: {
8216
- email: string;
8217
- wabaExternalId: string;
8218
- phoneNumberId: string;
8219
- wabaBusinessId?: string | undefined;
8220
- clientId?: string | undefined;
8221
- channelId?: string | undefined;
8222
- status?: "active" | "pending" | undefined;
8574
+ wabaBusinessId?: string | null | undefined;
8575
+ wabaExternalId?: string | null | undefined;
8576
+ phoneNumberId?: string | null | undefined;
8577
+ email?: string | null | undefined;
8578
+ clientId?: string | null | undefined;
8579
+ channelId?: string | null | undefined;
8580
+ waapiInstanceId?: string | null | undefined;
8581
+ qr?: string | null | undefined;
8582
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8223
8583
  apiKey?: string | undefined;
8224
8584
  tier?: "basic" | "regular" | "premium" | undefined;
8585
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8225
8586
  } | undefined;
8226
8587
  vonageCredentials?: {
8227
8588
  apiKey: string;
@@ -8239,15 +8600,18 @@ export declare const channelContract: {
8239
8600
  additionalCredentials?: any;
8240
8601
  senderId?: string | undefined;
8241
8602
  whatsapp?: {
8242
- email: string;
8243
- wabaExternalId: string;
8244
- phoneNumberId: string;
8245
- wabaBusinessId?: string | undefined;
8246
- clientId?: string | undefined;
8247
- channelId?: string | undefined;
8248
- status?: "active" | "pending" | undefined;
8603
+ wabaBusinessId?: string | null | undefined;
8604
+ wabaExternalId?: string | null | undefined;
8605
+ phoneNumberId?: string | null | undefined;
8606
+ email?: string | null | undefined;
8607
+ clientId?: string | null | undefined;
8608
+ channelId?: string | null | undefined;
8609
+ waapiInstanceId?: string | null | undefined;
8610
+ qr?: string | null | undefined;
8611
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8249
8612
  apiKey?: string | undefined;
8250
8613
  tier?: "basic" | "regular" | "premium" | undefined;
8614
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8251
8615
  } | undefined;
8252
8616
  vonageCredentials?: {
8253
8617
  apiKey: string;
@@ -8499,15 +8863,18 @@ export declare const channelContract: {
8499
8863
  additionalCredentials?: any;
8500
8864
  senderId?: string | undefined;
8501
8865
  whatsapp?: {
8502
- email: string;
8503
- wabaExternalId: string;
8504
- phoneNumberId: string;
8505
- wabaBusinessId?: string | undefined;
8506
- clientId?: string | undefined;
8507
- channelId?: string | undefined;
8508
- status?: "active" | "pending" | undefined;
8866
+ wabaBusinessId?: string | null | undefined;
8867
+ wabaExternalId?: string | null | undefined;
8868
+ phoneNumberId?: string | null | undefined;
8869
+ email?: string | null | undefined;
8870
+ clientId?: string | null | undefined;
8871
+ channelId?: string | null | undefined;
8872
+ waapiInstanceId?: string | null | undefined;
8873
+ qr?: string | null | undefined;
8874
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8509
8875
  apiKey?: string | undefined;
8510
8876
  tier?: "basic" | "regular" | "premium" | undefined;
8877
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8511
8878
  } | undefined;
8512
8879
  vonageCredentials?: {
8513
8880
  apiKey: string;
@@ -8590,15 +8957,18 @@ export declare const channelContract: {
8590
8957
  additionalCredentials?: any;
8591
8958
  senderId?: string | undefined;
8592
8959
  whatsapp?: {
8593
- email: string;
8594
- wabaExternalId: string;
8595
- phoneNumberId: string;
8596
- wabaBusinessId?: string | undefined;
8597
- clientId?: string | undefined;
8598
- channelId?: string | undefined;
8599
- status?: "active" | "pending" | undefined;
8960
+ wabaBusinessId?: string | null | undefined;
8961
+ wabaExternalId?: string | null | undefined;
8962
+ phoneNumberId?: string | null | undefined;
8963
+ email?: string | null | undefined;
8964
+ clientId?: string | null | undefined;
8965
+ channelId?: string | null | undefined;
8966
+ waapiInstanceId?: string | null | undefined;
8967
+ qr?: string | null | undefined;
8968
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8600
8969
  apiKey?: string | undefined;
8601
8970
  tier?: "basic" | "regular" | "premium" | undefined;
8971
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8602
8972
  } | undefined;
8603
8973
  vonageCredentials?: {
8604
8974
  apiKey: string;
@@ -8683,15 +9053,18 @@ export declare const channelContract: {
8683
9053
  additionalCredentials?: any;
8684
9054
  senderId?: string | undefined;
8685
9055
  whatsapp?: {
8686
- email: string;
8687
- wabaExternalId: string;
8688
- phoneNumberId: string;
8689
- wabaBusinessId?: string | undefined;
8690
- clientId?: string | undefined;
8691
- channelId?: string | undefined;
8692
- status?: "active" | "pending" | undefined;
9056
+ wabaBusinessId?: string | null | undefined;
9057
+ wabaExternalId?: string | null | undefined;
9058
+ phoneNumberId?: string | null | undefined;
9059
+ email?: string | null | undefined;
9060
+ clientId?: string | null | undefined;
9061
+ channelId?: string | null | undefined;
9062
+ waapiInstanceId?: string | null | undefined;
9063
+ qr?: string | null | undefined;
9064
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8693
9065
  apiKey?: string | undefined;
8694
9066
  tier?: "basic" | "regular" | "premium" | undefined;
9067
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8695
9068
  } | undefined;
8696
9069
  vonageCredentials?: {
8697
9070
  apiKey: string;
@@ -8777,15 +9150,18 @@ export declare const channelContract: {
8777
9150
  additionalCredentials?: any;
8778
9151
  senderId?: string | undefined;
8779
9152
  whatsapp?: {
8780
- email: string;
8781
- wabaExternalId: string;
8782
- phoneNumberId: string;
8783
- wabaBusinessId?: string | undefined;
8784
- clientId?: string | undefined;
8785
- channelId?: string | undefined;
8786
- status?: "active" | "pending" | undefined;
9153
+ wabaBusinessId?: string | null | undefined;
9154
+ wabaExternalId?: string | null | undefined;
9155
+ phoneNumberId?: string | null | undefined;
9156
+ email?: string | null | undefined;
9157
+ clientId?: string | null | undefined;
9158
+ channelId?: string | null | undefined;
9159
+ waapiInstanceId?: string | null | undefined;
9160
+ qr?: string | null | undefined;
9161
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8787
9162
  apiKey?: string | undefined;
8788
9163
  tier?: "basic" | "regular" | "premium" | undefined;
9164
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8789
9165
  } | undefined;
8790
9166
  vonageCredentials?: {
8791
9167
  apiKey: string;
@@ -8981,35 +9357,44 @@ export declare const channelContract: {
8981
9357
  additionalCredentials: z.ZodOptional<z.ZodAny>;
8982
9358
  senderId: z.ZodOptional<z.ZodString>;
8983
9359
  whatsapp: z.ZodOptional<z.ZodObject<{
8984
- wabaBusinessId: z.ZodOptional<z.ZodString>;
8985
- wabaExternalId: z.ZodString;
8986
- phoneNumberId: z.ZodString;
8987
- email: z.ZodString;
8988
- clientId: z.ZodOptional<z.ZodString>;
8989
- channelId: z.ZodOptional<z.ZodString>;
8990
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
9360
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9361
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9362
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9363
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9364
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9365
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9366
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9367
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9368
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
8991
9369
  apiKey: z.ZodOptional<z.ZodString>;
8992
9370
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
9371
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
8993
9372
  }, "strip", z.ZodTypeAny, {
8994
- email: string;
8995
- wabaExternalId: string;
8996
- phoneNumberId: string;
8997
- wabaBusinessId?: string | undefined;
8998
- clientId?: string | undefined;
8999
- channelId?: string | undefined;
9000
- status?: "active" | "pending" | undefined;
9373
+ wabaBusinessId?: string | null | undefined;
9374
+ wabaExternalId?: string | null | undefined;
9375
+ phoneNumberId?: string | null | undefined;
9376
+ email?: string | null | undefined;
9377
+ clientId?: string | null | undefined;
9378
+ channelId?: string | null | undefined;
9379
+ waapiInstanceId?: string | null | undefined;
9380
+ qr?: string | null | undefined;
9381
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9001
9382
  apiKey?: string | undefined;
9002
9383
  tier?: "basic" | "regular" | "premium" | undefined;
9384
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9003
9385
  }, {
9004
- email: string;
9005
- wabaExternalId: string;
9006
- phoneNumberId: string;
9007
- wabaBusinessId?: string | undefined;
9008
- clientId?: string | undefined;
9009
- channelId?: string | undefined;
9010
- status?: "active" | "pending" | undefined;
9386
+ wabaBusinessId?: string | null | undefined;
9387
+ wabaExternalId?: string | null | undefined;
9388
+ phoneNumberId?: string | null | undefined;
9389
+ email?: string | null | undefined;
9390
+ clientId?: string | null | undefined;
9391
+ channelId?: string | null | undefined;
9392
+ waapiInstanceId?: string | null | undefined;
9393
+ qr?: string | null | undefined;
9394
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9011
9395
  apiKey?: string | undefined;
9012
9396
  tier?: "basic" | "regular" | "premium" | undefined;
9397
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9013
9398
  }>>;
9014
9399
  vonageCredentials: z.ZodOptional<z.ZodObject<{
9015
9400
  mobileNumber: z.ZodString;
@@ -9035,15 +9420,18 @@ export declare const channelContract: {
9035
9420
  additionalCredentials?: any;
9036
9421
  senderId?: string | undefined;
9037
9422
  whatsapp?: {
9038
- email: string;
9039
- wabaExternalId: string;
9040
- phoneNumberId: string;
9041
- wabaBusinessId?: string | undefined;
9042
- clientId?: string | undefined;
9043
- channelId?: string | undefined;
9044
- status?: "active" | "pending" | undefined;
9423
+ wabaBusinessId?: string | null | undefined;
9424
+ wabaExternalId?: string | null | undefined;
9425
+ phoneNumberId?: string | null | undefined;
9426
+ email?: string | null | undefined;
9427
+ clientId?: string | null | undefined;
9428
+ channelId?: string | null | undefined;
9429
+ waapiInstanceId?: string | null | undefined;
9430
+ qr?: string | null | undefined;
9431
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9045
9432
  apiKey?: string | undefined;
9046
9433
  tier?: "basic" | "regular" | "premium" | undefined;
9434
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9047
9435
  } | undefined;
9048
9436
  vonageCredentials?: {
9049
9437
  apiKey: string;
@@ -9061,15 +9449,18 @@ export declare const channelContract: {
9061
9449
  additionalCredentials?: any;
9062
9450
  senderId?: string | undefined;
9063
9451
  whatsapp?: {
9064
- email: string;
9065
- wabaExternalId: string;
9066
- phoneNumberId: string;
9067
- wabaBusinessId?: string | undefined;
9068
- clientId?: string | undefined;
9069
- channelId?: string | undefined;
9070
- status?: "active" | "pending" | undefined;
9452
+ wabaBusinessId?: string | null | undefined;
9453
+ wabaExternalId?: string | null | undefined;
9454
+ phoneNumberId?: string | null | undefined;
9455
+ email?: string | null | undefined;
9456
+ clientId?: string | null | undefined;
9457
+ channelId?: string | null | undefined;
9458
+ waapiInstanceId?: string | null | undefined;
9459
+ qr?: string | null | undefined;
9460
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9071
9461
  apiKey?: string | undefined;
9072
9462
  tier?: "basic" | "regular" | "premium" | undefined;
9463
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9073
9464
  } | undefined;
9074
9465
  vonageCredentials?: {
9075
9466
  apiKey: string;
@@ -9321,15 +9712,18 @@ export declare const channelContract: {
9321
9712
  additionalCredentials?: any;
9322
9713
  senderId?: string | undefined;
9323
9714
  whatsapp?: {
9324
- email: string;
9325
- wabaExternalId: string;
9326
- phoneNumberId: string;
9327
- wabaBusinessId?: string | undefined;
9328
- clientId?: string | undefined;
9329
- channelId?: string | undefined;
9330
- status?: "active" | "pending" | undefined;
9715
+ wabaBusinessId?: string | null | undefined;
9716
+ wabaExternalId?: string | null | undefined;
9717
+ phoneNumberId?: string | null | undefined;
9718
+ email?: string | null | undefined;
9719
+ clientId?: string | null | undefined;
9720
+ channelId?: string | null | undefined;
9721
+ waapiInstanceId?: string | null | undefined;
9722
+ qr?: string | null | undefined;
9723
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9331
9724
  apiKey?: string | undefined;
9332
9725
  tier?: "basic" | "regular" | "premium" | undefined;
9726
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9333
9727
  } | undefined;
9334
9728
  vonageCredentials?: {
9335
9729
  apiKey: string;
@@ -9412,15 +9806,18 @@ export declare const channelContract: {
9412
9806
  additionalCredentials?: any;
9413
9807
  senderId?: string | undefined;
9414
9808
  whatsapp?: {
9415
- email: string;
9416
- wabaExternalId: string;
9417
- phoneNumberId: string;
9418
- wabaBusinessId?: string | undefined;
9419
- clientId?: string | undefined;
9420
- channelId?: string | undefined;
9421
- status?: "active" | "pending" | undefined;
9809
+ wabaBusinessId?: string | null | undefined;
9810
+ wabaExternalId?: string | null | undefined;
9811
+ phoneNumberId?: string | null | undefined;
9812
+ email?: string | null | undefined;
9813
+ clientId?: string | null | undefined;
9814
+ channelId?: string | null | undefined;
9815
+ waapiInstanceId?: string | null | undefined;
9816
+ qr?: string | null | undefined;
9817
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9422
9818
  apiKey?: string | undefined;
9423
9819
  tier?: "basic" | "regular" | "premium" | undefined;
9820
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9424
9821
  } | undefined;
9425
9822
  vonageCredentials?: {
9426
9823
  apiKey: string;
@@ -9505,15 +9902,18 @@ export declare const channelContract: {
9505
9902
  additionalCredentials?: any;
9506
9903
  senderId?: string | undefined;
9507
9904
  whatsapp?: {
9508
- email: string;
9509
- wabaExternalId: string;
9510
- phoneNumberId: string;
9511
- wabaBusinessId?: string | undefined;
9512
- clientId?: string | undefined;
9513
- channelId?: string | undefined;
9514
- status?: "active" | "pending" | undefined;
9905
+ wabaBusinessId?: string | null | undefined;
9906
+ wabaExternalId?: string | null | undefined;
9907
+ phoneNumberId?: string | null | undefined;
9908
+ email?: string | null | undefined;
9909
+ clientId?: string | null | undefined;
9910
+ channelId?: string | null | undefined;
9911
+ waapiInstanceId?: string | null | undefined;
9912
+ qr?: string | null | undefined;
9913
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9515
9914
  apiKey?: string | undefined;
9516
9915
  tier?: "basic" | "regular" | "premium" | undefined;
9916
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9517
9917
  } | undefined;
9518
9918
  vonageCredentials?: {
9519
9919
  apiKey: string;
@@ -9599,15 +9999,18 @@ export declare const channelContract: {
9599
9999
  additionalCredentials?: any;
9600
10000
  senderId?: string | undefined;
9601
10001
  whatsapp?: {
9602
- email: string;
9603
- wabaExternalId: string;
9604
- phoneNumberId: string;
9605
- wabaBusinessId?: string | undefined;
9606
- clientId?: string | undefined;
9607
- channelId?: string | undefined;
9608
- status?: "active" | "pending" | undefined;
10002
+ wabaBusinessId?: string | null | undefined;
10003
+ wabaExternalId?: string | null | undefined;
10004
+ phoneNumberId?: string | null | undefined;
10005
+ email?: string | null | undefined;
10006
+ clientId?: string | null | undefined;
10007
+ channelId?: string | null | undefined;
10008
+ waapiInstanceId?: string | null | undefined;
10009
+ qr?: string | null | undefined;
10010
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9609
10011
  apiKey?: string | undefined;
9610
10012
  tier?: "basic" | "regular" | "premium" | undefined;
10013
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9611
10014
  } | undefined;
9612
10015
  vonageCredentials?: {
9613
10016
  apiKey: string;
@@ -9734,35 +10137,44 @@ export declare const channelContract: {
9734
10137
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9735
10138
  senderId: z.ZodOptional<z.ZodString>;
9736
10139
  whatsapp: z.ZodOptional<z.ZodObject<{
9737
- wabaBusinessId: z.ZodOptional<z.ZodString>;
9738
- wabaExternalId: z.ZodString;
9739
- phoneNumberId: z.ZodString;
9740
- email: z.ZodString;
9741
- clientId: z.ZodOptional<z.ZodString>;
9742
- channelId: z.ZodOptional<z.ZodString>;
9743
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10140
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10141
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10142
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10143
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10144
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10145
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10146
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10147
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10148
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
9744
10149
  apiKey: z.ZodOptional<z.ZodString>;
9745
10150
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10151
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
9746
10152
  }, "strip", z.ZodTypeAny, {
9747
- email: string;
9748
- wabaExternalId: string;
9749
- phoneNumberId: string;
9750
- wabaBusinessId?: string | undefined;
9751
- clientId?: string | undefined;
9752
- channelId?: string | undefined;
9753
- status?: "active" | "pending" | undefined;
10153
+ wabaBusinessId?: string | null | undefined;
10154
+ wabaExternalId?: string | null | undefined;
10155
+ phoneNumberId?: string | null | undefined;
10156
+ email?: string | null | undefined;
10157
+ clientId?: string | null | undefined;
10158
+ channelId?: string | null | undefined;
10159
+ waapiInstanceId?: string | null | undefined;
10160
+ qr?: string | null | undefined;
10161
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9754
10162
  apiKey?: string | undefined;
9755
10163
  tier?: "basic" | "regular" | "premium" | undefined;
10164
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9756
10165
  }, {
9757
- email: string;
9758
- wabaExternalId: string;
9759
- phoneNumberId: string;
9760
- wabaBusinessId?: string | undefined;
9761
- clientId?: string | undefined;
9762
- channelId?: string | undefined;
9763
- status?: "active" | "pending" | undefined;
10166
+ wabaBusinessId?: string | null | undefined;
10167
+ wabaExternalId?: string | null | undefined;
10168
+ phoneNumberId?: string | null | undefined;
10169
+ email?: string | null | undefined;
10170
+ clientId?: string | null | undefined;
10171
+ channelId?: string | null | undefined;
10172
+ waapiInstanceId?: string | null | undefined;
10173
+ qr?: string | null | undefined;
10174
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9764
10175
  apiKey?: string | undefined;
9765
10176
  tier?: "basic" | "regular" | "premium" | undefined;
10177
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9766
10178
  }>>;
9767
10179
  vonageCredentials: z.ZodOptional<z.ZodObject<{
9768
10180
  mobileNumber: z.ZodString;
@@ -9788,15 +10200,18 @@ export declare const channelContract: {
9788
10200
  additionalCredentials?: any;
9789
10201
  senderId?: string | undefined;
9790
10202
  whatsapp?: {
9791
- email: string;
9792
- wabaExternalId: string;
9793
- phoneNumberId: string;
9794
- wabaBusinessId?: string | undefined;
9795
- clientId?: string | undefined;
9796
- channelId?: string | undefined;
9797
- status?: "active" | "pending" | undefined;
10203
+ wabaBusinessId?: string | null | undefined;
10204
+ wabaExternalId?: string | null | undefined;
10205
+ phoneNumberId?: string | null | undefined;
10206
+ email?: string | null | undefined;
10207
+ clientId?: string | null | undefined;
10208
+ channelId?: string | null | undefined;
10209
+ waapiInstanceId?: string | null | undefined;
10210
+ qr?: string | null | undefined;
10211
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9798
10212
  apiKey?: string | undefined;
9799
10213
  tier?: "basic" | "regular" | "premium" | undefined;
10214
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9800
10215
  } | undefined;
9801
10216
  vonageCredentials?: {
9802
10217
  apiKey: string;
@@ -9814,15 +10229,18 @@ export declare const channelContract: {
9814
10229
  additionalCredentials?: any;
9815
10230
  senderId?: string | undefined;
9816
10231
  whatsapp?: {
9817
- email: string;
9818
- wabaExternalId: string;
9819
- phoneNumberId: string;
9820
- wabaBusinessId?: string | undefined;
9821
- clientId?: string | undefined;
9822
- channelId?: string | undefined;
9823
- status?: "active" | "pending" | undefined;
10232
+ wabaBusinessId?: string | null | undefined;
10233
+ wabaExternalId?: string | null | undefined;
10234
+ phoneNumberId?: string | null | undefined;
10235
+ email?: string | null | undefined;
10236
+ clientId?: string | null | undefined;
10237
+ channelId?: string | null | undefined;
10238
+ waapiInstanceId?: string | null | undefined;
10239
+ qr?: string | null | undefined;
10240
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9824
10241
  apiKey?: string | undefined;
9825
10242
  tier?: "basic" | "regular" | "premium" | undefined;
10243
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9826
10244
  } | undefined;
9827
10245
  vonageCredentials?: {
9828
10246
  apiKey: string;
@@ -9845,15 +10263,18 @@ export declare const channelContract: {
9845
10263
  additionalCredentials?: any;
9846
10264
  senderId?: string | undefined;
9847
10265
  whatsapp?: {
9848
- email: string;
9849
- wabaExternalId: string;
9850
- phoneNumberId: string;
9851
- wabaBusinessId?: string | undefined;
9852
- clientId?: string | undefined;
9853
- channelId?: string | undefined;
9854
- status?: "active" | "pending" | undefined;
10266
+ wabaBusinessId?: string | null | undefined;
10267
+ wabaExternalId?: string | null | undefined;
10268
+ phoneNumberId?: string | null | undefined;
10269
+ email?: string | null | undefined;
10270
+ clientId?: string | null | undefined;
10271
+ channelId?: string | null | undefined;
10272
+ waapiInstanceId?: string | null | undefined;
10273
+ qr?: string | null | undefined;
10274
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9855
10275
  apiKey?: string | undefined;
9856
10276
  tier?: "basic" | "regular" | "premium" | undefined;
10277
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9857
10278
  } | undefined;
9858
10279
  vonageCredentials?: {
9859
10280
  apiKey: string;
@@ -9876,15 +10297,18 @@ export declare const channelContract: {
9876
10297
  additionalCredentials?: any;
9877
10298
  senderId?: string | undefined;
9878
10299
  whatsapp?: {
9879
- email: string;
9880
- wabaExternalId: string;
9881
- phoneNumberId: string;
9882
- wabaBusinessId?: string | undefined;
9883
- clientId?: string | undefined;
9884
- channelId?: string | undefined;
9885
- status?: "active" | "pending" | undefined;
10300
+ wabaBusinessId?: string | null | undefined;
10301
+ wabaExternalId?: string | null | undefined;
10302
+ phoneNumberId?: string | null | undefined;
10303
+ email?: string | null | undefined;
10304
+ clientId?: string | null | undefined;
10305
+ channelId?: string | null | undefined;
10306
+ waapiInstanceId?: string | null | undefined;
10307
+ qr?: string | null | undefined;
10308
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9886
10309
  apiKey?: string | undefined;
9887
10310
  tier?: "basic" | "regular" | "premium" | undefined;
10311
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9888
10312
  } | undefined;
9889
10313
  vonageCredentials?: {
9890
10314
  apiKey: string;
@@ -9917,35 +10341,44 @@ export declare const channelContract: {
9917
10341
  additionalCredentials: z.ZodOptional<z.ZodAny>;
9918
10342
  senderId: z.ZodOptional<z.ZodString>;
9919
10343
  whatsapp: z.ZodOptional<z.ZodObject<{
9920
- wabaBusinessId: z.ZodOptional<z.ZodString>;
9921
- wabaExternalId: z.ZodString;
9922
- phoneNumberId: z.ZodString;
9923
- email: z.ZodString;
9924
- clientId: z.ZodOptional<z.ZodString>;
9925
- channelId: z.ZodOptional<z.ZodString>;
9926
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10344
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10345
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10346
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10347
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10348
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10349
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10350
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10351
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10352
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
9927
10353
  apiKey: z.ZodOptional<z.ZodString>;
9928
10354
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10355
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
9929
10356
  }, "strip", z.ZodTypeAny, {
9930
- email: string;
9931
- wabaExternalId: string;
9932
- phoneNumberId: string;
9933
- wabaBusinessId?: string | undefined;
9934
- clientId?: string | undefined;
9935
- channelId?: string | undefined;
9936
- status?: "active" | "pending" | undefined;
10357
+ wabaBusinessId?: string | null | undefined;
10358
+ wabaExternalId?: string | null | undefined;
10359
+ phoneNumberId?: string | null | undefined;
10360
+ email?: string | null | undefined;
10361
+ clientId?: string | null | undefined;
10362
+ channelId?: string | null | undefined;
10363
+ waapiInstanceId?: string | null | undefined;
10364
+ qr?: string | null | undefined;
10365
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9937
10366
  apiKey?: string | undefined;
9938
10367
  tier?: "basic" | "regular" | "premium" | undefined;
10368
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9939
10369
  }, {
9940
- email: string;
9941
- wabaExternalId: string;
9942
- phoneNumberId: string;
9943
- wabaBusinessId?: string | undefined;
9944
- clientId?: string | undefined;
9945
- channelId?: string | undefined;
9946
- status?: "active" | "pending" | undefined;
10370
+ wabaBusinessId?: string | null | undefined;
10371
+ wabaExternalId?: string | null | undefined;
10372
+ phoneNumberId?: string | null | undefined;
10373
+ email?: string | null | undefined;
10374
+ clientId?: string | null | undefined;
10375
+ channelId?: string | null | undefined;
10376
+ waapiInstanceId?: string | null | undefined;
10377
+ qr?: string | null | undefined;
10378
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9947
10379
  apiKey?: string | undefined;
9948
10380
  tier?: "basic" | "regular" | "premium" | undefined;
10381
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9949
10382
  }>>;
9950
10383
  vonageCredentials: z.ZodOptional<z.ZodObject<{
9951
10384
  mobileNumber: z.ZodString;
@@ -9971,15 +10404,18 @@ export declare const channelContract: {
9971
10404
  additionalCredentials?: any;
9972
10405
  senderId?: string | undefined;
9973
10406
  whatsapp?: {
9974
- email: string;
9975
- wabaExternalId: string;
9976
- phoneNumberId: string;
9977
- wabaBusinessId?: string | undefined;
9978
- clientId?: string | undefined;
9979
- channelId?: string | undefined;
9980
- status?: "active" | "pending" | undefined;
10407
+ wabaBusinessId?: string | null | undefined;
10408
+ wabaExternalId?: string | null | undefined;
10409
+ phoneNumberId?: string | null | undefined;
10410
+ email?: string | null | undefined;
10411
+ clientId?: string | null | undefined;
10412
+ channelId?: string | null | undefined;
10413
+ waapiInstanceId?: string | null | undefined;
10414
+ qr?: string | null | undefined;
10415
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9981
10416
  apiKey?: string | undefined;
9982
10417
  tier?: "basic" | "regular" | "premium" | undefined;
10418
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9983
10419
  } | undefined;
9984
10420
  vonageCredentials?: {
9985
10421
  apiKey: string;
@@ -9997,15 +10433,18 @@ export declare const channelContract: {
9997
10433
  additionalCredentials?: any;
9998
10434
  senderId?: string | undefined;
9999
10435
  whatsapp?: {
10000
- email: string;
10001
- wabaExternalId: string;
10002
- phoneNumberId: string;
10003
- wabaBusinessId?: string | undefined;
10004
- clientId?: string | undefined;
10005
- channelId?: string | undefined;
10006
- status?: "active" | "pending" | undefined;
10436
+ wabaBusinessId?: string | null | undefined;
10437
+ wabaExternalId?: string | null | undefined;
10438
+ phoneNumberId?: string | null | undefined;
10439
+ email?: string | null | undefined;
10440
+ clientId?: string | null | undefined;
10441
+ channelId?: string | null | undefined;
10442
+ waapiInstanceId?: string | null | undefined;
10443
+ qr?: string | null | undefined;
10444
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10007
10445
  apiKey?: string | undefined;
10008
10446
  tier?: "basic" | "regular" | "premium" | undefined;
10447
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10009
10448
  } | undefined;
10010
10449
  vonageCredentials?: {
10011
10450
  apiKey: string;
@@ -10257,15 +10696,18 @@ export declare const channelContract: {
10257
10696
  additionalCredentials?: any;
10258
10697
  senderId?: string | undefined;
10259
10698
  whatsapp?: {
10260
- email: string;
10261
- wabaExternalId: string;
10262
- phoneNumberId: string;
10263
- wabaBusinessId?: string | undefined;
10264
- clientId?: string | undefined;
10265
- channelId?: string | undefined;
10266
- status?: "active" | "pending" | undefined;
10699
+ wabaBusinessId?: string | null | undefined;
10700
+ wabaExternalId?: string | null | undefined;
10701
+ phoneNumberId?: string | null | undefined;
10702
+ email?: string | null | undefined;
10703
+ clientId?: string | null | undefined;
10704
+ channelId?: string | null | undefined;
10705
+ waapiInstanceId?: string | null | undefined;
10706
+ qr?: string | null | undefined;
10707
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10267
10708
  apiKey?: string | undefined;
10268
10709
  tier?: "basic" | "regular" | "premium" | undefined;
10710
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10269
10711
  } | undefined;
10270
10712
  vonageCredentials?: {
10271
10713
  apiKey: string;
@@ -10348,15 +10790,18 @@ export declare const channelContract: {
10348
10790
  additionalCredentials?: any;
10349
10791
  senderId?: string | undefined;
10350
10792
  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;
10793
+ wabaBusinessId?: string | null | undefined;
10794
+ wabaExternalId?: string | null | undefined;
10795
+ phoneNumberId?: string | null | undefined;
10796
+ email?: string | null | undefined;
10797
+ clientId?: string | null | undefined;
10798
+ channelId?: string | null | undefined;
10799
+ waapiInstanceId?: string | null | undefined;
10800
+ qr?: string | null | undefined;
10801
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10358
10802
  apiKey?: string | undefined;
10359
10803
  tier?: "basic" | "regular" | "premium" | undefined;
10804
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10360
10805
  } | undefined;
10361
10806
  vonageCredentials?: {
10362
10807
  apiKey: string;
@@ -10441,15 +10886,18 @@ export declare const channelContract: {
10441
10886
  additionalCredentials?: any;
10442
10887
  senderId?: string | undefined;
10443
10888
  whatsapp?: {
10444
- email: string;
10445
- wabaExternalId: string;
10446
- phoneNumberId: string;
10447
- wabaBusinessId?: string | undefined;
10448
- clientId?: string | undefined;
10449
- channelId?: string | undefined;
10450
- status?: "active" | "pending" | undefined;
10889
+ wabaBusinessId?: string | null | undefined;
10890
+ wabaExternalId?: string | null | undefined;
10891
+ phoneNumberId?: string | null | undefined;
10892
+ email?: string | null | undefined;
10893
+ clientId?: string | null | undefined;
10894
+ channelId?: string | null | undefined;
10895
+ waapiInstanceId?: string | null | undefined;
10896
+ qr?: string | null | undefined;
10897
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10451
10898
  apiKey?: string | undefined;
10452
10899
  tier?: "basic" | "regular" | "premium" | undefined;
10900
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10453
10901
  } | undefined;
10454
10902
  vonageCredentials?: {
10455
10903
  apiKey: string;
@@ -10535,15 +10983,18 @@ export declare const channelContract: {
10535
10983
  additionalCredentials?: any;
10536
10984
  senderId?: string | undefined;
10537
10985
  whatsapp?: {
10538
- email: string;
10539
- wabaExternalId: string;
10540
- phoneNumberId: string;
10541
- wabaBusinessId?: string | undefined;
10542
- clientId?: string | undefined;
10543
- channelId?: string | undefined;
10544
- status?: "active" | "pending" | undefined;
10986
+ wabaBusinessId?: string | null | undefined;
10987
+ wabaExternalId?: string | null | undefined;
10988
+ phoneNumberId?: string | null | undefined;
10989
+ email?: string | null | undefined;
10990
+ clientId?: string | null | undefined;
10991
+ channelId?: string | null | undefined;
10992
+ waapiInstanceId?: string | null | undefined;
10993
+ qr?: string | null | undefined;
10994
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10545
10995
  apiKey?: string | undefined;
10546
10996
  tier?: "basic" | "regular" | "premium" | undefined;
10997
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10547
10998
  } | undefined;
10548
10999
  vonageCredentials?: {
10549
11000
  apiKey: string;
@@ -10730,6 +11181,143 @@ export declare const channelContract: {
10730
11181
  'x-client-timezone'?: string | undefined;
10731
11182
  }>>>;
10732
11183
  };
11184
+ createWaapi: {
11185
+ body: null;
11186
+ method: "POST";
11187
+ responses: {
11188
+ 200: z.ZodObject<{
11189
+ requestId: z.ZodString;
11190
+ data: z.ZodObject<{
11191
+ instanceId: z.ZodString;
11192
+ }, "strip", z.ZodTypeAny, {
11193
+ instanceId: string;
11194
+ }, {
11195
+ instanceId: string;
11196
+ }>;
11197
+ }, "strip", z.ZodTypeAny, {
11198
+ data: {
11199
+ instanceId: string;
11200
+ };
11201
+ requestId: string;
11202
+ }, {
11203
+ data: {
11204
+ instanceId: string;
11205
+ };
11206
+ requestId: string;
11207
+ }>;
11208
+ 500: z.ZodObject<{
11209
+ message: z.ZodString;
11210
+ error: z.ZodAny;
11211
+ }, "strip", z.ZodTypeAny, {
11212
+ message: string;
11213
+ error?: any;
11214
+ }, {
11215
+ message: string;
11216
+ error?: any;
11217
+ }>;
11218
+ 400: z.ZodObject<{
11219
+ message: z.ZodString;
11220
+ error: z.ZodAny;
11221
+ }, "strip", z.ZodTypeAny, {
11222
+ message: string;
11223
+ error?: any;
11224
+ }, {
11225
+ message: string;
11226
+ error?: any;
11227
+ }>;
11228
+ };
11229
+ path: "channel/whatsapp/waapi";
11230
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11231
+ 'x-tenant': z.ZodString;
11232
+ authorization: z.ZodString;
11233
+ 'x-code': z.ZodOptional<z.ZodString>;
11234
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
11235
+ }, "strip", z.ZodTypeAny, {
11236
+ 'x-tenant': string;
11237
+ authorization: string;
11238
+ 'x-client-timezone': string;
11239
+ 'x-code'?: string | undefined;
11240
+ }, {
11241
+ 'x-tenant': string;
11242
+ authorization: string;
11243
+ 'x-code'?: string | undefined;
11244
+ 'x-client-timezone'?: string | undefined;
11245
+ }>>>;
11246
+ };
11247
+ getWaapiQr: {
11248
+ method: "GET";
11249
+ query: z.ZodObject<{
11250
+ channelId: z.ZodString;
11251
+ }, "strip", z.ZodTypeAny, {
11252
+ channelId: string;
11253
+ }, {
11254
+ channelId: string;
11255
+ }>;
11256
+ responses: {
11257
+ 200: z.ZodObject<{
11258
+ requestId: z.ZodString;
11259
+ data: z.ZodObject<{
11260
+ isActive: z.ZodBoolean;
11261
+ qr: z.ZodString;
11262
+ }, "strip", z.ZodTypeAny, {
11263
+ qr: string;
11264
+ isActive: boolean;
11265
+ }, {
11266
+ qr: string;
11267
+ isActive: boolean;
11268
+ }>;
11269
+ }, "strip", z.ZodTypeAny, {
11270
+ data: {
11271
+ qr: string;
11272
+ isActive: boolean;
11273
+ };
11274
+ requestId: string;
11275
+ }, {
11276
+ data: {
11277
+ qr: string;
11278
+ isActive: boolean;
11279
+ };
11280
+ requestId: string;
11281
+ }>;
11282
+ 500: z.ZodObject<{
11283
+ message: z.ZodString;
11284
+ error: z.ZodAny;
11285
+ }, "strip", z.ZodTypeAny, {
11286
+ message: string;
11287
+ error?: any;
11288
+ }, {
11289
+ message: string;
11290
+ error?: any;
11291
+ }>;
11292
+ 400: z.ZodObject<{
11293
+ message: z.ZodString;
11294
+ error: z.ZodAny;
11295
+ }, "strip", z.ZodTypeAny, {
11296
+ message: string;
11297
+ error?: any;
11298
+ }, {
11299
+ message: string;
11300
+ error?: any;
11301
+ }>;
11302
+ };
11303
+ path: "channel/whatsapp/waapi/qr";
11304
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11305
+ 'x-tenant': z.ZodString;
11306
+ authorization: z.ZodString;
11307
+ 'x-code': z.ZodOptional<z.ZodString>;
11308
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
11309
+ }, "strip", z.ZodTypeAny, {
11310
+ 'x-tenant': string;
11311
+ authorization: string;
11312
+ 'x-client-timezone': string;
11313
+ 'x-code'?: string | undefined;
11314
+ }, {
11315
+ 'x-tenant': string;
11316
+ authorization: string;
11317
+ 'x-code'?: string | undefined;
11318
+ 'x-client-timezone'?: string | undefined;
11319
+ }>>>;
11320
+ };
10733
11321
  };
10734
11322
  };
10735
11323
  export declare const channelFacebookFeedContract: {
@@ -10960,35 +11548,44 @@ export declare const channelFacebookFeedContract: {
10960
11548
  additionalCredentials: z.ZodOptional<z.ZodAny>;
10961
11549
  senderId: z.ZodOptional<z.ZodString>;
10962
11550
  whatsapp: z.ZodOptional<z.ZodObject<{
10963
- wabaBusinessId: z.ZodOptional<z.ZodString>;
10964
- wabaExternalId: z.ZodString;
10965
- phoneNumberId: z.ZodString;
10966
- email: z.ZodString;
10967
- clientId: z.ZodOptional<z.ZodString>;
10968
- channelId: z.ZodOptional<z.ZodString>;
10969
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
11551
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11552
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11553
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11554
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11555
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11556
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11557
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11558
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11559
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
10970
11560
  apiKey: z.ZodOptional<z.ZodString>;
10971
11561
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
11562
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
10972
11563
  }, "strip", z.ZodTypeAny, {
10973
- email: string;
10974
- wabaExternalId: string;
10975
- phoneNumberId: string;
10976
- wabaBusinessId?: string | undefined;
10977
- clientId?: string | undefined;
10978
- channelId?: string | undefined;
10979
- status?: "active" | "pending" | undefined;
11564
+ wabaBusinessId?: string | null | undefined;
11565
+ wabaExternalId?: string | null | undefined;
11566
+ phoneNumberId?: string | null | undefined;
11567
+ email?: string | null | undefined;
11568
+ clientId?: string | null | undefined;
11569
+ channelId?: string | null | undefined;
11570
+ waapiInstanceId?: string | null | undefined;
11571
+ qr?: string | null | undefined;
11572
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10980
11573
  apiKey?: string | undefined;
10981
11574
  tier?: "basic" | "regular" | "premium" | undefined;
11575
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10982
11576
  }, {
10983
- email: string;
10984
- wabaExternalId: string;
10985
- phoneNumberId: string;
10986
- wabaBusinessId?: string | undefined;
10987
- clientId?: string | undefined;
10988
- channelId?: string | undefined;
10989
- status?: "active" | "pending" | undefined;
11577
+ wabaBusinessId?: string | null | undefined;
11578
+ wabaExternalId?: string | null | undefined;
11579
+ phoneNumberId?: string | null | undefined;
11580
+ email?: string | null | undefined;
11581
+ clientId?: string | null | undefined;
11582
+ channelId?: string | null | undefined;
11583
+ waapiInstanceId?: string | null | undefined;
11584
+ qr?: string | null | undefined;
11585
+ status?: "active" | "pending" | "waapi-qr" | undefined;
10990
11586
  apiKey?: string | undefined;
10991
11587
  tier?: "basic" | "regular" | "premium" | undefined;
11588
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
10992
11589
  }>>;
10993
11590
  vonageCredentials: z.ZodOptional<z.ZodObject<{
10994
11591
  mobileNumber: z.ZodString;
@@ -11014,15 +11611,18 @@ export declare const channelFacebookFeedContract: {
11014
11611
  additionalCredentials?: any;
11015
11612
  senderId?: string | undefined;
11016
11613
  whatsapp?: {
11017
- email: string;
11018
- wabaExternalId: string;
11019
- phoneNumberId: string;
11020
- wabaBusinessId?: string | undefined;
11021
- clientId?: string | undefined;
11022
- channelId?: string | undefined;
11023
- status?: "active" | "pending" | undefined;
11614
+ wabaBusinessId?: string | null | undefined;
11615
+ wabaExternalId?: string | null | undefined;
11616
+ phoneNumberId?: string | null | undefined;
11617
+ email?: string | null | undefined;
11618
+ clientId?: string | null | undefined;
11619
+ channelId?: string | null | undefined;
11620
+ waapiInstanceId?: string | null | undefined;
11621
+ qr?: string | null | undefined;
11622
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11024
11623
  apiKey?: string | undefined;
11025
11624
  tier?: "basic" | "regular" | "premium" | undefined;
11625
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11026
11626
  } | undefined;
11027
11627
  vonageCredentials?: {
11028
11628
  apiKey: string;
@@ -11040,15 +11640,18 @@ export declare const channelFacebookFeedContract: {
11040
11640
  additionalCredentials?: any;
11041
11641
  senderId?: string | undefined;
11042
11642
  whatsapp?: {
11043
- email: string;
11044
- wabaExternalId: string;
11045
- phoneNumberId: string;
11046
- wabaBusinessId?: string | undefined;
11047
- clientId?: string | undefined;
11048
- channelId?: string | undefined;
11049
- status?: "active" | "pending" | undefined;
11643
+ wabaBusinessId?: string | null | undefined;
11644
+ wabaExternalId?: string | null | undefined;
11645
+ phoneNumberId?: string | null | undefined;
11646
+ email?: string | null | undefined;
11647
+ clientId?: string | null | undefined;
11648
+ channelId?: string | null | undefined;
11649
+ waapiInstanceId?: string | null | undefined;
11650
+ qr?: string | null | undefined;
11651
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11050
11652
  apiKey?: string | undefined;
11051
11653
  tier?: "basic" | "regular" | "premium" | undefined;
11654
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11052
11655
  } | undefined;
11053
11656
  vonageCredentials?: {
11054
11657
  apiKey: string;
@@ -11073,15 +11676,18 @@ export declare const channelFacebookFeedContract: {
11073
11676
  additionalCredentials?: any;
11074
11677
  senderId?: string | undefined;
11075
11678
  whatsapp?: {
11076
- email: string;
11077
- wabaExternalId: string;
11078
- phoneNumberId: string;
11079
- wabaBusinessId?: string | undefined;
11080
- clientId?: string | undefined;
11081
- channelId?: string | undefined;
11082
- status?: "active" | "pending" | undefined;
11679
+ wabaBusinessId?: string | null | undefined;
11680
+ wabaExternalId?: string | null | undefined;
11681
+ phoneNumberId?: string | null | undefined;
11682
+ email?: string | null | undefined;
11683
+ clientId?: string | null | undefined;
11684
+ channelId?: string | null | undefined;
11685
+ waapiInstanceId?: string | null | undefined;
11686
+ qr?: string | null | undefined;
11687
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11083
11688
  apiKey?: string | undefined;
11084
11689
  tier?: "basic" | "regular" | "premium" | undefined;
11690
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11085
11691
  } | undefined;
11086
11692
  vonageCredentials?: {
11087
11693
  apiKey: string;
@@ -11106,15 +11712,18 @@ export declare const channelFacebookFeedContract: {
11106
11712
  additionalCredentials?: any;
11107
11713
  senderId?: string | undefined;
11108
11714
  whatsapp?: {
11109
- email: string;
11110
- wabaExternalId: string;
11111
- phoneNumberId: string;
11112
- wabaBusinessId?: string | undefined;
11113
- clientId?: string | undefined;
11114
- channelId?: string | undefined;
11115
- status?: "active" | "pending" | undefined;
11715
+ wabaBusinessId?: string | null | undefined;
11716
+ wabaExternalId?: string | null | undefined;
11717
+ phoneNumberId?: string | null | undefined;
11718
+ email?: string | null | undefined;
11719
+ clientId?: string | null | undefined;
11720
+ channelId?: string | null | undefined;
11721
+ waapiInstanceId?: string | null | undefined;
11722
+ qr?: string | null | undefined;
11723
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11116
11724
  apiKey?: string | undefined;
11117
11725
  tier?: "basic" | "regular" | "premium" | undefined;
11726
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11118
11727
  } | undefined;
11119
11728
  vonageCredentials?: {
11120
11729
  apiKey: string;
@@ -11149,35 +11758,44 @@ export declare const channelFacebookFeedContract: {
11149
11758
  additionalCredentials: z.ZodOptional<z.ZodAny>;
11150
11759
  senderId: z.ZodOptional<z.ZodString>;
11151
11760
  whatsapp: z.ZodOptional<z.ZodObject<{
11152
- wabaBusinessId: z.ZodOptional<z.ZodString>;
11153
- wabaExternalId: z.ZodString;
11154
- phoneNumberId: z.ZodString;
11155
- email: z.ZodString;
11156
- clientId: z.ZodOptional<z.ZodString>;
11157
- channelId: z.ZodOptional<z.ZodString>;
11158
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
11761
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11762
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11763
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11764
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11765
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11766
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11767
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11768
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11769
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
11159
11770
  apiKey: z.ZodOptional<z.ZodString>;
11160
11771
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
11772
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
11161
11773
  }, "strip", z.ZodTypeAny, {
11162
- email: string;
11163
- wabaExternalId: string;
11164
- phoneNumberId: string;
11165
- wabaBusinessId?: string | undefined;
11166
- clientId?: string | undefined;
11167
- channelId?: string | undefined;
11168
- status?: "active" | "pending" | undefined;
11774
+ wabaBusinessId?: string | null | undefined;
11775
+ wabaExternalId?: string | null | undefined;
11776
+ phoneNumberId?: string | null | undefined;
11777
+ email?: string | null | undefined;
11778
+ clientId?: string | null | undefined;
11779
+ channelId?: string | null | undefined;
11780
+ waapiInstanceId?: string | null | undefined;
11781
+ qr?: string | null | undefined;
11782
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11169
11783
  apiKey?: string | undefined;
11170
11784
  tier?: "basic" | "regular" | "premium" | undefined;
11785
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11171
11786
  }, {
11172
- email: string;
11173
- wabaExternalId: string;
11174
- phoneNumberId: string;
11175
- wabaBusinessId?: string | undefined;
11176
- clientId?: string | undefined;
11177
- channelId?: string | undefined;
11178
- status?: "active" | "pending" | undefined;
11787
+ wabaBusinessId?: string | null | undefined;
11788
+ wabaExternalId?: string | null | undefined;
11789
+ phoneNumberId?: string | null | undefined;
11790
+ email?: string | null | undefined;
11791
+ clientId?: string | null | undefined;
11792
+ channelId?: string | null | undefined;
11793
+ waapiInstanceId?: string | null | undefined;
11794
+ qr?: string | null | undefined;
11795
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11179
11796
  apiKey?: string | undefined;
11180
11797
  tier?: "basic" | "regular" | "premium" | undefined;
11798
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11181
11799
  }>>;
11182
11800
  vonageCredentials: z.ZodOptional<z.ZodObject<{
11183
11801
  mobileNumber: z.ZodString;
@@ -11203,15 +11821,18 @@ export declare const channelFacebookFeedContract: {
11203
11821
  additionalCredentials?: any;
11204
11822
  senderId?: string | undefined;
11205
11823
  whatsapp?: {
11206
- email: string;
11207
- wabaExternalId: string;
11208
- phoneNumberId: string;
11209
- wabaBusinessId?: string | undefined;
11210
- clientId?: string | undefined;
11211
- channelId?: string | undefined;
11212
- status?: "active" | "pending" | undefined;
11824
+ wabaBusinessId?: string | null | undefined;
11825
+ wabaExternalId?: string | null | undefined;
11826
+ phoneNumberId?: string | null | undefined;
11827
+ email?: string | null | undefined;
11828
+ clientId?: string | null | undefined;
11829
+ channelId?: string | null | undefined;
11830
+ waapiInstanceId?: string | null | undefined;
11831
+ qr?: string | null | undefined;
11832
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11213
11833
  apiKey?: string | undefined;
11214
11834
  tier?: "basic" | "regular" | "premium" | undefined;
11835
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11215
11836
  } | undefined;
11216
11837
  vonageCredentials?: {
11217
11838
  apiKey: string;
@@ -11229,15 +11850,18 @@ export declare const channelFacebookFeedContract: {
11229
11850
  additionalCredentials?: any;
11230
11851
  senderId?: string | undefined;
11231
11852
  whatsapp?: {
11232
- email: string;
11233
- wabaExternalId: string;
11234
- phoneNumberId: string;
11235
- wabaBusinessId?: string | undefined;
11236
- clientId?: string | undefined;
11237
- channelId?: string | undefined;
11238
- status?: "active" | "pending" | undefined;
11853
+ wabaBusinessId?: string | null | undefined;
11854
+ wabaExternalId?: string | null | undefined;
11855
+ phoneNumberId?: string | null | undefined;
11856
+ email?: string | null | undefined;
11857
+ clientId?: string | null | undefined;
11858
+ channelId?: string | null | undefined;
11859
+ waapiInstanceId?: string | null | undefined;
11860
+ qr?: string | null | undefined;
11861
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11239
11862
  apiKey?: string | undefined;
11240
11863
  tier?: "basic" | "regular" | "premium" | undefined;
11864
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11241
11865
  } | undefined;
11242
11866
  vonageCredentials?: {
11243
11867
  apiKey: string;
@@ -11489,15 +12113,18 @@ export declare const channelFacebookFeedContract: {
11489
12113
  additionalCredentials?: any;
11490
12114
  senderId?: string | undefined;
11491
12115
  whatsapp?: {
11492
- email: string;
11493
- wabaExternalId: string;
11494
- phoneNumberId: string;
11495
- wabaBusinessId?: string | undefined;
11496
- clientId?: string | undefined;
11497
- channelId?: string | undefined;
11498
- status?: "active" | "pending" | undefined;
12116
+ wabaBusinessId?: string | null | undefined;
12117
+ wabaExternalId?: string | null | undefined;
12118
+ phoneNumberId?: string | null | undefined;
12119
+ email?: string | null | undefined;
12120
+ clientId?: string | null | undefined;
12121
+ channelId?: string | null | undefined;
12122
+ waapiInstanceId?: string | null | undefined;
12123
+ qr?: string | null | undefined;
12124
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11499
12125
  apiKey?: string | undefined;
11500
12126
  tier?: "basic" | "regular" | "premium" | undefined;
12127
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11501
12128
  } | undefined;
11502
12129
  vonageCredentials?: {
11503
12130
  apiKey: string;
@@ -11580,15 +12207,18 @@ export declare const channelFacebookFeedContract: {
11580
12207
  additionalCredentials?: any;
11581
12208
  senderId?: string | undefined;
11582
12209
  whatsapp?: {
11583
- email: string;
11584
- wabaExternalId: string;
11585
- phoneNumberId: string;
11586
- wabaBusinessId?: string | undefined;
11587
- clientId?: string | undefined;
11588
- channelId?: string | undefined;
11589
- status?: "active" | "pending" | undefined;
12210
+ wabaBusinessId?: string | null | undefined;
12211
+ wabaExternalId?: string | null | undefined;
12212
+ phoneNumberId?: string | null | undefined;
12213
+ email?: string | null | undefined;
12214
+ clientId?: string | null | undefined;
12215
+ channelId?: string | null | undefined;
12216
+ waapiInstanceId?: string | null | undefined;
12217
+ qr?: string | null | undefined;
12218
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11590
12219
  apiKey?: string | undefined;
11591
12220
  tier?: "basic" | "regular" | "premium" | undefined;
12221
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11592
12222
  } | undefined;
11593
12223
  vonageCredentials?: {
11594
12224
  apiKey: string;
@@ -11673,15 +12303,18 @@ export declare const channelFacebookFeedContract: {
11673
12303
  additionalCredentials?: any;
11674
12304
  senderId?: string | undefined;
11675
12305
  whatsapp?: {
11676
- email: string;
11677
- wabaExternalId: string;
11678
- phoneNumberId: string;
11679
- wabaBusinessId?: string | undefined;
11680
- clientId?: string | undefined;
11681
- channelId?: string | undefined;
11682
- status?: "active" | "pending" | undefined;
12306
+ wabaBusinessId?: string | null | undefined;
12307
+ wabaExternalId?: string | null | undefined;
12308
+ phoneNumberId?: string | null | undefined;
12309
+ email?: string | null | undefined;
12310
+ clientId?: string | null | undefined;
12311
+ channelId?: string | null | undefined;
12312
+ waapiInstanceId?: string | null | undefined;
12313
+ qr?: string | null | undefined;
12314
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11683
12315
  apiKey?: string | undefined;
11684
12316
  tier?: "basic" | "regular" | "premium" | undefined;
12317
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11685
12318
  } | undefined;
11686
12319
  vonageCredentials?: {
11687
12320
  apiKey: string;
@@ -11767,15 +12400,18 @@ export declare const channelFacebookFeedContract: {
11767
12400
  additionalCredentials?: any;
11768
12401
  senderId?: string | undefined;
11769
12402
  whatsapp?: {
11770
- email: string;
11771
- wabaExternalId: string;
11772
- phoneNumberId: string;
11773
- wabaBusinessId?: string | undefined;
11774
- clientId?: string | undefined;
11775
- channelId?: string | undefined;
11776
- status?: "active" | "pending" | undefined;
12403
+ wabaBusinessId?: string | null | undefined;
12404
+ wabaExternalId?: string | null | undefined;
12405
+ phoneNumberId?: string | null | undefined;
12406
+ email?: string | null | undefined;
12407
+ clientId?: string | null | undefined;
12408
+ channelId?: string | null | undefined;
12409
+ waapiInstanceId?: string | null | undefined;
12410
+ qr?: string | null | undefined;
12411
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11777
12412
  apiKey?: string | undefined;
11778
12413
  tier?: "basic" | "regular" | "premium" | undefined;
12414
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11779
12415
  } | undefined;
11780
12416
  vonageCredentials?: {
11781
12417
  apiKey: string;
@@ -11891,35 +12527,44 @@ export declare const channelBotContract: {
11891
12527
  additionalCredentials: z.ZodOptional<z.ZodAny>;
11892
12528
  senderId: z.ZodOptional<z.ZodString>;
11893
12529
  whatsapp: z.ZodOptional<z.ZodObject<{
11894
- wabaBusinessId: z.ZodOptional<z.ZodString>;
11895
- wabaExternalId: z.ZodString;
11896
- phoneNumberId: z.ZodString;
11897
- email: z.ZodString;
11898
- clientId: z.ZodOptional<z.ZodString>;
11899
- channelId: z.ZodOptional<z.ZodString>;
11900
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
12530
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12531
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12532
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12533
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12534
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12535
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12536
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12537
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12538
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
11901
12539
  apiKey: z.ZodOptional<z.ZodString>;
11902
12540
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
12541
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
11903
12542
  }, "strip", z.ZodTypeAny, {
11904
- email: string;
11905
- wabaExternalId: string;
11906
- phoneNumberId: string;
11907
- wabaBusinessId?: string | undefined;
11908
- clientId?: string | undefined;
11909
- channelId?: string | undefined;
11910
- status?: "active" | "pending" | undefined;
12543
+ wabaBusinessId?: string | null | undefined;
12544
+ wabaExternalId?: string | null | undefined;
12545
+ phoneNumberId?: string | null | undefined;
12546
+ email?: string | null | undefined;
12547
+ clientId?: string | null | undefined;
12548
+ channelId?: string | null | undefined;
12549
+ waapiInstanceId?: string | null | undefined;
12550
+ qr?: string | null | undefined;
12551
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11911
12552
  apiKey?: string | undefined;
11912
12553
  tier?: "basic" | "regular" | "premium" | undefined;
12554
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11913
12555
  }, {
11914
- email: string;
11915
- wabaExternalId: string;
11916
- phoneNumberId: string;
11917
- wabaBusinessId?: string | undefined;
11918
- clientId?: string | undefined;
11919
- channelId?: string | undefined;
11920
- status?: "active" | "pending" | undefined;
12556
+ wabaBusinessId?: string | null | undefined;
12557
+ wabaExternalId?: string | null | undefined;
12558
+ phoneNumberId?: string | null | undefined;
12559
+ email?: string | null | undefined;
12560
+ clientId?: string | null | undefined;
12561
+ channelId?: string | null | undefined;
12562
+ waapiInstanceId?: string | null | undefined;
12563
+ qr?: string | null | undefined;
12564
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11921
12565
  apiKey?: string | undefined;
11922
12566
  tier?: "basic" | "regular" | "premium" | undefined;
12567
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11923
12568
  }>>;
11924
12569
  vonageCredentials: z.ZodOptional<z.ZodObject<{
11925
12570
  mobileNumber: z.ZodString;
@@ -11945,15 +12590,18 @@ export declare const channelBotContract: {
11945
12590
  additionalCredentials?: any;
11946
12591
  senderId?: string | undefined;
11947
12592
  whatsapp?: {
11948
- email: string;
11949
- wabaExternalId: string;
11950
- phoneNumberId: string;
11951
- wabaBusinessId?: string | undefined;
11952
- clientId?: string | undefined;
11953
- channelId?: string | undefined;
11954
- status?: "active" | "pending" | undefined;
12593
+ wabaBusinessId?: string | null | undefined;
12594
+ wabaExternalId?: string | null | undefined;
12595
+ phoneNumberId?: string | null | undefined;
12596
+ email?: string | null | undefined;
12597
+ clientId?: string | null | undefined;
12598
+ channelId?: string | null | undefined;
12599
+ waapiInstanceId?: string | null | undefined;
12600
+ qr?: string | null | undefined;
12601
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11955
12602
  apiKey?: string | undefined;
11956
12603
  tier?: "basic" | "regular" | "premium" | undefined;
12604
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11957
12605
  } | undefined;
11958
12606
  vonageCredentials?: {
11959
12607
  apiKey: string;
@@ -11971,15 +12619,18 @@ export declare const channelBotContract: {
11971
12619
  additionalCredentials?: any;
11972
12620
  senderId?: string | undefined;
11973
12621
  whatsapp?: {
11974
- email: string;
11975
- wabaExternalId: string;
11976
- phoneNumberId: string;
11977
- wabaBusinessId?: string | undefined;
11978
- clientId?: string | undefined;
11979
- channelId?: string | undefined;
11980
- status?: "active" | "pending" | undefined;
12622
+ wabaBusinessId?: string | null | undefined;
12623
+ wabaExternalId?: string | null | undefined;
12624
+ phoneNumberId?: string | null | undefined;
12625
+ email?: string | null | undefined;
12626
+ clientId?: string | null | undefined;
12627
+ channelId?: string | null | undefined;
12628
+ waapiInstanceId?: string | null | undefined;
12629
+ qr?: string | null | undefined;
12630
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11981
12631
  apiKey?: string | undefined;
11982
12632
  tier?: "basic" | "regular" | "premium" | undefined;
12633
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11983
12634
  } | undefined;
11984
12635
  vonageCredentials?: {
11985
12636
  apiKey: string;
@@ -12231,15 +12882,18 @@ export declare const channelBotContract: {
12231
12882
  additionalCredentials?: any;
12232
12883
  senderId?: string | undefined;
12233
12884
  whatsapp?: {
12234
- email: string;
12235
- wabaExternalId: string;
12236
- phoneNumberId: string;
12237
- wabaBusinessId?: string | undefined;
12238
- clientId?: string | undefined;
12239
- channelId?: string | undefined;
12240
- status?: "active" | "pending" | undefined;
12885
+ wabaBusinessId?: string | null | undefined;
12886
+ wabaExternalId?: string | null | undefined;
12887
+ phoneNumberId?: string | null | undefined;
12888
+ email?: string | null | undefined;
12889
+ clientId?: string | null | undefined;
12890
+ channelId?: string | null | undefined;
12891
+ waapiInstanceId?: string | null | undefined;
12892
+ qr?: string | null | undefined;
12893
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12241
12894
  apiKey?: string | undefined;
12242
12895
  tier?: "basic" | "regular" | "premium" | undefined;
12896
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12243
12897
  } | undefined;
12244
12898
  vonageCredentials?: {
12245
12899
  apiKey: string;
@@ -12322,15 +12976,18 @@ export declare const channelBotContract: {
12322
12976
  additionalCredentials?: any;
12323
12977
  senderId?: string | undefined;
12324
12978
  whatsapp?: {
12325
- email: string;
12326
- wabaExternalId: string;
12327
- phoneNumberId: string;
12328
- wabaBusinessId?: string | undefined;
12329
- clientId?: string | undefined;
12330
- channelId?: string | undefined;
12331
- status?: "active" | "pending" | undefined;
12979
+ wabaBusinessId?: string | null | undefined;
12980
+ wabaExternalId?: string | null | undefined;
12981
+ phoneNumberId?: string | null | undefined;
12982
+ email?: string | null | undefined;
12983
+ clientId?: string | null | undefined;
12984
+ channelId?: string | null | undefined;
12985
+ waapiInstanceId?: string | null | undefined;
12986
+ qr?: string | null | undefined;
12987
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12332
12988
  apiKey?: string | undefined;
12333
12989
  tier?: "basic" | "regular" | "premium" | undefined;
12990
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12334
12991
  } | undefined;
12335
12992
  vonageCredentials?: {
12336
12993
  apiKey: string;
@@ -12415,15 +13072,18 @@ export declare const channelBotContract: {
12415
13072
  additionalCredentials?: any;
12416
13073
  senderId?: string | undefined;
12417
13074
  whatsapp?: {
12418
- email: string;
12419
- wabaExternalId: string;
12420
- phoneNumberId: string;
12421
- wabaBusinessId?: string | undefined;
12422
- clientId?: string | undefined;
12423
- channelId?: string | undefined;
12424
- status?: "active" | "pending" | undefined;
13075
+ wabaBusinessId?: string | null | undefined;
13076
+ wabaExternalId?: string | null | undefined;
13077
+ phoneNumberId?: string | null | undefined;
13078
+ email?: string | null | undefined;
13079
+ clientId?: string | null | undefined;
13080
+ channelId?: string | null | undefined;
13081
+ waapiInstanceId?: string | null | undefined;
13082
+ qr?: string | null | undefined;
13083
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12425
13084
  apiKey?: string | undefined;
12426
13085
  tier?: "basic" | "regular" | "premium" | undefined;
13086
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12427
13087
  } | undefined;
12428
13088
  vonageCredentials?: {
12429
13089
  apiKey: string;
@@ -12509,15 +13169,18 @@ export declare const channelBotContract: {
12509
13169
  additionalCredentials?: any;
12510
13170
  senderId?: string | undefined;
12511
13171
  whatsapp?: {
12512
- email: string;
12513
- wabaExternalId: string;
12514
- phoneNumberId: string;
12515
- wabaBusinessId?: string | undefined;
12516
- clientId?: string | undefined;
12517
- channelId?: string | undefined;
12518
- status?: "active" | "pending" | undefined;
13172
+ wabaBusinessId?: string | null | undefined;
13173
+ wabaExternalId?: string | null | undefined;
13174
+ phoneNumberId?: string | null | undefined;
13175
+ email?: string | null | undefined;
13176
+ clientId?: string | null | undefined;
13177
+ channelId?: string | null | undefined;
13178
+ waapiInstanceId?: string | null | undefined;
13179
+ qr?: string | null | undefined;
13180
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12519
13181
  apiKey?: string | undefined;
12520
13182
  tier?: "basic" | "regular" | "premium" | undefined;
13183
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12521
13184
  } | undefined;
12522
13185
  vonageCredentials?: {
12523
13186
  apiKey: string;
@@ -12635,35 +13298,44 @@ export declare const channelBotContract: {
12635
13298
  additionalCredentials: z.ZodOptional<z.ZodAny>;
12636
13299
  senderId: z.ZodOptional<z.ZodString>;
12637
13300
  whatsapp: z.ZodOptional<z.ZodObject<{
12638
- wabaBusinessId: z.ZodOptional<z.ZodString>;
12639
- wabaExternalId: z.ZodString;
12640
- phoneNumberId: z.ZodString;
12641
- email: z.ZodString;
12642
- clientId: z.ZodOptional<z.ZodString>;
12643
- channelId: z.ZodOptional<z.ZodString>;
12644
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
13301
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13302
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13303
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13304
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13305
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13306
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13307
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13308
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13309
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
12645
13310
  apiKey: z.ZodOptional<z.ZodString>;
12646
13311
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
13312
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
12647
13313
  }, "strip", z.ZodTypeAny, {
12648
- email: string;
12649
- wabaExternalId: string;
12650
- phoneNumberId: string;
12651
- wabaBusinessId?: string | undefined;
12652
- clientId?: string | undefined;
12653
- channelId?: string | undefined;
12654
- status?: "active" | "pending" | undefined;
13314
+ wabaBusinessId?: string | null | undefined;
13315
+ wabaExternalId?: string | null | undefined;
13316
+ phoneNumberId?: string | null | undefined;
13317
+ email?: string | null | undefined;
13318
+ clientId?: string | null | undefined;
13319
+ channelId?: string | null | undefined;
13320
+ waapiInstanceId?: string | null | undefined;
13321
+ qr?: string | null | undefined;
13322
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12655
13323
  apiKey?: string | undefined;
12656
13324
  tier?: "basic" | "regular" | "premium" | undefined;
13325
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12657
13326
  }, {
12658
- email: string;
12659
- wabaExternalId: string;
12660
- phoneNumberId: string;
12661
- wabaBusinessId?: string | undefined;
12662
- clientId?: string | undefined;
12663
- channelId?: string | undefined;
12664
- status?: "active" | "pending" | undefined;
13327
+ wabaBusinessId?: string | null | undefined;
13328
+ wabaExternalId?: string | null | undefined;
13329
+ phoneNumberId?: string | null | undefined;
13330
+ email?: string | null | undefined;
13331
+ clientId?: string | null | undefined;
13332
+ channelId?: string | null | undefined;
13333
+ waapiInstanceId?: string | null | undefined;
13334
+ qr?: string | null | undefined;
13335
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12665
13336
  apiKey?: string | undefined;
12666
13337
  tier?: "basic" | "regular" | "premium" | undefined;
13338
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12667
13339
  }>>;
12668
13340
  vonageCredentials: z.ZodOptional<z.ZodObject<{
12669
13341
  mobileNumber: z.ZodString;
@@ -12689,15 +13361,18 @@ export declare const channelBotContract: {
12689
13361
  additionalCredentials?: any;
12690
13362
  senderId?: string | undefined;
12691
13363
  whatsapp?: {
12692
- email: string;
12693
- wabaExternalId: string;
12694
- phoneNumberId: string;
12695
- wabaBusinessId?: string | undefined;
12696
- clientId?: string | undefined;
12697
- channelId?: string | undefined;
12698
- status?: "active" | "pending" | undefined;
13364
+ wabaBusinessId?: string | null | undefined;
13365
+ wabaExternalId?: string | null | undefined;
13366
+ phoneNumberId?: string | null | undefined;
13367
+ email?: string | null | undefined;
13368
+ clientId?: string | null | undefined;
13369
+ channelId?: string | null | undefined;
13370
+ waapiInstanceId?: string | null | undefined;
13371
+ qr?: string | null | undefined;
13372
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12699
13373
  apiKey?: string | undefined;
12700
13374
  tier?: "basic" | "regular" | "premium" | undefined;
13375
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12701
13376
  } | undefined;
12702
13377
  vonageCredentials?: {
12703
13378
  apiKey: string;
@@ -12715,15 +13390,18 @@ export declare const channelBotContract: {
12715
13390
  additionalCredentials?: any;
12716
13391
  senderId?: string | undefined;
12717
13392
  whatsapp?: {
12718
- email: string;
12719
- wabaExternalId: string;
12720
- phoneNumberId: string;
12721
- wabaBusinessId?: string | undefined;
12722
- clientId?: string | undefined;
12723
- channelId?: string | undefined;
12724
- status?: "active" | "pending" | undefined;
13393
+ wabaBusinessId?: string | null | undefined;
13394
+ wabaExternalId?: string | null | undefined;
13395
+ phoneNumberId?: string | null | undefined;
13396
+ email?: string | null | undefined;
13397
+ clientId?: string | null | undefined;
13398
+ channelId?: string | null | undefined;
13399
+ waapiInstanceId?: string | null | undefined;
13400
+ qr?: string | null | undefined;
13401
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12725
13402
  apiKey?: string | undefined;
12726
13403
  tier?: "basic" | "regular" | "premium" | undefined;
13404
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12727
13405
  } | undefined;
12728
13406
  vonageCredentials?: {
12729
13407
  apiKey: string;
@@ -12975,15 +13653,18 @@ export declare const channelBotContract: {
12975
13653
  additionalCredentials?: any;
12976
13654
  senderId?: string | undefined;
12977
13655
  whatsapp?: {
12978
- email: string;
12979
- wabaExternalId: string;
12980
- phoneNumberId: string;
12981
- wabaBusinessId?: string | undefined;
12982
- clientId?: string | undefined;
12983
- channelId?: string | undefined;
12984
- status?: "active" | "pending" | undefined;
13656
+ wabaBusinessId?: string | null | undefined;
13657
+ wabaExternalId?: string | null | undefined;
13658
+ phoneNumberId?: string | null | undefined;
13659
+ email?: string | null | undefined;
13660
+ clientId?: string | null | undefined;
13661
+ channelId?: string | null | undefined;
13662
+ waapiInstanceId?: string | null | undefined;
13663
+ qr?: string | null | undefined;
13664
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12985
13665
  apiKey?: string | undefined;
12986
13666
  tier?: "basic" | "regular" | "premium" | undefined;
13667
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12987
13668
  } | undefined;
12988
13669
  vonageCredentials?: {
12989
13670
  apiKey: string;
@@ -13066,15 +13747,18 @@ export declare const channelBotContract: {
13066
13747
  additionalCredentials?: any;
13067
13748
  senderId?: string | undefined;
13068
13749
  whatsapp?: {
13069
- email: string;
13070
- wabaExternalId: string;
13071
- phoneNumberId: string;
13072
- wabaBusinessId?: string | undefined;
13073
- clientId?: string | undefined;
13074
- channelId?: string | undefined;
13075
- status?: "active" | "pending" | undefined;
13750
+ wabaBusinessId?: string | null | undefined;
13751
+ wabaExternalId?: string | null | undefined;
13752
+ phoneNumberId?: string | null | undefined;
13753
+ email?: string | null | undefined;
13754
+ clientId?: string | null | undefined;
13755
+ channelId?: string | null | undefined;
13756
+ waapiInstanceId?: string | null | undefined;
13757
+ qr?: string | null | undefined;
13758
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13076
13759
  apiKey?: string | undefined;
13077
13760
  tier?: "basic" | "regular" | "premium" | undefined;
13761
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13078
13762
  } | undefined;
13079
13763
  vonageCredentials?: {
13080
13764
  apiKey: string;
@@ -13159,15 +13843,18 @@ export declare const channelBotContract: {
13159
13843
  additionalCredentials?: any;
13160
13844
  senderId?: string | undefined;
13161
13845
  whatsapp?: {
13162
- email: string;
13163
- wabaExternalId: string;
13164
- phoneNumberId: string;
13165
- wabaBusinessId?: string | undefined;
13166
- clientId?: string | undefined;
13167
- channelId?: string | undefined;
13168
- status?: "active" | "pending" | undefined;
13846
+ wabaBusinessId?: string | null | undefined;
13847
+ wabaExternalId?: string | null | undefined;
13848
+ phoneNumberId?: string | null | undefined;
13849
+ email?: string | null | undefined;
13850
+ clientId?: string | null | undefined;
13851
+ channelId?: string | null | undefined;
13852
+ waapiInstanceId?: string | null | undefined;
13853
+ qr?: string | null | undefined;
13854
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13169
13855
  apiKey?: string | undefined;
13170
13856
  tier?: "basic" | "regular" | "premium" | undefined;
13857
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13171
13858
  } | undefined;
13172
13859
  vonageCredentials?: {
13173
13860
  apiKey: string;
@@ -13253,15 +13940,18 @@ export declare const channelBotContract: {
13253
13940
  additionalCredentials?: any;
13254
13941
  senderId?: string | undefined;
13255
13942
  whatsapp?: {
13256
- email: string;
13257
- wabaExternalId: string;
13258
- phoneNumberId: string;
13259
- wabaBusinessId?: string | undefined;
13260
- clientId?: string | undefined;
13261
- channelId?: string | undefined;
13262
- status?: "active" | "pending" | undefined;
13943
+ wabaBusinessId?: string | null | undefined;
13944
+ wabaExternalId?: string | null | undefined;
13945
+ phoneNumberId?: string | null | undefined;
13946
+ email?: string | null | undefined;
13947
+ clientId?: string | null | undefined;
13948
+ channelId?: string | null | undefined;
13949
+ waapiInstanceId?: string | null | undefined;
13950
+ qr?: string | null | undefined;
13951
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13263
13952
  apiKey?: string | undefined;
13264
13953
  tier?: "basic" | "regular" | "premium" | undefined;
13954
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13265
13955
  } | undefined;
13266
13956
  vonageCredentials?: {
13267
13957
  apiKey: string;
@@ -13417,35 +14107,44 @@ export declare const channelSMSContract: {
13417
14107
  additionalCredentials: z.ZodOptional<z.ZodAny>;
13418
14108
  senderId: z.ZodOptional<z.ZodString>;
13419
14109
  whatsapp: z.ZodOptional<z.ZodObject<{
13420
- wabaBusinessId: z.ZodOptional<z.ZodString>;
13421
- wabaExternalId: z.ZodString;
13422
- phoneNumberId: z.ZodString;
13423
- email: z.ZodString;
13424
- clientId: z.ZodOptional<z.ZodString>;
13425
- channelId: z.ZodOptional<z.ZodString>;
13426
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
14110
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14111
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14112
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14113
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14114
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14115
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14116
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14117
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
14118
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
13427
14119
  apiKey: z.ZodOptional<z.ZodString>;
13428
14120
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
14121
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
13429
14122
  }, "strip", z.ZodTypeAny, {
13430
- email: string;
13431
- wabaExternalId: string;
13432
- phoneNumberId: string;
13433
- wabaBusinessId?: string | undefined;
13434
- clientId?: string | undefined;
13435
- channelId?: string | undefined;
13436
- status?: "active" | "pending" | undefined;
14123
+ wabaBusinessId?: string | null | undefined;
14124
+ wabaExternalId?: string | null | undefined;
14125
+ phoneNumberId?: string | null | undefined;
14126
+ email?: string | null | undefined;
14127
+ clientId?: string | null | undefined;
14128
+ channelId?: string | null | undefined;
14129
+ waapiInstanceId?: string | null | undefined;
14130
+ qr?: string | null | undefined;
14131
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13437
14132
  apiKey?: string | undefined;
13438
14133
  tier?: "basic" | "regular" | "premium" | undefined;
14134
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13439
14135
  }, {
13440
- email: string;
13441
- wabaExternalId: string;
13442
- phoneNumberId: string;
13443
- wabaBusinessId?: string | undefined;
13444
- clientId?: string | undefined;
13445
- channelId?: string | undefined;
13446
- status?: "active" | "pending" | undefined;
14136
+ wabaBusinessId?: string | null | undefined;
14137
+ wabaExternalId?: string | null | undefined;
14138
+ phoneNumberId?: string | null | undefined;
14139
+ email?: string | null | undefined;
14140
+ clientId?: string | null | undefined;
14141
+ channelId?: string | null | undefined;
14142
+ waapiInstanceId?: string | null | undefined;
14143
+ qr?: string | null | undefined;
14144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13447
14145
  apiKey?: string | undefined;
13448
14146
  tier?: "basic" | "regular" | "premium" | undefined;
14147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13449
14148
  }>>;
13450
14149
  vonageCredentials: z.ZodOptional<z.ZodObject<{
13451
14150
  mobileNumber: z.ZodString;
@@ -13471,15 +14170,18 @@ export declare const channelSMSContract: {
13471
14170
  additionalCredentials?: any;
13472
14171
  senderId?: string | undefined;
13473
14172
  whatsapp?: {
13474
- email: string;
13475
- wabaExternalId: string;
13476
- phoneNumberId: string;
13477
- wabaBusinessId?: string | undefined;
13478
- clientId?: string | undefined;
13479
- channelId?: string | undefined;
13480
- 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;
13481
14182
  apiKey?: string | undefined;
13482
14183
  tier?: "basic" | "regular" | "premium" | undefined;
14184
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13483
14185
  } | undefined;
13484
14186
  vonageCredentials?: {
13485
14187
  apiKey: string;
@@ -13497,15 +14199,18 @@ export declare const channelSMSContract: {
13497
14199
  additionalCredentials?: any;
13498
14200
  senderId?: string | undefined;
13499
14201
  whatsapp?: {
13500
- email: string;
13501
- wabaExternalId: string;
13502
- phoneNumberId: string;
13503
- wabaBusinessId?: string | undefined;
13504
- clientId?: string | undefined;
13505
- channelId?: string | undefined;
13506
- status?: "active" | "pending" | undefined;
14202
+ wabaBusinessId?: string | null | undefined;
14203
+ wabaExternalId?: string | null | undefined;
14204
+ phoneNumberId?: string | null | undefined;
14205
+ email?: string | null | undefined;
14206
+ clientId?: string | null | undefined;
14207
+ channelId?: string | null | undefined;
14208
+ waapiInstanceId?: string | null | undefined;
14209
+ qr?: string | null | undefined;
14210
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13507
14211
  apiKey?: string | undefined;
13508
14212
  tier?: "basic" | "regular" | "premium" | undefined;
14213
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13509
14214
  } | undefined;
13510
14215
  vonageCredentials?: {
13511
14216
  apiKey: string;
@@ -13757,15 +14462,18 @@ export declare const channelSMSContract: {
13757
14462
  additionalCredentials?: any;
13758
14463
  senderId?: string | undefined;
13759
14464
  whatsapp?: {
13760
- email: string;
13761
- wabaExternalId: string;
13762
- phoneNumberId: string;
13763
- wabaBusinessId?: string | undefined;
13764
- clientId?: string | undefined;
13765
- channelId?: string | undefined;
13766
- status?: "active" | "pending" | undefined;
14465
+ wabaBusinessId?: string | null | undefined;
14466
+ wabaExternalId?: string | null | undefined;
14467
+ phoneNumberId?: string | null | undefined;
14468
+ email?: string | null | undefined;
14469
+ clientId?: string | null | undefined;
14470
+ channelId?: string | null | undefined;
14471
+ waapiInstanceId?: string | null | undefined;
14472
+ qr?: string | null | undefined;
14473
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13767
14474
  apiKey?: string | undefined;
13768
14475
  tier?: "basic" | "regular" | "premium" | undefined;
14476
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13769
14477
  } | undefined;
13770
14478
  vonageCredentials?: {
13771
14479
  apiKey: string;
@@ -13848,15 +14556,18 @@ export declare const channelSMSContract: {
13848
14556
  additionalCredentials?: any;
13849
14557
  senderId?: string | undefined;
13850
14558
  whatsapp?: {
13851
- email: string;
13852
- wabaExternalId: string;
13853
- phoneNumberId: string;
13854
- wabaBusinessId?: string | undefined;
13855
- clientId?: string | undefined;
13856
- channelId?: string | undefined;
13857
- status?: "active" | "pending" | undefined;
14559
+ wabaBusinessId?: string | null | undefined;
14560
+ wabaExternalId?: string | null | undefined;
14561
+ phoneNumberId?: string | null | undefined;
14562
+ email?: string | null | undefined;
14563
+ clientId?: string | null | undefined;
14564
+ channelId?: string | null | undefined;
14565
+ waapiInstanceId?: string | null | undefined;
14566
+ qr?: string | null | undefined;
14567
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13858
14568
  apiKey?: string | undefined;
13859
14569
  tier?: "basic" | "regular" | "premium" | undefined;
14570
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13860
14571
  } | undefined;
13861
14572
  vonageCredentials?: {
13862
14573
  apiKey: string;
@@ -13941,15 +14652,18 @@ export declare const channelSMSContract: {
13941
14652
  additionalCredentials?: any;
13942
14653
  senderId?: string | undefined;
13943
14654
  whatsapp?: {
13944
- email: string;
13945
- wabaExternalId: string;
13946
- phoneNumberId: string;
13947
- wabaBusinessId?: string | undefined;
13948
- clientId?: string | undefined;
13949
- channelId?: string | undefined;
13950
- status?: "active" | "pending" | undefined;
14655
+ wabaBusinessId?: string | null | undefined;
14656
+ wabaExternalId?: string | null | undefined;
14657
+ phoneNumberId?: string | null | undefined;
14658
+ email?: string | null | undefined;
14659
+ clientId?: string | null | undefined;
14660
+ channelId?: string | null | undefined;
14661
+ waapiInstanceId?: string | null | undefined;
14662
+ qr?: string | null | undefined;
14663
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13951
14664
  apiKey?: string | undefined;
13952
14665
  tier?: "basic" | "regular" | "premium" | undefined;
14666
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13953
14667
  } | undefined;
13954
14668
  vonageCredentials?: {
13955
14669
  apiKey: string;
@@ -14035,15 +14749,18 @@ export declare const channelSMSContract: {
14035
14749
  additionalCredentials?: any;
14036
14750
  senderId?: string | undefined;
14037
14751
  whatsapp?: {
14038
- email: string;
14039
- wabaExternalId: string;
14040
- phoneNumberId: string;
14041
- wabaBusinessId?: string | undefined;
14042
- clientId?: string | undefined;
14043
- channelId?: string | undefined;
14044
- status?: "active" | "pending" | undefined;
14752
+ wabaBusinessId?: string | null | undefined;
14753
+ wabaExternalId?: string | null | undefined;
14754
+ phoneNumberId?: string | null | undefined;
14755
+ email?: string | null | undefined;
14756
+ clientId?: string | null | undefined;
14757
+ channelId?: string | null | undefined;
14758
+ waapiInstanceId?: string | null | undefined;
14759
+ qr?: string | null | undefined;
14760
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14045
14761
  apiKey?: string | undefined;
14046
14762
  tier?: "basic" | "regular" | "premium" | undefined;
14763
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14047
14764
  } | undefined;
14048
14765
  vonageCredentials?: {
14049
14766
  apiKey: string;