@kl1/contracts 1.2.36-uat → 1.2.38-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2971 -2760
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +87 -75
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +98 -84
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +2629 -6954
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +721 -1675
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +818 -1512
  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 +11876 -13847
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-intelligence/index.d.ts +115 -0
  21. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  22. package/dist/api-contracts/src/cx-log/index.d.ts +143 -190
  23. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/cx-log/schema.d.ts +119 -233
  25. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/index.d.ts +99 -77
  27. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/schema.d.ts +55 -12
  29. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  30. package/dist/api-contracts/src/dashboard/validation.d.ts +0 -26
  31. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  32. package/dist/api-contracts/src/extension/index.d.ts +0 -81
  33. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +1060 -1466
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +77 -68
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +60 -53
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +0 -4
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +836 -1271
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +757 -1204
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +82 -71
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/mail/mail-contract.d.ts +7 -619
  49. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  50. package/dist/api-contracts/src/mail/room-contract.d.ts +7 -619
  51. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  52. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +0 -204
  53. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +5 -165
  55. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/messenger/index.d.ts +836 -1271
  57. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/messenger/validation.d.ts +60 -53
  59. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  61. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  62. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  63. package/dist/api-contracts/src/sms/index.d.ts +146 -180
  64. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/sms/schema.d.ts +0 -22
  66. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  67. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  68. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  69. package/dist/api-contracts/src/telegram/index.d.ts +626 -1091
  70. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +89 -34
  72. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +27 -10
  74. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  76. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  77. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  78. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  79. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  80. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +8 -16
  82. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +10 -20
  84. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  85. package/dist/api-contracts/src/viber/index.d.ts +626 -1091
  86. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/webchat/index.d.ts +626 -1091
  88. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/whatsapp/index.d.ts +724 -1175
  90. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/workflow-rule/index.d.ts +183 -569
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  93. package/dist/entities/src/enums/chat.d.ts +0 -3
  94. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  95. package/dist/index.js +4369 -4862
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +4339 -4827
  98. package/dist/index.mjs.map +1 -1
  99. package/package.json +3 -7
@@ -145,35 +145,38 @@ export declare const messengerContract: {
145
145
  additionalCredentials: z.ZodOptional<z.ZodAny>;
146
146
  senderId: z.ZodOptional<z.ZodString>;
147
147
  whatsapp: z.ZodOptional<z.ZodObject<{
148
- wabaBusinessId: z.ZodOptional<z.ZodString>;
149
- wabaExternalId: z.ZodString;
150
- phoneNumberId: z.ZodString;
151
- email: z.ZodString;
152
- clientId: z.ZodOptional<z.ZodString>;
153
- channelId: z.ZodOptional<z.ZodString>;
148
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
151
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
152
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
153
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
154
154
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
155
155
  apiKey: z.ZodOptional<z.ZodString>;
156
156
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
157
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
157
158
  }, "strip", z.ZodTypeAny, {
158
- email: string;
159
- wabaExternalId: string;
160
- phoneNumberId: string;
161
- wabaBusinessId?: string | undefined;
162
- clientId?: string | undefined;
163
- channelId?: string | undefined;
159
+ wabaBusinessId?: string | null | undefined;
160
+ wabaExternalId?: string | null | undefined;
161
+ phoneNumberId?: string | null | undefined;
162
+ email?: string | null | undefined;
163
+ clientId?: string | null | undefined;
164
+ channelId?: string | null | undefined;
164
165
  status?: "active" | "pending" | undefined;
165
166
  apiKey?: string | undefined;
166
167
  tier?: "basic" | "regular" | "premium" | undefined;
168
+ integrationType?: "meta" | "360dialog" | undefined;
167
169
  }, {
168
- email: string;
169
- wabaExternalId: string;
170
- phoneNumberId: string;
171
- wabaBusinessId?: string | undefined;
172
- clientId?: string | undefined;
173
- channelId?: string | undefined;
170
+ wabaBusinessId?: string | null | undefined;
171
+ wabaExternalId?: string | null | undefined;
172
+ phoneNumberId?: string | null | undefined;
173
+ email?: string | null | undefined;
174
+ clientId?: string | null | undefined;
175
+ channelId?: string | null | undefined;
174
176
  status?: "active" | "pending" | undefined;
175
177
  apiKey?: string | undefined;
176
178
  tier?: "basic" | "regular" | "premium" | undefined;
179
+ integrationType?: "meta" | "360dialog" | undefined;
177
180
  }>>;
178
181
  vonageCredentials: z.ZodOptional<z.ZodObject<{
179
182
  mobileNumber: z.ZodString;
@@ -198,15 +201,16 @@ export declare const messengerContract: {
198
201
  additionalCredentials?: any;
199
202
  senderId?: string | undefined;
200
203
  whatsapp?: {
201
- email: string;
202
- wabaExternalId: string;
203
- phoneNumberId: string;
204
- wabaBusinessId?: string | undefined;
205
- clientId?: string | undefined;
206
- channelId?: string | 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;
207
210
  status?: "active" | "pending" | undefined;
208
211
  apiKey?: string | undefined;
209
212
  tier?: "basic" | "regular" | "premium" | undefined;
213
+ integrationType?: "meta" | "360dialog" | undefined;
210
214
  } | undefined;
211
215
  vonageCredentials?: {
212
216
  apiKey: string;
@@ -223,15 +227,16 @@ export declare const messengerContract: {
223
227
  additionalCredentials?: any;
224
228
  senderId?: string | undefined;
225
229
  whatsapp?: {
226
- email: string;
227
- wabaExternalId: string;
228
- phoneNumberId: string;
229
- wabaBusinessId?: string | undefined;
230
- clientId?: string | undefined;
231
- channelId?: string | undefined;
230
+ wabaBusinessId?: string | null | undefined;
231
+ wabaExternalId?: string | null | undefined;
232
+ phoneNumberId?: string | null | undefined;
233
+ email?: string | null | undefined;
234
+ clientId?: string | null | undefined;
235
+ channelId?: string | null | undefined;
232
236
  status?: "active" | "pending" | undefined;
233
237
  apiKey?: string | undefined;
234
238
  tier?: "basic" | "regular" | "premium" | undefined;
239
+ integrationType?: "meta" | "360dialog" | undefined;
235
240
  } | undefined;
236
241
  vonageCredentials?: {
237
242
  apiKey: string;
@@ -278,15 +283,16 @@ export declare const messengerContract: {
278
283
  additionalCredentials?: any;
279
284
  senderId?: string | undefined;
280
285
  whatsapp?: {
281
- email: string;
282
- wabaExternalId: string;
283
- phoneNumberId: string;
284
- wabaBusinessId?: string | undefined;
285
- clientId?: string | undefined;
286
- channelId?: string | undefined;
286
+ wabaBusinessId?: string | null | undefined;
287
+ wabaExternalId?: string | null | undefined;
288
+ phoneNumberId?: string | null | undefined;
289
+ email?: string | null | undefined;
290
+ clientId?: string | null | undefined;
291
+ channelId?: string | null | undefined;
287
292
  status?: "active" | "pending" | undefined;
288
293
  apiKey?: string | undefined;
289
294
  tier?: "basic" | "regular" | "premium" | undefined;
295
+ integrationType?: "meta" | "360dialog" | undefined;
290
296
  } | undefined;
291
297
  vonageCredentials?: {
292
298
  apiKey: string;
@@ -321,15 +327,16 @@ export declare const messengerContract: {
321
327
  additionalCredentials?: any;
322
328
  senderId?: string | undefined;
323
329
  whatsapp?: {
324
- email: string;
325
- wabaExternalId: string;
326
- phoneNumberId: string;
327
- wabaBusinessId?: string | undefined;
328
- clientId?: string | undefined;
329
- channelId?: string | undefined;
330
+ wabaBusinessId?: string | null | undefined;
331
+ wabaExternalId?: string | null | undefined;
332
+ phoneNumberId?: string | null | undefined;
333
+ email?: string | null | undefined;
334
+ clientId?: string | null | undefined;
335
+ channelId?: string | null | undefined;
330
336
  status?: "active" | "pending" | undefined;
331
337
  apiKey?: string | undefined;
332
338
  tier?: "basic" | "regular" | "premium" | undefined;
339
+ integrationType?: "meta" | "360dialog" | undefined;
333
340
  } | undefined;
334
341
  vonageCredentials?: {
335
342
  apiKey: string;
@@ -369,15 +376,16 @@ export declare const messengerContract: {
369
376
  additionalCredentials?: any;
370
377
  senderId?: string | undefined;
371
378
  whatsapp?: {
372
- email: string;
373
- wabaExternalId: string;
374
- phoneNumberId: string;
375
- wabaBusinessId?: string | undefined;
376
- clientId?: string | undefined;
377
- channelId?: string | undefined;
379
+ wabaBusinessId?: string | null | undefined;
380
+ wabaExternalId?: string | null | undefined;
381
+ phoneNumberId?: string | null | undefined;
382
+ email?: string | null | undefined;
383
+ clientId?: string | null | undefined;
384
+ channelId?: string | null | undefined;
378
385
  status?: "active" | "pending" | undefined;
379
386
  apiKey?: string | undefined;
380
387
  tier?: "basic" | "regular" | "premium" | undefined;
388
+ integrationType?: "meta" | "360dialog" | undefined;
381
389
  } | undefined;
382
390
  vonageCredentials?: {
383
391
  apiKey: string;
@@ -456,15 +464,16 @@ export declare const messengerContract: {
456
464
  additionalCredentials?: any;
457
465
  senderId?: string | undefined;
458
466
  whatsapp?: {
459
- email: string;
460
- wabaExternalId: string;
461
- phoneNumberId: string;
462
- wabaBusinessId?: string | undefined;
463
- clientId?: string | undefined;
464
- channelId?: string | undefined;
467
+ wabaBusinessId?: string | null | undefined;
468
+ wabaExternalId?: string | null | undefined;
469
+ phoneNumberId?: string | null | undefined;
470
+ email?: string | null | undefined;
471
+ clientId?: string | null | undefined;
472
+ channelId?: string | null | undefined;
465
473
  status?: "active" | "pending" | undefined;
466
474
  apiKey?: string | undefined;
467
475
  tier?: "basic" | "regular" | "premium" | undefined;
476
+ integrationType?: "meta" | "360dialog" | undefined;
468
477
  } | undefined;
469
478
  vonageCredentials?: {
470
479
  apiKey: string;
@@ -534,7 +543,7 @@ export declare const messengerContract: {
534
543
  id: z.ZodOptional<z.ZodString>;
535
544
  message: z.ZodOptional<z.ZodString>;
536
545
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
537
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "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"]>;
546
+ 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", "edited", "deleted", "unsupported"]>;
538
547
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
539
548
  metadata: z.ZodOptional<z.ZodAny>;
540
549
  platformId: z.ZodOptional<z.ZodString>;
@@ -590,7 +599,7 @@ export declare const messengerContract: {
590
599
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
591
600
  label: z.ZodOptional<z.ZodString>;
592
601
  }, "strip", z.ZodTypeAny, {
593
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
602
+ 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" | "edited" | "deleted" | "unsupported";
594
603
  direction: "incoming" | "outgoing" | "system";
595
604
  id?: string | undefined;
596
605
  message?: string | undefined;
@@ -625,7 +634,7 @@ export declare const messengerContract: {
625
634
  editedAt?: string | Date | null | undefined;
626
635
  label?: string | undefined;
627
636
  }, {
628
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
637
+ 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" | "edited" | "deleted" | "unsupported";
629
638
  direction: "incoming" | "outgoing" | "system";
630
639
  id?: string | undefined;
631
640
  message?: string | undefined;
@@ -662,7 +671,7 @@ export declare const messengerContract: {
662
671
  }>;
663
672
  }, "strip", z.ZodTypeAny, {
664
673
  message: {
665
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
674
+ 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" | "edited" | "deleted" | "unsupported";
666
675
  direction: "incoming" | "outgoing" | "system";
667
676
  id?: string | undefined;
668
677
  message?: string | undefined;
@@ -711,15 +720,16 @@ export declare const messengerContract: {
711
720
  additionalCredentials?: any;
712
721
  senderId?: string | undefined;
713
722
  whatsapp?: {
714
- email: string;
715
- wabaExternalId: string;
716
- phoneNumberId: string;
717
- wabaBusinessId?: string | undefined;
718
- clientId?: string | undefined;
719
- channelId?: string | undefined;
723
+ wabaBusinessId?: string | null | undefined;
724
+ wabaExternalId?: string | null | undefined;
725
+ phoneNumberId?: string | null | undefined;
726
+ email?: string | null | undefined;
727
+ clientId?: string | null | undefined;
728
+ channelId?: string | null | undefined;
720
729
  status?: "active" | "pending" | undefined;
721
730
  apiKey?: string | undefined;
722
731
  tier?: "basic" | "regular" | "premium" | undefined;
732
+ integrationType?: "meta" | "360dialog" | undefined;
723
733
  } | undefined;
724
734
  vonageCredentials?: {
725
735
  apiKey: string;
@@ -788,7 +798,7 @@ export declare const messengerContract: {
788
798
  isBot: boolean | null;
789
799
  }, {
790
800
  message: {
791
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
801
+ 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" | "edited" | "deleted" | "unsupported";
792
802
  direction: "incoming" | "outgoing" | "system";
793
803
  id?: string | undefined;
794
804
  message?: string | undefined;
@@ -837,15 +847,16 @@ export declare const messengerContract: {
837
847
  additionalCredentials?: any;
838
848
  senderId?: string | undefined;
839
849
  whatsapp?: {
840
- email: string;
841
- wabaExternalId: string;
842
- phoneNumberId: string;
843
- wabaBusinessId?: string | undefined;
844
- clientId?: string | undefined;
845
- channelId?: string | undefined;
850
+ wabaBusinessId?: string | null | undefined;
851
+ wabaExternalId?: string | null | undefined;
852
+ phoneNumberId?: string | null | undefined;
853
+ email?: string | null | undefined;
854
+ clientId?: string | null | undefined;
855
+ channelId?: string | null | undefined;
846
856
  status?: "active" | "pending" | undefined;
847
857
  apiKey?: string | undefined;
848
858
  tier?: "basic" | "regular" | "premium" | undefined;
859
+ integrationType?: "meta" | "360dialog" | undefined;
849
860
  } | undefined;
850
861
  vonageCredentials?: {
851
862
  apiKey: string;
@@ -918,7 +929,7 @@ export declare const messengerContract: {
918
929
  200: z.ZodObject<{
919
930
  requestId: z.ZodString;
920
931
  data: z.ZodObject<{
921
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "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"]>;
932
+ 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", "edited", "deleted", "unsupported"]>;
922
933
  message: z.ZodString;
923
934
  id: z.ZodString;
924
935
  url: z.ZodString;
@@ -1143,10 +1154,9 @@ export declare const messengerContract: {
1143
1154
  fileSize: z.ZodNumber;
1144
1155
  fileKey: z.ZodString;
1145
1156
  fileUrl: z.ZodNullable<z.ZodString>;
1146
- status: z.ZodNullable<z.ZodString>;
1157
+ status: z.ZodOptional<z.ZodString>;
1147
1158
  }, "strip", z.ZodTypeAny, {
1148
1159
  id: string;
1149
- status: string | null;
1150
1160
  createdAt: Date;
1151
1161
  updatedAt: Date;
1152
1162
  deletedAt: Date | null;
@@ -1155,9 +1165,9 @@ export declare const messengerContract: {
1155
1165
  bucketName: string;
1156
1166
  fileSize: number;
1157
1167
  fileUrl: string | null;
1168
+ status?: string | undefined;
1158
1169
  }, {
1159
1170
  id: string;
1160
- status: string | null;
1161
1171
  createdAt: Date;
1162
1172
  updatedAt: Date;
1163
1173
  deletedAt: Date | null;
@@ -1166,6 +1176,7 @@ export declare const messengerContract: {
1166
1176
  bucketName: string;
1167
1177
  fileSize: number;
1168
1178
  fileUrl: string | null;
1179
+ status?: string | undefined;
1169
1180
  }>;
1170
1181
  assignee: z.ZodObject<{
1171
1182
  id: z.ZodString;
@@ -1760,10 +1771,9 @@ export declare const messengerContract: {
1760
1771
  fileSize: z.ZodNumber;
1761
1772
  fileKey: z.ZodString;
1762
1773
  fileUrl: z.ZodNullable<z.ZodString>;
1763
- status: z.ZodNullable<z.ZodString>;
1774
+ status: z.ZodOptional<z.ZodString>;
1764
1775
  }, "strip", z.ZodTypeAny, {
1765
1776
  id: string;
1766
- status: string | null;
1767
1777
  createdAt: Date;
1768
1778
  updatedAt: Date;
1769
1779
  deletedAt: Date | null;
@@ -1772,9 +1782,9 @@ export declare const messengerContract: {
1772
1782
  bucketName: string;
1773
1783
  fileSize: number;
1774
1784
  fileUrl: string | null;
1785
+ status?: string | undefined;
1775
1786
  }, {
1776
1787
  id: string;
1777
- status: string | null;
1778
1788
  createdAt: Date;
1779
1789
  updatedAt: Date;
1780
1790
  deletedAt: Date | null;
@@ -1783,6 +1793,7 @@ export declare const messengerContract: {
1783
1793
  bucketName: string;
1784
1794
  fileSize: number;
1785
1795
  fileUrl: string | null;
1796
+ status?: string | undefined;
1786
1797
  }>, "many">;
1787
1798
  }, "strip", z.ZodTypeAny, {
1788
1799
  id: string;
@@ -1809,7 +1820,6 @@ export declare const messengerContract: {
1809
1820
  dateValue: Date | null;
1810
1821
  uploads: {
1811
1822
  id: string;
1812
- status: string | null;
1813
1823
  createdAt: Date;
1814
1824
  updatedAt: Date;
1815
1825
  deletedAt: Date | null;
@@ -1818,6 +1828,7 @@ export declare const messengerContract: {
1818
1828
  bucketName: string;
1819
1829
  fileSize: number;
1820
1830
  fileUrl: string | null;
1831
+ status?: string | undefined;
1821
1832
  }[];
1822
1833
  }, {
1823
1834
  id: string;
@@ -1844,7 +1855,6 @@ export declare const messengerContract: {
1844
1855
  dateValue: Date | null;
1845
1856
  uploads: {
1846
1857
  id: string;
1847
- status: string | null;
1848
1858
  createdAt: Date;
1849
1859
  updatedAt: Date;
1850
1860
  deletedAt: Date | null;
@@ -1853,6 +1863,7 @@ export declare const messengerContract: {
1853
1863
  bucketName: string;
1854
1864
  fileSize: number;
1855
1865
  fileUrl: string | null;
1866
+ status?: string | undefined;
1856
1867
  }[];
1857
1868
  }>, "many">;
1858
1869
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1992,7 +2003,6 @@ export declare const messengerContract: {
1992
2003
  dateValue: Date | null;
1993
2004
  uploads: {
1994
2005
  id: string;
1995
- status: string | null;
1996
2006
  createdAt: Date;
1997
2007
  updatedAt: Date;
1998
2008
  deletedAt: Date | null;
@@ -2001,6 +2011,7 @@ export declare const messengerContract: {
2001
2011
  bucketName: string;
2002
2012
  fileSize: number;
2003
2013
  fileUrl: string | null;
2014
+ status?: string | undefined;
2004
2015
  }[];
2005
2016
  }[];
2006
2017
  company: {
@@ -2103,7 +2114,6 @@ export declare const messengerContract: {
2103
2114
  dateValue: Date | null;
2104
2115
  uploads: {
2105
2116
  id: string;
2106
- status: string | null;
2107
2117
  createdAt: Date;
2108
2118
  updatedAt: Date;
2109
2119
  deletedAt: Date | null;
@@ -2112,6 +2122,7 @@ export declare const messengerContract: {
2112
2122
  bucketName: string;
2113
2123
  fileSize: number;
2114
2124
  fileUrl: string | null;
2125
+ status?: string | undefined;
2115
2126
  }[];
2116
2127
  }[];
2117
2128
  company: {
@@ -2227,7 +2238,6 @@ export declare const messengerContract: {
2227
2238
  dateValue: Date | null;
2228
2239
  uploads: {
2229
2240
  id: string;
2230
- status: string | null;
2231
2241
  createdAt: Date;
2232
2242
  updatedAt: Date;
2233
2243
  deletedAt: Date | null;
@@ -2236,6 +2246,7 @@ export declare const messengerContract: {
2236
2246
  bucketName: string;
2237
2247
  fileSize: number;
2238
2248
  fileUrl: string | null;
2249
+ status?: string | undefined;
2239
2250
  }[];
2240
2251
  }[];
2241
2252
  company: {
@@ -2353,7 +2364,6 @@ export declare const messengerContract: {
2353
2364
  dateValue: Date | null;
2354
2365
  uploads: {
2355
2366
  id: string;
2356
- status: string | null;
2357
2367
  createdAt: Date;
2358
2368
  updatedAt: Date;
2359
2369
  deletedAt: Date | null;
@@ -2362,6 +2372,7 @@ export declare const messengerContract: {
2362
2372
  bucketName: string;
2363
2373
  fileSize: number;
2364
2374
  fileUrl: string | null;
2375
+ status?: string | undefined;
2365
2376
  }[];
2366
2377
  }[];
2367
2378
  company: {
@@ -2858,35 +2869,38 @@ export declare const messengerContract: {
2858
2869
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2859
2870
  senderId: z.ZodOptional<z.ZodString>;
2860
2871
  whatsapp: z.ZodOptional<z.ZodObject<{
2861
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2862
- wabaExternalId: z.ZodString;
2863
- phoneNumberId: z.ZodString;
2864
- email: z.ZodString;
2865
- clientId: z.ZodOptional<z.ZodString>;
2866
- channelId: z.ZodOptional<z.ZodString>;
2872
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2873
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2874
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2875
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2876
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2877
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2867
2878
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2868
2879
  apiKey: z.ZodOptional<z.ZodString>;
2869
2880
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2881
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2870
2882
  }, "strip", z.ZodTypeAny, {
2871
- email: string;
2872
- wabaExternalId: string;
2873
- phoneNumberId: string;
2874
- wabaBusinessId?: string | undefined;
2875
- clientId?: string | undefined;
2876
- channelId?: string | undefined;
2883
+ wabaBusinessId?: string | null | undefined;
2884
+ wabaExternalId?: string | null | undefined;
2885
+ phoneNumberId?: string | null | undefined;
2886
+ email?: string | null | undefined;
2887
+ clientId?: string | null | undefined;
2888
+ channelId?: string | null | undefined;
2877
2889
  status?: "active" | "pending" | undefined;
2878
2890
  apiKey?: string | undefined;
2879
2891
  tier?: "basic" | "regular" | "premium" | undefined;
2892
+ integrationType?: "meta" | "360dialog" | undefined;
2880
2893
  }, {
2881
- email: string;
2882
- wabaExternalId: string;
2883
- phoneNumberId: string;
2884
- wabaBusinessId?: string | undefined;
2885
- clientId?: string | undefined;
2886
- channelId?: string | undefined;
2894
+ wabaBusinessId?: string | null | undefined;
2895
+ wabaExternalId?: string | null | undefined;
2896
+ phoneNumberId?: string | null | undefined;
2897
+ email?: string | null | undefined;
2898
+ clientId?: string | null | undefined;
2899
+ channelId?: string | null | undefined;
2887
2900
  status?: "active" | "pending" | undefined;
2888
2901
  apiKey?: string | undefined;
2889
2902
  tier?: "basic" | "regular" | "premium" | undefined;
2903
+ integrationType?: "meta" | "360dialog" | undefined;
2890
2904
  }>>;
2891
2905
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2892
2906
  mobileNumber: z.ZodString;
@@ -2911,15 +2925,16 @@ export declare const messengerContract: {
2911
2925
  additionalCredentials?: any;
2912
2926
  senderId?: string | undefined;
2913
2927
  whatsapp?: {
2914
- email: string;
2915
- wabaExternalId: string;
2916
- phoneNumberId: string;
2917
- wabaBusinessId?: string | undefined;
2918
- clientId?: string | undefined;
2919
- channelId?: string | undefined;
2928
+ wabaBusinessId?: string | null | undefined;
2929
+ wabaExternalId?: string | null | undefined;
2930
+ phoneNumberId?: string | null | undefined;
2931
+ email?: string | null | undefined;
2932
+ clientId?: string | null | undefined;
2933
+ channelId?: string | null | undefined;
2920
2934
  status?: "active" | "pending" | undefined;
2921
2935
  apiKey?: string | undefined;
2922
2936
  tier?: "basic" | "regular" | "premium" | undefined;
2937
+ integrationType?: "meta" | "360dialog" | undefined;
2923
2938
  } | undefined;
2924
2939
  vonageCredentials?: {
2925
2940
  apiKey: string;
@@ -2936,15 +2951,16 @@ export declare const messengerContract: {
2936
2951
  additionalCredentials?: any;
2937
2952
  senderId?: string | undefined;
2938
2953
  whatsapp?: {
2939
- email: string;
2940
- wabaExternalId: string;
2941
- phoneNumberId: string;
2942
- wabaBusinessId?: string | undefined;
2943
- clientId?: string | undefined;
2944
- channelId?: string | undefined;
2954
+ wabaBusinessId?: string | null | undefined;
2955
+ wabaExternalId?: string | null | undefined;
2956
+ phoneNumberId?: string | null | undefined;
2957
+ email?: string | null | undefined;
2958
+ clientId?: string | null | undefined;
2959
+ channelId?: string | null | undefined;
2945
2960
  status?: "active" | "pending" | undefined;
2946
2961
  apiKey?: string | undefined;
2947
2962
  tier?: "basic" | "regular" | "premium" | undefined;
2963
+ integrationType?: "meta" | "360dialog" | undefined;
2948
2964
  } | undefined;
2949
2965
  vonageCredentials?: {
2950
2966
  apiKey: string;
@@ -3195,15 +3211,16 @@ export declare const messengerContract: {
3195
3211
  additionalCredentials?: any;
3196
3212
  senderId?: string | undefined;
3197
3213
  whatsapp?: {
3198
- email: string;
3199
- wabaExternalId: string;
3200
- phoneNumberId: string;
3201
- wabaBusinessId?: string | undefined;
3202
- clientId?: string | undefined;
3203
- channelId?: string | undefined;
3214
+ wabaBusinessId?: string | null | undefined;
3215
+ wabaExternalId?: string | null | undefined;
3216
+ phoneNumberId?: string | null | undefined;
3217
+ email?: string | null | undefined;
3218
+ clientId?: string | null | undefined;
3219
+ channelId?: string | null | undefined;
3204
3220
  status?: "active" | "pending" | undefined;
3205
3221
  apiKey?: string | undefined;
3206
3222
  tier?: "basic" | "regular" | "premium" | undefined;
3223
+ integrationType?: "meta" | "360dialog" | undefined;
3207
3224
  } | undefined;
3208
3225
  vonageCredentials?: {
3209
3226
  apiKey: string;
@@ -3285,15 +3302,16 @@ export declare const messengerContract: {
3285
3302
  additionalCredentials?: any;
3286
3303
  senderId?: string | undefined;
3287
3304
  whatsapp?: {
3288
- email: string;
3289
- wabaExternalId: string;
3290
- phoneNumberId: string;
3291
- wabaBusinessId?: string | undefined;
3292
- clientId?: string | undefined;
3293
- channelId?: string | undefined;
3305
+ wabaBusinessId?: string | null | undefined;
3306
+ wabaExternalId?: string | null | undefined;
3307
+ phoneNumberId?: string | null | undefined;
3308
+ email?: string | null | undefined;
3309
+ clientId?: string | null | undefined;
3310
+ channelId?: string | null | undefined;
3294
3311
  status?: "active" | "pending" | undefined;
3295
3312
  apiKey?: string | undefined;
3296
3313
  tier?: "basic" | "regular" | "premium" | undefined;
3314
+ integrationType?: "meta" | "360dialog" | undefined;
3297
3315
  } | undefined;
3298
3316
  vonageCredentials?: {
3299
3317
  apiKey: string;
@@ -3378,12 +3396,8 @@ export declare const messengerContract: {
3378
3396
  agentId: z.ZodNullable<z.ZodString>;
3379
3397
  direction: z.ZodNullable<z.ZodString>;
3380
3398
  startedDate: z.ZodNullable<z.ZodDate>;
3381
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
3382
3399
  handledTime: z.ZodNullable<z.ZodNumber>;
3383
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
3384
3400
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
3385
- resolutionTime: z.ZodNullable<z.ZodNumber>;
3386
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
3387
3401
  wrapUpForm: z.ZodNullable<z.ZodObject<{
3388
3402
  id: z.ZodString;
3389
3403
  createdAt: z.ZodDate;
@@ -3650,74 +3664,6 @@ export declare const messengerContract: {
3650
3664
  dateValue: Date | null;
3651
3665
  }[] | null | undefined;
3652
3666
  }>>;
3653
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3654
- id: z.ZodString;
3655
- createdAt: z.ZodDate;
3656
- updatedAt: z.ZodDate;
3657
- deletedAt: z.ZodNullable<z.ZodDate>;
3658
- startedAt: z.ZodString;
3659
- endedAt: z.ZodNullable<z.ZodString>;
3660
- duration: z.ZodNullable<z.ZodNumber>;
3661
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3662
- id: z.ZodString;
3663
- createdAt: z.ZodDate;
3664
- updatedAt: z.ZodDate;
3665
- deletedAt: z.ZodNullable<z.ZodDate>;
3666
- name: z.ZodString;
3667
- position: z.ZodNumber;
3668
- isDefault: z.ZodDefault<z.ZodBoolean>;
3669
- }, "strip", z.ZodTypeAny, {
3670
- name: string;
3671
- id: string;
3672
- position: number;
3673
- createdAt: Date;
3674
- updatedAt: Date;
3675
- deletedAt: Date | null;
3676
- isDefault: boolean;
3677
- }, {
3678
- name: string;
3679
- id: string;
3680
- position: number;
3681
- createdAt: Date;
3682
- updatedAt: Date;
3683
- deletedAt: Date | null;
3684
- isDefault?: boolean | undefined;
3685
- }>>>;
3686
- }, "strip", z.ZodTypeAny, {
3687
- id: string;
3688
- createdAt: Date;
3689
- updatedAt: Date;
3690
- deletedAt: Date | null;
3691
- startedAt: string;
3692
- endedAt: string | null;
3693
- duration: number | null;
3694
- holdLabel?: {
3695
- name: string;
3696
- id: string;
3697
- position: number;
3698
- createdAt: Date;
3699
- updatedAt: Date;
3700
- deletedAt: Date | null;
3701
- isDefault: boolean;
3702
- } | null | undefined;
3703
- }, {
3704
- id: string;
3705
- createdAt: Date;
3706
- updatedAt: Date;
3707
- deletedAt: Date | null;
3708
- startedAt: string;
3709
- endedAt: string | null;
3710
- duration: number | null;
3711
- holdLabel?: {
3712
- name: string;
3713
- id: string;
3714
- position: number;
3715
- createdAt: Date;
3716
- updatedAt: Date;
3717
- deletedAt: Date | null;
3718
- isDefault?: boolean | undefined;
3719
- } | null | undefined;
3720
- }>, "many">>>;
3721
3667
  }, "strip", z.ZodTypeAny, {
3722
3668
  id: string;
3723
3669
  channel: string | null;
@@ -3732,12 +3678,8 @@ export declare const messengerContract: {
3732
3678
  entityName: string;
3733
3679
  agentId: string | null;
3734
3680
  startedDate: Date | null;
3735
- totalHoldDuration: number | null;
3736
3681
  handledTime: number | null;
3737
- fullHandledTime: number | null;
3738
3682
  firstResponseTime: number | null;
3739
- resolutionTime: number | null;
3740
- fullResolutionTime: number | null;
3741
3683
  wrapUpForm: {
3742
3684
  type: string;
3743
3685
  id: string;
@@ -3790,24 +3732,6 @@ export declare const messengerContract: {
3790
3732
  dateValue: Date | null;
3791
3733
  }[] | null | undefined;
3792
3734
  } | null;
3793
- holdLogs?: {
3794
- id: string;
3795
- createdAt: Date;
3796
- updatedAt: Date;
3797
- deletedAt: Date | null;
3798
- startedAt: string;
3799
- endedAt: string | null;
3800
- duration: number | null;
3801
- holdLabel?: {
3802
- name: string;
3803
- id: string;
3804
- position: number;
3805
- createdAt: Date;
3806
- updatedAt: Date;
3807
- deletedAt: Date | null;
3808
- isDefault: boolean;
3809
- } | null | undefined;
3810
- }[] | null | undefined;
3811
3735
  }, {
3812
3736
  id: string;
3813
3737
  channel: string | null;
@@ -3822,12 +3746,8 @@ export declare const messengerContract: {
3822
3746
  entityName: string;
3823
3747
  agentId: string | null;
3824
3748
  startedDate: Date | null;
3825
- totalHoldDuration: number | null;
3826
3749
  handledTime: number | null;
3827
- fullHandledTime: number | null;
3828
3750
  firstResponseTime: number | null;
3829
- resolutionTime: number | null;
3830
- fullResolutionTime: number | null;
3831
3751
  wrapUpForm: {
3832
3752
  type: string;
3833
3753
  id: string;
@@ -3880,24 +3800,6 @@ export declare const messengerContract: {
3880
3800
  dateValue: Date | null;
3881
3801
  }[] | null | undefined;
3882
3802
  } | null;
3883
- holdLogs?: {
3884
- id: string;
3885
- createdAt: Date;
3886
- updatedAt: Date;
3887
- deletedAt: Date | null;
3888
- startedAt: string;
3889
- endedAt: string | null;
3890
- duration: number | null;
3891
- holdLabel?: {
3892
- name: string;
3893
- id: string;
3894
- position: number;
3895
- createdAt: Date;
3896
- updatedAt: Date;
3897
- deletedAt: Date | null;
3898
- isDefault?: boolean | undefined;
3899
- } | null | undefined;
3900
- }[] | null | undefined;
3901
3803
  }>;
3902
3804
  workflowRule: z.ZodObject<{
3903
3805
  id: z.ZodString;
@@ -3939,15 +3841,16 @@ export declare const messengerContract: {
3939
3841
  additionalCredentials?: any;
3940
3842
  senderId?: string | undefined;
3941
3843
  whatsapp?: {
3942
- email: string;
3943
- wabaExternalId: string;
3944
- phoneNumberId: string;
3945
- wabaBusinessId?: string | undefined;
3946
- clientId?: string | undefined;
3947
- channelId?: string | undefined;
3844
+ wabaBusinessId?: string | null | undefined;
3845
+ wabaExternalId?: string | null | undefined;
3846
+ phoneNumberId?: string | null | undefined;
3847
+ email?: string | null | undefined;
3848
+ clientId?: string | null | undefined;
3849
+ channelId?: string | null | undefined;
3948
3850
  status?: "active" | "pending" | undefined;
3949
3851
  apiKey?: string | undefined;
3950
3852
  tier?: "basic" | "regular" | "premium" | undefined;
3853
+ integrationType?: "meta" | "360dialog" | undefined;
3951
3854
  } | undefined;
3952
3855
  vonageCredentials?: {
3953
3856
  apiKey: string;
@@ -4118,7 +4021,6 @@ export declare const messengerContract: {
4118
4021
  dateValue: Date | null;
4119
4022
  uploads: {
4120
4023
  id: string;
4121
- status: string | null;
4122
4024
  createdAt: Date;
4123
4025
  updatedAt: Date;
4124
4026
  deletedAt: Date | null;
@@ -4127,6 +4029,7 @@ export declare const messengerContract: {
4127
4029
  bucketName: string;
4128
4030
  fileSize: number;
4129
4031
  fileUrl: string | null;
4032
+ status?: string | undefined;
4130
4033
  }[];
4131
4034
  }[];
4132
4035
  company: {
@@ -4261,12 +4164,8 @@ export declare const messengerContract: {
4261
4164
  entityName: string;
4262
4165
  agentId: string | null;
4263
4166
  startedDate: Date | null;
4264
- totalHoldDuration: number | null;
4265
4167
  handledTime: number | null;
4266
- fullHandledTime: number | null;
4267
4168
  firstResponseTime: number | null;
4268
- resolutionTime: number | null;
4269
- fullResolutionTime: number | null;
4270
4169
  wrapUpForm: {
4271
4170
  type: string;
4272
4171
  id: string;
@@ -4319,24 +4218,6 @@ export declare const messengerContract: {
4319
4218
  dateValue: Date | null;
4320
4219
  }[] | null | undefined;
4321
4220
  } | null;
4322
- holdLogs?: {
4323
- id: string;
4324
- createdAt: Date;
4325
- updatedAt: Date;
4326
- deletedAt: Date | null;
4327
- startedAt: string;
4328
- endedAt: string | null;
4329
- duration: number | null;
4330
- holdLabel?: {
4331
- name: string;
4332
- id: string;
4333
- position: number;
4334
- createdAt: Date;
4335
- updatedAt: Date;
4336
- deletedAt: Date | null;
4337
- isDefault: boolean;
4338
- } | null | undefined;
4339
- }[] | null | undefined;
4340
4221
  };
4341
4222
  workflowRule: {
4342
4223
  name: string;
@@ -4362,15 +4243,16 @@ export declare const messengerContract: {
4362
4243
  additionalCredentials?: any;
4363
4244
  senderId?: string | undefined;
4364
4245
  whatsapp?: {
4365
- email: string;
4366
- wabaExternalId: string;
4367
- phoneNumberId: string;
4368
- wabaBusinessId?: string | undefined;
4369
- clientId?: string | undefined;
4370
- channelId?: string | undefined;
4246
+ wabaBusinessId?: string | null | undefined;
4247
+ wabaExternalId?: string | null | undefined;
4248
+ phoneNumberId?: string | null | undefined;
4249
+ email?: string | null | undefined;
4250
+ clientId?: string | null | undefined;
4251
+ channelId?: string | null | undefined;
4371
4252
  status?: "active" | "pending" | undefined;
4372
4253
  apiKey?: string | undefined;
4373
4254
  tier?: "basic" | "regular" | "premium" | undefined;
4255
+ integrationType?: "meta" | "360dialog" | undefined;
4374
4256
  } | undefined;
4375
4257
  vonageCredentials?: {
4376
4258
  apiKey: string;
@@ -4541,7 +4423,6 @@ export declare const messengerContract: {
4541
4423
  dateValue: Date | null;
4542
4424
  uploads: {
4543
4425
  id: string;
4544
- status: string | null;
4545
4426
  createdAt: Date;
4546
4427
  updatedAt: Date;
4547
4428
  deletedAt: Date | null;
@@ -4550,6 +4431,7 @@ export declare const messengerContract: {
4550
4431
  bucketName: string;
4551
4432
  fileSize: number;
4552
4433
  fileUrl: string | null;
4434
+ status?: string | undefined;
4553
4435
  }[];
4554
4436
  }[];
4555
4437
  company: {
@@ -4684,12 +4566,8 @@ export declare const messengerContract: {
4684
4566
  entityName: string;
4685
4567
  agentId: string | null;
4686
4568
  startedDate: Date | null;
4687
- totalHoldDuration: number | null;
4688
4569
  handledTime: number | null;
4689
- fullHandledTime: number | null;
4690
4570
  firstResponseTime: number | null;
4691
- resolutionTime: number | null;
4692
- fullResolutionTime: number | null;
4693
4571
  wrapUpForm: {
4694
4572
  type: string;
4695
4573
  id: string;
@@ -4742,24 +4620,6 @@ export declare const messengerContract: {
4742
4620
  dateValue: Date | null;
4743
4621
  }[] | null | undefined;
4744
4622
  } | null;
4745
- holdLogs?: {
4746
- id: string;
4747
- createdAt: Date;
4748
- updatedAt: Date;
4749
- deletedAt: Date | null;
4750
- startedAt: string;
4751
- endedAt: string | null;
4752
- duration: number | null;
4753
- holdLabel?: {
4754
- name: string;
4755
- id: string;
4756
- position: number;
4757
- createdAt: Date;
4758
- updatedAt: Date;
4759
- deletedAt: Date | null;
4760
- isDefault?: boolean | undefined;
4761
- } | null | undefined;
4762
- }[] | null | undefined;
4763
4623
  };
4764
4624
  workflowRule: {
4765
4625
  name: string;
@@ -4810,7 +4670,7 @@ export declare const messengerContract: {
4810
4670
  deletedAt: z.ZodNullable<z.ZodDate>;
4811
4671
  message: z.ZodString;
4812
4672
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4813
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "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"]>;
4673
+ 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", "edited", "deleted", "unsupported"]>;
4814
4674
  readAt: z.ZodDate;
4815
4675
  metadata: z.ZodAny;
4816
4676
  platformId: z.ZodString;
@@ -4831,10 +4691,9 @@ export declare const messengerContract: {
4831
4691
  fileSize: z.ZodNumber;
4832
4692
  fileKey: z.ZodString;
4833
4693
  fileUrl: z.ZodNullable<z.ZodString>;
4834
- status: z.ZodNullable<z.ZodString>;
4694
+ status: z.ZodOptional<z.ZodString>;
4835
4695
  }, "strip", z.ZodTypeAny, {
4836
4696
  id: string;
4837
- status: string | null;
4838
4697
  createdAt: Date;
4839
4698
  updatedAt: Date;
4840
4699
  deletedAt: Date | null;
@@ -4843,9 +4702,9 @@ export declare const messengerContract: {
4843
4702
  bucketName: string;
4844
4703
  fileSize: number;
4845
4704
  fileUrl: string | null;
4705
+ status?: string | undefined;
4846
4706
  }, {
4847
4707
  id: string;
4848
- status: string | null;
4849
4708
  createdAt: Date;
4850
4709
  updatedAt: Date;
4851
4710
  deletedAt: Date | null;
@@ -4854,6 +4713,7 @@ export declare const messengerContract: {
4854
4713
  bucketName: string;
4855
4714
  fileSize: number;
4856
4715
  fileUrl: string | null;
4716
+ status?: string | undefined;
4857
4717
  }>;
4858
4718
  actor: z.ZodObject<{
4859
4719
  id: z.ZodString;
@@ -5468,7 +5328,7 @@ export declare const messengerContract: {
5468
5328
  };
5469
5329
  }>;
5470
5330
  }, "strip", z.ZodTypeAny, {
5471
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
5331
+ 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" | "edited" | "deleted" | "unsupported";
5472
5332
  message: string;
5473
5333
  id: string;
5474
5334
  url: string;
@@ -5522,7 +5382,6 @@ export declare const messengerContract: {
5522
5382
  };
5523
5383
  upload: {
5524
5384
  id: string;
5525
- status: string | null;
5526
5385
  createdAt: Date;
5527
5386
  updatedAt: Date;
5528
5387
  deletedAt: Date | null;
@@ -5531,6 +5390,7 @@ export declare const messengerContract: {
5531
5390
  bucketName: string;
5532
5391
  fileSize: number;
5533
5392
  fileUrl: string | null;
5393
+ status?: string | undefined;
5534
5394
  };
5535
5395
  assignee: {
5536
5396
  name: string;
@@ -5630,7 +5490,7 @@ export declare const messengerContract: {
5630
5490
  metadata?: any;
5631
5491
  template?: any;
5632
5492
  }, {
5633
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
5493
+ 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" | "edited" | "deleted" | "unsupported";
5634
5494
  message: string;
5635
5495
  id: string;
5636
5496
  url: string;
@@ -5684,7 +5544,6 @@ export declare const messengerContract: {
5684
5544
  };
5685
5545
  upload: {
5686
5546
  id: string;
5687
- status: string | null;
5688
5547
  createdAt: Date;
5689
5548
  updatedAt: Date;
5690
5549
  deletedAt: Date | null;
@@ -5693,6 +5552,7 @@ export declare const messengerContract: {
5693
5552
  bucketName: string;
5694
5553
  fileSize: number;
5695
5554
  fileUrl: string | null;
5555
+ status?: string | undefined;
5696
5556
  };
5697
5557
  assignee: {
5698
5558
  name: string;
@@ -6004,7 +5864,7 @@ export declare const messengerContract: {
6004
5864
  deletedAt: z.ZodNullable<z.ZodDate>;
6005
5865
  message: z.ZodString;
6006
5866
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6007
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "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"]>;
5867
+ 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", "edited", "deleted", "unsupported"]>;
6008
5868
  readAt: z.ZodDate;
6009
5869
  metadata: z.ZodAny;
6010
5870
  platformId: z.ZodString;
@@ -6403,10 +6263,9 @@ export declare const messengerContract: {
6403
6263
  fileSize: z.ZodNumber;
6404
6264
  fileKey: z.ZodString;
6405
6265
  fileUrl: z.ZodNullable<z.ZodString>;
6406
- status: z.ZodNullable<z.ZodString>;
6266
+ status: z.ZodOptional<z.ZodString>;
6407
6267
  }, "strip", z.ZodTypeAny, {
6408
6268
  id: string;
6409
- status: string | null;
6410
6269
  createdAt: Date;
6411
6270
  updatedAt: Date;
6412
6271
  deletedAt: Date | null;
@@ -6415,9 +6274,9 @@ export declare const messengerContract: {
6415
6274
  bucketName: string;
6416
6275
  fileSize: number;
6417
6276
  fileUrl: string | null;
6277
+ status?: string | undefined;
6418
6278
  }, {
6419
6279
  id: string;
6420
- status: string | null;
6421
6280
  createdAt: Date;
6422
6281
  updatedAt: Date;
6423
6282
  deletedAt: Date | null;
@@ -6426,6 +6285,7 @@ export declare const messengerContract: {
6426
6285
  bucketName: string;
6427
6286
  fileSize: number;
6428
6287
  fileUrl: string | null;
6288
+ status?: string | undefined;
6429
6289
  }>, "many">;
6430
6290
  }, "strip", z.ZodTypeAny, {
6431
6291
  id: string;
@@ -6452,7 +6312,6 @@ export declare const messengerContract: {
6452
6312
  dateValue: Date | null;
6453
6313
  uploads: {
6454
6314
  id: string;
6455
- status: string | null;
6456
6315
  createdAt: Date;
6457
6316
  updatedAt: Date;
6458
6317
  deletedAt: Date | null;
@@ -6461,6 +6320,7 @@ export declare const messengerContract: {
6461
6320
  bucketName: string;
6462
6321
  fileSize: number;
6463
6322
  fileUrl: string | null;
6323
+ status?: string | undefined;
6464
6324
  }[];
6465
6325
  }, {
6466
6326
  id: string;
@@ -6487,7 +6347,6 @@ export declare const messengerContract: {
6487
6347
  dateValue: Date | null;
6488
6348
  uploads: {
6489
6349
  id: string;
6490
- status: string | null;
6491
6350
  createdAt: Date;
6492
6351
  updatedAt: Date;
6493
6352
  deletedAt: Date | null;
@@ -6496,6 +6355,7 @@ export declare const messengerContract: {
6496
6355
  bucketName: string;
6497
6356
  fileSize: number;
6498
6357
  fileUrl: string | null;
6358
+ status?: string | undefined;
6499
6359
  }[];
6500
6360
  }>, "many">;
6501
6361
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6635,7 +6495,6 @@ export declare const messengerContract: {
6635
6495
  dateValue: Date | null;
6636
6496
  uploads: {
6637
6497
  id: string;
6638
- status: string | null;
6639
6498
  createdAt: Date;
6640
6499
  updatedAt: Date;
6641
6500
  deletedAt: Date | null;
@@ -6644,6 +6503,7 @@ export declare const messengerContract: {
6644
6503
  bucketName: string;
6645
6504
  fileSize: number;
6646
6505
  fileUrl: string | null;
6506
+ status?: string | undefined;
6647
6507
  }[];
6648
6508
  }[];
6649
6509
  company: {
@@ -6746,7 +6606,6 @@ export declare const messengerContract: {
6746
6606
  dateValue: Date | null;
6747
6607
  uploads: {
6748
6608
  id: string;
6749
- status: string | null;
6750
6609
  createdAt: Date;
6751
6610
  updatedAt: Date;
6752
6611
  deletedAt: Date | null;
@@ -6755,6 +6614,7 @@ export declare const messengerContract: {
6755
6614
  bucketName: string;
6756
6615
  fileSize: number;
6757
6616
  fileUrl: string | null;
6617
+ status?: string | undefined;
6758
6618
  }[];
6759
6619
  }[];
6760
6620
  company: {
@@ -6870,7 +6730,6 @@ export declare const messengerContract: {
6870
6730
  dateValue: Date | null;
6871
6731
  uploads: {
6872
6732
  id: string;
6873
- status: string | null;
6874
6733
  createdAt: Date;
6875
6734
  updatedAt: Date;
6876
6735
  deletedAt: Date | null;
@@ -6879,6 +6738,7 @@ export declare const messengerContract: {
6879
6738
  bucketName: string;
6880
6739
  fileSize: number;
6881
6740
  fileUrl: string | null;
6741
+ status?: string | undefined;
6882
6742
  }[];
6883
6743
  }[];
6884
6744
  company: {
@@ -6996,7 +6856,6 @@ export declare const messengerContract: {
6996
6856
  dateValue: Date | null;
6997
6857
  uploads: {
6998
6858
  id: string;
6999
- status: string | null;
7000
6859
  createdAt: Date;
7001
6860
  updatedAt: Date;
7002
6861
  deletedAt: Date | null;
@@ -7005,6 +6864,7 @@ export declare const messengerContract: {
7005
6864
  bucketName: string;
7006
6865
  fileSize: number;
7007
6866
  fileUrl: string | null;
6867
+ status?: string | undefined;
7008
6868
  }[];
7009
6869
  }[];
7010
6870
  company: {
@@ -7501,35 +7361,38 @@ export declare const messengerContract: {
7501
7361
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7502
7362
  senderId: z.ZodOptional<z.ZodString>;
7503
7363
  whatsapp: z.ZodOptional<z.ZodObject<{
7504
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7505
- wabaExternalId: z.ZodString;
7506
- phoneNumberId: z.ZodString;
7507
- email: z.ZodString;
7508
- clientId: z.ZodOptional<z.ZodString>;
7509
- channelId: z.ZodOptional<z.ZodString>;
7364
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7365
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7366
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7367
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7368
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7369
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7510
7370
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7511
7371
  apiKey: z.ZodOptional<z.ZodString>;
7512
7372
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7373
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
7513
7374
  }, "strip", z.ZodTypeAny, {
7514
- email: string;
7515
- wabaExternalId: string;
7516
- phoneNumberId: string;
7517
- wabaBusinessId?: string | undefined;
7518
- clientId?: string | undefined;
7519
- channelId?: string | undefined;
7375
+ wabaBusinessId?: string | null | undefined;
7376
+ wabaExternalId?: string | null | undefined;
7377
+ phoneNumberId?: string | null | undefined;
7378
+ email?: string | null | undefined;
7379
+ clientId?: string | null | undefined;
7380
+ channelId?: string | null | undefined;
7520
7381
  status?: "active" | "pending" | undefined;
7521
7382
  apiKey?: string | undefined;
7522
7383
  tier?: "basic" | "regular" | "premium" | undefined;
7384
+ integrationType?: "meta" | "360dialog" | undefined;
7523
7385
  }, {
7524
- email: string;
7525
- wabaExternalId: string;
7526
- phoneNumberId: string;
7527
- wabaBusinessId?: string | undefined;
7528
- clientId?: string | undefined;
7529
- channelId?: string | undefined;
7386
+ wabaBusinessId?: string | null | undefined;
7387
+ wabaExternalId?: string | null | undefined;
7388
+ phoneNumberId?: string | null | undefined;
7389
+ email?: string | null | undefined;
7390
+ clientId?: string | null | undefined;
7391
+ channelId?: string | null | undefined;
7530
7392
  status?: "active" | "pending" | undefined;
7531
7393
  apiKey?: string | undefined;
7532
7394
  tier?: "basic" | "regular" | "premium" | undefined;
7395
+ integrationType?: "meta" | "360dialog" | undefined;
7533
7396
  }>>;
7534
7397
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7535
7398
  mobileNumber: z.ZodString;
@@ -7554,15 +7417,16 @@ export declare const messengerContract: {
7554
7417
  additionalCredentials?: any;
7555
7418
  senderId?: string | undefined;
7556
7419
  whatsapp?: {
7557
- email: string;
7558
- wabaExternalId: string;
7559
- phoneNumberId: string;
7560
- wabaBusinessId?: string | undefined;
7561
- clientId?: string | undefined;
7562
- channelId?: string | undefined;
7420
+ wabaBusinessId?: string | null | undefined;
7421
+ wabaExternalId?: string | null | undefined;
7422
+ phoneNumberId?: string | null | undefined;
7423
+ email?: string | null | undefined;
7424
+ clientId?: string | null | undefined;
7425
+ channelId?: string | null | undefined;
7563
7426
  status?: "active" | "pending" | undefined;
7564
7427
  apiKey?: string | undefined;
7565
7428
  tier?: "basic" | "regular" | "premium" | undefined;
7429
+ integrationType?: "meta" | "360dialog" | undefined;
7566
7430
  } | undefined;
7567
7431
  vonageCredentials?: {
7568
7432
  apiKey: string;
@@ -7579,15 +7443,16 @@ export declare const messengerContract: {
7579
7443
  additionalCredentials?: any;
7580
7444
  senderId?: string | undefined;
7581
7445
  whatsapp?: {
7582
- email: string;
7583
- wabaExternalId: string;
7584
- phoneNumberId: string;
7585
- wabaBusinessId?: string | undefined;
7586
- clientId?: string | undefined;
7587
- channelId?: string | undefined;
7446
+ wabaBusinessId?: string | null | undefined;
7447
+ wabaExternalId?: string | null | undefined;
7448
+ phoneNumberId?: string | null | undefined;
7449
+ email?: string | null | undefined;
7450
+ clientId?: string | null | undefined;
7451
+ channelId?: string | null | undefined;
7588
7452
  status?: "active" | "pending" | undefined;
7589
7453
  apiKey?: string | undefined;
7590
7454
  tier?: "basic" | "regular" | "premium" | undefined;
7455
+ integrationType?: "meta" | "360dialog" | undefined;
7591
7456
  } | undefined;
7592
7457
  vonageCredentials?: {
7593
7458
  apiKey: string;
@@ -7838,15 +7703,16 @@ export declare const messengerContract: {
7838
7703
  additionalCredentials?: any;
7839
7704
  senderId?: string | undefined;
7840
7705
  whatsapp?: {
7841
- email: string;
7842
- wabaExternalId: string;
7843
- phoneNumberId: string;
7844
- wabaBusinessId?: string | undefined;
7845
- clientId?: string | undefined;
7846
- channelId?: string | undefined;
7706
+ wabaBusinessId?: string | null | undefined;
7707
+ wabaExternalId?: string | null | undefined;
7708
+ phoneNumberId?: string | null | undefined;
7709
+ email?: string | null | undefined;
7710
+ clientId?: string | null | undefined;
7711
+ channelId?: string | null | undefined;
7847
7712
  status?: "active" | "pending" | undefined;
7848
7713
  apiKey?: string | undefined;
7849
7714
  tier?: "basic" | "regular" | "premium" | undefined;
7715
+ integrationType?: "meta" | "360dialog" | undefined;
7850
7716
  } | undefined;
7851
7717
  vonageCredentials?: {
7852
7718
  apiKey: string;
@@ -7928,15 +7794,16 @@ export declare const messengerContract: {
7928
7794
  additionalCredentials?: any;
7929
7795
  senderId?: string | undefined;
7930
7796
  whatsapp?: {
7931
- email: string;
7932
- wabaExternalId: string;
7933
- phoneNumberId: string;
7934
- wabaBusinessId?: string | undefined;
7935
- clientId?: string | undefined;
7936
- channelId?: string | undefined;
7797
+ wabaBusinessId?: string | null | undefined;
7798
+ wabaExternalId?: string | null | undefined;
7799
+ phoneNumberId?: string | null | undefined;
7800
+ email?: string | null | undefined;
7801
+ clientId?: string | null | undefined;
7802
+ channelId?: string | null | undefined;
7937
7803
  status?: "active" | "pending" | undefined;
7938
7804
  apiKey?: string | undefined;
7939
7805
  tier?: "basic" | "regular" | "premium" | undefined;
7806
+ integrationType?: "meta" | "360dialog" | undefined;
7940
7807
  } | undefined;
7941
7808
  vonageCredentials?: {
7942
7809
  apiKey: string;
@@ -8021,12 +7888,8 @@ export declare const messengerContract: {
8021
7888
  agentId: z.ZodNullable<z.ZodString>;
8022
7889
  direction: z.ZodNullable<z.ZodString>;
8023
7890
  startedDate: z.ZodNullable<z.ZodDate>;
8024
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
8025
7891
  handledTime: z.ZodNullable<z.ZodNumber>;
8026
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
8027
7892
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
8028
- resolutionTime: z.ZodNullable<z.ZodNumber>;
8029
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
8030
7893
  wrapUpForm: z.ZodNullable<z.ZodObject<{
8031
7894
  id: z.ZodString;
8032
7895
  createdAt: z.ZodDate;
@@ -8293,74 +8156,6 @@ export declare const messengerContract: {
8293
8156
  dateValue: Date | null;
8294
8157
  }[] | null | undefined;
8295
8158
  }>>;
8296
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8297
- id: z.ZodString;
8298
- createdAt: z.ZodDate;
8299
- updatedAt: z.ZodDate;
8300
- deletedAt: z.ZodNullable<z.ZodDate>;
8301
- startedAt: z.ZodString;
8302
- endedAt: z.ZodNullable<z.ZodString>;
8303
- duration: z.ZodNullable<z.ZodNumber>;
8304
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8305
- id: z.ZodString;
8306
- createdAt: z.ZodDate;
8307
- updatedAt: z.ZodDate;
8308
- deletedAt: z.ZodNullable<z.ZodDate>;
8309
- name: z.ZodString;
8310
- position: z.ZodNumber;
8311
- isDefault: z.ZodDefault<z.ZodBoolean>;
8312
- }, "strip", z.ZodTypeAny, {
8313
- name: string;
8314
- id: string;
8315
- position: number;
8316
- createdAt: Date;
8317
- updatedAt: Date;
8318
- deletedAt: Date | null;
8319
- isDefault: boolean;
8320
- }, {
8321
- name: string;
8322
- id: string;
8323
- position: number;
8324
- createdAt: Date;
8325
- updatedAt: Date;
8326
- deletedAt: Date | null;
8327
- isDefault?: boolean | undefined;
8328
- }>>>;
8329
- }, "strip", z.ZodTypeAny, {
8330
- id: string;
8331
- createdAt: Date;
8332
- updatedAt: Date;
8333
- deletedAt: Date | null;
8334
- startedAt: string;
8335
- endedAt: string | null;
8336
- duration: number | null;
8337
- holdLabel?: {
8338
- name: string;
8339
- id: string;
8340
- position: number;
8341
- createdAt: Date;
8342
- updatedAt: Date;
8343
- deletedAt: Date | null;
8344
- isDefault: boolean;
8345
- } | null | undefined;
8346
- }, {
8347
- id: string;
8348
- createdAt: Date;
8349
- updatedAt: Date;
8350
- deletedAt: Date | null;
8351
- startedAt: string;
8352
- endedAt: string | null;
8353
- duration: number | null;
8354
- holdLabel?: {
8355
- name: string;
8356
- id: string;
8357
- position: number;
8358
- createdAt: Date;
8359
- updatedAt: Date;
8360
- deletedAt: Date | null;
8361
- isDefault?: boolean | undefined;
8362
- } | null | undefined;
8363
- }>, "many">>>;
8364
8159
  }, "strip", z.ZodTypeAny, {
8365
8160
  id: string;
8366
8161
  channel: string | null;
@@ -8375,12 +8170,8 @@ export declare const messengerContract: {
8375
8170
  entityName: string;
8376
8171
  agentId: string | null;
8377
8172
  startedDate: Date | null;
8378
- totalHoldDuration: number | null;
8379
8173
  handledTime: number | null;
8380
- fullHandledTime: number | null;
8381
8174
  firstResponseTime: number | null;
8382
- resolutionTime: number | null;
8383
- fullResolutionTime: number | null;
8384
8175
  wrapUpForm: {
8385
8176
  type: string;
8386
8177
  id: string;
@@ -8433,24 +8224,6 @@ export declare const messengerContract: {
8433
8224
  dateValue: Date | null;
8434
8225
  }[] | null | undefined;
8435
8226
  } | null;
8436
- holdLogs?: {
8437
- id: string;
8438
- createdAt: Date;
8439
- updatedAt: Date;
8440
- deletedAt: Date | null;
8441
- startedAt: string;
8442
- endedAt: string | null;
8443
- duration: number | null;
8444
- holdLabel?: {
8445
- name: string;
8446
- id: string;
8447
- position: number;
8448
- createdAt: Date;
8449
- updatedAt: Date;
8450
- deletedAt: Date | null;
8451
- isDefault: boolean;
8452
- } | null | undefined;
8453
- }[] | null | undefined;
8454
8227
  }, {
8455
8228
  id: string;
8456
8229
  channel: string | null;
@@ -8465,12 +8238,8 @@ export declare const messengerContract: {
8465
8238
  entityName: string;
8466
8239
  agentId: string | null;
8467
8240
  startedDate: Date | null;
8468
- totalHoldDuration: number | null;
8469
8241
  handledTime: number | null;
8470
- fullHandledTime: number | null;
8471
8242
  firstResponseTime: number | null;
8472
- resolutionTime: number | null;
8473
- fullResolutionTime: number | null;
8474
8243
  wrapUpForm: {
8475
8244
  type: string;
8476
8245
  id: string;
@@ -8523,24 +8292,6 @@ export declare const messengerContract: {
8523
8292
  dateValue: Date | null;
8524
8293
  }[] | null | undefined;
8525
8294
  } | null;
8526
- holdLogs?: {
8527
- id: string;
8528
- createdAt: Date;
8529
- updatedAt: Date;
8530
- deletedAt: Date | null;
8531
- startedAt: string;
8532
- endedAt: string | null;
8533
- duration: number | null;
8534
- holdLabel?: {
8535
- name: string;
8536
- id: string;
8537
- position: number;
8538
- createdAt: Date;
8539
- updatedAt: Date;
8540
- deletedAt: Date | null;
8541
- isDefault?: boolean | undefined;
8542
- } | null | undefined;
8543
- }[] | null | undefined;
8544
8295
  }>;
8545
8296
  workflowRule: z.ZodObject<{
8546
8297
  id: z.ZodString;
@@ -8582,15 +8333,16 @@ export declare const messengerContract: {
8582
8333
  additionalCredentials?: any;
8583
8334
  senderId?: string | undefined;
8584
8335
  whatsapp?: {
8585
- email: string;
8586
- wabaExternalId: string;
8587
- phoneNumberId: string;
8588
- wabaBusinessId?: string | undefined;
8589
- clientId?: string | undefined;
8590
- channelId?: string | undefined;
8336
+ wabaBusinessId?: string | null | undefined;
8337
+ wabaExternalId?: string | null | undefined;
8338
+ phoneNumberId?: string | null | undefined;
8339
+ email?: string | null | undefined;
8340
+ clientId?: string | null | undefined;
8341
+ channelId?: string | null | undefined;
8591
8342
  status?: "active" | "pending" | undefined;
8592
8343
  apiKey?: string | undefined;
8593
8344
  tier?: "basic" | "regular" | "premium" | undefined;
8345
+ integrationType?: "meta" | "360dialog" | undefined;
8594
8346
  } | undefined;
8595
8347
  vonageCredentials?: {
8596
8348
  apiKey: string;
@@ -8761,7 +8513,6 @@ export declare const messengerContract: {
8761
8513
  dateValue: Date | null;
8762
8514
  uploads: {
8763
8515
  id: string;
8764
- status: string | null;
8765
8516
  createdAt: Date;
8766
8517
  updatedAt: Date;
8767
8518
  deletedAt: Date | null;
@@ -8770,6 +8521,7 @@ export declare const messengerContract: {
8770
8521
  bucketName: string;
8771
8522
  fileSize: number;
8772
8523
  fileUrl: string | null;
8524
+ status?: string | undefined;
8773
8525
  }[];
8774
8526
  }[];
8775
8527
  company: {
@@ -8904,12 +8656,8 @@ export declare const messengerContract: {
8904
8656
  entityName: string;
8905
8657
  agentId: string | null;
8906
8658
  startedDate: Date | null;
8907
- totalHoldDuration: number | null;
8908
8659
  handledTime: number | null;
8909
- fullHandledTime: number | null;
8910
8660
  firstResponseTime: number | null;
8911
- resolutionTime: number | null;
8912
- fullResolutionTime: number | null;
8913
8661
  wrapUpForm: {
8914
8662
  type: string;
8915
8663
  id: string;
@@ -8962,24 +8710,6 @@ export declare const messengerContract: {
8962
8710
  dateValue: Date | null;
8963
8711
  }[] | null | undefined;
8964
8712
  } | null;
8965
- holdLogs?: {
8966
- id: string;
8967
- createdAt: Date;
8968
- updatedAt: Date;
8969
- deletedAt: Date | null;
8970
- startedAt: string;
8971
- endedAt: string | null;
8972
- duration: number | null;
8973
- holdLabel?: {
8974
- name: string;
8975
- id: string;
8976
- position: number;
8977
- createdAt: Date;
8978
- updatedAt: Date;
8979
- deletedAt: Date | null;
8980
- isDefault: boolean;
8981
- } | null | undefined;
8982
- }[] | null | undefined;
8983
8713
  };
8984
8714
  workflowRule: {
8985
8715
  name: string;
@@ -9005,15 +8735,16 @@ export declare const messengerContract: {
9005
8735
  additionalCredentials?: any;
9006
8736
  senderId?: string | undefined;
9007
8737
  whatsapp?: {
9008
- email: string;
9009
- wabaExternalId: string;
9010
- phoneNumberId: string;
9011
- wabaBusinessId?: string | undefined;
9012
- clientId?: string | undefined;
9013
- channelId?: string | undefined;
8738
+ wabaBusinessId?: string | null | undefined;
8739
+ wabaExternalId?: string | null | undefined;
8740
+ phoneNumberId?: string | null | undefined;
8741
+ email?: string | null | undefined;
8742
+ clientId?: string | null | undefined;
8743
+ channelId?: string | null | undefined;
9014
8744
  status?: "active" | "pending" | undefined;
9015
8745
  apiKey?: string | undefined;
9016
8746
  tier?: "basic" | "regular" | "premium" | undefined;
8747
+ integrationType?: "meta" | "360dialog" | undefined;
9017
8748
  } | undefined;
9018
8749
  vonageCredentials?: {
9019
8750
  apiKey: string;
@@ -9184,7 +8915,6 @@ export declare const messengerContract: {
9184
8915
  dateValue: Date | null;
9185
8916
  uploads: {
9186
8917
  id: string;
9187
- status: string | null;
9188
8918
  createdAt: Date;
9189
8919
  updatedAt: Date;
9190
8920
  deletedAt: Date | null;
@@ -9193,6 +8923,7 @@ export declare const messengerContract: {
9193
8923
  bucketName: string;
9194
8924
  fileSize: number;
9195
8925
  fileUrl: string | null;
8926
+ status?: string | undefined;
9196
8927
  }[];
9197
8928
  }[];
9198
8929
  company: {
@@ -9327,12 +9058,8 @@ export declare const messengerContract: {
9327
9058
  entityName: string;
9328
9059
  agentId: string | null;
9329
9060
  startedDate: Date | null;
9330
- totalHoldDuration: number | null;
9331
9061
  handledTime: number | null;
9332
- fullHandledTime: number | null;
9333
9062
  firstResponseTime: number | null;
9334
- resolutionTime: number | null;
9335
- fullResolutionTime: number | null;
9336
9063
  wrapUpForm: {
9337
9064
  type: string;
9338
9065
  id: string;
@@ -9385,24 +9112,6 @@ export declare const messengerContract: {
9385
9112
  dateValue: Date | null;
9386
9113
  }[] | null | undefined;
9387
9114
  } | null;
9388
- holdLogs?: {
9389
- id: string;
9390
- createdAt: Date;
9391
- updatedAt: Date;
9392
- deletedAt: Date | null;
9393
- startedAt: string;
9394
- endedAt: string | null;
9395
- duration: number | null;
9396
- holdLabel?: {
9397
- name: string;
9398
- id: string;
9399
- position: number;
9400
- createdAt: Date;
9401
- updatedAt: Date;
9402
- deletedAt: Date | null;
9403
- isDefault?: boolean | undefined;
9404
- } | null | undefined;
9405
- }[] | null | undefined;
9406
9115
  };
9407
9116
  workflowRule: {
9408
9117
  name: string;
@@ -9425,10 +9134,9 @@ export declare const messengerContract: {
9425
9134
  fileSize: z.ZodNumber;
9426
9135
  fileKey: z.ZodString;
9427
9136
  fileUrl: z.ZodNullable<z.ZodString>;
9428
- status: z.ZodNullable<z.ZodString>;
9137
+ status: z.ZodOptional<z.ZodString>;
9429
9138
  }, "strip", z.ZodTypeAny, {
9430
9139
  id: string;
9431
- status: string | null;
9432
9140
  createdAt: Date;
9433
9141
  updatedAt: Date;
9434
9142
  deletedAt: Date | null;
@@ -9437,9 +9145,9 @@ export declare const messengerContract: {
9437
9145
  bucketName: string;
9438
9146
  fileSize: number;
9439
9147
  fileUrl: string | null;
9148
+ status?: string | undefined;
9440
9149
  }, {
9441
9150
  id: string;
9442
- status: string | null;
9443
9151
  createdAt: Date;
9444
9152
  updatedAt: Date;
9445
9153
  deletedAt: Date | null;
@@ -9448,6 +9156,7 @@ export declare const messengerContract: {
9448
9156
  bucketName: string;
9449
9157
  fileSize: number;
9450
9158
  fileUrl: string | null;
9159
+ status?: string | undefined;
9451
9160
  }>;
9452
9161
  repliedMessage: z.ZodLazy<z.ZodObject<{
9453
9162
  id: z.ZodString;
@@ -9456,7 +9165,7 @@ export declare const messengerContract: {
9456
9165
  deletedAt: z.ZodNullable<z.ZodDate>;
9457
9166
  message: z.ZodString;
9458
9167
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9459
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "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"]>;
9168
+ 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", "edited", "deleted", "unsupported"]>;
9460
9169
  readAt: z.ZodDate;
9461
9170
  metadata: z.ZodAny;
9462
9171
  platformId: z.ZodString;
@@ -9477,10 +9186,9 @@ export declare const messengerContract: {
9477
9186
  fileSize: z.ZodNumber;
9478
9187
  fileKey: z.ZodString;
9479
9188
  fileUrl: z.ZodNullable<z.ZodString>;
9480
- status: z.ZodNullable<z.ZodString>;
9189
+ status: z.ZodOptional<z.ZodString>;
9481
9190
  }, "strip", z.ZodTypeAny, {
9482
9191
  id: string;
9483
- status: string | null;
9484
9192
  createdAt: Date;
9485
9193
  updatedAt: Date;
9486
9194
  deletedAt: Date | null;
@@ -9489,9 +9197,9 @@ export declare const messengerContract: {
9489
9197
  bucketName: string;
9490
9198
  fileSize: number;
9491
9199
  fileUrl: string | null;
9200
+ status?: string | undefined;
9492
9201
  }, {
9493
9202
  id: string;
9494
- status: string | null;
9495
9203
  createdAt: Date;
9496
9204
  updatedAt: Date;
9497
9205
  deletedAt: Date | null;
@@ -9500,6 +9208,7 @@ export declare const messengerContract: {
9500
9208
  bucketName: string;
9501
9209
  fileSize: number;
9502
9210
  fileUrl: string | null;
9211
+ status?: string | undefined;
9503
9212
  }>;
9504
9213
  actor: z.ZodObject<{
9505
9214
  id: z.ZodString;
@@ -10114,7 +9823,7 @@ export declare const messengerContract: {
10114
9823
  };
10115
9824
  }>;
10116
9825
  }, "strip", z.ZodTypeAny, {
10117
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
9826
+ 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" | "edited" | "deleted" | "unsupported";
10118
9827
  message: string;
10119
9828
  id: string;
10120
9829
  url: string;
@@ -10168,7 +9877,6 @@ export declare const messengerContract: {
10168
9877
  };
10169
9878
  upload: {
10170
9879
  id: string;
10171
- status: string | null;
10172
9880
  createdAt: Date;
10173
9881
  updatedAt: Date;
10174
9882
  deletedAt: Date | null;
@@ -10177,6 +9885,7 @@ export declare const messengerContract: {
10177
9885
  bucketName: string;
10178
9886
  fileSize: number;
10179
9887
  fileUrl: string | null;
9888
+ status?: string | undefined;
10180
9889
  };
10181
9890
  assignee: {
10182
9891
  name: string;
@@ -10276,7 +9985,7 @@ export declare const messengerContract: {
10276
9985
  metadata?: any;
10277
9986
  template?: any;
10278
9987
  }, {
10279
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
9988
+ 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" | "edited" | "deleted" | "unsupported";
10280
9989
  message: string;
10281
9990
  id: string;
10282
9991
  url: string;
@@ -10330,7 +10039,6 @@ export declare const messengerContract: {
10330
10039
  };
10331
10040
  upload: {
10332
10041
  id: string;
10333
- status: string | null;
10334
10042
  createdAt: Date;
10335
10043
  updatedAt: Date;
10336
10044
  deletedAt: Date | null;
@@ -10339,6 +10047,7 @@ export declare const messengerContract: {
10339
10047
  bucketName: string;
10340
10048
  fileSize: number;
10341
10049
  fileUrl: string | null;
10050
+ status?: string | undefined;
10342
10051
  };
10343
10052
  assignee: {
10344
10053
  name: string;
@@ -11078,7 +10787,7 @@ export declare const messengerContract: {
11078
10787
  editedMessageid: z.ZodString;
11079
10788
  label: z.ZodOptional<z.ZodString>;
11080
10789
  }, "strip", z.ZodTypeAny, {
11081
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
10790
+ 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" | "edited" | "deleted" | "unsupported";
11082
10791
  message: string;
11083
10792
  id: string;
11084
10793
  url: string;
@@ -11132,7 +10841,6 @@ export declare const messengerContract: {
11132
10841
  };
11133
10842
  upload: {
11134
10843
  id: string;
11135
- status: string | null;
11136
10844
  createdAt: Date;
11137
10845
  updatedAt: Date;
11138
10846
  deletedAt: Date | null;
@@ -11141,6 +10849,7 @@ export declare const messengerContract: {
11141
10849
  bucketName: string;
11142
10850
  fileSize: number;
11143
10851
  fileUrl: string | null;
10852
+ status?: string | undefined;
11144
10853
  };
11145
10854
  assignee: {
11146
10855
  name: string;
@@ -11201,15 +10910,16 @@ export declare const messengerContract: {
11201
10910
  additionalCredentials?: any;
11202
10911
  senderId?: string | undefined;
11203
10912
  whatsapp?: {
11204
- email: string;
11205
- wabaExternalId: string;
11206
- phoneNumberId: string;
11207
- wabaBusinessId?: string | undefined;
11208
- clientId?: string | undefined;
11209
- channelId?: string | undefined;
10913
+ wabaBusinessId?: string | null | undefined;
10914
+ wabaExternalId?: string | null | undefined;
10915
+ phoneNumberId?: string | null | undefined;
10916
+ email?: string | null | undefined;
10917
+ clientId?: string | null | undefined;
10918
+ channelId?: string | null | undefined;
11210
10919
  status?: "active" | "pending" | undefined;
11211
10920
  apiKey?: string | undefined;
11212
10921
  tier?: "basic" | "regular" | "premium" | undefined;
10922
+ integrationType?: "meta" | "360dialog" | undefined;
11213
10923
  } | undefined;
11214
10924
  vonageCredentials?: {
11215
10925
  apiKey: string;
@@ -11380,7 +11090,6 @@ export declare const messengerContract: {
11380
11090
  dateValue: Date | null;
11381
11091
  uploads: {
11382
11092
  id: string;
11383
- status: string | null;
11384
11093
  createdAt: Date;
11385
11094
  updatedAt: Date;
11386
11095
  deletedAt: Date | null;
@@ -11389,6 +11098,7 @@ export declare const messengerContract: {
11389
11098
  bucketName: string;
11390
11099
  fileSize: number;
11391
11100
  fileUrl: string | null;
11101
+ status?: string | undefined;
11392
11102
  }[];
11393
11103
  }[];
11394
11104
  company: {
@@ -11523,12 +11233,8 @@ export declare const messengerContract: {
11523
11233
  entityName: string;
11524
11234
  agentId: string | null;
11525
11235
  startedDate: Date | null;
11526
- totalHoldDuration: number | null;
11527
11236
  handledTime: number | null;
11528
- fullHandledTime: number | null;
11529
11237
  firstResponseTime: number | null;
11530
- resolutionTime: number | null;
11531
- fullResolutionTime: number | null;
11532
11238
  wrapUpForm: {
11533
11239
  type: string;
11534
11240
  id: string;
@@ -11581,24 +11287,6 @@ export declare const messengerContract: {
11581
11287
  dateValue: Date | null;
11582
11288
  }[] | null | undefined;
11583
11289
  } | null;
11584
- holdLogs?: {
11585
- id: string;
11586
- createdAt: Date;
11587
- updatedAt: Date;
11588
- deletedAt: Date | null;
11589
- startedAt: string;
11590
- endedAt: string | null;
11591
- duration: number | null;
11592
- holdLabel?: {
11593
- name: string;
11594
- id: string;
11595
- position: number;
11596
- createdAt: Date;
11597
- updatedAt: Date;
11598
- deletedAt: Date | null;
11599
- isDefault: boolean;
11600
- } | null | undefined;
11601
- }[] | null | undefined;
11602
11290
  };
11603
11291
  workflowRule: {
11604
11292
  name: string;
@@ -11627,7 +11315,7 @@ export declare const messengerContract: {
11627
11315
  previewUrl: string;
11628
11316
  imageSetId: string;
11629
11317
  repliedMessage: {
11630
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
11318
+ 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" | "edited" | "deleted" | "unsupported";
11631
11319
  message: string;
11632
11320
  id: string;
11633
11321
  url: string;
@@ -11681,7 +11369,6 @@ export declare const messengerContract: {
11681
11369
  };
11682
11370
  upload: {
11683
11371
  id: string;
11684
- status: string | null;
11685
11372
  createdAt: Date;
11686
11373
  updatedAt: Date;
11687
11374
  deletedAt: Date | null;
@@ -11690,6 +11377,7 @@ export declare const messengerContract: {
11690
11377
  bucketName: string;
11691
11378
  fileSize: number;
11692
11379
  fileUrl: string | null;
11380
+ status?: string | undefined;
11693
11381
  };
11694
11382
  assignee: {
11695
11383
  name: string;
@@ -11838,7 +11526,7 @@ export declare const messengerContract: {
11838
11526
  template?: any;
11839
11527
  label?: string | undefined;
11840
11528
  }, {
11841
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
11529
+ 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" | "edited" | "deleted" | "unsupported";
11842
11530
  message: string;
11843
11531
  id: string;
11844
11532
  url: string;
@@ -11892,7 +11580,6 @@ export declare const messengerContract: {
11892
11580
  };
11893
11581
  upload: {
11894
11582
  id: string;
11895
- status: string | null;
11896
11583
  createdAt: Date;
11897
11584
  updatedAt: Date;
11898
11585
  deletedAt: Date | null;
@@ -11901,6 +11588,7 @@ export declare const messengerContract: {
11901
11588
  bucketName: string;
11902
11589
  fileSize: number;
11903
11590
  fileUrl: string | null;
11591
+ status?: string | undefined;
11904
11592
  };
11905
11593
  assignee: {
11906
11594
  name: string;
@@ -11961,15 +11649,16 @@ export declare const messengerContract: {
11961
11649
  additionalCredentials?: any;
11962
11650
  senderId?: string | undefined;
11963
11651
  whatsapp?: {
11964
- email: string;
11965
- wabaExternalId: string;
11966
- phoneNumberId: string;
11967
- wabaBusinessId?: string | undefined;
11968
- clientId?: string | undefined;
11969
- channelId?: string | undefined;
11652
+ wabaBusinessId?: string | null | undefined;
11653
+ wabaExternalId?: string | null | undefined;
11654
+ phoneNumberId?: string | null | undefined;
11655
+ email?: string | null | undefined;
11656
+ clientId?: string | null | undefined;
11657
+ channelId?: string | null | undefined;
11970
11658
  status?: "active" | "pending" | undefined;
11971
11659
  apiKey?: string | undefined;
11972
11660
  tier?: "basic" | "regular" | "premium" | undefined;
11661
+ integrationType?: "meta" | "360dialog" | undefined;
11973
11662
  } | undefined;
11974
11663
  vonageCredentials?: {
11975
11664
  apiKey: string;
@@ -12140,7 +11829,6 @@ export declare const messengerContract: {
12140
11829
  dateValue: Date | null;
12141
11830
  uploads: {
12142
11831
  id: string;
12143
- status: string | null;
12144
11832
  createdAt: Date;
12145
11833
  updatedAt: Date;
12146
11834
  deletedAt: Date | null;
@@ -12149,6 +11837,7 @@ export declare const messengerContract: {
12149
11837
  bucketName: string;
12150
11838
  fileSize: number;
12151
11839
  fileUrl: string | null;
11840
+ status?: string | undefined;
12152
11841
  }[];
12153
11842
  }[];
12154
11843
  company: {
@@ -12283,12 +11972,8 @@ export declare const messengerContract: {
12283
11972
  entityName: string;
12284
11973
  agentId: string | null;
12285
11974
  startedDate: Date | null;
12286
- totalHoldDuration: number | null;
12287
11975
  handledTime: number | null;
12288
- fullHandledTime: number | null;
12289
11976
  firstResponseTime: number | null;
12290
- resolutionTime: number | null;
12291
- fullResolutionTime: number | null;
12292
11977
  wrapUpForm: {
12293
11978
  type: string;
12294
11979
  id: string;
@@ -12341,24 +12026,6 @@ export declare const messengerContract: {
12341
12026
  dateValue: Date | null;
12342
12027
  }[] | null | undefined;
12343
12028
  } | null;
12344
- holdLogs?: {
12345
- id: string;
12346
- createdAt: Date;
12347
- updatedAt: Date;
12348
- deletedAt: Date | null;
12349
- startedAt: string;
12350
- endedAt: string | null;
12351
- duration: number | null;
12352
- holdLabel?: {
12353
- name: string;
12354
- id: string;
12355
- position: number;
12356
- createdAt: Date;
12357
- updatedAt: Date;
12358
- deletedAt: Date | null;
12359
- isDefault?: boolean | undefined;
12360
- } | null | undefined;
12361
- }[] | null | undefined;
12362
12029
  };
12363
12030
  workflowRule: {
12364
12031
  name: string;
@@ -12387,7 +12054,7 @@ export declare const messengerContract: {
12387
12054
  previewUrl: string;
12388
12055
  imageSetId: string;
12389
12056
  repliedMessage: {
12390
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
12057
+ 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" | "edited" | "deleted" | "unsupported";
12391
12058
  message: string;
12392
12059
  id: string;
12393
12060
  url: string;
@@ -12441,7 +12108,6 @@ export declare const messengerContract: {
12441
12108
  };
12442
12109
  upload: {
12443
12110
  id: string;
12444
- status: string | null;
12445
12111
  createdAt: Date;
12446
12112
  updatedAt: Date;
12447
12113
  deletedAt: Date | null;
@@ -12450,6 +12116,7 @@ export declare const messengerContract: {
12450
12116
  bucketName: string;
12451
12117
  fileSize: number;
12452
12118
  fileUrl: string | null;
12119
+ status?: string | undefined;
12453
12120
  };
12454
12121
  assignee: {
12455
12122
  name: string;
@@ -12599,7 +12266,7 @@ export declare const messengerContract: {
12599
12266
  label?: string | undefined;
12600
12267
  }>>>;
12601
12268
  }, "strip", z.ZodTypeAny, {
12602
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
12269
+ 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" | "edited" | "deleted" | "unsupported";
12603
12270
  message: string;
12604
12271
  id: string;
12605
12272
  url: string;
@@ -12653,7 +12320,6 @@ export declare const messengerContract: {
12653
12320
  };
12654
12321
  upload: {
12655
12322
  id: string;
12656
- status: string | null;
12657
12323
  createdAt: Date;
12658
12324
  updatedAt: Date;
12659
12325
  deletedAt: Date | null;
@@ -12662,6 +12328,7 @@ export declare const messengerContract: {
12662
12328
  bucketName: string;
12663
12329
  fileSize: number;
12664
12330
  fileUrl: string | null;
12331
+ status?: string | undefined;
12665
12332
  };
12666
12333
  assignee: {
12667
12334
  name: string;
@@ -12722,15 +12389,16 @@ export declare const messengerContract: {
12722
12389
  additionalCredentials?: any;
12723
12390
  senderId?: string | undefined;
12724
12391
  whatsapp?: {
12725
- email: string;
12726
- wabaExternalId: string;
12727
- phoneNumberId: string;
12728
- wabaBusinessId?: string | undefined;
12729
- clientId?: string | undefined;
12730
- channelId?: string | undefined;
12392
+ wabaBusinessId?: string | null | undefined;
12393
+ wabaExternalId?: string | null | undefined;
12394
+ phoneNumberId?: string | null | undefined;
12395
+ email?: string | null | undefined;
12396
+ clientId?: string | null | undefined;
12397
+ channelId?: string | null | undefined;
12731
12398
  status?: "active" | "pending" | undefined;
12732
12399
  apiKey?: string | undefined;
12733
12400
  tier?: "basic" | "regular" | "premium" | undefined;
12401
+ integrationType?: "meta" | "360dialog" | undefined;
12734
12402
  } | undefined;
12735
12403
  vonageCredentials?: {
12736
12404
  apiKey: string;
@@ -12901,7 +12569,6 @@ export declare const messengerContract: {
12901
12569
  dateValue: Date | null;
12902
12570
  uploads: {
12903
12571
  id: string;
12904
- status: string | null;
12905
12572
  createdAt: Date;
12906
12573
  updatedAt: Date;
12907
12574
  deletedAt: Date | null;
@@ -12910,6 +12577,7 @@ export declare const messengerContract: {
12910
12577
  bucketName: string;
12911
12578
  fileSize: number;
12912
12579
  fileUrl: string | null;
12580
+ status?: string | undefined;
12913
12581
  }[];
12914
12582
  }[];
12915
12583
  company: {
@@ -13044,12 +12712,8 @@ export declare const messengerContract: {
13044
12712
  entityName: string;
13045
12713
  agentId: string | null;
13046
12714
  startedDate: Date | null;
13047
- totalHoldDuration: number | null;
13048
12715
  handledTime: number | null;
13049
- fullHandledTime: number | null;
13050
12716
  firstResponseTime: number | null;
13051
- resolutionTime: number | null;
13052
- fullResolutionTime: number | null;
13053
12717
  wrapUpForm: {
13054
12718
  type: string;
13055
12719
  id: string;
@@ -13102,24 +12766,6 @@ export declare const messengerContract: {
13102
12766
  dateValue: Date | null;
13103
12767
  }[] | null | undefined;
13104
12768
  } | null;
13105
- holdLogs?: {
13106
- id: string;
13107
- createdAt: Date;
13108
- updatedAt: Date;
13109
- deletedAt: Date | null;
13110
- startedAt: string;
13111
- endedAt: string | null;
13112
- duration: number | null;
13113
- holdLabel?: {
13114
- name: string;
13115
- id: string;
13116
- position: number;
13117
- createdAt: Date;
13118
- updatedAt: Date;
13119
- deletedAt: Date | null;
13120
- isDefault: boolean;
13121
- } | null | undefined;
13122
- }[] | null | undefined;
13123
12769
  };
13124
12770
  workflowRule: {
13125
12771
  name: string;
@@ -13148,7 +12794,7 @@ export declare const messengerContract: {
13148
12794
  previewUrl: string;
13149
12795
  imageSetId: string;
13150
12796
  repliedMessage: {
13151
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
12797
+ 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" | "edited" | "deleted" | "unsupported";
13152
12798
  message: string;
13153
12799
  id: string;
13154
12800
  url: string;
@@ -13202,7 +12848,6 @@ export declare const messengerContract: {
13202
12848
  };
13203
12849
  upload: {
13204
12850
  id: string;
13205
- status: string | null;
13206
12851
  createdAt: Date;
13207
12852
  updatedAt: Date;
13208
12853
  deletedAt: Date | null;
@@ -13211,6 +12856,7 @@ export declare const messengerContract: {
13211
12856
  bucketName: string;
13212
12857
  fileSize: number;
13213
12858
  fileUrl: string | null;
12859
+ status?: string | undefined;
13214
12860
  };
13215
12861
  assignee: {
13216
12862
  name: string;
@@ -13359,7 +13005,7 @@ export declare const messengerContract: {
13359
13005
  template?: any;
13360
13006
  metadata?: any;
13361
13007
  fromMessage?: {
13362
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
13008
+ 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" | "edited" | "deleted" | "unsupported";
13363
13009
  message: string;
13364
13010
  id: string;
13365
13011
  url: string;
@@ -13413,7 +13059,6 @@ export declare const messengerContract: {
13413
13059
  };
13414
13060
  upload: {
13415
13061
  id: string;
13416
- status: string | null;
13417
13062
  createdAt: Date;
13418
13063
  updatedAt: Date;
13419
13064
  deletedAt: Date | null;
@@ -13422,6 +13067,7 @@ export declare const messengerContract: {
13422
13067
  bucketName: string;
13423
13068
  fileSize: number;
13424
13069
  fileUrl: string | null;
13070
+ status?: string | undefined;
13425
13071
  };
13426
13072
  assignee: {
13427
13073
  name: string;
@@ -13482,15 +13128,16 @@ export declare const messengerContract: {
13482
13128
  additionalCredentials?: any;
13483
13129
  senderId?: string | undefined;
13484
13130
  whatsapp?: {
13485
- email: string;
13486
- wabaExternalId: string;
13487
- phoneNumberId: string;
13488
- wabaBusinessId?: string | undefined;
13489
- clientId?: string | undefined;
13490
- channelId?: string | undefined;
13131
+ wabaBusinessId?: string | null | undefined;
13132
+ wabaExternalId?: string | null | undefined;
13133
+ phoneNumberId?: string | null | undefined;
13134
+ email?: string | null | undefined;
13135
+ clientId?: string | null | undefined;
13136
+ channelId?: string | null | undefined;
13491
13137
  status?: "active" | "pending" | undefined;
13492
13138
  apiKey?: string | undefined;
13493
13139
  tier?: "basic" | "regular" | "premium" | undefined;
13140
+ integrationType?: "meta" | "360dialog" | undefined;
13494
13141
  } | undefined;
13495
13142
  vonageCredentials?: {
13496
13143
  apiKey: string;
@@ -13661,7 +13308,6 @@ export declare const messengerContract: {
13661
13308
  dateValue: Date | null;
13662
13309
  uploads: {
13663
13310
  id: string;
13664
- status: string | null;
13665
13311
  createdAt: Date;
13666
13312
  updatedAt: Date;
13667
13313
  deletedAt: Date | null;
@@ -13670,6 +13316,7 @@ export declare const messengerContract: {
13670
13316
  bucketName: string;
13671
13317
  fileSize: number;
13672
13318
  fileUrl: string | null;
13319
+ status?: string | undefined;
13673
13320
  }[];
13674
13321
  }[];
13675
13322
  company: {
@@ -13804,12 +13451,8 @@ export declare const messengerContract: {
13804
13451
  entityName: string;
13805
13452
  agentId: string | null;
13806
13453
  startedDate: Date | null;
13807
- totalHoldDuration: number | null;
13808
13454
  handledTime: number | null;
13809
- fullHandledTime: number | null;
13810
13455
  firstResponseTime: number | null;
13811
- resolutionTime: number | null;
13812
- fullResolutionTime: number | null;
13813
13456
  wrapUpForm: {
13814
13457
  type: string;
13815
13458
  id: string;
@@ -13862,24 +13505,6 @@ export declare const messengerContract: {
13862
13505
  dateValue: Date | null;
13863
13506
  }[] | null | undefined;
13864
13507
  } | null;
13865
- holdLogs?: {
13866
- id: string;
13867
- createdAt: Date;
13868
- updatedAt: Date;
13869
- deletedAt: Date | null;
13870
- startedAt: string;
13871
- endedAt: string | null;
13872
- duration: number | null;
13873
- holdLabel?: {
13874
- name: string;
13875
- id: string;
13876
- position: number;
13877
- createdAt: Date;
13878
- updatedAt: Date;
13879
- deletedAt: Date | null;
13880
- isDefault: boolean;
13881
- } | null | undefined;
13882
- }[] | null | undefined;
13883
13508
  };
13884
13509
  workflowRule: {
13885
13510
  name: string;
@@ -13908,7 +13533,7 @@ export declare const messengerContract: {
13908
13533
  previewUrl: string;
13909
13534
  imageSetId: string;
13910
13535
  repliedMessage: {
13911
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
13536
+ 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" | "edited" | "deleted" | "unsupported";
13912
13537
  message: string;
13913
13538
  id: string;
13914
13539
  url: string;
@@ -13962,7 +13587,6 @@ export declare const messengerContract: {
13962
13587
  };
13963
13588
  upload: {
13964
13589
  id: string;
13965
- status: string | null;
13966
13590
  createdAt: Date;
13967
13591
  updatedAt: Date;
13968
13592
  deletedAt: Date | null;
@@ -13971,6 +13595,7 @@ export declare const messengerContract: {
13971
13595
  bucketName: string;
13972
13596
  fileSize: number;
13973
13597
  fileUrl: string | null;
13598
+ status?: string | undefined;
13974
13599
  };
13975
13600
  assignee: {
13976
13601
  name: string;
@@ -14120,7 +13745,7 @@ export declare const messengerContract: {
14120
13745
  label?: string | undefined;
14121
13746
  } | null | undefined;
14122
13747
  }, {
14123
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
13748
+ 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" | "edited" | "deleted" | "unsupported";
14124
13749
  message: string;
14125
13750
  id: string;
14126
13751
  url: string;
@@ -14174,7 +13799,6 @@ export declare const messengerContract: {
14174
13799
  };
14175
13800
  upload: {
14176
13801
  id: string;
14177
- status: string | null;
14178
13802
  createdAt: Date;
14179
13803
  updatedAt: Date;
14180
13804
  deletedAt: Date | null;
@@ -14183,6 +13807,7 @@ export declare const messengerContract: {
14183
13807
  bucketName: string;
14184
13808
  fileSize: number;
14185
13809
  fileUrl: string | null;
13810
+ status?: string | undefined;
14186
13811
  };
14187
13812
  assignee: {
14188
13813
  name: string;
@@ -14243,15 +13868,16 @@ export declare const messengerContract: {
14243
13868
  additionalCredentials?: any;
14244
13869
  senderId?: string | undefined;
14245
13870
  whatsapp?: {
14246
- email: string;
14247
- wabaExternalId: string;
14248
- phoneNumberId: string;
14249
- wabaBusinessId?: string | undefined;
14250
- clientId?: string | undefined;
14251
- channelId?: string | undefined;
13871
+ wabaBusinessId?: string | null | undefined;
13872
+ wabaExternalId?: string | null | undefined;
13873
+ phoneNumberId?: string | null | undefined;
13874
+ email?: string | null | undefined;
13875
+ clientId?: string | null | undefined;
13876
+ channelId?: string | null | undefined;
14252
13877
  status?: "active" | "pending" | undefined;
14253
13878
  apiKey?: string | undefined;
14254
13879
  tier?: "basic" | "regular" | "premium" | undefined;
13880
+ integrationType?: "meta" | "360dialog" | undefined;
14255
13881
  } | undefined;
14256
13882
  vonageCredentials?: {
14257
13883
  apiKey: string;
@@ -14422,7 +14048,6 @@ export declare const messengerContract: {
14422
14048
  dateValue: Date | null;
14423
14049
  uploads: {
14424
14050
  id: string;
14425
- status: string | null;
14426
14051
  createdAt: Date;
14427
14052
  updatedAt: Date;
14428
14053
  deletedAt: Date | null;
@@ -14431,6 +14056,7 @@ export declare const messengerContract: {
14431
14056
  bucketName: string;
14432
14057
  fileSize: number;
14433
14058
  fileUrl: string | null;
14059
+ status?: string | undefined;
14434
14060
  }[];
14435
14061
  }[];
14436
14062
  company: {
@@ -14565,12 +14191,8 @@ export declare const messengerContract: {
14565
14191
  entityName: string;
14566
14192
  agentId: string | null;
14567
14193
  startedDate: Date | null;
14568
- totalHoldDuration: number | null;
14569
14194
  handledTime: number | null;
14570
- fullHandledTime: number | null;
14571
14195
  firstResponseTime: number | null;
14572
- resolutionTime: number | null;
14573
- fullResolutionTime: number | null;
14574
14196
  wrapUpForm: {
14575
14197
  type: string;
14576
14198
  id: string;
@@ -14623,24 +14245,6 @@ export declare const messengerContract: {
14623
14245
  dateValue: Date | null;
14624
14246
  }[] | null | undefined;
14625
14247
  } | null;
14626
- holdLogs?: {
14627
- id: string;
14628
- createdAt: Date;
14629
- updatedAt: Date;
14630
- deletedAt: Date | null;
14631
- startedAt: string;
14632
- endedAt: string | null;
14633
- duration: number | null;
14634
- holdLabel?: {
14635
- name: string;
14636
- id: string;
14637
- position: number;
14638
- createdAt: Date;
14639
- updatedAt: Date;
14640
- deletedAt: Date | null;
14641
- isDefault?: boolean | undefined;
14642
- } | null | undefined;
14643
- }[] | null | undefined;
14644
14248
  };
14645
14249
  workflowRule: {
14646
14250
  name: string;
@@ -14669,7 +14273,7 @@ export declare const messengerContract: {
14669
14273
  previewUrl: string;
14670
14274
  imageSetId: string;
14671
14275
  repliedMessage: {
14672
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
14276
+ 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" | "edited" | "deleted" | "unsupported";
14673
14277
  message: string;
14674
14278
  id: string;
14675
14279
  url: string;
@@ -14723,7 +14327,6 @@ export declare const messengerContract: {
14723
14327
  };
14724
14328
  upload: {
14725
14329
  id: string;
14726
- status: string | null;
14727
14330
  createdAt: Date;
14728
14331
  updatedAt: Date;
14729
14332
  deletedAt: Date | null;
@@ -14732,6 +14335,7 @@ export declare const messengerContract: {
14732
14335
  bucketName: string;
14733
14336
  fileSize: number;
14734
14337
  fileUrl: string | null;
14338
+ status?: string | undefined;
14735
14339
  };
14736
14340
  assignee: {
14737
14341
  name: string;
@@ -14880,7 +14484,7 @@ export declare const messengerContract: {
14880
14484
  template?: any;
14881
14485
  metadata?: any;
14882
14486
  fromMessage?: {
14883
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
14487
+ 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" | "edited" | "deleted" | "unsupported";
14884
14488
  message: string;
14885
14489
  id: string;
14886
14490
  url: string;
@@ -14934,7 +14538,6 @@ export declare const messengerContract: {
14934
14538
  };
14935
14539
  upload: {
14936
14540
  id: string;
14937
- status: string | null;
14938
14541
  createdAt: Date;
14939
14542
  updatedAt: Date;
14940
14543
  deletedAt: Date | null;
@@ -14943,6 +14546,7 @@ export declare const messengerContract: {
14943
14546
  bucketName: string;
14944
14547
  fileSize: number;
14945
14548
  fileUrl: string | null;
14549
+ status?: string | undefined;
14946
14550
  };
14947
14551
  assignee: {
14948
14552
  name: string;
@@ -15003,15 +14607,16 @@ export declare const messengerContract: {
15003
14607
  additionalCredentials?: any;
15004
14608
  senderId?: string | undefined;
15005
14609
  whatsapp?: {
15006
- email: string;
15007
- wabaExternalId: string;
15008
- phoneNumberId: string;
15009
- wabaBusinessId?: string | undefined;
15010
- clientId?: string | undefined;
15011
- channelId?: string | undefined;
14610
+ wabaBusinessId?: string | null | undefined;
14611
+ wabaExternalId?: string | null | undefined;
14612
+ phoneNumberId?: string | null | undefined;
14613
+ email?: string | null | undefined;
14614
+ clientId?: string | null | undefined;
14615
+ channelId?: string | null | undefined;
15012
14616
  status?: "active" | "pending" | undefined;
15013
14617
  apiKey?: string | undefined;
15014
14618
  tier?: "basic" | "regular" | "premium" | undefined;
14619
+ integrationType?: "meta" | "360dialog" | undefined;
15015
14620
  } | undefined;
15016
14621
  vonageCredentials?: {
15017
14622
  apiKey: string;
@@ -15182,7 +14787,6 @@ export declare const messengerContract: {
15182
14787
  dateValue: Date | null;
15183
14788
  uploads: {
15184
14789
  id: string;
15185
- status: string | null;
15186
14790
  createdAt: Date;
15187
14791
  updatedAt: Date;
15188
14792
  deletedAt: Date | null;
@@ -15191,6 +14795,7 @@ export declare const messengerContract: {
15191
14795
  bucketName: string;
15192
14796
  fileSize: number;
15193
14797
  fileUrl: string | null;
14798
+ status?: string | undefined;
15194
14799
  }[];
15195
14800
  }[];
15196
14801
  company: {
@@ -15325,12 +14930,8 @@ export declare const messengerContract: {
15325
14930
  entityName: string;
15326
14931
  agentId: string | null;
15327
14932
  startedDate: Date | null;
15328
- totalHoldDuration: number | null;
15329
14933
  handledTime: number | null;
15330
- fullHandledTime: number | null;
15331
14934
  firstResponseTime: number | null;
15332
- resolutionTime: number | null;
15333
- fullResolutionTime: number | null;
15334
14935
  wrapUpForm: {
15335
14936
  type: string;
15336
14937
  id: string;
@@ -15383,24 +14984,6 @@ export declare const messengerContract: {
15383
14984
  dateValue: Date | null;
15384
14985
  }[] | null | undefined;
15385
14986
  } | null;
15386
- holdLogs?: {
15387
- id: string;
15388
- createdAt: Date;
15389
- updatedAt: Date;
15390
- deletedAt: Date | null;
15391
- startedAt: string;
15392
- endedAt: string | null;
15393
- duration: number | null;
15394
- holdLabel?: {
15395
- name: string;
15396
- id: string;
15397
- position: number;
15398
- createdAt: Date;
15399
- updatedAt: Date;
15400
- deletedAt: Date | null;
15401
- isDefault?: boolean | undefined;
15402
- } | null | undefined;
15403
- }[] | null | undefined;
15404
14987
  };
15405
14988
  workflowRule: {
15406
14989
  name: string;
@@ -15429,7 +15012,7 @@ export declare const messengerContract: {
15429
15012
  previewUrl: string;
15430
15013
  imageSetId: string;
15431
15014
  repliedMessage: {
15432
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
15015
+ 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" | "edited" | "deleted" | "unsupported";
15433
15016
  message: string;
15434
15017
  id: string;
15435
15018
  url: string;
@@ -15483,7 +15066,6 @@ export declare const messengerContract: {
15483
15066
  };
15484
15067
  upload: {
15485
15068
  id: string;
15486
- status: string | null;
15487
15069
  createdAt: Date;
15488
15070
  updatedAt: Date;
15489
15071
  deletedAt: Date | null;
@@ -15492,6 +15074,7 @@ export declare const messengerContract: {
15492
15074
  bucketName: string;
15493
15075
  fileSize: number;
15494
15076
  fileUrl: string | null;
15077
+ status?: string | undefined;
15495
15078
  };
15496
15079
  assignee: {
15497
15080
  name: string;
@@ -15643,7 +15226,7 @@ export declare const messengerContract: {
15643
15226
  }>;
15644
15227
  }, "strip", z.ZodTypeAny, {
15645
15228
  data: {
15646
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
15229
+ 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" | "edited" | "deleted" | "unsupported";
15647
15230
  message: string;
15648
15231
  id: string;
15649
15232
  url: string;
@@ -15697,7 +15280,6 @@ export declare const messengerContract: {
15697
15280
  };
15698
15281
  upload: {
15699
15282
  id: string;
15700
- status: string | null;
15701
15283
  createdAt: Date;
15702
15284
  updatedAt: Date;
15703
15285
  deletedAt: Date | null;
@@ -15706,6 +15288,7 @@ export declare const messengerContract: {
15706
15288
  bucketName: string;
15707
15289
  fileSize: number;
15708
15290
  fileUrl: string | null;
15291
+ status?: string | undefined;
15709
15292
  };
15710
15293
  assignee: {
15711
15294
  name: string;
@@ -15766,15 +15349,16 @@ export declare const messengerContract: {
15766
15349
  additionalCredentials?: any;
15767
15350
  senderId?: string | undefined;
15768
15351
  whatsapp?: {
15769
- email: string;
15770
- wabaExternalId: string;
15771
- phoneNumberId: string;
15772
- wabaBusinessId?: string | undefined;
15773
- clientId?: string | undefined;
15774
- channelId?: string | undefined;
15352
+ wabaBusinessId?: string | null | undefined;
15353
+ wabaExternalId?: string | null | undefined;
15354
+ phoneNumberId?: string | null | undefined;
15355
+ email?: string | null | undefined;
15356
+ clientId?: string | null | undefined;
15357
+ channelId?: string | null | undefined;
15775
15358
  status?: "active" | "pending" | undefined;
15776
15359
  apiKey?: string | undefined;
15777
15360
  tier?: "basic" | "regular" | "premium" | undefined;
15361
+ integrationType?: "meta" | "360dialog" | undefined;
15778
15362
  } | undefined;
15779
15363
  vonageCredentials?: {
15780
15364
  apiKey: string;
@@ -15945,7 +15529,6 @@ export declare const messengerContract: {
15945
15529
  dateValue: Date | null;
15946
15530
  uploads: {
15947
15531
  id: string;
15948
- status: string | null;
15949
15532
  createdAt: Date;
15950
15533
  updatedAt: Date;
15951
15534
  deletedAt: Date | null;
@@ -15954,6 +15537,7 @@ export declare const messengerContract: {
15954
15537
  bucketName: string;
15955
15538
  fileSize: number;
15956
15539
  fileUrl: string | null;
15540
+ status?: string | undefined;
15957
15541
  }[];
15958
15542
  }[];
15959
15543
  company: {
@@ -16088,12 +15672,8 @@ export declare const messengerContract: {
16088
15672
  entityName: string;
16089
15673
  agentId: string | null;
16090
15674
  startedDate: Date | null;
16091
- totalHoldDuration: number | null;
16092
15675
  handledTime: number | null;
16093
- fullHandledTime: number | null;
16094
15676
  firstResponseTime: number | null;
16095
- resolutionTime: number | null;
16096
- fullResolutionTime: number | null;
16097
15677
  wrapUpForm: {
16098
15678
  type: string;
16099
15679
  id: string;
@@ -16146,24 +15726,6 @@ export declare const messengerContract: {
16146
15726
  dateValue: Date | null;
16147
15727
  }[] | null | undefined;
16148
15728
  } | null;
16149
- holdLogs?: {
16150
- id: string;
16151
- createdAt: Date;
16152
- updatedAt: Date;
16153
- deletedAt: Date | null;
16154
- startedAt: string;
16155
- endedAt: string | null;
16156
- duration: number | null;
16157
- holdLabel?: {
16158
- name: string;
16159
- id: string;
16160
- position: number;
16161
- createdAt: Date;
16162
- updatedAt: Date;
16163
- deletedAt: Date | null;
16164
- isDefault: boolean;
16165
- } | null | undefined;
16166
- }[] | null | undefined;
16167
15729
  };
16168
15730
  workflowRule: {
16169
15731
  name: string;
@@ -16192,7 +15754,7 @@ export declare const messengerContract: {
16192
15754
  previewUrl: string;
16193
15755
  imageSetId: string;
16194
15756
  repliedMessage: {
16195
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
15757
+ 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" | "edited" | "deleted" | "unsupported";
16196
15758
  message: string;
16197
15759
  id: string;
16198
15760
  url: string;
@@ -16246,7 +15808,6 @@ export declare const messengerContract: {
16246
15808
  };
16247
15809
  upload: {
16248
15810
  id: string;
16249
- status: string | null;
16250
15811
  createdAt: Date;
16251
15812
  updatedAt: Date;
16252
15813
  deletedAt: Date | null;
@@ -16255,6 +15816,7 @@ export declare const messengerContract: {
16255
15816
  bucketName: string;
16256
15817
  fileSize: number;
16257
15818
  fileUrl: string | null;
15819
+ status?: string | undefined;
16258
15820
  };
16259
15821
  assignee: {
16260
15822
  name: string;
@@ -16403,7 +15965,7 @@ export declare const messengerContract: {
16403
15965
  template?: any;
16404
15966
  metadata?: any;
16405
15967
  fromMessage?: {
16406
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
15968
+ 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" | "edited" | "deleted" | "unsupported";
16407
15969
  message: string;
16408
15970
  id: string;
16409
15971
  url: string;
@@ -16457,7 +16019,6 @@ export declare const messengerContract: {
16457
16019
  };
16458
16020
  upload: {
16459
16021
  id: string;
16460
- status: string | null;
16461
16022
  createdAt: Date;
16462
16023
  updatedAt: Date;
16463
16024
  deletedAt: Date | null;
@@ -16466,6 +16027,7 @@ export declare const messengerContract: {
16466
16027
  bucketName: string;
16467
16028
  fileSize: number;
16468
16029
  fileUrl: string | null;
16030
+ status?: string | undefined;
16469
16031
  };
16470
16032
  assignee: {
16471
16033
  name: string;
@@ -16526,15 +16088,16 @@ export declare const messengerContract: {
16526
16088
  additionalCredentials?: any;
16527
16089
  senderId?: string | undefined;
16528
16090
  whatsapp?: {
16529
- email: string;
16530
- wabaExternalId: string;
16531
- phoneNumberId: string;
16532
- wabaBusinessId?: string | undefined;
16533
- clientId?: string | undefined;
16534
- channelId?: string | undefined;
16091
+ wabaBusinessId?: string | null | undefined;
16092
+ wabaExternalId?: string | null | undefined;
16093
+ phoneNumberId?: string | null | undefined;
16094
+ email?: string | null | undefined;
16095
+ clientId?: string | null | undefined;
16096
+ channelId?: string | null | undefined;
16535
16097
  status?: "active" | "pending" | undefined;
16536
16098
  apiKey?: string | undefined;
16537
16099
  tier?: "basic" | "regular" | "premium" | undefined;
16100
+ integrationType?: "meta" | "360dialog" | undefined;
16538
16101
  } | undefined;
16539
16102
  vonageCredentials?: {
16540
16103
  apiKey: string;
@@ -16705,7 +16268,6 @@ export declare const messengerContract: {
16705
16268
  dateValue: Date | null;
16706
16269
  uploads: {
16707
16270
  id: string;
16708
- status: string | null;
16709
16271
  createdAt: Date;
16710
16272
  updatedAt: Date;
16711
16273
  deletedAt: Date | null;
@@ -16714,6 +16276,7 @@ export declare const messengerContract: {
16714
16276
  bucketName: string;
16715
16277
  fileSize: number;
16716
16278
  fileUrl: string | null;
16279
+ status?: string | undefined;
16717
16280
  }[];
16718
16281
  }[];
16719
16282
  company: {
@@ -16848,12 +16411,8 @@ export declare const messengerContract: {
16848
16411
  entityName: string;
16849
16412
  agentId: string | null;
16850
16413
  startedDate: Date | null;
16851
- totalHoldDuration: number | null;
16852
16414
  handledTime: number | null;
16853
- fullHandledTime: number | null;
16854
16415
  firstResponseTime: number | null;
16855
- resolutionTime: number | null;
16856
- fullResolutionTime: number | null;
16857
16416
  wrapUpForm: {
16858
16417
  type: string;
16859
16418
  id: string;
@@ -16906,24 +16465,6 @@ export declare const messengerContract: {
16906
16465
  dateValue: Date | null;
16907
16466
  }[] | null | undefined;
16908
16467
  } | null;
16909
- holdLogs?: {
16910
- id: string;
16911
- createdAt: Date;
16912
- updatedAt: Date;
16913
- deletedAt: Date | null;
16914
- startedAt: string;
16915
- endedAt: string | null;
16916
- duration: number | null;
16917
- holdLabel?: {
16918
- name: string;
16919
- id: string;
16920
- position: number;
16921
- createdAt: Date;
16922
- updatedAt: Date;
16923
- deletedAt: Date | null;
16924
- isDefault: boolean;
16925
- } | null | undefined;
16926
- }[] | null | undefined;
16927
16468
  };
16928
16469
  workflowRule: {
16929
16470
  name: string;
@@ -16952,7 +16493,7 @@ export declare const messengerContract: {
16952
16493
  previewUrl: string;
16953
16494
  imageSetId: string;
16954
16495
  repliedMessage: {
16955
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
16496
+ 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" | "edited" | "deleted" | "unsupported";
16956
16497
  message: string;
16957
16498
  id: string;
16958
16499
  url: string;
@@ -17006,7 +16547,6 @@ export declare const messengerContract: {
17006
16547
  };
17007
16548
  upload: {
17008
16549
  id: string;
17009
- status: string | null;
17010
16550
  createdAt: Date;
17011
16551
  updatedAt: Date;
17012
16552
  deletedAt: Date | null;
@@ -17015,6 +16555,7 @@ export declare const messengerContract: {
17015
16555
  bucketName: string;
17016
16556
  fileSize: number;
17017
16557
  fileUrl: string | null;
16558
+ status?: string | undefined;
17018
16559
  };
17019
16560
  assignee: {
17020
16561
  name: string;
@@ -17167,7 +16708,7 @@ export declare const messengerContract: {
17167
16708
  requestId: string;
17168
16709
  }, {
17169
16710
  data: {
17170
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
16711
+ 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" | "edited" | "deleted" | "unsupported";
17171
16712
  message: string;
17172
16713
  id: string;
17173
16714
  url: string;
@@ -17221,7 +16762,6 @@ export declare const messengerContract: {
17221
16762
  };
17222
16763
  upload: {
17223
16764
  id: string;
17224
- status: string | null;
17225
16765
  createdAt: Date;
17226
16766
  updatedAt: Date;
17227
16767
  deletedAt: Date | null;
@@ -17230,6 +16770,7 @@ export declare const messengerContract: {
17230
16770
  bucketName: string;
17231
16771
  fileSize: number;
17232
16772
  fileUrl: string | null;
16773
+ status?: string | undefined;
17233
16774
  };
17234
16775
  assignee: {
17235
16776
  name: string;
@@ -17290,15 +16831,16 @@ export declare const messengerContract: {
17290
16831
  additionalCredentials?: any;
17291
16832
  senderId?: string | undefined;
17292
16833
  whatsapp?: {
17293
- email: string;
17294
- wabaExternalId: string;
17295
- phoneNumberId: string;
17296
- wabaBusinessId?: string | undefined;
17297
- clientId?: string | undefined;
17298
- channelId?: string | undefined;
16834
+ wabaBusinessId?: string | null | undefined;
16835
+ wabaExternalId?: string | null | undefined;
16836
+ phoneNumberId?: string | null | undefined;
16837
+ email?: string | null | undefined;
16838
+ clientId?: string | null | undefined;
16839
+ channelId?: string | null | undefined;
17299
16840
  status?: "active" | "pending" | undefined;
17300
16841
  apiKey?: string | undefined;
17301
16842
  tier?: "basic" | "regular" | "premium" | undefined;
16843
+ integrationType?: "meta" | "360dialog" | undefined;
17302
16844
  } | undefined;
17303
16845
  vonageCredentials?: {
17304
16846
  apiKey: string;
@@ -17469,7 +17011,6 @@ export declare const messengerContract: {
17469
17011
  dateValue: Date | null;
17470
17012
  uploads: {
17471
17013
  id: string;
17472
- status: string | null;
17473
17014
  createdAt: Date;
17474
17015
  updatedAt: Date;
17475
17016
  deletedAt: Date | null;
@@ -17478,6 +17019,7 @@ export declare const messengerContract: {
17478
17019
  bucketName: string;
17479
17020
  fileSize: number;
17480
17021
  fileUrl: string | null;
17022
+ status?: string | undefined;
17481
17023
  }[];
17482
17024
  }[];
17483
17025
  company: {
@@ -17612,12 +17154,8 @@ export declare const messengerContract: {
17612
17154
  entityName: string;
17613
17155
  agentId: string | null;
17614
17156
  startedDate: Date | null;
17615
- totalHoldDuration: number | null;
17616
17157
  handledTime: number | null;
17617
- fullHandledTime: number | null;
17618
17158
  firstResponseTime: number | null;
17619
- resolutionTime: number | null;
17620
- fullResolutionTime: number | null;
17621
17159
  wrapUpForm: {
17622
17160
  type: string;
17623
17161
  id: string;
@@ -17670,24 +17208,6 @@ export declare const messengerContract: {
17670
17208
  dateValue: Date | null;
17671
17209
  }[] | null | undefined;
17672
17210
  } | null;
17673
- holdLogs?: {
17674
- id: string;
17675
- createdAt: Date;
17676
- updatedAt: Date;
17677
- deletedAt: Date | null;
17678
- startedAt: string;
17679
- endedAt: string | null;
17680
- duration: number | null;
17681
- holdLabel?: {
17682
- name: string;
17683
- id: string;
17684
- position: number;
17685
- createdAt: Date;
17686
- updatedAt: Date;
17687
- deletedAt: Date | null;
17688
- isDefault?: boolean | undefined;
17689
- } | null | undefined;
17690
- }[] | null | undefined;
17691
17211
  };
17692
17212
  workflowRule: {
17693
17213
  name: string;
@@ -17716,7 +17236,7 @@ export declare const messengerContract: {
17716
17236
  previewUrl: string;
17717
17237
  imageSetId: string;
17718
17238
  repliedMessage: {
17719
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
17239
+ 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" | "edited" | "deleted" | "unsupported";
17720
17240
  message: string;
17721
17241
  id: string;
17722
17242
  url: string;
@@ -17770,7 +17290,6 @@ export declare const messengerContract: {
17770
17290
  };
17771
17291
  upload: {
17772
17292
  id: string;
17773
- status: string | null;
17774
17293
  createdAt: Date;
17775
17294
  updatedAt: Date;
17776
17295
  deletedAt: Date | null;
@@ -17779,6 +17298,7 @@ export declare const messengerContract: {
17779
17298
  bucketName: string;
17780
17299
  fileSize: number;
17781
17300
  fileUrl: string | null;
17301
+ status?: string | undefined;
17782
17302
  };
17783
17303
  assignee: {
17784
17304
  name: string;
@@ -17927,7 +17447,7 @@ export declare const messengerContract: {
17927
17447
  template?: any;
17928
17448
  metadata?: any;
17929
17449
  fromMessage?: {
17930
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
17450
+ 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" | "edited" | "deleted" | "unsupported";
17931
17451
  message: string;
17932
17452
  id: string;
17933
17453
  url: string;
@@ -17981,7 +17501,6 @@ export declare const messengerContract: {
17981
17501
  };
17982
17502
  upload: {
17983
17503
  id: string;
17984
- status: string | null;
17985
17504
  createdAt: Date;
17986
17505
  updatedAt: Date;
17987
17506
  deletedAt: Date | null;
@@ -17990,6 +17509,7 @@ export declare const messengerContract: {
17990
17509
  bucketName: string;
17991
17510
  fileSize: number;
17992
17511
  fileUrl: string | null;
17512
+ status?: string | undefined;
17993
17513
  };
17994
17514
  assignee: {
17995
17515
  name: string;
@@ -18050,15 +17570,16 @@ export declare const messengerContract: {
18050
17570
  additionalCredentials?: any;
18051
17571
  senderId?: string | undefined;
18052
17572
  whatsapp?: {
18053
- email: string;
18054
- wabaExternalId: string;
18055
- phoneNumberId: string;
18056
- wabaBusinessId?: string | undefined;
18057
- clientId?: string | undefined;
18058
- channelId?: string | undefined;
17573
+ wabaBusinessId?: string | null | undefined;
17574
+ wabaExternalId?: string | null | undefined;
17575
+ phoneNumberId?: string | null | undefined;
17576
+ email?: string | null | undefined;
17577
+ clientId?: string | null | undefined;
17578
+ channelId?: string | null | undefined;
18059
17579
  status?: "active" | "pending" | undefined;
18060
17580
  apiKey?: string | undefined;
18061
17581
  tier?: "basic" | "regular" | "premium" | undefined;
17582
+ integrationType?: "meta" | "360dialog" | undefined;
18062
17583
  } | undefined;
18063
17584
  vonageCredentials?: {
18064
17585
  apiKey: string;
@@ -18229,7 +17750,6 @@ export declare const messengerContract: {
18229
17750
  dateValue: Date | null;
18230
17751
  uploads: {
18231
17752
  id: string;
18232
- status: string | null;
18233
17753
  createdAt: Date;
18234
17754
  updatedAt: Date;
18235
17755
  deletedAt: Date | null;
@@ -18238,6 +17758,7 @@ export declare const messengerContract: {
18238
17758
  bucketName: string;
18239
17759
  fileSize: number;
18240
17760
  fileUrl: string | null;
17761
+ status?: string | undefined;
18241
17762
  }[];
18242
17763
  }[];
18243
17764
  company: {
@@ -18372,12 +17893,8 @@ export declare const messengerContract: {
18372
17893
  entityName: string;
18373
17894
  agentId: string | null;
18374
17895
  startedDate: Date | null;
18375
- totalHoldDuration: number | null;
18376
17896
  handledTime: number | null;
18377
- fullHandledTime: number | null;
18378
17897
  firstResponseTime: number | null;
18379
- resolutionTime: number | null;
18380
- fullResolutionTime: number | null;
18381
17898
  wrapUpForm: {
18382
17899
  type: string;
18383
17900
  id: string;
@@ -18430,24 +17947,6 @@ export declare const messengerContract: {
18430
17947
  dateValue: Date | null;
18431
17948
  }[] | null | undefined;
18432
17949
  } | null;
18433
- holdLogs?: {
18434
- id: string;
18435
- createdAt: Date;
18436
- updatedAt: Date;
18437
- deletedAt: Date | null;
18438
- startedAt: string;
18439
- endedAt: string | null;
18440
- duration: number | null;
18441
- holdLabel?: {
18442
- name: string;
18443
- id: string;
18444
- position: number;
18445
- createdAt: Date;
18446
- updatedAt: Date;
18447
- deletedAt: Date | null;
18448
- isDefault?: boolean | undefined;
18449
- } | null | undefined;
18450
- }[] | null | undefined;
18451
17950
  };
18452
17951
  workflowRule: {
18453
17952
  name: string;
@@ -18476,7 +17975,7 @@ export declare const messengerContract: {
18476
17975
  previewUrl: string;
18477
17976
  imageSetId: string;
18478
17977
  repliedMessage: {
18479
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "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";
17978
+ 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" | "edited" | "deleted" | "unsupported";
18480
17979
  message: string;
18481
17980
  id: string;
18482
17981
  url: string;
@@ -18530,7 +18029,6 @@ export declare const messengerContract: {
18530
18029
  };
18531
18030
  upload: {
18532
18031
  id: string;
18533
- status: string | null;
18534
18032
  createdAt: Date;
18535
18033
  updatedAt: Date;
18536
18034
  deletedAt: Date | null;
@@ -18539,6 +18037,7 @@ export declare const messengerContract: {
18539
18037
  bucketName: string;
18540
18038
  fileSize: number;
18541
18039
  fileUrl: string | null;
18040
+ status?: string | undefined;
18542
18041
  };
18543
18042
  assignee: {
18544
18043
  name: string;
@@ -18726,35 +18225,38 @@ export declare const messengerContract: {
18726
18225
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18727
18226
  senderId: z.ZodOptional<z.ZodString>;
18728
18227
  whatsapp: z.ZodOptional<z.ZodObject<{
18729
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18730
- wabaExternalId: z.ZodString;
18731
- phoneNumberId: z.ZodString;
18732
- email: z.ZodString;
18733
- clientId: z.ZodOptional<z.ZodString>;
18734
- channelId: z.ZodOptional<z.ZodString>;
18228
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18229
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18230
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18231
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18232
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18233
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18735
18234
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18736
18235
  apiKey: z.ZodOptional<z.ZodString>;
18737
18236
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18237
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18738
18238
  }, "strip", z.ZodTypeAny, {
18739
- email: string;
18740
- wabaExternalId: string;
18741
- phoneNumberId: string;
18742
- wabaBusinessId?: string | undefined;
18743
- clientId?: string | undefined;
18744
- channelId?: string | undefined;
18239
+ wabaBusinessId?: string | null | undefined;
18240
+ wabaExternalId?: string | null | undefined;
18241
+ phoneNumberId?: string | null | undefined;
18242
+ email?: string | null | undefined;
18243
+ clientId?: string | null | undefined;
18244
+ channelId?: string | null | undefined;
18745
18245
  status?: "active" | "pending" | undefined;
18746
18246
  apiKey?: string | undefined;
18747
18247
  tier?: "basic" | "regular" | "premium" | undefined;
18248
+ integrationType?: "meta" | "360dialog" | undefined;
18748
18249
  }, {
18749
- email: string;
18750
- wabaExternalId: string;
18751
- phoneNumberId: string;
18752
- wabaBusinessId?: string | undefined;
18753
- clientId?: string | undefined;
18754
- channelId?: string | undefined;
18250
+ wabaBusinessId?: string | null | undefined;
18251
+ wabaExternalId?: string | null | undefined;
18252
+ phoneNumberId?: string | null | undefined;
18253
+ email?: string | null | undefined;
18254
+ clientId?: string | null | undefined;
18255
+ channelId?: string | null | undefined;
18755
18256
  status?: "active" | "pending" | undefined;
18756
18257
  apiKey?: string | undefined;
18757
18258
  tier?: "basic" | "regular" | "premium" | undefined;
18259
+ integrationType?: "meta" | "360dialog" | undefined;
18758
18260
  }>>;
18759
18261
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18760
18262
  mobileNumber: z.ZodString;
@@ -18779,15 +18281,16 @@ export declare const messengerContract: {
18779
18281
  additionalCredentials?: any;
18780
18282
  senderId?: string | undefined;
18781
18283
  whatsapp?: {
18782
- email: string;
18783
- wabaExternalId: string;
18784
- phoneNumberId: string;
18785
- wabaBusinessId?: string | undefined;
18786
- clientId?: string | undefined;
18787
- channelId?: string | undefined;
18284
+ wabaBusinessId?: string | null | undefined;
18285
+ wabaExternalId?: string | null | undefined;
18286
+ phoneNumberId?: string | null | undefined;
18287
+ email?: string | null | undefined;
18288
+ clientId?: string | null | undefined;
18289
+ channelId?: string | null | undefined;
18788
18290
  status?: "active" | "pending" | undefined;
18789
18291
  apiKey?: string | undefined;
18790
18292
  tier?: "basic" | "regular" | "premium" | undefined;
18293
+ integrationType?: "meta" | "360dialog" | undefined;
18791
18294
  } | undefined;
18792
18295
  vonageCredentials?: {
18793
18296
  apiKey: string;
@@ -18804,15 +18307,16 @@ export declare const messengerContract: {
18804
18307
  additionalCredentials?: any;
18805
18308
  senderId?: string | undefined;
18806
18309
  whatsapp?: {
18807
- email: string;
18808
- wabaExternalId: string;
18809
- phoneNumberId: string;
18810
- wabaBusinessId?: string | undefined;
18811
- clientId?: string | undefined;
18812
- channelId?: string | undefined;
18310
+ wabaBusinessId?: string | null | undefined;
18311
+ wabaExternalId?: string | null | undefined;
18312
+ phoneNumberId?: string | null | undefined;
18313
+ email?: string | null | undefined;
18314
+ clientId?: string | null | undefined;
18315
+ channelId?: string | null | undefined;
18813
18316
  status?: "active" | "pending" | undefined;
18814
18317
  apiKey?: string | undefined;
18815
18318
  tier?: "basic" | "regular" | "premium" | undefined;
18319
+ integrationType?: "meta" | "360dialog" | undefined;
18816
18320
  } | undefined;
18817
18321
  vonageCredentials?: {
18818
18322
  apiKey: string;
@@ -18859,15 +18363,16 @@ export declare const messengerContract: {
18859
18363
  additionalCredentials?: any;
18860
18364
  senderId?: string | undefined;
18861
18365
  whatsapp?: {
18862
- email: string;
18863
- wabaExternalId: string;
18864
- phoneNumberId: string;
18865
- wabaBusinessId?: string | undefined;
18866
- clientId?: string | undefined;
18867
- channelId?: string | undefined;
18366
+ wabaBusinessId?: string | null | undefined;
18367
+ wabaExternalId?: string | null | undefined;
18368
+ phoneNumberId?: string | null | undefined;
18369
+ email?: string | null | undefined;
18370
+ clientId?: string | null | undefined;
18371
+ channelId?: string | null | undefined;
18868
18372
  status?: "active" | "pending" | undefined;
18869
18373
  apiKey?: string | undefined;
18870
18374
  tier?: "basic" | "regular" | "premium" | undefined;
18375
+ integrationType?: "meta" | "360dialog" | undefined;
18871
18376
  } | undefined;
18872
18377
  vonageCredentials?: {
18873
18378
  apiKey: string;
@@ -18902,15 +18407,16 @@ export declare const messengerContract: {
18902
18407
  additionalCredentials?: any;
18903
18408
  senderId?: string | undefined;
18904
18409
  whatsapp?: {
18905
- email: string;
18906
- wabaExternalId: string;
18907
- phoneNumberId: string;
18908
- wabaBusinessId?: string | undefined;
18909
- clientId?: string | undefined;
18910
- channelId?: string | undefined;
18410
+ wabaBusinessId?: string | null | undefined;
18411
+ wabaExternalId?: string | null | undefined;
18412
+ phoneNumberId?: string | null | undefined;
18413
+ email?: string | null | undefined;
18414
+ clientId?: string | null | undefined;
18415
+ channelId?: string | null | undefined;
18911
18416
  status?: "active" | "pending" | undefined;
18912
18417
  apiKey?: string | undefined;
18913
18418
  tier?: "basic" | "regular" | "premium" | undefined;
18419
+ integrationType?: "meta" | "360dialog" | undefined;
18914
18420
  } | undefined;
18915
18421
  vonageCredentials?: {
18916
18422
  apiKey: string;
@@ -18950,35 +18456,38 @@ export declare const messengerContract: {
18950
18456
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18951
18457
  senderId: z.ZodOptional<z.ZodString>;
18952
18458
  whatsapp: z.ZodOptional<z.ZodObject<{
18953
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18954
- wabaExternalId: z.ZodString;
18955
- phoneNumberId: z.ZodString;
18956
- email: z.ZodString;
18957
- clientId: z.ZodOptional<z.ZodString>;
18958
- channelId: z.ZodOptional<z.ZodString>;
18459
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18460
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18461
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18462
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18463
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18464
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18959
18465
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18960
18466
  apiKey: z.ZodOptional<z.ZodString>;
18961
18467
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18468
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18962
18469
  }, "strip", z.ZodTypeAny, {
18963
- email: string;
18964
- wabaExternalId: string;
18965
- phoneNumberId: string;
18966
- wabaBusinessId?: string | undefined;
18967
- clientId?: string | undefined;
18968
- channelId?: string | undefined;
18470
+ wabaBusinessId?: string | null | undefined;
18471
+ wabaExternalId?: string | null | undefined;
18472
+ phoneNumberId?: string | null | undefined;
18473
+ email?: string | null | undefined;
18474
+ clientId?: string | null | undefined;
18475
+ channelId?: string | null | undefined;
18969
18476
  status?: "active" | "pending" | undefined;
18970
18477
  apiKey?: string | undefined;
18971
18478
  tier?: "basic" | "regular" | "premium" | undefined;
18479
+ integrationType?: "meta" | "360dialog" | undefined;
18972
18480
  }, {
18973
- email: string;
18974
- wabaExternalId: string;
18975
- phoneNumberId: string;
18976
- wabaBusinessId?: string | undefined;
18977
- clientId?: string | undefined;
18978
- channelId?: string | undefined;
18481
+ wabaBusinessId?: string | null | undefined;
18482
+ wabaExternalId?: string | null | undefined;
18483
+ phoneNumberId?: string | null | undefined;
18484
+ email?: string | null | undefined;
18485
+ clientId?: string | null | undefined;
18486
+ channelId?: string | null | undefined;
18979
18487
  status?: "active" | "pending" | undefined;
18980
18488
  apiKey?: string | undefined;
18981
18489
  tier?: "basic" | "regular" | "premium" | undefined;
18490
+ integrationType?: "meta" | "360dialog" | undefined;
18982
18491
  }>>;
18983
18492
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18984
18493
  mobileNumber: z.ZodString;
@@ -19003,15 +18512,16 @@ export declare const messengerContract: {
19003
18512
  additionalCredentials?: any;
19004
18513
  senderId?: string | undefined;
19005
18514
  whatsapp?: {
19006
- email: string;
19007
- wabaExternalId: string;
19008
- phoneNumberId: string;
19009
- wabaBusinessId?: string | undefined;
19010
- clientId?: string | undefined;
19011
- channelId?: string | undefined;
18515
+ wabaBusinessId?: string | null | undefined;
18516
+ wabaExternalId?: string | null | undefined;
18517
+ phoneNumberId?: string | null | undefined;
18518
+ email?: string | null | undefined;
18519
+ clientId?: string | null | undefined;
18520
+ channelId?: string | null | undefined;
19012
18521
  status?: "active" | "pending" | undefined;
19013
18522
  apiKey?: string | undefined;
19014
18523
  tier?: "basic" | "regular" | "premium" | undefined;
18524
+ integrationType?: "meta" | "360dialog" | undefined;
19015
18525
  } | undefined;
19016
18526
  vonageCredentials?: {
19017
18527
  apiKey: string;
@@ -19028,15 +18538,16 @@ export declare const messengerContract: {
19028
18538
  additionalCredentials?: any;
19029
18539
  senderId?: string | undefined;
19030
18540
  whatsapp?: {
19031
- email: string;
19032
- wabaExternalId: string;
19033
- phoneNumberId: string;
19034
- wabaBusinessId?: string | undefined;
19035
- clientId?: string | undefined;
19036
- channelId?: string | undefined;
18541
+ wabaBusinessId?: string | null | undefined;
18542
+ wabaExternalId?: string | null | undefined;
18543
+ phoneNumberId?: string | null | undefined;
18544
+ email?: string | null | undefined;
18545
+ clientId?: string | null | undefined;
18546
+ channelId?: string | null | undefined;
19037
18547
  status?: "active" | "pending" | undefined;
19038
18548
  apiKey?: string | undefined;
19039
18549
  tier?: "basic" | "regular" | "premium" | undefined;
18550
+ integrationType?: "meta" | "360dialog" | undefined;
19040
18551
  } | undefined;
19041
18552
  vonageCredentials?: {
19042
18553
  apiKey: string;
@@ -19083,15 +18594,16 @@ export declare const messengerContract: {
19083
18594
  additionalCredentials?: any;
19084
18595
  senderId?: string | undefined;
19085
18596
  whatsapp?: {
19086
- email: string;
19087
- wabaExternalId: string;
19088
- phoneNumberId: string;
19089
- wabaBusinessId?: string | undefined;
19090
- clientId?: string | undefined;
19091
- channelId?: string | undefined;
18597
+ wabaBusinessId?: string | null | undefined;
18598
+ wabaExternalId?: string | null | undefined;
18599
+ phoneNumberId?: string | null | undefined;
18600
+ email?: string | null | undefined;
18601
+ clientId?: string | null | undefined;
18602
+ channelId?: string | null | undefined;
19092
18603
  status?: "active" | "pending" | undefined;
19093
18604
  apiKey?: string | undefined;
19094
18605
  tier?: "basic" | "regular" | "premium" | undefined;
18606
+ integrationType?: "meta" | "360dialog" | undefined;
19095
18607
  } | undefined;
19096
18608
  vonageCredentials?: {
19097
18609
  apiKey: string;
@@ -19126,15 +18638,16 @@ export declare const messengerContract: {
19126
18638
  additionalCredentials?: any;
19127
18639
  senderId?: string | undefined;
19128
18640
  whatsapp?: {
19129
- email: string;
19130
- wabaExternalId: string;
19131
- phoneNumberId: string;
19132
- wabaBusinessId?: string | undefined;
19133
- clientId?: string | undefined;
19134
- channelId?: string | undefined;
18641
+ wabaBusinessId?: string | null | undefined;
18642
+ wabaExternalId?: string | null | undefined;
18643
+ phoneNumberId?: string | null | undefined;
18644
+ email?: string | null | undefined;
18645
+ clientId?: string | null | undefined;
18646
+ channelId?: string | null | undefined;
19135
18647
  status?: "active" | "pending" | undefined;
19136
18648
  apiKey?: string | undefined;
19137
18649
  tier?: "basic" | "regular" | "premium" | undefined;
18650
+ integrationType?: "meta" | "360dialog" | undefined;
19138
18651
  } | undefined;
19139
18652
  vonageCredentials?: {
19140
18653
  apiKey: string;
@@ -19171,15 +18684,16 @@ export declare const messengerContract: {
19171
18684
  additionalCredentials?: any;
19172
18685
  senderId?: string | undefined;
19173
18686
  whatsapp?: {
19174
- email: string;
19175
- wabaExternalId: string;
19176
- phoneNumberId: string;
19177
- wabaBusinessId?: string | undefined;
19178
- clientId?: string | undefined;
19179
- channelId?: string | undefined;
18687
+ wabaBusinessId?: string | null | undefined;
18688
+ wabaExternalId?: string | null | undefined;
18689
+ phoneNumberId?: string | null | undefined;
18690
+ email?: string | null | undefined;
18691
+ clientId?: string | null | undefined;
18692
+ channelId?: string | null | undefined;
19180
18693
  status?: "active" | "pending" | undefined;
19181
18694
  apiKey?: string | undefined;
19182
18695
  tier?: "basic" | "regular" | "premium" | undefined;
18696
+ integrationType?: "meta" | "360dialog" | undefined;
19183
18697
  } | undefined;
19184
18698
  vonageCredentials?: {
19185
18699
  apiKey: string;
@@ -19217,15 +18731,16 @@ export declare const messengerContract: {
19217
18731
  additionalCredentials?: any;
19218
18732
  senderId?: string | undefined;
19219
18733
  whatsapp?: {
19220
- email: string;
19221
- wabaExternalId: string;
19222
- phoneNumberId: string;
19223
- wabaBusinessId?: string | undefined;
19224
- clientId?: string | undefined;
19225
- channelId?: string | undefined;
18734
+ wabaBusinessId?: string | null | undefined;
18735
+ wabaExternalId?: string | null | undefined;
18736
+ phoneNumberId?: string | null | undefined;
18737
+ email?: string | null | undefined;
18738
+ clientId?: string | null | undefined;
18739
+ channelId?: string | null | undefined;
19226
18740
  status?: "active" | "pending" | undefined;
19227
18741
  apiKey?: string | undefined;
19228
18742
  tier?: "basic" | "regular" | "premium" | undefined;
18743
+ integrationType?: "meta" | "360dialog" | undefined;
19229
18744
  } | undefined;
19230
18745
  vonageCredentials?: {
19231
18746
  apiKey: string;
@@ -19287,35 +18802,38 @@ export declare const messengerContract: {
19287
18802
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19288
18803
  senderId: z.ZodOptional<z.ZodString>;
19289
18804
  whatsapp: z.ZodOptional<z.ZodObject<{
19290
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19291
- wabaExternalId: z.ZodString;
19292
- phoneNumberId: z.ZodString;
19293
- email: z.ZodString;
19294
- clientId: z.ZodOptional<z.ZodString>;
19295
- channelId: z.ZodOptional<z.ZodString>;
18805
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18806
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18807
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18808
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18809
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18810
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19296
18811
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19297
18812
  apiKey: z.ZodOptional<z.ZodString>;
19298
18813
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18814
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19299
18815
  }, "strip", z.ZodTypeAny, {
19300
- email: string;
19301
- wabaExternalId: string;
19302
- phoneNumberId: string;
19303
- wabaBusinessId?: string | undefined;
19304
- clientId?: string | undefined;
19305
- channelId?: string | undefined;
18816
+ wabaBusinessId?: string | null | undefined;
18817
+ wabaExternalId?: string | null | undefined;
18818
+ phoneNumberId?: string | null | undefined;
18819
+ email?: string | null | undefined;
18820
+ clientId?: string | null | undefined;
18821
+ channelId?: string | null | undefined;
19306
18822
  status?: "active" | "pending" | undefined;
19307
18823
  apiKey?: string | undefined;
19308
18824
  tier?: "basic" | "regular" | "premium" | undefined;
18825
+ integrationType?: "meta" | "360dialog" | undefined;
19309
18826
  }, {
19310
- email: string;
19311
- wabaExternalId: string;
19312
- phoneNumberId: string;
19313
- wabaBusinessId?: string | undefined;
19314
- clientId?: string | undefined;
19315
- channelId?: string | undefined;
18827
+ wabaBusinessId?: string | null | undefined;
18828
+ wabaExternalId?: string | null | undefined;
18829
+ phoneNumberId?: string | null | undefined;
18830
+ email?: string | null | undefined;
18831
+ clientId?: string | null | undefined;
18832
+ channelId?: string | null | undefined;
19316
18833
  status?: "active" | "pending" | undefined;
19317
18834
  apiKey?: string | undefined;
19318
18835
  tier?: "basic" | "regular" | "premium" | undefined;
18836
+ integrationType?: "meta" | "360dialog" | undefined;
19319
18837
  }>>;
19320
18838
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19321
18839
  mobileNumber: z.ZodString;
@@ -19340,15 +18858,16 @@ export declare const messengerContract: {
19340
18858
  additionalCredentials?: any;
19341
18859
  senderId?: string | undefined;
19342
18860
  whatsapp?: {
19343
- email: string;
19344
- wabaExternalId: string;
19345
- phoneNumberId: string;
19346
- wabaBusinessId?: string | undefined;
19347
- clientId?: string | undefined;
19348
- channelId?: string | undefined;
18861
+ wabaBusinessId?: string | null | undefined;
18862
+ wabaExternalId?: string | null | undefined;
18863
+ phoneNumberId?: string | null | undefined;
18864
+ email?: string | null | undefined;
18865
+ clientId?: string | null | undefined;
18866
+ channelId?: string | null | undefined;
19349
18867
  status?: "active" | "pending" | undefined;
19350
18868
  apiKey?: string | undefined;
19351
18869
  tier?: "basic" | "regular" | "premium" | undefined;
18870
+ integrationType?: "meta" | "360dialog" | undefined;
19352
18871
  } | undefined;
19353
18872
  vonageCredentials?: {
19354
18873
  apiKey: string;
@@ -19365,15 +18884,16 @@ export declare const messengerContract: {
19365
18884
  additionalCredentials?: any;
19366
18885
  senderId?: string | undefined;
19367
18886
  whatsapp?: {
19368
- email: string;
19369
- wabaExternalId: string;
19370
- phoneNumberId: string;
19371
- wabaBusinessId?: string | undefined;
19372
- clientId?: string | undefined;
19373
- channelId?: string | undefined;
18887
+ wabaBusinessId?: string | null | undefined;
18888
+ wabaExternalId?: string | null | undefined;
18889
+ phoneNumberId?: string | null | undefined;
18890
+ email?: string | null | undefined;
18891
+ clientId?: string | null | undefined;
18892
+ channelId?: string | null | undefined;
19374
18893
  status?: "active" | "pending" | undefined;
19375
18894
  apiKey?: string | undefined;
19376
18895
  tier?: "basic" | "regular" | "premium" | undefined;
18896
+ integrationType?: "meta" | "360dialog" | undefined;
19377
18897
  } | undefined;
19378
18898
  vonageCredentials?: {
19379
18899
  apiKey: string;
@@ -19420,15 +18940,16 @@ export declare const messengerContract: {
19420
18940
  additionalCredentials?: any;
19421
18941
  senderId?: string | undefined;
19422
18942
  whatsapp?: {
19423
- email: string;
19424
- wabaExternalId: string;
19425
- phoneNumberId: string;
19426
- wabaBusinessId?: string | undefined;
19427
- clientId?: string | undefined;
19428
- channelId?: string | undefined;
18943
+ wabaBusinessId?: string | null | undefined;
18944
+ wabaExternalId?: string | null | undefined;
18945
+ phoneNumberId?: string | null | undefined;
18946
+ email?: string | null | undefined;
18947
+ clientId?: string | null | undefined;
18948
+ channelId?: string | null | undefined;
19429
18949
  status?: "active" | "pending" | undefined;
19430
18950
  apiKey?: string | undefined;
19431
18951
  tier?: "basic" | "regular" | "premium" | undefined;
18952
+ integrationType?: "meta" | "360dialog" | undefined;
19432
18953
  } | undefined;
19433
18954
  vonageCredentials?: {
19434
18955
  apiKey: string;
@@ -19463,15 +18984,16 @@ export declare const messengerContract: {
19463
18984
  additionalCredentials?: any;
19464
18985
  senderId?: string | undefined;
19465
18986
  whatsapp?: {
19466
- email: string;
19467
- wabaExternalId: string;
19468
- phoneNumberId: string;
19469
- wabaBusinessId?: string | undefined;
19470
- clientId?: string | undefined;
19471
- channelId?: string | undefined;
18987
+ wabaBusinessId?: string | null | undefined;
18988
+ wabaExternalId?: string | null | undefined;
18989
+ phoneNumberId?: string | null | undefined;
18990
+ email?: string | null | undefined;
18991
+ clientId?: string | null | undefined;
18992
+ channelId?: string | null | undefined;
19472
18993
  status?: "active" | "pending" | undefined;
19473
18994
  apiKey?: string | undefined;
19474
18995
  tier?: "basic" | "regular" | "premium" | undefined;
18996
+ integrationType?: "meta" | "360dialog" | undefined;
19475
18997
  } | undefined;
19476
18998
  vonageCredentials?: {
19477
18999
  apiKey: string;
@@ -19511,35 +19033,38 @@ export declare const messengerContract: {
19511
19033
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19512
19034
  senderId: z.ZodOptional<z.ZodString>;
19513
19035
  whatsapp: z.ZodOptional<z.ZodObject<{
19514
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19515
- wabaExternalId: z.ZodString;
19516
- phoneNumberId: z.ZodString;
19517
- email: z.ZodString;
19518
- clientId: z.ZodOptional<z.ZodString>;
19519
- channelId: z.ZodOptional<z.ZodString>;
19036
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19037
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19038
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19039
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19040
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19041
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19520
19042
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19521
19043
  apiKey: z.ZodOptional<z.ZodString>;
19522
19044
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19045
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19523
19046
  }, "strip", z.ZodTypeAny, {
19524
- email: string;
19525
- wabaExternalId: string;
19526
- phoneNumberId: string;
19527
- wabaBusinessId?: string | undefined;
19528
- clientId?: string | undefined;
19529
- channelId?: string | undefined;
19047
+ wabaBusinessId?: string | null | undefined;
19048
+ wabaExternalId?: string | null | undefined;
19049
+ phoneNumberId?: string | null | undefined;
19050
+ email?: string | null | undefined;
19051
+ clientId?: string | null | undefined;
19052
+ channelId?: string | null | undefined;
19530
19053
  status?: "active" | "pending" | undefined;
19531
19054
  apiKey?: string | undefined;
19532
19055
  tier?: "basic" | "regular" | "premium" | undefined;
19056
+ integrationType?: "meta" | "360dialog" | undefined;
19533
19057
  }, {
19534
- email: string;
19535
- wabaExternalId: string;
19536
- phoneNumberId: string;
19537
- wabaBusinessId?: string | undefined;
19538
- clientId?: string | undefined;
19539
- channelId?: string | undefined;
19058
+ wabaBusinessId?: string | null | undefined;
19059
+ wabaExternalId?: string | null | undefined;
19060
+ phoneNumberId?: string | null | undefined;
19061
+ email?: string | null | undefined;
19062
+ clientId?: string | null | undefined;
19063
+ channelId?: string | null | undefined;
19540
19064
  status?: "active" | "pending" | undefined;
19541
19065
  apiKey?: string | undefined;
19542
19066
  tier?: "basic" | "regular" | "premium" | undefined;
19067
+ integrationType?: "meta" | "360dialog" | undefined;
19543
19068
  }>>;
19544
19069
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19545
19070
  mobileNumber: z.ZodString;
@@ -19564,15 +19089,16 @@ export declare const messengerContract: {
19564
19089
  additionalCredentials?: any;
19565
19090
  senderId?: string | undefined;
19566
19091
  whatsapp?: {
19567
- email: string;
19568
- wabaExternalId: string;
19569
- phoneNumberId: string;
19570
- wabaBusinessId?: string | undefined;
19571
- clientId?: string | undefined;
19572
- channelId?: string | undefined;
19092
+ wabaBusinessId?: string | null | undefined;
19093
+ wabaExternalId?: string | null | undefined;
19094
+ phoneNumberId?: string | null | undefined;
19095
+ email?: string | null | undefined;
19096
+ clientId?: string | null | undefined;
19097
+ channelId?: string | null | undefined;
19573
19098
  status?: "active" | "pending" | undefined;
19574
19099
  apiKey?: string | undefined;
19575
19100
  tier?: "basic" | "regular" | "premium" | undefined;
19101
+ integrationType?: "meta" | "360dialog" | undefined;
19576
19102
  } | undefined;
19577
19103
  vonageCredentials?: {
19578
19104
  apiKey: string;
@@ -19589,15 +19115,16 @@ export declare const messengerContract: {
19589
19115
  additionalCredentials?: any;
19590
19116
  senderId?: string | undefined;
19591
19117
  whatsapp?: {
19592
- email: string;
19593
- wabaExternalId: string;
19594
- phoneNumberId: string;
19595
- wabaBusinessId?: string | undefined;
19596
- clientId?: string | undefined;
19597
- channelId?: string | undefined;
19118
+ wabaBusinessId?: string | null | undefined;
19119
+ wabaExternalId?: string | null | undefined;
19120
+ phoneNumberId?: string | null | undefined;
19121
+ email?: string | null | undefined;
19122
+ clientId?: string | null | undefined;
19123
+ channelId?: string | null | undefined;
19598
19124
  status?: "active" | "pending" | undefined;
19599
19125
  apiKey?: string | undefined;
19600
19126
  tier?: "basic" | "regular" | "premium" | undefined;
19127
+ integrationType?: "meta" | "360dialog" | undefined;
19601
19128
  } | undefined;
19602
19129
  vonageCredentials?: {
19603
19130
  apiKey: string;
@@ -19644,15 +19171,16 @@ export declare const messengerContract: {
19644
19171
  additionalCredentials?: any;
19645
19172
  senderId?: string | undefined;
19646
19173
  whatsapp?: {
19647
- email: string;
19648
- wabaExternalId: string;
19649
- phoneNumberId: string;
19650
- wabaBusinessId?: string | undefined;
19651
- clientId?: string | undefined;
19652
- channelId?: string | undefined;
19174
+ wabaBusinessId?: string | null | undefined;
19175
+ wabaExternalId?: string | null | undefined;
19176
+ phoneNumberId?: string | null | undefined;
19177
+ email?: string | null | undefined;
19178
+ clientId?: string | null | undefined;
19179
+ channelId?: string | null | undefined;
19653
19180
  status?: "active" | "pending" | undefined;
19654
19181
  apiKey?: string | undefined;
19655
19182
  tier?: "basic" | "regular" | "premium" | undefined;
19183
+ integrationType?: "meta" | "360dialog" | undefined;
19656
19184
  } | undefined;
19657
19185
  vonageCredentials?: {
19658
19186
  apiKey: string;
@@ -19687,15 +19215,16 @@ export declare const messengerContract: {
19687
19215
  additionalCredentials?: any;
19688
19216
  senderId?: string | undefined;
19689
19217
  whatsapp?: {
19690
- email: string;
19691
- wabaExternalId: string;
19692
- phoneNumberId: string;
19693
- wabaBusinessId?: string | undefined;
19694
- clientId?: string | undefined;
19695
- channelId?: string | undefined;
19218
+ wabaBusinessId?: string | null | undefined;
19219
+ wabaExternalId?: string | null | undefined;
19220
+ phoneNumberId?: string | null | undefined;
19221
+ email?: string | null | undefined;
19222
+ clientId?: string | null | undefined;
19223
+ channelId?: string | null | undefined;
19696
19224
  status?: "active" | "pending" | undefined;
19697
19225
  apiKey?: string | undefined;
19698
19226
  tier?: "basic" | "regular" | "premium" | undefined;
19227
+ integrationType?: "meta" | "360dialog" | undefined;
19699
19228
  } | undefined;
19700
19229
  vonageCredentials?: {
19701
19230
  apiKey: string;
@@ -19732,15 +19261,16 @@ export declare const messengerContract: {
19732
19261
  additionalCredentials?: any;
19733
19262
  senderId?: string | undefined;
19734
19263
  whatsapp?: {
19735
- email: string;
19736
- wabaExternalId: string;
19737
- phoneNumberId: string;
19738
- wabaBusinessId?: string | undefined;
19739
- clientId?: string | undefined;
19740
- channelId?: string | undefined;
19264
+ wabaBusinessId?: string | null | undefined;
19265
+ wabaExternalId?: string | null | undefined;
19266
+ phoneNumberId?: string | null | undefined;
19267
+ email?: string | null | undefined;
19268
+ clientId?: string | null | undefined;
19269
+ channelId?: string | null | undefined;
19741
19270
  status?: "active" | "pending" | undefined;
19742
19271
  apiKey?: string | undefined;
19743
19272
  tier?: "basic" | "regular" | "premium" | undefined;
19273
+ integrationType?: "meta" | "360dialog" | undefined;
19744
19274
  } | undefined;
19745
19275
  vonageCredentials?: {
19746
19276
  apiKey: string;
@@ -19778,15 +19308,16 @@ export declare const messengerContract: {
19778
19308
  additionalCredentials?: any;
19779
19309
  senderId?: string | undefined;
19780
19310
  whatsapp?: {
19781
- email: string;
19782
- wabaExternalId: string;
19783
- phoneNumberId: string;
19784
- wabaBusinessId?: string | undefined;
19785
- clientId?: string | undefined;
19786
- channelId?: string | undefined;
19311
+ wabaBusinessId?: string | null | undefined;
19312
+ wabaExternalId?: string | null | undefined;
19313
+ phoneNumberId?: string | null | undefined;
19314
+ email?: string | null | undefined;
19315
+ clientId?: string | null | undefined;
19316
+ channelId?: string | null | undefined;
19787
19317
  status?: "active" | "pending" | undefined;
19788
19318
  apiKey?: string | undefined;
19789
19319
  tier?: "basic" | "regular" | "premium" | undefined;
19320
+ integrationType?: "meta" | "360dialog" | undefined;
19790
19321
  } | undefined;
19791
19322
  vonageCredentials?: {
19792
19323
  apiKey: string;
@@ -19860,35 +19391,38 @@ export declare const messengerContract: {
19860
19391
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19861
19392
  senderId: z.ZodOptional<z.ZodString>;
19862
19393
  whatsapp: z.ZodOptional<z.ZodObject<{
19863
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19864
- wabaExternalId: z.ZodString;
19865
- phoneNumberId: z.ZodString;
19866
- email: z.ZodString;
19867
- clientId: z.ZodOptional<z.ZodString>;
19868
- channelId: z.ZodOptional<z.ZodString>;
19394
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19395
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19396
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19397
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19398
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19399
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19869
19400
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19870
19401
  apiKey: z.ZodOptional<z.ZodString>;
19871
19402
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19403
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19872
19404
  }, "strip", z.ZodTypeAny, {
19873
- email: string;
19874
- wabaExternalId: string;
19875
- phoneNumberId: string;
19876
- wabaBusinessId?: string | undefined;
19877
- clientId?: string | undefined;
19878
- channelId?: string | undefined;
19405
+ wabaBusinessId?: string | null | undefined;
19406
+ wabaExternalId?: string | null | undefined;
19407
+ phoneNumberId?: string | null | undefined;
19408
+ email?: string | null | undefined;
19409
+ clientId?: string | null | undefined;
19410
+ channelId?: string | null | undefined;
19879
19411
  status?: "active" | "pending" | undefined;
19880
19412
  apiKey?: string | undefined;
19881
19413
  tier?: "basic" | "regular" | "premium" | undefined;
19414
+ integrationType?: "meta" | "360dialog" | undefined;
19882
19415
  }, {
19883
- email: string;
19884
- wabaExternalId: string;
19885
- phoneNumberId: string;
19886
- wabaBusinessId?: string | undefined;
19887
- clientId?: string | undefined;
19888
- channelId?: string | undefined;
19416
+ wabaBusinessId?: string | null | undefined;
19417
+ wabaExternalId?: string | null | undefined;
19418
+ phoneNumberId?: string | null | undefined;
19419
+ email?: string | null | undefined;
19420
+ clientId?: string | null | undefined;
19421
+ channelId?: string | null | undefined;
19889
19422
  status?: "active" | "pending" | undefined;
19890
19423
  apiKey?: string | undefined;
19891
19424
  tier?: "basic" | "regular" | "premium" | undefined;
19425
+ integrationType?: "meta" | "360dialog" | undefined;
19892
19426
  }>>;
19893
19427
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19894
19428
  mobileNumber: z.ZodString;
@@ -19913,15 +19447,16 @@ export declare const messengerContract: {
19913
19447
  additionalCredentials?: any;
19914
19448
  senderId?: string | undefined;
19915
19449
  whatsapp?: {
19916
- email: string;
19917
- wabaExternalId: string;
19918
- phoneNumberId: string;
19919
- wabaBusinessId?: string | undefined;
19920
- clientId?: string | undefined;
19921
- channelId?: string | undefined;
19450
+ wabaBusinessId?: string | null | undefined;
19451
+ wabaExternalId?: string | null | undefined;
19452
+ phoneNumberId?: string | null | undefined;
19453
+ email?: string | null | undefined;
19454
+ clientId?: string | null | undefined;
19455
+ channelId?: string | null | undefined;
19922
19456
  status?: "active" | "pending" | undefined;
19923
19457
  apiKey?: string | undefined;
19924
19458
  tier?: "basic" | "regular" | "premium" | undefined;
19459
+ integrationType?: "meta" | "360dialog" | undefined;
19925
19460
  } | undefined;
19926
19461
  vonageCredentials?: {
19927
19462
  apiKey: string;
@@ -19938,15 +19473,16 @@ export declare const messengerContract: {
19938
19473
  additionalCredentials?: any;
19939
19474
  senderId?: string | undefined;
19940
19475
  whatsapp?: {
19941
- email: string;
19942
- wabaExternalId: string;
19943
- phoneNumberId: string;
19944
- wabaBusinessId?: string | undefined;
19945
- clientId?: string | undefined;
19946
- channelId?: string | undefined;
19476
+ wabaBusinessId?: string | null | undefined;
19477
+ wabaExternalId?: string | null | undefined;
19478
+ phoneNumberId?: string | null | undefined;
19479
+ email?: string | null | undefined;
19480
+ clientId?: string | null | undefined;
19481
+ channelId?: string | null | undefined;
19947
19482
  status?: "active" | "pending" | undefined;
19948
19483
  apiKey?: string | undefined;
19949
19484
  tier?: "basic" | "regular" | "premium" | undefined;
19485
+ integrationType?: "meta" | "360dialog" | undefined;
19950
19486
  } | undefined;
19951
19487
  vonageCredentials?: {
19952
19488
  apiKey: string;
@@ -19993,15 +19529,16 @@ export declare const messengerContract: {
19993
19529
  additionalCredentials?: any;
19994
19530
  senderId?: string | undefined;
19995
19531
  whatsapp?: {
19996
- email: string;
19997
- wabaExternalId: string;
19998
- phoneNumberId: string;
19999
- wabaBusinessId?: string | undefined;
20000
- clientId?: string | undefined;
20001
- channelId?: string | undefined;
19532
+ wabaBusinessId?: string | null | undefined;
19533
+ wabaExternalId?: string | null | undefined;
19534
+ phoneNumberId?: string | null | undefined;
19535
+ email?: string | null | undefined;
19536
+ clientId?: string | null | undefined;
19537
+ channelId?: string | null | undefined;
20002
19538
  status?: "active" | "pending" | undefined;
20003
19539
  apiKey?: string | undefined;
20004
19540
  tier?: "basic" | "regular" | "premium" | undefined;
19541
+ integrationType?: "meta" | "360dialog" | undefined;
20005
19542
  } | undefined;
20006
19543
  vonageCredentials?: {
20007
19544
  apiKey: string;
@@ -20036,15 +19573,16 @@ export declare const messengerContract: {
20036
19573
  additionalCredentials?: any;
20037
19574
  senderId?: string | undefined;
20038
19575
  whatsapp?: {
20039
- email: string;
20040
- wabaExternalId: string;
20041
- phoneNumberId: string;
20042
- wabaBusinessId?: string | undefined;
20043
- clientId?: string | undefined;
20044
- channelId?: string | undefined;
19576
+ wabaBusinessId?: string | null | undefined;
19577
+ wabaExternalId?: string | null | undefined;
19578
+ phoneNumberId?: string | null | undefined;
19579
+ email?: string | null | undefined;
19580
+ clientId?: string | null | undefined;
19581
+ channelId?: string | null | undefined;
20045
19582
  status?: "active" | "pending" | undefined;
20046
19583
  apiKey?: string | undefined;
20047
19584
  tier?: "basic" | "regular" | "premium" | undefined;
19585
+ integrationType?: "meta" | "360dialog" | undefined;
20048
19586
  } | undefined;
20049
19587
  vonageCredentials?: {
20050
19588
  apiKey: string;
@@ -20081,15 +19619,16 @@ export declare const messengerContract: {
20081
19619
  additionalCredentials?: any;
20082
19620
  senderId?: string | undefined;
20083
19621
  whatsapp?: {
20084
- email: string;
20085
- wabaExternalId: string;
20086
- phoneNumberId: string;
20087
- wabaBusinessId?: string | undefined;
20088
- clientId?: string | undefined;
20089
- channelId?: string | undefined;
19622
+ wabaBusinessId?: string | null | undefined;
19623
+ wabaExternalId?: string | null | undefined;
19624
+ phoneNumberId?: string | null | undefined;
19625
+ email?: string | null | undefined;
19626
+ clientId?: string | null | undefined;
19627
+ channelId?: string | null | undefined;
20090
19628
  status?: "active" | "pending" | undefined;
20091
19629
  apiKey?: string | undefined;
20092
19630
  tier?: "basic" | "regular" | "premium" | undefined;
19631
+ integrationType?: "meta" | "360dialog" | undefined;
20093
19632
  } | undefined;
20094
19633
  vonageCredentials?: {
20095
19634
  apiKey: string;
@@ -20127,15 +19666,16 @@ export declare const messengerContract: {
20127
19666
  additionalCredentials?: any;
20128
19667
  senderId?: string | undefined;
20129
19668
  whatsapp?: {
20130
- email: string;
20131
- wabaExternalId: string;
20132
- phoneNumberId: string;
20133
- wabaBusinessId?: string | undefined;
20134
- clientId?: string | undefined;
20135
- channelId?: string | undefined;
19669
+ wabaBusinessId?: string | null | undefined;
19670
+ wabaExternalId?: string | null | undefined;
19671
+ phoneNumberId?: string | null | undefined;
19672
+ email?: string | null | undefined;
19673
+ clientId?: string | null | undefined;
19674
+ channelId?: string | null | undefined;
20136
19675
  status?: "active" | "pending" | undefined;
20137
19676
  apiKey?: string | undefined;
20138
19677
  tier?: "basic" | "regular" | "premium" | undefined;
19678
+ integrationType?: "meta" | "360dialog" | undefined;
20139
19679
  } | undefined;
20140
19680
  vonageCredentials?: {
20141
19681
  apiKey: string;
@@ -20209,35 +19749,38 @@ export declare const messengerContract: {
20209
19749
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20210
19750
  senderId: z.ZodOptional<z.ZodString>;
20211
19751
  whatsapp: z.ZodOptional<z.ZodObject<{
20212
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20213
- wabaExternalId: z.ZodString;
20214
- phoneNumberId: z.ZodString;
20215
- email: z.ZodString;
20216
- clientId: z.ZodOptional<z.ZodString>;
20217
- channelId: z.ZodOptional<z.ZodString>;
19752
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19753
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19754
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19755
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19756
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19757
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20218
19758
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20219
19759
  apiKey: z.ZodOptional<z.ZodString>;
20220
19760
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19761
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20221
19762
  }, "strip", z.ZodTypeAny, {
20222
- email: string;
20223
- wabaExternalId: string;
20224
- phoneNumberId: string;
20225
- wabaBusinessId?: string | undefined;
20226
- clientId?: string | undefined;
20227
- channelId?: string | undefined;
19763
+ wabaBusinessId?: string | null | undefined;
19764
+ wabaExternalId?: string | null | undefined;
19765
+ phoneNumberId?: string | null | undefined;
19766
+ email?: string | null | undefined;
19767
+ clientId?: string | null | undefined;
19768
+ channelId?: string | null | undefined;
20228
19769
  status?: "active" | "pending" | undefined;
20229
19770
  apiKey?: string | undefined;
20230
19771
  tier?: "basic" | "regular" | "premium" | undefined;
19772
+ integrationType?: "meta" | "360dialog" | undefined;
20231
19773
  }, {
20232
- email: string;
20233
- wabaExternalId: string;
20234
- phoneNumberId: string;
20235
- wabaBusinessId?: string | undefined;
20236
- clientId?: string | undefined;
20237
- channelId?: string | undefined;
19774
+ wabaBusinessId?: string | null | undefined;
19775
+ wabaExternalId?: string | null | undefined;
19776
+ phoneNumberId?: string | null | undefined;
19777
+ email?: string | null | undefined;
19778
+ clientId?: string | null | undefined;
19779
+ channelId?: string | null | undefined;
20238
19780
  status?: "active" | "pending" | undefined;
20239
19781
  apiKey?: string | undefined;
20240
19782
  tier?: "basic" | "regular" | "premium" | undefined;
19783
+ integrationType?: "meta" | "360dialog" | undefined;
20241
19784
  }>>;
20242
19785
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20243
19786
  mobileNumber: z.ZodString;
@@ -20262,15 +19805,16 @@ export declare const messengerContract: {
20262
19805
  additionalCredentials?: any;
20263
19806
  senderId?: string | undefined;
20264
19807
  whatsapp?: {
20265
- email: string;
20266
- wabaExternalId: string;
20267
- phoneNumberId: string;
20268
- wabaBusinessId?: string | undefined;
20269
- clientId?: string | undefined;
20270
- channelId?: string | undefined;
19808
+ wabaBusinessId?: string | null | undefined;
19809
+ wabaExternalId?: string | null | undefined;
19810
+ phoneNumberId?: string | null | undefined;
19811
+ email?: string | null | undefined;
19812
+ clientId?: string | null | undefined;
19813
+ channelId?: string | null | undefined;
20271
19814
  status?: "active" | "pending" | undefined;
20272
19815
  apiKey?: string | undefined;
20273
19816
  tier?: "basic" | "regular" | "premium" | undefined;
19817
+ integrationType?: "meta" | "360dialog" | undefined;
20274
19818
  } | undefined;
20275
19819
  vonageCredentials?: {
20276
19820
  apiKey: string;
@@ -20287,15 +19831,16 @@ export declare const messengerContract: {
20287
19831
  additionalCredentials?: any;
20288
19832
  senderId?: string | undefined;
20289
19833
  whatsapp?: {
20290
- email: string;
20291
- wabaExternalId: string;
20292
- phoneNumberId: string;
20293
- wabaBusinessId?: string | undefined;
20294
- clientId?: string | undefined;
20295
- channelId?: string | undefined;
19834
+ wabaBusinessId?: string | null | undefined;
19835
+ wabaExternalId?: string | null | undefined;
19836
+ phoneNumberId?: string | null | undefined;
19837
+ email?: string | null | undefined;
19838
+ clientId?: string | null | undefined;
19839
+ channelId?: string | null | undefined;
20296
19840
  status?: "active" | "pending" | undefined;
20297
19841
  apiKey?: string | undefined;
20298
19842
  tier?: "basic" | "regular" | "premium" | undefined;
19843
+ integrationType?: "meta" | "360dialog" | undefined;
20299
19844
  } | undefined;
20300
19845
  vonageCredentials?: {
20301
19846
  apiKey: string;
@@ -20342,15 +19887,16 @@ export declare const messengerContract: {
20342
19887
  additionalCredentials?: any;
20343
19888
  senderId?: string | undefined;
20344
19889
  whatsapp?: {
20345
- email: string;
20346
- wabaExternalId: string;
20347
- phoneNumberId: string;
20348
- wabaBusinessId?: string | undefined;
20349
- clientId?: string | undefined;
20350
- channelId?: string | undefined;
19890
+ wabaBusinessId?: string | null | undefined;
19891
+ wabaExternalId?: string | null | undefined;
19892
+ phoneNumberId?: string | null | undefined;
19893
+ email?: string | null | undefined;
19894
+ clientId?: string | null | undefined;
19895
+ channelId?: string | null | undefined;
20351
19896
  status?: "active" | "pending" | undefined;
20352
19897
  apiKey?: string | undefined;
20353
19898
  tier?: "basic" | "regular" | "premium" | undefined;
19899
+ integrationType?: "meta" | "360dialog" | undefined;
20354
19900
  } | undefined;
20355
19901
  vonageCredentials?: {
20356
19902
  apiKey: string;
@@ -20385,15 +19931,16 @@ export declare const messengerContract: {
20385
19931
  additionalCredentials?: any;
20386
19932
  senderId?: string | undefined;
20387
19933
  whatsapp?: {
20388
- email: string;
20389
- wabaExternalId: string;
20390
- phoneNumberId: string;
20391
- wabaBusinessId?: string | undefined;
20392
- clientId?: string | undefined;
20393
- channelId?: string | undefined;
19934
+ wabaBusinessId?: string | null | undefined;
19935
+ wabaExternalId?: string | null | undefined;
19936
+ phoneNumberId?: string | null | undefined;
19937
+ email?: string | null | undefined;
19938
+ clientId?: string | null | undefined;
19939
+ channelId?: string | null | undefined;
20394
19940
  status?: "active" | "pending" | undefined;
20395
19941
  apiKey?: string | undefined;
20396
19942
  tier?: "basic" | "regular" | "premium" | undefined;
19943
+ integrationType?: "meta" | "360dialog" | undefined;
20397
19944
  } | undefined;
20398
19945
  vonageCredentials?: {
20399
19946
  apiKey: string;
@@ -20430,15 +19977,16 @@ export declare const messengerContract: {
20430
19977
  additionalCredentials?: any;
20431
19978
  senderId?: string | undefined;
20432
19979
  whatsapp?: {
20433
- email: string;
20434
- wabaExternalId: string;
20435
- phoneNumberId: string;
20436
- wabaBusinessId?: string | undefined;
20437
- clientId?: string | undefined;
20438
- channelId?: string | undefined;
19980
+ wabaBusinessId?: string | null | undefined;
19981
+ wabaExternalId?: string | null | undefined;
19982
+ phoneNumberId?: string | null | undefined;
19983
+ email?: string | null | undefined;
19984
+ clientId?: string | null | undefined;
19985
+ channelId?: string | null | undefined;
20439
19986
  status?: "active" | "pending" | undefined;
20440
19987
  apiKey?: string | undefined;
20441
19988
  tier?: "basic" | "regular" | "premium" | undefined;
19989
+ integrationType?: "meta" | "360dialog" | undefined;
20442
19990
  } | undefined;
20443
19991
  vonageCredentials?: {
20444
19992
  apiKey: string;
@@ -20476,15 +20024,16 @@ export declare const messengerContract: {
20476
20024
  additionalCredentials?: any;
20477
20025
  senderId?: string | undefined;
20478
20026
  whatsapp?: {
20479
- email: string;
20480
- wabaExternalId: string;
20481
- phoneNumberId: string;
20482
- wabaBusinessId?: string | undefined;
20483
- clientId?: string | undefined;
20484
- channelId?: string | undefined;
20027
+ wabaBusinessId?: string | null | undefined;
20028
+ wabaExternalId?: string | null | undefined;
20029
+ phoneNumberId?: string | null | undefined;
20030
+ email?: string | null | undefined;
20031
+ clientId?: string | null | undefined;
20032
+ channelId?: string | null | undefined;
20485
20033
  status?: "active" | "pending" | undefined;
20486
20034
  apiKey?: string | undefined;
20487
20035
  tier?: "basic" | "regular" | "premium" | undefined;
20036
+ integrationType?: "meta" | "360dialog" | undefined;
20488
20037
  } | undefined;
20489
20038
  vonageCredentials?: {
20490
20039
  apiKey: string;
@@ -20545,35 +20094,38 @@ export declare const messengerContract: {
20545
20094
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20546
20095
  senderId: z.ZodOptional<z.ZodString>;
20547
20096
  whatsapp: z.ZodOptional<z.ZodObject<{
20548
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20549
- wabaExternalId: z.ZodString;
20550
- phoneNumberId: z.ZodString;
20551
- email: z.ZodString;
20552
- clientId: z.ZodOptional<z.ZodString>;
20553
- channelId: z.ZodOptional<z.ZodString>;
20097
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20098
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20099
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20100
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20101
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20102
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20554
20103
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20555
20104
  apiKey: z.ZodOptional<z.ZodString>;
20556
20105
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20106
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20557
20107
  }, "strip", z.ZodTypeAny, {
20558
- email: string;
20559
- wabaExternalId: string;
20560
- phoneNumberId: string;
20561
- wabaBusinessId?: string | undefined;
20562
- clientId?: string | undefined;
20563
- channelId?: string | undefined;
20108
+ wabaBusinessId?: string | null | undefined;
20109
+ wabaExternalId?: string | null | undefined;
20110
+ phoneNumberId?: string | null | undefined;
20111
+ email?: string | null | undefined;
20112
+ clientId?: string | null | undefined;
20113
+ channelId?: string | null | undefined;
20564
20114
  status?: "active" | "pending" | undefined;
20565
20115
  apiKey?: string | undefined;
20566
20116
  tier?: "basic" | "regular" | "premium" | undefined;
20117
+ integrationType?: "meta" | "360dialog" | undefined;
20567
20118
  }, {
20568
- email: string;
20569
- wabaExternalId: string;
20570
- phoneNumberId: string;
20571
- wabaBusinessId?: string | undefined;
20572
- clientId?: string | undefined;
20573
- channelId?: string | undefined;
20119
+ wabaBusinessId?: string | null | undefined;
20120
+ wabaExternalId?: string | null | undefined;
20121
+ phoneNumberId?: string | null | undefined;
20122
+ email?: string | null | undefined;
20123
+ clientId?: string | null | undefined;
20124
+ channelId?: string | null | undefined;
20574
20125
  status?: "active" | "pending" | undefined;
20575
20126
  apiKey?: string | undefined;
20576
20127
  tier?: "basic" | "regular" | "premium" | undefined;
20128
+ integrationType?: "meta" | "360dialog" | undefined;
20577
20129
  }>>;
20578
20130
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20579
20131
  mobileNumber: z.ZodString;
@@ -20598,15 +20150,16 @@ export declare const messengerContract: {
20598
20150
  additionalCredentials?: any;
20599
20151
  senderId?: string | undefined;
20600
20152
  whatsapp?: {
20601
- email: string;
20602
- wabaExternalId: string;
20603
- phoneNumberId: string;
20604
- wabaBusinessId?: string | undefined;
20605
- clientId?: string | undefined;
20606
- channelId?: string | undefined;
20153
+ wabaBusinessId?: string | null | undefined;
20154
+ wabaExternalId?: string | null | undefined;
20155
+ phoneNumberId?: string | null | undefined;
20156
+ email?: string | null | undefined;
20157
+ clientId?: string | null | undefined;
20158
+ channelId?: string | null | undefined;
20607
20159
  status?: "active" | "pending" | undefined;
20608
20160
  apiKey?: string | undefined;
20609
20161
  tier?: "basic" | "regular" | "premium" | undefined;
20162
+ integrationType?: "meta" | "360dialog" | undefined;
20610
20163
  } | undefined;
20611
20164
  vonageCredentials?: {
20612
20165
  apiKey: string;
@@ -20623,15 +20176,16 @@ export declare const messengerContract: {
20623
20176
  additionalCredentials?: any;
20624
20177
  senderId?: string | undefined;
20625
20178
  whatsapp?: {
20626
- email: string;
20627
- wabaExternalId: string;
20628
- phoneNumberId: string;
20629
- wabaBusinessId?: string | undefined;
20630
- clientId?: string | undefined;
20631
- channelId?: string | undefined;
20179
+ wabaBusinessId?: string | null | undefined;
20180
+ wabaExternalId?: string | null | undefined;
20181
+ phoneNumberId?: string | null | undefined;
20182
+ email?: string | null | undefined;
20183
+ clientId?: string | null | undefined;
20184
+ channelId?: string | null | undefined;
20632
20185
  status?: "active" | "pending" | undefined;
20633
20186
  apiKey?: string | undefined;
20634
20187
  tier?: "basic" | "regular" | "premium" | undefined;
20188
+ integrationType?: "meta" | "360dialog" | undefined;
20635
20189
  } | undefined;
20636
20190
  vonageCredentials?: {
20637
20191
  apiKey: string;
@@ -20683,15 +20237,16 @@ export declare const messengerContract: {
20683
20237
  additionalCredentials?: any;
20684
20238
  senderId?: string | undefined;
20685
20239
  whatsapp?: {
20686
- email: string;
20687
- wabaExternalId: string;
20688
- phoneNumberId: string;
20689
- wabaBusinessId?: string | undefined;
20690
- clientId?: string | undefined;
20691
- channelId?: string | undefined;
20240
+ wabaBusinessId?: string | null | undefined;
20241
+ wabaExternalId?: string | null | undefined;
20242
+ phoneNumberId?: string | null | undefined;
20243
+ email?: string | null | undefined;
20244
+ clientId?: string | null | undefined;
20245
+ channelId?: string | null | undefined;
20692
20246
  status?: "active" | "pending" | undefined;
20693
20247
  apiKey?: string | undefined;
20694
20248
  tier?: "basic" | "regular" | "premium" | undefined;
20249
+ integrationType?: "meta" | "360dialog" | undefined;
20695
20250
  } | undefined;
20696
20251
  vonageCredentials?: {
20697
20252
  apiKey: string;
@@ -20730,15 +20285,16 @@ export declare const messengerContract: {
20730
20285
  additionalCredentials?: any;
20731
20286
  senderId?: string | undefined;
20732
20287
  whatsapp?: {
20733
- email: string;
20734
- wabaExternalId: string;
20735
- phoneNumberId: string;
20736
- wabaBusinessId?: string | undefined;
20737
- clientId?: string | undefined;
20738
- channelId?: string | undefined;
20288
+ wabaBusinessId?: string | null | undefined;
20289
+ wabaExternalId?: string | null | undefined;
20290
+ phoneNumberId?: string | null | undefined;
20291
+ email?: string | null | undefined;
20292
+ clientId?: string | null | undefined;
20293
+ channelId?: string | null | undefined;
20739
20294
  status?: "active" | "pending" | undefined;
20740
20295
  apiKey?: string | undefined;
20741
20296
  tier?: "basic" | "regular" | "premium" | undefined;
20297
+ integrationType?: "meta" | "360dialog" | undefined;
20742
20298
  } | undefined;
20743
20299
  vonageCredentials?: {
20744
20300
  apiKey: string;
@@ -20782,35 +20338,38 @@ export declare const messengerContract: {
20782
20338
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20783
20339
  senderId: z.ZodOptional<z.ZodString>;
20784
20340
  whatsapp: z.ZodOptional<z.ZodObject<{
20785
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20786
- wabaExternalId: z.ZodString;
20787
- phoneNumberId: z.ZodString;
20788
- email: z.ZodString;
20789
- clientId: z.ZodOptional<z.ZodString>;
20790
- channelId: z.ZodOptional<z.ZodString>;
20341
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20342
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20343
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20344
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20345
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20346
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20791
20347
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20792
20348
  apiKey: z.ZodOptional<z.ZodString>;
20793
20349
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20350
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20794
20351
  }, "strip", z.ZodTypeAny, {
20795
- email: string;
20796
- wabaExternalId: string;
20797
- phoneNumberId: string;
20798
- wabaBusinessId?: string | undefined;
20799
- clientId?: string | undefined;
20800
- channelId?: string | undefined;
20352
+ wabaBusinessId?: string | null | undefined;
20353
+ wabaExternalId?: string | null | undefined;
20354
+ phoneNumberId?: string | null | undefined;
20355
+ email?: string | null | undefined;
20356
+ clientId?: string | null | undefined;
20357
+ channelId?: string | null | undefined;
20801
20358
  status?: "active" | "pending" | undefined;
20802
20359
  apiKey?: string | undefined;
20803
20360
  tier?: "basic" | "regular" | "premium" | undefined;
20361
+ integrationType?: "meta" | "360dialog" | undefined;
20804
20362
  }, {
20805
- email: string;
20806
- wabaExternalId: string;
20807
- phoneNumberId: string;
20808
- wabaBusinessId?: string | undefined;
20809
- clientId?: string | undefined;
20810
- channelId?: string | undefined;
20363
+ wabaBusinessId?: string | null | undefined;
20364
+ wabaExternalId?: string | null | undefined;
20365
+ phoneNumberId?: string | null | undefined;
20366
+ email?: string | null | undefined;
20367
+ clientId?: string | null | undefined;
20368
+ channelId?: string | null | undefined;
20811
20369
  status?: "active" | "pending" | undefined;
20812
20370
  apiKey?: string | undefined;
20813
20371
  tier?: "basic" | "regular" | "premium" | undefined;
20372
+ integrationType?: "meta" | "360dialog" | undefined;
20814
20373
  }>>;
20815
20374
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20816
20375
  mobileNumber: z.ZodString;
@@ -20835,15 +20394,16 @@ export declare const messengerContract: {
20835
20394
  additionalCredentials?: any;
20836
20395
  senderId?: string | undefined;
20837
20396
  whatsapp?: {
20838
- email: string;
20839
- wabaExternalId: string;
20840
- phoneNumberId: string;
20841
- wabaBusinessId?: string | undefined;
20842
- clientId?: string | undefined;
20843
- channelId?: string | undefined;
20397
+ wabaBusinessId?: string | null | undefined;
20398
+ wabaExternalId?: string | null | undefined;
20399
+ phoneNumberId?: string | null | undefined;
20400
+ email?: string | null | undefined;
20401
+ clientId?: string | null | undefined;
20402
+ channelId?: string | null | undefined;
20844
20403
  status?: "active" | "pending" | undefined;
20845
20404
  apiKey?: string | undefined;
20846
20405
  tier?: "basic" | "regular" | "premium" | undefined;
20406
+ integrationType?: "meta" | "360dialog" | undefined;
20847
20407
  } | undefined;
20848
20408
  vonageCredentials?: {
20849
20409
  apiKey: string;
@@ -20860,15 +20420,16 @@ export declare const messengerContract: {
20860
20420
  additionalCredentials?: any;
20861
20421
  senderId?: string | undefined;
20862
20422
  whatsapp?: {
20863
- email: string;
20864
- wabaExternalId: string;
20865
- phoneNumberId: string;
20866
- wabaBusinessId?: string | undefined;
20867
- clientId?: string | undefined;
20868
- channelId?: string | undefined;
20423
+ wabaBusinessId?: string | null | undefined;
20424
+ wabaExternalId?: string | null | undefined;
20425
+ phoneNumberId?: string | null | undefined;
20426
+ email?: string | null | undefined;
20427
+ clientId?: string | null | undefined;
20428
+ channelId?: string | null | undefined;
20869
20429
  status?: "active" | "pending" | undefined;
20870
20430
  apiKey?: string | undefined;
20871
20431
  tier?: "basic" | "regular" | "premium" | undefined;
20432
+ integrationType?: "meta" | "360dialog" | undefined;
20872
20433
  } | undefined;
20873
20434
  vonageCredentials?: {
20874
20435
  apiKey: string;
@@ -20915,15 +20476,16 @@ export declare const messengerContract: {
20915
20476
  additionalCredentials?: any;
20916
20477
  senderId?: string | undefined;
20917
20478
  whatsapp?: {
20918
- email: string;
20919
- wabaExternalId: string;
20920
- phoneNumberId: string;
20921
- wabaBusinessId?: string | undefined;
20922
- clientId?: string | undefined;
20923
- channelId?: string | undefined;
20479
+ wabaBusinessId?: string | null | undefined;
20480
+ wabaExternalId?: string | null | undefined;
20481
+ phoneNumberId?: string | null | undefined;
20482
+ email?: string | null | undefined;
20483
+ clientId?: string | null | undefined;
20484
+ channelId?: string | null | undefined;
20924
20485
  status?: "active" | "pending" | undefined;
20925
20486
  apiKey?: string | undefined;
20926
20487
  tier?: "basic" | "regular" | "premium" | undefined;
20488
+ integrationType?: "meta" | "360dialog" | undefined;
20927
20489
  } | undefined;
20928
20490
  vonageCredentials?: {
20929
20491
  apiKey: string;
@@ -20958,15 +20520,16 @@ export declare const messengerContract: {
20958
20520
  additionalCredentials?: any;
20959
20521
  senderId?: string | undefined;
20960
20522
  whatsapp?: {
20961
- email: string;
20962
- wabaExternalId: string;
20963
- phoneNumberId: string;
20964
- wabaBusinessId?: string | undefined;
20965
- clientId?: string | undefined;
20966
- channelId?: string | undefined;
20523
+ wabaBusinessId?: string | null | undefined;
20524
+ wabaExternalId?: string | null | undefined;
20525
+ phoneNumberId?: string | null | undefined;
20526
+ email?: string | null | undefined;
20527
+ clientId?: string | null | undefined;
20528
+ channelId?: string | null | undefined;
20967
20529
  status?: "active" | "pending" | undefined;
20968
20530
  apiKey?: string | undefined;
20969
20531
  tier?: "basic" | "regular" | "premium" | undefined;
20532
+ integrationType?: "meta" | "360dialog" | undefined;
20970
20533
  } | undefined;
20971
20534
  vonageCredentials?: {
20972
20535
  apiKey: string;
@@ -21003,15 +20566,16 @@ export declare const messengerContract: {
21003
20566
  additionalCredentials?: any;
21004
20567
  senderId?: string | undefined;
21005
20568
  whatsapp?: {
21006
- email: string;
21007
- wabaExternalId: string;
21008
- phoneNumberId: string;
21009
- wabaBusinessId?: string | undefined;
21010
- clientId?: string | undefined;
21011
- channelId?: string | undefined;
20569
+ wabaBusinessId?: string | null | undefined;
20570
+ wabaExternalId?: string | null | undefined;
20571
+ phoneNumberId?: string | null | undefined;
20572
+ email?: string | null | undefined;
20573
+ clientId?: string | null | undefined;
20574
+ channelId?: string | null | undefined;
21012
20575
  status?: "active" | "pending" | undefined;
21013
20576
  apiKey?: string | undefined;
21014
20577
  tier?: "basic" | "regular" | "premium" | undefined;
20578
+ integrationType?: "meta" | "360dialog" | undefined;
21015
20579
  } | undefined;
21016
20580
  vonageCredentials?: {
21017
20581
  apiKey: string;
@@ -21049,15 +20613,16 @@ export declare const messengerContract: {
21049
20613
  additionalCredentials?: any;
21050
20614
  senderId?: string | undefined;
21051
20615
  whatsapp?: {
21052
- email: string;
21053
- wabaExternalId: string;
21054
- phoneNumberId: string;
21055
- wabaBusinessId?: string | undefined;
21056
- clientId?: string | undefined;
21057
- channelId?: string | undefined;
20616
+ wabaBusinessId?: string | null | undefined;
20617
+ wabaExternalId?: string | null | undefined;
20618
+ phoneNumberId?: string | null | undefined;
20619
+ email?: string | null | undefined;
20620
+ clientId?: string | null | undefined;
20621
+ channelId?: string | null | undefined;
21058
20622
  status?: "active" | "pending" | undefined;
21059
20623
  apiKey?: string | undefined;
21060
20624
  tier?: "basic" | "regular" | "premium" | undefined;
20625
+ integrationType?: "meta" | "360dialog" | undefined;
21061
20626
  } | undefined;
21062
20627
  vonageCredentials?: {
21063
20628
  apiKey: string;