@kl1/contracts 1.2.46-uat → 1.2.47-uat

Sign up to get free protection for your applications and to get access to all the features.
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 +10 -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 +4852 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4841 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -145,35 +145,44 @@ export declare const messengerContract: {
145
145
  additionalCredentials: z.ZodOptional<z.ZodAny>;
146
146
  senderId: z.ZodOptional<z.ZodString>;
147
147
  whatsapp: z.ZodOptional<z.ZodObject<{
148
- wabaBusinessId: z.ZodOptional<z.ZodString>;
149
- wabaExternalId: z.ZodString;
150
- phoneNumberId: z.ZodString;
151
- email: z.ZodString;
152
- clientId: z.ZodOptional<z.ZodString>;
153
- channelId: z.ZodOptional<z.ZodString>;
154
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
148
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
156
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
155
157
  apiKey: z.ZodOptional<z.ZodString>;
156
158
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
159
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
157
160
  }, "strip", z.ZodTypeAny, {
158
- email: string;
159
- wabaExternalId: string;
160
- phoneNumberId: string;
161
- wabaBusinessId?: string | undefined;
162
- clientId?: string | undefined;
163
- channelId?: string | undefined;
164
- status?: "active" | "pending" | undefined;
161
+ wabaBusinessId?: string | null | undefined;
162
+ wabaExternalId?: string | null | undefined;
163
+ phoneNumberId?: string | null | undefined;
164
+ email?: string | null | undefined;
165
+ clientId?: string | null | undefined;
166
+ channelId?: string | null | undefined;
167
+ waapiInstanceId?: string | null | undefined;
168
+ qr?: string | null | undefined;
169
+ status?: "active" | "pending" | "waapi-qr" | undefined;
165
170
  apiKey?: string | undefined;
166
171
  tier?: "basic" | "regular" | "premium" | undefined;
172
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
167
173
  }, {
168
- email: string;
169
- wabaExternalId: string;
170
- phoneNumberId: string;
171
- wabaBusinessId?: string | undefined;
172
- clientId?: string | undefined;
173
- channelId?: string | undefined;
174
- status?: "active" | "pending" | undefined;
174
+ wabaBusinessId?: string | null | undefined;
175
+ wabaExternalId?: string | null | undefined;
176
+ phoneNumberId?: string | null | undefined;
177
+ email?: string | null | undefined;
178
+ clientId?: string | null | undefined;
179
+ channelId?: string | null | undefined;
180
+ waapiInstanceId?: string | null | undefined;
181
+ qr?: string | null | undefined;
182
+ status?: "active" | "pending" | "waapi-qr" | undefined;
175
183
  apiKey?: string | undefined;
176
184
  tier?: "basic" | "regular" | "premium" | undefined;
185
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
177
186
  }>>;
178
187
  vonageCredentials: z.ZodOptional<z.ZodObject<{
179
188
  mobileNumber: z.ZodString;
@@ -199,15 +208,18 @@ export declare const messengerContract: {
199
208
  additionalCredentials?: any;
200
209
  senderId?: string | undefined;
201
210
  whatsapp?: {
202
- email: string;
203
- wabaExternalId: string;
204
- phoneNumberId: string;
205
- wabaBusinessId?: string | undefined;
206
- clientId?: string | undefined;
207
- channelId?: string | undefined;
208
- status?: "active" | "pending" | undefined;
211
+ wabaBusinessId?: string | null | undefined;
212
+ wabaExternalId?: string | null | undefined;
213
+ phoneNumberId?: string | null | undefined;
214
+ email?: string | null | undefined;
215
+ clientId?: string | null | undefined;
216
+ channelId?: string | null | undefined;
217
+ waapiInstanceId?: string | null | undefined;
218
+ qr?: string | null | undefined;
219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
209
220
  apiKey?: string | undefined;
210
221
  tier?: "basic" | "regular" | "premium" | undefined;
222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
211
223
  } | undefined;
212
224
  vonageCredentials?: {
213
225
  apiKey: string;
@@ -225,15 +237,18 @@ export declare const messengerContract: {
225
237
  additionalCredentials?: any;
226
238
  senderId?: string | undefined;
227
239
  whatsapp?: {
228
- email: string;
229
- wabaExternalId: string;
230
- phoneNumberId: string;
231
- wabaBusinessId?: string | undefined;
232
- clientId?: string | undefined;
233
- channelId?: string | undefined;
234
- status?: "active" | "pending" | undefined;
240
+ wabaBusinessId?: string | null | undefined;
241
+ wabaExternalId?: string | null | undefined;
242
+ phoneNumberId?: string | null | undefined;
243
+ email?: string | null | undefined;
244
+ clientId?: string | null | undefined;
245
+ channelId?: string | null | undefined;
246
+ waapiInstanceId?: string | null | undefined;
247
+ qr?: string | null | undefined;
248
+ status?: "active" | "pending" | "waapi-qr" | undefined;
235
249
  apiKey?: string | undefined;
236
250
  tier?: "basic" | "regular" | "premium" | undefined;
251
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
237
252
  } | undefined;
238
253
  vonageCredentials?: {
239
254
  apiKey: string;
@@ -281,15 +296,18 @@ export declare const messengerContract: {
281
296
  additionalCredentials?: any;
282
297
  senderId?: string | undefined;
283
298
  whatsapp?: {
284
- email: string;
285
- wabaExternalId: string;
286
- phoneNumberId: string;
287
- wabaBusinessId?: string | undefined;
288
- clientId?: string | undefined;
289
- channelId?: string | undefined;
290
- status?: "active" | "pending" | undefined;
299
+ wabaBusinessId?: string | null | undefined;
300
+ wabaExternalId?: string | null | undefined;
301
+ phoneNumberId?: string | null | undefined;
302
+ email?: string | null | undefined;
303
+ clientId?: string | null | undefined;
304
+ channelId?: string | null | undefined;
305
+ waapiInstanceId?: string | null | undefined;
306
+ qr?: string | null | undefined;
307
+ status?: "active" | "pending" | "waapi-qr" | undefined;
291
308
  apiKey?: string | undefined;
292
309
  tier?: "basic" | "regular" | "premium" | undefined;
310
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
293
311
  } | undefined;
294
312
  vonageCredentials?: {
295
313
  apiKey: string;
@@ -325,15 +343,18 @@ export declare const messengerContract: {
325
343
  additionalCredentials?: any;
326
344
  senderId?: string | undefined;
327
345
  whatsapp?: {
328
- email: string;
329
- wabaExternalId: string;
330
- phoneNumberId: string;
331
- wabaBusinessId?: string | undefined;
332
- clientId?: string | undefined;
333
- channelId?: string | undefined;
334
- status?: "active" | "pending" | undefined;
346
+ wabaBusinessId?: string | null | undefined;
347
+ wabaExternalId?: string | null | undefined;
348
+ phoneNumberId?: string | null | undefined;
349
+ email?: string | null | undefined;
350
+ clientId?: string | null | undefined;
351
+ channelId?: string | null | undefined;
352
+ waapiInstanceId?: string | null | undefined;
353
+ qr?: string | null | undefined;
354
+ status?: "active" | "pending" | "waapi-qr" | undefined;
335
355
  apiKey?: string | undefined;
336
356
  tier?: "basic" | "regular" | "premium" | undefined;
357
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
337
358
  } | undefined;
338
359
  vonageCredentials?: {
339
360
  apiKey: string;
@@ -374,15 +395,18 @@ export declare const messengerContract: {
374
395
  additionalCredentials?: any;
375
396
  senderId?: string | undefined;
376
397
  whatsapp?: {
377
- email: string;
378
- wabaExternalId: string;
379
- phoneNumberId: string;
380
- wabaBusinessId?: string | undefined;
381
- clientId?: string | undefined;
382
- channelId?: string | undefined;
383
- status?: "active" | "pending" | undefined;
398
+ wabaBusinessId?: string | null | undefined;
399
+ wabaExternalId?: string | null | undefined;
400
+ phoneNumberId?: string | null | undefined;
401
+ email?: string | null | undefined;
402
+ clientId?: string | null | undefined;
403
+ channelId?: string | null | undefined;
404
+ waapiInstanceId?: string | null | undefined;
405
+ qr?: string | null | undefined;
406
+ status?: "active" | "pending" | "waapi-qr" | undefined;
384
407
  apiKey?: string | undefined;
385
408
  tier?: "basic" | "regular" | "premium" | undefined;
409
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
386
410
  } | undefined;
387
411
  vonageCredentials?: {
388
412
  apiKey: string;
@@ -462,15 +486,18 @@ export declare const messengerContract: {
462
486
  additionalCredentials?: any;
463
487
  senderId?: string | undefined;
464
488
  whatsapp?: {
465
- email: string;
466
- wabaExternalId: string;
467
- phoneNumberId: string;
468
- wabaBusinessId?: string | undefined;
469
- clientId?: string | undefined;
470
- channelId?: string | undefined;
471
- status?: "active" | "pending" | undefined;
489
+ wabaBusinessId?: string | null | undefined;
490
+ wabaExternalId?: string | null | undefined;
491
+ phoneNumberId?: string | null | undefined;
492
+ email?: string | null | undefined;
493
+ clientId?: string | null | undefined;
494
+ channelId?: string | null | undefined;
495
+ waapiInstanceId?: string | null | undefined;
496
+ qr?: string | null | undefined;
497
+ status?: "active" | "pending" | "waapi-qr" | undefined;
472
498
  apiKey?: string | undefined;
473
499
  tier?: "basic" | "regular" | "premium" | undefined;
500
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
474
501
  } | undefined;
475
502
  vonageCredentials?: {
476
503
  apiKey: string;
@@ -541,7 +568,7 @@ export declare const messengerContract: {
541
568
  id: z.ZodOptional<z.ZodString>;
542
569
  message: z.ZodOptional<z.ZodString>;
543
570
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
544
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
571
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
545
572
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
546
573
  metadata: z.ZodOptional<z.ZodAny>;
547
574
  platformId: z.ZodOptional<z.ZodString>;
@@ -597,7 +624,7 @@ export declare const messengerContract: {
597
624
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
598
625
  label: z.ZodOptional<z.ZodString>;
599
626
  }, "strip", z.ZodTypeAny, {
600
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
627
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
601
628
  direction: "incoming" | "outgoing" | "system";
602
629
  id?: string | undefined;
603
630
  message?: string | undefined;
@@ -632,7 +659,7 @@ export declare const messengerContract: {
632
659
  editedAt?: string | Date | null | undefined;
633
660
  label?: string | undefined;
634
661
  }, {
635
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
662
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
636
663
  direction: "incoming" | "outgoing" | "system";
637
664
  id?: string | undefined;
638
665
  message?: string | undefined;
@@ -669,7 +696,7 @@ export declare const messengerContract: {
669
696
  }>;
670
697
  }, "strip", z.ZodTypeAny, {
671
698
  message: {
672
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
699
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
673
700
  direction: "incoming" | "outgoing" | "system";
674
701
  id?: string | undefined;
675
702
  message?: string | undefined;
@@ -718,15 +745,18 @@ export declare const messengerContract: {
718
745
  additionalCredentials?: any;
719
746
  senderId?: string | undefined;
720
747
  whatsapp?: {
721
- email: string;
722
- wabaExternalId: string;
723
- phoneNumberId: string;
724
- wabaBusinessId?: string | undefined;
725
- clientId?: string | undefined;
726
- channelId?: string | undefined;
727
- status?: "active" | "pending" | undefined;
748
+ wabaBusinessId?: string | null | undefined;
749
+ wabaExternalId?: string | null | undefined;
750
+ phoneNumberId?: string | null | undefined;
751
+ email?: string | null | undefined;
752
+ clientId?: string | null | undefined;
753
+ channelId?: string | null | undefined;
754
+ waapiInstanceId?: string | null | undefined;
755
+ qr?: string | null | undefined;
756
+ status?: "active" | "pending" | "waapi-qr" | undefined;
728
757
  apiKey?: string | undefined;
729
758
  tier?: "basic" | "regular" | "premium" | undefined;
759
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
730
760
  } | undefined;
731
761
  vonageCredentials?: {
732
762
  apiKey: string;
@@ -796,7 +826,7 @@ export declare const messengerContract: {
796
826
  isBot: boolean | null;
797
827
  }, {
798
828
  message: {
799
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
829
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
800
830
  direction: "incoming" | "outgoing" | "system";
801
831
  id?: string | undefined;
802
832
  message?: string | undefined;
@@ -845,15 +875,18 @@ export declare const messengerContract: {
845
875
  additionalCredentials?: any;
846
876
  senderId?: string | undefined;
847
877
  whatsapp?: {
848
- email: string;
849
- wabaExternalId: string;
850
- phoneNumberId: string;
851
- wabaBusinessId?: string | undefined;
852
- clientId?: string | undefined;
853
- channelId?: string | undefined;
854
- status?: "active" | "pending" | undefined;
878
+ wabaBusinessId?: string | null | undefined;
879
+ wabaExternalId?: string | null | undefined;
880
+ phoneNumberId?: string | null | undefined;
881
+ email?: string | null | undefined;
882
+ clientId?: string | null | undefined;
883
+ channelId?: string | null | undefined;
884
+ waapiInstanceId?: string | null | undefined;
885
+ qr?: string | null | undefined;
886
+ status?: "active" | "pending" | "waapi-qr" | undefined;
855
887
  apiKey?: string | undefined;
856
888
  tier?: "basic" | "regular" | "premium" | undefined;
889
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
857
890
  } | undefined;
858
891
  vonageCredentials?: {
859
892
  apiKey: string;
@@ -927,7 +960,7 @@ export declare const messengerContract: {
927
960
  200: z.ZodObject<{
928
961
  requestId: z.ZodString;
929
962
  data: z.ZodObject<{
930
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
963
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
931
964
  message: z.ZodString;
932
965
  id: z.ZodString;
933
966
  url: z.ZodString;
@@ -1152,9 +1185,10 @@ export declare const messengerContract: {
1152
1185
  fileSize: z.ZodNumber;
1153
1186
  fileKey: z.ZodString;
1154
1187
  fileUrl: z.ZodNullable<z.ZodString>;
1155
- status: z.ZodOptional<z.ZodString>;
1188
+ status: z.ZodNullable<z.ZodString>;
1156
1189
  }, "strip", z.ZodTypeAny, {
1157
1190
  id: string;
1191
+ status: string | null;
1158
1192
  createdAt: Date;
1159
1193
  updatedAt: Date;
1160
1194
  deletedAt: Date | null;
@@ -1163,9 +1197,9 @@ export declare const messengerContract: {
1163
1197
  bucketName: string;
1164
1198
  fileSize: number;
1165
1199
  fileUrl: string | null;
1166
- status?: string | undefined;
1167
1200
  }, {
1168
1201
  id: string;
1202
+ status: string | null;
1169
1203
  createdAt: Date;
1170
1204
  updatedAt: Date;
1171
1205
  deletedAt: Date | null;
@@ -1174,7 +1208,6 @@ export declare const messengerContract: {
1174
1208
  bucketName: string;
1175
1209
  fileSize: number;
1176
1210
  fileUrl: string | null;
1177
- status?: string | undefined;
1178
1211
  }>;
1179
1212
  assignee: z.ZodObject<{
1180
1213
  id: z.ZodString;
@@ -1769,9 +1802,10 @@ export declare const messengerContract: {
1769
1802
  fileSize: z.ZodNumber;
1770
1803
  fileKey: z.ZodString;
1771
1804
  fileUrl: z.ZodNullable<z.ZodString>;
1772
- status: z.ZodOptional<z.ZodString>;
1805
+ status: z.ZodNullable<z.ZodString>;
1773
1806
  }, "strip", z.ZodTypeAny, {
1774
1807
  id: string;
1808
+ status: string | null;
1775
1809
  createdAt: Date;
1776
1810
  updatedAt: Date;
1777
1811
  deletedAt: Date | null;
@@ -1780,9 +1814,9 @@ export declare const messengerContract: {
1780
1814
  bucketName: string;
1781
1815
  fileSize: number;
1782
1816
  fileUrl: string | null;
1783
- status?: string | undefined;
1784
1817
  }, {
1785
1818
  id: string;
1819
+ status: string | null;
1786
1820
  createdAt: Date;
1787
1821
  updatedAt: Date;
1788
1822
  deletedAt: Date | null;
@@ -1791,7 +1825,6 @@ export declare const messengerContract: {
1791
1825
  bucketName: string;
1792
1826
  fileSize: number;
1793
1827
  fileUrl: string | null;
1794
- status?: string | undefined;
1795
1828
  }>, "many">;
1796
1829
  }, "strip", z.ZodTypeAny, {
1797
1830
  id: string;
@@ -1818,6 +1851,7 @@ export declare const messengerContract: {
1818
1851
  dateValue: Date | null;
1819
1852
  uploads: {
1820
1853
  id: string;
1854
+ status: string | null;
1821
1855
  createdAt: Date;
1822
1856
  updatedAt: Date;
1823
1857
  deletedAt: Date | null;
@@ -1826,7 +1860,6 @@ export declare const messengerContract: {
1826
1860
  bucketName: string;
1827
1861
  fileSize: number;
1828
1862
  fileUrl: string | null;
1829
- status?: string | undefined;
1830
1863
  }[];
1831
1864
  }, {
1832
1865
  id: string;
@@ -1853,6 +1886,7 @@ export declare const messengerContract: {
1853
1886
  dateValue: Date | null;
1854
1887
  uploads: {
1855
1888
  id: string;
1889
+ status: string | null;
1856
1890
  createdAt: Date;
1857
1891
  updatedAt: Date;
1858
1892
  deletedAt: Date | null;
@@ -1861,7 +1895,6 @@ export declare const messengerContract: {
1861
1895
  bucketName: string;
1862
1896
  fileSize: number;
1863
1897
  fileUrl: string | null;
1864
- status?: string | undefined;
1865
1898
  }[];
1866
1899
  }>, "many">;
1867
1900
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -2001,6 +2034,7 @@ export declare const messengerContract: {
2001
2034
  dateValue: Date | null;
2002
2035
  uploads: {
2003
2036
  id: string;
2037
+ status: string | null;
2004
2038
  createdAt: Date;
2005
2039
  updatedAt: Date;
2006
2040
  deletedAt: Date | null;
@@ -2009,7 +2043,6 @@ export declare const messengerContract: {
2009
2043
  bucketName: string;
2010
2044
  fileSize: number;
2011
2045
  fileUrl: string | null;
2012
- status?: string | undefined;
2013
2046
  }[];
2014
2047
  }[];
2015
2048
  company: {
@@ -2112,6 +2145,7 @@ export declare const messengerContract: {
2112
2145
  dateValue: Date | null;
2113
2146
  uploads: {
2114
2147
  id: string;
2148
+ status: string | null;
2115
2149
  createdAt: Date;
2116
2150
  updatedAt: Date;
2117
2151
  deletedAt: Date | null;
@@ -2120,7 +2154,6 @@ export declare const messengerContract: {
2120
2154
  bucketName: string;
2121
2155
  fileSize: number;
2122
2156
  fileUrl: string | null;
2123
- status?: string | undefined;
2124
2157
  }[];
2125
2158
  }[];
2126
2159
  company: {
@@ -2236,6 +2269,7 @@ export declare const messengerContract: {
2236
2269
  dateValue: Date | null;
2237
2270
  uploads: {
2238
2271
  id: string;
2272
+ status: string | null;
2239
2273
  createdAt: Date;
2240
2274
  updatedAt: Date;
2241
2275
  deletedAt: Date | null;
@@ -2244,7 +2278,6 @@ export declare const messengerContract: {
2244
2278
  bucketName: string;
2245
2279
  fileSize: number;
2246
2280
  fileUrl: string | null;
2247
- status?: string | undefined;
2248
2281
  }[];
2249
2282
  }[];
2250
2283
  company: {
@@ -2362,6 +2395,7 @@ export declare const messengerContract: {
2362
2395
  dateValue: Date | null;
2363
2396
  uploads: {
2364
2397
  id: string;
2398
+ status: string | null;
2365
2399
  createdAt: Date;
2366
2400
  updatedAt: Date;
2367
2401
  deletedAt: Date | null;
@@ -2370,7 +2404,6 @@ export declare const messengerContract: {
2370
2404
  bucketName: string;
2371
2405
  fileSize: number;
2372
2406
  fileUrl: string | null;
2373
- status?: string | undefined;
2374
2407
  }[];
2375
2408
  }[];
2376
2409
  company: {
@@ -2867,35 +2900,44 @@ export declare const messengerContract: {
2867
2900
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2868
2901
  senderId: z.ZodOptional<z.ZodString>;
2869
2902
  whatsapp: z.ZodOptional<z.ZodObject<{
2870
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2871
- wabaExternalId: z.ZodString;
2872
- phoneNumberId: z.ZodString;
2873
- email: z.ZodString;
2874
- clientId: z.ZodOptional<z.ZodString>;
2875
- channelId: z.ZodOptional<z.ZodString>;
2876
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2903
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2904
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2905
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2906
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2907
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2908
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2909
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2910
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2911
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2877
2912
  apiKey: z.ZodOptional<z.ZodString>;
2878
2913
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2914
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2879
2915
  }, "strip", z.ZodTypeAny, {
2880
- email: string;
2881
- wabaExternalId: string;
2882
- phoneNumberId: string;
2883
- wabaBusinessId?: string | undefined;
2884
- clientId?: string | undefined;
2885
- channelId?: string | undefined;
2886
- status?: "active" | "pending" | undefined;
2916
+ wabaBusinessId?: string | null | undefined;
2917
+ wabaExternalId?: string | null | undefined;
2918
+ phoneNumberId?: string | null | undefined;
2919
+ email?: string | null | undefined;
2920
+ clientId?: string | null | undefined;
2921
+ channelId?: string | null | undefined;
2922
+ waapiInstanceId?: string | null | undefined;
2923
+ qr?: string | null | undefined;
2924
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2887
2925
  apiKey?: string | undefined;
2888
2926
  tier?: "basic" | "regular" | "premium" | undefined;
2927
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2889
2928
  }, {
2890
- email: string;
2891
- wabaExternalId: string;
2892
- phoneNumberId: string;
2893
- wabaBusinessId?: string | undefined;
2894
- clientId?: string | undefined;
2895
- channelId?: string | undefined;
2896
- status?: "active" | "pending" | undefined;
2929
+ wabaBusinessId?: string | null | undefined;
2930
+ wabaExternalId?: string | null | undefined;
2931
+ phoneNumberId?: string | null | undefined;
2932
+ email?: string | null | undefined;
2933
+ clientId?: string | null | undefined;
2934
+ channelId?: string | null | undefined;
2935
+ waapiInstanceId?: string | null | undefined;
2936
+ qr?: string | null | undefined;
2937
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2897
2938
  apiKey?: string | undefined;
2898
2939
  tier?: "basic" | "regular" | "premium" | undefined;
2940
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2899
2941
  }>>;
2900
2942
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2901
2943
  mobileNumber: z.ZodString;
@@ -2921,15 +2963,18 @@ export declare const messengerContract: {
2921
2963
  additionalCredentials?: any;
2922
2964
  senderId?: string | undefined;
2923
2965
  whatsapp?: {
2924
- email: string;
2925
- wabaExternalId: string;
2926
- phoneNumberId: string;
2927
- wabaBusinessId?: string | undefined;
2928
- clientId?: string | undefined;
2929
- channelId?: string | undefined;
2930
- status?: "active" | "pending" | undefined;
2966
+ wabaBusinessId?: string | null | undefined;
2967
+ wabaExternalId?: string | null | undefined;
2968
+ phoneNumberId?: string | null | undefined;
2969
+ email?: string | null | undefined;
2970
+ clientId?: string | null | undefined;
2971
+ channelId?: string | null | undefined;
2972
+ waapiInstanceId?: string | null | undefined;
2973
+ qr?: string | null | undefined;
2974
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2931
2975
  apiKey?: string | undefined;
2932
2976
  tier?: "basic" | "regular" | "premium" | undefined;
2977
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2933
2978
  } | undefined;
2934
2979
  vonageCredentials?: {
2935
2980
  apiKey: string;
@@ -2947,15 +2992,18 @@ export declare const messengerContract: {
2947
2992
  additionalCredentials?: any;
2948
2993
  senderId?: string | undefined;
2949
2994
  whatsapp?: {
2950
- email: string;
2951
- wabaExternalId: string;
2952
- phoneNumberId: string;
2953
- wabaBusinessId?: string | undefined;
2954
- clientId?: string | undefined;
2955
- channelId?: string | undefined;
2956
- status?: "active" | "pending" | undefined;
2995
+ wabaBusinessId?: string | null | undefined;
2996
+ wabaExternalId?: string | null | undefined;
2997
+ phoneNumberId?: string | null | undefined;
2998
+ email?: string | null | undefined;
2999
+ clientId?: string | null | undefined;
3000
+ channelId?: string | null | undefined;
3001
+ waapiInstanceId?: string | null | undefined;
3002
+ qr?: string | null | undefined;
3003
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2957
3004
  apiKey?: string | undefined;
2958
3005
  tier?: "basic" | "regular" | "premium" | undefined;
3006
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2959
3007
  } | undefined;
2960
3008
  vonageCredentials?: {
2961
3009
  apiKey: string;
@@ -3207,15 +3255,18 @@ export declare const messengerContract: {
3207
3255
  additionalCredentials?: any;
3208
3256
  senderId?: string | undefined;
3209
3257
  whatsapp?: {
3210
- email: string;
3211
- wabaExternalId: string;
3212
- phoneNumberId: string;
3213
- wabaBusinessId?: string | undefined;
3214
- clientId?: string | undefined;
3215
- channelId?: string | undefined;
3216
- status?: "active" | "pending" | undefined;
3258
+ wabaBusinessId?: string | null | undefined;
3259
+ wabaExternalId?: string | null | undefined;
3260
+ phoneNumberId?: string | null | undefined;
3261
+ email?: string | null | undefined;
3262
+ clientId?: string | null | undefined;
3263
+ channelId?: string | null | undefined;
3264
+ waapiInstanceId?: string | null | undefined;
3265
+ qr?: string | null | undefined;
3266
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3217
3267
  apiKey?: string | undefined;
3218
3268
  tier?: "basic" | "regular" | "premium" | undefined;
3269
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3219
3270
  } | undefined;
3220
3271
  vonageCredentials?: {
3221
3272
  apiKey: string;
@@ -3298,15 +3349,18 @@ export declare const messengerContract: {
3298
3349
  additionalCredentials?: any;
3299
3350
  senderId?: string | undefined;
3300
3351
  whatsapp?: {
3301
- email: string;
3302
- wabaExternalId: string;
3303
- phoneNumberId: string;
3304
- wabaBusinessId?: string | undefined;
3305
- clientId?: string | undefined;
3306
- channelId?: string | undefined;
3307
- status?: "active" | "pending" | undefined;
3352
+ wabaBusinessId?: string | null | undefined;
3353
+ wabaExternalId?: string | null | undefined;
3354
+ phoneNumberId?: string | null | undefined;
3355
+ email?: string | null | undefined;
3356
+ clientId?: string | null | undefined;
3357
+ channelId?: string | null | undefined;
3358
+ waapiInstanceId?: string | null | undefined;
3359
+ qr?: string | null | undefined;
3360
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3308
3361
  apiKey?: string | undefined;
3309
3362
  tier?: "basic" | "regular" | "premium" | undefined;
3363
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3310
3364
  } | undefined;
3311
3365
  vonageCredentials?: {
3312
3366
  apiKey: string;
@@ -3953,15 +4007,18 @@ export declare const messengerContract: {
3953
4007
  additionalCredentials?: any;
3954
4008
  senderId?: string | undefined;
3955
4009
  whatsapp?: {
3956
- email: string;
3957
- wabaExternalId: string;
3958
- phoneNumberId: string;
3959
- wabaBusinessId?: string | undefined;
3960
- clientId?: string | undefined;
3961
- channelId?: string | undefined;
3962
- status?: "active" | "pending" | undefined;
4010
+ wabaBusinessId?: string | null | undefined;
4011
+ wabaExternalId?: string | null | undefined;
4012
+ phoneNumberId?: string | null | undefined;
4013
+ email?: string | null | undefined;
4014
+ clientId?: string | null | undefined;
4015
+ channelId?: string | null | undefined;
4016
+ waapiInstanceId?: string | null | undefined;
4017
+ qr?: string | null | undefined;
4018
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3963
4019
  apiKey?: string | undefined;
3964
4020
  tier?: "basic" | "regular" | "premium" | undefined;
4021
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3965
4022
  } | undefined;
3966
4023
  vonageCredentials?: {
3967
4024
  apiKey: string;
@@ -4133,6 +4190,7 @@ export declare const messengerContract: {
4133
4190
  dateValue: Date | null;
4134
4191
  uploads: {
4135
4192
  id: string;
4193
+ status: string | null;
4136
4194
  createdAt: Date;
4137
4195
  updatedAt: Date;
4138
4196
  deletedAt: Date | null;
@@ -4141,7 +4199,6 @@ export declare const messengerContract: {
4141
4199
  bucketName: string;
4142
4200
  fileSize: number;
4143
4201
  fileUrl: string | null;
4144
- status?: string | undefined;
4145
4202
  }[];
4146
4203
  }[];
4147
4204
  company: {
@@ -4377,15 +4434,18 @@ export declare const messengerContract: {
4377
4434
  additionalCredentials?: any;
4378
4435
  senderId?: string | undefined;
4379
4436
  whatsapp?: {
4380
- email: string;
4381
- wabaExternalId: string;
4382
- phoneNumberId: string;
4383
- wabaBusinessId?: string | undefined;
4384
- clientId?: string | undefined;
4385
- channelId?: string | undefined;
4386
- status?: "active" | "pending" | undefined;
4437
+ wabaBusinessId?: string | null | undefined;
4438
+ wabaExternalId?: string | null | undefined;
4439
+ phoneNumberId?: string | null | undefined;
4440
+ email?: string | null | undefined;
4441
+ clientId?: string | null | undefined;
4442
+ channelId?: string | null | undefined;
4443
+ waapiInstanceId?: string | null | undefined;
4444
+ qr?: string | null | undefined;
4445
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4387
4446
  apiKey?: string | undefined;
4388
4447
  tier?: "basic" | "regular" | "premium" | undefined;
4448
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4389
4449
  } | undefined;
4390
4450
  vonageCredentials?: {
4391
4451
  apiKey: string;
@@ -4557,6 +4617,7 @@ export declare const messengerContract: {
4557
4617
  dateValue: Date | null;
4558
4618
  uploads: {
4559
4619
  id: string;
4620
+ status: string | null;
4560
4621
  createdAt: Date;
4561
4622
  updatedAt: Date;
4562
4623
  deletedAt: Date | null;
@@ -4565,7 +4626,6 @@ export declare const messengerContract: {
4565
4626
  bucketName: string;
4566
4627
  fileSize: number;
4567
4628
  fileUrl: string | null;
4568
- status?: string | undefined;
4569
4629
  }[];
4570
4630
  }[];
4571
4631
  company: {
@@ -4826,7 +4886,7 @@ export declare const messengerContract: {
4826
4886
  deletedAt: z.ZodNullable<z.ZodDate>;
4827
4887
  message: z.ZodString;
4828
4888
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4829
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4889
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
4830
4890
  readAt: z.ZodDate;
4831
4891
  metadata: z.ZodAny;
4832
4892
  platformId: z.ZodString;
@@ -4847,9 +4907,10 @@ export declare const messengerContract: {
4847
4907
  fileSize: z.ZodNumber;
4848
4908
  fileKey: z.ZodString;
4849
4909
  fileUrl: z.ZodNullable<z.ZodString>;
4850
- status: z.ZodOptional<z.ZodString>;
4910
+ status: z.ZodNullable<z.ZodString>;
4851
4911
  }, "strip", z.ZodTypeAny, {
4852
4912
  id: string;
4913
+ status: string | null;
4853
4914
  createdAt: Date;
4854
4915
  updatedAt: Date;
4855
4916
  deletedAt: Date | null;
@@ -4858,9 +4919,9 @@ export declare const messengerContract: {
4858
4919
  bucketName: string;
4859
4920
  fileSize: number;
4860
4921
  fileUrl: string | null;
4861
- status?: string | undefined;
4862
4922
  }, {
4863
4923
  id: string;
4924
+ status: string | null;
4864
4925
  createdAt: Date;
4865
4926
  updatedAt: Date;
4866
4927
  deletedAt: Date | null;
@@ -4869,7 +4930,6 @@ export declare const messengerContract: {
4869
4930
  bucketName: string;
4870
4931
  fileSize: number;
4871
4932
  fileUrl: string | null;
4872
- status?: string | undefined;
4873
4933
  }>;
4874
4934
  actor: z.ZodObject<{
4875
4935
  id: z.ZodString;
@@ -5484,7 +5544,7 @@ export declare const messengerContract: {
5484
5544
  };
5485
5545
  }>;
5486
5546
  }, "strip", z.ZodTypeAny, {
5487
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5547
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5488
5548
  message: string;
5489
5549
  id: string;
5490
5550
  url: string;
@@ -5538,6 +5598,7 @@ export declare const messengerContract: {
5538
5598
  };
5539
5599
  upload: {
5540
5600
  id: string;
5601
+ status: string | null;
5541
5602
  createdAt: Date;
5542
5603
  updatedAt: Date;
5543
5604
  deletedAt: Date | null;
@@ -5546,7 +5607,6 @@ export declare const messengerContract: {
5546
5607
  bucketName: string;
5547
5608
  fileSize: number;
5548
5609
  fileUrl: string | null;
5549
- status?: string | undefined;
5550
5610
  };
5551
5611
  assignee: {
5552
5612
  id: string;
@@ -5646,7 +5706,7 @@ export declare const messengerContract: {
5646
5706
  metadata?: any;
5647
5707
  template?: any;
5648
5708
  }, {
5649
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5709
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
5650
5710
  message: string;
5651
5711
  id: string;
5652
5712
  url: string;
@@ -5700,6 +5760,7 @@ export declare const messengerContract: {
5700
5760
  };
5701
5761
  upload: {
5702
5762
  id: string;
5763
+ status: string | null;
5703
5764
  createdAt: Date;
5704
5765
  updatedAt: Date;
5705
5766
  deletedAt: Date | null;
@@ -5708,7 +5769,6 @@ export declare const messengerContract: {
5708
5769
  bucketName: string;
5709
5770
  fileSize: number;
5710
5771
  fileUrl: string | null;
5711
- status?: string | undefined;
5712
5772
  };
5713
5773
  assignee: {
5714
5774
  id: string;
@@ -6020,7 +6080,7 @@ export declare const messengerContract: {
6020
6080
  deletedAt: z.ZodNullable<z.ZodDate>;
6021
6081
  message: z.ZodString;
6022
6082
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6023
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6083
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
6024
6084
  readAt: z.ZodDate;
6025
6085
  metadata: z.ZodAny;
6026
6086
  platformId: z.ZodString;
@@ -6419,9 +6479,10 @@ export declare const messengerContract: {
6419
6479
  fileSize: z.ZodNumber;
6420
6480
  fileKey: z.ZodString;
6421
6481
  fileUrl: z.ZodNullable<z.ZodString>;
6422
- status: z.ZodOptional<z.ZodString>;
6482
+ status: z.ZodNullable<z.ZodString>;
6423
6483
  }, "strip", z.ZodTypeAny, {
6424
6484
  id: string;
6485
+ status: string | null;
6425
6486
  createdAt: Date;
6426
6487
  updatedAt: Date;
6427
6488
  deletedAt: Date | null;
@@ -6430,9 +6491,9 @@ export declare const messengerContract: {
6430
6491
  bucketName: string;
6431
6492
  fileSize: number;
6432
6493
  fileUrl: string | null;
6433
- status?: string | undefined;
6434
6494
  }, {
6435
6495
  id: string;
6496
+ status: string | null;
6436
6497
  createdAt: Date;
6437
6498
  updatedAt: Date;
6438
6499
  deletedAt: Date | null;
@@ -6441,7 +6502,6 @@ export declare const messengerContract: {
6441
6502
  bucketName: string;
6442
6503
  fileSize: number;
6443
6504
  fileUrl: string | null;
6444
- status?: string | undefined;
6445
6505
  }>, "many">;
6446
6506
  }, "strip", z.ZodTypeAny, {
6447
6507
  id: string;
@@ -6468,6 +6528,7 @@ export declare const messengerContract: {
6468
6528
  dateValue: Date | null;
6469
6529
  uploads: {
6470
6530
  id: string;
6531
+ status: string | null;
6471
6532
  createdAt: Date;
6472
6533
  updatedAt: Date;
6473
6534
  deletedAt: Date | null;
@@ -6476,7 +6537,6 @@ export declare const messengerContract: {
6476
6537
  bucketName: string;
6477
6538
  fileSize: number;
6478
6539
  fileUrl: string | null;
6479
- status?: string | undefined;
6480
6540
  }[];
6481
6541
  }, {
6482
6542
  id: string;
@@ -6503,6 +6563,7 @@ export declare const messengerContract: {
6503
6563
  dateValue: Date | null;
6504
6564
  uploads: {
6505
6565
  id: string;
6566
+ status: string | null;
6506
6567
  createdAt: Date;
6507
6568
  updatedAt: Date;
6508
6569
  deletedAt: Date | null;
@@ -6511,7 +6572,6 @@ export declare const messengerContract: {
6511
6572
  bucketName: string;
6512
6573
  fileSize: number;
6513
6574
  fileUrl: string | null;
6514
- status?: string | undefined;
6515
6575
  }[];
6516
6576
  }>, "many">;
6517
6577
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6651,6 +6711,7 @@ export declare const messengerContract: {
6651
6711
  dateValue: Date | null;
6652
6712
  uploads: {
6653
6713
  id: string;
6714
+ status: string | null;
6654
6715
  createdAt: Date;
6655
6716
  updatedAt: Date;
6656
6717
  deletedAt: Date | null;
@@ -6659,7 +6720,6 @@ export declare const messengerContract: {
6659
6720
  bucketName: string;
6660
6721
  fileSize: number;
6661
6722
  fileUrl: string | null;
6662
- status?: string | undefined;
6663
6723
  }[];
6664
6724
  }[];
6665
6725
  company: {
@@ -6762,6 +6822,7 @@ export declare const messengerContract: {
6762
6822
  dateValue: Date | null;
6763
6823
  uploads: {
6764
6824
  id: string;
6825
+ status: string | null;
6765
6826
  createdAt: Date;
6766
6827
  updatedAt: Date;
6767
6828
  deletedAt: Date | null;
@@ -6770,7 +6831,6 @@ export declare const messengerContract: {
6770
6831
  bucketName: string;
6771
6832
  fileSize: number;
6772
6833
  fileUrl: string | null;
6773
- status?: string | undefined;
6774
6834
  }[];
6775
6835
  }[];
6776
6836
  company: {
@@ -6886,6 +6946,7 @@ export declare const messengerContract: {
6886
6946
  dateValue: Date | null;
6887
6947
  uploads: {
6888
6948
  id: string;
6949
+ status: string | null;
6889
6950
  createdAt: Date;
6890
6951
  updatedAt: Date;
6891
6952
  deletedAt: Date | null;
@@ -6894,7 +6955,6 @@ export declare const messengerContract: {
6894
6955
  bucketName: string;
6895
6956
  fileSize: number;
6896
6957
  fileUrl: string | null;
6897
- status?: string | undefined;
6898
6958
  }[];
6899
6959
  }[];
6900
6960
  company: {
@@ -7012,6 +7072,7 @@ export declare const messengerContract: {
7012
7072
  dateValue: Date | null;
7013
7073
  uploads: {
7014
7074
  id: string;
7075
+ status: string | null;
7015
7076
  createdAt: Date;
7016
7077
  updatedAt: Date;
7017
7078
  deletedAt: Date | null;
@@ -7020,7 +7081,6 @@ export declare const messengerContract: {
7020
7081
  bucketName: string;
7021
7082
  fileSize: number;
7022
7083
  fileUrl: string | null;
7023
- status?: string | undefined;
7024
7084
  }[];
7025
7085
  }[];
7026
7086
  company: {
@@ -7517,35 +7577,44 @@ export declare const messengerContract: {
7517
7577
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7518
7578
  senderId: z.ZodOptional<z.ZodString>;
7519
7579
  whatsapp: z.ZodOptional<z.ZodObject<{
7520
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7521
- wabaExternalId: z.ZodString;
7522
- phoneNumberId: z.ZodString;
7523
- email: z.ZodString;
7524
- clientId: z.ZodOptional<z.ZodString>;
7525
- channelId: z.ZodOptional<z.ZodString>;
7526
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7580
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7581
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7582
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7583
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7584
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7585
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7586
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7587
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7588
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
7527
7589
  apiKey: z.ZodOptional<z.ZodString>;
7528
7590
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7591
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
7529
7592
  }, "strip", z.ZodTypeAny, {
7530
- email: string;
7531
- wabaExternalId: string;
7532
- phoneNumberId: string;
7533
- wabaBusinessId?: string | undefined;
7534
- clientId?: string | undefined;
7535
- channelId?: string | undefined;
7536
- status?: "active" | "pending" | undefined;
7593
+ wabaBusinessId?: string | null | undefined;
7594
+ wabaExternalId?: string | null | undefined;
7595
+ phoneNumberId?: string | null | undefined;
7596
+ email?: string | null | undefined;
7597
+ clientId?: string | null | undefined;
7598
+ channelId?: string | null | undefined;
7599
+ waapiInstanceId?: string | null | undefined;
7600
+ qr?: string | null | undefined;
7601
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7537
7602
  apiKey?: string | undefined;
7538
7603
  tier?: "basic" | "regular" | "premium" | undefined;
7604
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7539
7605
  }, {
7540
- email: string;
7541
- wabaExternalId: string;
7542
- phoneNumberId: string;
7543
- wabaBusinessId?: string | undefined;
7544
- clientId?: string | undefined;
7545
- channelId?: string | undefined;
7546
- status?: "active" | "pending" | undefined;
7606
+ wabaBusinessId?: string | null | undefined;
7607
+ wabaExternalId?: string | null | undefined;
7608
+ phoneNumberId?: string | null | undefined;
7609
+ email?: string | null | undefined;
7610
+ clientId?: string | null | undefined;
7611
+ channelId?: string | null | undefined;
7612
+ waapiInstanceId?: string | null | undefined;
7613
+ qr?: string | null | undefined;
7614
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7547
7615
  apiKey?: string | undefined;
7548
7616
  tier?: "basic" | "regular" | "premium" | undefined;
7617
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7549
7618
  }>>;
7550
7619
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7551
7620
  mobileNumber: z.ZodString;
@@ -7571,15 +7640,18 @@ export declare const messengerContract: {
7571
7640
  additionalCredentials?: any;
7572
7641
  senderId?: string | undefined;
7573
7642
  whatsapp?: {
7574
- email: string;
7575
- wabaExternalId: string;
7576
- phoneNumberId: string;
7577
- wabaBusinessId?: string | undefined;
7578
- clientId?: string | undefined;
7579
- channelId?: string | undefined;
7580
- status?: "active" | "pending" | undefined;
7643
+ wabaBusinessId?: string | null | undefined;
7644
+ wabaExternalId?: string | null | undefined;
7645
+ phoneNumberId?: string | null | undefined;
7646
+ email?: string | null | undefined;
7647
+ clientId?: string | null | undefined;
7648
+ channelId?: string | null | undefined;
7649
+ waapiInstanceId?: string | null | undefined;
7650
+ qr?: string | null | undefined;
7651
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7581
7652
  apiKey?: string | undefined;
7582
7653
  tier?: "basic" | "regular" | "premium" | undefined;
7654
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7583
7655
  } | undefined;
7584
7656
  vonageCredentials?: {
7585
7657
  apiKey: string;
@@ -7597,15 +7669,18 @@ export declare const messengerContract: {
7597
7669
  additionalCredentials?: any;
7598
7670
  senderId?: string | undefined;
7599
7671
  whatsapp?: {
7600
- email: string;
7601
- wabaExternalId: string;
7602
- phoneNumberId: string;
7603
- wabaBusinessId?: string | undefined;
7604
- clientId?: string | undefined;
7605
- channelId?: string | undefined;
7606
- status?: "active" | "pending" | undefined;
7672
+ wabaBusinessId?: string | null | undefined;
7673
+ wabaExternalId?: string | null | undefined;
7674
+ phoneNumberId?: string | null | undefined;
7675
+ email?: string | null | undefined;
7676
+ clientId?: string | null | undefined;
7677
+ channelId?: string | null | undefined;
7678
+ waapiInstanceId?: string | null | undefined;
7679
+ qr?: string | null | undefined;
7680
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7607
7681
  apiKey?: string | undefined;
7608
7682
  tier?: "basic" | "regular" | "premium" | undefined;
7683
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7609
7684
  } | undefined;
7610
7685
  vonageCredentials?: {
7611
7686
  apiKey: string;
@@ -7857,15 +7932,18 @@ export declare const messengerContract: {
7857
7932
  additionalCredentials?: any;
7858
7933
  senderId?: string | undefined;
7859
7934
  whatsapp?: {
7860
- email: string;
7861
- wabaExternalId: string;
7862
- phoneNumberId: string;
7863
- wabaBusinessId?: string | undefined;
7864
- clientId?: string | undefined;
7865
- channelId?: string | undefined;
7866
- status?: "active" | "pending" | undefined;
7935
+ wabaBusinessId?: string | null | undefined;
7936
+ wabaExternalId?: string | null | undefined;
7937
+ phoneNumberId?: string | null | undefined;
7938
+ email?: string | null | undefined;
7939
+ clientId?: string | null | undefined;
7940
+ channelId?: string | null | undefined;
7941
+ waapiInstanceId?: string | null | undefined;
7942
+ qr?: string | null | undefined;
7943
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7867
7944
  apiKey?: string | undefined;
7868
7945
  tier?: "basic" | "regular" | "premium" | undefined;
7946
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7869
7947
  } | undefined;
7870
7948
  vonageCredentials?: {
7871
7949
  apiKey: string;
@@ -7948,15 +8026,18 @@ export declare const messengerContract: {
7948
8026
  additionalCredentials?: any;
7949
8027
  senderId?: string | undefined;
7950
8028
  whatsapp?: {
7951
- email: string;
7952
- wabaExternalId: string;
7953
- phoneNumberId: string;
7954
- wabaBusinessId?: string | undefined;
7955
- clientId?: string | undefined;
7956
- channelId?: string | undefined;
7957
- status?: "active" | "pending" | undefined;
8029
+ wabaBusinessId?: string | null | undefined;
8030
+ wabaExternalId?: string | null | undefined;
8031
+ phoneNumberId?: string | null | undefined;
8032
+ email?: string | null | undefined;
8033
+ clientId?: string | null | undefined;
8034
+ channelId?: string | null | undefined;
8035
+ waapiInstanceId?: string | null | undefined;
8036
+ qr?: string | null | undefined;
8037
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7958
8038
  apiKey?: string | undefined;
7959
8039
  tier?: "basic" | "regular" | "premium" | undefined;
8040
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7960
8041
  } | undefined;
7961
8042
  vonageCredentials?: {
7962
8043
  apiKey: string;
@@ -8603,15 +8684,18 @@ export declare const messengerContract: {
8603
8684
  additionalCredentials?: any;
8604
8685
  senderId?: string | undefined;
8605
8686
  whatsapp?: {
8606
- email: string;
8607
- wabaExternalId: string;
8608
- phoneNumberId: string;
8609
- wabaBusinessId?: string | undefined;
8610
- clientId?: string | undefined;
8611
- channelId?: string | undefined;
8612
- status?: "active" | "pending" | undefined;
8687
+ wabaBusinessId?: string | null | undefined;
8688
+ wabaExternalId?: string | null | undefined;
8689
+ phoneNumberId?: string | null | undefined;
8690
+ email?: string | null | undefined;
8691
+ clientId?: string | null | undefined;
8692
+ channelId?: string | null | undefined;
8693
+ waapiInstanceId?: string | null | undefined;
8694
+ qr?: string | null | undefined;
8695
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8613
8696
  apiKey?: string | undefined;
8614
8697
  tier?: "basic" | "regular" | "premium" | undefined;
8698
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8615
8699
  } | undefined;
8616
8700
  vonageCredentials?: {
8617
8701
  apiKey: string;
@@ -8783,6 +8867,7 @@ export declare const messengerContract: {
8783
8867
  dateValue: Date | null;
8784
8868
  uploads: {
8785
8869
  id: string;
8870
+ status: string | null;
8786
8871
  createdAt: Date;
8787
8872
  updatedAt: Date;
8788
8873
  deletedAt: Date | null;
@@ -8791,7 +8876,6 @@ export declare const messengerContract: {
8791
8876
  bucketName: string;
8792
8877
  fileSize: number;
8793
8878
  fileUrl: string | null;
8794
- status?: string | undefined;
8795
8879
  }[];
8796
8880
  }[];
8797
8881
  company: {
@@ -9027,15 +9111,18 @@ export declare const messengerContract: {
9027
9111
  additionalCredentials?: any;
9028
9112
  senderId?: string | undefined;
9029
9113
  whatsapp?: {
9030
- email: string;
9031
- wabaExternalId: string;
9032
- phoneNumberId: string;
9033
- wabaBusinessId?: string | undefined;
9034
- clientId?: string | undefined;
9035
- channelId?: string | undefined;
9036
- status?: "active" | "pending" | undefined;
9114
+ wabaBusinessId?: string | null | undefined;
9115
+ wabaExternalId?: string | null | undefined;
9116
+ phoneNumberId?: string | null | undefined;
9117
+ email?: string | null | undefined;
9118
+ clientId?: string | null | undefined;
9119
+ channelId?: string | null | undefined;
9120
+ waapiInstanceId?: string | null | undefined;
9121
+ qr?: string | null | undefined;
9122
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9037
9123
  apiKey?: string | undefined;
9038
9124
  tier?: "basic" | "regular" | "premium" | undefined;
9125
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9039
9126
  } | undefined;
9040
9127
  vonageCredentials?: {
9041
9128
  apiKey: string;
@@ -9207,6 +9294,7 @@ export declare const messengerContract: {
9207
9294
  dateValue: Date | null;
9208
9295
  uploads: {
9209
9296
  id: string;
9297
+ status: string | null;
9210
9298
  createdAt: Date;
9211
9299
  updatedAt: Date;
9212
9300
  deletedAt: Date | null;
@@ -9215,7 +9303,6 @@ export declare const messengerContract: {
9215
9303
  bucketName: string;
9216
9304
  fileSize: number;
9217
9305
  fileUrl: string | null;
9218
- status?: string | undefined;
9219
9306
  }[];
9220
9307
  }[];
9221
9308
  company: {
@@ -9448,9 +9535,10 @@ export declare const messengerContract: {
9448
9535
  fileSize: z.ZodNumber;
9449
9536
  fileKey: z.ZodString;
9450
9537
  fileUrl: z.ZodNullable<z.ZodString>;
9451
- status: z.ZodOptional<z.ZodString>;
9538
+ status: z.ZodNullable<z.ZodString>;
9452
9539
  }, "strip", z.ZodTypeAny, {
9453
9540
  id: string;
9541
+ status: string | null;
9454
9542
  createdAt: Date;
9455
9543
  updatedAt: Date;
9456
9544
  deletedAt: Date | null;
@@ -9459,9 +9547,9 @@ export declare const messengerContract: {
9459
9547
  bucketName: string;
9460
9548
  fileSize: number;
9461
9549
  fileUrl: string | null;
9462
- status?: string | undefined;
9463
9550
  }, {
9464
9551
  id: string;
9552
+ status: string | null;
9465
9553
  createdAt: Date;
9466
9554
  updatedAt: Date;
9467
9555
  deletedAt: Date | null;
@@ -9470,7 +9558,6 @@ export declare const messengerContract: {
9470
9558
  bucketName: string;
9471
9559
  fileSize: number;
9472
9560
  fileUrl: string | null;
9473
- status?: string | undefined;
9474
9561
  }>;
9475
9562
  repliedMessage: z.ZodLazy<z.ZodObject<{
9476
9563
  id: z.ZodString;
@@ -9479,7 +9566,7 @@ export declare const messengerContract: {
9479
9566
  deletedAt: z.ZodNullable<z.ZodDate>;
9480
9567
  message: z.ZodString;
9481
9568
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9482
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
9569
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
9483
9570
  readAt: z.ZodDate;
9484
9571
  metadata: z.ZodAny;
9485
9572
  platformId: z.ZodString;
@@ -9500,9 +9587,10 @@ export declare const messengerContract: {
9500
9587
  fileSize: z.ZodNumber;
9501
9588
  fileKey: z.ZodString;
9502
9589
  fileUrl: z.ZodNullable<z.ZodString>;
9503
- status: z.ZodOptional<z.ZodString>;
9590
+ status: z.ZodNullable<z.ZodString>;
9504
9591
  }, "strip", z.ZodTypeAny, {
9505
9592
  id: string;
9593
+ status: string | null;
9506
9594
  createdAt: Date;
9507
9595
  updatedAt: Date;
9508
9596
  deletedAt: Date | null;
@@ -9511,9 +9599,9 @@ export declare const messengerContract: {
9511
9599
  bucketName: string;
9512
9600
  fileSize: number;
9513
9601
  fileUrl: string | null;
9514
- status?: string | undefined;
9515
9602
  }, {
9516
9603
  id: string;
9604
+ status: string | null;
9517
9605
  createdAt: Date;
9518
9606
  updatedAt: Date;
9519
9607
  deletedAt: Date | null;
@@ -9522,7 +9610,6 @@ export declare const messengerContract: {
9522
9610
  bucketName: string;
9523
9611
  fileSize: number;
9524
9612
  fileUrl: string | null;
9525
- status?: string | undefined;
9526
9613
  }>;
9527
9614
  actor: z.ZodObject<{
9528
9615
  id: z.ZodString;
@@ -10137,7 +10224,7 @@ export declare const messengerContract: {
10137
10224
  };
10138
10225
  }>;
10139
10226
  }, "strip", z.ZodTypeAny, {
10140
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10227
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10141
10228
  message: string;
10142
10229
  id: string;
10143
10230
  url: string;
@@ -10191,6 +10278,7 @@ export declare const messengerContract: {
10191
10278
  };
10192
10279
  upload: {
10193
10280
  id: string;
10281
+ status: string | null;
10194
10282
  createdAt: Date;
10195
10283
  updatedAt: Date;
10196
10284
  deletedAt: Date | null;
@@ -10199,7 +10287,6 @@ export declare const messengerContract: {
10199
10287
  bucketName: string;
10200
10288
  fileSize: number;
10201
10289
  fileUrl: string | null;
10202
- status?: string | undefined;
10203
10290
  };
10204
10291
  assignee: {
10205
10292
  id: string;
@@ -10299,7 +10386,7 @@ export declare const messengerContract: {
10299
10386
  metadata?: any;
10300
10387
  template?: any;
10301
10388
  }, {
10302
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10389
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
10303
10390
  message: string;
10304
10391
  id: string;
10305
10392
  url: string;
@@ -10353,6 +10440,7 @@ export declare const messengerContract: {
10353
10440
  };
10354
10441
  upload: {
10355
10442
  id: string;
10443
+ status: string | null;
10356
10444
  createdAt: Date;
10357
10445
  updatedAt: Date;
10358
10446
  deletedAt: Date | null;
@@ -10361,7 +10449,6 @@ export declare const messengerContract: {
10361
10449
  bucketName: string;
10362
10450
  fileSize: number;
10363
10451
  fileUrl: string | null;
10364
- status?: string | undefined;
10365
10452
  };
10366
10453
  assignee: {
10367
10454
  id: string;
@@ -11101,7 +11188,7 @@ export declare const messengerContract: {
11101
11188
  editedMessageid: z.ZodString;
11102
11189
  label: z.ZodOptional<z.ZodString>;
11103
11190
  }, "strip", z.ZodTypeAny, {
11104
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11191
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11105
11192
  message: string;
11106
11193
  id: string;
11107
11194
  url: string;
@@ -11155,6 +11242,7 @@ export declare const messengerContract: {
11155
11242
  };
11156
11243
  upload: {
11157
11244
  id: string;
11245
+ status: string | null;
11158
11246
  createdAt: Date;
11159
11247
  updatedAt: Date;
11160
11248
  deletedAt: Date | null;
@@ -11163,7 +11251,6 @@ export declare const messengerContract: {
11163
11251
  bucketName: string;
11164
11252
  fileSize: number;
11165
11253
  fileUrl: string | null;
11166
- status?: string | undefined;
11167
11254
  };
11168
11255
  assignee: {
11169
11256
  id: string;
@@ -11224,15 +11311,18 @@ export declare const messengerContract: {
11224
11311
  additionalCredentials?: any;
11225
11312
  senderId?: string | undefined;
11226
11313
  whatsapp?: {
11227
- email: string;
11228
- wabaExternalId: string;
11229
- phoneNumberId: string;
11230
- wabaBusinessId?: string | undefined;
11231
- clientId?: string | undefined;
11232
- channelId?: string | undefined;
11233
- status?: "active" | "pending" | undefined;
11314
+ wabaBusinessId?: string | null | undefined;
11315
+ wabaExternalId?: string | null | undefined;
11316
+ phoneNumberId?: string | null | undefined;
11317
+ email?: string | null | undefined;
11318
+ clientId?: string | null | undefined;
11319
+ channelId?: string | null | undefined;
11320
+ waapiInstanceId?: string | null | undefined;
11321
+ qr?: string | null | undefined;
11322
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11234
11323
  apiKey?: string | undefined;
11235
11324
  tier?: "basic" | "regular" | "premium" | undefined;
11325
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11236
11326
  } | undefined;
11237
11327
  vonageCredentials?: {
11238
11328
  apiKey: string;
@@ -11404,6 +11494,7 @@ export declare const messengerContract: {
11404
11494
  dateValue: Date | null;
11405
11495
  uploads: {
11406
11496
  id: string;
11497
+ status: string | null;
11407
11498
  createdAt: Date;
11408
11499
  updatedAt: Date;
11409
11500
  deletedAt: Date | null;
@@ -11412,7 +11503,6 @@ export declare const messengerContract: {
11412
11503
  bucketName: string;
11413
11504
  fileSize: number;
11414
11505
  fileUrl: string | null;
11415
- status?: string | undefined;
11416
11506
  }[];
11417
11507
  }[];
11418
11508
  company: {
@@ -11651,7 +11741,7 @@ export declare const messengerContract: {
11651
11741
  previewUrl: string;
11652
11742
  imageSetId: string;
11653
11743
  repliedMessage: {
11654
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11744
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11655
11745
  message: string;
11656
11746
  id: string;
11657
11747
  url: string;
@@ -11705,6 +11795,7 @@ export declare const messengerContract: {
11705
11795
  };
11706
11796
  upload: {
11707
11797
  id: string;
11798
+ status: string | null;
11708
11799
  createdAt: Date;
11709
11800
  updatedAt: Date;
11710
11801
  deletedAt: Date | null;
@@ -11713,7 +11804,6 @@ export declare const messengerContract: {
11713
11804
  bucketName: string;
11714
11805
  fileSize: number;
11715
11806
  fileUrl: string | null;
11716
- status?: string | undefined;
11717
11807
  };
11718
11808
  assignee: {
11719
11809
  id: string;
@@ -11862,7 +11952,7 @@ export declare const messengerContract: {
11862
11952
  template?: any;
11863
11953
  label?: string | undefined;
11864
11954
  }, {
11865
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11955
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
11866
11956
  message: string;
11867
11957
  id: string;
11868
11958
  url: string;
@@ -11916,6 +12006,7 @@ export declare const messengerContract: {
11916
12006
  };
11917
12007
  upload: {
11918
12008
  id: string;
12009
+ status: string | null;
11919
12010
  createdAt: Date;
11920
12011
  updatedAt: Date;
11921
12012
  deletedAt: Date | null;
@@ -11924,7 +12015,6 @@ export declare const messengerContract: {
11924
12015
  bucketName: string;
11925
12016
  fileSize: number;
11926
12017
  fileUrl: string | null;
11927
- status?: string | undefined;
11928
12018
  };
11929
12019
  assignee: {
11930
12020
  id: string;
@@ -11985,15 +12075,18 @@ export declare const messengerContract: {
11985
12075
  additionalCredentials?: any;
11986
12076
  senderId?: string | undefined;
11987
12077
  whatsapp?: {
11988
- email: string;
11989
- wabaExternalId: string;
11990
- phoneNumberId: string;
11991
- wabaBusinessId?: string | undefined;
11992
- clientId?: string | undefined;
11993
- channelId?: string | undefined;
11994
- status?: "active" | "pending" | undefined;
12078
+ wabaBusinessId?: string | null | undefined;
12079
+ wabaExternalId?: string | null | undefined;
12080
+ phoneNumberId?: string | null | undefined;
12081
+ email?: string | null | undefined;
12082
+ clientId?: string | null | undefined;
12083
+ channelId?: string | null | undefined;
12084
+ waapiInstanceId?: string | null | undefined;
12085
+ qr?: string | null | undefined;
12086
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11995
12087
  apiKey?: string | undefined;
11996
12088
  tier?: "basic" | "regular" | "premium" | undefined;
12089
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11997
12090
  } | undefined;
11998
12091
  vonageCredentials?: {
11999
12092
  apiKey: string;
@@ -12165,6 +12258,7 @@ export declare const messengerContract: {
12165
12258
  dateValue: Date | null;
12166
12259
  uploads: {
12167
12260
  id: string;
12261
+ status: string | null;
12168
12262
  createdAt: Date;
12169
12263
  updatedAt: Date;
12170
12264
  deletedAt: Date | null;
@@ -12173,7 +12267,6 @@ export declare const messengerContract: {
12173
12267
  bucketName: string;
12174
12268
  fileSize: number;
12175
12269
  fileUrl: string | null;
12176
- status?: string | undefined;
12177
12270
  }[];
12178
12271
  }[];
12179
12272
  company: {
@@ -12412,7 +12505,7 @@ export declare const messengerContract: {
12412
12505
  previewUrl: string;
12413
12506
  imageSetId: string;
12414
12507
  repliedMessage: {
12415
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12508
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12416
12509
  message: string;
12417
12510
  id: string;
12418
12511
  url: string;
@@ -12466,6 +12559,7 @@ export declare const messengerContract: {
12466
12559
  };
12467
12560
  upload: {
12468
12561
  id: string;
12562
+ status: string | null;
12469
12563
  createdAt: Date;
12470
12564
  updatedAt: Date;
12471
12565
  deletedAt: Date | null;
@@ -12474,7 +12568,6 @@ export declare const messengerContract: {
12474
12568
  bucketName: string;
12475
12569
  fileSize: number;
12476
12570
  fileUrl: string | null;
12477
- status?: string | undefined;
12478
12571
  };
12479
12572
  assignee: {
12480
12573
  id: string;
@@ -12624,7 +12717,7 @@ export declare const messengerContract: {
12624
12717
  label?: string | undefined;
12625
12718
  }>>>;
12626
12719
  }, "strip", z.ZodTypeAny, {
12627
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12720
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
12628
12721
  message: string;
12629
12722
  id: string;
12630
12723
  url: string;
@@ -12678,6 +12771,7 @@ export declare const messengerContract: {
12678
12771
  };
12679
12772
  upload: {
12680
12773
  id: string;
12774
+ status: string | null;
12681
12775
  createdAt: Date;
12682
12776
  updatedAt: Date;
12683
12777
  deletedAt: Date | null;
@@ -12686,7 +12780,6 @@ export declare const messengerContract: {
12686
12780
  bucketName: string;
12687
12781
  fileSize: number;
12688
12782
  fileUrl: string | null;
12689
- status?: string | undefined;
12690
12783
  };
12691
12784
  assignee: {
12692
12785
  id: string;
@@ -12747,15 +12840,18 @@ export declare const messengerContract: {
12747
12840
  additionalCredentials?: any;
12748
12841
  senderId?: string | undefined;
12749
12842
  whatsapp?: {
12750
- email: string;
12751
- wabaExternalId: string;
12752
- phoneNumberId: string;
12753
- wabaBusinessId?: string | undefined;
12754
- clientId?: string | undefined;
12755
- channelId?: string | undefined;
12756
- status?: "active" | "pending" | undefined;
12843
+ wabaBusinessId?: string | null | undefined;
12844
+ wabaExternalId?: string | null | undefined;
12845
+ phoneNumberId?: string | null | undefined;
12846
+ email?: string | null | undefined;
12847
+ clientId?: string | null | undefined;
12848
+ channelId?: string | null | undefined;
12849
+ waapiInstanceId?: string | null | undefined;
12850
+ qr?: string | null | undefined;
12851
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12757
12852
  apiKey?: string | undefined;
12758
12853
  tier?: "basic" | "regular" | "premium" | undefined;
12854
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12759
12855
  } | undefined;
12760
12856
  vonageCredentials?: {
12761
12857
  apiKey: string;
@@ -12927,6 +13023,7 @@ export declare const messengerContract: {
12927
13023
  dateValue: Date | null;
12928
13024
  uploads: {
12929
13025
  id: string;
13026
+ status: string | null;
12930
13027
  createdAt: Date;
12931
13028
  updatedAt: Date;
12932
13029
  deletedAt: Date | null;
@@ -12935,7 +13032,6 @@ export declare const messengerContract: {
12935
13032
  bucketName: string;
12936
13033
  fileSize: number;
12937
13034
  fileUrl: string | null;
12938
- status?: string | undefined;
12939
13035
  }[];
12940
13036
  }[];
12941
13037
  company: {
@@ -13174,7 +13270,7 @@ export declare const messengerContract: {
13174
13270
  previewUrl: string;
13175
13271
  imageSetId: string;
13176
13272
  repliedMessage: {
13177
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13273
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13178
13274
  message: string;
13179
13275
  id: string;
13180
13276
  url: string;
@@ -13228,6 +13324,7 @@ export declare const messengerContract: {
13228
13324
  };
13229
13325
  upload: {
13230
13326
  id: string;
13327
+ status: string | null;
13231
13328
  createdAt: Date;
13232
13329
  updatedAt: Date;
13233
13330
  deletedAt: Date | null;
@@ -13236,7 +13333,6 @@ export declare const messengerContract: {
13236
13333
  bucketName: string;
13237
13334
  fileSize: number;
13238
13335
  fileUrl: string | null;
13239
- status?: string | undefined;
13240
13336
  };
13241
13337
  assignee: {
13242
13338
  id: string;
@@ -13385,7 +13481,7 @@ export declare const messengerContract: {
13385
13481
  template?: any;
13386
13482
  metadata?: any;
13387
13483
  fromMessage?: {
13388
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13484
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13389
13485
  message: string;
13390
13486
  id: string;
13391
13487
  url: string;
@@ -13439,6 +13535,7 @@ export declare const messengerContract: {
13439
13535
  };
13440
13536
  upload: {
13441
13537
  id: string;
13538
+ status: string | null;
13442
13539
  createdAt: Date;
13443
13540
  updatedAt: Date;
13444
13541
  deletedAt: Date | null;
@@ -13447,7 +13544,6 @@ export declare const messengerContract: {
13447
13544
  bucketName: string;
13448
13545
  fileSize: number;
13449
13546
  fileUrl: string | null;
13450
- status?: string | undefined;
13451
13547
  };
13452
13548
  assignee: {
13453
13549
  id: string;
@@ -13508,15 +13604,18 @@ export declare const messengerContract: {
13508
13604
  additionalCredentials?: any;
13509
13605
  senderId?: string | undefined;
13510
13606
  whatsapp?: {
13511
- email: string;
13512
- wabaExternalId: string;
13513
- phoneNumberId: string;
13514
- wabaBusinessId?: string | undefined;
13515
- clientId?: string | undefined;
13516
- channelId?: string | undefined;
13517
- status?: "active" | "pending" | undefined;
13607
+ wabaBusinessId?: string | null | undefined;
13608
+ wabaExternalId?: string | null | undefined;
13609
+ phoneNumberId?: string | null | undefined;
13610
+ email?: string | null | undefined;
13611
+ clientId?: string | null | undefined;
13612
+ channelId?: string | null | undefined;
13613
+ waapiInstanceId?: string | null | undefined;
13614
+ qr?: string | null | undefined;
13615
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13518
13616
  apiKey?: string | undefined;
13519
13617
  tier?: "basic" | "regular" | "premium" | undefined;
13618
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13520
13619
  } | undefined;
13521
13620
  vonageCredentials?: {
13522
13621
  apiKey: string;
@@ -13688,6 +13787,7 @@ export declare const messengerContract: {
13688
13787
  dateValue: Date | null;
13689
13788
  uploads: {
13690
13789
  id: string;
13790
+ status: string | null;
13691
13791
  createdAt: Date;
13692
13792
  updatedAt: Date;
13693
13793
  deletedAt: Date | null;
@@ -13696,7 +13796,6 @@ export declare const messengerContract: {
13696
13796
  bucketName: string;
13697
13797
  fileSize: number;
13698
13798
  fileUrl: string | null;
13699
- status?: string | undefined;
13700
13799
  }[];
13701
13800
  }[];
13702
13801
  company: {
@@ -13935,7 +14034,7 @@ export declare const messengerContract: {
13935
14034
  previewUrl: string;
13936
14035
  imageSetId: string;
13937
14036
  repliedMessage: {
13938
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14037
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
13939
14038
  message: string;
13940
14039
  id: string;
13941
14040
  url: string;
@@ -13989,6 +14088,7 @@ export declare const messengerContract: {
13989
14088
  };
13990
14089
  upload: {
13991
14090
  id: string;
14091
+ status: string | null;
13992
14092
  createdAt: Date;
13993
14093
  updatedAt: Date;
13994
14094
  deletedAt: Date | null;
@@ -13997,7 +14097,6 @@ export declare const messengerContract: {
13997
14097
  bucketName: string;
13998
14098
  fileSize: number;
13999
14099
  fileUrl: string | null;
14000
- status?: string | undefined;
14001
14100
  };
14002
14101
  assignee: {
14003
14102
  id: string;
@@ -14147,7 +14246,7 @@ export declare const messengerContract: {
14147
14246
  label?: string | undefined;
14148
14247
  } | null | undefined;
14149
14248
  }, {
14150
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14249
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14151
14250
  message: string;
14152
14251
  id: string;
14153
14252
  url: string;
@@ -14201,6 +14300,7 @@ export declare const messengerContract: {
14201
14300
  };
14202
14301
  upload: {
14203
14302
  id: string;
14303
+ status: string | null;
14204
14304
  createdAt: Date;
14205
14305
  updatedAt: Date;
14206
14306
  deletedAt: Date | null;
@@ -14209,7 +14309,6 @@ export declare const messengerContract: {
14209
14309
  bucketName: string;
14210
14310
  fileSize: number;
14211
14311
  fileUrl: string | null;
14212
- status?: string | undefined;
14213
14312
  };
14214
14313
  assignee: {
14215
14314
  id: string;
@@ -14270,15 +14369,18 @@ export declare const messengerContract: {
14270
14369
  additionalCredentials?: any;
14271
14370
  senderId?: string | undefined;
14272
14371
  whatsapp?: {
14273
- email: string;
14274
- wabaExternalId: string;
14275
- phoneNumberId: string;
14276
- wabaBusinessId?: string | undefined;
14277
- clientId?: string | undefined;
14278
- channelId?: string | undefined;
14279
- status?: "active" | "pending" | undefined;
14372
+ wabaBusinessId?: string | null | undefined;
14373
+ wabaExternalId?: string | null | undefined;
14374
+ phoneNumberId?: string | null | undefined;
14375
+ email?: string | null | undefined;
14376
+ clientId?: string | null | undefined;
14377
+ channelId?: string | null | undefined;
14378
+ waapiInstanceId?: string | null | undefined;
14379
+ qr?: string | null | undefined;
14380
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14280
14381
  apiKey?: string | undefined;
14281
14382
  tier?: "basic" | "regular" | "premium" | undefined;
14383
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14282
14384
  } | undefined;
14283
14385
  vonageCredentials?: {
14284
14386
  apiKey: string;
@@ -14450,6 +14552,7 @@ export declare const messengerContract: {
14450
14552
  dateValue: Date | null;
14451
14553
  uploads: {
14452
14554
  id: string;
14555
+ status: string | null;
14453
14556
  createdAt: Date;
14454
14557
  updatedAt: Date;
14455
14558
  deletedAt: Date | null;
@@ -14458,7 +14561,6 @@ export declare const messengerContract: {
14458
14561
  bucketName: string;
14459
14562
  fileSize: number;
14460
14563
  fileUrl: string | null;
14461
- status?: string | undefined;
14462
14564
  }[];
14463
14565
  }[];
14464
14566
  company: {
@@ -14697,7 +14799,7 @@ export declare const messengerContract: {
14697
14799
  previewUrl: string;
14698
14800
  imageSetId: string;
14699
14801
  repliedMessage: {
14700
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14802
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14701
14803
  message: string;
14702
14804
  id: string;
14703
14805
  url: string;
@@ -14751,6 +14853,7 @@ export declare const messengerContract: {
14751
14853
  };
14752
14854
  upload: {
14753
14855
  id: string;
14856
+ status: string | null;
14754
14857
  createdAt: Date;
14755
14858
  updatedAt: Date;
14756
14859
  deletedAt: Date | null;
@@ -14759,7 +14862,6 @@ export declare const messengerContract: {
14759
14862
  bucketName: string;
14760
14863
  fileSize: number;
14761
14864
  fileUrl: string | null;
14762
- status?: string | undefined;
14763
14865
  };
14764
14866
  assignee: {
14765
14867
  id: string;
@@ -14908,7 +15010,7 @@ export declare const messengerContract: {
14908
15010
  template?: any;
14909
15011
  metadata?: any;
14910
15012
  fromMessage?: {
14911
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15013
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
14912
15014
  message: string;
14913
15015
  id: string;
14914
15016
  url: string;
@@ -14962,6 +15064,7 @@ export declare const messengerContract: {
14962
15064
  };
14963
15065
  upload: {
14964
15066
  id: string;
15067
+ status: string | null;
14965
15068
  createdAt: Date;
14966
15069
  updatedAt: Date;
14967
15070
  deletedAt: Date | null;
@@ -14970,7 +15073,6 @@ export declare const messengerContract: {
14970
15073
  bucketName: string;
14971
15074
  fileSize: number;
14972
15075
  fileUrl: string | null;
14973
- status?: string | undefined;
14974
15076
  };
14975
15077
  assignee: {
14976
15078
  id: string;
@@ -15031,15 +15133,18 @@ export declare const messengerContract: {
15031
15133
  additionalCredentials?: any;
15032
15134
  senderId?: string | undefined;
15033
15135
  whatsapp?: {
15034
- email: string;
15035
- wabaExternalId: string;
15036
- phoneNumberId: string;
15037
- wabaBusinessId?: string | undefined;
15038
- clientId?: string | undefined;
15039
- channelId?: string | undefined;
15040
- status?: "active" | "pending" | undefined;
15136
+ wabaBusinessId?: string | null | undefined;
15137
+ wabaExternalId?: string | null | undefined;
15138
+ phoneNumberId?: string | null | undefined;
15139
+ email?: string | null | undefined;
15140
+ clientId?: string | null | undefined;
15141
+ channelId?: string | null | undefined;
15142
+ waapiInstanceId?: string | null | undefined;
15143
+ qr?: string | null | undefined;
15144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15041
15145
  apiKey?: string | undefined;
15042
15146
  tier?: "basic" | "regular" | "premium" | undefined;
15147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15043
15148
  } | undefined;
15044
15149
  vonageCredentials?: {
15045
15150
  apiKey: string;
@@ -15211,6 +15316,7 @@ export declare const messengerContract: {
15211
15316
  dateValue: Date | null;
15212
15317
  uploads: {
15213
15318
  id: string;
15319
+ status: string | null;
15214
15320
  createdAt: Date;
15215
15321
  updatedAt: Date;
15216
15322
  deletedAt: Date | null;
@@ -15219,7 +15325,6 @@ export declare const messengerContract: {
15219
15325
  bucketName: string;
15220
15326
  fileSize: number;
15221
15327
  fileUrl: string | null;
15222
- status?: string | undefined;
15223
15328
  }[];
15224
15329
  }[];
15225
15330
  company: {
@@ -15458,7 +15563,7 @@ export declare const messengerContract: {
15458
15563
  previewUrl: string;
15459
15564
  imageSetId: string;
15460
15565
  repliedMessage: {
15461
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15566
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15462
15567
  message: string;
15463
15568
  id: string;
15464
15569
  url: string;
@@ -15512,6 +15617,7 @@ export declare const messengerContract: {
15512
15617
  };
15513
15618
  upload: {
15514
15619
  id: string;
15620
+ status: string | null;
15515
15621
  createdAt: Date;
15516
15622
  updatedAt: Date;
15517
15623
  deletedAt: Date | null;
@@ -15520,7 +15626,6 @@ export declare const messengerContract: {
15520
15626
  bucketName: string;
15521
15627
  fileSize: number;
15522
15628
  fileUrl: string | null;
15523
- status?: string | undefined;
15524
15629
  };
15525
15630
  assignee: {
15526
15631
  id: string;
@@ -15672,7 +15777,7 @@ export declare const messengerContract: {
15672
15777
  }>;
15673
15778
  }, "strip", z.ZodTypeAny, {
15674
15779
  data: {
15675
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15780
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
15676
15781
  message: string;
15677
15782
  id: string;
15678
15783
  url: string;
@@ -15726,6 +15831,7 @@ export declare const messengerContract: {
15726
15831
  };
15727
15832
  upload: {
15728
15833
  id: string;
15834
+ status: string | null;
15729
15835
  createdAt: Date;
15730
15836
  updatedAt: Date;
15731
15837
  deletedAt: Date | null;
@@ -15734,7 +15840,6 @@ export declare const messengerContract: {
15734
15840
  bucketName: string;
15735
15841
  fileSize: number;
15736
15842
  fileUrl: string | null;
15737
- status?: string | undefined;
15738
15843
  };
15739
15844
  assignee: {
15740
15845
  id: string;
@@ -15795,15 +15900,18 @@ export declare const messengerContract: {
15795
15900
  additionalCredentials?: any;
15796
15901
  senderId?: string | undefined;
15797
15902
  whatsapp?: {
15798
- email: string;
15799
- wabaExternalId: string;
15800
- phoneNumberId: string;
15801
- wabaBusinessId?: string | undefined;
15802
- clientId?: string | undefined;
15803
- channelId?: string | undefined;
15804
- status?: "active" | "pending" | undefined;
15903
+ wabaBusinessId?: string | null | undefined;
15904
+ wabaExternalId?: string | null | undefined;
15905
+ phoneNumberId?: string | null | undefined;
15906
+ email?: string | null | undefined;
15907
+ clientId?: string | null | undefined;
15908
+ channelId?: string | null | undefined;
15909
+ waapiInstanceId?: string | null | undefined;
15910
+ qr?: string | null | undefined;
15911
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15805
15912
  apiKey?: string | undefined;
15806
15913
  tier?: "basic" | "regular" | "premium" | undefined;
15914
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15807
15915
  } | undefined;
15808
15916
  vonageCredentials?: {
15809
15917
  apiKey: string;
@@ -15975,6 +16083,7 @@ export declare const messengerContract: {
15975
16083
  dateValue: Date | null;
15976
16084
  uploads: {
15977
16085
  id: string;
16086
+ status: string | null;
15978
16087
  createdAt: Date;
15979
16088
  updatedAt: Date;
15980
16089
  deletedAt: Date | null;
@@ -15983,7 +16092,6 @@ export declare const messengerContract: {
15983
16092
  bucketName: string;
15984
16093
  fileSize: number;
15985
16094
  fileUrl: string | null;
15986
- status?: string | undefined;
15987
16095
  }[];
15988
16096
  }[];
15989
16097
  company: {
@@ -16222,7 +16330,7 @@ export declare const messengerContract: {
16222
16330
  previewUrl: string;
16223
16331
  imageSetId: string;
16224
16332
  repliedMessage: {
16225
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16333
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16226
16334
  message: string;
16227
16335
  id: string;
16228
16336
  url: string;
@@ -16276,6 +16384,7 @@ export declare const messengerContract: {
16276
16384
  };
16277
16385
  upload: {
16278
16386
  id: string;
16387
+ status: string | null;
16279
16388
  createdAt: Date;
16280
16389
  updatedAt: Date;
16281
16390
  deletedAt: Date | null;
@@ -16284,7 +16393,6 @@ export declare const messengerContract: {
16284
16393
  bucketName: string;
16285
16394
  fileSize: number;
16286
16395
  fileUrl: string | null;
16287
- status?: string | undefined;
16288
16396
  };
16289
16397
  assignee: {
16290
16398
  id: string;
@@ -16433,7 +16541,7 @@ export declare const messengerContract: {
16433
16541
  template?: any;
16434
16542
  metadata?: any;
16435
16543
  fromMessage?: {
16436
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16544
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16437
16545
  message: string;
16438
16546
  id: string;
16439
16547
  url: string;
@@ -16487,6 +16595,7 @@ export declare const messengerContract: {
16487
16595
  };
16488
16596
  upload: {
16489
16597
  id: string;
16598
+ status: string | null;
16490
16599
  createdAt: Date;
16491
16600
  updatedAt: Date;
16492
16601
  deletedAt: Date | null;
@@ -16495,7 +16604,6 @@ export declare const messengerContract: {
16495
16604
  bucketName: string;
16496
16605
  fileSize: number;
16497
16606
  fileUrl: string | null;
16498
- status?: string | undefined;
16499
16607
  };
16500
16608
  assignee: {
16501
16609
  id: string;
@@ -16556,15 +16664,18 @@ export declare const messengerContract: {
16556
16664
  additionalCredentials?: any;
16557
16665
  senderId?: string | undefined;
16558
16666
  whatsapp?: {
16559
- email: string;
16560
- wabaExternalId: string;
16561
- phoneNumberId: string;
16562
- wabaBusinessId?: string | undefined;
16563
- clientId?: string | undefined;
16564
- channelId?: string | undefined;
16565
- status?: "active" | "pending" | undefined;
16667
+ wabaBusinessId?: string | null | undefined;
16668
+ wabaExternalId?: string | null | undefined;
16669
+ phoneNumberId?: string | null | undefined;
16670
+ email?: string | null | undefined;
16671
+ clientId?: string | null | undefined;
16672
+ channelId?: string | null | undefined;
16673
+ waapiInstanceId?: string | null | undefined;
16674
+ qr?: string | null | undefined;
16675
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16566
16676
  apiKey?: string | undefined;
16567
16677
  tier?: "basic" | "regular" | "premium" | undefined;
16678
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16568
16679
  } | undefined;
16569
16680
  vonageCredentials?: {
16570
16681
  apiKey: string;
@@ -16736,6 +16847,7 @@ export declare const messengerContract: {
16736
16847
  dateValue: Date | null;
16737
16848
  uploads: {
16738
16849
  id: string;
16850
+ status: string | null;
16739
16851
  createdAt: Date;
16740
16852
  updatedAt: Date;
16741
16853
  deletedAt: Date | null;
@@ -16744,7 +16856,6 @@ export declare const messengerContract: {
16744
16856
  bucketName: string;
16745
16857
  fileSize: number;
16746
16858
  fileUrl: string | null;
16747
- status?: string | undefined;
16748
16859
  }[];
16749
16860
  }[];
16750
16861
  company: {
@@ -16983,7 +17094,7 @@ export declare const messengerContract: {
16983
17094
  previewUrl: string;
16984
17095
  imageSetId: string;
16985
17096
  repliedMessage: {
16986
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17097
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
16987
17098
  message: string;
16988
17099
  id: string;
16989
17100
  url: string;
@@ -17037,6 +17148,7 @@ export declare const messengerContract: {
17037
17148
  };
17038
17149
  upload: {
17039
17150
  id: string;
17151
+ status: string | null;
17040
17152
  createdAt: Date;
17041
17153
  updatedAt: Date;
17042
17154
  deletedAt: Date | null;
@@ -17045,7 +17157,6 @@ export declare const messengerContract: {
17045
17157
  bucketName: string;
17046
17158
  fileSize: number;
17047
17159
  fileUrl: string | null;
17048
- status?: string | undefined;
17049
17160
  };
17050
17161
  assignee: {
17051
17162
  id: string;
@@ -17198,7 +17309,7 @@ export declare const messengerContract: {
17198
17309
  requestId: string;
17199
17310
  }, {
17200
17311
  data: {
17201
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17312
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17202
17313
  message: string;
17203
17314
  id: string;
17204
17315
  url: string;
@@ -17252,6 +17363,7 @@ export declare const messengerContract: {
17252
17363
  };
17253
17364
  upload: {
17254
17365
  id: string;
17366
+ status: string | null;
17255
17367
  createdAt: Date;
17256
17368
  updatedAt: Date;
17257
17369
  deletedAt: Date | null;
@@ -17260,7 +17372,6 @@ export declare const messengerContract: {
17260
17372
  bucketName: string;
17261
17373
  fileSize: number;
17262
17374
  fileUrl: string | null;
17263
- status?: string | undefined;
17264
17375
  };
17265
17376
  assignee: {
17266
17377
  id: string;
@@ -17321,15 +17432,18 @@ export declare const messengerContract: {
17321
17432
  additionalCredentials?: any;
17322
17433
  senderId?: string | undefined;
17323
17434
  whatsapp?: {
17324
- email: string;
17325
- wabaExternalId: string;
17326
- phoneNumberId: string;
17327
- wabaBusinessId?: string | undefined;
17328
- clientId?: string | undefined;
17329
- channelId?: string | undefined;
17330
- status?: "active" | "pending" | undefined;
17435
+ wabaBusinessId?: string | null | undefined;
17436
+ wabaExternalId?: string | null | undefined;
17437
+ phoneNumberId?: string | null | undefined;
17438
+ email?: string | null | undefined;
17439
+ clientId?: string | null | undefined;
17440
+ channelId?: string | null | undefined;
17441
+ waapiInstanceId?: string | null | undefined;
17442
+ qr?: string | null | undefined;
17443
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17331
17444
  apiKey?: string | undefined;
17332
17445
  tier?: "basic" | "regular" | "premium" | undefined;
17446
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17333
17447
  } | undefined;
17334
17448
  vonageCredentials?: {
17335
17449
  apiKey: string;
@@ -17501,6 +17615,7 @@ export declare const messengerContract: {
17501
17615
  dateValue: Date | null;
17502
17616
  uploads: {
17503
17617
  id: string;
17618
+ status: string | null;
17504
17619
  createdAt: Date;
17505
17620
  updatedAt: Date;
17506
17621
  deletedAt: Date | null;
@@ -17509,7 +17624,6 @@ export declare const messengerContract: {
17509
17624
  bucketName: string;
17510
17625
  fileSize: number;
17511
17626
  fileUrl: string | null;
17512
- status?: string | undefined;
17513
17627
  }[];
17514
17628
  }[];
17515
17629
  company: {
@@ -17748,7 +17862,7 @@ export declare const messengerContract: {
17748
17862
  previewUrl: string;
17749
17863
  imageSetId: string;
17750
17864
  repliedMessage: {
17751
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17865
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17752
17866
  message: string;
17753
17867
  id: string;
17754
17868
  url: string;
@@ -17802,6 +17916,7 @@ export declare const messengerContract: {
17802
17916
  };
17803
17917
  upload: {
17804
17918
  id: string;
17919
+ status: string | null;
17805
17920
  createdAt: Date;
17806
17921
  updatedAt: Date;
17807
17922
  deletedAt: Date | null;
@@ -17810,7 +17925,6 @@ export declare const messengerContract: {
17810
17925
  bucketName: string;
17811
17926
  fileSize: number;
17812
17927
  fileUrl: string | null;
17813
- status?: string | undefined;
17814
17928
  };
17815
17929
  assignee: {
17816
17930
  id: string;
@@ -17959,7 +18073,7 @@ export declare const messengerContract: {
17959
18073
  template?: any;
17960
18074
  metadata?: any;
17961
18075
  fromMessage?: {
17962
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18076
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
17963
18077
  message: string;
17964
18078
  id: string;
17965
18079
  url: string;
@@ -18013,6 +18127,7 @@ export declare const messengerContract: {
18013
18127
  };
18014
18128
  upload: {
18015
18129
  id: string;
18130
+ status: string | null;
18016
18131
  createdAt: Date;
18017
18132
  updatedAt: Date;
18018
18133
  deletedAt: Date | null;
@@ -18021,7 +18136,6 @@ export declare const messengerContract: {
18021
18136
  bucketName: string;
18022
18137
  fileSize: number;
18023
18138
  fileUrl: string | null;
18024
- status?: string | undefined;
18025
18139
  };
18026
18140
  assignee: {
18027
18141
  id: string;
@@ -18082,15 +18196,18 @@ export declare const messengerContract: {
18082
18196
  additionalCredentials?: any;
18083
18197
  senderId?: string | undefined;
18084
18198
  whatsapp?: {
18085
- email: string;
18086
- wabaExternalId: string;
18087
- phoneNumberId: string;
18088
- wabaBusinessId?: string | undefined;
18089
- clientId?: string | undefined;
18090
- channelId?: string | undefined;
18091
- status?: "active" | "pending" | undefined;
18199
+ wabaBusinessId?: string | null | undefined;
18200
+ wabaExternalId?: string | null | undefined;
18201
+ phoneNumberId?: string | null | undefined;
18202
+ email?: string | null | undefined;
18203
+ clientId?: string | null | undefined;
18204
+ channelId?: string | null | undefined;
18205
+ waapiInstanceId?: string | null | undefined;
18206
+ qr?: string | null | undefined;
18207
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18092
18208
  apiKey?: string | undefined;
18093
18209
  tier?: "basic" | "regular" | "premium" | undefined;
18210
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18094
18211
  } | undefined;
18095
18212
  vonageCredentials?: {
18096
18213
  apiKey: string;
@@ -18262,6 +18379,7 @@ export declare const messengerContract: {
18262
18379
  dateValue: Date | null;
18263
18380
  uploads: {
18264
18381
  id: string;
18382
+ status: string | null;
18265
18383
  createdAt: Date;
18266
18384
  updatedAt: Date;
18267
18385
  deletedAt: Date | null;
@@ -18270,7 +18388,6 @@ export declare const messengerContract: {
18270
18388
  bucketName: string;
18271
18389
  fileSize: number;
18272
18390
  fileUrl: string | null;
18273
- status?: string | undefined;
18274
18391
  }[];
18275
18392
  }[];
18276
18393
  company: {
@@ -18509,7 +18626,7 @@ export declare const messengerContract: {
18509
18626
  previewUrl: string;
18510
18627
  imageSetId: string;
18511
18628
  repliedMessage: {
18512
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18629
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
18513
18630
  message: string;
18514
18631
  id: string;
18515
18632
  url: string;
@@ -18563,6 +18680,7 @@ export declare const messengerContract: {
18563
18680
  };
18564
18681
  upload: {
18565
18682
  id: string;
18683
+ status: string | null;
18566
18684
  createdAt: Date;
18567
18685
  updatedAt: Date;
18568
18686
  deletedAt: Date | null;
@@ -18571,7 +18689,6 @@ export declare const messengerContract: {
18571
18689
  bucketName: string;
18572
18690
  fileSize: number;
18573
18691
  fileUrl: string | null;
18574
- status?: string | undefined;
18575
18692
  };
18576
18693
  assignee: {
18577
18694
  id: string;
@@ -18759,35 +18876,44 @@ export declare const messengerContract: {
18759
18876
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18760
18877
  senderId: z.ZodOptional<z.ZodString>;
18761
18878
  whatsapp: z.ZodOptional<z.ZodObject<{
18762
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18763
- wabaExternalId: z.ZodString;
18764
- phoneNumberId: z.ZodString;
18765
- email: z.ZodString;
18766
- clientId: z.ZodOptional<z.ZodString>;
18767
- channelId: z.ZodOptional<z.ZodString>;
18768
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18879
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18880
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18881
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18882
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18883
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18884
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18885
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18886
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18887
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18769
18888
  apiKey: z.ZodOptional<z.ZodString>;
18770
18889
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18890
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18771
18891
  }, "strip", z.ZodTypeAny, {
18772
- email: string;
18773
- wabaExternalId: string;
18774
- phoneNumberId: string;
18775
- wabaBusinessId?: string | undefined;
18776
- clientId?: string | undefined;
18777
- channelId?: string | undefined;
18778
- status?: "active" | "pending" | undefined;
18892
+ wabaBusinessId?: string | null | undefined;
18893
+ wabaExternalId?: string | null | undefined;
18894
+ phoneNumberId?: string | null | undefined;
18895
+ email?: string | null | undefined;
18896
+ clientId?: string | null | undefined;
18897
+ channelId?: string | null | undefined;
18898
+ waapiInstanceId?: string | null | undefined;
18899
+ qr?: string | null | undefined;
18900
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18779
18901
  apiKey?: string | undefined;
18780
18902
  tier?: "basic" | "regular" | "premium" | undefined;
18903
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18781
18904
  }, {
18782
- email: string;
18783
- wabaExternalId: string;
18784
- phoneNumberId: string;
18785
- wabaBusinessId?: string | undefined;
18786
- clientId?: string | undefined;
18787
- channelId?: string | undefined;
18788
- status?: "active" | "pending" | undefined;
18905
+ wabaBusinessId?: string | null | undefined;
18906
+ wabaExternalId?: string | null | undefined;
18907
+ phoneNumberId?: string | null | undefined;
18908
+ email?: string | null | undefined;
18909
+ clientId?: string | null | undefined;
18910
+ channelId?: string | null | undefined;
18911
+ waapiInstanceId?: string | null | undefined;
18912
+ qr?: string | null | undefined;
18913
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18789
18914
  apiKey?: string | undefined;
18790
18915
  tier?: "basic" | "regular" | "premium" | undefined;
18916
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18791
18917
  }>>;
18792
18918
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18793
18919
  mobileNumber: z.ZodString;
@@ -18813,15 +18939,18 @@ export declare const messengerContract: {
18813
18939
  additionalCredentials?: any;
18814
18940
  senderId?: string | undefined;
18815
18941
  whatsapp?: {
18816
- email: string;
18817
- wabaExternalId: string;
18818
- phoneNumberId: string;
18819
- wabaBusinessId?: string | undefined;
18820
- clientId?: string | undefined;
18821
- channelId?: string | undefined;
18822
- status?: "active" | "pending" | undefined;
18942
+ wabaBusinessId?: string | null | undefined;
18943
+ wabaExternalId?: string | null | undefined;
18944
+ phoneNumberId?: string | null | undefined;
18945
+ email?: string | null | undefined;
18946
+ clientId?: string | null | undefined;
18947
+ channelId?: string | null | undefined;
18948
+ waapiInstanceId?: string | null | undefined;
18949
+ qr?: string | null | undefined;
18950
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18823
18951
  apiKey?: string | undefined;
18824
18952
  tier?: "basic" | "regular" | "premium" | undefined;
18953
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18825
18954
  } | undefined;
18826
18955
  vonageCredentials?: {
18827
18956
  apiKey: string;
@@ -18839,15 +18968,18 @@ export declare const messengerContract: {
18839
18968
  additionalCredentials?: any;
18840
18969
  senderId?: string | undefined;
18841
18970
  whatsapp?: {
18842
- email: string;
18843
- wabaExternalId: string;
18844
- phoneNumberId: string;
18845
- wabaBusinessId?: string | undefined;
18846
- clientId?: string | undefined;
18847
- channelId?: string | undefined;
18848
- status?: "active" | "pending" | undefined;
18971
+ wabaBusinessId?: string | null | undefined;
18972
+ wabaExternalId?: string | null | undefined;
18973
+ phoneNumberId?: string | null | undefined;
18974
+ email?: string | null | undefined;
18975
+ clientId?: string | null | undefined;
18976
+ channelId?: string | null | undefined;
18977
+ waapiInstanceId?: string | null | undefined;
18978
+ qr?: string | null | undefined;
18979
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18849
18980
  apiKey?: string | undefined;
18850
18981
  tier?: "basic" | "regular" | "premium" | undefined;
18982
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18851
18983
  } | undefined;
18852
18984
  vonageCredentials?: {
18853
18985
  apiKey: string;
@@ -18895,15 +19027,18 @@ export declare const messengerContract: {
18895
19027
  additionalCredentials?: any;
18896
19028
  senderId?: string | undefined;
18897
19029
  whatsapp?: {
18898
- email: string;
18899
- wabaExternalId: string;
18900
- phoneNumberId: string;
18901
- wabaBusinessId?: string | undefined;
18902
- clientId?: string | undefined;
18903
- channelId?: string | undefined;
18904
- status?: "active" | "pending" | undefined;
19030
+ wabaBusinessId?: string | null | undefined;
19031
+ wabaExternalId?: string | null | undefined;
19032
+ phoneNumberId?: string | null | undefined;
19033
+ email?: string | null | undefined;
19034
+ clientId?: string | null | undefined;
19035
+ channelId?: string | null | undefined;
19036
+ waapiInstanceId?: string | null | undefined;
19037
+ qr?: string | null | undefined;
19038
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18905
19039
  apiKey?: string | undefined;
18906
19040
  tier?: "basic" | "regular" | "premium" | undefined;
19041
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18907
19042
  } | undefined;
18908
19043
  vonageCredentials?: {
18909
19044
  apiKey: string;
@@ -18939,15 +19074,18 @@ export declare const messengerContract: {
18939
19074
  additionalCredentials?: any;
18940
19075
  senderId?: string | undefined;
18941
19076
  whatsapp?: {
18942
- email: string;
18943
- wabaExternalId: string;
18944
- phoneNumberId: string;
18945
- wabaBusinessId?: string | undefined;
18946
- clientId?: string | undefined;
18947
- channelId?: string | undefined;
18948
- status?: "active" | "pending" | undefined;
19077
+ wabaBusinessId?: string | null | undefined;
19078
+ wabaExternalId?: string | null | undefined;
19079
+ phoneNumberId?: string | null | undefined;
19080
+ email?: string | null | undefined;
19081
+ clientId?: string | null | undefined;
19082
+ channelId?: string | null | undefined;
19083
+ waapiInstanceId?: string | null | undefined;
19084
+ qr?: string | null | undefined;
19085
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18949
19086
  apiKey?: string | undefined;
18950
19087
  tier?: "basic" | "regular" | "premium" | undefined;
19088
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18951
19089
  } | undefined;
18952
19090
  vonageCredentials?: {
18953
19091
  apiKey: string;
@@ -18988,35 +19126,44 @@ export declare const messengerContract: {
18988
19126
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18989
19127
  senderId: z.ZodOptional<z.ZodString>;
18990
19128
  whatsapp: z.ZodOptional<z.ZodObject<{
18991
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18992
- wabaExternalId: z.ZodString;
18993
- phoneNumberId: z.ZodString;
18994
- email: z.ZodString;
18995
- clientId: z.ZodOptional<z.ZodString>;
18996
- channelId: z.ZodOptional<z.ZodString>;
18997
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19129
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19130
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19131
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19132
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19133
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19134
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19135
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19136
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19137
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18998
19138
  apiKey: z.ZodOptional<z.ZodString>;
18999
19139
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19140
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19000
19141
  }, "strip", z.ZodTypeAny, {
19001
- email: string;
19002
- wabaExternalId: string;
19003
- phoneNumberId: string;
19004
- wabaBusinessId?: string | undefined;
19005
- clientId?: string | undefined;
19006
- channelId?: string | undefined;
19007
- status?: "active" | "pending" | undefined;
19142
+ wabaBusinessId?: string | null | undefined;
19143
+ wabaExternalId?: string | null | undefined;
19144
+ phoneNumberId?: string | null | undefined;
19145
+ email?: string | null | undefined;
19146
+ clientId?: string | null | undefined;
19147
+ channelId?: string | null | undefined;
19148
+ waapiInstanceId?: string | null | undefined;
19149
+ qr?: string | null | undefined;
19150
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19008
19151
  apiKey?: string | undefined;
19009
19152
  tier?: "basic" | "regular" | "premium" | undefined;
19153
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19010
19154
  }, {
19011
- email: string;
19012
- wabaExternalId: string;
19013
- phoneNumberId: string;
19014
- wabaBusinessId?: string | undefined;
19015
- clientId?: string | undefined;
19016
- channelId?: string | undefined;
19017
- status?: "active" | "pending" | undefined;
19155
+ wabaBusinessId?: string | null | undefined;
19156
+ wabaExternalId?: string | null | undefined;
19157
+ phoneNumberId?: string | null | undefined;
19158
+ email?: string | null | undefined;
19159
+ clientId?: string | null | undefined;
19160
+ channelId?: string | null | undefined;
19161
+ waapiInstanceId?: string | null | undefined;
19162
+ qr?: string | null | undefined;
19163
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19018
19164
  apiKey?: string | undefined;
19019
19165
  tier?: "basic" | "regular" | "premium" | undefined;
19166
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19020
19167
  }>>;
19021
19168
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19022
19169
  mobileNumber: z.ZodString;
@@ -19042,15 +19189,18 @@ export declare const messengerContract: {
19042
19189
  additionalCredentials?: any;
19043
19190
  senderId?: string | undefined;
19044
19191
  whatsapp?: {
19045
- email: string;
19046
- wabaExternalId: string;
19047
- phoneNumberId: string;
19048
- wabaBusinessId?: string | undefined;
19049
- clientId?: string | undefined;
19050
- channelId?: string | undefined;
19051
- status?: "active" | "pending" | undefined;
19192
+ wabaBusinessId?: string | null | undefined;
19193
+ wabaExternalId?: string | null | undefined;
19194
+ phoneNumberId?: string | null | undefined;
19195
+ email?: string | null | undefined;
19196
+ clientId?: string | null | undefined;
19197
+ channelId?: string | null | undefined;
19198
+ waapiInstanceId?: string | null | undefined;
19199
+ qr?: string | null | undefined;
19200
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19052
19201
  apiKey?: string | undefined;
19053
19202
  tier?: "basic" | "regular" | "premium" | undefined;
19203
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19054
19204
  } | undefined;
19055
19205
  vonageCredentials?: {
19056
19206
  apiKey: string;
@@ -19068,15 +19218,18 @@ export declare const messengerContract: {
19068
19218
  additionalCredentials?: any;
19069
19219
  senderId?: string | undefined;
19070
19220
  whatsapp?: {
19071
- email: string;
19072
- wabaExternalId: string;
19073
- phoneNumberId: string;
19074
- wabaBusinessId?: string | undefined;
19075
- clientId?: string | undefined;
19076
- channelId?: string | undefined;
19077
- status?: "active" | "pending" | undefined;
19221
+ wabaBusinessId?: string | null | undefined;
19222
+ wabaExternalId?: string | null | undefined;
19223
+ phoneNumberId?: string | null | undefined;
19224
+ email?: string | null | undefined;
19225
+ clientId?: string | null | undefined;
19226
+ channelId?: string | null | undefined;
19227
+ waapiInstanceId?: string | null | undefined;
19228
+ qr?: string | null | undefined;
19229
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19078
19230
  apiKey?: string | undefined;
19079
19231
  tier?: "basic" | "regular" | "premium" | undefined;
19232
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19080
19233
  } | undefined;
19081
19234
  vonageCredentials?: {
19082
19235
  apiKey: string;
@@ -19124,15 +19277,18 @@ export declare const messengerContract: {
19124
19277
  additionalCredentials?: any;
19125
19278
  senderId?: string | undefined;
19126
19279
  whatsapp?: {
19127
- email: string;
19128
- wabaExternalId: string;
19129
- phoneNumberId: string;
19130
- wabaBusinessId?: string | undefined;
19131
- clientId?: string | undefined;
19132
- channelId?: string | undefined;
19133
- status?: "active" | "pending" | undefined;
19280
+ wabaBusinessId?: string | null | undefined;
19281
+ wabaExternalId?: string | null | undefined;
19282
+ phoneNumberId?: string | null | undefined;
19283
+ email?: string | null | undefined;
19284
+ clientId?: string | null | undefined;
19285
+ channelId?: string | null | undefined;
19286
+ waapiInstanceId?: string | null | undefined;
19287
+ qr?: string | null | undefined;
19288
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19134
19289
  apiKey?: string | undefined;
19135
19290
  tier?: "basic" | "regular" | "premium" | undefined;
19291
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19136
19292
  } | undefined;
19137
19293
  vonageCredentials?: {
19138
19294
  apiKey: string;
@@ -19168,15 +19324,18 @@ export declare const messengerContract: {
19168
19324
  additionalCredentials?: any;
19169
19325
  senderId?: string | undefined;
19170
19326
  whatsapp?: {
19171
- email: string;
19172
- wabaExternalId: string;
19173
- phoneNumberId: string;
19174
- wabaBusinessId?: string | undefined;
19175
- clientId?: string | undefined;
19176
- channelId?: string | undefined;
19177
- status?: "active" | "pending" | undefined;
19327
+ wabaBusinessId?: string | null | undefined;
19328
+ wabaExternalId?: string | null | undefined;
19329
+ phoneNumberId?: string | null | undefined;
19330
+ email?: string | null | undefined;
19331
+ clientId?: string | null | undefined;
19332
+ channelId?: string | null | undefined;
19333
+ waapiInstanceId?: string | null | undefined;
19334
+ qr?: string | null | undefined;
19335
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19178
19336
  apiKey?: string | undefined;
19179
19337
  tier?: "basic" | "regular" | "premium" | undefined;
19338
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19180
19339
  } | undefined;
19181
19340
  vonageCredentials?: {
19182
19341
  apiKey: string;
@@ -19214,15 +19373,18 @@ export declare const messengerContract: {
19214
19373
  additionalCredentials?: any;
19215
19374
  senderId?: string | undefined;
19216
19375
  whatsapp?: {
19217
- email: string;
19218
- wabaExternalId: string;
19219
- phoneNumberId: string;
19220
- wabaBusinessId?: string | undefined;
19221
- clientId?: string | undefined;
19222
- channelId?: string | undefined;
19223
- status?: "active" | "pending" | undefined;
19376
+ wabaBusinessId?: string | null | undefined;
19377
+ wabaExternalId?: string | null | undefined;
19378
+ phoneNumberId?: string | null | undefined;
19379
+ email?: string | null | undefined;
19380
+ clientId?: string | null | undefined;
19381
+ channelId?: string | null | undefined;
19382
+ waapiInstanceId?: string | null | undefined;
19383
+ qr?: string | null | undefined;
19384
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19224
19385
  apiKey?: string | undefined;
19225
19386
  tier?: "basic" | "regular" | "premium" | undefined;
19387
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19226
19388
  } | undefined;
19227
19389
  vonageCredentials?: {
19228
19390
  apiKey: string;
@@ -19261,15 +19423,18 @@ export declare const messengerContract: {
19261
19423
  additionalCredentials?: any;
19262
19424
  senderId?: string | undefined;
19263
19425
  whatsapp?: {
19264
- email: string;
19265
- wabaExternalId: string;
19266
- phoneNumberId: string;
19267
- wabaBusinessId?: string | undefined;
19268
- clientId?: string | undefined;
19269
- channelId?: string | undefined;
19270
- status?: "active" | "pending" | undefined;
19426
+ wabaBusinessId?: string | null | undefined;
19427
+ wabaExternalId?: string | null | undefined;
19428
+ phoneNumberId?: string | null | undefined;
19429
+ email?: string | null | undefined;
19430
+ clientId?: string | null | undefined;
19431
+ channelId?: string | null | undefined;
19432
+ waapiInstanceId?: string | null | undefined;
19433
+ qr?: string | null | undefined;
19434
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19271
19435
  apiKey?: string | undefined;
19272
19436
  tier?: "basic" | "regular" | "premium" | undefined;
19437
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19273
19438
  } | undefined;
19274
19439
  vonageCredentials?: {
19275
19440
  apiKey: string;
@@ -19332,35 +19497,44 @@ export declare const messengerContract: {
19332
19497
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19333
19498
  senderId: z.ZodOptional<z.ZodString>;
19334
19499
  whatsapp: z.ZodOptional<z.ZodObject<{
19335
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19336
- wabaExternalId: z.ZodString;
19337
- phoneNumberId: z.ZodString;
19338
- email: z.ZodString;
19339
- clientId: z.ZodOptional<z.ZodString>;
19340
- channelId: z.ZodOptional<z.ZodString>;
19341
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19500
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19501
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19502
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19503
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19504
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19505
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19506
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19507
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19508
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19342
19509
  apiKey: z.ZodOptional<z.ZodString>;
19343
19510
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19511
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19344
19512
  }, "strip", z.ZodTypeAny, {
19345
- email: string;
19346
- wabaExternalId: string;
19347
- phoneNumberId: string;
19348
- wabaBusinessId?: string | undefined;
19349
- clientId?: string | undefined;
19350
- channelId?: string | undefined;
19351
- status?: "active" | "pending" | undefined;
19513
+ wabaBusinessId?: string | null | undefined;
19514
+ wabaExternalId?: string | null | undefined;
19515
+ phoneNumberId?: string | null | undefined;
19516
+ email?: string | null | undefined;
19517
+ clientId?: string | null | undefined;
19518
+ channelId?: string | null | undefined;
19519
+ waapiInstanceId?: string | null | undefined;
19520
+ qr?: string | null | undefined;
19521
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19352
19522
  apiKey?: string | undefined;
19353
19523
  tier?: "basic" | "regular" | "premium" | undefined;
19524
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19354
19525
  }, {
19355
- email: string;
19356
- wabaExternalId: string;
19357
- phoneNumberId: string;
19358
- wabaBusinessId?: string | undefined;
19359
- clientId?: string | undefined;
19360
- channelId?: string | undefined;
19361
- status?: "active" | "pending" | undefined;
19526
+ wabaBusinessId?: string | null | undefined;
19527
+ wabaExternalId?: string | null | undefined;
19528
+ phoneNumberId?: string | null | undefined;
19529
+ email?: string | null | undefined;
19530
+ clientId?: string | null | undefined;
19531
+ channelId?: string | null | undefined;
19532
+ waapiInstanceId?: string | null | undefined;
19533
+ qr?: string | null | undefined;
19534
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19362
19535
  apiKey?: string | undefined;
19363
19536
  tier?: "basic" | "regular" | "premium" | undefined;
19537
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19364
19538
  }>>;
19365
19539
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19366
19540
  mobileNumber: z.ZodString;
@@ -19386,15 +19560,18 @@ export declare const messengerContract: {
19386
19560
  additionalCredentials?: any;
19387
19561
  senderId?: string | undefined;
19388
19562
  whatsapp?: {
19389
- email: string;
19390
- wabaExternalId: string;
19391
- phoneNumberId: string;
19392
- wabaBusinessId?: string | undefined;
19393
- clientId?: string | undefined;
19394
- channelId?: string | undefined;
19395
- status?: "active" | "pending" | undefined;
19563
+ wabaBusinessId?: string | null | undefined;
19564
+ wabaExternalId?: string | null | undefined;
19565
+ phoneNumberId?: string | null | undefined;
19566
+ email?: string | null | undefined;
19567
+ clientId?: string | null | undefined;
19568
+ channelId?: string | null | undefined;
19569
+ waapiInstanceId?: string | null | undefined;
19570
+ qr?: string | null | undefined;
19571
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19396
19572
  apiKey?: string | undefined;
19397
19573
  tier?: "basic" | "regular" | "premium" | undefined;
19574
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19398
19575
  } | undefined;
19399
19576
  vonageCredentials?: {
19400
19577
  apiKey: string;
@@ -19412,15 +19589,18 @@ export declare const messengerContract: {
19412
19589
  additionalCredentials?: any;
19413
19590
  senderId?: string | undefined;
19414
19591
  whatsapp?: {
19415
- email: string;
19416
- wabaExternalId: string;
19417
- phoneNumberId: string;
19418
- wabaBusinessId?: string | undefined;
19419
- clientId?: string | undefined;
19420
- channelId?: string | undefined;
19421
- status?: "active" | "pending" | undefined;
19592
+ wabaBusinessId?: string | null | undefined;
19593
+ wabaExternalId?: string | null | undefined;
19594
+ phoneNumberId?: string | null | undefined;
19595
+ email?: string | null | undefined;
19596
+ clientId?: string | null | undefined;
19597
+ channelId?: string | null | undefined;
19598
+ waapiInstanceId?: string | null | undefined;
19599
+ qr?: string | null | undefined;
19600
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19422
19601
  apiKey?: string | undefined;
19423
19602
  tier?: "basic" | "regular" | "premium" | undefined;
19603
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19424
19604
  } | undefined;
19425
19605
  vonageCredentials?: {
19426
19606
  apiKey: string;
@@ -19468,15 +19648,18 @@ export declare const messengerContract: {
19468
19648
  additionalCredentials?: any;
19469
19649
  senderId?: string | undefined;
19470
19650
  whatsapp?: {
19471
- email: string;
19472
- wabaExternalId: string;
19473
- phoneNumberId: string;
19474
- wabaBusinessId?: string | undefined;
19475
- clientId?: string | undefined;
19476
- channelId?: string | undefined;
19477
- status?: "active" | "pending" | undefined;
19651
+ wabaBusinessId?: string | null | undefined;
19652
+ wabaExternalId?: string | null | undefined;
19653
+ phoneNumberId?: string | null | undefined;
19654
+ email?: string | null | undefined;
19655
+ clientId?: string | null | undefined;
19656
+ channelId?: string | null | undefined;
19657
+ waapiInstanceId?: string | null | undefined;
19658
+ qr?: string | null | undefined;
19659
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19478
19660
  apiKey?: string | undefined;
19479
19661
  tier?: "basic" | "regular" | "premium" | undefined;
19662
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19480
19663
  } | undefined;
19481
19664
  vonageCredentials?: {
19482
19665
  apiKey: string;
@@ -19512,15 +19695,18 @@ export declare const messengerContract: {
19512
19695
  additionalCredentials?: any;
19513
19696
  senderId?: string | undefined;
19514
19697
  whatsapp?: {
19515
- email: string;
19516
- wabaExternalId: string;
19517
- phoneNumberId: string;
19518
- wabaBusinessId?: string | undefined;
19519
- clientId?: string | undefined;
19520
- channelId?: string | undefined;
19521
- status?: "active" | "pending" | undefined;
19698
+ wabaBusinessId?: string | null | undefined;
19699
+ wabaExternalId?: string | null | undefined;
19700
+ phoneNumberId?: string | null | undefined;
19701
+ email?: string | null | undefined;
19702
+ clientId?: string | null | undefined;
19703
+ channelId?: string | null | undefined;
19704
+ waapiInstanceId?: string | null | undefined;
19705
+ qr?: string | null | undefined;
19706
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19522
19707
  apiKey?: string | undefined;
19523
19708
  tier?: "basic" | "regular" | "premium" | undefined;
19709
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19524
19710
  } | undefined;
19525
19711
  vonageCredentials?: {
19526
19712
  apiKey: string;
@@ -19561,35 +19747,44 @@ export declare const messengerContract: {
19561
19747
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19562
19748
  senderId: z.ZodOptional<z.ZodString>;
19563
19749
  whatsapp: z.ZodOptional<z.ZodObject<{
19564
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19565
- wabaExternalId: z.ZodString;
19566
- phoneNumberId: z.ZodString;
19567
- email: z.ZodString;
19568
- clientId: z.ZodOptional<z.ZodString>;
19569
- channelId: z.ZodOptional<z.ZodString>;
19570
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19750
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19751
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19752
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19753
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19754
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19755
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19756
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19757
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19758
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19571
19759
  apiKey: z.ZodOptional<z.ZodString>;
19572
19760
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19761
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19573
19762
  }, "strip", z.ZodTypeAny, {
19574
- email: string;
19575
- wabaExternalId: string;
19576
- phoneNumberId: string;
19577
- wabaBusinessId?: string | undefined;
19578
- clientId?: string | undefined;
19579
- channelId?: string | undefined;
19580
- status?: "active" | "pending" | undefined;
19763
+ wabaBusinessId?: string | null | undefined;
19764
+ wabaExternalId?: string | null | undefined;
19765
+ phoneNumberId?: string | null | undefined;
19766
+ email?: string | null | undefined;
19767
+ clientId?: string | null | undefined;
19768
+ channelId?: string | null | undefined;
19769
+ waapiInstanceId?: string | null | undefined;
19770
+ qr?: string | null | undefined;
19771
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19581
19772
  apiKey?: string | undefined;
19582
19773
  tier?: "basic" | "regular" | "premium" | undefined;
19774
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19583
19775
  }, {
19584
- email: string;
19585
- wabaExternalId: string;
19586
- phoneNumberId: string;
19587
- wabaBusinessId?: string | undefined;
19588
- clientId?: string | undefined;
19589
- channelId?: string | undefined;
19590
- status?: "active" | "pending" | undefined;
19776
+ wabaBusinessId?: string | null | undefined;
19777
+ wabaExternalId?: string | null | undefined;
19778
+ phoneNumberId?: string | null | undefined;
19779
+ email?: string | null | undefined;
19780
+ clientId?: string | null | undefined;
19781
+ channelId?: string | null | undefined;
19782
+ waapiInstanceId?: string | null | undefined;
19783
+ qr?: string | null | undefined;
19784
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19591
19785
  apiKey?: string | undefined;
19592
19786
  tier?: "basic" | "regular" | "premium" | undefined;
19787
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19593
19788
  }>>;
19594
19789
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19595
19790
  mobileNumber: z.ZodString;
@@ -19615,15 +19810,18 @@ export declare const messengerContract: {
19615
19810
  additionalCredentials?: any;
19616
19811
  senderId?: string | undefined;
19617
19812
  whatsapp?: {
19618
- email: string;
19619
- wabaExternalId: string;
19620
- phoneNumberId: string;
19621
- wabaBusinessId?: string | undefined;
19622
- clientId?: string | undefined;
19623
- channelId?: string | undefined;
19624
- status?: "active" | "pending" | undefined;
19813
+ wabaBusinessId?: string | null | undefined;
19814
+ wabaExternalId?: string | null | undefined;
19815
+ phoneNumberId?: string | null | undefined;
19816
+ email?: string | null | undefined;
19817
+ clientId?: string | null | undefined;
19818
+ channelId?: string | null | undefined;
19819
+ waapiInstanceId?: string | null | undefined;
19820
+ qr?: string | null | undefined;
19821
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19625
19822
  apiKey?: string | undefined;
19626
19823
  tier?: "basic" | "regular" | "premium" | undefined;
19824
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19627
19825
  } | undefined;
19628
19826
  vonageCredentials?: {
19629
19827
  apiKey: string;
@@ -19641,15 +19839,18 @@ export declare const messengerContract: {
19641
19839
  additionalCredentials?: any;
19642
19840
  senderId?: string | undefined;
19643
19841
  whatsapp?: {
19644
- email: string;
19645
- wabaExternalId: string;
19646
- phoneNumberId: string;
19647
- wabaBusinessId?: string | undefined;
19648
- clientId?: string | undefined;
19649
- channelId?: string | undefined;
19650
- status?: "active" | "pending" | undefined;
19842
+ wabaBusinessId?: string | null | undefined;
19843
+ wabaExternalId?: string | null | undefined;
19844
+ phoneNumberId?: string | null | undefined;
19845
+ email?: string | null | undefined;
19846
+ clientId?: string | null | undefined;
19847
+ channelId?: string | null | undefined;
19848
+ waapiInstanceId?: string | null | undefined;
19849
+ qr?: string | null | undefined;
19850
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19651
19851
  apiKey?: string | undefined;
19652
19852
  tier?: "basic" | "regular" | "premium" | undefined;
19853
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19653
19854
  } | undefined;
19654
19855
  vonageCredentials?: {
19655
19856
  apiKey: string;
@@ -19697,15 +19898,18 @@ export declare const messengerContract: {
19697
19898
  additionalCredentials?: any;
19698
19899
  senderId?: string | undefined;
19699
19900
  whatsapp?: {
19700
- email: string;
19701
- wabaExternalId: string;
19702
- phoneNumberId: string;
19703
- wabaBusinessId?: string | undefined;
19704
- clientId?: string | undefined;
19705
- channelId?: string | undefined;
19706
- status?: "active" | "pending" | undefined;
19901
+ wabaBusinessId?: string | null | undefined;
19902
+ wabaExternalId?: string | null | undefined;
19903
+ phoneNumberId?: string | null | undefined;
19904
+ email?: string | null | undefined;
19905
+ clientId?: string | null | undefined;
19906
+ channelId?: string | null | undefined;
19907
+ waapiInstanceId?: string | null | undefined;
19908
+ qr?: string | null | undefined;
19909
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19707
19910
  apiKey?: string | undefined;
19708
19911
  tier?: "basic" | "regular" | "premium" | undefined;
19912
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19709
19913
  } | undefined;
19710
19914
  vonageCredentials?: {
19711
19915
  apiKey: string;
@@ -19741,15 +19945,18 @@ export declare const messengerContract: {
19741
19945
  additionalCredentials?: any;
19742
19946
  senderId?: string | undefined;
19743
19947
  whatsapp?: {
19744
- email: string;
19745
- wabaExternalId: string;
19746
- phoneNumberId: string;
19747
- wabaBusinessId?: string | undefined;
19748
- clientId?: string | undefined;
19749
- channelId?: string | undefined;
19750
- status?: "active" | "pending" | undefined;
19948
+ wabaBusinessId?: string | null | undefined;
19949
+ wabaExternalId?: string | null | undefined;
19950
+ phoneNumberId?: string | null | undefined;
19951
+ email?: string | null | undefined;
19952
+ clientId?: string | null | undefined;
19953
+ channelId?: string | null | undefined;
19954
+ waapiInstanceId?: string | null | undefined;
19955
+ qr?: string | null | undefined;
19956
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19751
19957
  apiKey?: string | undefined;
19752
19958
  tier?: "basic" | "regular" | "premium" | undefined;
19959
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19753
19960
  } | undefined;
19754
19961
  vonageCredentials?: {
19755
19962
  apiKey: string;
@@ -19787,15 +19994,18 @@ export declare const messengerContract: {
19787
19994
  additionalCredentials?: any;
19788
19995
  senderId?: string | undefined;
19789
19996
  whatsapp?: {
19790
- email: string;
19791
- wabaExternalId: string;
19792
- phoneNumberId: string;
19793
- wabaBusinessId?: string | undefined;
19794
- clientId?: string | undefined;
19795
- channelId?: string | undefined;
19796
- status?: "active" | "pending" | undefined;
19997
+ wabaBusinessId?: string | null | undefined;
19998
+ wabaExternalId?: string | null | undefined;
19999
+ phoneNumberId?: string | null | undefined;
20000
+ email?: string | null | undefined;
20001
+ clientId?: string | null | undefined;
20002
+ channelId?: string | null | undefined;
20003
+ waapiInstanceId?: string | null | undefined;
20004
+ qr?: string | null | undefined;
20005
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19797
20006
  apiKey?: string | undefined;
19798
20007
  tier?: "basic" | "regular" | "premium" | undefined;
20008
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19799
20009
  } | undefined;
19800
20010
  vonageCredentials?: {
19801
20011
  apiKey: string;
@@ -19834,15 +20044,18 @@ export declare const messengerContract: {
19834
20044
  additionalCredentials?: any;
19835
20045
  senderId?: string | undefined;
19836
20046
  whatsapp?: {
19837
- email: string;
19838
- wabaExternalId: string;
19839
- phoneNumberId: string;
19840
- wabaBusinessId?: string | undefined;
19841
- clientId?: string | undefined;
19842
- channelId?: string | undefined;
19843
- status?: "active" | "pending" | undefined;
20047
+ wabaBusinessId?: string | null | undefined;
20048
+ wabaExternalId?: string | null | undefined;
20049
+ phoneNumberId?: string | null | undefined;
20050
+ email?: string | null | undefined;
20051
+ clientId?: string | null | undefined;
20052
+ channelId?: string | null | undefined;
20053
+ waapiInstanceId?: string | null | undefined;
20054
+ qr?: string | null | undefined;
20055
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19844
20056
  apiKey?: string | undefined;
19845
20057
  tier?: "basic" | "regular" | "premium" | undefined;
20058
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19846
20059
  } | undefined;
19847
20060
  vonageCredentials?: {
19848
20061
  apiKey: string;
@@ -19917,35 +20130,44 @@ export declare const messengerContract: {
19917
20130
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19918
20131
  senderId: z.ZodOptional<z.ZodString>;
19919
20132
  whatsapp: z.ZodOptional<z.ZodObject<{
19920
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19921
- wabaExternalId: z.ZodString;
19922
- phoneNumberId: z.ZodString;
19923
- email: z.ZodString;
19924
- clientId: z.ZodOptional<z.ZodString>;
19925
- channelId: z.ZodOptional<z.ZodString>;
19926
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20133
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20134
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20135
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20136
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20137
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20138
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20139
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20140
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20141
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19927
20142
  apiKey: z.ZodOptional<z.ZodString>;
19928
20143
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20144
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19929
20145
  }, "strip", z.ZodTypeAny, {
19930
- email: string;
19931
- wabaExternalId: string;
19932
- phoneNumberId: string;
19933
- wabaBusinessId?: string | undefined;
19934
- clientId?: string | undefined;
19935
- channelId?: string | undefined;
19936
- status?: "active" | "pending" | undefined;
20146
+ wabaBusinessId?: string | null | undefined;
20147
+ wabaExternalId?: string | null | undefined;
20148
+ phoneNumberId?: string | null | undefined;
20149
+ email?: string | null | undefined;
20150
+ clientId?: string | null | undefined;
20151
+ channelId?: string | null | undefined;
20152
+ waapiInstanceId?: string | null | undefined;
20153
+ qr?: string | null | undefined;
20154
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19937
20155
  apiKey?: string | undefined;
19938
20156
  tier?: "basic" | "regular" | "premium" | undefined;
20157
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19939
20158
  }, {
19940
- email: string;
19941
- wabaExternalId: string;
19942
- phoneNumberId: string;
19943
- wabaBusinessId?: string | undefined;
19944
- clientId?: string | undefined;
19945
- channelId?: string | undefined;
19946
- status?: "active" | "pending" | undefined;
20159
+ wabaBusinessId?: string | null | undefined;
20160
+ wabaExternalId?: string | null | undefined;
20161
+ phoneNumberId?: string | null | undefined;
20162
+ email?: string | null | undefined;
20163
+ clientId?: string | null | undefined;
20164
+ channelId?: string | null | undefined;
20165
+ waapiInstanceId?: string | null | undefined;
20166
+ qr?: string | null | undefined;
20167
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19947
20168
  apiKey?: string | undefined;
19948
20169
  tier?: "basic" | "regular" | "premium" | undefined;
20170
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19949
20171
  }>>;
19950
20172
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19951
20173
  mobileNumber: z.ZodString;
@@ -19971,15 +20193,18 @@ export declare const messengerContract: {
19971
20193
  additionalCredentials?: any;
19972
20194
  senderId?: string | undefined;
19973
20195
  whatsapp?: {
19974
- email: string;
19975
- wabaExternalId: string;
19976
- phoneNumberId: string;
19977
- wabaBusinessId?: string | undefined;
19978
- clientId?: string | undefined;
19979
- channelId?: string | undefined;
19980
- status?: "active" | "pending" | undefined;
20196
+ wabaBusinessId?: string | null | undefined;
20197
+ wabaExternalId?: string | null | undefined;
20198
+ phoneNumberId?: string | null | undefined;
20199
+ email?: string | null | undefined;
20200
+ clientId?: string | null | undefined;
20201
+ channelId?: string | null | undefined;
20202
+ waapiInstanceId?: string | null | undefined;
20203
+ qr?: string | null | undefined;
20204
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19981
20205
  apiKey?: string | undefined;
19982
20206
  tier?: "basic" | "regular" | "premium" | undefined;
20207
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19983
20208
  } | undefined;
19984
20209
  vonageCredentials?: {
19985
20210
  apiKey: string;
@@ -19997,15 +20222,18 @@ export declare const messengerContract: {
19997
20222
  additionalCredentials?: any;
19998
20223
  senderId?: string | undefined;
19999
20224
  whatsapp?: {
20000
- email: string;
20001
- wabaExternalId: string;
20002
- phoneNumberId: string;
20003
- wabaBusinessId?: string | undefined;
20004
- clientId?: string | undefined;
20005
- channelId?: string | undefined;
20006
- status?: "active" | "pending" | undefined;
20225
+ wabaBusinessId?: string | null | undefined;
20226
+ wabaExternalId?: string | null | undefined;
20227
+ phoneNumberId?: string | null | undefined;
20228
+ email?: string | null | undefined;
20229
+ clientId?: string | null | undefined;
20230
+ channelId?: string | null | undefined;
20231
+ waapiInstanceId?: string | null | undefined;
20232
+ qr?: string | null | undefined;
20233
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20007
20234
  apiKey?: string | undefined;
20008
20235
  tier?: "basic" | "regular" | "premium" | undefined;
20236
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20009
20237
  } | undefined;
20010
20238
  vonageCredentials?: {
20011
20239
  apiKey: string;
@@ -20053,15 +20281,18 @@ export declare const messengerContract: {
20053
20281
  additionalCredentials?: any;
20054
20282
  senderId?: string | undefined;
20055
20283
  whatsapp?: {
20056
- email: string;
20057
- wabaExternalId: string;
20058
- phoneNumberId: string;
20059
- wabaBusinessId?: string | undefined;
20060
- clientId?: string | undefined;
20061
- channelId?: string | undefined;
20062
- status?: "active" | "pending" | undefined;
20284
+ wabaBusinessId?: string | null | undefined;
20285
+ wabaExternalId?: string | null | undefined;
20286
+ phoneNumberId?: string | null | undefined;
20287
+ email?: string | null | undefined;
20288
+ clientId?: string | null | undefined;
20289
+ channelId?: string | null | undefined;
20290
+ waapiInstanceId?: string | null | undefined;
20291
+ qr?: string | null | undefined;
20292
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20063
20293
  apiKey?: string | undefined;
20064
20294
  tier?: "basic" | "regular" | "premium" | undefined;
20295
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20065
20296
  } | undefined;
20066
20297
  vonageCredentials?: {
20067
20298
  apiKey: string;
@@ -20097,15 +20328,18 @@ export declare const messengerContract: {
20097
20328
  additionalCredentials?: any;
20098
20329
  senderId?: string | undefined;
20099
20330
  whatsapp?: {
20100
- email: string;
20101
- wabaExternalId: string;
20102
- phoneNumberId: string;
20103
- wabaBusinessId?: string | undefined;
20104
- clientId?: string | undefined;
20105
- channelId?: string | undefined;
20106
- status?: "active" | "pending" | undefined;
20331
+ wabaBusinessId?: string | null | undefined;
20332
+ wabaExternalId?: string | null | undefined;
20333
+ phoneNumberId?: string | null | undefined;
20334
+ email?: string | null | undefined;
20335
+ clientId?: string | null | undefined;
20336
+ channelId?: string | null | undefined;
20337
+ waapiInstanceId?: string | null | undefined;
20338
+ qr?: string | null | undefined;
20339
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20107
20340
  apiKey?: string | undefined;
20108
20341
  tier?: "basic" | "regular" | "premium" | undefined;
20342
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20109
20343
  } | undefined;
20110
20344
  vonageCredentials?: {
20111
20345
  apiKey: string;
@@ -20143,15 +20377,18 @@ export declare const messengerContract: {
20143
20377
  additionalCredentials?: any;
20144
20378
  senderId?: string | undefined;
20145
20379
  whatsapp?: {
20146
- email: string;
20147
- wabaExternalId: string;
20148
- phoneNumberId: string;
20149
- wabaBusinessId?: string | undefined;
20150
- clientId?: string | undefined;
20151
- channelId?: string | undefined;
20152
- status?: "active" | "pending" | undefined;
20380
+ wabaBusinessId?: string | null | undefined;
20381
+ wabaExternalId?: string | null | undefined;
20382
+ phoneNumberId?: string | null | undefined;
20383
+ email?: string | null | undefined;
20384
+ clientId?: string | null | undefined;
20385
+ channelId?: string | null | undefined;
20386
+ waapiInstanceId?: string | null | undefined;
20387
+ qr?: string | null | undefined;
20388
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20153
20389
  apiKey?: string | undefined;
20154
20390
  tier?: "basic" | "regular" | "premium" | undefined;
20391
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20155
20392
  } | undefined;
20156
20393
  vonageCredentials?: {
20157
20394
  apiKey: string;
@@ -20190,15 +20427,18 @@ export declare const messengerContract: {
20190
20427
  additionalCredentials?: any;
20191
20428
  senderId?: string | undefined;
20192
20429
  whatsapp?: {
20193
- email: string;
20194
- wabaExternalId: string;
20195
- phoneNumberId: string;
20196
- wabaBusinessId?: string | undefined;
20197
- clientId?: string | undefined;
20198
- channelId?: string | undefined;
20199
- status?: "active" | "pending" | undefined;
20430
+ wabaBusinessId?: string | null | undefined;
20431
+ wabaExternalId?: string | null | undefined;
20432
+ phoneNumberId?: string | null | undefined;
20433
+ email?: string | null | undefined;
20434
+ clientId?: string | null | undefined;
20435
+ channelId?: string | null | undefined;
20436
+ waapiInstanceId?: string | null | undefined;
20437
+ qr?: string | null | undefined;
20438
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20200
20439
  apiKey?: string | undefined;
20201
20440
  tier?: "basic" | "regular" | "premium" | undefined;
20441
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20202
20442
  } | undefined;
20203
20443
  vonageCredentials?: {
20204
20444
  apiKey: string;
@@ -20273,35 +20513,44 @@ export declare const messengerContract: {
20273
20513
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20274
20514
  senderId: z.ZodOptional<z.ZodString>;
20275
20515
  whatsapp: z.ZodOptional<z.ZodObject<{
20276
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20277
- wabaExternalId: z.ZodString;
20278
- phoneNumberId: z.ZodString;
20279
- email: z.ZodString;
20280
- clientId: z.ZodOptional<z.ZodString>;
20281
- channelId: z.ZodOptional<z.ZodString>;
20282
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20516
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20517
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20518
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20519
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20520
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20521
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20522
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20523
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20524
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20283
20525
  apiKey: z.ZodOptional<z.ZodString>;
20284
20526
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20527
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20285
20528
  }, "strip", z.ZodTypeAny, {
20286
- email: string;
20287
- wabaExternalId: string;
20288
- phoneNumberId: string;
20289
- wabaBusinessId?: string | undefined;
20290
- clientId?: string | undefined;
20291
- channelId?: string | undefined;
20292
- status?: "active" | "pending" | undefined;
20529
+ wabaBusinessId?: string | null | undefined;
20530
+ wabaExternalId?: string | null | undefined;
20531
+ phoneNumberId?: string | null | undefined;
20532
+ email?: string | null | undefined;
20533
+ clientId?: string | null | undefined;
20534
+ channelId?: string | null | undefined;
20535
+ waapiInstanceId?: string | null | undefined;
20536
+ qr?: string | null | undefined;
20537
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20293
20538
  apiKey?: string | undefined;
20294
20539
  tier?: "basic" | "regular" | "premium" | undefined;
20540
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20295
20541
  }, {
20296
- email: string;
20297
- wabaExternalId: string;
20298
- phoneNumberId: string;
20299
- wabaBusinessId?: string | undefined;
20300
- clientId?: string | undefined;
20301
- channelId?: string | undefined;
20302
- status?: "active" | "pending" | undefined;
20542
+ wabaBusinessId?: string | null | undefined;
20543
+ wabaExternalId?: string | null | undefined;
20544
+ phoneNumberId?: string | null | undefined;
20545
+ email?: string | null | undefined;
20546
+ clientId?: string | null | undefined;
20547
+ channelId?: string | null | undefined;
20548
+ waapiInstanceId?: string | null | undefined;
20549
+ qr?: string | null | undefined;
20550
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20303
20551
  apiKey?: string | undefined;
20304
20552
  tier?: "basic" | "regular" | "premium" | undefined;
20553
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20305
20554
  }>>;
20306
20555
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20307
20556
  mobileNumber: z.ZodString;
@@ -20327,15 +20576,18 @@ export declare const messengerContract: {
20327
20576
  additionalCredentials?: any;
20328
20577
  senderId?: string | undefined;
20329
20578
  whatsapp?: {
20330
- email: string;
20331
- wabaExternalId: string;
20332
- phoneNumberId: string;
20333
- wabaBusinessId?: string | undefined;
20334
- clientId?: string | undefined;
20335
- channelId?: string | undefined;
20336
- status?: "active" | "pending" | undefined;
20579
+ wabaBusinessId?: string | null | undefined;
20580
+ wabaExternalId?: string | null | undefined;
20581
+ phoneNumberId?: string | null | undefined;
20582
+ email?: string | null | undefined;
20583
+ clientId?: string | null | undefined;
20584
+ channelId?: string | null | undefined;
20585
+ waapiInstanceId?: string | null | undefined;
20586
+ qr?: string | null | undefined;
20587
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20337
20588
  apiKey?: string | undefined;
20338
20589
  tier?: "basic" | "regular" | "premium" | undefined;
20590
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20339
20591
  } | undefined;
20340
20592
  vonageCredentials?: {
20341
20593
  apiKey: string;
@@ -20353,15 +20605,18 @@ export declare const messengerContract: {
20353
20605
  additionalCredentials?: any;
20354
20606
  senderId?: string | undefined;
20355
20607
  whatsapp?: {
20356
- email: string;
20357
- wabaExternalId: string;
20358
- phoneNumberId: string;
20359
- wabaBusinessId?: string | undefined;
20360
- clientId?: string | undefined;
20361
- channelId?: string | undefined;
20362
- status?: "active" | "pending" | undefined;
20608
+ wabaBusinessId?: string | null | undefined;
20609
+ wabaExternalId?: string | null | undefined;
20610
+ phoneNumberId?: string | null | undefined;
20611
+ email?: string | null | undefined;
20612
+ clientId?: string | null | undefined;
20613
+ channelId?: string | null | undefined;
20614
+ waapiInstanceId?: string | null | undefined;
20615
+ qr?: string | null | undefined;
20616
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20363
20617
  apiKey?: string | undefined;
20364
20618
  tier?: "basic" | "regular" | "premium" | undefined;
20619
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20365
20620
  } | undefined;
20366
20621
  vonageCredentials?: {
20367
20622
  apiKey: string;
@@ -20409,15 +20664,18 @@ export declare const messengerContract: {
20409
20664
  additionalCredentials?: any;
20410
20665
  senderId?: string | undefined;
20411
20666
  whatsapp?: {
20412
- email: string;
20413
- wabaExternalId: string;
20414
- phoneNumberId: string;
20415
- wabaBusinessId?: string | undefined;
20416
- clientId?: string | undefined;
20417
- channelId?: string | undefined;
20418
- status?: "active" | "pending" | undefined;
20667
+ wabaBusinessId?: string | null | undefined;
20668
+ wabaExternalId?: string | null | undefined;
20669
+ phoneNumberId?: string | null | undefined;
20670
+ email?: string | null | undefined;
20671
+ clientId?: string | null | undefined;
20672
+ channelId?: string | null | undefined;
20673
+ waapiInstanceId?: string | null | undefined;
20674
+ qr?: string | null | undefined;
20675
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20419
20676
  apiKey?: string | undefined;
20420
20677
  tier?: "basic" | "regular" | "premium" | undefined;
20678
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20421
20679
  } | undefined;
20422
20680
  vonageCredentials?: {
20423
20681
  apiKey: string;
@@ -20453,15 +20711,18 @@ export declare const messengerContract: {
20453
20711
  additionalCredentials?: any;
20454
20712
  senderId?: string | undefined;
20455
20713
  whatsapp?: {
20456
- email: string;
20457
- wabaExternalId: string;
20458
- phoneNumberId: string;
20459
- wabaBusinessId?: string | undefined;
20460
- clientId?: string | undefined;
20461
- channelId?: string | undefined;
20462
- status?: "active" | "pending" | undefined;
20714
+ wabaBusinessId?: string | null | undefined;
20715
+ wabaExternalId?: string | null | undefined;
20716
+ phoneNumberId?: string | null | undefined;
20717
+ email?: string | null | undefined;
20718
+ clientId?: string | null | undefined;
20719
+ channelId?: string | null | undefined;
20720
+ waapiInstanceId?: string | null | undefined;
20721
+ qr?: string | null | undefined;
20722
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20463
20723
  apiKey?: string | undefined;
20464
20724
  tier?: "basic" | "regular" | "premium" | undefined;
20725
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20465
20726
  } | undefined;
20466
20727
  vonageCredentials?: {
20467
20728
  apiKey: string;
@@ -20499,15 +20760,18 @@ export declare const messengerContract: {
20499
20760
  additionalCredentials?: any;
20500
20761
  senderId?: string | undefined;
20501
20762
  whatsapp?: {
20502
- email: string;
20503
- wabaExternalId: string;
20504
- phoneNumberId: string;
20505
- wabaBusinessId?: string | undefined;
20506
- clientId?: string | undefined;
20507
- channelId?: string | undefined;
20508
- status?: "active" | "pending" | undefined;
20763
+ wabaBusinessId?: string | null | undefined;
20764
+ wabaExternalId?: string | null | undefined;
20765
+ phoneNumberId?: string | null | undefined;
20766
+ email?: string | null | undefined;
20767
+ clientId?: string | null | undefined;
20768
+ channelId?: string | null | undefined;
20769
+ waapiInstanceId?: string | null | undefined;
20770
+ qr?: string | null | undefined;
20771
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20509
20772
  apiKey?: string | undefined;
20510
20773
  tier?: "basic" | "regular" | "premium" | undefined;
20774
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20511
20775
  } | undefined;
20512
20776
  vonageCredentials?: {
20513
20777
  apiKey: string;
@@ -20546,15 +20810,18 @@ export declare const messengerContract: {
20546
20810
  additionalCredentials?: any;
20547
20811
  senderId?: string | undefined;
20548
20812
  whatsapp?: {
20549
- email: string;
20550
- wabaExternalId: string;
20551
- phoneNumberId: string;
20552
- wabaBusinessId?: string | undefined;
20553
- clientId?: string | undefined;
20554
- channelId?: string | undefined;
20555
- status?: "active" | "pending" | undefined;
20813
+ wabaBusinessId?: string | null | undefined;
20814
+ wabaExternalId?: string | null | undefined;
20815
+ phoneNumberId?: string | null | undefined;
20816
+ email?: string | null | undefined;
20817
+ clientId?: string | null | undefined;
20818
+ channelId?: string | null | undefined;
20819
+ waapiInstanceId?: string | null | undefined;
20820
+ qr?: string | null | undefined;
20821
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20556
20822
  apiKey?: string | undefined;
20557
20823
  tier?: "basic" | "regular" | "premium" | undefined;
20824
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20558
20825
  } | undefined;
20559
20826
  vonageCredentials?: {
20560
20827
  apiKey: string;
@@ -20616,35 +20883,44 @@ export declare const messengerContract: {
20616
20883
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20617
20884
  senderId: z.ZodOptional<z.ZodString>;
20618
20885
  whatsapp: z.ZodOptional<z.ZodObject<{
20619
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20620
- wabaExternalId: z.ZodString;
20621
- phoneNumberId: z.ZodString;
20622
- email: z.ZodString;
20623
- clientId: z.ZodOptional<z.ZodString>;
20624
- channelId: z.ZodOptional<z.ZodString>;
20625
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20886
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20887
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20888
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20889
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20890
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20891
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20892
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20893
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20894
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20626
20895
  apiKey: z.ZodOptional<z.ZodString>;
20627
20896
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20897
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20628
20898
  }, "strip", z.ZodTypeAny, {
20629
- email: string;
20630
- wabaExternalId: string;
20631
- phoneNumberId: string;
20632
- wabaBusinessId?: string | undefined;
20633
- clientId?: string | undefined;
20634
- channelId?: string | undefined;
20635
- status?: "active" | "pending" | undefined;
20899
+ wabaBusinessId?: string | null | undefined;
20900
+ wabaExternalId?: string | null | undefined;
20901
+ phoneNumberId?: string | null | undefined;
20902
+ email?: string | null | undefined;
20903
+ clientId?: string | null | undefined;
20904
+ channelId?: string | null | undefined;
20905
+ waapiInstanceId?: string | null | undefined;
20906
+ qr?: string | null | undefined;
20907
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20636
20908
  apiKey?: string | undefined;
20637
20909
  tier?: "basic" | "regular" | "premium" | undefined;
20910
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20638
20911
  }, {
20639
- email: string;
20640
- wabaExternalId: string;
20641
- phoneNumberId: string;
20642
- wabaBusinessId?: string | undefined;
20643
- clientId?: string | undefined;
20644
- channelId?: string | undefined;
20645
- status?: "active" | "pending" | undefined;
20912
+ wabaBusinessId?: string | null | undefined;
20913
+ wabaExternalId?: string | null | undefined;
20914
+ phoneNumberId?: string | null | undefined;
20915
+ email?: string | null | undefined;
20916
+ clientId?: string | null | undefined;
20917
+ channelId?: string | null | undefined;
20918
+ waapiInstanceId?: string | null | undefined;
20919
+ qr?: string | null | undefined;
20920
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20646
20921
  apiKey?: string | undefined;
20647
20922
  tier?: "basic" | "regular" | "premium" | undefined;
20923
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20648
20924
  }>>;
20649
20925
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20650
20926
  mobileNumber: z.ZodString;
@@ -20670,15 +20946,18 @@ export declare const messengerContract: {
20670
20946
  additionalCredentials?: any;
20671
20947
  senderId?: string | undefined;
20672
20948
  whatsapp?: {
20673
- email: string;
20674
- wabaExternalId: string;
20675
- phoneNumberId: string;
20676
- wabaBusinessId?: string | undefined;
20677
- clientId?: string | undefined;
20678
- channelId?: string | undefined;
20679
- status?: "active" | "pending" | undefined;
20949
+ wabaBusinessId?: string | null | undefined;
20950
+ wabaExternalId?: string | null | undefined;
20951
+ phoneNumberId?: string | null | undefined;
20952
+ email?: string | null | undefined;
20953
+ clientId?: string | null | undefined;
20954
+ channelId?: string | null | undefined;
20955
+ waapiInstanceId?: string | null | undefined;
20956
+ qr?: string | null | undefined;
20957
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20680
20958
  apiKey?: string | undefined;
20681
20959
  tier?: "basic" | "regular" | "premium" | undefined;
20960
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20682
20961
  } | undefined;
20683
20962
  vonageCredentials?: {
20684
20963
  apiKey: string;
@@ -20696,15 +20975,18 @@ export declare const messengerContract: {
20696
20975
  additionalCredentials?: any;
20697
20976
  senderId?: string | undefined;
20698
20977
  whatsapp?: {
20699
- email: string;
20700
- wabaExternalId: string;
20701
- phoneNumberId: string;
20702
- wabaBusinessId?: string | undefined;
20703
- clientId?: string | undefined;
20704
- channelId?: string | undefined;
20705
- status?: "active" | "pending" | undefined;
20978
+ wabaBusinessId?: string | null | undefined;
20979
+ wabaExternalId?: string | null | undefined;
20980
+ phoneNumberId?: string | null | undefined;
20981
+ email?: string | null | undefined;
20982
+ clientId?: string | null | undefined;
20983
+ channelId?: string | null | undefined;
20984
+ waapiInstanceId?: string | null | undefined;
20985
+ qr?: string | null | undefined;
20986
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20706
20987
  apiKey?: string | undefined;
20707
20988
  tier?: "basic" | "regular" | "premium" | undefined;
20989
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20708
20990
  } | undefined;
20709
20991
  vonageCredentials?: {
20710
20992
  apiKey: string;
@@ -20757,15 +21039,18 @@ export declare const messengerContract: {
20757
21039
  additionalCredentials?: any;
20758
21040
  senderId?: string | undefined;
20759
21041
  whatsapp?: {
20760
- email: string;
20761
- wabaExternalId: string;
20762
- phoneNumberId: string;
20763
- wabaBusinessId?: string | undefined;
20764
- clientId?: string | undefined;
20765
- channelId?: string | undefined;
20766
- status?: "active" | "pending" | undefined;
21042
+ wabaBusinessId?: string | null | undefined;
21043
+ wabaExternalId?: string | null | undefined;
21044
+ phoneNumberId?: string | null | undefined;
21045
+ email?: string | null | undefined;
21046
+ clientId?: string | null | undefined;
21047
+ channelId?: string | null | undefined;
21048
+ waapiInstanceId?: string | null | undefined;
21049
+ qr?: string | null | undefined;
21050
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20767
21051
  apiKey?: string | undefined;
20768
21052
  tier?: "basic" | "regular" | "premium" | undefined;
21053
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20769
21054
  } | undefined;
20770
21055
  vonageCredentials?: {
20771
21056
  apiKey: string;
@@ -20805,15 +21090,18 @@ export declare const messengerContract: {
20805
21090
  additionalCredentials?: any;
20806
21091
  senderId?: string | undefined;
20807
21092
  whatsapp?: {
20808
- email: string;
20809
- wabaExternalId: string;
20810
- phoneNumberId: string;
20811
- wabaBusinessId?: string | undefined;
20812
- clientId?: string | undefined;
20813
- channelId?: string | undefined;
20814
- status?: "active" | "pending" | undefined;
21093
+ wabaBusinessId?: string | null | undefined;
21094
+ wabaExternalId?: string | null | undefined;
21095
+ phoneNumberId?: string | null | undefined;
21096
+ email?: string | null | undefined;
21097
+ clientId?: string | null | undefined;
21098
+ channelId?: string | null | undefined;
21099
+ waapiInstanceId?: string | null | undefined;
21100
+ qr?: string | null | undefined;
21101
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20815
21102
  apiKey?: string | undefined;
20816
21103
  tier?: "basic" | "regular" | "premium" | undefined;
21104
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20817
21105
  } | undefined;
20818
21106
  vonageCredentials?: {
20819
21107
  apiKey: string;
@@ -20858,35 +21146,44 @@ export declare const messengerContract: {
20858
21146
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20859
21147
  senderId: z.ZodOptional<z.ZodString>;
20860
21148
  whatsapp: z.ZodOptional<z.ZodObject<{
20861
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20862
- wabaExternalId: z.ZodString;
20863
- phoneNumberId: z.ZodString;
20864
- email: z.ZodString;
20865
- clientId: z.ZodOptional<z.ZodString>;
20866
- channelId: z.ZodOptional<z.ZodString>;
20867
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
21149
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21150
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21151
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21152
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21153
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21154
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21155
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21156
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21157
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20868
21158
  apiKey: z.ZodOptional<z.ZodString>;
20869
21159
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
21160
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20870
21161
  }, "strip", z.ZodTypeAny, {
20871
- email: string;
20872
- wabaExternalId: string;
20873
- phoneNumberId: string;
20874
- wabaBusinessId?: string | undefined;
20875
- clientId?: string | undefined;
20876
- channelId?: string | undefined;
20877
- status?: "active" | "pending" | undefined;
21162
+ wabaBusinessId?: string | null | undefined;
21163
+ wabaExternalId?: string | null | undefined;
21164
+ phoneNumberId?: string | null | undefined;
21165
+ email?: string | null | undefined;
21166
+ clientId?: string | null | undefined;
21167
+ channelId?: string | null | undefined;
21168
+ waapiInstanceId?: string | null | undefined;
21169
+ qr?: string | null | undefined;
21170
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20878
21171
  apiKey?: string | undefined;
20879
21172
  tier?: "basic" | "regular" | "premium" | undefined;
21173
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20880
21174
  }, {
20881
- email: string;
20882
- wabaExternalId: string;
20883
- phoneNumberId: string;
20884
- wabaBusinessId?: string | undefined;
20885
- clientId?: string | undefined;
20886
- channelId?: string | undefined;
20887
- status?: "active" | "pending" | undefined;
21175
+ wabaBusinessId?: string | null | undefined;
21176
+ wabaExternalId?: string | null | undefined;
21177
+ phoneNumberId?: string | null | undefined;
21178
+ email?: string | null | undefined;
21179
+ clientId?: string | null | undefined;
21180
+ channelId?: string | null | undefined;
21181
+ waapiInstanceId?: string | null | undefined;
21182
+ qr?: string | null | undefined;
21183
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20888
21184
  apiKey?: string | undefined;
20889
21185
  tier?: "basic" | "regular" | "premium" | undefined;
21186
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20890
21187
  }>>;
20891
21188
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20892
21189
  mobileNumber: z.ZodString;
@@ -20912,15 +21209,18 @@ export declare const messengerContract: {
20912
21209
  additionalCredentials?: any;
20913
21210
  senderId?: string | undefined;
20914
21211
  whatsapp?: {
20915
- email: string;
20916
- wabaExternalId: string;
20917
- phoneNumberId: string;
20918
- wabaBusinessId?: string | undefined;
20919
- clientId?: string | undefined;
20920
- channelId?: string | undefined;
20921
- status?: "active" | "pending" | undefined;
21212
+ wabaBusinessId?: string | null | undefined;
21213
+ wabaExternalId?: string | null | undefined;
21214
+ phoneNumberId?: string | null | undefined;
21215
+ email?: string | null | undefined;
21216
+ clientId?: string | null | undefined;
21217
+ channelId?: string | null | undefined;
21218
+ waapiInstanceId?: string | null | undefined;
21219
+ qr?: string | null | undefined;
21220
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20922
21221
  apiKey?: string | undefined;
20923
21222
  tier?: "basic" | "regular" | "premium" | undefined;
21223
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20924
21224
  } | undefined;
20925
21225
  vonageCredentials?: {
20926
21226
  apiKey: string;
@@ -20938,15 +21238,18 @@ export declare const messengerContract: {
20938
21238
  additionalCredentials?: any;
20939
21239
  senderId?: string | undefined;
20940
21240
  whatsapp?: {
20941
- email: string;
20942
- wabaExternalId: string;
20943
- phoneNumberId: string;
20944
- wabaBusinessId?: string | undefined;
20945
- clientId?: string | undefined;
20946
- channelId?: string | undefined;
20947
- status?: "active" | "pending" | undefined;
21241
+ wabaBusinessId?: string | null | undefined;
21242
+ wabaExternalId?: string | null | undefined;
21243
+ phoneNumberId?: string | null | undefined;
21244
+ email?: string | null | undefined;
21245
+ clientId?: string | null | undefined;
21246
+ channelId?: string | null | undefined;
21247
+ waapiInstanceId?: string | null | undefined;
21248
+ qr?: string | null | undefined;
21249
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20948
21250
  apiKey?: string | undefined;
20949
21251
  tier?: "basic" | "regular" | "premium" | undefined;
21252
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20950
21253
  } | undefined;
20951
21254
  vonageCredentials?: {
20952
21255
  apiKey: string;
@@ -20994,15 +21297,18 @@ export declare const messengerContract: {
20994
21297
  additionalCredentials?: any;
20995
21298
  senderId?: string | undefined;
20996
21299
  whatsapp?: {
20997
- email: string;
20998
- wabaExternalId: string;
20999
- phoneNumberId: string;
21000
- wabaBusinessId?: string | undefined;
21001
- clientId?: string | undefined;
21002
- channelId?: string | undefined;
21003
- status?: "active" | "pending" | undefined;
21300
+ wabaBusinessId?: string | null | undefined;
21301
+ wabaExternalId?: string | null | undefined;
21302
+ phoneNumberId?: string | null | undefined;
21303
+ email?: string | null | undefined;
21304
+ clientId?: string | null | undefined;
21305
+ channelId?: string | null | undefined;
21306
+ waapiInstanceId?: string | null | undefined;
21307
+ qr?: string | null | undefined;
21308
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21004
21309
  apiKey?: string | undefined;
21005
21310
  tier?: "basic" | "regular" | "premium" | undefined;
21311
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21006
21312
  } | undefined;
21007
21313
  vonageCredentials?: {
21008
21314
  apiKey: string;
@@ -21038,15 +21344,18 @@ export declare const messengerContract: {
21038
21344
  additionalCredentials?: any;
21039
21345
  senderId?: string | undefined;
21040
21346
  whatsapp?: {
21041
- email: string;
21042
- wabaExternalId: string;
21043
- phoneNumberId: string;
21044
- wabaBusinessId?: string | undefined;
21045
- clientId?: string | undefined;
21046
- channelId?: string | undefined;
21047
- status?: "active" | "pending" | undefined;
21347
+ wabaBusinessId?: string | null | undefined;
21348
+ wabaExternalId?: string | null | undefined;
21349
+ phoneNumberId?: string | null | undefined;
21350
+ email?: string | null | undefined;
21351
+ clientId?: string | null | undefined;
21352
+ channelId?: string | null | undefined;
21353
+ waapiInstanceId?: string | null | undefined;
21354
+ qr?: string | null | undefined;
21355
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21048
21356
  apiKey?: string | undefined;
21049
21357
  tier?: "basic" | "regular" | "premium" | undefined;
21358
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21050
21359
  } | undefined;
21051
21360
  vonageCredentials?: {
21052
21361
  apiKey: string;
@@ -21084,15 +21393,18 @@ export declare const messengerContract: {
21084
21393
  additionalCredentials?: any;
21085
21394
  senderId?: string | undefined;
21086
21395
  whatsapp?: {
21087
- email: string;
21088
- wabaExternalId: string;
21089
- phoneNumberId: string;
21090
- wabaBusinessId?: string | undefined;
21091
- clientId?: string | undefined;
21092
- channelId?: string | undefined;
21093
- status?: "active" | "pending" | undefined;
21396
+ wabaBusinessId?: string | null | undefined;
21397
+ wabaExternalId?: string | null | undefined;
21398
+ phoneNumberId?: string | null | undefined;
21399
+ email?: string | null | undefined;
21400
+ clientId?: string | null | undefined;
21401
+ channelId?: string | null | undefined;
21402
+ waapiInstanceId?: string | null | undefined;
21403
+ qr?: string | null | undefined;
21404
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21094
21405
  apiKey?: string | undefined;
21095
21406
  tier?: "basic" | "regular" | "premium" | undefined;
21407
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21096
21408
  } | undefined;
21097
21409
  vonageCredentials?: {
21098
21410
  apiKey: string;
@@ -21131,15 +21443,18 @@ export declare const messengerContract: {
21131
21443
  additionalCredentials?: any;
21132
21444
  senderId?: string | undefined;
21133
21445
  whatsapp?: {
21134
- email: string;
21135
- wabaExternalId: string;
21136
- phoneNumberId: string;
21137
- wabaBusinessId?: string | undefined;
21138
- clientId?: string | undefined;
21139
- channelId?: string | undefined;
21140
- status?: "active" | "pending" | undefined;
21446
+ wabaBusinessId?: string | null | undefined;
21447
+ wabaExternalId?: string | null | undefined;
21448
+ phoneNumberId?: string | null | undefined;
21449
+ email?: string | null | undefined;
21450
+ clientId?: string | null | undefined;
21451
+ channelId?: string | null | undefined;
21452
+ waapiInstanceId?: string | null | undefined;
21453
+ qr?: string | null | undefined;
21454
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21141
21455
  apiKey?: string | undefined;
21142
21456
  tier?: "basic" | "regular" | "premium" | undefined;
21457
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21143
21458
  } | undefined;
21144
21459
  vonageCredentials?: {
21145
21460
  apiKey: string;