@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
@@ -138,35 +138,44 @@ export declare const platformWebchatContract: {
138
138
  additionalCredentials: z.ZodOptional<z.ZodAny>;
139
139
  senderId: z.ZodOptional<z.ZodString>;
140
140
  whatsapp: z.ZodOptional<z.ZodObject<{
141
- wabaBusinessId: z.ZodOptional<z.ZodString>;
142
- wabaExternalId: z.ZodString;
143
- phoneNumberId: z.ZodString;
144
- email: z.ZodString;
145
- clientId: z.ZodOptional<z.ZodString>;
146
- channelId: z.ZodOptional<z.ZodString>;
147
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
141
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
142
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
143
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
144
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
145
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
148
150
  apiKey: z.ZodOptional<z.ZodString>;
149
151
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
152
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
150
153
  }, "strip", z.ZodTypeAny, {
151
- email: string;
152
- wabaExternalId: string;
153
- phoneNumberId: string;
154
- wabaBusinessId?: string | undefined;
155
- clientId?: string | undefined;
156
- channelId?: string | undefined;
157
- status?: "active" | "pending" | undefined;
154
+ wabaBusinessId?: string | null | undefined;
155
+ wabaExternalId?: string | null | undefined;
156
+ phoneNumberId?: string | null | undefined;
157
+ email?: string | null | undefined;
158
+ clientId?: string | null | undefined;
159
+ channelId?: string | null | undefined;
160
+ waapiInstanceId?: string | null | undefined;
161
+ qr?: string | null | undefined;
162
+ status?: "active" | "pending" | "waapi-qr" | undefined;
158
163
  apiKey?: string | undefined;
159
164
  tier?: "basic" | "regular" | "premium" | undefined;
165
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
160
166
  }, {
161
- email: string;
162
- wabaExternalId: string;
163
- phoneNumberId: string;
164
- wabaBusinessId?: string | undefined;
165
- clientId?: string | undefined;
166
- channelId?: string | undefined;
167
- status?: "active" | "pending" | undefined;
167
+ wabaBusinessId?: string | null | undefined;
168
+ wabaExternalId?: string | null | undefined;
169
+ phoneNumberId?: string | null | undefined;
170
+ email?: string | null | undefined;
171
+ clientId?: string | null | undefined;
172
+ channelId?: string | null | undefined;
173
+ waapiInstanceId?: string | null | undefined;
174
+ qr?: string | null | undefined;
175
+ status?: "active" | "pending" | "waapi-qr" | undefined;
168
176
  apiKey?: string | undefined;
169
177
  tier?: "basic" | "regular" | "premium" | undefined;
178
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
170
179
  }>>;
171
180
  vonageCredentials: z.ZodOptional<z.ZodObject<{
172
181
  mobileNumber: z.ZodString;
@@ -192,15 +201,18 @@ export declare const platformWebchatContract: {
192
201
  additionalCredentials?: any;
193
202
  senderId?: string | undefined;
194
203
  whatsapp?: {
195
- email: string;
196
- wabaExternalId: string;
197
- phoneNumberId: string;
198
- wabaBusinessId?: string | undefined;
199
- clientId?: string | undefined;
200
- channelId?: string | undefined;
201
- status?: "active" | "pending" | undefined;
204
+ wabaBusinessId?: string | null | undefined;
205
+ wabaExternalId?: string | null | undefined;
206
+ phoneNumberId?: string | null | undefined;
207
+ email?: string | null | undefined;
208
+ clientId?: string | null | undefined;
209
+ channelId?: string | null | undefined;
210
+ waapiInstanceId?: string | null | undefined;
211
+ qr?: string | null | undefined;
212
+ status?: "active" | "pending" | "waapi-qr" | undefined;
202
213
  apiKey?: string | undefined;
203
214
  tier?: "basic" | "regular" | "premium" | undefined;
215
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
204
216
  } | undefined;
205
217
  vonageCredentials?: {
206
218
  apiKey: string;
@@ -218,15 +230,18 @@ export declare const platformWebchatContract: {
218
230
  additionalCredentials?: any;
219
231
  senderId?: string | undefined;
220
232
  whatsapp?: {
221
- email: string;
222
- wabaExternalId: string;
223
- phoneNumberId: string;
224
- wabaBusinessId?: string | undefined;
225
- clientId?: string | undefined;
226
- channelId?: string | undefined;
227
- status?: "active" | "pending" | undefined;
233
+ wabaBusinessId?: string | null | undefined;
234
+ wabaExternalId?: string | null | undefined;
235
+ phoneNumberId?: string | null | undefined;
236
+ email?: string | null | undefined;
237
+ clientId?: string | null | undefined;
238
+ channelId?: string | null | undefined;
239
+ waapiInstanceId?: string | null | undefined;
240
+ qr?: string | null | undefined;
241
+ status?: "active" | "pending" | "waapi-qr" | undefined;
228
242
  apiKey?: string | undefined;
229
243
  tier?: "basic" | "regular" | "premium" | undefined;
244
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
230
245
  } | undefined;
231
246
  vonageCredentials?: {
232
247
  apiKey: string;
@@ -274,15 +289,18 @@ export declare const platformWebchatContract: {
274
289
  additionalCredentials?: any;
275
290
  senderId?: string | undefined;
276
291
  whatsapp?: {
277
- email: string;
278
- wabaExternalId: string;
279
- phoneNumberId: string;
280
- wabaBusinessId?: string | undefined;
281
- clientId?: string | undefined;
282
- channelId?: string | undefined;
283
- status?: "active" | "pending" | undefined;
292
+ wabaBusinessId?: string | null | undefined;
293
+ wabaExternalId?: string | null | undefined;
294
+ phoneNumberId?: string | null | undefined;
295
+ email?: string | null | undefined;
296
+ clientId?: string | null | undefined;
297
+ channelId?: string | null | undefined;
298
+ waapiInstanceId?: string | null | undefined;
299
+ qr?: string | null | undefined;
300
+ status?: "active" | "pending" | "waapi-qr" | undefined;
284
301
  apiKey?: string | undefined;
285
302
  tier?: "basic" | "regular" | "premium" | undefined;
303
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
286
304
  } | undefined;
287
305
  vonageCredentials?: {
288
306
  apiKey: string;
@@ -318,15 +336,18 @@ export declare const platformWebchatContract: {
318
336
  additionalCredentials?: any;
319
337
  senderId?: string | undefined;
320
338
  whatsapp?: {
321
- email: string;
322
- wabaExternalId: string;
323
- phoneNumberId: string;
324
- wabaBusinessId?: string | undefined;
325
- clientId?: string | undefined;
326
- channelId?: string | undefined;
327
- status?: "active" | "pending" | undefined;
339
+ wabaBusinessId?: string | null | undefined;
340
+ wabaExternalId?: string | null | undefined;
341
+ phoneNumberId?: string | null | undefined;
342
+ email?: string | null | undefined;
343
+ clientId?: string | null | undefined;
344
+ channelId?: string | null | undefined;
345
+ waapiInstanceId?: string | null | undefined;
346
+ qr?: string | null | undefined;
347
+ status?: "active" | "pending" | "waapi-qr" | undefined;
328
348
  apiKey?: string | undefined;
329
349
  tier?: "basic" | "regular" | "premium" | undefined;
350
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
330
351
  } | undefined;
331
352
  vonageCredentials?: {
332
353
  apiKey: string;
@@ -367,15 +388,18 @@ export declare const platformWebchatContract: {
367
388
  additionalCredentials?: any;
368
389
  senderId?: string | undefined;
369
390
  whatsapp?: {
370
- email: string;
371
- wabaExternalId: string;
372
- phoneNumberId: string;
373
- wabaBusinessId?: string | undefined;
374
- clientId?: string | undefined;
375
- channelId?: string | undefined;
376
- status?: "active" | "pending" | undefined;
391
+ wabaBusinessId?: string | null | undefined;
392
+ wabaExternalId?: string | null | undefined;
393
+ phoneNumberId?: string | null | undefined;
394
+ email?: string | null | undefined;
395
+ clientId?: string | null | undefined;
396
+ channelId?: string | null | undefined;
397
+ waapiInstanceId?: string | null | undefined;
398
+ qr?: string | null | undefined;
399
+ status?: "active" | "pending" | "waapi-qr" | undefined;
377
400
  apiKey?: string | undefined;
378
401
  tier?: "basic" | "regular" | "premium" | undefined;
402
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
379
403
  } | undefined;
380
404
  vonageCredentials?: {
381
405
  apiKey: string;
@@ -455,15 +479,18 @@ export declare const platformWebchatContract: {
455
479
  additionalCredentials?: any;
456
480
  senderId?: string | undefined;
457
481
  whatsapp?: {
458
- email: string;
459
- wabaExternalId: string;
460
- phoneNumberId: string;
461
- wabaBusinessId?: string | undefined;
462
- clientId?: string | undefined;
463
- channelId?: string | undefined;
464
- status?: "active" | "pending" | undefined;
482
+ wabaBusinessId?: string | null | undefined;
483
+ wabaExternalId?: string | null | undefined;
484
+ phoneNumberId?: string | null | undefined;
485
+ email?: string | null | undefined;
486
+ clientId?: string | null | undefined;
487
+ channelId?: string | null | undefined;
488
+ waapiInstanceId?: string | null | undefined;
489
+ qr?: string | null | undefined;
490
+ status?: "active" | "pending" | "waapi-qr" | undefined;
465
491
  apiKey?: string | undefined;
466
492
  tier?: "basic" | "regular" | "premium" | undefined;
493
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
467
494
  } | undefined;
468
495
  vonageCredentials?: {
469
496
  apiKey: string;
@@ -534,7 +561,7 @@ export declare const platformWebchatContract: {
534
561
  id: z.ZodOptional<z.ZodString>;
535
562
  message: z.ZodOptional<z.ZodString>;
536
563
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
537
- 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"]>;
564
+ 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"]>;
538
565
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
539
566
  metadata: z.ZodOptional<z.ZodAny>;
540
567
  platformId: z.ZodOptional<z.ZodString>;
@@ -590,7 +617,7 @@ export declare const platformWebchatContract: {
590
617
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
591
618
  label: z.ZodOptional<z.ZodString>;
592
619
  }, "strip", z.ZodTypeAny, {
593
- 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";
620
+ 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";
594
621
  direction: "incoming" | "outgoing" | "system";
595
622
  id?: string | undefined;
596
623
  message?: string | undefined;
@@ -625,7 +652,7 @@ export declare const platformWebchatContract: {
625
652
  editedAt?: string | Date | null | undefined;
626
653
  label?: string | undefined;
627
654
  }, {
628
- 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";
655
+ 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";
629
656
  direction: "incoming" | "outgoing" | "system";
630
657
  id?: string | undefined;
631
658
  message?: string | undefined;
@@ -662,7 +689,7 @@ export declare const platformWebchatContract: {
662
689
  }>;
663
690
  }, "strip", z.ZodTypeAny, {
664
691
  message: {
665
- 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";
692
+ 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";
666
693
  direction: "incoming" | "outgoing" | "system";
667
694
  id?: string | undefined;
668
695
  message?: string | undefined;
@@ -711,15 +738,18 @@ export declare const platformWebchatContract: {
711
738
  additionalCredentials?: any;
712
739
  senderId?: string | undefined;
713
740
  whatsapp?: {
714
- email: string;
715
- wabaExternalId: string;
716
- phoneNumberId: string;
717
- wabaBusinessId?: string | undefined;
718
- clientId?: string | undefined;
719
- channelId?: string | undefined;
720
- status?: "active" | "pending" | undefined;
741
+ wabaBusinessId?: string | null | undefined;
742
+ wabaExternalId?: string | null | undefined;
743
+ phoneNumberId?: string | null | undefined;
744
+ email?: string | null | undefined;
745
+ clientId?: string | null | undefined;
746
+ channelId?: string | null | undefined;
747
+ waapiInstanceId?: string | null | undefined;
748
+ qr?: string | null | undefined;
749
+ status?: "active" | "pending" | "waapi-qr" | undefined;
721
750
  apiKey?: string | undefined;
722
751
  tier?: "basic" | "regular" | "premium" | undefined;
752
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
723
753
  } | undefined;
724
754
  vonageCredentials?: {
725
755
  apiKey: string;
@@ -789,7 +819,7 @@ export declare const platformWebchatContract: {
789
819
  isBot: boolean | null;
790
820
  }, {
791
821
  message: {
792
- 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";
822
+ 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";
793
823
  direction: "incoming" | "outgoing" | "system";
794
824
  id?: string | undefined;
795
825
  message?: string | undefined;
@@ -838,15 +868,18 @@ export declare const platformWebchatContract: {
838
868
  additionalCredentials?: any;
839
869
  senderId?: string | undefined;
840
870
  whatsapp?: {
841
- email: string;
842
- wabaExternalId: string;
843
- phoneNumberId: string;
844
- wabaBusinessId?: string | undefined;
845
- clientId?: string | undefined;
846
- channelId?: string | undefined;
847
- status?: "active" | "pending" | undefined;
871
+ wabaBusinessId?: string | null | undefined;
872
+ wabaExternalId?: string | null | undefined;
873
+ phoneNumberId?: string | null | undefined;
874
+ email?: string | null | undefined;
875
+ clientId?: string | null | undefined;
876
+ channelId?: string | null | undefined;
877
+ waapiInstanceId?: string | null | undefined;
878
+ qr?: string | null | undefined;
879
+ status?: "active" | "pending" | "waapi-qr" | undefined;
848
880
  apiKey?: string | undefined;
849
881
  tier?: "basic" | "regular" | "premium" | undefined;
882
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
850
883
  } | undefined;
851
884
  vonageCredentials?: {
852
885
  apiKey: string;
@@ -920,7 +953,7 @@ export declare const platformWebchatContract: {
920
953
  200: z.ZodObject<{
921
954
  requestId: z.ZodString;
922
955
  data: z.ZodObject<{
923
- 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"]>;
956
+ 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"]>;
924
957
  message: z.ZodString;
925
958
  id: z.ZodString;
926
959
  url: z.ZodString;
@@ -1145,9 +1178,10 @@ export declare const platformWebchatContract: {
1145
1178
  fileSize: z.ZodNumber;
1146
1179
  fileKey: z.ZodString;
1147
1180
  fileUrl: z.ZodNullable<z.ZodString>;
1148
- status: z.ZodOptional<z.ZodString>;
1181
+ status: z.ZodNullable<z.ZodString>;
1149
1182
  }, "strip", z.ZodTypeAny, {
1150
1183
  id: string;
1184
+ status: string | null;
1151
1185
  createdAt: Date;
1152
1186
  updatedAt: Date;
1153
1187
  deletedAt: Date | null;
@@ -1156,9 +1190,9 @@ export declare const platformWebchatContract: {
1156
1190
  bucketName: string;
1157
1191
  fileSize: number;
1158
1192
  fileUrl: string | null;
1159
- status?: string | undefined;
1160
1193
  }, {
1161
1194
  id: string;
1195
+ status: string | null;
1162
1196
  createdAt: Date;
1163
1197
  updatedAt: Date;
1164
1198
  deletedAt: Date | null;
@@ -1167,7 +1201,6 @@ export declare const platformWebchatContract: {
1167
1201
  bucketName: string;
1168
1202
  fileSize: number;
1169
1203
  fileUrl: string | null;
1170
- status?: string | undefined;
1171
1204
  }>;
1172
1205
  assignee: z.ZodObject<{
1173
1206
  id: z.ZodString;
@@ -1762,9 +1795,10 @@ export declare const platformWebchatContract: {
1762
1795
  fileSize: z.ZodNumber;
1763
1796
  fileKey: z.ZodString;
1764
1797
  fileUrl: z.ZodNullable<z.ZodString>;
1765
- status: z.ZodOptional<z.ZodString>;
1798
+ status: z.ZodNullable<z.ZodString>;
1766
1799
  }, "strip", z.ZodTypeAny, {
1767
1800
  id: string;
1801
+ status: string | null;
1768
1802
  createdAt: Date;
1769
1803
  updatedAt: Date;
1770
1804
  deletedAt: Date | null;
@@ -1773,9 +1807,9 @@ export declare const platformWebchatContract: {
1773
1807
  bucketName: string;
1774
1808
  fileSize: number;
1775
1809
  fileUrl: string | null;
1776
- status?: string | undefined;
1777
1810
  }, {
1778
1811
  id: string;
1812
+ status: string | null;
1779
1813
  createdAt: Date;
1780
1814
  updatedAt: Date;
1781
1815
  deletedAt: Date | null;
@@ -1784,7 +1818,6 @@ export declare const platformWebchatContract: {
1784
1818
  bucketName: string;
1785
1819
  fileSize: number;
1786
1820
  fileUrl: string | null;
1787
- status?: string | undefined;
1788
1821
  }>, "many">;
1789
1822
  }, "strip", z.ZodTypeAny, {
1790
1823
  id: string;
@@ -1811,6 +1844,7 @@ export declare const platformWebchatContract: {
1811
1844
  dateValue: Date | null;
1812
1845
  uploads: {
1813
1846
  id: string;
1847
+ status: string | null;
1814
1848
  createdAt: Date;
1815
1849
  updatedAt: Date;
1816
1850
  deletedAt: Date | null;
@@ -1819,7 +1853,6 @@ export declare const platformWebchatContract: {
1819
1853
  bucketName: string;
1820
1854
  fileSize: number;
1821
1855
  fileUrl: string | null;
1822
- status?: string | undefined;
1823
1856
  }[];
1824
1857
  }, {
1825
1858
  id: string;
@@ -1846,6 +1879,7 @@ export declare const platformWebchatContract: {
1846
1879
  dateValue: Date | null;
1847
1880
  uploads: {
1848
1881
  id: string;
1882
+ status: string | null;
1849
1883
  createdAt: Date;
1850
1884
  updatedAt: Date;
1851
1885
  deletedAt: Date | null;
@@ -1854,7 +1888,6 @@ export declare const platformWebchatContract: {
1854
1888
  bucketName: string;
1855
1889
  fileSize: number;
1856
1890
  fileUrl: string | null;
1857
- status?: string | undefined;
1858
1891
  }[];
1859
1892
  }>, "many">;
1860
1893
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1994,6 +2027,7 @@ export declare const platformWebchatContract: {
1994
2027
  dateValue: Date | null;
1995
2028
  uploads: {
1996
2029
  id: string;
2030
+ status: string | null;
1997
2031
  createdAt: Date;
1998
2032
  updatedAt: Date;
1999
2033
  deletedAt: Date | null;
@@ -2002,7 +2036,6 @@ export declare const platformWebchatContract: {
2002
2036
  bucketName: string;
2003
2037
  fileSize: number;
2004
2038
  fileUrl: string | null;
2005
- status?: string | undefined;
2006
2039
  }[];
2007
2040
  }[];
2008
2041
  company: {
@@ -2105,6 +2138,7 @@ export declare const platformWebchatContract: {
2105
2138
  dateValue: Date | null;
2106
2139
  uploads: {
2107
2140
  id: string;
2141
+ status: string | null;
2108
2142
  createdAt: Date;
2109
2143
  updatedAt: Date;
2110
2144
  deletedAt: Date | null;
@@ -2113,7 +2147,6 @@ export declare const platformWebchatContract: {
2113
2147
  bucketName: string;
2114
2148
  fileSize: number;
2115
2149
  fileUrl: string | null;
2116
- status?: string | undefined;
2117
2150
  }[];
2118
2151
  }[];
2119
2152
  company: {
@@ -2229,6 +2262,7 @@ export declare const platformWebchatContract: {
2229
2262
  dateValue: Date | null;
2230
2263
  uploads: {
2231
2264
  id: string;
2265
+ status: string | null;
2232
2266
  createdAt: Date;
2233
2267
  updatedAt: Date;
2234
2268
  deletedAt: Date | null;
@@ -2237,7 +2271,6 @@ export declare const platformWebchatContract: {
2237
2271
  bucketName: string;
2238
2272
  fileSize: number;
2239
2273
  fileUrl: string | null;
2240
- status?: string | undefined;
2241
2274
  }[];
2242
2275
  }[];
2243
2276
  company: {
@@ -2355,6 +2388,7 @@ export declare const platformWebchatContract: {
2355
2388
  dateValue: Date | null;
2356
2389
  uploads: {
2357
2390
  id: string;
2391
+ status: string | null;
2358
2392
  createdAt: Date;
2359
2393
  updatedAt: Date;
2360
2394
  deletedAt: Date | null;
@@ -2363,7 +2397,6 @@ export declare const platformWebchatContract: {
2363
2397
  bucketName: string;
2364
2398
  fileSize: number;
2365
2399
  fileUrl: string | null;
2366
- status?: string | undefined;
2367
2400
  }[];
2368
2401
  }[];
2369
2402
  company: {
@@ -2860,35 +2893,44 @@ export declare const platformWebchatContract: {
2860
2893
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2861
2894
  senderId: z.ZodOptional<z.ZodString>;
2862
2895
  whatsapp: z.ZodOptional<z.ZodObject<{
2863
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2864
- wabaExternalId: z.ZodString;
2865
- phoneNumberId: z.ZodString;
2866
- email: z.ZodString;
2867
- clientId: z.ZodOptional<z.ZodString>;
2868
- channelId: z.ZodOptional<z.ZodString>;
2869
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2896
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2897
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2898
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2899
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2900
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2901
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2902
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2903
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2904
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
2870
2905
  apiKey: z.ZodOptional<z.ZodString>;
2871
2906
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2907
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2872
2908
  }, "strip", z.ZodTypeAny, {
2873
- email: string;
2874
- wabaExternalId: string;
2875
- phoneNumberId: string;
2876
- wabaBusinessId?: string | undefined;
2877
- clientId?: string | undefined;
2878
- channelId?: string | undefined;
2879
- status?: "active" | "pending" | undefined;
2909
+ wabaBusinessId?: string | null | undefined;
2910
+ wabaExternalId?: string | null | undefined;
2911
+ phoneNumberId?: string | null | undefined;
2912
+ email?: string | null | undefined;
2913
+ clientId?: string | null | undefined;
2914
+ channelId?: string | null | undefined;
2915
+ waapiInstanceId?: string | null | undefined;
2916
+ qr?: string | null | undefined;
2917
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2880
2918
  apiKey?: string | undefined;
2881
2919
  tier?: "basic" | "regular" | "premium" | undefined;
2920
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2882
2921
  }, {
2883
- email: string;
2884
- wabaExternalId: string;
2885
- phoneNumberId: string;
2886
- wabaBusinessId?: string | undefined;
2887
- clientId?: string | undefined;
2888
- channelId?: string | undefined;
2889
- status?: "active" | "pending" | undefined;
2922
+ wabaBusinessId?: string | null | undefined;
2923
+ wabaExternalId?: string | null | undefined;
2924
+ phoneNumberId?: string | null | undefined;
2925
+ email?: string | null | undefined;
2926
+ clientId?: string | null | undefined;
2927
+ channelId?: string | null | undefined;
2928
+ waapiInstanceId?: string | null | undefined;
2929
+ qr?: string | null | undefined;
2930
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2890
2931
  apiKey?: string | undefined;
2891
2932
  tier?: "basic" | "regular" | "premium" | undefined;
2933
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2892
2934
  }>>;
2893
2935
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2894
2936
  mobileNumber: z.ZodString;
@@ -2914,15 +2956,18 @@ export declare const platformWebchatContract: {
2914
2956
  additionalCredentials?: any;
2915
2957
  senderId?: string | undefined;
2916
2958
  whatsapp?: {
2917
- email: string;
2918
- wabaExternalId: string;
2919
- phoneNumberId: string;
2920
- wabaBusinessId?: string | undefined;
2921
- clientId?: string | undefined;
2922
- channelId?: string | undefined;
2923
- status?: "active" | "pending" | undefined;
2959
+ wabaBusinessId?: string | null | undefined;
2960
+ wabaExternalId?: string | null | undefined;
2961
+ phoneNumberId?: string | null | undefined;
2962
+ email?: string | null | undefined;
2963
+ clientId?: string | null | undefined;
2964
+ channelId?: string | null | undefined;
2965
+ waapiInstanceId?: string | null | undefined;
2966
+ qr?: string | null | undefined;
2967
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2924
2968
  apiKey?: string | undefined;
2925
2969
  tier?: "basic" | "regular" | "premium" | undefined;
2970
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2926
2971
  } | undefined;
2927
2972
  vonageCredentials?: {
2928
2973
  apiKey: string;
@@ -2940,15 +2985,18 @@ export declare const platformWebchatContract: {
2940
2985
  additionalCredentials?: any;
2941
2986
  senderId?: string | undefined;
2942
2987
  whatsapp?: {
2943
- email: string;
2944
- wabaExternalId: string;
2945
- phoneNumberId: string;
2946
- wabaBusinessId?: string | undefined;
2947
- clientId?: string | undefined;
2948
- channelId?: string | undefined;
2949
- status?: "active" | "pending" | undefined;
2988
+ wabaBusinessId?: string | null | undefined;
2989
+ wabaExternalId?: string | null | undefined;
2990
+ phoneNumberId?: string | null | undefined;
2991
+ email?: string | null | undefined;
2992
+ clientId?: string | null | undefined;
2993
+ channelId?: string | null | undefined;
2994
+ waapiInstanceId?: string | null | undefined;
2995
+ qr?: string | null | undefined;
2996
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2950
2997
  apiKey?: string | undefined;
2951
2998
  tier?: "basic" | "regular" | "premium" | undefined;
2999
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2952
3000
  } | undefined;
2953
3001
  vonageCredentials?: {
2954
3002
  apiKey: string;
@@ -3200,15 +3248,18 @@ export declare const platformWebchatContract: {
3200
3248
  additionalCredentials?: any;
3201
3249
  senderId?: string | undefined;
3202
3250
  whatsapp?: {
3203
- email: string;
3204
- wabaExternalId: string;
3205
- phoneNumberId: string;
3206
- wabaBusinessId?: string | undefined;
3207
- clientId?: string | undefined;
3208
- channelId?: string | undefined;
3209
- status?: "active" | "pending" | undefined;
3251
+ wabaBusinessId?: string | null | undefined;
3252
+ wabaExternalId?: string | null | undefined;
3253
+ phoneNumberId?: string | null | undefined;
3254
+ email?: string | null | undefined;
3255
+ clientId?: string | null | undefined;
3256
+ channelId?: string | null | undefined;
3257
+ waapiInstanceId?: string | null | undefined;
3258
+ qr?: string | null | undefined;
3259
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3210
3260
  apiKey?: string | undefined;
3211
3261
  tier?: "basic" | "regular" | "premium" | undefined;
3262
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3212
3263
  } | undefined;
3213
3264
  vonageCredentials?: {
3214
3265
  apiKey: string;
@@ -3291,15 +3342,18 @@ export declare const platformWebchatContract: {
3291
3342
  additionalCredentials?: any;
3292
3343
  senderId?: string | undefined;
3293
3344
  whatsapp?: {
3294
- email: string;
3295
- wabaExternalId: string;
3296
- phoneNumberId: string;
3297
- wabaBusinessId?: string | undefined;
3298
- clientId?: string | undefined;
3299
- channelId?: string | undefined;
3300
- status?: "active" | "pending" | undefined;
3345
+ wabaBusinessId?: string | null | undefined;
3346
+ wabaExternalId?: string | null | undefined;
3347
+ phoneNumberId?: string | null | undefined;
3348
+ email?: string | null | undefined;
3349
+ clientId?: string | null | undefined;
3350
+ channelId?: string | null | undefined;
3351
+ waapiInstanceId?: string | null | undefined;
3352
+ qr?: string | null | undefined;
3353
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3301
3354
  apiKey?: string | undefined;
3302
3355
  tier?: "basic" | "regular" | "premium" | undefined;
3356
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3303
3357
  } | undefined;
3304
3358
  vonageCredentials?: {
3305
3359
  apiKey: string;
@@ -3946,15 +4000,18 @@ export declare const platformWebchatContract: {
3946
4000
  additionalCredentials?: any;
3947
4001
  senderId?: string | undefined;
3948
4002
  whatsapp?: {
3949
- email: string;
3950
- wabaExternalId: string;
3951
- phoneNumberId: string;
3952
- wabaBusinessId?: string | undefined;
3953
- clientId?: string | undefined;
3954
- channelId?: string | undefined;
3955
- status?: "active" | "pending" | undefined;
4003
+ wabaBusinessId?: string | null | undefined;
4004
+ wabaExternalId?: string | null | undefined;
4005
+ phoneNumberId?: string | null | undefined;
4006
+ email?: string | null | undefined;
4007
+ clientId?: string | null | undefined;
4008
+ channelId?: string | null | undefined;
4009
+ waapiInstanceId?: string | null | undefined;
4010
+ qr?: string | null | undefined;
4011
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3956
4012
  apiKey?: string | undefined;
3957
4013
  tier?: "basic" | "regular" | "premium" | undefined;
4014
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3958
4015
  } | undefined;
3959
4016
  vonageCredentials?: {
3960
4017
  apiKey: string;
@@ -4126,6 +4183,7 @@ export declare const platformWebchatContract: {
4126
4183
  dateValue: Date | null;
4127
4184
  uploads: {
4128
4185
  id: string;
4186
+ status: string | null;
4129
4187
  createdAt: Date;
4130
4188
  updatedAt: Date;
4131
4189
  deletedAt: Date | null;
@@ -4134,7 +4192,6 @@ export declare const platformWebchatContract: {
4134
4192
  bucketName: string;
4135
4193
  fileSize: number;
4136
4194
  fileUrl: string | null;
4137
- status?: string | undefined;
4138
4195
  }[];
4139
4196
  }[];
4140
4197
  company: {
@@ -4370,15 +4427,18 @@ export declare const platformWebchatContract: {
4370
4427
  additionalCredentials?: any;
4371
4428
  senderId?: string | undefined;
4372
4429
  whatsapp?: {
4373
- email: string;
4374
- wabaExternalId: string;
4375
- phoneNumberId: string;
4376
- wabaBusinessId?: string | undefined;
4377
- clientId?: string | undefined;
4378
- channelId?: string | undefined;
4379
- status?: "active" | "pending" | undefined;
4430
+ wabaBusinessId?: string | null | undefined;
4431
+ wabaExternalId?: string | null | undefined;
4432
+ phoneNumberId?: string | null | undefined;
4433
+ email?: string | null | undefined;
4434
+ clientId?: string | null | undefined;
4435
+ channelId?: string | null | undefined;
4436
+ waapiInstanceId?: string | null | undefined;
4437
+ qr?: string | null | undefined;
4438
+ status?: "active" | "pending" | "waapi-qr" | undefined;
4380
4439
  apiKey?: string | undefined;
4381
4440
  tier?: "basic" | "regular" | "premium" | undefined;
4441
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
4382
4442
  } | undefined;
4383
4443
  vonageCredentials?: {
4384
4444
  apiKey: string;
@@ -4550,6 +4610,7 @@ export declare const platformWebchatContract: {
4550
4610
  dateValue: Date | null;
4551
4611
  uploads: {
4552
4612
  id: string;
4613
+ status: string | null;
4553
4614
  createdAt: Date;
4554
4615
  updatedAt: Date;
4555
4616
  deletedAt: Date | null;
@@ -4558,7 +4619,6 @@ export declare const platformWebchatContract: {
4558
4619
  bucketName: string;
4559
4620
  fileSize: number;
4560
4621
  fileUrl: string | null;
4561
- status?: string | undefined;
4562
4622
  }[];
4563
4623
  }[];
4564
4624
  company: {
@@ -4819,7 +4879,7 @@ export declare const platformWebchatContract: {
4819
4879
  deletedAt: z.ZodNullable<z.ZodDate>;
4820
4880
  message: z.ZodString;
4821
4881
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4822
- 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"]>;
4882
+ 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"]>;
4823
4883
  readAt: z.ZodDate;
4824
4884
  metadata: z.ZodAny;
4825
4885
  platformId: z.ZodString;
@@ -4840,9 +4900,10 @@ export declare const platformWebchatContract: {
4840
4900
  fileSize: z.ZodNumber;
4841
4901
  fileKey: z.ZodString;
4842
4902
  fileUrl: z.ZodNullable<z.ZodString>;
4843
- status: z.ZodOptional<z.ZodString>;
4903
+ status: z.ZodNullable<z.ZodString>;
4844
4904
  }, "strip", z.ZodTypeAny, {
4845
4905
  id: string;
4906
+ status: string | null;
4846
4907
  createdAt: Date;
4847
4908
  updatedAt: Date;
4848
4909
  deletedAt: Date | null;
@@ -4851,9 +4912,9 @@ export declare const platformWebchatContract: {
4851
4912
  bucketName: string;
4852
4913
  fileSize: number;
4853
4914
  fileUrl: string | null;
4854
- status?: string | undefined;
4855
4915
  }, {
4856
4916
  id: string;
4917
+ status: string | null;
4857
4918
  createdAt: Date;
4858
4919
  updatedAt: Date;
4859
4920
  deletedAt: Date | null;
@@ -4862,7 +4923,6 @@ export declare const platformWebchatContract: {
4862
4923
  bucketName: string;
4863
4924
  fileSize: number;
4864
4925
  fileUrl: string | null;
4865
- status?: string | undefined;
4866
4926
  }>;
4867
4927
  actor: z.ZodObject<{
4868
4928
  id: z.ZodString;
@@ -5477,7 +5537,7 @@ export declare const platformWebchatContract: {
5477
5537
  };
5478
5538
  }>;
5479
5539
  }, "strip", z.ZodTypeAny, {
5480
- 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";
5540
+ 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";
5481
5541
  message: string;
5482
5542
  id: string;
5483
5543
  url: string;
@@ -5531,6 +5591,7 @@ export declare const platformWebchatContract: {
5531
5591
  };
5532
5592
  upload: {
5533
5593
  id: string;
5594
+ status: string | null;
5534
5595
  createdAt: Date;
5535
5596
  updatedAt: Date;
5536
5597
  deletedAt: Date | null;
@@ -5539,7 +5600,6 @@ export declare const platformWebchatContract: {
5539
5600
  bucketName: string;
5540
5601
  fileSize: number;
5541
5602
  fileUrl: string | null;
5542
- status?: string | undefined;
5543
5603
  };
5544
5604
  assignee: {
5545
5605
  id: string;
@@ -5639,7 +5699,7 @@ export declare const platformWebchatContract: {
5639
5699
  metadata?: any;
5640
5700
  template?: any;
5641
5701
  }, {
5642
- 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";
5702
+ 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";
5643
5703
  message: string;
5644
5704
  id: string;
5645
5705
  url: string;
@@ -5693,6 +5753,7 @@ export declare const platformWebchatContract: {
5693
5753
  };
5694
5754
  upload: {
5695
5755
  id: string;
5756
+ status: string | null;
5696
5757
  createdAt: Date;
5697
5758
  updatedAt: Date;
5698
5759
  deletedAt: Date | null;
@@ -5701,7 +5762,6 @@ export declare const platformWebchatContract: {
5701
5762
  bucketName: string;
5702
5763
  fileSize: number;
5703
5764
  fileUrl: string | null;
5704
- status?: string | undefined;
5705
5765
  };
5706
5766
  assignee: {
5707
5767
  id: string;
@@ -6013,7 +6073,7 @@ export declare const platformWebchatContract: {
6013
6073
  deletedAt: z.ZodNullable<z.ZodDate>;
6014
6074
  message: z.ZodString;
6015
6075
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6016
- 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"]>;
6076
+ 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"]>;
6017
6077
  readAt: z.ZodDate;
6018
6078
  metadata: z.ZodAny;
6019
6079
  platformId: z.ZodString;
@@ -6412,9 +6472,10 @@ export declare const platformWebchatContract: {
6412
6472
  fileSize: z.ZodNumber;
6413
6473
  fileKey: z.ZodString;
6414
6474
  fileUrl: z.ZodNullable<z.ZodString>;
6415
- status: z.ZodOptional<z.ZodString>;
6475
+ status: z.ZodNullable<z.ZodString>;
6416
6476
  }, "strip", z.ZodTypeAny, {
6417
6477
  id: string;
6478
+ status: string | null;
6418
6479
  createdAt: Date;
6419
6480
  updatedAt: Date;
6420
6481
  deletedAt: Date | null;
@@ -6423,9 +6484,9 @@ export declare const platformWebchatContract: {
6423
6484
  bucketName: string;
6424
6485
  fileSize: number;
6425
6486
  fileUrl: string | null;
6426
- status?: string | undefined;
6427
6487
  }, {
6428
6488
  id: string;
6489
+ status: string | null;
6429
6490
  createdAt: Date;
6430
6491
  updatedAt: Date;
6431
6492
  deletedAt: Date | null;
@@ -6434,7 +6495,6 @@ export declare const platformWebchatContract: {
6434
6495
  bucketName: string;
6435
6496
  fileSize: number;
6436
6497
  fileUrl: string | null;
6437
- status?: string | undefined;
6438
6498
  }>, "many">;
6439
6499
  }, "strip", z.ZodTypeAny, {
6440
6500
  id: string;
@@ -6461,6 +6521,7 @@ export declare const platformWebchatContract: {
6461
6521
  dateValue: Date | null;
6462
6522
  uploads: {
6463
6523
  id: string;
6524
+ status: string | null;
6464
6525
  createdAt: Date;
6465
6526
  updatedAt: Date;
6466
6527
  deletedAt: Date | null;
@@ -6469,7 +6530,6 @@ export declare const platformWebchatContract: {
6469
6530
  bucketName: string;
6470
6531
  fileSize: number;
6471
6532
  fileUrl: string | null;
6472
- status?: string | undefined;
6473
6533
  }[];
6474
6534
  }, {
6475
6535
  id: string;
@@ -6496,6 +6556,7 @@ export declare const platformWebchatContract: {
6496
6556
  dateValue: Date | null;
6497
6557
  uploads: {
6498
6558
  id: string;
6559
+ status: string | null;
6499
6560
  createdAt: Date;
6500
6561
  updatedAt: Date;
6501
6562
  deletedAt: Date | null;
@@ -6504,7 +6565,6 @@ export declare const platformWebchatContract: {
6504
6565
  bucketName: string;
6505
6566
  fileSize: number;
6506
6567
  fileUrl: string | null;
6507
- status?: string | undefined;
6508
6568
  }[];
6509
6569
  }>, "many">;
6510
6570
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6644,6 +6704,7 @@ export declare const platformWebchatContract: {
6644
6704
  dateValue: Date | null;
6645
6705
  uploads: {
6646
6706
  id: string;
6707
+ status: string | null;
6647
6708
  createdAt: Date;
6648
6709
  updatedAt: Date;
6649
6710
  deletedAt: Date | null;
@@ -6652,7 +6713,6 @@ export declare const platformWebchatContract: {
6652
6713
  bucketName: string;
6653
6714
  fileSize: number;
6654
6715
  fileUrl: string | null;
6655
- status?: string | undefined;
6656
6716
  }[];
6657
6717
  }[];
6658
6718
  company: {
@@ -6755,6 +6815,7 @@ export declare const platformWebchatContract: {
6755
6815
  dateValue: Date | null;
6756
6816
  uploads: {
6757
6817
  id: string;
6818
+ status: string | null;
6758
6819
  createdAt: Date;
6759
6820
  updatedAt: Date;
6760
6821
  deletedAt: Date | null;
@@ -6763,7 +6824,6 @@ export declare const platformWebchatContract: {
6763
6824
  bucketName: string;
6764
6825
  fileSize: number;
6765
6826
  fileUrl: string | null;
6766
- status?: string | undefined;
6767
6827
  }[];
6768
6828
  }[];
6769
6829
  company: {
@@ -6879,6 +6939,7 @@ export declare const platformWebchatContract: {
6879
6939
  dateValue: Date | null;
6880
6940
  uploads: {
6881
6941
  id: string;
6942
+ status: string | null;
6882
6943
  createdAt: Date;
6883
6944
  updatedAt: Date;
6884
6945
  deletedAt: Date | null;
@@ -6887,7 +6948,6 @@ export declare const platformWebchatContract: {
6887
6948
  bucketName: string;
6888
6949
  fileSize: number;
6889
6950
  fileUrl: string | null;
6890
- status?: string | undefined;
6891
6951
  }[];
6892
6952
  }[];
6893
6953
  company: {
@@ -7005,6 +7065,7 @@ export declare const platformWebchatContract: {
7005
7065
  dateValue: Date | null;
7006
7066
  uploads: {
7007
7067
  id: string;
7068
+ status: string | null;
7008
7069
  createdAt: Date;
7009
7070
  updatedAt: Date;
7010
7071
  deletedAt: Date | null;
@@ -7013,7 +7074,6 @@ export declare const platformWebchatContract: {
7013
7074
  bucketName: string;
7014
7075
  fileSize: number;
7015
7076
  fileUrl: string | null;
7016
- status?: string | undefined;
7017
7077
  }[];
7018
7078
  }[];
7019
7079
  company: {
@@ -7510,35 +7570,44 @@ export declare const platformWebchatContract: {
7510
7570
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7511
7571
  senderId: z.ZodOptional<z.ZodString>;
7512
7572
  whatsapp: z.ZodOptional<z.ZodObject<{
7513
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7514
- wabaExternalId: z.ZodString;
7515
- phoneNumberId: z.ZodString;
7516
- email: z.ZodString;
7517
- clientId: z.ZodOptional<z.ZodString>;
7518
- channelId: z.ZodOptional<z.ZodString>;
7519
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7573
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7574
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7575
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7576
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7577
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7578
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7579
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7580
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7581
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
7520
7582
  apiKey: z.ZodOptional<z.ZodString>;
7521
7583
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7584
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
7522
7585
  }, "strip", z.ZodTypeAny, {
7523
- email: string;
7524
- wabaExternalId: string;
7525
- phoneNumberId: string;
7526
- wabaBusinessId?: string | undefined;
7527
- clientId?: string | undefined;
7528
- channelId?: string | undefined;
7529
- status?: "active" | "pending" | undefined;
7586
+ wabaBusinessId?: string | null | undefined;
7587
+ wabaExternalId?: string | null | undefined;
7588
+ phoneNumberId?: string | null | undefined;
7589
+ email?: string | null | undefined;
7590
+ clientId?: string | null | undefined;
7591
+ channelId?: string | null | undefined;
7592
+ waapiInstanceId?: string | null | undefined;
7593
+ qr?: string | null | undefined;
7594
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7530
7595
  apiKey?: string | undefined;
7531
7596
  tier?: "basic" | "regular" | "premium" | undefined;
7597
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7532
7598
  }, {
7533
- email: string;
7534
- wabaExternalId: string;
7535
- phoneNumberId: string;
7536
- wabaBusinessId?: string | undefined;
7537
- clientId?: string | undefined;
7538
- channelId?: string | undefined;
7539
- status?: "active" | "pending" | undefined;
7599
+ wabaBusinessId?: string | null | undefined;
7600
+ wabaExternalId?: string | null | undefined;
7601
+ phoneNumberId?: string | null | undefined;
7602
+ email?: string | null | undefined;
7603
+ clientId?: string | null | undefined;
7604
+ channelId?: string | null | undefined;
7605
+ waapiInstanceId?: string | null | undefined;
7606
+ qr?: string | null | undefined;
7607
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7540
7608
  apiKey?: string | undefined;
7541
7609
  tier?: "basic" | "regular" | "premium" | undefined;
7610
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7542
7611
  }>>;
7543
7612
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7544
7613
  mobileNumber: z.ZodString;
@@ -7564,15 +7633,18 @@ export declare const platformWebchatContract: {
7564
7633
  additionalCredentials?: any;
7565
7634
  senderId?: string | undefined;
7566
7635
  whatsapp?: {
7567
- email: string;
7568
- wabaExternalId: string;
7569
- phoneNumberId: string;
7570
- wabaBusinessId?: string | undefined;
7571
- clientId?: string | undefined;
7572
- channelId?: string | undefined;
7573
- status?: "active" | "pending" | undefined;
7636
+ wabaBusinessId?: string | null | undefined;
7637
+ wabaExternalId?: string | null | undefined;
7638
+ phoneNumberId?: string | null | undefined;
7639
+ email?: string | null | undefined;
7640
+ clientId?: string | null | undefined;
7641
+ channelId?: string | null | undefined;
7642
+ waapiInstanceId?: string | null | undefined;
7643
+ qr?: string | null | undefined;
7644
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7574
7645
  apiKey?: string | undefined;
7575
7646
  tier?: "basic" | "regular" | "premium" | undefined;
7647
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7576
7648
  } | undefined;
7577
7649
  vonageCredentials?: {
7578
7650
  apiKey: string;
@@ -7590,15 +7662,18 @@ export declare const platformWebchatContract: {
7590
7662
  additionalCredentials?: any;
7591
7663
  senderId?: string | undefined;
7592
7664
  whatsapp?: {
7593
- email: string;
7594
- wabaExternalId: string;
7595
- phoneNumberId: string;
7596
- wabaBusinessId?: string | undefined;
7597
- clientId?: string | undefined;
7598
- channelId?: string | undefined;
7599
- status?: "active" | "pending" | undefined;
7665
+ wabaBusinessId?: string | null | undefined;
7666
+ wabaExternalId?: string | null | undefined;
7667
+ phoneNumberId?: string | null | undefined;
7668
+ email?: string | null | undefined;
7669
+ clientId?: string | null | undefined;
7670
+ channelId?: string | null | undefined;
7671
+ waapiInstanceId?: string | null | undefined;
7672
+ qr?: string | null | undefined;
7673
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7600
7674
  apiKey?: string | undefined;
7601
7675
  tier?: "basic" | "regular" | "premium" | undefined;
7676
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7602
7677
  } | undefined;
7603
7678
  vonageCredentials?: {
7604
7679
  apiKey: string;
@@ -7850,15 +7925,18 @@ export declare const platformWebchatContract: {
7850
7925
  additionalCredentials?: any;
7851
7926
  senderId?: string | undefined;
7852
7927
  whatsapp?: {
7853
- email: string;
7854
- wabaExternalId: string;
7855
- phoneNumberId: string;
7856
- wabaBusinessId?: string | undefined;
7857
- clientId?: string | undefined;
7858
- channelId?: string | undefined;
7859
- status?: "active" | "pending" | undefined;
7928
+ wabaBusinessId?: string | null | undefined;
7929
+ wabaExternalId?: string | null | undefined;
7930
+ phoneNumberId?: string | null | undefined;
7931
+ email?: string | null | undefined;
7932
+ clientId?: string | null | undefined;
7933
+ channelId?: string | null | undefined;
7934
+ waapiInstanceId?: string | null | undefined;
7935
+ qr?: string | null | undefined;
7936
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7860
7937
  apiKey?: string | undefined;
7861
7938
  tier?: "basic" | "regular" | "premium" | undefined;
7939
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7862
7940
  } | undefined;
7863
7941
  vonageCredentials?: {
7864
7942
  apiKey: string;
@@ -7941,15 +8019,18 @@ export declare const platformWebchatContract: {
7941
8019
  additionalCredentials?: any;
7942
8020
  senderId?: string | undefined;
7943
8021
  whatsapp?: {
7944
- email: string;
7945
- wabaExternalId: string;
7946
- phoneNumberId: string;
7947
- wabaBusinessId?: string | undefined;
7948
- clientId?: string | undefined;
7949
- channelId?: string | undefined;
7950
- status?: "active" | "pending" | undefined;
8022
+ wabaBusinessId?: string | null | undefined;
8023
+ wabaExternalId?: string | null | undefined;
8024
+ phoneNumberId?: string | null | undefined;
8025
+ email?: string | null | undefined;
8026
+ clientId?: string | null | undefined;
8027
+ channelId?: string | null | undefined;
8028
+ waapiInstanceId?: string | null | undefined;
8029
+ qr?: string | null | undefined;
8030
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7951
8031
  apiKey?: string | undefined;
7952
8032
  tier?: "basic" | "regular" | "premium" | undefined;
8033
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7953
8034
  } | undefined;
7954
8035
  vonageCredentials?: {
7955
8036
  apiKey: string;
@@ -8596,15 +8677,18 @@ export declare const platformWebchatContract: {
8596
8677
  additionalCredentials?: any;
8597
8678
  senderId?: string | undefined;
8598
8679
  whatsapp?: {
8599
- email: string;
8600
- wabaExternalId: string;
8601
- phoneNumberId: string;
8602
- wabaBusinessId?: string | undefined;
8603
- clientId?: string | undefined;
8604
- channelId?: string | undefined;
8605
- status?: "active" | "pending" | undefined;
8680
+ wabaBusinessId?: string | null | undefined;
8681
+ wabaExternalId?: string | null | undefined;
8682
+ phoneNumberId?: string | null | undefined;
8683
+ email?: string | null | undefined;
8684
+ clientId?: string | null | undefined;
8685
+ channelId?: string | null | undefined;
8686
+ waapiInstanceId?: string | null | undefined;
8687
+ qr?: string | null | undefined;
8688
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8606
8689
  apiKey?: string | undefined;
8607
8690
  tier?: "basic" | "regular" | "premium" | undefined;
8691
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8608
8692
  } | undefined;
8609
8693
  vonageCredentials?: {
8610
8694
  apiKey: string;
@@ -8776,6 +8860,7 @@ export declare const platformWebchatContract: {
8776
8860
  dateValue: Date | null;
8777
8861
  uploads: {
8778
8862
  id: string;
8863
+ status: string | null;
8779
8864
  createdAt: Date;
8780
8865
  updatedAt: Date;
8781
8866
  deletedAt: Date | null;
@@ -8784,7 +8869,6 @@ export declare const platformWebchatContract: {
8784
8869
  bucketName: string;
8785
8870
  fileSize: number;
8786
8871
  fileUrl: string | null;
8787
- status?: string | undefined;
8788
8872
  }[];
8789
8873
  }[];
8790
8874
  company: {
@@ -9020,15 +9104,18 @@ export declare const platformWebchatContract: {
9020
9104
  additionalCredentials?: any;
9021
9105
  senderId?: string | undefined;
9022
9106
  whatsapp?: {
9023
- email: string;
9024
- wabaExternalId: string;
9025
- phoneNumberId: string;
9026
- wabaBusinessId?: string | undefined;
9027
- clientId?: string | undefined;
9028
- channelId?: string | undefined;
9029
- status?: "active" | "pending" | undefined;
9107
+ wabaBusinessId?: string | null | undefined;
9108
+ wabaExternalId?: string | null | undefined;
9109
+ phoneNumberId?: string | null | undefined;
9110
+ email?: string | null | undefined;
9111
+ clientId?: string | null | undefined;
9112
+ channelId?: string | null | undefined;
9113
+ waapiInstanceId?: string | null | undefined;
9114
+ qr?: string | null | undefined;
9115
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9030
9116
  apiKey?: string | undefined;
9031
9117
  tier?: "basic" | "regular" | "premium" | undefined;
9118
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9032
9119
  } | undefined;
9033
9120
  vonageCredentials?: {
9034
9121
  apiKey: string;
@@ -9200,6 +9287,7 @@ export declare const platformWebchatContract: {
9200
9287
  dateValue: Date | null;
9201
9288
  uploads: {
9202
9289
  id: string;
9290
+ status: string | null;
9203
9291
  createdAt: Date;
9204
9292
  updatedAt: Date;
9205
9293
  deletedAt: Date | null;
@@ -9208,7 +9296,6 @@ export declare const platformWebchatContract: {
9208
9296
  bucketName: string;
9209
9297
  fileSize: number;
9210
9298
  fileUrl: string | null;
9211
- status?: string | undefined;
9212
9299
  }[];
9213
9300
  }[];
9214
9301
  company: {
@@ -9441,9 +9528,10 @@ export declare const platformWebchatContract: {
9441
9528
  fileSize: z.ZodNumber;
9442
9529
  fileKey: z.ZodString;
9443
9530
  fileUrl: z.ZodNullable<z.ZodString>;
9444
- status: z.ZodOptional<z.ZodString>;
9531
+ status: z.ZodNullable<z.ZodString>;
9445
9532
  }, "strip", z.ZodTypeAny, {
9446
9533
  id: string;
9534
+ status: string | null;
9447
9535
  createdAt: Date;
9448
9536
  updatedAt: Date;
9449
9537
  deletedAt: Date | null;
@@ -9452,9 +9540,9 @@ export declare const platformWebchatContract: {
9452
9540
  bucketName: string;
9453
9541
  fileSize: number;
9454
9542
  fileUrl: string | null;
9455
- status?: string | undefined;
9456
9543
  }, {
9457
9544
  id: string;
9545
+ status: string | null;
9458
9546
  createdAt: Date;
9459
9547
  updatedAt: Date;
9460
9548
  deletedAt: Date | null;
@@ -9463,7 +9551,6 @@ export declare const platformWebchatContract: {
9463
9551
  bucketName: string;
9464
9552
  fileSize: number;
9465
9553
  fileUrl: string | null;
9466
- status?: string | undefined;
9467
9554
  }>;
9468
9555
  repliedMessage: z.ZodLazy<z.ZodObject<{
9469
9556
  id: z.ZodString;
@@ -9472,7 +9559,7 @@ export declare const platformWebchatContract: {
9472
9559
  deletedAt: z.ZodNullable<z.ZodDate>;
9473
9560
  message: z.ZodString;
9474
9561
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9475
- 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"]>;
9562
+ 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"]>;
9476
9563
  readAt: z.ZodDate;
9477
9564
  metadata: z.ZodAny;
9478
9565
  platformId: z.ZodString;
@@ -9493,9 +9580,10 @@ export declare const platformWebchatContract: {
9493
9580
  fileSize: z.ZodNumber;
9494
9581
  fileKey: z.ZodString;
9495
9582
  fileUrl: z.ZodNullable<z.ZodString>;
9496
- status: z.ZodOptional<z.ZodString>;
9583
+ status: z.ZodNullable<z.ZodString>;
9497
9584
  }, "strip", z.ZodTypeAny, {
9498
9585
  id: string;
9586
+ status: string | null;
9499
9587
  createdAt: Date;
9500
9588
  updatedAt: Date;
9501
9589
  deletedAt: Date | null;
@@ -9504,9 +9592,9 @@ export declare const platformWebchatContract: {
9504
9592
  bucketName: string;
9505
9593
  fileSize: number;
9506
9594
  fileUrl: string | null;
9507
- status?: string | undefined;
9508
9595
  }, {
9509
9596
  id: string;
9597
+ status: string | null;
9510
9598
  createdAt: Date;
9511
9599
  updatedAt: Date;
9512
9600
  deletedAt: Date | null;
@@ -9515,7 +9603,6 @@ export declare const platformWebchatContract: {
9515
9603
  bucketName: string;
9516
9604
  fileSize: number;
9517
9605
  fileUrl: string | null;
9518
- status?: string | undefined;
9519
9606
  }>;
9520
9607
  actor: z.ZodObject<{
9521
9608
  id: z.ZodString;
@@ -10130,7 +10217,7 @@ export declare const platformWebchatContract: {
10130
10217
  };
10131
10218
  }>;
10132
10219
  }, "strip", z.ZodTypeAny, {
10133
- 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";
10220
+ 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";
10134
10221
  message: string;
10135
10222
  id: string;
10136
10223
  url: string;
@@ -10184,6 +10271,7 @@ export declare const platformWebchatContract: {
10184
10271
  };
10185
10272
  upload: {
10186
10273
  id: string;
10274
+ status: string | null;
10187
10275
  createdAt: Date;
10188
10276
  updatedAt: Date;
10189
10277
  deletedAt: Date | null;
@@ -10192,7 +10280,6 @@ export declare const platformWebchatContract: {
10192
10280
  bucketName: string;
10193
10281
  fileSize: number;
10194
10282
  fileUrl: string | null;
10195
- status?: string | undefined;
10196
10283
  };
10197
10284
  assignee: {
10198
10285
  id: string;
@@ -10292,7 +10379,7 @@ export declare const platformWebchatContract: {
10292
10379
  metadata?: any;
10293
10380
  template?: any;
10294
10381
  }, {
10295
- 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";
10382
+ 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";
10296
10383
  message: string;
10297
10384
  id: string;
10298
10385
  url: string;
@@ -10346,6 +10433,7 @@ export declare const platformWebchatContract: {
10346
10433
  };
10347
10434
  upload: {
10348
10435
  id: string;
10436
+ status: string | null;
10349
10437
  createdAt: Date;
10350
10438
  updatedAt: Date;
10351
10439
  deletedAt: Date | null;
@@ -10354,7 +10442,6 @@ export declare const platformWebchatContract: {
10354
10442
  bucketName: string;
10355
10443
  fileSize: number;
10356
10444
  fileUrl: string | null;
10357
- status?: string | undefined;
10358
10445
  };
10359
10446
  assignee: {
10360
10447
  id: string;
@@ -11094,7 +11181,7 @@ export declare const platformWebchatContract: {
11094
11181
  editedMessageid: z.ZodString;
11095
11182
  label: z.ZodOptional<z.ZodString>;
11096
11183
  }, "strip", z.ZodTypeAny, {
11097
- 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";
11184
+ 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";
11098
11185
  message: string;
11099
11186
  id: string;
11100
11187
  url: string;
@@ -11148,6 +11235,7 @@ export declare const platformWebchatContract: {
11148
11235
  };
11149
11236
  upload: {
11150
11237
  id: string;
11238
+ status: string | null;
11151
11239
  createdAt: Date;
11152
11240
  updatedAt: Date;
11153
11241
  deletedAt: Date | null;
@@ -11156,7 +11244,6 @@ export declare const platformWebchatContract: {
11156
11244
  bucketName: string;
11157
11245
  fileSize: number;
11158
11246
  fileUrl: string | null;
11159
- status?: string | undefined;
11160
11247
  };
11161
11248
  assignee: {
11162
11249
  id: string;
@@ -11217,15 +11304,18 @@ export declare const platformWebchatContract: {
11217
11304
  additionalCredentials?: any;
11218
11305
  senderId?: string | undefined;
11219
11306
  whatsapp?: {
11220
- email: string;
11221
- wabaExternalId: string;
11222
- phoneNumberId: string;
11223
- wabaBusinessId?: string | undefined;
11224
- clientId?: string | undefined;
11225
- channelId?: string | undefined;
11226
- status?: "active" | "pending" | undefined;
11307
+ wabaBusinessId?: string | null | undefined;
11308
+ wabaExternalId?: string | null | undefined;
11309
+ phoneNumberId?: string | null | undefined;
11310
+ email?: string | null | undefined;
11311
+ clientId?: string | null | undefined;
11312
+ channelId?: string | null | undefined;
11313
+ waapiInstanceId?: string | null | undefined;
11314
+ qr?: string | null | undefined;
11315
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11227
11316
  apiKey?: string | undefined;
11228
11317
  tier?: "basic" | "regular" | "premium" | undefined;
11318
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11229
11319
  } | undefined;
11230
11320
  vonageCredentials?: {
11231
11321
  apiKey: string;
@@ -11397,6 +11487,7 @@ export declare const platformWebchatContract: {
11397
11487
  dateValue: Date | null;
11398
11488
  uploads: {
11399
11489
  id: string;
11490
+ status: string | null;
11400
11491
  createdAt: Date;
11401
11492
  updatedAt: Date;
11402
11493
  deletedAt: Date | null;
@@ -11405,7 +11496,6 @@ export declare const platformWebchatContract: {
11405
11496
  bucketName: string;
11406
11497
  fileSize: number;
11407
11498
  fileUrl: string | null;
11408
- status?: string | undefined;
11409
11499
  }[];
11410
11500
  }[];
11411
11501
  company: {
@@ -11644,7 +11734,7 @@ export declare const platformWebchatContract: {
11644
11734
  previewUrl: string;
11645
11735
  imageSetId: string;
11646
11736
  repliedMessage: {
11647
- 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";
11737
+ 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";
11648
11738
  message: string;
11649
11739
  id: string;
11650
11740
  url: string;
@@ -11698,6 +11788,7 @@ export declare const platformWebchatContract: {
11698
11788
  };
11699
11789
  upload: {
11700
11790
  id: string;
11791
+ status: string | null;
11701
11792
  createdAt: Date;
11702
11793
  updatedAt: Date;
11703
11794
  deletedAt: Date | null;
@@ -11706,7 +11797,6 @@ export declare const platformWebchatContract: {
11706
11797
  bucketName: string;
11707
11798
  fileSize: number;
11708
11799
  fileUrl: string | null;
11709
- status?: string | undefined;
11710
11800
  };
11711
11801
  assignee: {
11712
11802
  id: string;
@@ -11855,7 +11945,7 @@ export declare const platformWebchatContract: {
11855
11945
  template?: any;
11856
11946
  label?: string | undefined;
11857
11947
  }, {
11858
- 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";
11948
+ 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";
11859
11949
  message: string;
11860
11950
  id: string;
11861
11951
  url: string;
@@ -11909,6 +11999,7 @@ export declare const platformWebchatContract: {
11909
11999
  };
11910
12000
  upload: {
11911
12001
  id: string;
12002
+ status: string | null;
11912
12003
  createdAt: Date;
11913
12004
  updatedAt: Date;
11914
12005
  deletedAt: Date | null;
@@ -11917,7 +12008,6 @@ export declare const platformWebchatContract: {
11917
12008
  bucketName: string;
11918
12009
  fileSize: number;
11919
12010
  fileUrl: string | null;
11920
- status?: string | undefined;
11921
12011
  };
11922
12012
  assignee: {
11923
12013
  id: string;
@@ -11978,15 +12068,18 @@ export declare const platformWebchatContract: {
11978
12068
  additionalCredentials?: any;
11979
12069
  senderId?: string | undefined;
11980
12070
  whatsapp?: {
11981
- email: string;
11982
- wabaExternalId: string;
11983
- phoneNumberId: string;
11984
- wabaBusinessId?: string | undefined;
11985
- clientId?: string | undefined;
11986
- channelId?: string | undefined;
11987
- status?: "active" | "pending" | undefined;
12071
+ wabaBusinessId?: string | null | undefined;
12072
+ wabaExternalId?: string | null | undefined;
12073
+ phoneNumberId?: string | null | undefined;
12074
+ email?: string | null | undefined;
12075
+ clientId?: string | null | undefined;
12076
+ channelId?: string | null | undefined;
12077
+ waapiInstanceId?: string | null | undefined;
12078
+ qr?: string | null | undefined;
12079
+ status?: "active" | "pending" | "waapi-qr" | undefined;
11988
12080
  apiKey?: string | undefined;
11989
12081
  tier?: "basic" | "regular" | "premium" | undefined;
12082
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
11990
12083
  } | undefined;
11991
12084
  vonageCredentials?: {
11992
12085
  apiKey: string;
@@ -12158,6 +12251,7 @@ export declare const platformWebchatContract: {
12158
12251
  dateValue: Date | null;
12159
12252
  uploads: {
12160
12253
  id: string;
12254
+ status: string | null;
12161
12255
  createdAt: Date;
12162
12256
  updatedAt: Date;
12163
12257
  deletedAt: Date | null;
@@ -12166,7 +12260,6 @@ export declare const platformWebchatContract: {
12166
12260
  bucketName: string;
12167
12261
  fileSize: number;
12168
12262
  fileUrl: string | null;
12169
- status?: string | undefined;
12170
12263
  }[];
12171
12264
  }[];
12172
12265
  company: {
@@ -12405,7 +12498,7 @@ export declare const platformWebchatContract: {
12405
12498
  previewUrl: string;
12406
12499
  imageSetId: string;
12407
12500
  repliedMessage: {
12408
- 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";
12501
+ 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";
12409
12502
  message: string;
12410
12503
  id: string;
12411
12504
  url: string;
@@ -12459,6 +12552,7 @@ export declare const platformWebchatContract: {
12459
12552
  };
12460
12553
  upload: {
12461
12554
  id: string;
12555
+ status: string | null;
12462
12556
  createdAt: Date;
12463
12557
  updatedAt: Date;
12464
12558
  deletedAt: Date | null;
@@ -12467,7 +12561,6 @@ export declare const platformWebchatContract: {
12467
12561
  bucketName: string;
12468
12562
  fileSize: number;
12469
12563
  fileUrl: string | null;
12470
- status?: string | undefined;
12471
12564
  };
12472
12565
  assignee: {
12473
12566
  id: string;
@@ -12617,7 +12710,7 @@ export declare const platformWebchatContract: {
12617
12710
  label?: string | undefined;
12618
12711
  }>>>;
12619
12712
  }, "strip", z.ZodTypeAny, {
12620
- 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";
12713
+ 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";
12621
12714
  message: string;
12622
12715
  id: string;
12623
12716
  url: string;
@@ -12671,6 +12764,7 @@ export declare const platformWebchatContract: {
12671
12764
  };
12672
12765
  upload: {
12673
12766
  id: string;
12767
+ status: string | null;
12674
12768
  createdAt: Date;
12675
12769
  updatedAt: Date;
12676
12770
  deletedAt: Date | null;
@@ -12679,7 +12773,6 @@ export declare const platformWebchatContract: {
12679
12773
  bucketName: string;
12680
12774
  fileSize: number;
12681
12775
  fileUrl: string | null;
12682
- status?: string | undefined;
12683
12776
  };
12684
12777
  assignee: {
12685
12778
  id: string;
@@ -12740,15 +12833,18 @@ export declare const platformWebchatContract: {
12740
12833
  additionalCredentials?: any;
12741
12834
  senderId?: string | undefined;
12742
12835
  whatsapp?: {
12743
- email: string;
12744
- wabaExternalId: string;
12745
- phoneNumberId: string;
12746
- wabaBusinessId?: string | undefined;
12747
- clientId?: string | undefined;
12748
- channelId?: string | undefined;
12749
- status?: "active" | "pending" | undefined;
12836
+ wabaBusinessId?: string | null | undefined;
12837
+ wabaExternalId?: string | null | undefined;
12838
+ phoneNumberId?: string | null | undefined;
12839
+ email?: string | null | undefined;
12840
+ clientId?: string | null | undefined;
12841
+ channelId?: string | null | undefined;
12842
+ waapiInstanceId?: string | null | undefined;
12843
+ qr?: string | null | undefined;
12844
+ status?: "active" | "pending" | "waapi-qr" | undefined;
12750
12845
  apiKey?: string | undefined;
12751
12846
  tier?: "basic" | "regular" | "premium" | undefined;
12847
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
12752
12848
  } | undefined;
12753
12849
  vonageCredentials?: {
12754
12850
  apiKey: string;
@@ -12920,6 +13016,7 @@ export declare const platformWebchatContract: {
12920
13016
  dateValue: Date | null;
12921
13017
  uploads: {
12922
13018
  id: string;
13019
+ status: string | null;
12923
13020
  createdAt: Date;
12924
13021
  updatedAt: Date;
12925
13022
  deletedAt: Date | null;
@@ -12928,7 +13025,6 @@ export declare const platformWebchatContract: {
12928
13025
  bucketName: string;
12929
13026
  fileSize: number;
12930
13027
  fileUrl: string | null;
12931
- status?: string | undefined;
12932
13028
  }[];
12933
13029
  }[];
12934
13030
  company: {
@@ -13167,7 +13263,7 @@ export declare const platformWebchatContract: {
13167
13263
  previewUrl: string;
13168
13264
  imageSetId: string;
13169
13265
  repliedMessage: {
13170
- 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";
13266
+ 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";
13171
13267
  message: string;
13172
13268
  id: string;
13173
13269
  url: string;
@@ -13221,6 +13317,7 @@ export declare const platformWebchatContract: {
13221
13317
  };
13222
13318
  upload: {
13223
13319
  id: string;
13320
+ status: string | null;
13224
13321
  createdAt: Date;
13225
13322
  updatedAt: Date;
13226
13323
  deletedAt: Date | null;
@@ -13229,7 +13326,6 @@ export declare const platformWebchatContract: {
13229
13326
  bucketName: string;
13230
13327
  fileSize: number;
13231
13328
  fileUrl: string | null;
13232
- status?: string | undefined;
13233
13329
  };
13234
13330
  assignee: {
13235
13331
  id: string;
@@ -13378,7 +13474,7 @@ export declare const platformWebchatContract: {
13378
13474
  template?: any;
13379
13475
  metadata?: any;
13380
13476
  fromMessage?: {
13381
- 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";
13477
+ 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";
13382
13478
  message: string;
13383
13479
  id: string;
13384
13480
  url: string;
@@ -13432,6 +13528,7 @@ export declare const platformWebchatContract: {
13432
13528
  };
13433
13529
  upload: {
13434
13530
  id: string;
13531
+ status: string | null;
13435
13532
  createdAt: Date;
13436
13533
  updatedAt: Date;
13437
13534
  deletedAt: Date | null;
@@ -13440,7 +13537,6 @@ export declare const platformWebchatContract: {
13440
13537
  bucketName: string;
13441
13538
  fileSize: number;
13442
13539
  fileUrl: string | null;
13443
- status?: string | undefined;
13444
13540
  };
13445
13541
  assignee: {
13446
13542
  id: string;
@@ -13501,15 +13597,18 @@ export declare const platformWebchatContract: {
13501
13597
  additionalCredentials?: any;
13502
13598
  senderId?: string | undefined;
13503
13599
  whatsapp?: {
13504
- email: string;
13505
- wabaExternalId: string;
13506
- phoneNumberId: string;
13507
- wabaBusinessId?: string | undefined;
13508
- clientId?: string | undefined;
13509
- channelId?: string | undefined;
13510
- status?: "active" | "pending" | undefined;
13600
+ wabaBusinessId?: string | null | undefined;
13601
+ wabaExternalId?: string | null | undefined;
13602
+ phoneNumberId?: string | null | undefined;
13603
+ email?: string | null | undefined;
13604
+ clientId?: string | null | undefined;
13605
+ channelId?: string | null | undefined;
13606
+ waapiInstanceId?: string | null | undefined;
13607
+ qr?: string | null | undefined;
13608
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13511
13609
  apiKey?: string | undefined;
13512
13610
  tier?: "basic" | "regular" | "premium" | undefined;
13611
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13513
13612
  } | undefined;
13514
13613
  vonageCredentials?: {
13515
13614
  apiKey: string;
@@ -13681,6 +13780,7 @@ export declare const platformWebchatContract: {
13681
13780
  dateValue: Date | null;
13682
13781
  uploads: {
13683
13782
  id: string;
13783
+ status: string | null;
13684
13784
  createdAt: Date;
13685
13785
  updatedAt: Date;
13686
13786
  deletedAt: Date | null;
@@ -13689,7 +13789,6 @@ export declare const platformWebchatContract: {
13689
13789
  bucketName: string;
13690
13790
  fileSize: number;
13691
13791
  fileUrl: string | null;
13692
- status?: string | undefined;
13693
13792
  }[];
13694
13793
  }[];
13695
13794
  company: {
@@ -13928,7 +14027,7 @@ export declare const platformWebchatContract: {
13928
14027
  previewUrl: string;
13929
14028
  imageSetId: string;
13930
14029
  repliedMessage: {
13931
- 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";
14030
+ 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";
13932
14031
  message: string;
13933
14032
  id: string;
13934
14033
  url: string;
@@ -13982,6 +14081,7 @@ export declare const platformWebchatContract: {
13982
14081
  };
13983
14082
  upload: {
13984
14083
  id: string;
14084
+ status: string | null;
13985
14085
  createdAt: Date;
13986
14086
  updatedAt: Date;
13987
14087
  deletedAt: Date | null;
@@ -13990,7 +14090,6 @@ export declare const platformWebchatContract: {
13990
14090
  bucketName: string;
13991
14091
  fileSize: number;
13992
14092
  fileUrl: string | null;
13993
- status?: string | undefined;
13994
14093
  };
13995
14094
  assignee: {
13996
14095
  id: string;
@@ -14140,7 +14239,7 @@ export declare const platformWebchatContract: {
14140
14239
  label?: string | undefined;
14141
14240
  } | null | undefined;
14142
14241
  }, {
14143
- 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";
14242
+ 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";
14144
14243
  message: string;
14145
14244
  id: string;
14146
14245
  url: string;
@@ -14194,6 +14293,7 @@ export declare const platformWebchatContract: {
14194
14293
  };
14195
14294
  upload: {
14196
14295
  id: string;
14296
+ status: string | null;
14197
14297
  createdAt: Date;
14198
14298
  updatedAt: Date;
14199
14299
  deletedAt: Date | null;
@@ -14202,7 +14302,6 @@ export declare const platformWebchatContract: {
14202
14302
  bucketName: string;
14203
14303
  fileSize: number;
14204
14304
  fileUrl: string | null;
14205
- status?: string | undefined;
14206
14305
  };
14207
14306
  assignee: {
14208
14307
  id: string;
@@ -14263,15 +14362,18 @@ export declare const platformWebchatContract: {
14263
14362
  additionalCredentials?: any;
14264
14363
  senderId?: string | undefined;
14265
14364
  whatsapp?: {
14266
- email: string;
14267
- wabaExternalId: string;
14268
- phoneNumberId: string;
14269
- wabaBusinessId?: string | undefined;
14270
- clientId?: string | undefined;
14271
- channelId?: string | undefined;
14272
- status?: "active" | "pending" | undefined;
14365
+ wabaBusinessId?: string | null | undefined;
14366
+ wabaExternalId?: string | null | undefined;
14367
+ phoneNumberId?: string | null | undefined;
14368
+ email?: string | null | undefined;
14369
+ clientId?: string | null | undefined;
14370
+ channelId?: string | null | undefined;
14371
+ waapiInstanceId?: string | null | undefined;
14372
+ qr?: string | null | undefined;
14373
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14273
14374
  apiKey?: string | undefined;
14274
14375
  tier?: "basic" | "regular" | "premium" | undefined;
14376
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14275
14377
  } | undefined;
14276
14378
  vonageCredentials?: {
14277
14379
  apiKey: string;
@@ -14443,6 +14545,7 @@ export declare const platformWebchatContract: {
14443
14545
  dateValue: Date | null;
14444
14546
  uploads: {
14445
14547
  id: string;
14548
+ status: string | null;
14446
14549
  createdAt: Date;
14447
14550
  updatedAt: Date;
14448
14551
  deletedAt: Date | null;
@@ -14451,7 +14554,6 @@ export declare const platformWebchatContract: {
14451
14554
  bucketName: string;
14452
14555
  fileSize: number;
14453
14556
  fileUrl: string | null;
14454
- status?: string | undefined;
14455
14557
  }[];
14456
14558
  }[];
14457
14559
  company: {
@@ -14690,7 +14792,7 @@ export declare const platformWebchatContract: {
14690
14792
  previewUrl: string;
14691
14793
  imageSetId: string;
14692
14794
  repliedMessage: {
14693
- 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";
14795
+ 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";
14694
14796
  message: string;
14695
14797
  id: string;
14696
14798
  url: string;
@@ -14744,6 +14846,7 @@ export declare const platformWebchatContract: {
14744
14846
  };
14745
14847
  upload: {
14746
14848
  id: string;
14849
+ status: string | null;
14747
14850
  createdAt: Date;
14748
14851
  updatedAt: Date;
14749
14852
  deletedAt: Date | null;
@@ -14752,7 +14855,6 @@ export declare const platformWebchatContract: {
14752
14855
  bucketName: string;
14753
14856
  fileSize: number;
14754
14857
  fileUrl: string | null;
14755
- status?: string | undefined;
14756
14858
  };
14757
14859
  assignee: {
14758
14860
  id: string;
@@ -14901,7 +15003,7 @@ export declare const platformWebchatContract: {
14901
15003
  template?: any;
14902
15004
  metadata?: any;
14903
15005
  fromMessage?: {
14904
- 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";
15006
+ 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";
14905
15007
  message: string;
14906
15008
  id: string;
14907
15009
  url: string;
@@ -14955,6 +15057,7 @@ export declare const platformWebchatContract: {
14955
15057
  };
14956
15058
  upload: {
14957
15059
  id: string;
15060
+ status: string | null;
14958
15061
  createdAt: Date;
14959
15062
  updatedAt: Date;
14960
15063
  deletedAt: Date | null;
@@ -14963,7 +15066,6 @@ export declare const platformWebchatContract: {
14963
15066
  bucketName: string;
14964
15067
  fileSize: number;
14965
15068
  fileUrl: string | null;
14966
- status?: string | undefined;
14967
15069
  };
14968
15070
  assignee: {
14969
15071
  id: string;
@@ -15024,15 +15126,18 @@ export declare const platformWebchatContract: {
15024
15126
  additionalCredentials?: any;
15025
15127
  senderId?: string | undefined;
15026
15128
  whatsapp?: {
15027
- email: string;
15028
- wabaExternalId: string;
15029
- phoneNumberId: string;
15030
- wabaBusinessId?: string | undefined;
15031
- clientId?: string | undefined;
15032
- channelId?: string | undefined;
15033
- status?: "active" | "pending" | undefined;
15129
+ wabaBusinessId?: string | null | undefined;
15130
+ wabaExternalId?: string | null | undefined;
15131
+ phoneNumberId?: string | null | undefined;
15132
+ email?: string | null | undefined;
15133
+ clientId?: string | null | undefined;
15134
+ channelId?: string | null | undefined;
15135
+ waapiInstanceId?: string | null | undefined;
15136
+ qr?: string | null | undefined;
15137
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15034
15138
  apiKey?: string | undefined;
15035
15139
  tier?: "basic" | "regular" | "premium" | undefined;
15140
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15036
15141
  } | undefined;
15037
15142
  vonageCredentials?: {
15038
15143
  apiKey: string;
@@ -15204,6 +15309,7 @@ export declare const platformWebchatContract: {
15204
15309
  dateValue: Date | null;
15205
15310
  uploads: {
15206
15311
  id: string;
15312
+ status: string | null;
15207
15313
  createdAt: Date;
15208
15314
  updatedAt: Date;
15209
15315
  deletedAt: Date | null;
@@ -15212,7 +15318,6 @@ export declare const platformWebchatContract: {
15212
15318
  bucketName: string;
15213
15319
  fileSize: number;
15214
15320
  fileUrl: string | null;
15215
- status?: string | undefined;
15216
15321
  }[];
15217
15322
  }[];
15218
15323
  company: {
@@ -15451,7 +15556,7 @@ export declare const platformWebchatContract: {
15451
15556
  previewUrl: string;
15452
15557
  imageSetId: string;
15453
15558
  repliedMessage: {
15454
- 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";
15559
+ 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";
15455
15560
  message: string;
15456
15561
  id: string;
15457
15562
  url: string;
@@ -15505,6 +15610,7 @@ export declare const platformWebchatContract: {
15505
15610
  };
15506
15611
  upload: {
15507
15612
  id: string;
15613
+ status: string | null;
15508
15614
  createdAt: Date;
15509
15615
  updatedAt: Date;
15510
15616
  deletedAt: Date | null;
@@ -15513,7 +15619,6 @@ export declare const platformWebchatContract: {
15513
15619
  bucketName: string;
15514
15620
  fileSize: number;
15515
15621
  fileUrl: string | null;
15516
- status?: string | undefined;
15517
15622
  };
15518
15623
  assignee: {
15519
15624
  id: string;
@@ -15665,7 +15770,7 @@ export declare const platformWebchatContract: {
15665
15770
  }>;
15666
15771
  }, "strip", z.ZodTypeAny, {
15667
15772
  data: {
15668
- 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";
15773
+ 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";
15669
15774
  message: string;
15670
15775
  id: string;
15671
15776
  url: string;
@@ -15719,6 +15824,7 @@ export declare const platformWebchatContract: {
15719
15824
  };
15720
15825
  upload: {
15721
15826
  id: string;
15827
+ status: string | null;
15722
15828
  createdAt: Date;
15723
15829
  updatedAt: Date;
15724
15830
  deletedAt: Date | null;
@@ -15727,7 +15833,6 @@ export declare const platformWebchatContract: {
15727
15833
  bucketName: string;
15728
15834
  fileSize: number;
15729
15835
  fileUrl: string | null;
15730
- status?: string | undefined;
15731
15836
  };
15732
15837
  assignee: {
15733
15838
  id: string;
@@ -15788,15 +15893,18 @@ export declare const platformWebchatContract: {
15788
15893
  additionalCredentials?: any;
15789
15894
  senderId?: string | undefined;
15790
15895
  whatsapp?: {
15791
- email: string;
15792
- wabaExternalId: string;
15793
- phoneNumberId: string;
15794
- wabaBusinessId?: string | undefined;
15795
- clientId?: string | undefined;
15796
- channelId?: string | undefined;
15797
- status?: "active" | "pending" | undefined;
15896
+ wabaBusinessId?: string | null | undefined;
15897
+ wabaExternalId?: string | null | undefined;
15898
+ phoneNumberId?: string | null | undefined;
15899
+ email?: string | null | undefined;
15900
+ clientId?: string | null | undefined;
15901
+ channelId?: string | null | undefined;
15902
+ waapiInstanceId?: string | null | undefined;
15903
+ qr?: string | null | undefined;
15904
+ status?: "active" | "pending" | "waapi-qr" | undefined;
15798
15905
  apiKey?: string | undefined;
15799
15906
  tier?: "basic" | "regular" | "premium" | undefined;
15907
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
15800
15908
  } | undefined;
15801
15909
  vonageCredentials?: {
15802
15910
  apiKey: string;
@@ -15968,6 +16076,7 @@ export declare const platformWebchatContract: {
15968
16076
  dateValue: Date | null;
15969
16077
  uploads: {
15970
16078
  id: string;
16079
+ status: string | null;
15971
16080
  createdAt: Date;
15972
16081
  updatedAt: Date;
15973
16082
  deletedAt: Date | null;
@@ -15976,7 +16085,6 @@ export declare const platformWebchatContract: {
15976
16085
  bucketName: string;
15977
16086
  fileSize: number;
15978
16087
  fileUrl: string | null;
15979
- status?: string | undefined;
15980
16088
  }[];
15981
16089
  }[];
15982
16090
  company: {
@@ -16215,7 +16323,7 @@ export declare const platformWebchatContract: {
16215
16323
  previewUrl: string;
16216
16324
  imageSetId: string;
16217
16325
  repliedMessage: {
16218
- 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";
16326
+ 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";
16219
16327
  message: string;
16220
16328
  id: string;
16221
16329
  url: string;
@@ -16269,6 +16377,7 @@ export declare const platformWebchatContract: {
16269
16377
  };
16270
16378
  upload: {
16271
16379
  id: string;
16380
+ status: string | null;
16272
16381
  createdAt: Date;
16273
16382
  updatedAt: Date;
16274
16383
  deletedAt: Date | null;
@@ -16277,7 +16386,6 @@ export declare const platformWebchatContract: {
16277
16386
  bucketName: string;
16278
16387
  fileSize: number;
16279
16388
  fileUrl: string | null;
16280
- status?: string | undefined;
16281
16389
  };
16282
16390
  assignee: {
16283
16391
  id: string;
@@ -16426,7 +16534,7 @@ export declare const platformWebchatContract: {
16426
16534
  template?: any;
16427
16535
  metadata?: any;
16428
16536
  fromMessage?: {
16429
- 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";
16537
+ 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";
16430
16538
  message: string;
16431
16539
  id: string;
16432
16540
  url: string;
@@ -16480,6 +16588,7 @@ export declare const platformWebchatContract: {
16480
16588
  };
16481
16589
  upload: {
16482
16590
  id: string;
16591
+ status: string | null;
16483
16592
  createdAt: Date;
16484
16593
  updatedAt: Date;
16485
16594
  deletedAt: Date | null;
@@ -16488,7 +16597,6 @@ export declare const platformWebchatContract: {
16488
16597
  bucketName: string;
16489
16598
  fileSize: number;
16490
16599
  fileUrl: string | null;
16491
- status?: string | undefined;
16492
16600
  };
16493
16601
  assignee: {
16494
16602
  id: string;
@@ -16549,15 +16657,18 @@ export declare const platformWebchatContract: {
16549
16657
  additionalCredentials?: any;
16550
16658
  senderId?: string | undefined;
16551
16659
  whatsapp?: {
16552
- email: string;
16553
- wabaExternalId: string;
16554
- phoneNumberId: string;
16555
- wabaBusinessId?: string | undefined;
16556
- clientId?: string | undefined;
16557
- channelId?: string | undefined;
16558
- status?: "active" | "pending" | undefined;
16660
+ wabaBusinessId?: string | null | undefined;
16661
+ wabaExternalId?: string | null | undefined;
16662
+ phoneNumberId?: string | null | undefined;
16663
+ email?: string | null | undefined;
16664
+ clientId?: string | null | undefined;
16665
+ channelId?: string | null | undefined;
16666
+ waapiInstanceId?: string | null | undefined;
16667
+ qr?: string | null | undefined;
16668
+ status?: "active" | "pending" | "waapi-qr" | undefined;
16559
16669
  apiKey?: string | undefined;
16560
16670
  tier?: "basic" | "regular" | "premium" | undefined;
16671
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
16561
16672
  } | undefined;
16562
16673
  vonageCredentials?: {
16563
16674
  apiKey: string;
@@ -16729,6 +16840,7 @@ export declare const platformWebchatContract: {
16729
16840
  dateValue: Date | null;
16730
16841
  uploads: {
16731
16842
  id: string;
16843
+ status: string | null;
16732
16844
  createdAt: Date;
16733
16845
  updatedAt: Date;
16734
16846
  deletedAt: Date | null;
@@ -16737,7 +16849,6 @@ export declare const platformWebchatContract: {
16737
16849
  bucketName: string;
16738
16850
  fileSize: number;
16739
16851
  fileUrl: string | null;
16740
- status?: string | undefined;
16741
16852
  }[];
16742
16853
  }[];
16743
16854
  company: {
@@ -16976,7 +17087,7 @@ export declare const platformWebchatContract: {
16976
17087
  previewUrl: string;
16977
17088
  imageSetId: string;
16978
17089
  repliedMessage: {
16979
- 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";
17090
+ 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";
16980
17091
  message: string;
16981
17092
  id: string;
16982
17093
  url: string;
@@ -17030,6 +17141,7 @@ export declare const platformWebchatContract: {
17030
17141
  };
17031
17142
  upload: {
17032
17143
  id: string;
17144
+ status: string | null;
17033
17145
  createdAt: Date;
17034
17146
  updatedAt: Date;
17035
17147
  deletedAt: Date | null;
@@ -17038,7 +17150,6 @@ export declare const platformWebchatContract: {
17038
17150
  bucketName: string;
17039
17151
  fileSize: number;
17040
17152
  fileUrl: string | null;
17041
- status?: string | undefined;
17042
17153
  };
17043
17154
  assignee: {
17044
17155
  id: string;
@@ -17191,7 +17302,7 @@ export declare const platformWebchatContract: {
17191
17302
  requestId: string;
17192
17303
  }, {
17193
17304
  data: {
17194
- 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";
17305
+ 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";
17195
17306
  message: string;
17196
17307
  id: string;
17197
17308
  url: string;
@@ -17245,6 +17356,7 @@ export declare const platformWebchatContract: {
17245
17356
  };
17246
17357
  upload: {
17247
17358
  id: string;
17359
+ status: string | null;
17248
17360
  createdAt: Date;
17249
17361
  updatedAt: Date;
17250
17362
  deletedAt: Date | null;
@@ -17253,7 +17365,6 @@ export declare const platformWebchatContract: {
17253
17365
  bucketName: string;
17254
17366
  fileSize: number;
17255
17367
  fileUrl: string | null;
17256
- status?: string | undefined;
17257
17368
  };
17258
17369
  assignee: {
17259
17370
  id: string;
@@ -17314,15 +17425,18 @@ export declare const platformWebchatContract: {
17314
17425
  additionalCredentials?: any;
17315
17426
  senderId?: string | undefined;
17316
17427
  whatsapp?: {
17317
- email: string;
17318
- wabaExternalId: string;
17319
- phoneNumberId: string;
17320
- wabaBusinessId?: string | undefined;
17321
- clientId?: string | undefined;
17322
- channelId?: string | undefined;
17323
- status?: "active" | "pending" | undefined;
17428
+ wabaBusinessId?: string | null | undefined;
17429
+ wabaExternalId?: string | null | undefined;
17430
+ phoneNumberId?: string | null | undefined;
17431
+ email?: string | null | undefined;
17432
+ clientId?: string | null | undefined;
17433
+ channelId?: string | null | undefined;
17434
+ waapiInstanceId?: string | null | undefined;
17435
+ qr?: string | null | undefined;
17436
+ status?: "active" | "pending" | "waapi-qr" | undefined;
17324
17437
  apiKey?: string | undefined;
17325
17438
  tier?: "basic" | "regular" | "premium" | undefined;
17439
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
17326
17440
  } | undefined;
17327
17441
  vonageCredentials?: {
17328
17442
  apiKey: string;
@@ -17494,6 +17608,7 @@ export declare const platformWebchatContract: {
17494
17608
  dateValue: Date | null;
17495
17609
  uploads: {
17496
17610
  id: string;
17611
+ status: string | null;
17497
17612
  createdAt: Date;
17498
17613
  updatedAt: Date;
17499
17614
  deletedAt: Date | null;
@@ -17502,7 +17617,6 @@ export declare const platformWebchatContract: {
17502
17617
  bucketName: string;
17503
17618
  fileSize: number;
17504
17619
  fileUrl: string | null;
17505
- status?: string | undefined;
17506
17620
  }[];
17507
17621
  }[];
17508
17622
  company: {
@@ -17741,7 +17855,7 @@ export declare const platformWebchatContract: {
17741
17855
  previewUrl: string;
17742
17856
  imageSetId: string;
17743
17857
  repliedMessage: {
17744
- 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";
17858
+ 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";
17745
17859
  message: string;
17746
17860
  id: string;
17747
17861
  url: string;
@@ -17795,6 +17909,7 @@ export declare const platformWebchatContract: {
17795
17909
  };
17796
17910
  upload: {
17797
17911
  id: string;
17912
+ status: string | null;
17798
17913
  createdAt: Date;
17799
17914
  updatedAt: Date;
17800
17915
  deletedAt: Date | null;
@@ -17803,7 +17918,6 @@ export declare const platformWebchatContract: {
17803
17918
  bucketName: string;
17804
17919
  fileSize: number;
17805
17920
  fileUrl: string | null;
17806
- status?: string | undefined;
17807
17921
  };
17808
17922
  assignee: {
17809
17923
  id: string;
@@ -17952,7 +18066,7 @@ export declare const platformWebchatContract: {
17952
18066
  template?: any;
17953
18067
  metadata?: any;
17954
18068
  fromMessage?: {
17955
- 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";
18069
+ 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";
17956
18070
  message: string;
17957
18071
  id: string;
17958
18072
  url: string;
@@ -18006,6 +18120,7 @@ export declare const platformWebchatContract: {
18006
18120
  };
18007
18121
  upload: {
18008
18122
  id: string;
18123
+ status: string | null;
18009
18124
  createdAt: Date;
18010
18125
  updatedAt: Date;
18011
18126
  deletedAt: Date | null;
@@ -18014,7 +18129,6 @@ export declare const platformWebchatContract: {
18014
18129
  bucketName: string;
18015
18130
  fileSize: number;
18016
18131
  fileUrl: string | null;
18017
- status?: string | undefined;
18018
18132
  };
18019
18133
  assignee: {
18020
18134
  id: string;
@@ -18075,15 +18189,18 @@ export declare const platformWebchatContract: {
18075
18189
  additionalCredentials?: any;
18076
18190
  senderId?: string | undefined;
18077
18191
  whatsapp?: {
18078
- email: string;
18079
- wabaExternalId: string;
18080
- phoneNumberId: string;
18081
- wabaBusinessId?: string | undefined;
18082
- clientId?: string | undefined;
18083
- channelId?: string | undefined;
18084
- status?: "active" | "pending" | undefined;
18192
+ wabaBusinessId?: string | null | undefined;
18193
+ wabaExternalId?: string | null | undefined;
18194
+ phoneNumberId?: string | null | undefined;
18195
+ email?: string | null | undefined;
18196
+ clientId?: string | null | undefined;
18197
+ channelId?: string | null | undefined;
18198
+ waapiInstanceId?: string | null | undefined;
18199
+ qr?: string | null | undefined;
18200
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18085
18201
  apiKey?: string | undefined;
18086
18202
  tier?: "basic" | "regular" | "premium" | undefined;
18203
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18087
18204
  } | undefined;
18088
18205
  vonageCredentials?: {
18089
18206
  apiKey: string;
@@ -18255,6 +18372,7 @@ export declare const platformWebchatContract: {
18255
18372
  dateValue: Date | null;
18256
18373
  uploads: {
18257
18374
  id: string;
18375
+ status: string | null;
18258
18376
  createdAt: Date;
18259
18377
  updatedAt: Date;
18260
18378
  deletedAt: Date | null;
@@ -18263,7 +18381,6 @@ export declare const platformWebchatContract: {
18263
18381
  bucketName: string;
18264
18382
  fileSize: number;
18265
18383
  fileUrl: string | null;
18266
- status?: string | undefined;
18267
18384
  }[];
18268
18385
  }[];
18269
18386
  company: {
@@ -18502,7 +18619,7 @@ export declare const platformWebchatContract: {
18502
18619
  previewUrl: string;
18503
18620
  imageSetId: string;
18504
18621
  repliedMessage: {
18505
- 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";
18622
+ 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";
18506
18623
  message: string;
18507
18624
  id: string;
18508
18625
  url: string;
@@ -18556,6 +18673,7 @@ export declare const platformWebchatContract: {
18556
18673
  };
18557
18674
  upload: {
18558
18675
  id: string;
18676
+ status: string | null;
18559
18677
  createdAt: Date;
18560
18678
  updatedAt: Date;
18561
18679
  deletedAt: Date | null;
@@ -18564,7 +18682,6 @@ export declare const platformWebchatContract: {
18564
18682
  bucketName: string;
18565
18683
  fileSize: number;
18566
18684
  fileUrl: string | null;
18567
- status?: string | undefined;
18568
18685
  };
18569
18686
  assignee: {
18570
18687
  id: string;
@@ -18853,35 +18970,44 @@ export declare const platformWebchatContract: {
18853
18970
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18854
18971
  senderId: z.ZodOptional<z.ZodString>;
18855
18972
  whatsapp: z.ZodOptional<z.ZodObject<{
18856
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18857
- wabaExternalId: z.ZodString;
18858
- phoneNumberId: z.ZodString;
18859
- email: z.ZodString;
18860
- clientId: z.ZodOptional<z.ZodString>;
18861
- channelId: z.ZodOptional<z.ZodString>;
18862
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18973
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18974
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18975
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18976
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18977
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18978
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18979
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18980
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18981
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
18863
18982
  apiKey: z.ZodOptional<z.ZodString>;
18864
18983
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18984
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
18865
18985
  }, "strip", z.ZodTypeAny, {
18866
- email: string;
18867
- wabaExternalId: string;
18868
- phoneNumberId: string;
18869
- wabaBusinessId?: string | undefined;
18870
- clientId?: string | undefined;
18871
- channelId?: string | undefined;
18872
- status?: "active" | "pending" | undefined;
18986
+ wabaBusinessId?: string | null | undefined;
18987
+ wabaExternalId?: string | null | undefined;
18988
+ phoneNumberId?: string | null | undefined;
18989
+ email?: string | null | undefined;
18990
+ clientId?: string | null | undefined;
18991
+ channelId?: string | null | undefined;
18992
+ waapiInstanceId?: string | null | undefined;
18993
+ qr?: string | null | undefined;
18994
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18873
18995
  apiKey?: string | undefined;
18874
18996
  tier?: "basic" | "regular" | "premium" | undefined;
18997
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18875
18998
  }, {
18876
- email: string;
18877
- wabaExternalId: string;
18878
- phoneNumberId: string;
18879
- wabaBusinessId?: string | undefined;
18880
- clientId?: string | undefined;
18881
- channelId?: string | undefined;
18882
- status?: "active" | "pending" | undefined;
18999
+ wabaBusinessId?: string | null | undefined;
19000
+ wabaExternalId?: string | null | undefined;
19001
+ phoneNumberId?: string | null | undefined;
19002
+ email?: string | null | undefined;
19003
+ clientId?: string | null | undefined;
19004
+ channelId?: string | null | undefined;
19005
+ waapiInstanceId?: string | null | undefined;
19006
+ qr?: string | null | undefined;
19007
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18883
19008
  apiKey?: string | undefined;
18884
19009
  tier?: "basic" | "regular" | "premium" | undefined;
19010
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18885
19011
  }>>;
18886
19012
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18887
19013
  mobileNumber: z.ZodString;
@@ -18907,15 +19033,18 @@ export declare const platformWebchatContract: {
18907
19033
  additionalCredentials?: any;
18908
19034
  senderId?: string | undefined;
18909
19035
  whatsapp?: {
18910
- email: string;
18911
- wabaExternalId: string;
18912
- phoneNumberId: string;
18913
- wabaBusinessId?: string | undefined;
18914
- clientId?: string | undefined;
18915
- channelId?: string | undefined;
18916
- status?: "active" | "pending" | undefined;
19036
+ wabaBusinessId?: string | null | undefined;
19037
+ wabaExternalId?: string | null | undefined;
19038
+ phoneNumberId?: string | null | undefined;
19039
+ email?: string | null | undefined;
19040
+ clientId?: string | null | undefined;
19041
+ channelId?: string | null | undefined;
19042
+ waapiInstanceId?: string | null | undefined;
19043
+ qr?: string | null | undefined;
19044
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18917
19045
  apiKey?: string | undefined;
18918
19046
  tier?: "basic" | "regular" | "premium" | undefined;
19047
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18919
19048
  } | undefined;
18920
19049
  vonageCredentials?: {
18921
19050
  apiKey: string;
@@ -18933,15 +19062,18 @@ export declare const platformWebchatContract: {
18933
19062
  additionalCredentials?: any;
18934
19063
  senderId?: string | undefined;
18935
19064
  whatsapp?: {
18936
- email: string;
18937
- wabaExternalId: string;
18938
- phoneNumberId: string;
18939
- wabaBusinessId?: string | undefined;
18940
- clientId?: string | undefined;
18941
- channelId?: string | undefined;
18942
- status?: "active" | "pending" | undefined;
19065
+ wabaBusinessId?: string | null | undefined;
19066
+ wabaExternalId?: string | null | undefined;
19067
+ phoneNumberId?: string | null | undefined;
19068
+ email?: string | null | undefined;
19069
+ clientId?: string | null | undefined;
19070
+ channelId?: string | null | undefined;
19071
+ waapiInstanceId?: string | null | undefined;
19072
+ qr?: string | null | undefined;
19073
+ status?: "active" | "pending" | "waapi-qr" | undefined;
18943
19074
  apiKey?: string | undefined;
18944
19075
  tier?: "basic" | "regular" | "premium" | undefined;
19076
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
18945
19077
  } | undefined;
18946
19078
  vonageCredentials?: {
18947
19079
  apiKey: string;
@@ -19193,15 +19325,18 @@ export declare const platformWebchatContract: {
19193
19325
  additionalCredentials?: any;
19194
19326
  senderId?: string | undefined;
19195
19327
  whatsapp?: {
19196
- email: string;
19197
- wabaExternalId: string;
19198
- phoneNumberId: string;
19199
- wabaBusinessId?: string | undefined;
19200
- clientId?: string | undefined;
19201
- channelId?: string | undefined;
19202
- status?: "active" | "pending" | undefined;
19328
+ wabaBusinessId?: string | null | undefined;
19329
+ wabaExternalId?: string | null | undefined;
19330
+ phoneNumberId?: string | null | undefined;
19331
+ email?: string | null | undefined;
19332
+ clientId?: string | null | undefined;
19333
+ channelId?: string | null | undefined;
19334
+ waapiInstanceId?: string | null | undefined;
19335
+ qr?: string | null | undefined;
19336
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19203
19337
  apiKey?: string | undefined;
19204
19338
  tier?: "basic" | "regular" | "premium" | undefined;
19339
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19205
19340
  } | undefined;
19206
19341
  vonageCredentials?: {
19207
19342
  apiKey: string;
@@ -19284,15 +19419,18 @@ export declare const platformWebchatContract: {
19284
19419
  additionalCredentials?: any;
19285
19420
  senderId?: string | undefined;
19286
19421
  whatsapp?: {
19287
- email: string;
19288
- wabaExternalId: string;
19289
- phoneNumberId: string;
19290
- wabaBusinessId?: string | undefined;
19291
- clientId?: string | undefined;
19292
- channelId?: string | undefined;
19293
- status?: "active" | "pending" | undefined;
19422
+ wabaBusinessId?: string | null | undefined;
19423
+ wabaExternalId?: string | null | undefined;
19424
+ phoneNumberId?: string | null | undefined;
19425
+ email?: string | null | undefined;
19426
+ clientId?: string | null | undefined;
19427
+ channelId?: string | null | undefined;
19428
+ waapiInstanceId?: string | null | undefined;
19429
+ qr?: string | null | undefined;
19430
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19294
19431
  apiKey?: string | undefined;
19295
19432
  tier?: "basic" | "regular" | "premium" | undefined;
19433
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19296
19434
  } | undefined;
19297
19435
  vonageCredentials?: {
19298
19436
  apiKey: string;
@@ -19377,15 +19515,18 @@ export declare const platformWebchatContract: {
19377
19515
  additionalCredentials?: any;
19378
19516
  senderId?: string | undefined;
19379
19517
  whatsapp?: {
19380
- email: string;
19381
- wabaExternalId: string;
19382
- phoneNumberId: string;
19383
- wabaBusinessId?: string | undefined;
19384
- clientId?: string | undefined;
19385
- channelId?: string | undefined;
19386
- status?: "active" | "pending" | undefined;
19518
+ wabaBusinessId?: string | null | undefined;
19519
+ wabaExternalId?: string | null | undefined;
19520
+ phoneNumberId?: string | null | undefined;
19521
+ email?: string | null | undefined;
19522
+ clientId?: string | null | undefined;
19523
+ channelId?: string | null | undefined;
19524
+ waapiInstanceId?: string | null | undefined;
19525
+ qr?: string | null | undefined;
19526
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19387
19527
  apiKey?: string | undefined;
19388
19528
  tier?: "basic" | "regular" | "premium" | undefined;
19529
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19389
19530
  } | undefined;
19390
19531
  vonageCredentials?: {
19391
19532
  apiKey: string;
@@ -19471,15 +19612,18 @@ export declare const platformWebchatContract: {
19471
19612
  additionalCredentials?: any;
19472
19613
  senderId?: string | undefined;
19473
19614
  whatsapp?: {
19474
- email: string;
19475
- wabaExternalId: string;
19476
- phoneNumberId: string;
19477
- wabaBusinessId?: string | undefined;
19478
- clientId?: string | undefined;
19479
- channelId?: string | undefined;
19480
- status?: "active" | "pending" | undefined;
19615
+ wabaBusinessId?: string | null | undefined;
19616
+ wabaExternalId?: string | null | undefined;
19617
+ phoneNumberId?: string | null | undefined;
19618
+ email?: string | null | undefined;
19619
+ clientId?: string | null | undefined;
19620
+ channelId?: string | null | undefined;
19621
+ waapiInstanceId?: string | null | undefined;
19622
+ qr?: string | null | undefined;
19623
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19481
19624
  apiKey?: string | undefined;
19482
19625
  tier?: "basic" | "regular" | "premium" | undefined;
19626
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19483
19627
  } | undefined;
19484
19628
  vonageCredentials?: {
19485
19629
  apiKey: string;
@@ -19600,35 +19744,44 @@ export declare const platformWebchatContract: {
19600
19744
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19601
19745
  senderId: z.ZodOptional<z.ZodString>;
19602
19746
  whatsapp: z.ZodOptional<z.ZodObject<{
19603
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19604
- wabaExternalId: z.ZodString;
19605
- phoneNumberId: z.ZodString;
19606
- email: z.ZodString;
19607
- clientId: z.ZodOptional<z.ZodString>;
19608
- channelId: z.ZodOptional<z.ZodString>;
19609
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19747
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19748
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19749
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19750
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19751
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19752
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19753
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19754
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19755
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19610
19756
  apiKey: z.ZodOptional<z.ZodString>;
19611
19757
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19758
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19612
19759
  }, "strip", z.ZodTypeAny, {
19613
- email: string;
19614
- wabaExternalId: string;
19615
- phoneNumberId: string;
19616
- wabaBusinessId?: string | undefined;
19617
- clientId?: string | undefined;
19618
- channelId?: string | undefined;
19619
- status?: "active" | "pending" | undefined;
19760
+ wabaBusinessId?: string | null | undefined;
19761
+ wabaExternalId?: string | null | undefined;
19762
+ phoneNumberId?: string | null | undefined;
19763
+ email?: string | null | undefined;
19764
+ clientId?: string | null | undefined;
19765
+ channelId?: string | null | undefined;
19766
+ waapiInstanceId?: string | null | undefined;
19767
+ qr?: string | null | undefined;
19768
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19620
19769
  apiKey?: string | undefined;
19621
19770
  tier?: "basic" | "regular" | "premium" | undefined;
19771
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19622
19772
  }, {
19623
- email: string;
19624
- wabaExternalId: string;
19625
- phoneNumberId: string;
19626
- wabaBusinessId?: string | undefined;
19627
- clientId?: string | undefined;
19628
- channelId?: string | undefined;
19629
- status?: "active" | "pending" | undefined;
19773
+ wabaBusinessId?: string | null | undefined;
19774
+ wabaExternalId?: string | null | undefined;
19775
+ phoneNumberId?: string | null | undefined;
19776
+ email?: string | null | undefined;
19777
+ clientId?: string | null | undefined;
19778
+ channelId?: string | null | undefined;
19779
+ waapiInstanceId?: string | null | undefined;
19780
+ qr?: string | null | undefined;
19781
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19630
19782
  apiKey?: string | undefined;
19631
19783
  tier?: "basic" | "regular" | "premium" | undefined;
19784
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19632
19785
  }>>;
19633
19786
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19634
19787
  mobileNumber: z.ZodString;
@@ -19654,15 +19807,18 @@ export declare const platformWebchatContract: {
19654
19807
  additionalCredentials?: any;
19655
19808
  senderId?: string | undefined;
19656
19809
  whatsapp?: {
19657
- email: string;
19658
- wabaExternalId: string;
19659
- phoneNumberId: string;
19660
- wabaBusinessId?: string | undefined;
19661
- clientId?: string | undefined;
19662
- channelId?: string | undefined;
19663
- status?: "active" | "pending" | undefined;
19810
+ wabaBusinessId?: string | null | undefined;
19811
+ wabaExternalId?: string | null | undefined;
19812
+ phoneNumberId?: string | null | undefined;
19813
+ email?: string | null | undefined;
19814
+ clientId?: string | null | undefined;
19815
+ channelId?: string | null | undefined;
19816
+ waapiInstanceId?: string | null | undefined;
19817
+ qr?: string | null | undefined;
19818
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19664
19819
  apiKey?: string | undefined;
19665
19820
  tier?: "basic" | "regular" | "premium" | undefined;
19821
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19666
19822
  } | undefined;
19667
19823
  vonageCredentials?: {
19668
19824
  apiKey: string;
@@ -19680,15 +19836,18 @@ export declare const platformWebchatContract: {
19680
19836
  additionalCredentials?: any;
19681
19837
  senderId?: string | undefined;
19682
19838
  whatsapp?: {
19683
- email: string;
19684
- wabaExternalId: string;
19685
- phoneNumberId: string;
19686
- wabaBusinessId?: string | undefined;
19687
- clientId?: string | undefined;
19688
- channelId?: string | undefined;
19689
- status?: "active" | "pending" | undefined;
19839
+ wabaBusinessId?: string | null | undefined;
19840
+ wabaExternalId?: string | null | undefined;
19841
+ phoneNumberId?: string | null | undefined;
19842
+ email?: string | null | undefined;
19843
+ clientId?: string | null | undefined;
19844
+ channelId?: string | null | undefined;
19845
+ waapiInstanceId?: string | null | undefined;
19846
+ qr?: string | null | undefined;
19847
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19690
19848
  apiKey?: string | undefined;
19691
19849
  tier?: "basic" | "regular" | "premium" | undefined;
19850
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19692
19851
  } | undefined;
19693
19852
  vonageCredentials?: {
19694
19853
  apiKey: string;
@@ -19736,15 +19895,18 @@ export declare const platformWebchatContract: {
19736
19895
  additionalCredentials?: any;
19737
19896
  senderId?: string | undefined;
19738
19897
  whatsapp?: {
19739
- email: string;
19740
- wabaExternalId: string;
19741
- phoneNumberId: string;
19742
- wabaBusinessId?: string | undefined;
19743
- clientId?: string | undefined;
19744
- channelId?: string | undefined;
19745
- status?: "active" | "pending" | undefined;
19898
+ wabaBusinessId?: string | null | undefined;
19899
+ wabaExternalId?: string | null | undefined;
19900
+ phoneNumberId?: string | null | undefined;
19901
+ email?: string | null | undefined;
19902
+ clientId?: string | null | undefined;
19903
+ channelId?: string | null | undefined;
19904
+ waapiInstanceId?: string | null | undefined;
19905
+ qr?: string | null | undefined;
19906
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19746
19907
  apiKey?: string | undefined;
19747
19908
  tier?: "basic" | "regular" | "premium" | undefined;
19909
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19748
19910
  } | undefined;
19749
19911
  vonageCredentials?: {
19750
19912
  apiKey: string;
@@ -19780,15 +19942,18 @@ export declare const platformWebchatContract: {
19780
19942
  additionalCredentials?: any;
19781
19943
  senderId?: string | undefined;
19782
19944
  whatsapp?: {
19783
- email: string;
19784
- wabaExternalId: string;
19785
- phoneNumberId: string;
19786
- wabaBusinessId?: string | undefined;
19787
- clientId?: string | undefined;
19788
- channelId?: string | undefined;
19789
- status?: "active" | "pending" | undefined;
19945
+ wabaBusinessId?: string | null | undefined;
19946
+ wabaExternalId?: string | null | undefined;
19947
+ phoneNumberId?: string | null | undefined;
19948
+ email?: string | null | undefined;
19949
+ clientId?: string | null | undefined;
19950
+ channelId?: string | null | undefined;
19951
+ waapiInstanceId?: string | null | undefined;
19952
+ qr?: string | null | undefined;
19953
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19790
19954
  apiKey?: string | undefined;
19791
19955
  tier?: "basic" | "regular" | "premium" | undefined;
19956
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19792
19957
  } | undefined;
19793
19958
  vonageCredentials?: {
19794
19959
  apiKey: string;
@@ -19826,15 +19991,18 @@ export declare const platformWebchatContract: {
19826
19991
  additionalCredentials?: any;
19827
19992
  senderId?: string | undefined;
19828
19993
  whatsapp?: {
19829
- email: string;
19830
- wabaExternalId: string;
19831
- phoneNumberId: string;
19832
- wabaBusinessId?: string | undefined;
19833
- clientId?: string | undefined;
19834
- channelId?: string | undefined;
19835
- status?: "active" | "pending" | undefined;
19994
+ wabaBusinessId?: string | null | undefined;
19995
+ wabaExternalId?: string | null | undefined;
19996
+ phoneNumberId?: string | null | undefined;
19997
+ email?: string | null | undefined;
19998
+ clientId?: string | null | undefined;
19999
+ channelId?: string | null | undefined;
20000
+ waapiInstanceId?: string | null | undefined;
20001
+ qr?: string | null | undefined;
20002
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19836
20003
  apiKey?: string | undefined;
19837
20004
  tier?: "basic" | "regular" | "premium" | undefined;
20005
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19838
20006
  } | undefined;
19839
20007
  vonageCredentials?: {
19840
20008
  apiKey: string;
@@ -19873,15 +20041,18 @@ export declare const platformWebchatContract: {
19873
20041
  additionalCredentials?: any;
19874
20042
  senderId?: string | undefined;
19875
20043
  whatsapp?: {
19876
- email: string;
19877
- wabaExternalId: string;
19878
- phoneNumberId: string;
19879
- wabaBusinessId?: string | undefined;
19880
- clientId?: string | undefined;
19881
- channelId?: string | undefined;
19882
- status?: "active" | "pending" | undefined;
20044
+ wabaBusinessId?: string | null | undefined;
20045
+ wabaExternalId?: string | null | undefined;
20046
+ phoneNumberId?: string | null | undefined;
20047
+ email?: string | null | undefined;
20048
+ clientId?: string | null | undefined;
20049
+ channelId?: string | null | undefined;
20050
+ waapiInstanceId?: string | null | undefined;
20051
+ qr?: string | null | undefined;
20052
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19883
20053
  apiKey?: string | undefined;
19884
20054
  tier?: "basic" | "regular" | "premium" | undefined;
20055
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19885
20056
  } | undefined;
19886
20057
  vonageCredentials?: {
19887
20058
  apiKey: string;
@@ -19956,35 +20127,44 @@ export declare const platformWebchatContract: {
19956
20127
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19957
20128
  senderId: z.ZodOptional<z.ZodString>;
19958
20129
  whatsapp: z.ZodOptional<z.ZodObject<{
19959
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19960
- wabaExternalId: z.ZodString;
19961
- phoneNumberId: z.ZodString;
19962
- email: z.ZodString;
19963
- clientId: z.ZodOptional<z.ZodString>;
19964
- channelId: z.ZodOptional<z.ZodString>;
19965
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20130
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20131
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20132
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20133
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20134
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20135
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20136
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20137
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20138
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
19966
20139
  apiKey: z.ZodOptional<z.ZodString>;
19967
20140
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20141
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
19968
20142
  }, "strip", z.ZodTypeAny, {
19969
- email: string;
19970
- wabaExternalId: string;
19971
- phoneNumberId: string;
19972
- wabaBusinessId?: string | undefined;
19973
- clientId?: string | undefined;
19974
- channelId?: string | undefined;
19975
- status?: "active" | "pending" | undefined;
20143
+ wabaBusinessId?: string | null | undefined;
20144
+ wabaExternalId?: string | null | undefined;
20145
+ phoneNumberId?: string | null | undefined;
20146
+ email?: string | null | undefined;
20147
+ clientId?: string | null | undefined;
20148
+ channelId?: string | null | undefined;
20149
+ waapiInstanceId?: string | null | undefined;
20150
+ qr?: string | null | undefined;
20151
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19976
20152
  apiKey?: string | undefined;
19977
20153
  tier?: "basic" | "regular" | "premium" | undefined;
20154
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19978
20155
  }, {
19979
- email: string;
19980
- wabaExternalId: string;
19981
- phoneNumberId: string;
19982
- wabaBusinessId?: string | undefined;
19983
- clientId?: string | undefined;
19984
- channelId?: string | undefined;
19985
- status?: "active" | "pending" | undefined;
20156
+ wabaBusinessId?: string | null | undefined;
20157
+ wabaExternalId?: string | null | undefined;
20158
+ phoneNumberId?: string | null | undefined;
20159
+ email?: string | null | undefined;
20160
+ clientId?: string | null | undefined;
20161
+ channelId?: string | null | undefined;
20162
+ waapiInstanceId?: string | null | undefined;
20163
+ qr?: string | null | undefined;
20164
+ status?: "active" | "pending" | "waapi-qr" | undefined;
19986
20165
  apiKey?: string | undefined;
19987
20166
  tier?: "basic" | "regular" | "premium" | undefined;
20167
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
19988
20168
  }>>;
19989
20169
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19990
20170
  mobileNumber: z.ZodString;
@@ -20010,15 +20190,18 @@ export declare const platformWebchatContract: {
20010
20190
  additionalCredentials?: any;
20011
20191
  senderId?: string | undefined;
20012
20192
  whatsapp?: {
20013
- email: string;
20014
- wabaExternalId: string;
20015
- phoneNumberId: string;
20016
- wabaBusinessId?: string | undefined;
20017
- clientId?: string | undefined;
20018
- channelId?: string | undefined;
20019
- status?: "active" | "pending" | undefined;
20193
+ wabaBusinessId?: string | null | undefined;
20194
+ wabaExternalId?: string | null | undefined;
20195
+ phoneNumberId?: string | null | undefined;
20196
+ email?: string | null | undefined;
20197
+ clientId?: string | null | undefined;
20198
+ channelId?: string | null | undefined;
20199
+ waapiInstanceId?: string | null | undefined;
20200
+ qr?: string | null | undefined;
20201
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20020
20202
  apiKey?: string | undefined;
20021
20203
  tier?: "basic" | "regular" | "premium" | undefined;
20204
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20022
20205
  } | undefined;
20023
20206
  vonageCredentials?: {
20024
20207
  apiKey: string;
@@ -20036,15 +20219,18 @@ export declare const platformWebchatContract: {
20036
20219
  additionalCredentials?: any;
20037
20220
  senderId?: string | undefined;
20038
20221
  whatsapp?: {
20039
- email: string;
20040
- wabaExternalId: string;
20041
- phoneNumberId: string;
20042
- wabaBusinessId?: string | undefined;
20043
- clientId?: string | undefined;
20044
- channelId?: string | undefined;
20045
- status?: "active" | "pending" | undefined;
20222
+ wabaBusinessId?: string | null | undefined;
20223
+ wabaExternalId?: string | null | undefined;
20224
+ phoneNumberId?: string | null | undefined;
20225
+ email?: string | null | undefined;
20226
+ clientId?: string | null | undefined;
20227
+ channelId?: string | null | undefined;
20228
+ waapiInstanceId?: string | null | undefined;
20229
+ qr?: string | null | undefined;
20230
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20046
20231
  apiKey?: string | undefined;
20047
20232
  tier?: "basic" | "regular" | "premium" | undefined;
20233
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20048
20234
  } | undefined;
20049
20235
  vonageCredentials?: {
20050
20236
  apiKey: string;
@@ -20092,15 +20278,18 @@ export declare const platformWebchatContract: {
20092
20278
  additionalCredentials?: any;
20093
20279
  senderId?: string | undefined;
20094
20280
  whatsapp?: {
20095
- email: string;
20096
- wabaExternalId: string;
20097
- phoneNumberId: string;
20098
- wabaBusinessId?: string | undefined;
20099
- clientId?: string | undefined;
20100
- channelId?: string | undefined;
20101
- status?: "active" | "pending" | undefined;
20281
+ wabaBusinessId?: string | null | undefined;
20282
+ wabaExternalId?: string | null | undefined;
20283
+ phoneNumberId?: string | null | undefined;
20284
+ email?: string | null | undefined;
20285
+ clientId?: string | null | undefined;
20286
+ channelId?: string | null | undefined;
20287
+ waapiInstanceId?: string | null | undefined;
20288
+ qr?: string | null | undefined;
20289
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20102
20290
  apiKey?: string | undefined;
20103
20291
  tier?: "basic" | "regular" | "premium" | undefined;
20292
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20104
20293
  } | undefined;
20105
20294
  vonageCredentials?: {
20106
20295
  apiKey: string;
@@ -20136,15 +20325,18 @@ export declare const platformWebchatContract: {
20136
20325
  additionalCredentials?: any;
20137
20326
  senderId?: string | undefined;
20138
20327
  whatsapp?: {
20139
- email: string;
20140
- wabaExternalId: string;
20141
- phoneNumberId: string;
20142
- wabaBusinessId?: string | undefined;
20143
- clientId?: string | undefined;
20144
- channelId?: string | undefined;
20145
- status?: "active" | "pending" | undefined;
20328
+ wabaBusinessId?: string | null | undefined;
20329
+ wabaExternalId?: string | null | undefined;
20330
+ phoneNumberId?: string | null | undefined;
20331
+ email?: string | null | undefined;
20332
+ clientId?: string | null | undefined;
20333
+ channelId?: string | null | undefined;
20334
+ waapiInstanceId?: string | null | undefined;
20335
+ qr?: string | null | undefined;
20336
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20146
20337
  apiKey?: string | undefined;
20147
20338
  tier?: "basic" | "regular" | "premium" | undefined;
20339
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20148
20340
  } | undefined;
20149
20341
  vonageCredentials?: {
20150
20342
  apiKey: string;
@@ -20182,15 +20374,18 @@ export declare const platformWebchatContract: {
20182
20374
  additionalCredentials?: any;
20183
20375
  senderId?: string | undefined;
20184
20376
  whatsapp?: {
20185
- email: string;
20186
- wabaExternalId: string;
20187
- phoneNumberId: string;
20188
- wabaBusinessId?: string | undefined;
20189
- clientId?: string | undefined;
20190
- channelId?: string | undefined;
20191
- status?: "active" | "pending" | undefined;
20377
+ wabaBusinessId?: string | null | undefined;
20378
+ wabaExternalId?: string | null | undefined;
20379
+ phoneNumberId?: string | null | undefined;
20380
+ email?: string | null | undefined;
20381
+ clientId?: string | null | undefined;
20382
+ channelId?: string | null | undefined;
20383
+ waapiInstanceId?: string | null | undefined;
20384
+ qr?: string | null | undefined;
20385
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20192
20386
  apiKey?: string | undefined;
20193
20387
  tier?: "basic" | "regular" | "premium" | undefined;
20388
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20194
20389
  } | undefined;
20195
20390
  vonageCredentials?: {
20196
20391
  apiKey: string;
@@ -20229,15 +20424,18 @@ export declare const platformWebchatContract: {
20229
20424
  additionalCredentials?: any;
20230
20425
  senderId?: string | undefined;
20231
20426
  whatsapp?: {
20232
- email: string;
20233
- wabaExternalId: string;
20234
- phoneNumberId: string;
20235
- wabaBusinessId?: string | undefined;
20236
- clientId?: string | undefined;
20237
- channelId?: string | undefined;
20238
- status?: "active" | "pending" | undefined;
20427
+ wabaBusinessId?: string | null | undefined;
20428
+ wabaExternalId?: string | null | undefined;
20429
+ phoneNumberId?: string | null | undefined;
20430
+ email?: string | null | undefined;
20431
+ clientId?: string | null | undefined;
20432
+ channelId?: string | null | undefined;
20433
+ waapiInstanceId?: string | null | undefined;
20434
+ qr?: string | null | undefined;
20435
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20239
20436
  apiKey?: string | undefined;
20240
20437
  tier?: "basic" | "regular" | "premium" | undefined;
20438
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20241
20439
  } | undefined;
20242
20440
  vonageCredentials?: {
20243
20441
  apiKey: string;
@@ -20312,35 +20510,44 @@ export declare const platformWebchatContract: {
20312
20510
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20313
20511
  senderId: z.ZodOptional<z.ZodString>;
20314
20512
  whatsapp: z.ZodOptional<z.ZodObject<{
20315
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20316
- wabaExternalId: z.ZodString;
20317
- phoneNumberId: z.ZodString;
20318
- email: z.ZodString;
20319
- clientId: z.ZodOptional<z.ZodString>;
20320
- channelId: z.ZodOptional<z.ZodString>;
20321
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20513
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20514
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20515
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20516
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20517
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20518
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20519
+ waapiInstanceId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20520
+ qr: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20521
+ status: z.ZodOptional<z.ZodEnum<["waapi-qr", "pending", "active"]>>;
20322
20522
  apiKey: z.ZodOptional<z.ZodString>;
20323
20523
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20524
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
20324
20525
  }, "strip", z.ZodTypeAny, {
20325
- email: string;
20326
- wabaExternalId: string;
20327
- phoneNumberId: string;
20328
- wabaBusinessId?: string | undefined;
20329
- clientId?: string | undefined;
20330
- channelId?: string | undefined;
20331
- status?: "active" | "pending" | undefined;
20526
+ wabaBusinessId?: string | null | undefined;
20527
+ wabaExternalId?: string | null | undefined;
20528
+ phoneNumberId?: string | null | undefined;
20529
+ email?: string | null | undefined;
20530
+ clientId?: string | null | undefined;
20531
+ channelId?: string | null | undefined;
20532
+ waapiInstanceId?: string | null | undefined;
20533
+ qr?: string | null | undefined;
20534
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20332
20535
  apiKey?: string | undefined;
20333
20536
  tier?: "basic" | "regular" | "premium" | undefined;
20537
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20334
20538
  }, {
20335
- email: string;
20336
- wabaExternalId: string;
20337
- phoneNumberId: string;
20338
- wabaBusinessId?: string | undefined;
20339
- clientId?: string | undefined;
20340
- channelId?: string | undefined;
20341
- status?: "active" | "pending" | undefined;
20539
+ wabaBusinessId?: string | null | undefined;
20540
+ wabaExternalId?: string | null | undefined;
20541
+ phoneNumberId?: string | null | undefined;
20542
+ email?: string | null | undefined;
20543
+ clientId?: string | null | undefined;
20544
+ channelId?: string | null | undefined;
20545
+ waapiInstanceId?: string | null | undefined;
20546
+ qr?: string | null | undefined;
20547
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20342
20548
  apiKey?: string | undefined;
20343
20549
  tier?: "basic" | "regular" | "premium" | undefined;
20550
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20344
20551
  }>>;
20345
20552
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20346
20553
  mobileNumber: z.ZodString;
@@ -20366,15 +20573,18 @@ export declare const platformWebchatContract: {
20366
20573
  additionalCredentials?: any;
20367
20574
  senderId?: string | undefined;
20368
20575
  whatsapp?: {
20369
- email: string;
20370
- wabaExternalId: string;
20371
- phoneNumberId: string;
20372
- wabaBusinessId?: string | undefined;
20373
- clientId?: string | undefined;
20374
- channelId?: string | undefined;
20375
- status?: "active" | "pending" | undefined;
20576
+ wabaBusinessId?: string | null | undefined;
20577
+ wabaExternalId?: string | null | undefined;
20578
+ phoneNumberId?: string | null | undefined;
20579
+ email?: string | null | undefined;
20580
+ clientId?: string | null | undefined;
20581
+ channelId?: string | null | undefined;
20582
+ waapiInstanceId?: string | null | undefined;
20583
+ qr?: string | null | undefined;
20584
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20376
20585
  apiKey?: string | undefined;
20377
20586
  tier?: "basic" | "regular" | "premium" | undefined;
20587
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20378
20588
  } | undefined;
20379
20589
  vonageCredentials?: {
20380
20590
  apiKey: string;
@@ -20392,15 +20602,18 @@ export declare const platformWebchatContract: {
20392
20602
  additionalCredentials?: any;
20393
20603
  senderId?: string | undefined;
20394
20604
  whatsapp?: {
20395
- email: string;
20396
- wabaExternalId: string;
20397
- phoneNumberId: string;
20398
- wabaBusinessId?: string | undefined;
20399
- clientId?: string | undefined;
20400
- channelId?: string | undefined;
20401
- status?: "active" | "pending" | undefined;
20605
+ wabaBusinessId?: string | null | undefined;
20606
+ wabaExternalId?: string | null | undefined;
20607
+ phoneNumberId?: string | null | undefined;
20608
+ email?: string | null | undefined;
20609
+ clientId?: string | null | undefined;
20610
+ channelId?: string | null | undefined;
20611
+ waapiInstanceId?: string | null | undefined;
20612
+ qr?: string | null | undefined;
20613
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20402
20614
  apiKey?: string | undefined;
20403
20615
  tier?: "basic" | "regular" | "premium" | undefined;
20616
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20404
20617
  } | undefined;
20405
20618
  vonageCredentials?: {
20406
20619
  apiKey: string;
@@ -20448,15 +20661,18 @@ export declare const platformWebchatContract: {
20448
20661
  additionalCredentials?: any;
20449
20662
  senderId?: string | undefined;
20450
20663
  whatsapp?: {
20451
- email: string;
20452
- wabaExternalId: string;
20453
- phoneNumberId: string;
20454
- wabaBusinessId?: string | undefined;
20455
- clientId?: string | undefined;
20456
- channelId?: string | undefined;
20457
- status?: "active" | "pending" | undefined;
20664
+ wabaBusinessId?: string | null | undefined;
20665
+ wabaExternalId?: string | null | undefined;
20666
+ phoneNumberId?: string | null | undefined;
20667
+ email?: string | null | undefined;
20668
+ clientId?: string | null | undefined;
20669
+ channelId?: string | null | undefined;
20670
+ waapiInstanceId?: string | null | undefined;
20671
+ qr?: string | null | undefined;
20672
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20458
20673
  apiKey?: string | undefined;
20459
20674
  tier?: "basic" | "regular" | "premium" | undefined;
20675
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20460
20676
  } | undefined;
20461
20677
  vonageCredentials?: {
20462
20678
  apiKey: string;
@@ -20492,15 +20708,18 @@ export declare const platformWebchatContract: {
20492
20708
  additionalCredentials?: any;
20493
20709
  senderId?: string | undefined;
20494
20710
  whatsapp?: {
20495
- email: string;
20496
- wabaExternalId: string;
20497
- phoneNumberId: string;
20498
- wabaBusinessId?: string | undefined;
20499
- clientId?: string | undefined;
20500
- channelId?: string | undefined;
20501
- status?: "active" | "pending" | undefined;
20711
+ wabaBusinessId?: string | null | undefined;
20712
+ wabaExternalId?: string | null | undefined;
20713
+ phoneNumberId?: string | null | undefined;
20714
+ email?: string | null | undefined;
20715
+ clientId?: string | null | undefined;
20716
+ channelId?: string | null | undefined;
20717
+ waapiInstanceId?: string | null | undefined;
20718
+ qr?: string | null | undefined;
20719
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20502
20720
  apiKey?: string | undefined;
20503
20721
  tier?: "basic" | "regular" | "premium" | undefined;
20722
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20504
20723
  } | undefined;
20505
20724
  vonageCredentials?: {
20506
20725
  apiKey: string;
@@ -20538,15 +20757,18 @@ export declare const platformWebchatContract: {
20538
20757
  additionalCredentials?: any;
20539
20758
  senderId?: string | undefined;
20540
20759
  whatsapp?: {
20541
- email: string;
20542
- wabaExternalId: string;
20543
- phoneNumberId: string;
20544
- wabaBusinessId?: string | undefined;
20545
- clientId?: string | undefined;
20546
- channelId?: string | undefined;
20547
- status?: "active" | "pending" | undefined;
20760
+ wabaBusinessId?: string | null | undefined;
20761
+ wabaExternalId?: string | null | undefined;
20762
+ phoneNumberId?: string | null | undefined;
20763
+ email?: string | null | undefined;
20764
+ clientId?: string | null | undefined;
20765
+ channelId?: string | null | undefined;
20766
+ waapiInstanceId?: string | null | undefined;
20767
+ qr?: string | null | undefined;
20768
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20548
20769
  apiKey?: string | undefined;
20549
20770
  tier?: "basic" | "regular" | "premium" | undefined;
20771
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20550
20772
  } | undefined;
20551
20773
  vonageCredentials?: {
20552
20774
  apiKey: string;
@@ -20585,15 +20807,18 @@ export declare const platformWebchatContract: {
20585
20807
  additionalCredentials?: any;
20586
20808
  senderId?: string | undefined;
20587
20809
  whatsapp?: {
20588
- email: string;
20589
- wabaExternalId: string;
20590
- phoneNumberId: string;
20591
- wabaBusinessId?: string | undefined;
20592
- clientId?: string | undefined;
20593
- channelId?: string | undefined;
20594
- status?: "active" | "pending" | undefined;
20810
+ wabaBusinessId?: string | null | undefined;
20811
+ wabaExternalId?: string | null | undefined;
20812
+ phoneNumberId?: string | null | undefined;
20813
+ email?: string | null | undefined;
20814
+ clientId?: string | null | undefined;
20815
+ channelId?: string | null | undefined;
20816
+ waapiInstanceId?: string | null | undefined;
20817
+ qr?: string | null | undefined;
20818
+ status?: "active" | "pending" | "waapi-qr" | undefined;
20595
20819
  apiKey?: string | undefined;
20596
20820
  tier?: "basic" | "regular" | "premium" | undefined;
20821
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
20597
20822
  } | undefined;
20598
20823
  vonageCredentials?: {
20599
20824
  apiKey: string;