@kl1/contracts 1.1.55 → 1.1.56

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 (63) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +112 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/index.d.ts +179 -0
  4. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/schema.d.ts +12 -0
  6. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  7. package/dist/api-contracts/src/channel/validation.d.ts +14 -0
  8. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/index.d.ts +377 -0
  10. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/schema.d.ts +66 -0
  12. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  13. package/dist/api-contracts/src/chat/validation.d.ts +107 -10
  14. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  15. package/dist/api-contracts/src/contract.d.ts +1114 -40
  16. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-intelligence/index.d.ts +115 -0
  18. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  19. package/dist/api-contracts/src/cx-log/index.d.ts +13 -0
  20. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts +11 -0
  22. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/index.d.ts +139 -5
  24. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/facebook-feed/schema.d.ts +9 -0
  26. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/facebook-feed/validation.d.ts +7 -0
  28. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  29. package/dist/api-contracts/src/hold-label/index.d.ts +417 -18
  30. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/hold-label/schema.d.ts +144 -2
  32. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  34. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  35. package/dist/api-contracts/src/instagram/index.d.ts +110 -5
  36. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/line/index.d.ts +98 -5
  38. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/line/validation.d.ts +11 -0
  40. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/messenger/index.d.ts +110 -5
  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 +25 -5
  46. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/subscription/index.d.ts +184 -184
  48. package/dist/api-contracts/src/subscription/schema.d.ts +216 -216
  49. package/dist/api-contracts/src/telegram/index.d.ts +80 -5
  50. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/viber/index.d.ts +80 -5
  52. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/webchat/index.d.ts +1099 -5
  54. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  55. package/dist/api-contracts/src/whatsapp/index.d.ts +94 -5
  56. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/workflow-rule/index.d.ts +22 -0
  58. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  59. package/dist/index.js +61 -3
  60. package/dist/index.js.map +1 -1
  61. package/dist/index.mjs +61 -3
  62. package/dist/index.mjs.map +1 -1
  63. 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,11 +517,11 @@ 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>;
@@ -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,11 +772,11 @@ 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
  }, {
@@ -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
  }>;
@@ -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;
@@ -3806,6 +3824,7 @@ export declare const platformWebchatContract: {
3806
3824
  channelId?: string | undefined;
3807
3825
  status?: "active" | "pending" | undefined;
3808
3826
  apiKey?: string | undefined;
3827
+ tier?: "basic" | "regular" | "premium" | undefined;
3809
3828
  } | undefined;
3810
3829
  vonageCredentials?: {
3811
3830
  apiKey: string;
@@ -4206,6 +4225,7 @@ export declare const platformWebchatContract: {
4206
4225
  channelId?: string | undefined;
4207
4226
  status?: "active" | "pending" | undefined;
4208
4227
  apiKey?: string | undefined;
4228
+ tier?: "basic" | "regular" | "premium" | undefined;
4209
4229
  } | undefined;
4210
4230
  vonageCredentials?: {
4211
4231
  apiKey: string;
@@ -7322,6 +7342,7 @@ export declare const platformWebchatContract: {
7322
7342
  channelId: z.ZodOptional<z.ZodString>;
7323
7343
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
7324
7344
  apiKey: z.ZodOptional<z.ZodString>;
7345
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
7325
7346
  }, "strip", z.ZodTypeAny, {
7326
7347
  email: string;
7327
7348
  wabaExternalId: string;
@@ -7331,6 +7352,7 @@ export declare const platformWebchatContract: {
7331
7352
  channelId?: string | undefined;
7332
7353
  status?: "active" | "pending" | undefined;
7333
7354
  apiKey?: string | undefined;
7355
+ tier?: "basic" | "regular" | "premium" | undefined;
7334
7356
  }, {
7335
7357
  email: string;
7336
7358
  wabaExternalId: string;
@@ -7340,6 +7362,7 @@ export declare const platformWebchatContract: {
7340
7362
  channelId?: string | undefined;
7341
7363
  status?: "active" | "pending" | undefined;
7342
7364
  apiKey?: string | undefined;
7365
+ tier?: "basic" | "regular" | "premium" | undefined;
7343
7366
  }>>;
7344
7367
  vonageCredentials: z.ZodOptional<z.ZodObject<{
7345
7368
  mobileNumber: z.ZodString;
@@ -7372,6 +7395,7 @@ export declare const platformWebchatContract: {
7372
7395
  channelId?: string | undefined;
7373
7396
  status?: "active" | "pending" | undefined;
7374
7397
  apiKey?: string | undefined;
7398
+ tier?: "basic" | "regular" | "premium" | undefined;
7375
7399
  } | undefined;
7376
7400
  vonageCredentials?: {
7377
7401
  apiKey: string;
@@ -7396,6 +7420,7 @@ export declare const platformWebchatContract: {
7396
7420
  channelId?: string | undefined;
7397
7421
  status?: "active" | "pending" | undefined;
7398
7422
  apiKey?: string | undefined;
7423
+ tier?: "basic" | "regular" | "premium" | undefined;
7399
7424
  } | undefined;
7400
7425
  vonageCredentials?: {
7401
7426
  apiKey: string;
@@ -7654,6 +7679,7 @@ export declare const platformWebchatContract: {
7654
7679
  channelId?: string | undefined;
7655
7680
  status?: "active" | "pending" | undefined;
7656
7681
  apiKey?: string | undefined;
7682
+ tier?: "basic" | "regular" | "premium" | undefined;
7657
7683
  } | undefined;
7658
7684
  vonageCredentials?: {
7659
7685
  apiKey: string;
@@ -7743,6 +7769,7 @@ export declare const platformWebchatContract: {
7743
7769
  channelId?: string | undefined;
7744
7770
  status?: "active" | "pending" | undefined;
7745
7771
  apiKey?: string | undefined;
7772
+ tier?: "basic" | "regular" | "premium" | undefined;
7746
7773
  } | undefined;
7747
7774
  vonageCredentials?: {
7748
7775
  apiKey: string;
@@ -8280,6 +8307,7 @@ export declare const platformWebchatContract: {
8280
8307
  channelId?: string | undefined;
8281
8308
  status?: "active" | "pending" | undefined;
8282
8309
  apiKey?: string | undefined;
8310
+ tier?: "basic" | "regular" | "premium" | undefined;
8283
8311
  } | undefined;
8284
8312
  vonageCredentials?: {
8285
8313
  apiKey: string;
@@ -8680,6 +8708,7 @@ export declare const platformWebchatContract: {
8680
8708
  channelId?: string | undefined;
8681
8709
  status?: "active" | "pending" | undefined;
8682
8710
  apiKey?: string | undefined;
8711
+ tier?: "basic" | "regular" | "premium" | undefined;
8683
8712
  } | undefined;
8684
8713
  vonageCredentials?: {
8685
8714
  apiKey: string;
@@ -10853,6 +10882,7 @@ export declare const platformWebchatContract: {
10853
10882
  channelId?: string | undefined;
10854
10883
  status?: "active" | "pending" | undefined;
10855
10884
  apiKey?: string | undefined;
10885
+ tier?: "basic" | "regular" | "premium" | undefined;
10856
10886
  } | undefined;
10857
10887
  vonageCredentials?: {
10858
10888
  apiKey: string;
@@ -11590,6 +11620,7 @@ export declare const platformWebchatContract: {
11590
11620
  channelId?: string | undefined;
11591
11621
  status?: "active" | "pending" | undefined;
11592
11622
  apiKey?: string | undefined;
11623
+ tier?: "basic" | "regular" | "premium" | undefined;
11593
11624
  } | undefined;
11594
11625
  vonageCredentials?: {
11595
11626
  apiKey: string;
@@ -12328,6 +12359,7 @@ export declare const platformWebchatContract: {
12328
12359
  channelId?: string | undefined;
12329
12360
  status?: "active" | "pending" | undefined;
12330
12361
  apiKey?: string | undefined;
12362
+ tier?: "basic" | "regular" | "premium" | undefined;
12331
12363
  } | undefined;
12332
12364
  vonageCredentials?: {
12333
12365
  apiKey: string;
@@ -13065,6 +13097,7 @@ export declare const platformWebchatContract: {
13065
13097
  channelId?: string | undefined;
13066
13098
  status?: "active" | "pending" | undefined;
13067
13099
  apiKey?: string | undefined;
13100
+ tier?: "basic" | "regular" | "premium" | undefined;
13068
13101
  } | undefined;
13069
13102
  vonageCredentials?: {
13070
13103
  apiKey: string;
@@ -13803,6 +13836,7 @@ export declare const platformWebchatContract: {
13803
13836
  channelId?: string | undefined;
13804
13837
  status?: "active" | "pending" | undefined;
13805
13838
  apiKey?: string | undefined;
13839
+ tier?: "basic" | "regular" | "premium" | undefined;
13806
13840
  } | undefined;
13807
13841
  vonageCredentials?: {
13808
13842
  apiKey: string;
@@ -14540,6 +14574,7 @@ export declare const platformWebchatContract: {
14540
14574
  channelId?: string | undefined;
14541
14575
  status?: "active" | "pending" | undefined;
14542
14576
  apiKey?: string | undefined;
14577
+ tier?: "basic" | "regular" | "premium" | undefined;
14543
14578
  } | undefined;
14544
14579
  vonageCredentials?: {
14545
14580
  apiKey: string;
@@ -15280,6 +15315,7 @@ export declare const platformWebchatContract: {
15280
15315
  channelId?: string | undefined;
15281
15316
  status?: "active" | "pending" | undefined;
15282
15317
  apiKey?: string | undefined;
15318
+ tier?: "basic" | "regular" | "premium" | undefined;
15283
15319
  } | undefined;
15284
15320
  vonageCredentials?: {
15285
15321
  apiKey: string;
@@ -16017,6 +16053,7 @@ export declare const platformWebchatContract: {
16017
16053
  channelId?: string | undefined;
16018
16054
  status?: "active" | "pending" | undefined;
16019
16055
  apiKey?: string | undefined;
16056
+ tier?: "basic" | "regular" | "premium" | undefined;
16020
16057
  } | undefined;
16021
16058
  vonageCredentials?: {
16022
16059
  apiKey: string;
@@ -16758,6 +16795,7 @@ export declare const platformWebchatContract: {
16758
16795
  channelId?: string | undefined;
16759
16796
  status?: "active" | "pending" | undefined;
16760
16797
  apiKey?: string | undefined;
16798
+ tier?: "basic" | "regular" | "premium" | undefined;
16761
16799
  } | undefined;
16762
16800
  vonageCredentials?: {
16763
16801
  apiKey: string;
@@ -17495,6 +17533,7 @@ export declare const platformWebchatContract: {
17495
17533
  channelId?: string | undefined;
17496
17534
  status?: "active" | "pending" | undefined;
17497
17535
  apiKey?: string | undefined;
17536
+ tier?: "basic" | "regular" | "premium" | undefined;
17498
17537
  } | undefined;
17499
17538
  vonageCredentials?: {
17500
17539
  apiKey: string;
@@ -18249,6 +18288,7 @@ export declare const platformWebchatContract: {
18249
18288
  channelId: z.ZodOptional<z.ZodString>;
18250
18289
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
18251
18290
  apiKey: z.ZodOptional<z.ZodString>;
18291
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
18252
18292
  }, "strip", z.ZodTypeAny, {
18253
18293
  email: string;
18254
18294
  wabaExternalId: string;
@@ -18258,6 +18298,7 @@ export declare const platformWebchatContract: {
18258
18298
  channelId?: string | undefined;
18259
18299
  status?: "active" | "pending" | undefined;
18260
18300
  apiKey?: string | undefined;
18301
+ tier?: "basic" | "regular" | "premium" | undefined;
18261
18302
  }, {
18262
18303
  email: string;
18263
18304
  wabaExternalId: string;
@@ -18267,6 +18308,7 @@ export declare const platformWebchatContract: {
18267
18308
  channelId?: string | undefined;
18268
18309
  status?: "active" | "pending" | undefined;
18269
18310
  apiKey?: string | undefined;
18311
+ tier?: "basic" | "regular" | "premium" | undefined;
18270
18312
  }>>;
18271
18313
  vonageCredentials: z.ZodOptional<z.ZodObject<{
18272
18314
  mobileNumber: z.ZodString;
@@ -18299,6 +18341,7 @@ export declare const platformWebchatContract: {
18299
18341
  channelId?: string | undefined;
18300
18342
  status?: "active" | "pending" | undefined;
18301
18343
  apiKey?: string | undefined;
18344
+ tier?: "basic" | "regular" | "premium" | undefined;
18302
18345
  } | undefined;
18303
18346
  vonageCredentials?: {
18304
18347
  apiKey: string;
@@ -18323,6 +18366,7 @@ export declare const platformWebchatContract: {
18323
18366
  channelId?: string | undefined;
18324
18367
  status?: "active" | "pending" | undefined;
18325
18368
  apiKey?: string | undefined;
18369
+ tier?: "basic" | "regular" | "premium" | undefined;
18326
18370
  } | undefined;
18327
18371
  vonageCredentials?: {
18328
18372
  apiKey: string;
@@ -18581,6 +18625,7 @@ export declare const platformWebchatContract: {
18581
18625
  channelId?: string | undefined;
18582
18626
  status?: "active" | "pending" | undefined;
18583
18627
  apiKey?: string | undefined;
18628
+ tier?: "basic" | "regular" | "premium" | undefined;
18584
18629
  } | undefined;
18585
18630
  vonageCredentials?: {
18586
18631
  apiKey: string;
@@ -18670,6 +18715,7 @@ export declare const platformWebchatContract: {
18670
18715
  channelId?: string | undefined;
18671
18716
  status?: "active" | "pending" | undefined;
18672
18717
  apiKey?: string | undefined;
18718
+ tier?: "basic" | "regular" | "premium" | undefined;
18673
18719
  } | undefined;
18674
18720
  vonageCredentials?: {
18675
18721
  apiKey: string;
@@ -18761,6 +18807,7 @@ export declare const platformWebchatContract: {
18761
18807
  channelId?: string | undefined;
18762
18808
  status?: "active" | "pending" | undefined;
18763
18809
  apiKey?: string | undefined;
18810
+ tier?: "basic" | "regular" | "premium" | undefined;
18764
18811
  } | undefined;
18765
18812
  vonageCredentials?: {
18766
18813
  apiKey: string;
@@ -18853,6 +18900,7 @@ export declare const platformWebchatContract: {
18853
18900
  channelId?: string | undefined;
18854
18901
  status?: "active" | "pending" | undefined;
18855
18902
  apiKey?: string | undefined;
18903
+ tier?: "basic" | "regular" | "premium" | undefined;
18856
18904
  } | undefined;
18857
18905
  vonageCredentials?: {
18858
18906
  apiKey: string;
@@ -18948,5 +18996,1051 @@ export declare const platformWebchatContract: {
18948
18996
  };
18949
18997
  path: "/connect";
18950
18998
  };
18999
+ disconnectToService: {
19000
+ body: z.ZodObject<{
19001
+ id: z.ZodString;
19002
+ }, "strip", z.ZodTypeAny, {
19003
+ id: string;
19004
+ }, {
19005
+ id: string;
19006
+ }>;
19007
+ method: "POST";
19008
+ responses: {
19009
+ 200: z.ZodObject<{
19010
+ requestId: z.ZodString;
19011
+ data: z.ZodObject<{
19012
+ id: z.ZodString;
19013
+ name: z.ZodString;
19014
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19015
+ metadata: z.ZodObject<{
19016
+ id: z.ZodString;
19017
+ name: z.ZodString;
19018
+ accessToken: z.ZodOptional<z.ZodString>;
19019
+ channelSecret: z.ZodOptional<z.ZodString>;
19020
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
19021
+ senderId: z.ZodOptional<z.ZodString>;
19022
+ whatsapp: z.ZodOptional<z.ZodObject<{
19023
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19024
+ wabaExternalId: z.ZodString;
19025
+ phoneNumberId: z.ZodString;
19026
+ email: z.ZodString;
19027
+ clientId: z.ZodOptional<z.ZodString>;
19028
+ channelId: z.ZodOptional<z.ZodString>;
19029
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19030
+ apiKey: z.ZodOptional<z.ZodString>;
19031
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19032
+ }, "strip", z.ZodTypeAny, {
19033
+ email: string;
19034
+ wabaExternalId: string;
19035
+ phoneNumberId: string;
19036
+ wabaBusinessId?: string | undefined;
19037
+ clientId?: string | undefined;
19038
+ channelId?: string | undefined;
19039
+ status?: "active" | "pending" | undefined;
19040
+ apiKey?: string | undefined;
19041
+ tier?: "basic" | "regular" | "premium" | undefined;
19042
+ }, {
19043
+ email: string;
19044
+ wabaExternalId: string;
19045
+ phoneNumberId: string;
19046
+ wabaBusinessId?: string | undefined;
19047
+ clientId?: string | undefined;
19048
+ channelId?: string | undefined;
19049
+ status?: "active" | "pending" | undefined;
19050
+ apiKey?: string | undefined;
19051
+ tier?: "basic" | "regular" | "premium" | undefined;
19052
+ }>>;
19053
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
19054
+ mobileNumber: z.ZodString;
19055
+ apiKey: z.ZodString;
19056
+ apiSecret: z.ZodString;
19057
+ }, "strip", z.ZodTypeAny, {
19058
+ apiKey: string;
19059
+ mobileNumber: string;
19060
+ apiSecret: string;
19061
+ }, {
19062
+ apiKey: string;
19063
+ mobileNumber: string;
19064
+ apiSecret: string;
19065
+ }>>;
19066
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19067
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19068
+ }, "strip", z.ZodTypeAny, {
19069
+ name: string;
19070
+ id: string;
19071
+ accessToken?: string | undefined;
19072
+ channelSecret?: string | undefined;
19073
+ additionalCredentials?: any;
19074
+ senderId?: string | undefined;
19075
+ whatsapp?: {
19076
+ email: string;
19077
+ wabaExternalId: string;
19078
+ phoneNumberId: string;
19079
+ wabaBusinessId?: string | undefined;
19080
+ clientId?: string | undefined;
19081
+ channelId?: string | undefined;
19082
+ status?: "active" | "pending" | undefined;
19083
+ apiKey?: string | undefined;
19084
+ tier?: "basic" | "regular" | "premium" | undefined;
19085
+ } | undefined;
19086
+ vonageCredentials?: {
19087
+ apiKey: string;
19088
+ mobileNumber: string;
19089
+ apiSecret: string;
19090
+ } | undefined;
19091
+ lineRichMenuId?: string | null | undefined;
19092
+ messengerIntegrationType?: "own" | "business" | undefined;
19093
+ }, {
19094
+ name: string;
19095
+ id: string;
19096
+ accessToken?: string | undefined;
19097
+ channelSecret?: string | undefined;
19098
+ additionalCredentials?: any;
19099
+ senderId?: string | undefined;
19100
+ whatsapp?: {
19101
+ email: string;
19102
+ wabaExternalId: string;
19103
+ phoneNumberId: string;
19104
+ wabaBusinessId?: string | undefined;
19105
+ clientId?: string | undefined;
19106
+ channelId?: string | undefined;
19107
+ status?: "active" | "pending" | undefined;
19108
+ apiKey?: string | undefined;
19109
+ tier?: "basic" | "regular" | "premium" | undefined;
19110
+ } | undefined;
19111
+ vonageCredentials?: {
19112
+ apiKey: string;
19113
+ mobileNumber: string;
19114
+ apiSecret: string;
19115
+ } | undefined;
19116
+ lineRichMenuId?: string | null | undefined;
19117
+ messengerIntegrationType?: "own" | "business" | undefined;
19118
+ }>;
19119
+ platformId: z.ZodString;
19120
+ brandName: z.ZodString;
19121
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19122
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19123
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19124
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19125
+ actor: z.ZodOptional<z.ZodObject<{
19126
+ id: z.ZodString;
19127
+ name: z.ZodString;
19128
+ email: z.ZodString;
19129
+ address: z.ZodNullable<z.ZodString>;
19130
+ phone: z.ZodNullable<z.ZodString>;
19131
+ }, "strip", z.ZodTypeAny, {
19132
+ name: string;
19133
+ id: string;
19134
+ address: string | null;
19135
+ email: string;
19136
+ phone: string | null;
19137
+ }, {
19138
+ name: string;
19139
+ id: string;
19140
+ address: string | null;
19141
+ email: string;
19142
+ phone: string | null;
19143
+ }>>;
19144
+ }, "strip", z.ZodTypeAny, {
19145
+ name: string;
19146
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19147
+ id: string;
19148
+ metadata: {
19149
+ name: string;
19150
+ id: string;
19151
+ accessToken?: string | undefined;
19152
+ channelSecret?: string | undefined;
19153
+ additionalCredentials?: any;
19154
+ senderId?: string | undefined;
19155
+ whatsapp?: {
19156
+ email: string;
19157
+ wabaExternalId: string;
19158
+ phoneNumberId: string;
19159
+ wabaBusinessId?: string | undefined;
19160
+ clientId?: string | undefined;
19161
+ channelId?: string | undefined;
19162
+ status?: "active" | "pending" | undefined;
19163
+ apiKey?: string | undefined;
19164
+ tier?: "basic" | "regular" | "premium" | undefined;
19165
+ } | undefined;
19166
+ vonageCredentials?: {
19167
+ apiKey: string;
19168
+ mobileNumber: string;
19169
+ apiSecret: string;
19170
+ } | undefined;
19171
+ lineRichMenuId?: string | null | undefined;
19172
+ messengerIntegrationType?: "own" | "business" | undefined;
19173
+ };
19174
+ status: boolean;
19175
+ brandName: string;
19176
+ platformId: string;
19177
+ connectedUserName?: string | null | undefined;
19178
+ connectedUserId?: string | null | undefined;
19179
+ lineRichMenuId?: string | null | undefined;
19180
+ actor?: {
19181
+ name: string;
19182
+ id: string;
19183
+ address: string | null;
19184
+ email: string;
19185
+ phone: string | null;
19186
+ } | undefined;
19187
+ }, {
19188
+ name: string;
19189
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19190
+ id: string;
19191
+ metadata: {
19192
+ name: string;
19193
+ id: string;
19194
+ accessToken?: string | undefined;
19195
+ channelSecret?: string | undefined;
19196
+ additionalCredentials?: any;
19197
+ senderId?: string | undefined;
19198
+ whatsapp?: {
19199
+ email: string;
19200
+ wabaExternalId: string;
19201
+ phoneNumberId: string;
19202
+ wabaBusinessId?: string | undefined;
19203
+ clientId?: string | undefined;
19204
+ channelId?: string | undefined;
19205
+ status?: "active" | "pending" | undefined;
19206
+ apiKey?: string | undefined;
19207
+ tier?: "basic" | "regular" | "premium" | undefined;
19208
+ } | undefined;
19209
+ vonageCredentials?: {
19210
+ apiKey: string;
19211
+ mobileNumber: string;
19212
+ apiSecret: string;
19213
+ } | undefined;
19214
+ lineRichMenuId?: string | null | undefined;
19215
+ messengerIntegrationType?: "own" | "business" | undefined;
19216
+ };
19217
+ status: boolean;
19218
+ brandName: string;
19219
+ platformId: string;
19220
+ connectedUserName?: string | null | undefined;
19221
+ connectedUserId?: string | null | undefined;
19222
+ lineRichMenuId?: string | null | undefined;
19223
+ actor?: {
19224
+ name: string;
19225
+ id: string;
19226
+ address: string | null;
19227
+ email: string;
19228
+ phone: string | null;
19229
+ } | undefined;
19230
+ }>;
19231
+ }, "strip", z.ZodTypeAny, {
19232
+ data: {
19233
+ name: string;
19234
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19235
+ id: string;
19236
+ metadata: {
19237
+ name: string;
19238
+ id: string;
19239
+ accessToken?: string | undefined;
19240
+ channelSecret?: string | undefined;
19241
+ additionalCredentials?: any;
19242
+ senderId?: string | undefined;
19243
+ whatsapp?: {
19244
+ email: string;
19245
+ wabaExternalId: string;
19246
+ phoneNumberId: string;
19247
+ wabaBusinessId?: string | undefined;
19248
+ clientId?: string | undefined;
19249
+ channelId?: string | undefined;
19250
+ status?: "active" | "pending" | undefined;
19251
+ apiKey?: string | undefined;
19252
+ tier?: "basic" | "regular" | "premium" | undefined;
19253
+ } | undefined;
19254
+ vonageCredentials?: {
19255
+ apiKey: string;
19256
+ mobileNumber: string;
19257
+ apiSecret: string;
19258
+ } | undefined;
19259
+ lineRichMenuId?: string | null | undefined;
19260
+ messengerIntegrationType?: "own" | "business" | undefined;
19261
+ };
19262
+ status: boolean;
19263
+ brandName: string;
19264
+ platformId: string;
19265
+ connectedUserName?: string | null | undefined;
19266
+ connectedUserId?: string | null | undefined;
19267
+ lineRichMenuId?: string | null | undefined;
19268
+ actor?: {
19269
+ name: string;
19270
+ id: string;
19271
+ address: string | null;
19272
+ email: string;
19273
+ phone: string | null;
19274
+ } | undefined;
19275
+ };
19276
+ requestId: string;
19277
+ }, {
19278
+ data: {
19279
+ name: string;
19280
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19281
+ id: string;
19282
+ metadata: {
19283
+ name: string;
19284
+ id: string;
19285
+ accessToken?: string | undefined;
19286
+ channelSecret?: string | undefined;
19287
+ additionalCredentials?: any;
19288
+ senderId?: string | undefined;
19289
+ whatsapp?: {
19290
+ email: string;
19291
+ wabaExternalId: string;
19292
+ phoneNumberId: string;
19293
+ wabaBusinessId?: string | undefined;
19294
+ clientId?: string | undefined;
19295
+ channelId?: string | undefined;
19296
+ status?: "active" | "pending" | undefined;
19297
+ apiKey?: string | undefined;
19298
+ tier?: "basic" | "regular" | "premium" | undefined;
19299
+ } | undefined;
19300
+ vonageCredentials?: {
19301
+ apiKey: string;
19302
+ mobileNumber: string;
19303
+ apiSecret: string;
19304
+ } | undefined;
19305
+ lineRichMenuId?: string | null | undefined;
19306
+ messengerIntegrationType?: "own" | "business" | undefined;
19307
+ };
19308
+ status: boolean;
19309
+ brandName: string;
19310
+ platformId: string;
19311
+ connectedUserName?: string | null | undefined;
19312
+ connectedUserId?: string | null | undefined;
19313
+ lineRichMenuId?: string | null | undefined;
19314
+ actor?: {
19315
+ name: string;
19316
+ id: string;
19317
+ address: string | null;
19318
+ email: string;
19319
+ phone: string | null;
19320
+ } | undefined;
19321
+ };
19322
+ requestId: string;
19323
+ }>;
19324
+ 500: z.ZodObject<{
19325
+ message: z.ZodString;
19326
+ error: z.ZodAny;
19327
+ }, "strip", z.ZodTypeAny, {
19328
+ message: string;
19329
+ error?: any;
19330
+ }, {
19331
+ message: string;
19332
+ error?: any;
19333
+ }>;
19334
+ 400: z.ZodObject<{
19335
+ message: z.ZodString;
19336
+ error: z.ZodAny;
19337
+ }, "strip", z.ZodTypeAny, {
19338
+ message: string;
19339
+ error?: any;
19340
+ }, {
19341
+ message: string;
19342
+ error?: any;
19343
+ }>;
19344
+ };
19345
+ path: "/disconnect";
19346
+ };
19347
+ reconnect: {
19348
+ body: null;
19349
+ method: "POST";
19350
+ pathParams: z.ZodObject<{
19351
+ channelId: z.ZodString;
19352
+ }, "strip", z.ZodTypeAny, {
19353
+ channelId: string;
19354
+ }, {
19355
+ channelId: string;
19356
+ }>;
19357
+ responses: {
19358
+ 200: z.ZodObject<{
19359
+ requestId: z.ZodString;
19360
+ data: z.ZodObject<{
19361
+ id: z.ZodString;
19362
+ name: z.ZodString;
19363
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19364
+ metadata: z.ZodObject<{
19365
+ id: z.ZodString;
19366
+ name: z.ZodString;
19367
+ accessToken: z.ZodOptional<z.ZodString>;
19368
+ channelSecret: z.ZodOptional<z.ZodString>;
19369
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
19370
+ senderId: z.ZodOptional<z.ZodString>;
19371
+ whatsapp: z.ZodOptional<z.ZodObject<{
19372
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19373
+ wabaExternalId: z.ZodString;
19374
+ phoneNumberId: z.ZodString;
19375
+ email: z.ZodString;
19376
+ clientId: z.ZodOptional<z.ZodString>;
19377
+ channelId: z.ZodOptional<z.ZodString>;
19378
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19379
+ apiKey: z.ZodOptional<z.ZodString>;
19380
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19381
+ }, "strip", z.ZodTypeAny, {
19382
+ email: string;
19383
+ wabaExternalId: string;
19384
+ phoneNumberId: string;
19385
+ wabaBusinessId?: string | undefined;
19386
+ clientId?: string | undefined;
19387
+ channelId?: string | undefined;
19388
+ status?: "active" | "pending" | undefined;
19389
+ apiKey?: string | undefined;
19390
+ tier?: "basic" | "regular" | "premium" | undefined;
19391
+ }, {
19392
+ email: string;
19393
+ wabaExternalId: string;
19394
+ phoneNumberId: string;
19395
+ wabaBusinessId?: string | undefined;
19396
+ clientId?: string | undefined;
19397
+ channelId?: string | undefined;
19398
+ status?: "active" | "pending" | undefined;
19399
+ apiKey?: string | undefined;
19400
+ tier?: "basic" | "regular" | "premium" | undefined;
19401
+ }>>;
19402
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
19403
+ mobileNumber: z.ZodString;
19404
+ apiKey: z.ZodString;
19405
+ apiSecret: z.ZodString;
19406
+ }, "strip", z.ZodTypeAny, {
19407
+ apiKey: string;
19408
+ mobileNumber: string;
19409
+ apiSecret: string;
19410
+ }, {
19411
+ apiKey: string;
19412
+ mobileNumber: string;
19413
+ apiSecret: string;
19414
+ }>>;
19415
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19416
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19417
+ }, "strip", z.ZodTypeAny, {
19418
+ name: string;
19419
+ id: string;
19420
+ accessToken?: string | undefined;
19421
+ channelSecret?: string | undefined;
19422
+ additionalCredentials?: any;
19423
+ senderId?: string | undefined;
19424
+ whatsapp?: {
19425
+ email: string;
19426
+ wabaExternalId: string;
19427
+ phoneNumberId: string;
19428
+ wabaBusinessId?: string | undefined;
19429
+ clientId?: string | undefined;
19430
+ channelId?: string | undefined;
19431
+ status?: "active" | "pending" | undefined;
19432
+ apiKey?: string | undefined;
19433
+ tier?: "basic" | "regular" | "premium" | undefined;
19434
+ } | undefined;
19435
+ vonageCredentials?: {
19436
+ apiKey: string;
19437
+ mobileNumber: string;
19438
+ apiSecret: string;
19439
+ } | undefined;
19440
+ lineRichMenuId?: string | null | undefined;
19441
+ messengerIntegrationType?: "own" | "business" | undefined;
19442
+ }, {
19443
+ name: string;
19444
+ id: string;
19445
+ accessToken?: string | undefined;
19446
+ channelSecret?: string | undefined;
19447
+ additionalCredentials?: any;
19448
+ senderId?: string | undefined;
19449
+ whatsapp?: {
19450
+ email: string;
19451
+ wabaExternalId: string;
19452
+ phoneNumberId: string;
19453
+ wabaBusinessId?: string | undefined;
19454
+ clientId?: string | undefined;
19455
+ channelId?: string | undefined;
19456
+ status?: "active" | "pending" | undefined;
19457
+ apiKey?: string | undefined;
19458
+ tier?: "basic" | "regular" | "premium" | undefined;
19459
+ } | undefined;
19460
+ vonageCredentials?: {
19461
+ apiKey: string;
19462
+ mobileNumber: string;
19463
+ apiSecret: string;
19464
+ } | undefined;
19465
+ lineRichMenuId?: string | null | undefined;
19466
+ messengerIntegrationType?: "own" | "business" | undefined;
19467
+ }>;
19468
+ platformId: z.ZodString;
19469
+ brandName: z.ZodString;
19470
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19471
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19472
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19473
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19474
+ actor: z.ZodOptional<z.ZodObject<{
19475
+ id: z.ZodString;
19476
+ name: z.ZodString;
19477
+ email: z.ZodString;
19478
+ address: z.ZodNullable<z.ZodString>;
19479
+ phone: z.ZodNullable<z.ZodString>;
19480
+ }, "strip", z.ZodTypeAny, {
19481
+ name: string;
19482
+ id: string;
19483
+ address: string | null;
19484
+ email: string;
19485
+ phone: string | null;
19486
+ }, {
19487
+ name: string;
19488
+ id: string;
19489
+ address: string | null;
19490
+ email: string;
19491
+ phone: string | null;
19492
+ }>>;
19493
+ }, "strip", z.ZodTypeAny, {
19494
+ name: string;
19495
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19496
+ id: string;
19497
+ metadata: {
19498
+ name: string;
19499
+ id: string;
19500
+ accessToken?: string | undefined;
19501
+ channelSecret?: string | undefined;
19502
+ additionalCredentials?: any;
19503
+ senderId?: string | undefined;
19504
+ whatsapp?: {
19505
+ email: string;
19506
+ wabaExternalId: string;
19507
+ phoneNumberId: string;
19508
+ wabaBusinessId?: string | undefined;
19509
+ clientId?: string | undefined;
19510
+ channelId?: string | undefined;
19511
+ status?: "active" | "pending" | undefined;
19512
+ apiKey?: string | undefined;
19513
+ tier?: "basic" | "regular" | "premium" | undefined;
19514
+ } | undefined;
19515
+ vonageCredentials?: {
19516
+ apiKey: string;
19517
+ mobileNumber: string;
19518
+ apiSecret: string;
19519
+ } | undefined;
19520
+ lineRichMenuId?: string | null | undefined;
19521
+ messengerIntegrationType?: "own" | "business" | undefined;
19522
+ };
19523
+ status: boolean;
19524
+ brandName: string;
19525
+ platformId: string;
19526
+ connectedUserName?: string | null | undefined;
19527
+ connectedUserId?: string | null | undefined;
19528
+ lineRichMenuId?: string | null | undefined;
19529
+ actor?: {
19530
+ name: string;
19531
+ id: string;
19532
+ address: string | null;
19533
+ email: string;
19534
+ phone: string | null;
19535
+ } | undefined;
19536
+ }, {
19537
+ name: string;
19538
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19539
+ id: string;
19540
+ metadata: {
19541
+ name: string;
19542
+ id: string;
19543
+ accessToken?: string | undefined;
19544
+ channelSecret?: string | undefined;
19545
+ additionalCredentials?: any;
19546
+ senderId?: string | undefined;
19547
+ whatsapp?: {
19548
+ email: string;
19549
+ wabaExternalId: string;
19550
+ phoneNumberId: string;
19551
+ wabaBusinessId?: string | undefined;
19552
+ clientId?: string | undefined;
19553
+ channelId?: string | undefined;
19554
+ status?: "active" | "pending" | undefined;
19555
+ apiKey?: string | undefined;
19556
+ tier?: "basic" | "regular" | "premium" | undefined;
19557
+ } | undefined;
19558
+ vonageCredentials?: {
19559
+ apiKey: string;
19560
+ mobileNumber: string;
19561
+ apiSecret: string;
19562
+ } | undefined;
19563
+ lineRichMenuId?: string | null | undefined;
19564
+ messengerIntegrationType?: "own" | "business" | undefined;
19565
+ };
19566
+ status: boolean;
19567
+ brandName: string;
19568
+ platformId: string;
19569
+ connectedUserName?: string | null | undefined;
19570
+ connectedUserId?: string | null | undefined;
19571
+ lineRichMenuId?: string | null | undefined;
19572
+ actor?: {
19573
+ name: string;
19574
+ id: string;
19575
+ address: string | null;
19576
+ email: string;
19577
+ phone: string | null;
19578
+ } | undefined;
19579
+ }>;
19580
+ }, "strip", z.ZodTypeAny, {
19581
+ data: {
19582
+ name: string;
19583
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19584
+ id: string;
19585
+ metadata: {
19586
+ name: string;
19587
+ id: string;
19588
+ accessToken?: string | undefined;
19589
+ channelSecret?: string | undefined;
19590
+ additionalCredentials?: any;
19591
+ senderId?: string | undefined;
19592
+ whatsapp?: {
19593
+ email: string;
19594
+ wabaExternalId: string;
19595
+ phoneNumberId: string;
19596
+ wabaBusinessId?: string | undefined;
19597
+ clientId?: string | undefined;
19598
+ channelId?: string | undefined;
19599
+ status?: "active" | "pending" | undefined;
19600
+ apiKey?: string | undefined;
19601
+ tier?: "basic" | "regular" | "premium" | undefined;
19602
+ } | undefined;
19603
+ vonageCredentials?: {
19604
+ apiKey: string;
19605
+ mobileNumber: string;
19606
+ apiSecret: string;
19607
+ } | undefined;
19608
+ lineRichMenuId?: string | null | undefined;
19609
+ messengerIntegrationType?: "own" | "business" | undefined;
19610
+ };
19611
+ status: boolean;
19612
+ brandName: string;
19613
+ platformId: string;
19614
+ connectedUserName?: string | null | undefined;
19615
+ connectedUserId?: string | null | undefined;
19616
+ lineRichMenuId?: string | null | undefined;
19617
+ actor?: {
19618
+ name: string;
19619
+ id: string;
19620
+ address: string | null;
19621
+ email: string;
19622
+ phone: string | null;
19623
+ } | undefined;
19624
+ };
19625
+ requestId: string;
19626
+ }, {
19627
+ data: {
19628
+ name: string;
19629
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19630
+ id: string;
19631
+ metadata: {
19632
+ name: string;
19633
+ id: string;
19634
+ accessToken?: string | undefined;
19635
+ channelSecret?: string | undefined;
19636
+ additionalCredentials?: any;
19637
+ senderId?: string | undefined;
19638
+ whatsapp?: {
19639
+ email: string;
19640
+ wabaExternalId: string;
19641
+ phoneNumberId: string;
19642
+ wabaBusinessId?: string | undefined;
19643
+ clientId?: string | undefined;
19644
+ channelId?: string | undefined;
19645
+ status?: "active" | "pending" | undefined;
19646
+ apiKey?: string | undefined;
19647
+ tier?: "basic" | "regular" | "premium" | undefined;
19648
+ } | undefined;
19649
+ vonageCredentials?: {
19650
+ apiKey: string;
19651
+ mobileNumber: string;
19652
+ apiSecret: string;
19653
+ } | undefined;
19654
+ lineRichMenuId?: string | null | undefined;
19655
+ messengerIntegrationType?: "own" | "business" | undefined;
19656
+ };
19657
+ status: boolean;
19658
+ brandName: string;
19659
+ platformId: string;
19660
+ connectedUserName?: string | null | undefined;
19661
+ connectedUserId?: string | null | undefined;
19662
+ lineRichMenuId?: string | null | undefined;
19663
+ actor?: {
19664
+ name: string;
19665
+ id: string;
19666
+ address: string | null;
19667
+ email: string;
19668
+ phone: string | null;
19669
+ } | undefined;
19670
+ };
19671
+ requestId: string;
19672
+ }>;
19673
+ 500: z.ZodObject<{
19674
+ message: z.ZodString;
19675
+ error: z.ZodAny;
19676
+ }, "strip", z.ZodTypeAny, {
19677
+ message: string;
19678
+ error?: any;
19679
+ }, {
19680
+ message: string;
19681
+ error?: any;
19682
+ }>;
19683
+ 400: z.ZodObject<{
19684
+ message: z.ZodString;
19685
+ error: z.ZodAny;
19686
+ }, "strip", z.ZodTypeAny, {
19687
+ message: string;
19688
+ error?: any;
19689
+ }, {
19690
+ message: string;
19691
+ error?: any;
19692
+ }>;
19693
+ };
19694
+ path: "/reconnect/:channelId";
19695
+ };
19696
+ delete: {
19697
+ body: null;
19698
+ method: "DELETE";
19699
+ pathParams: z.ZodObject<{
19700
+ channelId: z.ZodString;
19701
+ }, "strip", z.ZodTypeAny, {
19702
+ channelId: string;
19703
+ }, {
19704
+ channelId: string;
19705
+ }>;
19706
+ responses: {
19707
+ 200: z.ZodObject<{
19708
+ requestId: z.ZodString;
19709
+ data: z.ZodObject<{
19710
+ id: z.ZodString;
19711
+ name: z.ZodString;
19712
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
19713
+ metadata: z.ZodObject<{
19714
+ id: z.ZodString;
19715
+ name: z.ZodString;
19716
+ accessToken: z.ZodOptional<z.ZodString>;
19717
+ channelSecret: z.ZodOptional<z.ZodString>;
19718
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
19719
+ senderId: z.ZodOptional<z.ZodString>;
19720
+ whatsapp: z.ZodOptional<z.ZodObject<{
19721
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
19722
+ wabaExternalId: z.ZodString;
19723
+ phoneNumberId: z.ZodString;
19724
+ email: z.ZodString;
19725
+ clientId: z.ZodOptional<z.ZodString>;
19726
+ channelId: z.ZodOptional<z.ZodString>;
19727
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
19728
+ apiKey: z.ZodOptional<z.ZodString>;
19729
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
19730
+ }, "strip", z.ZodTypeAny, {
19731
+ email: string;
19732
+ wabaExternalId: string;
19733
+ phoneNumberId: string;
19734
+ wabaBusinessId?: string | undefined;
19735
+ clientId?: string | undefined;
19736
+ channelId?: string | undefined;
19737
+ status?: "active" | "pending" | undefined;
19738
+ apiKey?: string | undefined;
19739
+ tier?: "basic" | "regular" | "premium" | undefined;
19740
+ }, {
19741
+ email: string;
19742
+ wabaExternalId: string;
19743
+ phoneNumberId: string;
19744
+ wabaBusinessId?: string | undefined;
19745
+ clientId?: string | undefined;
19746
+ channelId?: string | undefined;
19747
+ status?: "active" | "pending" | undefined;
19748
+ apiKey?: string | undefined;
19749
+ tier?: "basic" | "regular" | "premium" | undefined;
19750
+ }>>;
19751
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
19752
+ mobileNumber: z.ZodString;
19753
+ apiKey: z.ZodString;
19754
+ apiSecret: z.ZodString;
19755
+ }, "strip", z.ZodTypeAny, {
19756
+ apiKey: string;
19757
+ mobileNumber: string;
19758
+ apiSecret: string;
19759
+ }, {
19760
+ apiKey: string;
19761
+ mobileNumber: string;
19762
+ apiSecret: string;
19763
+ }>>;
19764
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19765
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19766
+ }, "strip", z.ZodTypeAny, {
19767
+ name: string;
19768
+ id: string;
19769
+ accessToken?: string | undefined;
19770
+ channelSecret?: string | undefined;
19771
+ additionalCredentials?: any;
19772
+ senderId?: string | undefined;
19773
+ whatsapp?: {
19774
+ email: string;
19775
+ wabaExternalId: string;
19776
+ phoneNumberId: string;
19777
+ wabaBusinessId?: string | undefined;
19778
+ clientId?: string | undefined;
19779
+ channelId?: string | undefined;
19780
+ status?: "active" | "pending" | undefined;
19781
+ apiKey?: string | undefined;
19782
+ tier?: "basic" | "regular" | "premium" | undefined;
19783
+ } | undefined;
19784
+ vonageCredentials?: {
19785
+ apiKey: string;
19786
+ mobileNumber: string;
19787
+ apiSecret: string;
19788
+ } | undefined;
19789
+ lineRichMenuId?: string | null | undefined;
19790
+ messengerIntegrationType?: "own" | "business" | undefined;
19791
+ }, {
19792
+ name: string;
19793
+ id: string;
19794
+ accessToken?: string | undefined;
19795
+ channelSecret?: string | undefined;
19796
+ additionalCredentials?: any;
19797
+ senderId?: string | undefined;
19798
+ whatsapp?: {
19799
+ email: string;
19800
+ wabaExternalId: string;
19801
+ phoneNumberId: string;
19802
+ wabaBusinessId?: string | undefined;
19803
+ clientId?: string | undefined;
19804
+ channelId?: string | undefined;
19805
+ status?: "active" | "pending" | undefined;
19806
+ apiKey?: string | undefined;
19807
+ tier?: "basic" | "regular" | "premium" | undefined;
19808
+ } | undefined;
19809
+ vonageCredentials?: {
19810
+ apiKey: string;
19811
+ mobileNumber: string;
19812
+ apiSecret: string;
19813
+ } | undefined;
19814
+ lineRichMenuId?: string | null | undefined;
19815
+ messengerIntegrationType?: "own" | "business" | undefined;
19816
+ }>;
19817
+ platformId: z.ZodString;
19818
+ brandName: z.ZodString;
19819
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19820
+ connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19821
+ connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19822
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19823
+ actor: z.ZodOptional<z.ZodObject<{
19824
+ id: z.ZodString;
19825
+ name: z.ZodString;
19826
+ email: z.ZodString;
19827
+ address: z.ZodNullable<z.ZodString>;
19828
+ phone: z.ZodNullable<z.ZodString>;
19829
+ }, "strip", z.ZodTypeAny, {
19830
+ name: string;
19831
+ id: string;
19832
+ address: string | null;
19833
+ email: string;
19834
+ phone: string | null;
19835
+ }, {
19836
+ name: string;
19837
+ id: string;
19838
+ address: string | null;
19839
+ email: string;
19840
+ phone: string | null;
19841
+ }>>;
19842
+ }, "strip", z.ZodTypeAny, {
19843
+ name: string;
19844
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19845
+ id: string;
19846
+ metadata: {
19847
+ name: string;
19848
+ id: string;
19849
+ accessToken?: string | undefined;
19850
+ channelSecret?: string | undefined;
19851
+ additionalCredentials?: any;
19852
+ senderId?: string | undefined;
19853
+ whatsapp?: {
19854
+ email: string;
19855
+ wabaExternalId: string;
19856
+ phoneNumberId: string;
19857
+ wabaBusinessId?: string | undefined;
19858
+ clientId?: string | undefined;
19859
+ channelId?: string | undefined;
19860
+ status?: "active" | "pending" | undefined;
19861
+ apiKey?: string | undefined;
19862
+ tier?: "basic" | "regular" | "premium" | undefined;
19863
+ } | undefined;
19864
+ vonageCredentials?: {
19865
+ apiKey: string;
19866
+ mobileNumber: string;
19867
+ apiSecret: string;
19868
+ } | undefined;
19869
+ lineRichMenuId?: string | null | undefined;
19870
+ messengerIntegrationType?: "own" | "business" | undefined;
19871
+ };
19872
+ status: boolean;
19873
+ brandName: string;
19874
+ platformId: string;
19875
+ connectedUserName?: string | null | undefined;
19876
+ connectedUserId?: string | null | undefined;
19877
+ lineRichMenuId?: string | null | undefined;
19878
+ actor?: {
19879
+ name: string;
19880
+ id: string;
19881
+ address: string | null;
19882
+ email: string;
19883
+ phone: string | null;
19884
+ } | undefined;
19885
+ }, {
19886
+ name: string;
19887
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19888
+ id: string;
19889
+ metadata: {
19890
+ name: string;
19891
+ id: string;
19892
+ accessToken?: string | undefined;
19893
+ channelSecret?: string | undefined;
19894
+ additionalCredentials?: any;
19895
+ senderId?: string | undefined;
19896
+ whatsapp?: {
19897
+ email: string;
19898
+ wabaExternalId: string;
19899
+ phoneNumberId: string;
19900
+ wabaBusinessId?: string | undefined;
19901
+ clientId?: string | undefined;
19902
+ channelId?: string | undefined;
19903
+ status?: "active" | "pending" | undefined;
19904
+ apiKey?: string | undefined;
19905
+ tier?: "basic" | "regular" | "premium" | undefined;
19906
+ } | undefined;
19907
+ vonageCredentials?: {
19908
+ apiKey: string;
19909
+ mobileNumber: string;
19910
+ apiSecret: string;
19911
+ } | undefined;
19912
+ lineRichMenuId?: string | null | undefined;
19913
+ messengerIntegrationType?: "own" | "business" | undefined;
19914
+ };
19915
+ status: boolean;
19916
+ brandName: string;
19917
+ platformId: string;
19918
+ connectedUserName?: string | null | undefined;
19919
+ connectedUserId?: string | null | undefined;
19920
+ lineRichMenuId?: string | null | undefined;
19921
+ actor?: {
19922
+ name: string;
19923
+ id: string;
19924
+ address: string | null;
19925
+ email: string;
19926
+ phone: string | null;
19927
+ } | undefined;
19928
+ }>;
19929
+ }, "strip", z.ZodTypeAny, {
19930
+ data: {
19931
+ name: string;
19932
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19933
+ id: string;
19934
+ metadata: {
19935
+ name: string;
19936
+ id: string;
19937
+ accessToken?: string | undefined;
19938
+ channelSecret?: string | undefined;
19939
+ additionalCredentials?: any;
19940
+ senderId?: string | undefined;
19941
+ whatsapp?: {
19942
+ email: string;
19943
+ wabaExternalId: string;
19944
+ phoneNumberId: string;
19945
+ wabaBusinessId?: string | undefined;
19946
+ clientId?: string | undefined;
19947
+ channelId?: string | undefined;
19948
+ status?: "active" | "pending" | undefined;
19949
+ apiKey?: string | undefined;
19950
+ tier?: "basic" | "regular" | "premium" | undefined;
19951
+ } | undefined;
19952
+ vonageCredentials?: {
19953
+ apiKey: string;
19954
+ mobileNumber: string;
19955
+ apiSecret: string;
19956
+ } | undefined;
19957
+ lineRichMenuId?: string | null | undefined;
19958
+ messengerIntegrationType?: "own" | "business" | undefined;
19959
+ };
19960
+ status: boolean;
19961
+ brandName: string;
19962
+ platformId: string;
19963
+ connectedUserName?: string | null | undefined;
19964
+ connectedUserId?: string | null | undefined;
19965
+ lineRichMenuId?: string | null | undefined;
19966
+ actor?: {
19967
+ name: string;
19968
+ id: string;
19969
+ address: string | null;
19970
+ email: string;
19971
+ phone: string | null;
19972
+ } | undefined;
19973
+ };
19974
+ requestId: string;
19975
+ }, {
19976
+ data: {
19977
+ name: string;
19978
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
19979
+ id: string;
19980
+ metadata: {
19981
+ name: string;
19982
+ id: string;
19983
+ accessToken?: string | undefined;
19984
+ channelSecret?: string | undefined;
19985
+ additionalCredentials?: any;
19986
+ senderId?: string | undefined;
19987
+ whatsapp?: {
19988
+ email: string;
19989
+ wabaExternalId: string;
19990
+ phoneNumberId: string;
19991
+ wabaBusinessId?: string | undefined;
19992
+ clientId?: string | undefined;
19993
+ channelId?: string | undefined;
19994
+ status?: "active" | "pending" | undefined;
19995
+ apiKey?: string | undefined;
19996
+ tier?: "basic" | "regular" | "premium" | undefined;
19997
+ } | undefined;
19998
+ vonageCredentials?: {
19999
+ apiKey: string;
20000
+ mobileNumber: string;
20001
+ apiSecret: string;
20002
+ } | undefined;
20003
+ lineRichMenuId?: string | null | undefined;
20004
+ messengerIntegrationType?: "own" | "business" | undefined;
20005
+ };
20006
+ status: boolean;
20007
+ brandName: string;
20008
+ platformId: string;
20009
+ connectedUserName?: string | null | undefined;
20010
+ connectedUserId?: string | null | undefined;
20011
+ lineRichMenuId?: string | null | undefined;
20012
+ actor?: {
20013
+ name: string;
20014
+ id: string;
20015
+ address: string | null;
20016
+ email: string;
20017
+ phone: string | null;
20018
+ } | undefined;
20019
+ };
20020
+ requestId: string;
20021
+ }>;
20022
+ 500: z.ZodObject<{
20023
+ message: z.ZodString;
20024
+ error: z.ZodAny;
20025
+ }, "strip", z.ZodTypeAny, {
20026
+ message: string;
20027
+ error?: any;
20028
+ }, {
20029
+ message: string;
20030
+ error?: any;
20031
+ }>;
20032
+ 400: z.ZodObject<{
20033
+ message: z.ZodString;
20034
+ error: z.ZodAny;
20035
+ }, "strip", z.ZodTypeAny, {
20036
+ message: string;
20037
+ error?: any;
20038
+ }, {
20039
+ message: string;
20040
+ error?: any;
20041
+ }>;
20042
+ };
20043
+ path: "/delete/:channelId";
20044
+ };
18951
20045
  };
18952
20046
  //# sourceMappingURL=index.d.ts.map