@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
@@ -1,8 +1,10 @@
1
1
  import z from 'zod';
2
2
  import { ChannelSchema } from '../chat/validation';
3
- import { GetTemplatesQuerySchema } from './validation';
3
+ import { GetTemplatesQuerySchema, GetWaapiQrQuerySchema, SendSeenToWaapiSchema } from './validation';
4
4
  export type ReconnectChannelRequest = z.infer<typeof ChannelSchema>;
5
5
  export type GetTemplatesQuery = z.infer<typeof GetTemplatesQuerySchema>;
6
+ export type GetWaapiQrQuery = z.infer<typeof GetWaapiQrQuerySchema>;
7
+ export type SendSeenToWaapiRequest = z.infer<typeof SendSeenToWaapiSchema>;
6
8
  export declare const whatsappContract: {
7
9
  sendMessage: {
8
10
  body: z.ZodObject<{
@@ -142,35 +144,44 @@ export declare const whatsappContract: {
142
144
  additionalCredentials: z.ZodOptional<z.ZodAny>;
143
145
  senderId: z.ZodOptional<z.ZodString>;
144
146
  whatsapp: z.ZodOptional<z.ZodObject<{
145
- wabaBusinessId: z.ZodOptional<z.ZodString>;
146
- wabaExternalId: z.ZodString;
147
- phoneNumberId: z.ZodString;
148
- email: z.ZodString;
149
- clientId: z.ZodOptional<z.ZodString>;
150
- channelId: z.ZodOptional<z.ZodString>;
151
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
147
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
155
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
152
156
  apiKey: z.ZodOptional<z.ZodString>;
153
157
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
158
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
154
159
  }, "strip", z.ZodTypeAny, {
155
- email: string;
156
- wabaExternalId: string;
157
- phoneNumberId: string;
158
- wabaBusinessId?: string | undefined;
159
- clientId?: string | undefined;
160
- channelId?: string | undefined;
161
- status?: "active" | "pending" | undefined;
160
+ wabaBusinessId?: string | null | undefined;
161
+ wabaExternalId?: string | null | undefined;
162
+ phoneNumberId?: string | null | undefined;
163
+ email?: string | null | undefined;
164
+ clientId?: string | null | undefined;
165
+ channelId?: string | null | undefined;
166
+ waapiInstanceId?: string | null | undefined;
167
+ qr?: string | null | undefined;
168
+ status?: "active" | "pending" | "waapi-qr" | undefined;
162
169
  apiKey?: string | undefined;
163
170
  tier?: "basic" | "regular" | "premium" | undefined;
171
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
164
172
  }, {
165
- email: string;
166
- wabaExternalId: string;
167
- phoneNumberId: string;
168
- wabaBusinessId?: string | undefined;
169
- clientId?: string | undefined;
170
- channelId?: string | undefined;
171
- status?: "active" | "pending" | undefined;
173
+ wabaBusinessId?: string | null | undefined;
174
+ wabaExternalId?: string | null | undefined;
175
+ phoneNumberId?: string | null | undefined;
176
+ email?: string | null | undefined;
177
+ clientId?: string | null | undefined;
178
+ channelId?: string | null | undefined;
179
+ waapiInstanceId?: string | null | undefined;
180
+ qr?: string | null | undefined;
181
+ status?: "active" | "pending" | "waapi-qr" | undefined;
172
182
  apiKey?: string | undefined;
173
183
  tier?: "basic" | "regular" | "premium" | undefined;
184
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
174
185
  }>>;
175
186
  vonageCredentials: z.ZodOptional<z.ZodObject<{
176
187
  mobileNumber: z.ZodString;
@@ -196,15 +207,18 @@ export declare const whatsappContract: {
196
207
  additionalCredentials?: any;
197
208
  senderId?: string | undefined;
198
209
  whatsapp?: {
199
- email: string;
200
- wabaExternalId: string;
201
- phoneNumberId: string;
202
- wabaBusinessId?: string | undefined;
203
- clientId?: string | undefined;
204
- channelId?: string | undefined;
205
- status?: "active" | "pending" | undefined;
210
+ wabaBusinessId?: string | null | undefined;
211
+ wabaExternalId?: string | null | undefined;
212
+ phoneNumberId?: string | null | undefined;
213
+ email?: string | null | undefined;
214
+ clientId?: string | null | undefined;
215
+ channelId?: string | null | undefined;
216
+ waapiInstanceId?: string | null | undefined;
217
+ qr?: string | null | undefined;
218
+ status?: "active" | "pending" | "waapi-qr" | undefined;
206
219
  apiKey?: string | undefined;
207
220
  tier?: "basic" | "regular" | "premium" | undefined;
221
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
208
222
  } | undefined;
209
223
  vonageCredentials?: {
210
224
  apiKey: string;
@@ -222,15 +236,18 @@ export declare const whatsappContract: {
222
236
  additionalCredentials?: any;
223
237
  senderId?: string | undefined;
224
238
  whatsapp?: {
225
- email: string;
226
- wabaExternalId: string;
227
- phoneNumberId: string;
228
- wabaBusinessId?: string | undefined;
229
- clientId?: string | undefined;
230
- channelId?: string | undefined;
231
- status?: "active" | "pending" | undefined;
239
+ wabaBusinessId?: string | null | undefined;
240
+ wabaExternalId?: string | null | undefined;
241
+ phoneNumberId?: string | null | undefined;
242
+ email?: string | null | undefined;
243
+ clientId?: string | null | undefined;
244
+ channelId?: string | null | undefined;
245
+ waapiInstanceId?: string | null | undefined;
246
+ qr?: string | null | undefined;
247
+ status?: "active" | "pending" | "waapi-qr" | undefined;
232
248
  apiKey?: string | undefined;
233
249
  tier?: "basic" | "regular" | "premium" | undefined;
250
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
234
251
  } | undefined;
235
252
  vonageCredentials?: {
236
253
  apiKey: string;
@@ -278,15 +295,18 @@ export declare const whatsappContract: {
278
295
  additionalCredentials?: any;
279
296
  senderId?: string | undefined;
280
297
  whatsapp?: {
281
- email: string;
282
- wabaExternalId: string;
283
- phoneNumberId: string;
284
- wabaBusinessId?: string | undefined;
285
- clientId?: string | undefined;
286
- channelId?: string | undefined;
287
- status?: "active" | "pending" | undefined;
298
+ wabaBusinessId?: string | null | undefined;
299
+ wabaExternalId?: string | null | undefined;
300
+ phoneNumberId?: string | null | undefined;
301
+ email?: string | null | undefined;
302
+ clientId?: string | null | undefined;
303
+ channelId?: string | null | undefined;
304
+ waapiInstanceId?: string | null | undefined;
305
+ qr?: string | null | undefined;
306
+ status?: "active" | "pending" | "waapi-qr" | undefined;
288
307
  apiKey?: string | undefined;
289
308
  tier?: "basic" | "regular" | "premium" | undefined;
309
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
290
310
  } | undefined;
291
311
  vonageCredentials?: {
292
312
  apiKey: string;
@@ -322,15 +342,18 @@ export declare const whatsappContract: {
322
342
  additionalCredentials?: any;
323
343
  senderId?: string | undefined;
324
344
  whatsapp?: {
325
- email: string;
326
- wabaExternalId: string;
327
- phoneNumberId: string;
328
- wabaBusinessId?: string | undefined;
329
- clientId?: string | undefined;
330
- channelId?: string | undefined;
331
- status?: "active" | "pending" | undefined;
345
+ wabaBusinessId?: string | null | undefined;
346
+ wabaExternalId?: string | null | undefined;
347
+ phoneNumberId?: string | null | undefined;
348
+ email?: string | null | undefined;
349
+ clientId?: string | null | undefined;
350
+ channelId?: string | null | undefined;
351
+ waapiInstanceId?: string | null | undefined;
352
+ qr?: string | null | undefined;
353
+ status?: "active" | "pending" | "waapi-qr" | undefined;
332
354
  apiKey?: string | undefined;
333
355
  tier?: "basic" | "regular" | "premium" | undefined;
356
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
334
357
  } | undefined;
335
358
  vonageCredentials?: {
336
359
  apiKey: string;
@@ -371,15 +394,18 @@ export declare const whatsappContract: {
371
394
  additionalCredentials?: any;
372
395
  senderId?: string | undefined;
373
396
  whatsapp?: {
374
- email: string;
375
- wabaExternalId: string;
376
- phoneNumberId: string;
377
- wabaBusinessId?: string | undefined;
378
- clientId?: string | undefined;
379
- channelId?: string | undefined;
380
- status?: "active" | "pending" | undefined;
397
+ wabaBusinessId?: string | null | undefined;
398
+ wabaExternalId?: string | null | undefined;
399
+ phoneNumberId?: string | null | undefined;
400
+ email?: string | null | undefined;
401
+ clientId?: string | null | undefined;
402
+ channelId?: string | null | undefined;
403
+ waapiInstanceId?: string | null | undefined;
404
+ qr?: string | null | undefined;
405
+ status?: "active" | "pending" | "waapi-qr" | undefined;
381
406
  apiKey?: string | undefined;
382
407
  tier?: "basic" | "regular" | "premium" | undefined;
408
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
383
409
  } | undefined;
384
410
  vonageCredentials?: {
385
411
  apiKey: string;
@@ -459,15 +485,18 @@ export declare const whatsappContract: {
459
485
  additionalCredentials?: any;
460
486
  senderId?: string | undefined;
461
487
  whatsapp?: {
462
- email: string;
463
- wabaExternalId: string;
464
- phoneNumberId: string;
465
- wabaBusinessId?: string | undefined;
466
- clientId?: string | undefined;
467
- channelId?: string | undefined;
468
- status?: "active" | "pending" | undefined;
488
+ wabaBusinessId?: string | null | undefined;
489
+ wabaExternalId?: string | null | undefined;
490
+ phoneNumberId?: string | null | undefined;
491
+ email?: string | null | undefined;
492
+ clientId?: string | null | undefined;
493
+ channelId?: string | null | undefined;
494
+ waapiInstanceId?: string | null | undefined;
495
+ qr?: string | null | undefined;
496
+ status?: "active" | "pending" | "waapi-qr" | undefined;
469
497
  apiKey?: string | undefined;
470
498
  tier?: "basic" | "regular" | "premium" | undefined;
499
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
471
500
  } | undefined;
472
501
  vonageCredentials?: {
473
502
  apiKey: string;
@@ -538,7 +567,7 @@ export declare const whatsappContract: {
538
567
  id: z.ZodOptional<z.ZodString>;
539
568
  message: z.ZodOptional<z.ZodString>;
540
569
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
541
- 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"]>;
570
+ 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"]>;
542
571
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
543
572
  metadata: z.ZodOptional<z.ZodAny>;
544
573
  platformId: z.ZodOptional<z.ZodString>;
@@ -594,7 +623,7 @@ export declare const whatsappContract: {
594
623
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
595
624
  label: z.ZodOptional<z.ZodString>;
596
625
  }, "strip", z.ZodTypeAny, {
597
- 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";
626
+ 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";
598
627
  direction: "incoming" | "outgoing" | "system";
599
628
  id?: string | undefined;
600
629
  message?: string | undefined;
@@ -629,7 +658,7 @@ export declare const whatsappContract: {
629
658
  editedAt?: string | Date | null | undefined;
630
659
  label?: string | undefined;
631
660
  }, {
632
- 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";
661
+ 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";
633
662
  direction: "incoming" | "outgoing" | "system";
634
663
  id?: string | undefined;
635
664
  message?: string | undefined;
@@ -666,7 +695,7 @@ export declare const whatsappContract: {
666
695
  }>;
667
696
  }, "strip", z.ZodTypeAny, {
668
697
  message: {
669
- 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";
698
+ 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";
670
699
  direction: "incoming" | "outgoing" | "system";
671
700
  id?: string | undefined;
672
701
  message?: string | undefined;
@@ -715,15 +744,18 @@ export declare const whatsappContract: {
715
744
  additionalCredentials?: any;
716
745
  senderId?: string | undefined;
717
746
  whatsapp?: {
718
- email: string;
719
- wabaExternalId: string;
720
- phoneNumberId: string;
721
- wabaBusinessId?: string | undefined;
722
- clientId?: string | undefined;
723
- channelId?: string | undefined;
724
- status?: "active" | "pending" | undefined;
747
+ wabaBusinessId?: string | null | undefined;
748
+ wabaExternalId?: string | null | undefined;
749
+ phoneNumberId?: string | null | undefined;
750
+ email?: string | null | undefined;
751
+ clientId?: string | null | undefined;
752
+ channelId?: string | null | undefined;
753
+ waapiInstanceId?: string | null | undefined;
754
+ qr?: string | null | undefined;
755
+ status?: "active" | "pending" | "waapi-qr" | undefined;
725
756
  apiKey?: string | undefined;
726
757
  tier?: "basic" | "regular" | "premium" | undefined;
758
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
727
759
  } | undefined;
728
760
  vonageCredentials?: {
729
761
  apiKey: string;
@@ -793,7 +825,7 @@ export declare const whatsappContract: {
793
825
  isBot: boolean | null;
794
826
  }, {
795
827
  message: {
796
- 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";
828
+ 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";
797
829
  direction: "incoming" | "outgoing" | "system";
798
830
  id?: string | undefined;
799
831
  message?: string | undefined;
@@ -842,15 +874,18 @@ export declare const whatsappContract: {
842
874
  additionalCredentials?: any;
843
875
  senderId?: string | undefined;
844
876
  whatsapp?: {
845
- email: string;
846
- wabaExternalId: string;
847
- phoneNumberId: string;
848
- wabaBusinessId?: string | undefined;
849
- clientId?: string | undefined;
850
- channelId?: string | undefined;
851
- status?: "active" | "pending" | undefined;
877
+ wabaBusinessId?: string | null | undefined;
878
+ wabaExternalId?: string | null | undefined;
879
+ phoneNumberId?: string | null | undefined;
880
+ email?: string | null | undefined;
881
+ clientId?: string | null | undefined;
882
+ channelId?: string | null | undefined;
883
+ waapiInstanceId?: string | null | undefined;
884
+ qr?: string | null | undefined;
885
+ status?: "active" | "pending" | "waapi-qr" | undefined;
852
886
  apiKey?: string | undefined;
853
887
  tier?: "basic" | "regular" | "premium" | undefined;
888
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
854
889
  } | undefined;
855
890
  vonageCredentials?: {
856
891
  apiKey: string;
@@ -924,7 +959,7 @@ export declare const whatsappContract: {
924
959
  200: z.ZodObject<{
925
960
  requestId: z.ZodString;
926
961
  data: z.ZodObject<{
927
- 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"]>;
962
+ 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"]>;
928
963
  message: z.ZodString;
929
964
  id: z.ZodString;
930
965
  url: z.ZodString;
@@ -1149,9 +1184,10 @@ export declare const whatsappContract: {
1149
1184
  fileSize: z.ZodNumber;
1150
1185
  fileKey: z.ZodString;
1151
1186
  fileUrl: z.ZodNullable<z.ZodString>;
1152
- status: z.ZodOptional<z.ZodString>;
1187
+ status: z.ZodNullable<z.ZodString>;
1153
1188
  }, "strip", z.ZodTypeAny, {
1154
1189
  id: string;
1190
+ status: string | null;
1155
1191
  createdAt: Date;
1156
1192
  updatedAt: Date;
1157
1193
  deletedAt: Date | null;
@@ -1160,9 +1196,9 @@ export declare const whatsappContract: {
1160
1196
  bucketName: string;
1161
1197
  fileSize: number;
1162
1198
  fileUrl: string | null;
1163
- status?: string | undefined;
1164
1199
  }, {
1165
1200
  id: string;
1201
+ status: string | null;
1166
1202
  createdAt: Date;
1167
1203
  updatedAt: Date;
1168
1204
  deletedAt: Date | null;
@@ -1171,7 +1207,6 @@ export declare const whatsappContract: {
1171
1207
  bucketName: string;
1172
1208
  fileSize: number;
1173
1209
  fileUrl: string | null;
1174
- status?: string | undefined;
1175
1210
  }>;
1176
1211
  assignee: z.ZodObject<{
1177
1212
  id: z.ZodString;
@@ -1766,9 +1801,10 @@ export declare const whatsappContract: {
1766
1801
  fileSize: z.ZodNumber;
1767
1802
  fileKey: z.ZodString;
1768
1803
  fileUrl: z.ZodNullable<z.ZodString>;
1769
- status: z.ZodOptional<z.ZodString>;
1804
+ status: z.ZodNullable<z.ZodString>;
1770
1805
  }, "strip", z.ZodTypeAny, {
1771
1806
  id: string;
1807
+ status: string | null;
1772
1808
  createdAt: Date;
1773
1809
  updatedAt: Date;
1774
1810
  deletedAt: Date | null;
@@ -1777,9 +1813,9 @@ export declare const whatsappContract: {
1777
1813
  bucketName: string;
1778
1814
  fileSize: number;
1779
1815
  fileUrl: string | null;
1780
- status?: string | undefined;
1781
1816
  }, {
1782
1817
  id: string;
1818
+ status: string | null;
1783
1819
  createdAt: Date;
1784
1820
  updatedAt: Date;
1785
1821
  deletedAt: Date | null;
@@ -1788,7 +1824,6 @@ export declare const whatsappContract: {
1788
1824
  bucketName: string;
1789
1825
  fileSize: number;
1790
1826
  fileUrl: string | null;
1791
- status?: string | undefined;
1792
1827
  }>, "many">;
1793
1828
  }, "strip", z.ZodTypeAny, {
1794
1829
  id: string;
@@ -1815,6 +1850,7 @@ export declare const whatsappContract: {
1815
1850
  dateValue: Date | null;
1816
1851
  uploads: {
1817
1852
  id: string;
1853
+ status: string | null;
1818
1854
  createdAt: Date;
1819
1855
  updatedAt: Date;
1820
1856
  deletedAt: Date | null;
@@ -1823,7 +1859,6 @@ export declare const whatsappContract: {
1823
1859
  bucketName: string;
1824
1860
  fileSize: number;
1825
1861
  fileUrl: string | null;
1826
- status?: string | undefined;
1827
1862
  }[];
1828
1863
  }, {
1829
1864
  id: string;
@@ -1850,6 +1885,7 @@ export declare const whatsappContract: {
1850
1885
  dateValue: Date | null;
1851
1886
  uploads: {
1852
1887
  id: string;
1888
+ status: string | null;
1853
1889
  createdAt: Date;
1854
1890
  updatedAt: Date;
1855
1891
  deletedAt: Date | null;
@@ -1858,7 +1894,6 @@ export declare const whatsappContract: {
1858
1894
  bucketName: string;
1859
1895
  fileSize: number;
1860
1896
  fileUrl: string | null;
1861
- status?: string | undefined;
1862
1897
  }[];
1863
1898
  }>, "many">;
1864
1899
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1998,6 +2033,7 @@ export declare const whatsappContract: {
1998
2033
  dateValue: Date | null;
1999
2034
  uploads: {
2000
2035
  id: string;
2036
+ status: string | null;
2001
2037
  createdAt: Date;
2002
2038
  updatedAt: Date;
2003
2039
  deletedAt: Date | null;
@@ -2006,7 +2042,6 @@ export declare const whatsappContract: {
2006
2042
  bucketName: string;
2007
2043
  fileSize: number;
2008
2044
  fileUrl: string | null;
2009
- status?: string | undefined;
2010
2045
  }[];
2011
2046
  }[];
2012
2047
  company: {
@@ -2109,6 +2144,7 @@ export declare const whatsappContract: {
2109
2144
  dateValue: Date | null;
2110
2145
  uploads: {
2111
2146
  id: string;
2147
+ status: string | null;
2112
2148
  createdAt: Date;
2113
2149
  updatedAt: Date;
2114
2150
  deletedAt: Date | null;
@@ -2117,7 +2153,6 @@ export declare const whatsappContract: {
2117
2153
  bucketName: string;
2118
2154
  fileSize: number;
2119
2155
  fileUrl: string | null;
2120
- status?: string | undefined;
2121
2156
  }[];
2122
2157
  }[];
2123
2158
  company: {
@@ -2233,6 +2268,7 @@ export declare const whatsappContract: {
2233
2268
  dateValue: Date | null;
2234
2269
  uploads: {
2235
2270
  id: string;
2271
+ status: string | null;
2236
2272
  createdAt: Date;
2237
2273
  updatedAt: Date;
2238
2274
  deletedAt: Date | null;
@@ -2241,7 +2277,6 @@ export declare const whatsappContract: {
2241
2277
  bucketName: string;
2242
2278
  fileSize: number;
2243
2279
  fileUrl: string | null;
2244
- status?: string | undefined;
2245
2280
  }[];
2246
2281
  }[];
2247
2282
  company: {
@@ -2359,6 +2394,7 @@ export declare const whatsappContract: {
2359
2394
  dateValue: Date | null;
2360
2395
  uploads: {
2361
2396
  id: string;
2397
+ status: string | null;
2362
2398
  createdAt: Date;
2363
2399
  updatedAt: Date;
2364
2400
  deletedAt: Date | null;
@@ -2367,7 +2403,6 @@ export declare const whatsappContract: {
2367
2403
  bucketName: string;
2368
2404
  fileSize: number;
2369
2405
  fileUrl: string | null;
2370
- status?: string | undefined;
2371
2406
  }[];
2372
2407
  }[];
2373
2408
  company: {
@@ -2864,35 +2899,44 @@ export declare const whatsappContract: {
2864
2899
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2865
2900
  senderId: z.ZodOptional<z.ZodString>;
2866
2901
  whatsapp: z.ZodOptional<z.ZodObject<{
2867
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2868
- wabaExternalId: z.ZodString;
2869
- phoneNumberId: z.ZodString;
2870
- email: z.ZodString;
2871
- clientId: z.ZodOptional<z.ZodString>;
2872
- channelId: z.ZodOptional<z.ZodString>;
2873
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2902
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2903
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2904
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2905
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2906
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2907
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2908
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2909
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2910
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2874
2911
  apiKey: z.ZodOptional<z.ZodString>;
2875
2912
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2913
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2876
2914
  }, "strip", z.ZodTypeAny, {
2877
- email: string;
2878
- wabaExternalId: string;
2879
- phoneNumberId: string;
2880
- wabaBusinessId?: string | undefined;
2881
- clientId?: string | undefined;
2882
- channelId?: string | undefined;
2883
- status?: "active" | "pending" | undefined;
2915
+ wabaBusinessId?: string | null | undefined;
2916
+ wabaExternalId?: string | null | undefined;
2917
+ phoneNumberId?: string | null | undefined;
2918
+ email?: string | null | undefined;
2919
+ clientId?: string | null | undefined;
2920
+ channelId?: string | null | undefined;
2921
+ waapiInstanceId?: string | null | undefined;
2922
+ qr?: string | null | undefined;
2923
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2884
2924
  apiKey?: string | undefined;
2885
2925
  tier?: "basic" | "regular" | "premium" | undefined;
2926
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2886
2927
  }, {
2887
- email: string;
2888
- wabaExternalId: string;
2889
- phoneNumberId: string;
2890
- wabaBusinessId?: string | undefined;
2891
- clientId?: string | undefined;
2892
- channelId?: string | undefined;
2893
- status?: "active" | "pending" | undefined;
2928
+ wabaBusinessId?: string | null | undefined;
2929
+ wabaExternalId?: string | null | undefined;
2930
+ phoneNumberId?: string | null | undefined;
2931
+ email?: string | null | undefined;
2932
+ clientId?: string | null | undefined;
2933
+ channelId?: string | null | undefined;
2934
+ waapiInstanceId?: string | null | undefined;
2935
+ qr?: string | null | undefined;
2936
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2894
2937
  apiKey?: string | undefined;
2895
2938
  tier?: "basic" | "regular" | "premium" | undefined;
2939
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2896
2940
  }>>;
2897
2941
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2898
2942
  mobileNumber: z.ZodString;
@@ -2918,15 +2962,18 @@ export declare const whatsappContract: {
2918
2962
  additionalCredentials?: any;
2919
2963
  senderId?: string | undefined;
2920
2964
  whatsapp?: {
2921
- email: string;
2922
- wabaExternalId: string;
2923
- phoneNumberId: string;
2924
- wabaBusinessId?: string | undefined;
2925
- clientId?: string | undefined;
2926
- channelId?: string | undefined;
2927
- status?: "active" | "pending" | undefined;
2965
+ wabaBusinessId?: string | null | undefined;
2966
+ wabaExternalId?: string | null | undefined;
2967
+ phoneNumberId?: string | null | undefined;
2968
+ email?: string | null | undefined;
2969
+ clientId?: string | null | undefined;
2970
+ channelId?: string | null | undefined;
2971
+ waapiInstanceId?: string | null | undefined;
2972
+ qr?: string | null | undefined;
2973
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2928
2974
  apiKey?: string | undefined;
2929
2975
  tier?: "basic" | "regular" | "premium" | undefined;
2976
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2930
2977
  } | undefined;
2931
2978
  vonageCredentials?: {
2932
2979
  apiKey: string;
@@ -2944,15 +2991,18 @@ export declare const whatsappContract: {
2944
2991
  additionalCredentials?: any;
2945
2992
  senderId?: string | undefined;
2946
2993
  whatsapp?: {
2947
- email: string;
2948
- wabaExternalId: string;
2949
- phoneNumberId: string;
2950
- wabaBusinessId?: string | undefined;
2951
- clientId?: string | undefined;
2952
- channelId?: string | undefined;
2953
- status?: "active" | "pending" | undefined;
2994
+ wabaBusinessId?: string | null | undefined;
2995
+ wabaExternalId?: string | null | undefined;
2996
+ phoneNumberId?: string | null | undefined;
2997
+ email?: string | null | undefined;
2998
+ clientId?: string | null | undefined;
2999
+ channelId?: string | null | undefined;
3000
+ waapiInstanceId?: string | null | undefined;
3001
+ qr?: string | null | undefined;
3002
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2954
3003
  apiKey?: string | undefined;
2955
3004
  tier?: "basic" | "regular" | "premium" | undefined;
3005
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2956
3006
  } | undefined;
2957
3007
  vonageCredentials?: {
2958
3008
  apiKey: string;
@@ -3204,15 +3254,18 @@ export declare const whatsappContract: {
3204
3254
  additionalCredentials?: any;
3205
3255
  senderId?: string | undefined;
3206
3256
  whatsapp?: {
3207
- email: string;
3208
- wabaExternalId: string;
3209
- phoneNumberId: string;
3210
- wabaBusinessId?: string | undefined;
3211
- clientId?: string | undefined;
3212
- channelId?: string | undefined;
3213
- status?: "active" | "pending" | undefined;
3257
+ wabaBusinessId?: string | null | undefined;
3258
+ wabaExternalId?: string | null | undefined;
3259
+ phoneNumberId?: string | null | undefined;
3260
+ email?: string | null | undefined;
3261
+ clientId?: string | null | undefined;
3262
+ channelId?: string | null | undefined;
3263
+ waapiInstanceId?: string | null | undefined;
3264
+ qr?: string | null | undefined;
3265
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3214
3266
  apiKey?: string | undefined;
3215
3267
  tier?: "basic" | "regular" | "premium" | undefined;
3268
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3216
3269
  } | undefined;
3217
3270
  vonageCredentials?: {
3218
3271
  apiKey: string;
@@ -3295,15 +3348,18 @@ export declare const whatsappContract: {
3295
3348
  additionalCredentials?: any;
3296
3349
  senderId?: string | undefined;
3297
3350
  whatsapp?: {
3298
- email: string;
3299
- wabaExternalId: string;
3300
- phoneNumberId: string;
3301
- wabaBusinessId?: string | undefined;
3302
- clientId?: string | undefined;
3303
- channelId?: string | undefined;
3304
- status?: "active" | "pending" | undefined;
3351
+ wabaBusinessId?: string | null | undefined;
3352
+ wabaExternalId?: string | null | undefined;
3353
+ phoneNumberId?: string | null | undefined;
3354
+ email?: string | null | undefined;
3355
+ clientId?: string | null | undefined;
3356
+ channelId?: string | null | undefined;
3357
+ waapiInstanceId?: string | null | undefined;
3358
+ qr?: string | null | undefined;
3359
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3305
3360
  apiKey?: string | undefined;
3306
3361
  tier?: "basic" | "regular" | "premium" | undefined;
3362
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3307
3363
  } | undefined;
3308
3364
  vonageCredentials?: {
3309
3365
  apiKey: string;
@@ -3950,15 +4006,18 @@ export declare const whatsappContract: {
3950
4006
  additionalCredentials?: any;
3951
4007
  senderId?: string | undefined;
3952
4008
  whatsapp?: {
3953
- email: string;
3954
- wabaExternalId: string;
3955
- phoneNumberId: string;
3956
- wabaBusinessId?: string | undefined;
3957
- clientId?: string | undefined;
3958
- channelId?: string | undefined;
3959
- status?: "active" | "pending" | undefined;
4009
+ wabaBusinessId?: string | null | undefined;
4010
+ wabaExternalId?: string | null | undefined;
4011
+ phoneNumberId?: string | null | undefined;
4012
+ email?: string | null | undefined;
4013
+ clientId?: string | null | undefined;
4014
+ channelId?: string | null | undefined;
4015
+ waapiInstanceId?: string | null | undefined;
4016
+ qr?: string | null | undefined;
4017
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3960
4018
  apiKey?: string | undefined;
3961
4019
  tier?: "basic" | "regular" | "premium" | undefined;
4020
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3962
4021
  } | undefined;
3963
4022
  vonageCredentials?: {
3964
4023
  apiKey: string;
@@ -4130,6 +4189,7 @@ export declare const whatsappContract: {
4130
4189
  dateValue: Date | null;
4131
4190
  uploads: {
4132
4191
  id: string;
4192
+ status: string | null;
4133
4193
  createdAt: Date;
4134
4194
  updatedAt: Date;
4135
4195
  deletedAt: Date | null;
@@ -4138,7 +4198,6 @@ export declare const whatsappContract: {
4138
4198
  bucketName: string;
4139
4199
  fileSize: number;
4140
4200
  fileUrl: string | null;
4141
- status?: string | undefined;
4142
4201
  }[];
4143
4202
  }[];
4144
4203
  company: {
@@ -4374,15 +4433,18 @@ export declare const whatsappContract: {
4374
4433
  additionalCredentials?: any;
4375
4434
  senderId?: string | undefined;
4376
4435
  whatsapp?: {
4377
- email: string;
4378
- wabaExternalId: string;
4379
- phoneNumberId: string;
4380
- wabaBusinessId?: string | undefined;
4381
- clientId?: string | undefined;
4382
- channelId?: string | undefined;
4383
- status?: "active" | "pending" | undefined;
4436
+ wabaBusinessId?: string | null | undefined;
4437
+ wabaExternalId?: string | null | undefined;
4438
+ phoneNumberId?: string | null | undefined;
4439
+ email?: string | null | undefined;
4440
+ clientId?: string | null | undefined;
4441
+ channelId?: string | null | undefined;
4442
+ waapiInstanceId?: string | null | undefined;
4443
+ qr?: string | null | undefined;
4444
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4384
4445
  apiKey?: string | undefined;
4385
4446
  tier?: "basic" | "regular" | "premium" | undefined;
4447
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4386
4448
  } | undefined;
4387
4449
  vonageCredentials?: {
4388
4450
  apiKey: string;
@@ -4554,6 +4616,7 @@ export declare const whatsappContract: {
4554
4616
  dateValue: Date | null;
4555
4617
  uploads: {
4556
4618
  id: string;
4619
+ status: string | null;
4557
4620
  createdAt: Date;
4558
4621
  updatedAt: Date;
4559
4622
  deletedAt: Date | null;
@@ -4562,7 +4625,6 @@ export declare const whatsappContract: {
4562
4625
  bucketName: string;
4563
4626
  fileSize: number;
4564
4627
  fileUrl: string | null;
4565
- status?: string | undefined;
4566
4628
  }[];
4567
4629
  }[];
4568
4630
  company: {
@@ -4823,7 +4885,7 @@ export declare const whatsappContract: {
4823
4885
  deletedAt: z.ZodNullable<z.ZodDate>;
4824
4886
  message: z.ZodString;
4825
4887
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4826
- 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"]>;
4888
+ 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"]>;
4827
4889
  readAt: z.ZodDate;
4828
4890
  metadata: z.ZodAny;
4829
4891
  platformId: z.ZodString;
@@ -4844,9 +4906,10 @@ export declare const whatsappContract: {
4844
4906
  fileSize: z.ZodNumber;
4845
4907
  fileKey: z.ZodString;
4846
4908
  fileUrl: z.ZodNullable<z.ZodString>;
4847
- status: z.ZodOptional<z.ZodString>;
4909
+ status: z.ZodNullable<z.ZodString>;
4848
4910
  }, "strip", z.ZodTypeAny, {
4849
4911
  id: string;
4912
+ status: string | null;
4850
4913
  createdAt: Date;
4851
4914
  updatedAt: Date;
4852
4915
  deletedAt: Date | null;
@@ -4855,9 +4918,9 @@ export declare const whatsappContract: {
4855
4918
  bucketName: string;
4856
4919
  fileSize: number;
4857
4920
  fileUrl: string | null;
4858
- status?: string | undefined;
4859
4921
  }, {
4860
4922
  id: string;
4923
+ status: string | null;
4861
4924
  createdAt: Date;
4862
4925
  updatedAt: Date;
4863
4926
  deletedAt: Date | null;
@@ -4866,7 +4929,6 @@ export declare const whatsappContract: {
4866
4929
  bucketName: string;
4867
4930
  fileSize: number;
4868
4931
  fileUrl: string | null;
4869
- status?: string | undefined;
4870
4932
  }>;
4871
4933
  actor: z.ZodObject<{
4872
4934
  id: z.ZodString;
@@ -5481,7 +5543,7 @@ export declare const whatsappContract: {
5481
5543
  };
5482
5544
  }>;
5483
5545
  }, "strip", z.ZodTypeAny, {
5484
- 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";
5546
+ 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";
5485
5547
  message: string;
5486
5548
  id: string;
5487
5549
  url: string;
@@ -5535,6 +5597,7 @@ export declare const whatsappContract: {
5535
5597
  };
5536
5598
  upload: {
5537
5599
  id: string;
5600
+ status: string | null;
5538
5601
  createdAt: Date;
5539
5602
  updatedAt: Date;
5540
5603
  deletedAt: Date | null;
@@ -5543,7 +5606,6 @@ export declare const whatsappContract: {
5543
5606
  bucketName: string;
5544
5607
  fileSize: number;
5545
5608
  fileUrl: string | null;
5546
- status?: string | undefined;
5547
5609
  };
5548
5610
  assignee: {
5549
5611
  id: string;
@@ -5643,7 +5705,7 @@ export declare const whatsappContract: {
5643
5705
  metadata?: any;
5644
5706
  template?: any;
5645
5707
  }, {
5646
- 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";
5708
+ 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";
5647
5709
  message: string;
5648
5710
  id: string;
5649
5711
  url: string;
@@ -5697,6 +5759,7 @@ export declare const whatsappContract: {
5697
5759
  };
5698
5760
  upload: {
5699
5761
  id: string;
5762
+ status: string | null;
5700
5763
  createdAt: Date;
5701
5764
  updatedAt: Date;
5702
5765
  deletedAt: Date | null;
@@ -5705,7 +5768,6 @@ export declare const whatsappContract: {
5705
5768
  bucketName: string;
5706
5769
  fileSize: number;
5707
5770
  fileUrl: string | null;
5708
- status?: string | undefined;
5709
5771
  };
5710
5772
  assignee: {
5711
5773
  id: string;
@@ -6017,7 +6079,7 @@ export declare const whatsappContract: {
6017
6079
  deletedAt: z.ZodNullable<z.ZodDate>;
6018
6080
  message: z.ZodString;
6019
6081
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6020
- 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"]>;
6082
+ 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"]>;
6021
6083
  readAt: z.ZodDate;
6022
6084
  metadata: z.ZodAny;
6023
6085
  platformId: z.ZodString;
@@ -6416,9 +6478,10 @@ export declare const whatsappContract: {
6416
6478
  fileSize: z.ZodNumber;
6417
6479
  fileKey: z.ZodString;
6418
6480
  fileUrl: z.ZodNullable<z.ZodString>;
6419
- status: z.ZodOptional<z.ZodString>;
6481
+ status: z.ZodNullable<z.ZodString>;
6420
6482
  }, "strip", z.ZodTypeAny, {
6421
6483
  id: string;
6484
+ status: string | null;
6422
6485
  createdAt: Date;
6423
6486
  updatedAt: Date;
6424
6487
  deletedAt: Date | null;
@@ -6427,9 +6490,9 @@ export declare const whatsappContract: {
6427
6490
  bucketName: string;
6428
6491
  fileSize: number;
6429
6492
  fileUrl: string | null;
6430
- status?: string | undefined;
6431
6493
  }, {
6432
6494
  id: string;
6495
+ status: string | null;
6433
6496
  createdAt: Date;
6434
6497
  updatedAt: Date;
6435
6498
  deletedAt: Date | null;
@@ -6438,7 +6501,6 @@ export declare const whatsappContract: {
6438
6501
  bucketName: string;
6439
6502
  fileSize: number;
6440
6503
  fileUrl: string | null;
6441
- status?: string | undefined;
6442
6504
  }>, "many">;
6443
6505
  }, "strip", z.ZodTypeAny, {
6444
6506
  id: string;
@@ -6465,6 +6527,7 @@ export declare const whatsappContract: {
6465
6527
  dateValue: Date | null;
6466
6528
  uploads: {
6467
6529
  id: string;
6530
+ status: string | null;
6468
6531
  createdAt: Date;
6469
6532
  updatedAt: Date;
6470
6533
  deletedAt: Date | null;
@@ -6473,7 +6536,6 @@ export declare const whatsappContract: {
6473
6536
  bucketName: string;
6474
6537
  fileSize: number;
6475
6538
  fileUrl: string | null;
6476
- status?: string | undefined;
6477
6539
  }[];
6478
6540
  }, {
6479
6541
  id: string;
@@ -6500,6 +6562,7 @@ export declare const whatsappContract: {
6500
6562
  dateValue: Date | null;
6501
6563
  uploads: {
6502
6564
  id: string;
6565
+ status: string | null;
6503
6566
  createdAt: Date;
6504
6567
  updatedAt: Date;
6505
6568
  deletedAt: Date | null;
@@ -6508,7 +6571,6 @@ export declare const whatsappContract: {
6508
6571
  bucketName: string;
6509
6572
  fileSize: number;
6510
6573
  fileUrl: string | null;
6511
- status?: string | undefined;
6512
6574
  }[];
6513
6575
  }>, "many">;
6514
6576
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6648,6 +6710,7 @@ export declare const whatsappContract: {
6648
6710
  dateValue: Date | null;
6649
6711
  uploads: {
6650
6712
  id: string;
6713
+ status: string | null;
6651
6714
  createdAt: Date;
6652
6715
  updatedAt: Date;
6653
6716
  deletedAt: Date | null;
@@ -6656,7 +6719,6 @@ export declare const whatsappContract: {
6656
6719
  bucketName: string;
6657
6720
  fileSize: number;
6658
6721
  fileUrl: string | null;
6659
- status?: string | undefined;
6660
6722
  }[];
6661
6723
  }[];
6662
6724
  company: {
@@ -6759,6 +6821,7 @@ export declare const whatsappContract: {
6759
6821
  dateValue: Date | null;
6760
6822
  uploads: {
6761
6823
  id: string;
6824
+ status: string | null;
6762
6825
  createdAt: Date;
6763
6826
  updatedAt: Date;
6764
6827
  deletedAt: Date | null;
@@ -6767,7 +6830,6 @@ export declare const whatsappContract: {
6767
6830
  bucketName: string;
6768
6831
  fileSize: number;
6769
6832
  fileUrl: string | null;
6770
- status?: string | undefined;
6771
6833
  }[];
6772
6834
  }[];
6773
6835
  company: {
@@ -6883,6 +6945,7 @@ export declare const whatsappContract: {
6883
6945
  dateValue: Date | null;
6884
6946
  uploads: {
6885
6947
  id: string;
6948
+ status: string | null;
6886
6949
  createdAt: Date;
6887
6950
  updatedAt: Date;
6888
6951
  deletedAt: Date | null;
@@ -6891,7 +6954,6 @@ export declare const whatsappContract: {
6891
6954
  bucketName: string;
6892
6955
  fileSize: number;
6893
6956
  fileUrl: string | null;
6894
- status?: string | undefined;
6895
6957
  }[];
6896
6958
  }[];
6897
6959
  company: {
@@ -7009,6 +7071,7 @@ export declare const whatsappContract: {
7009
7071
  dateValue: Date | null;
7010
7072
  uploads: {
7011
7073
  id: string;
7074
+ status: string | null;
7012
7075
  createdAt: Date;
7013
7076
  updatedAt: Date;
7014
7077
  deletedAt: Date | null;
@@ -7017,7 +7080,6 @@ export declare const whatsappContract: {
7017
7080
  bucketName: string;
7018
7081
  fileSize: number;
7019
7082
  fileUrl: string | null;
7020
- status?: string | undefined;
7021
7083
  }[];
7022
7084
  }[];
7023
7085
  company: {
@@ -7514,35 +7576,44 @@ export declare const whatsappContract: {
7514
7576
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7515
7577
  senderId: z.ZodOptional<z.ZodString>;
7516
7578
  whatsapp: z.ZodOptional<z.ZodObject<{
7517
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7518
- wabaExternalId: z.ZodString;
7519
- phoneNumberId: z.ZodString;
7520
- email: z.ZodString;
7521
- clientId: z.ZodOptional<z.ZodString>;
7522
- channelId: z.ZodOptional<z.ZodString>;
7523
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7579
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7580
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7581
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7582
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7583
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7584
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7585
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7586
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7587
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
7524
7588
  apiKey: z.ZodOptional<z.ZodString>;
7525
7589
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7590
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
7526
7591
  }, "strip", z.ZodTypeAny, {
7527
- email: string;
7528
- wabaExternalId: string;
7529
- phoneNumberId: string;
7530
- wabaBusinessId?: string | undefined;
7531
- clientId?: string | undefined;
7532
- channelId?: string | undefined;
7533
- status?: "active" | "pending" | undefined;
7592
+ wabaBusinessId?: string | null | undefined;
7593
+ wabaExternalId?: string | null | undefined;
7594
+ phoneNumberId?: string | null | undefined;
7595
+ email?: string | null | undefined;
7596
+ clientId?: string | null | undefined;
7597
+ channelId?: string | null | undefined;
7598
+ waapiInstanceId?: string | null | undefined;
7599
+ qr?: string | null | undefined;
7600
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7534
7601
  apiKey?: string | undefined;
7535
7602
  tier?: "basic" | "regular" | "premium" | undefined;
7603
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7536
7604
  }, {
7537
- email: string;
7538
- wabaExternalId: string;
7539
- phoneNumberId: string;
7540
- wabaBusinessId?: string | undefined;
7541
- clientId?: string | undefined;
7542
- channelId?: string | undefined;
7543
- status?: "active" | "pending" | undefined;
7605
+ wabaBusinessId?: string | null | undefined;
7606
+ wabaExternalId?: string | null | undefined;
7607
+ phoneNumberId?: string | null | undefined;
7608
+ email?: string | null | undefined;
7609
+ clientId?: string | null | undefined;
7610
+ channelId?: string | null | undefined;
7611
+ waapiInstanceId?: string | null | undefined;
7612
+ qr?: string | null | undefined;
7613
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7544
7614
  apiKey?: string | undefined;
7545
7615
  tier?: "basic" | "regular" | "premium" | undefined;
7616
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7546
7617
  }>>;
7547
7618
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7548
7619
  mobileNumber: z.ZodString;
@@ -7568,15 +7639,18 @@ export declare const whatsappContract: {
7568
7639
  additionalCredentials?: any;
7569
7640
  senderId?: string | undefined;
7570
7641
  whatsapp?: {
7571
- email: string;
7572
- wabaExternalId: string;
7573
- phoneNumberId: string;
7574
- wabaBusinessId?: string | undefined;
7575
- clientId?: string | undefined;
7576
- channelId?: string | undefined;
7577
- status?: "active" | "pending" | undefined;
7642
+ wabaBusinessId?: string | null | undefined;
7643
+ wabaExternalId?: string | null | undefined;
7644
+ phoneNumberId?: string | null | undefined;
7645
+ email?: string | null | undefined;
7646
+ clientId?: string | null | undefined;
7647
+ channelId?: string | null | undefined;
7648
+ waapiInstanceId?: string | null | undefined;
7649
+ qr?: string | null | undefined;
7650
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7578
7651
  apiKey?: string | undefined;
7579
7652
  tier?: "basic" | "regular" | "premium" | undefined;
7653
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7580
7654
  } | undefined;
7581
7655
  vonageCredentials?: {
7582
7656
  apiKey: string;
@@ -7594,15 +7668,18 @@ export declare const whatsappContract: {
7594
7668
  additionalCredentials?: any;
7595
7669
  senderId?: string | undefined;
7596
7670
  whatsapp?: {
7597
- email: string;
7598
- wabaExternalId: string;
7599
- phoneNumberId: string;
7600
- wabaBusinessId?: string | undefined;
7601
- clientId?: string | undefined;
7602
- channelId?: string | undefined;
7603
- status?: "active" | "pending" | undefined;
7671
+ wabaBusinessId?: string | null | undefined;
7672
+ wabaExternalId?: string | null | undefined;
7673
+ phoneNumberId?: string | null | undefined;
7674
+ email?: string | null | undefined;
7675
+ clientId?: string | null | undefined;
7676
+ channelId?: string | null | undefined;
7677
+ waapiInstanceId?: string | null | undefined;
7678
+ qr?: string | null | undefined;
7679
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7604
7680
  apiKey?: string | undefined;
7605
7681
  tier?: "basic" | "regular" | "premium" | undefined;
7682
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7606
7683
  } | undefined;
7607
7684
  vonageCredentials?: {
7608
7685
  apiKey: string;
@@ -7854,15 +7931,18 @@ export declare const whatsappContract: {
7854
7931
  additionalCredentials?: any;
7855
7932
  senderId?: string | undefined;
7856
7933
  whatsapp?: {
7857
- email: string;
7858
- wabaExternalId: string;
7859
- phoneNumberId: string;
7860
- wabaBusinessId?: string | undefined;
7861
- clientId?: string | undefined;
7862
- channelId?: string | undefined;
7863
- status?: "active" | "pending" | undefined;
7934
+ wabaBusinessId?: string | null | undefined;
7935
+ wabaExternalId?: string | null | undefined;
7936
+ phoneNumberId?: string | null | undefined;
7937
+ email?: string | null | undefined;
7938
+ clientId?: string | null | undefined;
7939
+ channelId?: string | null | undefined;
7940
+ waapiInstanceId?: string | null | undefined;
7941
+ qr?: string | null | undefined;
7942
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7864
7943
  apiKey?: string | undefined;
7865
7944
  tier?: "basic" | "regular" | "premium" | undefined;
7945
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7866
7946
  } | undefined;
7867
7947
  vonageCredentials?: {
7868
7948
  apiKey: string;
@@ -7945,15 +8025,18 @@ export declare const whatsappContract: {
7945
8025
  additionalCredentials?: any;
7946
8026
  senderId?: string | undefined;
7947
8027
  whatsapp?: {
7948
- email: string;
7949
- wabaExternalId: string;
7950
- phoneNumberId: string;
7951
- wabaBusinessId?: string | undefined;
7952
- clientId?: string | undefined;
7953
- channelId?: string | undefined;
7954
- status?: "active" | "pending" | undefined;
8028
+ wabaBusinessId?: string | null | undefined;
8029
+ wabaExternalId?: string | null | undefined;
8030
+ phoneNumberId?: string | null | undefined;
8031
+ email?: string | null | undefined;
8032
+ clientId?: string | null | undefined;
8033
+ channelId?: string | null | undefined;
8034
+ waapiInstanceId?: string | null | undefined;
8035
+ qr?: string | null | undefined;
8036
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7955
8037
  apiKey?: string | undefined;
7956
8038
  tier?: "basic" | "regular" | "premium" | undefined;
8039
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7957
8040
  } | undefined;
7958
8041
  vonageCredentials?: {
7959
8042
  apiKey: string;
@@ -8600,15 +8683,18 @@ export declare const whatsappContract: {
8600
8683
  additionalCredentials?: any;
8601
8684
  senderId?: string | undefined;
8602
8685
  whatsapp?: {
8603
- email: string;
8604
- wabaExternalId: string;
8605
- phoneNumberId: string;
8606
- wabaBusinessId?: string | undefined;
8607
- clientId?: string | undefined;
8608
- channelId?: string | undefined;
8609
- status?: "active" | "pending" | undefined;
8686
+ wabaBusinessId?: string | null | undefined;
8687
+ wabaExternalId?: string | null | undefined;
8688
+ phoneNumberId?: string | null | undefined;
8689
+ email?: string | null | undefined;
8690
+ clientId?: string | null | undefined;
8691
+ channelId?: string | null | undefined;
8692
+ waapiInstanceId?: string | null | undefined;
8693
+ qr?: string | null | undefined;
8694
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8610
8695
  apiKey?: string | undefined;
8611
8696
  tier?: "basic" | "regular" | "premium" | undefined;
8697
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8612
8698
  } | undefined;
8613
8699
  vonageCredentials?: {
8614
8700
  apiKey: string;
@@ -8780,6 +8866,7 @@ export declare const whatsappContract: {
8780
8866
  dateValue: Date | null;
8781
8867
  uploads: {
8782
8868
  id: string;
8869
+ status: string | null;
8783
8870
  createdAt: Date;
8784
8871
  updatedAt: Date;
8785
8872
  deletedAt: Date | null;
@@ -8788,7 +8875,6 @@ export declare const whatsappContract: {
8788
8875
  bucketName: string;
8789
8876
  fileSize: number;
8790
8877
  fileUrl: string | null;
8791
- status?: string | undefined;
8792
8878
  }[];
8793
8879
  }[];
8794
8880
  company: {
@@ -9024,15 +9110,18 @@ export declare const whatsappContract: {
9024
9110
  additionalCredentials?: any;
9025
9111
  senderId?: string | undefined;
9026
9112
  whatsapp?: {
9027
- email: string;
9028
- wabaExternalId: string;
9029
- phoneNumberId: string;
9030
- wabaBusinessId?: string | undefined;
9031
- clientId?: string | undefined;
9032
- channelId?: string | undefined;
9033
- status?: "active" | "pending" | undefined;
9113
+ wabaBusinessId?: string | null | undefined;
9114
+ wabaExternalId?: string | null | undefined;
9115
+ phoneNumberId?: string | null | undefined;
9116
+ email?: string | null | undefined;
9117
+ clientId?: string | null | undefined;
9118
+ channelId?: string | null | undefined;
9119
+ waapiInstanceId?: string | null | undefined;
9120
+ qr?: string | null | undefined;
9121
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9034
9122
  apiKey?: string | undefined;
9035
9123
  tier?: "basic" | "regular" | "premium" | undefined;
9124
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9036
9125
  } | undefined;
9037
9126
  vonageCredentials?: {
9038
9127
  apiKey: string;
@@ -9204,6 +9293,7 @@ export declare const whatsappContract: {
9204
9293
  dateValue: Date | null;
9205
9294
  uploads: {
9206
9295
  id: string;
9296
+ status: string | null;
9207
9297
  createdAt: Date;
9208
9298
  updatedAt: Date;
9209
9299
  deletedAt: Date | null;
@@ -9212,7 +9302,6 @@ export declare const whatsappContract: {
9212
9302
  bucketName: string;
9213
9303
  fileSize: number;
9214
9304
  fileUrl: string | null;
9215
- status?: string | undefined;
9216
9305
  }[];
9217
9306
  }[];
9218
9307
  company: {
@@ -9445,9 +9534,10 @@ export declare const whatsappContract: {
9445
9534
  fileSize: z.ZodNumber;
9446
9535
  fileKey: z.ZodString;
9447
9536
  fileUrl: z.ZodNullable<z.ZodString>;
9448
- status: z.ZodOptional<z.ZodString>;
9537
+ status: z.ZodNullable<z.ZodString>;
9449
9538
  }, "strip", z.ZodTypeAny, {
9450
9539
  id: string;
9540
+ status: string | null;
9451
9541
  createdAt: Date;
9452
9542
  updatedAt: Date;
9453
9543
  deletedAt: Date | null;
@@ -9456,9 +9546,9 @@ export declare const whatsappContract: {
9456
9546
  bucketName: string;
9457
9547
  fileSize: number;
9458
9548
  fileUrl: string | null;
9459
- status?: string | undefined;
9460
9549
  }, {
9461
9550
  id: string;
9551
+ status: string | null;
9462
9552
  createdAt: Date;
9463
9553
  updatedAt: Date;
9464
9554
  deletedAt: Date | null;
@@ -9467,7 +9557,6 @@ export declare const whatsappContract: {
9467
9557
  bucketName: string;
9468
9558
  fileSize: number;
9469
9559
  fileUrl: string | null;
9470
- status?: string | undefined;
9471
9560
  }>;
9472
9561
  repliedMessage: z.ZodLazy<z.ZodObject<{
9473
9562
  id: z.ZodString;
@@ -9476,7 +9565,7 @@ export declare const whatsappContract: {
9476
9565
  deletedAt: z.ZodNullable<z.ZodDate>;
9477
9566
  message: z.ZodString;
9478
9567
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9479
- 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"]>;
9568
+ 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"]>;
9480
9569
  readAt: z.ZodDate;
9481
9570
  metadata: z.ZodAny;
9482
9571
  platformId: z.ZodString;
@@ -9497,9 +9586,10 @@ export declare const whatsappContract: {
9497
9586
  fileSize: z.ZodNumber;
9498
9587
  fileKey: z.ZodString;
9499
9588
  fileUrl: z.ZodNullable<z.ZodString>;
9500
- status: z.ZodOptional<z.ZodString>;
9589
+ status: z.ZodNullable<z.ZodString>;
9501
9590
  }, "strip", z.ZodTypeAny, {
9502
9591
  id: string;
9592
+ status: string | null;
9503
9593
  createdAt: Date;
9504
9594
  updatedAt: Date;
9505
9595
  deletedAt: Date | null;
@@ -9508,9 +9598,9 @@ export declare const whatsappContract: {
9508
9598
  bucketName: string;
9509
9599
  fileSize: number;
9510
9600
  fileUrl: string | null;
9511
- status?: string | undefined;
9512
9601
  }, {
9513
9602
  id: string;
9603
+ status: string | null;
9514
9604
  createdAt: Date;
9515
9605
  updatedAt: Date;
9516
9606
  deletedAt: Date | null;
@@ -9519,7 +9609,6 @@ export declare const whatsappContract: {
9519
9609
  bucketName: string;
9520
9610
  fileSize: number;
9521
9611
  fileUrl: string | null;
9522
- status?: string | undefined;
9523
9612
  }>;
9524
9613
  actor: z.ZodObject<{
9525
9614
  id: z.ZodString;
@@ -10134,7 +10223,7 @@ export declare const whatsappContract: {
10134
10223
  };
10135
10224
  }>;
10136
10225
  }, "strip", z.ZodTypeAny, {
10137
- 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";
10226
+ 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";
10138
10227
  message: string;
10139
10228
  id: string;
10140
10229
  url: string;
@@ -10188,6 +10277,7 @@ export declare const whatsappContract: {
10188
10277
  };
10189
10278
  upload: {
10190
10279
  id: string;
10280
+ status: string | null;
10191
10281
  createdAt: Date;
10192
10282
  updatedAt: Date;
10193
10283
  deletedAt: Date | null;
@@ -10196,7 +10286,6 @@ export declare const whatsappContract: {
10196
10286
  bucketName: string;
10197
10287
  fileSize: number;
10198
10288
  fileUrl: string | null;
10199
- status?: string | undefined;
10200
10289
  };
10201
10290
  assignee: {
10202
10291
  id: string;
@@ -10296,7 +10385,7 @@ export declare const whatsappContract: {
10296
10385
  metadata?: any;
10297
10386
  template?: any;
10298
10387
  }, {
10299
- 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";
10388
+ 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";
10300
10389
  message: string;
10301
10390
  id: string;
10302
10391
  url: string;
@@ -10350,6 +10439,7 @@ export declare const whatsappContract: {
10350
10439
  };
10351
10440
  upload: {
10352
10441
  id: string;
10442
+ status: string | null;
10353
10443
  createdAt: Date;
10354
10444
  updatedAt: Date;
10355
10445
  deletedAt: Date | null;
@@ -10358,7 +10448,6 @@ export declare const whatsappContract: {
10358
10448
  bucketName: string;
10359
10449
  fileSize: number;
10360
10450
  fileUrl: string | null;
10361
- status?: string | undefined;
10362
10451
  };
10363
10452
  assignee: {
10364
10453
  id: string;
@@ -11098,7 +11187,7 @@ export declare const whatsappContract: {
11098
11187
  editedMessageid: z.ZodString;
11099
11188
  label: z.ZodOptional<z.ZodString>;
11100
11189
  }, "strip", z.ZodTypeAny, {
11101
- 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";
11190
+ 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";
11102
11191
  message: string;
11103
11192
  id: string;
11104
11193
  url: string;
@@ -11152,6 +11241,7 @@ export declare const whatsappContract: {
11152
11241
  };
11153
11242
  upload: {
11154
11243
  id: string;
11244
+ status: string | null;
11155
11245
  createdAt: Date;
11156
11246
  updatedAt: Date;
11157
11247
  deletedAt: Date | null;
@@ -11160,7 +11250,6 @@ export declare const whatsappContract: {
11160
11250
  bucketName: string;
11161
11251
  fileSize: number;
11162
11252
  fileUrl: string | null;
11163
- status?: string | undefined;
11164
11253
  };
11165
11254
  assignee: {
11166
11255
  id: string;
@@ -11221,15 +11310,18 @@ export declare const whatsappContract: {
11221
11310
  additionalCredentials?: any;
11222
11311
  senderId?: string | undefined;
11223
11312
  whatsapp?: {
11224
- email: string;
11225
- wabaExternalId: string;
11226
- phoneNumberId: string;
11227
- wabaBusinessId?: string | undefined;
11228
- clientId?: string | undefined;
11229
- channelId?: string | undefined;
11230
- status?: "active" | "pending" | undefined;
11313
+ wabaBusinessId?: string | null | undefined;
11314
+ wabaExternalId?: string | null | undefined;
11315
+ phoneNumberId?: string | null | undefined;
11316
+ email?: string | null | undefined;
11317
+ clientId?: string | null | undefined;
11318
+ channelId?: string | null | undefined;
11319
+ waapiInstanceId?: string | null | undefined;
11320
+ qr?: string | null | undefined;
11321
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11231
11322
  apiKey?: string | undefined;
11232
11323
  tier?: "basic" | "regular" | "premium" | undefined;
11324
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11233
11325
  } | undefined;
11234
11326
  vonageCredentials?: {
11235
11327
  apiKey: string;
@@ -11401,6 +11493,7 @@ export declare const whatsappContract: {
11401
11493
  dateValue: Date | null;
11402
11494
  uploads: {
11403
11495
  id: string;
11496
+ status: string | null;
11404
11497
  createdAt: Date;
11405
11498
  updatedAt: Date;
11406
11499
  deletedAt: Date | null;
@@ -11409,7 +11502,6 @@ export declare const whatsappContract: {
11409
11502
  bucketName: string;
11410
11503
  fileSize: number;
11411
11504
  fileUrl: string | null;
11412
- status?: string | undefined;
11413
11505
  }[];
11414
11506
  }[];
11415
11507
  company: {
@@ -11648,7 +11740,7 @@ export declare const whatsappContract: {
11648
11740
  previewUrl: string;
11649
11741
  imageSetId: string;
11650
11742
  repliedMessage: {
11651
- 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";
11743
+ 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";
11652
11744
  message: string;
11653
11745
  id: string;
11654
11746
  url: string;
@@ -11702,6 +11794,7 @@ export declare const whatsappContract: {
11702
11794
  };
11703
11795
  upload: {
11704
11796
  id: string;
11797
+ status: string | null;
11705
11798
  createdAt: Date;
11706
11799
  updatedAt: Date;
11707
11800
  deletedAt: Date | null;
@@ -11710,7 +11803,6 @@ export declare const whatsappContract: {
11710
11803
  bucketName: string;
11711
11804
  fileSize: number;
11712
11805
  fileUrl: string | null;
11713
- status?: string | undefined;
11714
11806
  };
11715
11807
  assignee: {
11716
11808
  id: string;
@@ -11859,7 +11951,7 @@ export declare const whatsappContract: {
11859
11951
  template?: any;
11860
11952
  label?: string | undefined;
11861
11953
  }, {
11862
- 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";
11954
+ 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";
11863
11955
  message: string;
11864
11956
  id: string;
11865
11957
  url: string;
@@ -11913,6 +12005,7 @@ export declare const whatsappContract: {
11913
12005
  };
11914
12006
  upload: {
11915
12007
  id: string;
12008
+ status: string | null;
11916
12009
  createdAt: Date;
11917
12010
  updatedAt: Date;
11918
12011
  deletedAt: Date | null;
@@ -11921,7 +12014,6 @@ export declare const whatsappContract: {
11921
12014
  bucketName: string;
11922
12015
  fileSize: number;
11923
12016
  fileUrl: string | null;
11924
- status?: string | undefined;
11925
12017
  };
11926
12018
  assignee: {
11927
12019
  id: string;
@@ -11982,15 +12074,18 @@ export declare const whatsappContract: {
11982
12074
  additionalCredentials?: any;
11983
12075
  senderId?: string | undefined;
11984
12076
  whatsapp?: {
11985
- email: string;
11986
- wabaExternalId: string;
11987
- phoneNumberId: string;
11988
- wabaBusinessId?: string | undefined;
11989
- clientId?: string | undefined;
11990
- channelId?: string | undefined;
11991
- status?: "active" | "pending" | undefined;
12077
+ wabaBusinessId?: string | null | undefined;
12078
+ wabaExternalId?: string | null | undefined;
12079
+ phoneNumberId?: string | null | undefined;
12080
+ email?: string | null | undefined;
12081
+ clientId?: string | null | undefined;
12082
+ channelId?: string | null | undefined;
12083
+ waapiInstanceId?: string | null | undefined;
12084
+ qr?: string | null | undefined;
12085
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11992
12086
  apiKey?: string | undefined;
11993
12087
  tier?: "basic" | "regular" | "premium" | undefined;
12088
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11994
12089
  } | undefined;
11995
12090
  vonageCredentials?: {
11996
12091
  apiKey: string;
@@ -12162,6 +12257,7 @@ export declare const whatsappContract: {
12162
12257
  dateValue: Date | null;
12163
12258
  uploads: {
12164
12259
  id: string;
12260
+ status: string | null;
12165
12261
  createdAt: Date;
12166
12262
  updatedAt: Date;
12167
12263
  deletedAt: Date | null;
@@ -12170,7 +12266,6 @@ export declare const whatsappContract: {
12170
12266
  bucketName: string;
12171
12267
  fileSize: number;
12172
12268
  fileUrl: string | null;
12173
- status?: string | undefined;
12174
12269
  }[];
12175
12270
  }[];
12176
12271
  company: {
@@ -12409,7 +12504,7 @@ export declare const whatsappContract: {
12409
12504
  previewUrl: string;
12410
12505
  imageSetId: string;
12411
12506
  repliedMessage: {
12412
- 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";
12507
+ 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";
12413
12508
  message: string;
12414
12509
  id: string;
12415
12510
  url: string;
@@ -12463,6 +12558,7 @@ export declare const whatsappContract: {
12463
12558
  };
12464
12559
  upload: {
12465
12560
  id: string;
12561
+ status: string | null;
12466
12562
  createdAt: Date;
12467
12563
  updatedAt: Date;
12468
12564
  deletedAt: Date | null;
@@ -12471,7 +12567,6 @@ export declare const whatsappContract: {
12471
12567
  bucketName: string;
12472
12568
  fileSize: number;
12473
12569
  fileUrl: string | null;
12474
- status?: string | undefined;
12475
12570
  };
12476
12571
  assignee: {
12477
12572
  id: string;
@@ -12621,7 +12716,7 @@ export declare const whatsappContract: {
12621
12716
  label?: string | undefined;
12622
12717
  }>>>;
12623
12718
  }, "strip", z.ZodTypeAny, {
12624
- 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";
12719
+ 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";
12625
12720
  message: string;
12626
12721
  id: string;
12627
12722
  url: string;
@@ -12675,6 +12770,7 @@ export declare const whatsappContract: {
12675
12770
  };
12676
12771
  upload: {
12677
12772
  id: string;
12773
+ status: string | null;
12678
12774
  createdAt: Date;
12679
12775
  updatedAt: Date;
12680
12776
  deletedAt: Date | null;
@@ -12683,7 +12779,6 @@ export declare const whatsappContract: {
12683
12779
  bucketName: string;
12684
12780
  fileSize: number;
12685
12781
  fileUrl: string | null;
12686
- status?: string | undefined;
12687
12782
  };
12688
12783
  assignee: {
12689
12784
  id: string;
@@ -12744,15 +12839,18 @@ export declare const whatsappContract: {
12744
12839
  additionalCredentials?: any;
12745
12840
  senderId?: string | undefined;
12746
12841
  whatsapp?: {
12747
- email: string;
12748
- wabaExternalId: string;
12749
- phoneNumberId: string;
12750
- wabaBusinessId?: string | undefined;
12751
- clientId?: string | undefined;
12752
- channelId?: string | undefined;
12753
- status?: "active" | "pending" | undefined;
12842
+ wabaBusinessId?: string | null | undefined;
12843
+ wabaExternalId?: string | null | undefined;
12844
+ phoneNumberId?: string | null | undefined;
12845
+ email?: string | null | undefined;
12846
+ clientId?: string | null | undefined;
12847
+ channelId?: string | null | undefined;
12848
+ waapiInstanceId?: string | null | undefined;
12849
+ qr?: string | null | undefined;
12850
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12754
12851
  apiKey?: string | undefined;
12755
12852
  tier?: "basic" | "regular" | "premium" | undefined;
12853
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12756
12854
  } | undefined;
12757
12855
  vonageCredentials?: {
12758
12856
  apiKey: string;
@@ -12924,6 +13022,7 @@ export declare const whatsappContract: {
12924
13022
  dateValue: Date | null;
12925
13023
  uploads: {
12926
13024
  id: string;
13025
+ status: string | null;
12927
13026
  createdAt: Date;
12928
13027
  updatedAt: Date;
12929
13028
  deletedAt: Date | null;
@@ -12932,7 +13031,6 @@ export declare const whatsappContract: {
12932
13031
  bucketName: string;
12933
13032
  fileSize: number;
12934
13033
  fileUrl: string | null;
12935
- status?: string | undefined;
12936
13034
  }[];
12937
13035
  }[];
12938
13036
  company: {
@@ -13171,7 +13269,7 @@ export declare const whatsappContract: {
13171
13269
  previewUrl: string;
13172
13270
  imageSetId: string;
13173
13271
  repliedMessage: {
13174
- 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";
13272
+ 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";
13175
13273
  message: string;
13176
13274
  id: string;
13177
13275
  url: string;
@@ -13225,6 +13323,7 @@ export declare const whatsappContract: {
13225
13323
  };
13226
13324
  upload: {
13227
13325
  id: string;
13326
+ status: string | null;
13228
13327
  createdAt: Date;
13229
13328
  updatedAt: Date;
13230
13329
  deletedAt: Date | null;
@@ -13233,7 +13332,6 @@ export declare const whatsappContract: {
13233
13332
  bucketName: string;
13234
13333
  fileSize: number;
13235
13334
  fileUrl: string | null;
13236
- status?: string | undefined;
13237
13335
  };
13238
13336
  assignee: {
13239
13337
  id: string;
@@ -13382,7 +13480,7 @@ export declare const whatsappContract: {
13382
13480
  template?: any;
13383
13481
  metadata?: any;
13384
13482
  fromMessage?: {
13385
- 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";
13483
+ 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";
13386
13484
  message: string;
13387
13485
  id: string;
13388
13486
  url: string;
@@ -13436,6 +13534,7 @@ export declare const whatsappContract: {
13436
13534
  };
13437
13535
  upload: {
13438
13536
  id: string;
13537
+ status: string | null;
13439
13538
  createdAt: Date;
13440
13539
  updatedAt: Date;
13441
13540
  deletedAt: Date | null;
@@ -13444,7 +13543,6 @@ export declare const whatsappContract: {
13444
13543
  bucketName: string;
13445
13544
  fileSize: number;
13446
13545
  fileUrl: string | null;
13447
- status?: string | undefined;
13448
13546
  };
13449
13547
  assignee: {
13450
13548
  id: string;
@@ -13505,15 +13603,18 @@ export declare const whatsappContract: {
13505
13603
  additionalCredentials?: any;
13506
13604
  senderId?: string | undefined;
13507
13605
  whatsapp?: {
13508
- email: string;
13509
- wabaExternalId: string;
13510
- phoneNumberId: string;
13511
- wabaBusinessId?: string | undefined;
13512
- clientId?: string | undefined;
13513
- channelId?: string | undefined;
13514
- status?: "active" | "pending" | undefined;
13606
+ wabaBusinessId?: string | null | undefined;
13607
+ wabaExternalId?: string | null | undefined;
13608
+ phoneNumberId?: string | null | undefined;
13609
+ email?: string | null | undefined;
13610
+ clientId?: string | null | undefined;
13611
+ channelId?: string | null | undefined;
13612
+ waapiInstanceId?: string | null | undefined;
13613
+ qr?: string | null | undefined;
13614
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13515
13615
  apiKey?: string | undefined;
13516
13616
  tier?: "basic" | "regular" | "premium" | undefined;
13617
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13517
13618
  } | undefined;
13518
13619
  vonageCredentials?: {
13519
13620
  apiKey: string;
@@ -13685,6 +13786,7 @@ export declare const whatsappContract: {
13685
13786
  dateValue: Date | null;
13686
13787
  uploads: {
13687
13788
  id: string;
13789
+ status: string | null;
13688
13790
  createdAt: Date;
13689
13791
  updatedAt: Date;
13690
13792
  deletedAt: Date | null;
@@ -13693,7 +13795,6 @@ export declare const whatsappContract: {
13693
13795
  bucketName: string;
13694
13796
  fileSize: number;
13695
13797
  fileUrl: string | null;
13696
- status?: string | undefined;
13697
13798
  }[];
13698
13799
  }[];
13699
13800
  company: {
@@ -13932,7 +14033,7 @@ export declare const whatsappContract: {
13932
14033
  previewUrl: string;
13933
14034
  imageSetId: string;
13934
14035
  repliedMessage: {
13935
- 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";
14036
+ 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";
13936
14037
  message: string;
13937
14038
  id: string;
13938
14039
  url: string;
@@ -13986,6 +14087,7 @@ export declare const whatsappContract: {
13986
14087
  };
13987
14088
  upload: {
13988
14089
  id: string;
14090
+ status: string | null;
13989
14091
  createdAt: Date;
13990
14092
  updatedAt: Date;
13991
14093
  deletedAt: Date | null;
@@ -13994,7 +14096,6 @@ export declare const whatsappContract: {
13994
14096
  bucketName: string;
13995
14097
  fileSize: number;
13996
14098
  fileUrl: string | null;
13997
- status?: string | undefined;
13998
14099
  };
13999
14100
  assignee: {
14000
14101
  id: string;
@@ -14144,7 +14245,7 @@ export declare const whatsappContract: {
14144
14245
  label?: string | undefined;
14145
14246
  } | null | undefined;
14146
14247
  }, {
14147
- 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";
14248
+ 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";
14148
14249
  message: string;
14149
14250
  id: string;
14150
14251
  url: string;
@@ -14198,6 +14299,7 @@ export declare const whatsappContract: {
14198
14299
  };
14199
14300
  upload: {
14200
14301
  id: string;
14302
+ status: string | null;
14201
14303
  createdAt: Date;
14202
14304
  updatedAt: Date;
14203
14305
  deletedAt: Date | null;
@@ -14206,7 +14308,6 @@ export declare const whatsappContract: {
14206
14308
  bucketName: string;
14207
14309
  fileSize: number;
14208
14310
  fileUrl: string | null;
14209
- status?: string | undefined;
14210
14311
  };
14211
14312
  assignee: {
14212
14313
  id: string;
@@ -14267,15 +14368,18 @@ export declare const whatsappContract: {
14267
14368
  additionalCredentials?: any;
14268
14369
  senderId?: string | undefined;
14269
14370
  whatsapp?: {
14270
- email: string;
14271
- wabaExternalId: string;
14272
- phoneNumberId: string;
14273
- wabaBusinessId?: string | undefined;
14274
- clientId?: string | undefined;
14275
- channelId?: string | undefined;
14276
- status?: "active" | "pending" | undefined;
14371
+ wabaBusinessId?: string | null | undefined;
14372
+ wabaExternalId?: string | null | undefined;
14373
+ phoneNumberId?: string | null | undefined;
14374
+ email?: string | null | undefined;
14375
+ clientId?: string | null | undefined;
14376
+ channelId?: string | null | undefined;
14377
+ waapiInstanceId?: string | null | undefined;
14378
+ qr?: string | null | undefined;
14379
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14277
14380
  apiKey?: string | undefined;
14278
14381
  tier?: "basic" | "regular" | "premium" | undefined;
14382
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14279
14383
  } | undefined;
14280
14384
  vonageCredentials?: {
14281
14385
  apiKey: string;
@@ -14447,6 +14551,7 @@ export declare const whatsappContract: {
14447
14551
  dateValue: Date | null;
14448
14552
  uploads: {
14449
14553
  id: string;
14554
+ status: string | null;
14450
14555
  createdAt: Date;
14451
14556
  updatedAt: Date;
14452
14557
  deletedAt: Date | null;
@@ -14455,7 +14560,6 @@ export declare const whatsappContract: {
14455
14560
  bucketName: string;
14456
14561
  fileSize: number;
14457
14562
  fileUrl: string | null;
14458
- status?: string | undefined;
14459
14563
  }[];
14460
14564
  }[];
14461
14565
  company: {
@@ -14694,7 +14798,7 @@ export declare const whatsappContract: {
14694
14798
  previewUrl: string;
14695
14799
  imageSetId: string;
14696
14800
  repliedMessage: {
14697
- 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";
14801
+ 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";
14698
14802
  message: string;
14699
14803
  id: string;
14700
14804
  url: string;
@@ -14748,6 +14852,7 @@ export declare const whatsappContract: {
14748
14852
  };
14749
14853
  upload: {
14750
14854
  id: string;
14855
+ status: string | null;
14751
14856
  createdAt: Date;
14752
14857
  updatedAt: Date;
14753
14858
  deletedAt: Date | null;
@@ -14756,7 +14861,6 @@ export declare const whatsappContract: {
14756
14861
  bucketName: string;
14757
14862
  fileSize: number;
14758
14863
  fileUrl: string | null;
14759
- status?: string | undefined;
14760
14864
  };
14761
14865
  assignee: {
14762
14866
  id: string;
@@ -14905,7 +15009,7 @@ export declare const whatsappContract: {
14905
15009
  template?: any;
14906
15010
  metadata?: any;
14907
15011
  fromMessage?: {
14908
- 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";
15012
+ 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";
14909
15013
  message: string;
14910
15014
  id: string;
14911
15015
  url: string;
@@ -14959,6 +15063,7 @@ export declare const whatsappContract: {
14959
15063
  };
14960
15064
  upload: {
14961
15065
  id: string;
15066
+ status: string | null;
14962
15067
  createdAt: Date;
14963
15068
  updatedAt: Date;
14964
15069
  deletedAt: Date | null;
@@ -14967,7 +15072,6 @@ export declare const whatsappContract: {
14967
15072
  bucketName: string;
14968
15073
  fileSize: number;
14969
15074
  fileUrl: string | null;
14970
- status?: string | undefined;
14971
15075
  };
14972
15076
  assignee: {
14973
15077
  id: string;
@@ -15028,15 +15132,18 @@ export declare const whatsappContract: {
15028
15132
  additionalCredentials?: any;
15029
15133
  senderId?: string | undefined;
15030
15134
  whatsapp?: {
15031
- email: string;
15032
- wabaExternalId: string;
15033
- phoneNumberId: string;
15034
- wabaBusinessId?: string | undefined;
15035
- clientId?: string | undefined;
15036
- channelId?: string | undefined;
15037
- status?: "active" | "pending" | undefined;
15135
+ wabaBusinessId?: string | null | undefined;
15136
+ wabaExternalId?: string | null | undefined;
15137
+ phoneNumberId?: string | null | undefined;
15138
+ email?: string | null | undefined;
15139
+ clientId?: string | null | undefined;
15140
+ channelId?: string | null | undefined;
15141
+ waapiInstanceId?: string | null | undefined;
15142
+ qr?: string | null | undefined;
15143
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15038
15144
  apiKey?: string | undefined;
15039
15145
  tier?: "basic" | "regular" | "premium" | undefined;
15146
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15040
15147
  } | undefined;
15041
15148
  vonageCredentials?: {
15042
15149
  apiKey: string;
@@ -15208,6 +15315,7 @@ export declare const whatsappContract: {
15208
15315
  dateValue: Date | null;
15209
15316
  uploads: {
15210
15317
  id: string;
15318
+ status: string | null;
15211
15319
  createdAt: Date;
15212
15320
  updatedAt: Date;
15213
15321
  deletedAt: Date | null;
@@ -15216,7 +15324,6 @@ export declare const whatsappContract: {
15216
15324
  bucketName: string;
15217
15325
  fileSize: number;
15218
15326
  fileUrl: string | null;
15219
- status?: string | undefined;
15220
15327
  }[];
15221
15328
  }[];
15222
15329
  company: {
@@ -15455,7 +15562,7 @@ export declare const whatsappContract: {
15455
15562
  previewUrl: string;
15456
15563
  imageSetId: string;
15457
15564
  repliedMessage: {
15458
- 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";
15565
+ 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";
15459
15566
  message: string;
15460
15567
  id: string;
15461
15568
  url: string;
@@ -15509,6 +15616,7 @@ export declare const whatsappContract: {
15509
15616
  };
15510
15617
  upload: {
15511
15618
  id: string;
15619
+ status: string | null;
15512
15620
  createdAt: Date;
15513
15621
  updatedAt: Date;
15514
15622
  deletedAt: Date | null;
@@ -15517,7 +15625,6 @@ export declare const whatsappContract: {
15517
15625
  bucketName: string;
15518
15626
  fileSize: number;
15519
15627
  fileUrl: string | null;
15520
- status?: string | undefined;
15521
15628
  };
15522
15629
  assignee: {
15523
15630
  id: string;
@@ -15669,7 +15776,7 @@ export declare const whatsappContract: {
15669
15776
  }>;
15670
15777
  }, "strip", z.ZodTypeAny, {
15671
15778
  data: {
15672
- 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";
15779
+ 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";
15673
15780
  message: string;
15674
15781
  id: string;
15675
15782
  url: string;
@@ -15723,6 +15830,7 @@ export declare const whatsappContract: {
15723
15830
  };
15724
15831
  upload: {
15725
15832
  id: string;
15833
+ status: string | null;
15726
15834
  createdAt: Date;
15727
15835
  updatedAt: Date;
15728
15836
  deletedAt: Date | null;
@@ -15731,7 +15839,6 @@ export declare const whatsappContract: {
15731
15839
  bucketName: string;
15732
15840
  fileSize: number;
15733
15841
  fileUrl: string | null;
15734
- status?: string | undefined;
15735
15842
  };
15736
15843
  assignee: {
15737
15844
  id: string;
@@ -15792,15 +15899,18 @@ export declare const whatsappContract: {
15792
15899
  additionalCredentials?: any;
15793
15900
  senderId?: string | undefined;
15794
15901
  whatsapp?: {
15795
- email: string;
15796
- wabaExternalId: string;
15797
- phoneNumberId: string;
15798
- wabaBusinessId?: string | undefined;
15799
- clientId?: string | undefined;
15800
- channelId?: string | undefined;
15801
- status?: "active" | "pending" | undefined;
15902
+ wabaBusinessId?: string | null | undefined;
15903
+ wabaExternalId?: string | null | undefined;
15904
+ phoneNumberId?: string | null | undefined;
15905
+ email?: string | null | undefined;
15906
+ clientId?: string | null | undefined;
15907
+ channelId?: string | null | undefined;
15908
+ waapiInstanceId?: string | null | undefined;
15909
+ qr?: string | null | undefined;
15910
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15802
15911
  apiKey?: string | undefined;
15803
15912
  tier?: "basic" | "regular" | "premium" | undefined;
15913
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15804
15914
  } | undefined;
15805
15915
  vonageCredentials?: {
15806
15916
  apiKey: string;
@@ -15972,6 +16082,7 @@ export declare const whatsappContract: {
15972
16082
  dateValue: Date | null;
15973
16083
  uploads: {
15974
16084
  id: string;
16085
+ status: string | null;
15975
16086
  createdAt: Date;
15976
16087
  updatedAt: Date;
15977
16088
  deletedAt: Date | null;
@@ -15980,7 +16091,6 @@ export declare const whatsappContract: {
15980
16091
  bucketName: string;
15981
16092
  fileSize: number;
15982
16093
  fileUrl: string | null;
15983
- status?: string | undefined;
15984
16094
  }[];
15985
16095
  }[];
15986
16096
  company: {
@@ -16219,7 +16329,7 @@ export declare const whatsappContract: {
16219
16329
  previewUrl: string;
16220
16330
  imageSetId: string;
16221
16331
  repliedMessage: {
16222
- 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";
16332
+ 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";
16223
16333
  message: string;
16224
16334
  id: string;
16225
16335
  url: string;
@@ -16273,6 +16383,7 @@ export declare const whatsappContract: {
16273
16383
  };
16274
16384
  upload: {
16275
16385
  id: string;
16386
+ status: string | null;
16276
16387
  createdAt: Date;
16277
16388
  updatedAt: Date;
16278
16389
  deletedAt: Date | null;
@@ -16281,7 +16392,6 @@ export declare const whatsappContract: {
16281
16392
  bucketName: string;
16282
16393
  fileSize: number;
16283
16394
  fileUrl: string | null;
16284
- status?: string | undefined;
16285
16395
  };
16286
16396
  assignee: {
16287
16397
  id: string;
@@ -16430,7 +16540,7 @@ export declare const whatsappContract: {
16430
16540
  template?: any;
16431
16541
  metadata?: any;
16432
16542
  fromMessage?: {
16433
- 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";
16543
+ 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";
16434
16544
  message: string;
16435
16545
  id: string;
16436
16546
  url: string;
@@ -16484,6 +16594,7 @@ export declare const whatsappContract: {
16484
16594
  };
16485
16595
  upload: {
16486
16596
  id: string;
16597
+ status: string | null;
16487
16598
  createdAt: Date;
16488
16599
  updatedAt: Date;
16489
16600
  deletedAt: Date | null;
@@ -16492,7 +16603,6 @@ export declare const whatsappContract: {
16492
16603
  bucketName: string;
16493
16604
  fileSize: number;
16494
16605
  fileUrl: string | null;
16495
- status?: string | undefined;
16496
16606
  };
16497
16607
  assignee: {
16498
16608
  id: string;
@@ -16553,15 +16663,18 @@ export declare const whatsappContract: {
16553
16663
  additionalCredentials?: any;
16554
16664
  senderId?: string | undefined;
16555
16665
  whatsapp?: {
16556
- email: string;
16557
- wabaExternalId: string;
16558
- phoneNumberId: string;
16559
- wabaBusinessId?: string | undefined;
16560
- clientId?: string | undefined;
16561
- channelId?: string | undefined;
16562
- status?: "active" | "pending" | undefined;
16666
+ wabaBusinessId?: string | null | undefined;
16667
+ wabaExternalId?: string | null | undefined;
16668
+ phoneNumberId?: string | null | undefined;
16669
+ email?: string | null | undefined;
16670
+ clientId?: string | null | undefined;
16671
+ channelId?: string | null | undefined;
16672
+ waapiInstanceId?: string | null | undefined;
16673
+ qr?: string | null | undefined;
16674
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16563
16675
  apiKey?: string | undefined;
16564
16676
  tier?: "basic" | "regular" | "premium" | undefined;
16677
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16565
16678
  } | undefined;
16566
16679
  vonageCredentials?: {
16567
16680
  apiKey: string;
@@ -16733,6 +16846,7 @@ export declare const whatsappContract: {
16733
16846
  dateValue: Date | null;
16734
16847
  uploads: {
16735
16848
  id: string;
16849
+ status: string | null;
16736
16850
  createdAt: Date;
16737
16851
  updatedAt: Date;
16738
16852
  deletedAt: Date | null;
@@ -16741,7 +16855,6 @@ export declare const whatsappContract: {
16741
16855
  bucketName: string;
16742
16856
  fileSize: number;
16743
16857
  fileUrl: string | null;
16744
- status?: string | undefined;
16745
16858
  }[];
16746
16859
  }[];
16747
16860
  company: {
@@ -16980,7 +17093,7 @@ export declare const whatsappContract: {
16980
17093
  previewUrl: string;
16981
17094
  imageSetId: string;
16982
17095
  repliedMessage: {
16983
- 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";
17096
+ 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";
16984
17097
  message: string;
16985
17098
  id: string;
16986
17099
  url: string;
@@ -17034,6 +17147,7 @@ export declare const whatsappContract: {
17034
17147
  };
17035
17148
  upload: {
17036
17149
  id: string;
17150
+ status: string | null;
17037
17151
  createdAt: Date;
17038
17152
  updatedAt: Date;
17039
17153
  deletedAt: Date | null;
@@ -17042,7 +17156,6 @@ export declare const whatsappContract: {
17042
17156
  bucketName: string;
17043
17157
  fileSize: number;
17044
17158
  fileUrl: string | null;
17045
- status?: string | undefined;
17046
17159
  };
17047
17160
  assignee: {
17048
17161
  id: string;
@@ -17195,7 +17308,7 @@ export declare const whatsappContract: {
17195
17308
  requestId: string;
17196
17309
  }, {
17197
17310
  data: {
17198
- 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";
17311
+ 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";
17199
17312
  message: string;
17200
17313
  id: string;
17201
17314
  url: string;
@@ -17249,6 +17362,7 @@ export declare const whatsappContract: {
17249
17362
  };
17250
17363
  upload: {
17251
17364
  id: string;
17365
+ status: string | null;
17252
17366
  createdAt: Date;
17253
17367
  updatedAt: Date;
17254
17368
  deletedAt: Date | null;
@@ -17257,7 +17371,6 @@ export declare const whatsappContract: {
17257
17371
  bucketName: string;
17258
17372
  fileSize: number;
17259
17373
  fileUrl: string | null;
17260
- status?: string | undefined;
17261
17374
  };
17262
17375
  assignee: {
17263
17376
  id: string;
@@ -17318,15 +17431,18 @@ export declare const whatsappContract: {
17318
17431
  additionalCredentials?: any;
17319
17432
  senderId?: string | undefined;
17320
17433
  whatsapp?: {
17321
- email: string;
17322
- wabaExternalId: string;
17323
- phoneNumberId: string;
17324
- wabaBusinessId?: string | undefined;
17325
- clientId?: string | undefined;
17326
- channelId?: string | undefined;
17327
- status?: "active" | "pending" | undefined;
17434
+ wabaBusinessId?: string | null | undefined;
17435
+ wabaExternalId?: string | null | undefined;
17436
+ phoneNumberId?: string | null | undefined;
17437
+ email?: string | null | undefined;
17438
+ clientId?: string | null | undefined;
17439
+ channelId?: string | null | undefined;
17440
+ waapiInstanceId?: string | null | undefined;
17441
+ qr?: string | null | undefined;
17442
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17328
17443
  apiKey?: string | undefined;
17329
17444
  tier?: "basic" | "regular" | "premium" | undefined;
17445
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17330
17446
  } | undefined;
17331
17447
  vonageCredentials?: {
17332
17448
  apiKey: string;
@@ -17498,6 +17614,7 @@ export declare const whatsappContract: {
17498
17614
  dateValue: Date | null;
17499
17615
  uploads: {
17500
17616
  id: string;
17617
+ status: string | null;
17501
17618
  createdAt: Date;
17502
17619
  updatedAt: Date;
17503
17620
  deletedAt: Date | null;
@@ -17506,7 +17623,6 @@ export declare const whatsappContract: {
17506
17623
  bucketName: string;
17507
17624
  fileSize: number;
17508
17625
  fileUrl: string | null;
17509
- status?: string | undefined;
17510
17626
  }[];
17511
17627
  }[];
17512
17628
  company: {
@@ -17745,7 +17861,7 @@ export declare const whatsappContract: {
17745
17861
  previewUrl: string;
17746
17862
  imageSetId: string;
17747
17863
  repliedMessage: {
17748
- 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";
17864
+ 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";
17749
17865
  message: string;
17750
17866
  id: string;
17751
17867
  url: string;
@@ -17799,6 +17915,7 @@ export declare const whatsappContract: {
17799
17915
  };
17800
17916
  upload: {
17801
17917
  id: string;
17918
+ status: string | null;
17802
17919
  createdAt: Date;
17803
17920
  updatedAt: Date;
17804
17921
  deletedAt: Date | null;
@@ -17807,7 +17924,6 @@ export declare const whatsappContract: {
17807
17924
  bucketName: string;
17808
17925
  fileSize: number;
17809
17926
  fileUrl: string | null;
17810
- status?: string | undefined;
17811
17927
  };
17812
17928
  assignee: {
17813
17929
  id: string;
@@ -17956,7 +18072,7 @@ export declare const whatsappContract: {
17956
18072
  template?: any;
17957
18073
  metadata?: any;
17958
18074
  fromMessage?: {
17959
- 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";
18075
+ 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";
17960
18076
  message: string;
17961
18077
  id: string;
17962
18078
  url: string;
@@ -18010,6 +18126,7 @@ export declare const whatsappContract: {
18010
18126
  };
18011
18127
  upload: {
18012
18128
  id: string;
18129
+ status: string | null;
18013
18130
  createdAt: Date;
18014
18131
  updatedAt: Date;
18015
18132
  deletedAt: Date | null;
@@ -18018,7 +18135,6 @@ export declare const whatsappContract: {
18018
18135
  bucketName: string;
18019
18136
  fileSize: number;
18020
18137
  fileUrl: string | null;
18021
- status?: string | undefined;
18022
18138
  };
18023
18139
  assignee: {
18024
18140
  id: string;
@@ -18079,15 +18195,18 @@ export declare const whatsappContract: {
18079
18195
  additionalCredentials?: any;
18080
18196
  senderId?: string | undefined;
18081
18197
  whatsapp?: {
18082
- email: string;
18083
- wabaExternalId: string;
18084
- phoneNumberId: string;
18085
- wabaBusinessId?: string | undefined;
18086
- clientId?: string | undefined;
18087
- channelId?: string | undefined;
18088
- status?: "active" | "pending" | undefined;
18198
+ wabaBusinessId?: string | null | undefined;
18199
+ wabaExternalId?: string | null | undefined;
18200
+ phoneNumberId?: string | null | undefined;
18201
+ email?: string | null | undefined;
18202
+ clientId?: string | null | undefined;
18203
+ channelId?: string | null | undefined;
18204
+ waapiInstanceId?: string | null | undefined;
18205
+ qr?: string | null | undefined;
18206
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18089
18207
  apiKey?: string | undefined;
18090
18208
  tier?: "basic" | "regular" | "premium" | undefined;
18209
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18091
18210
  } | undefined;
18092
18211
  vonageCredentials?: {
18093
18212
  apiKey: string;
@@ -18259,6 +18378,7 @@ export declare const whatsappContract: {
18259
18378
  dateValue: Date | null;
18260
18379
  uploads: {
18261
18380
  id: string;
18381
+ status: string | null;
18262
18382
  createdAt: Date;
18263
18383
  updatedAt: Date;
18264
18384
  deletedAt: Date | null;
@@ -18267,7 +18387,6 @@ export declare const whatsappContract: {
18267
18387
  bucketName: string;
18268
18388
  fileSize: number;
18269
18389
  fileUrl: string | null;
18270
- status?: string | undefined;
18271
18390
  }[];
18272
18391
  }[];
18273
18392
  company: {
@@ -18506,7 +18625,7 @@ export declare const whatsappContract: {
18506
18625
  previewUrl: string;
18507
18626
  imageSetId: string;
18508
18627
  repliedMessage: {
18509
- 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";
18628
+ 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";
18510
18629
  message: string;
18511
18630
  id: string;
18512
18631
  url: string;
@@ -18560,6 +18679,7 @@ export declare const whatsappContract: {
18560
18679
  };
18561
18680
  upload: {
18562
18681
  id: string;
18682
+ status: string | null;
18563
18683
  createdAt: Date;
18564
18684
  updatedAt: Date;
18565
18685
  deletedAt: Date | null;
@@ -18568,7 +18688,6 @@ export declare const whatsappContract: {
18568
18688
  bucketName: string;
18569
18689
  fileSize: number;
18570
18690
  fileUrl: string | null;
18571
- status?: string | undefined;
18572
18691
  };
18573
18692
  assignee: {
18574
18693
  id: string;
@@ -18756,35 +18875,44 @@ export declare const whatsappContract: {
18756
18875
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18757
18876
  senderId: z.ZodOptional<z.ZodString>;
18758
18877
  whatsapp: z.ZodOptional<z.ZodObject<{
18759
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18760
- wabaExternalId: z.ZodString;
18761
- phoneNumberId: z.ZodString;
18762
- email: z.ZodString;
18763
- clientId: z.ZodOptional<z.ZodString>;
18764
- channelId: z.ZodOptional<z.ZodString>;
18765
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18878
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18879
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18880
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18881
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18882
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18883
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18884
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18885
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18886
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18766
18887
  apiKey: z.ZodOptional<z.ZodString>;
18767
18888
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18889
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18768
18890
  }, "strip", z.ZodTypeAny, {
18769
- email: string;
18770
- wabaExternalId: string;
18771
- phoneNumberId: string;
18772
- wabaBusinessId?: string | undefined;
18773
- clientId?: string | undefined;
18774
- channelId?: string | undefined;
18775
- 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;
18776
18900
  apiKey?: string | undefined;
18777
18901
  tier?: "basic" | "regular" | "premium" | undefined;
18902
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18778
18903
  }, {
18779
- email: string;
18780
- wabaExternalId: string;
18781
- phoneNumberId: string;
18782
- wabaBusinessId?: string | undefined;
18783
- clientId?: string | undefined;
18784
- channelId?: string | undefined;
18785
- status?: "active" | "pending" | undefined;
18904
+ wabaBusinessId?: string | null | undefined;
18905
+ wabaExternalId?: string | null | undefined;
18906
+ phoneNumberId?: string | null | undefined;
18907
+ email?: string | null | undefined;
18908
+ clientId?: string | null | undefined;
18909
+ channelId?: string | null | undefined;
18910
+ waapiInstanceId?: string | null | undefined;
18911
+ qr?: string | null | undefined;
18912
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18786
18913
  apiKey?: string | undefined;
18787
18914
  tier?: "basic" | "regular" | "premium" | undefined;
18915
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18788
18916
  }>>;
18789
18917
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18790
18918
  mobileNumber: z.ZodString;
@@ -18810,15 +18938,18 @@ export declare const whatsappContract: {
18810
18938
  additionalCredentials?: any;
18811
18939
  senderId?: string | undefined;
18812
18940
  whatsapp?: {
18813
- email: string;
18814
- wabaExternalId: string;
18815
- phoneNumberId: string;
18816
- wabaBusinessId?: string | undefined;
18817
- clientId?: string | undefined;
18818
- channelId?: string | undefined;
18819
- status?: "active" | "pending" | undefined;
18941
+ wabaBusinessId?: string | null | undefined;
18942
+ wabaExternalId?: string | null | undefined;
18943
+ phoneNumberId?: string | null | undefined;
18944
+ email?: string | null | undefined;
18945
+ clientId?: string | null | undefined;
18946
+ channelId?: string | null | undefined;
18947
+ waapiInstanceId?: string | null | undefined;
18948
+ qr?: string | null | undefined;
18949
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18820
18950
  apiKey?: string | undefined;
18821
18951
  tier?: "basic" | "regular" | "premium" | undefined;
18952
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18822
18953
  } | undefined;
18823
18954
  vonageCredentials?: {
18824
18955
  apiKey: string;
@@ -18836,15 +18967,18 @@ export declare const whatsappContract: {
18836
18967
  additionalCredentials?: any;
18837
18968
  senderId?: string | undefined;
18838
18969
  whatsapp?: {
18839
- email: string;
18840
- wabaExternalId: string;
18841
- phoneNumberId: string;
18842
- wabaBusinessId?: string | undefined;
18843
- clientId?: string | undefined;
18844
- channelId?: string | undefined;
18845
- status?: "active" | "pending" | undefined;
18970
+ wabaBusinessId?: string | null | undefined;
18971
+ wabaExternalId?: string | null | undefined;
18972
+ phoneNumberId?: string | null | undefined;
18973
+ email?: string | null | undefined;
18974
+ clientId?: string | null | undefined;
18975
+ channelId?: string | null | undefined;
18976
+ waapiInstanceId?: string | null | undefined;
18977
+ qr?: string | null | undefined;
18978
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18846
18979
  apiKey?: string | undefined;
18847
18980
  tier?: "basic" | "regular" | "premium" | undefined;
18981
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18848
18982
  } | undefined;
18849
18983
  vonageCredentials?: {
18850
18984
  apiKey: string;
@@ -18892,15 +19026,18 @@ export declare const whatsappContract: {
18892
19026
  additionalCredentials?: any;
18893
19027
  senderId?: string | undefined;
18894
19028
  whatsapp?: {
18895
- email: string;
18896
- wabaExternalId: string;
18897
- phoneNumberId: string;
18898
- wabaBusinessId?: string | undefined;
18899
- clientId?: string | undefined;
18900
- channelId?: string | undefined;
18901
- status?: "active" | "pending" | undefined;
19029
+ wabaBusinessId?: string | null | undefined;
19030
+ wabaExternalId?: string | null | undefined;
19031
+ phoneNumberId?: string | null | undefined;
19032
+ email?: string | null | undefined;
19033
+ clientId?: string | null | undefined;
19034
+ channelId?: string | null | undefined;
19035
+ waapiInstanceId?: string | null | undefined;
19036
+ qr?: string | null | undefined;
19037
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18902
19038
  apiKey?: string | undefined;
18903
19039
  tier?: "basic" | "regular" | "premium" | undefined;
19040
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18904
19041
  } | undefined;
18905
19042
  vonageCredentials?: {
18906
19043
  apiKey: string;
@@ -18936,15 +19073,18 @@ export declare const whatsappContract: {
18936
19073
  additionalCredentials?: any;
18937
19074
  senderId?: string | undefined;
18938
19075
  whatsapp?: {
18939
- email: string;
18940
- wabaExternalId: string;
18941
- phoneNumberId: string;
18942
- wabaBusinessId?: string | undefined;
18943
- clientId?: string | undefined;
18944
- channelId?: string | undefined;
18945
- status?: "active" | "pending" | undefined;
19076
+ wabaBusinessId?: string | null | undefined;
19077
+ wabaExternalId?: string | null | undefined;
19078
+ phoneNumberId?: string | null | undefined;
19079
+ email?: string | null | undefined;
19080
+ clientId?: string | null | undefined;
19081
+ channelId?: string | null | undefined;
19082
+ waapiInstanceId?: string | null | undefined;
19083
+ qr?: string | null | undefined;
19084
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18946
19085
  apiKey?: string | undefined;
18947
19086
  tier?: "basic" | "regular" | "premium" | undefined;
19087
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18948
19088
  } | undefined;
18949
19089
  vonageCredentials?: {
18950
19090
  apiKey: string;
@@ -18985,35 +19125,44 @@ export declare const whatsappContract: {
18985
19125
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18986
19126
  senderId: z.ZodOptional<z.ZodString>;
18987
19127
  whatsapp: z.ZodOptional<z.ZodObject<{
18988
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18989
- wabaExternalId: z.ZodString;
18990
- phoneNumberId: z.ZodString;
18991
- email: z.ZodString;
18992
- clientId: z.ZodOptional<z.ZodString>;
18993
- channelId: z.ZodOptional<z.ZodString>;
18994
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19128
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19129
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19130
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19131
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19132
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19133
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19134
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19135
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19136
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18995
19137
  apiKey: z.ZodOptional<z.ZodString>;
18996
19138
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19139
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18997
19140
  }, "strip", z.ZodTypeAny, {
18998
- email: string;
18999
- wabaExternalId: string;
19000
- phoneNumberId: string;
19001
- wabaBusinessId?: string | undefined;
19002
- clientId?: string | undefined;
19003
- channelId?: string | undefined;
19004
- 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;
19005
19150
  apiKey?: string | undefined;
19006
19151
  tier?: "basic" | "regular" | "premium" | undefined;
19152
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19007
19153
  }, {
19008
- email: string;
19009
- wabaExternalId: string;
19010
- phoneNumberId: string;
19011
- wabaBusinessId?: string | undefined;
19012
- clientId?: string | undefined;
19013
- channelId?: string | undefined;
19014
- status?: "active" | "pending" | undefined;
19154
+ wabaBusinessId?: string | null | undefined;
19155
+ wabaExternalId?: string | null | undefined;
19156
+ phoneNumberId?: string | null | undefined;
19157
+ email?: string | null | undefined;
19158
+ clientId?: string | null | undefined;
19159
+ channelId?: string | null | undefined;
19160
+ waapiInstanceId?: string | null | undefined;
19161
+ qr?: string | null | undefined;
19162
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19015
19163
  apiKey?: string | undefined;
19016
19164
  tier?: "basic" | "regular" | "premium" | undefined;
19165
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19017
19166
  }>>;
19018
19167
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19019
19168
  mobileNumber: z.ZodString;
@@ -19039,15 +19188,18 @@ export declare const whatsappContract: {
19039
19188
  additionalCredentials?: any;
19040
19189
  senderId?: string | undefined;
19041
19190
  whatsapp?: {
19042
- email: string;
19043
- wabaExternalId: string;
19044
- phoneNumberId: string;
19045
- wabaBusinessId?: string | undefined;
19046
- clientId?: string | undefined;
19047
- channelId?: string | undefined;
19048
- status?: "active" | "pending" | undefined;
19191
+ wabaBusinessId?: string | null | undefined;
19192
+ wabaExternalId?: string | null | undefined;
19193
+ phoneNumberId?: string | null | undefined;
19194
+ email?: string | null | undefined;
19195
+ clientId?: string | null | undefined;
19196
+ channelId?: string | null | undefined;
19197
+ waapiInstanceId?: string | null | undefined;
19198
+ qr?: string | null | undefined;
19199
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19049
19200
  apiKey?: string | undefined;
19050
19201
  tier?: "basic" | "regular" | "premium" | undefined;
19202
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19051
19203
  } | undefined;
19052
19204
  vonageCredentials?: {
19053
19205
  apiKey: string;
@@ -19065,15 +19217,18 @@ export declare const whatsappContract: {
19065
19217
  additionalCredentials?: any;
19066
19218
  senderId?: string | undefined;
19067
19219
  whatsapp?: {
19068
- email: string;
19069
- wabaExternalId: string;
19070
- phoneNumberId: string;
19071
- wabaBusinessId?: string | undefined;
19072
- clientId?: string | undefined;
19073
- channelId?: string | undefined;
19074
- status?: "active" | "pending" | undefined;
19220
+ wabaBusinessId?: string | null | undefined;
19221
+ wabaExternalId?: string | null | undefined;
19222
+ phoneNumberId?: string | null | undefined;
19223
+ email?: string | null | undefined;
19224
+ clientId?: string | null | undefined;
19225
+ channelId?: string | null | undefined;
19226
+ waapiInstanceId?: string | null | undefined;
19227
+ qr?: string | null | undefined;
19228
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19075
19229
  apiKey?: string | undefined;
19076
19230
  tier?: "basic" | "regular" | "premium" | undefined;
19231
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19077
19232
  } | undefined;
19078
19233
  vonageCredentials?: {
19079
19234
  apiKey: string;
@@ -19121,15 +19276,18 @@ export declare const whatsappContract: {
19121
19276
  additionalCredentials?: any;
19122
19277
  senderId?: string | undefined;
19123
19278
  whatsapp?: {
19124
- email: string;
19125
- wabaExternalId: string;
19126
- phoneNumberId: string;
19127
- wabaBusinessId?: string | undefined;
19128
- clientId?: string | undefined;
19129
- channelId?: string | undefined;
19130
- status?: "active" | "pending" | undefined;
19279
+ wabaBusinessId?: string | null | undefined;
19280
+ wabaExternalId?: string | null | undefined;
19281
+ phoneNumberId?: string | null | undefined;
19282
+ email?: string | null | undefined;
19283
+ clientId?: string | null | undefined;
19284
+ channelId?: string | null | undefined;
19285
+ waapiInstanceId?: string | null | undefined;
19286
+ qr?: string | null | undefined;
19287
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19131
19288
  apiKey?: string | undefined;
19132
19289
  tier?: "basic" | "regular" | "premium" | undefined;
19290
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19133
19291
  } | undefined;
19134
19292
  vonageCredentials?: {
19135
19293
  apiKey: string;
@@ -19165,15 +19323,18 @@ export declare const whatsappContract: {
19165
19323
  additionalCredentials?: any;
19166
19324
  senderId?: string | undefined;
19167
19325
  whatsapp?: {
19168
- email: string;
19169
- wabaExternalId: string;
19170
- phoneNumberId: string;
19171
- wabaBusinessId?: string | undefined;
19172
- clientId?: string | undefined;
19173
- channelId?: string | undefined;
19174
- status?: "active" | "pending" | undefined;
19326
+ wabaBusinessId?: string | null | undefined;
19327
+ wabaExternalId?: string | null | undefined;
19328
+ phoneNumberId?: string | null | undefined;
19329
+ email?: string | null | undefined;
19330
+ clientId?: string | null | undefined;
19331
+ channelId?: string | null | undefined;
19332
+ waapiInstanceId?: string | null | undefined;
19333
+ qr?: string | null | undefined;
19334
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19175
19335
  apiKey?: string | undefined;
19176
19336
  tier?: "basic" | "regular" | "premium" | undefined;
19337
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19177
19338
  } | undefined;
19178
19339
  vonageCredentials?: {
19179
19340
  apiKey: string;
@@ -19211,15 +19372,18 @@ export declare const whatsappContract: {
19211
19372
  additionalCredentials?: any;
19212
19373
  senderId?: string | undefined;
19213
19374
  whatsapp?: {
19214
- email: string;
19215
- wabaExternalId: string;
19216
- phoneNumberId: string;
19217
- wabaBusinessId?: string | undefined;
19218
- clientId?: string | undefined;
19219
- channelId?: string | undefined;
19220
- status?: "active" | "pending" | undefined;
19375
+ wabaBusinessId?: string | null | undefined;
19376
+ wabaExternalId?: string | null | undefined;
19377
+ phoneNumberId?: string | null | undefined;
19378
+ email?: string | null | undefined;
19379
+ clientId?: string | null | undefined;
19380
+ channelId?: string | null | undefined;
19381
+ waapiInstanceId?: string | null | undefined;
19382
+ qr?: string | null | undefined;
19383
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19221
19384
  apiKey?: string | undefined;
19222
19385
  tier?: "basic" | "regular" | "premium" | undefined;
19386
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19223
19387
  } | undefined;
19224
19388
  vonageCredentials?: {
19225
19389
  apiKey: string;
@@ -19258,15 +19422,18 @@ export declare const whatsappContract: {
19258
19422
  additionalCredentials?: any;
19259
19423
  senderId?: string | undefined;
19260
19424
  whatsapp?: {
19261
- email: string;
19262
- wabaExternalId: string;
19263
- phoneNumberId: string;
19264
- wabaBusinessId?: string | undefined;
19265
- clientId?: string | undefined;
19266
- channelId?: string | undefined;
19267
- status?: "active" | "pending" | undefined;
19425
+ wabaBusinessId?: string | null | undefined;
19426
+ wabaExternalId?: string | null | undefined;
19427
+ phoneNumberId?: string | null | undefined;
19428
+ email?: string | null | undefined;
19429
+ clientId?: string | null | undefined;
19430
+ channelId?: string | null | undefined;
19431
+ waapiInstanceId?: string | null | undefined;
19432
+ qr?: string | null | undefined;
19433
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19268
19434
  apiKey?: string | undefined;
19269
19435
  tier?: "basic" | "regular" | "premium" | undefined;
19436
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19270
19437
  } | undefined;
19271
19438
  vonageCredentials?: {
19272
19439
  apiKey: string;
@@ -19329,35 +19496,44 @@ export declare const whatsappContract: {
19329
19496
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19330
19497
  senderId: z.ZodOptional<z.ZodString>;
19331
19498
  whatsapp: z.ZodOptional<z.ZodObject<{
19332
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19333
- wabaExternalId: z.ZodString;
19334
- phoneNumberId: z.ZodString;
19335
- email: z.ZodString;
19336
- clientId: z.ZodOptional<z.ZodString>;
19337
- channelId: z.ZodOptional<z.ZodString>;
19338
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19499
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19500
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19501
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19502
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19503
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19504
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19505
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19506
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19507
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19339
19508
  apiKey: z.ZodOptional<z.ZodString>;
19340
19509
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19510
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19341
19511
  }, "strip", z.ZodTypeAny, {
19342
- email: string;
19343
- wabaExternalId: string;
19344
- phoneNumberId: string;
19345
- wabaBusinessId?: string | undefined;
19346
- clientId?: string | undefined;
19347
- channelId?: string | undefined;
19348
- 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;
19349
19521
  apiKey?: string | undefined;
19350
19522
  tier?: "basic" | "regular" | "premium" | undefined;
19523
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19351
19524
  }, {
19352
- email: string;
19353
- wabaExternalId: string;
19354
- phoneNumberId: string;
19355
- wabaBusinessId?: string | undefined;
19356
- clientId?: string | undefined;
19357
- channelId?: string | undefined;
19358
- status?: "active" | "pending" | undefined;
19525
+ wabaBusinessId?: string | null | undefined;
19526
+ wabaExternalId?: string | null | undefined;
19527
+ phoneNumberId?: string | null | undefined;
19528
+ email?: string | null | undefined;
19529
+ clientId?: string | null | undefined;
19530
+ channelId?: string | null | undefined;
19531
+ waapiInstanceId?: string | null | undefined;
19532
+ qr?: string | null | undefined;
19533
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19359
19534
  apiKey?: string | undefined;
19360
19535
  tier?: "basic" | "regular" | "premium" | undefined;
19536
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19361
19537
  }>>;
19362
19538
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19363
19539
  mobileNumber: z.ZodString;
@@ -19383,15 +19559,18 @@ export declare const whatsappContract: {
19383
19559
  additionalCredentials?: any;
19384
19560
  senderId?: string | undefined;
19385
19561
  whatsapp?: {
19386
- email: string;
19387
- wabaExternalId: string;
19388
- phoneNumberId: string;
19389
- wabaBusinessId?: string | undefined;
19390
- clientId?: string | undefined;
19391
- channelId?: string | undefined;
19392
- status?: "active" | "pending" | undefined;
19562
+ wabaBusinessId?: string | null | undefined;
19563
+ wabaExternalId?: string | null | undefined;
19564
+ phoneNumberId?: string | null | undefined;
19565
+ email?: string | null | undefined;
19566
+ clientId?: string | null | undefined;
19567
+ channelId?: string | null | undefined;
19568
+ waapiInstanceId?: string | null | undefined;
19569
+ qr?: string | null | undefined;
19570
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19393
19571
  apiKey?: string | undefined;
19394
19572
  tier?: "basic" | "regular" | "premium" | undefined;
19573
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19395
19574
  } | undefined;
19396
19575
  vonageCredentials?: {
19397
19576
  apiKey: string;
@@ -19409,15 +19588,18 @@ export declare const whatsappContract: {
19409
19588
  additionalCredentials?: any;
19410
19589
  senderId?: string | undefined;
19411
19590
  whatsapp?: {
19412
- email: string;
19413
- wabaExternalId: string;
19414
- phoneNumberId: string;
19415
- wabaBusinessId?: string | undefined;
19416
- clientId?: string | undefined;
19417
- channelId?: string | undefined;
19418
- status?: "active" | "pending" | undefined;
19591
+ wabaBusinessId?: string | null | undefined;
19592
+ wabaExternalId?: string | null | undefined;
19593
+ phoneNumberId?: string | null | undefined;
19594
+ email?: string | null | undefined;
19595
+ clientId?: string | null | undefined;
19596
+ channelId?: string | null | undefined;
19597
+ waapiInstanceId?: string | null | undefined;
19598
+ qr?: string | null | undefined;
19599
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19419
19600
  apiKey?: string | undefined;
19420
19601
  tier?: "basic" | "regular" | "premium" | undefined;
19602
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19421
19603
  } | undefined;
19422
19604
  vonageCredentials?: {
19423
19605
  apiKey: string;
@@ -19465,15 +19647,18 @@ export declare const whatsappContract: {
19465
19647
  additionalCredentials?: any;
19466
19648
  senderId?: string | undefined;
19467
19649
  whatsapp?: {
19468
- email: string;
19469
- wabaExternalId: string;
19470
- phoneNumberId: string;
19471
- wabaBusinessId?: string | undefined;
19472
- clientId?: string | undefined;
19473
- channelId?: string | undefined;
19474
- status?: "active" | "pending" | undefined;
19650
+ wabaBusinessId?: string | null | undefined;
19651
+ wabaExternalId?: string | null | undefined;
19652
+ phoneNumberId?: string | null | undefined;
19653
+ email?: string | null | undefined;
19654
+ clientId?: string | null | undefined;
19655
+ channelId?: string | null | undefined;
19656
+ waapiInstanceId?: string | null | undefined;
19657
+ qr?: string | null | undefined;
19658
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19475
19659
  apiKey?: string | undefined;
19476
19660
  tier?: "basic" | "regular" | "premium" | undefined;
19661
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19477
19662
  } | undefined;
19478
19663
  vonageCredentials?: {
19479
19664
  apiKey: string;
@@ -19509,15 +19694,18 @@ export declare const whatsappContract: {
19509
19694
  additionalCredentials?: any;
19510
19695
  senderId?: string | undefined;
19511
19696
  whatsapp?: {
19512
- email: string;
19513
- wabaExternalId: string;
19514
- phoneNumberId: string;
19515
- wabaBusinessId?: string | undefined;
19516
- clientId?: string | undefined;
19517
- channelId?: string | undefined;
19518
- status?: "active" | "pending" | undefined;
19697
+ wabaBusinessId?: string | null | undefined;
19698
+ wabaExternalId?: string | null | undefined;
19699
+ phoneNumberId?: string | null | undefined;
19700
+ email?: string | null | undefined;
19701
+ clientId?: string | null | undefined;
19702
+ channelId?: string | null | undefined;
19703
+ waapiInstanceId?: string | null | undefined;
19704
+ qr?: string | null | undefined;
19705
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19519
19706
  apiKey?: string | undefined;
19520
19707
  tier?: "basic" | "regular" | "premium" | undefined;
19708
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19521
19709
  } | undefined;
19522
19710
  vonageCredentials?: {
19523
19711
  apiKey: string;
@@ -19558,35 +19746,44 @@ export declare const whatsappContract: {
19558
19746
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19559
19747
  senderId: z.ZodOptional<z.ZodString>;
19560
19748
  whatsapp: z.ZodOptional<z.ZodObject<{
19561
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19562
- wabaExternalId: z.ZodString;
19563
- phoneNumberId: z.ZodString;
19564
- email: z.ZodString;
19565
- clientId: z.ZodOptional<z.ZodString>;
19566
- channelId: z.ZodOptional<z.ZodString>;
19567
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19749
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19750
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19751
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19752
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19753
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19754
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19755
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19756
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19757
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19568
19758
  apiKey: z.ZodOptional<z.ZodString>;
19569
19759
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19760
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19570
19761
  }, "strip", z.ZodTypeAny, {
19571
- email: string;
19572
- wabaExternalId: string;
19573
- phoneNumberId: string;
19574
- wabaBusinessId?: string | undefined;
19575
- clientId?: string | undefined;
19576
- channelId?: string | undefined;
19577
- 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;
19578
19771
  apiKey?: string | undefined;
19579
19772
  tier?: "basic" | "regular" | "premium" | undefined;
19773
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19580
19774
  }, {
19581
- email: string;
19582
- wabaExternalId: string;
19583
- phoneNumberId: string;
19584
- wabaBusinessId?: string | undefined;
19585
- clientId?: string | undefined;
19586
- channelId?: string | undefined;
19587
- status?: "active" | "pending" | undefined;
19775
+ wabaBusinessId?: string | null | undefined;
19776
+ wabaExternalId?: string | null | undefined;
19777
+ phoneNumberId?: string | null | undefined;
19778
+ email?: string | null | undefined;
19779
+ clientId?: string | null | undefined;
19780
+ channelId?: string | null | undefined;
19781
+ waapiInstanceId?: string | null | undefined;
19782
+ qr?: string | null | undefined;
19783
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19588
19784
  apiKey?: string | undefined;
19589
19785
  tier?: "basic" | "regular" | "premium" | undefined;
19786
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19590
19787
  }>>;
19591
19788
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19592
19789
  mobileNumber: z.ZodString;
@@ -19612,15 +19809,18 @@ export declare const whatsappContract: {
19612
19809
  additionalCredentials?: any;
19613
19810
  senderId?: string | undefined;
19614
19811
  whatsapp?: {
19615
- email: string;
19616
- wabaExternalId: string;
19617
- phoneNumberId: string;
19618
- wabaBusinessId?: string | undefined;
19619
- clientId?: string | undefined;
19620
- channelId?: string | undefined;
19621
- status?: "active" | "pending" | undefined;
19812
+ wabaBusinessId?: string | null | undefined;
19813
+ wabaExternalId?: string | null | undefined;
19814
+ phoneNumberId?: string | null | undefined;
19815
+ email?: string | null | undefined;
19816
+ clientId?: string | null | undefined;
19817
+ channelId?: string | null | undefined;
19818
+ waapiInstanceId?: string | null | undefined;
19819
+ qr?: string | null | undefined;
19820
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19622
19821
  apiKey?: string | undefined;
19623
19822
  tier?: "basic" | "regular" | "premium" | undefined;
19823
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19624
19824
  } | undefined;
19625
19825
  vonageCredentials?: {
19626
19826
  apiKey: string;
@@ -19638,15 +19838,18 @@ export declare const whatsappContract: {
19638
19838
  additionalCredentials?: any;
19639
19839
  senderId?: string | undefined;
19640
19840
  whatsapp?: {
19641
- email: string;
19642
- wabaExternalId: string;
19643
- phoneNumberId: string;
19644
- wabaBusinessId?: string | undefined;
19645
- clientId?: string | undefined;
19646
- channelId?: string | undefined;
19647
- status?: "active" | "pending" | undefined;
19841
+ wabaBusinessId?: string | null | undefined;
19842
+ wabaExternalId?: string | null | undefined;
19843
+ phoneNumberId?: string | null | undefined;
19844
+ email?: string | null | undefined;
19845
+ clientId?: string | null | undefined;
19846
+ channelId?: string | null | undefined;
19847
+ waapiInstanceId?: string | null | undefined;
19848
+ qr?: string | null | undefined;
19849
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19648
19850
  apiKey?: string | undefined;
19649
19851
  tier?: "basic" | "regular" | "premium" | undefined;
19852
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19650
19853
  } | undefined;
19651
19854
  vonageCredentials?: {
19652
19855
  apiKey: string;
@@ -19694,15 +19897,18 @@ export declare const whatsappContract: {
19694
19897
  additionalCredentials?: any;
19695
19898
  senderId?: string | undefined;
19696
19899
  whatsapp?: {
19697
- email: string;
19698
- wabaExternalId: string;
19699
- phoneNumberId: string;
19700
- wabaBusinessId?: string | undefined;
19701
- clientId?: string | undefined;
19702
- channelId?: string | undefined;
19703
- status?: "active" | "pending" | undefined;
19900
+ wabaBusinessId?: string | null | undefined;
19901
+ wabaExternalId?: string | null | undefined;
19902
+ phoneNumberId?: string | null | undefined;
19903
+ email?: string | null | undefined;
19904
+ clientId?: string | null | undefined;
19905
+ channelId?: string | null | undefined;
19906
+ waapiInstanceId?: string | null | undefined;
19907
+ qr?: string | null | undefined;
19908
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19704
19909
  apiKey?: string | undefined;
19705
19910
  tier?: "basic" | "regular" | "premium" | undefined;
19911
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19706
19912
  } | undefined;
19707
19913
  vonageCredentials?: {
19708
19914
  apiKey: string;
@@ -19738,15 +19944,18 @@ export declare const whatsappContract: {
19738
19944
  additionalCredentials?: any;
19739
19945
  senderId?: string | undefined;
19740
19946
  whatsapp?: {
19741
- email: string;
19742
- wabaExternalId: string;
19743
- phoneNumberId: string;
19744
- wabaBusinessId?: string | undefined;
19745
- clientId?: string | undefined;
19746
- channelId?: string | undefined;
19747
- status?: "active" | "pending" | undefined;
19947
+ wabaBusinessId?: string | null | undefined;
19948
+ wabaExternalId?: string | null | undefined;
19949
+ phoneNumberId?: string | null | undefined;
19950
+ email?: string | null | undefined;
19951
+ clientId?: string | null | undefined;
19952
+ channelId?: string | null | undefined;
19953
+ waapiInstanceId?: string | null | undefined;
19954
+ qr?: string | null | undefined;
19955
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19748
19956
  apiKey?: string | undefined;
19749
19957
  tier?: "basic" | "regular" | "premium" | undefined;
19958
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19750
19959
  } | undefined;
19751
19960
  vonageCredentials?: {
19752
19961
  apiKey: string;
@@ -19784,15 +19993,18 @@ export declare const whatsappContract: {
19784
19993
  additionalCredentials?: any;
19785
19994
  senderId?: string | undefined;
19786
19995
  whatsapp?: {
19787
- email: string;
19788
- wabaExternalId: string;
19789
- phoneNumberId: string;
19790
- wabaBusinessId?: string | undefined;
19791
- clientId?: string | undefined;
19792
- channelId?: string | undefined;
19793
- status?: "active" | "pending" | undefined;
19996
+ wabaBusinessId?: string | null | undefined;
19997
+ wabaExternalId?: string | null | undefined;
19998
+ phoneNumberId?: string | null | undefined;
19999
+ email?: string | null | undefined;
20000
+ clientId?: string | null | undefined;
20001
+ channelId?: string | null | undefined;
20002
+ waapiInstanceId?: string | null | undefined;
20003
+ qr?: string | null | undefined;
20004
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19794
20005
  apiKey?: string | undefined;
19795
20006
  tier?: "basic" | "regular" | "premium" | undefined;
20007
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19796
20008
  } | undefined;
19797
20009
  vonageCredentials?: {
19798
20010
  apiKey: string;
@@ -19831,15 +20043,18 @@ export declare const whatsappContract: {
19831
20043
  additionalCredentials?: any;
19832
20044
  senderId?: string | undefined;
19833
20045
  whatsapp?: {
19834
- email: string;
19835
- wabaExternalId: string;
19836
- phoneNumberId: string;
19837
- wabaBusinessId?: string | undefined;
19838
- clientId?: string | undefined;
19839
- channelId?: string | undefined;
19840
- status?: "active" | "pending" | undefined;
20046
+ wabaBusinessId?: string | null | undefined;
20047
+ wabaExternalId?: string | null | undefined;
20048
+ phoneNumberId?: string | null | undefined;
20049
+ email?: string | null | undefined;
20050
+ clientId?: string | null | undefined;
20051
+ channelId?: string | null | undefined;
20052
+ waapiInstanceId?: string | null | undefined;
20053
+ qr?: string | null | undefined;
20054
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19841
20055
  apiKey?: string | undefined;
19842
20056
  tier?: "basic" | "regular" | "premium" | undefined;
20057
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19843
20058
  } | undefined;
19844
20059
  vonageCredentials?: {
19845
20060
  apiKey: string;
@@ -19914,35 +20129,44 @@ export declare const whatsappContract: {
19914
20129
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19915
20130
  senderId: z.ZodOptional<z.ZodString>;
19916
20131
  whatsapp: z.ZodOptional<z.ZodObject<{
19917
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19918
- wabaExternalId: z.ZodString;
19919
- phoneNumberId: z.ZodString;
19920
- email: z.ZodString;
19921
- clientId: z.ZodOptional<z.ZodString>;
19922
- channelId: z.ZodOptional<z.ZodString>;
19923
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20132
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20133
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20134
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20135
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20136
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20137
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20138
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20139
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20140
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19924
20141
  apiKey: z.ZodOptional<z.ZodString>;
19925
20142
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20143
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19926
20144
  }, "strip", z.ZodTypeAny, {
19927
- email: string;
19928
- wabaExternalId: string;
19929
- phoneNumberId: string;
19930
- wabaBusinessId?: string | undefined;
19931
- clientId?: string | undefined;
19932
- channelId?: string | undefined;
19933
- 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;
19934
20154
  apiKey?: string | undefined;
19935
20155
  tier?: "basic" | "regular" | "premium" | undefined;
20156
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19936
20157
  }, {
19937
- email: string;
19938
- wabaExternalId: string;
19939
- phoneNumberId: string;
19940
- wabaBusinessId?: string | undefined;
19941
- clientId?: string | undefined;
19942
- channelId?: string | undefined;
19943
- status?: "active" | "pending" | undefined;
20158
+ wabaBusinessId?: string | null | undefined;
20159
+ wabaExternalId?: string | null | undefined;
20160
+ phoneNumberId?: string | null | undefined;
20161
+ email?: string | null | undefined;
20162
+ clientId?: string | null | undefined;
20163
+ channelId?: string | null | undefined;
20164
+ waapiInstanceId?: string | null | undefined;
20165
+ qr?: string | null | undefined;
20166
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19944
20167
  apiKey?: string | undefined;
19945
20168
  tier?: "basic" | "regular" | "premium" | undefined;
20169
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19946
20170
  }>>;
19947
20171
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19948
20172
  mobileNumber: z.ZodString;
@@ -19968,15 +20192,18 @@ export declare const whatsappContract: {
19968
20192
  additionalCredentials?: any;
19969
20193
  senderId?: string | undefined;
19970
20194
  whatsapp?: {
19971
- email: string;
19972
- wabaExternalId: string;
19973
- phoneNumberId: string;
19974
- wabaBusinessId?: string | undefined;
19975
- clientId?: string | undefined;
19976
- channelId?: string | undefined;
19977
- status?: "active" | "pending" | undefined;
20195
+ wabaBusinessId?: string | null | undefined;
20196
+ wabaExternalId?: string | null | undefined;
20197
+ phoneNumberId?: string | null | undefined;
20198
+ email?: string | null | undefined;
20199
+ clientId?: string | null | undefined;
20200
+ channelId?: string | null | undefined;
20201
+ waapiInstanceId?: string | null | undefined;
20202
+ qr?: string | null | undefined;
20203
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19978
20204
  apiKey?: string | undefined;
19979
20205
  tier?: "basic" | "regular" | "premium" | undefined;
20206
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19980
20207
  } | undefined;
19981
20208
  vonageCredentials?: {
19982
20209
  apiKey: string;
@@ -19994,15 +20221,18 @@ export declare const whatsappContract: {
19994
20221
  additionalCredentials?: any;
19995
20222
  senderId?: string | undefined;
19996
20223
  whatsapp?: {
19997
- email: string;
19998
- wabaExternalId: string;
19999
- phoneNumberId: string;
20000
- wabaBusinessId?: string | undefined;
20001
- clientId?: string | undefined;
20002
- channelId?: string | undefined;
20003
- status?: "active" | "pending" | undefined;
20224
+ wabaBusinessId?: string | null | undefined;
20225
+ wabaExternalId?: string | null | undefined;
20226
+ phoneNumberId?: string | null | undefined;
20227
+ email?: string | null | undefined;
20228
+ clientId?: string | null | undefined;
20229
+ channelId?: string | null | undefined;
20230
+ waapiInstanceId?: string | null | undefined;
20231
+ qr?: string | null | undefined;
20232
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20004
20233
  apiKey?: string | undefined;
20005
20234
  tier?: "basic" | "regular" | "premium" | undefined;
20235
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20006
20236
  } | undefined;
20007
20237
  vonageCredentials?: {
20008
20238
  apiKey: string;
@@ -20050,15 +20280,18 @@ export declare const whatsappContract: {
20050
20280
  additionalCredentials?: any;
20051
20281
  senderId?: string | undefined;
20052
20282
  whatsapp?: {
20053
- email: string;
20054
- wabaExternalId: string;
20055
- phoneNumberId: string;
20056
- wabaBusinessId?: string | undefined;
20057
- clientId?: string | undefined;
20058
- channelId?: string | undefined;
20059
- status?: "active" | "pending" | undefined;
20283
+ wabaBusinessId?: string | null | undefined;
20284
+ wabaExternalId?: string | null | undefined;
20285
+ phoneNumberId?: string | null | undefined;
20286
+ email?: string | null | undefined;
20287
+ clientId?: string | null | undefined;
20288
+ channelId?: string | null | undefined;
20289
+ waapiInstanceId?: string | null | undefined;
20290
+ qr?: string | null | undefined;
20291
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20060
20292
  apiKey?: string | undefined;
20061
20293
  tier?: "basic" | "regular" | "premium" | undefined;
20294
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20062
20295
  } | undefined;
20063
20296
  vonageCredentials?: {
20064
20297
  apiKey: string;
@@ -20094,15 +20327,18 @@ export declare const whatsappContract: {
20094
20327
  additionalCredentials?: any;
20095
20328
  senderId?: string | undefined;
20096
20329
  whatsapp?: {
20097
- email: string;
20098
- wabaExternalId: string;
20099
- phoneNumberId: string;
20100
- wabaBusinessId?: string | undefined;
20101
- clientId?: string | undefined;
20102
- channelId?: string | undefined;
20103
- status?: "active" | "pending" | undefined;
20330
+ wabaBusinessId?: string | null | undefined;
20331
+ wabaExternalId?: string | null | undefined;
20332
+ phoneNumberId?: string | null | undefined;
20333
+ email?: string | null | undefined;
20334
+ clientId?: string | null | undefined;
20335
+ channelId?: string | null | undefined;
20336
+ waapiInstanceId?: string | null | undefined;
20337
+ qr?: string | null | undefined;
20338
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20104
20339
  apiKey?: string | undefined;
20105
20340
  tier?: "basic" | "regular" | "premium" | undefined;
20341
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20106
20342
  } | undefined;
20107
20343
  vonageCredentials?: {
20108
20344
  apiKey: string;
@@ -20140,15 +20376,18 @@ export declare const whatsappContract: {
20140
20376
  additionalCredentials?: any;
20141
20377
  senderId?: string | undefined;
20142
20378
  whatsapp?: {
20143
- email: string;
20144
- wabaExternalId: string;
20145
- phoneNumberId: string;
20146
- wabaBusinessId?: string | undefined;
20147
- clientId?: string | undefined;
20148
- channelId?: string | undefined;
20149
- status?: "active" | "pending" | undefined;
20379
+ wabaBusinessId?: string | null | undefined;
20380
+ wabaExternalId?: string | null | undefined;
20381
+ phoneNumberId?: string | null | undefined;
20382
+ email?: string | null | undefined;
20383
+ clientId?: string | null | undefined;
20384
+ channelId?: string | null | undefined;
20385
+ waapiInstanceId?: string | null | undefined;
20386
+ qr?: string | null | undefined;
20387
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20150
20388
  apiKey?: string | undefined;
20151
20389
  tier?: "basic" | "regular" | "premium" | undefined;
20390
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20152
20391
  } | undefined;
20153
20392
  vonageCredentials?: {
20154
20393
  apiKey: string;
@@ -20187,15 +20426,18 @@ export declare const whatsappContract: {
20187
20426
  additionalCredentials?: any;
20188
20427
  senderId?: string | undefined;
20189
20428
  whatsapp?: {
20190
- email: string;
20191
- wabaExternalId: string;
20192
- phoneNumberId: string;
20193
- wabaBusinessId?: string | undefined;
20194
- clientId?: string | undefined;
20195
- channelId?: string | undefined;
20196
- status?: "active" | "pending" | undefined;
20429
+ wabaBusinessId?: string | null | undefined;
20430
+ wabaExternalId?: string | null | undefined;
20431
+ phoneNumberId?: string | null | undefined;
20432
+ email?: string | null | undefined;
20433
+ clientId?: string | null | undefined;
20434
+ channelId?: string | null | undefined;
20435
+ waapiInstanceId?: string | null | undefined;
20436
+ qr?: string | null | undefined;
20437
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20197
20438
  apiKey?: string | undefined;
20198
20439
  tier?: "basic" | "regular" | "premium" | undefined;
20440
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20199
20441
  } | undefined;
20200
20442
  vonageCredentials?: {
20201
20443
  apiKey: string;
@@ -20270,35 +20512,44 @@ export declare const whatsappContract: {
20270
20512
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20271
20513
  senderId: z.ZodOptional<z.ZodString>;
20272
20514
  whatsapp: z.ZodOptional<z.ZodObject<{
20273
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20274
- wabaExternalId: z.ZodString;
20275
- phoneNumberId: z.ZodString;
20276
- email: z.ZodString;
20277
- clientId: z.ZodOptional<z.ZodString>;
20278
- channelId: z.ZodOptional<z.ZodString>;
20279
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20515
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20516
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20517
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20518
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20519
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20520
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20521
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20522
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20523
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20280
20524
  apiKey: z.ZodOptional<z.ZodString>;
20281
20525
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20526
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20282
20527
  }, "strip", z.ZodTypeAny, {
20283
- email: string;
20284
- wabaExternalId: string;
20285
- phoneNumberId: string;
20286
- wabaBusinessId?: string | undefined;
20287
- clientId?: string | undefined;
20288
- channelId?: string | undefined;
20289
- 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;
20290
20537
  apiKey?: string | undefined;
20291
20538
  tier?: "basic" | "regular" | "premium" | undefined;
20539
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20292
20540
  }, {
20293
- email: string;
20294
- wabaExternalId: string;
20295
- phoneNumberId: string;
20296
- wabaBusinessId?: string | undefined;
20297
- clientId?: string | undefined;
20298
- channelId?: string | undefined;
20299
- status?: "active" | "pending" | undefined;
20541
+ wabaBusinessId?: string | null | undefined;
20542
+ wabaExternalId?: string | null | undefined;
20543
+ phoneNumberId?: string | null | undefined;
20544
+ email?: string | null | undefined;
20545
+ clientId?: string | null | undefined;
20546
+ channelId?: string | null | undefined;
20547
+ waapiInstanceId?: string | null | undefined;
20548
+ qr?: string | null | undefined;
20549
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20300
20550
  apiKey?: string | undefined;
20301
20551
  tier?: "basic" | "regular" | "premium" | undefined;
20552
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20302
20553
  }>>;
20303
20554
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20304
20555
  mobileNumber: z.ZodString;
@@ -20324,15 +20575,18 @@ export declare const whatsappContract: {
20324
20575
  additionalCredentials?: any;
20325
20576
  senderId?: string | undefined;
20326
20577
  whatsapp?: {
20327
- email: string;
20328
- wabaExternalId: string;
20329
- phoneNumberId: string;
20330
- wabaBusinessId?: string | undefined;
20331
- clientId?: string | undefined;
20332
- channelId?: string | undefined;
20333
- status?: "active" | "pending" | undefined;
20578
+ wabaBusinessId?: string | null | undefined;
20579
+ wabaExternalId?: string | null | undefined;
20580
+ phoneNumberId?: string | null | undefined;
20581
+ email?: string | null | undefined;
20582
+ clientId?: string | null | undefined;
20583
+ channelId?: string | null | undefined;
20584
+ waapiInstanceId?: string | null | undefined;
20585
+ qr?: string | null | undefined;
20586
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20334
20587
  apiKey?: string | undefined;
20335
20588
  tier?: "basic" | "regular" | "premium" | undefined;
20589
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20336
20590
  } | undefined;
20337
20591
  vonageCredentials?: {
20338
20592
  apiKey: string;
@@ -20350,15 +20604,18 @@ export declare const whatsappContract: {
20350
20604
  additionalCredentials?: any;
20351
20605
  senderId?: string | undefined;
20352
20606
  whatsapp?: {
20353
- email: string;
20354
- wabaExternalId: string;
20355
- phoneNumberId: string;
20356
- wabaBusinessId?: string | undefined;
20357
- clientId?: string | undefined;
20358
- channelId?: string | undefined;
20359
- status?: "active" | "pending" | undefined;
20607
+ wabaBusinessId?: string | null | undefined;
20608
+ wabaExternalId?: string | null | undefined;
20609
+ phoneNumberId?: string | null | undefined;
20610
+ email?: string | null | undefined;
20611
+ clientId?: string | null | undefined;
20612
+ channelId?: string | null | undefined;
20613
+ waapiInstanceId?: string | null | undefined;
20614
+ qr?: string | null | undefined;
20615
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20360
20616
  apiKey?: string | undefined;
20361
20617
  tier?: "basic" | "regular" | "premium" | undefined;
20618
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20362
20619
  } | undefined;
20363
20620
  vonageCredentials?: {
20364
20621
  apiKey: string;
@@ -20406,15 +20663,18 @@ export declare const whatsappContract: {
20406
20663
  additionalCredentials?: any;
20407
20664
  senderId?: string | undefined;
20408
20665
  whatsapp?: {
20409
- email: string;
20410
- wabaExternalId: string;
20411
- phoneNumberId: string;
20412
- wabaBusinessId?: string | undefined;
20413
- clientId?: string | undefined;
20414
- channelId?: string | undefined;
20415
- status?: "active" | "pending" | undefined;
20666
+ wabaBusinessId?: string | null | undefined;
20667
+ wabaExternalId?: string | null | undefined;
20668
+ phoneNumberId?: string | null | undefined;
20669
+ email?: string | null | undefined;
20670
+ clientId?: string | null | undefined;
20671
+ channelId?: string | null | undefined;
20672
+ waapiInstanceId?: string | null | undefined;
20673
+ qr?: string | null | undefined;
20674
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20416
20675
  apiKey?: string | undefined;
20417
20676
  tier?: "basic" | "regular" | "premium" | undefined;
20677
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20418
20678
  } | undefined;
20419
20679
  vonageCredentials?: {
20420
20680
  apiKey: string;
@@ -20450,15 +20710,18 @@ export declare const whatsappContract: {
20450
20710
  additionalCredentials?: any;
20451
20711
  senderId?: string | undefined;
20452
20712
  whatsapp?: {
20453
- email: string;
20454
- wabaExternalId: string;
20455
- phoneNumberId: string;
20456
- wabaBusinessId?: string | undefined;
20457
- clientId?: string | undefined;
20458
- channelId?: string | undefined;
20459
- status?: "active" | "pending" | undefined;
20713
+ wabaBusinessId?: string | null | undefined;
20714
+ wabaExternalId?: string | null | undefined;
20715
+ phoneNumberId?: string | null | undefined;
20716
+ email?: string | null | undefined;
20717
+ clientId?: string | null | undefined;
20718
+ channelId?: string | null | undefined;
20719
+ waapiInstanceId?: string | null | undefined;
20720
+ qr?: string | null | undefined;
20721
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20460
20722
  apiKey?: string | undefined;
20461
20723
  tier?: "basic" | "regular" | "premium" | undefined;
20724
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20462
20725
  } | undefined;
20463
20726
  vonageCredentials?: {
20464
20727
  apiKey: string;
@@ -20496,15 +20759,18 @@ export declare const whatsappContract: {
20496
20759
  additionalCredentials?: any;
20497
20760
  senderId?: string | undefined;
20498
20761
  whatsapp?: {
20499
- email: string;
20500
- wabaExternalId: string;
20501
- phoneNumberId: string;
20502
- wabaBusinessId?: string | undefined;
20503
- clientId?: string | undefined;
20504
- channelId?: string | undefined;
20505
- status?: "active" | "pending" | undefined;
20762
+ wabaBusinessId?: string | null | undefined;
20763
+ wabaExternalId?: string | null | undefined;
20764
+ phoneNumberId?: string | null | undefined;
20765
+ email?: string | null | undefined;
20766
+ clientId?: string | null | undefined;
20767
+ channelId?: string | null | undefined;
20768
+ waapiInstanceId?: string | null | undefined;
20769
+ qr?: string | null | undefined;
20770
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20506
20771
  apiKey?: string | undefined;
20507
20772
  tier?: "basic" | "regular" | "premium" | undefined;
20773
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20508
20774
  } | undefined;
20509
20775
  vonageCredentials?: {
20510
20776
  apiKey: string;
@@ -20543,15 +20809,18 @@ export declare const whatsappContract: {
20543
20809
  additionalCredentials?: any;
20544
20810
  senderId?: string | undefined;
20545
20811
  whatsapp?: {
20546
- email: string;
20547
- wabaExternalId: string;
20548
- phoneNumberId: string;
20549
- wabaBusinessId?: string | undefined;
20550
- clientId?: string | undefined;
20551
- channelId?: string | undefined;
20552
- status?: "active" | "pending" | undefined;
20812
+ wabaBusinessId?: string | null | undefined;
20813
+ wabaExternalId?: string | null | undefined;
20814
+ phoneNumberId?: string | null | undefined;
20815
+ email?: string | null | undefined;
20816
+ clientId?: string | null | undefined;
20817
+ channelId?: string | null | undefined;
20818
+ waapiInstanceId?: string | null | undefined;
20819
+ qr?: string | null | undefined;
20820
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20553
20821
  apiKey?: string | undefined;
20554
20822
  tier?: "basic" | "regular" | "premium" | undefined;
20823
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20555
20824
  } | undefined;
20556
20825
  vonageCredentials?: {
20557
20826
  apiKey: string;
@@ -20679,5 +20948,166 @@ export declare const whatsappContract: {
20679
20948
  };
20680
20949
  path: "/templates";
20681
20950
  };
20951
+ createWaapi: {
20952
+ body: null;
20953
+ method: "POST";
20954
+ responses: {
20955
+ 200: z.ZodObject<{
20956
+ requestId: z.ZodString;
20957
+ data: z.ZodObject<{
20958
+ instanceId: z.ZodString;
20959
+ }, "strip", z.ZodTypeAny, {
20960
+ instanceId: string;
20961
+ }, {
20962
+ instanceId: string;
20963
+ }>;
20964
+ }, "strip", z.ZodTypeAny, {
20965
+ data: {
20966
+ instanceId: string;
20967
+ };
20968
+ requestId: string;
20969
+ }, {
20970
+ data: {
20971
+ instanceId: string;
20972
+ };
20973
+ requestId: string;
20974
+ }>;
20975
+ 500: z.ZodObject<{
20976
+ message: z.ZodString;
20977
+ error: z.ZodAny;
20978
+ }, "strip", z.ZodTypeAny, {
20979
+ message: string;
20980
+ error?: any;
20981
+ }, {
20982
+ message: string;
20983
+ error?: any;
20984
+ }>;
20985
+ 400: z.ZodObject<{
20986
+ message: z.ZodString;
20987
+ error: z.ZodAny;
20988
+ }, "strip", z.ZodTypeAny, {
20989
+ message: string;
20990
+ error?: any;
20991
+ }, {
20992
+ message: string;
20993
+ error?: any;
20994
+ }>;
20995
+ };
20996
+ path: "/waapi";
20997
+ };
20998
+ getWaapiQr: {
20999
+ method: "GET";
21000
+ query: z.ZodObject<{
21001
+ channelId: z.ZodString;
21002
+ }, "strip", z.ZodTypeAny, {
21003
+ channelId: string;
21004
+ }, {
21005
+ channelId: string;
21006
+ }>;
21007
+ responses: {
21008
+ 200: z.ZodObject<{
21009
+ requestId: z.ZodString;
21010
+ data: z.ZodObject<{
21011
+ isActive: z.ZodBoolean;
21012
+ qr: z.ZodString;
21013
+ }, "strip", z.ZodTypeAny, {
21014
+ qr: string;
21015
+ isActive: boolean;
21016
+ }, {
21017
+ qr: string;
21018
+ isActive: boolean;
21019
+ }>;
21020
+ }, "strip", z.ZodTypeAny, {
21021
+ data: {
21022
+ qr: string;
21023
+ isActive: boolean;
21024
+ };
21025
+ requestId: string;
21026
+ }, {
21027
+ data: {
21028
+ qr: string;
21029
+ isActive: boolean;
21030
+ };
21031
+ requestId: string;
21032
+ }>;
21033
+ 500: z.ZodObject<{
21034
+ message: z.ZodString;
21035
+ error: z.ZodAny;
21036
+ }, "strip", z.ZodTypeAny, {
21037
+ message: string;
21038
+ error?: any;
21039
+ }, {
21040
+ message: string;
21041
+ error?: any;
21042
+ }>;
21043
+ 400: z.ZodObject<{
21044
+ message: z.ZodString;
21045
+ error: z.ZodAny;
21046
+ }, "strip", z.ZodTypeAny, {
21047
+ message: string;
21048
+ error?: any;
21049
+ }, {
21050
+ message: string;
21051
+ error?: any;
21052
+ }>;
21053
+ };
21054
+ path: "/waapi/qr";
21055
+ };
21056
+ sendSeenToWaapi: {
21057
+ body: z.ZodObject<{
21058
+ channelId: z.ZodString;
21059
+ platformContactId: z.ZodString;
21060
+ }, "strip", z.ZodTypeAny, {
21061
+ channelId: string;
21062
+ platformContactId: string;
21063
+ }, {
21064
+ channelId: string;
21065
+ platformContactId: string;
21066
+ }>;
21067
+ method: "POST";
21068
+ responses: {
21069
+ 200: z.ZodObject<{
21070
+ requestId: z.ZodString;
21071
+ data: z.ZodObject<{
21072
+ instanceId: z.ZodString;
21073
+ }, "strip", z.ZodTypeAny, {
21074
+ instanceId: string;
21075
+ }, {
21076
+ instanceId: string;
21077
+ }>;
21078
+ }, "strip", z.ZodTypeAny, {
21079
+ data: {
21080
+ instanceId: string;
21081
+ };
21082
+ requestId: string;
21083
+ }, {
21084
+ data: {
21085
+ instanceId: string;
21086
+ };
21087
+ requestId: string;
21088
+ }>;
21089
+ 500: z.ZodObject<{
21090
+ message: z.ZodString;
21091
+ error: z.ZodAny;
21092
+ }, "strip", z.ZodTypeAny, {
21093
+ message: string;
21094
+ error?: any;
21095
+ }, {
21096
+ message: string;
21097
+ error?: any;
21098
+ }>;
21099
+ 400: z.ZodObject<{
21100
+ message: z.ZodString;
21101
+ error: z.ZodAny;
21102
+ }, "strip", z.ZodTypeAny, {
21103
+ message: string;
21104
+ error?: any;
21105
+ }, {
21106
+ message: string;
21107
+ error?: any;
21108
+ }>;
21109
+ };
21110
+ path: "/waapi/send-seen";
21111
+ };
20682
21112
  };
20683
21113
  //# sourceMappingURL=index.d.ts.map