@kl1/contracts 1.1.57 → 1.1.58

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 (55) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +1180 -1075
  2. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/channel/schema.d.ts +8 -0
  4. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/channel/validation.d.ts +10 -0
  6. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  7. package/dist/api-contracts/src/chat/index.d.ts +230 -0
  8. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  9. package/dist/api-contracts/src/chat/schema.d.ts +54 -0
  10. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/chat/validation.d.ts +79 -0
  12. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  13. package/dist/api-contracts/src/contract.d.ts +1671 -3147
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-intelligence/index.d.ts +87 -0
  16. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
  18. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
  20. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
  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 +7 -0
  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 +5 -0
  26. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  27. package/dist/api-contracts/src/instagram/index.d.ts +83 -0
  28. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/index.d.ts +75 -0
  30. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/line/validation.d.ts +9 -0
  32. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  33. package/dist/api-contracts/src/messenger/index.d.ts +83 -0
  34. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
  36. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  37. package/dist/api-contracts/src/sms/index.d.ts +16 -0
  38. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  39. package/dist/api-contracts/src/subscription/index.d.ts +6 -6
  40. package/dist/api-contracts/src/subscription/schema.d.ts +6 -6
  41. package/dist/api-contracts/src/telegram/index.d.ts +61 -0
  42. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/viber/index.d.ts +61 -0
  44. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/webchat/index.d.ts +61 -0
  46. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/whatsapp/index.d.ts +71 -0
  48. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  49. package/dist/api-contracts/src/workflow-rule/index.d.ts +18 -0
  50. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  51. package/dist/index.js +34 -32
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +33 -32
  54. package/dist/index.mjs.map +1 -1
  55. package/package.json +1 -1
@@ -84,6 +84,7 @@ export declare const channelContract: {
84
84
  }>>;
85
85
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
86
86
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
87
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
87
88
  }, "strip", z.ZodTypeAny, {
88
89
  id: string;
89
90
  name: string;
@@ -109,6 +110,7 @@ export declare const channelContract: {
109
110
  } | undefined;
110
111
  lineRichMenuId?: string | null | undefined;
111
112
  messengerIntegrationType?: "own" | "business" | undefined;
113
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
112
114
  }, {
113
115
  id: string;
114
116
  name: string;
@@ -134,6 +136,7 @@ export declare const channelContract: {
134
136
  } | undefined;
135
137
  lineRichMenuId?: string | null | undefined;
136
138
  messengerIntegrationType?: "own" | "business" | undefined;
139
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
137
140
  }>;
138
141
  brandName: z.ZodString;
139
142
  platformId: z.ZodString;
@@ -393,6 +396,7 @@ export declare const channelContract: {
393
396
  } | undefined;
394
397
  lineRichMenuId?: string | null | undefined;
395
398
  messengerIntegrationType?: "own" | "business" | undefined;
399
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
396
400
  };
397
401
  status: boolean;
398
402
  createdAt: Date;
@@ -483,6 +487,7 @@ export declare const channelContract: {
483
487
  } | undefined;
484
488
  lineRichMenuId?: string | null | undefined;
485
489
  messengerIntegrationType?: "own" | "business" | undefined;
490
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
486
491
  };
487
492
  status: boolean;
488
493
  createdAt: Date;
@@ -575,6 +580,7 @@ export declare const channelContract: {
575
580
  } | undefined;
576
581
  lineRichMenuId?: string | null | undefined;
577
582
  messengerIntegrationType?: "own" | "business" | undefined;
583
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
578
584
  };
579
585
  status: boolean;
580
586
  createdAt: Date;
@@ -668,6 +674,7 @@ export declare const channelContract: {
668
674
  } | undefined;
669
675
  lineRichMenuId?: string | null | undefined;
670
676
  messengerIntegrationType?: "own" | "business" | undefined;
677
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
671
678
  };
672
679
  status: boolean;
673
680
  createdAt: Date;
@@ -821,6 +828,7 @@ export declare const channelContract: {
821
828
  }>>;
822
829
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
823
830
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
831
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
824
832
  }, "strip", z.ZodTypeAny, {
825
833
  id: string;
826
834
  name: string;
@@ -846,6 +854,7 @@ export declare const channelContract: {
846
854
  } | undefined;
847
855
  lineRichMenuId?: string | null | undefined;
848
856
  messengerIntegrationType?: "own" | "business" | undefined;
857
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
849
858
  }, {
850
859
  id: string;
851
860
  name: string;
@@ -871,6 +880,7 @@ export declare const channelContract: {
871
880
  } | undefined;
872
881
  lineRichMenuId?: string | null | undefined;
873
882
  messengerIntegrationType?: "own" | "business" | undefined;
883
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
874
884
  }>;
875
885
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
876
886
  actor: z.ZodOptional<z.ZodObject<{
@@ -931,6 +941,7 @@ export declare const channelContract: {
931
941
  } | undefined;
932
942
  lineRichMenuId?: string | null | undefined;
933
943
  messengerIntegrationType?: "own" | "business" | undefined;
944
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
934
945
  };
935
946
  status: boolean;
936
947
  createdAt: string;
@@ -978,6 +989,7 @@ export declare const channelContract: {
978
989
  } | undefined;
979
990
  lineRichMenuId?: string | null | undefined;
980
991
  messengerIntegrationType?: "own" | "business" | undefined;
992
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
981
993
  };
982
994
  status: boolean;
983
995
  createdAt: string;
@@ -1027,6 +1039,7 @@ export declare const channelContract: {
1027
1039
  } | undefined;
1028
1040
  lineRichMenuId?: string | null | undefined;
1029
1041
  messengerIntegrationType?: "own" | "business" | undefined;
1042
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1030
1043
  };
1031
1044
  status: boolean;
1032
1045
  createdAt: string;
@@ -1077,6 +1090,7 @@ export declare const channelContract: {
1077
1090
  } | undefined;
1078
1091
  lineRichMenuId?: string | null | undefined;
1079
1092
  messengerIntegrationType?: "own" | "business" | undefined;
1093
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1080
1094
  };
1081
1095
  status: boolean;
1082
1096
  createdAt: string;
@@ -1201,6 +1215,7 @@ export declare const channelContract: {
1201
1215
  }>>;
1202
1216
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1203
1217
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1218
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1204
1219
  }, "strip", z.ZodTypeAny, {
1205
1220
  id: string;
1206
1221
  name: string;
@@ -1226,6 +1241,7 @@ export declare const channelContract: {
1226
1241
  } | undefined;
1227
1242
  lineRichMenuId?: string | null | undefined;
1228
1243
  messengerIntegrationType?: "own" | "business" | undefined;
1244
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1229
1245
  }, {
1230
1246
  id: string;
1231
1247
  name: string;
@@ -1251,6 +1267,7 @@ export declare const channelContract: {
1251
1267
  } | undefined;
1252
1268
  lineRichMenuId?: string | null | undefined;
1253
1269
  messengerIntegrationType?: "own" | "business" | undefined;
1270
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1254
1271
  }>;
1255
1272
  brandName: z.ZodString;
1256
1273
  platformId: z.ZodString;
@@ -1510,6 +1527,7 @@ export declare const channelContract: {
1510
1527
  } | undefined;
1511
1528
  lineRichMenuId?: string | null | undefined;
1512
1529
  messengerIntegrationType?: "own" | "business" | undefined;
1530
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1513
1531
  };
1514
1532
  status: boolean;
1515
1533
  createdAt: Date;
@@ -1600,6 +1618,7 @@ export declare const channelContract: {
1600
1618
  } | undefined;
1601
1619
  lineRichMenuId?: string | null | undefined;
1602
1620
  messengerIntegrationType?: "own" | "business" | undefined;
1621
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1603
1622
  };
1604
1623
  status: boolean;
1605
1624
  createdAt: Date;
@@ -1692,6 +1711,7 @@ export declare const channelContract: {
1692
1711
  } | undefined;
1693
1712
  lineRichMenuId?: string | null | undefined;
1694
1713
  messengerIntegrationType?: "own" | "business" | undefined;
1714
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1695
1715
  };
1696
1716
  status: boolean;
1697
1717
  createdAt: Date;
@@ -1785,6 +1805,7 @@ export declare const channelContract: {
1785
1805
  } | undefined;
1786
1806
  lineRichMenuId?: string | null | undefined;
1787
1807
  messengerIntegrationType?: "own" | "business" | undefined;
1808
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1788
1809
  };
1789
1810
  status: boolean;
1790
1811
  createdAt: Date;
@@ -1958,6 +1979,7 @@ export declare const channelContract: {
1958
1979
  }>>;
1959
1980
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1960
1981
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1982
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1961
1983
  }, "strip", z.ZodTypeAny, {
1962
1984
  id: string;
1963
1985
  name: string;
@@ -1983,6 +2005,7 @@ export declare const channelContract: {
1983
2005
  } | undefined;
1984
2006
  lineRichMenuId?: string | null | undefined;
1985
2007
  messengerIntegrationType?: "own" | "business" | undefined;
2008
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
1986
2009
  }, {
1987
2010
  id: string;
1988
2011
  name: string;
@@ -2008,6 +2031,7 @@ export declare const channelContract: {
2008
2031
  } | undefined;
2009
2032
  lineRichMenuId?: string | null | undefined;
2010
2033
  messengerIntegrationType?: "own" | "business" | undefined;
2034
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2011
2035
  }>;
2012
2036
  brandName: z.ZodString;
2013
2037
  platformId: z.ZodString;
@@ -2267,6 +2291,7 @@ export declare const channelContract: {
2267
2291
  } | undefined;
2268
2292
  lineRichMenuId?: string | null | undefined;
2269
2293
  messengerIntegrationType?: "own" | "business" | undefined;
2294
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2270
2295
  };
2271
2296
  status: boolean;
2272
2297
  createdAt: Date;
@@ -2357,6 +2382,7 @@ export declare const channelContract: {
2357
2382
  } | undefined;
2358
2383
  lineRichMenuId?: string | null | undefined;
2359
2384
  messengerIntegrationType?: "own" | "business" | undefined;
2385
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2360
2386
  };
2361
2387
  status: boolean;
2362
2388
  createdAt: Date;
@@ -2449,6 +2475,7 @@ export declare const channelContract: {
2449
2475
  } | undefined;
2450
2476
  lineRichMenuId?: string | null | undefined;
2451
2477
  messengerIntegrationType?: "own" | "business" | undefined;
2478
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2452
2479
  };
2453
2480
  status: boolean;
2454
2481
  createdAt: Date;
@@ -2542,6 +2569,7 @@ export declare const channelContract: {
2542
2569
  } | undefined;
2543
2570
  lineRichMenuId?: string | null | undefined;
2544
2571
  messengerIntegrationType?: "own" | "business" | undefined;
2572
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2545
2573
  };
2546
2574
  status: boolean;
2547
2575
  createdAt: Date;
@@ -2709,6 +2737,7 @@ export declare const channelContract: {
2709
2737
  }>>;
2710
2738
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2711
2739
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2740
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2712
2741
  }, "strip", z.ZodTypeAny, {
2713
2742
  id: string;
2714
2743
  name: string;
@@ -2734,6 +2763,7 @@ export declare const channelContract: {
2734
2763
  } | undefined;
2735
2764
  lineRichMenuId?: string | null | undefined;
2736
2765
  messengerIntegrationType?: "own" | "business" | undefined;
2766
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2737
2767
  }, {
2738
2768
  id: string;
2739
2769
  name: string;
@@ -2759,6 +2789,7 @@ export declare const channelContract: {
2759
2789
  } | undefined;
2760
2790
  lineRichMenuId?: string | null | undefined;
2761
2791
  messengerIntegrationType?: "own" | "business" | undefined;
2792
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
2762
2793
  }>;
2763
2794
  brandName: z.ZodString;
2764
2795
  platformId: z.ZodString;
@@ -3018,6 +3049,7 @@ export declare const channelContract: {
3018
3049
  } | undefined;
3019
3050
  lineRichMenuId?: string | null | undefined;
3020
3051
  messengerIntegrationType?: "own" | "business" | undefined;
3052
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3021
3053
  };
3022
3054
  status: boolean;
3023
3055
  createdAt: Date;
@@ -3108,6 +3140,7 @@ export declare const channelContract: {
3108
3140
  } | undefined;
3109
3141
  lineRichMenuId?: string | null | undefined;
3110
3142
  messengerIntegrationType?: "own" | "business" | undefined;
3143
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3111
3144
  };
3112
3145
  status: boolean;
3113
3146
  createdAt: Date;
@@ -3200,6 +3233,7 @@ export declare const channelContract: {
3200
3233
  } | undefined;
3201
3234
  lineRichMenuId?: string | null | undefined;
3202
3235
  messengerIntegrationType?: "own" | "business" | undefined;
3236
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3203
3237
  };
3204
3238
  status: boolean;
3205
3239
  createdAt: Date;
@@ -3293,6 +3327,7 @@ export declare const channelContract: {
3293
3327
  } | undefined;
3294
3328
  lineRichMenuId?: string | null | undefined;
3295
3329
  messengerIntegrationType?: "own" | "business" | undefined;
3330
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3296
3331
  };
3297
3332
  status: boolean;
3298
3333
  createdAt: Date;
@@ -3443,6 +3478,7 @@ export declare const channelContract: {
3443
3478
  }>>;
3444
3479
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3445
3480
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3481
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3446
3482
  }, "strip", z.ZodTypeAny, {
3447
3483
  id: string;
3448
3484
  name: string;
@@ -3468,6 +3504,7 @@ export declare const channelContract: {
3468
3504
  } | undefined;
3469
3505
  lineRichMenuId?: string | null | undefined;
3470
3506
  messengerIntegrationType?: "own" | "business" | undefined;
3507
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3471
3508
  }, {
3472
3509
  id: string;
3473
3510
  name: string;
@@ -3493,6 +3530,7 @@ export declare const channelContract: {
3493
3530
  } | undefined;
3494
3531
  lineRichMenuId?: string | null | undefined;
3495
3532
  messengerIntegrationType?: "own" | "business" | undefined;
3533
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3496
3534
  }>;
3497
3535
  platformId: z.ZodString;
3498
3536
  connectedUserId: z.ZodString;
@@ -3525,6 +3563,7 @@ export declare const channelContract: {
3525
3563
  } | undefined;
3526
3564
  lineRichMenuId?: string | null | undefined;
3527
3565
  messengerIntegrationType?: "own" | "business" | undefined;
3566
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3528
3567
  };
3529
3568
  platformId: string;
3530
3569
  connectedUserId: string;
@@ -3557,6 +3596,7 @@ export declare const channelContract: {
3557
3596
  } | undefined;
3558
3597
  lineRichMenuId?: string | null | undefined;
3559
3598
  messengerIntegrationType?: "own" | "business" | undefined;
3599
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3560
3600
  };
3561
3601
  platformId: string;
3562
3602
  connectedUserId: string;
@@ -3627,6 +3667,7 @@ export declare const channelContract: {
3627
3667
  }>>;
3628
3668
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3629
3669
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3670
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
3630
3671
  }, "strip", z.ZodTypeAny, {
3631
3672
  id: string;
3632
3673
  name: string;
@@ -3652,6 +3693,7 @@ export declare const channelContract: {
3652
3693
  } | undefined;
3653
3694
  lineRichMenuId?: string | null | undefined;
3654
3695
  messengerIntegrationType?: "own" | "business" | undefined;
3696
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3655
3697
  }, {
3656
3698
  id: string;
3657
3699
  name: string;
@@ -3677,6 +3719,7 @@ export declare const channelContract: {
3677
3719
  } | undefined;
3678
3720
  lineRichMenuId?: string | null | undefined;
3679
3721
  messengerIntegrationType?: "own" | "business" | undefined;
3722
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3680
3723
  }>;
3681
3724
  brandName: z.ZodString;
3682
3725
  platformId: z.ZodString;
@@ -3936,6 +3979,7 @@ export declare const channelContract: {
3936
3979
  } | undefined;
3937
3980
  lineRichMenuId?: string | null | undefined;
3938
3981
  messengerIntegrationType?: "own" | "business" | undefined;
3982
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
3939
3983
  };
3940
3984
  status: boolean;
3941
3985
  createdAt: Date;
@@ -4026,6 +4070,7 @@ export declare const channelContract: {
4026
4070
  } | undefined;
4027
4071
  lineRichMenuId?: string | null | undefined;
4028
4072
  messengerIntegrationType?: "own" | "business" | undefined;
4073
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4029
4074
  };
4030
4075
  status: boolean;
4031
4076
  createdAt: Date;
@@ -4118,6 +4163,7 @@ export declare const channelContract: {
4118
4163
  } | undefined;
4119
4164
  lineRichMenuId?: string | null | undefined;
4120
4165
  messengerIntegrationType?: "own" | "business" | undefined;
4166
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4121
4167
  };
4122
4168
  status: boolean;
4123
4169
  createdAt: Date;
@@ -4211,6 +4257,7 @@ export declare const channelContract: {
4211
4257
  } | undefined;
4212
4258
  lineRichMenuId?: string | null | undefined;
4213
4259
  messengerIntegrationType?: "own" | "business" | undefined;
4260
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
4214
4261
  };
4215
4262
  status: boolean;
4216
4263
  createdAt: Date;
@@ -5253,6 +5300,7 @@ export declare const channelContract: {
5253
5300
  }>>;
5254
5301
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5255
5302
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5303
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5256
5304
  }, "strip", z.ZodTypeAny, {
5257
5305
  id: string;
5258
5306
  name: string;
@@ -5278,6 +5326,7 @@ export declare const channelContract: {
5278
5326
  } | undefined;
5279
5327
  lineRichMenuId?: string | null | undefined;
5280
5328
  messengerIntegrationType?: "own" | "business" | undefined;
5329
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5281
5330
  }, {
5282
5331
  id: string;
5283
5332
  name: string;
@@ -5303,6 +5352,7 @@ export declare const channelContract: {
5303
5352
  } | undefined;
5304
5353
  lineRichMenuId?: string | null | undefined;
5305
5354
  messengerIntegrationType?: "own" | "business" | undefined;
5355
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5306
5356
  }>;
5307
5357
  platformId: z.ZodString;
5308
5358
  connectedUserId: z.ZodString;
@@ -5335,6 +5385,7 @@ export declare const channelContract: {
5335
5385
  } | undefined;
5336
5386
  lineRichMenuId?: string | null | undefined;
5337
5387
  messengerIntegrationType?: "own" | "business" | undefined;
5388
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5338
5389
  };
5339
5390
  platformId: string;
5340
5391
  connectedUserId: string;
@@ -5367,6 +5418,7 @@ export declare const channelContract: {
5367
5418
  } | undefined;
5368
5419
  lineRichMenuId?: string | null | undefined;
5369
5420
  messengerIntegrationType?: "own" | "business" | undefined;
5421
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5370
5422
  };
5371
5423
  platformId: string;
5372
5424
  connectedUserId: string;
@@ -5437,6 +5489,7 @@ export declare const channelContract: {
5437
5489
  }>>;
5438
5490
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5439
5491
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5492
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
5440
5493
  }, "strip", z.ZodTypeAny, {
5441
5494
  id: string;
5442
5495
  name: string;
@@ -5462,6 +5515,7 @@ export declare const channelContract: {
5462
5515
  } | undefined;
5463
5516
  lineRichMenuId?: string | null | undefined;
5464
5517
  messengerIntegrationType?: "own" | "business" | undefined;
5518
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5465
5519
  }, {
5466
5520
  id: string;
5467
5521
  name: string;
@@ -5487,6 +5541,7 @@ export declare const channelContract: {
5487
5541
  } | undefined;
5488
5542
  lineRichMenuId?: string | null | undefined;
5489
5543
  messengerIntegrationType?: "own" | "business" | undefined;
5544
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5490
5545
  }>;
5491
5546
  brandName: z.ZodString;
5492
5547
  platformId: z.ZodString;
@@ -5746,6 +5801,7 @@ export declare const channelContract: {
5746
5801
  } | undefined;
5747
5802
  lineRichMenuId?: string | null | undefined;
5748
5803
  messengerIntegrationType?: "own" | "business" | undefined;
5804
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5749
5805
  };
5750
5806
  status: boolean;
5751
5807
  createdAt: Date;
@@ -5836,6 +5892,7 @@ export declare const channelContract: {
5836
5892
  } | undefined;
5837
5893
  lineRichMenuId?: string | null | undefined;
5838
5894
  messengerIntegrationType?: "own" | "business" | undefined;
5895
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5839
5896
  };
5840
5897
  status: boolean;
5841
5898
  createdAt: Date;
@@ -5928,6 +5985,7 @@ export declare const channelContract: {
5928
5985
  } | undefined;
5929
5986
  lineRichMenuId?: string | null | undefined;
5930
5987
  messengerIntegrationType?: "own" | "business" | undefined;
5988
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
5931
5989
  };
5932
5990
  status: boolean;
5933
5991
  createdAt: Date;
@@ -6021,6 +6079,7 @@ export declare const channelContract: {
6021
6079
  } | undefined;
6022
6080
  lineRichMenuId?: string | null | undefined;
6023
6081
  messengerIntegrationType?: "own" | "business" | undefined;
6082
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6024
6083
  };
6025
6084
  status: boolean;
6026
6085
  createdAt: Date;
@@ -6422,6 +6481,7 @@ export declare const channelContract: {
6422
6481
  }>>;
6423
6482
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6424
6483
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6484
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6425
6485
  }, "strip", z.ZodTypeAny, {
6426
6486
  id: string;
6427
6487
  name: string;
@@ -6447,6 +6507,7 @@ export declare const channelContract: {
6447
6507
  } | undefined;
6448
6508
  lineRichMenuId?: string | null | undefined;
6449
6509
  messengerIntegrationType?: "own" | "business" | undefined;
6510
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6450
6511
  }, {
6451
6512
  id: string;
6452
6513
  name: string;
@@ -6472,6 +6533,7 @@ export declare const channelContract: {
6472
6533
  } | undefined;
6473
6534
  lineRichMenuId?: string | null | undefined;
6474
6535
  messengerIntegrationType?: "own" | "business" | undefined;
6536
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6475
6537
  }>;
6476
6538
  platformId: z.ZodString;
6477
6539
  connectedUserId: z.ZodString;
@@ -6504,6 +6566,7 @@ export declare const channelContract: {
6504
6566
  } | undefined;
6505
6567
  lineRichMenuId?: string | null | undefined;
6506
6568
  messengerIntegrationType?: "own" | "business" | undefined;
6569
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6507
6570
  };
6508
6571
  platformId: string;
6509
6572
  connectedUserId: string;
@@ -6536,6 +6599,7 @@ export declare const channelContract: {
6536
6599
  } | undefined;
6537
6600
  lineRichMenuId?: string | null | undefined;
6538
6601
  messengerIntegrationType?: "own" | "business" | undefined;
6602
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6539
6603
  };
6540
6604
  platformId: string;
6541
6605
  connectedUserId: string;
@@ -6606,6 +6670,7 @@ export declare const channelContract: {
6606
6670
  }>>;
6607
6671
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6608
6672
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6673
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
6609
6674
  }, "strip", z.ZodTypeAny, {
6610
6675
  id: string;
6611
6676
  name: string;
@@ -6631,6 +6696,7 @@ export declare const channelContract: {
6631
6696
  } | undefined;
6632
6697
  lineRichMenuId?: string | null | undefined;
6633
6698
  messengerIntegrationType?: "own" | "business" | undefined;
6699
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6634
6700
  }, {
6635
6701
  id: string;
6636
6702
  name: string;
@@ -6656,6 +6722,7 @@ export declare const channelContract: {
6656
6722
  } | undefined;
6657
6723
  lineRichMenuId?: string | null | undefined;
6658
6724
  messengerIntegrationType?: "own" | "business" | undefined;
6725
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6659
6726
  }>;
6660
6727
  brandName: z.ZodString;
6661
6728
  platformId: z.ZodString;
@@ -6915,6 +6982,7 @@ export declare const channelContract: {
6915
6982
  } | undefined;
6916
6983
  lineRichMenuId?: string | null | undefined;
6917
6984
  messengerIntegrationType?: "own" | "business" | undefined;
6985
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
6918
6986
  };
6919
6987
  status: boolean;
6920
6988
  createdAt: Date;
@@ -7005,6 +7073,7 @@ export declare const channelContract: {
7005
7073
  } | undefined;
7006
7074
  lineRichMenuId?: string | null | undefined;
7007
7075
  messengerIntegrationType?: "own" | "business" | undefined;
7076
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7008
7077
  };
7009
7078
  status: boolean;
7010
7079
  createdAt: Date;
@@ -7097,6 +7166,7 @@ export declare const channelContract: {
7097
7166
  } | undefined;
7098
7167
  lineRichMenuId?: string | null | undefined;
7099
7168
  messengerIntegrationType?: "own" | "business" | undefined;
7169
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7100
7170
  };
7101
7171
  status: boolean;
7102
7172
  createdAt: Date;
@@ -7190,6 +7260,7 @@ export declare const channelContract: {
7190
7260
  } | undefined;
7191
7261
  lineRichMenuId?: string | null | undefined;
7192
7262
  messengerIntegrationType?: "own" | "business" | undefined;
7263
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7193
7264
  };
7194
7265
  status: boolean;
7195
7266
  createdAt: Date;
@@ -7361,6 +7432,7 @@ export declare const channelContract: {
7361
7432
  }>>;
7362
7433
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7363
7434
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
7435
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
7364
7436
  }, "strip", z.ZodTypeAny, {
7365
7437
  id: string;
7366
7438
  name: string;
@@ -7386,6 +7458,7 @@ export declare const channelContract: {
7386
7458
  } | undefined;
7387
7459
  lineRichMenuId?: string | null | undefined;
7388
7460
  messengerIntegrationType?: "own" | "business" | undefined;
7461
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7389
7462
  }, {
7390
7463
  id: string;
7391
7464
  name: string;
@@ -7411,6 +7484,7 @@ export declare const channelContract: {
7411
7484
  } | undefined;
7412
7485
  lineRichMenuId?: string | null | undefined;
7413
7486
  messengerIntegrationType?: "own" | "business" | undefined;
7487
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7414
7488
  }>;
7415
7489
  brandName: z.ZodString;
7416
7490
  platformId: z.ZodString;
@@ -7670,6 +7744,7 @@ export declare const channelContract: {
7670
7744
  } | undefined;
7671
7745
  lineRichMenuId?: string | null | undefined;
7672
7746
  messengerIntegrationType?: "own" | "business" | undefined;
7747
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7673
7748
  };
7674
7749
  status: boolean;
7675
7750
  createdAt: Date;
@@ -7760,6 +7835,7 @@ export declare const channelContract: {
7760
7835
  } | undefined;
7761
7836
  lineRichMenuId?: string | null | undefined;
7762
7837
  messengerIntegrationType?: "own" | "business" | undefined;
7838
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7763
7839
  };
7764
7840
  status: boolean;
7765
7841
  createdAt: Date;
@@ -7852,6 +7928,7 @@ export declare const channelContract: {
7852
7928
  } | undefined;
7853
7929
  lineRichMenuId?: string | null | undefined;
7854
7930
  messengerIntegrationType?: "own" | "business" | undefined;
7931
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7855
7932
  };
7856
7933
  status: boolean;
7857
7934
  createdAt: Date;
@@ -7945,6 +8022,7 @@ export declare const channelContract: {
7945
8022
  } | undefined;
7946
8023
  lineRichMenuId?: string | null | undefined;
7947
8024
  messengerIntegrationType?: "own" | "business" | undefined;
8025
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
7948
8026
  };
7949
8027
  status: boolean;
7950
8028
  createdAt: Date;
@@ -8126,6 +8204,7 @@ export declare const channelContract: {
8126
8204
  }>>;
8127
8205
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8128
8206
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8207
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8129
8208
  }, "strip", z.ZodTypeAny, {
8130
8209
  id: string;
8131
8210
  name: string;
@@ -8151,6 +8230,7 @@ export declare const channelContract: {
8151
8230
  } | undefined;
8152
8231
  lineRichMenuId?: string | null | undefined;
8153
8232
  messengerIntegrationType?: "own" | "business" | undefined;
8233
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8154
8234
  }, {
8155
8235
  id: string;
8156
8236
  name: string;
@@ -8176,6 +8256,7 @@ export declare const channelContract: {
8176
8256
  } | undefined;
8177
8257
  lineRichMenuId?: string | null | undefined;
8178
8258
  messengerIntegrationType?: "own" | "business" | undefined;
8259
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8179
8260
  }>;
8180
8261
  brandName: z.ZodString;
8181
8262
  platformId: z.ZodString;
@@ -8435,6 +8516,7 @@ export declare const channelContract: {
8435
8516
  } | undefined;
8436
8517
  lineRichMenuId?: string | null | undefined;
8437
8518
  messengerIntegrationType?: "own" | "business" | undefined;
8519
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8438
8520
  };
8439
8521
  status: boolean;
8440
8522
  createdAt: Date;
@@ -8525,6 +8607,7 @@ export declare const channelContract: {
8525
8607
  } | undefined;
8526
8608
  lineRichMenuId?: string | null | undefined;
8527
8609
  messengerIntegrationType?: "own" | "business" | undefined;
8610
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8528
8611
  };
8529
8612
  status: boolean;
8530
8613
  createdAt: Date;
@@ -8617,6 +8700,7 @@ export declare const channelContract: {
8617
8700
  } | undefined;
8618
8701
  lineRichMenuId?: string | null | undefined;
8619
8702
  messengerIntegrationType?: "own" | "business" | undefined;
8703
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8620
8704
  };
8621
8705
  status: boolean;
8622
8706
  createdAt: Date;
@@ -8710,6 +8794,7 @@ export declare const channelContract: {
8710
8794
  } | undefined;
8711
8795
  lineRichMenuId?: string | null | undefined;
8712
8796
  messengerIntegrationType?: "own" | "business" | undefined;
8797
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8713
8798
  };
8714
8799
  status: boolean;
8715
8800
  createdAt: Date;
@@ -8941,6 +9026,7 @@ export declare const channelContract: {
8941
9026
  }>>;
8942
9027
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8943
9028
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
9029
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
8944
9030
  }, "strip", z.ZodTypeAny, {
8945
9031
  id: string;
8946
9032
  name: string;
@@ -8966,6 +9052,7 @@ export declare const channelContract: {
8966
9052
  } | undefined;
8967
9053
  lineRichMenuId?: string | null | undefined;
8968
9054
  messengerIntegrationType?: "own" | "business" | undefined;
9055
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8969
9056
  }, {
8970
9057
  id: string;
8971
9058
  name: string;
@@ -8991,6 +9078,7 @@ export declare const channelContract: {
8991
9078
  } | undefined;
8992
9079
  lineRichMenuId?: string | null | undefined;
8993
9080
  messengerIntegrationType?: "own" | "business" | undefined;
9081
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
8994
9082
  }>;
8995
9083
  brandName: z.ZodString;
8996
9084
  platformId: z.ZodString;
@@ -9250,6 +9338,7 @@ export declare const channelContract: {
9250
9338
  } | undefined;
9251
9339
  lineRichMenuId?: string | null | undefined;
9252
9340
  messengerIntegrationType?: "own" | "business" | undefined;
9341
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9253
9342
  };
9254
9343
  status: boolean;
9255
9344
  createdAt: Date;
@@ -9340,6 +9429,7 @@ export declare const channelContract: {
9340
9429
  } | undefined;
9341
9430
  lineRichMenuId?: string | null | undefined;
9342
9431
  messengerIntegrationType?: "own" | "business" | undefined;
9432
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9343
9433
  };
9344
9434
  status: boolean;
9345
9435
  createdAt: Date;
@@ -9432,6 +9522,7 @@ export declare const channelContract: {
9432
9522
  } | undefined;
9433
9523
  lineRichMenuId?: string | null | undefined;
9434
9524
  messengerIntegrationType?: "own" | "business" | undefined;
9525
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9435
9526
  };
9436
9527
  status: boolean;
9437
9528
  createdAt: Date;
@@ -9525,6 +9616,7 @@ export declare const channelContract: {
9525
9616
  } | undefined;
9526
9617
  lineRichMenuId?: string | null | undefined;
9527
9618
  messengerIntegrationType?: "own" | "business" | undefined;
9619
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9528
9620
  };
9529
9621
  status: boolean;
9530
9622
  createdAt: Date;
@@ -9629,238 +9721,7 @@ export declare const channelContract: {
9629
9721
  }>>>;
9630
9722
  };
9631
9723
  };
9632
- facebookFeed: {
9633
- getPages: {
9634
- method: "GET";
9635
- query: z.ZodObject<{
9636
- accessToken: z.ZodString;
9637
- userId: z.ZodString;
9638
- }, "strip", z.ZodTypeAny, {
9639
- userId: string;
9640
- accessToken: string;
9641
- }, {
9642
- userId: string;
9643
- accessToken: string;
9644
- }>;
9645
- responses: {
9646
- 200: z.ZodObject<{
9647
- requestId: z.ZodString;
9648
- data: z.ZodObject<{
9649
- data: z.ZodArray<z.ZodObject<{
9650
- access_token: z.ZodString;
9651
- category: z.ZodString;
9652
- category_list: z.ZodArray<z.ZodObject<{
9653
- id: z.ZodString;
9654
- name: z.ZodString;
9655
- }, "strip", z.ZodTypeAny, {
9656
- id: string;
9657
- name: string;
9658
- }, {
9659
- id: string;
9660
- name: string;
9661
- }>, "many">;
9662
- id: z.ZodString;
9663
- name: z.ZodString;
9664
- tasks: z.ZodArray<z.ZodString, "many">;
9665
- picture: z.ZodObject<{
9666
- data: z.ZodObject<{
9667
- url: z.ZodString;
9668
- }, "strip", z.ZodTypeAny, {
9669
- url: string;
9670
- }, {
9671
- url: string;
9672
- }>;
9673
- }, "strip", z.ZodTypeAny, {
9674
- data: {
9675
- url: string;
9676
- };
9677
- }, {
9678
- data: {
9679
- url: string;
9680
- };
9681
- }>;
9682
- }, "strip", z.ZodTypeAny, {
9683
- id: string;
9684
- name: string;
9685
- picture: {
9686
- data: {
9687
- url: string;
9688
- };
9689
- };
9690
- category: string;
9691
- access_token: string;
9692
- category_list: {
9693
- id: string;
9694
- name: string;
9695
- }[];
9696
- tasks: string[];
9697
- }, {
9698
- id: string;
9699
- name: string;
9700
- picture: {
9701
- data: {
9702
- url: string;
9703
- };
9704
- };
9705
- category: string;
9706
- access_token: string;
9707
- category_list: {
9708
- id: string;
9709
- name: string;
9710
- }[];
9711
- tasks: string[];
9712
- }>, "many">;
9713
- paging: z.ZodOptional<z.ZodObject<{
9714
- cursors: z.ZodObject<{
9715
- before: z.ZodOptional<z.ZodString>;
9716
- after: z.ZodOptional<z.ZodString>;
9717
- }, "strip", z.ZodTypeAny, {
9718
- before?: string | undefined;
9719
- after?: string | undefined;
9720
- }, {
9721
- before?: string | undefined;
9722
- after?: string | undefined;
9723
- }>;
9724
- }, "strip", z.ZodTypeAny, {
9725
- cursors: {
9726
- before?: string | undefined;
9727
- after?: string | undefined;
9728
- };
9729
- }, {
9730
- cursors: {
9731
- before?: string | undefined;
9732
- after?: string | undefined;
9733
- };
9734
- }>>;
9735
- }, "strip", z.ZodTypeAny, {
9736
- data: {
9737
- id: string;
9738
- name: string;
9739
- picture: {
9740
- data: {
9741
- url: string;
9742
- };
9743
- };
9744
- category: string;
9745
- access_token: string;
9746
- category_list: {
9747
- id: string;
9748
- name: string;
9749
- }[];
9750
- tasks: string[];
9751
- }[];
9752
- paging?: {
9753
- cursors: {
9754
- before?: string | undefined;
9755
- after?: string | undefined;
9756
- };
9757
- } | undefined;
9758
- }, {
9759
- data: {
9760
- id: string;
9761
- name: string;
9762
- picture: {
9763
- data: {
9764
- url: string;
9765
- };
9766
- };
9767
- category: string;
9768
- access_token: string;
9769
- category_list: {
9770
- id: string;
9771
- name: string;
9772
- }[];
9773
- tasks: string[];
9774
- }[];
9775
- paging?: {
9776
- cursors: {
9777
- before?: string | undefined;
9778
- after?: string | undefined;
9779
- };
9780
- } | undefined;
9781
- }>;
9782
- }, "strip", z.ZodTypeAny, {
9783
- data: {
9784
- data: {
9785
- id: string;
9786
- name: string;
9787
- picture: {
9788
- data: {
9789
- url: string;
9790
- };
9791
- };
9792
- category: string;
9793
- access_token: string;
9794
- category_list: {
9795
- id: string;
9796
- name: string;
9797
- }[];
9798
- tasks: string[];
9799
- }[];
9800
- paging?: {
9801
- cursors: {
9802
- before?: string | undefined;
9803
- after?: string | undefined;
9804
- };
9805
- } | undefined;
9806
- };
9807
- requestId: string;
9808
- }, {
9809
- data: {
9810
- data: {
9811
- id: string;
9812
- name: string;
9813
- picture: {
9814
- data: {
9815
- url: string;
9816
- };
9817
- };
9818
- category: string;
9819
- access_token: string;
9820
- category_list: {
9821
- id: string;
9822
- name: string;
9823
- }[];
9824
- tasks: string[];
9825
- }[];
9826
- paging?: {
9827
- cursors: {
9828
- before?: string | undefined;
9829
- after?: string | undefined;
9830
- };
9831
- } | undefined;
9832
- };
9833
- requestId: string;
9834
- }>;
9835
- 500: z.ZodObject<{
9836
- message: z.ZodString;
9837
- error: z.ZodAny;
9838
- }, "strip", z.ZodTypeAny, {
9839
- message: string;
9840
- error?: any;
9841
- }, {
9842
- message: string;
9843
- error?: any;
9844
- }>;
9845
- };
9846
- path: "channel/facebook-feed/pages";
9847
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9848
- 'x-tenant': z.ZodString;
9849
- authorization: z.ZodString;
9850
- 'x-code': z.ZodOptional<z.ZodString>;
9851
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
9852
- }, "strip", z.ZodTypeAny, {
9853
- 'x-tenant': string;
9854
- authorization: string;
9855
- 'x-client-timezone': string;
9856
- 'x-code'?: string | undefined;
9857
- }, {
9858
- 'x-tenant': string;
9859
- authorization: string;
9860
- 'x-code'?: string | undefined;
9861
- 'x-client-timezone'?: string | undefined;
9862
- }>>>;
9863
- };
9724
+ whatsapp: {
9864
9725
  connect: {
9865
9726
  body: z.ZodObject<{
9866
9727
  name: z.ZodString;
@@ -9918,6 +9779,7 @@ export declare const channelContract: {
9918
9779
  }>>;
9919
9780
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
9920
9781
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
9782
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
9921
9783
  }, "strip", z.ZodTypeAny, {
9922
9784
  id: string;
9923
9785
  name: string;
@@ -9943,6 +9805,7 @@ export declare const channelContract: {
9943
9805
  } | undefined;
9944
9806
  lineRichMenuId?: string | null | undefined;
9945
9807
  messengerIntegrationType?: "own" | "business" | undefined;
9808
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9946
9809
  }, {
9947
9810
  id: string;
9948
9811
  name: string;
@@ -9968,10 +9831,9 @@ export declare const channelContract: {
9968
9831
  } | undefined;
9969
9832
  lineRichMenuId?: string | null | undefined;
9970
9833
  messengerIntegrationType?: "own" | "business" | undefined;
9834
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
9971
9835
  }>;
9972
9836
  platformId: z.ZodString;
9973
- connectedUserId: z.ZodString;
9974
- connectedUserName: z.ZodOptional<z.ZodString>;
9975
9837
  }, "strip", z.ZodTypeAny, {
9976
9838
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
9977
9839
  name: string;
@@ -10000,10 +9862,9 @@ export declare const channelContract: {
10000
9862
  } | undefined;
10001
9863
  lineRichMenuId?: string | null | undefined;
10002
9864
  messengerIntegrationType?: "own" | "business" | undefined;
9865
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10003
9866
  };
10004
9867
  platformId: string;
10005
- connectedUserId: string;
10006
- connectedUserName?: string | undefined;
10007
9868
  }, {
10008
9869
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10009
9870
  name: string;
@@ -10032,12 +9893,11 @@ export declare const channelContract: {
10032
9893
  } | undefined;
10033
9894
  lineRichMenuId?: string | null | undefined;
10034
9895
  messengerIntegrationType?: "own" | "business" | undefined;
9896
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10035
9897
  };
10036
9898
  platformId: string;
10037
- connectedUserId: string;
10038
- connectedUserName?: string | undefined;
10039
9899
  }>;
10040
- summary: "Connect Facebook Feed channel";
9900
+ summary: "Connect message channel";
10041
9901
  method: "POST";
10042
9902
  responses: {
10043
9903
  200: z.ZodObject<{
@@ -10102,6 +9962,7 @@ export declare const channelContract: {
10102
9962
  }>>;
10103
9963
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10104
9964
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
9965
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10105
9966
  }, "strip", z.ZodTypeAny, {
10106
9967
  id: string;
10107
9968
  name: string;
@@ -10127,6 +9988,7 @@ export declare const channelContract: {
10127
9988
  } | undefined;
10128
9989
  lineRichMenuId?: string | null | undefined;
10129
9990
  messengerIntegrationType?: "own" | "business" | undefined;
9991
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10130
9992
  }, {
10131
9993
  id: string;
10132
9994
  name: string;
@@ -10152,6 +10014,7 @@ export declare const channelContract: {
10152
10014
  } | undefined;
10153
10015
  lineRichMenuId?: string | null | undefined;
10154
10016
  messengerIntegrationType?: "own" | "business" | undefined;
10017
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10155
10018
  }>;
10156
10019
  brandName: z.ZodString;
10157
10020
  platformId: z.ZodString;
@@ -10411,6 +10274,7 @@ export declare const channelContract: {
10411
10274
  } | undefined;
10412
10275
  lineRichMenuId?: string | null | undefined;
10413
10276
  messengerIntegrationType?: "own" | "business" | undefined;
10277
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10414
10278
  };
10415
10279
  status: boolean;
10416
10280
  createdAt: Date;
@@ -10501,6 +10365,7 @@ export declare const channelContract: {
10501
10365
  } | undefined;
10502
10366
  lineRichMenuId?: string | null | undefined;
10503
10367
  messengerIntegrationType?: "own" | "business" | undefined;
10368
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10504
10369
  };
10505
10370
  status: boolean;
10506
10371
  createdAt: Date;
@@ -10593,6 +10458,7 @@ export declare const channelContract: {
10593
10458
  } | undefined;
10594
10459
  lineRichMenuId?: string | null | undefined;
10595
10460
  messengerIntegrationType?: "own" | "business" | undefined;
10461
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10596
10462
  };
10597
10463
  status: boolean;
10598
10464
  createdAt: Date;
@@ -10686,6 +10552,7 @@ export declare const channelContract: {
10686
10552
  } | undefined;
10687
10553
  lineRichMenuId?: string | null | undefined;
10688
10554
  messengerIntegrationType?: "own" | "business" | undefined;
10555
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
10689
10556
  };
10690
10557
  status: boolean;
10691
10558
  createdAt: Date;
@@ -10761,7 +10628,7 @@ export declare const channelContract: {
10761
10628
  error?: any;
10762
10629
  }>;
10763
10630
  };
10764
- path: "channel/facebook-feed/connect";
10631
+ path: "channel/whatsapp/connect";
10765
10632
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10766
10633
  'x-tenant': z.ZodString;
10767
10634
  authorization: z.ZodString;
@@ -10779,332 +10646,654 @@ export declare const channelContract: {
10779
10646
  'x-client-timezone'?: string | undefined;
10780
10647
  }>>>;
10781
10648
  };
10782
- };
10783
- whatsapp: {
10784
- connect: {
10785
- body: z.ZodObject<{
10786
- name: z.ZodString;
10787
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
10788
- metadata: z.ZodObject<{
10789
- id: z.ZodString;
10790
- name: z.ZodString;
10791
- accessToken: z.ZodOptional<z.ZodString>;
10792
- channelSecret: z.ZodOptional<z.ZodString>;
10793
- additionalCredentials: z.ZodOptional<z.ZodAny>;
10794
- senderId: z.ZodOptional<z.ZodString>;
10795
- whatsapp: z.ZodOptional<z.ZodObject<{
10796
- wabaBusinessId: z.ZodOptional<z.ZodString>;
10797
- wabaExternalId: z.ZodString;
10798
- phoneNumberId: z.ZodString;
10799
- email: z.ZodString;
10800
- clientId: z.ZodOptional<z.ZodString>;
10801
- channelId: z.ZodOptional<z.ZodString>;
10802
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10803
- apiKey: z.ZodOptional<z.ZodString>;
10804
- tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10649
+ getTemplates: {
10650
+ method: "GET";
10651
+ query: z.ZodObject<{
10652
+ channelId: z.ZodString;
10653
+ }, "strip", z.ZodTypeAny, {
10654
+ channelId: string;
10655
+ }, {
10656
+ channelId: string;
10657
+ }>;
10658
+ responses: {
10659
+ 200: z.ZodObject<{
10660
+ requestId: z.ZodString;
10661
+ data: z.ZodObject<{
10662
+ category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"UTILITY">, z.ZodLiteral<"MARKETING">, z.ZodLiteral<"AUTHENTICATION">]>>;
10663
+ components: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
10664
+ language: z.ZodString;
10665
+ name: z.ZodString;
10666
+ namespace: z.ZodString;
10667
+ status: z.ZodString;
10805
10668
  }, "strip", z.ZodTypeAny, {
10806
- email: string;
10807
- wabaExternalId: string;
10808
- phoneNumberId: string;
10809
- wabaBusinessId?: string | undefined;
10810
- clientId?: string | undefined;
10811
- channelId?: string | undefined;
10812
- status?: "active" | "pending" | undefined;
10813
- apiKey?: string | undefined;
10814
- tier?: "basic" | "regular" | "premium" | undefined;
10669
+ name: string;
10670
+ status: string;
10671
+ language: string;
10672
+ components: {}[];
10673
+ namespace: string;
10674
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
10815
10675
  }, {
10816
- email: string;
10817
- wabaExternalId: string;
10818
- phoneNumberId: string;
10819
- wabaBusinessId?: string | undefined;
10820
- clientId?: string | undefined;
10821
- channelId?: string | undefined;
10822
- status?: "active" | "pending" | undefined;
10823
- apiKey?: string | undefined;
10824
- tier?: "basic" | "regular" | "premium" | undefined;
10825
- }>>;
10826
- vonageCredentials: z.ZodOptional<z.ZodObject<{
10827
- mobileNumber: z.ZodString;
10828
- apiKey: z.ZodString;
10829
- apiSecret: z.ZodString;
10676
+ name: string;
10677
+ status: string;
10678
+ language: string;
10679
+ components: {}[];
10680
+ namespace: string;
10681
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
10682
+ }>;
10683
+ }, "strip", z.ZodTypeAny, {
10684
+ data: {
10685
+ name: string;
10686
+ status: string;
10687
+ language: string;
10688
+ components: {}[];
10689
+ namespace: string;
10690
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
10691
+ };
10692
+ requestId: string;
10693
+ }, {
10694
+ data: {
10695
+ name: string;
10696
+ status: string;
10697
+ language: string;
10698
+ components: {}[];
10699
+ namespace: string;
10700
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
10701
+ };
10702
+ requestId: string;
10703
+ }>;
10704
+ 500: z.ZodObject<{
10705
+ message: z.ZodString;
10706
+ error: z.ZodAny;
10707
+ }, "strip", z.ZodTypeAny, {
10708
+ message: string;
10709
+ error?: any;
10710
+ }, {
10711
+ message: string;
10712
+ error?: any;
10713
+ }>;
10714
+ };
10715
+ path: "channel/whatsapp/templates";
10716
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10717
+ 'x-tenant': z.ZodString;
10718
+ authorization: z.ZodString;
10719
+ 'x-code': z.ZodOptional<z.ZodString>;
10720
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10721
+ }, "strip", z.ZodTypeAny, {
10722
+ 'x-tenant': string;
10723
+ authorization: string;
10724
+ 'x-client-timezone': string;
10725
+ 'x-code'?: string | undefined;
10726
+ }, {
10727
+ 'x-tenant': string;
10728
+ authorization: string;
10729
+ 'x-code'?: string | undefined;
10730
+ 'x-client-timezone'?: string | undefined;
10731
+ }>>>;
10732
+ };
10733
+ };
10734
+ };
10735
+ export declare const channelFacebookFeedContract: {
10736
+ getPages: {
10737
+ method: "GET";
10738
+ query: z.ZodObject<{
10739
+ accessToken: z.ZodString;
10740
+ userId: z.ZodString;
10741
+ }, "strip", z.ZodTypeAny, {
10742
+ userId: string;
10743
+ accessToken: string;
10744
+ }, {
10745
+ userId: string;
10746
+ accessToken: string;
10747
+ }>;
10748
+ responses: {
10749
+ 200: z.ZodObject<{
10750
+ requestId: z.ZodString;
10751
+ data: z.ZodObject<{
10752
+ data: z.ZodArray<z.ZodObject<{
10753
+ access_token: z.ZodString;
10754
+ category: z.ZodString;
10755
+ category_list: z.ZodArray<z.ZodObject<{
10756
+ id: z.ZodString;
10757
+ name: z.ZodString;
10758
+ }, "strip", z.ZodTypeAny, {
10759
+ id: string;
10760
+ name: string;
10761
+ }, {
10762
+ id: string;
10763
+ name: string;
10764
+ }>, "many">;
10765
+ id: z.ZodString;
10766
+ name: z.ZodString;
10767
+ tasks: z.ZodArray<z.ZodString, "many">;
10768
+ picture: z.ZodObject<{
10769
+ data: z.ZodObject<{
10770
+ url: z.ZodString;
10771
+ }, "strip", z.ZodTypeAny, {
10772
+ url: string;
10773
+ }, {
10774
+ url: string;
10775
+ }>;
10776
+ }, "strip", z.ZodTypeAny, {
10777
+ data: {
10778
+ url: string;
10779
+ };
10780
+ }, {
10781
+ data: {
10782
+ url: string;
10783
+ };
10784
+ }>;
10830
10785
  }, "strip", z.ZodTypeAny, {
10831
- apiKey: string;
10832
- mobileNumber: string;
10833
- apiSecret: string;
10786
+ id: string;
10787
+ name: string;
10788
+ picture: {
10789
+ data: {
10790
+ url: string;
10791
+ };
10792
+ };
10793
+ category: string;
10794
+ access_token: string;
10795
+ category_list: {
10796
+ id: string;
10797
+ name: string;
10798
+ }[];
10799
+ tasks: string[];
10834
10800
  }, {
10835
- apiKey: string;
10836
- mobileNumber: string;
10837
- apiSecret: string;
10801
+ id: string;
10802
+ name: string;
10803
+ picture: {
10804
+ data: {
10805
+ url: string;
10806
+ };
10807
+ };
10808
+ category: string;
10809
+ access_token: string;
10810
+ category_list: {
10811
+ id: string;
10812
+ name: string;
10813
+ }[];
10814
+ tasks: string[];
10815
+ }>, "many">;
10816
+ paging: z.ZodOptional<z.ZodObject<{
10817
+ cursors: z.ZodObject<{
10818
+ before: z.ZodOptional<z.ZodString>;
10819
+ after: z.ZodOptional<z.ZodString>;
10820
+ }, "strip", z.ZodTypeAny, {
10821
+ before?: string | undefined;
10822
+ after?: string | undefined;
10823
+ }, {
10824
+ before?: string | undefined;
10825
+ after?: string | undefined;
10826
+ }>;
10827
+ }, "strip", z.ZodTypeAny, {
10828
+ cursors: {
10829
+ before?: string | undefined;
10830
+ after?: string | undefined;
10831
+ };
10832
+ }, {
10833
+ cursors: {
10834
+ before?: string | undefined;
10835
+ after?: string | undefined;
10836
+ };
10838
10837
  }>>;
10839
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
10840
- messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
10841
10838
  }, "strip", z.ZodTypeAny, {
10842
- id: string;
10843
- name: string;
10844
- accessToken?: string | undefined;
10845
- channelSecret?: string | undefined;
10846
- additionalCredentials?: any;
10847
- senderId?: string | undefined;
10848
- whatsapp?: {
10849
- email: string;
10850
- wabaExternalId: string;
10851
- phoneNumberId: string;
10852
- wabaBusinessId?: string | undefined;
10853
- clientId?: string | undefined;
10854
- channelId?: string | undefined;
10855
- status?: "active" | "pending" | undefined;
10856
- apiKey?: string | undefined;
10857
- tier?: "basic" | "regular" | "premium" | undefined;
10858
- } | undefined;
10859
- vonageCredentials?: {
10860
- apiKey: string;
10861
- mobileNumber: string;
10862
- apiSecret: string;
10839
+ data: {
10840
+ id: string;
10841
+ name: string;
10842
+ picture: {
10843
+ data: {
10844
+ url: string;
10845
+ };
10846
+ };
10847
+ category: string;
10848
+ access_token: string;
10849
+ category_list: {
10850
+ id: string;
10851
+ name: string;
10852
+ }[];
10853
+ tasks: string[];
10854
+ }[];
10855
+ paging?: {
10856
+ cursors: {
10857
+ before?: string | undefined;
10858
+ after?: string | undefined;
10859
+ };
10863
10860
  } | undefined;
10864
- lineRichMenuId?: string | null | undefined;
10865
- messengerIntegrationType?: "own" | "business" | undefined;
10866
10861
  }, {
10867
- id: string;
10868
- name: string;
10869
- accessToken?: string | undefined;
10870
- channelSecret?: string | undefined;
10871
- additionalCredentials?: any;
10872
- senderId?: string | undefined;
10873
- whatsapp?: {
10874
- email: string;
10875
- wabaExternalId: string;
10876
- phoneNumberId: string;
10877
- wabaBusinessId?: string | undefined;
10878
- clientId?: string | undefined;
10879
- channelId?: string | undefined;
10880
- status?: "active" | "pending" | undefined;
10881
- apiKey?: string | undefined;
10882
- tier?: "basic" | "regular" | "premium" | undefined;
10883
- } | undefined;
10884
- vonageCredentials?: {
10885
- apiKey: string;
10886
- mobileNumber: string;
10887
- apiSecret: string;
10862
+ data: {
10863
+ id: string;
10864
+ name: string;
10865
+ picture: {
10866
+ data: {
10867
+ url: string;
10868
+ };
10869
+ };
10870
+ category: string;
10871
+ access_token: string;
10872
+ category_list: {
10873
+ id: string;
10874
+ name: string;
10875
+ }[];
10876
+ tasks: string[];
10877
+ }[];
10878
+ paging?: {
10879
+ cursors: {
10880
+ before?: string | undefined;
10881
+ after?: string | undefined;
10882
+ };
10888
10883
  } | undefined;
10889
- lineRichMenuId?: string | null | undefined;
10890
- messengerIntegrationType?: "own" | "business" | undefined;
10891
10884
  }>;
10892
- platformId: z.ZodString;
10893
10885
  }, "strip", z.ZodTypeAny, {
10894
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10895
- name: string;
10896
- metadata: {
10897
- id: string;
10898
- name: string;
10899
- accessToken?: string | undefined;
10900
- channelSecret?: string | undefined;
10901
- additionalCredentials?: any;
10902
- senderId?: string | undefined;
10903
- whatsapp?: {
10904
- email: string;
10905
- wabaExternalId: string;
10906
- phoneNumberId: string;
10907
- wabaBusinessId?: string | undefined;
10908
- clientId?: string | undefined;
10909
- channelId?: string | undefined;
10910
- status?: "active" | "pending" | undefined;
10911
- apiKey?: string | undefined;
10912
- tier?: "basic" | "regular" | "premium" | undefined;
10913
- } | undefined;
10914
- vonageCredentials?: {
10915
- apiKey: string;
10916
- mobileNumber: string;
10917
- apiSecret: string;
10886
+ data: {
10887
+ data: {
10888
+ id: string;
10889
+ name: string;
10890
+ picture: {
10891
+ data: {
10892
+ url: string;
10893
+ };
10894
+ };
10895
+ category: string;
10896
+ access_token: string;
10897
+ category_list: {
10898
+ id: string;
10899
+ name: string;
10900
+ }[];
10901
+ tasks: string[];
10902
+ }[];
10903
+ paging?: {
10904
+ cursors: {
10905
+ before?: string | undefined;
10906
+ after?: string | undefined;
10907
+ };
10918
10908
  } | undefined;
10919
- lineRichMenuId?: string | null | undefined;
10920
- messengerIntegrationType?: "own" | "business" | undefined;
10921
10909
  };
10922
- platformId: string;
10910
+ requestId: string;
10923
10911
  }, {
10924
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
10925
- name: string;
10926
- metadata: {
10927
- id: string;
10928
- name: string;
10929
- accessToken?: string | undefined;
10930
- channelSecret?: string | undefined;
10931
- additionalCredentials?: any;
10932
- senderId?: string | undefined;
10933
- whatsapp?: {
10934
- email: string;
10935
- wabaExternalId: string;
10936
- phoneNumberId: string;
10937
- wabaBusinessId?: string | undefined;
10938
- clientId?: string | undefined;
10939
- channelId?: string | undefined;
10940
- status?: "active" | "pending" | undefined;
10941
- apiKey?: string | undefined;
10942
- tier?: "basic" | "regular" | "premium" | undefined;
10943
- } | undefined;
10944
- vonageCredentials?: {
10945
- apiKey: string;
10946
- mobileNumber: string;
10947
- apiSecret: string;
10912
+ data: {
10913
+ data: {
10914
+ id: string;
10915
+ name: string;
10916
+ picture: {
10917
+ data: {
10918
+ url: string;
10919
+ };
10920
+ };
10921
+ category: string;
10922
+ access_token: string;
10923
+ category_list: {
10924
+ id: string;
10925
+ name: string;
10926
+ }[];
10927
+ tasks: string[];
10928
+ }[];
10929
+ paging?: {
10930
+ cursors: {
10931
+ before?: string | undefined;
10932
+ after?: string | undefined;
10933
+ };
10948
10934
  } | undefined;
10949
- lineRichMenuId?: string | null | undefined;
10950
- messengerIntegrationType?: "own" | "business" | undefined;
10951
10935
  };
10952
- platformId: string;
10936
+ requestId: string;
10953
10937
  }>;
10954
- summary: "Connect message channel";
10955
- method: "POST";
10956
- responses: {
10957
- 200: z.ZodObject<{
10958
- requestId: z.ZodString;
10959
- channel: z.ZodObject<{
10938
+ 500: z.ZodObject<{
10939
+ message: z.ZodString;
10940
+ error: z.ZodAny;
10941
+ }, "strip", z.ZodTypeAny, {
10942
+ message: string;
10943
+ error?: any;
10944
+ }, {
10945
+ message: string;
10946
+ error?: any;
10947
+ }>;
10948
+ };
10949
+ path: "/facebook-feed/pages";
10950
+ };
10951
+ connect: {
10952
+ body: z.ZodObject<{
10953
+ name: z.ZodString;
10954
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
10955
+ metadata: z.ZodObject<{
10956
+ id: z.ZodString;
10957
+ name: z.ZodString;
10958
+ accessToken: z.ZodOptional<z.ZodString>;
10959
+ channelSecret: z.ZodOptional<z.ZodString>;
10960
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
10961
+ senderId: z.ZodOptional<z.ZodString>;
10962
+ whatsapp: z.ZodOptional<z.ZodObject<{
10963
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
10964
+ wabaExternalId: z.ZodString;
10965
+ phoneNumberId: z.ZodString;
10966
+ email: z.ZodString;
10967
+ clientId: z.ZodOptional<z.ZodString>;
10968
+ channelId: z.ZodOptional<z.ZodString>;
10969
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10970
+ apiKey: z.ZodOptional<z.ZodString>;
10971
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10972
+ }, "strip", z.ZodTypeAny, {
10973
+ email: string;
10974
+ wabaExternalId: string;
10975
+ phoneNumberId: string;
10976
+ wabaBusinessId?: string | undefined;
10977
+ clientId?: string | undefined;
10978
+ channelId?: string | undefined;
10979
+ status?: "active" | "pending" | undefined;
10980
+ apiKey?: string | undefined;
10981
+ tier?: "basic" | "regular" | "premium" | undefined;
10982
+ }, {
10983
+ email: string;
10984
+ wabaExternalId: string;
10985
+ phoneNumberId: string;
10986
+ wabaBusinessId?: string | undefined;
10987
+ clientId?: string | undefined;
10988
+ channelId?: string | undefined;
10989
+ status?: "active" | "pending" | undefined;
10990
+ apiKey?: string | undefined;
10991
+ tier?: "basic" | "regular" | "premium" | undefined;
10992
+ }>>;
10993
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
10994
+ mobileNumber: z.ZodString;
10995
+ apiKey: z.ZodString;
10996
+ apiSecret: z.ZodString;
10997
+ }, "strip", z.ZodTypeAny, {
10998
+ apiKey: string;
10999
+ mobileNumber: string;
11000
+ apiSecret: string;
11001
+ }, {
11002
+ apiKey: string;
11003
+ mobileNumber: string;
11004
+ apiSecret: string;
11005
+ }>>;
11006
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11007
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11008
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11009
+ }, "strip", z.ZodTypeAny, {
11010
+ id: string;
11011
+ name: string;
11012
+ accessToken?: string | undefined;
11013
+ channelSecret?: string | undefined;
11014
+ additionalCredentials?: any;
11015
+ senderId?: string | undefined;
11016
+ whatsapp?: {
11017
+ email: string;
11018
+ wabaExternalId: string;
11019
+ phoneNumberId: string;
11020
+ wabaBusinessId?: string | undefined;
11021
+ clientId?: string | undefined;
11022
+ channelId?: string | undefined;
11023
+ status?: "active" | "pending" | undefined;
11024
+ apiKey?: string | undefined;
11025
+ tier?: "basic" | "regular" | "premium" | undefined;
11026
+ } | undefined;
11027
+ vonageCredentials?: {
11028
+ apiKey: string;
11029
+ mobileNumber: string;
11030
+ apiSecret: string;
11031
+ } | undefined;
11032
+ lineRichMenuId?: string | null | undefined;
11033
+ messengerIntegrationType?: "own" | "business" | undefined;
11034
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11035
+ }, {
11036
+ id: string;
11037
+ name: string;
11038
+ accessToken?: string | undefined;
11039
+ channelSecret?: string | undefined;
11040
+ additionalCredentials?: any;
11041
+ senderId?: string | undefined;
11042
+ whatsapp?: {
11043
+ email: string;
11044
+ wabaExternalId: string;
11045
+ phoneNumberId: string;
11046
+ wabaBusinessId?: string | undefined;
11047
+ clientId?: string | undefined;
11048
+ channelId?: string | undefined;
11049
+ status?: "active" | "pending" | undefined;
11050
+ apiKey?: string | undefined;
11051
+ tier?: "basic" | "regular" | "premium" | undefined;
11052
+ } | undefined;
11053
+ vonageCredentials?: {
11054
+ apiKey: string;
11055
+ mobileNumber: string;
11056
+ apiSecret: string;
11057
+ } | undefined;
11058
+ lineRichMenuId?: string | null | undefined;
11059
+ messengerIntegrationType?: "own" | "business" | undefined;
11060
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11061
+ }>;
11062
+ platformId: z.ZodString;
11063
+ connectedUserId: z.ZodString;
11064
+ connectedUserName: z.ZodOptional<z.ZodString>;
11065
+ }, "strip", z.ZodTypeAny, {
11066
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11067
+ name: string;
11068
+ metadata: {
11069
+ id: string;
11070
+ name: string;
11071
+ accessToken?: string | undefined;
11072
+ channelSecret?: string | undefined;
11073
+ additionalCredentials?: any;
11074
+ senderId?: string | undefined;
11075
+ whatsapp?: {
11076
+ email: string;
11077
+ wabaExternalId: string;
11078
+ phoneNumberId: string;
11079
+ wabaBusinessId?: string | undefined;
11080
+ clientId?: string | undefined;
11081
+ channelId?: string | undefined;
11082
+ status?: "active" | "pending" | undefined;
11083
+ apiKey?: string | undefined;
11084
+ tier?: "basic" | "regular" | "premium" | undefined;
11085
+ } | undefined;
11086
+ vonageCredentials?: {
11087
+ apiKey: string;
11088
+ mobileNumber: string;
11089
+ apiSecret: string;
11090
+ } | undefined;
11091
+ lineRichMenuId?: string | null | undefined;
11092
+ messengerIntegrationType?: "own" | "business" | undefined;
11093
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11094
+ };
11095
+ platformId: string;
11096
+ connectedUserId: string;
11097
+ connectedUserName?: string | undefined;
11098
+ }, {
11099
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11100
+ name: string;
11101
+ metadata: {
11102
+ id: string;
11103
+ name: string;
11104
+ accessToken?: string | undefined;
11105
+ channelSecret?: string | undefined;
11106
+ additionalCredentials?: any;
11107
+ senderId?: string | undefined;
11108
+ whatsapp?: {
11109
+ email: string;
11110
+ wabaExternalId: string;
11111
+ phoneNumberId: string;
11112
+ wabaBusinessId?: string | undefined;
11113
+ clientId?: string | undefined;
11114
+ channelId?: string | undefined;
11115
+ status?: "active" | "pending" | undefined;
11116
+ apiKey?: string | undefined;
11117
+ tier?: "basic" | "regular" | "premium" | undefined;
11118
+ } | undefined;
11119
+ vonageCredentials?: {
11120
+ apiKey: string;
11121
+ mobileNumber: string;
11122
+ apiSecret: string;
11123
+ } | undefined;
11124
+ lineRichMenuId?: string | null | undefined;
11125
+ messengerIntegrationType?: "own" | "business" | undefined;
11126
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11127
+ };
11128
+ platformId: string;
11129
+ connectedUserId: string;
11130
+ connectedUserName?: string | undefined;
11131
+ }>;
11132
+ summary: "Connect Facebook Feed channel";
11133
+ method: "POST";
11134
+ responses: {
11135
+ 200: z.ZodObject<{
11136
+ requestId: z.ZodString;
11137
+ channel: z.ZodObject<{
11138
+ id: z.ZodString;
11139
+ createdAt: z.ZodDate;
11140
+ updatedAt: z.ZodDate;
11141
+ deletedAt: z.ZodNullable<z.ZodDate>;
11142
+ name: z.ZodString;
11143
+ type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
11144
+ metadata: z.ZodObject<{
10960
11145
  id: z.ZodString;
10961
- createdAt: z.ZodDate;
10962
- updatedAt: z.ZodDate;
10963
- deletedAt: z.ZodNullable<z.ZodDate>;
10964
11146
  name: z.ZodString;
10965
- type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
10966
- metadata: z.ZodObject<{
10967
- id: z.ZodString;
10968
- name: z.ZodString;
10969
- accessToken: z.ZodOptional<z.ZodString>;
10970
- channelSecret: z.ZodOptional<z.ZodString>;
10971
- additionalCredentials: z.ZodOptional<z.ZodAny>;
10972
- senderId: z.ZodOptional<z.ZodString>;
10973
- whatsapp: z.ZodOptional<z.ZodObject<{
10974
- wabaBusinessId: z.ZodOptional<z.ZodString>;
10975
- wabaExternalId: z.ZodString;
10976
- phoneNumberId: z.ZodString;
10977
- email: z.ZodString;
10978
- clientId: z.ZodOptional<z.ZodString>;
10979
- channelId: z.ZodOptional<z.ZodString>;
10980
- status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
10981
- apiKey: z.ZodOptional<z.ZodString>;
10982
- tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
10983
- }, "strip", z.ZodTypeAny, {
10984
- email: string;
10985
- wabaExternalId: string;
10986
- phoneNumberId: string;
10987
- wabaBusinessId?: string | undefined;
10988
- clientId?: string | undefined;
10989
- channelId?: string | undefined;
10990
- status?: "active" | "pending" | undefined;
10991
- apiKey?: string | undefined;
10992
- tier?: "basic" | "regular" | "premium" | undefined;
10993
- }, {
10994
- email: string;
10995
- wabaExternalId: string;
10996
- phoneNumberId: string;
10997
- wabaBusinessId?: string | undefined;
10998
- clientId?: string | undefined;
10999
- channelId?: string | undefined;
11000
- status?: "active" | "pending" | undefined;
11001
- apiKey?: string | undefined;
11002
- tier?: "basic" | "regular" | "premium" | undefined;
11003
- }>>;
11004
- vonageCredentials: z.ZodOptional<z.ZodObject<{
11005
- mobileNumber: z.ZodString;
11006
- apiKey: z.ZodString;
11007
- apiSecret: z.ZodString;
11008
- }, "strip", z.ZodTypeAny, {
11009
- apiKey: string;
11010
- mobileNumber: string;
11011
- apiSecret: string;
11012
- }, {
11013
- apiKey: string;
11014
- mobileNumber: string;
11015
- apiSecret: string;
11016
- }>>;
11017
- lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11018
- messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11147
+ accessToken: z.ZodOptional<z.ZodString>;
11148
+ channelSecret: z.ZodOptional<z.ZodString>;
11149
+ additionalCredentials: z.ZodOptional<z.ZodAny>;
11150
+ senderId: z.ZodOptional<z.ZodString>;
11151
+ whatsapp: z.ZodOptional<z.ZodObject<{
11152
+ wabaBusinessId: z.ZodOptional<z.ZodString>;
11153
+ wabaExternalId: z.ZodString;
11154
+ phoneNumberId: z.ZodString;
11155
+ email: z.ZodString;
11156
+ clientId: z.ZodOptional<z.ZodString>;
11157
+ channelId: z.ZodOptional<z.ZodString>;
11158
+ status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
11159
+ apiKey: z.ZodOptional<z.ZodString>;
11160
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
11019
11161
  }, "strip", z.ZodTypeAny, {
11020
- id: string;
11021
- name: string;
11022
- accessToken?: string | undefined;
11023
- channelSecret?: string | undefined;
11024
- additionalCredentials?: any;
11025
- senderId?: string | undefined;
11026
- whatsapp?: {
11027
- email: string;
11028
- wabaExternalId: string;
11029
- phoneNumberId: string;
11030
- wabaBusinessId?: string | undefined;
11031
- clientId?: string | undefined;
11032
- channelId?: string | undefined;
11033
- status?: "active" | "pending" | undefined;
11034
- apiKey?: string | undefined;
11035
- tier?: "basic" | "regular" | "premium" | undefined;
11036
- } | undefined;
11037
- vonageCredentials?: {
11038
- apiKey: string;
11039
- mobileNumber: string;
11040
- apiSecret: string;
11041
- } | undefined;
11042
- lineRichMenuId?: string | null | undefined;
11043
- messengerIntegrationType?: "own" | "business" | undefined;
11162
+ email: string;
11163
+ wabaExternalId: string;
11164
+ phoneNumberId: string;
11165
+ wabaBusinessId?: string | undefined;
11166
+ clientId?: string | undefined;
11167
+ channelId?: string | undefined;
11168
+ status?: "active" | "pending" | undefined;
11169
+ apiKey?: string | undefined;
11170
+ tier?: "basic" | "regular" | "premium" | undefined;
11044
11171
  }, {
11045
- id: string;
11046
- name: string;
11047
- accessToken?: string | undefined;
11048
- channelSecret?: string | undefined;
11049
- additionalCredentials?: any;
11050
- senderId?: string | undefined;
11051
- whatsapp?: {
11052
- email: string;
11053
- wabaExternalId: string;
11054
- phoneNumberId: string;
11055
- wabaBusinessId?: string | undefined;
11056
- clientId?: string | undefined;
11057
- channelId?: string | undefined;
11058
- status?: "active" | "pending" | undefined;
11059
- apiKey?: string | undefined;
11060
- tier?: "basic" | "regular" | "premium" | undefined;
11061
- } | undefined;
11062
- vonageCredentials?: {
11063
- apiKey: string;
11064
- mobileNumber: string;
11065
- apiSecret: string;
11066
- } | undefined;
11067
- lineRichMenuId?: string | null | undefined;
11068
- messengerIntegrationType?: "own" | "business" | undefined;
11069
- }>;
11070
- brandName: z.ZodString;
11071
- platformId: z.ZodString;
11072
- status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
11073
- isReloginRequired: z.ZodBoolean;
11074
- connectedUserName: z.ZodString;
11075
- connectedUserId: z.ZodString;
11076
- botpressBot: z.ZodNullable<z.ZodObject<{
11077
- id: z.ZodString;
11078
- name: z.ZodString;
11079
- botId: z.ZodString;
11080
- integrationId: z.ZodString;
11081
- accessToken: z.ZodString;
11172
+ email: string;
11173
+ wabaExternalId: string;
11174
+ phoneNumberId: string;
11175
+ wabaBusinessId?: string | undefined;
11176
+ clientId?: string | undefined;
11177
+ channelId?: string | undefined;
11178
+ status?: "active" | "pending" | undefined;
11179
+ apiKey?: string | undefined;
11180
+ tier?: "basic" | "regular" | "premium" | undefined;
11181
+ }>>;
11182
+ vonageCredentials: z.ZodOptional<z.ZodObject<{
11183
+ mobileNumber: z.ZodString;
11184
+ apiKey: z.ZodString;
11185
+ apiSecret: z.ZodString;
11082
11186
  }, "strip", z.ZodTypeAny, {
11083
- id: string;
11084
- name: string;
11085
- accessToken: string;
11086
- botId: string;
11087
- integrationId: string;
11187
+ apiKey: string;
11188
+ mobileNumber: string;
11189
+ apiSecret: string;
11088
11190
  }, {
11089
- id: string;
11090
- name: string;
11091
- accessToken: string;
11092
- botId: string;
11093
- integrationId: string;
11191
+ apiKey: string;
11192
+ mobileNumber: string;
11193
+ apiSecret: string;
11094
11194
  }>>;
11095
- actor: z.ZodObject<{
11195
+ lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11196
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11197
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11198
+ }, "strip", z.ZodTypeAny, {
11199
+ id: string;
11200
+ name: string;
11201
+ accessToken?: string | undefined;
11202
+ channelSecret?: string | undefined;
11203
+ additionalCredentials?: any;
11204
+ senderId?: string | undefined;
11205
+ whatsapp?: {
11206
+ email: string;
11207
+ wabaExternalId: string;
11208
+ phoneNumberId: string;
11209
+ wabaBusinessId?: string | undefined;
11210
+ clientId?: string | undefined;
11211
+ channelId?: string | undefined;
11212
+ status?: "active" | "pending" | undefined;
11213
+ apiKey?: string | undefined;
11214
+ tier?: "basic" | "regular" | "premium" | undefined;
11215
+ } | undefined;
11216
+ vonageCredentials?: {
11217
+ apiKey: string;
11218
+ mobileNumber: string;
11219
+ apiSecret: string;
11220
+ } | undefined;
11221
+ lineRichMenuId?: string | null | undefined;
11222
+ messengerIntegrationType?: "own" | "business" | undefined;
11223
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11224
+ }, {
11225
+ id: string;
11226
+ name: string;
11227
+ accessToken?: string | undefined;
11228
+ channelSecret?: string | undefined;
11229
+ additionalCredentials?: any;
11230
+ senderId?: string | undefined;
11231
+ whatsapp?: {
11232
+ email: string;
11233
+ wabaExternalId: string;
11234
+ phoneNumberId: string;
11235
+ wabaBusinessId?: string | undefined;
11236
+ clientId?: string | undefined;
11237
+ channelId?: string | undefined;
11238
+ status?: "active" | "pending" | undefined;
11239
+ apiKey?: string | undefined;
11240
+ tier?: "basic" | "regular" | "premium" | undefined;
11241
+ } | undefined;
11242
+ vonageCredentials?: {
11243
+ apiKey: string;
11244
+ mobileNumber: string;
11245
+ apiSecret: string;
11246
+ } | undefined;
11247
+ lineRichMenuId?: string | null | undefined;
11248
+ messengerIntegrationType?: "own" | "business" | undefined;
11249
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11250
+ }>;
11251
+ brandName: z.ZodString;
11252
+ platformId: z.ZodString;
11253
+ status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
11254
+ isReloginRequired: z.ZodBoolean;
11255
+ connectedUserName: z.ZodString;
11256
+ connectedUserId: z.ZodString;
11257
+ botpressBot: z.ZodNullable<z.ZodObject<{
11258
+ id: z.ZodString;
11259
+ name: z.ZodString;
11260
+ botId: z.ZodString;
11261
+ integrationId: z.ZodString;
11262
+ accessToken: z.ZodString;
11263
+ }, "strip", z.ZodTypeAny, {
11264
+ id: string;
11265
+ name: string;
11266
+ accessToken: string;
11267
+ botId: string;
11268
+ integrationId: string;
11269
+ }, {
11270
+ id: string;
11271
+ name: string;
11272
+ accessToken: string;
11273
+ botId: string;
11274
+ integrationId: string;
11275
+ }>>;
11276
+ actor: z.ZodObject<{
11277
+ id: z.ZodString;
11278
+ createdAt: z.ZodDate;
11279
+ updatedAt: z.ZodDate;
11280
+ deletedAt: z.ZodNullable<z.ZodDate>;
11281
+ name: z.ZodString;
11282
+ email: z.ZodString;
11283
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
11284
+ password: z.ZodString;
11285
+ address: z.ZodNullable<z.ZodString>;
11286
+ phone: z.ZodNullable<z.ZodString>;
11287
+ notificationCount: z.ZodNullable<z.ZodNumber>;
11288
+ roles: z.ZodArray<z.ZodObject<{
11096
11289
  id: z.ZodString;
11097
11290
  createdAt: z.ZodDate;
11098
11291
  updatedAt: z.ZodDate;
11099
11292
  deletedAt: z.ZodNullable<z.ZodDate>;
11100
- name: z.ZodString;
11101
- email: z.ZodString;
11102
- emailVerifiedAt: z.ZodNullable<z.ZodDate>;
11103
- password: z.ZodString;
11104
- address: z.ZodNullable<z.ZodString>;
11105
- phone: z.ZodNullable<z.ZodString>;
11106
- notificationCount: z.ZodNullable<z.ZodNumber>;
11107
- roles: z.ZodArray<z.ZodObject<{
11293
+ systemName: z.ZodString;
11294
+ displayName: z.ZodString;
11295
+ description: z.ZodNullable<z.ZodString>;
11296
+ permissions: z.ZodArray<z.ZodObject<{
11108
11297
  id: z.ZodString;
11109
11298
  createdAt: z.ZodDate;
11110
11299
  updatedAt: z.ZodDate;
@@ -11112,31 +11301,6 @@ export declare const channelContract: {
11112
11301
  systemName: z.ZodString;
11113
11302
  displayName: z.ZodString;
11114
11303
  description: z.ZodNullable<z.ZodString>;
11115
- permissions: z.ZodArray<z.ZodObject<{
11116
- id: z.ZodString;
11117
- createdAt: z.ZodDate;
11118
- updatedAt: z.ZodDate;
11119
- deletedAt: z.ZodNullable<z.ZodDate>;
11120
- systemName: z.ZodString;
11121
- displayName: z.ZodString;
11122
- description: z.ZodNullable<z.ZodString>;
11123
- }, "strip", z.ZodTypeAny, {
11124
- id: string;
11125
- description: string | null;
11126
- createdAt: Date;
11127
- updatedAt: Date;
11128
- deletedAt: Date | null;
11129
- systemName: string;
11130
- displayName: string;
11131
- }, {
11132
- id: string;
11133
- description: string | null;
11134
- createdAt: Date;
11135
- updatedAt: Date;
11136
- deletedAt: Date | null;
11137
- systemName: string;
11138
- displayName: string;
11139
- }>, "many">;
11140
11304
  }, "strip", z.ZodTypeAny, {
11141
11305
  id: string;
11142
11306
  description: string | null;
@@ -11145,15 +11309,6 @@ export declare const channelContract: {
11145
11309
  deletedAt: Date | null;
11146
11310
  systemName: string;
11147
11311
  displayName: string;
11148
- permissions: {
11149
- id: string;
11150
- description: string | null;
11151
- createdAt: Date;
11152
- updatedAt: Date;
11153
- deletedAt: Date | null;
11154
- systemName: string;
11155
- displayName: string;
11156
- }[];
11157
11312
  }, {
11158
11313
  id: string;
11159
11314
  description: string | null;
@@ -11162,66 +11317,100 @@ export declare const channelContract: {
11162
11317
  deletedAt: Date | null;
11163
11318
  systemName: string;
11164
11319
  displayName: string;
11165
- permissions: {
11166
- id: string;
11167
- description: string | null;
11168
- createdAt: Date;
11169
- updatedAt: Date;
11170
- deletedAt: Date | null;
11171
- systemName: string;
11172
- displayName: string;
11173
- }[];
11174
11320
  }>, "many">;
11175
- extension: z.ZodObject<{
11176
- id: z.ZodString;
11177
- createdAt: z.ZodDate;
11178
- updatedAt: z.ZodDate;
11179
- deletedAt: z.ZodNullable<z.ZodDate>;
11180
- userId: z.ZodNullable<z.ZodString>;
11181
- sipServerUrl: z.ZodString;
11182
- sipUserName: z.ZodString;
11183
- webphoneLoginUser: z.ZodString;
11184
- extensionId: z.ZodNullable<z.ZodString>;
11185
- extensionName: z.ZodString;
11186
- telephonySignature: z.ZodNullable<z.ZodString>;
11187
- }, "strip", z.ZodTypeAny, {
11321
+ }, "strip", z.ZodTypeAny, {
11322
+ id: string;
11323
+ description: string | null;
11324
+ createdAt: Date;
11325
+ updatedAt: Date;
11326
+ deletedAt: Date | null;
11327
+ systemName: string;
11328
+ displayName: string;
11329
+ permissions: {
11188
11330
  id: string;
11331
+ description: string | null;
11189
11332
  createdAt: Date;
11190
11333
  updatedAt: Date;
11191
11334
  deletedAt: Date | null;
11192
- userId: string | null;
11193
- sipServerUrl: string;
11194
- sipUserName: string;
11195
- webphoneLoginUser: string;
11196
- extensionId: string | null;
11197
- extensionName: string;
11198
- telephonySignature: string | null;
11199
- }, {
11335
+ systemName: string;
11336
+ displayName: string;
11337
+ }[];
11338
+ }, {
11339
+ id: string;
11340
+ description: string | null;
11341
+ createdAt: Date;
11342
+ updatedAt: Date;
11343
+ deletedAt: Date | null;
11344
+ systemName: string;
11345
+ displayName: string;
11346
+ permissions: {
11200
11347
  id: string;
11348
+ description: string | null;
11201
11349
  createdAt: Date;
11202
11350
  updatedAt: Date;
11203
11351
  deletedAt: Date | null;
11204
- userId: string | null;
11205
- sipServerUrl: string;
11206
- sipUserName: string;
11207
- webphoneLoginUser: string;
11208
- extensionId: string | null;
11209
- extensionName: string;
11210
- telephonySignature: string | null;
11211
- }>;
11352
+ systemName: string;
11353
+ displayName: string;
11354
+ }[];
11355
+ }>, "many">;
11356
+ extension: z.ZodObject<{
11357
+ id: z.ZodString;
11358
+ createdAt: z.ZodDate;
11359
+ updatedAt: z.ZodDate;
11360
+ deletedAt: z.ZodNullable<z.ZodDate>;
11361
+ userId: z.ZodNullable<z.ZodString>;
11362
+ sipServerUrl: z.ZodString;
11363
+ sipUserName: z.ZodString;
11364
+ webphoneLoginUser: z.ZodString;
11365
+ extensionId: z.ZodNullable<z.ZodString>;
11366
+ extensionName: z.ZodString;
11367
+ telephonySignature: z.ZodNullable<z.ZodString>;
11212
11368
  }, "strip", z.ZodTypeAny, {
11213
11369
  id: string;
11214
- address: string | null;
11215
- name: string;
11216
- email: string;
11217
11370
  createdAt: Date;
11218
11371
  updatedAt: Date;
11219
11372
  deletedAt: Date | null;
11220
- emailVerifiedAt: Date | null;
11221
- password: string;
11222
- phone: string | null;
11223
- notificationCount: number | null;
11224
- roles: {
11373
+ userId: string | null;
11374
+ sipServerUrl: string;
11375
+ sipUserName: string;
11376
+ webphoneLoginUser: string;
11377
+ extensionId: string | null;
11378
+ extensionName: string;
11379
+ telephonySignature: string | null;
11380
+ }, {
11381
+ id: string;
11382
+ createdAt: Date;
11383
+ updatedAt: Date;
11384
+ deletedAt: Date | null;
11385
+ userId: string | null;
11386
+ sipServerUrl: string;
11387
+ sipUserName: string;
11388
+ webphoneLoginUser: string;
11389
+ extensionId: string | null;
11390
+ extensionName: string;
11391
+ telephonySignature: string | null;
11392
+ }>;
11393
+ }, "strip", z.ZodTypeAny, {
11394
+ id: string;
11395
+ address: string | null;
11396
+ name: string;
11397
+ email: string;
11398
+ createdAt: Date;
11399
+ updatedAt: Date;
11400
+ deletedAt: Date | null;
11401
+ emailVerifiedAt: Date | null;
11402
+ password: string;
11403
+ phone: string | null;
11404
+ notificationCount: number | null;
11405
+ roles: {
11406
+ id: string;
11407
+ description: string | null;
11408
+ createdAt: Date;
11409
+ updatedAt: Date;
11410
+ deletedAt: Date | null;
11411
+ systemName: string;
11412
+ displayName: string;
11413
+ permissions: {
11225
11414
  id: string;
11226
11415
  description: string | null;
11227
11416
  createdAt: Date;
@@ -11229,42 +11418,42 @@ export declare const channelContract: {
11229
11418
  deletedAt: Date | null;
11230
11419
  systemName: string;
11231
11420
  displayName: string;
11232
- permissions: {
11233
- id: string;
11234
- description: string | null;
11235
- createdAt: Date;
11236
- updatedAt: Date;
11237
- deletedAt: Date | null;
11238
- systemName: string;
11239
- displayName: string;
11240
- }[];
11241
11421
  }[];
11242
- extension: {
11243
- id: string;
11244
- createdAt: Date;
11245
- updatedAt: Date;
11246
- deletedAt: Date | null;
11247
- userId: string | null;
11248
- sipServerUrl: string;
11249
- sipUserName: string;
11250
- webphoneLoginUser: string;
11251
- extensionId: string | null;
11252
- extensionName: string;
11253
- telephonySignature: string | null;
11254
- };
11255
- }, {
11422
+ }[];
11423
+ extension: {
11424
+ id: string;
11425
+ createdAt: Date;
11426
+ updatedAt: Date;
11427
+ deletedAt: Date | null;
11428
+ userId: string | null;
11429
+ sipServerUrl: string;
11430
+ sipUserName: string;
11431
+ webphoneLoginUser: string;
11432
+ extensionId: string | null;
11433
+ extensionName: string;
11434
+ telephonySignature: string | null;
11435
+ };
11436
+ }, {
11437
+ id: string;
11438
+ address: string | null;
11439
+ name: string;
11440
+ email: string;
11441
+ createdAt: Date;
11442
+ updatedAt: Date;
11443
+ deletedAt: Date | null;
11444
+ emailVerifiedAt: Date | null;
11445
+ password: string;
11446
+ phone: string | null;
11447
+ notificationCount: number | null;
11448
+ roles: {
11256
11449
  id: string;
11257
- address: string | null;
11258
- name: string;
11259
- email: string;
11450
+ description: string | null;
11260
11451
  createdAt: Date;
11261
11452
  updatedAt: Date;
11262
11453
  deletedAt: Date | null;
11263
- emailVerifiedAt: Date | null;
11264
- password: string;
11265
- phone: string | null;
11266
- notificationCount: number | null;
11267
- roles: {
11454
+ systemName: string;
11455
+ displayName: string;
11456
+ permissions: {
11268
11457
  id: string;
11269
11458
  description: string | null;
11270
11459
  createdAt: Date;
@@ -11272,77 +11461,78 @@ export declare const channelContract: {
11272
11461
  deletedAt: Date | null;
11273
11462
  systemName: string;
11274
11463
  displayName: string;
11275
- permissions: {
11276
- id: string;
11277
- description: string | null;
11278
- createdAt: Date;
11279
- updatedAt: Date;
11280
- deletedAt: Date | null;
11281
- systemName: string;
11282
- displayName: string;
11283
- }[];
11284
11464
  }[];
11285
- extension: {
11286
- id: string;
11287
- createdAt: Date;
11288
- updatedAt: Date;
11289
- deletedAt: Date | null;
11290
- userId: string | null;
11291
- sipServerUrl: string;
11292
- sipUserName: string;
11293
- webphoneLoginUser: string;
11294
- extensionId: string | null;
11295
- extensionName: string;
11296
- telephonySignature: string | null;
11297
- };
11298
- }>;
11299
- }, "strip", z.ZodTypeAny, {
11300
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11301
- id: string;
11302
- name: string;
11303
- metadata: {
11465
+ }[];
11466
+ extension: {
11304
11467
  id: string;
11305
- name: string;
11306
- accessToken?: string | undefined;
11307
- channelSecret?: string | undefined;
11308
- additionalCredentials?: any;
11309
- senderId?: string | undefined;
11310
- whatsapp?: {
11311
- email: string;
11312
- wabaExternalId: string;
11313
- phoneNumberId: string;
11314
- wabaBusinessId?: string | undefined;
11315
- clientId?: string | undefined;
11316
- channelId?: string | undefined;
11317
- status?: "active" | "pending" | undefined;
11318
- apiKey?: string | undefined;
11319
- tier?: "basic" | "regular" | "premium" | undefined;
11320
- } | undefined;
11321
- vonageCredentials?: {
11322
- apiKey: string;
11323
- mobileNumber: string;
11324
- apiSecret: string;
11325
- } | undefined;
11326
- lineRichMenuId?: string | null | undefined;
11327
- messengerIntegrationType?: "own" | "business" | undefined;
11468
+ createdAt: Date;
11469
+ updatedAt: Date;
11470
+ deletedAt: Date | null;
11471
+ userId: string | null;
11472
+ sipServerUrl: string;
11473
+ sipUserName: string;
11474
+ webphoneLoginUser: string;
11475
+ extensionId: string | null;
11476
+ extensionName: string;
11477
+ telephonySignature: string | null;
11328
11478
  };
11329
- status: boolean;
11479
+ }>;
11480
+ }, "strip", z.ZodTypeAny, {
11481
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11482
+ id: string;
11483
+ name: string;
11484
+ metadata: {
11485
+ id: string;
11486
+ name: string;
11487
+ accessToken?: string | undefined;
11488
+ channelSecret?: string | undefined;
11489
+ additionalCredentials?: any;
11490
+ senderId?: string | undefined;
11491
+ whatsapp?: {
11492
+ email: string;
11493
+ wabaExternalId: string;
11494
+ phoneNumberId: string;
11495
+ wabaBusinessId?: string | undefined;
11496
+ clientId?: string | undefined;
11497
+ channelId?: string | undefined;
11498
+ status?: "active" | "pending" | undefined;
11499
+ apiKey?: string | undefined;
11500
+ tier?: "basic" | "regular" | "premium" | undefined;
11501
+ } | undefined;
11502
+ vonageCredentials?: {
11503
+ apiKey: string;
11504
+ mobileNumber: string;
11505
+ apiSecret: string;
11506
+ } | undefined;
11507
+ lineRichMenuId?: string | null | undefined;
11508
+ messengerIntegrationType?: "own" | "business" | undefined;
11509
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11510
+ };
11511
+ status: boolean;
11512
+ createdAt: Date;
11513
+ updatedAt: Date;
11514
+ deletedAt: Date | null;
11515
+ actor: {
11516
+ id: string;
11517
+ address: string | null;
11518
+ name: string;
11519
+ email: string;
11330
11520
  createdAt: Date;
11331
11521
  updatedAt: Date;
11332
11522
  deletedAt: Date | null;
11333
- actor: {
11523
+ emailVerifiedAt: Date | null;
11524
+ password: string;
11525
+ phone: string | null;
11526
+ notificationCount: number | null;
11527
+ roles: {
11334
11528
  id: string;
11335
- address: string | null;
11336
- name: string;
11337
- email: string;
11529
+ description: string | null;
11338
11530
  createdAt: Date;
11339
11531
  updatedAt: Date;
11340
11532
  deletedAt: Date | null;
11341
- emailVerifiedAt: Date | null;
11342
- password: string;
11343
- phone: string | null;
11344
- notificationCount: number | null;
11345
- roles: {
11533
+ systemName: string;
11534
+ displayName: string;
11535
+ permissions: {
11346
11536
  id: string;
11347
11537
  description: string | null;
11348
11538
  createdAt: Date;
@@ -11350,89 +11540,90 @@ export declare const channelContract: {
11350
11540
  deletedAt: Date | null;
11351
11541
  systemName: string;
11352
11542
  displayName: string;
11353
- permissions: {
11354
- id: string;
11355
- description: string | null;
11356
- createdAt: Date;
11357
- updatedAt: Date;
11358
- deletedAt: Date | null;
11359
- systemName: string;
11360
- displayName: string;
11361
- }[];
11362
11543
  }[];
11363
- extension: {
11364
- id: string;
11365
- createdAt: Date;
11366
- updatedAt: Date;
11367
- deletedAt: Date | null;
11368
- userId: string | null;
11369
- sipServerUrl: string;
11370
- sipUserName: string;
11371
- webphoneLoginUser: string;
11372
- extensionId: string | null;
11373
- extensionName: string;
11374
- telephonySignature: string | null;
11375
- };
11376
- };
11377
- brandName: string;
11378
- platformId: string;
11379
- isReloginRequired: boolean;
11380
- connectedUserName: string;
11381
- connectedUserId: string;
11382
- botpressBot: {
11544
+ }[];
11545
+ extension: {
11383
11546
  id: string;
11384
- name: string;
11385
- accessToken: string;
11386
- botId: string;
11387
- integrationId: string;
11388
- } | null;
11389
- }, {
11390
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11547
+ createdAt: Date;
11548
+ updatedAt: Date;
11549
+ deletedAt: Date | null;
11550
+ userId: string | null;
11551
+ sipServerUrl: string;
11552
+ sipUserName: string;
11553
+ webphoneLoginUser: string;
11554
+ extensionId: string | null;
11555
+ extensionName: string;
11556
+ telephonySignature: string | null;
11557
+ };
11558
+ };
11559
+ brandName: string;
11560
+ platformId: string;
11561
+ isReloginRequired: boolean;
11562
+ connectedUserName: string;
11563
+ connectedUserId: string;
11564
+ botpressBot: {
11391
11565
  id: string;
11392
11566
  name: string;
11393
- metadata: {
11394
- id: string;
11395
- name: string;
11396
- accessToken?: string | undefined;
11397
- channelSecret?: string | undefined;
11398
- additionalCredentials?: any;
11399
- senderId?: string | undefined;
11400
- whatsapp?: {
11401
- email: string;
11402
- wabaExternalId: string;
11403
- phoneNumberId: string;
11404
- wabaBusinessId?: string | undefined;
11405
- clientId?: string | undefined;
11406
- channelId?: string | undefined;
11407
- status?: "active" | "pending" | undefined;
11408
- apiKey?: string | undefined;
11409
- tier?: "basic" | "regular" | "premium" | undefined;
11410
- } | undefined;
11411
- vonageCredentials?: {
11412
- apiKey: string;
11413
- mobileNumber: string;
11414
- apiSecret: string;
11415
- } | undefined;
11416
- lineRichMenuId?: string | null | undefined;
11417
- messengerIntegrationType?: "own" | "business" | undefined;
11418
- };
11419
- status: boolean;
11567
+ accessToken: string;
11568
+ botId: string;
11569
+ integrationId: string;
11570
+ } | null;
11571
+ }, {
11572
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11573
+ id: string;
11574
+ name: string;
11575
+ metadata: {
11576
+ id: string;
11577
+ name: string;
11578
+ accessToken?: string | undefined;
11579
+ channelSecret?: string | undefined;
11580
+ additionalCredentials?: any;
11581
+ senderId?: string | undefined;
11582
+ whatsapp?: {
11583
+ email: string;
11584
+ wabaExternalId: string;
11585
+ phoneNumberId: string;
11586
+ wabaBusinessId?: string | undefined;
11587
+ clientId?: string | undefined;
11588
+ channelId?: string | undefined;
11589
+ status?: "active" | "pending" | undefined;
11590
+ apiKey?: string | undefined;
11591
+ tier?: "basic" | "regular" | "premium" | undefined;
11592
+ } | undefined;
11593
+ vonageCredentials?: {
11594
+ apiKey: string;
11595
+ mobileNumber: string;
11596
+ apiSecret: string;
11597
+ } | undefined;
11598
+ lineRichMenuId?: string | null | undefined;
11599
+ messengerIntegrationType?: "own" | "business" | undefined;
11600
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11601
+ };
11602
+ status: boolean;
11603
+ createdAt: Date;
11604
+ updatedAt: Date;
11605
+ deletedAt: Date | null;
11606
+ actor: {
11607
+ id: string;
11608
+ address: string | null;
11609
+ name: string;
11610
+ email: string;
11420
11611
  createdAt: Date;
11421
11612
  updatedAt: Date;
11422
11613
  deletedAt: Date | null;
11423
- actor: {
11614
+ emailVerifiedAt: Date | null;
11615
+ password: string;
11616
+ phone: string | null;
11617
+ notificationCount: number | null;
11618
+ roles: {
11424
11619
  id: string;
11425
- address: string | null;
11426
- name: string;
11427
- email: string;
11620
+ description: string | null;
11428
11621
  createdAt: Date;
11429
11622
  updatedAt: Date;
11430
11623
  deletedAt: Date | null;
11431
- emailVerifiedAt: Date | null;
11432
- password: string;
11433
- phone: string | null;
11434
- notificationCount: number | null;
11435
- roles: {
11624
+ systemName: string;
11625
+ displayName: string;
11626
+ permissions: {
11436
11627
  id: string;
11437
11628
  description: string | null;
11438
11629
  createdAt: Date;
@@ -11440,91 +11631,92 @@ export declare const channelContract: {
11440
11631
  deletedAt: Date | null;
11441
11632
  systemName: string;
11442
11633
  displayName: string;
11443
- permissions: {
11444
- id: string;
11445
- description: string | null;
11446
- createdAt: Date;
11447
- updatedAt: Date;
11448
- deletedAt: Date | null;
11449
- systemName: string;
11450
- displayName: string;
11451
- }[];
11452
11634
  }[];
11453
- extension: {
11454
- id: string;
11455
- createdAt: Date;
11456
- updatedAt: Date;
11457
- deletedAt: Date | null;
11458
- userId: string | null;
11459
- sipServerUrl: string;
11460
- sipUserName: string;
11461
- webphoneLoginUser: string;
11462
- extensionId: string | null;
11463
- extensionName: string;
11464
- telephonySignature: string | null;
11465
- };
11466
- };
11467
- brandName: string;
11468
- platformId: string;
11469
- isReloginRequired: boolean;
11470
- connectedUserName: string;
11471
- connectedUserId: string;
11472
- botpressBot: {
11635
+ }[];
11636
+ extension: {
11473
11637
  id: string;
11474
- name: string;
11475
- accessToken: string;
11476
- botId: string;
11477
- integrationId: string;
11478
- } | null;
11479
- }>;
11480
- }, "strip", z.ZodTypeAny, {
11481
- channel: {
11482
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11638
+ createdAt: Date;
11639
+ updatedAt: Date;
11640
+ deletedAt: Date | null;
11641
+ userId: string | null;
11642
+ sipServerUrl: string;
11643
+ sipUserName: string;
11644
+ webphoneLoginUser: string;
11645
+ extensionId: string | null;
11646
+ extensionName: string;
11647
+ telephonySignature: string | null;
11648
+ };
11649
+ };
11650
+ brandName: string;
11651
+ platformId: string;
11652
+ isReloginRequired: boolean;
11653
+ connectedUserName: string;
11654
+ connectedUserId: string;
11655
+ botpressBot: {
11483
11656
  id: string;
11484
11657
  name: string;
11485
- metadata: {
11486
- id: string;
11487
- name: string;
11488
- accessToken?: string | undefined;
11489
- channelSecret?: string | undefined;
11490
- additionalCredentials?: any;
11491
- senderId?: string | undefined;
11492
- whatsapp?: {
11493
- email: string;
11494
- wabaExternalId: string;
11495
- phoneNumberId: string;
11496
- wabaBusinessId?: string | undefined;
11497
- clientId?: string | undefined;
11498
- channelId?: string | undefined;
11499
- status?: "active" | "pending" | undefined;
11500
- apiKey?: string | undefined;
11501
- tier?: "basic" | "regular" | "premium" | undefined;
11502
- } | undefined;
11503
- vonageCredentials?: {
11504
- apiKey: string;
11505
- mobileNumber: string;
11506
- apiSecret: string;
11507
- } | undefined;
11508
- lineRichMenuId?: string | null | undefined;
11509
- messengerIntegrationType?: "own" | "business" | undefined;
11510
- };
11511
- status: boolean;
11658
+ accessToken: string;
11659
+ botId: string;
11660
+ integrationId: string;
11661
+ } | null;
11662
+ }>;
11663
+ }, "strip", z.ZodTypeAny, {
11664
+ channel: {
11665
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11666
+ id: string;
11667
+ name: string;
11668
+ metadata: {
11669
+ id: string;
11670
+ name: string;
11671
+ accessToken?: string | undefined;
11672
+ channelSecret?: string | undefined;
11673
+ additionalCredentials?: any;
11674
+ senderId?: string | undefined;
11675
+ whatsapp?: {
11676
+ email: string;
11677
+ wabaExternalId: string;
11678
+ phoneNumberId: string;
11679
+ wabaBusinessId?: string | undefined;
11680
+ clientId?: string | undefined;
11681
+ channelId?: string | undefined;
11682
+ status?: "active" | "pending" | undefined;
11683
+ apiKey?: string | undefined;
11684
+ tier?: "basic" | "regular" | "premium" | undefined;
11685
+ } | undefined;
11686
+ vonageCredentials?: {
11687
+ apiKey: string;
11688
+ mobileNumber: string;
11689
+ apiSecret: string;
11690
+ } | undefined;
11691
+ lineRichMenuId?: string | null | undefined;
11692
+ messengerIntegrationType?: "own" | "business" | undefined;
11693
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11694
+ };
11695
+ status: boolean;
11696
+ createdAt: Date;
11697
+ updatedAt: Date;
11698
+ deletedAt: Date | null;
11699
+ actor: {
11700
+ id: string;
11701
+ address: string | null;
11702
+ name: string;
11703
+ email: string;
11512
11704
  createdAt: Date;
11513
11705
  updatedAt: Date;
11514
11706
  deletedAt: Date | null;
11515
- actor: {
11707
+ emailVerifiedAt: Date | null;
11708
+ password: string;
11709
+ phone: string | null;
11710
+ notificationCount: number | null;
11711
+ roles: {
11516
11712
  id: string;
11517
- address: string | null;
11518
- name: string;
11519
- email: string;
11713
+ description: string | null;
11520
11714
  createdAt: Date;
11521
11715
  updatedAt: Date;
11522
11716
  deletedAt: Date | null;
11523
- emailVerifiedAt: Date | null;
11524
- password: string;
11525
- phone: string | null;
11526
- notificationCount: number | null;
11527
- roles: {
11717
+ systemName: string;
11718
+ displayName: string;
11719
+ permissions: {
11528
11720
  id: string;
11529
11721
  description: string | null;
11530
11722
  createdAt: Date;
@@ -11532,92 +11724,93 @@ export declare const channelContract: {
11532
11724
  deletedAt: Date | null;
11533
11725
  systemName: string;
11534
11726
  displayName: string;
11535
- permissions: {
11536
- id: string;
11537
- description: string | null;
11538
- createdAt: Date;
11539
- updatedAt: Date;
11540
- deletedAt: Date | null;
11541
- systemName: string;
11542
- displayName: string;
11543
- }[];
11544
11727
  }[];
11545
- extension: {
11546
- id: string;
11547
- createdAt: Date;
11548
- updatedAt: Date;
11549
- deletedAt: Date | null;
11550
- userId: string | null;
11551
- sipServerUrl: string;
11552
- sipUserName: string;
11553
- webphoneLoginUser: string;
11554
- extensionId: string | null;
11555
- extensionName: string;
11556
- telephonySignature: string | null;
11557
- };
11558
- };
11559
- brandName: string;
11560
- platformId: string;
11561
- isReloginRequired: boolean;
11562
- connectedUserName: string;
11563
- connectedUserId: string;
11564
- botpressBot: {
11728
+ }[];
11729
+ extension: {
11565
11730
  id: string;
11566
- name: string;
11567
- accessToken: string;
11568
- botId: string;
11569
- integrationId: string;
11570
- } | null;
11731
+ createdAt: Date;
11732
+ updatedAt: Date;
11733
+ deletedAt: Date | null;
11734
+ userId: string | null;
11735
+ sipServerUrl: string;
11736
+ sipUserName: string;
11737
+ webphoneLoginUser: string;
11738
+ extensionId: string | null;
11739
+ extensionName: string;
11740
+ telephonySignature: string | null;
11741
+ };
11742
+ };
11743
+ brandName: string;
11744
+ platformId: string;
11745
+ isReloginRequired: boolean;
11746
+ connectedUserName: string;
11747
+ connectedUserId: string;
11748
+ botpressBot: {
11749
+ id: string;
11750
+ name: string;
11751
+ accessToken: string;
11752
+ botId: string;
11753
+ integrationId: string;
11754
+ } | null;
11755
+ };
11756
+ requestId: string;
11757
+ }, {
11758
+ channel: {
11759
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11760
+ id: string;
11761
+ name: string;
11762
+ metadata: {
11763
+ id: string;
11764
+ name: string;
11765
+ accessToken?: string | undefined;
11766
+ channelSecret?: string | undefined;
11767
+ additionalCredentials?: any;
11768
+ senderId?: string | undefined;
11769
+ whatsapp?: {
11770
+ email: string;
11771
+ wabaExternalId: string;
11772
+ phoneNumberId: string;
11773
+ wabaBusinessId?: string | undefined;
11774
+ clientId?: string | undefined;
11775
+ channelId?: string | undefined;
11776
+ status?: "active" | "pending" | undefined;
11777
+ apiKey?: string | undefined;
11778
+ tier?: "basic" | "regular" | "premium" | undefined;
11779
+ } | undefined;
11780
+ vonageCredentials?: {
11781
+ apiKey: string;
11782
+ mobileNumber: string;
11783
+ apiSecret: string;
11784
+ } | undefined;
11785
+ lineRichMenuId?: string | null | undefined;
11786
+ messengerIntegrationType?: "own" | "business" | undefined;
11787
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11571
11788
  };
11572
- requestId: string;
11573
- }, {
11574
- channel: {
11575
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
11789
+ status: boolean;
11790
+ createdAt: Date;
11791
+ updatedAt: Date;
11792
+ deletedAt: Date | null;
11793
+ actor: {
11576
11794
  id: string;
11795
+ address: string | null;
11577
11796
  name: string;
11578
- metadata: {
11579
- id: string;
11580
- name: string;
11581
- accessToken?: string | undefined;
11582
- channelSecret?: string | undefined;
11583
- additionalCredentials?: any;
11584
- senderId?: string | undefined;
11585
- whatsapp?: {
11586
- email: string;
11587
- wabaExternalId: string;
11588
- phoneNumberId: string;
11589
- wabaBusinessId?: string | undefined;
11590
- clientId?: string | undefined;
11591
- channelId?: string | undefined;
11592
- status?: "active" | "pending" | undefined;
11593
- apiKey?: string | undefined;
11594
- tier?: "basic" | "regular" | "premium" | undefined;
11595
- } | undefined;
11596
- vonageCredentials?: {
11597
- apiKey: string;
11598
- mobileNumber: string;
11599
- apiSecret: string;
11600
- } | undefined;
11601
- lineRichMenuId?: string | null | undefined;
11602
- messengerIntegrationType?: "own" | "business" | undefined;
11603
- };
11604
- status: boolean;
11797
+ email: string;
11605
11798
  createdAt: Date;
11606
11799
  updatedAt: Date;
11607
11800
  deletedAt: Date | null;
11608
- actor: {
11801
+ emailVerifiedAt: Date | null;
11802
+ password: string;
11803
+ phone: string | null;
11804
+ notificationCount: number | null;
11805
+ roles: {
11609
11806
  id: string;
11610
- address: string | null;
11611
- name: string;
11612
- email: string;
11807
+ description: string | null;
11613
11808
  createdAt: Date;
11614
11809
  updatedAt: Date;
11615
11810
  deletedAt: Date | null;
11616
- emailVerifiedAt: Date | null;
11617
- password: string;
11618
- phone: string | null;
11619
- notificationCount: number | null;
11620
- roles: {
11811
+ systemName: string;
11812
+ displayName: string;
11813
+ permissions: {
11621
11814
  id: string;
11622
11815
  description: string | null;
11623
11816
  createdAt: Date;
@@ -11625,158 +11818,49 @@ export declare const channelContract: {
11625
11818
  deletedAt: Date | null;
11626
11819
  systemName: string;
11627
11820
  displayName: string;
11628
- permissions: {
11629
- id: string;
11630
- description: string | null;
11631
- createdAt: Date;
11632
- updatedAt: Date;
11633
- deletedAt: Date | null;
11634
- systemName: string;
11635
- displayName: string;
11636
- }[];
11637
11821
  }[];
11638
- extension: {
11639
- id: string;
11640
- createdAt: Date;
11641
- updatedAt: Date;
11642
- deletedAt: Date | null;
11643
- userId: string | null;
11644
- sipServerUrl: string;
11645
- sipUserName: string;
11646
- webphoneLoginUser: string;
11647
- extensionId: string | null;
11648
- extensionName: string;
11649
- telephonySignature: string | null;
11650
- };
11651
- };
11652
- brandName: string;
11653
- platformId: string;
11654
- isReloginRequired: boolean;
11655
- connectedUserName: string;
11656
- connectedUserId: string;
11657
- botpressBot: {
11822
+ }[];
11823
+ extension: {
11658
11824
  id: string;
11659
- name: string;
11660
- accessToken: string;
11661
- botId: string;
11662
- integrationId: string;
11663
- } | null;
11664
- };
11665
- requestId: string;
11666
- }>;
11667
- 408: z.ZodObject<{
11668
- message: z.ZodString;
11669
- error: z.ZodAny;
11670
- }, "strip", z.ZodTypeAny, {
11671
- message: string;
11672
- error?: any;
11673
- }, {
11674
- message: string;
11675
- error?: any;
11676
- }>;
11677
- };
11678
- path: "channel/whatsapp/connect";
11679
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11680
- 'x-tenant': z.ZodString;
11681
- authorization: z.ZodString;
11682
- 'x-code': z.ZodOptional<z.ZodString>;
11683
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
11684
- }, "strip", z.ZodTypeAny, {
11685
- 'x-tenant': string;
11686
- authorization: string;
11687
- 'x-client-timezone': string;
11688
- 'x-code'?: string | undefined;
11689
- }, {
11690
- 'x-tenant': string;
11691
- authorization: string;
11692
- 'x-code'?: string | undefined;
11693
- 'x-client-timezone'?: string | undefined;
11694
- }>>>;
11695
- };
11696
- getTemplates: {
11697
- method: "GET";
11698
- query: z.ZodObject<{
11699
- channelId: z.ZodString;
11700
- }, "strip", z.ZodTypeAny, {
11701
- channelId: string;
11702
- }, {
11703
- channelId: string;
11704
- }>;
11705
- responses: {
11706
- 200: z.ZodObject<{
11707
- requestId: z.ZodString;
11708
- data: z.ZodObject<{
11709
- category: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"UTILITY">, z.ZodLiteral<"MARKETING">, z.ZodLiteral<"AUTHENTICATION">]>>;
11710
- components: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
11711
- language: z.ZodString;
11712
- name: z.ZodString;
11713
- namespace: z.ZodString;
11714
- status: z.ZodString;
11715
- }, "strip", z.ZodTypeAny, {
11716
- name: string;
11717
- status: string;
11718
- language: string;
11719
- components: {}[];
11720
- namespace: string;
11721
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11722
- }, {
11723
- name: string;
11724
- status: string;
11725
- language: string;
11726
- components: {}[];
11727
- namespace: string;
11728
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11729
- }>;
11730
- }, "strip", z.ZodTypeAny, {
11731
- data: {
11732
- name: string;
11733
- status: string;
11734
- language: string;
11735
- components: {}[];
11736
- namespace: string;
11737
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11825
+ createdAt: Date;
11826
+ updatedAt: Date;
11827
+ deletedAt: Date | null;
11828
+ userId: string | null;
11829
+ sipServerUrl: string;
11830
+ sipUserName: string;
11831
+ webphoneLoginUser: string;
11832
+ extensionId: string | null;
11833
+ extensionName: string;
11834
+ telephonySignature: string | null;
11835
+ };
11738
11836
  };
11739
- requestId: string;
11740
- }, {
11741
- data: {
11837
+ brandName: string;
11838
+ platformId: string;
11839
+ isReloginRequired: boolean;
11840
+ connectedUserName: string;
11841
+ connectedUserId: string;
11842
+ botpressBot: {
11843
+ id: string;
11742
11844
  name: string;
11743
- status: string;
11744
- language: string;
11745
- components: {}[];
11746
- namespace: string;
11747
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
11748
- };
11749
- requestId: string;
11750
- }>;
11751
- 500: z.ZodObject<{
11752
- message: z.ZodString;
11753
- error: z.ZodAny;
11754
- }, "strip", z.ZodTypeAny, {
11755
- message: string;
11756
- error?: any;
11757
- }, {
11758
- message: string;
11759
- error?: any;
11760
- }>;
11761
- };
11762
- path: "channel/whatsapp/templates";
11763
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
11764
- 'x-tenant': z.ZodString;
11765
- authorization: z.ZodString;
11766
- 'x-code': z.ZodOptional<z.ZodString>;
11767
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
11845
+ accessToken: string;
11846
+ botId: string;
11847
+ integrationId: string;
11848
+ } | null;
11849
+ };
11850
+ requestId: string;
11851
+ }>;
11852
+ 408: z.ZodObject<{
11853
+ message: z.ZodString;
11854
+ error: z.ZodAny;
11768
11855
  }, "strip", z.ZodTypeAny, {
11769
- 'x-tenant': string;
11770
- authorization: string;
11771
- 'x-client-timezone': string;
11772
- 'x-code'?: string | undefined;
11856
+ message: string;
11857
+ error?: any;
11773
11858
  }, {
11774
- 'x-tenant': string;
11775
- authorization: string;
11776
- 'x-code'?: string | undefined;
11777
- 'x-client-timezone'?: string | undefined;
11778
- }>>>;
11859
+ message: string;
11860
+ error?: any;
11861
+ }>;
11779
11862
  };
11863
+ path: "/facebook-feed/connect";
11780
11864
  };
11781
11865
  };
11782
11866
  export declare const channelBotContract: {
@@ -11852,6 +11936,7 @@ export declare const channelBotContract: {
11852
11936
  }>>;
11853
11937
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11854
11938
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11939
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
11855
11940
  }, "strip", z.ZodTypeAny, {
11856
11941
  id: string;
11857
11942
  name: string;
@@ -11877,6 +11962,7 @@ export declare const channelBotContract: {
11877
11962
  } | undefined;
11878
11963
  lineRichMenuId?: string | null | undefined;
11879
11964
  messengerIntegrationType?: "own" | "business" | undefined;
11965
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11880
11966
  }, {
11881
11967
  id: string;
11882
11968
  name: string;
@@ -11902,6 +11988,7 @@ export declare const channelBotContract: {
11902
11988
  } | undefined;
11903
11989
  lineRichMenuId?: string | null | undefined;
11904
11990
  messengerIntegrationType?: "own" | "business" | undefined;
11991
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
11905
11992
  }>;
11906
11993
  brandName: z.ZodString;
11907
11994
  platformId: z.ZodString;
@@ -12161,6 +12248,7 @@ export declare const channelBotContract: {
12161
12248
  } | undefined;
12162
12249
  lineRichMenuId?: string | null | undefined;
12163
12250
  messengerIntegrationType?: "own" | "business" | undefined;
12251
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12164
12252
  };
12165
12253
  status: boolean;
12166
12254
  createdAt: Date;
@@ -12251,6 +12339,7 @@ export declare const channelBotContract: {
12251
12339
  } | undefined;
12252
12340
  lineRichMenuId?: string | null | undefined;
12253
12341
  messengerIntegrationType?: "own" | "business" | undefined;
12342
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12254
12343
  };
12255
12344
  status: boolean;
12256
12345
  createdAt: Date;
@@ -12343,6 +12432,7 @@ export declare const channelBotContract: {
12343
12432
  } | undefined;
12344
12433
  lineRichMenuId?: string | null | undefined;
12345
12434
  messengerIntegrationType?: "own" | "business" | undefined;
12435
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12346
12436
  };
12347
12437
  status: boolean;
12348
12438
  createdAt: Date;
@@ -12436,6 +12526,7 @@ export declare const channelBotContract: {
12436
12526
  } | undefined;
12437
12527
  lineRichMenuId?: string | null | undefined;
12438
12528
  messengerIntegrationType?: "own" | "business" | undefined;
12529
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12439
12530
  };
12440
12531
  status: boolean;
12441
12532
  createdAt: Date;
@@ -12589,6 +12680,7 @@ export declare const channelBotContract: {
12589
12680
  }>>;
12590
12681
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
12591
12682
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12683
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
12592
12684
  }, "strip", z.ZodTypeAny, {
12593
12685
  id: string;
12594
12686
  name: string;
@@ -12614,6 +12706,7 @@ export declare const channelBotContract: {
12614
12706
  } | undefined;
12615
12707
  lineRichMenuId?: string | null | undefined;
12616
12708
  messengerIntegrationType?: "own" | "business" | undefined;
12709
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12617
12710
  }, {
12618
12711
  id: string;
12619
12712
  name: string;
@@ -12639,6 +12732,7 @@ export declare const channelBotContract: {
12639
12732
  } | undefined;
12640
12733
  lineRichMenuId?: string | null | undefined;
12641
12734
  messengerIntegrationType?: "own" | "business" | undefined;
12735
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12642
12736
  }>;
12643
12737
  brandName: z.ZodString;
12644
12738
  platformId: z.ZodString;
@@ -12898,6 +12992,7 @@ export declare const channelBotContract: {
12898
12992
  } | undefined;
12899
12993
  lineRichMenuId?: string | null | undefined;
12900
12994
  messengerIntegrationType?: "own" | "business" | undefined;
12995
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12901
12996
  };
12902
12997
  status: boolean;
12903
12998
  createdAt: Date;
@@ -12988,6 +13083,7 @@ export declare const channelBotContract: {
12988
13083
  } | undefined;
12989
13084
  lineRichMenuId?: string | null | undefined;
12990
13085
  messengerIntegrationType?: "own" | "business" | undefined;
13086
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
12991
13087
  };
12992
13088
  status: boolean;
12993
13089
  createdAt: Date;
@@ -13080,6 +13176,7 @@ export declare const channelBotContract: {
13080
13176
  } | undefined;
13081
13177
  lineRichMenuId?: string | null | undefined;
13082
13178
  messengerIntegrationType?: "own" | "business" | undefined;
13179
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13083
13180
  };
13084
13181
  status: boolean;
13085
13182
  createdAt: Date;
@@ -13173,6 +13270,7 @@ export declare const channelBotContract: {
13173
13270
  } | undefined;
13174
13271
  lineRichMenuId?: string | null | undefined;
13175
13272
  messengerIntegrationType?: "own" | "business" | undefined;
13273
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13176
13274
  };
13177
13275
  status: boolean;
13178
13276
  createdAt: Date;
@@ -13364,6 +13462,7 @@ export declare const channelSMSContract: {
13364
13462
  }>>;
13365
13463
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
13366
13464
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
13465
+ facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
13367
13466
  }, "strip", z.ZodTypeAny, {
13368
13467
  id: string;
13369
13468
  name: string;
@@ -13389,6 +13488,7 @@ export declare const channelSMSContract: {
13389
13488
  } | undefined;
13390
13489
  lineRichMenuId?: string | null | undefined;
13391
13490
  messengerIntegrationType?: "own" | "business" | undefined;
13491
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13392
13492
  }, {
13393
13493
  id: string;
13394
13494
  name: string;
@@ -13414,6 +13514,7 @@ export declare const channelSMSContract: {
13414
13514
  } | undefined;
13415
13515
  lineRichMenuId?: string | null | undefined;
13416
13516
  messengerIntegrationType?: "own" | "business" | undefined;
13517
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13417
13518
  }>;
13418
13519
  brandName: z.ZodString;
13419
13520
  platformId: z.ZodString;
@@ -13673,6 +13774,7 @@ export declare const channelSMSContract: {
13673
13774
  } | undefined;
13674
13775
  lineRichMenuId?: string | null | undefined;
13675
13776
  messengerIntegrationType?: "own" | "business" | undefined;
13777
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13676
13778
  };
13677
13779
  status: boolean;
13678
13780
  createdAt: Date;
@@ -13763,6 +13865,7 @@ export declare const channelSMSContract: {
13763
13865
  } | undefined;
13764
13866
  lineRichMenuId?: string | null | undefined;
13765
13867
  messengerIntegrationType?: "own" | "business" | undefined;
13868
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13766
13869
  };
13767
13870
  status: boolean;
13768
13871
  createdAt: Date;
@@ -13855,6 +13958,7 @@ export declare const channelSMSContract: {
13855
13958
  } | undefined;
13856
13959
  lineRichMenuId?: string | null | undefined;
13857
13960
  messengerIntegrationType?: "own" | "business" | undefined;
13961
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13858
13962
  };
13859
13963
  status: boolean;
13860
13964
  createdAt: Date;
@@ -13948,6 +14052,7 @@ export declare const channelSMSContract: {
13948
14052
  } | undefined;
13949
14053
  lineRichMenuId?: string | null | undefined;
13950
14054
  messengerIntegrationType?: "own" | "business" | undefined;
14055
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13951
14056
  };
13952
14057
  status: boolean;
13953
14058
  createdAt: Date;