@kl1/contracts 1.2.46-uat → 1.2.48-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1985 -1268
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +123 -93
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +140 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3403 -2580
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +861 -662
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1109 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +75766 -60354
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/index.d.ts +291 -139
  21. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/schema.d.ts +198 -117
  23. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +73 -95
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +10 -53
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  31. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/facebook-feed/index.d.ts +1462 -1060
  33. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/schema.d.ts +104 -77
  35. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/validation.d.ts +81 -60
  37. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/index.d.ts +5 -0
  39. package/dist/api-contracts/src/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/instagram/index.d.ts +1151 -836
  41. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/line/index.d.ts +1036 -757
  43. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/validation.d.ts +115 -82
  45. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  46. package/dist/api-contracts/src/mail/mail-contract.d.ts +13 -13
  47. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -6
  48. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -7
  49. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +2 -2
  50. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -5
  51. package/dist/api-contracts/src/messenger/index.d.ts +1151 -836
  52. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/messenger/validation.d.ts +81 -60
  54. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  56. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  57. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  58. package/dist/api-contracts/src/sms/index.d.ts +3133 -146
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  61. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  63. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  64. package/dist/api-contracts/src/subscription/index.d.ts +20 -1
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  66. package/dist/api-contracts/src/subscription/validation.d.ts +10 -0
  67. package/dist/api-contracts/src/subscription/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/telegram/index.d.ts +851 -626
  69. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  74. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  77. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  78. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  79. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  80. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/viber/index.d.ts +851 -626
  85. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/webchat/index.d.ts +851 -626
  87. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/whatsapp/index.d.ts +1155 -725
  89. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/whatsapp/validation.d.ts +79 -0
  91. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts +8659 -373
  93. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  94. package/dist/entities/src/enums/chat.d.ts +1 -0
  95. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  96. package/dist/index.js +4853 -4291
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.mjs +4842 -4285
  99. package/dist/index.mjs.map +1 -1
  100. package/package.json +7 -3
@@ -141,35 +141,44 @@ export declare const instagramContract: {
141
141
  additionalCredentials: z.ZodOptional<z.ZodAny>;
142
142
  senderId: z.ZodOptional<z.ZodString>;
143
143
  whatsapp: z.ZodOptional<z.ZodObject<{
144
- wabaBusinessId: z.ZodOptional<z.ZodString>;
145
- wabaExternalId: z.ZodString;
146
- phoneNumberId: z.ZodString;
147
- email: z.ZodString;
148
- clientId: z.ZodOptional<z.ZodString>;
149
- channelId: z.ZodOptional<z.ZodString>;
150
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
144
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
145
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
151
153
  apiKey: z.ZodOptional<z.ZodString>;
152
154
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
155
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
153
156
  }, "strip", z.ZodTypeAny, {
154
- email: string;
155
- wabaExternalId: string;
156
- phoneNumberId: string;
157
- wabaBusinessId?: string | undefined;
158
- clientId?: string | undefined;
159
- channelId?: string | undefined;
160
- status?: "active" | "pending" | undefined;
157
+ wabaBusinessId?: string | null | undefined;
158
+ wabaExternalId?: string | null | undefined;
159
+ phoneNumberId?: string | null | undefined;
160
+ email?: string | null | undefined;
161
+ clientId?: string | null | undefined;
162
+ channelId?: string | null | undefined;
163
+ waapiInstanceId?: string | null | undefined;
164
+ qr?: string | null | undefined;
165
+ status?: "active" | "pending" | "waapi-qr" | undefined;
161
166
  apiKey?: string | undefined;
162
167
  tier?: "basic" | "regular" | "premium" | undefined;
168
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
163
169
  }, {
164
- email: string;
165
- wabaExternalId: string;
166
- phoneNumberId: string;
167
- wabaBusinessId?: string | undefined;
168
- clientId?: string | undefined;
169
- channelId?: string | undefined;
170
- status?: "active" | "pending" | undefined;
170
+ wabaBusinessId?: string | null | undefined;
171
+ wabaExternalId?: string | null | undefined;
172
+ phoneNumberId?: string | null | undefined;
173
+ email?: string | null | undefined;
174
+ clientId?: string | null | undefined;
175
+ channelId?: string | null | undefined;
176
+ waapiInstanceId?: string | null | undefined;
177
+ qr?: string | null | undefined;
178
+ status?: "active" | "pending" | "waapi-qr" | undefined;
171
179
  apiKey?: string | undefined;
172
180
  tier?: "basic" | "regular" | "premium" | undefined;
181
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
173
182
  }>>;
174
183
  vonageCredentials: z.ZodOptional<z.ZodObject<{
175
184
  mobileNumber: z.ZodString;
@@ -195,15 +204,18 @@ export declare const instagramContract: {
195
204
  additionalCredentials?: any;
196
205
  senderId?: string | undefined;
197
206
  whatsapp?: {
198
- email: string;
199
- wabaExternalId: string;
200
- phoneNumberId: string;
201
- wabaBusinessId?: string | undefined;
202
- clientId?: string | undefined;
203
- channelId?: string | undefined;
204
- status?: "active" | "pending" | undefined;
207
+ wabaBusinessId?: string | null | undefined;
208
+ wabaExternalId?: string | null | undefined;
209
+ phoneNumberId?: string | null | undefined;
210
+ email?: string | null | undefined;
211
+ clientId?: string | null | undefined;
212
+ channelId?: string | null | undefined;
213
+ waapiInstanceId?: string | null | undefined;
214
+ qr?: string | null | undefined;
215
+ status?: "active" | "pending" | "waapi-qr" | undefined;
205
216
  apiKey?: string | undefined;
206
217
  tier?: "basic" | "regular" | "premium" | undefined;
218
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
207
219
  } | undefined;
208
220
  vonageCredentials?: {
209
221
  apiKey: string;
@@ -221,15 +233,18 @@ export declare const instagramContract: {
221
233
  additionalCredentials?: any;
222
234
  senderId?: string | undefined;
223
235
  whatsapp?: {
224
- email: string;
225
- wabaExternalId: string;
226
- phoneNumberId: string;
227
- wabaBusinessId?: string | undefined;
228
- clientId?: string | undefined;
229
- channelId?: string | undefined;
230
- status?: "active" | "pending" | undefined;
236
+ wabaBusinessId?: string | null | undefined;
237
+ wabaExternalId?: string | null | undefined;
238
+ phoneNumberId?: string | null | undefined;
239
+ email?: string | null | undefined;
240
+ clientId?: string | null | undefined;
241
+ channelId?: string | null | undefined;
242
+ waapiInstanceId?: string | null | undefined;
243
+ qr?: string | null | undefined;
244
+ status?: "active" | "pending" | "waapi-qr" | undefined;
231
245
  apiKey?: string | undefined;
232
246
  tier?: "basic" | "regular" | "premium" | undefined;
247
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
233
248
  } | undefined;
234
249
  vonageCredentials?: {
235
250
  apiKey: string;
@@ -277,15 +292,18 @@ export declare const instagramContract: {
277
292
  additionalCredentials?: any;
278
293
  senderId?: string | undefined;
279
294
  whatsapp?: {
280
- email: string;
281
- wabaExternalId: string;
282
- phoneNumberId: string;
283
- wabaBusinessId?: string | undefined;
284
- clientId?: string | undefined;
285
- channelId?: string | undefined;
286
- status?: "active" | "pending" | undefined;
295
+ wabaBusinessId?: string | null | undefined;
296
+ wabaExternalId?: string | null | undefined;
297
+ phoneNumberId?: string | null | undefined;
298
+ email?: string | null | undefined;
299
+ clientId?: string | null | undefined;
300
+ channelId?: string | null | undefined;
301
+ waapiInstanceId?: string | null | undefined;
302
+ qr?: string | null | undefined;
303
+ status?: "active" | "pending" | "waapi-qr" | undefined;
287
304
  apiKey?: string | undefined;
288
305
  tier?: "basic" | "regular" | "premium" | undefined;
306
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
289
307
  } | undefined;
290
308
  vonageCredentials?: {
291
309
  apiKey: string;
@@ -321,15 +339,18 @@ export declare const instagramContract: {
321
339
  additionalCredentials?: any;
322
340
  senderId?: string | undefined;
323
341
  whatsapp?: {
324
- email: string;
325
- wabaExternalId: string;
326
- phoneNumberId: string;
327
- wabaBusinessId?: string | undefined;
328
- clientId?: string | undefined;
329
- channelId?: string | undefined;
330
- status?: "active" | "pending" | undefined;
342
+ wabaBusinessId?: string | null | undefined;
343
+ wabaExternalId?: string | null | undefined;
344
+ phoneNumberId?: string | null | undefined;
345
+ email?: string | null | undefined;
346
+ clientId?: string | null | undefined;
347
+ channelId?: string | null | undefined;
348
+ waapiInstanceId?: string | null | undefined;
349
+ qr?: string | null | undefined;
350
+ status?: "active" | "pending" | "waapi-qr" | undefined;
331
351
  apiKey?: string | undefined;
332
352
  tier?: "basic" | "regular" | "premium" | undefined;
353
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
333
354
  } | undefined;
334
355
  vonageCredentials?: {
335
356
  apiKey: string;
@@ -370,15 +391,18 @@ export declare const instagramContract: {
370
391
  additionalCredentials?: any;
371
392
  senderId?: string | undefined;
372
393
  whatsapp?: {
373
- email: string;
374
- wabaExternalId: string;
375
- phoneNumberId: string;
376
- wabaBusinessId?: string | undefined;
377
- clientId?: string | undefined;
378
- channelId?: string | undefined;
379
- status?: "active" | "pending" | undefined;
394
+ wabaBusinessId?: string | null | undefined;
395
+ wabaExternalId?: string | null | undefined;
396
+ phoneNumberId?: string | null | undefined;
397
+ email?: string | null | undefined;
398
+ clientId?: string | null | undefined;
399
+ channelId?: string | null | undefined;
400
+ waapiInstanceId?: string | null | undefined;
401
+ qr?: string | null | undefined;
402
+ status?: "active" | "pending" | "waapi-qr" | undefined;
380
403
  apiKey?: string | undefined;
381
404
  tier?: "basic" | "regular" | "premium" | undefined;
405
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
382
406
  } | undefined;
383
407
  vonageCredentials?: {
384
408
  apiKey: string;
@@ -458,15 +482,18 @@ export declare const instagramContract: {
458
482
  additionalCredentials?: any;
459
483
  senderId?: string | undefined;
460
484
  whatsapp?: {
461
- email: string;
462
- wabaExternalId: string;
463
- phoneNumberId: string;
464
- wabaBusinessId?: string | undefined;
465
- clientId?: string | undefined;
466
- channelId?: string | undefined;
467
- status?: "active" | "pending" | undefined;
485
+ wabaBusinessId?: string | null | undefined;
486
+ wabaExternalId?: string | null | undefined;
487
+ phoneNumberId?: string | null | undefined;
488
+ email?: string | null | undefined;
489
+ clientId?: string | null | undefined;
490
+ channelId?: string | null | undefined;
491
+ waapiInstanceId?: string | null | undefined;
492
+ qr?: string | null | undefined;
493
+ status?: "active" | "pending" | "waapi-qr" | undefined;
468
494
  apiKey?: string | undefined;
469
495
  tier?: "basic" | "regular" | "premium" | undefined;
496
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
470
497
  } | undefined;
471
498
  vonageCredentials?: {
472
499
  apiKey: string;
@@ -537,7 +564,7 @@ export declare const instagramContract: {
537
564
  id: z.ZodOptional<z.ZodString>;
538
565
  message: z.ZodOptional<z.ZodString>;
539
566
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
540
- 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"]>;
567
+ 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"]>;
541
568
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
542
569
  metadata: z.ZodOptional<z.ZodAny>;
543
570
  platformId: z.ZodOptional<z.ZodString>;
@@ -593,7 +620,7 @@ export declare const instagramContract: {
593
620
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
594
621
  label: z.ZodOptional<z.ZodString>;
595
622
  }, "strip", z.ZodTypeAny, {
596
- 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";
623
+ 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";
597
624
  direction: "incoming" | "outgoing" | "system";
598
625
  id?: string | undefined;
599
626
  message?: string | undefined;
@@ -628,7 +655,7 @@ export declare const instagramContract: {
628
655
  editedAt?: string | Date | null | undefined;
629
656
  label?: string | undefined;
630
657
  }, {
631
- 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";
658
+ 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";
632
659
  direction: "incoming" | "outgoing" | "system";
633
660
  id?: string | undefined;
634
661
  message?: string | undefined;
@@ -665,7 +692,7 @@ export declare const instagramContract: {
665
692
  }>;
666
693
  }, "strip", z.ZodTypeAny, {
667
694
  message: {
668
- 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";
695
+ 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";
669
696
  direction: "incoming" | "outgoing" | "system";
670
697
  id?: string | undefined;
671
698
  message?: string | undefined;
@@ -714,15 +741,18 @@ export declare const instagramContract: {
714
741
  additionalCredentials?: any;
715
742
  senderId?: string | undefined;
716
743
  whatsapp?: {
717
- email: string;
718
- wabaExternalId: string;
719
- phoneNumberId: string;
720
- wabaBusinessId?: string | undefined;
721
- clientId?: string | undefined;
722
- channelId?: string | undefined;
723
- status?: "active" | "pending" | undefined;
744
+ wabaBusinessId?: string | null | undefined;
745
+ wabaExternalId?: string | null | undefined;
746
+ phoneNumberId?: string | null | undefined;
747
+ email?: string | null | undefined;
748
+ clientId?: string | null | undefined;
749
+ channelId?: string | null | undefined;
750
+ waapiInstanceId?: string | null | undefined;
751
+ qr?: string | null | undefined;
752
+ status?: "active" | "pending" | "waapi-qr" | undefined;
724
753
  apiKey?: string | undefined;
725
754
  tier?: "basic" | "regular" | "premium" | undefined;
755
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
726
756
  } | undefined;
727
757
  vonageCredentials?: {
728
758
  apiKey: string;
@@ -792,7 +822,7 @@ export declare const instagramContract: {
792
822
  isBot: boolean | null;
793
823
  }, {
794
824
  message: {
795
- 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";
825
+ 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";
796
826
  direction: "incoming" | "outgoing" | "system";
797
827
  id?: string | undefined;
798
828
  message?: string | undefined;
@@ -841,15 +871,18 @@ export declare const instagramContract: {
841
871
  additionalCredentials?: any;
842
872
  senderId?: string | undefined;
843
873
  whatsapp?: {
844
- email: string;
845
- wabaExternalId: string;
846
- phoneNumberId: string;
847
- wabaBusinessId?: string | undefined;
848
- clientId?: string | undefined;
849
- channelId?: string | undefined;
850
- status?: "active" | "pending" | undefined;
874
+ wabaBusinessId?: string | null | undefined;
875
+ wabaExternalId?: string | null | undefined;
876
+ phoneNumberId?: string | null | undefined;
877
+ email?: string | null | undefined;
878
+ clientId?: string | null | undefined;
879
+ channelId?: string | null | undefined;
880
+ waapiInstanceId?: string | null | undefined;
881
+ qr?: string | null | undefined;
882
+ status?: "active" | "pending" | "waapi-qr" | undefined;
851
883
  apiKey?: string | undefined;
852
884
  tier?: "basic" | "regular" | "premium" | undefined;
885
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
853
886
  } | undefined;
854
887
  vonageCredentials?: {
855
888
  apiKey: string;
@@ -923,7 +956,7 @@ export declare const instagramContract: {
923
956
  200: z.ZodObject<{
924
957
  requestId: z.ZodString;
925
958
  data: z.ZodObject<{
926
- 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"]>;
959
+ 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"]>;
927
960
  message: z.ZodString;
928
961
  id: z.ZodString;
929
962
  url: z.ZodString;
@@ -1148,9 +1181,10 @@ export declare const instagramContract: {
1148
1181
  fileSize: z.ZodNumber;
1149
1182
  fileKey: z.ZodString;
1150
1183
  fileUrl: z.ZodNullable<z.ZodString>;
1151
- status: z.ZodOptional<z.ZodString>;
1184
+ status: z.ZodNullable<z.ZodString>;
1152
1185
  }, "strip", z.ZodTypeAny, {
1153
1186
  id: string;
1187
+ status: string | null;
1154
1188
  createdAt: Date;
1155
1189
  updatedAt: Date;
1156
1190
  deletedAt: Date | null;
@@ -1159,9 +1193,9 @@ export declare const instagramContract: {
1159
1193
  bucketName: string;
1160
1194
  fileSize: number;
1161
1195
  fileUrl: string | null;
1162
- status?: string | undefined;
1163
1196
  }, {
1164
1197
  id: string;
1198
+ status: string | null;
1165
1199
  createdAt: Date;
1166
1200
  updatedAt: Date;
1167
1201
  deletedAt: Date | null;
@@ -1170,7 +1204,6 @@ export declare const instagramContract: {
1170
1204
  bucketName: string;
1171
1205
  fileSize: number;
1172
1206
  fileUrl: string | null;
1173
- status?: string | undefined;
1174
1207
  }>;
1175
1208
  assignee: z.ZodObject<{
1176
1209
  id: z.ZodString;
@@ -1765,9 +1798,10 @@ export declare const instagramContract: {
1765
1798
  fileSize: z.ZodNumber;
1766
1799
  fileKey: z.ZodString;
1767
1800
  fileUrl: z.ZodNullable<z.ZodString>;
1768
- status: z.ZodOptional<z.ZodString>;
1801
+ status: z.ZodNullable<z.ZodString>;
1769
1802
  }, "strip", z.ZodTypeAny, {
1770
1803
  id: string;
1804
+ status: string | null;
1771
1805
  createdAt: Date;
1772
1806
  updatedAt: Date;
1773
1807
  deletedAt: Date | null;
@@ -1776,9 +1810,9 @@ export declare const instagramContract: {
1776
1810
  bucketName: string;
1777
1811
  fileSize: number;
1778
1812
  fileUrl: string | null;
1779
- status?: string | undefined;
1780
1813
  }, {
1781
1814
  id: string;
1815
+ status: string | null;
1782
1816
  createdAt: Date;
1783
1817
  updatedAt: Date;
1784
1818
  deletedAt: Date | null;
@@ -1787,7 +1821,6 @@ export declare const instagramContract: {
1787
1821
  bucketName: string;
1788
1822
  fileSize: number;
1789
1823
  fileUrl: string | null;
1790
- status?: string | undefined;
1791
1824
  }>, "many">;
1792
1825
  }, "strip", z.ZodTypeAny, {
1793
1826
  id: string;
@@ -1814,6 +1847,7 @@ export declare const instagramContract: {
1814
1847
  dateValue: Date | null;
1815
1848
  uploads: {
1816
1849
  id: string;
1850
+ status: string | null;
1817
1851
  createdAt: Date;
1818
1852
  updatedAt: Date;
1819
1853
  deletedAt: Date | null;
@@ -1822,7 +1856,6 @@ export declare const instagramContract: {
1822
1856
  bucketName: string;
1823
1857
  fileSize: number;
1824
1858
  fileUrl: string | null;
1825
- status?: string | undefined;
1826
1859
  }[];
1827
1860
  }, {
1828
1861
  id: string;
@@ -1849,6 +1882,7 @@ export declare const instagramContract: {
1849
1882
  dateValue: Date | null;
1850
1883
  uploads: {
1851
1884
  id: string;
1885
+ status: string | null;
1852
1886
  createdAt: Date;
1853
1887
  updatedAt: Date;
1854
1888
  deletedAt: Date | null;
@@ -1857,7 +1891,6 @@ export declare const instagramContract: {
1857
1891
  bucketName: string;
1858
1892
  fileSize: number;
1859
1893
  fileUrl: string | null;
1860
- status?: string | undefined;
1861
1894
  }[];
1862
1895
  }>, "many">;
1863
1896
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1997,6 +2030,7 @@ export declare const instagramContract: {
1997
2030
  dateValue: Date | null;
1998
2031
  uploads: {
1999
2032
  id: string;
2033
+ status: string | null;
2000
2034
  createdAt: Date;
2001
2035
  updatedAt: Date;
2002
2036
  deletedAt: Date | null;
@@ -2005,7 +2039,6 @@ export declare const instagramContract: {
2005
2039
  bucketName: string;
2006
2040
  fileSize: number;
2007
2041
  fileUrl: string | null;
2008
- status?: string | undefined;
2009
2042
  }[];
2010
2043
  }[];
2011
2044
  company: {
@@ -2108,6 +2141,7 @@ export declare const instagramContract: {
2108
2141
  dateValue: Date | null;
2109
2142
  uploads: {
2110
2143
  id: string;
2144
+ status: string | null;
2111
2145
  createdAt: Date;
2112
2146
  updatedAt: Date;
2113
2147
  deletedAt: Date | null;
@@ -2116,7 +2150,6 @@ export declare const instagramContract: {
2116
2150
  bucketName: string;
2117
2151
  fileSize: number;
2118
2152
  fileUrl: string | null;
2119
- status?: string | undefined;
2120
2153
  }[];
2121
2154
  }[];
2122
2155
  company: {
@@ -2232,6 +2265,7 @@ export declare const instagramContract: {
2232
2265
  dateValue: Date | null;
2233
2266
  uploads: {
2234
2267
  id: string;
2268
+ status: string | null;
2235
2269
  createdAt: Date;
2236
2270
  updatedAt: Date;
2237
2271
  deletedAt: Date | null;
@@ -2240,7 +2274,6 @@ export declare const instagramContract: {
2240
2274
  bucketName: string;
2241
2275
  fileSize: number;
2242
2276
  fileUrl: string | null;
2243
- status?: string | undefined;
2244
2277
  }[];
2245
2278
  }[];
2246
2279
  company: {
@@ -2358,6 +2391,7 @@ export declare const instagramContract: {
2358
2391
  dateValue: Date | null;
2359
2392
  uploads: {
2360
2393
  id: string;
2394
+ status: string | null;
2361
2395
  createdAt: Date;
2362
2396
  updatedAt: Date;
2363
2397
  deletedAt: Date | null;
@@ -2366,7 +2400,6 @@ export declare const instagramContract: {
2366
2400
  bucketName: string;
2367
2401
  fileSize: number;
2368
2402
  fileUrl: string | null;
2369
- status?: string | undefined;
2370
2403
  }[];
2371
2404
  }[];
2372
2405
  company: {
@@ -2863,35 +2896,44 @@ export declare const instagramContract: {
2863
2896
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2864
2897
  senderId: z.ZodOptional<z.ZodString>;
2865
2898
  whatsapp: z.ZodOptional<z.ZodObject<{
2866
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2867
- wabaExternalId: z.ZodString;
2868
- phoneNumberId: z.ZodString;
2869
- email: z.ZodString;
2870
- clientId: z.ZodOptional<z.ZodString>;
2871
- channelId: z.ZodOptional<z.ZodString>;
2872
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2899
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2900
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2901
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2902
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2903
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2904
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2905
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2906
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2907
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2873
2908
  apiKey: z.ZodOptional<z.ZodString>;
2874
2909
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2910
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2875
2911
  }, "strip", z.ZodTypeAny, {
2876
- email: string;
2877
- wabaExternalId: string;
2878
- phoneNumberId: string;
2879
- wabaBusinessId?: string | undefined;
2880
- clientId?: string | undefined;
2881
- channelId?: string | undefined;
2882
- status?: "active" | "pending" | undefined;
2912
+ wabaBusinessId?: string | null | undefined;
2913
+ wabaExternalId?: string | null | undefined;
2914
+ phoneNumberId?: string | null | undefined;
2915
+ email?: string | null | undefined;
2916
+ clientId?: string | null | undefined;
2917
+ channelId?: string | null | undefined;
2918
+ waapiInstanceId?: string | null | undefined;
2919
+ qr?: string | null | undefined;
2920
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2883
2921
  apiKey?: string | undefined;
2884
2922
  tier?: "basic" | "regular" | "premium" | undefined;
2923
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2885
2924
  }, {
2886
- email: string;
2887
- wabaExternalId: string;
2888
- phoneNumberId: string;
2889
- wabaBusinessId?: string | undefined;
2890
- clientId?: string | undefined;
2891
- channelId?: string | undefined;
2892
- status?: "active" | "pending" | undefined;
2925
+ wabaBusinessId?: string | null | undefined;
2926
+ wabaExternalId?: string | null | undefined;
2927
+ phoneNumberId?: string | null | undefined;
2928
+ email?: string | null | undefined;
2929
+ clientId?: string | null | undefined;
2930
+ channelId?: string | null | undefined;
2931
+ waapiInstanceId?: string | null | undefined;
2932
+ qr?: string | null | undefined;
2933
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2893
2934
  apiKey?: string | undefined;
2894
2935
  tier?: "basic" | "regular" | "premium" | undefined;
2936
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2895
2937
  }>>;
2896
2938
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2897
2939
  mobileNumber: z.ZodString;
@@ -2917,15 +2959,18 @@ export declare const instagramContract: {
2917
2959
  additionalCredentials?: any;
2918
2960
  senderId?: string | undefined;
2919
2961
  whatsapp?: {
2920
- email: string;
2921
- wabaExternalId: string;
2922
- phoneNumberId: string;
2923
- wabaBusinessId?: string | undefined;
2924
- clientId?: string | undefined;
2925
- channelId?: string | undefined;
2926
- status?: "active" | "pending" | undefined;
2962
+ wabaBusinessId?: string | null | undefined;
2963
+ wabaExternalId?: string | null | undefined;
2964
+ phoneNumberId?: string | null | undefined;
2965
+ email?: string | null | undefined;
2966
+ clientId?: string | null | undefined;
2967
+ channelId?: string | null | undefined;
2968
+ waapiInstanceId?: string | null | undefined;
2969
+ qr?: string | null | undefined;
2970
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2927
2971
  apiKey?: string | undefined;
2928
2972
  tier?: "basic" | "regular" | "premium" | undefined;
2973
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2929
2974
  } | undefined;
2930
2975
  vonageCredentials?: {
2931
2976
  apiKey: string;
@@ -2943,15 +2988,18 @@ export declare const instagramContract: {
2943
2988
  additionalCredentials?: any;
2944
2989
  senderId?: string | undefined;
2945
2990
  whatsapp?: {
2946
- email: string;
2947
- wabaExternalId: string;
2948
- phoneNumberId: string;
2949
- wabaBusinessId?: string | undefined;
2950
- clientId?: string | undefined;
2951
- channelId?: string | undefined;
2952
- status?: "active" | "pending" | undefined;
2991
+ wabaBusinessId?: string | null | undefined;
2992
+ wabaExternalId?: string | null | undefined;
2993
+ phoneNumberId?: string | null | undefined;
2994
+ email?: string | null | undefined;
2995
+ clientId?: string | null | undefined;
2996
+ channelId?: string | null | undefined;
2997
+ waapiInstanceId?: string | null | undefined;
2998
+ qr?: string | null | undefined;
2999
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2953
3000
  apiKey?: string | undefined;
2954
3001
  tier?: "basic" | "regular" | "premium" | undefined;
3002
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2955
3003
  } | undefined;
2956
3004
  vonageCredentials?: {
2957
3005
  apiKey: string;
@@ -3203,15 +3251,18 @@ export declare const instagramContract: {
3203
3251
  additionalCredentials?: any;
3204
3252
  senderId?: string | undefined;
3205
3253
  whatsapp?: {
3206
- email: string;
3207
- wabaExternalId: string;
3208
- phoneNumberId: string;
3209
- wabaBusinessId?: string | undefined;
3210
- clientId?: string | undefined;
3211
- channelId?: string | undefined;
3212
- status?: "active" | "pending" | undefined;
3254
+ wabaBusinessId?: string | null | undefined;
3255
+ wabaExternalId?: string | null | undefined;
3256
+ phoneNumberId?: string | null | undefined;
3257
+ email?: string | null | undefined;
3258
+ clientId?: string | null | undefined;
3259
+ channelId?: string | null | undefined;
3260
+ waapiInstanceId?: string | null | undefined;
3261
+ qr?: string | null | undefined;
3262
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3213
3263
  apiKey?: string | undefined;
3214
3264
  tier?: "basic" | "regular" | "premium" | undefined;
3265
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3215
3266
  } | undefined;
3216
3267
  vonageCredentials?: {
3217
3268
  apiKey: string;
@@ -3294,15 +3345,18 @@ export declare const instagramContract: {
3294
3345
  additionalCredentials?: any;
3295
3346
  senderId?: string | undefined;
3296
3347
  whatsapp?: {
3297
- email: string;
3298
- wabaExternalId: string;
3299
- phoneNumberId: string;
3300
- wabaBusinessId?: string | undefined;
3301
- clientId?: string | undefined;
3302
- channelId?: string | undefined;
3303
- status?: "active" | "pending" | undefined;
3348
+ wabaBusinessId?: string | null | undefined;
3349
+ wabaExternalId?: string | null | undefined;
3350
+ phoneNumberId?: string | null | undefined;
3351
+ email?: string | null | undefined;
3352
+ clientId?: string | null | undefined;
3353
+ channelId?: string | null | undefined;
3354
+ waapiInstanceId?: string | null | undefined;
3355
+ qr?: string | null | undefined;
3356
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3304
3357
  apiKey?: string | undefined;
3305
3358
  tier?: "basic" | "regular" | "premium" | undefined;
3359
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3306
3360
  } | undefined;
3307
3361
  vonageCredentials?: {
3308
3362
  apiKey: string;
@@ -3949,15 +4003,18 @@ export declare const instagramContract: {
3949
4003
  additionalCredentials?: any;
3950
4004
  senderId?: string | undefined;
3951
4005
  whatsapp?: {
3952
- email: string;
3953
- wabaExternalId: string;
3954
- phoneNumberId: string;
3955
- wabaBusinessId?: string | undefined;
3956
- clientId?: string | undefined;
3957
- channelId?: string | undefined;
3958
- status?: "active" | "pending" | undefined;
4006
+ wabaBusinessId?: string | null | undefined;
4007
+ wabaExternalId?: string | null | undefined;
4008
+ phoneNumberId?: string | null | undefined;
4009
+ email?: string | null | undefined;
4010
+ clientId?: string | null | undefined;
4011
+ channelId?: string | null | undefined;
4012
+ waapiInstanceId?: string | null | undefined;
4013
+ qr?: string | null | undefined;
4014
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3959
4015
  apiKey?: string | undefined;
3960
4016
  tier?: "basic" | "regular" | "premium" | undefined;
4017
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3961
4018
  } | undefined;
3962
4019
  vonageCredentials?: {
3963
4020
  apiKey: string;
@@ -4129,6 +4186,7 @@ export declare const instagramContract: {
4129
4186
  dateValue: Date | null;
4130
4187
  uploads: {
4131
4188
  id: string;
4189
+ status: string | null;
4132
4190
  createdAt: Date;
4133
4191
  updatedAt: Date;
4134
4192
  deletedAt: Date | null;
@@ -4137,7 +4195,6 @@ export declare const instagramContract: {
4137
4195
  bucketName: string;
4138
4196
  fileSize: number;
4139
4197
  fileUrl: string | null;
4140
- status?: string | undefined;
4141
4198
  }[];
4142
4199
  }[];
4143
4200
  company: {
@@ -4373,15 +4430,18 @@ export declare const instagramContract: {
4373
4430
  additionalCredentials?: any;
4374
4431
  senderId?: string | undefined;
4375
4432
  whatsapp?: {
4376
- email: string;
4377
- wabaExternalId: string;
4378
- phoneNumberId: string;
4379
- wabaBusinessId?: string | undefined;
4380
- clientId?: string | undefined;
4381
- channelId?: string | undefined;
4382
- status?: "active" | "pending" | undefined;
4433
+ wabaBusinessId?: string | null | undefined;
4434
+ wabaExternalId?: string | null | undefined;
4435
+ phoneNumberId?: string | null | undefined;
4436
+ email?: string | null | undefined;
4437
+ clientId?: string | null | undefined;
4438
+ channelId?: string | null | undefined;
4439
+ waapiInstanceId?: string | null | undefined;
4440
+ qr?: string | null | undefined;
4441
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4383
4442
  apiKey?: string | undefined;
4384
4443
  tier?: "basic" | "regular" | "premium" | undefined;
4444
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4385
4445
  } | undefined;
4386
4446
  vonageCredentials?: {
4387
4447
  apiKey: string;
@@ -4553,6 +4613,7 @@ export declare const instagramContract: {
4553
4613
  dateValue: Date | null;
4554
4614
  uploads: {
4555
4615
  id: string;
4616
+ status: string | null;
4556
4617
  createdAt: Date;
4557
4618
  updatedAt: Date;
4558
4619
  deletedAt: Date | null;
@@ -4561,7 +4622,6 @@ export declare const instagramContract: {
4561
4622
  bucketName: string;
4562
4623
  fileSize: number;
4563
4624
  fileUrl: string | null;
4564
- status?: string | undefined;
4565
4625
  }[];
4566
4626
  }[];
4567
4627
  company: {
@@ -4822,7 +4882,7 @@ export declare const instagramContract: {
4822
4882
  deletedAt: z.ZodNullable<z.ZodDate>;
4823
4883
  message: z.ZodString;
4824
4884
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4825
- 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"]>;
4885
+ 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"]>;
4826
4886
  readAt: z.ZodDate;
4827
4887
  metadata: z.ZodAny;
4828
4888
  platformId: z.ZodString;
@@ -4843,9 +4903,10 @@ export declare const instagramContract: {
4843
4903
  fileSize: z.ZodNumber;
4844
4904
  fileKey: z.ZodString;
4845
4905
  fileUrl: z.ZodNullable<z.ZodString>;
4846
- status: z.ZodOptional<z.ZodString>;
4906
+ status: z.ZodNullable<z.ZodString>;
4847
4907
  }, "strip", z.ZodTypeAny, {
4848
4908
  id: string;
4909
+ status: string | null;
4849
4910
  createdAt: Date;
4850
4911
  updatedAt: Date;
4851
4912
  deletedAt: Date | null;
@@ -4854,9 +4915,9 @@ export declare const instagramContract: {
4854
4915
  bucketName: string;
4855
4916
  fileSize: number;
4856
4917
  fileUrl: string | null;
4857
- status?: string | undefined;
4858
4918
  }, {
4859
4919
  id: string;
4920
+ status: string | null;
4860
4921
  createdAt: Date;
4861
4922
  updatedAt: Date;
4862
4923
  deletedAt: Date | null;
@@ -4865,7 +4926,6 @@ export declare const instagramContract: {
4865
4926
  bucketName: string;
4866
4927
  fileSize: number;
4867
4928
  fileUrl: string | null;
4868
- status?: string | undefined;
4869
4929
  }>;
4870
4930
  actor: z.ZodObject<{
4871
4931
  id: z.ZodString;
@@ -5480,7 +5540,7 @@ export declare const instagramContract: {
5480
5540
  };
5481
5541
  }>;
5482
5542
  }, "strip", z.ZodTypeAny, {
5483
- 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";
5543
+ 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";
5484
5544
  message: string;
5485
5545
  id: string;
5486
5546
  url: string;
@@ -5534,6 +5594,7 @@ export declare const instagramContract: {
5534
5594
  };
5535
5595
  upload: {
5536
5596
  id: string;
5597
+ status: string | null;
5537
5598
  createdAt: Date;
5538
5599
  updatedAt: Date;
5539
5600
  deletedAt: Date | null;
@@ -5542,7 +5603,6 @@ export declare const instagramContract: {
5542
5603
  bucketName: string;
5543
5604
  fileSize: number;
5544
5605
  fileUrl: string | null;
5545
- status?: string | undefined;
5546
5606
  };
5547
5607
  assignee: {
5548
5608
  id: string;
@@ -5642,7 +5702,7 @@ export declare const instagramContract: {
5642
5702
  metadata?: any;
5643
5703
  template?: any;
5644
5704
  }, {
5645
- 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";
5705
+ 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";
5646
5706
  message: string;
5647
5707
  id: string;
5648
5708
  url: string;
@@ -5696,6 +5756,7 @@ export declare const instagramContract: {
5696
5756
  };
5697
5757
  upload: {
5698
5758
  id: string;
5759
+ status: string | null;
5699
5760
  createdAt: Date;
5700
5761
  updatedAt: Date;
5701
5762
  deletedAt: Date | null;
@@ -5704,7 +5765,6 @@ export declare const instagramContract: {
5704
5765
  bucketName: string;
5705
5766
  fileSize: number;
5706
5767
  fileUrl: string | null;
5707
- status?: string | undefined;
5708
5768
  };
5709
5769
  assignee: {
5710
5770
  id: string;
@@ -6016,7 +6076,7 @@ export declare const instagramContract: {
6016
6076
  deletedAt: z.ZodNullable<z.ZodDate>;
6017
6077
  message: z.ZodString;
6018
6078
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6019
- 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"]>;
6079
+ 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"]>;
6020
6080
  readAt: z.ZodDate;
6021
6081
  metadata: z.ZodAny;
6022
6082
  platformId: z.ZodString;
@@ -6415,9 +6475,10 @@ export declare const instagramContract: {
6415
6475
  fileSize: z.ZodNumber;
6416
6476
  fileKey: z.ZodString;
6417
6477
  fileUrl: z.ZodNullable<z.ZodString>;
6418
- status: z.ZodOptional<z.ZodString>;
6478
+ status: z.ZodNullable<z.ZodString>;
6419
6479
  }, "strip", z.ZodTypeAny, {
6420
6480
  id: string;
6481
+ status: string | null;
6421
6482
  createdAt: Date;
6422
6483
  updatedAt: Date;
6423
6484
  deletedAt: Date | null;
@@ -6426,9 +6487,9 @@ export declare const instagramContract: {
6426
6487
  bucketName: string;
6427
6488
  fileSize: number;
6428
6489
  fileUrl: string | null;
6429
- status?: string | undefined;
6430
6490
  }, {
6431
6491
  id: string;
6492
+ status: string | null;
6432
6493
  createdAt: Date;
6433
6494
  updatedAt: Date;
6434
6495
  deletedAt: Date | null;
@@ -6437,7 +6498,6 @@ export declare const instagramContract: {
6437
6498
  bucketName: string;
6438
6499
  fileSize: number;
6439
6500
  fileUrl: string | null;
6440
- status?: string | undefined;
6441
6501
  }>, "many">;
6442
6502
  }, "strip", z.ZodTypeAny, {
6443
6503
  id: string;
@@ -6464,6 +6524,7 @@ export declare const instagramContract: {
6464
6524
  dateValue: Date | null;
6465
6525
  uploads: {
6466
6526
  id: string;
6527
+ status: string | null;
6467
6528
  createdAt: Date;
6468
6529
  updatedAt: Date;
6469
6530
  deletedAt: Date | null;
@@ -6472,7 +6533,6 @@ export declare const instagramContract: {
6472
6533
  bucketName: string;
6473
6534
  fileSize: number;
6474
6535
  fileUrl: string | null;
6475
- status?: string | undefined;
6476
6536
  }[];
6477
6537
  }, {
6478
6538
  id: string;
@@ -6499,6 +6559,7 @@ export declare const instagramContract: {
6499
6559
  dateValue: Date | null;
6500
6560
  uploads: {
6501
6561
  id: string;
6562
+ status: string | null;
6502
6563
  createdAt: Date;
6503
6564
  updatedAt: Date;
6504
6565
  deletedAt: Date | null;
@@ -6507,7 +6568,6 @@ export declare const instagramContract: {
6507
6568
  bucketName: string;
6508
6569
  fileSize: number;
6509
6570
  fileUrl: string | null;
6510
- status?: string | undefined;
6511
6571
  }[];
6512
6572
  }>, "many">;
6513
6573
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6647,6 +6707,7 @@ export declare const instagramContract: {
6647
6707
  dateValue: Date | null;
6648
6708
  uploads: {
6649
6709
  id: string;
6710
+ status: string | null;
6650
6711
  createdAt: Date;
6651
6712
  updatedAt: Date;
6652
6713
  deletedAt: Date | null;
@@ -6655,7 +6716,6 @@ export declare const instagramContract: {
6655
6716
  bucketName: string;
6656
6717
  fileSize: number;
6657
6718
  fileUrl: string | null;
6658
- status?: string | undefined;
6659
6719
  }[];
6660
6720
  }[];
6661
6721
  company: {
@@ -6758,6 +6818,7 @@ export declare const instagramContract: {
6758
6818
  dateValue: Date | null;
6759
6819
  uploads: {
6760
6820
  id: string;
6821
+ status: string | null;
6761
6822
  createdAt: Date;
6762
6823
  updatedAt: Date;
6763
6824
  deletedAt: Date | null;
@@ -6766,7 +6827,6 @@ export declare const instagramContract: {
6766
6827
  bucketName: string;
6767
6828
  fileSize: number;
6768
6829
  fileUrl: string | null;
6769
- status?: string | undefined;
6770
6830
  }[];
6771
6831
  }[];
6772
6832
  company: {
@@ -6882,6 +6942,7 @@ export declare const instagramContract: {
6882
6942
  dateValue: Date | null;
6883
6943
  uploads: {
6884
6944
  id: string;
6945
+ status: string | null;
6885
6946
  createdAt: Date;
6886
6947
  updatedAt: Date;
6887
6948
  deletedAt: Date | null;
@@ -6890,7 +6951,6 @@ export declare const instagramContract: {
6890
6951
  bucketName: string;
6891
6952
  fileSize: number;
6892
6953
  fileUrl: string | null;
6893
- status?: string | undefined;
6894
6954
  }[];
6895
6955
  }[];
6896
6956
  company: {
@@ -7008,6 +7068,7 @@ export declare const instagramContract: {
7008
7068
  dateValue: Date | null;
7009
7069
  uploads: {
7010
7070
  id: string;
7071
+ status: string | null;
7011
7072
  createdAt: Date;
7012
7073
  updatedAt: Date;
7013
7074
  deletedAt: Date | null;
@@ -7016,7 +7077,6 @@ export declare const instagramContract: {
7016
7077
  bucketName: string;
7017
7078
  fileSize: number;
7018
7079
  fileUrl: string | null;
7019
- status?: string | undefined;
7020
7080
  }[];
7021
7081
  }[];
7022
7082
  company: {
@@ -7513,35 +7573,44 @@ export declare const instagramContract: {
7513
7573
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7514
7574
  senderId: z.ZodOptional<z.ZodString>;
7515
7575
  whatsapp: z.ZodOptional<z.ZodObject<{
7516
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7517
- wabaExternalId: z.ZodString;
7518
- phoneNumberId: z.ZodString;
7519
- email: z.ZodString;
7520
- clientId: z.ZodOptional<z.ZodString>;
7521
- channelId: z.ZodOptional<z.ZodString>;
7522
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7576
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7577
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7578
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7579
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7580
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7581
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7582
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7583
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7584
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
7523
7585
  apiKey: z.ZodOptional<z.ZodString>;
7524
7586
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7587
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
7525
7588
  }, "strip", z.ZodTypeAny, {
7526
- email: string;
7527
- wabaExternalId: string;
7528
- phoneNumberId: string;
7529
- wabaBusinessId?: string | undefined;
7530
- clientId?: string | undefined;
7531
- channelId?: string | undefined;
7532
- status?: "active" | "pending" | undefined;
7589
+ wabaBusinessId?: string | null | undefined;
7590
+ wabaExternalId?: string | null | undefined;
7591
+ phoneNumberId?: string | null | undefined;
7592
+ email?: string | null | undefined;
7593
+ clientId?: string | null | undefined;
7594
+ channelId?: string | null | undefined;
7595
+ waapiInstanceId?: string | null | undefined;
7596
+ qr?: string | null | undefined;
7597
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7533
7598
  apiKey?: string | undefined;
7534
7599
  tier?: "basic" | "regular" | "premium" | undefined;
7600
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7535
7601
  }, {
7536
- email: string;
7537
- wabaExternalId: string;
7538
- phoneNumberId: string;
7539
- wabaBusinessId?: string | undefined;
7540
- clientId?: string | undefined;
7541
- channelId?: string | undefined;
7542
- status?: "active" | "pending" | undefined;
7602
+ wabaBusinessId?: string | null | undefined;
7603
+ wabaExternalId?: string | null | undefined;
7604
+ phoneNumberId?: string | null | undefined;
7605
+ email?: string | null | undefined;
7606
+ clientId?: string | null | undefined;
7607
+ channelId?: string | null | undefined;
7608
+ waapiInstanceId?: string | null | undefined;
7609
+ qr?: string | null | undefined;
7610
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7543
7611
  apiKey?: string | undefined;
7544
7612
  tier?: "basic" | "regular" | "premium" | undefined;
7613
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7545
7614
  }>>;
7546
7615
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7547
7616
  mobileNumber: z.ZodString;
@@ -7567,15 +7636,18 @@ export declare const instagramContract: {
7567
7636
  additionalCredentials?: any;
7568
7637
  senderId?: string | undefined;
7569
7638
  whatsapp?: {
7570
- email: string;
7571
- wabaExternalId: string;
7572
- phoneNumberId: string;
7573
- wabaBusinessId?: string | undefined;
7574
- clientId?: string | undefined;
7575
- channelId?: string | undefined;
7576
- status?: "active" | "pending" | undefined;
7639
+ wabaBusinessId?: string | null | undefined;
7640
+ wabaExternalId?: string | null | undefined;
7641
+ phoneNumberId?: string | null | undefined;
7642
+ email?: string | null | undefined;
7643
+ clientId?: string | null | undefined;
7644
+ channelId?: string | null | undefined;
7645
+ waapiInstanceId?: string | null | undefined;
7646
+ qr?: string | null | undefined;
7647
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7577
7648
  apiKey?: string | undefined;
7578
7649
  tier?: "basic" | "regular" | "premium" | undefined;
7650
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7579
7651
  } | undefined;
7580
7652
  vonageCredentials?: {
7581
7653
  apiKey: string;
@@ -7593,15 +7665,18 @@ export declare const instagramContract: {
7593
7665
  additionalCredentials?: any;
7594
7666
  senderId?: string | undefined;
7595
7667
  whatsapp?: {
7596
- email: string;
7597
- wabaExternalId: string;
7598
- phoneNumberId: string;
7599
- wabaBusinessId?: string | undefined;
7600
- clientId?: string | undefined;
7601
- channelId?: string | undefined;
7602
- status?: "active" | "pending" | undefined;
7668
+ wabaBusinessId?: string | null | undefined;
7669
+ wabaExternalId?: string | null | undefined;
7670
+ phoneNumberId?: string | null | undefined;
7671
+ email?: string | null | undefined;
7672
+ clientId?: string | null | undefined;
7673
+ channelId?: string | null | undefined;
7674
+ waapiInstanceId?: string | null | undefined;
7675
+ qr?: string | null | undefined;
7676
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7603
7677
  apiKey?: string | undefined;
7604
7678
  tier?: "basic" | "regular" | "premium" | undefined;
7679
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7605
7680
  } | undefined;
7606
7681
  vonageCredentials?: {
7607
7682
  apiKey: string;
@@ -7853,15 +7928,18 @@ export declare const instagramContract: {
7853
7928
  additionalCredentials?: any;
7854
7929
  senderId?: string | undefined;
7855
7930
  whatsapp?: {
7856
- email: string;
7857
- wabaExternalId: string;
7858
- phoneNumberId: string;
7859
- wabaBusinessId?: string | undefined;
7860
- clientId?: string | undefined;
7861
- channelId?: string | undefined;
7862
- status?: "active" | "pending" | undefined;
7931
+ wabaBusinessId?: string | null | undefined;
7932
+ wabaExternalId?: string | null | undefined;
7933
+ phoneNumberId?: string | null | undefined;
7934
+ email?: string | null | undefined;
7935
+ clientId?: string | null | undefined;
7936
+ channelId?: string | null | undefined;
7937
+ waapiInstanceId?: string | null | undefined;
7938
+ qr?: string | null | undefined;
7939
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7863
7940
  apiKey?: string | undefined;
7864
7941
  tier?: "basic" | "regular" | "premium" | undefined;
7942
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7865
7943
  } | undefined;
7866
7944
  vonageCredentials?: {
7867
7945
  apiKey: string;
@@ -7944,15 +8022,18 @@ export declare const instagramContract: {
7944
8022
  additionalCredentials?: any;
7945
8023
  senderId?: string | undefined;
7946
8024
  whatsapp?: {
7947
- email: string;
7948
- wabaExternalId: string;
7949
- phoneNumberId: string;
7950
- wabaBusinessId?: string | undefined;
7951
- clientId?: string | undefined;
7952
- channelId?: string | undefined;
7953
- status?: "active" | "pending" | undefined;
8025
+ wabaBusinessId?: string | null | undefined;
8026
+ wabaExternalId?: string | null | undefined;
8027
+ phoneNumberId?: string | null | undefined;
8028
+ email?: string | null | undefined;
8029
+ clientId?: string | null | undefined;
8030
+ channelId?: string | null | undefined;
8031
+ waapiInstanceId?: string | null | undefined;
8032
+ qr?: string | null | undefined;
8033
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7954
8034
  apiKey?: string | undefined;
7955
8035
  tier?: "basic" | "regular" | "premium" | undefined;
8036
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7956
8037
  } | undefined;
7957
8038
  vonageCredentials?: {
7958
8039
  apiKey: string;
@@ -8599,15 +8680,18 @@ export declare const instagramContract: {
8599
8680
  additionalCredentials?: any;
8600
8681
  senderId?: string | undefined;
8601
8682
  whatsapp?: {
8602
- email: string;
8603
- wabaExternalId: string;
8604
- phoneNumberId: string;
8605
- wabaBusinessId?: string | undefined;
8606
- clientId?: string | undefined;
8607
- channelId?: string | undefined;
8608
- status?: "active" | "pending" | undefined;
8683
+ wabaBusinessId?: string | null | undefined;
8684
+ wabaExternalId?: string | null | undefined;
8685
+ phoneNumberId?: string | null | undefined;
8686
+ email?: string | null | undefined;
8687
+ clientId?: string | null | undefined;
8688
+ channelId?: string | null | undefined;
8689
+ waapiInstanceId?: string | null | undefined;
8690
+ qr?: string | null | undefined;
8691
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8609
8692
  apiKey?: string | undefined;
8610
8693
  tier?: "basic" | "regular" | "premium" | undefined;
8694
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8611
8695
  } | undefined;
8612
8696
  vonageCredentials?: {
8613
8697
  apiKey: string;
@@ -8779,6 +8863,7 @@ export declare const instagramContract: {
8779
8863
  dateValue: Date | null;
8780
8864
  uploads: {
8781
8865
  id: string;
8866
+ status: string | null;
8782
8867
  createdAt: Date;
8783
8868
  updatedAt: Date;
8784
8869
  deletedAt: Date | null;
@@ -8787,7 +8872,6 @@ export declare const instagramContract: {
8787
8872
  bucketName: string;
8788
8873
  fileSize: number;
8789
8874
  fileUrl: string | null;
8790
- status?: string | undefined;
8791
8875
  }[];
8792
8876
  }[];
8793
8877
  company: {
@@ -9023,15 +9107,18 @@ export declare const instagramContract: {
9023
9107
  additionalCredentials?: any;
9024
9108
  senderId?: string | undefined;
9025
9109
  whatsapp?: {
9026
- email: string;
9027
- wabaExternalId: string;
9028
- phoneNumberId: string;
9029
- wabaBusinessId?: string | undefined;
9030
- clientId?: string | undefined;
9031
- channelId?: string | undefined;
9032
- status?: "active" | "pending" | undefined;
9110
+ wabaBusinessId?: string | null | undefined;
9111
+ wabaExternalId?: string | null | undefined;
9112
+ phoneNumberId?: string | null | undefined;
9113
+ email?: string | null | undefined;
9114
+ clientId?: string | null | undefined;
9115
+ channelId?: string | null | undefined;
9116
+ waapiInstanceId?: string | null | undefined;
9117
+ qr?: string | null | undefined;
9118
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9033
9119
  apiKey?: string | undefined;
9034
9120
  tier?: "basic" | "regular" | "premium" | undefined;
9121
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9035
9122
  } | undefined;
9036
9123
  vonageCredentials?: {
9037
9124
  apiKey: string;
@@ -9203,6 +9290,7 @@ export declare const instagramContract: {
9203
9290
  dateValue: Date | null;
9204
9291
  uploads: {
9205
9292
  id: string;
9293
+ status: string | null;
9206
9294
  createdAt: Date;
9207
9295
  updatedAt: Date;
9208
9296
  deletedAt: Date | null;
@@ -9211,7 +9299,6 @@ export declare const instagramContract: {
9211
9299
  bucketName: string;
9212
9300
  fileSize: number;
9213
9301
  fileUrl: string | null;
9214
- status?: string | undefined;
9215
9302
  }[];
9216
9303
  }[];
9217
9304
  company: {
@@ -9444,9 +9531,10 @@ export declare const instagramContract: {
9444
9531
  fileSize: z.ZodNumber;
9445
9532
  fileKey: z.ZodString;
9446
9533
  fileUrl: z.ZodNullable<z.ZodString>;
9447
- status: z.ZodOptional<z.ZodString>;
9534
+ status: z.ZodNullable<z.ZodString>;
9448
9535
  }, "strip", z.ZodTypeAny, {
9449
9536
  id: string;
9537
+ status: string | null;
9450
9538
  createdAt: Date;
9451
9539
  updatedAt: Date;
9452
9540
  deletedAt: Date | null;
@@ -9455,9 +9543,9 @@ export declare const instagramContract: {
9455
9543
  bucketName: string;
9456
9544
  fileSize: number;
9457
9545
  fileUrl: string | null;
9458
- status?: string | undefined;
9459
9546
  }, {
9460
9547
  id: string;
9548
+ status: string | null;
9461
9549
  createdAt: Date;
9462
9550
  updatedAt: Date;
9463
9551
  deletedAt: Date | null;
@@ -9466,7 +9554,6 @@ export declare const instagramContract: {
9466
9554
  bucketName: string;
9467
9555
  fileSize: number;
9468
9556
  fileUrl: string | null;
9469
- status?: string | undefined;
9470
9557
  }>;
9471
9558
  repliedMessage: z.ZodLazy<z.ZodObject<{
9472
9559
  id: z.ZodString;
@@ -9475,7 +9562,7 @@ export declare const instagramContract: {
9475
9562
  deletedAt: z.ZodNullable<z.ZodDate>;
9476
9563
  message: z.ZodString;
9477
9564
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9478
- 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"]>;
9565
+ 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"]>;
9479
9566
  readAt: z.ZodDate;
9480
9567
  metadata: z.ZodAny;
9481
9568
  platformId: z.ZodString;
@@ -9496,9 +9583,10 @@ export declare const instagramContract: {
9496
9583
  fileSize: z.ZodNumber;
9497
9584
  fileKey: z.ZodString;
9498
9585
  fileUrl: z.ZodNullable<z.ZodString>;
9499
- status: z.ZodOptional<z.ZodString>;
9586
+ status: z.ZodNullable<z.ZodString>;
9500
9587
  }, "strip", z.ZodTypeAny, {
9501
9588
  id: string;
9589
+ status: string | null;
9502
9590
  createdAt: Date;
9503
9591
  updatedAt: Date;
9504
9592
  deletedAt: Date | null;
@@ -9507,9 +9595,9 @@ export declare const instagramContract: {
9507
9595
  bucketName: string;
9508
9596
  fileSize: number;
9509
9597
  fileUrl: string | null;
9510
- status?: string | undefined;
9511
9598
  }, {
9512
9599
  id: string;
9600
+ status: string | null;
9513
9601
  createdAt: Date;
9514
9602
  updatedAt: Date;
9515
9603
  deletedAt: Date | null;
@@ -9518,7 +9606,6 @@ export declare const instagramContract: {
9518
9606
  bucketName: string;
9519
9607
  fileSize: number;
9520
9608
  fileUrl: string | null;
9521
- status?: string | undefined;
9522
9609
  }>;
9523
9610
  actor: z.ZodObject<{
9524
9611
  id: z.ZodString;
@@ -10133,7 +10220,7 @@ export declare const instagramContract: {
10133
10220
  };
10134
10221
  }>;
10135
10222
  }, "strip", z.ZodTypeAny, {
10136
- 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";
10223
+ 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";
10137
10224
  message: string;
10138
10225
  id: string;
10139
10226
  url: string;
@@ -10187,6 +10274,7 @@ export declare const instagramContract: {
10187
10274
  };
10188
10275
  upload: {
10189
10276
  id: string;
10277
+ status: string | null;
10190
10278
  createdAt: Date;
10191
10279
  updatedAt: Date;
10192
10280
  deletedAt: Date | null;
@@ -10195,7 +10283,6 @@ export declare const instagramContract: {
10195
10283
  bucketName: string;
10196
10284
  fileSize: number;
10197
10285
  fileUrl: string | null;
10198
- status?: string | undefined;
10199
10286
  };
10200
10287
  assignee: {
10201
10288
  id: string;
@@ -10295,7 +10382,7 @@ export declare const instagramContract: {
10295
10382
  metadata?: any;
10296
10383
  template?: any;
10297
10384
  }, {
10298
- 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";
10385
+ 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";
10299
10386
  message: string;
10300
10387
  id: string;
10301
10388
  url: string;
@@ -10349,6 +10436,7 @@ export declare const instagramContract: {
10349
10436
  };
10350
10437
  upload: {
10351
10438
  id: string;
10439
+ status: string | null;
10352
10440
  createdAt: Date;
10353
10441
  updatedAt: Date;
10354
10442
  deletedAt: Date | null;
@@ -10357,7 +10445,6 @@ export declare const instagramContract: {
10357
10445
  bucketName: string;
10358
10446
  fileSize: number;
10359
10447
  fileUrl: string | null;
10360
- status?: string | undefined;
10361
10448
  };
10362
10449
  assignee: {
10363
10450
  id: string;
@@ -11097,7 +11184,7 @@ export declare const instagramContract: {
11097
11184
  editedMessageid: z.ZodString;
11098
11185
  label: z.ZodOptional<z.ZodString>;
11099
11186
  }, "strip", z.ZodTypeAny, {
11100
- 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";
11187
+ 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";
11101
11188
  message: string;
11102
11189
  id: string;
11103
11190
  url: string;
@@ -11151,6 +11238,7 @@ export declare const instagramContract: {
11151
11238
  };
11152
11239
  upload: {
11153
11240
  id: string;
11241
+ status: string | null;
11154
11242
  createdAt: Date;
11155
11243
  updatedAt: Date;
11156
11244
  deletedAt: Date | null;
@@ -11159,7 +11247,6 @@ export declare const instagramContract: {
11159
11247
  bucketName: string;
11160
11248
  fileSize: number;
11161
11249
  fileUrl: string | null;
11162
- status?: string | undefined;
11163
11250
  };
11164
11251
  assignee: {
11165
11252
  id: string;
@@ -11220,15 +11307,18 @@ export declare const instagramContract: {
11220
11307
  additionalCredentials?: any;
11221
11308
  senderId?: string | undefined;
11222
11309
  whatsapp?: {
11223
- email: string;
11224
- wabaExternalId: string;
11225
- phoneNumberId: string;
11226
- wabaBusinessId?: string | undefined;
11227
- clientId?: string | undefined;
11228
- channelId?: string | undefined;
11229
- status?: "active" | "pending" | undefined;
11310
+ wabaBusinessId?: string | null | undefined;
11311
+ wabaExternalId?: string | null | undefined;
11312
+ phoneNumberId?: string | null | undefined;
11313
+ email?: string | null | undefined;
11314
+ clientId?: string | null | undefined;
11315
+ channelId?: string | null | undefined;
11316
+ waapiInstanceId?: string | null | undefined;
11317
+ qr?: string | null | undefined;
11318
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11230
11319
  apiKey?: string | undefined;
11231
11320
  tier?: "basic" | "regular" | "premium" | undefined;
11321
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11232
11322
  } | undefined;
11233
11323
  vonageCredentials?: {
11234
11324
  apiKey: string;
@@ -11400,6 +11490,7 @@ export declare const instagramContract: {
11400
11490
  dateValue: Date | null;
11401
11491
  uploads: {
11402
11492
  id: string;
11493
+ status: string | null;
11403
11494
  createdAt: Date;
11404
11495
  updatedAt: Date;
11405
11496
  deletedAt: Date | null;
@@ -11408,7 +11499,6 @@ export declare const instagramContract: {
11408
11499
  bucketName: string;
11409
11500
  fileSize: number;
11410
11501
  fileUrl: string | null;
11411
- status?: string | undefined;
11412
11502
  }[];
11413
11503
  }[];
11414
11504
  company: {
@@ -11647,7 +11737,7 @@ export declare const instagramContract: {
11647
11737
  previewUrl: string;
11648
11738
  imageSetId: string;
11649
11739
  repliedMessage: {
11650
- 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";
11740
+ 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";
11651
11741
  message: string;
11652
11742
  id: string;
11653
11743
  url: string;
@@ -11701,6 +11791,7 @@ export declare const instagramContract: {
11701
11791
  };
11702
11792
  upload: {
11703
11793
  id: string;
11794
+ status: string | null;
11704
11795
  createdAt: Date;
11705
11796
  updatedAt: Date;
11706
11797
  deletedAt: Date | null;
@@ -11709,7 +11800,6 @@ export declare const instagramContract: {
11709
11800
  bucketName: string;
11710
11801
  fileSize: number;
11711
11802
  fileUrl: string | null;
11712
- status?: string | undefined;
11713
11803
  };
11714
11804
  assignee: {
11715
11805
  id: string;
@@ -11858,7 +11948,7 @@ export declare const instagramContract: {
11858
11948
  template?: any;
11859
11949
  label?: string | undefined;
11860
11950
  }, {
11861
- 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";
11951
+ 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";
11862
11952
  message: string;
11863
11953
  id: string;
11864
11954
  url: string;
@@ -11912,6 +12002,7 @@ export declare const instagramContract: {
11912
12002
  };
11913
12003
  upload: {
11914
12004
  id: string;
12005
+ status: string | null;
11915
12006
  createdAt: Date;
11916
12007
  updatedAt: Date;
11917
12008
  deletedAt: Date | null;
@@ -11920,7 +12011,6 @@ export declare const instagramContract: {
11920
12011
  bucketName: string;
11921
12012
  fileSize: number;
11922
12013
  fileUrl: string | null;
11923
- status?: string | undefined;
11924
12014
  };
11925
12015
  assignee: {
11926
12016
  id: string;
@@ -11981,15 +12071,18 @@ export declare const instagramContract: {
11981
12071
  additionalCredentials?: any;
11982
12072
  senderId?: string | undefined;
11983
12073
  whatsapp?: {
11984
- email: string;
11985
- wabaExternalId: string;
11986
- phoneNumberId: string;
11987
- wabaBusinessId?: string | undefined;
11988
- clientId?: string | undefined;
11989
- channelId?: string | undefined;
11990
- status?: "active" | "pending" | undefined;
12074
+ wabaBusinessId?: string | null | undefined;
12075
+ wabaExternalId?: string | null | undefined;
12076
+ phoneNumberId?: string | null | undefined;
12077
+ email?: string | null | undefined;
12078
+ clientId?: string | null | undefined;
12079
+ channelId?: string | null | undefined;
12080
+ waapiInstanceId?: string | null | undefined;
12081
+ qr?: string | null | undefined;
12082
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11991
12083
  apiKey?: string | undefined;
11992
12084
  tier?: "basic" | "regular" | "premium" | undefined;
12085
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11993
12086
  } | undefined;
11994
12087
  vonageCredentials?: {
11995
12088
  apiKey: string;
@@ -12161,6 +12254,7 @@ export declare const instagramContract: {
12161
12254
  dateValue: Date | null;
12162
12255
  uploads: {
12163
12256
  id: string;
12257
+ status: string | null;
12164
12258
  createdAt: Date;
12165
12259
  updatedAt: Date;
12166
12260
  deletedAt: Date | null;
@@ -12169,7 +12263,6 @@ export declare const instagramContract: {
12169
12263
  bucketName: string;
12170
12264
  fileSize: number;
12171
12265
  fileUrl: string | null;
12172
- status?: string | undefined;
12173
12266
  }[];
12174
12267
  }[];
12175
12268
  company: {
@@ -12408,7 +12501,7 @@ export declare const instagramContract: {
12408
12501
  previewUrl: string;
12409
12502
  imageSetId: string;
12410
12503
  repliedMessage: {
12411
- 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";
12504
+ 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";
12412
12505
  message: string;
12413
12506
  id: string;
12414
12507
  url: string;
@@ -12462,6 +12555,7 @@ export declare const instagramContract: {
12462
12555
  };
12463
12556
  upload: {
12464
12557
  id: string;
12558
+ status: string | null;
12465
12559
  createdAt: Date;
12466
12560
  updatedAt: Date;
12467
12561
  deletedAt: Date | null;
@@ -12470,7 +12564,6 @@ export declare const instagramContract: {
12470
12564
  bucketName: string;
12471
12565
  fileSize: number;
12472
12566
  fileUrl: string | null;
12473
- status?: string | undefined;
12474
12567
  };
12475
12568
  assignee: {
12476
12569
  id: string;
@@ -12620,7 +12713,7 @@ export declare const instagramContract: {
12620
12713
  label?: string | undefined;
12621
12714
  }>>>;
12622
12715
  }, "strip", z.ZodTypeAny, {
12623
- 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";
12716
+ 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";
12624
12717
  message: string;
12625
12718
  id: string;
12626
12719
  url: string;
@@ -12674,6 +12767,7 @@ export declare const instagramContract: {
12674
12767
  };
12675
12768
  upload: {
12676
12769
  id: string;
12770
+ status: string | null;
12677
12771
  createdAt: Date;
12678
12772
  updatedAt: Date;
12679
12773
  deletedAt: Date | null;
@@ -12682,7 +12776,6 @@ export declare const instagramContract: {
12682
12776
  bucketName: string;
12683
12777
  fileSize: number;
12684
12778
  fileUrl: string | null;
12685
- status?: string | undefined;
12686
12779
  };
12687
12780
  assignee: {
12688
12781
  id: string;
@@ -12743,15 +12836,18 @@ export declare const instagramContract: {
12743
12836
  additionalCredentials?: any;
12744
12837
  senderId?: string | undefined;
12745
12838
  whatsapp?: {
12746
- email: string;
12747
- wabaExternalId: string;
12748
- phoneNumberId: string;
12749
- wabaBusinessId?: string | undefined;
12750
- clientId?: string | undefined;
12751
- channelId?: string | undefined;
12752
- status?: "active" | "pending" | undefined;
12839
+ wabaBusinessId?: string | null | undefined;
12840
+ wabaExternalId?: string | null | undefined;
12841
+ phoneNumberId?: string | null | undefined;
12842
+ email?: string | null | undefined;
12843
+ clientId?: string | null | undefined;
12844
+ channelId?: string | null | undefined;
12845
+ waapiInstanceId?: string | null | undefined;
12846
+ qr?: string | null | undefined;
12847
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12753
12848
  apiKey?: string | undefined;
12754
12849
  tier?: "basic" | "regular" | "premium" | undefined;
12850
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12755
12851
  } | undefined;
12756
12852
  vonageCredentials?: {
12757
12853
  apiKey: string;
@@ -12923,6 +13019,7 @@ export declare const instagramContract: {
12923
13019
  dateValue: Date | null;
12924
13020
  uploads: {
12925
13021
  id: string;
13022
+ status: string | null;
12926
13023
  createdAt: Date;
12927
13024
  updatedAt: Date;
12928
13025
  deletedAt: Date | null;
@@ -12931,7 +13028,6 @@ export declare const instagramContract: {
12931
13028
  bucketName: string;
12932
13029
  fileSize: number;
12933
13030
  fileUrl: string | null;
12934
- status?: string | undefined;
12935
13031
  }[];
12936
13032
  }[];
12937
13033
  company: {
@@ -13170,7 +13266,7 @@ export declare const instagramContract: {
13170
13266
  previewUrl: string;
13171
13267
  imageSetId: string;
13172
13268
  repliedMessage: {
13173
- 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";
13269
+ 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";
13174
13270
  message: string;
13175
13271
  id: string;
13176
13272
  url: string;
@@ -13224,6 +13320,7 @@ export declare const instagramContract: {
13224
13320
  };
13225
13321
  upload: {
13226
13322
  id: string;
13323
+ status: string | null;
13227
13324
  createdAt: Date;
13228
13325
  updatedAt: Date;
13229
13326
  deletedAt: Date | null;
@@ -13232,7 +13329,6 @@ export declare const instagramContract: {
13232
13329
  bucketName: string;
13233
13330
  fileSize: number;
13234
13331
  fileUrl: string | null;
13235
- status?: string | undefined;
13236
13332
  };
13237
13333
  assignee: {
13238
13334
  id: string;
@@ -13381,7 +13477,7 @@ export declare const instagramContract: {
13381
13477
  template?: any;
13382
13478
  metadata?: any;
13383
13479
  fromMessage?: {
13384
- 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";
13480
+ 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";
13385
13481
  message: string;
13386
13482
  id: string;
13387
13483
  url: string;
@@ -13435,6 +13531,7 @@ export declare const instagramContract: {
13435
13531
  };
13436
13532
  upload: {
13437
13533
  id: string;
13534
+ status: string | null;
13438
13535
  createdAt: Date;
13439
13536
  updatedAt: Date;
13440
13537
  deletedAt: Date | null;
@@ -13443,7 +13540,6 @@ export declare const instagramContract: {
13443
13540
  bucketName: string;
13444
13541
  fileSize: number;
13445
13542
  fileUrl: string | null;
13446
- status?: string | undefined;
13447
13543
  };
13448
13544
  assignee: {
13449
13545
  id: string;
@@ -13504,15 +13600,18 @@ export declare const instagramContract: {
13504
13600
  additionalCredentials?: any;
13505
13601
  senderId?: string | undefined;
13506
13602
  whatsapp?: {
13507
- email: string;
13508
- wabaExternalId: string;
13509
- phoneNumberId: string;
13510
- wabaBusinessId?: string | undefined;
13511
- clientId?: string | undefined;
13512
- channelId?: string | undefined;
13513
- status?: "active" | "pending" | undefined;
13603
+ wabaBusinessId?: string | null | undefined;
13604
+ wabaExternalId?: string | null | undefined;
13605
+ phoneNumberId?: string | null | undefined;
13606
+ email?: string | null | undefined;
13607
+ clientId?: string | null | undefined;
13608
+ channelId?: string | null | undefined;
13609
+ waapiInstanceId?: string | null | undefined;
13610
+ qr?: string | null | undefined;
13611
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13514
13612
  apiKey?: string | undefined;
13515
13613
  tier?: "basic" | "regular" | "premium" | undefined;
13614
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13516
13615
  } | undefined;
13517
13616
  vonageCredentials?: {
13518
13617
  apiKey: string;
@@ -13684,6 +13783,7 @@ export declare const instagramContract: {
13684
13783
  dateValue: Date | null;
13685
13784
  uploads: {
13686
13785
  id: string;
13786
+ status: string | null;
13687
13787
  createdAt: Date;
13688
13788
  updatedAt: Date;
13689
13789
  deletedAt: Date | null;
@@ -13692,7 +13792,6 @@ export declare const instagramContract: {
13692
13792
  bucketName: string;
13693
13793
  fileSize: number;
13694
13794
  fileUrl: string | null;
13695
- status?: string | undefined;
13696
13795
  }[];
13697
13796
  }[];
13698
13797
  company: {
@@ -13931,7 +14030,7 @@ export declare const instagramContract: {
13931
14030
  previewUrl: string;
13932
14031
  imageSetId: string;
13933
14032
  repliedMessage: {
13934
- 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";
14033
+ 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";
13935
14034
  message: string;
13936
14035
  id: string;
13937
14036
  url: string;
@@ -13985,6 +14084,7 @@ export declare const instagramContract: {
13985
14084
  };
13986
14085
  upload: {
13987
14086
  id: string;
14087
+ status: string | null;
13988
14088
  createdAt: Date;
13989
14089
  updatedAt: Date;
13990
14090
  deletedAt: Date | null;
@@ -13993,7 +14093,6 @@ export declare const instagramContract: {
13993
14093
  bucketName: string;
13994
14094
  fileSize: number;
13995
14095
  fileUrl: string | null;
13996
- status?: string | undefined;
13997
14096
  };
13998
14097
  assignee: {
13999
14098
  id: string;
@@ -14143,7 +14242,7 @@ export declare const instagramContract: {
14143
14242
  label?: string | undefined;
14144
14243
  } | null | undefined;
14145
14244
  }, {
14146
- 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";
14245
+ 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";
14147
14246
  message: string;
14148
14247
  id: string;
14149
14248
  url: string;
@@ -14197,6 +14296,7 @@ export declare const instagramContract: {
14197
14296
  };
14198
14297
  upload: {
14199
14298
  id: string;
14299
+ status: string | null;
14200
14300
  createdAt: Date;
14201
14301
  updatedAt: Date;
14202
14302
  deletedAt: Date | null;
@@ -14205,7 +14305,6 @@ export declare const instagramContract: {
14205
14305
  bucketName: string;
14206
14306
  fileSize: number;
14207
14307
  fileUrl: string | null;
14208
- status?: string | undefined;
14209
14308
  };
14210
14309
  assignee: {
14211
14310
  id: string;
@@ -14266,15 +14365,18 @@ export declare const instagramContract: {
14266
14365
  additionalCredentials?: any;
14267
14366
  senderId?: string | undefined;
14268
14367
  whatsapp?: {
14269
- email: string;
14270
- wabaExternalId: string;
14271
- phoneNumberId: string;
14272
- wabaBusinessId?: string | undefined;
14273
- clientId?: string | undefined;
14274
- channelId?: string | undefined;
14275
- status?: "active" | "pending" | undefined;
14368
+ wabaBusinessId?: string | null | undefined;
14369
+ wabaExternalId?: string | null | undefined;
14370
+ phoneNumberId?: string | null | undefined;
14371
+ email?: string | null | undefined;
14372
+ clientId?: string | null | undefined;
14373
+ channelId?: string | null | undefined;
14374
+ waapiInstanceId?: string | null | undefined;
14375
+ qr?: string | null | undefined;
14376
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14276
14377
  apiKey?: string | undefined;
14277
14378
  tier?: "basic" | "regular" | "premium" | undefined;
14379
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14278
14380
  } | undefined;
14279
14381
  vonageCredentials?: {
14280
14382
  apiKey: string;
@@ -14446,6 +14548,7 @@ export declare const instagramContract: {
14446
14548
  dateValue: Date | null;
14447
14549
  uploads: {
14448
14550
  id: string;
14551
+ status: string | null;
14449
14552
  createdAt: Date;
14450
14553
  updatedAt: Date;
14451
14554
  deletedAt: Date | null;
@@ -14454,7 +14557,6 @@ export declare const instagramContract: {
14454
14557
  bucketName: string;
14455
14558
  fileSize: number;
14456
14559
  fileUrl: string | null;
14457
- status?: string | undefined;
14458
14560
  }[];
14459
14561
  }[];
14460
14562
  company: {
@@ -14693,7 +14795,7 @@ export declare const instagramContract: {
14693
14795
  previewUrl: string;
14694
14796
  imageSetId: string;
14695
14797
  repliedMessage: {
14696
- 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";
14798
+ 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";
14697
14799
  message: string;
14698
14800
  id: string;
14699
14801
  url: string;
@@ -14747,6 +14849,7 @@ export declare const instagramContract: {
14747
14849
  };
14748
14850
  upload: {
14749
14851
  id: string;
14852
+ status: string | null;
14750
14853
  createdAt: Date;
14751
14854
  updatedAt: Date;
14752
14855
  deletedAt: Date | null;
@@ -14755,7 +14858,6 @@ export declare const instagramContract: {
14755
14858
  bucketName: string;
14756
14859
  fileSize: number;
14757
14860
  fileUrl: string | null;
14758
- status?: string | undefined;
14759
14861
  };
14760
14862
  assignee: {
14761
14863
  id: string;
@@ -14904,7 +15006,7 @@ export declare const instagramContract: {
14904
15006
  template?: any;
14905
15007
  metadata?: any;
14906
15008
  fromMessage?: {
14907
- 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";
15009
+ 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";
14908
15010
  message: string;
14909
15011
  id: string;
14910
15012
  url: string;
@@ -14958,6 +15060,7 @@ export declare const instagramContract: {
14958
15060
  };
14959
15061
  upload: {
14960
15062
  id: string;
15063
+ status: string | null;
14961
15064
  createdAt: Date;
14962
15065
  updatedAt: Date;
14963
15066
  deletedAt: Date | null;
@@ -14966,7 +15069,6 @@ export declare const instagramContract: {
14966
15069
  bucketName: string;
14967
15070
  fileSize: number;
14968
15071
  fileUrl: string | null;
14969
- status?: string | undefined;
14970
15072
  };
14971
15073
  assignee: {
14972
15074
  id: string;
@@ -15027,15 +15129,18 @@ export declare const instagramContract: {
15027
15129
  additionalCredentials?: any;
15028
15130
  senderId?: string | undefined;
15029
15131
  whatsapp?: {
15030
- email: string;
15031
- wabaExternalId: string;
15032
- phoneNumberId: string;
15033
- wabaBusinessId?: string | undefined;
15034
- clientId?: string | undefined;
15035
- channelId?: string | undefined;
15036
- status?: "active" | "pending" | undefined;
15132
+ wabaBusinessId?: string | null | undefined;
15133
+ wabaExternalId?: string | null | undefined;
15134
+ phoneNumberId?: string | null | undefined;
15135
+ email?: string | null | undefined;
15136
+ clientId?: string | null | undefined;
15137
+ channelId?: string | null | undefined;
15138
+ waapiInstanceId?: string | null | undefined;
15139
+ qr?: string | null | undefined;
15140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15037
15141
  apiKey?: string | undefined;
15038
15142
  tier?: "basic" | "regular" | "premium" | undefined;
15143
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15039
15144
  } | undefined;
15040
15145
  vonageCredentials?: {
15041
15146
  apiKey: string;
@@ -15207,6 +15312,7 @@ export declare const instagramContract: {
15207
15312
  dateValue: Date | null;
15208
15313
  uploads: {
15209
15314
  id: string;
15315
+ status: string | null;
15210
15316
  createdAt: Date;
15211
15317
  updatedAt: Date;
15212
15318
  deletedAt: Date | null;
@@ -15215,7 +15321,6 @@ export declare const instagramContract: {
15215
15321
  bucketName: string;
15216
15322
  fileSize: number;
15217
15323
  fileUrl: string | null;
15218
- status?: string | undefined;
15219
15324
  }[];
15220
15325
  }[];
15221
15326
  company: {
@@ -15454,7 +15559,7 @@ export declare const instagramContract: {
15454
15559
  previewUrl: string;
15455
15560
  imageSetId: string;
15456
15561
  repliedMessage: {
15457
- 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";
15562
+ 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";
15458
15563
  message: string;
15459
15564
  id: string;
15460
15565
  url: string;
@@ -15508,6 +15613,7 @@ export declare const instagramContract: {
15508
15613
  };
15509
15614
  upload: {
15510
15615
  id: string;
15616
+ status: string | null;
15511
15617
  createdAt: Date;
15512
15618
  updatedAt: Date;
15513
15619
  deletedAt: Date | null;
@@ -15516,7 +15622,6 @@ export declare const instagramContract: {
15516
15622
  bucketName: string;
15517
15623
  fileSize: number;
15518
15624
  fileUrl: string | null;
15519
- status?: string | undefined;
15520
15625
  };
15521
15626
  assignee: {
15522
15627
  id: string;
@@ -15668,7 +15773,7 @@ export declare const instagramContract: {
15668
15773
  }>;
15669
15774
  }, "strip", z.ZodTypeAny, {
15670
15775
  data: {
15671
- 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";
15776
+ 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";
15672
15777
  message: string;
15673
15778
  id: string;
15674
15779
  url: string;
@@ -15722,6 +15827,7 @@ export declare const instagramContract: {
15722
15827
  };
15723
15828
  upload: {
15724
15829
  id: string;
15830
+ status: string | null;
15725
15831
  createdAt: Date;
15726
15832
  updatedAt: Date;
15727
15833
  deletedAt: Date | null;
@@ -15730,7 +15836,6 @@ export declare const instagramContract: {
15730
15836
  bucketName: string;
15731
15837
  fileSize: number;
15732
15838
  fileUrl: string | null;
15733
- status?: string | undefined;
15734
15839
  };
15735
15840
  assignee: {
15736
15841
  id: string;
@@ -15791,15 +15896,18 @@ export declare const instagramContract: {
15791
15896
  additionalCredentials?: any;
15792
15897
  senderId?: string | undefined;
15793
15898
  whatsapp?: {
15794
- email: string;
15795
- wabaExternalId: string;
15796
- phoneNumberId: string;
15797
- wabaBusinessId?: string | undefined;
15798
- clientId?: string | undefined;
15799
- channelId?: string | undefined;
15800
- status?: "active" | "pending" | undefined;
15899
+ wabaBusinessId?: string | null | undefined;
15900
+ wabaExternalId?: string | null | undefined;
15901
+ phoneNumberId?: string | null | undefined;
15902
+ email?: string | null | undefined;
15903
+ clientId?: string | null | undefined;
15904
+ channelId?: string | null | undefined;
15905
+ waapiInstanceId?: string | null | undefined;
15906
+ qr?: string | null | undefined;
15907
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15801
15908
  apiKey?: string | undefined;
15802
15909
  tier?: "basic" | "regular" | "premium" | undefined;
15910
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15803
15911
  } | undefined;
15804
15912
  vonageCredentials?: {
15805
15913
  apiKey: string;
@@ -15971,6 +16079,7 @@ export declare const instagramContract: {
15971
16079
  dateValue: Date | null;
15972
16080
  uploads: {
15973
16081
  id: string;
16082
+ status: string | null;
15974
16083
  createdAt: Date;
15975
16084
  updatedAt: Date;
15976
16085
  deletedAt: Date | null;
@@ -15979,7 +16088,6 @@ export declare const instagramContract: {
15979
16088
  bucketName: string;
15980
16089
  fileSize: number;
15981
16090
  fileUrl: string | null;
15982
- status?: string | undefined;
15983
16091
  }[];
15984
16092
  }[];
15985
16093
  company: {
@@ -16218,7 +16326,7 @@ export declare const instagramContract: {
16218
16326
  previewUrl: string;
16219
16327
  imageSetId: string;
16220
16328
  repliedMessage: {
16221
- 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";
16329
+ 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";
16222
16330
  message: string;
16223
16331
  id: string;
16224
16332
  url: string;
@@ -16272,6 +16380,7 @@ export declare const instagramContract: {
16272
16380
  };
16273
16381
  upload: {
16274
16382
  id: string;
16383
+ status: string | null;
16275
16384
  createdAt: Date;
16276
16385
  updatedAt: Date;
16277
16386
  deletedAt: Date | null;
@@ -16280,7 +16389,6 @@ export declare const instagramContract: {
16280
16389
  bucketName: string;
16281
16390
  fileSize: number;
16282
16391
  fileUrl: string | null;
16283
- status?: string | undefined;
16284
16392
  };
16285
16393
  assignee: {
16286
16394
  id: string;
@@ -16429,7 +16537,7 @@ export declare const instagramContract: {
16429
16537
  template?: any;
16430
16538
  metadata?: any;
16431
16539
  fromMessage?: {
16432
- 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";
16540
+ 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";
16433
16541
  message: string;
16434
16542
  id: string;
16435
16543
  url: string;
@@ -16483,6 +16591,7 @@ export declare const instagramContract: {
16483
16591
  };
16484
16592
  upload: {
16485
16593
  id: string;
16594
+ status: string | null;
16486
16595
  createdAt: Date;
16487
16596
  updatedAt: Date;
16488
16597
  deletedAt: Date | null;
@@ -16491,7 +16600,6 @@ export declare const instagramContract: {
16491
16600
  bucketName: string;
16492
16601
  fileSize: number;
16493
16602
  fileUrl: string | null;
16494
- status?: string | undefined;
16495
16603
  };
16496
16604
  assignee: {
16497
16605
  id: string;
@@ -16552,15 +16660,18 @@ export declare const instagramContract: {
16552
16660
  additionalCredentials?: any;
16553
16661
  senderId?: string | undefined;
16554
16662
  whatsapp?: {
16555
- email: string;
16556
- wabaExternalId: string;
16557
- phoneNumberId: string;
16558
- wabaBusinessId?: string | undefined;
16559
- clientId?: string | undefined;
16560
- channelId?: string | undefined;
16561
- status?: "active" | "pending" | undefined;
16663
+ wabaBusinessId?: string | null | undefined;
16664
+ wabaExternalId?: string | null | undefined;
16665
+ phoneNumberId?: string | null | undefined;
16666
+ email?: string | null | undefined;
16667
+ clientId?: string | null | undefined;
16668
+ channelId?: string | null | undefined;
16669
+ waapiInstanceId?: string | null | undefined;
16670
+ qr?: string | null | undefined;
16671
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16562
16672
  apiKey?: string | undefined;
16563
16673
  tier?: "basic" | "regular" | "premium" | undefined;
16674
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16564
16675
  } | undefined;
16565
16676
  vonageCredentials?: {
16566
16677
  apiKey: string;
@@ -16732,6 +16843,7 @@ export declare const instagramContract: {
16732
16843
  dateValue: Date | null;
16733
16844
  uploads: {
16734
16845
  id: string;
16846
+ status: string | null;
16735
16847
  createdAt: Date;
16736
16848
  updatedAt: Date;
16737
16849
  deletedAt: Date | null;
@@ -16740,7 +16852,6 @@ export declare const instagramContract: {
16740
16852
  bucketName: string;
16741
16853
  fileSize: number;
16742
16854
  fileUrl: string | null;
16743
- status?: string | undefined;
16744
16855
  }[];
16745
16856
  }[];
16746
16857
  company: {
@@ -16979,7 +17090,7 @@ export declare const instagramContract: {
16979
17090
  previewUrl: string;
16980
17091
  imageSetId: string;
16981
17092
  repliedMessage: {
16982
- 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";
17093
+ 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";
16983
17094
  message: string;
16984
17095
  id: string;
16985
17096
  url: string;
@@ -17033,6 +17144,7 @@ export declare const instagramContract: {
17033
17144
  };
17034
17145
  upload: {
17035
17146
  id: string;
17147
+ status: string | null;
17036
17148
  createdAt: Date;
17037
17149
  updatedAt: Date;
17038
17150
  deletedAt: Date | null;
@@ -17041,7 +17153,6 @@ export declare const instagramContract: {
17041
17153
  bucketName: string;
17042
17154
  fileSize: number;
17043
17155
  fileUrl: string | null;
17044
- status?: string | undefined;
17045
17156
  };
17046
17157
  assignee: {
17047
17158
  id: string;
@@ -17194,7 +17305,7 @@ export declare const instagramContract: {
17194
17305
  requestId: string;
17195
17306
  }, {
17196
17307
  data: {
17197
- 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";
17308
+ 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";
17198
17309
  message: string;
17199
17310
  id: string;
17200
17311
  url: string;
@@ -17248,6 +17359,7 @@ export declare const instagramContract: {
17248
17359
  };
17249
17360
  upload: {
17250
17361
  id: string;
17362
+ status: string | null;
17251
17363
  createdAt: Date;
17252
17364
  updatedAt: Date;
17253
17365
  deletedAt: Date | null;
@@ -17256,7 +17368,6 @@ export declare const instagramContract: {
17256
17368
  bucketName: string;
17257
17369
  fileSize: number;
17258
17370
  fileUrl: string | null;
17259
- status?: string | undefined;
17260
17371
  };
17261
17372
  assignee: {
17262
17373
  id: string;
@@ -17317,15 +17428,18 @@ export declare const instagramContract: {
17317
17428
  additionalCredentials?: any;
17318
17429
  senderId?: string | undefined;
17319
17430
  whatsapp?: {
17320
- email: string;
17321
- wabaExternalId: string;
17322
- phoneNumberId: string;
17323
- wabaBusinessId?: string | undefined;
17324
- clientId?: string | undefined;
17325
- channelId?: string | undefined;
17326
- status?: "active" | "pending" | undefined;
17431
+ wabaBusinessId?: string | null | undefined;
17432
+ wabaExternalId?: string | null | undefined;
17433
+ phoneNumberId?: string | null | undefined;
17434
+ email?: string | null | undefined;
17435
+ clientId?: string | null | undefined;
17436
+ channelId?: string | null | undefined;
17437
+ waapiInstanceId?: string | null | undefined;
17438
+ qr?: string | null | undefined;
17439
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17327
17440
  apiKey?: string | undefined;
17328
17441
  tier?: "basic" | "regular" | "premium" | undefined;
17442
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17329
17443
  } | undefined;
17330
17444
  vonageCredentials?: {
17331
17445
  apiKey: string;
@@ -17497,6 +17611,7 @@ export declare const instagramContract: {
17497
17611
  dateValue: Date | null;
17498
17612
  uploads: {
17499
17613
  id: string;
17614
+ status: string | null;
17500
17615
  createdAt: Date;
17501
17616
  updatedAt: Date;
17502
17617
  deletedAt: Date | null;
@@ -17505,7 +17620,6 @@ export declare const instagramContract: {
17505
17620
  bucketName: string;
17506
17621
  fileSize: number;
17507
17622
  fileUrl: string | null;
17508
- status?: string | undefined;
17509
17623
  }[];
17510
17624
  }[];
17511
17625
  company: {
@@ -17744,7 +17858,7 @@ export declare const instagramContract: {
17744
17858
  previewUrl: string;
17745
17859
  imageSetId: string;
17746
17860
  repliedMessage: {
17747
- 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";
17861
+ 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";
17748
17862
  message: string;
17749
17863
  id: string;
17750
17864
  url: string;
@@ -17798,6 +17912,7 @@ export declare const instagramContract: {
17798
17912
  };
17799
17913
  upload: {
17800
17914
  id: string;
17915
+ status: string | null;
17801
17916
  createdAt: Date;
17802
17917
  updatedAt: Date;
17803
17918
  deletedAt: Date | null;
@@ -17806,7 +17921,6 @@ export declare const instagramContract: {
17806
17921
  bucketName: string;
17807
17922
  fileSize: number;
17808
17923
  fileUrl: string | null;
17809
- status?: string | undefined;
17810
17924
  };
17811
17925
  assignee: {
17812
17926
  id: string;
@@ -17955,7 +18069,7 @@ export declare const instagramContract: {
17955
18069
  template?: any;
17956
18070
  metadata?: any;
17957
18071
  fromMessage?: {
17958
- 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";
18072
+ 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";
17959
18073
  message: string;
17960
18074
  id: string;
17961
18075
  url: string;
@@ -18009,6 +18123,7 @@ export declare const instagramContract: {
18009
18123
  };
18010
18124
  upload: {
18011
18125
  id: string;
18126
+ status: string | null;
18012
18127
  createdAt: Date;
18013
18128
  updatedAt: Date;
18014
18129
  deletedAt: Date | null;
@@ -18017,7 +18132,6 @@ export declare const instagramContract: {
18017
18132
  bucketName: string;
18018
18133
  fileSize: number;
18019
18134
  fileUrl: string | null;
18020
- status?: string | undefined;
18021
18135
  };
18022
18136
  assignee: {
18023
18137
  id: string;
@@ -18078,15 +18192,18 @@ export declare const instagramContract: {
18078
18192
  additionalCredentials?: any;
18079
18193
  senderId?: string | undefined;
18080
18194
  whatsapp?: {
18081
- email: string;
18082
- wabaExternalId: string;
18083
- phoneNumberId: string;
18084
- wabaBusinessId?: string | undefined;
18085
- clientId?: string | undefined;
18086
- channelId?: string | undefined;
18087
- status?: "active" | "pending" | undefined;
18195
+ wabaBusinessId?: string | null | undefined;
18196
+ wabaExternalId?: string | null | undefined;
18197
+ phoneNumberId?: string | null | undefined;
18198
+ email?: string | null | undefined;
18199
+ clientId?: string | null | undefined;
18200
+ channelId?: string | null | undefined;
18201
+ waapiInstanceId?: string | null | undefined;
18202
+ qr?: string | null | undefined;
18203
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18088
18204
  apiKey?: string | undefined;
18089
18205
  tier?: "basic" | "regular" | "premium" | undefined;
18206
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18090
18207
  } | undefined;
18091
18208
  vonageCredentials?: {
18092
18209
  apiKey: string;
@@ -18258,6 +18375,7 @@ export declare const instagramContract: {
18258
18375
  dateValue: Date | null;
18259
18376
  uploads: {
18260
18377
  id: string;
18378
+ status: string | null;
18261
18379
  createdAt: Date;
18262
18380
  updatedAt: Date;
18263
18381
  deletedAt: Date | null;
@@ -18266,7 +18384,6 @@ export declare const instagramContract: {
18266
18384
  bucketName: string;
18267
18385
  fileSize: number;
18268
18386
  fileUrl: string | null;
18269
- status?: string | undefined;
18270
18387
  }[];
18271
18388
  }[];
18272
18389
  company: {
@@ -18505,7 +18622,7 @@ export declare const instagramContract: {
18505
18622
  previewUrl: string;
18506
18623
  imageSetId: string;
18507
18624
  repliedMessage: {
18508
- 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";
18625
+ 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";
18509
18626
  message: string;
18510
18627
  id: string;
18511
18628
  url: string;
@@ -18559,6 +18676,7 @@ export declare const instagramContract: {
18559
18676
  };
18560
18677
  upload: {
18561
18678
  id: string;
18679
+ status: string | null;
18562
18680
  createdAt: Date;
18563
18681
  updatedAt: Date;
18564
18682
  deletedAt: Date | null;
@@ -18567,7 +18685,6 @@ export declare const instagramContract: {
18567
18685
  bucketName: string;
18568
18686
  fileSize: number;
18569
18687
  fileUrl: string | null;
18570
- status?: string | undefined;
18571
18688
  };
18572
18689
  assignee: {
18573
18690
  id: string;
@@ -18745,35 +18862,44 @@ export declare const instagramContract: {
18745
18862
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18746
18863
  senderId: z.ZodOptional<z.ZodString>;
18747
18864
  whatsapp: z.ZodOptional<z.ZodObject<{
18748
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18749
- wabaExternalId: z.ZodString;
18750
- phoneNumberId: z.ZodString;
18751
- email: z.ZodString;
18752
- clientId: z.ZodOptional<z.ZodString>;
18753
- channelId: z.ZodOptional<z.ZodString>;
18754
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18865
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18866
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18867
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18868
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18869
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18870
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18871
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18872
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18873
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18755
18874
  apiKey: z.ZodOptional<z.ZodString>;
18756
18875
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18876
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18757
18877
  }, "strip", z.ZodTypeAny, {
18758
- email: string;
18759
- wabaExternalId: string;
18760
- phoneNumberId: string;
18761
- wabaBusinessId?: string | undefined;
18762
- clientId?: string | undefined;
18763
- channelId?: string | undefined;
18764
- status?: "active" | "pending" | undefined;
18878
+ wabaBusinessId?: string | null | undefined;
18879
+ wabaExternalId?: string | null | undefined;
18880
+ phoneNumberId?: string | null | undefined;
18881
+ email?: string | null | undefined;
18882
+ clientId?: string | null | undefined;
18883
+ channelId?: string | null | undefined;
18884
+ waapiInstanceId?: string | null | undefined;
18885
+ qr?: string | null | undefined;
18886
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18765
18887
  apiKey?: string | undefined;
18766
18888
  tier?: "basic" | "regular" | "premium" | undefined;
18889
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18767
18890
  }, {
18768
- email: string;
18769
- wabaExternalId: string;
18770
- phoneNumberId: string;
18771
- wabaBusinessId?: string | undefined;
18772
- clientId?: string | undefined;
18773
- channelId?: string | undefined;
18774
- status?: "active" | "pending" | undefined;
18891
+ wabaBusinessId?: string | null | undefined;
18892
+ wabaExternalId?: string | null | undefined;
18893
+ phoneNumberId?: string | null | undefined;
18894
+ email?: string | null | undefined;
18895
+ clientId?: string | null | undefined;
18896
+ channelId?: string | null | undefined;
18897
+ waapiInstanceId?: string | null | undefined;
18898
+ qr?: string | null | undefined;
18899
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18775
18900
  apiKey?: string | undefined;
18776
18901
  tier?: "basic" | "regular" | "premium" | undefined;
18902
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18777
18903
  }>>;
18778
18904
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18779
18905
  mobileNumber: z.ZodString;
@@ -18799,15 +18925,18 @@ export declare const instagramContract: {
18799
18925
  additionalCredentials?: any;
18800
18926
  senderId?: string | undefined;
18801
18927
  whatsapp?: {
18802
- email: string;
18803
- wabaExternalId: string;
18804
- phoneNumberId: string;
18805
- wabaBusinessId?: string | undefined;
18806
- clientId?: string | undefined;
18807
- channelId?: string | undefined;
18808
- status?: "active" | "pending" | undefined;
18928
+ wabaBusinessId?: string | null | undefined;
18929
+ wabaExternalId?: string | null | undefined;
18930
+ phoneNumberId?: string | null | undefined;
18931
+ email?: string | null | undefined;
18932
+ clientId?: string | null | undefined;
18933
+ channelId?: string | null | undefined;
18934
+ waapiInstanceId?: string | null | undefined;
18935
+ qr?: string | null | undefined;
18936
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18809
18937
  apiKey?: string | undefined;
18810
18938
  tier?: "basic" | "regular" | "premium" | undefined;
18939
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18811
18940
  } | undefined;
18812
18941
  vonageCredentials?: {
18813
18942
  apiKey: string;
@@ -18825,15 +18954,18 @@ export declare const instagramContract: {
18825
18954
  additionalCredentials?: any;
18826
18955
  senderId?: string | undefined;
18827
18956
  whatsapp?: {
18828
- email: string;
18829
- wabaExternalId: string;
18830
- phoneNumberId: string;
18831
- wabaBusinessId?: string | undefined;
18832
- clientId?: string | undefined;
18833
- channelId?: string | undefined;
18834
- status?: "active" | "pending" | undefined;
18957
+ wabaBusinessId?: string | null | undefined;
18958
+ wabaExternalId?: string | null | undefined;
18959
+ phoneNumberId?: string | null | undefined;
18960
+ email?: string | null | undefined;
18961
+ clientId?: string | null | undefined;
18962
+ channelId?: string | null | undefined;
18963
+ waapiInstanceId?: string | null | undefined;
18964
+ qr?: string | null | undefined;
18965
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18835
18966
  apiKey?: string | undefined;
18836
18967
  tier?: "basic" | "regular" | "premium" | undefined;
18968
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18837
18969
  } | undefined;
18838
18970
  vonageCredentials?: {
18839
18971
  apiKey: string;
@@ -18881,15 +19013,18 @@ export declare const instagramContract: {
18881
19013
  additionalCredentials?: any;
18882
19014
  senderId?: string | undefined;
18883
19015
  whatsapp?: {
18884
- email: string;
18885
- wabaExternalId: string;
18886
- phoneNumberId: string;
18887
- wabaBusinessId?: string | undefined;
18888
- clientId?: string | undefined;
18889
- channelId?: string | undefined;
18890
- status?: "active" | "pending" | undefined;
19016
+ wabaBusinessId?: string | null | undefined;
19017
+ wabaExternalId?: string | null | undefined;
19018
+ phoneNumberId?: string | null | undefined;
19019
+ email?: string | null | undefined;
19020
+ clientId?: string | null | undefined;
19021
+ channelId?: string | null | undefined;
19022
+ waapiInstanceId?: string | null | undefined;
19023
+ qr?: string | null | undefined;
19024
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18891
19025
  apiKey?: string | undefined;
18892
19026
  tier?: "basic" | "regular" | "premium" | undefined;
19027
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18893
19028
  } | undefined;
18894
19029
  vonageCredentials?: {
18895
19030
  apiKey: string;
@@ -18925,15 +19060,18 @@ export declare const instagramContract: {
18925
19060
  additionalCredentials?: any;
18926
19061
  senderId?: string | undefined;
18927
19062
  whatsapp?: {
18928
- email: string;
18929
- wabaExternalId: string;
18930
- phoneNumberId: string;
18931
- wabaBusinessId?: string | undefined;
18932
- clientId?: string | undefined;
18933
- channelId?: string | undefined;
18934
- status?: "active" | "pending" | undefined;
19063
+ wabaBusinessId?: string | null | undefined;
19064
+ wabaExternalId?: string | null | undefined;
19065
+ phoneNumberId?: string | null | undefined;
19066
+ email?: string | null | undefined;
19067
+ clientId?: string | null | undefined;
19068
+ channelId?: string | null | undefined;
19069
+ waapiInstanceId?: string | null | undefined;
19070
+ qr?: string | null | undefined;
19071
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18935
19072
  apiKey?: string | undefined;
18936
19073
  tier?: "basic" | "regular" | "premium" | undefined;
19074
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18937
19075
  } | undefined;
18938
19076
  vonageCredentials?: {
18939
19077
  apiKey: string;
@@ -18974,35 +19112,44 @@ export declare const instagramContract: {
18974
19112
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18975
19113
  senderId: z.ZodOptional<z.ZodString>;
18976
19114
  whatsapp: z.ZodOptional<z.ZodObject<{
18977
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18978
- wabaExternalId: z.ZodString;
18979
- phoneNumberId: z.ZodString;
18980
- email: z.ZodString;
18981
- clientId: z.ZodOptional<z.ZodString>;
18982
- channelId: z.ZodOptional<z.ZodString>;
18983
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19115
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19116
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19117
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19118
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19119
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19120
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19121
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19122
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19123
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18984
19124
  apiKey: z.ZodOptional<z.ZodString>;
18985
19125
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19126
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18986
19127
  }, "strip", z.ZodTypeAny, {
18987
- email: string;
18988
- wabaExternalId: string;
18989
- phoneNumberId: string;
18990
- wabaBusinessId?: string | undefined;
18991
- clientId?: string | undefined;
18992
- channelId?: string | undefined;
18993
- status?: "active" | "pending" | undefined;
19128
+ wabaBusinessId?: string | null | undefined;
19129
+ wabaExternalId?: string | null | undefined;
19130
+ phoneNumberId?: string | null | undefined;
19131
+ email?: string | null | undefined;
19132
+ clientId?: string | null | undefined;
19133
+ channelId?: string | null | undefined;
19134
+ waapiInstanceId?: string | null | undefined;
19135
+ qr?: string | null | undefined;
19136
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18994
19137
  apiKey?: string | undefined;
18995
19138
  tier?: "basic" | "regular" | "premium" | undefined;
19139
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18996
19140
  }, {
18997
- email: string;
18998
- wabaExternalId: string;
18999
- phoneNumberId: string;
19000
- wabaBusinessId?: string | undefined;
19001
- clientId?: string | undefined;
19002
- channelId?: string | undefined;
19003
- status?: "active" | "pending" | undefined;
19141
+ wabaBusinessId?: string | null | undefined;
19142
+ wabaExternalId?: string | null | undefined;
19143
+ phoneNumberId?: string | null | undefined;
19144
+ email?: string | null | undefined;
19145
+ clientId?: string | null | undefined;
19146
+ channelId?: string | null | undefined;
19147
+ waapiInstanceId?: string | null | undefined;
19148
+ qr?: string | null | undefined;
19149
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19004
19150
  apiKey?: string | undefined;
19005
19151
  tier?: "basic" | "regular" | "premium" | undefined;
19152
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19006
19153
  }>>;
19007
19154
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19008
19155
  mobileNumber: z.ZodString;
@@ -19028,15 +19175,18 @@ export declare const instagramContract: {
19028
19175
  additionalCredentials?: any;
19029
19176
  senderId?: string | undefined;
19030
19177
  whatsapp?: {
19031
- email: string;
19032
- wabaExternalId: string;
19033
- phoneNumberId: string;
19034
- wabaBusinessId?: string | undefined;
19035
- clientId?: string | undefined;
19036
- channelId?: string | undefined;
19037
- status?: "active" | "pending" | undefined;
19178
+ wabaBusinessId?: string | null | undefined;
19179
+ wabaExternalId?: string | null | undefined;
19180
+ phoneNumberId?: string | null | undefined;
19181
+ email?: string | null | undefined;
19182
+ clientId?: string | null | undefined;
19183
+ channelId?: string | null | undefined;
19184
+ waapiInstanceId?: string | null | undefined;
19185
+ qr?: string | null | undefined;
19186
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19038
19187
  apiKey?: string | undefined;
19039
19188
  tier?: "basic" | "regular" | "premium" | undefined;
19189
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19040
19190
  } | undefined;
19041
19191
  vonageCredentials?: {
19042
19192
  apiKey: string;
@@ -19054,15 +19204,18 @@ export declare const instagramContract: {
19054
19204
  additionalCredentials?: any;
19055
19205
  senderId?: string | undefined;
19056
19206
  whatsapp?: {
19057
- email: string;
19058
- wabaExternalId: string;
19059
- phoneNumberId: string;
19060
- wabaBusinessId?: string | undefined;
19061
- clientId?: string | undefined;
19062
- channelId?: string | undefined;
19063
- status?: "active" | "pending" | undefined;
19207
+ wabaBusinessId?: string | null | undefined;
19208
+ wabaExternalId?: string | null | undefined;
19209
+ phoneNumberId?: string | null | undefined;
19210
+ email?: string | null | undefined;
19211
+ clientId?: string | null | undefined;
19212
+ channelId?: string | null | undefined;
19213
+ waapiInstanceId?: string | null | undefined;
19214
+ qr?: string | null | undefined;
19215
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19064
19216
  apiKey?: string | undefined;
19065
19217
  tier?: "basic" | "regular" | "premium" | undefined;
19218
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19066
19219
  } | undefined;
19067
19220
  vonageCredentials?: {
19068
19221
  apiKey: string;
@@ -19110,15 +19263,18 @@ export declare const instagramContract: {
19110
19263
  additionalCredentials?: any;
19111
19264
  senderId?: string | undefined;
19112
19265
  whatsapp?: {
19113
- email: string;
19114
- wabaExternalId: string;
19115
- phoneNumberId: string;
19116
- wabaBusinessId?: string | undefined;
19117
- clientId?: string | undefined;
19118
- channelId?: string | undefined;
19119
- status?: "active" | "pending" | undefined;
19266
+ wabaBusinessId?: string | null | undefined;
19267
+ wabaExternalId?: string | null | undefined;
19268
+ phoneNumberId?: string | null | undefined;
19269
+ email?: string | null | undefined;
19270
+ clientId?: string | null | undefined;
19271
+ channelId?: string | null | undefined;
19272
+ waapiInstanceId?: string | null | undefined;
19273
+ qr?: string | null | undefined;
19274
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19120
19275
  apiKey?: string | undefined;
19121
19276
  tier?: "basic" | "regular" | "premium" | undefined;
19277
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19122
19278
  } | undefined;
19123
19279
  vonageCredentials?: {
19124
19280
  apiKey: string;
@@ -19154,15 +19310,18 @@ export declare const instagramContract: {
19154
19310
  additionalCredentials?: any;
19155
19311
  senderId?: string | undefined;
19156
19312
  whatsapp?: {
19157
- email: string;
19158
- wabaExternalId: string;
19159
- phoneNumberId: string;
19160
- wabaBusinessId?: string | undefined;
19161
- clientId?: string | undefined;
19162
- channelId?: string | undefined;
19163
- status?: "active" | "pending" | undefined;
19313
+ wabaBusinessId?: string | null | undefined;
19314
+ wabaExternalId?: string | null | undefined;
19315
+ phoneNumberId?: string | null | undefined;
19316
+ email?: string | null | undefined;
19317
+ clientId?: string | null | undefined;
19318
+ channelId?: string | null | undefined;
19319
+ waapiInstanceId?: string | null | undefined;
19320
+ qr?: string | null | undefined;
19321
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19164
19322
  apiKey?: string | undefined;
19165
19323
  tier?: "basic" | "regular" | "premium" | undefined;
19324
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19166
19325
  } | undefined;
19167
19326
  vonageCredentials?: {
19168
19327
  apiKey: string;
@@ -19200,15 +19359,18 @@ export declare const instagramContract: {
19200
19359
  additionalCredentials?: any;
19201
19360
  senderId?: string | undefined;
19202
19361
  whatsapp?: {
19203
- email: string;
19204
- wabaExternalId: string;
19205
- phoneNumberId: string;
19206
- wabaBusinessId?: string | undefined;
19207
- clientId?: string | undefined;
19208
- channelId?: string | undefined;
19209
- status?: "active" | "pending" | undefined;
19362
+ wabaBusinessId?: string | null | undefined;
19363
+ wabaExternalId?: string | null | undefined;
19364
+ phoneNumberId?: string | null | undefined;
19365
+ email?: string | null | undefined;
19366
+ clientId?: string | null | undefined;
19367
+ channelId?: string | null | undefined;
19368
+ waapiInstanceId?: string | null | undefined;
19369
+ qr?: string | null | undefined;
19370
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19210
19371
  apiKey?: string | undefined;
19211
19372
  tier?: "basic" | "regular" | "premium" | undefined;
19373
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19212
19374
  } | undefined;
19213
19375
  vonageCredentials?: {
19214
19376
  apiKey: string;
@@ -19247,15 +19409,18 @@ export declare const instagramContract: {
19247
19409
  additionalCredentials?: any;
19248
19410
  senderId?: string | undefined;
19249
19411
  whatsapp?: {
19250
- email: string;
19251
- wabaExternalId: string;
19252
- phoneNumberId: string;
19253
- wabaBusinessId?: string | undefined;
19254
- clientId?: string | undefined;
19255
- channelId?: string | undefined;
19256
- status?: "active" | "pending" | undefined;
19412
+ wabaBusinessId?: string | null | undefined;
19413
+ wabaExternalId?: string | null | undefined;
19414
+ phoneNumberId?: string | null | undefined;
19415
+ email?: string | null | undefined;
19416
+ clientId?: string | null | undefined;
19417
+ channelId?: string | null | undefined;
19418
+ waapiInstanceId?: string | null | undefined;
19419
+ qr?: string | null | undefined;
19420
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19257
19421
  apiKey?: string | undefined;
19258
19422
  tier?: "basic" | "regular" | "premium" | undefined;
19423
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19259
19424
  } | undefined;
19260
19425
  vonageCredentials?: {
19261
19426
  apiKey: string;
@@ -19318,35 +19483,44 @@ export declare const instagramContract: {
19318
19483
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19319
19484
  senderId: z.ZodOptional<z.ZodString>;
19320
19485
  whatsapp: z.ZodOptional<z.ZodObject<{
19321
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19322
- wabaExternalId: z.ZodString;
19323
- phoneNumberId: z.ZodString;
19324
- email: z.ZodString;
19325
- clientId: z.ZodOptional<z.ZodString>;
19326
- channelId: z.ZodOptional<z.ZodString>;
19327
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19486
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19487
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19488
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19489
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19490
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19491
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19492
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19493
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19494
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19328
19495
  apiKey: z.ZodOptional<z.ZodString>;
19329
19496
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19497
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19330
19498
  }, "strip", z.ZodTypeAny, {
19331
- email: string;
19332
- wabaExternalId: string;
19333
- phoneNumberId: string;
19334
- wabaBusinessId?: string | undefined;
19335
- clientId?: string | undefined;
19336
- channelId?: string | undefined;
19337
- status?: "active" | "pending" | undefined;
19499
+ wabaBusinessId?: string | null | undefined;
19500
+ wabaExternalId?: string | null | undefined;
19501
+ phoneNumberId?: string | null | undefined;
19502
+ email?: string | null | undefined;
19503
+ clientId?: string | null | undefined;
19504
+ channelId?: string | null | undefined;
19505
+ waapiInstanceId?: string | null | undefined;
19506
+ qr?: string | null | undefined;
19507
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19338
19508
  apiKey?: string | undefined;
19339
19509
  tier?: "basic" | "regular" | "premium" | undefined;
19510
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19340
19511
  }, {
19341
- email: string;
19342
- wabaExternalId: string;
19343
- phoneNumberId: string;
19344
- wabaBusinessId?: string | undefined;
19345
- clientId?: string | undefined;
19346
- channelId?: string | undefined;
19347
- status?: "active" | "pending" | undefined;
19512
+ wabaBusinessId?: string | null | undefined;
19513
+ wabaExternalId?: string | null | undefined;
19514
+ phoneNumberId?: string | null | undefined;
19515
+ email?: string | null | undefined;
19516
+ clientId?: string | null | undefined;
19517
+ channelId?: string | null | undefined;
19518
+ waapiInstanceId?: string | null | undefined;
19519
+ qr?: string | null | undefined;
19520
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19348
19521
  apiKey?: string | undefined;
19349
19522
  tier?: "basic" | "regular" | "premium" | undefined;
19523
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19350
19524
  }>>;
19351
19525
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19352
19526
  mobileNumber: z.ZodString;
@@ -19372,15 +19546,18 @@ export declare const instagramContract: {
19372
19546
  additionalCredentials?: any;
19373
19547
  senderId?: string | undefined;
19374
19548
  whatsapp?: {
19375
- email: string;
19376
- wabaExternalId: string;
19377
- phoneNumberId: string;
19378
- wabaBusinessId?: string | undefined;
19379
- clientId?: string | undefined;
19380
- channelId?: string | undefined;
19381
- status?: "active" | "pending" | undefined;
19549
+ wabaBusinessId?: string | null | undefined;
19550
+ wabaExternalId?: string | null | undefined;
19551
+ phoneNumberId?: string | null | undefined;
19552
+ email?: string | null | undefined;
19553
+ clientId?: string | null | undefined;
19554
+ channelId?: string | null | undefined;
19555
+ waapiInstanceId?: string | null | undefined;
19556
+ qr?: string | null | undefined;
19557
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19382
19558
  apiKey?: string | undefined;
19383
19559
  tier?: "basic" | "regular" | "premium" | undefined;
19560
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19384
19561
  } | undefined;
19385
19562
  vonageCredentials?: {
19386
19563
  apiKey: string;
@@ -19398,15 +19575,18 @@ export declare const instagramContract: {
19398
19575
  additionalCredentials?: any;
19399
19576
  senderId?: string | undefined;
19400
19577
  whatsapp?: {
19401
- email: string;
19402
- wabaExternalId: string;
19403
- phoneNumberId: string;
19404
- wabaBusinessId?: string | undefined;
19405
- clientId?: string | undefined;
19406
- channelId?: string | undefined;
19407
- status?: "active" | "pending" | undefined;
19578
+ wabaBusinessId?: string | null | undefined;
19579
+ wabaExternalId?: string | null | undefined;
19580
+ phoneNumberId?: string | null | undefined;
19581
+ email?: string | null | undefined;
19582
+ clientId?: string | null | undefined;
19583
+ channelId?: string | null | undefined;
19584
+ waapiInstanceId?: string | null | undefined;
19585
+ qr?: string | null | undefined;
19586
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19408
19587
  apiKey?: string | undefined;
19409
19588
  tier?: "basic" | "regular" | "premium" | undefined;
19589
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19410
19590
  } | undefined;
19411
19591
  vonageCredentials?: {
19412
19592
  apiKey: string;
@@ -19454,15 +19634,18 @@ export declare const instagramContract: {
19454
19634
  additionalCredentials?: any;
19455
19635
  senderId?: string | undefined;
19456
19636
  whatsapp?: {
19457
- email: string;
19458
- wabaExternalId: string;
19459
- phoneNumberId: string;
19460
- wabaBusinessId?: string | undefined;
19461
- clientId?: string | undefined;
19462
- channelId?: string | undefined;
19463
- status?: "active" | "pending" | undefined;
19637
+ wabaBusinessId?: string | null | undefined;
19638
+ wabaExternalId?: string | null | undefined;
19639
+ phoneNumberId?: string | null | undefined;
19640
+ email?: string | null | undefined;
19641
+ clientId?: string | null | undefined;
19642
+ channelId?: string | null | undefined;
19643
+ waapiInstanceId?: string | null | undefined;
19644
+ qr?: string | null | undefined;
19645
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19464
19646
  apiKey?: string | undefined;
19465
19647
  tier?: "basic" | "regular" | "premium" | undefined;
19648
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19466
19649
  } | undefined;
19467
19650
  vonageCredentials?: {
19468
19651
  apiKey: string;
@@ -19498,15 +19681,18 @@ export declare const instagramContract: {
19498
19681
  additionalCredentials?: any;
19499
19682
  senderId?: string | undefined;
19500
19683
  whatsapp?: {
19501
- email: string;
19502
- wabaExternalId: string;
19503
- phoneNumberId: string;
19504
- wabaBusinessId?: string | undefined;
19505
- clientId?: string | undefined;
19506
- channelId?: string | undefined;
19507
- status?: "active" | "pending" | undefined;
19684
+ wabaBusinessId?: string | null | undefined;
19685
+ wabaExternalId?: string | null | undefined;
19686
+ phoneNumberId?: string | null | undefined;
19687
+ email?: string | null | undefined;
19688
+ clientId?: string | null | undefined;
19689
+ channelId?: string | null | undefined;
19690
+ waapiInstanceId?: string | null | undefined;
19691
+ qr?: string | null | undefined;
19692
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19508
19693
  apiKey?: string | undefined;
19509
19694
  tier?: "basic" | "regular" | "premium" | undefined;
19695
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19510
19696
  } | undefined;
19511
19697
  vonageCredentials?: {
19512
19698
  apiKey: string;
@@ -19547,35 +19733,44 @@ export declare const instagramContract: {
19547
19733
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19548
19734
  senderId: z.ZodOptional<z.ZodString>;
19549
19735
  whatsapp: z.ZodOptional<z.ZodObject<{
19550
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19551
- wabaExternalId: z.ZodString;
19552
- phoneNumberId: z.ZodString;
19553
- email: z.ZodString;
19554
- clientId: z.ZodOptional<z.ZodString>;
19555
- channelId: z.ZodOptional<z.ZodString>;
19556
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19736
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19737
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19738
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19739
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19740
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19741
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19742
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19743
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19744
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19557
19745
  apiKey: z.ZodOptional<z.ZodString>;
19558
19746
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19747
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19559
19748
  }, "strip", z.ZodTypeAny, {
19560
- email: string;
19561
- wabaExternalId: string;
19562
- phoneNumberId: string;
19563
- wabaBusinessId?: string | undefined;
19564
- clientId?: string | undefined;
19565
- channelId?: string | undefined;
19566
- status?: "active" | "pending" | undefined;
19749
+ wabaBusinessId?: string | null | undefined;
19750
+ wabaExternalId?: string | null | undefined;
19751
+ phoneNumberId?: string | null | undefined;
19752
+ email?: string | null | undefined;
19753
+ clientId?: string | null | undefined;
19754
+ channelId?: string | null | undefined;
19755
+ waapiInstanceId?: string | null | undefined;
19756
+ qr?: string | null | undefined;
19757
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19567
19758
  apiKey?: string | undefined;
19568
19759
  tier?: "basic" | "regular" | "premium" | undefined;
19760
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19569
19761
  }, {
19570
- email: string;
19571
- wabaExternalId: string;
19572
- phoneNumberId: string;
19573
- wabaBusinessId?: string | undefined;
19574
- clientId?: string | undefined;
19575
- channelId?: string | undefined;
19576
- status?: "active" | "pending" | undefined;
19762
+ wabaBusinessId?: string | null | undefined;
19763
+ wabaExternalId?: string | null | undefined;
19764
+ phoneNumberId?: string | null | undefined;
19765
+ email?: string | null | undefined;
19766
+ clientId?: string | null | undefined;
19767
+ channelId?: string | null | undefined;
19768
+ waapiInstanceId?: string | null | undefined;
19769
+ qr?: string | null | undefined;
19770
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19577
19771
  apiKey?: string | undefined;
19578
19772
  tier?: "basic" | "regular" | "premium" | undefined;
19773
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19579
19774
  }>>;
19580
19775
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19581
19776
  mobileNumber: z.ZodString;
@@ -19601,15 +19796,18 @@ export declare const instagramContract: {
19601
19796
  additionalCredentials?: any;
19602
19797
  senderId?: string | undefined;
19603
19798
  whatsapp?: {
19604
- email: string;
19605
- wabaExternalId: string;
19606
- phoneNumberId: string;
19607
- wabaBusinessId?: string | undefined;
19608
- clientId?: string | undefined;
19609
- channelId?: string | undefined;
19610
- status?: "active" | "pending" | undefined;
19799
+ wabaBusinessId?: string | null | undefined;
19800
+ wabaExternalId?: string | null | undefined;
19801
+ phoneNumberId?: string | null | undefined;
19802
+ email?: string | null | undefined;
19803
+ clientId?: string | null | undefined;
19804
+ channelId?: string | null | undefined;
19805
+ waapiInstanceId?: string | null | undefined;
19806
+ qr?: string | null | undefined;
19807
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19611
19808
  apiKey?: string | undefined;
19612
19809
  tier?: "basic" | "regular" | "premium" | undefined;
19810
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19613
19811
  } | undefined;
19614
19812
  vonageCredentials?: {
19615
19813
  apiKey: string;
@@ -19627,15 +19825,18 @@ export declare const instagramContract: {
19627
19825
  additionalCredentials?: any;
19628
19826
  senderId?: string | undefined;
19629
19827
  whatsapp?: {
19630
- email: string;
19631
- wabaExternalId: string;
19632
- phoneNumberId: string;
19633
- wabaBusinessId?: string | undefined;
19634
- clientId?: string | undefined;
19635
- channelId?: string | undefined;
19636
- status?: "active" | "pending" | undefined;
19828
+ wabaBusinessId?: string | null | undefined;
19829
+ wabaExternalId?: string | null | undefined;
19830
+ phoneNumberId?: string | null | undefined;
19831
+ email?: string | null | undefined;
19832
+ clientId?: string | null | undefined;
19833
+ channelId?: string | null | undefined;
19834
+ waapiInstanceId?: string | null | undefined;
19835
+ qr?: string | null | undefined;
19836
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19637
19837
  apiKey?: string | undefined;
19638
19838
  tier?: "basic" | "regular" | "premium" | undefined;
19839
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19639
19840
  } | undefined;
19640
19841
  vonageCredentials?: {
19641
19842
  apiKey: string;
@@ -19683,15 +19884,18 @@ export declare const instagramContract: {
19683
19884
  additionalCredentials?: any;
19684
19885
  senderId?: string | undefined;
19685
19886
  whatsapp?: {
19686
- email: string;
19687
- wabaExternalId: string;
19688
- phoneNumberId: string;
19689
- wabaBusinessId?: string | undefined;
19690
- clientId?: string | undefined;
19691
- channelId?: string | undefined;
19692
- status?: "active" | "pending" | undefined;
19887
+ wabaBusinessId?: string | null | undefined;
19888
+ wabaExternalId?: string | null | undefined;
19889
+ phoneNumberId?: string | null | undefined;
19890
+ email?: string | null | undefined;
19891
+ clientId?: string | null | undefined;
19892
+ channelId?: string | null | undefined;
19893
+ waapiInstanceId?: string | null | undefined;
19894
+ qr?: string | null | undefined;
19895
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19693
19896
  apiKey?: string | undefined;
19694
19897
  tier?: "basic" | "regular" | "premium" | undefined;
19898
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19695
19899
  } | undefined;
19696
19900
  vonageCredentials?: {
19697
19901
  apiKey: string;
@@ -19727,15 +19931,18 @@ export declare const instagramContract: {
19727
19931
  additionalCredentials?: any;
19728
19932
  senderId?: string | undefined;
19729
19933
  whatsapp?: {
19730
- email: string;
19731
- wabaExternalId: string;
19732
- phoneNumberId: string;
19733
- wabaBusinessId?: string | undefined;
19734
- clientId?: string | undefined;
19735
- channelId?: string | undefined;
19736
- status?: "active" | "pending" | undefined;
19934
+ wabaBusinessId?: string | null | undefined;
19935
+ wabaExternalId?: string | null | undefined;
19936
+ phoneNumberId?: string | null | undefined;
19937
+ email?: string | null | undefined;
19938
+ clientId?: string | null | undefined;
19939
+ channelId?: string | null | undefined;
19940
+ waapiInstanceId?: string | null | undefined;
19941
+ qr?: string | null | undefined;
19942
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19737
19943
  apiKey?: string | undefined;
19738
19944
  tier?: "basic" | "regular" | "premium" | undefined;
19945
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19739
19946
  } | undefined;
19740
19947
  vonageCredentials?: {
19741
19948
  apiKey: string;
@@ -19773,15 +19980,18 @@ export declare const instagramContract: {
19773
19980
  additionalCredentials?: any;
19774
19981
  senderId?: string | undefined;
19775
19982
  whatsapp?: {
19776
- email: string;
19777
- wabaExternalId: string;
19778
- phoneNumberId: string;
19779
- wabaBusinessId?: string | undefined;
19780
- clientId?: string | undefined;
19781
- channelId?: string | undefined;
19782
- status?: "active" | "pending" | undefined;
19983
+ wabaBusinessId?: string | null | undefined;
19984
+ wabaExternalId?: string | null | undefined;
19985
+ phoneNumberId?: string | null | undefined;
19986
+ email?: string | null | undefined;
19987
+ clientId?: string | null | undefined;
19988
+ channelId?: string | null | undefined;
19989
+ waapiInstanceId?: string | null | undefined;
19990
+ qr?: string | null | undefined;
19991
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19783
19992
  apiKey?: string | undefined;
19784
19993
  tier?: "basic" | "regular" | "premium" | undefined;
19994
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19785
19995
  } | undefined;
19786
19996
  vonageCredentials?: {
19787
19997
  apiKey: string;
@@ -19820,15 +20030,18 @@ export declare const instagramContract: {
19820
20030
  additionalCredentials?: any;
19821
20031
  senderId?: string | undefined;
19822
20032
  whatsapp?: {
19823
- email: string;
19824
- wabaExternalId: string;
19825
- phoneNumberId: string;
19826
- wabaBusinessId?: string | undefined;
19827
- clientId?: string | undefined;
19828
- channelId?: string | undefined;
19829
- status?: "active" | "pending" | undefined;
20033
+ wabaBusinessId?: string | null | undefined;
20034
+ wabaExternalId?: string | null | undefined;
20035
+ phoneNumberId?: string | null | undefined;
20036
+ email?: string | null | undefined;
20037
+ clientId?: string | null | undefined;
20038
+ channelId?: string | null | undefined;
20039
+ waapiInstanceId?: string | null | undefined;
20040
+ qr?: string | null | undefined;
20041
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19830
20042
  apiKey?: string | undefined;
19831
20043
  tier?: "basic" | "regular" | "premium" | undefined;
20044
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19832
20045
  } | undefined;
19833
20046
  vonageCredentials?: {
19834
20047
  apiKey: string;
@@ -19903,35 +20116,44 @@ export declare const instagramContract: {
19903
20116
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19904
20117
  senderId: z.ZodOptional<z.ZodString>;
19905
20118
  whatsapp: z.ZodOptional<z.ZodObject<{
19906
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19907
- wabaExternalId: z.ZodString;
19908
- phoneNumberId: z.ZodString;
19909
- email: z.ZodString;
19910
- clientId: z.ZodOptional<z.ZodString>;
19911
- channelId: z.ZodOptional<z.ZodString>;
19912
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20119
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20120
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20121
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20122
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20123
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20124
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20125
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20126
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20127
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19913
20128
  apiKey: z.ZodOptional<z.ZodString>;
19914
20129
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20130
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19915
20131
  }, "strip", z.ZodTypeAny, {
19916
- email: string;
19917
- wabaExternalId: string;
19918
- phoneNumberId: string;
19919
- wabaBusinessId?: string | undefined;
19920
- clientId?: string | undefined;
19921
- channelId?: string | undefined;
19922
- status?: "active" | "pending" | undefined;
20132
+ wabaBusinessId?: string | null | undefined;
20133
+ wabaExternalId?: string | null | undefined;
20134
+ phoneNumberId?: string | null | undefined;
20135
+ email?: string | null | undefined;
20136
+ clientId?: string | null | undefined;
20137
+ channelId?: string | null | undefined;
20138
+ waapiInstanceId?: string | null | undefined;
20139
+ qr?: string | null | undefined;
20140
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19923
20141
  apiKey?: string | undefined;
19924
20142
  tier?: "basic" | "regular" | "premium" | undefined;
20143
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19925
20144
  }, {
19926
- email: string;
19927
- wabaExternalId: string;
19928
- phoneNumberId: string;
19929
- wabaBusinessId?: string | undefined;
19930
- clientId?: string | undefined;
19931
- channelId?: string | undefined;
19932
- status?: "active" | "pending" | undefined;
20145
+ wabaBusinessId?: string | null | undefined;
20146
+ wabaExternalId?: string | null | undefined;
20147
+ phoneNumberId?: string | null | undefined;
20148
+ email?: string | null | undefined;
20149
+ clientId?: string | null | undefined;
20150
+ channelId?: string | null | undefined;
20151
+ waapiInstanceId?: string | null | undefined;
20152
+ qr?: string | null | undefined;
20153
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19933
20154
  apiKey?: string | undefined;
19934
20155
  tier?: "basic" | "regular" | "premium" | undefined;
20156
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19935
20157
  }>>;
19936
20158
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19937
20159
  mobileNumber: z.ZodString;
@@ -19957,15 +20179,18 @@ export declare const instagramContract: {
19957
20179
  additionalCredentials?: any;
19958
20180
  senderId?: string | undefined;
19959
20181
  whatsapp?: {
19960
- email: string;
19961
- wabaExternalId: string;
19962
- phoneNumberId: string;
19963
- wabaBusinessId?: string | undefined;
19964
- clientId?: string | undefined;
19965
- channelId?: string | undefined;
19966
- status?: "active" | "pending" | undefined;
20182
+ wabaBusinessId?: string | null | undefined;
20183
+ wabaExternalId?: string | null | undefined;
20184
+ phoneNumberId?: string | null | undefined;
20185
+ email?: string | null | undefined;
20186
+ clientId?: string | null | undefined;
20187
+ channelId?: string | null | undefined;
20188
+ waapiInstanceId?: string | null | undefined;
20189
+ qr?: string | null | undefined;
20190
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19967
20191
  apiKey?: string | undefined;
19968
20192
  tier?: "basic" | "regular" | "premium" | undefined;
20193
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19969
20194
  } | undefined;
19970
20195
  vonageCredentials?: {
19971
20196
  apiKey: string;
@@ -19983,15 +20208,18 @@ export declare const instagramContract: {
19983
20208
  additionalCredentials?: any;
19984
20209
  senderId?: string | undefined;
19985
20210
  whatsapp?: {
19986
- email: string;
19987
- wabaExternalId: string;
19988
- phoneNumberId: string;
19989
- wabaBusinessId?: string | undefined;
19990
- clientId?: string | undefined;
19991
- channelId?: string | undefined;
19992
- status?: "active" | "pending" | undefined;
20211
+ wabaBusinessId?: string | null | undefined;
20212
+ wabaExternalId?: string | null | undefined;
20213
+ phoneNumberId?: string | null | undefined;
20214
+ email?: string | null | undefined;
20215
+ clientId?: string | null | undefined;
20216
+ channelId?: string | null | undefined;
20217
+ waapiInstanceId?: string | null | undefined;
20218
+ qr?: string | null | undefined;
20219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19993
20220
  apiKey?: string | undefined;
19994
20221
  tier?: "basic" | "regular" | "premium" | undefined;
20222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19995
20223
  } | undefined;
19996
20224
  vonageCredentials?: {
19997
20225
  apiKey: string;
@@ -20039,15 +20267,18 @@ export declare const instagramContract: {
20039
20267
  additionalCredentials?: any;
20040
20268
  senderId?: string | undefined;
20041
20269
  whatsapp?: {
20042
- email: string;
20043
- wabaExternalId: string;
20044
- phoneNumberId: string;
20045
- wabaBusinessId?: string | undefined;
20046
- clientId?: string | undefined;
20047
- channelId?: string | undefined;
20048
- status?: "active" | "pending" | undefined;
20270
+ wabaBusinessId?: string | null | undefined;
20271
+ wabaExternalId?: string | null | undefined;
20272
+ phoneNumberId?: string | null | undefined;
20273
+ email?: string | null | undefined;
20274
+ clientId?: string | null | undefined;
20275
+ channelId?: string | null | undefined;
20276
+ waapiInstanceId?: string | null | undefined;
20277
+ qr?: string | null | undefined;
20278
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20049
20279
  apiKey?: string | undefined;
20050
20280
  tier?: "basic" | "regular" | "premium" | undefined;
20281
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20051
20282
  } | undefined;
20052
20283
  vonageCredentials?: {
20053
20284
  apiKey: string;
@@ -20083,15 +20314,18 @@ export declare const instagramContract: {
20083
20314
  additionalCredentials?: any;
20084
20315
  senderId?: string | undefined;
20085
20316
  whatsapp?: {
20086
- email: string;
20087
- wabaExternalId: string;
20088
- phoneNumberId: string;
20089
- wabaBusinessId?: string | undefined;
20090
- clientId?: string | undefined;
20091
- channelId?: string | undefined;
20092
- status?: "active" | "pending" | undefined;
20317
+ wabaBusinessId?: string | null | undefined;
20318
+ wabaExternalId?: string | null | undefined;
20319
+ phoneNumberId?: string | null | undefined;
20320
+ email?: string | null | undefined;
20321
+ clientId?: string | null | undefined;
20322
+ channelId?: string | null | undefined;
20323
+ waapiInstanceId?: string | null | undefined;
20324
+ qr?: string | null | undefined;
20325
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20093
20326
  apiKey?: string | undefined;
20094
20327
  tier?: "basic" | "regular" | "premium" | undefined;
20328
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20095
20329
  } | undefined;
20096
20330
  vonageCredentials?: {
20097
20331
  apiKey: string;
@@ -20129,15 +20363,18 @@ export declare const instagramContract: {
20129
20363
  additionalCredentials?: any;
20130
20364
  senderId?: string | undefined;
20131
20365
  whatsapp?: {
20132
- email: string;
20133
- wabaExternalId: string;
20134
- phoneNumberId: string;
20135
- wabaBusinessId?: string | undefined;
20136
- clientId?: string | undefined;
20137
- channelId?: string | undefined;
20138
- status?: "active" | "pending" | undefined;
20366
+ wabaBusinessId?: string | null | undefined;
20367
+ wabaExternalId?: string | null | undefined;
20368
+ phoneNumberId?: string | null | undefined;
20369
+ email?: string | null | undefined;
20370
+ clientId?: string | null | undefined;
20371
+ channelId?: string | null | undefined;
20372
+ waapiInstanceId?: string | null | undefined;
20373
+ qr?: string | null | undefined;
20374
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20139
20375
  apiKey?: string | undefined;
20140
20376
  tier?: "basic" | "regular" | "premium" | undefined;
20377
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20141
20378
  } | undefined;
20142
20379
  vonageCredentials?: {
20143
20380
  apiKey: string;
@@ -20176,15 +20413,18 @@ export declare const instagramContract: {
20176
20413
  additionalCredentials?: any;
20177
20414
  senderId?: string | undefined;
20178
20415
  whatsapp?: {
20179
- email: string;
20180
- wabaExternalId: string;
20181
- phoneNumberId: string;
20182
- wabaBusinessId?: string | undefined;
20183
- clientId?: string | undefined;
20184
- channelId?: string | undefined;
20185
- status?: "active" | "pending" | undefined;
20416
+ wabaBusinessId?: string | null | undefined;
20417
+ wabaExternalId?: string | null | undefined;
20418
+ phoneNumberId?: string | null | undefined;
20419
+ email?: string | null | undefined;
20420
+ clientId?: string | null | undefined;
20421
+ channelId?: string | null | undefined;
20422
+ waapiInstanceId?: string | null | undefined;
20423
+ qr?: string | null | undefined;
20424
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20186
20425
  apiKey?: string | undefined;
20187
20426
  tier?: "basic" | "regular" | "premium" | undefined;
20427
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20188
20428
  } | undefined;
20189
20429
  vonageCredentials?: {
20190
20430
  apiKey: string;
@@ -20259,35 +20499,44 @@ export declare const instagramContract: {
20259
20499
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20260
20500
  senderId: z.ZodOptional<z.ZodString>;
20261
20501
  whatsapp: z.ZodOptional<z.ZodObject<{
20262
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20263
- wabaExternalId: z.ZodString;
20264
- phoneNumberId: z.ZodString;
20265
- email: z.ZodString;
20266
- clientId: z.ZodOptional<z.ZodString>;
20267
- channelId: z.ZodOptional<z.ZodString>;
20268
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20502
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20503
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20504
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20505
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20506
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20507
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20508
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20509
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20510
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20269
20511
  apiKey: z.ZodOptional<z.ZodString>;
20270
20512
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20513
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20271
20514
  }, "strip", z.ZodTypeAny, {
20272
- email: string;
20273
- wabaExternalId: string;
20274
- phoneNumberId: string;
20275
- wabaBusinessId?: string | undefined;
20276
- clientId?: string | undefined;
20277
- channelId?: string | undefined;
20278
- status?: "active" | "pending" | undefined;
20515
+ wabaBusinessId?: string | null | undefined;
20516
+ wabaExternalId?: string | null | undefined;
20517
+ phoneNumberId?: string | null | undefined;
20518
+ email?: string | null | undefined;
20519
+ clientId?: string | null | undefined;
20520
+ channelId?: string | null | undefined;
20521
+ waapiInstanceId?: string | null | undefined;
20522
+ qr?: string | null | undefined;
20523
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20279
20524
  apiKey?: string | undefined;
20280
20525
  tier?: "basic" | "regular" | "premium" | undefined;
20526
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20281
20527
  }, {
20282
- email: string;
20283
- wabaExternalId: string;
20284
- phoneNumberId: string;
20285
- wabaBusinessId?: string | undefined;
20286
- clientId?: string | undefined;
20287
- channelId?: string | undefined;
20288
- status?: "active" | "pending" | undefined;
20528
+ wabaBusinessId?: string | null | undefined;
20529
+ wabaExternalId?: string | null | undefined;
20530
+ phoneNumberId?: string | null | undefined;
20531
+ email?: string | null | undefined;
20532
+ clientId?: string | null | undefined;
20533
+ channelId?: string | null | undefined;
20534
+ waapiInstanceId?: string | null | undefined;
20535
+ qr?: string | null | undefined;
20536
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20289
20537
  apiKey?: string | undefined;
20290
20538
  tier?: "basic" | "regular" | "premium" | undefined;
20539
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20291
20540
  }>>;
20292
20541
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20293
20542
  mobileNumber: z.ZodString;
@@ -20313,15 +20562,18 @@ export declare const instagramContract: {
20313
20562
  additionalCredentials?: any;
20314
20563
  senderId?: string | undefined;
20315
20564
  whatsapp?: {
20316
- email: string;
20317
- wabaExternalId: string;
20318
- phoneNumberId: string;
20319
- wabaBusinessId?: string | undefined;
20320
- clientId?: string | undefined;
20321
- channelId?: string | undefined;
20322
- status?: "active" | "pending" | undefined;
20565
+ wabaBusinessId?: string | null | undefined;
20566
+ wabaExternalId?: string | null | undefined;
20567
+ phoneNumberId?: string | null | undefined;
20568
+ email?: string | null | undefined;
20569
+ clientId?: string | null | undefined;
20570
+ channelId?: string | null | undefined;
20571
+ waapiInstanceId?: string | null | undefined;
20572
+ qr?: string | null | undefined;
20573
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20323
20574
  apiKey?: string | undefined;
20324
20575
  tier?: "basic" | "regular" | "premium" | undefined;
20576
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20325
20577
  } | undefined;
20326
20578
  vonageCredentials?: {
20327
20579
  apiKey: string;
@@ -20339,15 +20591,18 @@ export declare const instagramContract: {
20339
20591
  additionalCredentials?: any;
20340
20592
  senderId?: string | undefined;
20341
20593
  whatsapp?: {
20342
- email: string;
20343
- wabaExternalId: string;
20344
- phoneNumberId: string;
20345
- wabaBusinessId?: string | undefined;
20346
- clientId?: string | undefined;
20347
- channelId?: string | undefined;
20348
- status?: "active" | "pending" | undefined;
20594
+ wabaBusinessId?: string | null | undefined;
20595
+ wabaExternalId?: string | null | undefined;
20596
+ phoneNumberId?: string | null | undefined;
20597
+ email?: string | null | undefined;
20598
+ clientId?: string | null | undefined;
20599
+ channelId?: string | null | undefined;
20600
+ waapiInstanceId?: string | null | undefined;
20601
+ qr?: string | null | undefined;
20602
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20349
20603
  apiKey?: string | undefined;
20350
20604
  tier?: "basic" | "regular" | "premium" | undefined;
20605
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20351
20606
  } | undefined;
20352
20607
  vonageCredentials?: {
20353
20608
  apiKey: string;
@@ -20395,15 +20650,18 @@ export declare const instagramContract: {
20395
20650
  additionalCredentials?: any;
20396
20651
  senderId?: string | undefined;
20397
20652
  whatsapp?: {
20398
- email: string;
20399
- wabaExternalId: string;
20400
- phoneNumberId: string;
20401
- wabaBusinessId?: string | undefined;
20402
- clientId?: string | undefined;
20403
- channelId?: string | undefined;
20404
- status?: "active" | "pending" | undefined;
20653
+ wabaBusinessId?: string | null | undefined;
20654
+ wabaExternalId?: string | null | undefined;
20655
+ phoneNumberId?: string | null | undefined;
20656
+ email?: string | null | undefined;
20657
+ clientId?: string | null | undefined;
20658
+ channelId?: string | null | undefined;
20659
+ waapiInstanceId?: string | null | undefined;
20660
+ qr?: string | null | undefined;
20661
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20405
20662
  apiKey?: string | undefined;
20406
20663
  tier?: "basic" | "regular" | "premium" | undefined;
20664
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20407
20665
  } | undefined;
20408
20666
  vonageCredentials?: {
20409
20667
  apiKey: string;
@@ -20439,15 +20697,18 @@ export declare const instagramContract: {
20439
20697
  additionalCredentials?: any;
20440
20698
  senderId?: string | undefined;
20441
20699
  whatsapp?: {
20442
- email: string;
20443
- wabaExternalId: string;
20444
- phoneNumberId: string;
20445
- wabaBusinessId?: string | undefined;
20446
- clientId?: string | undefined;
20447
- channelId?: string | undefined;
20448
- status?: "active" | "pending" | undefined;
20700
+ wabaBusinessId?: string | null | undefined;
20701
+ wabaExternalId?: string | null | undefined;
20702
+ phoneNumberId?: string | null | undefined;
20703
+ email?: string | null | undefined;
20704
+ clientId?: string | null | undefined;
20705
+ channelId?: string | null | undefined;
20706
+ waapiInstanceId?: string | null | undefined;
20707
+ qr?: string | null | undefined;
20708
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20449
20709
  apiKey?: string | undefined;
20450
20710
  tier?: "basic" | "regular" | "premium" | undefined;
20711
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20451
20712
  } | undefined;
20452
20713
  vonageCredentials?: {
20453
20714
  apiKey: string;
@@ -20485,15 +20746,18 @@ export declare const instagramContract: {
20485
20746
  additionalCredentials?: any;
20486
20747
  senderId?: string | undefined;
20487
20748
  whatsapp?: {
20488
- email: string;
20489
- wabaExternalId: string;
20490
- phoneNumberId: string;
20491
- wabaBusinessId?: string | undefined;
20492
- clientId?: string | undefined;
20493
- channelId?: string | undefined;
20494
- status?: "active" | "pending" | undefined;
20749
+ wabaBusinessId?: string | null | undefined;
20750
+ wabaExternalId?: string | null | undefined;
20751
+ phoneNumberId?: string | null | undefined;
20752
+ email?: string | null | undefined;
20753
+ clientId?: string | null | undefined;
20754
+ channelId?: string | null | undefined;
20755
+ waapiInstanceId?: string | null | undefined;
20756
+ qr?: string | null | undefined;
20757
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20495
20758
  apiKey?: string | undefined;
20496
20759
  tier?: "basic" | "regular" | "premium" | undefined;
20760
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20497
20761
  } | undefined;
20498
20762
  vonageCredentials?: {
20499
20763
  apiKey: string;
@@ -20532,15 +20796,18 @@ export declare const instagramContract: {
20532
20796
  additionalCredentials?: any;
20533
20797
  senderId?: string | undefined;
20534
20798
  whatsapp?: {
20535
- email: string;
20536
- wabaExternalId: string;
20537
- phoneNumberId: string;
20538
- wabaBusinessId?: string | undefined;
20539
- clientId?: string | undefined;
20540
- channelId?: string | undefined;
20541
- status?: "active" | "pending" | undefined;
20799
+ wabaBusinessId?: string | null | undefined;
20800
+ wabaExternalId?: string | null | undefined;
20801
+ phoneNumberId?: string | null | undefined;
20802
+ email?: string | null | undefined;
20803
+ clientId?: string | null | undefined;
20804
+ channelId?: string | null | undefined;
20805
+ waapiInstanceId?: string | null | undefined;
20806
+ qr?: string | null | undefined;
20807
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20542
20808
  apiKey?: string | undefined;
20543
20809
  tier?: "basic" | "regular" | "premium" | undefined;
20810
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20544
20811
  } | undefined;
20545
20812
  vonageCredentials?: {
20546
20813
  apiKey: string;
@@ -20603,35 +20870,44 @@ export declare const instagramContract: {
20603
20870
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20604
20871
  senderId: z.ZodOptional<z.ZodString>;
20605
20872
  whatsapp: z.ZodOptional<z.ZodObject<{
20606
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20607
- wabaExternalId: z.ZodString;
20608
- phoneNumberId: z.ZodString;
20609
- email: z.ZodString;
20610
- clientId: z.ZodOptional<z.ZodString>;
20611
- channelId: z.ZodOptional<z.ZodString>;
20612
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20873
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20874
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20875
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20876
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20877
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20878
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20879
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20880
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20881
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20613
20882
  apiKey: z.ZodOptional<z.ZodString>;
20614
20883
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20884
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20615
20885
  }, "strip", z.ZodTypeAny, {
20616
- email: string;
20617
- wabaExternalId: string;
20618
- phoneNumberId: string;
20619
- wabaBusinessId?: string | undefined;
20620
- clientId?: string | undefined;
20621
- channelId?: string | undefined;
20622
- status?: "active" | "pending" | undefined;
20886
+ wabaBusinessId?: string | null | undefined;
20887
+ wabaExternalId?: string | null | undefined;
20888
+ phoneNumberId?: string | null | undefined;
20889
+ email?: string | null | undefined;
20890
+ clientId?: string | null | undefined;
20891
+ channelId?: string | null | undefined;
20892
+ waapiInstanceId?: string | null | undefined;
20893
+ qr?: string | null | undefined;
20894
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20623
20895
  apiKey?: string | undefined;
20624
20896
  tier?: "basic" | "regular" | "premium" | undefined;
20897
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20625
20898
  }, {
20626
- email: string;
20627
- wabaExternalId: string;
20628
- phoneNumberId: string;
20629
- wabaBusinessId?: string | undefined;
20630
- clientId?: string | undefined;
20631
- channelId?: string | undefined;
20632
- 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;
20633
20908
  apiKey?: string | undefined;
20634
20909
  tier?: "basic" | "regular" | "premium" | undefined;
20910
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20635
20911
  }>>;
20636
20912
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20637
20913
  mobileNumber: z.ZodString;
@@ -20657,15 +20933,18 @@ export declare const instagramContract: {
20657
20933
  additionalCredentials?: any;
20658
20934
  senderId?: string | undefined;
20659
20935
  whatsapp?: {
20660
- email: string;
20661
- wabaExternalId: string;
20662
- phoneNumberId: string;
20663
- wabaBusinessId?: string | undefined;
20664
- clientId?: string | undefined;
20665
- channelId?: string | undefined;
20666
- status?: "active" | "pending" | undefined;
20936
+ wabaBusinessId?: string | null | undefined;
20937
+ wabaExternalId?: string | null | undefined;
20938
+ phoneNumberId?: string | null | undefined;
20939
+ email?: string | null | undefined;
20940
+ clientId?: string | null | undefined;
20941
+ channelId?: string | null | undefined;
20942
+ waapiInstanceId?: string | null | undefined;
20943
+ qr?: string | null | undefined;
20944
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20667
20945
  apiKey?: string | undefined;
20668
20946
  tier?: "basic" | "regular" | "premium" | undefined;
20947
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20669
20948
  } | undefined;
20670
20949
  vonageCredentials?: {
20671
20950
  apiKey: string;
@@ -20683,15 +20962,18 @@ export declare const instagramContract: {
20683
20962
  additionalCredentials?: any;
20684
20963
  senderId?: string | undefined;
20685
20964
  whatsapp?: {
20686
- email: string;
20687
- wabaExternalId: string;
20688
- phoneNumberId: string;
20689
- wabaBusinessId?: string | undefined;
20690
- clientId?: string | undefined;
20691
- channelId?: string | undefined;
20692
- status?: "active" | "pending" | undefined;
20965
+ wabaBusinessId?: string | null | undefined;
20966
+ wabaExternalId?: string | null | undefined;
20967
+ phoneNumberId?: string | null | undefined;
20968
+ email?: string | null | undefined;
20969
+ clientId?: string | null | undefined;
20970
+ channelId?: string | null | undefined;
20971
+ waapiInstanceId?: string | null | undefined;
20972
+ qr?: string | null | undefined;
20973
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20693
20974
  apiKey?: string | undefined;
20694
20975
  tier?: "basic" | "regular" | "premium" | undefined;
20976
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20695
20977
  } | undefined;
20696
20978
  vonageCredentials?: {
20697
20979
  apiKey: string;
@@ -20739,15 +21021,18 @@ export declare const instagramContract: {
20739
21021
  additionalCredentials?: any;
20740
21022
  senderId?: string | undefined;
20741
21023
  whatsapp?: {
20742
- email: string;
20743
- wabaExternalId: string;
20744
- phoneNumberId: string;
20745
- wabaBusinessId?: string | undefined;
20746
- clientId?: string | undefined;
20747
- channelId?: string | undefined;
20748
- status?: "active" | "pending" | undefined;
21024
+ wabaBusinessId?: string | null | undefined;
21025
+ wabaExternalId?: string | null | undefined;
21026
+ phoneNumberId?: string | null | undefined;
21027
+ email?: string | null | undefined;
21028
+ clientId?: string | null | undefined;
21029
+ channelId?: string | null | undefined;
21030
+ waapiInstanceId?: string | null | undefined;
21031
+ qr?: string | null | undefined;
21032
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20749
21033
  apiKey?: string | undefined;
20750
21034
  tier?: "basic" | "regular" | "premium" | undefined;
21035
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20751
21036
  } | undefined;
20752
21037
  vonageCredentials?: {
20753
21038
  apiKey: string;
@@ -20783,15 +21068,18 @@ export declare const instagramContract: {
20783
21068
  additionalCredentials?: any;
20784
21069
  senderId?: string | undefined;
20785
21070
  whatsapp?: {
20786
- email: string;
20787
- wabaExternalId: string;
20788
- phoneNumberId: string;
20789
- wabaBusinessId?: string | undefined;
20790
- clientId?: string | undefined;
20791
- channelId?: string | undefined;
20792
- status?: "active" | "pending" | undefined;
21071
+ wabaBusinessId?: string | null | undefined;
21072
+ wabaExternalId?: string | null | undefined;
21073
+ phoneNumberId?: string | null | undefined;
21074
+ email?: string | null | undefined;
21075
+ clientId?: string | null | undefined;
21076
+ channelId?: string | null | undefined;
21077
+ waapiInstanceId?: string | null | undefined;
21078
+ qr?: string | null | undefined;
21079
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20793
21080
  apiKey?: string | undefined;
20794
21081
  tier?: "basic" | "regular" | "premium" | undefined;
21082
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20795
21083
  } | undefined;
20796
21084
  vonageCredentials?: {
20797
21085
  apiKey: string;
@@ -20832,35 +21120,44 @@ export declare const instagramContract: {
20832
21120
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20833
21121
  senderId: z.ZodOptional<z.ZodString>;
20834
21122
  whatsapp: z.ZodOptional<z.ZodObject<{
20835
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20836
- wabaExternalId: z.ZodString;
20837
- phoneNumberId: z.ZodString;
20838
- email: z.ZodString;
20839
- clientId: z.ZodOptional<z.ZodString>;
20840
- channelId: z.ZodOptional<z.ZodString>;
20841
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
21123
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21124
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21125
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21126
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21127
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21128
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21129
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21130
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
21131
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20842
21132
  apiKey: z.ZodOptional<z.ZodString>;
20843
21133
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
21134
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20844
21135
  }, "strip", z.ZodTypeAny, {
20845
- email: string;
20846
- wabaExternalId: string;
20847
- phoneNumberId: string;
20848
- wabaBusinessId?: string | undefined;
20849
- clientId?: string | undefined;
20850
- channelId?: string | undefined;
20851
- status?: "active" | "pending" | undefined;
21136
+ wabaBusinessId?: string | null | undefined;
21137
+ wabaExternalId?: string | null | undefined;
21138
+ phoneNumberId?: string | null | undefined;
21139
+ email?: string | null | undefined;
21140
+ clientId?: string | null | undefined;
21141
+ channelId?: string | null | undefined;
21142
+ waapiInstanceId?: string | null | undefined;
21143
+ qr?: string | null | undefined;
21144
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20852
21145
  apiKey?: string | undefined;
20853
21146
  tier?: "basic" | "regular" | "premium" | undefined;
21147
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20854
21148
  }, {
20855
- email: string;
20856
- wabaExternalId: string;
20857
- phoneNumberId: string;
20858
- wabaBusinessId?: string | undefined;
20859
- clientId?: string | undefined;
20860
- channelId?: string | undefined;
20861
- status?: "active" | "pending" | undefined;
21149
+ wabaBusinessId?: string | null | undefined;
21150
+ wabaExternalId?: string | null | undefined;
21151
+ phoneNumberId?: string | null | undefined;
21152
+ email?: string | null | undefined;
21153
+ clientId?: string | null | undefined;
21154
+ channelId?: string | null | undefined;
21155
+ waapiInstanceId?: string | null | undefined;
21156
+ qr?: string | null | undefined;
21157
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20862
21158
  apiKey?: string | undefined;
20863
21159
  tier?: "basic" | "regular" | "premium" | undefined;
21160
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20864
21161
  }>>;
20865
21162
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20866
21163
  mobileNumber: z.ZodString;
@@ -20886,15 +21183,18 @@ export declare const instagramContract: {
20886
21183
  additionalCredentials?: any;
20887
21184
  senderId?: string | undefined;
20888
21185
  whatsapp?: {
20889
- email: string;
20890
- wabaExternalId: string;
20891
- phoneNumberId: string;
20892
- wabaBusinessId?: string | undefined;
20893
- clientId?: string | undefined;
20894
- channelId?: string | undefined;
20895
- status?: "active" | "pending" | undefined;
21186
+ wabaBusinessId?: string | null | undefined;
21187
+ wabaExternalId?: string | null | undefined;
21188
+ phoneNumberId?: string | null | undefined;
21189
+ email?: string | null | undefined;
21190
+ clientId?: string | null | undefined;
21191
+ channelId?: string | null | undefined;
21192
+ waapiInstanceId?: string | null | undefined;
21193
+ qr?: string | null | undefined;
21194
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20896
21195
  apiKey?: string | undefined;
20897
21196
  tier?: "basic" | "regular" | "premium" | undefined;
21197
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20898
21198
  } | undefined;
20899
21199
  vonageCredentials?: {
20900
21200
  apiKey: string;
@@ -20912,15 +21212,18 @@ export declare const instagramContract: {
20912
21212
  additionalCredentials?: any;
20913
21213
  senderId?: string | undefined;
20914
21214
  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;
21215
+ wabaBusinessId?: string | null | undefined;
21216
+ wabaExternalId?: string | null | undefined;
21217
+ phoneNumberId?: string | null | undefined;
21218
+ email?: string | null | undefined;
21219
+ clientId?: string | null | undefined;
21220
+ channelId?: string | null | undefined;
21221
+ waapiInstanceId?: string | null | undefined;
21222
+ qr?: string | null | undefined;
21223
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20922
21224
  apiKey?: string | undefined;
20923
21225
  tier?: "basic" | "regular" | "premium" | undefined;
21226
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20924
21227
  } | undefined;
20925
21228
  vonageCredentials?: {
20926
21229
  apiKey: string;
@@ -20968,15 +21271,18 @@ export declare const instagramContract: {
20968
21271
  additionalCredentials?: any;
20969
21272
  senderId?: string | undefined;
20970
21273
  whatsapp?: {
20971
- email: string;
20972
- wabaExternalId: string;
20973
- phoneNumberId: string;
20974
- wabaBusinessId?: string | undefined;
20975
- clientId?: string | undefined;
20976
- channelId?: string | undefined;
20977
- status?: "active" | "pending" | undefined;
21274
+ wabaBusinessId?: string | null | undefined;
21275
+ wabaExternalId?: string | null | undefined;
21276
+ phoneNumberId?: string | null | undefined;
21277
+ email?: string | null | undefined;
21278
+ clientId?: string | null | undefined;
21279
+ channelId?: string | null | undefined;
21280
+ waapiInstanceId?: string | null | undefined;
21281
+ qr?: string | null | undefined;
21282
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20978
21283
  apiKey?: string | undefined;
20979
21284
  tier?: "basic" | "regular" | "premium" | undefined;
21285
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20980
21286
  } | undefined;
20981
21287
  vonageCredentials?: {
20982
21288
  apiKey: string;
@@ -21012,15 +21318,18 @@ export declare const instagramContract: {
21012
21318
  additionalCredentials?: any;
21013
21319
  senderId?: string | undefined;
21014
21320
  whatsapp?: {
21015
- email: string;
21016
- wabaExternalId: string;
21017
- phoneNumberId: string;
21018
- wabaBusinessId?: string | undefined;
21019
- clientId?: string | undefined;
21020
- channelId?: string | undefined;
21021
- status?: "active" | "pending" | undefined;
21321
+ wabaBusinessId?: string | null | undefined;
21322
+ wabaExternalId?: string | null | undefined;
21323
+ phoneNumberId?: string | null | undefined;
21324
+ email?: string | null | undefined;
21325
+ clientId?: string | null | undefined;
21326
+ channelId?: string | null | undefined;
21327
+ waapiInstanceId?: string | null | undefined;
21328
+ qr?: string | null | undefined;
21329
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21022
21330
  apiKey?: string | undefined;
21023
21331
  tier?: "basic" | "regular" | "premium" | undefined;
21332
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21024
21333
  } | undefined;
21025
21334
  vonageCredentials?: {
21026
21335
  apiKey: string;
@@ -21058,15 +21367,18 @@ export declare const instagramContract: {
21058
21367
  additionalCredentials?: any;
21059
21368
  senderId?: string | undefined;
21060
21369
  whatsapp?: {
21061
- email: string;
21062
- wabaExternalId: string;
21063
- phoneNumberId: string;
21064
- wabaBusinessId?: string | undefined;
21065
- clientId?: string | undefined;
21066
- channelId?: string | undefined;
21067
- status?: "active" | "pending" | undefined;
21370
+ wabaBusinessId?: string | null | undefined;
21371
+ wabaExternalId?: string | null | undefined;
21372
+ phoneNumberId?: string | null | undefined;
21373
+ email?: string | null | undefined;
21374
+ clientId?: string | null | undefined;
21375
+ channelId?: string | null | undefined;
21376
+ waapiInstanceId?: string | null | undefined;
21377
+ qr?: string | null | undefined;
21378
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21068
21379
  apiKey?: string | undefined;
21069
21380
  tier?: "basic" | "regular" | "premium" | undefined;
21381
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21070
21382
  } | undefined;
21071
21383
  vonageCredentials?: {
21072
21384
  apiKey: string;
@@ -21105,15 +21417,18 @@ export declare const instagramContract: {
21105
21417
  additionalCredentials?: any;
21106
21418
  senderId?: string | undefined;
21107
21419
  whatsapp?: {
21108
- email: string;
21109
- wabaExternalId: string;
21110
- phoneNumberId: string;
21111
- wabaBusinessId?: string | undefined;
21112
- clientId?: string | undefined;
21113
- channelId?: string | undefined;
21114
- status?: "active" | "pending" | undefined;
21420
+ wabaBusinessId?: string | null | undefined;
21421
+ wabaExternalId?: string | null | undefined;
21422
+ phoneNumberId?: string | null | undefined;
21423
+ email?: string | null | undefined;
21424
+ clientId?: string | null | undefined;
21425
+ channelId?: string | null | undefined;
21426
+ waapiInstanceId?: string | null | undefined;
21427
+ qr?: string | null | undefined;
21428
+ status?: "active" | "pending" | "waapi-qr" | undefined;
21115
21429
  apiKey?: string | undefined;
21116
21430
  tier?: "basic" | "regular" | "premium" | undefined;
21431
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
21117
21432
  } | undefined;
21118
21433
  vonageCredentials?: {
21119
21434
  apiKey: string;