@kl1/contracts 1.2.36-uat → 1.2.38-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
@@ -141,35 +141,38 @@ export declare const instagramContract: {
141
141
  additionalCredentials: z.ZodOptional<z.ZodAny>;
142
142
  senderId: z.ZodOptional<z.ZodString>;
143
143
  whatsapp: z.ZodOptional<z.ZodObject<{
144
- wabaBusinessId: z.ZodOptional<z.ZodString>;
145
- wabaExternalId: z.ZodString;
146
- phoneNumberId: z.ZodString;
147
- email: z.ZodString;
148
- clientId: z.ZodOptional<z.ZodString>;
149
- channelId: z.ZodOptional<z.ZodString>;
144
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
145
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
150
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
151
151
  apiKey: z.ZodOptional<z.ZodString>;
152
152
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
153
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
153
154
  }, "strip", z.ZodTypeAny, {
154
- email: string;
155
- wabaExternalId: string;
156
- phoneNumberId: string;
157
- wabaBusinessId?: string | undefined;
158
- clientId?: string | undefined;
159
- channelId?: string | undefined;
155
+ wabaBusinessId?: string | null | undefined;
156
+ wabaExternalId?: string | null | undefined;
157
+ phoneNumberId?: string | null | undefined;
158
+ email?: string | null | undefined;
159
+ clientId?: string | null | undefined;
160
+ channelId?: string | null | undefined;
160
161
  status?: "active" | "pending" | undefined;
161
162
  apiKey?: string | undefined;
162
163
  tier?: "basic" | "regular" | "premium" | undefined;
164
+ integrationType?: "meta" | "360dialog" | undefined;
163
165
  }, {
164
- email: string;
165
- wabaExternalId: string;
166
- phoneNumberId: string;
167
- wabaBusinessId?: string | undefined;
168
- clientId?: string | undefined;
169
- channelId?: string | undefined;
166
+ wabaBusinessId?: string | null | undefined;
167
+ wabaExternalId?: string | null | undefined;
168
+ phoneNumberId?: string | null | undefined;
169
+ email?: string | null | undefined;
170
+ clientId?: string | null | undefined;
171
+ channelId?: string | null | undefined;
170
172
  status?: "active" | "pending" | undefined;
171
173
  apiKey?: string | undefined;
172
174
  tier?: "basic" | "regular" | "premium" | undefined;
175
+ integrationType?: "meta" | "360dialog" | undefined;
173
176
  }>>;
174
177
  vonageCredentials: z.ZodOptional<z.ZodObject<{
175
178
  mobileNumber: z.ZodString;
@@ -194,15 +197,16 @@ export declare const instagramContract: {
194
197
  additionalCredentials?: any;
195
198
  senderId?: string | undefined;
196
199
  whatsapp?: {
197
- email: string;
198
- wabaExternalId: string;
199
- phoneNumberId: string;
200
- wabaBusinessId?: string | undefined;
201
- clientId?: string | undefined;
202
- channelId?: string | undefined;
200
+ wabaBusinessId?: string | null | undefined;
201
+ wabaExternalId?: string | null | undefined;
202
+ phoneNumberId?: string | null | undefined;
203
+ email?: string | null | undefined;
204
+ clientId?: string | null | undefined;
205
+ channelId?: string | null | undefined;
203
206
  status?: "active" | "pending" | undefined;
204
207
  apiKey?: string | undefined;
205
208
  tier?: "basic" | "regular" | "premium" | undefined;
209
+ integrationType?: "meta" | "360dialog" | undefined;
206
210
  } | undefined;
207
211
  vonageCredentials?: {
208
212
  apiKey: string;
@@ -219,15 +223,16 @@ export declare const instagramContract: {
219
223
  additionalCredentials?: any;
220
224
  senderId?: string | undefined;
221
225
  whatsapp?: {
222
- email: string;
223
- wabaExternalId: string;
224
- phoneNumberId: string;
225
- wabaBusinessId?: string | undefined;
226
- clientId?: string | undefined;
227
- channelId?: string | undefined;
226
+ wabaBusinessId?: string | null | undefined;
227
+ wabaExternalId?: string | null | undefined;
228
+ phoneNumberId?: string | null | undefined;
229
+ email?: string | null | undefined;
230
+ clientId?: string | null | undefined;
231
+ channelId?: string | null | undefined;
228
232
  status?: "active" | "pending" | undefined;
229
233
  apiKey?: string | undefined;
230
234
  tier?: "basic" | "regular" | "premium" | undefined;
235
+ integrationType?: "meta" | "360dialog" | undefined;
231
236
  } | undefined;
232
237
  vonageCredentials?: {
233
238
  apiKey: string;
@@ -274,15 +279,16 @@ export declare const instagramContract: {
274
279
  additionalCredentials?: any;
275
280
  senderId?: string | undefined;
276
281
  whatsapp?: {
277
- email: string;
278
- wabaExternalId: string;
279
- phoneNumberId: string;
280
- wabaBusinessId?: string | undefined;
281
- clientId?: string | undefined;
282
- channelId?: string | undefined;
282
+ wabaBusinessId?: string | null | undefined;
283
+ wabaExternalId?: string | null | undefined;
284
+ phoneNumberId?: string | null | undefined;
285
+ email?: string | null | undefined;
286
+ clientId?: string | null | undefined;
287
+ channelId?: string | null | undefined;
283
288
  status?: "active" | "pending" | undefined;
284
289
  apiKey?: string | undefined;
285
290
  tier?: "basic" | "regular" | "premium" | undefined;
291
+ integrationType?: "meta" | "360dialog" | undefined;
286
292
  } | undefined;
287
293
  vonageCredentials?: {
288
294
  apiKey: string;
@@ -317,15 +323,16 @@ export declare const instagramContract: {
317
323
  additionalCredentials?: any;
318
324
  senderId?: string | undefined;
319
325
  whatsapp?: {
320
- email: string;
321
- wabaExternalId: string;
322
- phoneNumberId: string;
323
- wabaBusinessId?: string | undefined;
324
- clientId?: string | undefined;
325
- channelId?: string | undefined;
326
+ wabaBusinessId?: string | null | undefined;
327
+ wabaExternalId?: string | null | undefined;
328
+ phoneNumberId?: string | null | undefined;
329
+ email?: string | null | undefined;
330
+ clientId?: string | null | undefined;
331
+ channelId?: string | null | undefined;
326
332
  status?: "active" | "pending" | undefined;
327
333
  apiKey?: string | undefined;
328
334
  tier?: "basic" | "regular" | "premium" | undefined;
335
+ integrationType?: "meta" | "360dialog" | undefined;
329
336
  } | undefined;
330
337
  vonageCredentials?: {
331
338
  apiKey: string;
@@ -365,15 +372,16 @@ export declare const instagramContract: {
365
372
  additionalCredentials?: any;
366
373
  senderId?: string | undefined;
367
374
  whatsapp?: {
368
- email: string;
369
- wabaExternalId: string;
370
- phoneNumberId: string;
371
- wabaBusinessId?: string | undefined;
372
- clientId?: string | undefined;
373
- channelId?: string | undefined;
375
+ wabaBusinessId?: string | null | undefined;
376
+ wabaExternalId?: string | null | undefined;
377
+ phoneNumberId?: string | null | undefined;
378
+ email?: string | null | undefined;
379
+ clientId?: string | null | undefined;
380
+ channelId?: string | null | undefined;
374
381
  status?: "active" | "pending" | undefined;
375
382
  apiKey?: string | undefined;
376
383
  tier?: "basic" | "regular" | "premium" | undefined;
384
+ integrationType?: "meta" | "360dialog" | undefined;
377
385
  } | undefined;
378
386
  vonageCredentials?: {
379
387
  apiKey: string;
@@ -452,15 +460,16 @@ export declare const instagramContract: {
452
460
  additionalCredentials?: any;
453
461
  senderId?: string | undefined;
454
462
  whatsapp?: {
455
- email: string;
456
- wabaExternalId: string;
457
- phoneNumberId: string;
458
- wabaBusinessId?: string | undefined;
459
- clientId?: string | undefined;
460
- channelId?: string | undefined;
463
+ wabaBusinessId?: string | null | undefined;
464
+ wabaExternalId?: string | null | undefined;
465
+ phoneNumberId?: string | null | undefined;
466
+ email?: string | null | undefined;
467
+ clientId?: string | null | undefined;
468
+ channelId?: string | null | undefined;
461
469
  status?: "active" | "pending" | undefined;
462
470
  apiKey?: string | undefined;
463
471
  tier?: "basic" | "regular" | "premium" | undefined;
472
+ integrationType?: "meta" | "360dialog" | undefined;
464
473
  } | undefined;
465
474
  vonageCredentials?: {
466
475
  apiKey: string;
@@ -530,7 +539,7 @@ export declare const instagramContract: {
530
539
  id: z.ZodOptional<z.ZodString>;
531
540
  message: z.ZodOptional<z.ZodString>;
532
541
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
533
- 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"]>;
542
+ 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"]>;
534
543
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
535
544
  metadata: z.ZodOptional<z.ZodAny>;
536
545
  platformId: z.ZodOptional<z.ZodString>;
@@ -586,7 +595,7 @@ export declare const instagramContract: {
586
595
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
587
596
  label: z.ZodOptional<z.ZodString>;
588
597
  }, "strip", z.ZodTypeAny, {
589
- 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";
598
+ 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";
590
599
  direction: "incoming" | "outgoing" | "system";
591
600
  id?: string | undefined;
592
601
  message?: string | undefined;
@@ -621,7 +630,7 @@ export declare const instagramContract: {
621
630
  editedAt?: string | Date | null | undefined;
622
631
  label?: string | undefined;
623
632
  }, {
624
- 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";
633
+ 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";
625
634
  direction: "incoming" | "outgoing" | "system";
626
635
  id?: string | undefined;
627
636
  message?: string | undefined;
@@ -658,7 +667,7 @@ export declare const instagramContract: {
658
667
  }>;
659
668
  }, "strip", z.ZodTypeAny, {
660
669
  message: {
661
- 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";
670
+ 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";
662
671
  direction: "incoming" | "outgoing" | "system";
663
672
  id?: string | undefined;
664
673
  message?: string | undefined;
@@ -707,15 +716,16 @@ export declare const instagramContract: {
707
716
  additionalCredentials?: any;
708
717
  senderId?: string | undefined;
709
718
  whatsapp?: {
710
- email: string;
711
- wabaExternalId: string;
712
- phoneNumberId: string;
713
- wabaBusinessId?: string | undefined;
714
- clientId?: string | undefined;
715
- channelId?: string | undefined;
719
+ wabaBusinessId?: string | null | undefined;
720
+ wabaExternalId?: string | null | undefined;
721
+ phoneNumberId?: string | null | undefined;
722
+ email?: string | null | undefined;
723
+ clientId?: string | null | undefined;
724
+ channelId?: string | null | undefined;
716
725
  status?: "active" | "pending" | undefined;
717
726
  apiKey?: string | undefined;
718
727
  tier?: "basic" | "regular" | "premium" | undefined;
728
+ integrationType?: "meta" | "360dialog" | undefined;
719
729
  } | undefined;
720
730
  vonageCredentials?: {
721
731
  apiKey: string;
@@ -784,7 +794,7 @@ export declare const instagramContract: {
784
794
  isBot: boolean | null;
785
795
  }, {
786
796
  message: {
787
- 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";
797
+ 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";
788
798
  direction: "incoming" | "outgoing" | "system";
789
799
  id?: string | undefined;
790
800
  message?: string | undefined;
@@ -833,15 +843,16 @@ export declare const instagramContract: {
833
843
  additionalCredentials?: any;
834
844
  senderId?: string | undefined;
835
845
  whatsapp?: {
836
- email: string;
837
- wabaExternalId: string;
838
- phoneNumberId: string;
839
- wabaBusinessId?: string | undefined;
840
- clientId?: string | undefined;
841
- channelId?: string | undefined;
846
+ wabaBusinessId?: string | null | undefined;
847
+ wabaExternalId?: string | null | undefined;
848
+ phoneNumberId?: string | null | undefined;
849
+ email?: string | null | undefined;
850
+ clientId?: string | null | undefined;
851
+ channelId?: string | null | undefined;
842
852
  status?: "active" | "pending" | undefined;
843
853
  apiKey?: string | undefined;
844
854
  tier?: "basic" | "regular" | "premium" | undefined;
855
+ integrationType?: "meta" | "360dialog" | undefined;
845
856
  } | undefined;
846
857
  vonageCredentials?: {
847
858
  apiKey: string;
@@ -914,7 +925,7 @@ export declare const instagramContract: {
914
925
  200: z.ZodObject<{
915
926
  requestId: z.ZodString;
916
927
  data: z.ZodObject<{
917
- 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"]>;
928
+ 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"]>;
918
929
  message: z.ZodString;
919
930
  id: z.ZodString;
920
931
  url: z.ZodString;
@@ -1139,10 +1150,9 @@ export declare const instagramContract: {
1139
1150
  fileSize: z.ZodNumber;
1140
1151
  fileKey: z.ZodString;
1141
1152
  fileUrl: z.ZodNullable<z.ZodString>;
1142
- status: z.ZodNullable<z.ZodString>;
1153
+ status: z.ZodOptional<z.ZodString>;
1143
1154
  }, "strip", z.ZodTypeAny, {
1144
1155
  id: string;
1145
- status: string | null;
1146
1156
  createdAt: Date;
1147
1157
  updatedAt: Date;
1148
1158
  deletedAt: Date | null;
@@ -1151,9 +1161,9 @@ export declare const instagramContract: {
1151
1161
  bucketName: string;
1152
1162
  fileSize: number;
1153
1163
  fileUrl: string | null;
1164
+ status?: string | undefined;
1154
1165
  }, {
1155
1166
  id: string;
1156
- status: string | null;
1157
1167
  createdAt: Date;
1158
1168
  updatedAt: Date;
1159
1169
  deletedAt: Date | null;
@@ -1162,6 +1172,7 @@ export declare const instagramContract: {
1162
1172
  bucketName: string;
1163
1173
  fileSize: number;
1164
1174
  fileUrl: string | null;
1175
+ status?: string | undefined;
1165
1176
  }>;
1166
1177
  assignee: z.ZodObject<{
1167
1178
  id: z.ZodString;
@@ -1756,10 +1767,9 @@ export declare const instagramContract: {
1756
1767
  fileSize: z.ZodNumber;
1757
1768
  fileKey: z.ZodString;
1758
1769
  fileUrl: z.ZodNullable<z.ZodString>;
1759
- status: z.ZodNullable<z.ZodString>;
1770
+ status: z.ZodOptional<z.ZodString>;
1760
1771
  }, "strip", z.ZodTypeAny, {
1761
1772
  id: string;
1762
- status: string | null;
1763
1773
  createdAt: Date;
1764
1774
  updatedAt: Date;
1765
1775
  deletedAt: Date | null;
@@ -1768,9 +1778,9 @@ export declare const instagramContract: {
1768
1778
  bucketName: string;
1769
1779
  fileSize: number;
1770
1780
  fileUrl: string | null;
1781
+ status?: string | undefined;
1771
1782
  }, {
1772
1783
  id: string;
1773
- status: string | null;
1774
1784
  createdAt: Date;
1775
1785
  updatedAt: Date;
1776
1786
  deletedAt: Date | null;
@@ -1779,6 +1789,7 @@ export declare const instagramContract: {
1779
1789
  bucketName: string;
1780
1790
  fileSize: number;
1781
1791
  fileUrl: string | null;
1792
+ status?: string | undefined;
1782
1793
  }>, "many">;
1783
1794
  }, "strip", z.ZodTypeAny, {
1784
1795
  id: string;
@@ -1805,7 +1816,6 @@ export declare const instagramContract: {
1805
1816
  dateValue: Date | null;
1806
1817
  uploads: {
1807
1818
  id: string;
1808
- status: string | null;
1809
1819
  createdAt: Date;
1810
1820
  updatedAt: Date;
1811
1821
  deletedAt: Date | null;
@@ -1814,6 +1824,7 @@ export declare const instagramContract: {
1814
1824
  bucketName: string;
1815
1825
  fileSize: number;
1816
1826
  fileUrl: string | null;
1827
+ status?: string | undefined;
1817
1828
  }[];
1818
1829
  }, {
1819
1830
  id: string;
@@ -1840,7 +1851,6 @@ export declare const instagramContract: {
1840
1851
  dateValue: Date | null;
1841
1852
  uploads: {
1842
1853
  id: string;
1843
- status: string | null;
1844
1854
  createdAt: Date;
1845
1855
  updatedAt: Date;
1846
1856
  deletedAt: Date | null;
@@ -1849,6 +1859,7 @@ export declare const instagramContract: {
1849
1859
  bucketName: string;
1850
1860
  fileSize: number;
1851
1861
  fileUrl: string | null;
1862
+ status?: string | undefined;
1852
1863
  }[];
1853
1864
  }>, "many">;
1854
1865
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1988,7 +1999,6 @@ export declare const instagramContract: {
1988
1999
  dateValue: Date | null;
1989
2000
  uploads: {
1990
2001
  id: string;
1991
- status: string | null;
1992
2002
  createdAt: Date;
1993
2003
  updatedAt: Date;
1994
2004
  deletedAt: Date | null;
@@ -1997,6 +2007,7 @@ export declare const instagramContract: {
1997
2007
  bucketName: string;
1998
2008
  fileSize: number;
1999
2009
  fileUrl: string | null;
2010
+ status?: string | undefined;
2000
2011
  }[];
2001
2012
  }[];
2002
2013
  company: {
@@ -2099,7 +2110,6 @@ export declare const instagramContract: {
2099
2110
  dateValue: Date | null;
2100
2111
  uploads: {
2101
2112
  id: string;
2102
- status: string | null;
2103
2113
  createdAt: Date;
2104
2114
  updatedAt: Date;
2105
2115
  deletedAt: Date | null;
@@ -2108,6 +2118,7 @@ export declare const instagramContract: {
2108
2118
  bucketName: string;
2109
2119
  fileSize: number;
2110
2120
  fileUrl: string | null;
2121
+ status?: string | undefined;
2111
2122
  }[];
2112
2123
  }[];
2113
2124
  company: {
@@ -2223,7 +2234,6 @@ export declare const instagramContract: {
2223
2234
  dateValue: Date | null;
2224
2235
  uploads: {
2225
2236
  id: string;
2226
- status: string | null;
2227
2237
  createdAt: Date;
2228
2238
  updatedAt: Date;
2229
2239
  deletedAt: Date | null;
@@ -2232,6 +2242,7 @@ export declare const instagramContract: {
2232
2242
  bucketName: string;
2233
2243
  fileSize: number;
2234
2244
  fileUrl: string | null;
2245
+ status?: string | undefined;
2235
2246
  }[];
2236
2247
  }[];
2237
2248
  company: {
@@ -2349,7 +2360,6 @@ export declare const instagramContract: {
2349
2360
  dateValue: Date | null;
2350
2361
  uploads: {
2351
2362
  id: string;
2352
- status: string | null;
2353
2363
  createdAt: Date;
2354
2364
  updatedAt: Date;
2355
2365
  deletedAt: Date | null;
@@ -2358,6 +2368,7 @@ export declare const instagramContract: {
2358
2368
  bucketName: string;
2359
2369
  fileSize: number;
2360
2370
  fileUrl: string | null;
2371
+ status?: string | undefined;
2361
2372
  }[];
2362
2373
  }[];
2363
2374
  company: {
@@ -2854,35 +2865,38 @@ export declare const instagramContract: {
2854
2865
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2855
2866
  senderId: z.ZodOptional<z.ZodString>;
2856
2867
  whatsapp: z.ZodOptional<z.ZodObject<{
2857
- wabaBusinessId: z.ZodOptional<z.ZodString>;
2858
- wabaExternalId: z.ZodString;
2859
- phoneNumberId: z.ZodString;
2860
- email: z.ZodString;
2861
- clientId: z.ZodOptional<z.ZodString>;
2862
- channelId: z.ZodOptional<z.ZodString>;
2868
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2869
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2870
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2871
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2872
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2873
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2863
2874
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2864
2875
  apiKey: z.ZodOptional<z.ZodString>;
2865
2876
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2877
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2866
2878
  }, "strip", z.ZodTypeAny, {
2867
- email: string;
2868
- wabaExternalId: string;
2869
- phoneNumberId: string;
2870
- wabaBusinessId?: string | undefined;
2871
- clientId?: string | undefined;
2872
- channelId?: string | undefined;
2879
+ wabaBusinessId?: string | null | undefined;
2880
+ wabaExternalId?: string | null | undefined;
2881
+ phoneNumberId?: string | null | undefined;
2882
+ email?: string | null | undefined;
2883
+ clientId?: string | null | undefined;
2884
+ channelId?: string | null | undefined;
2873
2885
  status?: "active" | "pending" | undefined;
2874
2886
  apiKey?: string | undefined;
2875
2887
  tier?: "basic" | "regular" | "premium" | undefined;
2888
+ integrationType?: "meta" | "360dialog" | undefined;
2876
2889
  }, {
2877
- email: string;
2878
- wabaExternalId: string;
2879
- phoneNumberId: string;
2880
- wabaBusinessId?: string | undefined;
2881
- clientId?: string | undefined;
2882
- channelId?: string | undefined;
2890
+ wabaBusinessId?: string | null | undefined;
2891
+ wabaExternalId?: string | null | undefined;
2892
+ phoneNumberId?: string | null | undefined;
2893
+ email?: string | null | undefined;
2894
+ clientId?: string | null | undefined;
2895
+ channelId?: string | null | undefined;
2883
2896
  status?: "active" | "pending" | undefined;
2884
2897
  apiKey?: string | undefined;
2885
2898
  tier?: "basic" | "regular" | "premium" | undefined;
2899
+ integrationType?: "meta" | "360dialog" | undefined;
2886
2900
  }>>;
2887
2901
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2888
2902
  mobileNumber: z.ZodString;
@@ -2907,15 +2921,16 @@ export declare const instagramContract: {
2907
2921
  additionalCredentials?: any;
2908
2922
  senderId?: string | undefined;
2909
2923
  whatsapp?: {
2910
- email: string;
2911
- wabaExternalId: string;
2912
- phoneNumberId: string;
2913
- wabaBusinessId?: string | undefined;
2914
- clientId?: string | undefined;
2915
- channelId?: string | undefined;
2924
+ wabaBusinessId?: string | null | undefined;
2925
+ wabaExternalId?: string | null | undefined;
2926
+ phoneNumberId?: string | null | undefined;
2927
+ email?: string | null | undefined;
2928
+ clientId?: string | null | undefined;
2929
+ channelId?: string | null | undefined;
2916
2930
  status?: "active" | "pending" | undefined;
2917
2931
  apiKey?: string | undefined;
2918
2932
  tier?: "basic" | "regular" | "premium" | undefined;
2933
+ integrationType?: "meta" | "360dialog" | undefined;
2919
2934
  } | undefined;
2920
2935
  vonageCredentials?: {
2921
2936
  apiKey: string;
@@ -2932,15 +2947,16 @@ export declare const instagramContract: {
2932
2947
  additionalCredentials?: any;
2933
2948
  senderId?: string | undefined;
2934
2949
  whatsapp?: {
2935
- email: string;
2936
- wabaExternalId: string;
2937
- phoneNumberId: string;
2938
- wabaBusinessId?: string | undefined;
2939
- clientId?: string | undefined;
2940
- channelId?: string | undefined;
2950
+ wabaBusinessId?: string | null | undefined;
2951
+ wabaExternalId?: string | null | undefined;
2952
+ phoneNumberId?: string | null | undefined;
2953
+ email?: string | null | undefined;
2954
+ clientId?: string | null | undefined;
2955
+ channelId?: string | null | undefined;
2941
2956
  status?: "active" | "pending" | undefined;
2942
2957
  apiKey?: string | undefined;
2943
2958
  tier?: "basic" | "regular" | "premium" | undefined;
2959
+ integrationType?: "meta" | "360dialog" | undefined;
2944
2960
  } | undefined;
2945
2961
  vonageCredentials?: {
2946
2962
  apiKey: string;
@@ -3191,15 +3207,16 @@ export declare const instagramContract: {
3191
3207
  additionalCredentials?: any;
3192
3208
  senderId?: string | undefined;
3193
3209
  whatsapp?: {
3194
- email: string;
3195
- wabaExternalId: string;
3196
- phoneNumberId: string;
3197
- wabaBusinessId?: string | undefined;
3198
- clientId?: string | undefined;
3199
- channelId?: string | undefined;
3210
+ wabaBusinessId?: string | null | undefined;
3211
+ wabaExternalId?: string | null | undefined;
3212
+ phoneNumberId?: string | null | undefined;
3213
+ email?: string | null | undefined;
3214
+ clientId?: string | null | undefined;
3215
+ channelId?: string | null | undefined;
3200
3216
  status?: "active" | "pending" | undefined;
3201
3217
  apiKey?: string | undefined;
3202
3218
  tier?: "basic" | "regular" | "premium" | undefined;
3219
+ integrationType?: "meta" | "360dialog" | undefined;
3203
3220
  } | undefined;
3204
3221
  vonageCredentials?: {
3205
3222
  apiKey: string;
@@ -3281,15 +3298,16 @@ export declare const instagramContract: {
3281
3298
  additionalCredentials?: any;
3282
3299
  senderId?: string | undefined;
3283
3300
  whatsapp?: {
3284
- email: string;
3285
- wabaExternalId: string;
3286
- phoneNumberId: string;
3287
- wabaBusinessId?: string | undefined;
3288
- clientId?: string | undefined;
3289
- channelId?: string | undefined;
3301
+ wabaBusinessId?: string | null | undefined;
3302
+ wabaExternalId?: string | null | undefined;
3303
+ phoneNumberId?: string | null | undefined;
3304
+ email?: string | null | undefined;
3305
+ clientId?: string | null | undefined;
3306
+ channelId?: string | null | undefined;
3290
3307
  status?: "active" | "pending" | undefined;
3291
3308
  apiKey?: string | undefined;
3292
3309
  tier?: "basic" | "regular" | "premium" | undefined;
3310
+ integrationType?: "meta" | "360dialog" | undefined;
3293
3311
  } | undefined;
3294
3312
  vonageCredentials?: {
3295
3313
  apiKey: string;
@@ -3374,12 +3392,8 @@ export declare const instagramContract: {
3374
3392
  agentId: z.ZodNullable<z.ZodString>;
3375
3393
  direction: z.ZodNullable<z.ZodString>;
3376
3394
  startedDate: z.ZodNullable<z.ZodDate>;
3377
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
3378
3395
  handledTime: z.ZodNullable<z.ZodNumber>;
3379
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
3380
3396
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
3381
- resolutionTime: z.ZodNullable<z.ZodNumber>;
3382
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
3383
3397
  wrapUpForm: z.ZodNullable<z.ZodObject<{
3384
3398
  id: z.ZodString;
3385
3399
  createdAt: z.ZodDate;
@@ -3646,74 +3660,6 @@ export declare const instagramContract: {
3646
3660
  dateValue: Date | null;
3647
3661
  }[] | null | undefined;
3648
3662
  }>>;
3649
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3650
- id: z.ZodString;
3651
- createdAt: z.ZodDate;
3652
- updatedAt: z.ZodDate;
3653
- deletedAt: z.ZodNullable<z.ZodDate>;
3654
- startedAt: z.ZodString;
3655
- endedAt: z.ZodNullable<z.ZodString>;
3656
- duration: z.ZodNullable<z.ZodNumber>;
3657
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3658
- id: z.ZodString;
3659
- createdAt: z.ZodDate;
3660
- updatedAt: z.ZodDate;
3661
- deletedAt: z.ZodNullable<z.ZodDate>;
3662
- name: z.ZodString;
3663
- position: z.ZodNumber;
3664
- isDefault: z.ZodDefault<z.ZodBoolean>;
3665
- }, "strip", z.ZodTypeAny, {
3666
- name: string;
3667
- id: string;
3668
- position: number;
3669
- createdAt: Date;
3670
- updatedAt: Date;
3671
- deletedAt: Date | null;
3672
- isDefault: boolean;
3673
- }, {
3674
- name: string;
3675
- id: string;
3676
- position: number;
3677
- createdAt: Date;
3678
- updatedAt: Date;
3679
- deletedAt: Date | null;
3680
- isDefault?: boolean | undefined;
3681
- }>>>;
3682
- }, "strip", z.ZodTypeAny, {
3683
- id: string;
3684
- createdAt: Date;
3685
- updatedAt: Date;
3686
- deletedAt: Date | null;
3687
- startedAt: string;
3688
- endedAt: string | null;
3689
- duration: number | null;
3690
- holdLabel?: {
3691
- name: string;
3692
- id: string;
3693
- position: number;
3694
- createdAt: Date;
3695
- updatedAt: Date;
3696
- deletedAt: Date | null;
3697
- isDefault: boolean;
3698
- } | null | undefined;
3699
- }, {
3700
- id: string;
3701
- createdAt: Date;
3702
- updatedAt: Date;
3703
- deletedAt: Date | null;
3704
- startedAt: string;
3705
- endedAt: string | null;
3706
- duration: number | null;
3707
- holdLabel?: {
3708
- name: string;
3709
- id: string;
3710
- position: number;
3711
- createdAt: Date;
3712
- updatedAt: Date;
3713
- deletedAt: Date | null;
3714
- isDefault?: boolean | undefined;
3715
- } | null | undefined;
3716
- }>, "many">>>;
3717
3663
  }, "strip", z.ZodTypeAny, {
3718
3664
  id: string;
3719
3665
  channel: string | null;
@@ -3728,12 +3674,8 @@ export declare const instagramContract: {
3728
3674
  entityName: string;
3729
3675
  agentId: string | null;
3730
3676
  startedDate: Date | null;
3731
- totalHoldDuration: number | null;
3732
3677
  handledTime: number | null;
3733
- fullHandledTime: number | null;
3734
3678
  firstResponseTime: number | null;
3735
- resolutionTime: number | null;
3736
- fullResolutionTime: number | null;
3737
3679
  wrapUpForm: {
3738
3680
  type: string;
3739
3681
  id: string;
@@ -3786,24 +3728,6 @@ export declare const instagramContract: {
3786
3728
  dateValue: Date | null;
3787
3729
  }[] | null | undefined;
3788
3730
  } | null;
3789
- holdLogs?: {
3790
- id: string;
3791
- createdAt: Date;
3792
- updatedAt: Date;
3793
- deletedAt: Date | null;
3794
- startedAt: string;
3795
- endedAt: string | null;
3796
- duration: number | null;
3797
- holdLabel?: {
3798
- name: string;
3799
- id: string;
3800
- position: number;
3801
- createdAt: Date;
3802
- updatedAt: Date;
3803
- deletedAt: Date | null;
3804
- isDefault: boolean;
3805
- } | null | undefined;
3806
- }[] | null | undefined;
3807
3731
  }, {
3808
3732
  id: string;
3809
3733
  channel: string | null;
@@ -3818,12 +3742,8 @@ export declare const instagramContract: {
3818
3742
  entityName: string;
3819
3743
  agentId: string | null;
3820
3744
  startedDate: Date | null;
3821
- totalHoldDuration: number | null;
3822
3745
  handledTime: number | null;
3823
- fullHandledTime: number | null;
3824
3746
  firstResponseTime: number | null;
3825
- resolutionTime: number | null;
3826
- fullResolutionTime: number | null;
3827
3747
  wrapUpForm: {
3828
3748
  type: string;
3829
3749
  id: string;
@@ -3876,24 +3796,6 @@ export declare const instagramContract: {
3876
3796
  dateValue: Date | null;
3877
3797
  }[] | null | undefined;
3878
3798
  } | null;
3879
- holdLogs?: {
3880
- id: string;
3881
- createdAt: Date;
3882
- updatedAt: Date;
3883
- deletedAt: Date | null;
3884
- startedAt: string;
3885
- endedAt: string | null;
3886
- duration: number | null;
3887
- holdLabel?: {
3888
- name: string;
3889
- id: string;
3890
- position: number;
3891
- createdAt: Date;
3892
- updatedAt: Date;
3893
- deletedAt: Date | null;
3894
- isDefault?: boolean | undefined;
3895
- } | null | undefined;
3896
- }[] | null | undefined;
3897
3799
  }>;
3898
3800
  workflowRule: z.ZodObject<{
3899
3801
  id: z.ZodString;
@@ -3935,15 +3837,16 @@ export declare const instagramContract: {
3935
3837
  additionalCredentials?: any;
3936
3838
  senderId?: string | undefined;
3937
3839
  whatsapp?: {
3938
- email: string;
3939
- wabaExternalId: string;
3940
- phoneNumberId: string;
3941
- wabaBusinessId?: string | undefined;
3942
- clientId?: string | undefined;
3943
- channelId?: string | undefined;
3840
+ wabaBusinessId?: string | null | undefined;
3841
+ wabaExternalId?: string | null | undefined;
3842
+ phoneNumberId?: string | null | undefined;
3843
+ email?: string | null | undefined;
3844
+ clientId?: string | null | undefined;
3845
+ channelId?: string | null | undefined;
3944
3846
  status?: "active" | "pending" | undefined;
3945
3847
  apiKey?: string | undefined;
3946
3848
  tier?: "basic" | "regular" | "premium" | undefined;
3849
+ integrationType?: "meta" | "360dialog" | undefined;
3947
3850
  } | undefined;
3948
3851
  vonageCredentials?: {
3949
3852
  apiKey: string;
@@ -4114,7 +4017,6 @@ export declare const instagramContract: {
4114
4017
  dateValue: Date | null;
4115
4018
  uploads: {
4116
4019
  id: string;
4117
- status: string | null;
4118
4020
  createdAt: Date;
4119
4021
  updatedAt: Date;
4120
4022
  deletedAt: Date | null;
@@ -4123,6 +4025,7 @@ export declare const instagramContract: {
4123
4025
  bucketName: string;
4124
4026
  fileSize: number;
4125
4027
  fileUrl: string | null;
4028
+ status?: string | undefined;
4126
4029
  }[];
4127
4030
  }[];
4128
4031
  company: {
@@ -4257,12 +4160,8 @@ export declare const instagramContract: {
4257
4160
  entityName: string;
4258
4161
  agentId: string | null;
4259
4162
  startedDate: Date | null;
4260
- totalHoldDuration: number | null;
4261
4163
  handledTime: number | null;
4262
- fullHandledTime: number | null;
4263
4164
  firstResponseTime: number | null;
4264
- resolutionTime: number | null;
4265
- fullResolutionTime: number | null;
4266
4165
  wrapUpForm: {
4267
4166
  type: string;
4268
4167
  id: string;
@@ -4315,24 +4214,6 @@ export declare const instagramContract: {
4315
4214
  dateValue: Date | null;
4316
4215
  }[] | null | undefined;
4317
4216
  } | null;
4318
- holdLogs?: {
4319
- id: string;
4320
- createdAt: Date;
4321
- updatedAt: Date;
4322
- deletedAt: Date | null;
4323
- startedAt: string;
4324
- endedAt: string | null;
4325
- duration: number | null;
4326
- holdLabel?: {
4327
- name: string;
4328
- id: string;
4329
- position: number;
4330
- createdAt: Date;
4331
- updatedAt: Date;
4332
- deletedAt: Date | null;
4333
- isDefault: boolean;
4334
- } | null | undefined;
4335
- }[] | null | undefined;
4336
4217
  };
4337
4218
  workflowRule: {
4338
4219
  name: string;
@@ -4358,15 +4239,16 @@ export declare const instagramContract: {
4358
4239
  additionalCredentials?: any;
4359
4240
  senderId?: string | undefined;
4360
4241
  whatsapp?: {
4361
- email: string;
4362
- wabaExternalId: string;
4363
- phoneNumberId: string;
4364
- wabaBusinessId?: string | undefined;
4365
- clientId?: string | undefined;
4366
- channelId?: string | undefined;
4242
+ wabaBusinessId?: string | null | undefined;
4243
+ wabaExternalId?: string | null | undefined;
4244
+ phoneNumberId?: string | null | undefined;
4245
+ email?: string | null | undefined;
4246
+ clientId?: string | null | undefined;
4247
+ channelId?: string | null | undefined;
4367
4248
  status?: "active" | "pending" | undefined;
4368
4249
  apiKey?: string | undefined;
4369
4250
  tier?: "basic" | "regular" | "premium" | undefined;
4251
+ integrationType?: "meta" | "360dialog" | undefined;
4370
4252
  } | undefined;
4371
4253
  vonageCredentials?: {
4372
4254
  apiKey: string;
@@ -4537,7 +4419,6 @@ export declare const instagramContract: {
4537
4419
  dateValue: Date | null;
4538
4420
  uploads: {
4539
4421
  id: string;
4540
- status: string | null;
4541
4422
  createdAt: Date;
4542
4423
  updatedAt: Date;
4543
4424
  deletedAt: Date | null;
@@ -4546,6 +4427,7 @@ export declare const instagramContract: {
4546
4427
  bucketName: string;
4547
4428
  fileSize: number;
4548
4429
  fileUrl: string | null;
4430
+ status?: string | undefined;
4549
4431
  }[];
4550
4432
  }[];
4551
4433
  company: {
@@ -4680,12 +4562,8 @@ export declare const instagramContract: {
4680
4562
  entityName: string;
4681
4563
  agentId: string | null;
4682
4564
  startedDate: Date | null;
4683
- totalHoldDuration: number | null;
4684
4565
  handledTime: number | null;
4685
- fullHandledTime: number | null;
4686
4566
  firstResponseTime: number | null;
4687
- resolutionTime: number | null;
4688
- fullResolutionTime: number | null;
4689
4567
  wrapUpForm: {
4690
4568
  type: string;
4691
4569
  id: string;
@@ -4738,24 +4616,6 @@ export declare const instagramContract: {
4738
4616
  dateValue: Date | null;
4739
4617
  }[] | null | undefined;
4740
4618
  } | null;
4741
- holdLogs?: {
4742
- id: string;
4743
- createdAt: Date;
4744
- updatedAt: Date;
4745
- deletedAt: Date | null;
4746
- startedAt: string;
4747
- endedAt: string | null;
4748
- duration: number | null;
4749
- holdLabel?: {
4750
- name: string;
4751
- id: string;
4752
- position: number;
4753
- createdAt: Date;
4754
- updatedAt: Date;
4755
- deletedAt: Date | null;
4756
- isDefault?: boolean | undefined;
4757
- } | null | undefined;
4758
- }[] | null | undefined;
4759
4619
  };
4760
4620
  workflowRule: {
4761
4621
  name: string;
@@ -4806,7 +4666,7 @@ export declare const instagramContract: {
4806
4666
  deletedAt: z.ZodNullable<z.ZodDate>;
4807
4667
  message: z.ZodString;
4808
4668
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4809
- 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"]>;
4669
+ 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"]>;
4810
4670
  readAt: z.ZodDate;
4811
4671
  metadata: z.ZodAny;
4812
4672
  platformId: z.ZodString;
@@ -4827,10 +4687,9 @@ export declare const instagramContract: {
4827
4687
  fileSize: z.ZodNumber;
4828
4688
  fileKey: z.ZodString;
4829
4689
  fileUrl: z.ZodNullable<z.ZodString>;
4830
- status: z.ZodNullable<z.ZodString>;
4690
+ status: z.ZodOptional<z.ZodString>;
4831
4691
  }, "strip", z.ZodTypeAny, {
4832
4692
  id: string;
4833
- status: string | null;
4834
4693
  createdAt: Date;
4835
4694
  updatedAt: Date;
4836
4695
  deletedAt: Date | null;
@@ -4839,9 +4698,9 @@ export declare const instagramContract: {
4839
4698
  bucketName: string;
4840
4699
  fileSize: number;
4841
4700
  fileUrl: string | null;
4701
+ status?: string | undefined;
4842
4702
  }, {
4843
4703
  id: string;
4844
- status: string | null;
4845
4704
  createdAt: Date;
4846
4705
  updatedAt: Date;
4847
4706
  deletedAt: Date | null;
@@ -4850,6 +4709,7 @@ export declare const instagramContract: {
4850
4709
  bucketName: string;
4851
4710
  fileSize: number;
4852
4711
  fileUrl: string | null;
4712
+ status?: string | undefined;
4853
4713
  }>;
4854
4714
  actor: z.ZodObject<{
4855
4715
  id: z.ZodString;
@@ -5464,7 +5324,7 @@ export declare const instagramContract: {
5464
5324
  };
5465
5325
  }>;
5466
5326
  }, "strip", z.ZodTypeAny, {
5467
- 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";
5327
+ 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";
5468
5328
  message: string;
5469
5329
  id: string;
5470
5330
  url: string;
@@ -5518,7 +5378,6 @@ export declare const instagramContract: {
5518
5378
  };
5519
5379
  upload: {
5520
5380
  id: string;
5521
- status: string | null;
5522
5381
  createdAt: Date;
5523
5382
  updatedAt: Date;
5524
5383
  deletedAt: Date | null;
@@ -5527,6 +5386,7 @@ export declare const instagramContract: {
5527
5386
  bucketName: string;
5528
5387
  fileSize: number;
5529
5388
  fileUrl: string | null;
5389
+ status?: string | undefined;
5530
5390
  };
5531
5391
  assignee: {
5532
5392
  name: string;
@@ -5626,7 +5486,7 @@ export declare const instagramContract: {
5626
5486
  metadata?: any;
5627
5487
  template?: any;
5628
5488
  }, {
5629
- 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";
5489
+ 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";
5630
5490
  message: string;
5631
5491
  id: string;
5632
5492
  url: string;
@@ -5680,7 +5540,6 @@ export declare const instagramContract: {
5680
5540
  };
5681
5541
  upload: {
5682
5542
  id: string;
5683
- status: string | null;
5684
5543
  createdAt: Date;
5685
5544
  updatedAt: Date;
5686
5545
  deletedAt: Date | null;
@@ -5689,6 +5548,7 @@ export declare const instagramContract: {
5689
5548
  bucketName: string;
5690
5549
  fileSize: number;
5691
5550
  fileUrl: string | null;
5551
+ status?: string | undefined;
5692
5552
  };
5693
5553
  assignee: {
5694
5554
  name: string;
@@ -6000,7 +5860,7 @@ export declare const instagramContract: {
6000
5860
  deletedAt: z.ZodNullable<z.ZodDate>;
6001
5861
  message: z.ZodString;
6002
5862
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
6003
- 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"]>;
5863
+ 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"]>;
6004
5864
  readAt: z.ZodDate;
6005
5865
  metadata: z.ZodAny;
6006
5866
  platformId: z.ZodString;
@@ -6399,10 +6259,9 @@ export declare const instagramContract: {
6399
6259
  fileSize: z.ZodNumber;
6400
6260
  fileKey: z.ZodString;
6401
6261
  fileUrl: z.ZodNullable<z.ZodString>;
6402
- status: z.ZodNullable<z.ZodString>;
6262
+ status: z.ZodOptional<z.ZodString>;
6403
6263
  }, "strip", z.ZodTypeAny, {
6404
6264
  id: string;
6405
- status: string | null;
6406
6265
  createdAt: Date;
6407
6266
  updatedAt: Date;
6408
6267
  deletedAt: Date | null;
@@ -6411,9 +6270,9 @@ export declare const instagramContract: {
6411
6270
  bucketName: string;
6412
6271
  fileSize: number;
6413
6272
  fileUrl: string | null;
6273
+ status?: string | undefined;
6414
6274
  }, {
6415
6275
  id: string;
6416
- status: string | null;
6417
6276
  createdAt: Date;
6418
6277
  updatedAt: Date;
6419
6278
  deletedAt: Date | null;
@@ -6422,6 +6281,7 @@ export declare const instagramContract: {
6422
6281
  bucketName: string;
6423
6282
  fileSize: number;
6424
6283
  fileUrl: string | null;
6284
+ status?: string | undefined;
6425
6285
  }>, "many">;
6426
6286
  }, "strip", z.ZodTypeAny, {
6427
6287
  id: string;
@@ -6448,7 +6308,6 @@ export declare const instagramContract: {
6448
6308
  dateValue: Date | null;
6449
6309
  uploads: {
6450
6310
  id: string;
6451
- status: string | null;
6452
6311
  createdAt: Date;
6453
6312
  updatedAt: Date;
6454
6313
  deletedAt: Date | null;
@@ -6457,6 +6316,7 @@ export declare const instagramContract: {
6457
6316
  bucketName: string;
6458
6317
  fileSize: number;
6459
6318
  fileUrl: string | null;
6319
+ status?: string | undefined;
6460
6320
  }[];
6461
6321
  }, {
6462
6322
  id: string;
@@ -6483,7 +6343,6 @@ export declare const instagramContract: {
6483
6343
  dateValue: Date | null;
6484
6344
  uploads: {
6485
6345
  id: string;
6486
- status: string | null;
6487
6346
  createdAt: Date;
6488
6347
  updatedAt: Date;
6489
6348
  deletedAt: Date | null;
@@ -6492,6 +6351,7 @@ export declare const instagramContract: {
6492
6351
  bucketName: string;
6493
6352
  fileSize: number;
6494
6353
  fileUrl: string | null;
6354
+ status?: string | undefined;
6495
6355
  }[];
6496
6356
  }>, "many">;
6497
6357
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6631,7 +6491,6 @@ export declare const instagramContract: {
6631
6491
  dateValue: Date | null;
6632
6492
  uploads: {
6633
6493
  id: string;
6634
- status: string | null;
6635
6494
  createdAt: Date;
6636
6495
  updatedAt: Date;
6637
6496
  deletedAt: Date | null;
@@ -6640,6 +6499,7 @@ export declare const instagramContract: {
6640
6499
  bucketName: string;
6641
6500
  fileSize: number;
6642
6501
  fileUrl: string | null;
6502
+ status?: string | undefined;
6643
6503
  }[];
6644
6504
  }[];
6645
6505
  company: {
@@ -6742,7 +6602,6 @@ export declare const instagramContract: {
6742
6602
  dateValue: Date | null;
6743
6603
  uploads: {
6744
6604
  id: string;
6745
- status: string | null;
6746
6605
  createdAt: Date;
6747
6606
  updatedAt: Date;
6748
6607
  deletedAt: Date | null;
@@ -6751,6 +6610,7 @@ export declare const instagramContract: {
6751
6610
  bucketName: string;
6752
6611
  fileSize: number;
6753
6612
  fileUrl: string | null;
6613
+ status?: string | undefined;
6754
6614
  }[];
6755
6615
  }[];
6756
6616
  company: {
@@ -6866,7 +6726,6 @@ export declare const instagramContract: {
6866
6726
  dateValue: Date | null;
6867
6727
  uploads: {
6868
6728
  id: string;
6869
- status: string | null;
6870
6729
  createdAt: Date;
6871
6730
  updatedAt: Date;
6872
6731
  deletedAt: Date | null;
@@ -6875,6 +6734,7 @@ export declare const instagramContract: {
6875
6734
  bucketName: string;
6876
6735
  fileSize: number;
6877
6736
  fileUrl: string | null;
6737
+ status?: string | undefined;
6878
6738
  }[];
6879
6739
  }[];
6880
6740
  company: {
@@ -6992,7 +6852,6 @@ export declare const instagramContract: {
6992
6852
  dateValue: Date | null;
6993
6853
  uploads: {
6994
6854
  id: string;
6995
- status: string | null;
6996
6855
  createdAt: Date;
6997
6856
  updatedAt: Date;
6998
6857
  deletedAt: Date | null;
@@ -7001,6 +6860,7 @@ export declare const instagramContract: {
7001
6860
  bucketName: string;
7002
6861
  fileSize: number;
7003
6862
  fileUrl: string | null;
6863
+ status?: string | undefined;
7004
6864
  }[];
7005
6865
  }[];
7006
6866
  company: {
@@ -7497,35 +7357,38 @@ export declare const instagramContract: {
7497
7357
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7498
7358
  senderId: z.ZodOptional<z.ZodString>;
7499
7359
  whatsapp: z.ZodOptional<z.ZodObject<{
7500
- wabaBusinessId: z.ZodOptional<z.ZodString>;
7501
- wabaExternalId: z.ZodString;
7502
- phoneNumberId: z.ZodString;
7503
- email: z.ZodString;
7504
- clientId: z.ZodOptional<z.ZodString>;
7505
- channelId: z.ZodOptional<z.ZodString>;
7360
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7361
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7362
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7363
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7364
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7365
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7506
7366
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7507
7367
  apiKey: z.ZodOptional<z.ZodString>;
7508
7368
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7369
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
7509
7370
  }, "strip", z.ZodTypeAny, {
7510
- email: string;
7511
- wabaExternalId: string;
7512
- phoneNumberId: string;
7513
- wabaBusinessId?: string | undefined;
7514
- clientId?: string | undefined;
7515
- channelId?: string | undefined;
7371
+ wabaBusinessId?: string | null | undefined;
7372
+ wabaExternalId?: string | null | undefined;
7373
+ phoneNumberId?: string | null | undefined;
7374
+ email?: string | null | undefined;
7375
+ clientId?: string | null | undefined;
7376
+ channelId?: string | null | undefined;
7516
7377
  status?: "active" | "pending" | undefined;
7517
7378
  apiKey?: string | undefined;
7518
7379
  tier?: "basic" | "regular" | "premium" | undefined;
7380
+ integrationType?: "meta" | "360dialog" | undefined;
7519
7381
  }, {
7520
- email: string;
7521
- wabaExternalId: string;
7522
- phoneNumberId: string;
7523
- wabaBusinessId?: string | undefined;
7524
- clientId?: string | undefined;
7525
- channelId?: string | undefined;
7382
+ wabaBusinessId?: string | null | undefined;
7383
+ wabaExternalId?: string | null | undefined;
7384
+ phoneNumberId?: string | null | undefined;
7385
+ email?: string | null | undefined;
7386
+ clientId?: string | null | undefined;
7387
+ channelId?: string | null | undefined;
7526
7388
  status?: "active" | "pending" | undefined;
7527
7389
  apiKey?: string | undefined;
7528
7390
  tier?: "basic" | "regular" | "premium" | undefined;
7391
+ integrationType?: "meta" | "360dialog" | undefined;
7529
7392
  }>>;
7530
7393
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7531
7394
  mobileNumber: z.ZodString;
@@ -7550,15 +7413,16 @@ export declare const instagramContract: {
7550
7413
  additionalCredentials?: any;
7551
7414
  senderId?: string | undefined;
7552
7415
  whatsapp?: {
7553
- email: string;
7554
- wabaExternalId: string;
7555
- phoneNumberId: string;
7556
- wabaBusinessId?: string | undefined;
7557
- clientId?: string | undefined;
7558
- channelId?: string | undefined;
7416
+ wabaBusinessId?: string | null | undefined;
7417
+ wabaExternalId?: string | null | undefined;
7418
+ phoneNumberId?: string | null | undefined;
7419
+ email?: string | null | undefined;
7420
+ clientId?: string | null | undefined;
7421
+ channelId?: string | null | undefined;
7559
7422
  status?: "active" | "pending" | undefined;
7560
7423
  apiKey?: string | undefined;
7561
7424
  tier?: "basic" | "regular" | "premium" | undefined;
7425
+ integrationType?: "meta" | "360dialog" | undefined;
7562
7426
  } | undefined;
7563
7427
  vonageCredentials?: {
7564
7428
  apiKey: string;
@@ -7575,15 +7439,16 @@ export declare const instagramContract: {
7575
7439
  additionalCredentials?: any;
7576
7440
  senderId?: string | undefined;
7577
7441
  whatsapp?: {
7578
- email: string;
7579
- wabaExternalId: string;
7580
- phoneNumberId: string;
7581
- wabaBusinessId?: string | undefined;
7582
- clientId?: string | undefined;
7583
- channelId?: string | undefined;
7442
+ wabaBusinessId?: string | null | undefined;
7443
+ wabaExternalId?: string | null | undefined;
7444
+ phoneNumberId?: string | null | undefined;
7445
+ email?: string | null | undefined;
7446
+ clientId?: string | null | undefined;
7447
+ channelId?: string | null | undefined;
7584
7448
  status?: "active" | "pending" | undefined;
7585
7449
  apiKey?: string | undefined;
7586
7450
  tier?: "basic" | "regular" | "premium" | undefined;
7451
+ integrationType?: "meta" | "360dialog" | undefined;
7587
7452
  } | undefined;
7588
7453
  vonageCredentials?: {
7589
7454
  apiKey: string;
@@ -7834,15 +7699,16 @@ export declare const instagramContract: {
7834
7699
  additionalCredentials?: any;
7835
7700
  senderId?: string | undefined;
7836
7701
  whatsapp?: {
7837
- email: string;
7838
- wabaExternalId: string;
7839
- phoneNumberId: string;
7840
- wabaBusinessId?: string | undefined;
7841
- clientId?: string | undefined;
7842
- channelId?: string | undefined;
7702
+ wabaBusinessId?: string | null | undefined;
7703
+ wabaExternalId?: string | null | undefined;
7704
+ phoneNumberId?: string | null | undefined;
7705
+ email?: string | null | undefined;
7706
+ clientId?: string | null | undefined;
7707
+ channelId?: string | null | undefined;
7843
7708
  status?: "active" | "pending" | undefined;
7844
7709
  apiKey?: string | undefined;
7845
7710
  tier?: "basic" | "regular" | "premium" | undefined;
7711
+ integrationType?: "meta" | "360dialog" | undefined;
7846
7712
  } | undefined;
7847
7713
  vonageCredentials?: {
7848
7714
  apiKey: string;
@@ -7924,15 +7790,16 @@ export declare const instagramContract: {
7924
7790
  additionalCredentials?: any;
7925
7791
  senderId?: string | undefined;
7926
7792
  whatsapp?: {
7927
- email: string;
7928
- wabaExternalId: string;
7929
- phoneNumberId: string;
7930
- wabaBusinessId?: string | undefined;
7931
- clientId?: string | undefined;
7932
- channelId?: string | undefined;
7793
+ wabaBusinessId?: string | null | undefined;
7794
+ wabaExternalId?: string | null | undefined;
7795
+ phoneNumberId?: string | null | undefined;
7796
+ email?: string | null | undefined;
7797
+ clientId?: string | null | undefined;
7798
+ channelId?: string | null | undefined;
7933
7799
  status?: "active" | "pending" | undefined;
7934
7800
  apiKey?: string | undefined;
7935
7801
  tier?: "basic" | "regular" | "premium" | undefined;
7802
+ integrationType?: "meta" | "360dialog" | undefined;
7936
7803
  } | undefined;
7937
7804
  vonageCredentials?: {
7938
7805
  apiKey: string;
@@ -8017,12 +7884,8 @@ export declare const instagramContract: {
8017
7884
  agentId: z.ZodNullable<z.ZodString>;
8018
7885
  direction: z.ZodNullable<z.ZodString>;
8019
7886
  startedDate: z.ZodNullable<z.ZodDate>;
8020
- totalHoldDuration: z.ZodNullable<z.ZodNumber>;
8021
7887
  handledTime: z.ZodNullable<z.ZodNumber>;
8022
- fullHandledTime: z.ZodNullable<z.ZodNumber>;
8023
7888
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
8024
- resolutionTime: z.ZodNullable<z.ZodNumber>;
8025
- fullResolutionTime: z.ZodNullable<z.ZodNumber>;
8026
7889
  wrapUpForm: z.ZodNullable<z.ZodObject<{
8027
7890
  id: z.ZodString;
8028
7891
  createdAt: z.ZodDate;
@@ -8289,74 +8152,6 @@ export declare const instagramContract: {
8289
8152
  dateValue: Date | null;
8290
8153
  }[] | null | undefined;
8291
8154
  }>>;
8292
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8293
- id: z.ZodString;
8294
- createdAt: z.ZodDate;
8295
- updatedAt: z.ZodDate;
8296
- deletedAt: z.ZodNullable<z.ZodDate>;
8297
- startedAt: z.ZodString;
8298
- endedAt: z.ZodNullable<z.ZodString>;
8299
- duration: z.ZodNullable<z.ZodNumber>;
8300
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8301
- id: z.ZodString;
8302
- createdAt: z.ZodDate;
8303
- updatedAt: z.ZodDate;
8304
- deletedAt: z.ZodNullable<z.ZodDate>;
8305
- name: z.ZodString;
8306
- position: z.ZodNumber;
8307
- isDefault: z.ZodDefault<z.ZodBoolean>;
8308
- }, "strip", z.ZodTypeAny, {
8309
- name: string;
8310
- id: string;
8311
- position: number;
8312
- createdAt: Date;
8313
- updatedAt: Date;
8314
- deletedAt: Date | null;
8315
- isDefault: boolean;
8316
- }, {
8317
- name: string;
8318
- id: string;
8319
- position: number;
8320
- createdAt: Date;
8321
- updatedAt: Date;
8322
- deletedAt: Date | null;
8323
- isDefault?: boolean | undefined;
8324
- }>>>;
8325
- }, "strip", z.ZodTypeAny, {
8326
- id: string;
8327
- createdAt: Date;
8328
- updatedAt: Date;
8329
- deletedAt: Date | null;
8330
- startedAt: string;
8331
- endedAt: string | null;
8332
- duration: number | null;
8333
- holdLabel?: {
8334
- name: string;
8335
- id: string;
8336
- position: number;
8337
- createdAt: Date;
8338
- updatedAt: Date;
8339
- deletedAt: Date | null;
8340
- isDefault: boolean;
8341
- } | null | undefined;
8342
- }, {
8343
- id: string;
8344
- createdAt: Date;
8345
- updatedAt: Date;
8346
- deletedAt: Date | null;
8347
- startedAt: string;
8348
- endedAt: string | null;
8349
- duration: number | null;
8350
- holdLabel?: {
8351
- name: string;
8352
- id: string;
8353
- position: number;
8354
- createdAt: Date;
8355
- updatedAt: Date;
8356
- deletedAt: Date | null;
8357
- isDefault?: boolean | undefined;
8358
- } | null | undefined;
8359
- }>, "many">>>;
8360
8155
  }, "strip", z.ZodTypeAny, {
8361
8156
  id: string;
8362
8157
  channel: string | null;
@@ -8371,12 +8166,8 @@ export declare const instagramContract: {
8371
8166
  entityName: string;
8372
8167
  agentId: string | null;
8373
8168
  startedDate: Date | null;
8374
- totalHoldDuration: number | null;
8375
8169
  handledTime: number | null;
8376
- fullHandledTime: number | null;
8377
8170
  firstResponseTime: number | null;
8378
- resolutionTime: number | null;
8379
- fullResolutionTime: number | null;
8380
8171
  wrapUpForm: {
8381
8172
  type: string;
8382
8173
  id: string;
@@ -8429,24 +8220,6 @@ export declare const instagramContract: {
8429
8220
  dateValue: Date | null;
8430
8221
  }[] | null | undefined;
8431
8222
  } | null;
8432
- holdLogs?: {
8433
- id: string;
8434
- createdAt: Date;
8435
- updatedAt: Date;
8436
- deletedAt: Date | null;
8437
- startedAt: string;
8438
- endedAt: string | null;
8439
- duration: number | null;
8440
- holdLabel?: {
8441
- name: string;
8442
- id: string;
8443
- position: number;
8444
- createdAt: Date;
8445
- updatedAt: Date;
8446
- deletedAt: Date | null;
8447
- isDefault: boolean;
8448
- } | null | undefined;
8449
- }[] | null | undefined;
8450
8223
  }, {
8451
8224
  id: string;
8452
8225
  channel: string | null;
@@ -8461,12 +8234,8 @@ export declare const instagramContract: {
8461
8234
  entityName: string;
8462
8235
  agentId: string | null;
8463
8236
  startedDate: Date | null;
8464
- totalHoldDuration: number | null;
8465
8237
  handledTime: number | null;
8466
- fullHandledTime: number | null;
8467
8238
  firstResponseTime: number | null;
8468
- resolutionTime: number | null;
8469
- fullResolutionTime: number | null;
8470
8239
  wrapUpForm: {
8471
8240
  type: string;
8472
8241
  id: string;
@@ -8519,24 +8288,6 @@ export declare const instagramContract: {
8519
8288
  dateValue: Date | null;
8520
8289
  }[] | null | undefined;
8521
8290
  } | null;
8522
- holdLogs?: {
8523
- id: string;
8524
- createdAt: Date;
8525
- updatedAt: Date;
8526
- deletedAt: Date | null;
8527
- startedAt: string;
8528
- endedAt: string | null;
8529
- duration: number | null;
8530
- holdLabel?: {
8531
- name: string;
8532
- id: string;
8533
- position: number;
8534
- createdAt: Date;
8535
- updatedAt: Date;
8536
- deletedAt: Date | null;
8537
- isDefault?: boolean | undefined;
8538
- } | null | undefined;
8539
- }[] | null | undefined;
8540
8291
  }>;
8541
8292
  workflowRule: z.ZodObject<{
8542
8293
  id: z.ZodString;
@@ -8578,15 +8329,16 @@ export declare const instagramContract: {
8578
8329
  additionalCredentials?: any;
8579
8330
  senderId?: string | undefined;
8580
8331
  whatsapp?: {
8581
- email: string;
8582
- wabaExternalId: string;
8583
- phoneNumberId: string;
8584
- wabaBusinessId?: string | undefined;
8585
- clientId?: string | undefined;
8586
- channelId?: string | undefined;
8332
+ wabaBusinessId?: string | null | undefined;
8333
+ wabaExternalId?: string | null | undefined;
8334
+ phoneNumberId?: string | null | undefined;
8335
+ email?: string | null | undefined;
8336
+ clientId?: string | null | undefined;
8337
+ channelId?: string | null | undefined;
8587
8338
  status?: "active" | "pending" | undefined;
8588
8339
  apiKey?: string | undefined;
8589
8340
  tier?: "basic" | "regular" | "premium" | undefined;
8341
+ integrationType?: "meta" | "360dialog" | undefined;
8590
8342
  } | undefined;
8591
8343
  vonageCredentials?: {
8592
8344
  apiKey: string;
@@ -8757,7 +8509,6 @@ export declare const instagramContract: {
8757
8509
  dateValue: Date | null;
8758
8510
  uploads: {
8759
8511
  id: string;
8760
- status: string | null;
8761
8512
  createdAt: Date;
8762
8513
  updatedAt: Date;
8763
8514
  deletedAt: Date | null;
@@ -8766,6 +8517,7 @@ export declare const instagramContract: {
8766
8517
  bucketName: string;
8767
8518
  fileSize: number;
8768
8519
  fileUrl: string | null;
8520
+ status?: string | undefined;
8769
8521
  }[];
8770
8522
  }[];
8771
8523
  company: {
@@ -8900,12 +8652,8 @@ export declare const instagramContract: {
8900
8652
  entityName: string;
8901
8653
  agentId: string | null;
8902
8654
  startedDate: Date | null;
8903
- totalHoldDuration: number | null;
8904
8655
  handledTime: number | null;
8905
- fullHandledTime: number | null;
8906
8656
  firstResponseTime: number | null;
8907
- resolutionTime: number | null;
8908
- fullResolutionTime: number | null;
8909
8657
  wrapUpForm: {
8910
8658
  type: string;
8911
8659
  id: string;
@@ -8958,24 +8706,6 @@ export declare const instagramContract: {
8958
8706
  dateValue: Date | null;
8959
8707
  }[] | null | undefined;
8960
8708
  } | null;
8961
- holdLogs?: {
8962
- id: string;
8963
- createdAt: Date;
8964
- updatedAt: Date;
8965
- deletedAt: Date | null;
8966
- startedAt: string;
8967
- endedAt: string | null;
8968
- duration: number | null;
8969
- holdLabel?: {
8970
- name: string;
8971
- id: string;
8972
- position: number;
8973
- createdAt: Date;
8974
- updatedAt: Date;
8975
- deletedAt: Date | null;
8976
- isDefault: boolean;
8977
- } | null | undefined;
8978
- }[] | null | undefined;
8979
8709
  };
8980
8710
  workflowRule: {
8981
8711
  name: string;
@@ -9001,15 +8731,16 @@ export declare const instagramContract: {
9001
8731
  additionalCredentials?: any;
9002
8732
  senderId?: string | undefined;
9003
8733
  whatsapp?: {
9004
- email: string;
9005
- wabaExternalId: string;
9006
- phoneNumberId: string;
9007
- wabaBusinessId?: string | undefined;
9008
- clientId?: string | undefined;
9009
- channelId?: string | undefined;
8734
+ wabaBusinessId?: string | null | undefined;
8735
+ wabaExternalId?: string | null | undefined;
8736
+ phoneNumberId?: string | null | undefined;
8737
+ email?: string | null | undefined;
8738
+ clientId?: string | null | undefined;
8739
+ channelId?: string | null | undefined;
9010
8740
  status?: "active" | "pending" | undefined;
9011
8741
  apiKey?: string | undefined;
9012
8742
  tier?: "basic" | "regular" | "premium" | undefined;
8743
+ integrationType?: "meta" | "360dialog" | undefined;
9013
8744
  } | undefined;
9014
8745
  vonageCredentials?: {
9015
8746
  apiKey: string;
@@ -9180,7 +8911,6 @@ export declare const instagramContract: {
9180
8911
  dateValue: Date | null;
9181
8912
  uploads: {
9182
8913
  id: string;
9183
- status: string | null;
9184
8914
  createdAt: Date;
9185
8915
  updatedAt: Date;
9186
8916
  deletedAt: Date | null;
@@ -9189,6 +8919,7 @@ export declare const instagramContract: {
9189
8919
  bucketName: string;
9190
8920
  fileSize: number;
9191
8921
  fileUrl: string | null;
8922
+ status?: string | undefined;
9192
8923
  }[];
9193
8924
  }[];
9194
8925
  company: {
@@ -9323,12 +9054,8 @@ export declare const instagramContract: {
9323
9054
  entityName: string;
9324
9055
  agentId: string | null;
9325
9056
  startedDate: Date | null;
9326
- totalHoldDuration: number | null;
9327
9057
  handledTime: number | null;
9328
- fullHandledTime: number | null;
9329
9058
  firstResponseTime: number | null;
9330
- resolutionTime: number | null;
9331
- fullResolutionTime: number | null;
9332
9059
  wrapUpForm: {
9333
9060
  type: string;
9334
9061
  id: string;
@@ -9381,24 +9108,6 @@ export declare const instagramContract: {
9381
9108
  dateValue: Date | null;
9382
9109
  }[] | null | undefined;
9383
9110
  } | null;
9384
- holdLogs?: {
9385
- id: string;
9386
- createdAt: Date;
9387
- updatedAt: Date;
9388
- deletedAt: Date | null;
9389
- startedAt: string;
9390
- endedAt: string | null;
9391
- duration: number | null;
9392
- holdLabel?: {
9393
- name: string;
9394
- id: string;
9395
- position: number;
9396
- createdAt: Date;
9397
- updatedAt: Date;
9398
- deletedAt: Date | null;
9399
- isDefault?: boolean | undefined;
9400
- } | null | undefined;
9401
- }[] | null | undefined;
9402
9111
  };
9403
9112
  workflowRule: {
9404
9113
  name: string;
@@ -9421,10 +9130,9 @@ export declare const instagramContract: {
9421
9130
  fileSize: z.ZodNumber;
9422
9131
  fileKey: z.ZodString;
9423
9132
  fileUrl: z.ZodNullable<z.ZodString>;
9424
- status: z.ZodNullable<z.ZodString>;
9133
+ status: z.ZodOptional<z.ZodString>;
9425
9134
  }, "strip", z.ZodTypeAny, {
9426
9135
  id: string;
9427
- status: string | null;
9428
9136
  createdAt: Date;
9429
9137
  updatedAt: Date;
9430
9138
  deletedAt: Date | null;
@@ -9433,9 +9141,9 @@ export declare const instagramContract: {
9433
9141
  bucketName: string;
9434
9142
  fileSize: number;
9435
9143
  fileUrl: string | null;
9144
+ status?: string | undefined;
9436
9145
  }, {
9437
9146
  id: string;
9438
- status: string | null;
9439
9147
  createdAt: Date;
9440
9148
  updatedAt: Date;
9441
9149
  deletedAt: Date | null;
@@ -9444,6 +9152,7 @@ export declare const instagramContract: {
9444
9152
  bucketName: string;
9445
9153
  fileSize: number;
9446
9154
  fileUrl: string | null;
9155
+ status?: string | undefined;
9447
9156
  }>;
9448
9157
  repliedMessage: z.ZodLazy<z.ZodObject<{
9449
9158
  id: z.ZodString;
@@ -9452,7 +9161,7 @@ export declare const instagramContract: {
9452
9161
  deletedAt: z.ZodNullable<z.ZodDate>;
9453
9162
  message: z.ZodString;
9454
9163
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9455
- 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"]>;
9164
+ 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"]>;
9456
9165
  readAt: z.ZodDate;
9457
9166
  metadata: z.ZodAny;
9458
9167
  platformId: z.ZodString;
@@ -9473,10 +9182,9 @@ export declare const instagramContract: {
9473
9182
  fileSize: z.ZodNumber;
9474
9183
  fileKey: z.ZodString;
9475
9184
  fileUrl: z.ZodNullable<z.ZodString>;
9476
- status: z.ZodNullable<z.ZodString>;
9185
+ status: z.ZodOptional<z.ZodString>;
9477
9186
  }, "strip", z.ZodTypeAny, {
9478
9187
  id: string;
9479
- status: string | null;
9480
9188
  createdAt: Date;
9481
9189
  updatedAt: Date;
9482
9190
  deletedAt: Date | null;
@@ -9485,9 +9193,9 @@ export declare const instagramContract: {
9485
9193
  bucketName: string;
9486
9194
  fileSize: number;
9487
9195
  fileUrl: string | null;
9196
+ status?: string | undefined;
9488
9197
  }, {
9489
9198
  id: string;
9490
- status: string | null;
9491
9199
  createdAt: Date;
9492
9200
  updatedAt: Date;
9493
9201
  deletedAt: Date | null;
@@ -9496,6 +9204,7 @@ export declare const instagramContract: {
9496
9204
  bucketName: string;
9497
9205
  fileSize: number;
9498
9206
  fileUrl: string | null;
9207
+ status?: string | undefined;
9499
9208
  }>;
9500
9209
  actor: z.ZodObject<{
9501
9210
  id: z.ZodString;
@@ -10110,7 +9819,7 @@ export declare const instagramContract: {
10110
9819
  };
10111
9820
  }>;
10112
9821
  }, "strip", z.ZodTypeAny, {
10113
- 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";
9822
+ 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";
10114
9823
  message: string;
10115
9824
  id: string;
10116
9825
  url: string;
@@ -10164,7 +9873,6 @@ export declare const instagramContract: {
10164
9873
  };
10165
9874
  upload: {
10166
9875
  id: string;
10167
- status: string | null;
10168
9876
  createdAt: Date;
10169
9877
  updatedAt: Date;
10170
9878
  deletedAt: Date | null;
@@ -10173,6 +9881,7 @@ export declare const instagramContract: {
10173
9881
  bucketName: string;
10174
9882
  fileSize: number;
10175
9883
  fileUrl: string | null;
9884
+ status?: string | undefined;
10176
9885
  };
10177
9886
  assignee: {
10178
9887
  name: string;
@@ -10272,7 +9981,7 @@ export declare const instagramContract: {
10272
9981
  metadata?: any;
10273
9982
  template?: any;
10274
9983
  }, {
10275
- 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";
9984
+ 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";
10276
9985
  message: string;
10277
9986
  id: string;
10278
9987
  url: string;
@@ -10326,7 +10035,6 @@ export declare const instagramContract: {
10326
10035
  };
10327
10036
  upload: {
10328
10037
  id: string;
10329
- status: string | null;
10330
10038
  createdAt: Date;
10331
10039
  updatedAt: Date;
10332
10040
  deletedAt: Date | null;
@@ -10335,6 +10043,7 @@ export declare const instagramContract: {
10335
10043
  bucketName: string;
10336
10044
  fileSize: number;
10337
10045
  fileUrl: string | null;
10046
+ status?: string | undefined;
10338
10047
  };
10339
10048
  assignee: {
10340
10049
  name: string;
@@ -11074,7 +10783,7 @@ export declare const instagramContract: {
11074
10783
  editedMessageid: z.ZodString;
11075
10784
  label: z.ZodOptional<z.ZodString>;
11076
10785
  }, "strip", z.ZodTypeAny, {
11077
- 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";
10786
+ 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";
11078
10787
  message: string;
11079
10788
  id: string;
11080
10789
  url: string;
@@ -11128,7 +10837,6 @@ export declare const instagramContract: {
11128
10837
  };
11129
10838
  upload: {
11130
10839
  id: string;
11131
- status: string | null;
11132
10840
  createdAt: Date;
11133
10841
  updatedAt: Date;
11134
10842
  deletedAt: Date | null;
@@ -11137,6 +10845,7 @@ export declare const instagramContract: {
11137
10845
  bucketName: string;
11138
10846
  fileSize: number;
11139
10847
  fileUrl: string | null;
10848
+ status?: string | undefined;
11140
10849
  };
11141
10850
  assignee: {
11142
10851
  name: string;
@@ -11197,15 +10906,16 @@ export declare const instagramContract: {
11197
10906
  additionalCredentials?: any;
11198
10907
  senderId?: string | undefined;
11199
10908
  whatsapp?: {
11200
- email: string;
11201
- wabaExternalId: string;
11202
- phoneNumberId: string;
11203
- wabaBusinessId?: string | undefined;
11204
- clientId?: string | undefined;
11205
- channelId?: string | undefined;
10909
+ wabaBusinessId?: string | null | undefined;
10910
+ wabaExternalId?: string | null | undefined;
10911
+ phoneNumberId?: string | null | undefined;
10912
+ email?: string | null | undefined;
10913
+ clientId?: string | null | undefined;
10914
+ channelId?: string | null | undefined;
11206
10915
  status?: "active" | "pending" | undefined;
11207
10916
  apiKey?: string | undefined;
11208
10917
  tier?: "basic" | "regular" | "premium" | undefined;
10918
+ integrationType?: "meta" | "360dialog" | undefined;
11209
10919
  } | undefined;
11210
10920
  vonageCredentials?: {
11211
10921
  apiKey: string;
@@ -11376,7 +11086,6 @@ export declare const instagramContract: {
11376
11086
  dateValue: Date | null;
11377
11087
  uploads: {
11378
11088
  id: string;
11379
- status: string | null;
11380
11089
  createdAt: Date;
11381
11090
  updatedAt: Date;
11382
11091
  deletedAt: Date | null;
@@ -11385,6 +11094,7 @@ export declare const instagramContract: {
11385
11094
  bucketName: string;
11386
11095
  fileSize: number;
11387
11096
  fileUrl: string | null;
11097
+ status?: string | undefined;
11388
11098
  }[];
11389
11099
  }[];
11390
11100
  company: {
@@ -11519,12 +11229,8 @@ export declare const instagramContract: {
11519
11229
  entityName: string;
11520
11230
  agentId: string | null;
11521
11231
  startedDate: Date | null;
11522
- totalHoldDuration: number | null;
11523
11232
  handledTime: number | null;
11524
- fullHandledTime: number | null;
11525
11233
  firstResponseTime: number | null;
11526
- resolutionTime: number | null;
11527
- fullResolutionTime: number | null;
11528
11234
  wrapUpForm: {
11529
11235
  type: string;
11530
11236
  id: string;
@@ -11577,24 +11283,6 @@ export declare const instagramContract: {
11577
11283
  dateValue: Date | null;
11578
11284
  }[] | null | undefined;
11579
11285
  } | null;
11580
- holdLogs?: {
11581
- id: string;
11582
- createdAt: Date;
11583
- updatedAt: Date;
11584
- deletedAt: Date | null;
11585
- startedAt: string;
11586
- endedAt: string | null;
11587
- duration: number | null;
11588
- holdLabel?: {
11589
- name: string;
11590
- id: string;
11591
- position: number;
11592
- createdAt: Date;
11593
- updatedAt: Date;
11594
- deletedAt: Date | null;
11595
- isDefault: boolean;
11596
- } | null | undefined;
11597
- }[] | null | undefined;
11598
11286
  };
11599
11287
  workflowRule: {
11600
11288
  name: string;
@@ -11623,7 +11311,7 @@ export declare const instagramContract: {
11623
11311
  previewUrl: string;
11624
11312
  imageSetId: string;
11625
11313
  repliedMessage: {
11626
- 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";
11314
+ 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";
11627
11315
  message: string;
11628
11316
  id: string;
11629
11317
  url: string;
@@ -11677,7 +11365,6 @@ export declare const instagramContract: {
11677
11365
  };
11678
11366
  upload: {
11679
11367
  id: string;
11680
- status: string | null;
11681
11368
  createdAt: Date;
11682
11369
  updatedAt: Date;
11683
11370
  deletedAt: Date | null;
@@ -11686,6 +11373,7 @@ export declare const instagramContract: {
11686
11373
  bucketName: string;
11687
11374
  fileSize: number;
11688
11375
  fileUrl: string | null;
11376
+ status?: string | undefined;
11689
11377
  };
11690
11378
  assignee: {
11691
11379
  name: string;
@@ -11834,7 +11522,7 @@ export declare const instagramContract: {
11834
11522
  template?: any;
11835
11523
  label?: string | undefined;
11836
11524
  }, {
11837
- 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";
11525
+ 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";
11838
11526
  message: string;
11839
11527
  id: string;
11840
11528
  url: string;
@@ -11888,7 +11576,6 @@ export declare const instagramContract: {
11888
11576
  };
11889
11577
  upload: {
11890
11578
  id: string;
11891
- status: string | null;
11892
11579
  createdAt: Date;
11893
11580
  updatedAt: Date;
11894
11581
  deletedAt: Date | null;
@@ -11897,6 +11584,7 @@ export declare const instagramContract: {
11897
11584
  bucketName: string;
11898
11585
  fileSize: number;
11899
11586
  fileUrl: string | null;
11587
+ status?: string | undefined;
11900
11588
  };
11901
11589
  assignee: {
11902
11590
  name: string;
@@ -11957,15 +11645,16 @@ export declare const instagramContract: {
11957
11645
  additionalCredentials?: any;
11958
11646
  senderId?: string | undefined;
11959
11647
  whatsapp?: {
11960
- email: string;
11961
- wabaExternalId: string;
11962
- phoneNumberId: string;
11963
- wabaBusinessId?: string | undefined;
11964
- clientId?: string | undefined;
11965
- channelId?: string | undefined;
11648
+ wabaBusinessId?: string | null | undefined;
11649
+ wabaExternalId?: string | null | undefined;
11650
+ phoneNumberId?: string | null | undefined;
11651
+ email?: string | null | undefined;
11652
+ clientId?: string | null | undefined;
11653
+ channelId?: string | null | undefined;
11966
11654
  status?: "active" | "pending" | undefined;
11967
11655
  apiKey?: string | undefined;
11968
11656
  tier?: "basic" | "regular" | "premium" | undefined;
11657
+ integrationType?: "meta" | "360dialog" | undefined;
11969
11658
  } | undefined;
11970
11659
  vonageCredentials?: {
11971
11660
  apiKey: string;
@@ -12136,7 +11825,6 @@ export declare const instagramContract: {
12136
11825
  dateValue: Date | null;
12137
11826
  uploads: {
12138
11827
  id: string;
12139
- status: string | null;
12140
11828
  createdAt: Date;
12141
11829
  updatedAt: Date;
12142
11830
  deletedAt: Date | null;
@@ -12145,6 +11833,7 @@ export declare const instagramContract: {
12145
11833
  bucketName: string;
12146
11834
  fileSize: number;
12147
11835
  fileUrl: string | null;
11836
+ status?: string | undefined;
12148
11837
  }[];
12149
11838
  }[];
12150
11839
  company: {
@@ -12279,12 +11968,8 @@ export declare const instagramContract: {
12279
11968
  entityName: string;
12280
11969
  agentId: string | null;
12281
11970
  startedDate: Date | null;
12282
- totalHoldDuration: number | null;
12283
11971
  handledTime: number | null;
12284
- fullHandledTime: number | null;
12285
11972
  firstResponseTime: number | null;
12286
- resolutionTime: number | null;
12287
- fullResolutionTime: number | null;
12288
11973
  wrapUpForm: {
12289
11974
  type: string;
12290
11975
  id: string;
@@ -12337,24 +12022,6 @@ export declare const instagramContract: {
12337
12022
  dateValue: Date | null;
12338
12023
  }[] | null | undefined;
12339
12024
  } | null;
12340
- holdLogs?: {
12341
- id: string;
12342
- createdAt: Date;
12343
- updatedAt: Date;
12344
- deletedAt: Date | null;
12345
- startedAt: string;
12346
- endedAt: string | null;
12347
- duration: number | null;
12348
- holdLabel?: {
12349
- name: string;
12350
- id: string;
12351
- position: number;
12352
- createdAt: Date;
12353
- updatedAt: Date;
12354
- deletedAt: Date | null;
12355
- isDefault?: boolean | undefined;
12356
- } | null | undefined;
12357
- }[] | null | undefined;
12358
12025
  };
12359
12026
  workflowRule: {
12360
12027
  name: string;
@@ -12383,7 +12050,7 @@ export declare const instagramContract: {
12383
12050
  previewUrl: string;
12384
12051
  imageSetId: string;
12385
12052
  repliedMessage: {
12386
- 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";
12053
+ 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";
12387
12054
  message: string;
12388
12055
  id: string;
12389
12056
  url: string;
@@ -12437,7 +12104,6 @@ export declare const instagramContract: {
12437
12104
  };
12438
12105
  upload: {
12439
12106
  id: string;
12440
- status: string | null;
12441
12107
  createdAt: Date;
12442
12108
  updatedAt: Date;
12443
12109
  deletedAt: Date | null;
@@ -12446,6 +12112,7 @@ export declare const instagramContract: {
12446
12112
  bucketName: string;
12447
12113
  fileSize: number;
12448
12114
  fileUrl: string | null;
12115
+ status?: string | undefined;
12449
12116
  };
12450
12117
  assignee: {
12451
12118
  name: string;
@@ -12595,7 +12262,7 @@ export declare const instagramContract: {
12595
12262
  label?: string | undefined;
12596
12263
  }>>>;
12597
12264
  }, "strip", z.ZodTypeAny, {
12598
- 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";
12265
+ 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";
12599
12266
  message: string;
12600
12267
  id: string;
12601
12268
  url: string;
@@ -12649,7 +12316,6 @@ export declare const instagramContract: {
12649
12316
  };
12650
12317
  upload: {
12651
12318
  id: string;
12652
- status: string | null;
12653
12319
  createdAt: Date;
12654
12320
  updatedAt: Date;
12655
12321
  deletedAt: Date | null;
@@ -12658,6 +12324,7 @@ export declare const instagramContract: {
12658
12324
  bucketName: string;
12659
12325
  fileSize: number;
12660
12326
  fileUrl: string | null;
12327
+ status?: string | undefined;
12661
12328
  };
12662
12329
  assignee: {
12663
12330
  name: string;
@@ -12718,15 +12385,16 @@ export declare const instagramContract: {
12718
12385
  additionalCredentials?: any;
12719
12386
  senderId?: string | undefined;
12720
12387
  whatsapp?: {
12721
- email: string;
12722
- wabaExternalId: string;
12723
- phoneNumberId: string;
12724
- wabaBusinessId?: string | undefined;
12725
- clientId?: string | undefined;
12726
- channelId?: string | undefined;
12388
+ wabaBusinessId?: string | null | undefined;
12389
+ wabaExternalId?: string | null | undefined;
12390
+ phoneNumberId?: string | null | undefined;
12391
+ email?: string | null | undefined;
12392
+ clientId?: string | null | undefined;
12393
+ channelId?: string | null | undefined;
12727
12394
  status?: "active" | "pending" | undefined;
12728
12395
  apiKey?: string | undefined;
12729
12396
  tier?: "basic" | "regular" | "premium" | undefined;
12397
+ integrationType?: "meta" | "360dialog" | undefined;
12730
12398
  } | undefined;
12731
12399
  vonageCredentials?: {
12732
12400
  apiKey: string;
@@ -12897,7 +12565,6 @@ export declare const instagramContract: {
12897
12565
  dateValue: Date | null;
12898
12566
  uploads: {
12899
12567
  id: string;
12900
- status: string | null;
12901
12568
  createdAt: Date;
12902
12569
  updatedAt: Date;
12903
12570
  deletedAt: Date | null;
@@ -12906,6 +12573,7 @@ export declare const instagramContract: {
12906
12573
  bucketName: string;
12907
12574
  fileSize: number;
12908
12575
  fileUrl: string | null;
12576
+ status?: string | undefined;
12909
12577
  }[];
12910
12578
  }[];
12911
12579
  company: {
@@ -13040,12 +12708,8 @@ export declare const instagramContract: {
13040
12708
  entityName: string;
13041
12709
  agentId: string | null;
13042
12710
  startedDate: Date | null;
13043
- totalHoldDuration: number | null;
13044
12711
  handledTime: number | null;
13045
- fullHandledTime: number | null;
13046
12712
  firstResponseTime: number | null;
13047
- resolutionTime: number | null;
13048
- fullResolutionTime: number | null;
13049
12713
  wrapUpForm: {
13050
12714
  type: string;
13051
12715
  id: string;
@@ -13098,24 +12762,6 @@ export declare const instagramContract: {
13098
12762
  dateValue: Date | null;
13099
12763
  }[] | null | undefined;
13100
12764
  } | null;
13101
- holdLogs?: {
13102
- id: string;
13103
- createdAt: Date;
13104
- updatedAt: Date;
13105
- deletedAt: Date | null;
13106
- startedAt: string;
13107
- endedAt: string | null;
13108
- duration: number | null;
13109
- holdLabel?: {
13110
- name: string;
13111
- id: string;
13112
- position: number;
13113
- createdAt: Date;
13114
- updatedAt: Date;
13115
- deletedAt: Date | null;
13116
- isDefault: boolean;
13117
- } | null | undefined;
13118
- }[] | null | undefined;
13119
12765
  };
13120
12766
  workflowRule: {
13121
12767
  name: string;
@@ -13144,7 +12790,7 @@ export declare const instagramContract: {
13144
12790
  previewUrl: string;
13145
12791
  imageSetId: string;
13146
12792
  repliedMessage: {
13147
- 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";
12793
+ 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";
13148
12794
  message: string;
13149
12795
  id: string;
13150
12796
  url: string;
@@ -13198,7 +12844,6 @@ export declare const instagramContract: {
13198
12844
  };
13199
12845
  upload: {
13200
12846
  id: string;
13201
- status: string | null;
13202
12847
  createdAt: Date;
13203
12848
  updatedAt: Date;
13204
12849
  deletedAt: Date | null;
@@ -13207,6 +12852,7 @@ export declare const instagramContract: {
13207
12852
  bucketName: string;
13208
12853
  fileSize: number;
13209
12854
  fileUrl: string | null;
12855
+ status?: string | undefined;
13210
12856
  };
13211
12857
  assignee: {
13212
12858
  name: string;
@@ -13355,7 +13001,7 @@ export declare const instagramContract: {
13355
13001
  template?: any;
13356
13002
  metadata?: any;
13357
13003
  fromMessage?: {
13358
- 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";
13004
+ 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";
13359
13005
  message: string;
13360
13006
  id: string;
13361
13007
  url: string;
@@ -13409,7 +13055,6 @@ export declare const instagramContract: {
13409
13055
  };
13410
13056
  upload: {
13411
13057
  id: string;
13412
- status: string | null;
13413
13058
  createdAt: Date;
13414
13059
  updatedAt: Date;
13415
13060
  deletedAt: Date | null;
@@ -13418,6 +13063,7 @@ export declare const instagramContract: {
13418
13063
  bucketName: string;
13419
13064
  fileSize: number;
13420
13065
  fileUrl: string | null;
13066
+ status?: string | undefined;
13421
13067
  };
13422
13068
  assignee: {
13423
13069
  name: string;
@@ -13478,15 +13124,16 @@ export declare const instagramContract: {
13478
13124
  additionalCredentials?: any;
13479
13125
  senderId?: string | undefined;
13480
13126
  whatsapp?: {
13481
- email: string;
13482
- wabaExternalId: string;
13483
- phoneNumberId: string;
13484
- wabaBusinessId?: string | undefined;
13485
- clientId?: string | undefined;
13486
- channelId?: string | undefined;
13127
+ wabaBusinessId?: string | null | undefined;
13128
+ wabaExternalId?: string | null | undefined;
13129
+ phoneNumberId?: string | null | undefined;
13130
+ email?: string | null | undefined;
13131
+ clientId?: string | null | undefined;
13132
+ channelId?: string | null | undefined;
13487
13133
  status?: "active" | "pending" | undefined;
13488
13134
  apiKey?: string | undefined;
13489
13135
  tier?: "basic" | "regular" | "premium" | undefined;
13136
+ integrationType?: "meta" | "360dialog" | undefined;
13490
13137
  } | undefined;
13491
13138
  vonageCredentials?: {
13492
13139
  apiKey: string;
@@ -13657,7 +13304,6 @@ export declare const instagramContract: {
13657
13304
  dateValue: Date | null;
13658
13305
  uploads: {
13659
13306
  id: string;
13660
- status: string | null;
13661
13307
  createdAt: Date;
13662
13308
  updatedAt: Date;
13663
13309
  deletedAt: Date | null;
@@ -13666,6 +13312,7 @@ export declare const instagramContract: {
13666
13312
  bucketName: string;
13667
13313
  fileSize: number;
13668
13314
  fileUrl: string | null;
13315
+ status?: string | undefined;
13669
13316
  }[];
13670
13317
  }[];
13671
13318
  company: {
@@ -13800,12 +13447,8 @@ export declare const instagramContract: {
13800
13447
  entityName: string;
13801
13448
  agentId: string | null;
13802
13449
  startedDate: Date | null;
13803
- totalHoldDuration: number | null;
13804
13450
  handledTime: number | null;
13805
- fullHandledTime: number | null;
13806
13451
  firstResponseTime: number | null;
13807
- resolutionTime: number | null;
13808
- fullResolutionTime: number | null;
13809
13452
  wrapUpForm: {
13810
13453
  type: string;
13811
13454
  id: string;
@@ -13858,24 +13501,6 @@ export declare const instagramContract: {
13858
13501
  dateValue: Date | null;
13859
13502
  }[] | null | undefined;
13860
13503
  } | null;
13861
- holdLogs?: {
13862
- id: string;
13863
- createdAt: Date;
13864
- updatedAt: Date;
13865
- deletedAt: Date | null;
13866
- startedAt: string;
13867
- endedAt: string | null;
13868
- duration: number | null;
13869
- holdLabel?: {
13870
- name: string;
13871
- id: string;
13872
- position: number;
13873
- createdAt: Date;
13874
- updatedAt: Date;
13875
- deletedAt: Date | null;
13876
- isDefault: boolean;
13877
- } | null | undefined;
13878
- }[] | null | undefined;
13879
13504
  };
13880
13505
  workflowRule: {
13881
13506
  name: string;
@@ -13904,7 +13529,7 @@ export declare const instagramContract: {
13904
13529
  previewUrl: string;
13905
13530
  imageSetId: string;
13906
13531
  repliedMessage: {
13907
- 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";
13532
+ 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";
13908
13533
  message: string;
13909
13534
  id: string;
13910
13535
  url: string;
@@ -13958,7 +13583,6 @@ export declare const instagramContract: {
13958
13583
  };
13959
13584
  upload: {
13960
13585
  id: string;
13961
- status: string | null;
13962
13586
  createdAt: Date;
13963
13587
  updatedAt: Date;
13964
13588
  deletedAt: Date | null;
@@ -13967,6 +13591,7 @@ export declare const instagramContract: {
13967
13591
  bucketName: string;
13968
13592
  fileSize: number;
13969
13593
  fileUrl: string | null;
13594
+ status?: string | undefined;
13970
13595
  };
13971
13596
  assignee: {
13972
13597
  name: string;
@@ -14116,7 +13741,7 @@ export declare const instagramContract: {
14116
13741
  label?: string | undefined;
14117
13742
  } | null | undefined;
14118
13743
  }, {
14119
- 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";
13744
+ 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";
14120
13745
  message: string;
14121
13746
  id: string;
14122
13747
  url: string;
@@ -14170,7 +13795,6 @@ export declare const instagramContract: {
14170
13795
  };
14171
13796
  upload: {
14172
13797
  id: string;
14173
- status: string | null;
14174
13798
  createdAt: Date;
14175
13799
  updatedAt: Date;
14176
13800
  deletedAt: Date | null;
@@ -14179,6 +13803,7 @@ export declare const instagramContract: {
14179
13803
  bucketName: string;
14180
13804
  fileSize: number;
14181
13805
  fileUrl: string | null;
13806
+ status?: string | undefined;
14182
13807
  };
14183
13808
  assignee: {
14184
13809
  name: string;
@@ -14239,15 +13864,16 @@ export declare const instagramContract: {
14239
13864
  additionalCredentials?: any;
14240
13865
  senderId?: string | undefined;
14241
13866
  whatsapp?: {
14242
- email: string;
14243
- wabaExternalId: string;
14244
- phoneNumberId: string;
14245
- wabaBusinessId?: string | undefined;
14246
- clientId?: string | undefined;
14247
- channelId?: string | undefined;
13867
+ wabaBusinessId?: string | null | undefined;
13868
+ wabaExternalId?: string | null | undefined;
13869
+ phoneNumberId?: string | null | undefined;
13870
+ email?: string | null | undefined;
13871
+ clientId?: string | null | undefined;
13872
+ channelId?: string | null | undefined;
14248
13873
  status?: "active" | "pending" | undefined;
14249
13874
  apiKey?: string | undefined;
14250
13875
  tier?: "basic" | "regular" | "premium" | undefined;
13876
+ integrationType?: "meta" | "360dialog" | undefined;
14251
13877
  } | undefined;
14252
13878
  vonageCredentials?: {
14253
13879
  apiKey: string;
@@ -14418,7 +14044,6 @@ export declare const instagramContract: {
14418
14044
  dateValue: Date | null;
14419
14045
  uploads: {
14420
14046
  id: string;
14421
- status: string | null;
14422
14047
  createdAt: Date;
14423
14048
  updatedAt: Date;
14424
14049
  deletedAt: Date | null;
@@ -14427,6 +14052,7 @@ export declare const instagramContract: {
14427
14052
  bucketName: string;
14428
14053
  fileSize: number;
14429
14054
  fileUrl: string | null;
14055
+ status?: string | undefined;
14430
14056
  }[];
14431
14057
  }[];
14432
14058
  company: {
@@ -14561,12 +14187,8 @@ export declare const instagramContract: {
14561
14187
  entityName: string;
14562
14188
  agentId: string | null;
14563
14189
  startedDate: Date | null;
14564
- totalHoldDuration: number | null;
14565
14190
  handledTime: number | null;
14566
- fullHandledTime: number | null;
14567
14191
  firstResponseTime: number | null;
14568
- resolutionTime: number | null;
14569
- fullResolutionTime: number | null;
14570
14192
  wrapUpForm: {
14571
14193
  type: string;
14572
14194
  id: string;
@@ -14619,24 +14241,6 @@ export declare const instagramContract: {
14619
14241
  dateValue: Date | null;
14620
14242
  }[] | null | undefined;
14621
14243
  } | null;
14622
- holdLogs?: {
14623
- id: string;
14624
- createdAt: Date;
14625
- updatedAt: Date;
14626
- deletedAt: Date | null;
14627
- startedAt: string;
14628
- endedAt: string | null;
14629
- duration: number | null;
14630
- holdLabel?: {
14631
- name: string;
14632
- id: string;
14633
- position: number;
14634
- createdAt: Date;
14635
- updatedAt: Date;
14636
- deletedAt: Date | null;
14637
- isDefault?: boolean | undefined;
14638
- } | null | undefined;
14639
- }[] | null | undefined;
14640
14244
  };
14641
14245
  workflowRule: {
14642
14246
  name: string;
@@ -14665,7 +14269,7 @@ export declare const instagramContract: {
14665
14269
  previewUrl: string;
14666
14270
  imageSetId: string;
14667
14271
  repliedMessage: {
14668
- 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";
14272
+ 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";
14669
14273
  message: string;
14670
14274
  id: string;
14671
14275
  url: string;
@@ -14719,7 +14323,6 @@ export declare const instagramContract: {
14719
14323
  };
14720
14324
  upload: {
14721
14325
  id: string;
14722
- status: string | null;
14723
14326
  createdAt: Date;
14724
14327
  updatedAt: Date;
14725
14328
  deletedAt: Date | null;
@@ -14728,6 +14331,7 @@ export declare const instagramContract: {
14728
14331
  bucketName: string;
14729
14332
  fileSize: number;
14730
14333
  fileUrl: string | null;
14334
+ status?: string | undefined;
14731
14335
  };
14732
14336
  assignee: {
14733
14337
  name: string;
@@ -14876,7 +14480,7 @@ export declare const instagramContract: {
14876
14480
  template?: any;
14877
14481
  metadata?: any;
14878
14482
  fromMessage?: {
14879
- 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";
14483
+ 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";
14880
14484
  message: string;
14881
14485
  id: string;
14882
14486
  url: string;
@@ -14930,7 +14534,6 @@ export declare const instagramContract: {
14930
14534
  };
14931
14535
  upload: {
14932
14536
  id: string;
14933
- status: string | null;
14934
14537
  createdAt: Date;
14935
14538
  updatedAt: Date;
14936
14539
  deletedAt: Date | null;
@@ -14939,6 +14542,7 @@ export declare const instagramContract: {
14939
14542
  bucketName: string;
14940
14543
  fileSize: number;
14941
14544
  fileUrl: string | null;
14545
+ status?: string | undefined;
14942
14546
  };
14943
14547
  assignee: {
14944
14548
  name: string;
@@ -14999,15 +14603,16 @@ export declare const instagramContract: {
14999
14603
  additionalCredentials?: any;
15000
14604
  senderId?: string | undefined;
15001
14605
  whatsapp?: {
15002
- email: string;
15003
- wabaExternalId: string;
15004
- phoneNumberId: string;
15005
- wabaBusinessId?: string | undefined;
15006
- clientId?: string | undefined;
15007
- channelId?: string | undefined;
14606
+ wabaBusinessId?: string | null | undefined;
14607
+ wabaExternalId?: string | null | undefined;
14608
+ phoneNumberId?: string | null | undefined;
14609
+ email?: string | null | undefined;
14610
+ clientId?: string | null | undefined;
14611
+ channelId?: string | null | undefined;
15008
14612
  status?: "active" | "pending" | undefined;
15009
14613
  apiKey?: string | undefined;
15010
14614
  tier?: "basic" | "regular" | "premium" | undefined;
14615
+ integrationType?: "meta" | "360dialog" | undefined;
15011
14616
  } | undefined;
15012
14617
  vonageCredentials?: {
15013
14618
  apiKey: string;
@@ -15178,7 +14783,6 @@ export declare const instagramContract: {
15178
14783
  dateValue: Date | null;
15179
14784
  uploads: {
15180
14785
  id: string;
15181
- status: string | null;
15182
14786
  createdAt: Date;
15183
14787
  updatedAt: Date;
15184
14788
  deletedAt: Date | null;
@@ -15187,6 +14791,7 @@ export declare const instagramContract: {
15187
14791
  bucketName: string;
15188
14792
  fileSize: number;
15189
14793
  fileUrl: string | null;
14794
+ status?: string | undefined;
15190
14795
  }[];
15191
14796
  }[];
15192
14797
  company: {
@@ -15321,12 +14926,8 @@ export declare const instagramContract: {
15321
14926
  entityName: string;
15322
14927
  agentId: string | null;
15323
14928
  startedDate: Date | null;
15324
- totalHoldDuration: number | null;
15325
14929
  handledTime: number | null;
15326
- fullHandledTime: number | null;
15327
14930
  firstResponseTime: number | null;
15328
- resolutionTime: number | null;
15329
- fullResolutionTime: number | null;
15330
14931
  wrapUpForm: {
15331
14932
  type: string;
15332
14933
  id: string;
@@ -15379,24 +14980,6 @@ export declare const instagramContract: {
15379
14980
  dateValue: Date | null;
15380
14981
  }[] | null | undefined;
15381
14982
  } | null;
15382
- holdLogs?: {
15383
- id: string;
15384
- createdAt: Date;
15385
- updatedAt: Date;
15386
- deletedAt: Date | null;
15387
- startedAt: string;
15388
- endedAt: string | null;
15389
- duration: number | null;
15390
- holdLabel?: {
15391
- name: string;
15392
- id: string;
15393
- position: number;
15394
- createdAt: Date;
15395
- updatedAt: Date;
15396
- deletedAt: Date | null;
15397
- isDefault?: boolean | undefined;
15398
- } | null | undefined;
15399
- }[] | null | undefined;
15400
14983
  };
15401
14984
  workflowRule: {
15402
14985
  name: string;
@@ -15425,7 +15008,7 @@ export declare const instagramContract: {
15425
15008
  previewUrl: string;
15426
15009
  imageSetId: string;
15427
15010
  repliedMessage: {
15428
- 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";
15011
+ 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";
15429
15012
  message: string;
15430
15013
  id: string;
15431
15014
  url: string;
@@ -15479,7 +15062,6 @@ export declare const instagramContract: {
15479
15062
  };
15480
15063
  upload: {
15481
15064
  id: string;
15482
- status: string | null;
15483
15065
  createdAt: Date;
15484
15066
  updatedAt: Date;
15485
15067
  deletedAt: Date | null;
@@ -15488,6 +15070,7 @@ export declare const instagramContract: {
15488
15070
  bucketName: string;
15489
15071
  fileSize: number;
15490
15072
  fileUrl: string | null;
15073
+ status?: string | undefined;
15491
15074
  };
15492
15075
  assignee: {
15493
15076
  name: string;
@@ -15639,7 +15222,7 @@ export declare const instagramContract: {
15639
15222
  }>;
15640
15223
  }, "strip", z.ZodTypeAny, {
15641
15224
  data: {
15642
- 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";
15225
+ 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";
15643
15226
  message: string;
15644
15227
  id: string;
15645
15228
  url: string;
@@ -15693,7 +15276,6 @@ export declare const instagramContract: {
15693
15276
  };
15694
15277
  upload: {
15695
15278
  id: string;
15696
- status: string | null;
15697
15279
  createdAt: Date;
15698
15280
  updatedAt: Date;
15699
15281
  deletedAt: Date | null;
@@ -15702,6 +15284,7 @@ export declare const instagramContract: {
15702
15284
  bucketName: string;
15703
15285
  fileSize: number;
15704
15286
  fileUrl: string | null;
15287
+ status?: string | undefined;
15705
15288
  };
15706
15289
  assignee: {
15707
15290
  name: string;
@@ -15762,15 +15345,16 @@ export declare const instagramContract: {
15762
15345
  additionalCredentials?: any;
15763
15346
  senderId?: string | undefined;
15764
15347
  whatsapp?: {
15765
- email: string;
15766
- wabaExternalId: string;
15767
- phoneNumberId: string;
15768
- wabaBusinessId?: string | undefined;
15769
- clientId?: string | undefined;
15770
- channelId?: string | undefined;
15348
+ wabaBusinessId?: string | null | undefined;
15349
+ wabaExternalId?: string | null | undefined;
15350
+ phoneNumberId?: string | null | undefined;
15351
+ email?: string | null | undefined;
15352
+ clientId?: string | null | undefined;
15353
+ channelId?: string | null | undefined;
15771
15354
  status?: "active" | "pending" | undefined;
15772
15355
  apiKey?: string | undefined;
15773
15356
  tier?: "basic" | "regular" | "premium" | undefined;
15357
+ integrationType?: "meta" | "360dialog" | undefined;
15774
15358
  } | undefined;
15775
15359
  vonageCredentials?: {
15776
15360
  apiKey: string;
@@ -15941,7 +15525,6 @@ export declare const instagramContract: {
15941
15525
  dateValue: Date | null;
15942
15526
  uploads: {
15943
15527
  id: string;
15944
- status: string | null;
15945
15528
  createdAt: Date;
15946
15529
  updatedAt: Date;
15947
15530
  deletedAt: Date | null;
@@ -15950,6 +15533,7 @@ export declare const instagramContract: {
15950
15533
  bucketName: string;
15951
15534
  fileSize: number;
15952
15535
  fileUrl: string | null;
15536
+ status?: string | undefined;
15953
15537
  }[];
15954
15538
  }[];
15955
15539
  company: {
@@ -16084,12 +15668,8 @@ export declare const instagramContract: {
16084
15668
  entityName: string;
16085
15669
  agentId: string | null;
16086
15670
  startedDate: Date | null;
16087
- totalHoldDuration: number | null;
16088
15671
  handledTime: number | null;
16089
- fullHandledTime: number | null;
16090
15672
  firstResponseTime: number | null;
16091
- resolutionTime: number | null;
16092
- fullResolutionTime: number | null;
16093
15673
  wrapUpForm: {
16094
15674
  type: string;
16095
15675
  id: string;
@@ -16142,24 +15722,6 @@ export declare const instagramContract: {
16142
15722
  dateValue: Date | null;
16143
15723
  }[] | null | undefined;
16144
15724
  } | null;
16145
- holdLogs?: {
16146
- id: string;
16147
- createdAt: Date;
16148
- updatedAt: Date;
16149
- deletedAt: Date | null;
16150
- startedAt: string;
16151
- endedAt: string | null;
16152
- duration: number | null;
16153
- holdLabel?: {
16154
- name: string;
16155
- id: string;
16156
- position: number;
16157
- createdAt: Date;
16158
- updatedAt: Date;
16159
- deletedAt: Date | null;
16160
- isDefault: boolean;
16161
- } | null | undefined;
16162
- }[] | null | undefined;
16163
15725
  };
16164
15726
  workflowRule: {
16165
15727
  name: string;
@@ -16188,7 +15750,7 @@ export declare const instagramContract: {
16188
15750
  previewUrl: string;
16189
15751
  imageSetId: string;
16190
15752
  repliedMessage: {
16191
- 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";
15753
+ 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";
16192
15754
  message: string;
16193
15755
  id: string;
16194
15756
  url: string;
@@ -16242,7 +15804,6 @@ export declare const instagramContract: {
16242
15804
  };
16243
15805
  upload: {
16244
15806
  id: string;
16245
- status: string | null;
16246
15807
  createdAt: Date;
16247
15808
  updatedAt: Date;
16248
15809
  deletedAt: Date | null;
@@ -16251,6 +15812,7 @@ export declare const instagramContract: {
16251
15812
  bucketName: string;
16252
15813
  fileSize: number;
16253
15814
  fileUrl: string | null;
15815
+ status?: string | undefined;
16254
15816
  };
16255
15817
  assignee: {
16256
15818
  name: string;
@@ -16399,7 +15961,7 @@ export declare const instagramContract: {
16399
15961
  template?: any;
16400
15962
  metadata?: any;
16401
15963
  fromMessage?: {
16402
- 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";
15964
+ 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";
16403
15965
  message: string;
16404
15966
  id: string;
16405
15967
  url: string;
@@ -16453,7 +16015,6 @@ export declare const instagramContract: {
16453
16015
  };
16454
16016
  upload: {
16455
16017
  id: string;
16456
- status: string | null;
16457
16018
  createdAt: Date;
16458
16019
  updatedAt: Date;
16459
16020
  deletedAt: Date | null;
@@ -16462,6 +16023,7 @@ export declare const instagramContract: {
16462
16023
  bucketName: string;
16463
16024
  fileSize: number;
16464
16025
  fileUrl: string | null;
16026
+ status?: string | undefined;
16465
16027
  };
16466
16028
  assignee: {
16467
16029
  name: string;
@@ -16522,15 +16084,16 @@ export declare const instagramContract: {
16522
16084
  additionalCredentials?: any;
16523
16085
  senderId?: string | undefined;
16524
16086
  whatsapp?: {
16525
- email: string;
16526
- wabaExternalId: string;
16527
- phoneNumberId: string;
16528
- wabaBusinessId?: string | undefined;
16529
- clientId?: string | undefined;
16530
- channelId?: string | undefined;
16087
+ wabaBusinessId?: string | null | undefined;
16088
+ wabaExternalId?: string | null | undefined;
16089
+ phoneNumberId?: string | null | undefined;
16090
+ email?: string | null | undefined;
16091
+ clientId?: string | null | undefined;
16092
+ channelId?: string | null | undefined;
16531
16093
  status?: "active" | "pending" | undefined;
16532
16094
  apiKey?: string | undefined;
16533
16095
  tier?: "basic" | "regular" | "premium" | undefined;
16096
+ integrationType?: "meta" | "360dialog" | undefined;
16534
16097
  } | undefined;
16535
16098
  vonageCredentials?: {
16536
16099
  apiKey: string;
@@ -16701,7 +16264,6 @@ export declare const instagramContract: {
16701
16264
  dateValue: Date | null;
16702
16265
  uploads: {
16703
16266
  id: string;
16704
- status: string | null;
16705
16267
  createdAt: Date;
16706
16268
  updatedAt: Date;
16707
16269
  deletedAt: Date | null;
@@ -16710,6 +16272,7 @@ export declare const instagramContract: {
16710
16272
  bucketName: string;
16711
16273
  fileSize: number;
16712
16274
  fileUrl: string | null;
16275
+ status?: string | undefined;
16713
16276
  }[];
16714
16277
  }[];
16715
16278
  company: {
@@ -16844,12 +16407,8 @@ export declare const instagramContract: {
16844
16407
  entityName: string;
16845
16408
  agentId: string | null;
16846
16409
  startedDate: Date | null;
16847
- totalHoldDuration: number | null;
16848
16410
  handledTime: number | null;
16849
- fullHandledTime: number | null;
16850
16411
  firstResponseTime: number | null;
16851
- resolutionTime: number | null;
16852
- fullResolutionTime: number | null;
16853
16412
  wrapUpForm: {
16854
16413
  type: string;
16855
16414
  id: string;
@@ -16902,24 +16461,6 @@ export declare const instagramContract: {
16902
16461
  dateValue: Date | null;
16903
16462
  }[] | null | undefined;
16904
16463
  } | null;
16905
- holdLogs?: {
16906
- id: string;
16907
- createdAt: Date;
16908
- updatedAt: Date;
16909
- deletedAt: Date | null;
16910
- startedAt: string;
16911
- endedAt: string | null;
16912
- duration: number | null;
16913
- holdLabel?: {
16914
- name: string;
16915
- id: string;
16916
- position: number;
16917
- createdAt: Date;
16918
- updatedAt: Date;
16919
- deletedAt: Date | null;
16920
- isDefault: boolean;
16921
- } | null | undefined;
16922
- }[] | null | undefined;
16923
16464
  };
16924
16465
  workflowRule: {
16925
16466
  name: string;
@@ -16948,7 +16489,7 @@ export declare const instagramContract: {
16948
16489
  previewUrl: string;
16949
16490
  imageSetId: string;
16950
16491
  repliedMessage: {
16951
- 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";
16492
+ 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";
16952
16493
  message: string;
16953
16494
  id: string;
16954
16495
  url: string;
@@ -17002,7 +16543,6 @@ export declare const instagramContract: {
17002
16543
  };
17003
16544
  upload: {
17004
16545
  id: string;
17005
- status: string | null;
17006
16546
  createdAt: Date;
17007
16547
  updatedAt: Date;
17008
16548
  deletedAt: Date | null;
@@ -17011,6 +16551,7 @@ export declare const instagramContract: {
17011
16551
  bucketName: string;
17012
16552
  fileSize: number;
17013
16553
  fileUrl: string | null;
16554
+ status?: string | undefined;
17014
16555
  };
17015
16556
  assignee: {
17016
16557
  name: string;
@@ -17163,7 +16704,7 @@ export declare const instagramContract: {
17163
16704
  requestId: string;
17164
16705
  }, {
17165
16706
  data: {
17166
- 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";
16707
+ 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";
17167
16708
  message: string;
17168
16709
  id: string;
17169
16710
  url: string;
@@ -17217,7 +16758,6 @@ export declare const instagramContract: {
17217
16758
  };
17218
16759
  upload: {
17219
16760
  id: string;
17220
- status: string | null;
17221
16761
  createdAt: Date;
17222
16762
  updatedAt: Date;
17223
16763
  deletedAt: Date | null;
@@ -17226,6 +16766,7 @@ export declare const instagramContract: {
17226
16766
  bucketName: string;
17227
16767
  fileSize: number;
17228
16768
  fileUrl: string | null;
16769
+ status?: string | undefined;
17229
16770
  };
17230
16771
  assignee: {
17231
16772
  name: string;
@@ -17286,15 +16827,16 @@ export declare const instagramContract: {
17286
16827
  additionalCredentials?: any;
17287
16828
  senderId?: string | undefined;
17288
16829
  whatsapp?: {
17289
- email: string;
17290
- wabaExternalId: string;
17291
- phoneNumberId: string;
17292
- wabaBusinessId?: string | undefined;
17293
- clientId?: string | undefined;
17294
- channelId?: string | undefined;
16830
+ wabaBusinessId?: string | null | undefined;
16831
+ wabaExternalId?: string | null | undefined;
16832
+ phoneNumberId?: string | null | undefined;
16833
+ email?: string | null | undefined;
16834
+ clientId?: string | null | undefined;
16835
+ channelId?: string | null | undefined;
17295
16836
  status?: "active" | "pending" | undefined;
17296
16837
  apiKey?: string | undefined;
17297
16838
  tier?: "basic" | "regular" | "premium" | undefined;
16839
+ integrationType?: "meta" | "360dialog" | undefined;
17298
16840
  } | undefined;
17299
16841
  vonageCredentials?: {
17300
16842
  apiKey: string;
@@ -17465,7 +17007,6 @@ export declare const instagramContract: {
17465
17007
  dateValue: Date | null;
17466
17008
  uploads: {
17467
17009
  id: string;
17468
- status: string | null;
17469
17010
  createdAt: Date;
17470
17011
  updatedAt: Date;
17471
17012
  deletedAt: Date | null;
@@ -17474,6 +17015,7 @@ export declare const instagramContract: {
17474
17015
  bucketName: string;
17475
17016
  fileSize: number;
17476
17017
  fileUrl: string | null;
17018
+ status?: string | undefined;
17477
17019
  }[];
17478
17020
  }[];
17479
17021
  company: {
@@ -17608,12 +17150,8 @@ export declare const instagramContract: {
17608
17150
  entityName: string;
17609
17151
  agentId: string | null;
17610
17152
  startedDate: Date | null;
17611
- totalHoldDuration: number | null;
17612
17153
  handledTime: number | null;
17613
- fullHandledTime: number | null;
17614
17154
  firstResponseTime: number | null;
17615
- resolutionTime: number | null;
17616
- fullResolutionTime: number | null;
17617
17155
  wrapUpForm: {
17618
17156
  type: string;
17619
17157
  id: string;
@@ -17666,24 +17204,6 @@ export declare const instagramContract: {
17666
17204
  dateValue: Date | null;
17667
17205
  }[] | null | undefined;
17668
17206
  } | null;
17669
- holdLogs?: {
17670
- id: string;
17671
- createdAt: Date;
17672
- updatedAt: Date;
17673
- deletedAt: Date | null;
17674
- startedAt: string;
17675
- endedAt: string | null;
17676
- duration: number | null;
17677
- holdLabel?: {
17678
- name: string;
17679
- id: string;
17680
- position: number;
17681
- createdAt: Date;
17682
- updatedAt: Date;
17683
- deletedAt: Date | null;
17684
- isDefault?: boolean | undefined;
17685
- } | null | undefined;
17686
- }[] | null | undefined;
17687
17207
  };
17688
17208
  workflowRule: {
17689
17209
  name: string;
@@ -17712,7 +17232,7 @@ export declare const instagramContract: {
17712
17232
  previewUrl: string;
17713
17233
  imageSetId: string;
17714
17234
  repliedMessage: {
17715
- 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";
17235
+ 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";
17716
17236
  message: string;
17717
17237
  id: string;
17718
17238
  url: string;
@@ -17766,7 +17286,6 @@ export declare const instagramContract: {
17766
17286
  };
17767
17287
  upload: {
17768
17288
  id: string;
17769
- status: string | null;
17770
17289
  createdAt: Date;
17771
17290
  updatedAt: Date;
17772
17291
  deletedAt: Date | null;
@@ -17775,6 +17294,7 @@ export declare const instagramContract: {
17775
17294
  bucketName: string;
17776
17295
  fileSize: number;
17777
17296
  fileUrl: string | null;
17297
+ status?: string | undefined;
17778
17298
  };
17779
17299
  assignee: {
17780
17300
  name: string;
@@ -17923,7 +17443,7 @@ export declare const instagramContract: {
17923
17443
  template?: any;
17924
17444
  metadata?: any;
17925
17445
  fromMessage?: {
17926
- 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";
17446
+ 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";
17927
17447
  message: string;
17928
17448
  id: string;
17929
17449
  url: string;
@@ -17977,7 +17497,6 @@ export declare const instagramContract: {
17977
17497
  };
17978
17498
  upload: {
17979
17499
  id: string;
17980
- status: string | null;
17981
17500
  createdAt: Date;
17982
17501
  updatedAt: Date;
17983
17502
  deletedAt: Date | null;
@@ -17986,6 +17505,7 @@ export declare const instagramContract: {
17986
17505
  bucketName: string;
17987
17506
  fileSize: number;
17988
17507
  fileUrl: string | null;
17508
+ status?: string | undefined;
17989
17509
  };
17990
17510
  assignee: {
17991
17511
  name: string;
@@ -18046,15 +17566,16 @@ export declare const instagramContract: {
18046
17566
  additionalCredentials?: any;
18047
17567
  senderId?: string | undefined;
18048
17568
  whatsapp?: {
18049
- email: string;
18050
- wabaExternalId: string;
18051
- phoneNumberId: string;
18052
- wabaBusinessId?: string | undefined;
18053
- clientId?: string | undefined;
18054
- channelId?: string | undefined;
17569
+ wabaBusinessId?: string | null | undefined;
17570
+ wabaExternalId?: string | null | undefined;
17571
+ phoneNumberId?: string | null | undefined;
17572
+ email?: string | null | undefined;
17573
+ clientId?: string | null | undefined;
17574
+ channelId?: string | null | undefined;
18055
17575
  status?: "active" | "pending" | undefined;
18056
17576
  apiKey?: string | undefined;
18057
17577
  tier?: "basic" | "regular" | "premium" | undefined;
17578
+ integrationType?: "meta" | "360dialog" | undefined;
18058
17579
  } | undefined;
18059
17580
  vonageCredentials?: {
18060
17581
  apiKey: string;
@@ -18225,7 +17746,6 @@ export declare const instagramContract: {
18225
17746
  dateValue: Date | null;
18226
17747
  uploads: {
18227
17748
  id: string;
18228
- status: string | null;
18229
17749
  createdAt: Date;
18230
17750
  updatedAt: Date;
18231
17751
  deletedAt: Date | null;
@@ -18234,6 +17754,7 @@ export declare const instagramContract: {
18234
17754
  bucketName: string;
18235
17755
  fileSize: number;
18236
17756
  fileUrl: string | null;
17757
+ status?: string | undefined;
18237
17758
  }[];
18238
17759
  }[];
18239
17760
  company: {
@@ -18368,12 +17889,8 @@ export declare const instagramContract: {
18368
17889
  entityName: string;
18369
17890
  agentId: string | null;
18370
17891
  startedDate: Date | null;
18371
- totalHoldDuration: number | null;
18372
17892
  handledTime: number | null;
18373
- fullHandledTime: number | null;
18374
17893
  firstResponseTime: number | null;
18375
- resolutionTime: number | null;
18376
- fullResolutionTime: number | null;
18377
17894
  wrapUpForm: {
18378
17895
  type: string;
18379
17896
  id: string;
@@ -18426,24 +17943,6 @@ export declare const instagramContract: {
18426
17943
  dateValue: Date | null;
18427
17944
  }[] | null | undefined;
18428
17945
  } | null;
18429
- holdLogs?: {
18430
- id: string;
18431
- createdAt: Date;
18432
- updatedAt: Date;
18433
- deletedAt: Date | null;
18434
- startedAt: string;
18435
- endedAt: string | null;
18436
- duration: number | null;
18437
- holdLabel?: {
18438
- name: string;
18439
- id: string;
18440
- position: number;
18441
- createdAt: Date;
18442
- updatedAt: Date;
18443
- deletedAt: Date | null;
18444
- isDefault?: boolean | undefined;
18445
- } | null | undefined;
18446
- }[] | null | undefined;
18447
17946
  };
18448
17947
  workflowRule: {
18449
17948
  name: string;
@@ -18472,7 +17971,7 @@ export declare const instagramContract: {
18472
17971
  previewUrl: string;
18473
17972
  imageSetId: string;
18474
17973
  repliedMessage: {
18475
- 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";
17974
+ 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";
18476
17975
  message: string;
18477
17976
  id: string;
18478
17977
  url: string;
@@ -18526,7 +18025,6 @@ export declare const instagramContract: {
18526
18025
  };
18527
18026
  upload: {
18528
18027
  id: string;
18529
- status: string | null;
18530
18028
  createdAt: Date;
18531
18029
  updatedAt: Date;
18532
18030
  deletedAt: Date | null;
@@ -18535,6 +18033,7 @@ export declare const instagramContract: {
18535
18033
  bucketName: string;
18536
18034
  fileSize: number;
18537
18035
  fileUrl: string | null;
18036
+ status?: string | undefined;
18538
18037
  };
18539
18038
  assignee: {
18540
18039
  name: string;
@@ -18712,35 +18211,38 @@ export declare const instagramContract: {
18712
18211
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18713
18212
  senderId: z.ZodOptional<z.ZodString>;
18714
18213
  whatsapp: z.ZodOptional<z.ZodObject<{
18715
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18716
- wabaExternalId: z.ZodString;
18717
- phoneNumberId: z.ZodString;
18718
- email: z.ZodString;
18719
- clientId: z.ZodOptional<z.ZodString>;
18720
- channelId: z.ZodOptional<z.ZodString>;
18214
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18215
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18216
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18217
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18218
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18219
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18721
18220
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18722
18221
  apiKey: z.ZodOptional<z.ZodString>;
18723
18222
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18223
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18724
18224
  }, "strip", z.ZodTypeAny, {
18725
- email: string;
18726
- wabaExternalId: string;
18727
- phoneNumberId: string;
18728
- wabaBusinessId?: string | undefined;
18729
- clientId?: string | undefined;
18730
- channelId?: string | undefined;
18225
+ wabaBusinessId?: string | null | undefined;
18226
+ wabaExternalId?: string | null | undefined;
18227
+ phoneNumberId?: string | null | undefined;
18228
+ email?: string | null | undefined;
18229
+ clientId?: string | null | undefined;
18230
+ channelId?: string | null | undefined;
18731
18231
  status?: "active" | "pending" | undefined;
18732
18232
  apiKey?: string | undefined;
18733
18233
  tier?: "basic" | "regular" | "premium" | undefined;
18234
+ integrationType?: "meta" | "360dialog" | undefined;
18734
18235
  }, {
18735
- email: string;
18736
- wabaExternalId: string;
18737
- phoneNumberId: string;
18738
- wabaBusinessId?: string | undefined;
18739
- clientId?: string | undefined;
18740
- channelId?: string | undefined;
18236
+ wabaBusinessId?: string | null | undefined;
18237
+ wabaExternalId?: string | null | undefined;
18238
+ phoneNumberId?: string | null | undefined;
18239
+ email?: string | null | undefined;
18240
+ clientId?: string | null | undefined;
18241
+ channelId?: string | null | undefined;
18741
18242
  status?: "active" | "pending" | undefined;
18742
18243
  apiKey?: string | undefined;
18743
18244
  tier?: "basic" | "regular" | "premium" | undefined;
18245
+ integrationType?: "meta" | "360dialog" | undefined;
18744
18246
  }>>;
18745
18247
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18746
18248
  mobileNumber: z.ZodString;
@@ -18765,15 +18267,16 @@ export declare const instagramContract: {
18765
18267
  additionalCredentials?: any;
18766
18268
  senderId?: string | undefined;
18767
18269
  whatsapp?: {
18768
- email: string;
18769
- wabaExternalId: string;
18770
- phoneNumberId: string;
18771
- wabaBusinessId?: string | undefined;
18772
- clientId?: string | undefined;
18773
- channelId?: string | undefined;
18270
+ wabaBusinessId?: string | null | undefined;
18271
+ wabaExternalId?: string | null | undefined;
18272
+ phoneNumberId?: string | null | undefined;
18273
+ email?: string | null | undefined;
18274
+ clientId?: string | null | undefined;
18275
+ channelId?: string | null | undefined;
18774
18276
  status?: "active" | "pending" | undefined;
18775
18277
  apiKey?: string | undefined;
18776
18278
  tier?: "basic" | "regular" | "premium" | undefined;
18279
+ integrationType?: "meta" | "360dialog" | undefined;
18777
18280
  } | undefined;
18778
18281
  vonageCredentials?: {
18779
18282
  apiKey: string;
@@ -18790,15 +18293,16 @@ export declare const instagramContract: {
18790
18293
  additionalCredentials?: any;
18791
18294
  senderId?: string | undefined;
18792
18295
  whatsapp?: {
18793
- email: string;
18794
- wabaExternalId: string;
18795
- phoneNumberId: string;
18796
- wabaBusinessId?: string | undefined;
18797
- clientId?: string | undefined;
18798
- channelId?: string | undefined;
18296
+ wabaBusinessId?: string | null | undefined;
18297
+ wabaExternalId?: string | null | undefined;
18298
+ phoneNumberId?: string | null | undefined;
18299
+ email?: string | null | undefined;
18300
+ clientId?: string | null | undefined;
18301
+ channelId?: string | null | undefined;
18799
18302
  status?: "active" | "pending" | undefined;
18800
18303
  apiKey?: string | undefined;
18801
18304
  tier?: "basic" | "regular" | "premium" | undefined;
18305
+ integrationType?: "meta" | "360dialog" | undefined;
18802
18306
  } | undefined;
18803
18307
  vonageCredentials?: {
18804
18308
  apiKey: string;
@@ -18845,15 +18349,16 @@ export declare const instagramContract: {
18845
18349
  additionalCredentials?: any;
18846
18350
  senderId?: string | undefined;
18847
18351
  whatsapp?: {
18848
- email: string;
18849
- wabaExternalId: string;
18850
- phoneNumberId: string;
18851
- wabaBusinessId?: string | undefined;
18852
- clientId?: string | undefined;
18853
- channelId?: string | undefined;
18352
+ wabaBusinessId?: string | null | undefined;
18353
+ wabaExternalId?: string | null | undefined;
18354
+ phoneNumberId?: string | null | undefined;
18355
+ email?: string | null | undefined;
18356
+ clientId?: string | null | undefined;
18357
+ channelId?: string | null | undefined;
18854
18358
  status?: "active" | "pending" | undefined;
18855
18359
  apiKey?: string | undefined;
18856
18360
  tier?: "basic" | "regular" | "premium" | undefined;
18361
+ integrationType?: "meta" | "360dialog" | undefined;
18857
18362
  } | undefined;
18858
18363
  vonageCredentials?: {
18859
18364
  apiKey: string;
@@ -18888,15 +18393,16 @@ export declare const instagramContract: {
18888
18393
  additionalCredentials?: any;
18889
18394
  senderId?: string | undefined;
18890
18395
  whatsapp?: {
18891
- email: string;
18892
- wabaExternalId: string;
18893
- phoneNumberId: string;
18894
- wabaBusinessId?: string | undefined;
18895
- clientId?: string | undefined;
18896
- channelId?: string | undefined;
18396
+ wabaBusinessId?: string | null | undefined;
18397
+ wabaExternalId?: string | null | undefined;
18398
+ phoneNumberId?: string | null | undefined;
18399
+ email?: string | null | undefined;
18400
+ clientId?: string | null | undefined;
18401
+ channelId?: string | null | undefined;
18897
18402
  status?: "active" | "pending" | undefined;
18898
18403
  apiKey?: string | undefined;
18899
18404
  tier?: "basic" | "regular" | "premium" | undefined;
18405
+ integrationType?: "meta" | "360dialog" | undefined;
18900
18406
  } | undefined;
18901
18407
  vonageCredentials?: {
18902
18408
  apiKey: string;
@@ -18936,35 +18442,38 @@ export declare const instagramContract: {
18936
18442
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18937
18443
  senderId: z.ZodOptional<z.ZodString>;
18938
18444
  whatsapp: z.ZodOptional<z.ZodObject<{
18939
- wabaBusinessId: z.ZodOptional<z.ZodString>;
18940
- wabaExternalId: z.ZodString;
18941
- phoneNumberId: z.ZodString;
18942
- email: z.ZodString;
18943
- clientId: z.ZodOptional<z.ZodString>;
18944
- channelId: z.ZodOptional<z.ZodString>;
18445
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18446
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18447
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18448
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18449
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18450
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18945
18451
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18946
18452
  apiKey: z.ZodOptional<z.ZodString>;
18947
18453
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18454
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18948
18455
  }, "strip", z.ZodTypeAny, {
18949
- email: string;
18950
- wabaExternalId: string;
18951
- phoneNumberId: string;
18952
- wabaBusinessId?: string | undefined;
18953
- clientId?: string | undefined;
18954
- channelId?: string | undefined;
18456
+ wabaBusinessId?: string | null | undefined;
18457
+ wabaExternalId?: string | null | undefined;
18458
+ phoneNumberId?: string | null | undefined;
18459
+ email?: string | null | undefined;
18460
+ clientId?: string | null | undefined;
18461
+ channelId?: string | null | undefined;
18955
18462
  status?: "active" | "pending" | undefined;
18956
18463
  apiKey?: string | undefined;
18957
18464
  tier?: "basic" | "regular" | "premium" | undefined;
18465
+ integrationType?: "meta" | "360dialog" | undefined;
18958
18466
  }, {
18959
- email: string;
18960
- wabaExternalId: string;
18961
- phoneNumberId: string;
18962
- wabaBusinessId?: string | undefined;
18963
- clientId?: string | undefined;
18964
- channelId?: string | undefined;
18467
+ wabaBusinessId?: string | null | undefined;
18468
+ wabaExternalId?: string | null | undefined;
18469
+ phoneNumberId?: string | null | undefined;
18470
+ email?: string | null | undefined;
18471
+ clientId?: string | null | undefined;
18472
+ channelId?: string | null | undefined;
18965
18473
  status?: "active" | "pending" | undefined;
18966
18474
  apiKey?: string | undefined;
18967
18475
  tier?: "basic" | "regular" | "premium" | undefined;
18476
+ integrationType?: "meta" | "360dialog" | undefined;
18968
18477
  }>>;
18969
18478
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18970
18479
  mobileNumber: z.ZodString;
@@ -18989,15 +18498,16 @@ export declare const instagramContract: {
18989
18498
  additionalCredentials?: any;
18990
18499
  senderId?: string | undefined;
18991
18500
  whatsapp?: {
18992
- email: string;
18993
- wabaExternalId: string;
18994
- phoneNumberId: string;
18995
- wabaBusinessId?: string | undefined;
18996
- clientId?: string | undefined;
18997
- channelId?: string | undefined;
18501
+ wabaBusinessId?: string | null | undefined;
18502
+ wabaExternalId?: string | null | undefined;
18503
+ phoneNumberId?: string | null | undefined;
18504
+ email?: string | null | undefined;
18505
+ clientId?: string | null | undefined;
18506
+ channelId?: string | null | undefined;
18998
18507
  status?: "active" | "pending" | undefined;
18999
18508
  apiKey?: string | undefined;
19000
18509
  tier?: "basic" | "regular" | "premium" | undefined;
18510
+ integrationType?: "meta" | "360dialog" | undefined;
19001
18511
  } | undefined;
19002
18512
  vonageCredentials?: {
19003
18513
  apiKey: string;
@@ -19014,15 +18524,16 @@ export declare const instagramContract: {
19014
18524
  additionalCredentials?: any;
19015
18525
  senderId?: string | undefined;
19016
18526
  whatsapp?: {
19017
- email: string;
19018
- wabaExternalId: string;
19019
- phoneNumberId: string;
19020
- wabaBusinessId?: string | undefined;
19021
- clientId?: string | undefined;
19022
- channelId?: string | undefined;
18527
+ wabaBusinessId?: string | null | undefined;
18528
+ wabaExternalId?: string | null | undefined;
18529
+ phoneNumberId?: string | null | undefined;
18530
+ email?: string | null | undefined;
18531
+ clientId?: string | null | undefined;
18532
+ channelId?: string | null | undefined;
19023
18533
  status?: "active" | "pending" | undefined;
19024
18534
  apiKey?: string | undefined;
19025
18535
  tier?: "basic" | "regular" | "premium" | undefined;
18536
+ integrationType?: "meta" | "360dialog" | undefined;
19026
18537
  } | undefined;
19027
18538
  vonageCredentials?: {
19028
18539
  apiKey: string;
@@ -19069,15 +18580,16 @@ export declare const instagramContract: {
19069
18580
  additionalCredentials?: any;
19070
18581
  senderId?: string | undefined;
19071
18582
  whatsapp?: {
19072
- email: string;
19073
- wabaExternalId: string;
19074
- phoneNumberId: string;
19075
- wabaBusinessId?: string | undefined;
19076
- clientId?: string | undefined;
19077
- channelId?: string | undefined;
18583
+ wabaBusinessId?: string | null | undefined;
18584
+ wabaExternalId?: string | null | undefined;
18585
+ phoneNumberId?: string | null | undefined;
18586
+ email?: string | null | undefined;
18587
+ clientId?: string | null | undefined;
18588
+ channelId?: string | null | undefined;
19078
18589
  status?: "active" | "pending" | undefined;
19079
18590
  apiKey?: string | undefined;
19080
18591
  tier?: "basic" | "regular" | "premium" | undefined;
18592
+ integrationType?: "meta" | "360dialog" | undefined;
19081
18593
  } | undefined;
19082
18594
  vonageCredentials?: {
19083
18595
  apiKey: string;
@@ -19112,15 +18624,16 @@ export declare const instagramContract: {
19112
18624
  additionalCredentials?: any;
19113
18625
  senderId?: string | undefined;
19114
18626
  whatsapp?: {
19115
- email: string;
19116
- wabaExternalId: string;
19117
- phoneNumberId: string;
19118
- wabaBusinessId?: string | undefined;
19119
- clientId?: string | undefined;
19120
- channelId?: string | undefined;
18627
+ wabaBusinessId?: string | null | undefined;
18628
+ wabaExternalId?: string | null | undefined;
18629
+ phoneNumberId?: string | null | undefined;
18630
+ email?: string | null | undefined;
18631
+ clientId?: string | null | undefined;
18632
+ channelId?: string | null | undefined;
19121
18633
  status?: "active" | "pending" | undefined;
19122
18634
  apiKey?: string | undefined;
19123
18635
  tier?: "basic" | "regular" | "premium" | undefined;
18636
+ integrationType?: "meta" | "360dialog" | undefined;
19124
18637
  } | undefined;
19125
18638
  vonageCredentials?: {
19126
18639
  apiKey: string;
@@ -19157,15 +18670,16 @@ export declare const instagramContract: {
19157
18670
  additionalCredentials?: any;
19158
18671
  senderId?: string | undefined;
19159
18672
  whatsapp?: {
19160
- email: string;
19161
- wabaExternalId: string;
19162
- phoneNumberId: string;
19163
- wabaBusinessId?: string | undefined;
19164
- clientId?: string | undefined;
19165
- channelId?: string | undefined;
18673
+ wabaBusinessId?: string | null | undefined;
18674
+ wabaExternalId?: string | null | undefined;
18675
+ phoneNumberId?: string | null | undefined;
18676
+ email?: string | null | undefined;
18677
+ clientId?: string | null | undefined;
18678
+ channelId?: string | null | undefined;
19166
18679
  status?: "active" | "pending" | undefined;
19167
18680
  apiKey?: string | undefined;
19168
18681
  tier?: "basic" | "regular" | "premium" | undefined;
18682
+ integrationType?: "meta" | "360dialog" | undefined;
19169
18683
  } | undefined;
19170
18684
  vonageCredentials?: {
19171
18685
  apiKey: string;
@@ -19203,15 +18717,16 @@ export declare const instagramContract: {
19203
18717
  additionalCredentials?: any;
19204
18718
  senderId?: string | undefined;
19205
18719
  whatsapp?: {
19206
- email: string;
19207
- wabaExternalId: string;
19208
- phoneNumberId: string;
19209
- wabaBusinessId?: string | undefined;
19210
- clientId?: string | undefined;
19211
- channelId?: string | undefined;
18720
+ wabaBusinessId?: string | null | undefined;
18721
+ wabaExternalId?: string | null | undefined;
18722
+ phoneNumberId?: string | null | undefined;
18723
+ email?: string | null | undefined;
18724
+ clientId?: string | null | undefined;
18725
+ channelId?: string | null | undefined;
19212
18726
  status?: "active" | "pending" | undefined;
19213
18727
  apiKey?: string | undefined;
19214
18728
  tier?: "basic" | "regular" | "premium" | undefined;
18729
+ integrationType?: "meta" | "360dialog" | undefined;
19215
18730
  } | undefined;
19216
18731
  vonageCredentials?: {
19217
18732
  apiKey: string;
@@ -19273,35 +18788,38 @@ export declare const instagramContract: {
19273
18788
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19274
18789
  senderId: z.ZodOptional<z.ZodString>;
19275
18790
  whatsapp: z.ZodOptional<z.ZodObject<{
19276
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19277
- wabaExternalId: z.ZodString;
19278
- phoneNumberId: z.ZodString;
19279
- email: z.ZodString;
19280
- clientId: z.ZodOptional<z.ZodString>;
19281
- channelId: z.ZodOptional<z.ZodString>;
18791
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18792
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18793
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18794
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18795
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18796
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19282
18797
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19283
18798
  apiKey: z.ZodOptional<z.ZodString>;
19284
18799
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18800
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19285
18801
  }, "strip", z.ZodTypeAny, {
19286
- email: string;
19287
- wabaExternalId: string;
19288
- phoneNumberId: string;
19289
- wabaBusinessId?: string | undefined;
19290
- clientId?: string | undefined;
19291
- channelId?: string | undefined;
18802
+ wabaBusinessId?: string | null | undefined;
18803
+ wabaExternalId?: string | null | undefined;
18804
+ phoneNumberId?: string | null | undefined;
18805
+ email?: string | null | undefined;
18806
+ clientId?: string | null | undefined;
18807
+ channelId?: string | null | undefined;
19292
18808
  status?: "active" | "pending" | undefined;
19293
18809
  apiKey?: string | undefined;
19294
18810
  tier?: "basic" | "regular" | "premium" | undefined;
18811
+ integrationType?: "meta" | "360dialog" | undefined;
19295
18812
  }, {
19296
- email: string;
19297
- wabaExternalId: string;
19298
- phoneNumberId: string;
19299
- wabaBusinessId?: string | undefined;
19300
- clientId?: string | undefined;
19301
- channelId?: string | undefined;
18813
+ wabaBusinessId?: string | null | undefined;
18814
+ wabaExternalId?: string | null | undefined;
18815
+ phoneNumberId?: string | null | undefined;
18816
+ email?: string | null | undefined;
18817
+ clientId?: string | null | undefined;
18818
+ channelId?: string | null | undefined;
19302
18819
  status?: "active" | "pending" | undefined;
19303
18820
  apiKey?: string | undefined;
19304
18821
  tier?: "basic" | "regular" | "premium" | undefined;
18822
+ integrationType?: "meta" | "360dialog" | undefined;
19305
18823
  }>>;
19306
18824
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19307
18825
  mobileNumber: z.ZodString;
@@ -19326,15 +18844,16 @@ export declare const instagramContract: {
19326
18844
  additionalCredentials?: any;
19327
18845
  senderId?: string | undefined;
19328
18846
  whatsapp?: {
19329
- email: string;
19330
- wabaExternalId: string;
19331
- phoneNumberId: string;
19332
- wabaBusinessId?: string | undefined;
19333
- clientId?: string | undefined;
19334
- channelId?: string | undefined;
18847
+ wabaBusinessId?: string | null | undefined;
18848
+ wabaExternalId?: string | null | undefined;
18849
+ phoneNumberId?: string | null | undefined;
18850
+ email?: string | null | undefined;
18851
+ clientId?: string | null | undefined;
18852
+ channelId?: string | null | undefined;
19335
18853
  status?: "active" | "pending" | undefined;
19336
18854
  apiKey?: string | undefined;
19337
18855
  tier?: "basic" | "regular" | "premium" | undefined;
18856
+ integrationType?: "meta" | "360dialog" | undefined;
19338
18857
  } | undefined;
19339
18858
  vonageCredentials?: {
19340
18859
  apiKey: string;
@@ -19351,15 +18870,16 @@ export declare const instagramContract: {
19351
18870
  additionalCredentials?: any;
19352
18871
  senderId?: string | undefined;
19353
18872
  whatsapp?: {
19354
- email: string;
19355
- wabaExternalId: string;
19356
- phoneNumberId: string;
19357
- wabaBusinessId?: string | undefined;
19358
- clientId?: string | undefined;
19359
- channelId?: string | undefined;
18873
+ wabaBusinessId?: string | null | undefined;
18874
+ wabaExternalId?: string | null | undefined;
18875
+ phoneNumberId?: string | null | undefined;
18876
+ email?: string | null | undefined;
18877
+ clientId?: string | null | undefined;
18878
+ channelId?: string | null | undefined;
19360
18879
  status?: "active" | "pending" | undefined;
19361
18880
  apiKey?: string | undefined;
19362
18881
  tier?: "basic" | "regular" | "premium" | undefined;
18882
+ integrationType?: "meta" | "360dialog" | undefined;
19363
18883
  } | undefined;
19364
18884
  vonageCredentials?: {
19365
18885
  apiKey: string;
@@ -19406,15 +18926,16 @@ export declare const instagramContract: {
19406
18926
  additionalCredentials?: any;
19407
18927
  senderId?: string | undefined;
19408
18928
  whatsapp?: {
19409
- email: string;
19410
- wabaExternalId: string;
19411
- phoneNumberId: string;
19412
- wabaBusinessId?: string | undefined;
19413
- clientId?: string | undefined;
19414
- channelId?: string | undefined;
18929
+ wabaBusinessId?: string | null | undefined;
18930
+ wabaExternalId?: string | null | undefined;
18931
+ phoneNumberId?: string | null | undefined;
18932
+ email?: string | null | undefined;
18933
+ clientId?: string | null | undefined;
18934
+ channelId?: string | null | undefined;
19415
18935
  status?: "active" | "pending" | undefined;
19416
18936
  apiKey?: string | undefined;
19417
18937
  tier?: "basic" | "regular" | "premium" | undefined;
18938
+ integrationType?: "meta" | "360dialog" | undefined;
19418
18939
  } | undefined;
19419
18940
  vonageCredentials?: {
19420
18941
  apiKey: string;
@@ -19449,15 +18970,16 @@ export declare const instagramContract: {
19449
18970
  additionalCredentials?: any;
19450
18971
  senderId?: string | undefined;
19451
18972
  whatsapp?: {
19452
- email: string;
19453
- wabaExternalId: string;
19454
- phoneNumberId: string;
19455
- wabaBusinessId?: string | undefined;
19456
- clientId?: string | undefined;
19457
- channelId?: string | undefined;
18973
+ wabaBusinessId?: string | null | undefined;
18974
+ wabaExternalId?: string | null | undefined;
18975
+ phoneNumberId?: string | null | undefined;
18976
+ email?: string | null | undefined;
18977
+ clientId?: string | null | undefined;
18978
+ channelId?: string | null | undefined;
19458
18979
  status?: "active" | "pending" | undefined;
19459
18980
  apiKey?: string | undefined;
19460
18981
  tier?: "basic" | "regular" | "premium" | undefined;
18982
+ integrationType?: "meta" | "360dialog" | undefined;
19461
18983
  } | undefined;
19462
18984
  vonageCredentials?: {
19463
18985
  apiKey: string;
@@ -19497,35 +19019,38 @@ export declare const instagramContract: {
19497
19019
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19498
19020
  senderId: z.ZodOptional<z.ZodString>;
19499
19021
  whatsapp: z.ZodOptional<z.ZodObject<{
19500
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19501
- wabaExternalId: z.ZodString;
19502
- phoneNumberId: z.ZodString;
19503
- email: z.ZodString;
19504
- clientId: z.ZodOptional<z.ZodString>;
19505
- channelId: z.ZodOptional<z.ZodString>;
19022
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19023
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19024
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19025
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19026
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19027
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19506
19028
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19507
19029
  apiKey: z.ZodOptional<z.ZodString>;
19508
19030
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19031
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19509
19032
  }, "strip", z.ZodTypeAny, {
19510
- email: string;
19511
- wabaExternalId: string;
19512
- phoneNumberId: string;
19513
- wabaBusinessId?: string | undefined;
19514
- clientId?: string | undefined;
19515
- channelId?: string | undefined;
19033
+ wabaBusinessId?: string | null | undefined;
19034
+ wabaExternalId?: string | null | undefined;
19035
+ phoneNumberId?: string | null | undefined;
19036
+ email?: string | null | undefined;
19037
+ clientId?: string | null | undefined;
19038
+ channelId?: string | null | undefined;
19516
19039
  status?: "active" | "pending" | undefined;
19517
19040
  apiKey?: string | undefined;
19518
19041
  tier?: "basic" | "regular" | "premium" | undefined;
19042
+ integrationType?: "meta" | "360dialog" | undefined;
19519
19043
  }, {
19520
- email: string;
19521
- wabaExternalId: string;
19522
- phoneNumberId: string;
19523
- wabaBusinessId?: string | undefined;
19524
- clientId?: string | undefined;
19525
- channelId?: string | undefined;
19044
+ wabaBusinessId?: string | null | undefined;
19045
+ wabaExternalId?: string | null | undefined;
19046
+ phoneNumberId?: string | null | undefined;
19047
+ email?: string | null | undefined;
19048
+ clientId?: string | null | undefined;
19049
+ channelId?: string | null | undefined;
19526
19050
  status?: "active" | "pending" | undefined;
19527
19051
  apiKey?: string | undefined;
19528
19052
  tier?: "basic" | "regular" | "premium" | undefined;
19053
+ integrationType?: "meta" | "360dialog" | undefined;
19529
19054
  }>>;
19530
19055
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19531
19056
  mobileNumber: z.ZodString;
@@ -19550,15 +19075,16 @@ export declare const instagramContract: {
19550
19075
  additionalCredentials?: any;
19551
19076
  senderId?: string | undefined;
19552
19077
  whatsapp?: {
19553
- email: string;
19554
- wabaExternalId: string;
19555
- phoneNumberId: string;
19556
- wabaBusinessId?: string | undefined;
19557
- clientId?: string | undefined;
19558
- channelId?: string | undefined;
19078
+ wabaBusinessId?: string | null | undefined;
19079
+ wabaExternalId?: string | null | undefined;
19080
+ phoneNumberId?: string | null | undefined;
19081
+ email?: string | null | undefined;
19082
+ clientId?: string | null | undefined;
19083
+ channelId?: string | null | undefined;
19559
19084
  status?: "active" | "pending" | undefined;
19560
19085
  apiKey?: string | undefined;
19561
19086
  tier?: "basic" | "regular" | "premium" | undefined;
19087
+ integrationType?: "meta" | "360dialog" | undefined;
19562
19088
  } | undefined;
19563
19089
  vonageCredentials?: {
19564
19090
  apiKey: string;
@@ -19575,15 +19101,16 @@ export declare const instagramContract: {
19575
19101
  additionalCredentials?: any;
19576
19102
  senderId?: string | undefined;
19577
19103
  whatsapp?: {
19578
- email: string;
19579
- wabaExternalId: string;
19580
- phoneNumberId: string;
19581
- wabaBusinessId?: string | undefined;
19582
- clientId?: string | undefined;
19583
- channelId?: string | undefined;
19104
+ wabaBusinessId?: string | null | undefined;
19105
+ wabaExternalId?: string | null | undefined;
19106
+ phoneNumberId?: string | null | undefined;
19107
+ email?: string | null | undefined;
19108
+ clientId?: string | null | undefined;
19109
+ channelId?: string | null | undefined;
19584
19110
  status?: "active" | "pending" | undefined;
19585
19111
  apiKey?: string | undefined;
19586
19112
  tier?: "basic" | "regular" | "premium" | undefined;
19113
+ integrationType?: "meta" | "360dialog" | undefined;
19587
19114
  } | undefined;
19588
19115
  vonageCredentials?: {
19589
19116
  apiKey: string;
@@ -19630,15 +19157,16 @@ export declare const instagramContract: {
19630
19157
  additionalCredentials?: any;
19631
19158
  senderId?: string | undefined;
19632
19159
  whatsapp?: {
19633
- email: string;
19634
- wabaExternalId: string;
19635
- phoneNumberId: string;
19636
- wabaBusinessId?: string | undefined;
19637
- clientId?: string | undefined;
19638
- channelId?: string | undefined;
19160
+ wabaBusinessId?: string | null | undefined;
19161
+ wabaExternalId?: string | null | undefined;
19162
+ phoneNumberId?: string | null | undefined;
19163
+ email?: string | null | undefined;
19164
+ clientId?: string | null | undefined;
19165
+ channelId?: string | null | undefined;
19639
19166
  status?: "active" | "pending" | undefined;
19640
19167
  apiKey?: string | undefined;
19641
19168
  tier?: "basic" | "regular" | "premium" | undefined;
19169
+ integrationType?: "meta" | "360dialog" | undefined;
19642
19170
  } | undefined;
19643
19171
  vonageCredentials?: {
19644
19172
  apiKey: string;
@@ -19673,15 +19201,16 @@ export declare const instagramContract: {
19673
19201
  additionalCredentials?: any;
19674
19202
  senderId?: string | undefined;
19675
19203
  whatsapp?: {
19676
- email: string;
19677
- wabaExternalId: string;
19678
- phoneNumberId: string;
19679
- wabaBusinessId?: string | undefined;
19680
- clientId?: string | undefined;
19681
- channelId?: string | undefined;
19204
+ wabaBusinessId?: string | null | undefined;
19205
+ wabaExternalId?: string | null | undefined;
19206
+ phoneNumberId?: string | null | undefined;
19207
+ email?: string | null | undefined;
19208
+ clientId?: string | null | undefined;
19209
+ channelId?: string | null | undefined;
19682
19210
  status?: "active" | "pending" | undefined;
19683
19211
  apiKey?: string | undefined;
19684
19212
  tier?: "basic" | "regular" | "premium" | undefined;
19213
+ integrationType?: "meta" | "360dialog" | undefined;
19685
19214
  } | undefined;
19686
19215
  vonageCredentials?: {
19687
19216
  apiKey: string;
@@ -19718,15 +19247,16 @@ export declare const instagramContract: {
19718
19247
  additionalCredentials?: any;
19719
19248
  senderId?: string | undefined;
19720
19249
  whatsapp?: {
19721
- email: string;
19722
- wabaExternalId: string;
19723
- phoneNumberId: string;
19724
- wabaBusinessId?: string | undefined;
19725
- clientId?: string | undefined;
19726
- channelId?: string | undefined;
19250
+ wabaBusinessId?: string | null | undefined;
19251
+ wabaExternalId?: string | null | undefined;
19252
+ phoneNumberId?: string | null | undefined;
19253
+ email?: string | null | undefined;
19254
+ clientId?: string | null | undefined;
19255
+ channelId?: string | null | undefined;
19727
19256
  status?: "active" | "pending" | undefined;
19728
19257
  apiKey?: string | undefined;
19729
19258
  tier?: "basic" | "regular" | "premium" | undefined;
19259
+ integrationType?: "meta" | "360dialog" | undefined;
19730
19260
  } | undefined;
19731
19261
  vonageCredentials?: {
19732
19262
  apiKey: string;
@@ -19764,15 +19294,16 @@ export declare const instagramContract: {
19764
19294
  additionalCredentials?: any;
19765
19295
  senderId?: string | undefined;
19766
19296
  whatsapp?: {
19767
- email: string;
19768
- wabaExternalId: string;
19769
- phoneNumberId: string;
19770
- wabaBusinessId?: string | undefined;
19771
- clientId?: string | undefined;
19772
- channelId?: string | undefined;
19297
+ wabaBusinessId?: string | null | undefined;
19298
+ wabaExternalId?: string | null | undefined;
19299
+ phoneNumberId?: string | null | undefined;
19300
+ email?: string | null | undefined;
19301
+ clientId?: string | null | undefined;
19302
+ channelId?: string | null | undefined;
19773
19303
  status?: "active" | "pending" | undefined;
19774
19304
  apiKey?: string | undefined;
19775
19305
  tier?: "basic" | "regular" | "premium" | undefined;
19306
+ integrationType?: "meta" | "360dialog" | undefined;
19776
19307
  } | undefined;
19777
19308
  vonageCredentials?: {
19778
19309
  apiKey: string;
@@ -19846,35 +19377,38 @@ export declare const instagramContract: {
19846
19377
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19847
19378
  senderId: z.ZodOptional<z.ZodString>;
19848
19379
  whatsapp: z.ZodOptional<z.ZodObject<{
19849
- wabaBusinessId: z.ZodOptional<z.ZodString>;
19850
- wabaExternalId: z.ZodString;
19851
- phoneNumberId: z.ZodString;
19852
- email: z.ZodString;
19853
- clientId: z.ZodOptional<z.ZodString>;
19854
- channelId: z.ZodOptional<z.ZodString>;
19380
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19381
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19382
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19383
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19384
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19385
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19855
19386
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19856
19387
  apiKey: z.ZodOptional<z.ZodString>;
19857
19388
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19389
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19858
19390
  }, "strip", z.ZodTypeAny, {
19859
- email: string;
19860
- wabaExternalId: string;
19861
- phoneNumberId: string;
19862
- wabaBusinessId?: string | undefined;
19863
- clientId?: string | undefined;
19864
- channelId?: string | undefined;
19391
+ wabaBusinessId?: string | null | undefined;
19392
+ wabaExternalId?: string | null | undefined;
19393
+ phoneNumberId?: string | null | undefined;
19394
+ email?: string | null | undefined;
19395
+ clientId?: string | null | undefined;
19396
+ channelId?: string | null | undefined;
19865
19397
  status?: "active" | "pending" | undefined;
19866
19398
  apiKey?: string | undefined;
19867
19399
  tier?: "basic" | "regular" | "premium" | undefined;
19400
+ integrationType?: "meta" | "360dialog" | undefined;
19868
19401
  }, {
19869
- email: string;
19870
- wabaExternalId: string;
19871
- phoneNumberId: string;
19872
- wabaBusinessId?: string | undefined;
19873
- clientId?: string | undefined;
19874
- channelId?: string | undefined;
19402
+ wabaBusinessId?: string | null | undefined;
19403
+ wabaExternalId?: string | null | undefined;
19404
+ phoneNumberId?: string | null | undefined;
19405
+ email?: string | null | undefined;
19406
+ clientId?: string | null | undefined;
19407
+ channelId?: string | null | undefined;
19875
19408
  status?: "active" | "pending" | undefined;
19876
19409
  apiKey?: string | undefined;
19877
19410
  tier?: "basic" | "regular" | "premium" | undefined;
19411
+ integrationType?: "meta" | "360dialog" | undefined;
19878
19412
  }>>;
19879
19413
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19880
19414
  mobileNumber: z.ZodString;
@@ -19899,15 +19433,16 @@ export declare const instagramContract: {
19899
19433
  additionalCredentials?: any;
19900
19434
  senderId?: string | undefined;
19901
19435
  whatsapp?: {
19902
- email: string;
19903
- wabaExternalId: string;
19904
- phoneNumberId: string;
19905
- wabaBusinessId?: string | undefined;
19906
- clientId?: string | undefined;
19907
- channelId?: string | undefined;
19436
+ wabaBusinessId?: string | null | undefined;
19437
+ wabaExternalId?: string | null | undefined;
19438
+ phoneNumberId?: string | null | undefined;
19439
+ email?: string | null | undefined;
19440
+ clientId?: string | null | undefined;
19441
+ channelId?: string | null | undefined;
19908
19442
  status?: "active" | "pending" | undefined;
19909
19443
  apiKey?: string | undefined;
19910
19444
  tier?: "basic" | "regular" | "premium" | undefined;
19445
+ integrationType?: "meta" | "360dialog" | undefined;
19911
19446
  } | undefined;
19912
19447
  vonageCredentials?: {
19913
19448
  apiKey: string;
@@ -19924,15 +19459,16 @@ export declare const instagramContract: {
19924
19459
  additionalCredentials?: any;
19925
19460
  senderId?: string | undefined;
19926
19461
  whatsapp?: {
19927
- email: string;
19928
- wabaExternalId: string;
19929
- phoneNumberId: string;
19930
- wabaBusinessId?: string | undefined;
19931
- clientId?: string | undefined;
19932
- channelId?: string | undefined;
19462
+ wabaBusinessId?: string | null | undefined;
19463
+ wabaExternalId?: string | null | undefined;
19464
+ phoneNumberId?: string | null | undefined;
19465
+ email?: string | null | undefined;
19466
+ clientId?: string | null | undefined;
19467
+ channelId?: string | null | undefined;
19933
19468
  status?: "active" | "pending" | undefined;
19934
19469
  apiKey?: string | undefined;
19935
19470
  tier?: "basic" | "regular" | "premium" | undefined;
19471
+ integrationType?: "meta" | "360dialog" | undefined;
19936
19472
  } | undefined;
19937
19473
  vonageCredentials?: {
19938
19474
  apiKey: string;
@@ -19979,15 +19515,16 @@ export declare const instagramContract: {
19979
19515
  additionalCredentials?: any;
19980
19516
  senderId?: string | undefined;
19981
19517
  whatsapp?: {
19982
- email: string;
19983
- wabaExternalId: string;
19984
- phoneNumberId: string;
19985
- wabaBusinessId?: string | undefined;
19986
- clientId?: string | undefined;
19987
- channelId?: string | undefined;
19518
+ wabaBusinessId?: string | null | undefined;
19519
+ wabaExternalId?: string | null | undefined;
19520
+ phoneNumberId?: string | null | undefined;
19521
+ email?: string | null | undefined;
19522
+ clientId?: string | null | undefined;
19523
+ channelId?: string | null | undefined;
19988
19524
  status?: "active" | "pending" | undefined;
19989
19525
  apiKey?: string | undefined;
19990
19526
  tier?: "basic" | "regular" | "premium" | undefined;
19527
+ integrationType?: "meta" | "360dialog" | undefined;
19991
19528
  } | undefined;
19992
19529
  vonageCredentials?: {
19993
19530
  apiKey: string;
@@ -20022,15 +19559,16 @@ export declare const instagramContract: {
20022
19559
  additionalCredentials?: any;
20023
19560
  senderId?: string | undefined;
20024
19561
  whatsapp?: {
20025
- email: string;
20026
- wabaExternalId: string;
20027
- phoneNumberId: string;
20028
- wabaBusinessId?: string | undefined;
20029
- clientId?: string | undefined;
20030
- channelId?: string | undefined;
19562
+ wabaBusinessId?: string | null | undefined;
19563
+ wabaExternalId?: string | null | undefined;
19564
+ phoneNumberId?: string | null | undefined;
19565
+ email?: string | null | undefined;
19566
+ clientId?: string | null | undefined;
19567
+ channelId?: string | null | undefined;
20031
19568
  status?: "active" | "pending" | undefined;
20032
19569
  apiKey?: string | undefined;
20033
19570
  tier?: "basic" | "regular" | "premium" | undefined;
19571
+ integrationType?: "meta" | "360dialog" | undefined;
20034
19572
  } | undefined;
20035
19573
  vonageCredentials?: {
20036
19574
  apiKey: string;
@@ -20067,15 +19605,16 @@ export declare const instagramContract: {
20067
19605
  additionalCredentials?: any;
20068
19606
  senderId?: string | undefined;
20069
19607
  whatsapp?: {
20070
- email: string;
20071
- wabaExternalId: string;
20072
- phoneNumberId: string;
20073
- wabaBusinessId?: string | undefined;
20074
- clientId?: string | undefined;
20075
- channelId?: string | undefined;
19608
+ wabaBusinessId?: string | null | undefined;
19609
+ wabaExternalId?: string | null | undefined;
19610
+ phoneNumberId?: string | null | undefined;
19611
+ email?: string | null | undefined;
19612
+ clientId?: string | null | undefined;
19613
+ channelId?: string | null | undefined;
20076
19614
  status?: "active" | "pending" | undefined;
20077
19615
  apiKey?: string | undefined;
20078
19616
  tier?: "basic" | "regular" | "premium" | undefined;
19617
+ integrationType?: "meta" | "360dialog" | undefined;
20079
19618
  } | undefined;
20080
19619
  vonageCredentials?: {
20081
19620
  apiKey: string;
@@ -20113,15 +19652,16 @@ export declare const instagramContract: {
20113
19652
  additionalCredentials?: any;
20114
19653
  senderId?: string | undefined;
20115
19654
  whatsapp?: {
20116
- email: string;
20117
- wabaExternalId: string;
20118
- phoneNumberId: string;
20119
- wabaBusinessId?: string | undefined;
20120
- clientId?: string | undefined;
20121
- channelId?: string | undefined;
19655
+ wabaBusinessId?: string | null | undefined;
19656
+ wabaExternalId?: string | null | undefined;
19657
+ phoneNumberId?: string | null | undefined;
19658
+ email?: string | null | undefined;
19659
+ clientId?: string | null | undefined;
19660
+ channelId?: string | null | undefined;
20122
19661
  status?: "active" | "pending" | undefined;
20123
19662
  apiKey?: string | undefined;
20124
19663
  tier?: "basic" | "regular" | "premium" | undefined;
19664
+ integrationType?: "meta" | "360dialog" | undefined;
20125
19665
  } | undefined;
20126
19666
  vonageCredentials?: {
20127
19667
  apiKey: string;
@@ -20195,35 +19735,38 @@ export declare const instagramContract: {
20195
19735
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20196
19736
  senderId: z.ZodOptional<z.ZodString>;
20197
19737
  whatsapp: z.ZodOptional<z.ZodObject<{
20198
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20199
- wabaExternalId: z.ZodString;
20200
- phoneNumberId: z.ZodString;
20201
- email: z.ZodString;
20202
- clientId: z.ZodOptional<z.ZodString>;
20203
- channelId: z.ZodOptional<z.ZodString>;
19738
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19739
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19740
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19741
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19742
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19743
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20204
19744
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20205
19745
  apiKey: z.ZodOptional<z.ZodString>;
20206
19746
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19747
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20207
19748
  }, "strip", z.ZodTypeAny, {
20208
- email: string;
20209
- wabaExternalId: string;
20210
- phoneNumberId: string;
20211
- wabaBusinessId?: string | undefined;
20212
- clientId?: string | undefined;
20213
- channelId?: string | undefined;
19749
+ wabaBusinessId?: string | null | undefined;
19750
+ wabaExternalId?: string | null | undefined;
19751
+ phoneNumberId?: string | null | undefined;
19752
+ email?: string | null | undefined;
19753
+ clientId?: string | null | undefined;
19754
+ channelId?: string | null | undefined;
20214
19755
  status?: "active" | "pending" | undefined;
20215
19756
  apiKey?: string | undefined;
20216
19757
  tier?: "basic" | "regular" | "premium" | undefined;
19758
+ integrationType?: "meta" | "360dialog" | undefined;
20217
19759
  }, {
20218
- email: string;
20219
- wabaExternalId: string;
20220
- phoneNumberId: string;
20221
- wabaBusinessId?: string | undefined;
20222
- clientId?: string | undefined;
20223
- channelId?: string | undefined;
19760
+ wabaBusinessId?: string | null | undefined;
19761
+ wabaExternalId?: string | null | undefined;
19762
+ phoneNumberId?: string | null | undefined;
19763
+ email?: string | null | undefined;
19764
+ clientId?: string | null | undefined;
19765
+ channelId?: string | null | undefined;
20224
19766
  status?: "active" | "pending" | undefined;
20225
19767
  apiKey?: string | undefined;
20226
19768
  tier?: "basic" | "regular" | "premium" | undefined;
19769
+ integrationType?: "meta" | "360dialog" | undefined;
20227
19770
  }>>;
20228
19771
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20229
19772
  mobileNumber: z.ZodString;
@@ -20248,15 +19791,16 @@ export declare const instagramContract: {
20248
19791
  additionalCredentials?: any;
20249
19792
  senderId?: string | undefined;
20250
19793
  whatsapp?: {
20251
- email: string;
20252
- wabaExternalId: string;
20253
- phoneNumberId: string;
20254
- wabaBusinessId?: string | undefined;
20255
- clientId?: string | undefined;
20256
- channelId?: string | undefined;
19794
+ wabaBusinessId?: string | null | undefined;
19795
+ wabaExternalId?: string | null | undefined;
19796
+ phoneNumberId?: string | null | undefined;
19797
+ email?: string | null | undefined;
19798
+ clientId?: string | null | undefined;
19799
+ channelId?: string | null | undefined;
20257
19800
  status?: "active" | "pending" | undefined;
20258
19801
  apiKey?: string | undefined;
20259
19802
  tier?: "basic" | "regular" | "premium" | undefined;
19803
+ integrationType?: "meta" | "360dialog" | undefined;
20260
19804
  } | undefined;
20261
19805
  vonageCredentials?: {
20262
19806
  apiKey: string;
@@ -20273,15 +19817,16 @@ export declare const instagramContract: {
20273
19817
  additionalCredentials?: any;
20274
19818
  senderId?: string | undefined;
20275
19819
  whatsapp?: {
20276
- email: string;
20277
- wabaExternalId: string;
20278
- phoneNumberId: string;
20279
- wabaBusinessId?: string | undefined;
20280
- clientId?: string | undefined;
20281
- channelId?: string | undefined;
19820
+ wabaBusinessId?: string | null | undefined;
19821
+ wabaExternalId?: string | null | undefined;
19822
+ phoneNumberId?: string | null | undefined;
19823
+ email?: string | null | undefined;
19824
+ clientId?: string | null | undefined;
19825
+ channelId?: string | null | undefined;
20282
19826
  status?: "active" | "pending" | undefined;
20283
19827
  apiKey?: string | undefined;
20284
19828
  tier?: "basic" | "regular" | "premium" | undefined;
19829
+ integrationType?: "meta" | "360dialog" | undefined;
20285
19830
  } | undefined;
20286
19831
  vonageCredentials?: {
20287
19832
  apiKey: string;
@@ -20328,15 +19873,16 @@ export declare const instagramContract: {
20328
19873
  additionalCredentials?: any;
20329
19874
  senderId?: string | undefined;
20330
19875
  whatsapp?: {
20331
- email: string;
20332
- wabaExternalId: string;
20333
- phoneNumberId: string;
20334
- wabaBusinessId?: string | undefined;
20335
- clientId?: string | undefined;
20336
- channelId?: string | undefined;
19876
+ wabaBusinessId?: string | null | undefined;
19877
+ wabaExternalId?: string | null | undefined;
19878
+ phoneNumberId?: string | null | undefined;
19879
+ email?: string | null | undefined;
19880
+ clientId?: string | null | undefined;
19881
+ channelId?: string | null | undefined;
20337
19882
  status?: "active" | "pending" | undefined;
20338
19883
  apiKey?: string | undefined;
20339
19884
  tier?: "basic" | "regular" | "premium" | undefined;
19885
+ integrationType?: "meta" | "360dialog" | undefined;
20340
19886
  } | undefined;
20341
19887
  vonageCredentials?: {
20342
19888
  apiKey: string;
@@ -20371,15 +19917,16 @@ export declare const instagramContract: {
20371
19917
  additionalCredentials?: any;
20372
19918
  senderId?: string | undefined;
20373
19919
  whatsapp?: {
20374
- email: string;
20375
- wabaExternalId: string;
20376
- phoneNumberId: string;
20377
- wabaBusinessId?: string | undefined;
20378
- clientId?: string | undefined;
20379
- channelId?: string | undefined;
19920
+ wabaBusinessId?: string | null | undefined;
19921
+ wabaExternalId?: string | null | undefined;
19922
+ phoneNumberId?: string | null | undefined;
19923
+ email?: string | null | undefined;
19924
+ clientId?: string | null | undefined;
19925
+ channelId?: string | null | undefined;
20380
19926
  status?: "active" | "pending" | undefined;
20381
19927
  apiKey?: string | undefined;
20382
19928
  tier?: "basic" | "regular" | "premium" | undefined;
19929
+ integrationType?: "meta" | "360dialog" | undefined;
20383
19930
  } | undefined;
20384
19931
  vonageCredentials?: {
20385
19932
  apiKey: string;
@@ -20416,15 +19963,16 @@ export declare const instagramContract: {
20416
19963
  additionalCredentials?: any;
20417
19964
  senderId?: string | undefined;
20418
19965
  whatsapp?: {
20419
- email: string;
20420
- wabaExternalId: string;
20421
- phoneNumberId: string;
20422
- wabaBusinessId?: string | undefined;
20423
- clientId?: string | undefined;
20424
- channelId?: string | undefined;
19966
+ wabaBusinessId?: string | null | undefined;
19967
+ wabaExternalId?: string | null | undefined;
19968
+ phoneNumberId?: string | null | undefined;
19969
+ email?: string | null | undefined;
19970
+ clientId?: string | null | undefined;
19971
+ channelId?: string | null | undefined;
20425
19972
  status?: "active" | "pending" | undefined;
20426
19973
  apiKey?: string | undefined;
20427
19974
  tier?: "basic" | "regular" | "premium" | undefined;
19975
+ integrationType?: "meta" | "360dialog" | undefined;
20428
19976
  } | undefined;
20429
19977
  vonageCredentials?: {
20430
19978
  apiKey: string;
@@ -20462,15 +20010,16 @@ export declare const instagramContract: {
20462
20010
  additionalCredentials?: any;
20463
20011
  senderId?: string | undefined;
20464
20012
  whatsapp?: {
20465
- email: string;
20466
- wabaExternalId: string;
20467
- phoneNumberId: string;
20468
- wabaBusinessId?: string | undefined;
20469
- clientId?: string | undefined;
20470
- channelId?: string | undefined;
20013
+ wabaBusinessId?: string | null | undefined;
20014
+ wabaExternalId?: string | null | undefined;
20015
+ phoneNumberId?: string | null | undefined;
20016
+ email?: string | null | undefined;
20017
+ clientId?: string | null | undefined;
20018
+ channelId?: string | null | undefined;
20471
20019
  status?: "active" | "pending" | undefined;
20472
20020
  apiKey?: string | undefined;
20473
20021
  tier?: "basic" | "regular" | "premium" | undefined;
20022
+ integrationType?: "meta" | "360dialog" | undefined;
20474
20023
  } | undefined;
20475
20024
  vonageCredentials?: {
20476
20025
  apiKey: string;
@@ -20532,35 +20081,38 @@ export declare const instagramContract: {
20532
20081
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20533
20082
  senderId: z.ZodOptional<z.ZodString>;
20534
20083
  whatsapp: z.ZodOptional<z.ZodObject<{
20535
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20536
- wabaExternalId: z.ZodString;
20537
- phoneNumberId: z.ZodString;
20538
- email: z.ZodString;
20539
- clientId: z.ZodOptional<z.ZodString>;
20540
- channelId: z.ZodOptional<z.ZodString>;
20084
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20085
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20086
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20087
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20088
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20089
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20541
20090
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20542
20091
  apiKey: z.ZodOptional<z.ZodString>;
20543
20092
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20093
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20544
20094
  }, "strip", z.ZodTypeAny, {
20545
- email: string;
20546
- wabaExternalId: string;
20547
- phoneNumberId: string;
20548
- wabaBusinessId?: string | undefined;
20549
- clientId?: string | undefined;
20550
- channelId?: string | undefined;
20095
+ wabaBusinessId?: string | null | undefined;
20096
+ wabaExternalId?: string | null | undefined;
20097
+ phoneNumberId?: string | null | undefined;
20098
+ email?: string | null | undefined;
20099
+ clientId?: string | null | undefined;
20100
+ channelId?: string | null | undefined;
20551
20101
  status?: "active" | "pending" | undefined;
20552
20102
  apiKey?: string | undefined;
20553
20103
  tier?: "basic" | "regular" | "premium" | undefined;
20104
+ integrationType?: "meta" | "360dialog" | undefined;
20554
20105
  }, {
20555
- email: string;
20556
- wabaExternalId: string;
20557
- phoneNumberId: string;
20558
- wabaBusinessId?: string | undefined;
20559
- clientId?: string | undefined;
20560
- channelId?: string | undefined;
20106
+ wabaBusinessId?: string | null | undefined;
20107
+ wabaExternalId?: string | null | undefined;
20108
+ phoneNumberId?: string | null | undefined;
20109
+ email?: string | null | undefined;
20110
+ clientId?: string | null | undefined;
20111
+ channelId?: string | null | undefined;
20561
20112
  status?: "active" | "pending" | undefined;
20562
20113
  apiKey?: string | undefined;
20563
20114
  tier?: "basic" | "regular" | "premium" | undefined;
20115
+ integrationType?: "meta" | "360dialog" | undefined;
20564
20116
  }>>;
20565
20117
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20566
20118
  mobileNumber: z.ZodString;
@@ -20585,15 +20137,16 @@ export declare const instagramContract: {
20585
20137
  additionalCredentials?: any;
20586
20138
  senderId?: string | undefined;
20587
20139
  whatsapp?: {
20588
- email: string;
20589
- wabaExternalId: string;
20590
- phoneNumberId: string;
20591
- wabaBusinessId?: string | undefined;
20592
- clientId?: string | undefined;
20593
- channelId?: string | undefined;
20140
+ wabaBusinessId?: string | null | undefined;
20141
+ wabaExternalId?: string | null | undefined;
20142
+ phoneNumberId?: string | null | undefined;
20143
+ email?: string | null | undefined;
20144
+ clientId?: string | null | undefined;
20145
+ channelId?: string | null | undefined;
20594
20146
  status?: "active" | "pending" | undefined;
20595
20147
  apiKey?: string | undefined;
20596
20148
  tier?: "basic" | "regular" | "premium" | undefined;
20149
+ integrationType?: "meta" | "360dialog" | undefined;
20597
20150
  } | undefined;
20598
20151
  vonageCredentials?: {
20599
20152
  apiKey: string;
@@ -20610,15 +20163,16 @@ export declare const instagramContract: {
20610
20163
  additionalCredentials?: any;
20611
20164
  senderId?: string | undefined;
20612
20165
  whatsapp?: {
20613
- email: string;
20614
- wabaExternalId: string;
20615
- phoneNumberId: string;
20616
- wabaBusinessId?: string | undefined;
20617
- clientId?: string | undefined;
20618
- channelId?: string | undefined;
20166
+ wabaBusinessId?: string | null | undefined;
20167
+ wabaExternalId?: string | null | undefined;
20168
+ phoneNumberId?: string | null | undefined;
20169
+ email?: string | null | undefined;
20170
+ clientId?: string | null | undefined;
20171
+ channelId?: string | null | undefined;
20619
20172
  status?: "active" | "pending" | undefined;
20620
20173
  apiKey?: string | undefined;
20621
20174
  tier?: "basic" | "regular" | "premium" | undefined;
20175
+ integrationType?: "meta" | "360dialog" | undefined;
20622
20176
  } | undefined;
20623
20177
  vonageCredentials?: {
20624
20178
  apiKey: string;
@@ -20665,15 +20219,16 @@ export declare const instagramContract: {
20665
20219
  additionalCredentials?: any;
20666
20220
  senderId?: string | undefined;
20667
20221
  whatsapp?: {
20668
- email: string;
20669
- wabaExternalId: string;
20670
- phoneNumberId: string;
20671
- wabaBusinessId?: string | undefined;
20672
- clientId?: string | undefined;
20673
- channelId?: string | undefined;
20222
+ wabaBusinessId?: string | null | undefined;
20223
+ wabaExternalId?: string | null | undefined;
20224
+ phoneNumberId?: string | null | undefined;
20225
+ email?: string | null | undefined;
20226
+ clientId?: string | null | undefined;
20227
+ channelId?: string | null | undefined;
20674
20228
  status?: "active" | "pending" | undefined;
20675
20229
  apiKey?: string | undefined;
20676
20230
  tier?: "basic" | "regular" | "premium" | undefined;
20231
+ integrationType?: "meta" | "360dialog" | undefined;
20677
20232
  } | undefined;
20678
20233
  vonageCredentials?: {
20679
20234
  apiKey: string;
@@ -20708,15 +20263,16 @@ export declare const instagramContract: {
20708
20263
  additionalCredentials?: any;
20709
20264
  senderId?: string | undefined;
20710
20265
  whatsapp?: {
20711
- email: string;
20712
- wabaExternalId: string;
20713
- phoneNumberId: string;
20714
- wabaBusinessId?: string | undefined;
20715
- clientId?: string | undefined;
20716
- channelId?: string | undefined;
20266
+ wabaBusinessId?: string | null | undefined;
20267
+ wabaExternalId?: string | null | undefined;
20268
+ phoneNumberId?: string | null | undefined;
20269
+ email?: string | null | undefined;
20270
+ clientId?: string | null | undefined;
20271
+ channelId?: string | null | undefined;
20717
20272
  status?: "active" | "pending" | undefined;
20718
20273
  apiKey?: string | undefined;
20719
20274
  tier?: "basic" | "regular" | "premium" | undefined;
20275
+ integrationType?: "meta" | "360dialog" | undefined;
20720
20276
  } | undefined;
20721
20277
  vonageCredentials?: {
20722
20278
  apiKey: string;
@@ -20756,35 +20312,38 @@ export declare const instagramContract: {
20756
20312
  additionalCredentials: z.ZodOptional<z.ZodAny>;
20757
20313
  senderId: z.ZodOptional<z.ZodString>;
20758
20314
  whatsapp: z.ZodOptional<z.ZodObject<{
20759
- wabaBusinessId: z.ZodOptional<z.ZodString>;
20760
- wabaExternalId: z.ZodString;
20761
- phoneNumberId: z.ZodString;
20762
- email: z.ZodString;
20763
- clientId: z.ZodOptional<z.ZodString>;
20764
- channelId: z.ZodOptional<z.ZodString>;
20315
+ wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20316
+ wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20317
+ phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20318
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20319
+ clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20320
+ channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20765
20321
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20766
20322
  apiKey: z.ZodOptional<z.ZodString>;
20767
20323
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20324
+ integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
20768
20325
  }, "strip", z.ZodTypeAny, {
20769
- email: string;
20770
- wabaExternalId: string;
20771
- phoneNumberId: string;
20772
- wabaBusinessId?: string | undefined;
20773
- clientId?: string | undefined;
20774
- channelId?: string | undefined;
20326
+ wabaBusinessId?: string | null | undefined;
20327
+ wabaExternalId?: string | null | undefined;
20328
+ phoneNumberId?: string | null | undefined;
20329
+ email?: string | null | undefined;
20330
+ clientId?: string | null | undefined;
20331
+ channelId?: string | null | undefined;
20775
20332
  status?: "active" | "pending" | undefined;
20776
20333
  apiKey?: string | undefined;
20777
20334
  tier?: "basic" | "regular" | "premium" | undefined;
20335
+ integrationType?: "meta" | "360dialog" | undefined;
20778
20336
  }, {
20779
- email: string;
20780
- wabaExternalId: string;
20781
- phoneNumberId: string;
20782
- wabaBusinessId?: string | undefined;
20783
- clientId?: string | undefined;
20784
- channelId?: string | undefined;
20337
+ wabaBusinessId?: string | null | undefined;
20338
+ wabaExternalId?: string | null | undefined;
20339
+ phoneNumberId?: string | null | undefined;
20340
+ email?: string | null | undefined;
20341
+ clientId?: string | null | undefined;
20342
+ channelId?: string | null | undefined;
20785
20343
  status?: "active" | "pending" | undefined;
20786
20344
  apiKey?: string | undefined;
20787
20345
  tier?: "basic" | "regular" | "premium" | undefined;
20346
+ integrationType?: "meta" | "360dialog" | undefined;
20788
20347
  }>>;
20789
20348
  vonageCredentials: z.ZodOptional<z.ZodObject<{
20790
20349
  mobileNumber: z.ZodString;
@@ -20809,15 +20368,16 @@ export declare const instagramContract: {
20809
20368
  additionalCredentials?: any;
20810
20369
  senderId?: string | undefined;
20811
20370
  whatsapp?: {
20812
- email: string;
20813
- wabaExternalId: string;
20814
- phoneNumberId: string;
20815
- wabaBusinessId?: string | undefined;
20816
- clientId?: string | undefined;
20817
- channelId?: string | undefined;
20371
+ wabaBusinessId?: string | null | undefined;
20372
+ wabaExternalId?: string | null | undefined;
20373
+ phoneNumberId?: string | null | undefined;
20374
+ email?: string | null | undefined;
20375
+ clientId?: string | null | undefined;
20376
+ channelId?: string | null | undefined;
20818
20377
  status?: "active" | "pending" | undefined;
20819
20378
  apiKey?: string | undefined;
20820
20379
  tier?: "basic" | "regular" | "premium" | undefined;
20380
+ integrationType?: "meta" | "360dialog" | undefined;
20821
20381
  } | undefined;
20822
20382
  vonageCredentials?: {
20823
20383
  apiKey: string;
@@ -20834,15 +20394,16 @@ export declare const instagramContract: {
20834
20394
  additionalCredentials?: any;
20835
20395
  senderId?: string | undefined;
20836
20396
  whatsapp?: {
20837
- email: string;
20838
- wabaExternalId: string;
20839
- phoneNumberId: string;
20840
- wabaBusinessId?: string | undefined;
20841
- clientId?: string | undefined;
20842
- 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;
20843
20403
  status?: "active" | "pending" | undefined;
20844
20404
  apiKey?: string | undefined;
20845
20405
  tier?: "basic" | "regular" | "premium" | undefined;
20406
+ integrationType?: "meta" | "360dialog" | undefined;
20846
20407
  } | undefined;
20847
20408
  vonageCredentials?: {
20848
20409
  apiKey: string;
@@ -20889,15 +20450,16 @@ export declare const instagramContract: {
20889
20450
  additionalCredentials?: any;
20890
20451
  senderId?: string | undefined;
20891
20452
  whatsapp?: {
20892
- email: string;
20893
- wabaExternalId: string;
20894
- phoneNumberId: string;
20895
- wabaBusinessId?: string | undefined;
20896
- clientId?: string | undefined;
20897
- channelId?: string | undefined;
20453
+ wabaBusinessId?: string | null | undefined;
20454
+ wabaExternalId?: string | null | undefined;
20455
+ phoneNumberId?: string | null | undefined;
20456
+ email?: string | null | undefined;
20457
+ clientId?: string | null | undefined;
20458
+ channelId?: string | null | undefined;
20898
20459
  status?: "active" | "pending" | undefined;
20899
20460
  apiKey?: string | undefined;
20900
20461
  tier?: "basic" | "regular" | "premium" | undefined;
20462
+ integrationType?: "meta" | "360dialog" | undefined;
20901
20463
  } | undefined;
20902
20464
  vonageCredentials?: {
20903
20465
  apiKey: string;
@@ -20932,15 +20494,16 @@ export declare const instagramContract: {
20932
20494
  additionalCredentials?: any;
20933
20495
  senderId?: string | undefined;
20934
20496
  whatsapp?: {
20935
- email: string;
20936
- wabaExternalId: string;
20937
- phoneNumberId: string;
20938
- wabaBusinessId?: string | undefined;
20939
- clientId?: string | undefined;
20940
- channelId?: string | undefined;
20497
+ wabaBusinessId?: string | null | undefined;
20498
+ wabaExternalId?: string | null | undefined;
20499
+ phoneNumberId?: string | null | undefined;
20500
+ email?: string | null | undefined;
20501
+ clientId?: string | null | undefined;
20502
+ channelId?: string | null | undefined;
20941
20503
  status?: "active" | "pending" | undefined;
20942
20504
  apiKey?: string | undefined;
20943
20505
  tier?: "basic" | "regular" | "premium" | undefined;
20506
+ integrationType?: "meta" | "360dialog" | undefined;
20944
20507
  } | undefined;
20945
20508
  vonageCredentials?: {
20946
20509
  apiKey: string;
@@ -20977,15 +20540,16 @@ export declare const instagramContract: {
20977
20540
  additionalCredentials?: any;
20978
20541
  senderId?: string | undefined;
20979
20542
  whatsapp?: {
20980
- email: string;
20981
- wabaExternalId: string;
20982
- phoneNumberId: string;
20983
- wabaBusinessId?: string | undefined;
20984
- clientId?: string | undefined;
20985
- channelId?: string | undefined;
20543
+ wabaBusinessId?: string | null | undefined;
20544
+ wabaExternalId?: string | null | undefined;
20545
+ phoneNumberId?: string | null | undefined;
20546
+ email?: string | null | undefined;
20547
+ clientId?: string | null | undefined;
20548
+ channelId?: string | null | undefined;
20986
20549
  status?: "active" | "pending" | undefined;
20987
20550
  apiKey?: string | undefined;
20988
20551
  tier?: "basic" | "regular" | "premium" | undefined;
20552
+ integrationType?: "meta" | "360dialog" | undefined;
20989
20553
  } | undefined;
20990
20554
  vonageCredentials?: {
20991
20555
  apiKey: string;
@@ -21023,15 +20587,16 @@ export declare const instagramContract: {
21023
20587
  additionalCredentials?: any;
21024
20588
  senderId?: string | undefined;
21025
20589
  whatsapp?: {
21026
- email: string;
21027
- wabaExternalId: string;
21028
- phoneNumberId: string;
21029
- wabaBusinessId?: string | undefined;
21030
- clientId?: string | undefined;
21031
- channelId?: string | undefined;
20590
+ wabaBusinessId?: string | null | undefined;
20591
+ wabaExternalId?: string | null | undefined;
20592
+ phoneNumberId?: string | null | undefined;
20593
+ email?: string | null | undefined;
20594
+ clientId?: string | null | undefined;
20595
+ channelId?: string | null | undefined;
21032
20596
  status?: "active" | "pending" | undefined;
21033
20597
  apiKey?: string | undefined;
21034
20598
  tier?: "basic" | "regular" | "premium" | undefined;
20599
+ integrationType?: "meta" | "360dialog" | undefined;
21035
20600
  } | undefined;
21036
20601
  vonageCredentials?: {
21037
20602
  apiKey: string;