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