@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
@@ -138,38 +138,35 @@ export declare const platformWebchatContract: {
138
138
  additionalCredentials: z.ZodOptional<z.ZodAny>;
139
139
  senderId: z.ZodOptional<z.ZodString>;
140
140
  whatsapp: z.ZodOptional<z.ZodObject<{
141
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
142
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
143
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
144
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
145
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
146
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
141
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
142
+ wabaExternalId: z.ZodString;
143
+ phoneNumberId: z.ZodString;
144
+ email: z.ZodString;
145
+ clientId: z.ZodOptional<z.ZodString>;
146
+ channelId: z.ZodOptional<z.ZodString>;
147
147
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
148
148
  apiKey: z.ZodOptional<z.ZodString>;
149
149
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
150
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
151
150
  }, "strip", z.ZodTypeAny, {
152
- wabaBusinessId?: string | null | undefined;
153
- wabaExternalId?: string | null | undefined;
154
- phoneNumberId?: string | null | undefined;
155
- email?: string | null | undefined;
156
- clientId?: string | null | undefined;
157
- channelId?: string | null | undefined;
151
+ email: string;
152
+ wabaExternalId: string;
153
+ phoneNumberId: string;
154
+ wabaBusinessId?: string | undefined;
155
+ clientId?: string | undefined;
156
+ channelId?: string | undefined;
158
157
  status?: "active" | "pending" | undefined;
159
158
  apiKey?: string | undefined;
160
159
  tier?: "basic" | "regular" | "premium" | undefined;
161
- integrationType?: "meta" | "360dialog" | undefined;
162
160
  }, {
163
- wabaBusinessId?: string | null | undefined;
164
- wabaExternalId?: string | null | undefined;
165
- phoneNumberId?: string | null | undefined;
166
- email?: string | null | undefined;
167
- clientId?: string | null | undefined;
168
- channelId?: string | null | undefined;
161
+ email: string;
162
+ wabaExternalId: string;
163
+ phoneNumberId: string;
164
+ wabaBusinessId?: string | undefined;
165
+ clientId?: string | undefined;
166
+ channelId?: string | undefined;
169
167
  status?: "active" | "pending" | undefined;
170
168
  apiKey?: string | undefined;
171
169
  tier?: "basic" | "regular" | "premium" | undefined;
172
- integrationType?: "meta" | "360dialog" | undefined;
173
170
  }>>;
174
171
  vonageCredentials: z.ZodOptional<z.ZodObject<{
175
172
  mobileNumber: z.ZodString;
@@ -194,16 +191,15 @@ export declare const platformWebchatContract: {
194
191
  additionalCredentials?: any;
195
192
  senderId?: string | undefined;
196
193
  whatsapp?: {
197
- wabaBusinessId?: string | null | undefined;
198
- wabaExternalId?: string | null | undefined;
199
- phoneNumberId?: string | null | undefined;
200
- email?: string | null | undefined;
201
- clientId?: string | null | undefined;
202
- channelId?: string | null | undefined;
194
+ email: string;
195
+ wabaExternalId: string;
196
+ phoneNumberId: string;
197
+ wabaBusinessId?: string | undefined;
198
+ clientId?: string | undefined;
199
+ channelId?: string | undefined;
203
200
  status?: "active" | "pending" | undefined;
204
201
  apiKey?: string | undefined;
205
202
  tier?: "basic" | "regular" | "premium" | undefined;
206
- integrationType?: "meta" | "360dialog" | undefined;
207
203
  } | undefined;
208
204
  vonageCredentials?: {
209
205
  apiKey: string;
@@ -220,16 +216,15 @@ export declare const platformWebchatContract: {
220
216
  additionalCredentials?: any;
221
217
  senderId?: string | undefined;
222
218
  whatsapp?: {
223
- wabaBusinessId?: string | null | undefined;
224
- wabaExternalId?: string | null | undefined;
225
- phoneNumberId?: string | null | undefined;
226
- email?: string | null | undefined;
227
- clientId?: string | null | undefined;
228
- channelId?: string | null | undefined;
219
+ email: string;
220
+ wabaExternalId: string;
221
+ phoneNumberId: string;
222
+ wabaBusinessId?: string | undefined;
223
+ clientId?: string | undefined;
224
+ channelId?: string | undefined;
229
225
  status?: "active" | "pending" | undefined;
230
226
  apiKey?: string | undefined;
231
227
  tier?: "basic" | "regular" | "premium" | undefined;
232
- integrationType?: "meta" | "360dialog" | undefined;
233
228
  } | undefined;
234
229
  vonageCredentials?: {
235
230
  apiKey: string;
@@ -276,16 +271,15 @@ export declare const platformWebchatContract: {
276
271
  additionalCredentials?: any;
277
272
  senderId?: string | undefined;
278
273
  whatsapp?: {
279
- wabaBusinessId?: string | null | undefined;
280
- wabaExternalId?: string | null | undefined;
281
- phoneNumberId?: string | null | undefined;
282
- email?: string | null | undefined;
283
- clientId?: string | null | undefined;
284
- channelId?: string | null | undefined;
274
+ email: string;
275
+ wabaExternalId: string;
276
+ phoneNumberId: string;
277
+ wabaBusinessId?: string | undefined;
278
+ clientId?: string | undefined;
279
+ channelId?: string | undefined;
285
280
  status?: "active" | "pending" | undefined;
286
281
  apiKey?: string | undefined;
287
282
  tier?: "basic" | "regular" | "premium" | undefined;
288
- integrationType?: "meta" | "360dialog" | undefined;
289
283
  } | undefined;
290
284
  vonageCredentials?: {
291
285
  apiKey: string;
@@ -320,16 +314,15 @@ export declare const platformWebchatContract: {
320
314
  additionalCredentials?: any;
321
315
  senderId?: string | undefined;
322
316
  whatsapp?: {
323
- wabaBusinessId?: string | null | undefined;
324
- wabaExternalId?: string | null | undefined;
325
- phoneNumberId?: string | null | undefined;
326
- email?: string | null | undefined;
327
- clientId?: string | null | undefined;
328
- channelId?: string | null | undefined;
317
+ email: string;
318
+ wabaExternalId: string;
319
+ phoneNumberId: string;
320
+ wabaBusinessId?: string | undefined;
321
+ clientId?: string | undefined;
322
+ channelId?: string | undefined;
329
323
  status?: "active" | "pending" | undefined;
330
324
  apiKey?: string | undefined;
331
325
  tier?: "basic" | "regular" | "premium" | undefined;
332
- integrationType?: "meta" | "360dialog" | undefined;
333
326
  } | undefined;
334
327
  vonageCredentials?: {
335
328
  apiKey: string;
@@ -369,16 +362,15 @@ export declare const platformWebchatContract: {
369
362
  additionalCredentials?: any;
370
363
  senderId?: string | undefined;
371
364
  whatsapp?: {
372
- wabaBusinessId?: string | null | undefined;
373
- wabaExternalId?: string | null | undefined;
374
- phoneNumberId?: string | null | undefined;
375
- email?: string | null | undefined;
376
- clientId?: string | null | undefined;
377
- channelId?: string | null | undefined;
365
+ email: string;
366
+ wabaExternalId: string;
367
+ phoneNumberId: string;
368
+ wabaBusinessId?: string | undefined;
369
+ clientId?: string | undefined;
370
+ channelId?: string | undefined;
378
371
  status?: "active" | "pending" | undefined;
379
372
  apiKey?: string | undefined;
380
373
  tier?: "basic" | "regular" | "premium" | undefined;
381
- integrationType?: "meta" | "360dialog" | undefined;
382
374
  } | undefined;
383
375
  vonageCredentials?: {
384
376
  apiKey: string;
@@ -457,16 +449,15 @@ export declare const platformWebchatContract: {
457
449
  additionalCredentials?: any;
458
450
  senderId?: string | undefined;
459
451
  whatsapp?: {
460
- wabaBusinessId?: string | null | undefined;
461
- wabaExternalId?: string | null | undefined;
462
- phoneNumberId?: string | null | undefined;
463
- email?: string | null | undefined;
464
- clientId?: string | null | undefined;
465
- channelId?: string | null | undefined;
452
+ email: string;
453
+ wabaExternalId: string;
454
+ phoneNumberId: string;
455
+ wabaBusinessId?: string | undefined;
456
+ clientId?: string | undefined;
457
+ channelId?: string | undefined;
466
458
  status?: "active" | "pending" | undefined;
467
459
  apiKey?: string | undefined;
468
460
  tier?: "basic" | "regular" | "premium" | undefined;
469
- integrationType?: "meta" | "360dialog" | undefined;
470
461
  } | undefined;
471
462
  vonageCredentials?: {
472
463
  apiKey: string;
@@ -536,7 +527,7 @@ export declare const platformWebchatContract: {
536
527
  id: z.ZodOptional<z.ZodString>;
537
528
  message: z.ZodOptional<z.ZodString>;
538
529
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
539
- 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"]>;
530
+ 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"]>;
540
531
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
541
532
  metadata: z.ZodOptional<z.ZodAny>;
542
533
  platformId: z.ZodOptional<z.ZodString>;
@@ -592,7 +583,7 @@ export declare const platformWebchatContract: {
592
583
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
593
584
  label: z.ZodOptional<z.ZodString>;
594
585
  }, "strip", z.ZodTypeAny, {
595
- 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";
586
+ 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";
596
587
  direction: "incoming" | "outgoing" | "system";
597
588
  id?: string | undefined;
598
589
  message?: string | undefined;
@@ -627,7 +618,7 @@ export declare const platformWebchatContract: {
627
618
  editedAt?: string | Date | null | undefined;
628
619
  label?: string | undefined;
629
620
  }, {
630
- 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";
621
+ 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";
631
622
  direction: "incoming" | "outgoing" | "system";
632
623
  id?: string | undefined;
633
624
  message?: string | undefined;
@@ -664,7 +655,7 @@ export declare const platformWebchatContract: {
664
655
  }>;
665
656
  }, "strip", z.ZodTypeAny, {
666
657
  message: {
667
- 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";
658
+ 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";
668
659
  direction: "incoming" | "outgoing" | "system";
669
660
  id?: string | undefined;
670
661
  message?: string | undefined;
@@ -713,16 +704,15 @@ export declare const platformWebchatContract: {
713
704
  additionalCredentials?: any;
714
705
  senderId?: string | undefined;
715
706
  whatsapp?: {
716
- wabaBusinessId?: string | null | undefined;
717
- wabaExternalId?: string | null | undefined;
718
- phoneNumberId?: string | null | undefined;
719
- email?: string | null | undefined;
720
- clientId?: string | null | undefined;
721
- channelId?: string | null | undefined;
707
+ email: string;
708
+ wabaExternalId: string;
709
+ phoneNumberId: string;
710
+ wabaBusinessId?: string | undefined;
711
+ clientId?: string | undefined;
712
+ channelId?: string | undefined;
722
713
  status?: "active" | "pending" | undefined;
723
714
  apiKey?: string | undefined;
724
715
  tier?: "basic" | "regular" | "premium" | undefined;
725
- integrationType?: "meta" | "360dialog" | undefined;
726
716
  } | undefined;
727
717
  vonageCredentials?: {
728
718
  apiKey: string;
@@ -791,7 +781,7 @@ export declare const platformWebchatContract: {
791
781
  isBot: boolean | null;
792
782
  }, {
793
783
  message: {
794
- 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";
784
+ 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";
795
785
  direction: "incoming" | "outgoing" | "system";
796
786
  id?: string | undefined;
797
787
  message?: string | undefined;
@@ -840,16 +830,15 @@ export declare const platformWebchatContract: {
840
830
  additionalCredentials?: any;
841
831
  senderId?: string | undefined;
842
832
  whatsapp?: {
843
- wabaBusinessId?: string | null | undefined;
844
- wabaExternalId?: string | null | undefined;
845
- phoneNumberId?: string | null | undefined;
846
- email?: string | null | undefined;
847
- clientId?: string | null | undefined;
848
- channelId?: string | null | undefined;
833
+ email: string;
834
+ wabaExternalId: string;
835
+ phoneNumberId: string;
836
+ wabaBusinessId?: string | undefined;
837
+ clientId?: string | undefined;
838
+ channelId?: string | undefined;
849
839
  status?: "active" | "pending" | undefined;
850
840
  apiKey?: string | undefined;
851
841
  tier?: "basic" | "regular" | "premium" | undefined;
852
- integrationType?: "meta" | "360dialog" | undefined;
853
842
  } | undefined;
854
843
  vonageCredentials?: {
855
844
  apiKey: string;
@@ -922,7 +911,7 @@ export declare const platformWebchatContract: {
922
911
  200: z.ZodObject<{
923
912
  requestId: z.ZodString;
924
913
  data: z.ZodObject<{
925
- 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"]>;
914
+ 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"]>;
926
915
  message: z.ZodString;
927
916
  id: z.ZodString;
928
917
  url: z.ZodString;
@@ -1147,9 +1136,10 @@ export declare const platformWebchatContract: {
1147
1136
  fileSize: z.ZodNumber;
1148
1137
  fileKey: z.ZodString;
1149
1138
  fileUrl: z.ZodNullable<z.ZodString>;
1150
- status: z.ZodOptional<z.ZodString>;
1139
+ status: z.ZodNullable<z.ZodString>;
1151
1140
  }, "strip", z.ZodTypeAny, {
1152
1141
  id: string;
1142
+ status: string | null;
1153
1143
  createdAt: Date;
1154
1144
  updatedAt: Date;
1155
1145
  deletedAt: Date | null;
@@ -1158,9 +1148,9 @@ export declare const platformWebchatContract: {
1158
1148
  bucketName: string;
1159
1149
  fileSize: number;
1160
1150
  fileUrl: string | null;
1161
- status?: string | undefined;
1162
1151
  }, {
1163
1152
  id: string;
1153
+ status: string | null;
1164
1154
  createdAt: Date;
1165
1155
  updatedAt: Date;
1166
1156
  deletedAt: Date | null;
@@ -1169,7 +1159,6 @@ export declare const platformWebchatContract: {
1169
1159
  bucketName: string;
1170
1160
  fileSize: number;
1171
1161
  fileUrl: string | null;
1172
- status?: string | undefined;
1173
1162
  }>;
1174
1163
  assignee: z.ZodObject<{
1175
1164
  id: z.ZodString;
@@ -1764,9 +1753,10 @@ export declare const platformWebchatContract: {
1764
1753
  fileSize: z.ZodNumber;
1765
1754
  fileKey: z.ZodString;
1766
1755
  fileUrl: z.ZodNullable<z.ZodString>;
1767
- status: z.ZodOptional<z.ZodString>;
1756
+ status: z.ZodNullable<z.ZodString>;
1768
1757
  }, "strip", z.ZodTypeAny, {
1769
1758
  id: string;
1759
+ status: string | null;
1770
1760
  createdAt: Date;
1771
1761
  updatedAt: Date;
1772
1762
  deletedAt: Date | null;
@@ -1775,9 +1765,9 @@ export declare const platformWebchatContract: {
1775
1765
  bucketName: string;
1776
1766
  fileSize: number;
1777
1767
  fileUrl: string | null;
1778
- status?: string | undefined;
1779
1768
  }, {
1780
1769
  id: string;
1770
+ status: string | null;
1781
1771
  createdAt: Date;
1782
1772
  updatedAt: Date;
1783
1773
  deletedAt: Date | null;
@@ -1786,7 +1776,6 @@ export declare const platformWebchatContract: {
1786
1776
  bucketName: string;
1787
1777
  fileSize: number;
1788
1778
  fileUrl: string | null;
1789
- status?: string | undefined;
1790
1779
  }>, "many">;
1791
1780
  }, "strip", z.ZodTypeAny, {
1792
1781
  id: string;
@@ -1813,6 +1802,7 @@ export declare const platformWebchatContract: {
1813
1802
  dateValue: Date | null;
1814
1803
  uploads: {
1815
1804
  id: string;
1805
+ status: string | null;
1816
1806
  createdAt: Date;
1817
1807
  updatedAt: Date;
1818
1808
  deletedAt: Date | null;
@@ -1821,7 +1811,6 @@ export declare const platformWebchatContract: {
1821
1811
  bucketName: string;
1822
1812
  fileSize: number;
1823
1813
  fileUrl: string | null;
1824
- status?: string | undefined;
1825
1814
  }[];
1826
1815
  }, {
1827
1816
  id: string;
@@ -1848,6 +1837,7 @@ export declare const platformWebchatContract: {
1848
1837
  dateValue: Date | null;
1849
1838
  uploads: {
1850
1839
  id: string;
1840
+ status: string | null;
1851
1841
  createdAt: Date;
1852
1842
  updatedAt: Date;
1853
1843
  deletedAt: Date | null;
@@ -1856,7 +1846,6 @@ export declare const platformWebchatContract: {
1856
1846
  bucketName: string;
1857
1847
  fileSize: number;
1858
1848
  fileUrl: string | null;
1859
- status?: string | undefined;
1860
1849
  }[];
1861
1850
  }>, "many">;
1862
1851
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -1996,6 +1985,7 @@ export declare const platformWebchatContract: {
1996
1985
  dateValue: Date | null;
1997
1986
  uploads: {
1998
1987
  id: string;
1988
+ status: string | null;
1999
1989
  createdAt: Date;
2000
1990
  updatedAt: Date;
2001
1991
  deletedAt: Date | null;
@@ -2004,7 +1994,6 @@ export declare const platformWebchatContract: {
2004
1994
  bucketName: string;
2005
1995
  fileSize: number;
2006
1996
  fileUrl: string | null;
2007
- status?: string | undefined;
2008
1997
  }[];
2009
1998
  }[];
2010
1999
  company: {
@@ -2107,6 +2096,7 @@ export declare const platformWebchatContract: {
2107
2096
  dateValue: Date | null;
2108
2097
  uploads: {
2109
2098
  id: string;
2099
+ status: string | null;
2110
2100
  createdAt: Date;
2111
2101
  updatedAt: Date;
2112
2102
  deletedAt: Date | null;
@@ -2115,7 +2105,6 @@ export declare const platformWebchatContract: {
2115
2105
  bucketName: string;
2116
2106
  fileSize: number;
2117
2107
  fileUrl: string | null;
2118
- status?: string | undefined;
2119
2108
  }[];
2120
2109
  }[];
2121
2110
  company: {
@@ -2231,6 +2220,7 @@ export declare const platformWebchatContract: {
2231
2220
  dateValue: Date | null;
2232
2221
  uploads: {
2233
2222
  id: string;
2223
+ status: string | null;
2234
2224
  createdAt: Date;
2235
2225
  updatedAt: Date;
2236
2226
  deletedAt: Date | null;
@@ -2239,7 +2229,6 @@ export declare const platformWebchatContract: {
2239
2229
  bucketName: string;
2240
2230
  fileSize: number;
2241
2231
  fileUrl: string | null;
2242
- status?: string | undefined;
2243
2232
  }[];
2244
2233
  }[];
2245
2234
  company: {
@@ -2357,6 +2346,7 @@ export declare const platformWebchatContract: {
2357
2346
  dateValue: Date | null;
2358
2347
  uploads: {
2359
2348
  id: string;
2349
+ status: string | null;
2360
2350
  createdAt: Date;
2361
2351
  updatedAt: Date;
2362
2352
  deletedAt: Date | null;
@@ -2365,7 +2355,6 @@ export declare const platformWebchatContract: {
2365
2355
  bucketName: string;
2366
2356
  fileSize: number;
2367
2357
  fileUrl: string | null;
2368
- status?: string | undefined;
2369
2358
  }[];
2370
2359
  }[];
2371
2360
  company: {
@@ -2862,38 +2851,35 @@ export declare const platformWebchatContract: {
2862
2851
  additionalCredentials: z.ZodOptional<z.ZodAny>;
2863
2852
  senderId: z.ZodOptional<z.ZodString>;
2864
2853
  whatsapp: z.ZodOptional<z.ZodObject<{
2865
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2866
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2867
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2868
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2869
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2870
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2854
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
2855
+ wabaExternalId: z.ZodString;
2856
+ phoneNumberId: z.ZodString;
2857
+ email: z.ZodString;
2858
+ clientId: z.ZodOptional<z.ZodString>;
2859
+ channelId: z.ZodOptional<z.ZodString>;
2871
2860
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2872
2861
  apiKey: z.ZodOptional<z.ZodString>;
2873
2862
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2874
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
2875
2863
  }, "strip", z.ZodTypeAny, {
2876
- wabaBusinessId?: string | null | undefined;
2877
- wabaExternalId?: string | null | undefined;
2878
- phoneNumberId?: string | null | undefined;
2879
- email?: string | null | undefined;
2880
- clientId?: string | null | undefined;
2881
- channelId?: string | null | undefined;
2864
+ email: string;
2865
+ wabaExternalId: string;
2866
+ phoneNumberId: string;
2867
+ wabaBusinessId?: string | undefined;
2868
+ clientId?: string | undefined;
2869
+ channelId?: string | undefined;
2882
2870
  status?: "active" | "pending" | undefined;
2883
2871
  apiKey?: string | undefined;
2884
2872
  tier?: "basic" | "regular" | "premium" | undefined;
2885
- integrationType?: "meta" | "360dialog" | undefined;
2886
2873
  }, {
2887
- wabaBusinessId?: string | null | undefined;
2888
- wabaExternalId?: string | null | undefined;
2889
- phoneNumberId?: string | null | undefined;
2890
- email?: string | null | undefined;
2891
- clientId?: string | null | undefined;
2892
- channelId?: string | null | undefined;
2874
+ email: string;
2875
+ wabaExternalId: string;
2876
+ phoneNumberId: string;
2877
+ wabaBusinessId?: string | undefined;
2878
+ clientId?: string | undefined;
2879
+ channelId?: string | undefined;
2893
2880
  status?: "active" | "pending" | undefined;
2894
2881
  apiKey?: string | undefined;
2895
2882
  tier?: "basic" | "regular" | "premium" | undefined;
2896
- integrationType?: "meta" | "360dialog" | undefined;
2897
2883
  }>>;
2898
2884
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2899
2885
  mobileNumber: z.ZodString;
@@ -2918,16 +2904,15 @@ export declare const platformWebchatContract: {
2918
2904
  additionalCredentials?: any;
2919
2905
  senderId?: string | undefined;
2920
2906
  whatsapp?: {
2921
- wabaBusinessId?: string | null | undefined;
2922
- wabaExternalId?: string | null | undefined;
2923
- phoneNumberId?: string | null | undefined;
2924
- email?: string | null | undefined;
2925
- clientId?: string | null | undefined;
2926
- channelId?: string | null | undefined;
2907
+ email: string;
2908
+ wabaExternalId: string;
2909
+ phoneNumberId: string;
2910
+ wabaBusinessId?: string | undefined;
2911
+ clientId?: string | undefined;
2912
+ channelId?: string | undefined;
2927
2913
  status?: "active" | "pending" | undefined;
2928
2914
  apiKey?: string | undefined;
2929
2915
  tier?: "basic" | "regular" | "premium" | undefined;
2930
- integrationType?: "meta" | "360dialog" | undefined;
2931
2916
  } | undefined;
2932
2917
  vonageCredentials?: {
2933
2918
  apiKey: string;
@@ -2944,16 +2929,15 @@ export declare const platformWebchatContract: {
2944
2929
  additionalCredentials?: any;
2945
2930
  senderId?: string | undefined;
2946
2931
  whatsapp?: {
2947
- wabaBusinessId?: string | null | undefined;
2948
- wabaExternalId?: string | null | undefined;
2949
- phoneNumberId?: string | null | undefined;
2950
- email?: string | null | undefined;
2951
- clientId?: string | null | undefined;
2952
- channelId?: string | null | undefined;
2932
+ email: string;
2933
+ wabaExternalId: string;
2934
+ phoneNumberId: string;
2935
+ wabaBusinessId?: string | undefined;
2936
+ clientId?: string | undefined;
2937
+ channelId?: string | undefined;
2953
2938
  status?: "active" | "pending" | undefined;
2954
2939
  apiKey?: string | undefined;
2955
2940
  tier?: "basic" | "regular" | "premium" | undefined;
2956
- integrationType?: "meta" | "360dialog" | undefined;
2957
2941
  } | undefined;
2958
2942
  vonageCredentials?: {
2959
2943
  apiKey: string;
@@ -3204,16 +3188,15 @@ export declare const platformWebchatContract: {
3204
3188
  additionalCredentials?: any;
3205
3189
  senderId?: string | undefined;
3206
3190
  whatsapp?: {
3207
- wabaBusinessId?: string | null | undefined;
3208
- wabaExternalId?: string | null | undefined;
3209
- phoneNumberId?: string | null | undefined;
3210
- email?: string | null | undefined;
3211
- clientId?: string | null | undefined;
3212
- channelId?: string | null | undefined;
3191
+ email: string;
3192
+ wabaExternalId: string;
3193
+ phoneNumberId: string;
3194
+ wabaBusinessId?: string | undefined;
3195
+ clientId?: string | undefined;
3196
+ channelId?: string | undefined;
3213
3197
  status?: "active" | "pending" | undefined;
3214
3198
  apiKey?: string | undefined;
3215
3199
  tier?: "basic" | "regular" | "premium" | undefined;
3216
- integrationType?: "meta" | "360dialog" | undefined;
3217
3200
  } | undefined;
3218
3201
  vonageCredentials?: {
3219
3202
  apiKey: string;
@@ -3295,16 +3278,15 @@ export declare const platformWebchatContract: {
3295
3278
  additionalCredentials?: any;
3296
3279
  senderId?: string | undefined;
3297
3280
  whatsapp?: {
3298
- wabaBusinessId?: string | null | undefined;
3299
- wabaExternalId?: string | null | undefined;
3300
- phoneNumberId?: string | null | undefined;
3301
- email?: string | null | undefined;
3302
- clientId?: string | null | undefined;
3303
- channelId?: string | null | undefined;
3281
+ email: string;
3282
+ wabaExternalId: string;
3283
+ phoneNumberId: string;
3284
+ wabaBusinessId?: string | undefined;
3285
+ clientId?: string | undefined;
3286
+ channelId?: string | undefined;
3304
3287
  status?: "active" | "pending" | undefined;
3305
3288
  apiKey?: string | undefined;
3306
3289
  tier?: "basic" | "regular" | "premium" | undefined;
3307
- integrationType?: "meta" | "360dialog" | undefined;
3308
3290
  } | undefined;
3309
3291
  vonageCredentials?: {
3310
3292
  apiKey: string;
@@ -3389,8 +3371,12 @@ export declare const platformWebchatContract: {
3389
3371
  agentId: z.ZodNullable<z.ZodString>;
3390
3372
  direction: z.ZodNullable<z.ZodString>;
3391
3373
  startedDate: z.ZodNullable<z.ZodDate>;
3374
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
3392
3375
  handledTime: z.ZodNullable<z.ZodNumber>;
3376
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
3393
3377
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
3378
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
3379
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
3394
3380
  wrapUpForm: z.ZodNullable<z.ZodObject<{
3395
3381
  id: z.ZodString;
3396
3382
  createdAt: z.ZodDate;
@@ -3657,6 +3643,74 @@ export declare const platformWebchatContract: {
3657
3643
  dateValue: Date | null;
3658
3644
  }[] | null | undefined;
3659
3645
  }>>;
3646
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
3647
+ id: z.ZodString;
3648
+ createdAt: z.ZodDate;
3649
+ updatedAt: z.ZodDate;
3650
+ deletedAt: z.ZodNullable<z.ZodDate>;
3651
+ startedAt: z.ZodString;
3652
+ endedAt: z.ZodNullable<z.ZodString>;
3653
+ duration: z.ZodNullable<z.ZodNumber>;
3654
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3655
+ id: z.ZodString;
3656
+ createdAt: z.ZodDate;
3657
+ updatedAt: z.ZodDate;
3658
+ deletedAt: z.ZodNullable<z.ZodDate>;
3659
+ name: z.ZodString;
3660
+ position: z.ZodNumber;
3661
+ isDefault: z.ZodDefault<z.ZodBoolean>;
3662
+ }, "strip", z.ZodTypeAny, {
3663
+ name: string;
3664
+ id: string;
3665
+ position: number;
3666
+ createdAt: Date;
3667
+ updatedAt: Date;
3668
+ deletedAt: Date | null;
3669
+ isDefault: boolean;
3670
+ }, {
3671
+ name: string;
3672
+ id: string;
3673
+ position: number;
3674
+ createdAt: Date;
3675
+ updatedAt: Date;
3676
+ deletedAt: Date | null;
3677
+ isDefault?: boolean | undefined;
3678
+ }>>>;
3679
+ }, "strip", z.ZodTypeAny, {
3680
+ id: string;
3681
+ createdAt: Date;
3682
+ updatedAt: Date;
3683
+ deletedAt: Date | null;
3684
+ startedAt: string;
3685
+ endedAt: string | null;
3686
+ duration: number | null;
3687
+ holdLabel?: {
3688
+ name: string;
3689
+ id: string;
3690
+ position: number;
3691
+ createdAt: Date;
3692
+ updatedAt: Date;
3693
+ deletedAt: Date | null;
3694
+ isDefault: boolean;
3695
+ } | null | undefined;
3696
+ }, {
3697
+ id: string;
3698
+ createdAt: Date;
3699
+ updatedAt: Date;
3700
+ deletedAt: Date | null;
3701
+ startedAt: string;
3702
+ endedAt: string | null;
3703
+ duration: number | null;
3704
+ holdLabel?: {
3705
+ name: string;
3706
+ id: string;
3707
+ position: number;
3708
+ createdAt: Date;
3709
+ updatedAt: Date;
3710
+ deletedAt: Date | null;
3711
+ isDefault?: boolean | undefined;
3712
+ } | null | undefined;
3713
+ }>, "many">>>;
3660
3714
  }, "strip", z.ZodTypeAny, {
3661
3715
  id: string;
3662
3716
  channel: string | null;
@@ -3671,8 +3725,12 @@ export declare const platformWebchatContract: {
3671
3725
  entityName: string;
3672
3726
  agentId: string | null;
3673
3727
  startedDate: Date | null;
3728
+ totalHoldDuration: number | null;
3674
3729
  handledTime: number | null;
3730
+ fullHandledTime: number | null;
3675
3731
  firstResponseTime: number | null;
3732
+ resolutionTime: number | null;
3733
+ fullResolutionTime: number | null;
3676
3734
  wrapUpForm: {
3677
3735
  type: string;
3678
3736
  id: string;
@@ -3725,6 +3783,24 @@ export declare const platformWebchatContract: {
3725
3783
  dateValue: Date | null;
3726
3784
  }[] | null | undefined;
3727
3785
  } | null;
3786
+ holdLogs?: {
3787
+ id: string;
3788
+ createdAt: Date;
3789
+ updatedAt: Date;
3790
+ deletedAt: Date | null;
3791
+ startedAt: string;
3792
+ endedAt: string | null;
3793
+ duration: number | null;
3794
+ holdLabel?: {
3795
+ name: string;
3796
+ id: string;
3797
+ position: number;
3798
+ createdAt: Date;
3799
+ updatedAt: Date;
3800
+ deletedAt: Date | null;
3801
+ isDefault: boolean;
3802
+ } | null | undefined;
3803
+ }[] | null | undefined;
3728
3804
  }, {
3729
3805
  id: string;
3730
3806
  channel: string | null;
@@ -3739,8 +3815,12 @@ export declare const platformWebchatContract: {
3739
3815
  entityName: string;
3740
3816
  agentId: string | null;
3741
3817
  startedDate: Date | null;
3818
+ totalHoldDuration: number | null;
3742
3819
  handledTime: number | null;
3820
+ fullHandledTime: number | null;
3743
3821
  firstResponseTime: number | null;
3822
+ resolutionTime: number | null;
3823
+ fullResolutionTime: number | null;
3744
3824
  wrapUpForm: {
3745
3825
  type: string;
3746
3826
  id: string;
@@ -3793,6 +3873,24 @@ export declare const platformWebchatContract: {
3793
3873
  dateValue: Date | null;
3794
3874
  }[] | null | undefined;
3795
3875
  } | null;
3876
+ holdLogs?: {
3877
+ id: string;
3878
+ createdAt: Date;
3879
+ updatedAt: Date;
3880
+ deletedAt: Date | null;
3881
+ startedAt: string;
3882
+ endedAt: string | null;
3883
+ duration: number | null;
3884
+ holdLabel?: {
3885
+ name: string;
3886
+ id: string;
3887
+ position: number;
3888
+ createdAt: Date;
3889
+ updatedAt: Date;
3890
+ deletedAt: Date | null;
3891
+ isDefault?: boolean | undefined;
3892
+ } | null | undefined;
3893
+ }[] | null | undefined;
3796
3894
  }>;
3797
3895
  workflowRule: z.ZodObject<{
3798
3896
  id: z.ZodString;
@@ -3834,16 +3932,15 @@ export declare const platformWebchatContract: {
3834
3932
  additionalCredentials?: any;
3835
3933
  senderId?: string | undefined;
3836
3934
  whatsapp?: {
3837
- wabaBusinessId?: string | null | undefined;
3838
- wabaExternalId?: string | null | undefined;
3839
- phoneNumberId?: string | null | undefined;
3840
- email?: string | null | undefined;
3841
- clientId?: string | null | undefined;
3842
- channelId?: string | null | undefined;
3935
+ email: string;
3936
+ wabaExternalId: string;
3937
+ phoneNumberId: string;
3938
+ wabaBusinessId?: string | undefined;
3939
+ clientId?: string | undefined;
3940
+ channelId?: string | undefined;
3843
3941
  status?: "active" | "pending" | undefined;
3844
3942
  apiKey?: string | undefined;
3845
3943
  tier?: "basic" | "regular" | "premium" | undefined;
3846
- integrationType?: "meta" | "360dialog" | undefined;
3847
3944
  } | undefined;
3848
3945
  vonageCredentials?: {
3849
3946
  apiKey: string;
@@ -4014,6 +4111,7 @@ export declare const platformWebchatContract: {
4014
4111
  dateValue: Date | null;
4015
4112
  uploads: {
4016
4113
  id: string;
4114
+ status: string | null;
4017
4115
  createdAt: Date;
4018
4116
  updatedAt: Date;
4019
4117
  deletedAt: Date | null;
@@ -4022,7 +4120,6 @@ export declare const platformWebchatContract: {
4022
4120
  bucketName: string;
4023
4121
  fileSize: number;
4024
4122
  fileUrl: string | null;
4025
- status?: string | undefined;
4026
4123
  }[];
4027
4124
  }[];
4028
4125
  company: {
@@ -4157,8 +4254,12 @@ export declare const platformWebchatContract: {
4157
4254
  entityName: string;
4158
4255
  agentId: string | null;
4159
4256
  startedDate: Date | null;
4257
+ totalHoldDuration: number | null;
4160
4258
  handledTime: number | null;
4259
+ fullHandledTime: number | null;
4161
4260
  firstResponseTime: number | null;
4261
+ resolutionTime: number | null;
4262
+ fullResolutionTime: number | null;
4162
4263
  wrapUpForm: {
4163
4264
  type: string;
4164
4265
  id: string;
@@ -4211,6 +4312,24 @@ export declare const platformWebchatContract: {
4211
4312
  dateValue: Date | null;
4212
4313
  }[] | null | undefined;
4213
4314
  } | null;
4315
+ holdLogs?: {
4316
+ id: string;
4317
+ createdAt: Date;
4318
+ updatedAt: Date;
4319
+ deletedAt: Date | null;
4320
+ startedAt: string;
4321
+ endedAt: string | null;
4322
+ duration: number | null;
4323
+ holdLabel?: {
4324
+ name: string;
4325
+ id: string;
4326
+ position: number;
4327
+ createdAt: Date;
4328
+ updatedAt: Date;
4329
+ deletedAt: Date | null;
4330
+ isDefault: boolean;
4331
+ } | null | undefined;
4332
+ }[] | null | undefined;
4214
4333
  };
4215
4334
  workflowRule: {
4216
4335
  name: string;
@@ -4236,16 +4355,15 @@ export declare const platformWebchatContract: {
4236
4355
  additionalCredentials?: any;
4237
4356
  senderId?: string | undefined;
4238
4357
  whatsapp?: {
4239
- wabaBusinessId?: string | null | undefined;
4240
- wabaExternalId?: string | null | undefined;
4241
- phoneNumberId?: string | null | undefined;
4242
- email?: string | null | undefined;
4243
- clientId?: string | null | undefined;
4244
- channelId?: string | null | undefined;
4358
+ email: string;
4359
+ wabaExternalId: string;
4360
+ phoneNumberId: string;
4361
+ wabaBusinessId?: string | undefined;
4362
+ clientId?: string | undefined;
4363
+ channelId?: string | undefined;
4245
4364
  status?: "active" | "pending" | undefined;
4246
4365
  apiKey?: string | undefined;
4247
4366
  tier?: "basic" | "regular" | "premium" | undefined;
4248
- integrationType?: "meta" | "360dialog" | undefined;
4249
4367
  } | undefined;
4250
4368
  vonageCredentials?: {
4251
4369
  apiKey: string;
@@ -4416,6 +4534,7 @@ export declare const platformWebchatContract: {
4416
4534
  dateValue: Date | null;
4417
4535
  uploads: {
4418
4536
  id: string;
4537
+ status: string | null;
4419
4538
  createdAt: Date;
4420
4539
  updatedAt: Date;
4421
4540
  deletedAt: Date | null;
@@ -4424,7 +4543,6 @@ export declare const platformWebchatContract: {
4424
4543
  bucketName: string;
4425
4544
  fileSize: number;
4426
4545
  fileUrl: string | null;
4427
- status?: string | undefined;
4428
4546
  }[];
4429
4547
  }[];
4430
4548
  company: {
@@ -4559,8 +4677,12 @@ export declare const platformWebchatContract: {
4559
4677
  entityName: string;
4560
4678
  agentId: string | null;
4561
4679
  startedDate: Date | null;
4680
+ totalHoldDuration: number | null;
4562
4681
  handledTime: number | null;
4682
+ fullHandledTime: number | null;
4563
4683
  firstResponseTime: number | null;
4684
+ resolutionTime: number | null;
4685
+ fullResolutionTime: number | null;
4564
4686
  wrapUpForm: {
4565
4687
  type: string;
4566
4688
  id: string;
@@ -4613,6 +4735,24 @@ export declare const platformWebchatContract: {
4613
4735
  dateValue: Date | null;
4614
4736
  }[] | null | undefined;
4615
4737
  } | null;
4738
+ holdLogs?: {
4739
+ id: string;
4740
+ createdAt: Date;
4741
+ updatedAt: Date;
4742
+ deletedAt: Date | null;
4743
+ startedAt: string;
4744
+ endedAt: string | null;
4745
+ duration: number | null;
4746
+ holdLabel?: {
4747
+ name: string;
4748
+ id: string;
4749
+ position: number;
4750
+ createdAt: Date;
4751
+ updatedAt: Date;
4752
+ deletedAt: Date | null;
4753
+ isDefault?: boolean | undefined;
4754
+ } | null | undefined;
4755
+ }[] | null | undefined;
4616
4756
  };
4617
4757
  workflowRule: {
4618
4758
  name: string;
@@ -4663,7 +4803,7 @@ export declare const platformWebchatContract: {
4663
4803
  deletedAt: z.ZodNullable<z.ZodDate>;
4664
4804
  message: z.ZodString;
4665
4805
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4666
- 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"]>;
4806
+ 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"]>;
4667
4807
  readAt: z.ZodDate;
4668
4808
  metadata: z.ZodAny;
4669
4809
  platformId: z.ZodString;
@@ -4684,9 +4824,10 @@ export declare const platformWebchatContract: {
4684
4824
  fileSize: z.ZodNumber;
4685
4825
  fileKey: z.ZodString;
4686
4826
  fileUrl: z.ZodNullable<z.ZodString>;
4687
- status: z.ZodOptional<z.ZodString>;
4827
+ status: z.ZodNullable<z.ZodString>;
4688
4828
  }, "strip", z.ZodTypeAny, {
4689
4829
  id: string;
4830
+ status: string | null;
4690
4831
  createdAt: Date;
4691
4832
  updatedAt: Date;
4692
4833
  deletedAt: Date | null;
@@ -4695,9 +4836,9 @@ export declare const platformWebchatContract: {
4695
4836
  bucketName: string;
4696
4837
  fileSize: number;
4697
4838
  fileUrl: string | null;
4698
- status?: string | undefined;
4699
4839
  }, {
4700
4840
  id: string;
4841
+ status: string | null;
4701
4842
  createdAt: Date;
4702
4843
  updatedAt: Date;
4703
4844
  deletedAt: Date | null;
@@ -4706,7 +4847,6 @@ export declare const platformWebchatContract: {
4706
4847
  bucketName: string;
4707
4848
  fileSize: number;
4708
4849
  fileUrl: string | null;
4709
- status?: string | undefined;
4710
4850
  }>;
4711
4851
  actor: z.ZodObject<{
4712
4852
  id: z.ZodString;
@@ -5321,7 +5461,7 @@ export declare const platformWebchatContract: {
5321
5461
  };
5322
5462
  }>;
5323
5463
  }, "strip", z.ZodTypeAny, {
5324
- 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";
5464
+ 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";
5325
5465
  message: string;
5326
5466
  id: string;
5327
5467
  url: string;
@@ -5375,6 +5515,7 @@ export declare const platformWebchatContract: {
5375
5515
  };
5376
5516
  upload: {
5377
5517
  id: string;
5518
+ status: string | null;
5378
5519
  createdAt: Date;
5379
5520
  updatedAt: Date;
5380
5521
  deletedAt: Date | null;
@@ -5383,7 +5524,6 @@ export declare const platformWebchatContract: {
5383
5524
  bucketName: string;
5384
5525
  fileSize: number;
5385
5526
  fileUrl: string | null;
5386
- status?: string | undefined;
5387
5527
  };
5388
5528
  assignee: {
5389
5529
  name: string;
@@ -5483,7 +5623,7 @@ export declare const platformWebchatContract: {
5483
5623
  metadata?: any;
5484
5624
  template?: any;
5485
5625
  }, {
5486
- 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";
5626
+ 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";
5487
5627
  message: string;
5488
5628
  id: string;
5489
5629
  url: string;
@@ -5537,6 +5677,7 @@ export declare const platformWebchatContract: {
5537
5677
  };
5538
5678
  upload: {
5539
5679
  id: string;
5680
+ status: string | null;
5540
5681
  createdAt: Date;
5541
5682
  updatedAt: Date;
5542
5683
  deletedAt: Date | null;
@@ -5545,7 +5686,6 @@ export declare const platformWebchatContract: {
5545
5686
  bucketName: string;
5546
5687
  fileSize: number;
5547
5688
  fileUrl: string | null;
5548
- status?: string | undefined;
5549
5689
  };
5550
5690
  assignee: {
5551
5691
  name: string;
@@ -5857,7 +5997,7 @@ export declare const platformWebchatContract: {
5857
5997
  deletedAt: z.ZodNullable<z.ZodDate>;
5858
5998
  message: z.ZodString;
5859
5999
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5860
- 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"]>;
6000
+ 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"]>;
5861
6001
  readAt: z.ZodDate;
5862
6002
  metadata: z.ZodAny;
5863
6003
  platformId: z.ZodString;
@@ -6256,9 +6396,10 @@ export declare const platformWebchatContract: {
6256
6396
  fileSize: z.ZodNumber;
6257
6397
  fileKey: z.ZodString;
6258
6398
  fileUrl: z.ZodNullable<z.ZodString>;
6259
- status: z.ZodOptional<z.ZodString>;
6399
+ status: z.ZodNullable<z.ZodString>;
6260
6400
  }, "strip", z.ZodTypeAny, {
6261
6401
  id: string;
6402
+ status: string | null;
6262
6403
  createdAt: Date;
6263
6404
  updatedAt: Date;
6264
6405
  deletedAt: Date | null;
@@ -6267,9 +6408,9 @@ export declare const platformWebchatContract: {
6267
6408
  bucketName: string;
6268
6409
  fileSize: number;
6269
6410
  fileUrl: string | null;
6270
- status?: string | undefined;
6271
6411
  }, {
6272
6412
  id: string;
6413
+ status: string | null;
6273
6414
  createdAt: Date;
6274
6415
  updatedAt: Date;
6275
6416
  deletedAt: Date | null;
@@ -6278,7 +6419,6 @@ export declare const platformWebchatContract: {
6278
6419
  bucketName: string;
6279
6420
  fileSize: number;
6280
6421
  fileUrl: string | null;
6281
- status?: string | undefined;
6282
6422
  }>, "many">;
6283
6423
  }, "strip", z.ZodTypeAny, {
6284
6424
  id: string;
@@ -6305,6 +6445,7 @@ export declare const platformWebchatContract: {
6305
6445
  dateValue: Date | null;
6306
6446
  uploads: {
6307
6447
  id: string;
6448
+ status: string | null;
6308
6449
  createdAt: Date;
6309
6450
  updatedAt: Date;
6310
6451
  deletedAt: Date | null;
@@ -6313,7 +6454,6 @@ export declare const platformWebchatContract: {
6313
6454
  bucketName: string;
6314
6455
  fileSize: number;
6315
6456
  fileUrl: string | null;
6316
- status?: string | undefined;
6317
6457
  }[];
6318
6458
  }, {
6319
6459
  id: string;
@@ -6340,6 +6480,7 @@ export declare const platformWebchatContract: {
6340
6480
  dateValue: Date | null;
6341
6481
  uploads: {
6342
6482
  id: string;
6483
+ status: string | null;
6343
6484
  createdAt: Date;
6344
6485
  updatedAt: Date;
6345
6486
  deletedAt: Date | null;
@@ -6348,7 +6489,6 @@ export declare const platformWebchatContract: {
6348
6489
  bucketName: string;
6349
6490
  fileSize: number;
6350
6491
  fileUrl: string | null;
6351
- status?: string | undefined;
6352
6492
  }[];
6353
6493
  }>, "many">;
6354
6494
  contactEmails: z.ZodArray<z.ZodObject<{
@@ -6488,6 +6628,7 @@ export declare const platformWebchatContract: {
6488
6628
  dateValue: Date | null;
6489
6629
  uploads: {
6490
6630
  id: string;
6631
+ status: string | null;
6491
6632
  createdAt: Date;
6492
6633
  updatedAt: Date;
6493
6634
  deletedAt: Date | null;
@@ -6496,7 +6637,6 @@ export declare const platformWebchatContract: {
6496
6637
  bucketName: string;
6497
6638
  fileSize: number;
6498
6639
  fileUrl: string | null;
6499
- status?: string | undefined;
6500
6640
  }[];
6501
6641
  }[];
6502
6642
  company: {
@@ -6599,6 +6739,7 @@ export declare const platformWebchatContract: {
6599
6739
  dateValue: Date | null;
6600
6740
  uploads: {
6601
6741
  id: string;
6742
+ status: string | null;
6602
6743
  createdAt: Date;
6603
6744
  updatedAt: Date;
6604
6745
  deletedAt: Date | null;
@@ -6607,7 +6748,6 @@ export declare const platformWebchatContract: {
6607
6748
  bucketName: string;
6608
6749
  fileSize: number;
6609
6750
  fileUrl: string | null;
6610
- status?: string | undefined;
6611
6751
  }[];
6612
6752
  }[];
6613
6753
  company: {
@@ -6723,6 +6863,7 @@ export declare const platformWebchatContract: {
6723
6863
  dateValue: Date | null;
6724
6864
  uploads: {
6725
6865
  id: string;
6866
+ status: string | null;
6726
6867
  createdAt: Date;
6727
6868
  updatedAt: Date;
6728
6869
  deletedAt: Date | null;
@@ -6731,7 +6872,6 @@ export declare const platformWebchatContract: {
6731
6872
  bucketName: string;
6732
6873
  fileSize: number;
6733
6874
  fileUrl: string | null;
6734
- status?: string | undefined;
6735
6875
  }[];
6736
6876
  }[];
6737
6877
  company: {
@@ -6849,6 +6989,7 @@ export declare const platformWebchatContract: {
6849
6989
  dateValue: Date | null;
6850
6990
  uploads: {
6851
6991
  id: string;
6992
+ status: string | null;
6852
6993
  createdAt: Date;
6853
6994
  updatedAt: Date;
6854
6995
  deletedAt: Date | null;
@@ -6857,7 +6998,6 @@ export declare const platformWebchatContract: {
6857
6998
  bucketName: string;
6858
6999
  fileSize: number;
6859
7000
  fileUrl: string | null;
6860
- status?: string | undefined;
6861
7001
  }[];
6862
7002
  }[];
6863
7003
  company: {
@@ -7354,38 +7494,35 @@ export declare const platformWebchatContract: {
7354
7494
  additionalCredentials: z.ZodOptional<z.ZodAny>;
7355
7495
  senderId: z.ZodOptional<z.ZodString>;
7356
7496
  whatsapp: z.ZodOptional<z.ZodObject<{
7357
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7358
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7359
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7360
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7361
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7362
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7497
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
7498
+ wabaExternalId: z.ZodString;
7499
+ phoneNumberId: z.ZodString;
7500
+ email: z.ZodString;
7501
+ clientId: z.ZodOptional<z.ZodString>;
7502
+ channelId: z.ZodOptional<z.ZodString>;
7363
7503
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7364
7504
  apiKey: z.ZodOptional<z.ZodString>;
7365
7505
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7366
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
7367
7506
  }, "strip", z.ZodTypeAny, {
7368
- wabaBusinessId?: string | null | undefined;
7369
- wabaExternalId?: string | null | undefined;
7370
- phoneNumberId?: string | null | undefined;
7371
- email?: string | null | undefined;
7372
- clientId?: string | null | undefined;
7373
- channelId?: string | null | undefined;
7507
+ email: string;
7508
+ wabaExternalId: string;
7509
+ phoneNumberId: string;
7510
+ wabaBusinessId?: string | undefined;
7511
+ clientId?: string | undefined;
7512
+ channelId?: string | undefined;
7374
7513
  status?: "active" | "pending" | undefined;
7375
7514
  apiKey?: string | undefined;
7376
7515
  tier?: "basic" | "regular" | "premium" | undefined;
7377
- integrationType?: "meta" | "360dialog" | undefined;
7378
7516
  }, {
7379
- wabaBusinessId?: string | null | undefined;
7380
- wabaExternalId?: string | null | undefined;
7381
- phoneNumberId?: string | null | undefined;
7382
- email?: string | null | undefined;
7383
- clientId?: string | null | undefined;
7384
- channelId?: string | null | undefined;
7517
+ email: string;
7518
+ wabaExternalId: string;
7519
+ phoneNumberId: string;
7520
+ wabaBusinessId?: string | undefined;
7521
+ clientId?: string | undefined;
7522
+ channelId?: string | undefined;
7385
7523
  status?: "active" | "pending" | undefined;
7386
7524
  apiKey?: string | undefined;
7387
7525
  tier?: "basic" | "regular" | "premium" | undefined;
7388
- integrationType?: "meta" | "360dialog" | undefined;
7389
7526
  }>>;
7390
7527
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7391
7528
  mobileNumber: z.ZodString;
@@ -7410,16 +7547,15 @@ export declare const platformWebchatContract: {
7410
7547
  additionalCredentials?: any;
7411
7548
  senderId?: string | undefined;
7412
7549
  whatsapp?: {
7413
- wabaBusinessId?: string | null | undefined;
7414
- wabaExternalId?: string | null | undefined;
7415
- phoneNumberId?: string | null | undefined;
7416
- email?: string | null | undefined;
7417
- clientId?: string | null | undefined;
7418
- channelId?: string | null | undefined;
7550
+ email: string;
7551
+ wabaExternalId: string;
7552
+ phoneNumberId: string;
7553
+ wabaBusinessId?: string | undefined;
7554
+ clientId?: string | undefined;
7555
+ channelId?: string | undefined;
7419
7556
  status?: "active" | "pending" | undefined;
7420
7557
  apiKey?: string | undefined;
7421
7558
  tier?: "basic" | "regular" | "premium" | undefined;
7422
- integrationType?: "meta" | "360dialog" | undefined;
7423
7559
  } | undefined;
7424
7560
  vonageCredentials?: {
7425
7561
  apiKey: string;
@@ -7436,16 +7572,15 @@ export declare const platformWebchatContract: {
7436
7572
  additionalCredentials?: any;
7437
7573
  senderId?: string | undefined;
7438
7574
  whatsapp?: {
7439
- wabaBusinessId?: string | null | undefined;
7440
- wabaExternalId?: string | null | undefined;
7441
- phoneNumberId?: string | null | undefined;
7442
- email?: string | null | undefined;
7443
- clientId?: string | null | undefined;
7444
- channelId?: string | null | undefined;
7575
+ email: string;
7576
+ wabaExternalId: string;
7577
+ phoneNumberId: string;
7578
+ wabaBusinessId?: string | undefined;
7579
+ clientId?: string | undefined;
7580
+ channelId?: string | undefined;
7445
7581
  status?: "active" | "pending" | undefined;
7446
7582
  apiKey?: string | undefined;
7447
7583
  tier?: "basic" | "regular" | "premium" | undefined;
7448
- integrationType?: "meta" | "360dialog" | undefined;
7449
7584
  } | undefined;
7450
7585
  vonageCredentials?: {
7451
7586
  apiKey: string;
@@ -7696,16 +7831,15 @@ export declare const platformWebchatContract: {
7696
7831
  additionalCredentials?: any;
7697
7832
  senderId?: string | undefined;
7698
7833
  whatsapp?: {
7699
- wabaBusinessId?: string | null | undefined;
7700
- wabaExternalId?: string | null | undefined;
7701
- phoneNumberId?: string | null | undefined;
7702
- email?: string | null | undefined;
7703
- clientId?: string | null | undefined;
7704
- channelId?: string | null | undefined;
7834
+ email: string;
7835
+ wabaExternalId: string;
7836
+ phoneNumberId: string;
7837
+ wabaBusinessId?: string | undefined;
7838
+ clientId?: string | undefined;
7839
+ channelId?: string | undefined;
7705
7840
  status?: "active" | "pending" | undefined;
7706
7841
  apiKey?: string | undefined;
7707
7842
  tier?: "basic" | "regular" | "premium" | undefined;
7708
- integrationType?: "meta" | "360dialog" | undefined;
7709
7843
  } | undefined;
7710
7844
  vonageCredentials?: {
7711
7845
  apiKey: string;
@@ -7787,16 +7921,15 @@ export declare const platformWebchatContract: {
7787
7921
  additionalCredentials?: any;
7788
7922
  senderId?: string | undefined;
7789
7923
  whatsapp?: {
7790
- wabaBusinessId?: string | null | undefined;
7791
- wabaExternalId?: string | null | undefined;
7792
- phoneNumberId?: string | null | undefined;
7793
- email?: string | null | undefined;
7794
- clientId?: string | null | undefined;
7795
- channelId?: string | null | undefined;
7924
+ email: string;
7925
+ wabaExternalId: string;
7926
+ phoneNumberId: string;
7927
+ wabaBusinessId?: string | undefined;
7928
+ clientId?: string | undefined;
7929
+ channelId?: string | undefined;
7796
7930
  status?: "active" | "pending" | undefined;
7797
7931
  apiKey?: string | undefined;
7798
7932
  tier?: "basic" | "regular" | "premium" | undefined;
7799
- integrationType?: "meta" | "360dialog" | undefined;
7800
7933
  } | undefined;
7801
7934
  vonageCredentials?: {
7802
7935
  apiKey: string;
@@ -7881,8 +8014,12 @@ export declare const platformWebchatContract: {
7881
8014
  agentId: z.ZodNullable<z.ZodString>;
7882
8015
  direction: z.ZodNullable<z.ZodString>;
7883
8016
  startedDate: z.ZodNullable<z.ZodDate>;
8017
+ totalHoldDuration: z.ZodNullable<z.ZodNumber>;
7884
8018
  handledTime: z.ZodNullable<z.ZodNumber>;
8019
+ fullHandledTime: z.ZodNullable<z.ZodNumber>;
7885
8020
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
8021
+ resolutionTime: z.ZodNullable<z.ZodNumber>;
8022
+ fullResolutionTime: z.ZodNullable<z.ZodNumber>;
7886
8023
  wrapUpForm: z.ZodNullable<z.ZodObject<{
7887
8024
  id: z.ZodString;
7888
8025
  createdAt: z.ZodDate;
@@ -8149,6 +8286,74 @@ export declare const platformWebchatContract: {
8149
8286
  dateValue: Date | null;
8150
8287
  }[] | null | undefined;
8151
8288
  }>>;
8289
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
8290
+ id: z.ZodString;
8291
+ createdAt: z.ZodDate;
8292
+ updatedAt: z.ZodDate;
8293
+ deletedAt: z.ZodNullable<z.ZodDate>;
8294
+ startedAt: z.ZodString;
8295
+ endedAt: z.ZodNullable<z.ZodString>;
8296
+ duration: z.ZodNullable<z.ZodNumber>;
8297
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8298
+ id: z.ZodString;
8299
+ createdAt: z.ZodDate;
8300
+ updatedAt: z.ZodDate;
8301
+ deletedAt: z.ZodNullable<z.ZodDate>;
8302
+ name: z.ZodString;
8303
+ position: z.ZodNumber;
8304
+ isDefault: z.ZodDefault<z.ZodBoolean>;
8305
+ }, "strip", z.ZodTypeAny, {
8306
+ name: string;
8307
+ id: string;
8308
+ position: number;
8309
+ createdAt: Date;
8310
+ updatedAt: Date;
8311
+ deletedAt: Date | null;
8312
+ isDefault: boolean;
8313
+ }, {
8314
+ name: string;
8315
+ id: string;
8316
+ position: number;
8317
+ createdAt: Date;
8318
+ updatedAt: Date;
8319
+ deletedAt: Date | null;
8320
+ isDefault?: boolean | undefined;
8321
+ }>>>;
8322
+ }, "strip", z.ZodTypeAny, {
8323
+ id: string;
8324
+ createdAt: Date;
8325
+ updatedAt: Date;
8326
+ deletedAt: Date | null;
8327
+ startedAt: string;
8328
+ endedAt: string | null;
8329
+ duration: number | null;
8330
+ holdLabel?: {
8331
+ name: string;
8332
+ id: string;
8333
+ position: number;
8334
+ createdAt: Date;
8335
+ updatedAt: Date;
8336
+ deletedAt: Date | null;
8337
+ isDefault: boolean;
8338
+ } | null | undefined;
8339
+ }, {
8340
+ id: string;
8341
+ createdAt: Date;
8342
+ updatedAt: Date;
8343
+ deletedAt: Date | null;
8344
+ startedAt: string;
8345
+ endedAt: string | null;
8346
+ duration: number | null;
8347
+ holdLabel?: {
8348
+ name: string;
8349
+ id: string;
8350
+ position: number;
8351
+ createdAt: Date;
8352
+ updatedAt: Date;
8353
+ deletedAt: Date | null;
8354
+ isDefault?: boolean | undefined;
8355
+ } | null | undefined;
8356
+ }>, "many">>>;
8152
8357
  }, "strip", z.ZodTypeAny, {
8153
8358
  id: string;
8154
8359
  channel: string | null;
@@ -8163,8 +8368,12 @@ export declare const platformWebchatContract: {
8163
8368
  entityName: string;
8164
8369
  agentId: string | null;
8165
8370
  startedDate: Date | null;
8371
+ totalHoldDuration: number | null;
8166
8372
  handledTime: number | null;
8373
+ fullHandledTime: number | null;
8167
8374
  firstResponseTime: number | null;
8375
+ resolutionTime: number | null;
8376
+ fullResolutionTime: number | null;
8168
8377
  wrapUpForm: {
8169
8378
  type: string;
8170
8379
  id: string;
@@ -8217,6 +8426,24 @@ export declare const platformWebchatContract: {
8217
8426
  dateValue: Date | null;
8218
8427
  }[] | null | undefined;
8219
8428
  } | null;
8429
+ holdLogs?: {
8430
+ id: string;
8431
+ createdAt: Date;
8432
+ updatedAt: Date;
8433
+ deletedAt: Date | null;
8434
+ startedAt: string;
8435
+ endedAt: string | null;
8436
+ duration: number | null;
8437
+ holdLabel?: {
8438
+ name: string;
8439
+ id: string;
8440
+ position: number;
8441
+ createdAt: Date;
8442
+ updatedAt: Date;
8443
+ deletedAt: Date | null;
8444
+ isDefault: boolean;
8445
+ } | null | undefined;
8446
+ }[] | null | undefined;
8220
8447
  }, {
8221
8448
  id: string;
8222
8449
  channel: string | null;
@@ -8231,8 +8458,12 @@ export declare const platformWebchatContract: {
8231
8458
  entityName: string;
8232
8459
  agentId: string | null;
8233
8460
  startedDate: Date | null;
8461
+ totalHoldDuration: number | null;
8234
8462
  handledTime: number | null;
8463
+ fullHandledTime: number | null;
8235
8464
  firstResponseTime: number | null;
8465
+ resolutionTime: number | null;
8466
+ fullResolutionTime: number | null;
8236
8467
  wrapUpForm: {
8237
8468
  type: string;
8238
8469
  id: string;
@@ -8285,6 +8516,24 @@ export declare const platformWebchatContract: {
8285
8516
  dateValue: Date | null;
8286
8517
  }[] | null | undefined;
8287
8518
  } | null;
8519
+ holdLogs?: {
8520
+ id: string;
8521
+ createdAt: Date;
8522
+ updatedAt: Date;
8523
+ deletedAt: Date | null;
8524
+ startedAt: string;
8525
+ endedAt: string | null;
8526
+ duration: number | null;
8527
+ holdLabel?: {
8528
+ name: string;
8529
+ id: string;
8530
+ position: number;
8531
+ createdAt: Date;
8532
+ updatedAt: Date;
8533
+ deletedAt: Date | null;
8534
+ isDefault?: boolean | undefined;
8535
+ } | null | undefined;
8536
+ }[] | null | undefined;
8288
8537
  }>;
8289
8538
  workflowRule: z.ZodObject<{
8290
8539
  id: z.ZodString;
@@ -8326,16 +8575,15 @@ export declare const platformWebchatContract: {
8326
8575
  additionalCredentials?: any;
8327
8576
  senderId?: string | undefined;
8328
8577
  whatsapp?: {
8329
- wabaBusinessId?: string | null | undefined;
8330
- wabaExternalId?: string | null | undefined;
8331
- phoneNumberId?: string | null | undefined;
8332
- email?: string | null | undefined;
8333
- clientId?: string | null | undefined;
8334
- channelId?: string | null | undefined;
8578
+ email: string;
8579
+ wabaExternalId: string;
8580
+ phoneNumberId: string;
8581
+ wabaBusinessId?: string | undefined;
8582
+ clientId?: string | undefined;
8583
+ channelId?: string | undefined;
8335
8584
  status?: "active" | "pending" | undefined;
8336
8585
  apiKey?: string | undefined;
8337
8586
  tier?: "basic" | "regular" | "premium" | undefined;
8338
- integrationType?: "meta" | "360dialog" | undefined;
8339
8587
  } | undefined;
8340
8588
  vonageCredentials?: {
8341
8589
  apiKey: string;
@@ -8506,6 +8754,7 @@ export declare const platformWebchatContract: {
8506
8754
  dateValue: Date | null;
8507
8755
  uploads: {
8508
8756
  id: string;
8757
+ status: string | null;
8509
8758
  createdAt: Date;
8510
8759
  updatedAt: Date;
8511
8760
  deletedAt: Date | null;
@@ -8514,7 +8763,6 @@ export declare const platformWebchatContract: {
8514
8763
  bucketName: string;
8515
8764
  fileSize: number;
8516
8765
  fileUrl: string | null;
8517
- status?: string | undefined;
8518
8766
  }[];
8519
8767
  }[];
8520
8768
  company: {
@@ -8649,8 +8897,12 @@ export declare const platformWebchatContract: {
8649
8897
  entityName: string;
8650
8898
  agentId: string | null;
8651
8899
  startedDate: Date | null;
8900
+ totalHoldDuration: number | null;
8652
8901
  handledTime: number | null;
8902
+ fullHandledTime: number | null;
8653
8903
  firstResponseTime: number | null;
8904
+ resolutionTime: number | null;
8905
+ fullResolutionTime: number | null;
8654
8906
  wrapUpForm: {
8655
8907
  type: string;
8656
8908
  id: string;
@@ -8703,6 +8955,24 @@ export declare const platformWebchatContract: {
8703
8955
  dateValue: Date | null;
8704
8956
  }[] | null | undefined;
8705
8957
  } | null;
8958
+ holdLogs?: {
8959
+ id: string;
8960
+ createdAt: Date;
8961
+ updatedAt: Date;
8962
+ deletedAt: Date | null;
8963
+ startedAt: string;
8964
+ endedAt: string | null;
8965
+ duration: number | null;
8966
+ holdLabel?: {
8967
+ name: string;
8968
+ id: string;
8969
+ position: number;
8970
+ createdAt: Date;
8971
+ updatedAt: Date;
8972
+ deletedAt: Date | null;
8973
+ isDefault: boolean;
8974
+ } | null | undefined;
8975
+ }[] | null | undefined;
8706
8976
  };
8707
8977
  workflowRule: {
8708
8978
  name: string;
@@ -8728,16 +8998,15 @@ export declare const platformWebchatContract: {
8728
8998
  additionalCredentials?: any;
8729
8999
  senderId?: string | undefined;
8730
9000
  whatsapp?: {
8731
- wabaBusinessId?: string | null | undefined;
8732
- wabaExternalId?: string | null | undefined;
8733
- phoneNumberId?: string | null | undefined;
8734
- email?: string | null | undefined;
8735
- clientId?: string | null | undefined;
8736
- channelId?: string | null | undefined;
9001
+ email: string;
9002
+ wabaExternalId: string;
9003
+ phoneNumberId: string;
9004
+ wabaBusinessId?: string | undefined;
9005
+ clientId?: string | undefined;
9006
+ channelId?: string | undefined;
8737
9007
  status?: "active" | "pending" | undefined;
8738
9008
  apiKey?: string | undefined;
8739
9009
  tier?: "basic" | "regular" | "premium" | undefined;
8740
- integrationType?: "meta" | "360dialog" | undefined;
8741
9010
  } | undefined;
8742
9011
  vonageCredentials?: {
8743
9012
  apiKey: string;
@@ -8908,6 +9177,7 @@ export declare const platformWebchatContract: {
8908
9177
  dateValue: Date | null;
8909
9178
  uploads: {
8910
9179
  id: string;
9180
+ status: string | null;
8911
9181
  createdAt: Date;
8912
9182
  updatedAt: Date;
8913
9183
  deletedAt: Date | null;
@@ -8916,7 +9186,6 @@ export declare const platformWebchatContract: {
8916
9186
  bucketName: string;
8917
9187
  fileSize: number;
8918
9188
  fileUrl: string | null;
8919
- status?: string | undefined;
8920
9189
  }[];
8921
9190
  }[];
8922
9191
  company: {
@@ -9051,8 +9320,12 @@ export declare const platformWebchatContract: {
9051
9320
  entityName: string;
9052
9321
  agentId: string | null;
9053
9322
  startedDate: Date | null;
9323
+ totalHoldDuration: number | null;
9054
9324
  handledTime: number | null;
9325
+ fullHandledTime: number | null;
9055
9326
  firstResponseTime: number | null;
9327
+ resolutionTime: number | null;
9328
+ fullResolutionTime: number | null;
9056
9329
  wrapUpForm: {
9057
9330
  type: string;
9058
9331
  id: string;
@@ -9105,6 +9378,24 @@ export declare const platformWebchatContract: {
9105
9378
  dateValue: Date | null;
9106
9379
  }[] | null | undefined;
9107
9380
  } | null;
9381
+ holdLogs?: {
9382
+ id: string;
9383
+ createdAt: Date;
9384
+ updatedAt: Date;
9385
+ deletedAt: Date | null;
9386
+ startedAt: string;
9387
+ endedAt: string | null;
9388
+ duration: number | null;
9389
+ holdLabel?: {
9390
+ name: string;
9391
+ id: string;
9392
+ position: number;
9393
+ createdAt: Date;
9394
+ updatedAt: Date;
9395
+ deletedAt: Date | null;
9396
+ isDefault?: boolean | undefined;
9397
+ } | null | undefined;
9398
+ }[] | null | undefined;
9108
9399
  };
9109
9400
  workflowRule: {
9110
9401
  name: string;
@@ -9127,9 +9418,10 @@ export declare const platformWebchatContract: {
9127
9418
  fileSize: z.ZodNumber;
9128
9419
  fileKey: z.ZodString;
9129
9420
  fileUrl: z.ZodNullable<z.ZodString>;
9130
- status: z.ZodOptional<z.ZodString>;
9421
+ status: z.ZodNullable<z.ZodString>;
9131
9422
  }, "strip", z.ZodTypeAny, {
9132
9423
  id: string;
9424
+ status: string | null;
9133
9425
  createdAt: Date;
9134
9426
  updatedAt: Date;
9135
9427
  deletedAt: Date | null;
@@ -9138,9 +9430,9 @@ export declare const platformWebchatContract: {
9138
9430
  bucketName: string;
9139
9431
  fileSize: number;
9140
9432
  fileUrl: string | null;
9141
- status?: string | undefined;
9142
9433
  }, {
9143
9434
  id: string;
9435
+ status: string | null;
9144
9436
  createdAt: Date;
9145
9437
  updatedAt: Date;
9146
9438
  deletedAt: Date | null;
@@ -9149,7 +9441,6 @@ export declare const platformWebchatContract: {
9149
9441
  bucketName: string;
9150
9442
  fileSize: number;
9151
9443
  fileUrl: string | null;
9152
- status?: string | undefined;
9153
9444
  }>;
9154
9445
  repliedMessage: z.ZodLazy<z.ZodObject<{
9155
9446
  id: z.ZodString;
@@ -9158,7 +9449,7 @@ export declare const platformWebchatContract: {
9158
9449
  deletedAt: z.ZodNullable<z.ZodDate>;
9159
9450
  message: z.ZodString;
9160
9451
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9161
- 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"]>;
9452
+ 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"]>;
9162
9453
  readAt: z.ZodDate;
9163
9454
  metadata: z.ZodAny;
9164
9455
  platformId: z.ZodString;
@@ -9179,9 +9470,10 @@ export declare const platformWebchatContract: {
9179
9470
  fileSize: z.ZodNumber;
9180
9471
  fileKey: z.ZodString;
9181
9472
  fileUrl: z.ZodNullable<z.ZodString>;
9182
- status: z.ZodOptional<z.ZodString>;
9473
+ status: z.ZodNullable<z.ZodString>;
9183
9474
  }, "strip", z.ZodTypeAny, {
9184
9475
  id: string;
9476
+ status: string | null;
9185
9477
  createdAt: Date;
9186
9478
  updatedAt: Date;
9187
9479
  deletedAt: Date | null;
@@ -9190,9 +9482,9 @@ export declare const platformWebchatContract: {
9190
9482
  bucketName: string;
9191
9483
  fileSize: number;
9192
9484
  fileUrl: string | null;
9193
- status?: string | undefined;
9194
9485
  }, {
9195
9486
  id: string;
9487
+ status: string | null;
9196
9488
  createdAt: Date;
9197
9489
  updatedAt: Date;
9198
9490
  deletedAt: Date | null;
@@ -9201,7 +9493,6 @@ export declare const platformWebchatContract: {
9201
9493
  bucketName: string;
9202
9494
  fileSize: number;
9203
9495
  fileUrl: string | null;
9204
- status?: string | undefined;
9205
9496
  }>;
9206
9497
  actor: z.ZodObject<{
9207
9498
  id: z.ZodString;
@@ -9816,7 +10107,7 @@ export declare const platformWebchatContract: {
9816
10107
  };
9817
10108
  }>;
9818
10109
  }, "strip", z.ZodTypeAny, {
9819
- 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";
10110
+ 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";
9820
10111
  message: string;
9821
10112
  id: string;
9822
10113
  url: string;
@@ -9870,6 +10161,7 @@ export declare const platformWebchatContract: {
9870
10161
  };
9871
10162
  upload: {
9872
10163
  id: string;
10164
+ status: string | null;
9873
10165
  createdAt: Date;
9874
10166
  updatedAt: Date;
9875
10167
  deletedAt: Date | null;
@@ -9878,7 +10170,6 @@ export declare const platformWebchatContract: {
9878
10170
  bucketName: string;
9879
10171
  fileSize: number;
9880
10172
  fileUrl: string | null;
9881
- status?: string | undefined;
9882
10173
  };
9883
10174
  assignee: {
9884
10175
  name: string;
@@ -9978,7 +10269,7 @@ export declare const platformWebchatContract: {
9978
10269
  metadata?: any;
9979
10270
  template?: any;
9980
10271
  }, {
9981
- 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";
10272
+ 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";
9982
10273
  message: string;
9983
10274
  id: string;
9984
10275
  url: string;
@@ -10032,6 +10323,7 @@ export declare const platformWebchatContract: {
10032
10323
  };
10033
10324
  upload: {
10034
10325
  id: string;
10326
+ status: string | null;
10035
10327
  createdAt: Date;
10036
10328
  updatedAt: Date;
10037
10329
  deletedAt: Date | null;
@@ -10040,7 +10332,6 @@ export declare const platformWebchatContract: {
10040
10332
  bucketName: string;
10041
10333
  fileSize: number;
10042
10334
  fileUrl: string | null;
10043
- status?: string | undefined;
10044
10335
  };
10045
10336
  assignee: {
10046
10337
  name: string;
@@ -10780,7 +11071,7 @@ export declare const platformWebchatContract: {
10780
11071
  editedMessageid: z.ZodString;
10781
11072
  label: z.ZodOptional<z.ZodString>;
10782
11073
  }, "strip", z.ZodTypeAny, {
10783
- 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";
11074
+ 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";
10784
11075
  message: string;
10785
11076
  id: string;
10786
11077
  url: string;
@@ -10834,6 +11125,7 @@ export declare const platformWebchatContract: {
10834
11125
  };
10835
11126
  upload: {
10836
11127
  id: string;
11128
+ status: string | null;
10837
11129
  createdAt: Date;
10838
11130
  updatedAt: Date;
10839
11131
  deletedAt: Date | null;
@@ -10842,7 +11134,6 @@ export declare const platformWebchatContract: {
10842
11134
  bucketName: string;
10843
11135
  fileSize: number;
10844
11136
  fileUrl: string | null;
10845
- status?: string | undefined;
10846
11137
  };
10847
11138
  assignee: {
10848
11139
  name: string;
@@ -10903,16 +11194,15 @@ export declare const platformWebchatContract: {
10903
11194
  additionalCredentials?: any;
10904
11195
  senderId?: string | undefined;
10905
11196
  whatsapp?: {
10906
- wabaBusinessId?: string | null | undefined;
10907
- wabaExternalId?: string | null | undefined;
10908
- phoneNumberId?: string | null | undefined;
10909
- email?: string | null | undefined;
10910
- clientId?: string | null | undefined;
10911
- channelId?: string | null | undefined;
11197
+ email: string;
11198
+ wabaExternalId: string;
11199
+ phoneNumberId: string;
11200
+ wabaBusinessId?: string | undefined;
11201
+ clientId?: string | undefined;
11202
+ channelId?: string | undefined;
10912
11203
  status?: "active" | "pending" | undefined;
10913
11204
  apiKey?: string | undefined;
10914
11205
  tier?: "basic" | "regular" | "premium" | undefined;
10915
- integrationType?: "meta" | "360dialog" | undefined;
10916
11206
  } | undefined;
10917
11207
  vonageCredentials?: {
10918
11208
  apiKey: string;
@@ -11083,6 +11373,7 @@ export declare const platformWebchatContract: {
11083
11373
  dateValue: Date | null;
11084
11374
  uploads: {
11085
11375
  id: string;
11376
+ status: string | null;
11086
11377
  createdAt: Date;
11087
11378
  updatedAt: Date;
11088
11379
  deletedAt: Date | null;
@@ -11091,7 +11382,6 @@ export declare const platformWebchatContract: {
11091
11382
  bucketName: string;
11092
11383
  fileSize: number;
11093
11384
  fileUrl: string | null;
11094
- status?: string | undefined;
11095
11385
  }[];
11096
11386
  }[];
11097
11387
  company: {
@@ -11226,8 +11516,12 @@ export declare const platformWebchatContract: {
11226
11516
  entityName: string;
11227
11517
  agentId: string | null;
11228
11518
  startedDate: Date | null;
11519
+ totalHoldDuration: number | null;
11229
11520
  handledTime: number | null;
11521
+ fullHandledTime: number | null;
11230
11522
  firstResponseTime: number | null;
11523
+ resolutionTime: number | null;
11524
+ fullResolutionTime: number | null;
11231
11525
  wrapUpForm: {
11232
11526
  type: string;
11233
11527
  id: string;
@@ -11280,6 +11574,24 @@ export declare const platformWebchatContract: {
11280
11574
  dateValue: Date | null;
11281
11575
  }[] | null | undefined;
11282
11576
  } | null;
11577
+ holdLogs?: {
11578
+ id: string;
11579
+ createdAt: Date;
11580
+ updatedAt: Date;
11581
+ deletedAt: Date | null;
11582
+ startedAt: string;
11583
+ endedAt: string | null;
11584
+ duration: number | null;
11585
+ holdLabel?: {
11586
+ name: string;
11587
+ id: string;
11588
+ position: number;
11589
+ createdAt: Date;
11590
+ updatedAt: Date;
11591
+ deletedAt: Date | null;
11592
+ isDefault: boolean;
11593
+ } | null | undefined;
11594
+ }[] | null | undefined;
11283
11595
  };
11284
11596
  workflowRule: {
11285
11597
  name: string;
@@ -11308,7 +11620,7 @@ export declare const platformWebchatContract: {
11308
11620
  previewUrl: string;
11309
11621
  imageSetId: string;
11310
11622
  repliedMessage: {
11311
- 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";
11623
+ 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";
11312
11624
  message: string;
11313
11625
  id: string;
11314
11626
  url: string;
@@ -11362,6 +11674,7 @@ export declare const platformWebchatContract: {
11362
11674
  };
11363
11675
  upload: {
11364
11676
  id: string;
11677
+ status: string | null;
11365
11678
  createdAt: Date;
11366
11679
  updatedAt: Date;
11367
11680
  deletedAt: Date | null;
@@ -11370,7 +11683,6 @@ export declare const platformWebchatContract: {
11370
11683
  bucketName: string;
11371
11684
  fileSize: number;
11372
11685
  fileUrl: string | null;
11373
- status?: string | undefined;
11374
11686
  };
11375
11687
  assignee: {
11376
11688
  name: string;
@@ -11519,7 +11831,7 @@ export declare const platformWebchatContract: {
11519
11831
  template?: any;
11520
11832
  label?: string | undefined;
11521
11833
  }, {
11522
- 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";
11834
+ 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";
11523
11835
  message: string;
11524
11836
  id: string;
11525
11837
  url: string;
@@ -11573,6 +11885,7 @@ export declare const platformWebchatContract: {
11573
11885
  };
11574
11886
  upload: {
11575
11887
  id: string;
11888
+ status: string | null;
11576
11889
  createdAt: Date;
11577
11890
  updatedAt: Date;
11578
11891
  deletedAt: Date | null;
@@ -11581,7 +11894,6 @@ export declare const platformWebchatContract: {
11581
11894
  bucketName: string;
11582
11895
  fileSize: number;
11583
11896
  fileUrl: string | null;
11584
- status?: string | undefined;
11585
11897
  };
11586
11898
  assignee: {
11587
11899
  name: string;
@@ -11642,16 +11954,15 @@ export declare const platformWebchatContract: {
11642
11954
  additionalCredentials?: any;
11643
11955
  senderId?: string | undefined;
11644
11956
  whatsapp?: {
11645
- wabaBusinessId?: string | null | undefined;
11646
- wabaExternalId?: string | null | undefined;
11647
- phoneNumberId?: string | null | undefined;
11648
- email?: string | null | undefined;
11649
- clientId?: string | null | undefined;
11650
- channelId?: string | null | undefined;
11957
+ email: string;
11958
+ wabaExternalId: string;
11959
+ phoneNumberId: string;
11960
+ wabaBusinessId?: string | undefined;
11961
+ clientId?: string | undefined;
11962
+ channelId?: string | undefined;
11651
11963
  status?: "active" | "pending" | undefined;
11652
11964
  apiKey?: string | undefined;
11653
11965
  tier?: "basic" | "regular" | "premium" | undefined;
11654
- integrationType?: "meta" | "360dialog" | undefined;
11655
11966
  } | undefined;
11656
11967
  vonageCredentials?: {
11657
11968
  apiKey: string;
@@ -11822,6 +12133,7 @@ export declare const platformWebchatContract: {
11822
12133
  dateValue: Date | null;
11823
12134
  uploads: {
11824
12135
  id: string;
12136
+ status: string | null;
11825
12137
  createdAt: Date;
11826
12138
  updatedAt: Date;
11827
12139
  deletedAt: Date | null;
@@ -11830,7 +12142,6 @@ export declare const platformWebchatContract: {
11830
12142
  bucketName: string;
11831
12143
  fileSize: number;
11832
12144
  fileUrl: string | null;
11833
- status?: string | undefined;
11834
12145
  }[];
11835
12146
  }[];
11836
12147
  company: {
@@ -11965,8 +12276,12 @@ export declare const platformWebchatContract: {
11965
12276
  entityName: string;
11966
12277
  agentId: string | null;
11967
12278
  startedDate: Date | null;
12279
+ totalHoldDuration: number | null;
11968
12280
  handledTime: number | null;
12281
+ fullHandledTime: number | null;
11969
12282
  firstResponseTime: number | null;
12283
+ resolutionTime: number | null;
12284
+ fullResolutionTime: number | null;
11970
12285
  wrapUpForm: {
11971
12286
  type: string;
11972
12287
  id: string;
@@ -12019,6 +12334,24 @@ export declare const platformWebchatContract: {
12019
12334
  dateValue: Date | null;
12020
12335
  }[] | null | undefined;
12021
12336
  } | null;
12337
+ holdLogs?: {
12338
+ id: string;
12339
+ createdAt: Date;
12340
+ updatedAt: Date;
12341
+ deletedAt: Date | null;
12342
+ startedAt: string;
12343
+ endedAt: string | null;
12344
+ duration: number | null;
12345
+ holdLabel?: {
12346
+ name: string;
12347
+ id: string;
12348
+ position: number;
12349
+ createdAt: Date;
12350
+ updatedAt: Date;
12351
+ deletedAt: Date | null;
12352
+ isDefault?: boolean | undefined;
12353
+ } | null | undefined;
12354
+ }[] | null | undefined;
12022
12355
  };
12023
12356
  workflowRule: {
12024
12357
  name: string;
@@ -12047,7 +12380,7 @@ export declare const platformWebchatContract: {
12047
12380
  previewUrl: string;
12048
12381
  imageSetId: string;
12049
12382
  repliedMessage: {
12050
- 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";
12383
+ 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";
12051
12384
  message: string;
12052
12385
  id: string;
12053
12386
  url: string;
@@ -12101,6 +12434,7 @@ export declare const platformWebchatContract: {
12101
12434
  };
12102
12435
  upload: {
12103
12436
  id: string;
12437
+ status: string | null;
12104
12438
  createdAt: Date;
12105
12439
  updatedAt: Date;
12106
12440
  deletedAt: Date | null;
@@ -12109,7 +12443,6 @@ export declare const platformWebchatContract: {
12109
12443
  bucketName: string;
12110
12444
  fileSize: number;
12111
12445
  fileUrl: string | null;
12112
- status?: string | undefined;
12113
12446
  };
12114
12447
  assignee: {
12115
12448
  name: string;
@@ -12259,7 +12592,7 @@ export declare const platformWebchatContract: {
12259
12592
  label?: string | undefined;
12260
12593
  }>>>;
12261
12594
  }, "strip", z.ZodTypeAny, {
12262
- 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";
12595
+ 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";
12263
12596
  message: string;
12264
12597
  id: string;
12265
12598
  url: string;
@@ -12313,6 +12646,7 @@ export declare const platformWebchatContract: {
12313
12646
  };
12314
12647
  upload: {
12315
12648
  id: string;
12649
+ status: string | null;
12316
12650
  createdAt: Date;
12317
12651
  updatedAt: Date;
12318
12652
  deletedAt: Date | null;
@@ -12321,7 +12655,6 @@ export declare const platformWebchatContract: {
12321
12655
  bucketName: string;
12322
12656
  fileSize: number;
12323
12657
  fileUrl: string | null;
12324
- status?: string | undefined;
12325
12658
  };
12326
12659
  assignee: {
12327
12660
  name: string;
@@ -12382,16 +12715,15 @@ export declare const platformWebchatContract: {
12382
12715
  additionalCredentials?: any;
12383
12716
  senderId?: string | undefined;
12384
12717
  whatsapp?: {
12385
- wabaBusinessId?: string | null | undefined;
12386
- wabaExternalId?: string | null | undefined;
12387
- phoneNumberId?: string | null | undefined;
12388
- email?: string | null | undefined;
12389
- clientId?: string | null | undefined;
12390
- channelId?: string | null | undefined;
12718
+ email: string;
12719
+ wabaExternalId: string;
12720
+ phoneNumberId: string;
12721
+ wabaBusinessId?: string | undefined;
12722
+ clientId?: string | undefined;
12723
+ channelId?: string | undefined;
12391
12724
  status?: "active" | "pending" | undefined;
12392
12725
  apiKey?: string | undefined;
12393
12726
  tier?: "basic" | "regular" | "premium" | undefined;
12394
- integrationType?: "meta" | "360dialog" | undefined;
12395
12727
  } | undefined;
12396
12728
  vonageCredentials?: {
12397
12729
  apiKey: string;
@@ -12562,6 +12894,7 @@ export declare const platformWebchatContract: {
12562
12894
  dateValue: Date | null;
12563
12895
  uploads: {
12564
12896
  id: string;
12897
+ status: string | null;
12565
12898
  createdAt: Date;
12566
12899
  updatedAt: Date;
12567
12900
  deletedAt: Date | null;
@@ -12570,7 +12903,6 @@ export declare const platformWebchatContract: {
12570
12903
  bucketName: string;
12571
12904
  fileSize: number;
12572
12905
  fileUrl: string | null;
12573
- status?: string | undefined;
12574
12906
  }[];
12575
12907
  }[];
12576
12908
  company: {
@@ -12705,8 +13037,12 @@ export declare const platformWebchatContract: {
12705
13037
  entityName: string;
12706
13038
  agentId: string | null;
12707
13039
  startedDate: Date | null;
13040
+ totalHoldDuration: number | null;
12708
13041
  handledTime: number | null;
13042
+ fullHandledTime: number | null;
12709
13043
  firstResponseTime: number | null;
13044
+ resolutionTime: number | null;
13045
+ fullResolutionTime: number | null;
12710
13046
  wrapUpForm: {
12711
13047
  type: string;
12712
13048
  id: string;
@@ -12759,6 +13095,24 @@ export declare const platformWebchatContract: {
12759
13095
  dateValue: Date | null;
12760
13096
  }[] | null | undefined;
12761
13097
  } | null;
13098
+ holdLogs?: {
13099
+ id: string;
13100
+ createdAt: Date;
13101
+ updatedAt: Date;
13102
+ deletedAt: Date | null;
13103
+ startedAt: string;
13104
+ endedAt: string | null;
13105
+ duration: number | null;
13106
+ holdLabel?: {
13107
+ name: string;
13108
+ id: string;
13109
+ position: number;
13110
+ createdAt: Date;
13111
+ updatedAt: Date;
13112
+ deletedAt: Date | null;
13113
+ isDefault: boolean;
13114
+ } | null | undefined;
13115
+ }[] | null | undefined;
12762
13116
  };
12763
13117
  workflowRule: {
12764
13118
  name: string;
@@ -12787,7 +13141,7 @@ export declare const platformWebchatContract: {
12787
13141
  previewUrl: string;
12788
13142
  imageSetId: string;
12789
13143
  repliedMessage: {
12790
- 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";
13144
+ 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";
12791
13145
  message: string;
12792
13146
  id: string;
12793
13147
  url: string;
@@ -12841,6 +13195,7 @@ export declare const platformWebchatContract: {
12841
13195
  };
12842
13196
  upload: {
12843
13197
  id: string;
13198
+ status: string | null;
12844
13199
  createdAt: Date;
12845
13200
  updatedAt: Date;
12846
13201
  deletedAt: Date | null;
@@ -12849,7 +13204,6 @@ export declare const platformWebchatContract: {
12849
13204
  bucketName: string;
12850
13205
  fileSize: number;
12851
13206
  fileUrl: string | null;
12852
- status?: string | undefined;
12853
13207
  };
12854
13208
  assignee: {
12855
13209
  name: string;
@@ -12998,7 +13352,7 @@ export declare const platformWebchatContract: {
12998
13352
  template?: any;
12999
13353
  metadata?: any;
13000
13354
  fromMessage?: {
13001
- 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";
13355
+ 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";
13002
13356
  message: string;
13003
13357
  id: string;
13004
13358
  url: string;
@@ -13052,6 +13406,7 @@ export declare const platformWebchatContract: {
13052
13406
  };
13053
13407
  upload: {
13054
13408
  id: string;
13409
+ status: string | null;
13055
13410
  createdAt: Date;
13056
13411
  updatedAt: Date;
13057
13412
  deletedAt: Date | null;
@@ -13060,7 +13415,6 @@ export declare const platformWebchatContract: {
13060
13415
  bucketName: string;
13061
13416
  fileSize: number;
13062
13417
  fileUrl: string | null;
13063
- status?: string | undefined;
13064
13418
  };
13065
13419
  assignee: {
13066
13420
  name: string;
@@ -13121,16 +13475,15 @@ export declare const platformWebchatContract: {
13121
13475
  additionalCredentials?: any;
13122
13476
  senderId?: string | undefined;
13123
13477
  whatsapp?: {
13124
- wabaBusinessId?: string | null | undefined;
13125
- wabaExternalId?: string | null | undefined;
13126
- phoneNumberId?: string | null | undefined;
13127
- email?: string | null | undefined;
13128
- clientId?: string | null | undefined;
13129
- channelId?: string | null | undefined;
13478
+ email: string;
13479
+ wabaExternalId: string;
13480
+ phoneNumberId: string;
13481
+ wabaBusinessId?: string | undefined;
13482
+ clientId?: string | undefined;
13483
+ channelId?: string | undefined;
13130
13484
  status?: "active" | "pending" | undefined;
13131
13485
  apiKey?: string | undefined;
13132
13486
  tier?: "basic" | "regular" | "premium" | undefined;
13133
- integrationType?: "meta" | "360dialog" | undefined;
13134
13487
  } | undefined;
13135
13488
  vonageCredentials?: {
13136
13489
  apiKey: string;
@@ -13301,6 +13654,7 @@ export declare const platformWebchatContract: {
13301
13654
  dateValue: Date | null;
13302
13655
  uploads: {
13303
13656
  id: string;
13657
+ status: string | null;
13304
13658
  createdAt: Date;
13305
13659
  updatedAt: Date;
13306
13660
  deletedAt: Date | null;
@@ -13309,7 +13663,6 @@ export declare const platformWebchatContract: {
13309
13663
  bucketName: string;
13310
13664
  fileSize: number;
13311
13665
  fileUrl: string | null;
13312
- status?: string | undefined;
13313
13666
  }[];
13314
13667
  }[];
13315
13668
  company: {
@@ -13444,8 +13797,12 @@ export declare const platformWebchatContract: {
13444
13797
  entityName: string;
13445
13798
  agentId: string | null;
13446
13799
  startedDate: Date | null;
13800
+ totalHoldDuration: number | null;
13447
13801
  handledTime: number | null;
13802
+ fullHandledTime: number | null;
13448
13803
  firstResponseTime: number | null;
13804
+ resolutionTime: number | null;
13805
+ fullResolutionTime: number | null;
13449
13806
  wrapUpForm: {
13450
13807
  type: string;
13451
13808
  id: string;
@@ -13498,6 +13855,24 @@ export declare const platformWebchatContract: {
13498
13855
  dateValue: Date | null;
13499
13856
  }[] | null | undefined;
13500
13857
  } | null;
13858
+ holdLogs?: {
13859
+ id: string;
13860
+ createdAt: Date;
13861
+ updatedAt: Date;
13862
+ deletedAt: Date | null;
13863
+ startedAt: string;
13864
+ endedAt: string | null;
13865
+ duration: number | null;
13866
+ holdLabel?: {
13867
+ name: string;
13868
+ id: string;
13869
+ position: number;
13870
+ createdAt: Date;
13871
+ updatedAt: Date;
13872
+ deletedAt: Date | null;
13873
+ isDefault: boolean;
13874
+ } | null | undefined;
13875
+ }[] | null | undefined;
13501
13876
  };
13502
13877
  workflowRule: {
13503
13878
  name: string;
@@ -13526,7 +13901,7 @@ export declare const platformWebchatContract: {
13526
13901
  previewUrl: string;
13527
13902
  imageSetId: string;
13528
13903
  repliedMessage: {
13529
- 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";
13904
+ 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";
13530
13905
  message: string;
13531
13906
  id: string;
13532
13907
  url: string;
@@ -13580,6 +13955,7 @@ export declare const platformWebchatContract: {
13580
13955
  };
13581
13956
  upload: {
13582
13957
  id: string;
13958
+ status: string | null;
13583
13959
  createdAt: Date;
13584
13960
  updatedAt: Date;
13585
13961
  deletedAt: Date | null;
@@ -13588,7 +13964,6 @@ export declare const platformWebchatContract: {
13588
13964
  bucketName: string;
13589
13965
  fileSize: number;
13590
13966
  fileUrl: string | null;
13591
- status?: string | undefined;
13592
13967
  };
13593
13968
  assignee: {
13594
13969
  name: string;
@@ -13738,7 +14113,7 @@ export declare const platformWebchatContract: {
13738
14113
  label?: string | undefined;
13739
14114
  } | null | undefined;
13740
14115
  }, {
13741
- 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";
14116
+ 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";
13742
14117
  message: string;
13743
14118
  id: string;
13744
14119
  url: string;
@@ -13792,6 +14167,7 @@ export declare const platformWebchatContract: {
13792
14167
  };
13793
14168
  upload: {
13794
14169
  id: string;
14170
+ status: string | null;
13795
14171
  createdAt: Date;
13796
14172
  updatedAt: Date;
13797
14173
  deletedAt: Date | null;
@@ -13800,7 +14176,6 @@ export declare const platformWebchatContract: {
13800
14176
  bucketName: string;
13801
14177
  fileSize: number;
13802
14178
  fileUrl: string | null;
13803
- status?: string | undefined;
13804
14179
  };
13805
14180
  assignee: {
13806
14181
  name: string;
@@ -13861,16 +14236,15 @@ export declare const platformWebchatContract: {
13861
14236
  additionalCredentials?: any;
13862
14237
  senderId?: string | undefined;
13863
14238
  whatsapp?: {
13864
- wabaBusinessId?: string | null | undefined;
13865
- wabaExternalId?: string | null | undefined;
13866
- phoneNumberId?: string | null | undefined;
13867
- email?: string | null | undefined;
13868
- clientId?: string | null | undefined;
13869
- channelId?: string | null | undefined;
14239
+ email: string;
14240
+ wabaExternalId: string;
14241
+ phoneNumberId: string;
14242
+ wabaBusinessId?: string | undefined;
14243
+ clientId?: string | undefined;
14244
+ channelId?: string | undefined;
13870
14245
  status?: "active" | "pending" | undefined;
13871
14246
  apiKey?: string | undefined;
13872
14247
  tier?: "basic" | "regular" | "premium" | undefined;
13873
- integrationType?: "meta" | "360dialog" | undefined;
13874
14248
  } | undefined;
13875
14249
  vonageCredentials?: {
13876
14250
  apiKey: string;
@@ -14041,6 +14415,7 @@ export declare const platformWebchatContract: {
14041
14415
  dateValue: Date | null;
14042
14416
  uploads: {
14043
14417
  id: string;
14418
+ status: string | null;
14044
14419
  createdAt: Date;
14045
14420
  updatedAt: Date;
14046
14421
  deletedAt: Date | null;
@@ -14049,7 +14424,6 @@ export declare const platformWebchatContract: {
14049
14424
  bucketName: string;
14050
14425
  fileSize: number;
14051
14426
  fileUrl: string | null;
14052
- status?: string | undefined;
14053
14427
  }[];
14054
14428
  }[];
14055
14429
  company: {
@@ -14184,8 +14558,12 @@ export declare const platformWebchatContract: {
14184
14558
  entityName: string;
14185
14559
  agentId: string | null;
14186
14560
  startedDate: Date | null;
14561
+ totalHoldDuration: number | null;
14187
14562
  handledTime: number | null;
14563
+ fullHandledTime: number | null;
14188
14564
  firstResponseTime: number | null;
14565
+ resolutionTime: number | null;
14566
+ fullResolutionTime: number | null;
14189
14567
  wrapUpForm: {
14190
14568
  type: string;
14191
14569
  id: string;
@@ -14238,6 +14616,24 @@ export declare const platformWebchatContract: {
14238
14616
  dateValue: Date | null;
14239
14617
  }[] | null | undefined;
14240
14618
  } | null;
14619
+ holdLogs?: {
14620
+ id: string;
14621
+ createdAt: Date;
14622
+ updatedAt: Date;
14623
+ deletedAt: Date | null;
14624
+ startedAt: string;
14625
+ endedAt: string | null;
14626
+ duration: number | null;
14627
+ holdLabel?: {
14628
+ name: string;
14629
+ id: string;
14630
+ position: number;
14631
+ createdAt: Date;
14632
+ updatedAt: Date;
14633
+ deletedAt: Date | null;
14634
+ isDefault?: boolean | undefined;
14635
+ } | null | undefined;
14636
+ }[] | null | undefined;
14241
14637
  };
14242
14638
  workflowRule: {
14243
14639
  name: string;
@@ -14266,7 +14662,7 @@ export declare const platformWebchatContract: {
14266
14662
  previewUrl: string;
14267
14663
  imageSetId: string;
14268
14664
  repliedMessage: {
14269
- 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";
14665
+ 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";
14270
14666
  message: string;
14271
14667
  id: string;
14272
14668
  url: string;
@@ -14320,6 +14716,7 @@ export declare const platformWebchatContract: {
14320
14716
  };
14321
14717
  upload: {
14322
14718
  id: string;
14719
+ status: string | null;
14323
14720
  createdAt: Date;
14324
14721
  updatedAt: Date;
14325
14722
  deletedAt: Date | null;
@@ -14328,7 +14725,6 @@ export declare const platformWebchatContract: {
14328
14725
  bucketName: string;
14329
14726
  fileSize: number;
14330
14727
  fileUrl: string | null;
14331
- status?: string | undefined;
14332
14728
  };
14333
14729
  assignee: {
14334
14730
  name: string;
@@ -14477,7 +14873,7 @@ export declare const platformWebchatContract: {
14477
14873
  template?: any;
14478
14874
  metadata?: any;
14479
14875
  fromMessage?: {
14480
- 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";
14876
+ 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";
14481
14877
  message: string;
14482
14878
  id: string;
14483
14879
  url: string;
@@ -14531,6 +14927,7 @@ export declare const platformWebchatContract: {
14531
14927
  };
14532
14928
  upload: {
14533
14929
  id: string;
14930
+ status: string | null;
14534
14931
  createdAt: Date;
14535
14932
  updatedAt: Date;
14536
14933
  deletedAt: Date | null;
@@ -14539,7 +14936,6 @@ export declare const platformWebchatContract: {
14539
14936
  bucketName: string;
14540
14937
  fileSize: number;
14541
14938
  fileUrl: string | null;
14542
- status?: string | undefined;
14543
14939
  };
14544
14940
  assignee: {
14545
14941
  name: string;
@@ -14600,16 +14996,15 @@ export declare const platformWebchatContract: {
14600
14996
  additionalCredentials?: any;
14601
14997
  senderId?: string | undefined;
14602
14998
  whatsapp?: {
14603
- wabaBusinessId?: string | null | undefined;
14604
- wabaExternalId?: string | null | undefined;
14605
- phoneNumberId?: string | null | undefined;
14606
- email?: string | null | undefined;
14607
- clientId?: string | null | undefined;
14608
- channelId?: string | null | undefined;
14999
+ email: string;
15000
+ wabaExternalId: string;
15001
+ phoneNumberId: string;
15002
+ wabaBusinessId?: string | undefined;
15003
+ clientId?: string | undefined;
15004
+ channelId?: string | undefined;
14609
15005
  status?: "active" | "pending" | undefined;
14610
15006
  apiKey?: string | undefined;
14611
15007
  tier?: "basic" | "regular" | "premium" | undefined;
14612
- integrationType?: "meta" | "360dialog" | undefined;
14613
15008
  } | undefined;
14614
15009
  vonageCredentials?: {
14615
15010
  apiKey: string;
@@ -14780,6 +15175,7 @@ export declare const platformWebchatContract: {
14780
15175
  dateValue: Date | null;
14781
15176
  uploads: {
14782
15177
  id: string;
15178
+ status: string | null;
14783
15179
  createdAt: Date;
14784
15180
  updatedAt: Date;
14785
15181
  deletedAt: Date | null;
@@ -14788,7 +15184,6 @@ export declare const platformWebchatContract: {
14788
15184
  bucketName: string;
14789
15185
  fileSize: number;
14790
15186
  fileUrl: string | null;
14791
- status?: string | undefined;
14792
15187
  }[];
14793
15188
  }[];
14794
15189
  company: {
@@ -14923,8 +15318,12 @@ export declare const platformWebchatContract: {
14923
15318
  entityName: string;
14924
15319
  agentId: string | null;
14925
15320
  startedDate: Date | null;
15321
+ totalHoldDuration: number | null;
14926
15322
  handledTime: number | null;
15323
+ fullHandledTime: number | null;
14927
15324
  firstResponseTime: number | null;
15325
+ resolutionTime: number | null;
15326
+ fullResolutionTime: number | null;
14928
15327
  wrapUpForm: {
14929
15328
  type: string;
14930
15329
  id: string;
@@ -14977,6 +15376,24 @@ export declare const platformWebchatContract: {
14977
15376
  dateValue: Date | null;
14978
15377
  }[] | null | undefined;
14979
15378
  } | null;
15379
+ holdLogs?: {
15380
+ id: string;
15381
+ createdAt: Date;
15382
+ updatedAt: Date;
15383
+ deletedAt: Date | null;
15384
+ startedAt: string;
15385
+ endedAt: string | null;
15386
+ duration: number | null;
15387
+ holdLabel?: {
15388
+ name: string;
15389
+ id: string;
15390
+ position: number;
15391
+ createdAt: Date;
15392
+ updatedAt: Date;
15393
+ deletedAt: Date | null;
15394
+ isDefault?: boolean | undefined;
15395
+ } | null | undefined;
15396
+ }[] | null | undefined;
14980
15397
  };
14981
15398
  workflowRule: {
14982
15399
  name: string;
@@ -15005,7 +15422,7 @@ export declare const platformWebchatContract: {
15005
15422
  previewUrl: string;
15006
15423
  imageSetId: string;
15007
15424
  repliedMessage: {
15008
- 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";
15425
+ 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";
15009
15426
  message: string;
15010
15427
  id: string;
15011
15428
  url: string;
@@ -15059,6 +15476,7 @@ export declare const platformWebchatContract: {
15059
15476
  };
15060
15477
  upload: {
15061
15478
  id: string;
15479
+ status: string | null;
15062
15480
  createdAt: Date;
15063
15481
  updatedAt: Date;
15064
15482
  deletedAt: Date | null;
@@ -15067,7 +15485,6 @@ export declare const platformWebchatContract: {
15067
15485
  bucketName: string;
15068
15486
  fileSize: number;
15069
15487
  fileUrl: string | null;
15070
- status?: string | undefined;
15071
15488
  };
15072
15489
  assignee: {
15073
15490
  name: string;
@@ -15219,7 +15636,7 @@ export declare const platformWebchatContract: {
15219
15636
  }>;
15220
15637
  }, "strip", z.ZodTypeAny, {
15221
15638
  data: {
15222
- 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";
15639
+ 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";
15223
15640
  message: string;
15224
15641
  id: string;
15225
15642
  url: string;
@@ -15273,6 +15690,7 @@ export declare const platformWebchatContract: {
15273
15690
  };
15274
15691
  upload: {
15275
15692
  id: string;
15693
+ status: string | null;
15276
15694
  createdAt: Date;
15277
15695
  updatedAt: Date;
15278
15696
  deletedAt: Date | null;
@@ -15281,7 +15699,6 @@ export declare const platformWebchatContract: {
15281
15699
  bucketName: string;
15282
15700
  fileSize: number;
15283
15701
  fileUrl: string | null;
15284
- status?: string | undefined;
15285
15702
  };
15286
15703
  assignee: {
15287
15704
  name: string;
@@ -15342,16 +15759,15 @@ export declare const platformWebchatContract: {
15342
15759
  additionalCredentials?: any;
15343
15760
  senderId?: string | undefined;
15344
15761
  whatsapp?: {
15345
- wabaBusinessId?: string | null | undefined;
15346
- wabaExternalId?: string | null | undefined;
15347
- phoneNumberId?: string | null | undefined;
15348
- email?: string | null | undefined;
15349
- clientId?: string | null | undefined;
15350
- channelId?: string | null | undefined;
15762
+ email: string;
15763
+ wabaExternalId: string;
15764
+ phoneNumberId: string;
15765
+ wabaBusinessId?: string | undefined;
15766
+ clientId?: string | undefined;
15767
+ channelId?: string | undefined;
15351
15768
  status?: "active" | "pending" | undefined;
15352
15769
  apiKey?: string | undefined;
15353
15770
  tier?: "basic" | "regular" | "premium" | undefined;
15354
- integrationType?: "meta" | "360dialog" | undefined;
15355
15771
  } | undefined;
15356
15772
  vonageCredentials?: {
15357
15773
  apiKey: string;
@@ -15522,6 +15938,7 @@ export declare const platformWebchatContract: {
15522
15938
  dateValue: Date | null;
15523
15939
  uploads: {
15524
15940
  id: string;
15941
+ status: string | null;
15525
15942
  createdAt: Date;
15526
15943
  updatedAt: Date;
15527
15944
  deletedAt: Date | null;
@@ -15530,7 +15947,6 @@ export declare const platformWebchatContract: {
15530
15947
  bucketName: string;
15531
15948
  fileSize: number;
15532
15949
  fileUrl: string | null;
15533
- status?: string | undefined;
15534
15950
  }[];
15535
15951
  }[];
15536
15952
  company: {
@@ -15665,8 +16081,12 @@ export declare const platformWebchatContract: {
15665
16081
  entityName: string;
15666
16082
  agentId: string | null;
15667
16083
  startedDate: Date | null;
16084
+ totalHoldDuration: number | null;
15668
16085
  handledTime: number | null;
16086
+ fullHandledTime: number | null;
15669
16087
  firstResponseTime: number | null;
16088
+ resolutionTime: number | null;
16089
+ fullResolutionTime: number | null;
15670
16090
  wrapUpForm: {
15671
16091
  type: string;
15672
16092
  id: string;
@@ -15719,6 +16139,24 @@ export declare const platformWebchatContract: {
15719
16139
  dateValue: Date | null;
15720
16140
  }[] | null | undefined;
15721
16141
  } | null;
16142
+ holdLogs?: {
16143
+ id: string;
16144
+ createdAt: Date;
16145
+ updatedAt: Date;
16146
+ deletedAt: Date | null;
16147
+ startedAt: string;
16148
+ endedAt: string | null;
16149
+ duration: number | null;
16150
+ holdLabel?: {
16151
+ name: string;
16152
+ id: string;
16153
+ position: number;
16154
+ createdAt: Date;
16155
+ updatedAt: Date;
16156
+ deletedAt: Date | null;
16157
+ isDefault: boolean;
16158
+ } | null | undefined;
16159
+ }[] | null | undefined;
15722
16160
  };
15723
16161
  workflowRule: {
15724
16162
  name: string;
@@ -15747,7 +16185,7 @@ export declare const platformWebchatContract: {
15747
16185
  previewUrl: string;
15748
16186
  imageSetId: string;
15749
16187
  repliedMessage: {
15750
- 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";
16188
+ 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";
15751
16189
  message: string;
15752
16190
  id: string;
15753
16191
  url: string;
@@ -15801,6 +16239,7 @@ export declare const platformWebchatContract: {
15801
16239
  };
15802
16240
  upload: {
15803
16241
  id: string;
16242
+ status: string | null;
15804
16243
  createdAt: Date;
15805
16244
  updatedAt: Date;
15806
16245
  deletedAt: Date | null;
@@ -15809,7 +16248,6 @@ export declare const platformWebchatContract: {
15809
16248
  bucketName: string;
15810
16249
  fileSize: number;
15811
16250
  fileUrl: string | null;
15812
- status?: string | undefined;
15813
16251
  };
15814
16252
  assignee: {
15815
16253
  name: string;
@@ -15958,7 +16396,7 @@ export declare const platformWebchatContract: {
15958
16396
  template?: any;
15959
16397
  metadata?: any;
15960
16398
  fromMessage?: {
15961
- 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";
16399
+ 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";
15962
16400
  message: string;
15963
16401
  id: string;
15964
16402
  url: string;
@@ -16012,6 +16450,7 @@ export declare const platformWebchatContract: {
16012
16450
  };
16013
16451
  upload: {
16014
16452
  id: string;
16453
+ status: string | null;
16015
16454
  createdAt: Date;
16016
16455
  updatedAt: Date;
16017
16456
  deletedAt: Date | null;
@@ -16020,7 +16459,6 @@ export declare const platformWebchatContract: {
16020
16459
  bucketName: string;
16021
16460
  fileSize: number;
16022
16461
  fileUrl: string | null;
16023
- status?: string | undefined;
16024
16462
  };
16025
16463
  assignee: {
16026
16464
  name: string;
@@ -16081,16 +16519,15 @@ export declare const platformWebchatContract: {
16081
16519
  additionalCredentials?: any;
16082
16520
  senderId?: string | undefined;
16083
16521
  whatsapp?: {
16084
- wabaBusinessId?: string | null | undefined;
16085
- wabaExternalId?: string | null | undefined;
16086
- phoneNumberId?: string | null | undefined;
16087
- email?: string | null | undefined;
16088
- clientId?: string | null | undefined;
16089
- channelId?: string | null | undefined;
16522
+ email: string;
16523
+ wabaExternalId: string;
16524
+ phoneNumberId: string;
16525
+ wabaBusinessId?: string | undefined;
16526
+ clientId?: string | undefined;
16527
+ channelId?: string | undefined;
16090
16528
  status?: "active" | "pending" | undefined;
16091
16529
  apiKey?: string | undefined;
16092
16530
  tier?: "basic" | "regular" | "premium" | undefined;
16093
- integrationType?: "meta" | "360dialog" | undefined;
16094
16531
  } | undefined;
16095
16532
  vonageCredentials?: {
16096
16533
  apiKey: string;
@@ -16261,6 +16698,7 @@ export declare const platformWebchatContract: {
16261
16698
  dateValue: Date | null;
16262
16699
  uploads: {
16263
16700
  id: string;
16701
+ status: string | null;
16264
16702
  createdAt: Date;
16265
16703
  updatedAt: Date;
16266
16704
  deletedAt: Date | null;
@@ -16269,7 +16707,6 @@ export declare const platformWebchatContract: {
16269
16707
  bucketName: string;
16270
16708
  fileSize: number;
16271
16709
  fileUrl: string | null;
16272
- status?: string | undefined;
16273
16710
  }[];
16274
16711
  }[];
16275
16712
  company: {
@@ -16404,8 +16841,12 @@ export declare const platformWebchatContract: {
16404
16841
  entityName: string;
16405
16842
  agentId: string | null;
16406
16843
  startedDate: Date | null;
16844
+ totalHoldDuration: number | null;
16407
16845
  handledTime: number | null;
16846
+ fullHandledTime: number | null;
16408
16847
  firstResponseTime: number | null;
16848
+ resolutionTime: number | null;
16849
+ fullResolutionTime: number | null;
16409
16850
  wrapUpForm: {
16410
16851
  type: string;
16411
16852
  id: string;
@@ -16458,6 +16899,24 @@ export declare const platformWebchatContract: {
16458
16899
  dateValue: Date | null;
16459
16900
  }[] | null | undefined;
16460
16901
  } | null;
16902
+ holdLogs?: {
16903
+ id: string;
16904
+ createdAt: Date;
16905
+ updatedAt: Date;
16906
+ deletedAt: Date | null;
16907
+ startedAt: string;
16908
+ endedAt: string | null;
16909
+ duration: number | null;
16910
+ holdLabel?: {
16911
+ name: string;
16912
+ id: string;
16913
+ position: number;
16914
+ createdAt: Date;
16915
+ updatedAt: Date;
16916
+ deletedAt: Date | null;
16917
+ isDefault: boolean;
16918
+ } | null | undefined;
16919
+ }[] | null | undefined;
16461
16920
  };
16462
16921
  workflowRule: {
16463
16922
  name: string;
@@ -16486,7 +16945,7 @@ export declare const platformWebchatContract: {
16486
16945
  previewUrl: string;
16487
16946
  imageSetId: string;
16488
16947
  repliedMessage: {
16489
- 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";
16948
+ 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";
16490
16949
  message: string;
16491
16950
  id: string;
16492
16951
  url: string;
@@ -16540,6 +16999,7 @@ export declare const platformWebchatContract: {
16540
16999
  };
16541
17000
  upload: {
16542
17001
  id: string;
17002
+ status: string | null;
16543
17003
  createdAt: Date;
16544
17004
  updatedAt: Date;
16545
17005
  deletedAt: Date | null;
@@ -16548,7 +17008,6 @@ export declare const platformWebchatContract: {
16548
17008
  bucketName: string;
16549
17009
  fileSize: number;
16550
17010
  fileUrl: string | null;
16551
- status?: string | undefined;
16552
17011
  };
16553
17012
  assignee: {
16554
17013
  name: string;
@@ -16701,7 +17160,7 @@ export declare const platformWebchatContract: {
16701
17160
  requestId: string;
16702
17161
  }, {
16703
17162
  data: {
16704
- 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";
17163
+ 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";
16705
17164
  message: string;
16706
17165
  id: string;
16707
17166
  url: string;
@@ -16755,6 +17214,7 @@ export declare const platformWebchatContract: {
16755
17214
  };
16756
17215
  upload: {
16757
17216
  id: string;
17217
+ status: string | null;
16758
17218
  createdAt: Date;
16759
17219
  updatedAt: Date;
16760
17220
  deletedAt: Date | null;
@@ -16763,7 +17223,6 @@ export declare const platformWebchatContract: {
16763
17223
  bucketName: string;
16764
17224
  fileSize: number;
16765
17225
  fileUrl: string | null;
16766
- status?: string | undefined;
16767
17226
  };
16768
17227
  assignee: {
16769
17228
  name: string;
@@ -16824,16 +17283,15 @@ export declare const platformWebchatContract: {
16824
17283
  additionalCredentials?: any;
16825
17284
  senderId?: string | undefined;
16826
17285
  whatsapp?: {
16827
- wabaBusinessId?: string | null | undefined;
16828
- wabaExternalId?: string | null | undefined;
16829
- phoneNumberId?: string | null | undefined;
16830
- email?: string | null | undefined;
16831
- clientId?: string | null | undefined;
16832
- channelId?: string | null | undefined;
17286
+ email: string;
17287
+ wabaExternalId: string;
17288
+ phoneNumberId: string;
17289
+ wabaBusinessId?: string | undefined;
17290
+ clientId?: string | undefined;
17291
+ channelId?: string | undefined;
16833
17292
  status?: "active" | "pending" | undefined;
16834
17293
  apiKey?: string | undefined;
16835
17294
  tier?: "basic" | "regular" | "premium" | undefined;
16836
- integrationType?: "meta" | "360dialog" | undefined;
16837
17295
  } | undefined;
16838
17296
  vonageCredentials?: {
16839
17297
  apiKey: string;
@@ -17004,6 +17462,7 @@ export declare const platformWebchatContract: {
17004
17462
  dateValue: Date | null;
17005
17463
  uploads: {
17006
17464
  id: string;
17465
+ status: string | null;
17007
17466
  createdAt: Date;
17008
17467
  updatedAt: Date;
17009
17468
  deletedAt: Date | null;
@@ -17012,7 +17471,6 @@ export declare const platformWebchatContract: {
17012
17471
  bucketName: string;
17013
17472
  fileSize: number;
17014
17473
  fileUrl: string | null;
17015
- status?: string | undefined;
17016
17474
  }[];
17017
17475
  }[];
17018
17476
  company: {
@@ -17147,8 +17605,12 @@ export declare const platformWebchatContract: {
17147
17605
  entityName: string;
17148
17606
  agentId: string | null;
17149
17607
  startedDate: Date | null;
17608
+ totalHoldDuration: number | null;
17150
17609
  handledTime: number | null;
17610
+ fullHandledTime: number | null;
17151
17611
  firstResponseTime: number | null;
17612
+ resolutionTime: number | null;
17613
+ fullResolutionTime: number | null;
17152
17614
  wrapUpForm: {
17153
17615
  type: string;
17154
17616
  id: string;
@@ -17201,6 +17663,24 @@ export declare const platformWebchatContract: {
17201
17663
  dateValue: Date | null;
17202
17664
  }[] | null | undefined;
17203
17665
  } | null;
17666
+ holdLogs?: {
17667
+ id: string;
17668
+ createdAt: Date;
17669
+ updatedAt: Date;
17670
+ deletedAt: Date | null;
17671
+ startedAt: string;
17672
+ endedAt: string | null;
17673
+ duration: number | null;
17674
+ holdLabel?: {
17675
+ name: string;
17676
+ id: string;
17677
+ position: number;
17678
+ createdAt: Date;
17679
+ updatedAt: Date;
17680
+ deletedAt: Date | null;
17681
+ isDefault?: boolean | undefined;
17682
+ } | null | undefined;
17683
+ }[] | null | undefined;
17204
17684
  };
17205
17685
  workflowRule: {
17206
17686
  name: string;
@@ -17229,7 +17709,7 @@ export declare const platformWebchatContract: {
17229
17709
  previewUrl: string;
17230
17710
  imageSetId: string;
17231
17711
  repliedMessage: {
17232
- 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";
17712
+ 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";
17233
17713
  message: string;
17234
17714
  id: string;
17235
17715
  url: string;
@@ -17283,6 +17763,7 @@ export declare const platformWebchatContract: {
17283
17763
  };
17284
17764
  upload: {
17285
17765
  id: string;
17766
+ status: string | null;
17286
17767
  createdAt: Date;
17287
17768
  updatedAt: Date;
17288
17769
  deletedAt: Date | null;
@@ -17291,7 +17772,6 @@ export declare const platformWebchatContract: {
17291
17772
  bucketName: string;
17292
17773
  fileSize: number;
17293
17774
  fileUrl: string | null;
17294
- status?: string | undefined;
17295
17775
  };
17296
17776
  assignee: {
17297
17777
  name: string;
@@ -17440,7 +17920,7 @@ export declare const platformWebchatContract: {
17440
17920
  template?: any;
17441
17921
  metadata?: any;
17442
17922
  fromMessage?: {
17443
- 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";
17923
+ 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";
17444
17924
  message: string;
17445
17925
  id: string;
17446
17926
  url: string;
@@ -17494,6 +17974,7 @@ export declare const platformWebchatContract: {
17494
17974
  };
17495
17975
  upload: {
17496
17976
  id: string;
17977
+ status: string | null;
17497
17978
  createdAt: Date;
17498
17979
  updatedAt: Date;
17499
17980
  deletedAt: Date | null;
@@ -17502,7 +17983,6 @@ export declare const platformWebchatContract: {
17502
17983
  bucketName: string;
17503
17984
  fileSize: number;
17504
17985
  fileUrl: string | null;
17505
- status?: string | undefined;
17506
17986
  };
17507
17987
  assignee: {
17508
17988
  name: string;
@@ -17563,16 +18043,15 @@ export declare const platformWebchatContract: {
17563
18043
  additionalCredentials?: any;
17564
18044
  senderId?: string | undefined;
17565
18045
  whatsapp?: {
17566
- wabaBusinessId?: string | null | undefined;
17567
- wabaExternalId?: string | null | undefined;
17568
- phoneNumberId?: string | null | undefined;
17569
- email?: string | null | undefined;
17570
- clientId?: string | null | undefined;
17571
- channelId?: string | null | undefined;
18046
+ email: string;
18047
+ wabaExternalId: string;
18048
+ phoneNumberId: string;
18049
+ wabaBusinessId?: string | undefined;
18050
+ clientId?: string | undefined;
18051
+ channelId?: string | undefined;
17572
18052
  status?: "active" | "pending" | undefined;
17573
18053
  apiKey?: string | undefined;
17574
18054
  tier?: "basic" | "regular" | "premium" | undefined;
17575
- integrationType?: "meta" | "360dialog" | undefined;
17576
18055
  } | undefined;
17577
18056
  vonageCredentials?: {
17578
18057
  apiKey: string;
@@ -17743,6 +18222,7 @@ export declare const platformWebchatContract: {
17743
18222
  dateValue: Date | null;
17744
18223
  uploads: {
17745
18224
  id: string;
18225
+ status: string | null;
17746
18226
  createdAt: Date;
17747
18227
  updatedAt: Date;
17748
18228
  deletedAt: Date | null;
@@ -17751,7 +18231,6 @@ export declare const platformWebchatContract: {
17751
18231
  bucketName: string;
17752
18232
  fileSize: number;
17753
18233
  fileUrl: string | null;
17754
- status?: string | undefined;
17755
18234
  }[];
17756
18235
  }[];
17757
18236
  company: {
@@ -17886,8 +18365,12 @@ export declare const platformWebchatContract: {
17886
18365
  entityName: string;
17887
18366
  agentId: string | null;
17888
18367
  startedDate: Date | null;
18368
+ totalHoldDuration: number | null;
17889
18369
  handledTime: number | null;
18370
+ fullHandledTime: number | null;
17890
18371
  firstResponseTime: number | null;
18372
+ resolutionTime: number | null;
18373
+ fullResolutionTime: number | null;
17891
18374
  wrapUpForm: {
17892
18375
  type: string;
17893
18376
  id: string;
@@ -17940,6 +18423,24 @@ export declare const platformWebchatContract: {
17940
18423
  dateValue: Date | null;
17941
18424
  }[] | null | undefined;
17942
18425
  } | null;
18426
+ holdLogs?: {
18427
+ id: string;
18428
+ createdAt: Date;
18429
+ updatedAt: Date;
18430
+ deletedAt: Date | null;
18431
+ startedAt: string;
18432
+ endedAt: string | null;
18433
+ duration: number | null;
18434
+ holdLabel?: {
18435
+ name: string;
18436
+ id: string;
18437
+ position: number;
18438
+ createdAt: Date;
18439
+ updatedAt: Date;
18440
+ deletedAt: Date | null;
18441
+ isDefault?: boolean | undefined;
18442
+ } | null | undefined;
18443
+ }[] | null | undefined;
17943
18444
  };
17944
18445
  workflowRule: {
17945
18446
  name: string;
@@ -17968,7 +18469,7 @@ export declare const platformWebchatContract: {
17968
18469
  previewUrl: string;
17969
18470
  imageSetId: string;
17970
18471
  repliedMessage: {
17971
- 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";
18472
+ 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";
17972
18473
  message: string;
17973
18474
  id: string;
17974
18475
  url: string;
@@ -18022,6 +18523,7 @@ export declare const platformWebchatContract: {
18022
18523
  };
18023
18524
  upload: {
18024
18525
  id: string;
18526
+ status: string | null;
18025
18527
  createdAt: Date;
18026
18528
  updatedAt: Date;
18027
18529
  deletedAt: Date | null;
@@ -18030,7 +18532,6 @@ export declare const platformWebchatContract: {
18030
18532
  bucketName: string;
18031
18533
  fileSize: number;
18032
18534
  fileUrl: string | null;
18033
- status?: string | undefined;
18034
18535
  };
18035
18536
  assignee: {
18036
18537
  name: string;
@@ -18319,38 +18820,35 @@ export declare const platformWebchatContract: {
18319
18820
  additionalCredentials: z.ZodOptional<z.ZodAny>;
18320
18821
  senderId: z.ZodOptional<z.ZodString>;
18321
18822
  whatsapp: z.ZodOptional<z.ZodObject<{
18322
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18323
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18324
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18325
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18326
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18327
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18823
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
18824
+ wabaExternalId: z.ZodString;
18825
+ phoneNumberId: z.ZodString;
18826
+ email: z.ZodString;
18827
+ clientId: z.ZodOptional<z.ZodString>;
18828
+ channelId: z.ZodOptional<z.ZodString>;
18328
18829
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18329
18830
  apiKey: z.ZodOptional<z.ZodString>;
18330
18831
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18331
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
18332
18832
  }, "strip", z.ZodTypeAny, {
18333
- wabaBusinessId?: string | null | undefined;
18334
- wabaExternalId?: string | null | undefined;
18335
- phoneNumberId?: string | null | undefined;
18336
- email?: string | null | undefined;
18337
- clientId?: string | null | undefined;
18338
- channelId?: string | null | undefined;
18833
+ email: string;
18834
+ wabaExternalId: string;
18835
+ phoneNumberId: string;
18836
+ wabaBusinessId?: string | undefined;
18837
+ clientId?: string | undefined;
18838
+ channelId?: string | undefined;
18339
18839
  status?: "active" | "pending" | undefined;
18340
18840
  apiKey?: string | undefined;
18341
18841
  tier?: "basic" | "regular" | "premium" | undefined;
18342
- integrationType?: "meta" | "360dialog" | undefined;
18343
18842
  }, {
18344
- wabaBusinessId?: string | null | undefined;
18345
- wabaExternalId?: string | null | undefined;
18346
- phoneNumberId?: string | null | undefined;
18347
- email?: string | null | undefined;
18348
- clientId?: string | null | undefined;
18349
- channelId?: string | null | undefined;
18843
+ email: string;
18844
+ wabaExternalId: string;
18845
+ phoneNumberId: string;
18846
+ wabaBusinessId?: string | undefined;
18847
+ clientId?: string | undefined;
18848
+ channelId?: string | undefined;
18350
18849
  status?: "active" | "pending" | undefined;
18351
18850
  apiKey?: string | undefined;
18352
18851
  tier?: "basic" | "regular" | "premium" | undefined;
18353
- integrationType?: "meta" | "360dialog" | undefined;
18354
18852
  }>>;
18355
18853
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18356
18854
  mobileNumber: z.ZodString;
@@ -18375,16 +18873,15 @@ export declare const platformWebchatContract: {
18375
18873
  additionalCredentials?: any;
18376
18874
  senderId?: string | undefined;
18377
18875
  whatsapp?: {
18378
- wabaBusinessId?: string | null | undefined;
18379
- wabaExternalId?: string | null | undefined;
18380
- phoneNumberId?: string | null | undefined;
18381
- email?: string | null | undefined;
18382
- clientId?: string | null | undefined;
18383
- channelId?: string | null | undefined;
18876
+ email: string;
18877
+ wabaExternalId: string;
18878
+ phoneNumberId: string;
18879
+ wabaBusinessId?: string | undefined;
18880
+ clientId?: string | undefined;
18881
+ channelId?: string | undefined;
18384
18882
  status?: "active" | "pending" | undefined;
18385
18883
  apiKey?: string | undefined;
18386
18884
  tier?: "basic" | "regular" | "premium" | undefined;
18387
- integrationType?: "meta" | "360dialog" | undefined;
18388
18885
  } | undefined;
18389
18886
  vonageCredentials?: {
18390
18887
  apiKey: string;
@@ -18401,16 +18898,15 @@ export declare const platformWebchatContract: {
18401
18898
  additionalCredentials?: any;
18402
18899
  senderId?: string | undefined;
18403
18900
  whatsapp?: {
18404
- wabaBusinessId?: string | null | undefined;
18405
- wabaExternalId?: string | null | undefined;
18406
- phoneNumberId?: string | null | undefined;
18407
- email?: string | null | undefined;
18408
- clientId?: string | null | undefined;
18409
- channelId?: string | null | undefined;
18901
+ email: string;
18902
+ wabaExternalId: string;
18903
+ phoneNumberId: string;
18904
+ wabaBusinessId?: string | undefined;
18905
+ clientId?: string | undefined;
18906
+ channelId?: string | undefined;
18410
18907
  status?: "active" | "pending" | undefined;
18411
18908
  apiKey?: string | undefined;
18412
18909
  tier?: "basic" | "regular" | "premium" | undefined;
18413
- integrationType?: "meta" | "360dialog" | undefined;
18414
18910
  } | undefined;
18415
18911
  vonageCredentials?: {
18416
18912
  apiKey: string;
@@ -18661,16 +19157,15 @@ export declare const platformWebchatContract: {
18661
19157
  additionalCredentials?: any;
18662
19158
  senderId?: string | undefined;
18663
19159
  whatsapp?: {
18664
- wabaBusinessId?: string | null | undefined;
18665
- wabaExternalId?: string | null | undefined;
18666
- phoneNumberId?: string | null | undefined;
18667
- email?: string | null | undefined;
18668
- clientId?: string | null | undefined;
18669
- channelId?: string | null | undefined;
19160
+ email: string;
19161
+ wabaExternalId: string;
19162
+ phoneNumberId: string;
19163
+ wabaBusinessId?: string | undefined;
19164
+ clientId?: string | undefined;
19165
+ channelId?: string | undefined;
18670
19166
  status?: "active" | "pending" | undefined;
18671
19167
  apiKey?: string | undefined;
18672
19168
  tier?: "basic" | "regular" | "premium" | undefined;
18673
- integrationType?: "meta" | "360dialog" | undefined;
18674
19169
  } | undefined;
18675
19170
  vonageCredentials?: {
18676
19171
  apiKey: string;
@@ -18752,16 +19247,15 @@ export declare const platformWebchatContract: {
18752
19247
  additionalCredentials?: any;
18753
19248
  senderId?: string | undefined;
18754
19249
  whatsapp?: {
18755
- wabaBusinessId?: string | null | undefined;
18756
- wabaExternalId?: string | null | undefined;
18757
- phoneNumberId?: string | null | undefined;
18758
- email?: string | null | undefined;
18759
- clientId?: string | null | undefined;
18760
- channelId?: string | null | undefined;
19250
+ email: string;
19251
+ wabaExternalId: string;
19252
+ phoneNumberId: string;
19253
+ wabaBusinessId?: string | undefined;
19254
+ clientId?: string | undefined;
19255
+ channelId?: string | undefined;
18761
19256
  status?: "active" | "pending" | undefined;
18762
19257
  apiKey?: string | undefined;
18763
19258
  tier?: "basic" | "regular" | "premium" | undefined;
18764
- integrationType?: "meta" | "360dialog" | undefined;
18765
19259
  } | undefined;
18766
19260
  vonageCredentials?: {
18767
19261
  apiKey: string;
@@ -18845,16 +19339,15 @@ export declare const platformWebchatContract: {
18845
19339
  additionalCredentials?: any;
18846
19340
  senderId?: string | undefined;
18847
19341
  whatsapp?: {
18848
- wabaBusinessId?: string | null | undefined;
18849
- wabaExternalId?: string | null | undefined;
18850
- phoneNumberId?: string | null | undefined;
18851
- email?: string | null | undefined;
18852
- clientId?: string | null | undefined;
18853
- channelId?: string | null | undefined;
19342
+ email: string;
19343
+ wabaExternalId: string;
19344
+ phoneNumberId: string;
19345
+ wabaBusinessId?: string | undefined;
19346
+ clientId?: string | undefined;
19347
+ channelId?: string | undefined;
18854
19348
  status?: "active" | "pending" | undefined;
18855
19349
  apiKey?: string | undefined;
18856
19350
  tier?: "basic" | "regular" | "premium" | undefined;
18857
- integrationType?: "meta" | "360dialog" | undefined;
18858
19351
  } | undefined;
18859
19352
  vonageCredentials?: {
18860
19353
  apiKey: string;
@@ -18939,16 +19432,15 @@ export declare const platformWebchatContract: {
18939
19432
  additionalCredentials?: any;
18940
19433
  senderId?: string | undefined;
18941
19434
  whatsapp?: {
18942
- wabaBusinessId?: string | null | undefined;
18943
- wabaExternalId?: string | null | undefined;
18944
- phoneNumberId?: string | null | undefined;
18945
- email?: string | null | undefined;
18946
- clientId?: string | null | undefined;
18947
- channelId?: string | null | undefined;
19435
+ email: string;
19436
+ wabaExternalId: string;
19437
+ phoneNumberId: string;
19438
+ wabaBusinessId?: string | undefined;
19439
+ clientId?: string | undefined;
19440
+ channelId?: string | undefined;
18948
19441
  status?: "active" | "pending" | undefined;
18949
19442
  apiKey?: string | undefined;
18950
19443
  tier?: "basic" | "regular" | "premium" | undefined;
18951
- integrationType?: "meta" | "360dialog" | undefined;
18952
19444
  } | undefined;
18953
19445
  vonageCredentials?: {
18954
19446
  apiKey: string;
@@ -19068,38 +19560,35 @@ export declare const platformWebchatContract: {
19068
19560
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19069
19561
  senderId: z.ZodOptional<z.ZodString>;
19070
19562
  whatsapp: z.ZodOptional<z.ZodObject<{
19071
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19072
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19073
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19074
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19075
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19076
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19563
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19564
+ wabaExternalId: z.ZodString;
19565
+ phoneNumberId: z.ZodString;
19566
+ email: z.ZodString;
19567
+ clientId: z.ZodOptional<z.ZodString>;
19568
+ channelId: z.ZodOptional<z.ZodString>;
19077
19569
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19078
19570
  apiKey: z.ZodOptional<z.ZodString>;
19079
19571
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19080
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19081
19572
  }, "strip", z.ZodTypeAny, {
19082
- wabaBusinessId?: string | null | undefined;
19083
- wabaExternalId?: string | null | undefined;
19084
- phoneNumberId?: string | null | undefined;
19085
- email?: string | null | undefined;
19086
- clientId?: string | null | undefined;
19087
- channelId?: string | null | undefined;
19573
+ email: string;
19574
+ wabaExternalId: string;
19575
+ phoneNumberId: string;
19576
+ wabaBusinessId?: string | undefined;
19577
+ clientId?: string | undefined;
19578
+ channelId?: string | undefined;
19088
19579
  status?: "active" | "pending" | undefined;
19089
19580
  apiKey?: string | undefined;
19090
19581
  tier?: "basic" | "regular" | "premium" | undefined;
19091
- integrationType?: "meta" | "360dialog" | undefined;
19092
19582
  }, {
19093
- wabaBusinessId?: string | null | undefined;
19094
- wabaExternalId?: string | null | undefined;
19095
- phoneNumberId?: string | null | undefined;
19096
- email?: string | null | undefined;
19097
- clientId?: string | null | undefined;
19098
- channelId?: string | null | undefined;
19583
+ email: string;
19584
+ wabaExternalId: string;
19585
+ phoneNumberId: string;
19586
+ wabaBusinessId?: string | undefined;
19587
+ clientId?: string | undefined;
19588
+ channelId?: string | undefined;
19099
19589
  status?: "active" | "pending" | undefined;
19100
19590
  apiKey?: string | undefined;
19101
19591
  tier?: "basic" | "regular" | "premium" | undefined;
19102
- integrationType?: "meta" | "360dialog" | undefined;
19103
19592
  }>>;
19104
19593
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19105
19594
  mobileNumber: z.ZodString;
@@ -19124,16 +19613,15 @@ export declare const platformWebchatContract: {
19124
19613
  additionalCredentials?: any;
19125
19614
  senderId?: string | undefined;
19126
19615
  whatsapp?: {
19127
- wabaBusinessId?: string | null | undefined;
19128
- wabaExternalId?: string | null | undefined;
19129
- phoneNumberId?: string | null | undefined;
19130
- email?: string | null | undefined;
19131
- clientId?: string | null | undefined;
19132
- channelId?: string | null | undefined;
19616
+ email: string;
19617
+ wabaExternalId: string;
19618
+ phoneNumberId: string;
19619
+ wabaBusinessId?: string | undefined;
19620
+ clientId?: string | undefined;
19621
+ channelId?: string | undefined;
19133
19622
  status?: "active" | "pending" | undefined;
19134
19623
  apiKey?: string | undefined;
19135
19624
  tier?: "basic" | "regular" | "premium" | undefined;
19136
- integrationType?: "meta" | "360dialog" | undefined;
19137
19625
  } | undefined;
19138
19626
  vonageCredentials?: {
19139
19627
  apiKey: string;
@@ -19150,16 +19638,15 @@ export declare const platformWebchatContract: {
19150
19638
  additionalCredentials?: any;
19151
19639
  senderId?: string | undefined;
19152
19640
  whatsapp?: {
19153
- wabaBusinessId?: string | null | undefined;
19154
- wabaExternalId?: string | null | undefined;
19155
- phoneNumberId?: string | null | undefined;
19156
- email?: string | null | undefined;
19157
- clientId?: string | null | undefined;
19158
- channelId?: string | null | undefined;
19641
+ email: string;
19642
+ wabaExternalId: string;
19643
+ phoneNumberId: string;
19644
+ wabaBusinessId?: string | undefined;
19645
+ clientId?: string | undefined;
19646
+ channelId?: string | undefined;
19159
19647
  status?: "active" | "pending" | undefined;
19160
19648
  apiKey?: string | undefined;
19161
19649
  tier?: "basic" | "regular" | "premium" | undefined;
19162
- integrationType?: "meta" | "360dialog" | undefined;
19163
19650
  } | undefined;
19164
19651
  vonageCredentials?: {
19165
19652
  apiKey: string;
@@ -19206,16 +19693,15 @@ export declare const platformWebchatContract: {
19206
19693
  additionalCredentials?: any;
19207
19694
  senderId?: string | undefined;
19208
19695
  whatsapp?: {
19209
- wabaBusinessId?: string | null | undefined;
19210
- wabaExternalId?: string | null | undefined;
19211
- phoneNumberId?: string | null | undefined;
19212
- email?: string | null | undefined;
19213
- clientId?: string | null | undefined;
19214
- channelId?: string | null | undefined;
19696
+ email: string;
19697
+ wabaExternalId: string;
19698
+ phoneNumberId: string;
19699
+ wabaBusinessId?: string | undefined;
19700
+ clientId?: string | undefined;
19701
+ channelId?: string | undefined;
19215
19702
  status?: "active" | "pending" | undefined;
19216
19703
  apiKey?: string | undefined;
19217
19704
  tier?: "basic" | "regular" | "premium" | undefined;
19218
- integrationType?: "meta" | "360dialog" | undefined;
19219
19705
  } | undefined;
19220
19706
  vonageCredentials?: {
19221
19707
  apiKey: string;
@@ -19250,16 +19736,15 @@ export declare const platformWebchatContract: {
19250
19736
  additionalCredentials?: any;
19251
19737
  senderId?: string | undefined;
19252
19738
  whatsapp?: {
19253
- wabaBusinessId?: string | null | undefined;
19254
- wabaExternalId?: string | null | undefined;
19255
- phoneNumberId?: string | null | undefined;
19256
- email?: string | null | undefined;
19257
- clientId?: string | null | undefined;
19258
- channelId?: string | null | undefined;
19739
+ email: string;
19740
+ wabaExternalId: string;
19741
+ phoneNumberId: string;
19742
+ wabaBusinessId?: string | undefined;
19743
+ clientId?: string | undefined;
19744
+ channelId?: string | undefined;
19259
19745
  status?: "active" | "pending" | undefined;
19260
19746
  apiKey?: string | undefined;
19261
19747
  tier?: "basic" | "regular" | "premium" | undefined;
19262
- integrationType?: "meta" | "360dialog" | undefined;
19263
19748
  } | undefined;
19264
19749
  vonageCredentials?: {
19265
19750
  apiKey: string;
@@ -19296,16 +19781,15 @@ export declare const platformWebchatContract: {
19296
19781
  additionalCredentials?: any;
19297
19782
  senderId?: string | undefined;
19298
19783
  whatsapp?: {
19299
- wabaBusinessId?: string | null | undefined;
19300
- wabaExternalId?: string | null | undefined;
19301
- phoneNumberId?: string | null | undefined;
19302
- email?: string | null | undefined;
19303
- clientId?: string | null | undefined;
19304
- channelId?: string | null | undefined;
19784
+ email: string;
19785
+ wabaExternalId: string;
19786
+ phoneNumberId: string;
19787
+ wabaBusinessId?: string | undefined;
19788
+ clientId?: string | undefined;
19789
+ channelId?: string | undefined;
19305
19790
  status?: "active" | "pending" | undefined;
19306
19791
  apiKey?: string | undefined;
19307
19792
  tier?: "basic" | "regular" | "premium" | undefined;
19308
- integrationType?: "meta" | "360dialog" | undefined;
19309
19793
  } | undefined;
19310
19794
  vonageCredentials?: {
19311
19795
  apiKey: string;
@@ -19343,16 +19827,15 @@ export declare const platformWebchatContract: {
19343
19827
  additionalCredentials?: any;
19344
19828
  senderId?: string | undefined;
19345
19829
  whatsapp?: {
19346
- wabaBusinessId?: string | null | undefined;
19347
- wabaExternalId?: string | null | undefined;
19348
- phoneNumberId?: string | null | undefined;
19349
- email?: string | null | undefined;
19350
- clientId?: string | null | undefined;
19351
- channelId?: string | null | undefined;
19830
+ email: string;
19831
+ wabaExternalId: string;
19832
+ phoneNumberId: string;
19833
+ wabaBusinessId?: string | undefined;
19834
+ clientId?: string | undefined;
19835
+ channelId?: string | undefined;
19352
19836
  status?: "active" | "pending" | undefined;
19353
19837
  apiKey?: string | undefined;
19354
19838
  tier?: "basic" | "regular" | "premium" | undefined;
19355
- integrationType?: "meta" | "360dialog" | undefined;
19356
19839
  } | undefined;
19357
19840
  vonageCredentials?: {
19358
19841
  apiKey: string;
@@ -19426,38 +19909,35 @@ export declare const platformWebchatContract: {
19426
19909
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19427
19910
  senderId: z.ZodOptional<z.ZodString>;
19428
19911
  whatsapp: z.ZodOptional<z.ZodObject<{
19429
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19430
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19431
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19432
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19433
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19434
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19912
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19913
+ wabaExternalId: z.ZodString;
19914
+ phoneNumberId: z.ZodString;
19915
+ email: z.ZodString;
19916
+ clientId: z.ZodOptional<z.ZodString>;
19917
+ channelId: z.ZodOptional<z.ZodString>;
19435
19918
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19436
19919
  apiKey: z.ZodOptional<z.ZodString>;
19437
19920
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19438
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19439
19921
  }, "strip", z.ZodTypeAny, {
19440
- wabaBusinessId?: string | null | undefined;
19441
- wabaExternalId?: string | null | undefined;
19442
- phoneNumberId?: string | null | undefined;
19443
- email?: string | null | undefined;
19444
- clientId?: string | null | undefined;
19445
- channelId?: string | null | undefined;
19922
+ email: string;
19923
+ wabaExternalId: string;
19924
+ phoneNumberId: string;
19925
+ wabaBusinessId?: string | undefined;
19926
+ clientId?: string | undefined;
19927
+ channelId?: string | undefined;
19446
19928
  status?: "active" | "pending" | undefined;
19447
19929
  apiKey?: string | undefined;
19448
19930
  tier?: "basic" | "regular" | "premium" | undefined;
19449
- integrationType?: "meta" | "360dialog" | undefined;
19450
19931
  }, {
19451
- wabaBusinessId?: string | null | undefined;
19452
- wabaExternalId?: string | null | undefined;
19453
- phoneNumberId?: string | null | undefined;
19454
- email?: string | null | undefined;
19455
- clientId?: string | null | undefined;
19456
- channelId?: string | null | undefined;
19932
+ email: string;
19933
+ wabaExternalId: string;
19934
+ phoneNumberId: string;
19935
+ wabaBusinessId?: string | undefined;
19936
+ clientId?: string | undefined;
19937
+ channelId?: string | undefined;
19457
19938
  status?: "active" | "pending" | undefined;
19458
19939
  apiKey?: string | undefined;
19459
19940
  tier?: "basic" | "regular" | "premium" | undefined;
19460
- integrationType?: "meta" | "360dialog" | undefined;
19461
19941
  }>>;
19462
19942
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19463
19943
  mobileNumber: z.ZodString;
@@ -19482,16 +19962,15 @@ export declare const platformWebchatContract: {
19482
19962
  additionalCredentials?: any;
19483
19963
  senderId?: string | undefined;
19484
19964
  whatsapp?: {
19485
- wabaBusinessId?: string | null | undefined;
19486
- wabaExternalId?: string | null | undefined;
19487
- phoneNumberId?: string | null | undefined;
19488
- email?: string | null | undefined;
19489
- clientId?: string | null | undefined;
19490
- channelId?: string | null | undefined;
19965
+ email: string;
19966
+ wabaExternalId: string;
19967
+ phoneNumberId: string;
19968
+ wabaBusinessId?: string | undefined;
19969
+ clientId?: string | undefined;
19970
+ channelId?: string | undefined;
19491
19971
  status?: "active" | "pending" | undefined;
19492
19972
  apiKey?: string | undefined;
19493
19973
  tier?: "basic" | "regular" | "premium" | undefined;
19494
- integrationType?: "meta" | "360dialog" | undefined;
19495
19974
  } | undefined;
19496
19975
  vonageCredentials?: {
19497
19976
  apiKey: string;
@@ -19508,16 +19987,15 @@ export declare const platformWebchatContract: {
19508
19987
  additionalCredentials?: any;
19509
19988
  senderId?: string | undefined;
19510
19989
  whatsapp?: {
19511
- wabaBusinessId?: string | null | undefined;
19512
- wabaExternalId?: string | null | undefined;
19513
- phoneNumberId?: string | null | undefined;
19514
- email?: string | null | undefined;
19515
- clientId?: string | null | undefined;
19516
- channelId?: string | null | undefined;
19990
+ email: string;
19991
+ wabaExternalId: string;
19992
+ phoneNumberId: string;
19993
+ wabaBusinessId?: string | undefined;
19994
+ clientId?: string | undefined;
19995
+ channelId?: string | undefined;
19517
19996
  status?: "active" | "pending" | undefined;
19518
19997
  apiKey?: string | undefined;
19519
19998
  tier?: "basic" | "regular" | "premium" | undefined;
19520
- integrationType?: "meta" | "360dialog" | undefined;
19521
19999
  } | undefined;
19522
20000
  vonageCredentials?: {
19523
20001
  apiKey: string;
@@ -19564,16 +20042,15 @@ export declare const platformWebchatContract: {
19564
20042
  additionalCredentials?: any;
19565
20043
  senderId?: string | undefined;
19566
20044
  whatsapp?: {
19567
- wabaBusinessId?: string | null | undefined;
19568
- wabaExternalId?: string | null | undefined;
19569
- phoneNumberId?: string | null | undefined;
19570
- email?: string | null | undefined;
19571
- clientId?: string | null | undefined;
19572
- channelId?: string | null | undefined;
20045
+ email: string;
20046
+ wabaExternalId: string;
20047
+ phoneNumberId: string;
20048
+ wabaBusinessId?: string | undefined;
20049
+ clientId?: string | undefined;
20050
+ channelId?: string | undefined;
19573
20051
  status?: "active" | "pending" | undefined;
19574
20052
  apiKey?: string | undefined;
19575
20053
  tier?: "basic" | "regular" | "premium" | undefined;
19576
- integrationType?: "meta" | "360dialog" | undefined;
19577
20054
  } | undefined;
19578
20055
  vonageCredentials?: {
19579
20056
  apiKey: string;
@@ -19608,16 +20085,15 @@ export declare const platformWebchatContract: {
19608
20085
  additionalCredentials?: any;
19609
20086
  senderId?: string | undefined;
19610
20087
  whatsapp?: {
19611
- wabaBusinessId?: string | null | undefined;
19612
- wabaExternalId?: string | null | undefined;
19613
- phoneNumberId?: string | null | undefined;
19614
- email?: string | null | undefined;
19615
- clientId?: string | null | undefined;
19616
- channelId?: string | null | undefined;
20088
+ email: string;
20089
+ wabaExternalId: string;
20090
+ phoneNumberId: string;
20091
+ wabaBusinessId?: string | undefined;
20092
+ clientId?: string | undefined;
20093
+ channelId?: string | undefined;
19617
20094
  status?: "active" | "pending" | undefined;
19618
20095
  apiKey?: string | undefined;
19619
20096
  tier?: "basic" | "regular" | "premium" | undefined;
19620
- integrationType?: "meta" | "360dialog" | undefined;
19621
20097
  } | undefined;
19622
20098
  vonageCredentials?: {
19623
20099
  apiKey: string;
@@ -19654,16 +20130,15 @@ export declare const platformWebchatContract: {
19654
20130
  additionalCredentials?: any;
19655
20131
  senderId?: string | undefined;
19656
20132
  whatsapp?: {
19657
- wabaBusinessId?: string | null | undefined;
19658
- wabaExternalId?: string | null | undefined;
19659
- phoneNumberId?: string | null | undefined;
19660
- email?: string | null | undefined;
19661
- clientId?: string | null | undefined;
19662
- channelId?: string | null | undefined;
20133
+ email: string;
20134
+ wabaExternalId: string;
20135
+ phoneNumberId: string;
20136
+ wabaBusinessId?: string | undefined;
20137
+ clientId?: string | undefined;
20138
+ channelId?: string | undefined;
19663
20139
  status?: "active" | "pending" | undefined;
19664
20140
  apiKey?: string | undefined;
19665
20141
  tier?: "basic" | "regular" | "premium" | undefined;
19666
- integrationType?: "meta" | "360dialog" | undefined;
19667
20142
  } | undefined;
19668
20143
  vonageCredentials?: {
19669
20144
  apiKey: string;
@@ -19701,16 +20176,15 @@ export declare const platformWebchatContract: {
19701
20176
  additionalCredentials?: any;
19702
20177
  senderId?: string | undefined;
19703
20178
  whatsapp?: {
19704
- wabaBusinessId?: string | null | undefined;
19705
- wabaExternalId?: string | null | undefined;
19706
- phoneNumberId?: string | null | undefined;
19707
- email?: string | null | undefined;
19708
- clientId?: string | null | undefined;
19709
- channelId?: string | null | undefined;
20179
+ email: string;
20180
+ wabaExternalId: string;
20181
+ phoneNumberId: string;
20182
+ wabaBusinessId?: string | undefined;
20183
+ clientId?: string | undefined;
20184
+ channelId?: string | undefined;
19710
20185
  status?: "active" | "pending" | undefined;
19711
20186
  apiKey?: string | undefined;
19712
20187
  tier?: "basic" | "regular" | "premium" | undefined;
19713
- integrationType?: "meta" | "360dialog" | undefined;
19714
20188
  } | undefined;
19715
20189
  vonageCredentials?: {
19716
20190
  apiKey: string;
@@ -19784,38 +20258,35 @@ export declare const platformWebchatContract: {
19784
20258
  additionalCredentials: z.ZodOptional<z.ZodAny>;
19785
20259
  senderId: z.ZodOptional<z.ZodString>;
19786
20260
  whatsapp: z.ZodOptional<z.ZodObject<{
19787
- wabaBusinessId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19788
- wabaExternalId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19789
- phoneNumberId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19790
- email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19791
- clientId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19792
- channelId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20261
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
20262
+ wabaExternalId: z.ZodString;
20263
+ phoneNumberId: z.ZodString;
20264
+ email: z.ZodString;
20265
+ clientId: z.ZodOptional<z.ZodString>;
20266
+ channelId: z.ZodOptional<z.ZodString>;
19793
20267
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19794
20268
  apiKey: z.ZodOptional<z.ZodString>;
19795
20269
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19796
- integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">]>>;
19797
20270
  }, "strip", z.ZodTypeAny, {
19798
- wabaBusinessId?: string | null | undefined;
19799
- wabaExternalId?: string | null | undefined;
19800
- phoneNumberId?: string | null | undefined;
19801
- email?: string | null | undefined;
19802
- clientId?: string | null | undefined;
19803
- channelId?: string | null | undefined;
20271
+ email: string;
20272
+ wabaExternalId: string;
20273
+ phoneNumberId: string;
20274
+ wabaBusinessId?: string | undefined;
20275
+ clientId?: string | undefined;
20276
+ channelId?: string | undefined;
19804
20277
  status?: "active" | "pending" | undefined;
19805
20278
  apiKey?: string | undefined;
19806
20279
  tier?: "basic" | "regular" | "premium" | undefined;
19807
- integrationType?: "meta" | "360dialog" | undefined;
19808
20280
  }, {
19809
- wabaBusinessId?: string | null | undefined;
19810
- wabaExternalId?: string | null | undefined;
19811
- phoneNumberId?: string | null | undefined;
19812
- email?: string | null | undefined;
19813
- clientId?: string | null | undefined;
19814
- channelId?: string | null | undefined;
20281
+ email: string;
20282
+ wabaExternalId: string;
20283
+ phoneNumberId: string;
20284
+ wabaBusinessId?: string | undefined;
20285
+ clientId?: string | undefined;
20286
+ channelId?: string | undefined;
19815
20287
  status?: "active" | "pending" | undefined;
19816
20288
  apiKey?: string | undefined;
19817
20289
  tier?: "basic" | "regular" | "premium" | undefined;
19818
- integrationType?: "meta" | "360dialog" | undefined;
19819
20290
  }>>;
19820
20291
  vonageCredentials: z.ZodOptional<z.ZodObject<{
19821
20292
  mobileNumber: z.ZodString;
@@ -19840,16 +20311,15 @@ export declare const platformWebchatContract: {
19840
20311
  additionalCredentials?: any;
19841
20312
  senderId?: string | undefined;
19842
20313
  whatsapp?: {
19843
- wabaBusinessId?: string | null | undefined;
19844
- wabaExternalId?: string | null | undefined;
19845
- phoneNumberId?: string | null | undefined;
19846
- email?: string | null | undefined;
19847
- clientId?: string | null | undefined;
19848
- channelId?: string | null | undefined;
20314
+ email: string;
20315
+ wabaExternalId: string;
20316
+ phoneNumberId: string;
20317
+ wabaBusinessId?: string | undefined;
20318
+ clientId?: string | undefined;
20319
+ channelId?: string | undefined;
19849
20320
  status?: "active" | "pending" | undefined;
19850
20321
  apiKey?: string | undefined;
19851
20322
  tier?: "basic" | "regular" | "premium" | undefined;
19852
- integrationType?: "meta" | "360dialog" | undefined;
19853
20323
  } | undefined;
19854
20324
  vonageCredentials?: {
19855
20325
  apiKey: string;
@@ -19866,16 +20336,15 @@ export declare const platformWebchatContract: {
19866
20336
  additionalCredentials?: any;
19867
20337
  senderId?: string | undefined;
19868
20338
  whatsapp?: {
19869
- wabaBusinessId?: string | null | undefined;
19870
- wabaExternalId?: string | null | undefined;
19871
- phoneNumberId?: string | null | undefined;
19872
- email?: string | null | undefined;
19873
- clientId?: string | null | undefined;
19874
- channelId?: string | null | undefined;
20339
+ email: string;
20340
+ wabaExternalId: string;
20341
+ phoneNumberId: string;
20342
+ wabaBusinessId?: string | undefined;
20343
+ clientId?: string | undefined;
20344
+ channelId?: string | undefined;
19875
20345
  status?: "active" | "pending" | undefined;
19876
20346
  apiKey?: string | undefined;
19877
20347
  tier?: "basic" | "regular" | "premium" | undefined;
19878
- integrationType?: "meta" | "360dialog" | undefined;
19879
20348
  } | undefined;
19880
20349
  vonageCredentials?: {
19881
20350
  apiKey: string;
@@ -19922,16 +20391,15 @@ export declare const platformWebchatContract: {
19922
20391
  additionalCredentials?: any;
19923
20392
  senderId?: string | undefined;
19924
20393
  whatsapp?: {
19925
- wabaBusinessId?: string | null | undefined;
19926
- wabaExternalId?: string | null | undefined;
19927
- phoneNumberId?: string | null | undefined;
19928
- email?: string | null | undefined;
19929
- clientId?: string | null | undefined;
19930
- channelId?: string | null | undefined;
20394
+ email: string;
20395
+ wabaExternalId: string;
20396
+ phoneNumberId: string;
20397
+ wabaBusinessId?: string | undefined;
20398
+ clientId?: string | undefined;
20399
+ channelId?: string | undefined;
19931
20400
  status?: "active" | "pending" | undefined;
19932
20401
  apiKey?: string | undefined;
19933
20402
  tier?: "basic" | "regular" | "premium" | undefined;
19934
- integrationType?: "meta" | "360dialog" | undefined;
19935
20403
  } | undefined;
19936
20404
  vonageCredentials?: {
19937
20405
  apiKey: string;
@@ -19966,16 +20434,15 @@ export declare const platformWebchatContract: {
19966
20434
  additionalCredentials?: any;
19967
20435
  senderId?: string | undefined;
19968
20436
  whatsapp?: {
19969
- wabaBusinessId?: string | null | undefined;
19970
- wabaExternalId?: string | null | undefined;
19971
- phoneNumberId?: string | null | undefined;
19972
- email?: string | null | undefined;
19973
- clientId?: string | null | undefined;
19974
- channelId?: string | null | undefined;
20437
+ email: string;
20438
+ wabaExternalId: string;
20439
+ phoneNumberId: string;
20440
+ wabaBusinessId?: string | undefined;
20441
+ clientId?: string | undefined;
20442
+ channelId?: string | undefined;
19975
20443
  status?: "active" | "pending" | undefined;
19976
20444
  apiKey?: string | undefined;
19977
20445
  tier?: "basic" | "regular" | "premium" | undefined;
19978
- integrationType?: "meta" | "360dialog" | undefined;
19979
20446
  } | undefined;
19980
20447
  vonageCredentials?: {
19981
20448
  apiKey: string;
@@ -20012,16 +20479,15 @@ export declare const platformWebchatContract: {
20012
20479
  additionalCredentials?: any;
20013
20480
  senderId?: string | undefined;
20014
20481
  whatsapp?: {
20015
- wabaBusinessId?: string | null | undefined;
20016
- wabaExternalId?: string | null | undefined;
20017
- phoneNumberId?: string | null | undefined;
20018
- email?: string | null | undefined;
20019
- clientId?: string | null | undefined;
20020
- channelId?: string | null | undefined;
20482
+ email: string;
20483
+ wabaExternalId: string;
20484
+ phoneNumberId: string;
20485
+ wabaBusinessId?: string | undefined;
20486
+ clientId?: string | undefined;
20487
+ channelId?: string | undefined;
20021
20488
  status?: "active" | "pending" | undefined;
20022
20489
  apiKey?: string | undefined;
20023
20490
  tier?: "basic" | "regular" | "premium" | undefined;
20024
- integrationType?: "meta" | "360dialog" | undefined;
20025
20491
  } | undefined;
20026
20492
  vonageCredentials?: {
20027
20493
  apiKey: string;
@@ -20059,16 +20525,15 @@ export declare const platformWebchatContract: {
20059
20525
  additionalCredentials?: any;
20060
20526
  senderId?: string | undefined;
20061
20527
  whatsapp?: {
20062
- wabaBusinessId?: string | null | undefined;
20063
- wabaExternalId?: string | null | undefined;
20064
- phoneNumberId?: string | null | undefined;
20065
- email?: string | null | undefined;
20066
- clientId?: string | null | undefined;
20067
- channelId?: string | null | undefined;
20528
+ email: string;
20529
+ wabaExternalId: string;
20530
+ phoneNumberId: string;
20531
+ wabaBusinessId?: string | undefined;
20532
+ clientId?: string | undefined;
20533
+ channelId?: string | undefined;
20068
20534
  status?: "active" | "pending" | undefined;
20069
20535
  apiKey?: string | undefined;
20070
20536
  tier?: "basic" | "regular" | "premium" | undefined;
20071
- integrationType?: "meta" | "360dialog" | undefined;
20072
20537
  } | undefined;
20073
20538
  vonageCredentials?: {
20074
20539
  apiKey: string;