@kl1/contracts 1.2.38-uat → 1.2.39-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +2349 -2560
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +75 -87
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +84 -98
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +6954 -2629
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1675 -721
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +1512 -818
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/comment/index.d.ts +68 -68
  14. package/dist/api-contracts/src/comment/schema.d.ts +20 -20
  15. package/dist/api-contracts/src/contact/index.d.ts +97 -97
  16. package/dist/api-contracts/src/contact/schema.d.ts +12 -12
  17. package/dist/api-contracts/src/contact/validation.d.ts +56 -56
  18. package/dist/api-contracts/src/contract.d.ts +13847 -11876
  19. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-intelligence/index.d.ts +87 -0
  21. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/index.d.ts +190 -143
  23. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/cx-log/schema.d.ts +233 -119
  25. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/index.d.ts +77 -99
  27. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/schema.d.ts +12 -55
  29. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  30. package/dist/api-contracts/src/dashboard/validation.d.ts +26 -0
  31. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  32. package/dist/api-contracts/src/extension/index.d.ts +81 -0
  33. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +1466 -1060
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +68 -77
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +53 -60
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +5 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +1271 -836
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +1204 -757
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +71 -82
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/mail/mail-contract.d.ts +619 -7
  49. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  50. package/dist/api-contracts/src/mail/room-contract.d.ts +619 -7
  51. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  52. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +204 -0
  53. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +165 -5
  55. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/messenger/index.d.ts +1271 -836
  57. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/messenger/validation.d.ts +53 -60
  59. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/public-api/index.d.ts +59 -59
  61. package/dist/api-contracts/src/public-api/schema.d.ts +12 -12
  62. package/dist/api-contracts/src/public-api/validation.d.ts +19 -19
  63. package/dist/api-contracts/src/sms/index.d.ts +180 -146
  64. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  65. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  66. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  67. package/dist/api-contracts/src/snippet/index.d.ts +105 -105
  68. package/dist/api-contracts/src/snippet/schema.d.ts +40 -40
  69. package/dist/api-contracts/src/telegram/index.d.ts +1091 -626
  70. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +34 -89
  72. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +10 -27
  74. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/telephony-cdr/index.d.ts +54 -54
  76. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  77. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +14 -14
  78. package/dist/api-contracts/src/ticket/index.d.ts +111 -111
  79. package/dist/api-contracts/src/ticket/schema.d.ts +21 -21
  80. package/dist/api-contracts/src/upload/schema.d.ts +3 -3
  81. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +16 -8
  82. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +20 -10
  84. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  85. package/dist/api-contracts/src/viber/index.d.ts +1091 -626
  86. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/webchat/index.d.ts +1091 -626
  88. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/whatsapp/index.d.ts +1175 -724
  90. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/workflow-rule/index.d.ts +569 -183
  92. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  93. package/dist/entities/src/enums/chat.d.ts +3 -0
  94. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  95. package/dist/index.js +4837 -4272
  96. package/dist/index.js.map +1 -1
  97. package/dist/index.mjs +4830 -4272
  98. package/dist/index.mjs.map +1 -1
  99. package/package.json +7 -3
@@ -142,38 +142,35 @@ export declare const whatsappContract: {
142
142
  additionalCredentials: z.ZodOptional<z.ZodAny>;
143
143
  senderId: z.ZodOptional<z.ZodString>;
144
144
  whatsapp: z.ZodOptional<z.ZodObject<{
145
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
147
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
148
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
149
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
150
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
145
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
146
+ wabaExternalId: z.ZodString;
147
+ phoneNumberId: z.ZodString;
148
+ email: z.ZodString;
149
+ clientId: z.ZodOptional<z.ZodString>;
150
+ channelId: z.ZodOptional<z.ZodString>;
151
151
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
152
152
  apiKey: z.ZodOptional<z.ZodString>;
153
153
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
154
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
155
154
  }, "strip", z.ZodTypeAny, {
156
- wabaBusinessId?: string | null | undefined;
157
- wabaExternalId?: string | null | undefined;
158
- phoneNumberId?: string | null | undefined;
159
- email?: string | null | undefined;
160
- clientId?: string | null | undefined;
161
- channelId?: string | null | undefined;
155
+ email: string;
156
+ wabaExternalId: string;
157
+ phoneNumberId: string;
158
+ wabaBusinessId?: string | undefined;
159
+ clientId?: string | undefined;
160
+ channelId?: string | undefined;
162
161
  status?: "active" | "pending" | undefined;
163
162
  apiKey?: string | undefined;
164
163
  tier?: "basic" | "regular" | "premium" | undefined;
165
- integrationType?: "meta" | "360dialog" | undefined;
166
164
  }, {
167
- wabaBusinessId?: string | null | undefined;
168
- wabaExternalId?: string | null | undefined;
169
- phoneNumberId?: string | null | undefined;
170
- email?: string | null | undefined;
171
- clientId?: string | null | undefined;
172
- channelId?: string | null | undefined;
165
+ email: string;
166
+ wabaExternalId: string;
167
+ phoneNumberId: string;
168
+ wabaBusinessId?: string | undefined;
169
+ clientId?: string | undefined;
170
+ channelId?: string | undefined;
173
171
  status?: "active" | "pending" | undefined;
174
172
  apiKey?: string | undefined;
175
173
  tier?: "basic" | "regular" | "premium" | undefined;
176
- integrationType?: "meta" | "360dialog" | undefined;
177
174
  }>>;
178
175
  vonageCredentials: z.ZodOptional<z.ZodObject<{
179
176
  mobileNumber: z.ZodString;
@@ -198,16 +195,15 @@ export declare const whatsappContract: {
198
195
  additionalCredentials?: any;
199
196
  senderId?: string | undefined;
200
197
  whatsapp?: {
201
- wabaBusinessId?: string | null | undefined;
202
- wabaExternalId?: string | null | undefined;
203
- phoneNumberId?: string | null | undefined;
204
- email?: string | null | undefined;
205
- clientId?: string | null | undefined;
206
- channelId?: string | null | undefined;
198
+ email: string;
199
+ wabaExternalId: string;
200
+ phoneNumberId: string;
201
+ wabaBusinessId?: string | undefined;
202
+ clientId?: string | undefined;
203
+ channelId?: string | undefined;
207
204
  status?: "active" | "pending" | undefined;
208
205
  apiKey?: string | undefined;
209
206
  tier?: "basic" | "regular" | "premium" | undefined;
210
- integrationType?: "meta" | "360dialog" | undefined;
211
207
  } | undefined;
212
208
  vonageCredentials?: {
213
209
  apiKey: string;
@@ -224,16 +220,15 @@ export declare const whatsappContract: {
224
220
  additionalCredentials?: any;
225
221
  senderId?: string | undefined;
226
222
  whatsapp?: {
227
- wabaBusinessId?: string | null | undefined;
228
- wabaExternalId?: string | null | undefined;
229
- phoneNumberId?: string | null | undefined;
230
- email?: string | null | undefined;
231
- clientId?: string | null | undefined;
232
- channelId?: string | null | undefined;
223
+ email: string;
224
+ wabaExternalId: string;
225
+ phoneNumberId: string;
226
+ wabaBusinessId?: string | undefined;
227
+ clientId?: string | undefined;
228
+ channelId?: string | undefined;
233
229
  status?: "active" | "pending" | undefined;
234
230
  apiKey?: string | undefined;
235
231
  tier?: "basic" | "regular" | "premium" | undefined;
236
- integrationType?: "meta" | "360dialog" | undefined;
237
232
  } | undefined;
238
233
  vonageCredentials?: {
239
234
  apiKey: string;
@@ -280,16 +275,15 @@ export declare const whatsappContract: {
280
275
  additionalCredentials?: any;
281
276
  senderId?: string | undefined;
282
277
  whatsapp?: {
283
- wabaBusinessId?: string | null | undefined;
284
- wabaExternalId?: string | null | undefined;
285
- phoneNumberId?: string | null | undefined;
286
- email?: string | null | undefined;
287
- clientId?: string | null | undefined;
288
- channelId?: string | null | undefined;
278
+ email: string;
279
+ wabaExternalId: string;
280
+ phoneNumberId: string;
281
+ wabaBusinessId?: string | undefined;
282
+ clientId?: string | undefined;
283
+ channelId?: string | undefined;
289
284
  status?: "active" | "pending" | undefined;
290
285
  apiKey?: string | undefined;
291
286
  tier?: "basic" | "regular" | "premium" | undefined;
292
- integrationType?: "meta" | "360dialog" | undefined;
293
287
  } | undefined;
294
288
  vonageCredentials?: {
295
289
  apiKey: string;
@@ -324,16 +318,15 @@ export declare const whatsappContract: {
324
318
  additionalCredentials?: any;
325
319
  senderId?: string | undefined;
326
320
  whatsapp?: {
327
- wabaBusinessId?: string | null | undefined;
328
- wabaExternalId?: string | null | undefined;
329
- phoneNumberId?: string | null | undefined;
330
- email?: string | null | undefined;
331
- clientId?: string | null | undefined;
332
- channelId?: string | null | undefined;
321
+ email: string;
322
+ wabaExternalId: string;
323
+ phoneNumberId: string;
324
+ wabaBusinessId?: string | undefined;
325
+ clientId?: string | undefined;
326
+ channelId?: string | undefined;
333
327
  status?: "active" | "pending" | undefined;
334
328
  apiKey?: string | undefined;
335
329
  tier?: "basic" | "regular" | "premium" | undefined;
336
- integrationType?: "meta" | "360dialog" | undefined;
337
330
  } | undefined;
338
331
  vonageCredentials?: {
339
332
  apiKey: string;
@@ -373,16 +366,15 @@ export declare const whatsappContract: {
373
366
  additionalCredentials?: any;
374
367
  senderId?: string | undefined;
375
368
  whatsapp?: {
376
- wabaBusinessId?: string | null | undefined;
377
- wabaExternalId?: string | null | undefined;
378
- phoneNumberId?: string | null | undefined;
379
- email?: string | null | undefined;
380
- clientId?: string | null | undefined;
381
- channelId?: string | null | undefined;
369
+ email: string;
370
+ wabaExternalId: string;
371
+ phoneNumberId: string;
372
+ wabaBusinessId?: string | undefined;
373
+ clientId?: string | undefined;
374
+ channelId?: string | undefined;
382
375
  status?: "active" | "pending" | undefined;
383
376
  apiKey?: string | undefined;
384
377
  tier?: "basic" | "regular" | "premium" | undefined;
385
- integrationType?: "meta" | "360dialog" | undefined;
386
378
  } | undefined;
387
379
  vonageCredentials?: {
388
380
  apiKey: string;
@@ -461,16 +453,15 @@ export declare const whatsappContract: {
461
453
  additionalCredentials?: any;
462
454
  senderId?: string | undefined;
463
455
  whatsapp?: {
464
- wabaBusinessId?: string | null | undefined;
465
- wabaExternalId?: string | null | undefined;
466
- phoneNumberId?: string | null | undefined;
467
- email?: string | null | undefined;
468
- clientId?: string | null | undefined;
469
- channelId?: string | null | undefined;
456
+ email: string;
457
+ wabaExternalId: string;
458
+ phoneNumberId: string;
459
+ wabaBusinessId?: string | undefined;
460
+ clientId?: string | undefined;
461
+ channelId?: string | undefined;
470
462
  status?: "active" | "pending" | undefined;
471
463
  apiKey?: string | undefined;
472
464
  tier?: "basic" | "regular" | "premium" | undefined;
473
- integrationType?: "meta" | "360dialog" | undefined;
474
465
  } | undefined;
475
466
  vonageCredentials?: {
476
467
  apiKey: string;
@@ -540,7 +531,7 @@ export declare const whatsappContract: {
540
531
  id: z.ZodOptional<z.ZodString>;
541
532
  message: z.ZodOptional<z.ZodString>;
542
533
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
543
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
534
+ 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"]>;
544
535
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
545
536
  metadata: z.ZodOptional<z.ZodAny>;
546
537
  platformId: z.ZodOptional<z.ZodString>;
@@ -596,7 +587,7 @@ export declare const whatsappContract: {
596
587
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
597
588
  label: z.ZodOptional<z.ZodString>;
598
589
  }, "strip", z.ZodTypeAny, {
599
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
590
+ 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";
600
591
  direction: "incoming" | "outgoing" | "system";
601
592
  id?: string | undefined;
602
593
  message?: string | undefined;
@@ -631,7 +622,7 @@ export declare const whatsappContract: {
631
622
  editedAt?: string | Date | null | undefined;
632
623
  label?: string | undefined;
633
624
  }, {
634
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
625
+ 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";
635
626
  direction: "incoming" | "outgoing" | "system";
636
627
  id?: string | undefined;
637
628
  message?: string | undefined;
@@ -668,7 +659,7 @@ export declare const whatsappContract: {
668
659
  }>;
669
660
  }, "strip", z.ZodTypeAny, {
670
661
  message: {
671
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
662
+ 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";
672
663
  direction: "incoming" | "outgoing" | "system";
673
664
  id?: string | undefined;
674
665
  message?: string | undefined;
@@ -717,16 +708,15 @@ export declare const whatsappContract: {
717
708
  additionalCredentials?: any;
718
709
  senderId?: string | undefined;
719
710
  whatsapp?: {
720
- wabaBusinessId?: string | null | undefined;
721
- wabaExternalId?: string | null | undefined;
722
- phoneNumberId?: string | null | undefined;
723
- email?: string | null | undefined;
724
- clientId?: string | null | undefined;
725
- channelId?: string | null | undefined;
711
+ email: string;
712
+ wabaExternalId: string;
713
+ phoneNumberId: string;
714
+ wabaBusinessId?: string | undefined;
715
+ clientId?: string | undefined;
716
+ channelId?: string | undefined;
726
717
  status?: "active" | "pending" | undefined;
727
718
  apiKey?: string | undefined;
728
719
  tier?: "basic" | "regular" | "premium" | undefined;
729
- integrationType?: "meta" | "360dialog" | undefined;
730
720
  } | undefined;
731
721
  vonageCredentials?: {
732
722
  apiKey: string;
@@ -795,7 +785,7 @@ export declare const whatsappContract: {
795
785
  isBot: boolean | null;
796
786
  }, {
797
787
  message: {
798
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
788
+ 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";
799
789
  direction: "incoming" | "outgoing" | "system";
800
790
  id?: string | undefined;
801
791
  message?: string | undefined;
@@ -844,16 +834,15 @@ export declare const whatsappContract: {
844
834
  additionalCredentials?: any;
845
835
  senderId?: string | undefined;
846
836
  whatsapp?: {
847
- wabaBusinessId?: string | null | undefined;
848
- wabaExternalId?: string | null | undefined;
849
- phoneNumberId?: string | null | undefined;
850
- email?: string | null | undefined;
851
- clientId?: string | null | undefined;
852
- channelId?: string | null | undefined;
837
+ email: string;
838
+ wabaExternalId: string;
839
+ phoneNumberId: string;
840
+ wabaBusinessId?: string | undefined;
841
+ clientId?: string | undefined;
842
+ channelId?: string | undefined;
853
843
  status?: "active" | "pending" | undefined;
854
844
  apiKey?: string | undefined;
855
845
  tier?: "basic" | "regular" | "premium" | undefined;
856
- integrationType?: "meta" | "360dialog" | undefined;
857
846
  } | undefined;
858
847
  vonageCredentials?: {
859
848
  apiKey: string;
@@ -926,7 +915,7 @@ export declare const whatsappContract: {
926
915
  200: z.ZodObject<{
927
916
  requestId: z.ZodString;
928
917
  data: z.ZodObject<{
929
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
918
+ 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"]>;
930
919
  message: z.ZodString;
931
920
  id: z.ZodString;
932
921
  url: z.ZodString;
@@ -1151,9 +1140,10 @@ export declare const whatsappContract: {
1151
1140
  fileSize: z.ZodNumber;
1152
1141
  fileKey: z.ZodString;
1153
1142
  fileUrl: z.ZodNullable<z.ZodString>;
1154
- status: z.ZodOptional<z.ZodString>;
1143
+ status: z.ZodNullable<z.ZodString>;
1155
1144
  }, "strip", z.ZodTypeAny, {
1156
1145
  id: string;
1146
+ status: string | null;
1157
1147
  createdAt: Date;
1158
1148
  updatedAt: Date;
1159
1149
  deletedAt: Date | null;
@@ -1162,9 +1152,9 @@ export declare const whatsappContract: {
1162
1152
  bucketName: string;
1163
1153
  fileSize: number;
1164
1154
  fileUrl: string | null;
1165
- status?: string | undefined;
1166
1155
  }, {
1167
1156
  id: string;
1157
+ status: string | null;
1168
1158
  createdAt: Date;
1169
1159
  updatedAt: Date;
1170
1160
  deletedAt: Date | null;
@@ -1173,7 +1163,6 @@ export declare const whatsappContract: {
1173
1163
  bucketName: string;
1174
1164
  fileSize: number;
1175
1165
  fileUrl: string | null;
1176
- status?: string | undefined;
1177
1166
  }>;
1178
1167
  assignee: z.ZodObject<{
1179
1168
  id: z.ZodString;
@@ -1768,9 +1757,10 @@ export declare const whatsappContract: {
1768
1757
  fileSize: z.ZodNumber;
1769
1758
  fileKey: z.ZodString;
1770
1759
  fileUrl: z.ZodNullable<z.ZodString>;
1771
- status: z.ZodOptional<z.ZodString>;
1760
+ status: z.ZodNullable<z.ZodString>;
1772
1761
  }, "strip", z.ZodTypeAny, {
1773
1762
  id: string;
1763
+ status: string | null;
1774
1764
  createdAt: Date;
1775
1765
  updatedAt: Date;
1776
1766
  deletedAt: Date | null;
@@ -1779,9 +1769,9 @@ export declare const whatsappContract: {
1779
1769
  bucketName: string;
1780
1770
  fileSize: number;
1781
1771
  fileUrl: string | null;
1782
- status?: string | undefined;
1783
1772
  }, {
1784
1773
  id: string;
1774
+ status: string | null;
1785
1775
  createdAt: Date;
1786
1776
  updatedAt: Date;
1787
1777
  deletedAt: Date | null;
@@ -1790,7 +1780,6 @@ export declare const whatsappContract: {
1790
1780
  bucketName: string;
1791
1781
  fileSize: number;
1792
1782
  fileUrl: string | null;
1793
- status?: string | undefined;
1794
1783
  }>, "many">;
1795
1784
  }, "strip", z.ZodTypeAny, {
1796
1785
  id: string;
@@ -1817,6 +1806,7 @@ export declare const whatsappContract: {
1817
1806
  dateValue: Date | null;
1818
1807
  uploads: {
1819
1808
  id: string;
1809
+ status: string | null;
1820
1810
  createdAt: Date;
1821
1811
  updatedAt: Date;
1822
1812
  deletedAt: Date | null;
@@ -1825,7 +1815,6 @@ export declare const whatsappContract: {
1825
1815
  bucketName: string;
1826
1816
  fileSize: number;
1827
1817
  fileUrl: string | null;
1828
- status?: string | undefined;
1829
1818
  }[];
1830
1819
  }, {
1831
1820
  id: string;
@@ -1852,6 +1841,7 @@ export declare const whatsappContract: {
1852
1841
  dateValue: Date | null;
1853
1842
  uploads: {
1854
1843
  id: string;
1844
+ status: string | null;
1855
1845
  createdAt: Date;
1856
1846
  updatedAt: Date;
1857
1847
  deletedAt: Date | null;
@@ -1860,7 +1850,6 @@ export declare const whatsappContract: {
1860
1850
  bucketName: string;
1861
1851
  fileSize: number;
1862
1852
  fileUrl: string | null;
1863
- status?: string | undefined;
1864
1853
  }[];
1865
1854
  }>, "many">;
1866
1855
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -2000,6 +1989,7 @@ export declare const whatsappContract: {
2000
1989
  dateValue: Date | null;
2001
1990
  uploads: {
2002
1991
  id: string;
1992
+ status: string | null;
2003
1993
  createdAt: Date;
2004
1994
  updatedAt: Date;
2005
1995
  deletedAt: Date | null;
@@ -2008,7 +1998,6 @@ export declare const whatsappContract: {
2008
1998
  bucketName: string;
2009
1999
  fileSize: number;
2010
2000
  fileUrl: string | null;
2011
- status?: string | undefined;
2012
2001
  }[];
2013
2002
  }[];
2014
2003
  company: {
@@ -2111,6 +2100,7 @@ export declare const whatsappContract: {
2111
2100
  dateValue: Date | null;
2112
2101
  uploads: {
2113
2102
  id: string;
2103
+ status: string | null;
2114
2104
  createdAt: Date;
2115
2105
  updatedAt: Date;
2116
2106
  deletedAt: Date | null;
@@ -2119,7 +2109,6 @@ export declare const whatsappContract: {
2119
2109
  bucketName: string;
2120
2110
  fileSize: number;
2121
2111
  fileUrl: string | null;
2122
- status?: string | undefined;
2123
2112
  }[];
2124
2113
  }[];
2125
2114
  company: {
@@ -2235,6 +2224,7 @@ export declare const whatsappContract: {
2235
2224
  dateValue: Date | null;
2236
2225
  uploads: {
2237
2226
  id: string;
2227
+ status: string | null;
2238
2228
  createdAt: Date;
2239
2229
  updatedAt: Date;
2240
2230
  deletedAt: Date | null;
@@ -2243,7 +2233,6 @@ export declare const whatsappContract: {
2243
2233
  bucketName: string;
2244
2234
  fileSize: number;
2245
2235
  fileUrl: string | null;
2246
- status?: string | undefined;
2247
2236
  }[];
2248
2237
  }[];
2249
2238
  company: {
@@ -2361,6 +2350,7 @@ export declare const whatsappContract: {
2361
2350
  dateValue: Date | null;
2362
2351
  uploads: {
2363
2352
  id: string;
2353
+ status: string | null;
2364
2354
  createdAt: Date;
2365
2355
  updatedAt: Date;
2366
2356
  deletedAt: Date | null;
@@ -2369,7 +2359,6 @@ export declare const whatsappContract: {
2369
2359
  bucketName: string;
2370
2360
  fileSize: number;
2371
2361
  fileUrl: string | null;
2372
- status?: string | undefined;
2373
2362
  }[];
2374
2363
  }[];
2375
2364
  company: {
@@ -2866,38 +2855,35 @@ export declare const whatsappContract: {
2866
2855
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2867
2856
  senderId: z.ZodOptional<z.ZodString>;
2868
2857
  whatsapp: z.ZodOptional<z.ZodObject<{
2869
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2870
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2871
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2872
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2873
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2874
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2858
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
2859
+ wabaExternalId: z.ZodString;
2860
+ phoneNumberId: z.ZodString;
2861
+ email: z.ZodString;
2862
+ clientId: z.ZodOptional<z.ZodString>;
2863
+ channelId: z.ZodOptional<z.ZodString>;
2875
2864
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2876
2865
  apiKey: z.ZodOptional<z.ZodString>;
2877
2866
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2878
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2879
2867
  }, "strip", z.ZodTypeAny, {
2880
- wabaBusinessId?: string | null | undefined;
2881
- wabaExternalId?: string | null | undefined;
2882
- phoneNumberId?: string | null | undefined;
2883
- email?: string | null | undefined;
2884
- clientId?: string | null | undefined;
2885
- channelId?: string | null | undefined;
2868
+ email: string;
2869
+ wabaExternalId: string;
2870
+ phoneNumberId: string;
2871
+ wabaBusinessId?: string | undefined;
2872
+ clientId?: string | undefined;
2873
+ channelId?: string | undefined;
2886
2874
  status?: "active" | "pending" | undefined;
2887
2875
  apiKey?: string | undefined;
2888
2876
  tier?: "basic" | "regular" | "premium" | undefined;
2889
- integrationType?: "meta" | "360dialog" | undefined;
2890
2877
  }, {
2891
- wabaBusinessId?: string | null | undefined;
2892
- wabaExternalId?: string | null | undefined;
2893
- phoneNumberId?: string | null | undefined;
2894
- email?: string | null | undefined;
2895
- clientId?: string | null | undefined;
2896
- channelId?: string | null | undefined;
2878
+ email: string;
2879
+ wabaExternalId: string;
2880
+ phoneNumberId: string;
2881
+ wabaBusinessId?: string | undefined;
2882
+ clientId?: string | undefined;
2883
+ channelId?: string | undefined;
2897
2884
  status?: "active" | "pending" | undefined;
2898
2885
  apiKey?: string | undefined;
2899
2886
  tier?: "basic" | "regular" | "premium" | undefined;
2900
- integrationType?: "meta" | "360dialog" | undefined;
2901
2887
  }>>;
2902
2888
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2903
2889
  mobileNumber: z.ZodString;
@@ -2922,16 +2908,15 @@ export declare const whatsappContract: {
2922
2908
  additionalCredentials?: any;
2923
2909
  senderId?: string | undefined;
2924
2910
  whatsapp?: {
2925
- wabaBusinessId?: string | null | undefined;
2926
- wabaExternalId?: string | null | undefined;
2927
- phoneNumberId?: string | null | undefined;
2928
- email?: string | null | undefined;
2929
- clientId?: string | null | undefined;
2930
- channelId?: string | null | undefined;
2911
+ email: string;
2912
+ wabaExternalId: string;
2913
+ phoneNumberId: string;
2914
+ wabaBusinessId?: string | undefined;
2915
+ clientId?: string | undefined;
2916
+ channelId?: string | undefined;
2931
2917
  status?: "active" | "pending" | undefined;
2932
2918
  apiKey?: string | undefined;
2933
2919
  tier?: "basic" | "regular" | "premium" | undefined;
2934
- integrationType?: "meta" | "360dialog" | undefined;
2935
2920
  } | undefined;
2936
2921
  vonageCredentials?: {
2937
2922
  apiKey: string;
@@ -2948,16 +2933,15 @@ export declare const whatsappContract: {
2948
2933
  additionalCredentials?: any;
2949
2934
  senderId?: string | undefined;
2950
2935
  whatsapp?: {
2951
- wabaBusinessId?: string | null | undefined;
2952
- wabaExternalId?: string | null | undefined;
2953
- phoneNumberId?: string | null | undefined;
2954
- email?: string | null | undefined;
2955
- clientId?: string | null | undefined;
2956
- channelId?: string | null | undefined;
2936
+ email: string;
2937
+ wabaExternalId: string;
2938
+ phoneNumberId: string;
2939
+ wabaBusinessId?: string | undefined;
2940
+ clientId?: string | undefined;
2941
+ channelId?: string | undefined;
2957
2942
  status?: "active" | "pending" | undefined;
2958
2943
  apiKey?: string | undefined;
2959
2944
  tier?: "basic" | "regular" | "premium" | undefined;
2960
- integrationType?: "meta" | "360dialog" | undefined;
2961
2945
  } | undefined;
2962
2946
  vonageCredentials?: {
2963
2947
  apiKey: string;
@@ -3208,16 +3192,15 @@ export declare const whatsappContract: {
3208
3192
  additionalCredentials?: any;
3209
3193
  senderId?: string | undefined;
3210
3194
  whatsapp?: {
3211
- wabaBusinessId?: string | null | undefined;
3212
- wabaExternalId?: string | null | undefined;
3213
- phoneNumberId?: string | null | undefined;
3214
- email?: string | null | undefined;
3215
- clientId?: string | null | undefined;
3216
- channelId?: string | null | undefined;
3195
+ email: string;
3196
+ wabaExternalId: string;
3197
+ phoneNumberId: string;
3198
+ wabaBusinessId?: string | undefined;
3199
+ clientId?: string | undefined;
3200
+ channelId?: string | undefined;
3217
3201
  status?: "active" | "pending" | undefined;
3218
3202
  apiKey?: string | undefined;
3219
3203
  tier?: "basic" | "regular" | "premium" | undefined;
3220
- integrationType?: "meta" | "360dialog" | undefined;
3221
3204
  } | undefined;
3222
3205
  vonageCredentials?: {
3223
3206
  apiKey: string;
@@ -3299,16 +3282,15 @@ export declare const whatsappContract: {
3299
3282
  additionalCredentials?: any;
3300
3283
  senderId?: string | undefined;
3301
3284
  whatsapp?: {
3302
- wabaBusinessId?: string | null | undefined;
3303
- wabaExternalId?: string | null | undefined;
3304
- phoneNumberId?: string | null | undefined;
3305
- email?: string | null | undefined;
3306
- clientId?: string | null | undefined;
3307
- channelId?: string | null | undefined;
3285
+ email: string;
3286
+ wabaExternalId: string;
3287
+ phoneNumberId: string;
3288
+ wabaBusinessId?: string | undefined;
3289
+ clientId?: string | undefined;
3290
+ channelId?: string | undefined;
3308
3291
  status?: "active" | "pending" | undefined;
3309
3292
  apiKey?: string | undefined;
3310
3293
  tier?: "basic" | "regular" | "premium" | undefined;
3311
- integrationType?: "meta" | "360dialog" | undefined;
3312
3294
  } | undefined;
3313
3295
  vonageCredentials?: {
3314
3296
  apiKey: string;
@@ -3393,8 +3375,12 @@ export declare const whatsappContract: {
3393
3375
  agentId: z.ZodNullable<z.ZodString>;
3394
3376
  direction: z.ZodNullable<z.ZodString>;
3395
3377
  startedDate: z.ZodNullable<z.ZodDate>;
3378
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
3396
3379
  handledTime: z.ZodNullable<z.ZodNumber>;
3380
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
3397
3381
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
3382
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
3383
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
3398
3384
  wrapUpForm: z.ZodNullable<z.ZodObject<{
3399
3385
  id: z.ZodString;
3400
3386
  createdAt: z.ZodDate;
@@ -3661,6 +3647,74 @@ export declare const whatsappContract: {
3661
3647
  dateValue: Date | null;
3662
3648
  }[] | null | undefined;
3663
3649
  }>>;
3650
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3651
+ id: z.ZodString;
3652
+ createdAt: z.ZodDate;
3653
+ updatedAt: z.ZodDate;
3654
+ deletedAt: z.ZodNullable<z.ZodDate>;
3655
+ startedAt: z.ZodString;
3656
+ endedAt: z.ZodNullable<z.ZodString>;
3657
+ duration: z.ZodNullable<z.ZodNumber>;
3658
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3659
+ id: z.ZodString;
3660
+ createdAt: z.ZodDate;
3661
+ updatedAt: z.ZodDate;
3662
+ deletedAt: z.ZodNullable<z.ZodDate>;
3663
+ name: z.ZodString;
3664
+ position: z.ZodNumber;
3665
+ isDefault: z.ZodDefault<z.ZodBoolean>;
3666
+ }, "strip", z.ZodTypeAny, {
3667
+ name: string;
3668
+ id: string;
3669
+ position: number;
3670
+ createdAt: Date;
3671
+ updatedAt: Date;
3672
+ deletedAt: Date | null;
3673
+ isDefault: boolean;
3674
+ }, {
3675
+ name: string;
3676
+ id: string;
3677
+ position: number;
3678
+ createdAt: Date;
3679
+ updatedAt: Date;
3680
+ deletedAt: Date | null;
3681
+ isDefault?: boolean | undefined;
3682
+ }>>>;
3683
+ }, "strip", z.ZodTypeAny, {
3684
+ id: string;
3685
+ createdAt: Date;
3686
+ updatedAt: Date;
3687
+ deletedAt: Date | null;
3688
+ startedAt: string;
3689
+ endedAt: string | null;
3690
+ duration: number | null;
3691
+ holdLabel?: {
3692
+ name: string;
3693
+ id: string;
3694
+ position: number;
3695
+ createdAt: Date;
3696
+ updatedAt: Date;
3697
+ deletedAt: Date | null;
3698
+ isDefault: boolean;
3699
+ } | null | undefined;
3700
+ }, {
3701
+ id: string;
3702
+ createdAt: Date;
3703
+ updatedAt: Date;
3704
+ deletedAt: Date | null;
3705
+ startedAt: string;
3706
+ endedAt: string | null;
3707
+ duration: number | null;
3708
+ holdLabel?: {
3709
+ name: string;
3710
+ id: string;
3711
+ position: number;
3712
+ createdAt: Date;
3713
+ updatedAt: Date;
3714
+ deletedAt: Date | null;
3715
+ isDefault?: boolean | undefined;
3716
+ } | null | undefined;
3717
+ }>, "many">>>;
3664
3718
  }, "strip", z.ZodTypeAny, {
3665
3719
  id: string;
3666
3720
  channel: string | null;
@@ -3675,8 +3729,12 @@ export declare const whatsappContract: {
3675
3729
  entityName: string;
3676
3730
  agentId: string | null;
3677
3731
  startedDate: Date | null;
3732
+ totalHoldDuration: number | null;
3678
3733
  handledTime: number | null;
3734
+ fullHandledTime: number | null;
3679
3735
  firstResponseTime: number | null;
3736
+ resolutionTime: number | null;
3737
+ fullResolutionTime: number | null;
3680
3738
  wrapUpForm: {
3681
3739
  type: string;
3682
3740
  id: string;
@@ -3729,6 +3787,24 @@ export declare const whatsappContract: {
3729
3787
  dateValue: Date | null;
3730
3788
  }[] | null | undefined;
3731
3789
  } | null;
3790
+ holdLogs?: {
3791
+ id: string;
3792
+ createdAt: Date;
3793
+ updatedAt: Date;
3794
+ deletedAt: Date | null;
3795
+ startedAt: string;
3796
+ endedAt: string | null;
3797
+ duration: number | null;
3798
+ holdLabel?: {
3799
+ name: string;
3800
+ id: string;
3801
+ position: number;
3802
+ createdAt: Date;
3803
+ updatedAt: Date;
3804
+ deletedAt: Date | null;
3805
+ isDefault: boolean;
3806
+ } | null | undefined;
3807
+ }[] | null | undefined;
3732
3808
  }, {
3733
3809
  id: string;
3734
3810
  channel: string | null;
@@ -3743,8 +3819,12 @@ export declare const whatsappContract: {
3743
3819
  entityName: string;
3744
3820
  agentId: string | null;
3745
3821
  startedDate: Date | null;
3822
+ totalHoldDuration: number | null;
3746
3823
  handledTime: number | null;
3824
+ fullHandledTime: number | null;
3747
3825
  firstResponseTime: number | null;
3826
+ resolutionTime: number | null;
3827
+ fullResolutionTime: number | null;
3748
3828
  wrapUpForm: {
3749
3829
  type: string;
3750
3830
  id: string;
@@ -3797,6 +3877,24 @@ export declare const whatsappContract: {
3797
3877
  dateValue: Date | null;
3798
3878
  }[] | null | undefined;
3799
3879
  } | null;
3880
+ holdLogs?: {
3881
+ id: string;
3882
+ createdAt: Date;
3883
+ updatedAt: Date;
3884
+ deletedAt: Date | null;
3885
+ startedAt: string;
3886
+ endedAt: string | null;
3887
+ duration: number | null;
3888
+ holdLabel?: {
3889
+ name: string;
3890
+ id: string;
3891
+ position: number;
3892
+ createdAt: Date;
3893
+ updatedAt: Date;
3894
+ deletedAt: Date | null;
3895
+ isDefault?: boolean | undefined;
3896
+ } | null | undefined;
3897
+ }[] | null | undefined;
3800
3898
  }>;
3801
3899
  workflowRule: z.ZodObject<{
3802
3900
  id: z.ZodString;
@@ -3838,16 +3936,15 @@ export declare const whatsappContract: {
3838
3936
  additionalCredentials?: any;
3839
3937
  senderId?: string | undefined;
3840
3938
  whatsapp?: {
3841
- wabaBusinessId?: string | null | undefined;
3842
- wabaExternalId?: string | null | undefined;
3843
- phoneNumberId?: string | null | undefined;
3844
- email?: string | null | undefined;
3845
- clientId?: string | null | undefined;
3846
- channelId?: string | null | undefined;
3939
+ email: string;
3940
+ wabaExternalId: string;
3941
+ phoneNumberId: string;
3942
+ wabaBusinessId?: string | undefined;
3943
+ clientId?: string | undefined;
3944
+ channelId?: string | undefined;
3847
3945
  status?: "active" | "pending" | undefined;
3848
3946
  apiKey?: string | undefined;
3849
3947
  tier?: "basic" | "regular" | "premium" | undefined;
3850
- integrationType?: "meta" | "360dialog" | undefined;
3851
3948
  } | undefined;
3852
3949
  vonageCredentials?: {
3853
3950
  apiKey: string;
@@ -4018,6 +4115,7 @@ export declare const whatsappContract: {
4018
4115
  dateValue: Date | null;
4019
4116
  uploads: {
4020
4117
  id: string;
4118
+ status: string | null;
4021
4119
  createdAt: Date;
4022
4120
  updatedAt: Date;
4023
4121
  deletedAt: Date | null;
@@ -4026,7 +4124,6 @@ export declare const whatsappContract: {
4026
4124
  bucketName: string;
4027
4125
  fileSize: number;
4028
4126
  fileUrl: string | null;
4029
- status?: string | undefined;
4030
4127
  }[];
4031
4128
  }[];
4032
4129
  company: {
@@ -4161,8 +4258,12 @@ export declare const whatsappContract: {
4161
4258
  entityName: string;
4162
4259
  agentId: string | null;
4163
4260
  startedDate: Date | null;
4261
+ totalHoldDuration: number | null;
4164
4262
  handledTime: number | null;
4263
+ fullHandledTime: number | null;
4165
4264
  firstResponseTime: number | null;
4265
+ resolutionTime: number | null;
4266
+ fullResolutionTime: number | null;
4166
4267
  wrapUpForm: {
4167
4268
  type: string;
4168
4269
  id: string;
@@ -4215,6 +4316,24 @@ export declare const whatsappContract: {
4215
4316
  dateValue: Date | null;
4216
4317
  }[] | null | undefined;
4217
4318
  } | null;
4319
+ holdLogs?: {
4320
+ id: string;
4321
+ createdAt: Date;
4322
+ updatedAt: Date;
4323
+ deletedAt: Date | null;
4324
+ startedAt: string;
4325
+ endedAt: string | null;
4326
+ duration: number | null;
4327
+ holdLabel?: {
4328
+ name: string;
4329
+ id: string;
4330
+ position: number;
4331
+ createdAt: Date;
4332
+ updatedAt: Date;
4333
+ deletedAt: Date | null;
4334
+ isDefault: boolean;
4335
+ } | null | undefined;
4336
+ }[] | null | undefined;
4218
4337
  };
4219
4338
  workflowRule: {
4220
4339
  name: string;
@@ -4240,16 +4359,15 @@ export declare const whatsappContract: {
4240
4359
  additionalCredentials?: any;
4241
4360
  senderId?: string | undefined;
4242
4361
  whatsapp?: {
4243
- wabaBusinessId?: string | null | undefined;
4244
- wabaExternalId?: string | null | undefined;
4245
- phoneNumberId?: string | null | undefined;
4246
- email?: string | null | undefined;
4247
- clientId?: string | null | undefined;
4248
- channelId?: string | null | undefined;
4362
+ email: string;
4363
+ wabaExternalId: string;
4364
+ phoneNumberId: string;
4365
+ wabaBusinessId?: string | undefined;
4366
+ clientId?: string | undefined;
4367
+ channelId?: string | undefined;
4249
4368
  status?: "active" | "pending" | undefined;
4250
4369
  apiKey?: string | undefined;
4251
4370
  tier?: "basic" | "regular" | "premium" | undefined;
4252
- integrationType?: "meta" | "360dialog" | undefined;
4253
4371
  } | undefined;
4254
4372
  vonageCredentials?: {
4255
4373
  apiKey: string;
@@ -4420,6 +4538,7 @@ export declare const whatsappContract: {
4420
4538
  dateValue: Date | null;
4421
4539
  uploads: {
4422
4540
  id: string;
4541
+ status: string | null;
4423
4542
  createdAt: Date;
4424
4543
  updatedAt: Date;
4425
4544
  deletedAt: Date | null;
@@ -4428,7 +4547,6 @@ export declare const whatsappContract: {
4428
4547
  bucketName: string;
4429
4548
  fileSize: number;
4430
4549
  fileUrl: string | null;
4431
- status?: string | undefined;
4432
4550
  }[];
4433
4551
  }[];
4434
4552
  company: {
@@ -4563,8 +4681,12 @@ export declare const whatsappContract: {
4563
4681
  entityName: string;
4564
4682
  agentId: string | null;
4565
4683
  startedDate: Date | null;
4684
+ totalHoldDuration: number | null;
4566
4685
  handledTime: number | null;
4686
+ fullHandledTime: number | null;
4567
4687
  firstResponseTime: number | null;
4688
+ resolutionTime: number | null;
4689
+ fullResolutionTime: number | null;
4568
4690
  wrapUpForm: {
4569
4691
  type: string;
4570
4692
  id: string;
@@ -4617,6 +4739,24 @@ export declare const whatsappContract: {
4617
4739
  dateValue: Date | null;
4618
4740
  }[] | null | undefined;
4619
4741
  } | null;
4742
+ holdLogs?: {
4743
+ id: string;
4744
+ createdAt: Date;
4745
+ updatedAt: Date;
4746
+ deletedAt: Date | null;
4747
+ startedAt: string;
4748
+ endedAt: string | null;
4749
+ duration: number | null;
4750
+ holdLabel?: {
4751
+ name: string;
4752
+ id: string;
4753
+ position: number;
4754
+ createdAt: Date;
4755
+ updatedAt: Date;
4756
+ deletedAt: Date | null;
4757
+ isDefault?: boolean | undefined;
4758
+ } | null | undefined;
4759
+ }[] | null | undefined;
4620
4760
  };
4621
4761
  workflowRule: {
4622
4762
  name: string;
@@ -4667,7 +4807,7 @@ export declare const whatsappContract: {
4667
4807
  deletedAt: z.ZodNullable<z.ZodDate>;
4668
4808
  message: z.ZodString;
4669
4809
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4670
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
4810
+ 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"]>;
4671
4811
  readAt: z.ZodDate;
4672
4812
  metadata: z.ZodAny;
4673
4813
  platformId: z.ZodString;
@@ -4688,9 +4828,10 @@ export declare const whatsappContract: {
4688
4828
  fileSize: z.ZodNumber;
4689
4829
  fileKey: z.ZodString;
4690
4830
  fileUrl: z.ZodNullable<z.ZodString>;
4691
- status: z.ZodOptional<z.ZodString>;
4831
+ status: z.ZodNullable<z.ZodString>;
4692
4832
  }, "strip", z.ZodTypeAny, {
4693
4833
  id: string;
4834
+ status: string | null;
4694
4835
  createdAt: Date;
4695
4836
  updatedAt: Date;
4696
4837
  deletedAt: Date | null;
@@ -4699,9 +4840,9 @@ export declare const whatsappContract: {
4699
4840
  bucketName: string;
4700
4841
  fileSize: number;
4701
4842
  fileUrl: string | null;
4702
- status?: string | undefined;
4703
4843
  }, {
4704
4844
  id: string;
4845
+ status: string | null;
4705
4846
  createdAt: Date;
4706
4847
  updatedAt: Date;
4707
4848
  deletedAt: Date | null;
@@ -4710,7 +4851,6 @@ export declare const whatsappContract: {
4710
4851
  bucketName: string;
4711
4852
  fileSize: number;
4712
4853
  fileUrl: string | null;
4713
- status?: string | undefined;
4714
4854
  }>;
4715
4855
  actor: z.ZodObject<{
4716
4856
  id: z.ZodString;
@@ -5325,7 +5465,7 @@ export declare const whatsappContract: {
5325
5465
  };
5326
5466
  }>;
5327
5467
  }, "strip", z.ZodTypeAny, {
5328
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
5468
+ 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";
5329
5469
  message: string;
5330
5470
  id: string;
5331
5471
  url: string;
@@ -5379,6 +5519,7 @@ export declare const whatsappContract: {
5379
5519
  };
5380
5520
  upload: {
5381
5521
  id: string;
5522
+ status: string | null;
5382
5523
  createdAt: Date;
5383
5524
  updatedAt: Date;
5384
5525
  deletedAt: Date | null;
@@ -5387,7 +5528,6 @@ export declare const whatsappContract: {
5387
5528
  bucketName: string;
5388
5529
  fileSize: number;
5389
5530
  fileUrl: string | null;
5390
- status?: string | undefined;
5391
5531
  };
5392
5532
  assignee: {
5393
5533
  name: string;
@@ -5487,7 +5627,7 @@ export declare const whatsappContract: {
5487
5627
  metadata?: any;
5488
5628
  template?: any;
5489
5629
  }, {
5490
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
5630
+ 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";
5491
5631
  message: string;
5492
5632
  id: string;
5493
5633
  url: string;
@@ -5541,6 +5681,7 @@ export declare const whatsappContract: {
5541
5681
  };
5542
5682
  upload: {
5543
5683
  id: string;
5684
+ status: string | null;
5544
5685
  createdAt: Date;
5545
5686
  updatedAt: Date;
5546
5687
  deletedAt: Date | null;
@@ -5549,7 +5690,6 @@ export declare const whatsappContract: {
5549
5690
  bucketName: string;
5550
5691
  fileSize: number;
5551
5692
  fileUrl: string | null;
5552
- status?: string | undefined;
5553
5693
  };
5554
5694
  assignee: {
5555
5695
  name: string;
@@ -5861,7 +6001,7 @@ export declare const whatsappContract: {
5861
6001
  deletedAt: z.ZodNullable<z.ZodDate>;
5862
6002
  message: z.ZodString;
5863
6003
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5864
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
6004
+ 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"]>;
5865
6005
  readAt: z.ZodDate;
5866
6006
  metadata: z.ZodAny;
5867
6007
  platformId: z.ZodString;
@@ -6260,9 +6400,10 @@ export declare const whatsappContract: {
6260
6400
  fileSize: z.ZodNumber;
6261
6401
  fileKey: z.ZodString;
6262
6402
  fileUrl: z.ZodNullable<z.ZodString>;
6263
- status: z.ZodOptional<z.ZodString>;
6403
+ status: z.ZodNullable<z.ZodString>;
6264
6404
  }, "strip", z.ZodTypeAny, {
6265
6405
  id: string;
6406
+ status: string | null;
6266
6407
  createdAt: Date;
6267
6408
  updatedAt: Date;
6268
6409
  deletedAt: Date | null;
@@ -6271,9 +6412,9 @@ export declare const whatsappContract: {
6271
6412
  bucketName: string;
6272
6413
  fileSize: number;
6273
6414
  fileUrl: string | null;
6274
- status?: string | undefined;
6275
6415
  }, {
6276
6416
  id: string;
6417
+ status: string | null;
6277
6418
  createdAt: Date;
6278
6419
  updatedAt: Date;
6279
6420
  deletedAt: Date | null;
@@ -6282,7 +6423,6 @@ export declare const whatsappContract: {
6282
6423
  bucketName: string;
6283
6424
  fileSize: number;
6284
6425
  fileUrl: string | null;
6285
- status?: string | undefined;
6286
6426
  }>, "many">;
6287
6427
  }, "strip", z.ZodTypeAny, {
6288
6428
  id: string;
@@ -6309,6 +6449,7 @@ export declare const whatsappContract: {
6309
6449
  dateValue: Date | null;
6310
6450
  uploads: {
6311
6451
  id: string;
6452
+ status: string | null;
6312
6453
  createdAt: Date;
6313
6454
  updatedAt: Date;
6314
6455
  deletedAt: Date | null;
@@ -6317,7 +6458,6 @@ export declare const whatsappContract: {
6317
6458
  bucketName: string;
6318
6459
  fileSize: number;
6319
6460
  fileUrl: string | null;
6320
- status?: string | undefined;
6321
6461
  }[];
6322
6462
  }, {
6323
6463
  id: string;
@@ -6344,6 +6484,7 @@ export declare const whatsappContract: {
6344
6484
  dateValue: Date | null;
6345
6485
  uploads: {
6346
6486
  id: string;
6487
+ status: string | null;
6347
6488
  createdAt: Date;
6348
6489
  updatedAt: Date;
6349
6490
  deletedAt: Date | null;
@@ -6352,7 +6493,6 @@ export declare const whatsappContract: {
6352
6493
  bucketName: string;
6353
6494
  fileSize: number;
6354
6495
  fileUrl: string | null;
6355
- status?: string | undefined;
6356
6496
  }[];
6357
6497
  }>, "many">;
6358
6498
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6492,6 +6632,7 @@ export declare const whatsappContract: {
6492
6632
  dateValue: Date | null;
6493
6633
  uploads: {
6494
6634
  id: string;
6635
+ status: string | null;
6495
6636
  createdAt: Date;
6496
6637
  updatedAt: Date;
6497
6638
  deletedAt: Date | null;
@@ -6500,7 +6641,6 @@ export declare const whatsappContract: {
6500
6641
  bucketName: string;
6501
6642
  fileSize: number;
6502
6643
  fileUrl: string | null;
6503
- status?: string | undefined;
6504
6644
  }[];
6505
6645
  }[];
6506
6646
  company: {
@@ -6603,6 +6743,7 @@ export declare const whatsappContract: {
6603
6743
  dateValue: Date | null;
6604
6744
  uploads: {
6605
6745
  id: string;
6746
+ status: string | null;
6606
6747
  createdAt: Date;
6607
6748
  updatedAt: Date;
6608
6749
  deletedAt: Date | null;
@@ -6611,7 +6752,6 @@ export declare const whatsappContract: {
6611
6752
  bucketName: string;
6612
6753
  fileSize: number;
6613
6754
  fileUrl: string | null;
6614
- status?: string | undefined;
6615
6755
  }[];
6616
6756
  }[];
6617
6757
  company: {
@@ -6727,6 +6867,7 @@ export declare const whatsappContract: {
6727
6867
  dateValue: Date | null;
6728
6868
  uploads: {
6729
6869
  id: string;
6870
+ status: string | null;
6730
6871
  createdAt: Date;
6731
6872
  updatedAt: Date;
6732
6873
  deletedAt: Date | null;
@@ -6735,7 +6876,6 @@ export declare const whatsappContract: {
6735
6876
  bucketName: string;
6736
6877
  fileSize: number;
6737
6878
  fileUrl: string | null;
6738
- status?: string | undefined;
6739
6879
  }[];
6740
6880
  }[];
6741
6881
  company: {
@@ -6853,6 +6993,7 @@ export declare const whatsappContract: {
6853
6993
  dateValue: Date | null;
6854
6994
  uploads: {
6855
6995
  id: string;
6996
+ status: string | null;
6856
6997
  createdAt: Date;
6857
6998
  updatedAt: Date;
6858
6999
  deletedAt: Date | null;
@@ -6861,7 +7002,6 @@ export declare const whatsappContract: {
6861
7002
  bucketName: string;
6862
7003
  fileSize: number;
6863
7004
  fileUrl: string | null;
6864
- status?: string | undefined;
6865
7005
  }[];
6866
7006
  }[];
6867
7007
  company: {
@@ -7358,38 +7498,35 @@ export declare const whatsappContract: {
7358
7498
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7359
7499
  senderId: z.ZodOptional<z.ZodString>;
7360
7500
  whatsapp: z.ZodOptional<z.ZodObject<{
7361
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7362
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7363
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7364
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7365
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7366
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7501
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
7502
+ wabaExternalId: z.ZodString;
7503
+ phoneNumberId: z.ZodString;
7504
+ email: z.ZodString;
7505
+ clientId: z.ZodOptional<z.ZodString>;
7506
+ channelId: z.ZodOptional<z.ZodString>;
7367
7507
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7368
7508
  apiKey: z.ZodOptional<z.ZodString>;
7369
7509
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7370
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
7371
7510
  }, "strip", z.ZodTypeAny, {
7372
- wabaBusinessId?: string | null | undefined;
7373
- wabaExternalId?: string | null | undefined;
7374
- phoneNumberId?: string | null | undefined;
7375
- email?: string | null | undefined;
7376
- clientId?: string | null | undefined;
7377
- channelId?: string | null | undefined;
7511
+ email: string;
7512
+ wabaExternalId: string;
7513
+ phoneNumberId: string;
7514
+ wabaBusinessId?: string | undefined;
7515
+ clientId?: string | undefined;
7516
+ channelId?: string | undefined;
7378
7517
  status?: "active" | "pending" | undefined;
7379
7518
  apiKey?: string | undefined;
7380
7519
  tier?: "basic" | "regular" | "premium" | undefined;
7381
- integrationType?: "meta" | "360dialog" | undefined;
7382
7520
  }, {
7383
- wabaBusinessId?: string | null | undefined;
7384
- wabaExternalId?: string | null | undefined;
7385
- phoneNumberId?: string | null | undefined;
7386
- email?: string | null | undefined;
7387
- clientId?: string | null | undefined;
7388
- channelId?: string | null | undefined;
7521
+ email: string;
7522
+ wabaExternalId: string;
7523
+ phoneNumberId: string;
7524
+ wabaBusinessId?: string | undefined;
7525
+ clientId?: string | undefined;
7526
+ channelId?: string | undefined;
7389
7527
  status?: "active" | "pending" | undefined;
7390
7528
  apiKey?: string | undefined;
7391
7529
  tier?: "basic" | "regular" | "premium" | undefined;
7392
- integrationType?: "meta" | "360dialog" | undefined;
7393
7530
  }>>;
7394
7531
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7395
7532
  mobileNumber: z.ZodString;
@@ -7414,16 +7551,15 @@ export declare const whatsappContract: {
7414
7551
  additionalCredentials?: any;
7415
7552
  senderId?: string | undefined;
7416
7553
  whatsapp?: {
7417
- wabaBusinessId?: string | null | undefined;
7418
- wabaExternalId?: string | null | undefined;
7419
- phoneNumberId?: string | null | undefined;
7420
- email?: string | null | undefined;
7421
- clientId?: string | null | undefined;
7422
- channelId?: string | null | undefined;
7554
+ email: string;
7555
+ wabaExternalId: string;
7556
+ phoneNumberId: string;
7557
+ wabaBusinessId?: string | undefined;
7558
+ clientId?: string | undefined;
7559
+ channelId?: string | undefined;
7423
7560
  status?: "active" | "pending" | undefined;
7424
7561
  apiKey?: string | undefined;
7425
7562
  tier?: "basic" | "regular" | "premium" | undefined;
7426
- integrationType?: "meta" | "360dialog" | undefined;
7427
7563
  } | undefined;
7428
7564
  vonageCredentials?: {
7429
7565
  apiKey: string;
@@ -7440,16 +7576,15 @@ export declare const whatsappContract: {
7440
7576
  additionalCredentials?: any;
7441
7577
  senderId?: string | undefined;
7442
7578
  whatsapp?: {
7443
- wabaBusinessId?: string | null | undefined;
7444
- wabaExternalId?: string | null | undefined;
7445
- phoneNumberId?: string | null | undefined;
7446
- email?: string | null | undefined;
7447
- clientId?: string | null | undefined;
7448
- channelId?: string | null | undefined;
7579
+ email: string;
7580
+ wabaExternalId: string;
7581
+ phoneNumberId: string;
7582
+ wabaBusinessId?: string | undefined;
7583
+ clientId?: string | undefined;
7584
+ channelId?: string | undefined;
7449
7585
  status?: "active" | "pending" | undefined;
7450
7586
  apiKey?: string | undefined;
7451
7587
  tier?: "basic" | "regular" | "premium" | undefined;
7452
- integrationType?: "meta" | "360dialog" | undefined;
7453
7588
  } | undefined;
7454
7589
  vonageCredentials?: {
7455
7590
  apiKey: string;
@@ -7700,16 +7835,15 @@ export declare const whatsappContract: {
7700
7835
  additionalCredentials?: any;
7701
7836
  senderId?: string | undefined;
7702
7837
  whatsapp?: {
7703
- wabaBusinessId?: string | null | undefined;
7704
- wabaExternalId?: string | null | undefined;
7705
- phoneNumberId?: string | null | undefined;
7706
- email?: string | null | undefined;
7707
- clientId?: string | null | undefined;
7708
- channelId?: string | null | undefined;
7838
+ email: string;
7839
+ wabaExternalId: string;
7840
+ phoneNumberId: string;
7841
+ wabaBusinessId?: string | undefined;
7842
+ clientId?: string | undefined;
7843
+ channelId?: string | undefined;
7709
7844
  status?: "active" | "pending" | undefined;
7710
7845
  apiKey?: string | undefined;
7711
7846
  tier?: "basic" | "regular" | "premium" | undefined;
7712
- integrationType?: "meta" | "360dialog" | undefined;
7713
7847
  } | undefined;
7714
7848
  vonageCredentials?: {
7715
7849
  apiKey: string;
@@ -7791,16 +7925,15 @@ export declare const whatsappContract: {
7791
7925
  additionalCredentials?: any;
7792
7926
  senderId?: string | undefined;
7793
7927
  whatsapp?: {
7794
- wabaBusinessId?: string | null | undefined;
7795
- wabaExternalId?: string | null | undefined;
7796
- phoneNumberId?: string | null | undefined;
7797
- email?: string | null | undefined;
7798
- clientId?: string | null | undefined;
7799
- channelId?: string | null | undefined;
7928
+ email: string;
7929
+ wabaExternalId: string;
7930
+ phoneNumberId: string;
7931
+ wabaBusinessId?: string | undefined;
7932
+ clientId?: string | undefined;
7933
+ channelId?: string | undefined;
7800
7934
  status?: "active" | "pending" | undefined;
7801
7935
  apiKey?: string | undefined;
7802
7936
  tier?: "basic" | "regular" | "premium" | undefined;
7803
- integrationType?: "meta" | "360dialog" | undefined;
7804
7937
  } | undefined;
7805
7938
  vonageCredentials?: {
7806
7939
  apiKey: string;
@@ -7885,8 +8018,12 @@ export declare const whatsappContract: {
7885
8018
  agentId: z.ZodNullable<z.ZodString>;
7886
8019
  direction: z.ZodNullable<z.ZodString>;
7887
8020
  startedDate: z.ZodNullable<z.ZodDate>;
8021
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
7888
8022
  handledTime: z.ZodNullable<z.ZodNumber>;
8023
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
7889
8024
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
8025
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
8026
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
7890
8027
  wrapUpForm: z.ZodNullable<z.ZodObject<{
7891
8028
  id: z.ZodString;
7892
8029
  createdAt: z.ZodDate;
@@ -8153,6 +8290,74 @@ export declare const whatsappContract: {
8153
8290
  dateValue: Date | null;
8154
8291
  }[] | null | undefined;
8155
8292
  }>>;
8293
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8294
+ id: z.ZodString;
8295
+ createdAt: z.ZodDate;
8296
+ updatedAt: z.ZodDate;
8297
+ deletedAt: z.ZodNullable<z.ZodDate>;
8298
+ startedAt: z.ZodString;
8299
+ endedAt: z.ZodNullable<z.ZodString>;
8300
+ duration: z.ZodNullable<z.ZodNumber>;
8301
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8302
+ id: z.ZodString;
8303
+ createdAt: z.ZodDate;
8304
+ updatedAt: z.ZodDate;
8305
+ deletedAt: z.ZodNullable<z.ZodDate>;
8306
+ name: z.ZodString;
8307
+ position: z.ZodNumber;
8308
+ isDefault: z.ZodDefault<z.ZodBoolean>;
8309
+ }, "strip", z.ZodTypeAny, {
8310
+ name: string;
8311
+ id: string;
8312
+ position: number;
8313
+ createdAt: Date;
8314
+ updatedAt: Date;
8315
+ deletedAt: Date | null;
8316
+ isDefault: boolean;
8317
+ }, {
8318
+ name: string;
8319
+ id: string;
8320
+ position: number;
8321
+ createdAt: Date;
8322
+ updatedAt: Date;
8323
+ deletedAt: Date | null;
8324
+ isDefault?: boolean | undefined;
8325
+ }>>>;
8326
+ }, "strip", z.ZodTypeAny, {
8327
+ id: string;
8328
+ createdAt: Date;
8329
+ updatedAt: Date;
8330
+ deletedAt: Date | null;
8331
+ startedAt: string;
8332
+ endedAt: string | null;
8333
+ duration: number | null;
8334
+ holdLabel?: {
8335
+ name: string;
8336
+ id: string;
8337
+ position: number;
8338
+ createdAt: Date;
8339
+ updatedAt: Date;
8340
+ deletedAt: Date | null;
8341
+ isDefault: boolean;
8342
+ } | null | undefined;
8343
+ }, {
8344
+ id: string;
8345
+ createdAt: Date;
8346
+ updatedAt: Date;
8347
+ deletedAt: Date | null;
8348
+ startedAt: string;
8349
+ endedAt: string | null;
8350
+ duration: number | null;
8351
+ holdLabel?: {
8352
+ name: string;
8353
+ id: string;
8354
+ position: number;
8355
+ createdAt: Date;
8356
+ updatedAt: Date;
8357
+ deletedAt: Date | null;
8358
+ isDefault?: boolean | undefined;
8359
+ } | null | undefined;
8360
+ }>, "many">>>;
8156
8361
  }, "strip", z.ZodTypeAny, {
8157
8362
  id: string;
8158
8363
  channel: string | null;
@@ -8167,8 +8372,12 @@ export declare const whatsappContract: {
8167
8372
  entityName: string;
8168
8373
  agentId: string | null;
8169
8374
  startedDate: Date | null;
8375
+ totalHoldDuration: number | null;
8170
8376
  handledTime: number | null;
8377
+ fullHandledTime: number | null;
8171
8378
  firstResponseTime: number | null;
8379
+ resolutionTime: number | null;
8380
+ fullResolutionTime: number | null;
8172
8381
  wrapUpForm: {
8173
8382
  type: string;
8174
8383
  id: string;
@@ -8221,6 +8430,24 @@ export declare const whatsappContract: {
8221
8430
  dateValue: Date | null;
8222
8431
  }[] | null | undefined;
8223
8432
  } | null;
8433
+ holdLogs?: {
8434
+ id: string;
8435
+ createdAt: Date;
8436
+ updatedAt: Date;
8437
+ deletedAt: Date | null;
8438
+ startedAt: string;
8439
+ endedAt: string | null;
8440
+ duration: number | null;
8441
+ holdLabel?: {
8442
+ name: string;
8443
+ id: string;
8444
+ position: number;
8445
+ createdAt: Date;
8446
+ updatedAt: Date;
8447
+ deletedAt: Date | null;
8448
+ isDefault: boolean;
8449
+ } | null | undefined;
8450
+ }[] | null | undefined;
8224
8451
  }, {
8225
8452
  id: string;
8226
8453
  channel: string | null;
@@ -8235,8 +8462,12 @@ export declare const whatsappContract: {
8235
8462
  entityName: string;
8236
8463
  agentId: string | null;
8237
8464
  startedDate: Date | null;
8465
+ totalHoldDuration: number | null;
8238
8466
  handledTime: number | null;
8467
+ fullHandledTime: number | null;
8239
8468
  firstResponseTime: number | null;
8469
+ resolutionTime: number | null;
8470
+ fullResolutionTime: number | null;
8240
8471
  wrapUpForm: {
8241
8472
  type: string;
8242
8473
  id: string;
@@ -8289,6 +8520,24 @@ export declare const whatsappContract: {
8289
8520
  dateValue: Date | null;
8290
8521
  }[] | null | undefined;
8291
8522
  } | null;
8523
+ holdLogs?: {
8524
+ id: string;
8525
+ createdAt: Date;
8526
+ updatedAt: Date;
8527
+ deletedAt: Date | null;
8528
+ startedAt: string;
8529
+ endedAt: string | null;
8530
+ duration: number | null;
8531
+ holdLabel?: {
8532
+ name: string;
8533
+ id: string;
8534
+ position: number;
8535
+ createdAt: Date;
8536
+ updatedAt: Date;
8537
+ deletedAt: Date | null;
8538
+ isDefault?: boolean | undefined;
8539
+ } | null | undefined;
8540
+ }[] | null | undefined;
8292
8541
  }>;
8293
8542
  workflowRule: z.ZodObject<{
8294
8543
  id: z.ZodString;
@@ -8330,16 +8579,15 @@ export declare const whatsappContract: {
8330
8579
  additionalCredentials?: any;
8331
8580
  senderId?: string | undefined;
8332
8581
  whatsapp?: {
8333
- wabaBusinessId?: string | null | undefined;
8334
- wabaExternalId?: string | null | undefined;
8335
- phoneNumberId?: string | null | undefined;
8336
- email?: string | null | undefined;
8337
- clientId?: string | null | undefined;
8338
- channelId?: string | null | undefined;
8582
+ email: string;
8583
+ wabaExternalId: string;
8584
+ phoneNumberId: string;
8585
+ wabaBusinessId?: string | undefined;
8586
+ clientId?: string | undefined;
8587
+ channelId?: string | undefined;
8339
8588
  status?: "active" | "pending" | undefined;
8340
8589
  apiKey?: string | undefined;
8341
8590
  tier?: "basic" | "regular" | "premium" | undefined;
8342
- integrationType?: "meta" | "360dialog" | undefined;
8343
8591
  } | undefined;
8344
8592
  vonageCredentials?: {
8345
8593
  apiKey: string;
@@ -8510,6 +8758,7 @@ export declare const whatsappContract: {
8510
8758
  dateValue: Date | null;
8511
8759
  uploads: {
8512
8760
  id: string;
8761
+ status: string | null;
8513
8762
  createdAt: Date;
8514
8763
  updatedAt: Date;
8515
8764
  deletedAt: Date | null;
@@ -8518,7 +8767,6 @@ export declare const whatsappContract: {
8518
8767
  bucketName: string;
8519
8768
  fileSize: number;
8520
8769
  fileUrl: string | null;
8521
- status?: string | undefined;
8522
8770
  }[];
8523
8771
  }[];
8524
8772
  company: {
@@ -8653,8 +8901,12 @@ export declare const whatsappContract: {
8653
8901
  entityName: string;
8654
8902
  agentId: string | null;
8655
8903
  startedDate: Date | null;
8904
+ totalHoldDuration: number | null;
8656
8905
  handledTime: number | null;
8906
+ fullHandledTime: number | null;
8657
8907
  firstResponseTime: number | null;
8908
+ resolutionTime: number | null;
8909
+ fullResolutionTime: number | null;
8658
8910
  wrapUpForm: {
8659
8911
  type: string;
8660
8912
  id: string;
@@ -8707,6 +8959,24 @@ export declare const whatsappContract: {
8707
8959
  dateValue: Date | null;
8708
8960
  }[] | null | undefined;
8709
8961
  } | null;
8962
+ holdLogs?: {
8963
+ id: string;
8964
+ createdAt: Date;
8965
+ updatedAt: Date;
8966
+ deletedAt: Date | null;
8967
+ startedAt: string;
8968
+ endedAt: string | null;
8969
+ duration: number | null;
8970
+ holdLabel?: {
8971
+ name: string;
8972
+ id: string;
8973
+ position: number;
8974
+ createdAt: Date;
8975
+ updatedAt: Date;
8976
+ deletedAt: Date | null;
8977
+ isDefault: boolean;
8978
+ } | null | undefined;
8979
+ }[] | null | undefined;
8710
8980
  };
8711
8981
  workflowRule: {
8712
8982
  name: string;
@@ -8732,16 +9002,15 @@ export declare const whatsappContract: {
8732
9002
  additionalCredentials?: any;
8733
9003
  senderId?: string | undefined;
8734
9004
  whatsapp?: {
8735
- wabaBusinessId?: string | null | undefined;
8736
- wabaExternalId?: string | null | undefined;
8737
- phoneNumberId?: string | null | undefined;
8738
- email?: string | null | undefined;
8739
- clientId?: string | null | undefined;
8740
- channelId?: string | null | undefined;
9005
+ email: string;
9006
+ wabaExternalId: string;
9007
+ phoneNumberId: string;
9008
+ wabaBusinessId?: string | undefined;
9009
+ clientId?: string | undefined;
9010
+ channelId?: string | undefined;
8741
9011
  status?: "active" | "pending" | undefined;
8742
9012
  apiKey?: string | undefined;
8743
9013
  tier?: "basic" | "regular" | "premium" | undefined;
8744
- integrationType?: "meta" | "360dialog" | undefined;
8745
9014
  } | undefined;
8746
9015
  vonageCredentials?: {
8747
9016
  apiKey: string;
@@ -8912,6 +9181,7 @@ export declare const whatsappContract: {
8912
9181
  dateValue: Date | null;
8913
9182
  uploads: {
8914
9183
  id: string;
9184
+ status: string | null;
8915
9185
  createdAt: Date;
8916
9186
  updatedAt: Date;
8917
9187
  deletedAt: Date | null;
@@ -8920,7 +9190,6 @@ export declare const whatsappContract: {
8920
9190
  bucketName: string;
8921
9191
  fileSize: number;
8922
9192
  fileUrl: string | null;
8923
- status?: string | undefined;
8924
9193
  }[];
8925
9194
  }[];
8926
9195
  company: {
@@ -9055,8 +9324,12 @@ export declare const whatsappContract: {
9055
9324
  entityName: string;
9056
9325
  agentId: string | null;
9057
9326
  startedDate: Date | null;
9327
+ totalHoldDuration: number | null;
9058
9328
  handledTime: number | null;
9329
+ fullHandledTime: number | null;
9059
9330
  firstResponseTime: number | null;
9331
+ resolutionTime: number | null;
9332
+ fullResolutionTime: number | null;
9060
9333
  wrapUpForm: {
9061
9334
  type: string;
9062
9335
  id: string;
@@ -9109,6 +9382,24 @@ export declare const whatsappContract: {
9109
9382
  dateValue: Date | null;
9110
9383
  }[] | null | undefined;
9111
9384
  } | null;
9385
+ holdLogs?: {
9386
+ id: string;
9387
+ createdAt: Date;
9388
+ updatedAt: Date;
9389
+ deletedAt: Date | null;
9390
+ startedAt: string;
9391
+ endedAt: string | null;
9392
+ duration: number | null;
9393
+ holdLabel?: {
9394
+ name: string;
9395
+ id: string;
9396
+ position: number;
9397
+ createdAt: Date;
9398
+ updatedAt: Date;
9399
+ deletedAt: Date | null;
9400
+ isDefault?: boolean | undefined;
9401
+ } | null | undefined;
9402
+ }[] | null | undefined;
9112
9403
  };
9113
9404
  workflowRule: {
9114
9405
  name: string;
@@ -9131,9 +9422,10 @@ export declare const whatsappContract: {
9131
9422
  fileSize: z.ZodNumber;
9132
9423
  fileKey: z.ZodString;
9133
9424
  fileUrl: z.ZodNullable<z.ZodString>;
9134
- status: z.ZodOptional<z.ZodString>;
9425
+ status: z.ZodNullable<z.ZodString>;
9135
9426
  }, "strip", z.ZodTypeAny, {
9136
9427
  id: string;
9428
+ status: string | null;
9137
9429
  createdAt: Date;
9138
9430
  updatedAt: Date;
9139
9431
  deletedAt: Date | null;
@@ -9142,9 +9434,9 @@ export declare const whatsappContract: {
9142
9434
  bucketName: string;
9143
9435
  fileSize: number;
9144
9436
  fileUrl: string | null;
9145
- status?: string | undefined;
9146
9437
  }, {
9147
9438
  id: string;
9439
+ status: string | null;
9148
9440
  createdAt: Date;
9149
9441
  updatedAt: Date;
9150
9442
  deletedAt: Date | null;
@@ -9153,7 +9445,6 @@ export declare const whatsappContract: {
9153
9445
  bucketName: string;
9154
9446
  fileSize: number;
9155
9447
  fileUrl: string | null;
9156
- status?: string | undefined;
9157
9448
  }>;
9158
9449
  repliedMessage: z.ZodLazy<z.ZodObject<{
9159
9450
  id: z.ZodString;
@@ -9162,7 +9453,7 @@ export declare const whatsappContract: {
9162
9453
  deletedAt: z.ZodNullable<z.ZodDate>;
9163
9454
  message: z.ZodString;
9164
9455
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9165
- type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "edited", "deleted", "unsupported"]>;
9456
+ 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"]>;
9166
9457
  readAt: z.ZodDate;
9167
9458
  metadata: z.ZodAny;
9168
9459
  platformId: z.ZodString;
@@ -9183,9 +9474,10 @@ export declare const whatsappContract: {
9183
9474
  fileSize: z.ZodNumber;
9184
9475
  fileKey: z.ZodString;
9185
9476
  fileUrl: z.ZodNullable<z.ZodString>;
9186
- status: z.ZodOptional<z.ZodString>;
9477
+ status: z.ZodNullable<z.ZodString>;
9187
9478
  }, "strip", z.ZodTypeAny, {
9188
9479
  id: string;
9480
+ status: string | null;
9189
9481
  createdAt: Date;
9190
9482
  updatedAt: Date;
9191
9483
  deletedAt: Date | null;
@@ -9194,9 +9486,9 @@ export declare const whatsappContract: {
9194
9486
  bucketName: string;
9195
9487
  fileSize: number;
9196
9488
  fileUrl: string | null;
9197
- status?: string | undefined;
9198
9489
  }, {
9199
9490
  id: string;
9491
+ status: string | null;
9200
9492
  createdAt: Date;
9201
9493
  updatedAt: Date;
9202
9494
  deletedAt: Date | null;
@@ -9205,7 +9497,6 @@ export declare const whatsappContract: {
9205
9497
  bucketName: string;
9206
9498
  fileSize: number;
9207
9499
  fileUrl: string | null;
9208
- status?: string | undefined;
9209
9500
  }>;
9210
9501
  actor: z.ZodObject<{
9211
9502
  id: z.ZodString;
@@ -9820,7 +10111,7 @@ export declare const whatsappContract: {
9820
10111
  };
9821
10112
  }>;
9822
10113
  }, "strip", z.ZodTypeAny, {
9823
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10114
+ 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";
9824
10115
  message: string;
9825
10116
  id: string;
9826
10117
  url: string;
@@ -9874,6 +10165,7 @@ export declare const whatsappContract: {
9874
10165
  };
9875
10166
  upload: {
9876
10167
  id: string;
10168
+ status: string | null;
9877
10169
  createdAt: Date;
9878
10170
  updatedAt: Date;
9879
10171
  deletedAt: Date | null;
@@ -9882,7 +10174,6 @@ export declare const whatsappContract: {
9882
10174
  bucketName: string;
9883
10175
  fileSize: number;
9884
10176
  fileUrl: string | null;
9885
- status?: string | undefined;
9886
10177
  };
9887
10178
  assignee: {
9888
10179
  name: string;
@@ -9982,7 +10273,7 @@ export declare const whatsappContract: {
9982
10273
  metadata?: any;
9983
10274
  template?: any;
9984
10275
  }, {
9985
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
10276
+ 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";
9986
10277
  message: string;
9987
10278
  id: string;
9988
10279
  url: string;
@@ -10036,6 +10327,7 @@ export declare const whatsappContract: {
10036
10327
  };
10037
10328
  upload: {
10038
10329
  id: string;
10330
+ status: string | null;
10039
10331
  createdAt: Date;
10040
10332
  updatedAt: Date;
10041
10333
  deletedAt: Date | null;
@@ -10044,7 +10336,6 @@ export declare const whatsappContract: {
10044
10336
  bucketName: string;
10045
10337
  fileSize: number;
10046
10338
  fileUrl: string | null;
10047
- status?: string | undefined;
10048
10339
  };
10049
10340
  assignee: {
10050
10341
  name: string;
@@ -10784,7 +11075,7 @@ export declare const whatsappContract: {
10784
11075
  editedMessageid: z.ZodString;
10785
11076
  label: z.ZodOptional<z.ZodString>;
10786
11077
  }, "strip", z.ZodTypeAny, {
10787
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11078
+ 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";
10788
11079
  message: string;
10789
11080
  id: string;
10790
11081
  url: string;
@@ -10838,6 +11129,7 @@ export declare const whatsappContract: {
10838
11129
  };
10839
11130
  upload: {
10840
11131
  id: string;
11132
+ status: string | null;
10841
11133
  createdAt: Date;
10842
11134
  updatedAt: Date;
10843
11135
  deletedAt: Date | null;
@@ -10846,7 +11138,6 @@ export declare const whatsappContract: {
10846
11138
  bucketName: string;
10847
11139
  fileSize: number;
10848
11140
  fileUrl: string | null;
10849
- status?: string | undefined;
10850
11141
  };
10851
11142
  assignee: {
10852
11143
  name: string;
@@ -10907,16 +11198,15 @@ export declare const whatsappContract: {
10907
11198
  additionalCredentials?: any;
10908
11199
  senderId?: string | undefined;
10909
11200
  whatsapp?: {
10910
- wabaBusinessId?: string | null | undefined;
10911
- wabaExternalId?: string | null | undefined;
10912
- phoneNumberId?: string | null | undefined;
10913
- email?: string | null | undefined;
10914
- clientId?: string | null | undefined;
10915
- channelId?: string | null | undefined;
11201
+ email: string;
11202
+ wabaExternalId: string;
11203
+ phoneNumberId: string;
11204
+ wabaBusinessId?: string | undefined;
11205
+ clientId?: string | undefined;
11206
+ channelId?: string | undefined;
10916
11207
  status?: "active" | "pending" | undefined;
10917
11208
  apiKey?: string | undefined;
10918
11209
  tier?: "basic" | "regular" | "premium" | undefined;
10919
- integrationType?: "meta" | "360dialog" | undefined;
10920
11210
  } | undefined;
10921
11211
  vonageCredentials?: {
10922
11212
  apiKey: string;
@@ -11087,6 +11377,7 @@ export declare const whatsappContract: {
11087
11377
  dateValue: Date | null;
11088
11378
  uploads: {
11089
11379
  id: string;
11380
+ status: string | null;
11090
11381
  createdAt: Date;
11091
11382
  updatedAt: Date;
11092
11383
  deletedAt: Date | null;
@@ -11095,7 +11386,6 @@ export declare const whatsappContract: {
11095
11386
  bucketName: string;
11096
11387
  fileSize: number;
11097
11388
  fileUrl: string | null;
11098
- status?: string | undefined;
11099
11389
  }[];
11100
11390
  }[];
11101
11391
  company: {
@@ -11230,8 +11520,12 @@ export declare const whatsappContract: {
11230
11520
  entityName: string;
11231
11521
  agentId: string | null;
11232
11522
  startedDate: Date | null;
11523
+ totalHoldDuration: number | null;
11233
11524
  handledTime: number | null;
11525
+ fullHandledTime: number | null;
11234
11526
  firstResponseTime: number | null;
11527
+ resolutionTime: number | null;
11528
+ fullResolutionTime: number | null;
11235
11529
  wrapUpForm: {
11236
11530
  type: string;
11237
11531
  id: string;
@@ -11284,6 +11578,24 @@ export declare const whatsappContract: {
11284
11578
  dateValue: Date | null;
11285
11579
  }[] | null | undefined;
11286
11580
  } | null;
11581
+ holdLogs?: {
11582
+ id: string;
11583
+ createdAt: Date;
11584
+ updatedAt: Date;
11585
+ deletedAt: Date | null;
11586
+ startedAt: string;
11587
+ endedAt: string | null;
11588
+ duration: number | null;
11589
+ holdLabel?: {
11590
+ name: string;
11591
+ id: string;
11592
+ position: number;
11593
+ createdAt: Date;
11594
+ updatedAt: Date;
11595
+ deletedAt: Date | null;
11596
+ isDefault: boolean;
11597
+ } | null | undefined;
11598
+ }[] | null | undefined;
11287
11599
  };
11288
11600
  workflowRule: {
11289
11601
  name: string;
@@ -11312,7 +11624,7 @@ export declare const whatsappContract: {
11312
11624
  previewUrl: string;
11313
11625
  imageSetId: string;
11314
11626
  repliedMessage: {
11315
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11627
+ 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";
11316
11628
  message: string;
11317
11629
  id: string;
11318
11630
  url: string;
@@ -11366,6 +11678,7 @@ export declare const whatsappContract: {
11366
11678
  };
11367
11679
  upload: {
11368
11680
  id: string;
11681
+ status: string | null;
11369
11682
  createdAt: Date;
11370
11683
  updatedAt: Date;
11371
11684
  deletedAt: Date | null;
@@ -11374,7 +11687,6 @@ export declare const whatsappContract: {
11374
11687
  bucketName: string;
11375
11688
  fileSize: number;
11376
11689
  fileUrl: string | null;
11377
- status?: string | undefined;
11378
11690
  };
11379
11691
  assignee: {
11380
11692
  name: string;
@@ -11523,7 +11835,7 @@ export declare const whatsappContract: {
11523
11835
  template?: any;
11524
11836
  label?: string | undefined;
11525
11837
  }, {
11526
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
11838
+ 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";
11527
11839
  message: string;
11528
11840
  id: string;
11529
11841
  url: string;
@@ -11577,6 +11889,7 @@ export declare const whatsappContract: {
11577
11889
  };
11578
11890
  upload: {
11579
11891
  id: string;
11892
+ status: string | null;
11580
11893
  createdAt: Date;
11581
11894
  updatedAt: Date;
11582
11895
  deletedAt: Date | null;
@@ -11585,7 +11898,6 @@ export declare const whatsappContract: {
11585
11898
  bucketName: string;
11586
11899
  fileSize: number;
11587
11900
  fileUrl: string | null;
11588
- status?: string | undefined;
11589
11901
  };
11590
11902
  assignee: {
11591
11903
  name: string;
@@ -11646,16 +11958,15 @@ export declare const whatsappContract: {
11646
11958
  additionalCredentials?: any;
11647
11959
  senderId?: string | undefined;
11648
11960
  whatsapp?: {
11649
- wabaBusinessId?: string | null | undefined;
11650
- wabaExternalId?: string | null | undefined;
11651
- phoneNumberId?: string | null | undefined;
11652
- email?: string | null | undefined;
11653
- clientId?: string | null | undefined;
11654
- channelId?: string | null | undefined;
11961
+ email: string;
11962
+ wabaExternalId: string;
11963
+ phoneNumberId: string;
11964
+ wabaBusinessId?: string | undefined;
11965
+ clientId?: string | undefined;
11966
+ channelId?: string | undefined;
11655
11967
  status?: "active" | "pending" | undefined;
11656
11968
  apiKey?: string | undefined;
11657
11969
  tier?: "basic" | "regular" | "premium" | undefined;
11658
- integrationType?: "meta" | "360dialog" | undefined;
11659
11970
  } | undefined;
11660
11971
  vonageCredentials?: {
11661
11972
  apiKey: string;
@@ -11826,6 +12137,7 @@ export declare const whatsappContract: {
11826
12137
  dateValue: Date | null;
11827
12138
  uploads: {
11828
12139
  id: string;
12140
+ status: string | null;
11829
12141
  createdAt: Date;
11830
12142
  updatedAt: Date;
11831
12143
  deletedAt: Date | null;
@@ -11834,7 +12146,6 @@ export declare const whatsappContract: {
11834
12146
  bucketName: string;
11835
12147
  fileSize: number;
11836
12148
  fileUrl: string | null;
11837
- status?: string | undefined;
11838
12149
  }[];
11839
12150
  }[];
11840
12151
  company: {
@@ -11969,8 +12280,12 @@ export declare const whatsappContract: {
11969
12280
  entityName: string;
11970
12281
  agentId: string | null;
11971
12282
  startedDate: Date | null;
12283
+ totalHoldDuration: number | null;
11972
12284
  handledTime: number | null;
12285
+ fullHandledTime: number | null;
11973
12286
  firstResponseTime: number | null;
12287
+ resolutionTime: number | null;
12288
+ fullResolutionTime: number | null;
11974
12289
  wrapUpForm: {
11975
12290
  type: string;
11976
12291
  id: string;
@@ -12023,6 +12338,24 @@ export declare const whatsappContract: {
12023
12338
  dateValue: Date | null;
12024
12339
  }[] | null | undefined;
12025
12340
  } | null;
12341
+ holdLogs?: {
12342
+ id: string;
12343
+ createdAt: Date;
12344
+ updatedAt: Date;
12345
+ deletedAt: Date | null;
12346
+ startedAt: string;
12347
+ endedAt: string | null;
12348
+ duration: number | null;
12349
+ holdLabel?: {
12350
+ name: string;
12351
+ id: string;
12352
+ position: number;
12353
+ createdAt: Date;
12354
+ updatedAt: Date;
12355
+ deletedAt: Date | null;
12356
+ isDefault?: boolean | undefined;
12357
+ } | null | undefined;
12358
+ }[] | null | undefined;
12026
12359
  };
12027
12360
  workflowRule: {
12028
12361
  name: string;
@@ -12051,7 +12384,7 @@ export declare const whatsappContract: {
12051
12384
  previewUrl: string;
12052
12385
  imageSetId: string;
12053
12386
  repliedMessage: {
12054
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12387
+ 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";
12055
12388
  message: string;
12056
12389
  id: string;
12057
12390
  url: string;
@@ -12105,6 +12438,7 @@ export declare const whatsappContract: {
12105
12438
  };
12106
12439
  upload: {
12107
12440
  id: string;
12441
+ status: string | null;
12108
12442
  createdAt: Date;
12109
12443
  updatedAt: Date;
12110
12444
  deletedAt: Date | null;
@@ -12113,7 +12447,6 @@ export declare const whatsappContract: {
12113
12447
  bucketName: string;
12114
12448
  fileSize: number;
12115
12449
  fileUrl: string | null;
12116
- status?: string | undefined;
12117
12450
  };
12118
12451
  assignee: {
12119
12452
  name: string;
@@ -12263,7 +12596,7 @@ export declare const whatsappContract: {
12263
12596
  label?: string | undefined;
12264
12597
  }>>>;
12265
12598
  }, "strip", z.ZodTypeAny, {
12266
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
12599
+ 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";
12267
12600
  message: string;
12268
12601
  id: string;
12269
12602
  url: string;
@@ -12317,6 +12650,7 @@ export declare const whatsappContract: {
12317
12650
  };
12318
12651
  upload: {
12319
12652
  id: string;
12653
+ status: string | null;
12320
12654
  createdAt: Date;
12321
12655
  updatedAt: Date;
12322
12656
  deletedAt: Date | null;
@@ -12325,7 +12659,6 @@ export declare const whatsappContract: {
12325
12659
  bucketName: string;
12326
12660
  fileSize: number;
12327
12661
  fileUrl: string | null;
12328
- status?: string | undefined;
12329
12662
  };
12330
12663
  assignee: {
12331
12664
  name: string;
@@ -12386,16 +12719,15 @@ export declare const whatsappContract: {
12386
12719
  additionalCredentials?: any;
12387
12720
  senderId?: string | undefined;
12388
12721
  whatsapp?: {
12389
- wabaBusinessId?: string | null | undefined;
12390
- wabaExternalId?: string | null | undefined;
12391
- phoneNumberId?: string | null | undefined;
12392
- email?: string | null | undefined;
12393
- clientId?: string | null | undefined;
12394
- channelId?: string | null | undefined;
12722
+ email: string;
12723
+ wabaExternalId: string;
12724
+ phoneNumberId: string;
12725
+ wabaBusinessId?: string | undefined;
12726
+ clientId?: string | undefined;
12727
+ channelId?: string | undefined;
12395
12728
  status?: "active" | "pending" | undefined;
12396
12729
  apiKey?: string | undefined;
12397
12730
  tier?: "basic" | "regular" | "premium" | undefined;
12398
- integrationType?: "meta" | "360dialog" | undefined;
12399
12731
  } | undefined;
12400
12732
  vonageCredentials?: {
12401
12733
  apiKey: string;
@@ -12566,6 +12898,7 @@ export declare const whatsappContract: {
12566
12898
  dateValue: Date | null;
12567
12899
  uploads: {
12568
12900
  id: string;
12901
+ status: string | null;
12569
12902
  createdAt: Date;
12570
12903
  updatedAt: Date;
12571
12904
  deletedAt: Date | null;
@@ -12574,7 +12907,6 @@ export declare const whatsappContract: {
12574
12907
  bucketName: string;
12575
12908
  fileSize: number;
12576
12909
  fileUrl: string | null;
12577
- status?: string | undefined;
12578
12910
  }[];
12579
12911
  }[];
12580
12912
  company: {
@@ -12709,8 +13041,12 @@ export declare const whatsappContract: {
12709
13041
  entityName: string;
12710
13042
  agentId: string | null;
12711
13043
  startedDate: Date | null;
13044
+ totalHoldDuration: number | null;
12712
13045
  handledTime: number | null;
13046
+ fullHandledTime: number | null;
12713
13047
  firstResponseTime: number | null;
13048
+ resolutionTime: number | null;
13049
+ fullResolutionTime: number | null;
12714
13050
  wrapUpForm: {
12715
13051
  type: string;
12716
13052
  id: string;
@@ -12763,6 +13099,24 @@ export declare const whatsappContract: {
12763
13099
  dateValue: Date | null;
12764
13100
  }[] | null | undefined;
12765
13101
  } | null;
13102
+ holdLogs?: {
13103
+ id: string;
13104
+ createdAt: Date;
13105
+ updatedAt: Date;
13106
+ deletedAt: Date | null;
13107
+ startedAt: string;
13108
+ endedAt: string | null;
13109
+ duration: number | null;
13110
+ holdLabel?: {
13111
+ name: string;
13112
+ id: string;
13113
+ position: number;
13114
+ createdAt: Date;
13115
+ updatedAt: Date;
13116
+ deletedAt: Date | null;
13117
+ isDefault: boolean;
13118
+ } | null | undefined;
13119
+ }[] | null | undefined;
12766
13120
  };
12767
13121
  workflowRule: {
12768
13122
  name: string;
@@ -12791,7 +13145,7 @@ export declare const whatsappContract: {
12791
13145
  previewUrl: string;
12792
13146
  imageSetId: string;
12793
13147
  repliedMessage: {
12794
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13148
+ 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";
12795
13149
  message: string;
12796
13150
  id: string;
12797
13151
  url: string;
@@ -12845,6 +13199,7 @@ export declare const whatsappContract: {
12845
13199
  };
12846
13200
  upload: {
12847
13201
  id: string;
13202
+ status: string | null;
12848
13203
  createdAt: Date;
12849
13204
  updatedAt: Date;
12850
13205
  deletedAt: Date | null;
@@ -12853,7 +13208,6 @@ export declare const whatsappContract: {
12853
13208
  bucketName: string;
12854
13209
  fileSize: number;
12855
13210
  fileUrl: string | null;
12856
- status?: string | undefined;
12857
13211
  };
12858
13212
  assignee: {
12859
13213
  name: string;
@@ -13002,7 +13356,7 @@ export declare const whatsappContract: {
13002
13356
  template?: any;
13003
13357
  metadata?: any;
13004
13358
  fromMessage?: {
13005
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13359
+ 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";
13006
13360
  message: string;
13007
13361
  id: string;
13008
13362
  url: string;
@@ -13056,6 +13410,7 @@ export declare const whatsappContract: {
13056
13410
  };
13057
13411
  upload: {
13058
13412
  id: string;
13413
+ status: string | null;
13059
13414
  createdAt: Date;
13060
13415
  updatedAt: Date;
13061
13416
  deletedAt: Date | null;
@@ -13064,7 +13419,6 @@ export declare const whatsappContract: {
13064
13419
  bucketName: string;
13065
13420
  fileSize: number;
13066
13421
  fileUrl: string | null;
13067
- status?: string | undefined;
13068
13422
  };
13069
13423
  assignee: {
13070
13424
  name: string;
@@ -13125,16 +13479,15 @@ export declare const whatsappContract: {
13125
13479
  additionalCredentials?: any;
13126
13480
  senderId?: string | undefined;
13127
13481
  whatsapp?: {
13128
- wabaBusinessId?: string | null | undefined;
13129
- wabaExternalId?: string | null | undefined;
13130
- phoneNumberId?: string | null | undefined;
13131
- email?: string | null | undefined;
13132
- clientId?: string | null | undefined;
13133
- channelId?: string | null | undefined;
13482
+ email: string;
13483
+ wabaExternalId: string;
13484
+ phoneNumberId: string;
13485
+ wabaBusinessId?: string | undefined;
13486
+ clientId?: string | undefined;
13487
+ channelId?: string | undefined;
13134
13488
  status?: "active" | "pending" | undefined;
13135
13489
  apiKey?: string | undefined;
13136
13490
  tier?: "basic" | "regular" | "premium" | undefined;
13137
- integrationType?: "meta" | "360dialog" | undefined;
13138
13491
  } | undefined;
13139
13492
  vonageCredentials?: {
13140
13493
  apiKey: string;
@@ -13305,6 +13658,7 @@ export declare const whatsappContract: {
13305
13658
  dateValue: Date | null;
13306
13659
  uploads: {
13307
13660
  id: string;
13661
+ status: string | null;
13308
13662
  createdAt: Date;
13309
13663
  updatedAt: Date;
13310
13664
  deletedAt: Date | null;
@@ -13313,7 +13667,6 @@ export declare const whatsappContract: {
13313
13667
  bucketName: string;
13314
13668
  fileSize: number;
13315
13669
  fileUrl: string | null;
13316
- status?: string | undefined;
13317
13670
  }[];
13318
13671
  }[];
13319
13672
  company: {
@@ -13448,8 +13801,12 @@ export declare const whatsappContract: {
13448
13801
  entityName: string;
13449
13802
  agentId: string | null;
13450
13803
  startedDate: Date | null;
13804
+ totalHoldDuration: number | null;
13451
13805
  handledTime: number | null;
13806
+ fullHandledTime: number | null;
13452
13807
  firstResponseTime: number | null;
13808
+ resolutionTime: number | null;
13809
+ fullResolutionTime: number | null;
13453
13810
  wrapUpForm: {
13454
13811
  type: string;
13455
13812
  id: string;
@@ -13502,6 +13859,24 @@ export declare const whatsappContract: {
13502
13859
  dateValue: Date | null;
13503
13860
  }[] | null | undefined;
13504
13861
  } | null;
13862
+ holdLogs?: {
13863
+ id: string;
13864
+ createdAt: Date;
13865
+ updatedAt: Date;
13866
+ deletedAt: Date | null;
13867
+ startedAt: string;
13868
+ endedAt: string | null;
13869
+ duration: number | null;
13870
+ holdLabel?: {
13871
+ name: string;
13872
+ id: string;
13873
+ position: number;
13874
+ createdAt: Date;
13875
+ updatedAt: Date;
13876
+ deletedAt: Date | null;
13877
+ isDefault: boolean;
13878
+ } | null | undefined;
13879
+ }[] | null | undefined;
13505
13880
  };
13506
13881
  workflowRule: {
13507
13882
  name: string;
@@ -13530,7 +13905,7 @@ export declare const whatsappContract: {
13530
13905
  previewUrl: string;
13531
13906
  imageSetId: string;
13532
13907
  repliedMessage: {
13533
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
13908
+ 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";
13534
13909
  message: string;
13535
13910
  id: string;
13536
13911
  url: string;
@@ -13584,6 +13959,7 @@ export declare const whatsappContract: {
13584
13959
  };
13585
13960
  upload: {
13586
13961
  id: string;
13962
+ status: string | null;
13587
13963
  createdAt: Date;
13588
13964
  updatedAt: Date;
13589
13965
  deletedAt: Date | null;
@@ -13592,7 +13968,6 @@ export declare const whatsappContract: {
13592
13968
  bucketName: string;
13593
13969
  fileSize: number;
13594
13970
  fileUrl: string | null;
13595
- status?: string | undefined;
13596
13971
  };
13597
13972
  assignee: {
13598
13973
  name: string;
@@ -13742,7 +14117,7 @@ export declare const whatsappContract: {
13742
14117
  label?: string | undefined;
13743
14118
  } | null | undefined;
13744
14119
  }, {
13745
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14120
+ 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";
13746
14121
  message: string;
13747
14122
  id: string;
13748
14123
  url: string;
@@ -13796,6 +14171,7 @@ export declare const whatsappContract: {
13796
14171
  };
13797
14172
  upload: {
13798
14173
  id: string;
14174
+ status: string | null;
13799
14175
  createdAt: Date;
13800
14176
  updatedAt: Date;
13801
14177
  deletedAt: Date | null;
@@ -13804,7 +14180,6 @@ export declare const whatsappContract: {
13804
14180
  bucketName: string;
13805
14181
  fileSize: number;
13806
14182
  fileUrl: string | null;
13807
- status?: string | undefined;
13808
14183
  };
13809
14184
  assignee: {
13810
14185
  name: string;
@@ -13865,16 +14240,15 @@ export declare const whatsappContract: {
13865
14240
  additionalCredentials?: any;
13866
14241
  senderId?: string | undefined;
13867
14242
  whatsapp?: {
13868
- wabaBusinessId?: string | null | undefined;
13869
- wabaExternalId?: string | null | undefined;
13870
- phoneNumberId?: string | null | undefined;
13871
- email?: string | null | undefined;
13872
- clientId?: string | null | undefined;
13873
- channelId?: string | null | undefined;
14243
+ email: string;
14244
+ wabaExternalId: string;
14245
+ phoneNumberId: string;
14246
+ wabaBusinessId?: string | undefined;
14247
+ clientId?: string | undefined;
14248
+ channelId?: string | undefined;
13874
14249
  status?: "active" | "pending" | undefined;
13875
14250
  apiKey?: string | undefined;
13876
14251
  tier?: "basic" | "regular" | "premium" | undefined;
13877
- integrationType?: "meta" | "360dialog" | undefined;
13878
14252
  } | undefined;
13879
14253
  vonageCredentials?: {
13880
14254
  apiKey: string;
@@ -14045,6 +14419,7 @@ export declare const whatsappContract: {
14045
14419
  dateValue: Date | null;
14046
14420
  uploads: {
14047
14421
  id: string;
14422
+ status: string | null;
14048
14423
  createdAt: Date;
14049
14424
  updatedAt: Date;
14050
14425
  deletedAt: Date | null;
@@ -14053,7 +14428,6 @@ export declare const whatsappContract: {
14053
14428
  bucketName: string;
14054
14429
  fileSize: number;
14055
14430
  fileUrl: string | null;
14056
- status?: string | undefined;
14057
14431
  }[];
14058
14432
  }[];
14059
14433
  company: {
@@ -14188,8 +14562,12 @@ export declare const whatsappContract: {
14188
14562
  entityName: string;
14189
14563
  agentId: string | null;
14190
14564
  startedDate: Date | null;
14565
+ totalHoldDuration: number | null;
14191
14566
  handledTime: number | null;
14567
+ fullHandledTime: number | null;
14192
14568
  firstResponseTime: number | null;
14569
+ resolutionTime: number | null;
14570
+ fullResolutionTime: number | null;
14193
14571
  wrapUpForm: {
14194
14572
  type: string;
14195
14573
  id: string;
@@ -14242,6 +14620,24 @@ export declare const whatsappContract: {
14242
14620
  dateValue: Date | null;
14243
14621
  }[] | null | undefined;
14244
14622
  } | null;
14623
+ holdLogs?: {
14624
+ id: string;
14625
+ createdAt: Date;
14626
+ updatedAt: Date;
14627
+ deletedAt: Date | null;
14628
+ startedAt: string;
14629
+ endedAt: string | null;
14630
+ duration: number | null;
14631
+ holdLabel?: {
14632
+ name: string;
14633
+ id: string;
14634
+ position: number;
14635
+ createdAt: Date;
14636
+ updatedAt: Date;
14637
+ deletedAt: Date | null;
14638
+ isDefault?: boolean | undefined;
14639
+ } | null | undefined;
14640
+ }[] | null | undefined;
14245
14641
  };
14246
14642
  workflowRule: {
14247
14643
  name: string;
@@ -14270,7 +14666,7 @@ export declare const whatsappContract: {
14270
14666
  previewUrl: string;
14271
14667
  imageSetId: string;
14272
14668
  repliedMessage: {
14273
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14669
+ 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";
14274
14670
  message: string;
14275
14671
  id: string;
14276
14672
  url: string;
@@ -14324,6 +14720,7 @@ export declare const whatsappContract: {
14324
14720
  };
14325
14721
  upload: {
14326
14722
  id: string;
14723
+ status: string | null;
14327
14724
  createdAt: Date;
14328
14725
  updatedAt: Date;
14329
14726
  deletedAt: Date | null;
@@ -14332,7 +14729,6 @@ export declare const whatsappContract: {
14332
14729
  bucketName: string;
14333
14730
  fileSize: number;
14334
14731
  fileUrl: string | null;
14335
- status?: string | undefined;
14336
14732
  };
14337
14733
  assignee: {
14338
14734
  name: string;
@@ -14481,7 +14877,7 @@ export declare const whatsappContract: {
14481
14877
  template?: any;
14482
14878
  metadata?: any;
14483
14879
  fromMessage?: {
14484
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
14880
+ 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";
14485
14881
  message: string;
14486
14882
  id: string;
14487
14883
  url: string;
@@ -14535,6 +14931,7 @@ export declare const whatsappContract: {
14535
14931
  };
14536
14932
  upload: {
14537
14933
  id: string;
14934
+ status: string | null;
14538
14935
  createdAt: Date;
14539
14936
  updatedAt: Date;
14540
14937
  deletedAt: Date | null;
@@ -14543,7 +14940,6 @@ export declare const whatsappContract: {
14543
14940
  bucketName: string;
14544
14941
  fileSize: number;
14545
14942
  fileUrl: string | null;
14546
- status?: string | undefined;
14547
14943
  };
14548
14944
  assignee: {
14549
14945
  name: string;
@@ -14604,16 +15000,15 @@ export declare const whatsappContract: {
14604
15000
  additionalCredentials?: any;
14605
15001
  senderId?: string | undefined;
14606
15002
  whatsapp?: {
14607
- wabaBusinessId?: string | null | undefined;
14608
- wabaExternalId?: string | null | undefined;
14609
- phoneNumberId?: string | null | undefined;
14610
- email?: string | null | undefined;
14611
- clientId?: string | null | undefined;
14612
- channelId?: string | null | undefined;
15003
+ email: string;
15004
+ wabaExternalId: string;
15005
+ phoneNumberId: string;
15006
+ wabaBusinessId?: string | undefined;
15007
+ clientId?: string | undefined;
15008
+ channelId?: string | undefined;
14613
15009
  status?: "active" | "pending" | undefined;
14614
15010
  apiKey?: string | undefined;
14615
15011
  tier?: "basic" | "regular" | "premium" | undefined;
14616
- integrationType?: "meta" | "360dialog" | undefined;
14617
15012
  } | undefined;
14618
15013
  vonageCredentials?: {
14619
15014
  apiKey: string;
@@ -14784,6 +15179,7 @@ export declare const whatsappContract: {
14784
15179
  dateValue: Date | null;
14785
15180
  uploads: {
14786
15181
  id: string;
15182
+ status: string | null;
14787
15183
  createdAt: Date;
14788
15184
  updatedAt: Date;
14789
15185
  deletedAt: Date | null;
@@ -14792,7 +15188,6 @@ export declare const whatsappContract: {
14792
15188
  bucketName: string;
14793
15189
  fileSize: number;
14794
15190
  fileUrl: string | null;
14795
- status?: string | undefined;
14796
15191
  }[];
14797
15192
  }[];
14798
15193
  company: {
@@ -14927,8 +15322,12 @@ export declare const whatsappContract: {
14927
15322
  entityName: string;
14928
15323
  agentId: string | null;
14929
15324
  startedDate: Date | null;
15325
+ totalHoldDuration: number | null;
14930
15326
  handledTime: number | null;
15327
+ fullHandledTime: number | null;
14931
15328
  firstResponseTime: number | null;
15329
+ resolutionTime: number | null;
15330
+ fullResolutionTime: number | null;
14932
15331
  wrapUpForm: {
14933
15332
  type: string;
14934
15333
  id: string;
@@ -14981,6 +15380,24 @@ export declare const whatsappContract: {
14981
15380
  dateValue: Date | null;
14982
15381
  }[] | null | undefined;
14983
15382
  } | null;
15383
+ holdLogs?: {
15384
+ id: string;
15385
+ createdAt: Date;
15386
+ updatedAt: Date;
15387
+ deletedAt: Date | null;
15388
+ startedAt: string;
15389
+ endedAt: string | null;
15390
+ duration: number | null;
15391
+ holdLabel?: {
15392
+ name: string;
15393
+ id: string;
15394
+ position: number;
15395
+ createdAt: Date;
15396
+ updatedAt: Date;
15397
+ deletedAt: Date | null;
15398
+ isDefault?: boolean | undefined;
15399
+ } | null | undefined;
15400
+ }[] | null | undefined;
14984
15401
  };
14985
15402
  workflowRule: {
14986
15403
  name: string;
@@ -15009,7 +15426,7 @@ export declare const whatsappContract: {
15009
15426
  previewUrl: string;
15010
15427
  imageSetId: string;
15011
15428
  repliedMessage: {
15012
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15429
+ 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";
15013
15430
  message: string;
15014
15431
  id: string;
15015
15432
  url: string;
@@ -15063,6 +15480,7 @@ export declare const whatsappContract: {
15063
15480
  };
15064
15481
  upload: {
15065
15482
  id: string;
15483
+ status: string | null;
15066
15484
  createdAt: Date;
15067
15485
  updatedAt: Date;
15068
15486
  deletedAt: Date | null;
@@ -15071,7 +15489,6 @@ export declare const whatsappContract: {
15071
15489
  bucketName: string;
15072
15490
  fileSize: number;
15073
15491
  fileUrl: string | null;
15074
- status?: string | undefined;
15075
15492
  };
15076
15493
  assignee: {
15077
15494
  name: string;
@@ -15223,7 +15640,7 @@ export declare const whatsappContract: {
15223
15640
  }>;
15224
15641
  }, "strip", z.ZodTypeAny, {
15225
15642
  data: {
15226
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
15643
+ 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";
15227
15644
  message: string;
15228
15645
  id: string;
15229
15646
  url: string;
@@ -15277,6 +15694,7 @@ export declare const whatsappContract: {
15277
15694
  };
15278
15695
  upload: {
15279
15696
  id: string;
15697
+ status: string | null;
15280
15698
  createdAt: Date;
15281
15699
  updatedAt: Date;
15282
15700
  deletedAt: Date | null;
@@ -15285,7 +15703,6 @@ export declare const whatsappContract: {
15285
15703
  bucketName: string;
15286
15704
  fileSize: number;
15287
15705
  fileUrl: string | null;
15288
- status?: string | undefined;
15289
15706
  };
15290
15707
  assignee: {
15291
15708
  name: string;
@@ -15346,16 +15763,15 @@ export declare const whatsappContract: {
15346
15763
  additionalCredentials?: any;
15347
15764
  senderId?: string | undefined;
15348
15765
  whatsapp?: {
15349
- wabaBusinessId?: string | null | undefined;
15350
- wabaExternalId?: string | null | undefined;
15351
- phoneNumberId?: string | null | undefined;
15352
- email?: string | null | undefined;
15353
- clientId?: string | null | undefined;
15354
- channelId?: string | null | undefined;
15766
+ email: string;
15767
+ wabaExternalId: string;
15768
+ phoneNumberId: string;
15769
+ wabaBusinessId?: string | undefined;
15770
+ clientId?: string | undefined;
15771
+ channelId?: string | undefined;
15355
15772
  status?: "active" | "pending" | undefined;
15356
15773
  apiKey?: string | undefined;
15357
15774
  tier?: "basic" | "regular" | "premium" | undefined;
15358
- integrationType?: "meta" | "360dialog" | undefined;
15359
15775
  } | undefined;
15360
15776
  vonageCredentials?: {
15361
15777
  apiKey: string;
@@ -15526,6 +15942,7 @@ export declare const whatsappContract: {
15526
15942
  dateValue: Date | null;
15527
15943
  uploads: {
15528
15944
  id: string;
15945
+ status: string | null;
15529
15946
  createdAt: Date;
15530
15947
  updatedAt: Date;
15531
15948
  deletedAt: Date | null;
@@ -15534,7 +15951,6 @@ export declare const whatsappContract: {
15534
15951
  bucketName: string;
15535
15952
  fileSize: number;
15536
15953
  fileUrl: string | null;
15537
- status?: string | undefined;
15538
15954
  }[];
15539
15955
  }[];
15540
15956
  company: {
@@ -15669,8 +16085,12 @@ export declare const whatsappContract: {
15669
16085
  entityName: string;
15670
16086
  agentId: string | null;
15671
16087
  startedDate: Date | null;
16088
+ totalHoldDuration: number | null;
15672
16089
  handledTime: number | null;
16090
+ fullHandledTime: number | null;
15673
16091
  firstResponseTime: number | null;
16092
+ resolutionTime: number | null;
16093
+ fullResolutionTime: number | null;
15674
16094
  wrapUpForm: {
15675
16095
  type: string;
15676
16096
  id: string;
@@ -15723,6 +16143,24 @@ export declare const whatsappContract: {
15723
16143
  dateValue: Date | null;
15724
16144
  }[] | null | undefined;
15725
16145
  } | null;
16146
+ holdLogs?: {
16147
+ id: string;
16148
+ createdAt: Date;
16149
+ updatedAt: Date;
16150
+ deletedAt: Date | null;
16151
+ startedAt: string;
16152
+ endedAt: string | null;
16153
+ duration: number | null;
16154
+ holdLabel?: {
16155
+ name: string;
16156
+ id: string;
16157
+ position: number;
16158
+ createdAt: Date;
16159
+ updatedAt: Date;
16160
+ deletedAt: Date | null;
16161
+ isDefault: boolean;
16162
+ } | null | undefined;
16163
+ }[] | null | undefined;
15726
16164
  };
15727
16165
  workflowRule: {
15728
16166
  name: string;
@@ -15751,7 +16189,7 @@ export declare const whatsappContract: {
15751
16189
  previewUrl: string;
15752
16190
  imageSetId: string;
15753
16191
  repliedMessage: {
15754
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16192
+ 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";
15755
16193
  message: string;
15756
16194
  id: string;
15757
16195
  url: string;
@@ -15805,6 +16243,7 @@ export declare const whatsappContract: {
15805
16243
  };
15806
16244
  upload: {
15807
16245
  id: string;
16246
+ status: string | null;
15808
16247
  createdAt: Date;
15809
16248
  updatedAt: Date;
15810
16249
  deletedAt: Date | null;
@@ -15813,7 +16252,6 @@ export declare const whatsappContract: {
15813
16252
  bucketName: string;
15814
16253
  fileSize: number;
15815
16254
  fileUrl: string | null;
15816
- status?: string | undefined;
15817
16255
  };
15818
16256
  assignee: {
15819
16257
  name: string;
@@ -15962,7 +16400,7 @@ export declare const whatsappContract: {
15962
16400
  template?: any;
15963
16401
  metadata?: any;
15964
16402
  fromMessage?: {
15965
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16403
+ 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";
15966
16404
  message: string;
15967
16405
  id: string;
15968
16406
  url: string;
@@ -16016,6 +16454,7 @@ export declare const whatsappContract: {
16016
16454
  };
16017
16455
  upload: {
16018
16456
  id: string;
16457
+ status: string | null;
16019
16458
  createdAt: Date;
16020
16459
  updatedAt: Date;
16021
16460
  deletedAt: Date | null;
@@ -16024,7 +16463,6 @@ export declare const whatsappContract: {
16024
16463
  bucketName: string;
16025
16464
  fileSize: number;
16026
16465
  fileUrl: string | null;
16027
- status?: string | undefined;
16028
16466
  };
16029
16467
  assignee: {
16030
16468
  name: string;
@@ -16085,16 +16523,15 @@ export declare const whatsappContract: {
16085
16523
  additionalCredentials?: any;
16086
16524
  senderId?: string | undefined;
16087
16525
  whatsapp?: {
16088
- wabaBusinessId?: string | null | undefined;
16089
- wabaExternalId?: string | null | undefined;
16090
- phoneNumberId?: string | null | undefined;
16091
- email?: string | null | undefined;
16092
- clientId?: string | null | undefined;
16093
- channelId?: string | null | undefined;
16526
+ email: string;
16527
+ wabaExternalId: string;
16528
+ phoneNumberId: string;
16529
+ wabaBusinessId?: string | undefined;
16530
+ clientId?: string | undefined;
16531
+ channelId?: string | undefined;
16094
16532
  status?: "active" | "pending" | undefined;
16095
16533
  apiKey?: string | undefined;
16096
16534
  tier?: "basic" | "regular" | "premium" | undefined;
16097
- integrationType?: "meta" | "360dialog" | undefined;
16098
16535
  } | undefined;
16099
16536
  vonageCredentials?: {
16100
16537
  apiKey: string;
@@ -16265,6 +16702,7 @@ export declare const whatsappContract: {
16265
16702
  dateValue: Date | null;
16266
16703
  uploads: {
16267
16704
  id: string;
16705
+ status: string | null;
16268
16706
  createdAt: Date;
16269
16707
  updatedAt: Date;
16270
16708
  deletedAt: Date | null;
@@ -16273,7 +16711,6 @@ export declare const whatsappContract: {
16273
16711
  bucketName: string;
16274
16712
  fileSize: number;
16275
16713
  fileUrl: string | null;
16276
- status?: string | undefined;
16277
16714
  }[];
16278
16715
  }[];
16279
16716
  company: {
@@ -16408,8 +16845,12 @@ export declare const whatsappContract: {
16408
16845
  entityName: string;
16409
16846
  agentId: string | null;
16410
16847
  startedDate: Date | null;
16848
+ totalHoldDuration: number | null;
16411
16849
  handledTime: number | null;
16850
+ fullHandledTime: number | null;
16412
16851
  firstResponseTime: number | null;
16852
+ resolutionTime: number | null;
16853
+ fullResolutionTime: number | null;
16413
16854
  wrapUpForm: {
16414
16855
  type: string;
16415
16856
  id: string;
@@ -16462,6 +16903,24 @@ export declare const whatsappContract: {
16462
16903
  dateValue: Date | null;
16463
16904
  }[] | null | undefined;
16464
16905
  } | null;
16906
+ holdLogs?: {
16907
+ id: string;
16908
+ createdAt: Date;
16909
+ updatedAt: Date;
16910
+ deletedAt: Date | null;
16911
+ startedAt: string;
16912
+ endedAt: string | null;
16913
+ duration: number | null;
16914
+ holdLabel?: {
16915
+ name: string;
16916
+ id: string;
16917
+ position: number;
16918
+ createdAt: Date;
16919
+ updatedAt: Date;
16920
+ deletedAt: Date | null;
16921
+ isDefault: boolean;
16922
+ } | null | undefined;
16923
+ }[] | null | undefined;
16465
16924
  };
16466
16925
  workflowRule: {
16467
16926
  name: string;
@@ -16490,7 +16949,7 @@ export declare const whatsappContract: {
16490
16949
  previewUrl: string;
16491
16950
  imageSetId: string;
16492
16951
  repliedMessage: {
16493
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
16952
+ 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";
16494
16953
  message: string;
16495
16954
  id: string;
16496
16955
  url: string;
@@ -16544,6 +17003,7 @@ export declare const whatsappContract: {
16544
17003
  };
16545
17004
  upload: {
16546
17005
  id: string;
17006
+ status: string | null;
16547
17007
  createdAt: Date;
16548
17008
  updatedAt: Date;
16549
17009
  deletedAt: Date | null;
@@ -16552,7 +17012,6 @@ export declare const whatsappContract: {
16552
17012
  bucketName: string;
16553
17013
  fileSize: number;
16554
17014
  fileUrl: string | null;
16555
- status?: string | undefined;
16556
17015
  };
16557
17016
  assignee: {
16558
17017
  name: string;
@@ -16705,7 +17164,7 @@ export declare const whatsappContract: {
16705
17164
  requestId: string;
16706
17165
  }, {
16707
17166
  data: {
16708
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17167
+ 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";
16709
17168
  message: string;
16710
17169
  id: string;
16711
17170
  url: string;
@@ -16759,6 +17218,7 @@ export declare const whatsappContract: {
16759
17218
  };
16760
17219
  upload: {
16761
17220
  id: string;
17221
+ status: string | null;
16762
17222
  createdAt: Date;
16763
17223
  updatedAt: Date;
16764
17224
  deletedAt: Date | null;
@@ -16767,7 +17227,6 @@ export declare const whatsappContract: {
16767
17227
  bucketName: string;
16768
17228
  fileSize: number;
16769
17229
  fileUrl: string | null;
16770
- status?: string | undefined;
16771
17230
  };
16772
17231
  assignee: {
16773
17232
  name: string;
@@ -16828,16 +17287,15 @@ export declare const whatsappContract: {
16828
17287
  additionalCredentials?: any;
16829
17288
  senderId?: string | undefined;
16830
17289
  whatsapp?: {
16831
- wabaBusinessId?: string | null | undefined;
16832
- wabaExternalId?: string | null | undefined;
16833
- phoneNumberId?: string | null | undefined;
16834
- email?: string | null | undefined;
16835
- clientId?: string | null | undefined;
16836
- channelId?: string | null | undefined;
17290
+ email: string;
17291
+ wabaExternalId: string;
17292
+ phoneNumberId: string;
17293
+ wabaBusinessId?: string | undefined;
17294
+ clientId?: string | undefined;
17295
+ channelId?: string | undefined;
16837
17296
  status?: "active" | "pending" | undefined;
16838
17297
  apiKey?: string | undefined;
16839
17298
  tier?: "basic" | "regular" | "premium" | undefined;
16840
- integrationType?: "meta" | "360dialog" | undefined;
16841
17299
  } | undefined;
16842
17300
  vonageCredentials?: {
16843
17301
  apiKey: string;
@@ -17008,6 +17466,7 @@ export declare const whatsappContract: {
17008
17466
  dateValue: Date | null;
17009
17467
  uploads: {
17010
17468
  id: string;
17469
+ status: string | null;
17011
17470
  createdAt: Date;
17012
17471
  updatedAt: Date;
17013
17472
  deletedAt: Date | null;
@@ -17016,7 +17475,6 @@ export declare const whatsappContract: {
17016
17475
  bucketName: string;
17017
17476
  fileSize: number;
17018
17477
  fileUrl: string | null;
17019
- status?: string | undefined;
17020
17478
  }[];
17021
17479
  }[];
17022
17480
  company: {
@@ -17151,8 +17609,12 @@ export declare const whatsappContract: {
17151
17609
  entityName: string;
17152
17610
  agentId: string | null;
17153
17611
  startedDate: Date | null;
17612
+ totalHoldDuration: number | null;
17154
17613
  handledTime: number | null;
17614
+ fullHandledTime: number | null;
17155
17615
  firstResponseTime: number | null;
17616
+ resolutionTime: number | null;
17617
+ fullResolutionTime: number | null;
17156
17618
  wrapUpForm: {
17157
17619
  type: string;
17158
17620
  id: string;
@@ -17205,6 +17667,24 @@ export declare const whatsappContract: {
17205
17667
  dateValue: Date | null;
17206
17668
  }[] | null | undefined;
17207
17669
  } | null;
17670
+ holdLogs?: {
17671
+ id: string;
17672
+ createdAt: Date;
17673
+ updatedAt: Date;
17674
+ deletedAt: Date | null;
17675
+ startedAt: string;
17676
+ endedAt: string | null;
17677
+ duration: number | null;
17678
+ holdLabel?: {
17679
+ name: string;
17680
+ id: string;
17681
+ position: number;
17682
+ createdAt: Date;
17683
+ updatedAt: Date;
17684
+ deletedAt: Date | null;
17685
+ isDefault?: boolean | undefined;
17686
+ } | null | undefined;
17687
+ }[] | null | undefined;
17208
17688
  };
17209
17689
  workflowRule: {
17210
17690
  name: string;
@@ -17233,7 +17713,7 @@ export declare const whatsappContract: {
17233
17713
  previewUrl: string;
17234
17714
  imageSetId: string;
17235
17715
  repliedMessage: {
17236
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17716
+ 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";
17237
17717
  message: string;
17238
17718
  id: string;
17239
17719
  url: string;
@@ -17287,6 +17767,7 @@ export declare const whatsappContract: {
17287
17767
  };
17288
17768
  upload: {
17289
17769
  id: string;
17770
+ status: string | null;
17290
17771
  createdAt: Date;
17291
17772
  updatedAt: Date;
17292
17773
  deletedAt: Date | null;
@@ -17295,7 +17776,6 @@ export declare const whatsappContract: {
17295
17776
  bucketName: string;
17296
17777
  fileSize: number;
17297
17778
  fileUrl: string | null;
17298
- status?: string | undefined;
17299
17779
  };
17300
17780
  assignee: {
17301
17781
  name: string;
@@ -17444,7 +17924,7 @@ export declare const whatsappContract: {
17444
17924
  template?: any;
17445
17925
  metadata?: any;
17446
17926
  fromMessage?: {
17447
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
17927
+ 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";
17448
17928
  message: string;
17449
17929
  id: string;
17450
17930
  url: string;
@@ -17498,6 +17978,7 @@ export declare const whatsappContract: {
17498
17978
  };
17499
17979
  upload: {
17500
17980
  id: string;
17981
+ status: string | null;
17501
17982
  createdAt: Date;
17502
17983
  updatedAt: Date;
17503
17984
  deletedAt: Date | null;
@@ -17506,7 +17987,6 @@ export declare const whatsappContract: {
17506
17987
  bucketName: string;
17507
17988
  fileSize: number;
17508
17989
  fileUrl: string | null;
17509
- status?: string | undefined;
17510
17990
  };
17511
17991
  assignee: {
17512
17992
  name: string;
@@ -17567,16 +18047,15 @@ export declare const whatsappContract: {
17567
18047
  additionalCredentials?: any;
17568
18048
  senderId?: string | undefined;
17569
18049
  whatsapp?: {
17570
- wabaBusinessId?: string | null | undefined;
17571
- wabaExternalId?: string | null | undefined;
17572
- phoneNumberId?: string | null | undefined;
17573
- email?: string | null | undefined;
17574
- clientId?: string | null | undefined;
17575
- channelId?: string | null | undefined;
18050
+ email: string;
18051
+ wabaExternalId: string;
18052
+ phoneNumberId: string;
18053
+ wabaBusinessId?: string | undefined;
18054
+ clientId?: string | undefined;
18055
+ channelId?: string | undefined;
17576
18056
  status?: "active" | "pending" | undefined;
17577
18057
  apiKey?: string | undefined;
17578
18058
  tier?: "basic" | "regular" | "premium" | undefined;
17579
- integrationType?: "meta" | "360dialog" | undefined;
17580
18059
  } | undefined;
17581
18060
  vonageCredentials?: {
17582
18061
  apiKey: string;
@@ -17747,6 +18226,7 @@ export declare const whatsappContract: {
17747
18226
  dateValue: Date | null;
17748
18227
  uploads: {
17749
18228
  id: string;
18229
+ status: string | null;
17750
18230
  createdAt: Date;
17751
18231
  updatedAt: Date;
17752
18232
  deletedAt: Date | null;
@@ -17755,7 +18235,6 @@ export declare const whatsappContract: {
17755
18235
  bucketName: string;
17756
18236
  fileSize: number;
17757
18237
  fileUrl: string | null;
17758
- status?: string | undefined;
17759
18238
  }[];
17760
18239
  }[];
17761
18240
  company: {
@@ -17890,8 +18369,12 @@ export declare const whatsappContract: {
17890
18369
  entityName: string;
17891
18370
  agentId: string | null;
17892
18371
  startedDate: Date | null;
18372
+ totalHoldDuration: number | null;
17893
18373
  handledTime: number | null;
18374
+ fullHandledTime: number | null;
17894
18375
  firstResponseTime: number | null;
18376
+ resolutionTime: number | null;
18377
+ fullResolutionTime: number | null;
17895
18378
  wrapUpForm: {
17896
18379
  type: string;
17897
18380
  id: string;
@@ -17944,6 +18427,24 @@ export declare const whatsappContract: {
17944
18427
  dateValue: Date | null;
17945
18428
  }[] | null | undefined;
17946
18429
  } | null;
18430
+ holdLogs?: {
18431
+ id: string;
18432
+ createdAt: Date;
18433
+ updatedAt: Date;
18434
+ deletedAt: Date | null;
18435
+ startedAt: string;
18436
+ endedAt: string | null;
18437
+ duration: number | null;
18438
+ holdLabel?: {
18439
+ name: string;
18440
+ id: string;
18441
+ position: number;
18442
+ createdAt: Date;
18443
+ updatedAt: Date;
18444
+ deletedAt: Date | null;
18445
+ isDefault?: boolean | undefined;
18446
+ } | null | undefined;
18447
+ }[] | null | undefined;
17947
18448
  };
17948
18449
  workflowRule: {
17949
18450
  name: string;
@@ -17972,7 +18473,7 @@ export declare const whatsappContract: {
17972
18473
  previewUrl: string;
17973
18474
  imageSetId: string;
17974
18475
  repliedMessage: {
17975
- type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "text_with_image" | "reaction" | "contacts" | "carousel" | "card" | "choice" | "dropdown" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "edited" | "deleted" | "unsupported";
18476
+ 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";
17976
18477
  message: string;
17977
18478
  id: string;
17978
18479
  url: string;
@@ -18026,6 +18527,7 @@ export declare const whatsappContract: {
18026
18527
  };
18027
18528
  upload: {
18028
18529
  id: string;
18530
+ status: string | null;
18029
18531
  createdAt: Date;
18030
18532
  updatedAt: Date;
18031
18533
  deletedAt: Date | null;
@@ -18034,7 +18536,6 @@ export declare const whatsappContract: {
18034
18536
  bucketName: string;
18035
18537
  fileSize: number;
18036
18538
  fileUrl: string | null;
18037
- status?: string | undefined;
18038
18539
  };
18039
18540
  assignee: {
18040
18541
  name: string;
@@ -18222,38 +18723,35 @@ export declare const whatsappContract: {
18222
18723
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18223
18724
  senderId: z.ZodOptional<z.ZodString>;
18224
18725
  whatsapp: z.ZodOptional<z.ZodObject<{
18225
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18226
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18227
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18228
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18229
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18230
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18726
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
18727
+ wabaExternalId: z.ZodString;
18728
+ phoneNumberId: z.ZodString;
18729
+ email: z.ZodString;
18730
+ clientId: z.ZodOptional<z.ZodString>;
18731
+ channelId: z.ZodOptional<z.ZodString>;
18231
18732
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18232
18733
  apiKey: z.ZodOptional<z.ZodString>;
18233
18734
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18234
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18235
18735
  }, "strip", z.ZodTypeAny, {
18236
- wabaBusinessId?: string | null | undefined;
18237
- wabaExternalId?: string | null | undefined;
18238
- phoneNumberId?: string | null | undefined;
18239
- email?: string | null | undefined;
18240
- clientId?: string | null | undefined;
18241
- channelId?: string | null | undefined;
18736
+ email: string;
18737
+ wabaExternalId: string;
18738
+ phoneNumberId: string;
18739
+ wabaBusinessId?: string | undefined;
18740
+ clientId?: string | undefined;
18741
+ channelId?: string | undefined;
18242
18742
  status?: "active" | "pending" | undefined;
18243
18743
  apiKey?: string | undefined;
18244
18744
  tier?: "basic" | "regular" | "premium" | undefined;
18245
- integrationType?: "meta" | "360dialog" | undefined;
18246
18745
  }, {
18247
- wabaBusinessId?: string | null | undefined;
18248
- wabaExternalId?: string | null | undefined;
18249
- phoneNumberId?: string | null | undefined;
18250
- email?: string | null | undefined;
18251
- clientId?: string | null | undefined;
18252
- channelId?: string | null | undefined;
18746
+ email: string;
18747
+ wabaExternalId: string;
18748
+ phoneNumberId: string;
18749
+ wabaBusinessId?: string | undefined;
18750
+ clientId?: string | undefined;
18751
+ channelId?: string | undefined;
18253
18752
  status?: "active" | "pending" | undefined;
18254
18753
  apiKey?: string | undefined;
18255
18754
  tier?: "basic" | "regular" | "premium" | undefined;
18256
- integrationType?: "meta" | "360dialog" | undefined;
18257
18755
  }>>;
18258
18756
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18259
18757
  mobileNumber: z.ZodString;
@@ -18278,16 +18776,15 @@ export declare const whatsappContract: {
18278
18776
  additionalCredentials?: any;
18279
18777
  senderId?: string | undefined;
18280
18778
  whatsapp?: {
18281
- wabaBusinessId?: string | null | undefined;
18282
- wabaExternalId?: string | null | undefined;
18283
- phoneNumberId?: string | null | undefined;
18284
- email?: string | null | undefined;
18285
- clientId?: string | null | undefined;
18286
- channelId?: string | null | undefined;
18779
+ email: string;
18780
+ wabaExternalId: string;
18781
+ phoneNumberId: string;
18782
+ wabaBusinessId?: string | undefined;
18783
+ clientId?: string | undefined;
18784
+ channelId?: string | undefined;
18287
18785
  status?: "active" | "pending" | undefined;
18288
18786
  apiKey?: string | undefined;
18289
18787
  tier?: "basic" | "regular" | "premium" | undefined;
18290
- integrationType?: "meta" | "360dialog" | undefined;
18291
18788
  } | undefined;
18292
18789
  vonageCredentials?: {
18293
18790
  apiKey: string;
@@ -18304,16 +18801,15 @@ export declare const whatsappContract: {
18304
18801
  additionalCredentials?: any;
18305
18802
  senderId?: string | undefined;
18306
18803
  whatsapp?: {
18307
- wabaBusinessId?: string | null | undefined;
18308
- wabaExternalId?: string | null | undefined;
18309
- phoneNumberId?: string | null | undefined;
18310
- email?: string | null | undefined;
18311
- clientId?: string | null | undefined;
18312
- channelId?: string | null | undefined;
18804
+ email: string;
18805
+ wabaExternalId: string;
18806
+ phoneNumberId: string;
18807
+ wabaBusinessId?: string | undefined;
18808
+ clientId?: string | undefined;
18809
+ channelId?: string | undefined;
18313
18810
  status?: "active" | "pending" | undefined;
18314
18811
  apiKey?: string | undefined;
18315
18812
  tier?: "basic" | "regular" | "premium" | undefined;
18316
- integrationType?: "meta" | "360dialog" | undefined;
18317
18813
  } | undefined;
18318
18814
  vonageCredentials?: {
18319
18815
  apiKey: string;
@@ -18360,16 +18856,15 @@ export declare const whatsappContract: {
18360
18856
  additionalCredentials?: any;
18361
18857
  senderId?: string | undefined;
18362
18858
  whatsapp?: {
18363
- wabaBusinessId?: string | null | undefined;
18364
- wabaExternalId?: string | null | undefined;
18365
- phoneNumberId?: string | null | undefined;
18366
- email?: string | null | undefined;
18367
- clientId?: string | null | undefined;
18368
- channelId?: string | null | undefined;
18859
+ email: string;
18860
+ wabaExternalId: string;
18861
+ phoneNumberId: string;
18862
+ wabaBusinessId?: string | undefined;
18863
+ clientId?: string | undefined;
18864
+ channelId?: string | undefined;
18369
18865
  status?: "active" | "pending" | undefined;
18370
18866
  apiKey?: string | undefined;
18371
18867
  tier?: "basic" | "regular" | "premium" | undefined;
18372
- integrationType?: "meta" | "360dialog" | undefined;
18373
18868
  } | undefined;
18374
18869
  vonageCredentials?: {
18375
18870
  apiKey: string;
@@ -18404,16 +18899,15 @@ export declare const whatsappContract: {
18404
18899
  additionalCredentials?: any;
18405
18900
  senderId?: string | undefined;
18406
18901
  whatsapp?: {
18407
- wabaBusinessId?: string | null | undefined;
18408
- wabaExternalId?: string | null | undefined;
18409
- phoneNumberId?: string | null | undefined;
18410
- email?: string | null | undefined;
18411
- clientId?: string | null | undefined;
18412
- channelId?: string | null | undefined;
18902
+ email: string;
18903
+ wabaExternalId: string;
18904
+ phoneNumberId: string;
18905
+ wabaBusinessId?: string | undefined;
18906
+ clientId?: string | undefined;
18907
+ channelId?: string | undefined;
18413
18908
  status?: "active" | "pending" | undefined;
18414
18909
  apiKey?: string | undefined;
18415
18910
  tier?: "basic" | "regular" | "premium" | undefined;
18416
- integrationType?: "meta" | "360dialog" | undefined;
18417
18911
  } | undefined;
18418
18912
  vonageCredentials?: {
18419
18913
  apiKey: string;
@@ -18453,38 +18947,35 @@ export declare const whatsappContract: {
18453
18947
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18454
18948
  senderId: z.ZodOptional<z.ZodString>;
18455
18949
  whatsapp: z.ZodOptional<z.ZodObject<{
18456
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18457
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18458
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18459
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18460
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18461
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18950
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
18951
+ wabaExternalId: z.ZodString;
18952
+ phoneNumberId: z.ZodString;
18953
+ email: z.ZodString;
18954
+ clientId: z.ZodOptional<z.ZodString>;
18955
+ channelId: z.ZodOptional<z.ZodString>;
18462
18956
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18463
18957
  apiKey: z.ZodOptional<z.ZodString>;
18464
18958
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18465
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18466
18959
  }, "strip", z.ZodTypeAny, {
18467
- wabaBusinessId?: string | null | undefined;
18468
- wabaExternalId?: string | null | undefined;
18469
- phoneNumberId?: string | null | undefined;
18470
- email?: string | null | undefined;
18471
- clientId?: string | null | undefined;
18472
- channelId?: string | null | undefined;
18960
+ email: string;
18961
+ wabaExternalId: string;
18962
+ phoneNumberId: string;
18963
+ wabaBusinessId?: string | undefined;
18964
+ clientId?: string | undefined;
18965
+ channelId?: string | undefined;
18473
18966
  status?: "active" | "pending" | undefined;
18474
18967
  apiKey?: string | undefined;
18475
18968
  tier?: "basic" | "regular" | "premium" | undefined;
18476
- integrationType?: "meta" | "360dialog" | undefined;
18477
18969
  }, {
18478
- wabaBusinessId?: string | null | undefined;
18479
- wabaExternalId?: string | null | undefined;
18480
- phoneNumberId?: string | null | undefined;
18481
- email?: string | null | undefined;
18482
- clientId?: string | null | undefined;
18483
- channelId?: string | null | undefined;
18970
+ email: string;
18971
+ wabaExternalId: string;
18972
+ phoneNumberId: string;
18973
+ wabaBusinessId?: string | undefined;
18974
+ clientId?: string | undefined;
18975
+ channelId?: string | undefined;
18484
18976
  status?: "active" | "pending" | undefined;
18485
18977
  apiKey?: string | undefined;
18486
18978
  tier?: "basic" | "regular" | "premium" | undefined;
18487
- integrationType?: "meta" | "360dialog" | undefined;
18488
18979
  }>>;
18489
18980
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18490
18981
  mobileNumber: z.ZodString;
@@ -18509,16 +19000,15 @@ export declare const whatsappContract: {
18509
19000
  additionalCredentials?: any;
18510
19001
  senderId?: string | undefined;
18511
19002
  whatsapp?: {
18512
- wabaBusinessId?: string | null | undefined;
18513
- wabaExternalId?: string | null | undefined;
18514
- phoneNumberId?: string | null | undefined;
18515
- email?: string | null | undefined;
18516
- clientId?: string | null | undefined;
18517
- channelId?: string | null | undefined;
19003
+ email: string;
19004
+ wabaExternalId: string;
19005
+ phoneNumberId: string;
19006
+ wabaBusinessId?: string | undefined;
19007
+ clientId?: string | undefined;
19008
+ channelId?: string | undefined;
18518
19009
  status?: "active" | "pending" | undefined;
18519
19010
  apiKey?: string | undefined;
18520
19011
  tier?: "basic" | "regular" | "premium" | undefined;
18521
- integrationType?: "meta" | "360dialog" | undefined;
18522
19012
  } | undefined;
18523
19013
  vonageCredentials?: {
18524
19014
  apiKey: string;
@@ -18535,16 +19025,15 @@ export declare const whatsappContract: {
18535
19025
  additionalCredentials?: any;
18536
19026
  senderId?: string | undefined;
18537
19027
  whatsapp?: {
18538
- wabaBusinessId?: string | null | undefined;
18539
- wabaExternalId?: string | null | undefined;
18540
- phoneNumberId?: string | null | undefined;
18541
- email?: string | null | undefined;
18542
- clientId?: string | null | undefined;
18543
- channelId?: string | null | undefined;
19028
+ email: string;
19029
+ wabaExternalId: string;
19030
+ phoneNumberId: string;
19031
+ wabaBusinessId?: string | undefined;
19032
+ clientId?: string | undefined;
19033
+ channelId?: string | undefined;
18544
19034
  status?: "active" | "pending" | undefined;
18545
19035
  apiKey?: string | undefined;
18546
19036
  tier?: "basic" | "regular" | "premium" | undefined;
18547
- integrationType?: "meta" | "360dialog" | undefined;
18548
19037
  } | undefined;
18549
19038
  vonageCredentials?: {
18550
19039
  apiKey: string;
@@ -18591,16 +19080,15 @@ export declare const whatsappContract: {
18591
19080
  additionalCredentials?: any;
18592
19081
  senderId?: string | undefined;
18593
19082
  whatsapp?: {
18594
- wabaBusinessId?: string | null | undefined;
18595
- wabaExternalId?: string | null | undefined;
18596
- phoneNumberId?: string | null | undefined;
18597
- email?: string | null | undefined;
18598
- clientId?: string | null | undefined;
18599
- channelId?: string | null | undefined;
19083
+ email: string;
19084
+ wabaExternalId: string;
19085
+ phoneNumberId: string;
19086
+ wabaBusinessId?: string | undefined;
19087
+ clientId?: string | undefined;
19088
+ channelId?: string | undefined;
18600
19089
  status?: "active" | "pending" | undefined;
18601
19090
  apiKey?: string | undefined;
18602
19091
  tier?: "basic" | "regular" | "premium" | undefined;
18603
- integrationType?: "meta" | "360dialog" | undefined;
18604
19092
  } | undefined;
18605
19093
  vonageCredentials?: {
18606
19094
  apiKey: string;
@@ -18635,16 +19123,15 @@ export declare const whatsappContract: {
18635
19123
  additionalCredentials?: any;
18636
19124
  senderId?: string | undefined;
18637
19125
  whatsapp?: {
18638
- wabaBusinessId?: string | null | undefined;
18639
- wabaExternalId?: string | null | undefined;
18640
- phoneNumberId?: string | null | undefined;
18641
- email?: string | null | undefined;
18642
- clientId?: string | null | undefined;
18643
- channelId?: string | null | undefined;
19126
+ email: string;
19127
+ wabaExternalId: string;
19128
+ phoneNumberId: string;
19129
+ wabaBusinessId?: string | undefined;
19130
+ clientId?: string | undefined;
19131
+ channelId?: string | undefined;
18644
19132
  status?: "active" | "pending" | undefined;
18645
19133
  apiKey?: string | undefined;
18646
19134
  tier?: "basic" | "regular" | "premium" | undefined;
18647
- integrationType?: "meta" | "360dialog" | undefined;
18648
19135
  } | undefined;
18649
19136
  vonageCredentials?: {
18650
19137
  apiKey: string;
@@ -18681,16 +19168,15 @@ export declare const whatsappContract: {
18681
19168
  additionalCredentials?: any;
18682
19169
  senderId?: string | undefined;
18683
19170
  whatsapp?: {
18684
- wabaBusinessId?: string | null | undefined;
18685
- wabaExternalId?: string | null | undefined;
18686
- phoneNumberId?: string | null | undefined;
18687
- email?: string | null | undefined;
18688
- clientId?: string | null | undefined;
18689
- channelId?: string | null | undefined;
19171
+ email: string;
19172
+ wabaExternalId: string;
19173
+ phoneNumberId: string;
19174
+ wabaBusinessId?: string | undefined;
19175
+ clientId?: string | undefined;
19176
+ channelId?: string | undefined;
18690
19177
  status?: "active" | "pending" | undefined;
18691
19178
  apiKey?: string | undefined;
18692
19179
  tier?: "basic" | "regular" | "premium" | undefined;
18693
- integrationType?: "meta" | "360dialog" | undefined;
18694
19180
  } | undefined;
18695
19181
  vonageCredentials?: {
18696
19182
  apiKey: string;
@@ -18728,16 +19214,15 @@ export declare const whatsappContract: {
18728
19214
  additionalCredentials?: any;
18729
19215
  senderId?: string | undefined;
18730
19216
  whatsapp?: {
18731
- wabaBusinessId?: string | null | undefined;
18732
- wabaExternalId?: string | null | undefined;
18733
- phoneNumberId?: string | null | undefined;
18734
- email?: string | null | undefined;
18735
- clientId?: string | null | undefined;
18736
- channelId?: string | null | undefined;
19217
+ email: string;
19218
+ wabaExternalId: string;
19219
+ phoneNumberId: string;
19220
+ wabaBusinessId?: string | undefined;
19221
+ clientId?: string | undefined;
19222
+ channelId?: string | undefined;
18737
19223
  status?: "active" | "pending" | undefined;
18738
19224
  apiKey?: string | undefined;
18739
19225
  tier?: "basic" | "regular" | "premium" | undefined;
18740
- integrationType?: "meta" | "360dialog" | undefined;
18741
19226
  } | undefined;
18742
19227
  vonageCredentials?: {
18743
19228
  apiKey: string;
@@ -18799,38 +19284,35 @@ export declare const whatsappContract: {
18799
19284
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18800
19285
  senderId: z.ZodOptional<z.ZodString>;
18801
19286
  whatsapp: z.ZodOptional<z.ZodObject<{
18802
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18803
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18804
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18805
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18806
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18807
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19287
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19288
+ wabaExternalId: z.ZodString;
19289
+ phoneNumberId: z.ZodString;
19290
+ email: z.ZodString;
19291
+ clientId: z.ZodOptional<z.ZodString>;
19292
+ channelId: z.ZodOptional<z.ZodString>;
18808
19293
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18809
19294
  apiKey: z.ZodOptional<z.ZodString>;
18810
19295
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18811
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18812
19296
  }, "strip", z.ZodTypeAny, {
18813
- wabaBusinessId?: string | null | undefined;
18814
- wabaExternalId?: string | null | undefined;
18815
- phoneNumberId?: string | null | undefined;
18816
- email?: string | null | undefined;
18817
- clientId?: string | null | undefined;
18818
- channelId?: string | null | undefined;
19297
+ email: string;
19298
+ wabaExternalId: string;
19299
+ phoneNumberId: string;
19300
+ wabaBusinessId?: string | undefined;
19301
+ clientId?: string | undefined;
19302
+ channelId?: string | undefined;
18819
19303
  status?: "active" | "pending" | undefined;
18820
19304
  apiKey?: string | undefined;
18821
19305
  tier?: "basic" | "regular" | "premium" | undefined;
18822
- integrationType?: "meta" | "360dialog" | undefined;
18823
19306
  }, {
18824
- wabaBusinessId?: string | null | undefined;
18825
- wabaExternalId?: string | null | undefined;
18826
- phoneNumberId?: string | null | undefined;
18827
- email?: string | null | undefined;
18828
- clientId?: string | null | undefined;
18829
- channelId?: string | null | undefined;
19307
+ email: string;
19308
+ wabaExternalId: string;
19309
+ phoneNumberId: string;
19310
+ wabaBusinessId?: string | undefined;
19311
+ clientId?: string | undefined;
19312
+ channelId?: string | undefined;
18830
19313
  status?: "active" | "pending" | undefined;
18831
19314
  apiKey?: string | undefined;
18832
19315
  tier?: "basic" | "regular" | "premium" | undefined;
18833
- integrationType?: "meta" | "360dialog" | undefined;
18834
19316
  }>>;
18835
19317
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18836
19318
  mobileNumber: z.ZodString;
@@ -18855,16 +19337,15 @@ export declare const whatsappContract: {
18855
19337
  additionalCredentials?: any;
18856
19338
  senderId?: string | undefined;
18857
19339
  whatsapp?: {
18858
- wabaBusinessId?: string | null | undefined;
18859
- wabaExternalId?: string | null | undefined;
18860
- phoneNumberId?: string | null | undefined;
18861
- email?: string | null | undefined;
18862
- clientId?: string | null | undefined;
18863
- channelId?: string | null | undefined;
19340
+ email: string;
19341
+ wabaExternalId: string;
19342
+ phoneNumberId: string;
19343
+ wabaBusinessId?: string | undefined;
19344
+ clientId?: string | undefined;
19345
+ channelId?: string | undefined;
18864
19346
  status?: "active" | "pending" | undefined;
18865
19347
  apiKey?: string | undefined;
18866
19348
  tier?: "basic" | "regular" | "premium" | undefined;
18867
- integrationType?: "meta" | "360dialog" | undefined;
18868
19349
  } | undefined;
18869
19350
  vonageCredentials?: {
18870
19351
  apiKey: string;
@@ -18881,16 +19362,15 @@ export declare const whatsappContract: {
18881
19362
  additionalCredentials?: any;
18882
19363
  senderId?: string | undefined;
18883
19364
  whatsapp?: {
18884
- wabaBusinessId?: string | null | undefined;
18885
- wabaExternalId?: string | null | undefined;
18886
- phoneNumberId?: string | null | undefined;
18887
- email?: string | null | undefined;
18888
- clientId?: string | null | undefined;
18889
- channelId?: string | null | undefined;
19365
+ email: string;
19366
+ wabaExternalId: string;
19367
+ phoneNumberId: string;
19368
+ wabaBusinessId?: string | undefined;
19369
+ clientId?: string | undefined;
19370
+ channelId?: string | undefined;
18890
19371
  status?: "active" | "pending" | undefined;
18891
19372
  apiKey?: string | undefined;
18892
19373
  tier?: "basic" | "regular" | "premium" | undefined;
18893
- integrationType?: "meta" | "360dialog" | undefined;
18894
19374
  } | undefined;
18895
19375
  vonageCredentials?: {
18896
19376
  apiKey: string;
@@ -18937,16 +19417,15 @@ export declare const whatsappContract: {
18937
19417
  additionalCredentials?: any;
18938
19418
  senderId?: string | undefined;
18939
19419
  whatsapp?: {
18940
- wabaBusinessId?: string | null | undefined;
18941
- wabaExternalId?: string | null | undefined;
18942
- phoneNumberId?: string | null | undefined;
18943
- email?: string | null | undefined;
18944
- clientId?: string | null | undefined;
18945
- channelId?: string | null | undefined;
19420
+ email: string;
19421
+ wabaExternalId: string;
19422
+ phoneNumberId: string;
19423
+ wabaBusinessId?: string | undefined;
19424
+ clientId?: string | undefined;
19425
+ channelId?: string | undefined;
18946
19426
  status?: "active" | "pending" | undefined;
18947
19427
  apiKey?: string | undefined;
18948
19428
  tier?: "basic" | "regular" | "premium" | undefined;
18949
- integrationType?: "meta" | "360dialog" | undefined;
18950
19429
  } | undefined;
18951
19430
  vonageCredentials?: {
18952
19431
  apiKey: string;
@@ -18981,16 +19460,15 @@ export declare const whatsappContract: {
18981
19460
  additionalCredentials?: any;
18982
19461
  senderId?: string | undefined;
18983
19462
  whatsapp?: {
18984
- wabaBusinessId?: string | null | undefined;
18985
- wabaExternalId?: string | null | undefined;
18986
- phoneNumberId?: string | null | undefined;
18987
- email?: string | null | undefined;
18988
- clientId?: string | null | undefined;
18989
- channelId?: string | null | undefined;
19463
+ email: string;
19464
+ wabaExternalId: string;
19465
+ phoneNumberId: string;
19466
+ wabaBusinessId?: string | undefined;
19467
+ clientId?: string | undefined;
19468
+ channelId?: string | undefined;
18990
19469
  status?: "active" | "pending" | undefined;
18991
19470
  apiKey?: string | undefined;
18992
19471
  tier?: "basic" | "regular" | "premium" | undefined;
18993
- integrationType?: "meta" | "360dialog" | undefined;
18994
19472
  } | undefined;
18995
19473
  vonageCredentials?: {
18996
19474
  apiKey: string;
@@ -19030,38 +19508,35 @@ export declare const whatsappContract: {
19030
19508
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19031
19509
  senderId: z.ZodOptional<z.ZodString>;
19032
19510
  whatsapp: z.ZodOptional<z.ZodObject<{
19033
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19034
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19035
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19036
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19037
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19038
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19511
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19512
+ wabaExternalId: z.ZodString;
19513
+ phoneNumberId: z.ZodString;
19514
+ email: z.ZodString;
19515
+ clientId: z.ZodOptional<z.ZodString>;
19516
+ channelId: z.ZodOptional<z.ZodString>;
19039
19517
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19040
19518
  apiKey: z.ZodOptional<z.ZodString>;
19041
19519
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19042
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19043
19520
  }, "strip", z.ZodTypeAny, {
19044
- wabaBusinessId?: string | null | undefined;
19045
- wabaExternalId?: string | null | undefined;
19046
- phoneNumberId?: string | null | undefined;
19047
- email?: string | null | undefined;
19048
- clientId?: string | null | undefined;
19049
- channelId?: string | null | undefined;
19521
+ email: string;
19522
+ wabaExternalId: string;
19523
+ phoneNumberId: string;
19524
+ wabaBusinessId?: string | undefined;
19525
+ clientId?: string | undefined;
19526
+ channelId?: string | undefined;
19050
19527
  status?: "active" | "pending" | undefined;
19051
19528
  apiKey?: string | undefined;
19052
19529
  tier?: "basic" | "regular" | "premium" | undefined;
19053
- integrationType?: "meta" | "360dialog" | undefined;
19054
19530
  }, {
19055
- wabaBusinessId?: string | null | undefined;
19056
- wabaExternalId?: string | null | undefined;
19057
- phoneNumberId?: string | null | undefined;
19058
- email?: string | null | undefined;
19059
- clientId?: string | null | undefined;
19060
- channelId?: string | null | undefined;
19531
+ email: string;
19532
+ wabaExternalId: string;
19533
+ phoneNumberId: string;
19534
+ wabaBusinessId?: string | undefined;
19535
+ clientId?: string | undefined;
19536
+ channelId?: string | undefined;
19061
19537
  status?: "active" | "pending" | undefined;
19062
19538
  apiKey?: string | undefined;
19063
19539
  tier?: "basic" | "regular" | "premium" | undefined;
19064
- integrationType?: "meta" | "360dialog" | undefined;
19065
19540
  }>>;
19066
19541
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19067
19542
  mobileNumber: z.ZodString;
@@ -19086,16 +19561,15 @@ export declare const whatsappContract: {
19086
19561
  additionalCredentials?: any;
19087
19562
  senderId?: string | undefined;
19088
19563
  whatsapp?: {
19089
- wabaBusinessId?: string | null | undefined;
19090
- wabaExternalId?: string | null | undefined;
19091
- phoneNumberId?: string | null | undefined;
19092
- email?: string | null | undefined;
19093
- clientId?: string | null | undefined;
19094
- channelId?: string | null | undefined;
19564
+ email: string;
19565
+ wabaExternalId: string;
19566
+ phoneNumberId: string;
19567
+ wabaBusinessId?: string | undefined;
19568
+ clientId?: string | undefined;
19569
+ channelId?: string | undefined;
19095
19570
  status?: "active" | "pending" | undefined;
19096
19571
  apiKey?: string | undefined;
19097
19572
  tier?: "basic" | "regular" | "premium" | undefined;
19098
- integrationType?: "meta" | "360dialog" | undefined;
19099
19573
  } | undefined;
19100
19574
  vonageCredentials?: {
19101
19575
  apiKey: string;
@@ -19112,16 +19586,15 @@ export declare const whatsappContract: {
19112
19586
  additionalCredentials?: any;
19113
19587
  senderId?: string | undefined;
19114
19588
  whatsapp?: {
19115
- wabaBusinessId?: string | null | undefined;
19116
- wabaExternalId?: string | null | undefined;
19117
- phoneNumberId?: string | null | undefined;
19118
- email?: string | null | undefined;
19119
- clientId?: string | null | undefined;
19120
- channelId?: string | null | undefined;
19589
+ email: string;
19590
+ wabaExternalId: string;
19591
+ phoneNumberId: string;
19592
+ wabaBusinessId?: string | undefined;
19593
+ clientId?: string | undefined;
19594
+ channelId?: string | undefined;
19121
19595
  status?: "active" | "pending" | undefined;
19122
19596
  apiKey?: string | undefined;
19123
19597
  tier?: "basic" | "regular" | "premium" | undefined;
19124
- integrationType?: "meta" | "360dialog" | undefined;
19125
19598
  } | undefined;
19126
19599
  vonageCredentials?: {
19127
19600
  apiKey: string;
@@ -19168,16 +19641,15 @@ export declare const whatsappContract: {
19168
19641
  additionalCredentials?: any;
19169
19642
  senderId?: string | undefined;
19170
19643
  whatsapp?: {
19171
- wabaBusinessId?: string | null | undefined;
19172
- wabaExternalId?: string | null | undefined;
19173
- phoneNumberId?: string | null | undefined;
19174
- email?: string | null | undefined;
19175
- clientId?: string | null | undefined;
19176
- channelId?: string | null | undefined;
19644
+ email: string;
19645
+ wabaExternalId: string;
19646
+ phoneNumberId: string;
19647
+ wabaBusinessId?: string | undefined;
19648
+ clientId?: string | undefined;
19649
+ channelId?: string | undefined;
19177
19650
  status?: "active" | "pending" | undefined;
19178
19651
  apiKey?: string | undefined;
19179
19652
  tier?: "basic" | "regular" | "premium" | undefined;
19180
- integrationType?: "meta" | "360dialog" | undefined;
19181
19653
  } | undefined;
19182
19654
  vonageCredentials?: {
19183
19655
  apiKey: string;
@@ -19212,16 +19684,15 @@ export declare const whatsappContract: {
19212
19684
  additionalCredentials?: any;
19213
19685
  senderId?: string | undefined;
19214
19686
  whatsapp?: {
19215
- wabaBusinessId?: string | null | undefined;
19216
- wabaExternalId?: string | null | undefined;
19217
- phoneNumberId?: string | null | undefined;
19218
- email?: string | null | undefined;
19219
- clientId?: string | null | undefined;
19220
- channelId?: string | null | undefined;
19687
+ email: string;
19688
+ wabaExternalId: string;
19689
+ phoneNumberId: string;
19690
+ wabaBusinessId?: string | undefined;
19691
+ clientId?: string | undefined;
19692
+ channelId?: string | undefined;
19221
19693
  status?: "active" | "pending" | undefined;
19222
19694
  apiKey?: string | undefined;
19223
19695
  tier?: "basic" | "regular" | "premium" | undefined;
19224
- integrationType?: "meta" | "360dialog" | undefined;
19225
19696
  } | undefined;
19226
19697
  vonageCredentials?: {
19227
19698
  apiKey: string;
@@ -19258,16 +19729,15 @@ export declare const whatsappContract: {
19258
19729
  additionalCredentials?: any;
19259
19730
  senderId?: string | undefined;
19260
19731
  whatsapp?: {
19261
- wabaBusinessId?: string | null | undefined;
19262
- wabaExternalId?: string | null | undefined;
19263
- phoneNumberId?: string | null | undefined;
19264
- email?: string | null | undefined;
19265
- clientId?: string | null | undefined;
19266
- channelId?: string | null | undefined;
19732
+ email: string;
19733
+ wabaExternalId: string;
19734
+ phoneNumberId: string;
19735
+ wabaBusinessId?: string | undefined;
19736
+ clientId?: string | undefined;
19737
+ channelId?: string | undefined;
19267
19738
  status?: "active" | "pending" | undefined;
19268
19739
  apiKey?: string | undefined;
19269
19740
  tier?: "basic" | "regular" | "premium" | undefined;
19270
- integrationType?: "meta" | "360dialog" | undefined;
19271
19741
  } | undefined;
19272
19742
  vonageCredentials?: {
19273
19743
  apiKey: string;
@@ -19305,16 +19775,15 @@ export declare const whatsappContract: {
19305
19775
  additionalCredentials?: any;
19306
19776
  senderId?: string | undefined;
19307
19777
  whatsapp?: {
19308
- wabaBusinessId?: string | null | undefined;
19309
- wabaExternalId?: string | null | undefined;
19310
- phoneNumberId?: string | null | undefined;
19311
- email?: string | null | undefined;
19312
- clientId?: string | null | undefined;
19313
- channelId?: string | null | undefined;
19778
+ email: string;
19779
+ wabaExternalId: string;
19780
+ phoneNumberId: string;
19781
+ wabaBusinessId?: string | undefined;
19782
+ clientId?: string | undefined;
19783
+ channelId?: string | undefined;
19314
19784
  status?: "active" | "pending" | undefined;
19315
19785
  apiKey?: string | undefined;
19316
19786
  tier?: "basic" | "regular" | "premium" | undefined;
19317
- integrationType?: "meta" | "360dialog" | undefined;
19318
19787
  } | undefined;
19319
19788
  vonageCredentials?: {
19320
19789
  apiKey: string;
@@ -19388,38 +19857,35 @@ export declare const whatsappContract: {
19388
19857
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19389
19858
  senderId: z.ZodOptional<z.ZodString>;
19390
19859
  whatsapp: z.ZodOptional<z.ZodObject<{
19391
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19392
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19393
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19394
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19395
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19396
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19860
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19861
+ wabaExternalId: z.ZodString;
19862
+ phoneNumberId: z.ZodString;
19863
+ email: z.ZodString;
19864
+ clientId: z.ZodOptional<z.ZodString>;
19865
+ channelId: z.ZodOptional<z.ZodString>;
19397
19866
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19398
19867
  apiKey: z.ZodOptional<z.ZodString>;
19399
19868
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19400
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19401
19869
  }, "strip", z.ZodTypeAny, {
19402
- wabaBusinessId?: string | null | undefined;
19403
- wabaExternalId?: string | null | undefined;
19404
- phoneNumberId?: string | null | undefined;
19405
- email?: string | null | undefined;
19406
- clientId?: string | null | undefined;
19407
- channelId?: string | null | undefined;
19870
+ email: string;
19871
+ wabaExternalId: string;
19872
+ phoneNumberId: string;
19873
+ wabaBusinessId?: string | undefined;
19874
+ clientId?: string | undefined;
19875
+ channelId?: string | undefined;
19408
19876
  status?: "active" | "pending" | undefined;
19409
19877
  apiKey?: string | undefined;
19410
19878
  tier?: "basic" | "regular" | "premium" | undefined;
19411
- integrationType?: "meta" | "360dialog" | undefined;
19412
19879
  }, {
19413
- wabaBusinessId?: string | null | undefined;
19414
- wabaExternalId?: string | null | undefined;
19415
- phoneNumberId?: string | null | undefined;
19416
- email?: string | null | undefined;
19417
- clientId?: string | null | undefined;
19418
- channelId?: string | null | undefined;
19880
+ email: string;
19881
+ wabaExternalId: string;
19882
+ phoneNumberId: string;
19883
+ wabaBusinessId?: string | undefined;
19884
+ clientId?: string | undefined;
19885
+ channelId?: string | undefined;
19419
19886
  status?: "active" | "pending" | undefined;
19420
19887
  apiKey?: string | undefined;
19421
19888
  tier?: "basic" | "regular" | "premium" | undefined;
19422
- integrationType?: "meta" | "360dialog" | undefined;
19423
19889
  }>>;
19424
19890
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19425
19891
  mobileNumber: z.ZodString;
@@ -19444,16 +19910,15 @@ export declare const whatsappContract: {
19444
19910
  additionalCredentials?: any;
19445
19911
  senderId?: string | undefined;
19446
19912
  whatsapp?: {
19447
- wabaBusinessId?: string | null | undefined;
19448
- wabaExternalId?: string | null | undefined;
19449
- phoneNumberId?: string | null | undefined;
19450
- email?: string | null | undefined;
19451
- clientId?: string | null | undefined;
19452
- channelId?: string | null | undefined;
19913
+ email: string;
19914
+ wabaExternalId: string;
19915
+ phoneNumberId: string;
19916
+ wabaBusinessId?: string | undefined;
19917
+ clientId?: string | undefined;
19918
+ channelId?: string | undefined;
19453
19919
  status?: "active" | "pending" | undefined;
19454
19920
  apiKey?: string | undefined;
19455
19921
  tier?: "basic" | "regular" | "premium" | undefined;
19456
- integrationType?: "meta" | "360dialog" | undefined;
19457
19922
  } | undefined;
19458
19923
  vonageCredentials?: {
19459
19924
  apiKey: string;
@@ -19470,16 +19935,15 @@ export declare const whatsappContract: {
19470
19935
  additionalCredentials?: any;
19471
19936
  senderId?: string | undefined;
19472
19937
  whatsapp?: {
19473
- wabaBusinessId?: string | null | undefined;
19474
- wabaExternalId?: string | null | undefined;
19475
- phoneNumberId?: string | null | undefined;
19476
- email?: string | null | undefined;
19477
- clientId?: string | null | undefined;
19478
- channelId?: string | null | undefined;
19938
+ email: string;
19939
+ wabaExternalId: string;
19940
+ phoneNumberId: string;
19941
+ wabaBusinessId?: string | undefined;
19942
+ clientId?: string | undefined;
19943
+ channelId?: string | undefined;
19479
19944
  status?: "active" | "pending" | undefined;
19480
19945
  apiKey?: string | undefined;
19481
19946
  tier?: "basic" | "regular" | "premium" | undefined;
19482
- integrationType?: "meta" | "360dialog" | undefined;
19483
19947
  } | undefined;
19484
19948
  vonageCredentials?: {
19485
19949
  apiKey: string;
@@ -19526,16 +19990,15 @@ export declare const whatsappContract: {
19526
19990
  additionalCredentials?: any;
19527
19991
  senderId?: string | undefined;
19528
19992
  whatsapp?: {
19529
- wabaBusinessId?: string | null | undefined;
19530
- wabaExternalId?: string | null | undefined;
19531
- phoneNumberId?: string | null | undefined;
19532
- email?: string | null | undefined;
19533
- clientId?: string | null | undefined;
19534
- channelId?: string | null | undefined;
19993
+ email: string;
19994
+ wabaExternalId: string;
19995
+ phoneNumberId: string;
19996
+ wabaBusinessId?: string | undefined;
19997
+ clientId?: string | undefined;
19998
+ channelId?: string | undefined;
19535
19999
  status?: "active" | "pending" | undefined;
19536
20000
  apiKey?: string | undefined;
19537
20001
  tier?: "basic" | "regular" | "premium" | undefined;
19538
- integrationType?: "meta" | "360dialog" | undefined;
19539
20002
  } | undefined;
19540
20003
  vonageCredentials?: {
19541
20004
  apiKey: string;
@@ -19570,16 +20033,15 @@ export declare const whatsappContract: {
19570
20033
  additionalCredentials?: any;
19571
20034
  senderId?: string | undefined;
19572
20035
  whatsapp?: {
19573
- wabaBusinessId?: string | null | undefined;
19574
- wabaExternalId?: string | null | undefined;
19575
- phoneNumberId?: string | null | undefined;
19576
- email?: string | null | undefined;
19577
- clientId?: string | null | undefined;
19578
- channelId?: string | null | undefined;
20036
+ email: string;
20037
+ wabaExternalId: string;
20038
+ phoneNumberId: string;
20039
+ wabaBusinessId?: string | undefined;
20040
+ clientId?: string | undefined;
20041
+ channelId?: string | undefined;
19579
20042
  status?: "active" | "pending" | undefined;
19580
20043
  apiKey?: string | undefined;
19581
20044
  tier?: "basic" | "regular" | "premium" | undefined;
19582
- integrationType?: "meta" | "360dialog" | undefined;
19583
20045
  } | undefined;
19584
20046
  vonageCredentials?: {
19585
20047
  apiKey: string;
@@ -19616,16 +20078,15 @@ export declare const whatsappContract: {
19616
20078
  additionalCredentials?: any;
19617
20079
  senderId?: string | undefined;
19618
20080
  whatsapp?: {
19619
- wabaBusinessId?: string | null | undefined;
19620
- wabaExternalId?: string | null | undefined;
19621
- phoneNumberId?: string | null | undefined;
19622
- email?: string | null | undefined;
19623
- clientId?: string | null | undefined;
19624
- channelId?: string | null | undefined;
20081
+ email: string;
20082
+ wabaExternalId: string;
20083
+ phoneNumberId: string;
20084
+ wabaBusinessId?: string | undefined;
20085
+ clientId?: string | undefined;
20086
+ channelId?: string | undefined;
19625
20087
  status?: "active" | "pending" | undefined;
19626
20088
  apiKey?: string | undefined;
19627
20089
  tier?: "basic" | "regular" | "premium" | undefined;
19628
- integrationType?: "meta" | "360dialog" | undefined;
19629
20090
  } | undefined;
19630
20091
  vonageCredentials?: {
19631
20092
  apiKey: string;
@@ -19663,16 +20124,15 @@ export declare const whatsappContract: {
19663
20124
  additionalCredentials?: any;
19664
20125
  senderId?: string | undefined;
19665
20126
  whatsapp?: {
19666
- wabaBusinessId?: string | null | undefined;
19667
- wabaExternalId?: string | null | undefined;
19668
- phoneNumberId?: string | null | undefined;
19669
- email?: string | null | undefined;
19670
- clientId?: string | null | undefined;
19671
- channelId?: string | null | undefined;
20127
+ email: string;
20128
+ wabaExternalId: string;
20129
+ phoneNumberId: string;
20130
+ wabaBusinessId?: string | undefined;
20131
+ clientId?: string | undefined;
20132
+ channelId?: string | undefined;
19672
20133
  status?: "active" | "pending" | undefined;
19673
20134
  apiKey?: string | undefined;
19674
20135
  tier?: "basic" | "regular" | "premium" | undefined;
19675
- integrationType?: "meta" | "360dialog" | undefined;
19676
20136
  } | undefined;
19677
20137
  vonageCredentials?: {
19678
20138
  apiKey: string;
@@ -19746,38 +20206,35 @@ export declare const whatsappContract: {
19746
20206
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19747
20207
  senderId: z.ZodOptional<z.ZodString>;
19748
20208
  whatsapp: z.ZodOptional<z.ZodObject<{
19749
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19750
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19751
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19752
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19753
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19754
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20209
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
20210
+ wabaExternalId: z.ZodString;
20211
+ phoneNumberId: z.ZodString;
20212
+ email: z.ZodString;
20213
+ clientId: z.ZodOptional<z.ZodString>;
20214
+ channelId: z.ZodOptional<z.ZodString>;
19755
20215
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19756
20216
  apiKey: z.ZodOptional<z.ZodString>;
19757
20217
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19758
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19759
20218
  }, "strip", z.ZodTypeAny, {
19760
- wabaBusinessId?: string | null | undefined;
19761
- wabaExternalId?: string | null | undefined;
19762
- phoneNumberId?: string | null | undefined;
19763
- email?: string | null | undefined;
19764
- clientId?: string | null | undefined;
19765
- channelId?: string | null | undefined;
20219
+ email: string;
20220
+ wabaExternalId: string;
20221
+ phoneNumberId: string;
20222
+ wabaBusinessId?: string | undefined;
20223
+ clientId?: string | undefined;
20224
+ channelId?: string | undefined;
19766
20225
  status?: "active" | "pending" | undefined;
19767
20226
  apiKey?: string | undefined;
19768
20227
  tier?: "basic" | "regular" | "premium" | undefined;
19769
- integrationType?: "meta" | "360dialog" | undefined;
19770
20228
  }, {
19771
- wabaBusinessId?: string | null | undefined;
19772
- wabaExternalId?: string | null | undefined;
19773
- phoneNumberId?: string | null | undefined;
19774
- email?: string | null | undefined;
19775
- clientId?: string | null | undefined;
19776
- channelId?: string | null | undefined;
20229
+ email: string;
20230
+ wabaExternalId: string;
20231
+ phoneNumberId: string;
20232
+ wabaBusinessId?: string | undefined;
20233
+ clientId?: string | undefined;
20234
+ channelId?: string | undefined;
19777
20235
  status?: "active" | "pending" | undefined;
19778
20236
  apiKey?: string | undefined;
19779
20237
  tier?: "basic" | "regular" | "premium" | undefined;
19780
- integrationType?: "meta" | "360dialog" | undefined;
19781
20238
  }>>;
19782
20239
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19783
20240
  mobileNumber: z.ZodString;
@@ -19802,16 +20259,15 @@ export declare const whatsappContract: {
19802
20259
  additionalCredentials?: any;
19803
20260
  senderId?: string | undefined;
19804
20261
  whatsapp?: {
19805
- wabaBusinessId?: string | null | undefined;
19806
- wabaExternalId?: string | null | undefined;
19807
- phoneNumberId?: string | null | undefined;
19808
- email?: string | null | undefined;
19809
- clientId?: string | null | undefined;
19810
- channelId?: string | null | undefined;
20262
+ email: string;
20263
+ wabaExternalId: string;
20264
+ phoneNumberId: string;
20265
+ wabaBusinessId?: string | undefined;
20266
+ clientId?: string | undefined;
20267
+ channelId?: string | undefined;
19811
20268
  status?: "active" | "pending" | undefined;
19812
20269
  apiKey?: string | undefined;
19813
20270
  tier?: "basic" | "regular" | "premium" | undefined;
19814
- integrationType?: "meta" | "360dialog" | undefined;
19815
20271
  } | undefined;
19816
20272
  vonageCredentials?: {
19817
20273
  apiKey: string;
@@ -19828,16 +20284,15 @@ export declare const whatsappContract: {
19828
20284
  additionalCredentials?: any;
19829
20285
  senderId?: string | undefined;
19830
20286
  whatsapp?: {
19831
- wabaBusinessId?: string | null | undefined;
19832
- wabaExternalId?: string | null | undefined;
19833
- phoneNumberId?: string | null | undefined;
19834
- email?: string | null | undefined;
19835
- clientId?: string | null | undefined;
19836
- channelId?: string | null | undefined;
20287
+ email: string;
20288
+ wabaExternalId: string;
20289
+ phoneNumberId: string;
20290
+ wabaBusinessId?: string | undefined;
20291
+ clientId?: string | undefined;
20292
+ channelId?: string | undefined;
19837
20293
  status?: "active" | "pending" | undefined;
19838
20294
  apiKey?: string | undefined;
19839
20295
  tier?: "basic" | "regular" | "premium" | undefined;
19840
- integrationType?: "meta" | "360dialog" | undefined;
19841
20296
  } | undefined;
19842
20297
  vonageCredentials?: {
19843
20298
  apiKey: string;
@@ -19884,16 +20339,15 @@ export declare const whatsappContract: {
19884
20339
  additionalCredentials?: any;
19885
20340
  senderId?: string | undefined;
19886
20341
  whatsapp?: {
19887
- wabaBusinessId?: string | null | undefined;
19888
- wabaExternalId?: string | null | undefined;
19889
- phoneNumberId?: string | null | undefined;
19890
- email?: string | null | undefined;
19891
- clientId?: string | null | undefined;
19892
- channelId?: string | null | undefined;
20342
+ email: string;
20343
+ wabaExternalId: string;
20344
+ phoneNumberId: string;
20345
+ wabaBusinessId?: string | undefined;
20346
+ clientId?: string | undefined;
20347
+ channelId?: string | undefined;
19893
20348
  status?: "active" | "pending" | undefined;
19894
20349
  apiKey?: string | undefined;
19895
20350
  tier?: "basic" | "regular" | "premium" | undefined;
19896
- integrationType?: "meta" | "360dialog" | undefined;
19897
20351
  } | undefined;
19898
20352
  vonageCredentials?: {
19899
20353
  apiKey: string;
@@ -19928,16 +20382,15 @@ export declare const whatsappContract: {
19928
20382
  additionalCredentials?: any;
19929
20383
  senderId?: string | undefined;
19930
20384
  whatsapp?: {
19931
- wabaBusinessId?: string | null | undefined;
19932
- wabaExternalId?: string | null | undefined;
19933
- phoneNumberId?: string | null | undefined;
19934
- email?: string | null | undefined;
19935
- clientId?: string | null | undefined;
19936
- channelId?: string | null | undefined;
20385
+ email: string;
20386
+ wabaExternalId: string;
20387
+ phoneNumberId: string;
20388
+ wabaBusinessId?: string | undefined;
20389
+ clientId?: string | undefined;
20390
+ channelId?: string | undefined;
19937
20391
  status?: "active" | "pending" | undefined;
19938
20392
  apiKey?: string | undefined;
19939
20393
  tier?: "basic" | "regular" | "premium" | undefined;
19940
- integrationType?: "meta" | "360dialog" | undefined;
19941
20394
  } | undefined;
19942
20395
  vonageCredentials?: {
19943
20396
  apiKey: string;
@@ -19974,16 +20427,15 @@ export declare const whatsappContract: {
19974
20427
  additionalCredentials?: any;
19975
20428
  senderId?: string | undefined;
19976
20429
  whatsapp?: {
19977
- wabaBusinessId?: string | null | undefined;
19978
- wabaExternalId?: string | null | undefined;
19979
- phoneNumberId?: string | null | undefined;
19980
- email?: string | null | undefined;
19981
- clientId?: string | null | undefined;
19982
- channelId?: string | null | undefined;
20430
+ email: string;
20431
+ wabaExternalId: string;
20432
+ phoneNumberId: string;
20433
+ wabaBusinessId?: string | undefined;
20434
+ clientId?: string | undefined;
20435
+ channelId?: string | undefined;
19983
20436
  status?: "active" | "pending" | undefined;
19984
20437
  apiKey?: string | undefined;
19985
20438
  tier?: "basic" | "regular" | "premium" | undefined;
19986
- integrationType?: "meta" | "360dialog" | undefined;
19987
20439
  } | undefined;
19988
20440
  vonageCredentials?: {
19989
20441
  apiKey: string;
@@ -20021,16 +20473,15 @@ export declare const whatsappContract: {
20021
20473
  additionalCredentials?: any;
20022
20474
  senderId?: string | undefined;
20023
20475
  whatsapp?: {
20024
- wabaBusinessId?: string | null | undefined;
20025
- wabaExternalId?: string | null | undefined;
20026
- phoneNumberId?: string | null | undefined;
20027
- email?: string | null | undefined;
20028
- clientId?: string | null | undefined;
20029
- channelId?: string | null | undefined;
20476
+ email: string;
20477
+ wabaExternalId: string;
20478
+ phoneNumberId: string;
20479
+ wabaBusinessId?: string | undefined;
20480
+ clientId?: string | undefined;
20481
+ channelId?: string | undefined;
20030
20482
  status?: "active" | "pending" | undefined;
20031
20483
  apiKey?: string | undefined;
20032
20484
  tier?: "basic" | "regular" | "premium" | undefined;
20033
- integrationType?: "meta" | "360dialog" | undefined;
20034
20485
  } | undefined;
20035
20486
  vonageCredentials?: {
20036
20487
  apiKey: string;