@kl1/contracts 1.2.37-uat → 1.2.38-uat

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