@kl1/contracts 1.2.26-uat → 1.2.28-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +179 -0
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +12 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +14 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +3987 -298
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +1020 -129
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +608 -76
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +5414 -586
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/dashboard/index.d.ts +4 -4
  20. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -2
  21. package/dist/api-contracts/src/facebook-feed/index.d.ts +624 -58
  22. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/schema.d.ts +12 -3
  24. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
  26. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  27. package/dist/api-contracts/src/hold-label/index.d.ts +133 -2
  28. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/hold-label/schema.d.ts +25 -0
  30. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  32. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  33. package/dist/api-contracts/src/index.d.ts +1 -0
  34. package/dist/api-contracts/src/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/instagram/index.d.ts +585 -48
  36. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/line/index.d.ts +578 -53
  38. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/line/validation.d.ts +16 -5
  40. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/messenger/index.d.ts +585 -48
  42. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/messenger/validation.d.ts +7 -0
  44. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/sms/index.d.ts +85 -11
  46. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  48. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/telegram/index.d.ts +555 -48
  50. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/viber/index.d.ts +555 -48
  52. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/webchat/index.d.ts +1582 -56
  54. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/whatsapp/index.d.ts +569 -48
  56. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/workflow-rule/index.d.ts +362 -10
  58. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  59. package/dist/entities/src/enums/chat.d.ts +3 -0
  60. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  61. package/dist/index.js +4383 -4287
  62. package/dist/index.js.map +1 -1
  63. package/dist/index.mjs +4382 -4287
  64. package/dist/index.mjs.map +1 -1
  65. package/package.json +1 -1
@@ -146,6 +146,7 @@ export declare const platformWebchatContract: {
146
146
  channelId: z.ZodOptional<z.ZodString>;
147
147
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
148
148
  apiKey: z.ZodOptional<z.ZodString>;
149
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
149
150
  }, "strip", z.ZodTypeAny, {
150
151
  email: string;
151
152
  wabaExternalId: string;
@@ -155,6 +156,7 @@ export declare const platformWebchatContract: {
155
156
  channelId?: string | undefined;
156
157
  status?: "active" | "pending" | undefined;
157
158
  apiKey?: string | undefined;
159
+ tier?: "basic" | "regular" | "premium" | undefined;
158
160
  }, {
159
161
  email: string;
160
162
  wabaExternalId: string;
@@ -164,6 +166,7 @@ export declare const platformWebchatContract: {
164
166
  channelId?: string | undefined;
165
167
  status?: "active" | "pending" | undefined;
166
168
  apiKey?: string | undefined;
169
+ tier?: "basic" | "regular" | "premium" | undefined;
167
170
  }>>;
168
171
  vonageCredentials: z.ZodOptional<z.ZodObject<{
169
172
  mobileNumber: z.ZodString;
@@ -196,6 +199,7 @@ export declare const platformWebchatContract: {
196
199
  channelId?: string | undefined;
197
200
  status?: "active" | "pending" | undefined;
198
201
  apiKey?: string | undefined;
202
+ tier?: "basic" | "regular" | "premium" | undefined;
199
203
  } | undefined;
200
204
  vonageCredentials?: {
201
205
  apiKey: string;
@@ -220,6 +224,7 @@ export declare const platformWebchatContract: {
220
224
  channelId?: string | undefined;
221
225
  status?: "active" | "pending" | undefined;
222
226
  apiKey?: string | undefined;
227
+ tier?: "basic" | "regular" | "premium" | undefined;
223
228
  } | undefined;
224
229
  vonageCredentials?: {
225
230
  apiKey: string;
@@ -274,6 +279,7 @@ export declare const platformWebchatContract: {
274
279
  channelId?: string | undefined;
275
280
  status?: "active" | "pending" | undefined;
276
281
  apiKey?: string | undefined;
282
+ tier?: "basic" | "regular" | "premium" | undefined;
277
283
  } | undefined;
278
284
  vonageCredentials?: {
279
285
  apiKey: string;
@@ -316,6 +322,7 @@ export declare const platformWebchatContract: {
316
322
  channelId?: string | undefined;
317
323
  status?: "active" | "pending" | undefined;
318
324
  apiKey?: string | undefined;
325
+ tier?: "basic" | "regular" | "premium" | undefined;
319
326
  } | undefined;
320
327
  vonageCredentials?: {
321
328
  apiKey: string;
@@ -340,7 +347,7 @@ export declare const platformWebchatContract: {
340
347
  } | undefined;
341
348
  }>;
342
349
  messengerTags: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"post_purchase_update">, z.ZodLiteral<"account_update">, z.ZodLiteral<"confirmed_event_update">]>>;
343
- telegramBusinessConnectionId: z.ZodNullable<z.ZodString>;
350
+ telegramBusinessConnectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
351
  }, "strip", z.ZodTypeAny, {
345
352
  id: string;
346
353
  channel: {
@@ -363,6 +370,7 @@ export declare const platformWebchatContract: {
363
370
  channelId?: string | undefined;
364
371
  status?: "active" | "pending" | undefined;
365
372
  apiKey?: string | undefined;
373
+ tier?: "basic" | "regular" | "premium" | undefined;
366
374
  } | undefined;
367
375
  vonageCredentials?: {
368
376
  apiKey: string;
@@ -422,11 +430,11 @@ export declare const platformWebchatContract: {
422
430
  id: string;
423
431
  email: string;
424
432
  } | null;
425
- telegramBusinessConnectionId: string | null;
426
433
  lastMessage?: string | undefined;
427
434
  handleTime?: number | undefined;
428
435
  metadata?: any;
429
436
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
437
+ telegramBusinessConnectionId?: string | null | undefined;
430
438
  }, {
431
439
  id: string;
432
440
  channel: {
@@ -449,6 +457,7 @@ export declare const platformWebchatContract: {
449
457
  channelId?: string | undefined;
450
458
  status?: "active" | "pending" | undefined;
451
459
  apiKey?: string | undefined;
460
+ tier?: "basic" | "regular" | "premium" | undefined;
452
461
  } | undefined;
453
462
  vonageCredentials?: {
454
463
  apiKey: string;
@@ -508,17 +517,17 @@ export declare const platformWebchatContract: {
508
517
  id: string;
509
518
  email: string;
510
519
  } | null;
511
- telegramBusinessConnectionId: string | null;
512
520
  lastMessage?: string | undefined;
513
521
  handleTime?: number | undefined;
514
522
  metadata?: any;
515
523
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
524
+ telegramBusinessConnectionId?: string | null | undefined;
516
525
  }>;
517
526
  message: z.ZodObject<{
518
527
  id: z.ZodOptional<z.ZodString>;
519
528
  message: z.ZodOptional<z.ZodString>;
520
529
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
521
- 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", "edited", "deleted", "unsupported"]>;
530
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
522
531
  readAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
523
532
  metadata: z.ZodOptional<z.ZodAny>;
524
533
  platformId: z.ZodOptional<z.ZodString>;
@@ -574,7 +583,7 @@ export declare const platformWebchatContract: {
574
583
  editedAt: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodDate, z.ZodString]>>>;
575
584
  label: z.ZodOptional<z.ZodString>;
576
585
  }, "strip", z.ZodTypeAny, {
577
- 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" | "edited" | "deleted" | "unsupported";
586
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
578
587
  direction: "incoming" | "outgoing" | "system";
579
588
  id?: string | undefined;
580
589
  message?: string | undefined;
@@ -609,7 +618,7 @@ export declare const platformWebchatContract: {
609
618
  editedAt?: string | Date | null | undefined;
610
619
  label?: string | undefined;
611
620
  }, {
612
- 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" | "edited" | "deleted" | "unsupported";
621
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
613
622
  direction: "incoming" | "outgoing" | "system";
614
623
  id?: string | undefined;
615
624
  message?: string | undefined;
@@ -646,7 +655,7 @@ export declare const platformWebchatContract: {
646
655
  }>;
647
656
  }, "strip", z.ZodTypeAny, {
648
657
  message: {
649
- 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" | "edited" | "deleted" | "unsupported";
658
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
650
659
  direction: "incoming" | "outgoing" | "system";
651
660
  id?: string | undefined;
652
661
  message?: string | undefined;
@@ -703,6 +712,7 @@ export declare const platformWebchatContract: {
703
712
  channelId?: string | undefined;
704
713
  status?: "active" | "pending" | undefined;
705
714
  apiKey?: string | undefined;
715
+ tier?: "basic" | "regular" | "premium" | undefined;
706
716
  } | undefined;
707
717
  vonageCredentials?: {
708
718
  apiKey: string;
@@ -762,16 +772,16 @@ export declare const platformWebchatContract: {
762
772
  id: string;
763
773
  email: string;
764
774
  } | null;
765
- telegramBusinessConnectionId: string | null;
766
775
  lastMessage?: string | undefined;
767
776
  handleTime?: number | undefined;
768
777
  metadata?: any;
769
778
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
779
+ telegramBusinessConnectionId?: string | null | undefined;
770
780
  };
771
781
  isBot: boolean | null;
772
782
  }, {
773
783
  message: {
774
- 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" | "edited" | "deleted" | "unsupported";
784
+ type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
775
785
  direction: "incoming" | "outgoing" | "system";
776
786
  id?: string | undefined;
777
787
  message?: string | undefined;
@@ -828,6 +838,7 @@ export declare const platformWebchatContract: {
828
838
  channelId?: string | undefined;
829
839
  status?: "active" | "pending" | undefined;
830
840
  apiKey?: string | undefined;
841
+ tier?: "basic" | "regular" | "premium" | undefined;
831
842
  } | undefined;
832
843
  vonageCredentials?: {
833
844
  apiKey: string;
@@ -887,11 +898,11 @@ export declare const platformWebchatContract: {
887
898
  id: string;
888
899
  email: string;
889
900
  } | null;
890
- telegramBusinessConnectionId: string | null;
891
901
  lastMessage?: string | undefined;
892
902
  handleTime?: number | undefined;
893
903
  metadata?: any;
894
904
  messengerTags?: "post_purchase_update" | "account_update" | "confirmed_event_update" | undefined;
905
+ telegramBusinessConnectionId?: string | null | undefined;
895
906
  };
896
907
  isBot?: boolean | null | undefined;
897
908
  }>;
@@ -900,7 +911,7 @@ export declare const platformWebchatContract: {
900
911
  200: z.ZodObject<{
901
912
  requestId: z.ZodString;
902
913
  data: z.ZodObject<{
903
- 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", "edited", "deleted", "unsupported"]>;
914
+ type: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
904
915
  message: z.ZodString;
905
916
  id: z.ZodString;
906
917
  url: z.ZodString;
@@ -2848,6 +2859,7 @@ export declare const platformWebchatContract: {
2848
2859
  channelId: z.ZodOptional<z.ZodString>;
2849
2860
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2850
2861
  apiKey: z.ZodOptional<z.ZodString>;
2862
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2851
2863
  }, "strip", z.ZodTypeAny, {
2852
2864
  email: string;
2853
2865
  wabaExternalId: string;
@@ -2857,6 +2869,7 @@ export declare const platformWebchatContract: {
2857
2869
  channelId?: string | undefined;
2858
2870
  status?: "active" | "pending" | undefined;
2859
2871
  apiKey?: string | undefined;
2872
+ tier?: "basic" | "regular" | "premium" | undefined;
2860
2873
  }, {
2861
2874
  email: string;
2862
2875
  wabaExternalId: string;
@@ -2866,6 +2879,7 @@ export declare const platformWebchatContract: {
2866
2879
  channelId?: string | undefined;
2867
2880
  status?: "active" | "pending" | undefined;
2868
2881
  apiKey?: string | undefined;
2882
+ tier?: "basic" | "regular" | "premium" | undefined;
2869
2883
  }>>;
2870
2884
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2871
2885
  mobileNumber: z.ZodString;
@@ -2898,6 +2912,7 @@ export declare const platformWebchatContract: {
2898
2912
  channelId?: string | undefined;
2899
2913
  status?: "active" | "pending" | undefined;
2900
2914
  apiKey?: string | undefined;
2915
+ tier?: "basic" | "regular" | "premium" | undefined;
2901
2916
  } | undefined;
2902
2917
  vonageCredentials?: {
2903
2918
  apiKey: string;
@@ -2922,6 +2937,7 @@ export declare const platformWebchatContract: {
2922
2937
  channelId?: string | undefined;
2923
2938
  status?: "active" | "pending" | undefined;
2924
2939
  apiKey?: string | undefined;
2940
+ tier?: "basic" | "regular" | "premium" | undefined;
2925
2941
  } | undefined;
2926
2942
  vonageCredentials?: {
2927
2943
  apiKey: string;
@@ -3180,6 +3196,7 @@ export declare const platformWebchatContract: {
3180
3196
  channelId?: string | undefined;
3181
3197
  status?: "active" | "pending" | undefined;
3182
3198
  apiKey?: string | undefined;
3199
+ tier?: "basic" | "regular" | "premium" | undefined;
3183
3200
  } | undefined;
3184
3201
  vonageCredentials?: {
3185
3202
  apiKey: string;
@@ -3269,6 +3286,7 @@ export declare const platformWebchatContract: {
3269
3286
  channelId?: string | undefined;
3270
3287
  status?: "active" | "pending" | undefined;
3271
3288
  apiKey?: string | undefined;
3289
+ tier?: "basic" | "regular" | "premium" | undefined;
3272
3290
  } | undefined;
3273
3291
  vonageCredentials?: {
3274
3292
  apiKey: string;
@@ -3341,17 +3359,17 @@ export declare const platformWebchatContract: {
3341
3359
  }>;
3342
3360
  cxlog: z.ZodObject<{
3343
3361
  id: z.ZodString;
3362
+ channel: z.ZodNullable<z.ZodString>;
3363
+ direction: z.ZodNullable<z.ZodString>;
3344
3364
  createdAt: z.ZodDate;
3345
3365
  updatedAt: z.ZodDate;
3346
3366
  deletedAt: z.ZodNullable<z.ZodDate>;
3347
- caseId: z.ZodNumber;
3348
3367
  entityId: z.ZodString;
3349
- entityName: z.ZodString;
3350
- contactId: z.ZodNullable<z.ZodString>;
3351
- channel: z.ZodNullable<z.ZodString>;
3352
3368
  queueId: z.ZodNullable<z.ZodString>;
3369
+ contactId: z.ZodNullable<z.ZodString>;
3370
+ caseId: z.ZodNumber;
3371
+ entityName: z.ZodString;
3353
3372
  agentId: z.ZodNullable<z.ZodString>;
3354
- direction: z.ZodNullable<z.ZodString>;
3355
3373
  startedDate: z.ZodNullable<z.ZodDate>;
3356
3374
  handledTime: z.ZodNullable<z.ZodNumber>;
3357
3375
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -3621,6 +3639,69 @@ export declare const platformWebchatContract: {
3621
3639
  dateValue: Date | null;
3622
3640
  }[] | null | undefined;
3623
3641
  }>>;
3642
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
3643
+ id: z.ZodString;
3644
+ createdAt: z.ZodDate;
3645
+ updatedAt: z.ZodDate;
3646
+ deletedAt: z.ZodNullable<z.ZodDate>;
3647
+ startedAt: z.ZodString;
3648
+ endedAt: z.ZodNullable<z.ZodString>;
3649
+ duration: z.ZodNullable<z.ZodNumber>;
3650
+ holdLabel: z.ZodObject<{
3651
+ id: z.ZodString;
3652
+ createdAt: z.ZodDate;
3653
+ updatedAt: z.ZodDate;
3654
+ deletedAt: z.ZodNullable<z.ZodDate>;
3655
+ name: z.ZodString;
3656
+ position: z.ZodNumber;
3657
+ }, "strip", z.ZodTypeAny, {
3658
+ name: string;
3659
+ id: string;
3660
+ position: number;
3661
+ createdAt: Date;
3662
+ updatedAt: Date;
3663
+ deletedAt: Date | null;
3664
+ }, {
3665
+ name: string;
3666
+ id: string;
3667
+ position: number;
3668
+ createdAt: Date;
3669
+ updatedAt: Date;
3670
+ deletedAt: Date | null;
3671
+ }>;
3672
+ }, "strip", z.ZodTypeAny, {
3673
+ id: string;
3674
+ createdAt: Date;
3675
+ updatedAt: Date;
3676
+ deletedAt: Date | null;
3677
+ startedAt: string;
3678
+ endedAt: string | null;
3679
+ duration: number | null;
3680
+ holdLabel: {
3681
+ name: string;
3682
+ id: string;
3683
+ position: number;
3684
+ createdAt: Date;
3685
+ updatedAt: Date;
3686
+ deletedAt: Date | null;
3687
+ };
3688
+ }, {
3689
+ id: string;
3690
+ createdAt: Date;
3691
+ updatedAt: Date;
3692
+ deletedAt: Date | null;
3693
+ startedAt: string;
3694
+ endedAt: string | null;
3695
+ duration: number | null;
3696
+ holdLabel: {
3697
+ name: string;
3698
+ id: string;
3699
+ position: number;
3700
+ createdAt: Date;
3701
+ updatedAt: Date;
3702
+ deletedAt: Date | null;
3703
+ };
3704
+ }>, "many">>>;
3624
3705
  }, "strip", z.ZodTypeAny, {
3625
3706
  id: string;
3626
3707
  channel: string | null;
@@ -3689,6 +3770,23 @@ export declare const platformWebchatContract: {
3689
3770
  dateValue: Date | null;
3690
3771
  }[] | null | undefined;
3691
3772
  } | null;
3773
+ holdLogs?: {
3774
+ id: string;
3775
+ createdAt: Date;
3776
+ updatedAt: Date;
3777
+ deletedAt: Date | null;
3778
+ startedAt: string;
3779
+ endedAt: string | null;
3780
+ duration: number | null;
3781
+ holdLabel: {
3782
+ name: string;
3783
+ id: string;
3784
+ position: number;
3785
+ createdAt: Date;
3786
+ updatedAt: Date;
3787
+ deletedAt: Date | null;
3788
+ };
3789
+ }[] | null | undefined;
3692
3790
  }, {
3693
3791
  id: string;
3694
3792
  channel: string | null;
@@ -3757,6 +3855,23 @@ export declare const platformWebchatContract: {
3757
3855
  dateValue: Date | null;
3758
3856
  }[] | null | undefined;
3759
3857
  } | null;
3858
+ holdLogs?: {
3859
+ id: string;
3860
+ createdAt: Date;
3861
+ updatedAt: Date;
3862
+ deletedAt: Date | null;
3863
+ startedAt: string;
3864
+ endedAt: string | null;
3865
+ duration: number | null;
3866
+ holdLabel: {
3867
+ name: string;
3868
+ id: string;
3869
+ position: number;
3870
+ createdAt: Date;
3871
+ updatedAt: Date;
3872
+ deletedAt: Date | null;
3873
+ };
3874
+ }[] | null | undefined;
3760
3875
  }>;
3761
3876
  workflowRule: z.ZodObject<{
3762
3877
  id: z.ZodString;
@@ -3806,6 +3921,7 @@ export declare const platformWebchatContract: {
3806
3921
  channelId?: string | undefined;
3807
3922
  status?: "active" | "pending" | undefined;
3808
3923
  apiKey?: string | undefined;
3924
+ tier?: "basic" | "regular" | "premium" | undefined;
3809
3925
  } | undefined;
3810
3926
  vonageCredentials?: {
3811
3927
  apiKey: string;
@@ -4173,6 +4289,23 @@ export declare const platformWebchatContract: {
4173
4289
  dateValue: Date | null;
4174
4290
  }[] | null | undefined;
4175
4291
  } | null;
4292
+ holdLogs?: {
4293
+ id: string;
4294
+ createdAt: Date;
4295
+ updatedAt: Date;
4296
+ deletedAt: Date | null;
4297
+ startedAt: string;
4298
+ endedAt: string | null;
4299
+ duration: number | null;
4300
+ holdLabel: {
4301
+ name: string;
4302
+ id: string;
4303
+ position: number;
4304
+ createdAt: Date;
4305
+ updatedAt: Date;
4306
+ deletedAt: Date | null;
4307
+ };
4308
+ }[] | null | undefined;
4176
4309
  };
4177
4310
  workflowRule: {
4178
4311
  name: string;
@@ -4206,6 +4339,7 @@ export declare const platformWebchatContract: {
4206
4339
  channelId?: string | undefined;
4207
4340
  status?: "active" | "pending" | undefined;
4208
4341
  apiKey?: string | undefined;
4342
+ tier?: "basic" | "regular" | "premium" | undefined;
4209
4343
  } | undefined;
4210
4344
  vonageCredentials?: {
4211
4345
  apiKey: string;
@@ -4573,6 +4707,23 @@ export declare const platformWebchatContract: {
4573
4707
  dateValue: Date | null;
4574
4708
  }[] | null | undefined;
4575
4709
  } | null;
4710
+ holdLogs?: {
4711
+ id: string;
4712
+ createdAt: Date;
4713
+ updatedAt: Date;
4714
+ deletedAt: Date | null;
4715
+ startedAt: string;
4716
+ endedAt: string | null;
4717
+ duration: number | null;
4718
+ holdLabel: {
4719
+ name: string;
4720
+ id: string;
4721
+ position: number;
4722
+ createdAt: Date;
4723
+ updatedAt: Date;
4724
+ deletedAt: Date | null;
4725
+ };
4726
+ }[] | null | undefined;
4576
4727
  };
4577
4728
  workflowRule: {
4578
4729
  name: string;
@@ -4623,7 +4774,7 @@ export declare const platformWebchatContract: {
4623
4774
  deletedAt: z.ZodNullable<z.ZodDate>;
4624
4775
  message: z.ZodString;
4625
4776
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
4626
- 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", "edited", "deleted", "unsupported"]>;
4777
+ 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"]>;
4627
4778
  readAt: z.ZodDate;
4628
4779
  metadata: z.ZodAny;
4629
4780
  platformId: z.ZodString;
@@ -5281,7 +5432,7 @@ export declare const platformWebchatContract: {
5281
5432
  };
5282
5433
  }>;
5283
5434
  }, "strip", z.ZodTypeAny, {
5284
- 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" | "edited" | "deleted" | "unsupported";
5435
+ 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";
5285
5436
  message: string;
5286
5437
  id: string;
5287
5438
  url: string;
@@ -5443,7 +5594,7 @@ export declare const platformWebchatContract: {
5443
5594
  metadata?: any;
5444
5595
  template?: any;
5445
5596
  }, {
5446
- 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" | "edited" | "deleted" | "unsupported";
5597
+ 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";
5447
5598
  message: string;
5448
5599
  id: string;
5449
5600
  url: string;
@@ -5817,7 +5968,7 @@ export declare const platformWebchatContract: {
5817
5968
  deletedAt: z.ZodNullable<z.ZodDate>;
5818
5969
  message: z.ZodString;
5819
5970
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
5820
- 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", "edited", "deleted", "unsupported"]>;
5971
+ 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"]>;
5821
5972
  readAt: z.ZodDate;
5822
5973
  metadata: z.ZodAny;
5823
5974
  platformId: z.ZodString;
@@ -7322,6 +7473,7 @@ export declare const platformWebchatContract: {
7322
7473
  channelId: z.ZodOptional<z.ZodString>;
7323
7474
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7324
7475
  apiKey: z.ZodOptional<z.ZodString>;
7476
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7325
7477
  }, "strip", z.ZodTypeAny, {
7326
7478
  email: string;
7327
7479
  wabaExternalId: string;
@@ -7331,6 +7483,7 @@ export declare const platformWebchatContract: {
7331
7483
  channelId?: string | undefined;
7332
7484
  status?: "active" | "pending" | undefined;
7333
7485
  apiKey?: string | undefined;
7486
+ tier?: "basic" | "regular" | "premium" | undefined;
7334
7487
  }, {
7335
7488
  email: string;
7336
7489
  wabaExternalId: string;
@@ -7340,6 +7493,7 @@ export declare const platformWebchatContract: {
7340
7493
  channelId?: string | undefined;
7341
7494
  status?: "active" | "pending" | undefined;
7342
7495
  apiKey?: string | undefined;
7496
+ tier?: "basic" | "regular" | "premium" | undefined;
7343
7497
  }>>;
7344
7498
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7345
7499
  mobileNumber: z.ZodString;
@@ -7372,6 +7526,7 @@ export declare const platformWebchatContract: {
7372
7526
  channelId?: string | undefined;
7373
7527
  status?: "active" | "pending" | undefined;
7374
7528
  apiKey?: string | undefined;
7529
+ tier?: "basic" | "regular" | "premium" | undefined;
7375
7530
  } | undefined;
7376
7531
  vonageCredentials?: {
7377
7532
  apiKey: string;
@@ -7396,6 +7551,7 @@ export declare const platformWebchatContract: {
7396
7551
  channelId?: string | undefined;
7397
7552
  status?: "active" | "pending" | undefined;
7398
7553
  apiKey?: string | undefined;
7554
+ tier?: "basic" | "regular" | "premium" | undefined;
7399
7555
  } | undefined;
7400
7556
  vonageCredentials?: {
7401
7557
  apiKey: string;
@@ -7654,6 +7810,7 @@ export declare const platformWebchatContract: {
7654
7810
  channelId?: string | undefined;
7655
7811
  status?: "active" | "pending" | undefined;
7656
7812
  apiKey?: string | undefined;
7813
+ tier?: "basic" | "regular" | "premium" | undefined;
7657
7814
  } | undefined;
7658
7815
  vonageCredentials?: {
7659
7816
  apiKey: string;
@@ -7743,6 +7900,7 @@ export declare const platformWebchatContract: {
7743
7900
  channelId?: string | undefined;
7744
7901
  status?: "active" | "pending" | undefined;
7745
7902
  apiKey?: string | undefined;
7903
+ tier?: "basic" | "regular" | "premium" | undefined;
7746
7904
  } | undefined;
7747
7905
  vonageCredentials?: {
7748
7906
  apiKey: string;
@@ -7815,17 +7973,17 @@ export declare const platformWebchatContract: {
7815
7973
  }>;
7816
7974
  cxlog: z.ZodObject<{
7817
7975
  id: z.ZodString;
7976
+ channel: z.ZodNullable<z.ZodString>;
7977
+ direction: z.ZodNullable<z.ZodString>;
7818
7978
  createdAt: z.ZodDate;
7819
7979
  updatedAt: z.ZodDate;
7820
7980
  deletedAt: z.ZodNullable<z.ZodDate>;
7821
- caseId: z.ZodNumber;
7822
7981
  entityId: z.ZodString;
7823
- entityName: z.ZodString;
7824
- contactId: z.ZodNullable<z.ZodString>;
7825
- channel: z.ZodNullable<z.ZodString>;
7826
7982
  queueId: z.ZodNullable<z.ZodString>;
7983
+ contactId: z.ZodNullable<z.ZodString>;
7984
+ caseId: z.ZodNumber;
7985
+ entityName: z.ZodString;
7827
7986
  agentId: z.ZodNullable<z.ZodString>;
7828
- direction: z.ZodNullable<z.ZodString>;
7829
7987
  startedDate: z.ZodNullable<z.ZodDate>;
7830
7988
  handledTime: z.ZodNullable<z.ZodNumber>;
7831
7989
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
@@ -8095,6 +8253,69 @@ export declare const platformWebchatContract: {
8095
8253
  dateValue: Date | null;
8096
8254
  }[] | null | undefined;
8097
8255
  }>>;
8256
+ holdLogs: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
8257
+ id: z.ZodString;
8258
+ createdAt: z.ZodDate;
8259
+ updatedAt: z.ZodDate;
8260
+ deletedAt: z.ZodNullable<z.ZodDate>;
8261
+ startedAt: z.ZodString;
8262
+ endedAt: z.ZodNullable<z.ZodString>;
8263
+ duration: z.ZodNullable<z.ZodNumber>;
8264
+ holdLabel: z.ZodObject<{
8265
+ id: z.ZodString;
8266
+ createdAt: z.ZodDate;
8267
+ updatedAt: z.ZodDate;
8268
+ deletedAt: z.ZodNullable<z.ZodDate>;
8269
+ name: z.ZodString;
8270
+ position: z.ZodNumber;
8271
+ }, "strip", z.ZodTypeAny, {
8272
+ name: string;
8273
+ id: string;
8274
+ position: number;
8275
+ createdAt: Date;
8276
+ updatedAt: Date;
8277
+ deletedAt: Date | null;
8278
+ }, {
8279
+ name: string;
8280
+ id: string;
8281
+ position: number;
8282
+ createdAt: Date;
8283
+ updatedAt: Date;
8284
+ deletedAt: Date | null;
8285
+ }>;
8286
+ }, "strip", z.ZodTypeAny, {
8287
+ id: string;
8288
+ createdAt: Date;
8289
+ updatedAt: Date;
8290
+ deletedAt: Date | null;
8291
+ startedAt: string;
8292
+ endedAt: string | null;
8293
+ duration: number | null;
8294
+ holdLabel: {
8295
+ name: string;
8296
+ id: string;
8297
+ position: number;
8298
+ createdAt: Date;
8299
+ updatedAt: Date;
8300
+ deletedAt: Date | null;
8301
+ };
8302
+ }, {
8303
+ id: string;
8304
+ createdAt: Date;
8305
+ updatedAt: Date;
8306
+ deletedAt: Date | null;
8307
+ startedAt: string;
8308
+ endedAt: string | null;
8309
+ duration: number | null;
8310
+ holdLabel: {
8311
+ name: string;
8312
+ id: string;
8313
+ position: number;
8314
+ createdAt: Date;
8315
+ updatedAt: Date;
8316
+ deletedAt: Date | null;
8317
+ };
8318
+ }>, "many">>>;
8098
8319
  }, "strip", z.ZodTypeAny, {
8099
8320
  id: string;
8100
8321
  channel: string | null;
@@ -8163,6 +8384,23 @@ export declare const platformWebchatContract: {
8163
8384
  dateValue: Date | null;
8164
8385
  }[] | null | undefined;
8165
8386
  } | null;
8387
+ holdLogs?: {
8388
+ id: string;
8389
+ createdAt: Date;
8390
+ updatedAt: Date;
8391
+ deletedAt: Date | null;
8392
+ startedAt: string;
8393
+ endedAt: string | null;
8394
+ duration: number | null;
8395
+ holdLabel: {
8396
+ name: string;
8397
+ id: string;
8398
+ position: number;
8399
+ createdAt: Date;
8400
+ updatedAt: Date;
8401
+ deletedAt: Date | null;
8402
+ };
8403
+ }[] | null | undefined;
8166
8404
  }, {
8167
8405
  id: string;
8168
8406
  channel: string | null;
@@ -8231,6 +8469,23 @@ export declare const platformWebchatContract: {
8231
8469
  dateValue: Date | null;
8232
8470
  }[] | null | undefined;
8233
8471
  } | null;
8472
+ holdLogs?: {
8473
+ id: string;
8474
+ createdAt: Date;
8475
+ updatedAt: Date;
8476
+ deletedAt: Date | null;
8477
+ startedAt: string;
8478
+ endedAt: string | null;
8479
+ duration: number | null;
8480
+ holdLabel: {
8481
+ name: string;
8482
+ id: string;
8483
+ position: number;
8484
+ createdAt: Date;
8485
+ updatedAt: Date;
8486
+ deletedAt: Date | null;
8487
+ };
8488
+ }[] | null | undefined;
8234
8489
  }>;
8235
8490
  workflowRule: z.ZodObject<{
8236
8491
  id: z.ZodString;
@@ -8280,6 +8535,7 @@ export declare const platformWebchatContract: {
8280
8535
  channelId?: string | undefined;
8281
8536
  status?: "active" | "pending" | undefined;
8282
8537
  apiKey?: string | undefined;
8538
+ tier?: "basic" | "regular" | "premium" | undefined;
8283
8539
  } | undefined;
8284
8540
  vonageCredentials?: {
8285
8541
  apiKey: string;
@@ -8647,6 +8903,23 @@ export declare const platformWebchatContract: {
8647
8903
  dateValue: Date | null;
8648
8904
  }[] | null | undefined;
8649
8905
  } | null;
8906
+ holdLogs?: {
8907
+ id: string;
8908
+ createdAt: Date;
8909
+ updatedAt: Date;
8910
+ deletedAt: Date | null;
8911
+ startedAt: string;
8912
+ endedAt: string | null;
8913
+ duration: number | null;
8914
+ holdLabel: {
8915
+ name: string;
8916
+ id: string;
8917
+ position: number;
8918
+ createdAt: Date;
8919
+ updatedAt: Date;
8920
+ deletedAt: Date | null;
8921
+ };
8922
+ }[] | null | undefined;
8650
8923
  };
8651
8924
  workflowRule: {
8652
8925
  name: string;
@@ -8680,6 +8953,7 @@ export declare const platformWebchatContract: {
8680
8953
  channelId?: string | undefined;
8681
8954
  status?: "active" | "pending" | undefined;
8682
8955
  apiKey?: string | undefined;
8956
+ tier?: "basic" | "regular" | "premium" | undefined;
8683
8957
  } | undefined;
8684
8958
  vonageCredentials?: {
8685
8959
  apiKey: string;
@@ -9047,6 +9321,23 @@ export declare const platformWebchatContract: {
9047
9321
  dateValue: Date | null;
9048
9322
  }[] | null | undefined;
9049
9323
  } | null;
9324
+ holdLogs?: {
9325
+ id: string;
9326
+ createdAt: Date;
9327
+ updatedAt: Date;
9328
+ deletedAt: Date | null;
9329
+ startedAt: string;
9330
+ endedAt: string | null;
9331
+ duration: number | null;
9332
+ holdLabel: {
9333
+ name: string;
9334
+ id: string;
9335
+ position: number;
9336
+ createdAt: Date;
9337
+ updatedAt: Date;
9338
+ deletedAt: Date | null;
9339
+ };
9340
+ }[] | null | undefined;
9050
9341
  };
9051
9342
  workflowRule: {
9052
9343
  name: string;
@@ -9100,7 +9391,7 @@ export declare const platformWebchatContract: {
9100
9391
  deletedAt: z.ZodNullable<z.ZodDate>;
9101
9392
  message: z.ZodString;
9102
9393
  direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
9103
- 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", "edited", "deleted", "unsupported"]>;
9394
+ 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"]>;
9104
9395
  readAt: z.ZodDate;
9105
9396
  metadata: z.ZodAny;
9106
9397
  platformId: z.ZodString;
@@ -9758,7 +10049,7 @@ export declare const platformWebchatContract: {
9758
10049
  };
9759
10050
  }>;
9760
10051
  }, "strip", z.ZodTypeAny, {
9761
- 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" | "edited" | "deleted" | "unsupported";
10052
+ 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";
9762
10053
  message: string;
9763
10054
  id: string;
9764
10055
  url: string;
@@ -9920,7 +10211,7 @@ export declare const platformWebchatContract: {
9920
10211
  metadata?: any;
9921
10212
  template?: any;
9922
10213
  }, {
9923
- 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" | "edited" | "deleted" | "unsupported";
10214
+ 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";
9924
10215
  message: string;
9925
10216
  id: string;
9926
10217
  url: string;
@@ -10722,7 +11013,7 @@ export declare const platformWebchatContract: {
10722
11013
  editedMessageid: z.ZodString;
10723
11014
  label: z.ZodOptional<z.ZodString>;
10724
11015
  }, "strip", z.ZodTypeAny, {
10725
- 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" | "edited" | "deleted" | "unsupported";
11016
+ 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";
10726
11017
  message: string;
10727
11018
  id: string;
10728
11019
  url: string;
@@ -10853,6 +11144,7 @@ export declare const platformWebchatContract: {
10853
11144
  channelId?: string | undefined;
10854
11145
  status?: "active" | "pending" | undefined;
10855
11146
  apiKey?: string | undefined;
11147
+ tier?: "basic" | "regular" | "premium" | undefined;
10856
11148
  } | undefined;
10857
11149
  vonageCredentials?: {
10858
11150
  apiKey: string;
@@ -11220,6 +11512,23 @@ export declare const platformWebchatContract: {
11220
11512
  dateValue: Date | null;
11221
11513
  }[] | null | undefined;
11222
11514
  } | null;
11515
+ holdLogs?: {
11516
+ id: string;
11517
+ createdAt: Date;
11518
+ updatedAt: Date;
11519
+ deletedAt: Date | null;
11520
+ startedAt: string;
11521
+ endedAt: string | null;
11522
+ duration: number | null;
11523
+ holdLabel: {
11524
+ name: string;
11525
+ id: string;
11526
+ position: number;
11527
+ createdAt: Date;
11528
+ updatedAt: Date;
11529
+ deletedAt: Date | null;
11530
+ };
11531
+ }[] | null | undefined;
11223
11532
  };
11224
11533
  workflowRule: {
11225
11534
  name: string;
@@ -11248,7 +11557,7 @@ export declare const platformWebchatContract: {
11248
11557
  previewUrl: string;
11249
11558
  imageSetId: string;
11250
11559
  repliedMessage: {
11251
- 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" | "edited" | "deleted" | "unsupported";
11560
+ 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";
11252
11561
  message: string;
11253
11562
  id: string;
11254
11563
  url: string;
@@ -11459,7 +11768,7 @@ export declare const platformWebchatContract: {
11459
11768
  template?: any;
11460
11769
  label?: string | undefined;
11461
11770
  }, {
11462
- 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" | "edited" | "deleted" | "unsupported";
11771
+ 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";
11463
11772
  message: string;
11464
11773
  id: string;
11465
11774
  url: string;
@@ -11590,6 +11899,7 @@ export declare const platformWebchatContract: {
11590
11899
  channelId?: string | undefined;
11591
11900
  status?: "active" | "pending" | undefined;
11592
11901
  apiKey?: string | undefined;
11902
+ tier?: "basic" | "regular" | "premium" | undefined;
11593
11903
  } | undefined;
11594
11904
  vonageCredentials?: {
11595
11905
  apiKey: string;
@@ -11957,6 +12267,23 @@ export declare const platformWebchatContract: {
11957
12267
  dateValue: Date | null;
11958
12268
  }[] | null | undefined;
11959
12269
  } | null;
12270
+ holdLogs?: {
12271
+ id: string;
12272
+ createdAt: Date;
12273
+ updatedAt: Date;
12274
+ deletedAt: Date | null;
12275
+ startedAt: string;
12276
+ endedAt: string | null;
12277
+ duration: number | null;
12278
+ holdLabel: {
12279
+ name: string;
12280
+ id: string;
12281
+ position: number;
12282
+ createdAt: Date;
12283
+ updatedAt: Date;
12284
+ deletedAt: Date | null;
12285
+ };
12286
+ }[] | null | undefined;
11960
12287
  };
11961
12288
  workflowRule: {
11962
12289
  name: string;
@@ -11985,7 +12312,7 @@ export declare const platformWebchatContract: {
11985
12312
  previewUrl: string;
11986
12313
  imageSetId: string;
11987
12314
  repliedMessage: {
11988
- 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" | "edited" | "deleted" | "unsupported";
12315
+ 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";
11989
12316
  message: string;
11990
12317
  id: string;
11991
12318
  url: string;
@@ -12197,7 +12524,7 @@ export declare const platformWebchatContract: {
12197
12524
  label?: string | undefined;
12198
12525
  }>>>;
12199
12526
  }, "strip", z.ZodTypeAny, {
12200
- 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" | "edited" | "deleted" | "unsupported";
12527
+ 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";
12201
12528
  message: string;
12202
12529
  id: string;
12203
12530
  url: string;
@@ -12328,6 +12655,7 @@ export declare const platformWebchatContract: {
12328
12655
  channelId?: string | undefined;
12329
12656
  status?: "active" | "pending" | undefined;
12330
12657
  apiKey?: string | undefined;
12658
+ tier?: "basic" | "regular" | "premium" | undefined;
12331
12659
  } | undefined;
12332
12660
  vonageCredentials?: {
12333
12661
  apiKey: string;
@@ -12695,6 +13023,23 @@ export declare const platformWebchatContract: {
12695
13023
  dateValue: Date | null;
12696
13024
  }[] | null | undefined;
12697
13025
  } | null;
13026
+ holdLogs?: {
13027
+ id: string;
13028
+ createdAt: Date;
13029
+ updatedAt: Date;
13030
+ deletedAt: Date | null;
13031
+ startedAt: string;
13032
+ endedAt: string | null;
13033
+ duration: number | null;
13034
+ holdLabel: {
13035
+ name: string;
13036
+ id: string;
13037
+ position: number;
13038
+ createdAt: Date;
13039
+ updatedAt: Date;
13040
+ deletedAt: Date | null;
13041
+ };
13042
+ }[] | null | undefined;
12698
13043
  };
12699
13044
  workflowRule: {
12700
13045
  name: string;
@@ -12723,7 +13068,7 @@ export declare const platformWebchatContract: {
12723
13068
  previewUrl: string;
12724
13069
  imageSetId: string;
12725
13070
  repliedMessage: {
12726
- 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" | "edited" | "deleted" | "unsupported";
13071
+ 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";
12727
13072
  message: string;
12728
13073
  id: string;
12729
13074
  url: string;
@@ -12934,7 +13279,7 @@ export declare const platformWebchatContract: {
12934
13279
  template?: any;
12935
13280
  metadata?: any;
12936
13281
  fromMessage?: {
12937
- 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" | "edited" | "deleted" | "unsupported";
13282
+ 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";
12938
13283
  message: string;
12939
13284
  id: string;
12940
13285
  url: string;
@@ -13065,6 +13410,7 @@ export declare const platformWebchatContract: {
13065
13410
  channelId?: string | undefined;
13066
13411
  status?: "active" | "pending" | undefined;
13067
13412
  apiKey?: string | undefined;
13413
+ tier?: "basic" | "regular" | "premium" | undefined;
13068
13414
  } | undefined;
13069
13415
  vonageCredentials?: {
13070
13416
  apiKey: string;
@@ -13432,6 +13778,23 @@ export declare const platformWebchatContract: {
13432
13778
  dateValue: Date | null;
13433
13779
  }[] | null | undefined;
13434
13780
  } | null;
13781
+ holdLogs?: {
13782
+ id: string;
13783
+ createdAt: Date;
13784
+ updatedAt: Date;
13785
+ deletedAt: Date | null;
13786
+ startedAt: string;
13787
+ endedAt: string | null;
13788
+ duration: number | null;
13789
+ holdLabel: {
13790
+ name: string;
13791
+ id: string;
13792
+ position: number;
13793
+ createdAt: Date;
13794
+ updatedAt: Date;
13795
+ deletedAt: Date | null;
13796
+ };
13797
+ }[] | null | undefined;
13435
13798
  };
13436
13799
  workflowRule: {
13437
13800
  name: string;
@@ -13460,7 +13823,7 @@ export declare const platformWebchatContract: {
13460
13823
  previewUrl: string;
13461
13824
  imageSetId: string;
13462
13825
  repliedMessage: {
13463
- 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" | "edited" | "deleted" | "unsupported";
13826
+ 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";
13464
13827
  message: string;
13465
13828
  id: string;
13466
13829
  url: string;
@@ -13672,7 +14035,7 @@ export declare const platformWebchatContract: {
13672
14035
  label?: string | undefined;
13673
14036
  } | null | undefined;
13674
14037
  }, {
13675
- 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" | "edited" | "deleted" | "unsupported";
14038
+ 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";
13676
14039
  message: string;
13677
14040
  id: string;
13678
14041
  url: string;
@@ -13803,6 +14166,7 @@ export declare const platformWebchatContract: {
13803
14166
  channelId?: string | undefined;
13804
14167
  status?: "active" | "pending" | undefined;
13805
14168
  apiKey?: string | undefined;
14169
+ tier?: "basic" | "regular" | "premium" | undefined;
13806
14170
  } | undefined;
13807
14171
  vonageCredentials?: {
13808
14172
  apiKey: string;
@@ -14170,14 +14534,31 @@ export declare const platformWebchatContract: {
14170
14534
  dateValue: Date | null;
14171
14535
  }[] | null | undefined;
14172
14536
  } | null;
14173
- };
14174
- workflowRule: {
14175
- name: string;
14176
- type: string;
14177
- id: string;
14178
- createdAt: Date;
14179
- updatedAt: Date;
14180
- deletedAt: Date | null;
14537
+ holdLogs?: {
14538
+ id: string;
14539
+ createdAt: Date;
14540
+ updatedAt: Date;
14541
+ deletedAt: Date | null;
14542
+ startedAt: string;
14543
+ endedAt: string | null;
14544
+ duration: number | null;
14545
+ holdLabel: {
14546
+ name: string;
14547
+ id: string;
14548
+ position: number;
14549
+ createdAt: Date;
14550
+ updatedAt: Date;
14551
+ deletedAt: Date | null;
14552
+ };
14553
+ }[] | null | undefined;
14554
+ };
14555
+ workflowRule: {
14556
+ name: string;
14557
+ type: string;
14558
+ id: string;
14559
+ createdAt: Date;
14560
+ updatedAt: Date;
14561
+ deletedAt: Date | null;
14181
14562
  isActive: boolean;
14182
14563
  };
14183
14564
  automationQueueId?: string | null | undefined;
@@ -14198,7 +14579,7 @@ export declare const platformWebchatContract: {
14198
14579
  previewUrl: string;
14199
14580
  imageSetId: string;
14200
14581
  repliedMessage: {
14201
- 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" | "edited" | "deleted" | "unsupported";
14582
+ 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";
14202
14583
  message: string;
14203
14584
  id: string;
14204
14585
  url: string;
@@ -14409,7 +14790,7 @@ export declare const platformWebchatContract: {
14409
14790
  template?: any;
14410
14791
  metadata?: any;
14411
14792
  fromMessage?: {
14412
- 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" | "edited" | "deleted" | "unsupported";
14793
+ 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";
14413
14794
  message: string;
14414
14795
  id: string;
14415
14796
  url: string;
@@ -14540,6 +14921,7 @@ export declare const platformWebchatContract: {
14540
14921
  channelId?: string | undefined;
14541
14922
  status?: "active" | "pending" | undefined;
14542
14923
  apiKey?: string | undefined;
14924
+ tier?: "basic" | "regular" | "premium" | undefined;
14543
14925
  } | undefined;
14544
14926
  vonageCredentials?: {
14545
14927
  apiKey: string;
@@ -14907,6 +15289,23 @@ export declare const platformWebchatContract: {
14907
15289
  dateValue: Date | null;
14908
15290
  }[] | null | undefined;
14909
15291
  } | null;
15292
+ holdLogs?: {
15293
+ id: string;
15294
+ createdAt: Date;
15295
+ updatedAt: Date;
15296
+ deletedAt: Date | null;
15297
+ startedAt: string;
15298
+ endedAt: string | null;
15299
+ duration: number | null;
15300
+ holdLabel: {
15301
+ name: string;
15302
+ id: string;
15303
+ position: number;
15304
+ createdAt: Date;
15305
+ updatedAt: Date;
15306
+ deletedAt: Date | null;
15307
+ };
15308
+ }[] | null | undefined;
14910
15309
  };
14911
15310
  workflowRule: {
14912
15311
  name: string;
@@ -14935,7 +15334,7 @@ export declare const platformWebchatContract: {
14935
15334
  previewUrl: string;
14936
15335
  imageSetId: string;
14937
15336
  repliedMessage: {
14938
- 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" | "edited" | "deleted" | "unsupported";
15337
+ 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";
14939
15338
  message: string;
14940
15339
  id: string;
14941
15340
  url: string;
@@ -15149,7 +15548,7 @@ export declare const platformWebchatContract: {
15149
15548
  }>;
15150
15549
  }, "strip", z.ZodTypeAny, {
15151
15550
  data: {
15152
- 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" | "edited" | "deleted" | "unsupported";
15551
+ 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";
15153
15552
  message: string;
15154
15553
  id: string;
15155
15554
  url: string;
@@ -15280,6 +15679,7 @@ export declare const platformWebchatContract: {
15280
15679
  channelId?: string | undefined;
15281
15680
  status?: "active" | "pending" | undefined;
15282
15681
  apiKey?: string | undefined;
15682
+ tier?: "basic" | "regular" | "premium" | undefined;
15283
15683
  } | undefined;
15284
15684
  vonageCredentials?: {
15285
15685
  apiKey: string;
@@ -15647,6 +16047,23 @@ export declare const platformWebchatContract: {
15647
16047
  dateValue: Date | null;
15648
16048
  }[] | null | undefined;
15649
16049
  } | null;
16050
+ holdLogs?: {
16051
+ id: string;
16052
+ createdAt: Date;
16053
+ updatedAt: Date;
16054
+ deletedAt: Date | null;
16055
+ startedAt: string;
16056
+ endedAt: string | null;
16057
+ duration: number | null;
16058
+ holdLabel: {
16059
+ name: string;
16060
+ id: string;
16061
+ position: number;
16062
+ createdAt: Date;
16063
+ updatedAt: Date;
16064
+ deletedAt: Date | null;
16065
+ };
16066
+ }[] | null | undefined;
15650
16067
  };
15651
16068
  workflowRule: {
15652
16069
  name: string;
@@ -15675,7 +16092,7 @@ export declare const platformWebchatContract: {
15675
16092
  previewUrl: string;
15676
16093
  imageSetId: string;
15677
16094
  repliedMessage: {
15678
- 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" | "edited" | "deleted" | "unsupported";
16095
+ 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";
15679
16096
  message: string;
15680
16097
  id: string;
15681
16098
  url: string;
@@ -15886,7 +16303,7 @@ export declare const platformWebchatContract: {
15886
16303
  template?: any;
15887
16304
  metadata?: any;
15888
16305
  fromMessage?: {
15889
- 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" | "edited" | "deleted" | "unsupported";
16306
+ 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";
15890
16307
  message: string;
15891
16308
  id: string;
15892
16309
  url: string;
@@ -16017,6 +16434,7 @@ export declare const platformWebchatContract: {
16017
16434
  channelId?: string | undefined;
16018
16435
  status?: "active" | "pending" | undefined;
16019
16436
  apiKey?: string | undefined;
16437
+ tier?: "basic" | "regular" | "premium" | undefined;
16020
16438
  } | undefined;
16021
16439
  vonageCredentials?: {
16022
16440
  apiKey: string;
@@ -16384,6 +16802,23 @@ export declare const platformWebchatContract: {
16384
16802
  dateValue: Date | null;
16385
16803
  }[] | null | undefined;
16386
16804
  } | null;
16805
+ holdLogs?: {
16806
+ id: string;
16807
+ createdAt: Date;
16808
+ updatedAt: Date;
16809
+ deletedAt: Date | null;
16810
+ startedAt: string;
16811
+ endedAt: string | null;
16812
+ duration: number | null;
16813
+ holdLabel: {
16814
+ name: string;
16815
+ id: string;
16816
+ position: number;
16817
+ createdAt: Date;
16818
+ updatedAt: Date;
16819
+ deletedAt: Date | null;
16820
+ };
16821
+ }[] | null | undefined;
16387
16822
  };
16388
16823
  workflowRule: {
16389
16824
  name: string;
@@ -16412,7 +16847,7 @@ export declare const platformWebchatContract: {
16412
16847
  previewUrl: string;
16413
16848
  imageSetId: string;
16414
16849
  repliedMessage: {
16415
- 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" | "edited" | "deleted" | "unsupported";
16850
+ 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";
16416
16851
  message: string;
16417
16852
  id: string;
16418
16853
  url: string;
@@ -16627,7 +17062,7 @@ export declare const platformWebchatContract: {
16627
17062
  requestId: string;
16628
17063
  }, {
16629
17064
  data: {
16630
- 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" | "edited" | "deleted" | "unsupported";
17065
+ 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";
16631
17066
  message: string;
16632
17067
  id: string;
16633
17068
  url: string;
@@ -16758,6 +17193,7 @@ export declare const platformWebchatContract: {
16758
17193
  channelId?: string | undefined;
16759
17194
  status?: "active" | "pending" | undefined;
16760
17195
  apiKey?: string | undefined;
17196
+ tier?: "basic" | "regular" | "premium" | undefined;
16761
17197
  } | undefined;
16762
17198
  vonageCredentials?: {
16763
17199
  apiKey: string;
@@ -17125,6 +17561,23 @@ export declare const platformWebchatContract: {
17125
17561
  dateValue: Date | null;
17126
17562
  }[] | null | undefined;
17127
17563
  } | null;
17564
+ holdLogs?: {
17565
+ id: string;
17566
+ createdAt: Date;
17567
+ updatedAt: Date;
17568
+ deletedAt: Date | null;
17569
+ startedAt: string;
17570
+ endedAt: string | null;
17571
+ duration: number | null;
17572
+ holdLabel: {
17573
+ name: string;
17574
+ id: string;
17575
+ position: number;
17576
+ createdAt: Date;
17577
+ updatedAt: Date;
17578
+ deletedAt: Date | null;
17579
+ };
17580
+ }[] | null | undefined;
17128
17581
  };
17129
17582
  workflowRule: {
17130
17583
  name: string;
@@ -17153,7 +17606,7 @@ export declare const platformWebchatContract: {
17153
17606
  previewUrl: string;
17154
17607
  imageSetId: string;
17155
17608
  repliedMessage: {
17156
- 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" | "edited" | "deleted" | "unsupported";
17609
+ 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";
17157
17610
  message: string;
17158
17611
  id: string;
17159
17612
  url: string;
@@ -17364,7 +17817,7 @@ export declare const platformWebchatContract: {
17364
17817
  template?: any;
17365
17818
  metadata?: any;
17366
17819
  fromMessage?: {
17367
- 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" | "edited" | "deleted" | "unsupported";
17820
+ 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";
17368
17821
  message: string;
17369
17822
  id: string;
17370
17823
  url: string;
@@ -17495,6 +17948,7 @@ export declare const platformWebchatContract: {
17495
17948
  channelId?: string | undefined;
17496
17949
  status?: "active" | "pending" | undefined;
17497
17950
  apiKey?: string | undefined;
17951
+ tier?: "basic" | "regular" | "premium" | undefined;
17498
17952
  } | undefined;
17499
17953
  vonageCredentials?: {
17500
17954
  apiKey: string;
@@ -17862,6 +18316,23 @@ export declare const platformWebchatContract: {
17862
18316
  dateValue: Date | null;
17863
18317
  }[] | null | undefined;
17864
18318
  } | null;
18319
+ holdLogs?: {
18320
+ id: string;
18321
+ createdAt: Date;
18322
+ updatedAt: Date;
18323
+ deletedAt: Date | null;
18324
+ startedAt: string;
18325
+ endedAt: string | null;
18326
+ duration: number | null;
18327
+ holdLabel: {
18328
+ name: string;
18329
+ id: string;
18330
+ position: number;
18331
+ createdAt: Date;
18332
+ updatedAt: Date;
18333
+ deletedAt: Date | null;
18334
+ };
18335
+ }[] | null | undefined;
17865
18336
  };
17866
18337
  workflowRule: {
17867
18338
  name: string;
@@ -17890,7 +18361,7 @@ export declare const platformWebchatContract: {
17890
18361
  previewUrl: string;
17891
18362
  imageSetId: string;
17892
18363
  repliedMessage: {
17893
- 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" | "edited" | "deleted" | "unsupported";
18364
+ 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";
17894
18365
  message: string;
17895
18366
  id: string;
17896
18367
  url: string;
@@ -18249,6 +18720,7 @@ export declare const platformWebchatContract: {
18249
18720
  channelId: z.ZodOptional<z.ZodString>;
18250
18721
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18251
18722
  apiKey: z.ZodOptional<z.ZodString>;
18723
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18252
18724
  }, "strip", z.ZodTypeAny, {
18253
18725
  email: string;
18254
18726
  wabaExternalId: string;
@@ -18258,6 +18730,7 @@ export declare const platformWebchatContract: {
18258
18730
  channelId?: string | undefined;
18259
18731
  status?: "active" | "pending" | undefined;
18260
18732
  apiKey?: string | undefined;
18733
+ tier?: "basic" | "regular" | "premium" | undefined;
18261
18734
  }, {
18262
18735
  email: string;
18263
18736
  wabaExternalId: string;
@@ -18267,6 +18740,7 @@ export declare const platformWebchatContract: {
18267
18740
  channelId?: string | undefined;
18268
18741
  status?: "active" | "pending" | undefined;
18269
18742
  apiKey?: string | undefined;
18743
+ tier?: "basic" | "regular" | "premium" | undefined;
18270
18744
  }>>;
18271
18745
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18272
18746
  mobileNumber: z.ZodString;
@@ -18299,6 +18773,7 @@ export declare const platformWebchatContract: {
18299
18773
  channelId?: string | undefined;
18300
18774
  status?: "active" | "pending" | undefined;
18301
18775
  apiKey?: string | undefined;
18776
+ tier?: "basic" | "regular" | "premium" | undefined;
18302
18777
  } | undefined;
18303
18778
  vonageCredentials?: {
18304
18779
  apiKey: string;
@@ -18323,6 +18798,7 @@ export declare const platformWebchatContract: {
18323
18798
  channelId?: string | undefined;
18324
18799
  status?: "active" | "pending" | undefined;
18325
18800
  apiKey?: string | undefined;
18801
+ tier?: "basic" | "regular" | "premium" | undefined;
18326
18802
  } | undefined;
18327
18803
  vonageCredentials?: {
18328
18804
  apiKey: string;
@@ -18581,6 +19057,7 @@ export declare const platformWebchatContract: {
18581
19057
  channelId?: string | undefined;
18582
19058
  status?: "active" | "pending" | undefined;
18583
19059
  apiKey?: string | undefined;
19060
+ tier?: "basic" | "regular" | "premium" | undefined;
18584
19061
  } | undefined;
18585
19062
  vonageCredentials?: {
18586
19063
  apiKey: string;
@@ -18670,6 +19147,7 @@ export declare const platformWebchatContract: {
18670
19147
  channelId?: string | undefined;
18671
19148
  status?: "active" | "pending" | undefined;
18672
19149
  apiKey?: string | undefined;
19150
+ tier?: "basic" | "regular" | "premium" | undefined;
18673
19151
  } | undefined;
18674
19152
  vonageCredentials?: {
18675
19153
  apiKey: string;
@@ -18761,6 +19239,7 @@ export declare const platformWebchatContract: {
18761
19239
  channelId?: string | undefined;
18762
19240
  status?: "active" | "pending" | undefined;
18763
19241
  apiKey?: string | undefined;
19242
+ tier?: "basic" | "regular" | "premium" | undefined;
18764
19243
  } | undefined;
18765
19244
  vonageCredentials?: {
18766
19245
  apiKey: string;
@@ -18853,6 +19332,7 @@ export declare const platformWebchatContract: {
18853
19332
  channelId?: string | undefined;
18854
19333
  status?: "active" | "pending" | undefined;
18855
19334
  apiKey?: string | undefined;
19335
+ tier?: "basic" | "regular" | "premium" | undefined;
18856
19336
  } | undefined;
18857
19337
  vonageCredentials?: {
18858
19338
  apiKey: string;
@@ -18948,5 +19428,1051 @@ export declare const platformWebchatContract: {
18948
19428
  };
18949
19429
  path: "/connect";
18950
19430
  };
19431
+ disconnectToService: {
19432
+ body: z.ZodObject<{
19433
+ id: z.ZodString;
19434
+ }, "strip", z.ZodTypeAny, {
19435
+ id: string;
19436
+ }, {
19437
+ id: string;
19438
+ }>;
19439
+ method: "POST";
19440
+ responses: {
19441
+ 200: z.ZodObject<{
19442
+ requestId: z.ZodString;
19443
+ data: z.ZodObject<{
19444
+ id: z.ZodString;
19445
+ name: z.ZodString;
19446
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19447
+ metadata: z.ZodObject<{
19448
+ id: z.ZodString;
19449
+ name: z.ZodString;
19450
+ accessToken: z.ZodOptional<z.ZodString>;
19451
+ channelSecret: z.ZodOptional<z.ZodString>;
19452
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
19453
+ senderId: z.ZodOptional<z.ZodString>;
19454
+ whatsapp: z.ZodOptional<z.ZodObject<{
19455
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19456
+ wabaExternalId: z.ZodString;
19457
+ phoneNumberId: z.ZodString;
19458
+ email: z.ZodString;
19459
+ clientId: z.ZodOptional<z.ZodString>;
19460
+ channelId: z.ZodOptional<z.ZodString>;
19461
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19462
+ apiKey: z.ZodOptional<z.ZodString>;
19463
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19464
+ }, "strip", z.ZodTypeAny, {
19465
+ email: string;
19466
+ wabaExternalId: string;
19467
+ phoneNumberId: string;
19468
+ wabaBusinessId?: string | undefined;
19469
+ clientId?: string | undefined;
19470
+ channelId?: string | undefined;
19471
+ status?: "active" | "pending" | undefined;
19472
+ apiKey?: string | undefined;
19473
+ tier?: "basic" | "regular" | "premium" | undefined;
19474
+ }, {
19475
+ email: string;
19476
+ wabaExternalId: string;
19477
+ phoneNumberId: string;
19478
+ wabaBusinessId?: string | undefined;
19479
+ clientId?: string | undefined;
19480
+ channelId?: string | undefined;
19481
+ status?: "active" | "pending" | undefined;
19482
+ apiKey?: string | undefined;
19483
+ tier?: "basic" | "regular" | "premium" | undefined;
19484
+ }>>;
19485
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
19486
+ mobileNumber: z.ZodString;
19487
+ apiKey: z.ZodString;
19488
+ apiSecret: z.ZodString;
19489
+ }, "strip", z.ZodTypeAny, {
19490
+ apiKey: string;
19491
+ mobileNumber: string;
19492
+ apiSecret: string;
19493
+ }, {
19494
+ apiKey: string;
19495
+ mobileNumber: string;
19496
+ apiSecret: string;
19497
+ }>>;
19498
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19499
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19500
+ }, "strip", z.ZodTypeAny, {
19501
+ name: string;
19502
+ id: string;
19503
+ accessToken?: string | undefined;
19504
+ channelSecret?: string | undefined;
19505
+ additionalCredentials?: any;
19506
+ senderId?: string | undefined;
19507
+ whatsapp?: {
19508
+ email: string;
19509
+ wabaExternalId: string;
19510
+ phoneNumberId: string;
19511
+ wabaBusinessId?: string | undefined;
19512
+ clientId?: string | undefined;
19513
+ channelId?: string | undefined;
19514
+ status?: "active" | "pending" | undefined;
19515
+ apiKey?: string | undefined;
19516
+ tier?: "basic" | "regular" | "premium" | undefined;
19517
+ } | undefined;
19518
+ vonageCredentials?: {
19519
+ apiKey: string;
19520
+ mobileNumber: string;
19521
+ apiSecret: string;
19522
+ } | undefined;
19523
+ lineRichMenuId?: string | null | undefined;
19524
+ messengerIntegrationType?: "own" | "business" | undefined;
19525
+ }, {
19526
+ name: string;
19527
+ id: string;
19528
+ accessToken?: string | undefined;
19529
+ channelSecret?: string | undefined;
19530
+ additionalCredentials?: any;
19531
+ senderId?: string | undefined;
19532
+ whatsapp?: {
19533
+ email: string;
19534
+ wabaExternalId: string;
19535
+ phoneNumberId: string;
19536
+ wabaBusinessId?: string | undefined;
19537
+ clientId?: string | undefined;
19538
+ channelId?: string | undefined;
19539
+ status?: "active" | "pending" | undefined;
19540
+ apiKey?: string | undefined;
19541
+ tier?: "basic" | "regular" | "premium" | undefined;
19542
+ } | undefined;
19543
+ vonageCredentials?: {
19544
+ apiKey: string;
19545
+ mobileNumber: string;
19546
+ apiSecret: string;
19547
+ } | undefined;
19548
+ lineRichMenuId?: string | null | undefined;
19549
+ messengerIntegrationType?: "own" | "business" | undefined;
19550
+ }>;
19551
+ platformId: z.ZodString;
19552
+ brandName: z.ZodString;
19553
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19554
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19555
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19556
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19557
+ actor: z.ZodOptional<z.ZodObject<{
19558
+ id: z.ZodString;
19559
+ name: z.ZodString;
19560
+ email: z.ZodString;
19561
+ address: z.ZodNullable<z.ZodString>;
19562
+ phone: z.ZodNullable<z.ZodString>;
19563
+ }, "strip", z.ZodTypeAny, {
19564
+ name: string;
19565
+ id: string;
19566
+ address: string | null;
19567
+ email: string;
19568
+ phone: string | null;
19569
+ }, {
19570
+ name: string;
19571
+ id: string;
19572
+ address: string | null;
19573
+ email: string;
19574
+ phone: string | null;
19575
+ }>>;
19576
+ }, "strip", z.ZodTypeAny, {
19577
+ name: string;
19578
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19579
+ id: string;
19580
+ metadata: {
19581
+ name: string;
19582
+ id: string;
19583
+ accessToken?: string | undefined;
19584
+ channelSecret?: string | undefined;
19585
+ additionalCredentials?: any;
19586
+ senderId?: string | undefined;
19587
+ whatsapp?: {
19588
+ email: string;
19589
+ wabaExternalId: string;
19590
+ phoneNumberId: string;
19591
+ wabaBusinessId?: string | undefined;
19592
+ clientId?: string | undefined;
19593
+ channelId?: string | undefined;
19594
+ status?: "active" | "pending" | undefined;
19595
+ apiKey?: string | undefined;
19596
+ tier?: "basic" | "regular" | "premium" | undefined;
19597
+ } | undefined;
19598
+ vonageCredentials?: {
19599
+ apiKey: string;
19600
+ mobileNumber: string;
19601
+ apiSecret: string;
19602
+ } | undefined;
19603
+ lineRichMenuId?: string | null | undefined;
19604
+ messengerIntegrationType?: "own" | "business" | undefined;
19605
+ };
19606
+ status: boolean;
19607
+ brandName: string;
19608
+ platformId: string;
19609
+ connectedUserName?: string | null | undefined;
19610
+ connectedUserId?: string | null | undefined;
19611
+ lineRichMenuId?: string | null | undefined;
19612
+ actor?: {
19613
+ name: string;
19614
+ id: string;
19615
+ address: string | null;
19616
+ email: string;
19617
+ phone: string | null;
19618
+ } | undefined;
19619
+ }, {
19620
+ name: string;
19621
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19622
+ id: string;
19623
+ metadata: {
19624
+ name: string;
19625
+ id: string;
19626
+ accessToken?: string | undefined;
19627
+ channelSecret?: string | undefined;
19628
+ additionalCredentials?: any;
19629
+ senderId?: string | undefined;
19630
+ whatsapp?: {
19631
+ email: string;
19632
+ wabaExternalId: string;
19633
+ phoneNumberId: string;
19634
+ wabaBusinessId?: string | undefined;
19635
+ clientId?: string | undefined;
19636
+ channelId?: string | undefined;
19637
+ status?: "active" | "pending" | undefined;
19638
+ apiKey?: string | undefined;
19639
+ tier?: "basic" | "regular" | "premium" | undefined;
19640
+ } | undefined;
19641
+ vonageCredentials?: {
19642
+ apiKey: string;
19643
+ mobileNumber: string;
19644
+ apiSecret: string;
19645
+ } | undefined;
19646
+ lineRichMenuId?: string | null | undefined;
19647
+ messengerIntegrationType?: "own" | "business" | undefined;
19648
+ };
19649
+ status: boolean;
19650
+ brandName: string;
19651
+ platformId: string;
19652
+ connectedUserName?: string | null | undefined;
19653
+ connectedUserId?: string | null | undefined;
19654
+ lineRichMenuId?: string | null | undefined;
19655
+ actor?: {
19656
+ name: string;
19657
+ id: string;
19658
+ address: string | null;
19659
+ email: string;
19660
+ phone: string | null;
19661
+ } | undefined;
19662
+ }>;
19663
+ }, "strip", z.ZodTypeAny, {
19664
+ data: {
19665
+ name: string;
19666
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19667
+ id: string;
19668
+ metadata: {
19669
+ name: string;
19670
+ id: string;
19671
+ accessToken?: string | undefined;
19672
+ channelSecret?: string | undefined;
19673
+ additionalCredentials?: any;
19674
+ senderId?: string | undefined;
19675
+ whatsapp?: {
19676
+ email: string;
19677
+ wabaExternalId: string;
19678
+ phoneNumberId: string;
19679
+ wabaBusinessId?: string | undefined;
19680
+ clientId?: string | undefined;
19681
+ channelId?: string | undefined;
19682
+ status?: "active" | "pending" | undefined;
19683
+ apiKey?: string | undefined;
19684
+ tier?: "basic" | "regular" | "premium" | undefined;
19685
+ } | undefined;
19686
+ vonageCredentials?: {
19687
+ apiKey: string;
19688
+ mobileNumber: string;
19689
+ apiSecret: string;
19690
+ } | undefined;
19691
+ lineRichMenuId?: string | null | undefined;
19692
+ messengerIntegrationType?: "own" | "business" | undefined;
19693
+ };
19694
+ status: boolean;
19695
+ brandName: string;
19696
+ platformId: string;
19697
+ connectedUserName?: string | null | undefined;
19698
+ connectedUserId?: string | null | undefined;
19699
+ lineRichMenuId?: string | null | undefined;
19700
+ actor?: {
19701
+ name: string;
19702
+ id: string;
19703
+ address: string | null;
19704
+ email: string;
19705
+ phone: string | null;
19706
+ } | undefined;
19707
+ };
19708
+ requestId: string;
19709
+ }, {
19710
+ data: {
19711
+ name: string;
19712
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19713
+ id: string;
19714
+ metadata: {
19715
+ name: string;
19716
+ id: string;
19717
+ accessToken?: string | undefined;
19718
+ channelSecret?: string | undefined;
19719
+ additionalCredentials?: any;
19720
+ senderId?: string | undefined;
19721
+ whatsapp?: {
19722
+ email: string;
19723
+ wabaExternalId: string;
19724
+ phoneNumberId: string;
19725
+ wabaBusinessId?: string | undefined;
19726
+ clientId?: string | undefined;
19727
+ channelId?: string | undefined;
19728
+ status?: "active" | "pending" | undefined;
19729
+ apiKey?: string | undefined;
19730
+ tier?: "basic" | "regular" | "premium" | undefined;
19731
+ } | undefined;
19732
+ vonageCredentials?: {
19733
+ apiKey: string;
19734
+ mobileNumber: string;
19735
+ apiSecret: string;
19736
+ } | undefined;
19737
+ lineRichMenuId?: string | null | undefined;
19738
+ messengerIntegrationType?: "own" | "business" | undefined;
19739
+ };
19740
+ status: boolean;
19741
+ brandName: string;
19742
+ platformId: string;
19743
+ connectedUserName?: string | null | undefined;
19744
+ connectedUserId?: string | null | undefined;
19745
+ lineRichMenuId?: string | null | undefined;
19746
+ actor?: {
19747
+ name: string;
19748
+ id: string;
19749
+ address: string | null;
19750
+ email: string;
19751
+ phone: string | null;
19752
+ } | undefined;
19753
+ };
19754
+ requestId: string;
19755
+ }>;
19756
+ 500: z.ZodObject<{
19757
+ message: z.ZodString;
19758
+ error: z.ZodAny;
19759
+ }, "strip", z.ZodTypeAny, {
19760
+ message: string;
19761
+ error?: any;
19762
+ }, {
19763
+ message: string;
19764
+ error?: any;
19765
+ }>;
19766
+ 400: z.ZodObject<{
19767
+ message: z.ZodString;
19768
+ error: z.ZodAny;
19769
+ }, "strip", z.ZodTypeAny, {
19770
+ message: string;
19771
+ error?: any;
19772
+ }, {
19773
+ message: string;
19774
+ error?: any;
19775
+ }>;
19776
+ };
19777
+ path: "/disconnect";
19778
+ };
19779
+ reconnect: {
19780
+ body: null;
19781
+ method: "POST";
19782
+ pathParams: z.ZodObject<{
19783
+ channelId: z.ZodString;
19784
+ }, "strip", z.ZodTypeAny, {
19785
+ channelId: string;
19786
+ }, {
19787
+ channelId: string;
19788
+ }>;
19789
+ responses: {
19790
+ 200: z.ZodObject<{
19791
+ requestId: z.ZodString;
19792
+ data: z.ZodObject<{
19793
+ id: z.ZodString;
19794
+ name: z.ZodString;
19795
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19796
+ metadata: z.ZodObject<{
19797
+ id: z.ZodString;
19798
+ name: z.ZodString;
19799
+ accessToken: z.ZodOptional<z.ZodString>;
19800
+ channelSecret: z.ZodOptional<z.ZodString>;
19801
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
19802
+ senderId: z.ZodOptional<z.ZodString>;
19803
+ whatsapp: z.ZodOptional<z.ZodObject<{
19804
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19805
+ wabaExternalId: z.ZodString;
19806
+ phoneNumberId: z.ZodString;
19807
+ email: z.ZodString;
19808
+ clientId: z.ZodOptional<z.ZodString>;
19809
+ channelId: z.ZodOptional<z.ZodString>;
19810
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19811
+ apiKey: z.ZodOptional<z.ZodString>;
19812
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19813
+ }, "strip", z.ZodTypeAny, {
19814
+ email: string;
19815
+ wabaExternalId: string;
19816
+ phoneNumberId: string;
19817
+ wabaBusinessId?: string | undefined;
19818
+ clientId?: string | undefined;
19819
+ channelId?: string | undefined;
19820
+ status?: "active" | "pending" | undefined;
19821
+ apiKey?: string | undefined;
19822
+ tier?: "basic" | "regular" | "premium" | undefined;
19823
+ }, {
19824
+ email: string;
19825
+ wabaExternalId: string;
19826
+ phoneNumberId: string;
19827
+ wabaBusinessId?: string | undefined;
19828
+ clientId?: string | undefined;
19829
+ channelId?: string | undefined;
19830
+ status?: "active" | "pending" | undefined;
19831
+ apiKey?: string | undefined;
19832
+ tier?: "basic" | "regular" | "premium" | undefined;
19833
+ }>>;
19834
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
19835
+ mobileNumber: z.ZodString;
19836
+ apiKey: z.ZodString;
19837
+ apiSecret: z.ZodString;
19838
+ }, "strip", z.ZodTypeAny, {
19839
+ apiKey: string;
19840
+ mobileNumber: string;
19841
+ apiSecret: string;
19842
+ }, {
19843
+ apiKey: string;
19844
+ mobileNumber: string;
19845
+ apiSecret: string;
19846
+ }>>;
19847
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19848
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19849
+ }, "strip", z.ZodTypeAny, {
19850
+ name: string;
19851
+ id: string;
19852
+ accessToken?: string | undefined;
19853
+ channelSecret?: string | undefined;
19854
+ additionalCredentials?: any;
19855
+ senderId?: string | undefined;
19856
+ whatsapp?: {
19857
+ email: string;
19858
+ wabaExternalId: string;
19859
+ phoneNumberId: string;
19860
+ wabaBusinessId?: string | undefined;
19861
+ clientId?: string | undefined;
19862
+ channelId?: string | undefined;
19863
+ status?: "active" | "pending" | undefined;
19864
+ apiKey?: string | undefined;
19865
+ tier?: "basic" | "regular" | "premium" | undefined;
19866
+ } | undefined;
19867
+ vonageCredentials?: {
19868
+ apiKey: string;
19869
+ mobileNumber: string;
19870
+ apiSecret: string;
19871
+ } | undefined;
19872
+ lineRichMenuId?: string | null | undefined;
19873
+ messengerIntegrationType?: "own" | "business" | undefined;
19874
+ }, {
19875
+ name: string;
19876
+ id: string;
19877
+ accessToken?: string | undefined;
19878
+ channelSecret?: string | undefined;
19879
+ additionalCredentials?: any;
19880
+ senderId?: string | undefined;
19881
+ whatsapp?: {
19882
+ email: string;
19883
+ wabaExternalId: string;
19884
+ phoneNumberId: string;
19885
+ wabaBusinessId?: string | undefined;
19886
+ clientId?: string | undefined;
19887
+ channelId?: string | undefined;
19888
+ status?: "active" | "pending" | undefined;
19889
+ apiKey?: string | undefined;
19890
+ tier?: "basic" | "regular" | "premium" | undefined;
19891
+ } | undefined;
19892
+ vonageCredentials?: {
19893
+ apiKey: string;
19894
+ mobileNumber: string;
19895
+ apiSecret: string;
19896
+ } | undefined;
19897
+ lineRichMenuId?: string | null | undefined;
19898
+ messengerIntegrationType?: "own" | "business" | undefined;
19899
+ }>;
19900
+ platformId: z.ZodString;
19901
+ brandName: z.ZodString;
19902
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19903
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19904
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19905
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19906
+ actor: z.ZodOptional<z.ZodObject<{
19907
+ id: z.ZodString;
19908
+ name: z.ZodString;
19909
+ email: z.ZodString;
19910
+ address: z.ZodNullable<z.ZodString>;
19911
+ phone: z.ZodNullable<z.ZodString>;
19912
+ }, "strip", z.ZodTypeAny, {
19913
+ name: string;
19914
+ id: string;
19915
+ address: string | null;
19916
+ email: string;
19917
+ phone: string | null;
19918
+ }, {
19919
+ name: string;
19920
+ id: string;
19921
+ address: string | null;
19922
+ email: string;
19923
+ phone: string | null;
19924
+ }>>;
19925
+ }, "strip", z.ZodTypeAny, {
19926
+ name: string;
19927
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19928
+ id: string;
19929
+ metadata: {
19930
+ name: string;
19931
+ id: string;
19932
+ accessToken?: string | undefined;
19933
+ channelSecret?: string | undefined;
19934
+ additionalCredentials?: any;
19935
+ senderId?: string | undefined;
19936
+ whatsapp?: {
19937
+ email: string;
19938
+ wabaExternalId: string;
19939
+ phoneNumberId: string;
19940
+ wabaBusinessId?: string | undefined;
19941
+ clientId?: string | undefined;
19942
+ channelId?: string | undefined;
19943
+ status?: "active" | "pending" | undefined;
19944
+ apiKey?: string | undefined;
19945
+ tier?: "basic" | "regular" | "premium" | undefined;
19946
+ } | undefined;
19947
+ vonageCredentials?: {
19948
+ apiKey: string;
19949
+ mobileNumber: string;
19950
+ apiSecret: string;
19951
+ } | undefined;
19952
+ lineRichMenuId?: string | null | undefined;
19953
+ messengerIntegrationType?: "own" | "business" | undefined;
19954
+ };
19955
+ status: boolean;
19956
+ brandName: string;
19957
+ platformId: string;
19958
+ connectedUserName?: string | null | undefined;
19959
+ connectedUserId?: string | null | undefined;
19960
+ lineRichMenuId?: string | null | undefined;
19961
+ actor?: {
19962
+ name: string;
19963
+ id: string;
19964
+ address: string | null;
19965
+ email: string;
19966
+ phone: string | null;
19967
+ } | undefined;
19968
+ }, {
19969
+ name: string;
19970
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19971
+ id: string;
19972
+ metadata: {
19973
+ name: string;
19974
+ id: string;
19975
+ accessToken?: string | undefined;
19976
+ channelSecret?: string | undefined;
19977
+ additionalCredentials?: any;
19978
+ senderId?: string | undefined;
19979
+ whatsapp?: {
19980
+ email: string;
19981
+ wabaExternalId: string;
19982
+ phoneNumberId: string;
19983
+ wabaBusinessId?: string | undefined;
19984
+ clientId?: string | undefined;
19985
+ channelId?: string | undefined;
19986
+ status?: "active" | "pending" | undefined;
19987
+ apiKey?: string | undefined;
19988
+ tier?: "basic" | "regular" | "premium" | undefined;
19989
+ } | undefined;
19990
+ vonageCredentials?: {
19991
+ apiKey: string;
19992
+ mobileNumber: string;
19993
+ apiSecret: string;
19994
+ } | undefined;
19995
+ lineRichMenuId?: string | null | undefined;
19996
+ messengerIntegrationType?: "own" | "business" | undefined;
19997
+ };
19998
+ status: boolean;
19999
+ brandName: string;
20000
+ platformId: string;
20001
+ connectedUserName?: string | null | undefined;
20002
+ connectedUserId?: string | null | undefined;
20003
+ lineRichMenuId?: string | null | undefined;
20004
+ actor?: {
20005
+ name: string;
20006
+ id: string;
20007
+ address: string | null;
20008
+ email: string;
20009
+ phone: string | null;
20010
+ } | undefined;
20011
+ }>;
20012
+ }, "strip", z.ZodTypeAny, {
20013
+ data: {
20014
+ name: string;
20015
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20016
+ id: string;
20017
+ metadata: {
20018
+ name: string;
20019
+ id: string;
20020
+ accessToken?: string | undefined;
20021
+ channelSecret?: string | undefined;
20022
+ additionalCredentials?: any;
20023
+ senderId?: string | undefined;
20024
+ whatsapp?: {
20025
+ email: string;
20026
+ wabaExternalId: string;
20027
+ phoneNumberId: string;
20028
+ wabaBusinessId?: string | undefined;
20029
+ clientId?: string | undefined;
20030
+ channelId?: string | undefined;
20031
+ status?: "active" | "pending" | undefined;
20032
+ apiKey?: string | undefined;
20033
+ tier?: "basic" | "regular" | "premium" | undefined;
20034
+ } | undefined;
20035
+ vonageCredentials?: {
20036
+ apiKey: string;
20037
+ mobileNumber: string;
20038
+ apiSecret: string;
20039
+ } | undefined;
20040
+ lineRichMenuId?: string | null | undefined;
20041
+ messengerIntegrationType?: "own" | "business" | undefined;
20042
+ };
20043
+ status: boolean;
20044
+ brandName: string;
20045
+ platformId: string;
20046
+ connectedUserName?: string | null | undefined;
20047
+ connectedUserId?: string | null | undefined;
20048
+ lineRichMenuId?: string | null | undefined;
20049
+ actor?: {
20050
+ name: string;
20051
+ id: string;
20052
+ address: string | null;
20053
+ email: string;
20054
+ phone: string | null;
20055
+ } | undefined;
20056
+ };
20057
+ requestId: string;
20058
+ }, {
20059
+ data: {
20060
+ name: string;
20061
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20062
+ id: string;
20063
+ metadata: {
20064
+ name: string;
20065
+ id: string;
20066
+ accessToken?: string | undefined;
20067
+ channelSecret?: string | undefined;
20068
+ additionalCredentials?: any;
20069
+ senderId?: string | undefined;
20070
+ whatsapp?: {
20071
+ email: string;
20072
+ wabaExternalId: string;
20073
+ phoneNumberId: string;
20074
+ wabaBusinessId?: string | undefined;
20075
+ clientId?: string | undefined;
20076
+ channelId?: string | undefined;
20077
+ status?: "active" | "pending" | undefined;
20078
+ apiKey?: string | undefined;
20079
+ tier?: "basic" | "regular" | "premium" | undefined;
20080
+ } | undefined;
20081
+ vonageCredentials?: {
20082
+ apiKey: string;
20083
+ mobileNumber: string;
20084
+ apiSecret: string;
20085
+ } | undefined;
20086
+ lineRichMenuId?: string | null | undefined;
20087
+ messengerIntegrationType?: "own" | "business" | undefined;
20088
+ };
20089
+ status: boolean;
20090
+ brandName: string;
20091
+ platformId: string;
20092
+ connectedUserName?: string | null | undefined;
20093
+ connectedUserId?: string | null | undefined;
20094
+ lineRichMenuId?: string | null | undefined;
20095
+ actor?: {
20096
+ name: string;
20097
+ id: string;
20098
+ address: string | null;
20099
+ email: string;
20100
+ phone: string | null;
20101
+ } | undefined;
20102
+ };
20103
+ requestId: string;
20104
+ }>;
20105
+ 500: z.ZodObject<{
20106
+ message: z.ZodString;
20107
+ error: z.ZodAny;
20108
+ }, "strip", z.ZodTypeAny, {
20109
+ message: string;
20110
+ error?: any;
20111
+ }, {
20112
+ message: string;
20113
+ error?: any;
20114
+ }>;
20115
+ 400: z.ZodObject<{
20116
+ message: z.ZodString;
20117
+ error: z.ZodAny;
20118
+ }, "strip", z.ZodTypeAny, {
20119
+ message: string;
20120
+ error?: any;
20121
+ }, {
20122
+ message: string;
20123
+ error?: any;
20124
+ }>;
20125
+ };
20126
+ path: "/reconnect/:channelId";
20127
+ };
20128
+ delete: {
20129
+ body: null;
20130
+ method: "DELETE";
20131
+ pathParams: z.ZodObject<{
20132
+ channelId: z.ZodString;
20133
+ }, "strip", z.ZodTypeAny, {
20134
+ channelId: string;
20135
+ }, {
20136
+ channelId: string;
20137
+ }>;
20138
+ responses: {
20139
+ 200: z.ZodObject<{
20140
+ requestId: z.ZodString;
20141
+ data: z.ZodObject<{
20142
+ id: z.ZodString;
20143
+ name: z.ZodString;
20144
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
20145
+ metadata: z.ZodObject<{
20146
+ id: z.ZodString;
20147
+ name: z.ZodString;
20148
+ accessToken: z.ZodOptional<z.ZodString>;
20149
+ channelSecret: z.ZodOptional<z.ZodString>;
20150
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
20151
+ senderId: z.ZodOptional<z.ZodString>;
20152
+ whatsapp: z.ZodOptional<z.ZodObject<{
20153
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
20154
+ wabaExternalId: z.ZodString;
20155
+ phoneNumberId: z.ZodString;
20156
+ email: z.ZodString;
20157
+ clientId: z.ZodOptional<z.ZodString>;
20158
+ channelId: z.ZodOptional<z.ZodString>;
20159
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
20160
+ apiKey: z.ZodOptional<z.ZodString>;
20161
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
20162
+ }, "strip", z.ZodTypeAny, {
20163
+ email: string;
20164
+ wabaExternalId: string;
20165
+ phoneNumberId: string;
20166
+ wabaBusinessId?: string | undefined;
20167
+ clientId?: string | undefined;
20168
+ channelId?: string | undefined;
20169
+ status?: "active" | "pending" | undefined;
20170
+ apiKey?: string | undefined;
20171
+ tier?: "basic" | "regular" | "premium" | undefined;
20172
+ }, {
20173
+ email: string;
20174
+ wabaExternalId: string;
20175
+ phoneNumberId: string;
20176
+ wabaBusinessId?: string | undefined;
20177
+ clientId?: string | undefined;
20178
+ channelId?: string | undefined;
20179
+ status?: "active" | "pending" | undefined;
20180
+ apiKey?: string | undefined;
20181
+ tier?: "basic" | "regular" | "premium" | undefined;
20182
+ }>>;
20183
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
20184
+ mobileNumber: z.ZodString;
20185
+ apiKey: z.ZodString;
20186
+ apiSecret: z.ZodString;
20187
+ }, "strip", z.ZodTypeAny, {
20188
+ apiKey: string;
20189
+ mobileNumber: string;
20190
+ apiSecret: string;
20191
+ }, {
20192
+ apiKey: string;
20193
+ mobileNumber: string;
20194
+ apiSecret: string;
20195
+ }>>;
20196
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20197
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
20198
+ }, "strip", z.ZodTypeAny, {
20199
+ name: string;
20200
+ id: string;
20201
+ accessToken?: string | undefined;
20202
+ channelSecret?: string | undefined;
20203
+ additionalCredentials?: any;
20204
+ senderId?: string | undefined;
20205
+ whatsapp?: {
20206
+ email: string;
20207
+ wabaExternalId: string;
20208
+ phoneNumberId: string;
20209
+ wabaBusinessId?: string | undefined;
20210
+ clientId?: string | undefined;
20211
+ channelId?: string | undefined;
20212
+ status?: "active" | "pending" | undefined;
20213
+ apiKey?: string | undefined;
20214
+ tier?: "basic" | "regular" | "premium" | undefined;
20215
+ } | undefined;
20216
+ vonageCredentials?: {
20217
+ apiKey: string;
20218
+ mobileNumber: string;
20219
+ apiSecret: string;
20220
+ } | undefined;
20221
+ lineRichMenuId?: string | null | undefined;
20222
+ messengerIntegrationType?: "own" | "business" | undefined;
20223
+ }, {
20224
+ name: string;
20225
+ id: string;
20226
+ accessToken?: string | undefined;
20227
+ channelSecret?: string | undefined;
20228
+ additionalCredentials?: any;
20229
+ senderId?: string | undefined;
20230
+ whatsapp?: {
20231
+ email: string;
20232
+ wabaExternalId: string;
20233
+ phoneNumberId: string;
20234
+ wabaBusinessId?: string | undefined;
20235
+ clientId?: string | undefined;
20236
+ channelId?: string | undefined;
20237
+ status?: "active" | "pending" | undefined;
20238
+ apiKey?: string | undefined;
20239
+ tier?: "basic" | "regular" | "premium" | undefined;
20240
+ } | undefined;
20241
+ vonageCredentials?: {
20242
+ apiKey: string;
20243
+ mobileNumber: string;
20244
+ apiSecret: string;
20245
+ } | undefined;
20246
+ lineRichMenuId?: string | null | undefined;
20247
+ messengerIntegrationType?: "own" | "business" | undefined;
20248
+ }>;
20249
+ platformId: z.ZodString;
20250
+ brandName: z.ZodString;
20251
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
20252
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20253
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20254
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
20255
+ actor: z.ZodOptional<z.ZodObject<{
20256
+ id: z.ZodString;
20257
+ name: z.ZodString;
20258
+ email: z.ZodString;
20259
+ address: z.ZodNullable<z.ZodString>;
20260
+ phone: z.ZodNullable<z.ZodString>;
20261
+ }, "strip", z.ZodTypeAny, {
20262
+ name: string;
20263
+ id: string;
20264
+ address: string | null;
20265
+ email: string;
20266
+ phone: string | null;
20267
+ }, {
20268
+ name: string;
20269
+ id: string;
20270
+ address: string | null;
20271
+ email: string;
20272
+ phone: string | null;
20273
+ }>>;
20274
+ }, "strip", z.ZodTypeAny, {
20275
+ name: string;
20276
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20277
+ id: string;
20278
+ metadata: {
20279
+ name: string;
20280
+ id: string;
20281
+ accessToken?: string | undefined;
20282
+ channelSecret?: string | undefined;
20283
+ additionalCredentials?: any;
20284
+ senderId?: string | undefined;
20285
+ whatsapp?: {
20286
+ email: string;
20287
+ wabaExternalId: string;
20288
+ phoneNumberId: string;
20289
+ wabaBusinessId?: string | undefined;
20290
+ clientId?: string | undefined;
20291
+ channelId?: string | undefined;
20292
+ status?: "active" | "pending" | undefined;
20293
+ apiKey?: string | undefined;
20294
+ tier?: "basic" | "regular" | "premium" | undefined;
20295
+ } | undefined;
20296
+ vonageCredentials?: {
20297
+ apiKey: string;
20298
+ mobileNumber: string;
20299
+ apiSecret: string;
20300
+ } | undefined;
20301
+ lineRichMenuId?: string | null | undefined;
20302
+ messengerIntegrationType?: "own" | "business" | undefined;
20303
+ };
20304
+ status: boolean;
20305
+ brandName: string;
20306
+ platformId: string;
20307
+ connectedUserName?: string | null | undefined;
20308
+ connectedUserId?: string | null | undefined;
20309
+ lineRichMenuId?: string | null | undefined;
20310
+ actor?: {
20311
+ name: string;
20312
+ id: string;
20313
+ address: string | null;
20314
+ email: string;
20315
+ phone: string | null;
20316
+ } | undefined;
20317
+ }, {
20318
+ name: string;
20319
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20320
+ id: string;
20321
+ metadata: {
20322
+ name: string;
20323
+ id: string;
20324
+ accessToken?: string | undefined;
20325
+ channelSecret?: string | undefined;
20326
+ additionalCredentials?: any;
20327
+ senderId?: string | undefined;
20328
+ whatsapp?: {
20329
+ email: string;
20330
+ wabaExternalId: string;
20331
+ phoneNumberId: string;
20332
+ wabaBusinessId?: string | undefined;
20333
+ clientId?: string | undefined;
20334
+ channelId?: string | undefined;
20335
+ status?: "active" | "pending" | undefined;
20336
+ apiKey?: string | undefined;
20337
+ tier?: "basic" | "regular" | "premium" | undefined;
20338
+ } | undefined;
20339
+ vonageCredentials?: {
20340
+ apiKey: string;
20341
+ mobileNumber: string;
20342
+ apiSecret: string;
20343
+ } | undefined;
20344
+ lineRichMenuId?: string | null | undefined;
20345
+ messengerIntegrationType?: "own" | "business" | undefined;
20346
+ };
20347
+ status: boolean;
20348
+ brandName: string;
20349
+ platformId: string;
20350
+ connectedUserName?: string | null | undefined;
20351
+ connectedUserId?: string | null | undefined;
20352
+ lineRichMenuId?: string | null | undefined;
20353
+ actor?: {
20354
+ name: string;
20355
+ id: string;
20356
+ address: string | null;
20357
+ email: string;
20358
+ phone: string | null;
20359
+ } | undefined;
20360
+ }>;
20361
+ }, "strip", z.ZodTypeAny, {
20362
+ data: {
20363
+ name: string;
20364
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20365
+ id: string;
20366
+ metadata: {
20367
+ name: string;
20368
+ id: string;
20369
+ accessToken?: string | undefined;
20370
+ channelSecret?: string | undefined;
20371
+ additionalCredentials?: any;
20372
+ senderId?: string | undefined;
20373
+ whatsapp?: {
20374
+ email: string;
20375
+ wabaExternalId: string;
20376
+ phoneNumberId: string;
20377
+ wabaBusinessId?: string | undefined;
20378
+ clientId?: string | undefined;
20379
+ channelId?: string | undefined;
20380
+ status?: "active" | "pending" | undefined;
20381
+ apiKey?: string | undefined;
20382
+ tier?: "basic" | "regular" | "premium" | undefined;
20383
+ } | undefined;
20384
+ vonageCredentials?: {
20385
+ apiKey: string;
20386
+ mobileNumber: string;
20387
+ apiSecret: string;
20388
+ } | undefined;
20389
+ lineRichMenuId?: string | null | undefined;
20390
+ messengerIntegrationType?: "own" | "business" | undefined;
20391
+ };
20392
+ status: boolean;
20393
+ brandName: string;
20394
+ platformId: string;
20395
+ connectedUserName?: string | null | undefined;
20396
+ connectedUserId?: string | null | undefined;
20397
+ lineRichMenuId?: string | null | undefined;
20398
+ actor?: {
20399
+ name: string;
20400
+ id: string;
20401
+ address: string | null;
20402
+ email: string;
20403
+ phone: string | null;
20404
+ } | undefined;
20405
+ };
20406
+ requestId: string;
20407
+ }, {
20408
+ data: {
20409
+ name: string;
20410
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
20411
+ id: string;
20412
+ metadata: {
20413
+ name: string;
20414
+ id: string;
20415
+ accessToken?: string | undefined;
20416
+ channelSecret?: string | undefined;
20417
+ additionalCredentials?: any;
20418
+ senderId?: string | undefined;
20419
+ whatsapp?: {
20420
+ email: string;
20421
+ wabaExternalId: string;
20422
+ phoneNumberId: string;
20423
+ wabaBusinessId?: string | undefined;
20424
+ clientId?: string | undefined;
20425
+ channelId?: string | undefined;
20426
+ status?: "active" | "pending" | undefined;
20427
+ apiKey?: string | undefined;
20428
+ tier?: "basic" | "regular" | "premium" | undefined;
20429
+ } | undefined;
20430
+ vonageCredentials?: {
20431
+ apiKey: string;
20432
+ mobileNumber: string;
20433
+ apiSecret: string;
20434
+ } | undefined;
20435
+ lineRichMenuId?: string | null | undefined;
20436
+ messengerIntegrationType?: "own" | "business" | undefined;
20437
+ };
20438
+ status: boolean;
20439
+ brandName: string;
20440
+ platformId: string;
20441
+ connectedUserName?: string | null | undefined;
20442
+ connectedUserId?: string | null | undefined;
20443
+ lineRichMenuId?: string | null | undefined;
20444
+ actor?: {
20445
+ name: string;
20446
+ id: string;
20447
+ address: string | null;
20448
+ email: string;
20449
+ phone: string | null;
20450
+ } | undefined;
20451
+ };
20452
+ requestId: string;
20453
+ }>;
20454
+ 500: z.ZodObject<{
20455
+ message: z.ZodString;
20456
+ error: z.ZodAny;
20457
+ }, "strip", z.ZodTypeAny, {
20458
+ message: string;
20459
+ error?: any;
20460
+ }, {
20461
+ message: string;
20462
+ error?: any;
20463
+ }>;
20464
+ 400: z.ZodObject<{
20465
+ message: z.ZodString;
20466
+ error: z.ZodAny;
20467
+ }, "strip", z.ZodTypeAny, {
20468
+ message: string;
20469
+ error?: any;
20470
+ }, {
20471
+ message: string;
20472
+ error?: any;
20473
+ }>;
20474
+ };
20475
+ path: "/delete/:channelId";
20476
+ };
18951
20477
  };
18952
20478
  //# sourceMappingURL=index.d.ts.map