@kl1/contracts 1.2.38-uat → 1.2.39-uat

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