@kl1/contracts 1.1.51 → 1.1.52

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 (69) hide show
  1. package/dist/api-contracts/src/channel/index.d.ts +811 -0
  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 +5 -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 +60 -24
  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 +2230 -0
  14. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  15. package/dist/api-contracts/src/cx-log/index.d.ts +11 -0
  16. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  17. package/dist/api-contracts/src/cx-log/schema.d.ts +9 -0
  18. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  19. package/dist/api-contracts/src/facebook-feed/index.d.ts +106 -0
  20. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/facebook-feed/schema.d.ts +7 -0
  22. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  23. package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
  24. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  25. package/dist/api-contracts/src/instagram/index.d.ts +83 -0
  26. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  27. package/dist/api-contracts/src/line/index.d.ts +75 -0
  28. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/line/validation.d.ts +9 -0
  30. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  31. package/dist/api-contracts/src/messenger/index.d.ts +186 -0
  32. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/messenger/schema.d.ts +230 -1
  34. package/dist/api-contracts/src/messenger/schema.d.ts.map +1 -1
  35. package/dist/api-contracts/src/messenger/validation.d.ts +42 -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/telegram/index.d.ts +61 -0
  40. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/viber/index.d.ts +61 -0
  42. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/webchat/index.d.ts +40 -0
  44. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/workflow-rule/index.d.ts +18 -0
  46. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  47. package/dist/index.js +2224 -2154
  48. package/dist/index.js.map +1 -1
  49. package/dist/index.mjs +2224 -2154
  50. package/dist/index.mjs.map +1 -1
  51. package/package.json +1 -1
  52. package/dist/api-contracts/src/hold-label/index.d.ts +0 -315
  53. package/dist/api-contracts/src/hold-label/index.d.ts.map +0 -1
  54. package/dist/api-contracts/src/hold-label/schema.d.ts +0 -24
  55. package/dist/api-contracts/src/hold-label/schema.d.ts.map +0 -1
  56. package/dist/api-contracts/src/hold-label/validation.d.ts +0 -24
  57. package/dist/api-contracts/src/hold-label/validation.d.ts.map +0 -1
  58. package/dist/api-contracts/src/presence-status/index.d.ts +0 -556
  59. package/dist/api-contracts/src/presence-status/index.d.ts.map +0 -1
  60. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -31
  61. package/dist/api-contracts/src/presence-status/schema.d.ts.map +0 -1
  62. package/dist/api-contracts/src/presence-status/validation.d.ts +0 -28
  63. package/dist/api-contracts/src/presence-status/validation.d.ts.map +0 -1
  64. package/dist/api-contracts/src/subscription/index.d.ts +0 -1900
  65. package/dist/api-contracts/src/subscription/index.d.ts.map +0 -1
  66. package/dist/api-contracts/src/subscription/schema.d.ts +0 -2059
  67. package/dist/api-contracts/src/subscription/schema.d.ts.map +0 -1
  68. package/dist/api-contracts/src/subscription/validation.d.ts +0 -37
  69. package/dist/api-contracts/src/subscription/validation.d.ts.map +0 -1
@@ -158,6 +158,7 @@ export declare const messengerContract: {
158
158
  apiSecret: string;
159
159
  }>>;
160
160
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
161
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
161
162
  }, "strip", z.ZodTypeAny, {
162
163
  id: string;
163
164
  name: string;
@@ -171,6 +172,7 @@ export declare const messengerContract: {
171
172
  apiSecret: string;
172
173
  } | undefined;
173
174
  lineRichMenuId?: string | null | undefined;
175
+ messengerIntegrationType?: "own" | "business" | undefined;
174
176
  }, {
175
177
  id: string;
176
178
  name: string;
@@ -184,6 +186,7 @@ export declare const messengerContract: {
184
186
  apiSecret: string;
185
187
  } | undefined;
186
188
  lineRichMenuId?: string | null | undefined;
189
+ messengerIntegrationType?: "own" | "business" | undefined;
187
190
  }>;
188
191
  platformId: z.ZodString;
189
192
  brandName: z.ZodString;
@@ -227,6 +230,7 @@ export declare const messengerContract: {
227
230
  apiSecret: string;
228
231
  } | undefined;
229
232
  lineRichMenuId?: string | null | undefined;
233
+ messengerIntegrationType?: "own" | "business" | undefined;
230
234
  };
231
235
  status: boolean;
232
236
  brandName: string;
@@ -258,6 +262,7 @@ export declare const messengerContract: {
258
262
  apiSecret: string;
259
263
  } | undefined;
260
264
  lineRichMenuId?: string | null | undefined;
265
+ messengerIntegrationType?: "own" | "business" | undefined;
261
266
  };
262
267
  status: boolean;
263
268
  brandName: string;
@@ -293,6 +298,7 @@ export declare const messengerContract: {
293
298
  apiSecret: string;
294
299
  } | undefined;
295
300
  lineRichMenuId?: string | null | undefined;
301
+ messengerIntegrationType?: "own" | "business" | undefined;
296
302
  };
297
303
  status: boolean;
298
304
  brandName: string;
@@ -367,6 +373,7 @@ export declare const messengerContract: {
367
373
  apiSecret: string;
368
374
  } | undefined;
369
375
  lineRichMenuId?: string | null | undefined;
376
+ messengerIntegrationType?: "own" | "business" | undefined;
370
377
  };
371
378
  status: boolean;
372
379
  brandName: string;
@@ -609,6 +616,7 @@ export declare const messengerContract: {
609
616
  apiSecret: string;
610
617
  } | undefined;
611
618
  lineRichMenuId?: string | null | undefined;
619
+ messengerIntegrationType?: "own" | "business" | undefined;
612
620
  };
613
621
  status: boolean;
614
622
  brandName: string;
@@ -722,6 +730,7 @@ export declare const messengerContract: {
722
730
  apiSecret: string;
723
731
  } | undefined;
724
732
  lineRichMenuId?: string | null | undefined;
733
+ messengerIntegrationType?: "own" | "business" | undefined;
725
734
  };
726
735
  status: boolean;
727
736
  brandName: string;
@@ -2738,6 +2747,7 @@ export declare const messengerContract: {
2738
2747
  apiSecret: string;
2739
2748
  }>>;
2740
2749
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2750
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2741
2751
  }, "strip", z.ZodTypeAny, {
2742
2752
  id: string;
2743
2753
  name: string;
@@ -2751,6 +2761,7 @@ export declare const messengerContract: {
2751
2761
  apiSecret: string;
2752
2762
  } | undefined;
2753
2763
  lineRichMenuId?: string | null | undefined;
2764
+ messengerIntegrationType?: "own" | "business" | undefined;
2754
2765
  }, {
2755
2766
  id: string;
2756
2767
  name: string;
@@ -2764,6 +2775,7 @@ export declare const messengerContract: {
2764
2775
  apiSecret: string;
2765
2776
  } | undefined;
2766
2777
  lineRichMenuId?: string | null | undefined;
2778
+ messengerIntegrationType?: "own" | "business" | undefined;
2767
2779
  }>;
2768
2780
  brandName: z.ZodString;
2769
2781
  platformId: z.ZodString;
@@ -3011,6 +3023,7 @@ export declare const messengerContract: {
3011
3023
  apiSecret: string;
3012
3024
  } | undefined;
3013
3025
  lineRichMenuId?: string | null | undefined;
3026
+ messengerIntegrationType?: "own" | "business" | undefined;
3014
3027
  };
3015
3028
  status: boolean;
3016
3029
  createdAt: Date;
@@ -3089,6 +3102,7 @@ export declare const messengerContract: {
3089
3102
  apiSecret: string;
3090
3103
  } | undefined;
3091
3104
  lineRichMenuId?: string | null | undefined;
3105
+ messengerIntegrationType?: "own" | "business" | undefined;
3092
3106
  };
3093
3107
  status: boolean;
3094
3108
  createdAt: Date;
@@ -3615,6 +3629,7 @@ export declare const messengerContract: {
3615
3629
  apiSecret: string;
3616
3630
  } | undefined;
3617
3631
  lineRichMenuId?: string | null | undefined;
3632
+ messengerIntegrationType?: "own" | "business" | undefined;
3618
3633
  };
3619
3634
  status: boolean;
3620
3635
  createdAt: Date;
@@ -4004,6 +4019,7 @@ export declare const messengerContract: {
4004
4019
  apiSecret: string;
4005
4020
  } | undefined;
4006
4021
  lineRichMenuId?: string | null | undefined;
4022
+ messengerIntegrationType?: "own" | "business" | undefined;
4007
4023
  };
4008
4024
  status: boolean;
4009
4025
  createdAt: Date;
@@ -7117,6 +7133,7 @@ export declare const messengerContract: {
7117
7133
  apiSecret: string;
7118
7134
  }>>;
7119
7135
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7136
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
7120
7137
  }, "strip", z.ZodTypeAny, {
7121
7138
  id: string;
7122
7139
  name: string;
@@ -7130,6 +7147,7 @@ export declare const messengerContract: {
7130
7147
  apiSecret: string;
7131
7148
  } | undefined;
7132
7149
  lineRichMenuId?: string | null | undefined;
7150
+ messengerIntegrationType?: "own" | "business" | undefined;
7133
7151
  }, {
7134
7152
  id: string;
7135
7153
  name: string;
@@ -7143,6 +7161,7 @@ export declare const messengerContract: {
7143
7161
  apiSecret: string;
7144
7162
  } | undefined;
7145
7163
  lineRichMenuId?: string | null | undefined;
7164
+ messengerIntegrationType?: "own" | "business" | undefined;
7146
7165
  }>;
7147
7166
  brandName: z.ZodString;
7148
7167
  platformId: z.ZodString;
@@ -7390,6 +7409,7 @@ export declare const messengerContract: {
7390
7409
  apiSecret: string;
7391
7410
  } | undefined;
7392
7411
  lineRichMenuId?: string | null | undefined;
7412
+ messengerIntegrationType?: "own" | "business" | undefined;
7393
7413
  };
7394
7414
  status: boolean;
7395
7415
  createdAt: Date;
@@ -7468,6 +7488,7 @@ export declare const messengerContract: {
7468
7488
  apiSecret: string;
7469
7489
  } | undefined;
7470
7490
  lineRichMenuId?: string | null | undefined;
7491
+ messengerIntegrationType?: "own" | "business" | undefined;
7471
7492
  };
7472
7493
  status: boolean;
7473
7494
  createdAt: Date;
@@ -7994,6 +8015,7 @@ export declare const messengerContract: {
7994
8015
  apiSecret: string;
7995
8016
  } | undefined;
7996
8017
  lineRichMenuId?: string | null | undefined;
8018
+ messengerIntegrationType?: "own" | "business" | undefined;
7997
8019
  };
7998
8020
  status: boolean;
7999
8021
  createdAt: Date;
@@ -8383,6 +8405,7 @@ export declare const messengerContract: {
8383
8405
  apiSecret: string;
8384
8406
  } | undefined;
8385
8407
  lineRichMenuId?: string | null | undefined;
8408
+ messengerIntegrationType?: "own" | "business" | undefined;
8386
8409
  };
8387
8410
  status: boolean;
8388
8411
  createdAt: Date;
@@ -10545,6 +10568,7 @@ export declare const messengerContract: {
10545
10568
  apiSecret: string;
10546
10569
  } | undefined;
10547
10570
  lineRichMenuId?: string | null | undefined;
10571
+ messengerIntegrationType?: "own" | "business" | undefined;
10548
10572
  };
10549
10573
  status: boolean;
10550
10574
  createdAt: Date;
@@ -11271,6 +11295,7 @@ export declare const messengerContract: {
11271
11295
  apiSecret: string;
11272
11296
  } | undefined;
11273
11297
  lineRichMenuId?: string | null | undefined;
11298
+ messengerIntegrationType?: "own" | "business" | undefined;
11274
11299
  };
11275
11300
  status: boolean;
11276
11301
  createdAt: Date;
@@ -11998,6 +12023,7 @@ export declare const messengerContract: {
11998
12023
  apiSecret: string;
11999
12024
  } | undefined;
12000
12025
  lineRichMenuId?: string | null | undefined;
12026
+ messengerIntegrationType?: "own" | "business" | undefined;
12001
12027
  };
12002
12028
  status: boolean;
12003
12029
  createdAt: Date;
@@ -12724,6 +12750,7 @@ export declare const messengerContract: {
12724
12750
  apiSecret: string;
12725
12751
  } | undefined;
12726
12752
  lineRichMenuId?: string | null | undefined;
12753
+ messengerIntegrationType?: "own" | "business" | undefined;
12727
12754
  };
12728
12755
  status: boolean;
12729
12756
  createdAt: Date;
@@ -13451,6 +13478,7 @@ export declare const messengerContract: {
13451
13478
  apiSecret: string;
13452
13479
  } | undefined;
13453
13480
  lineRichMenuId?: string | null | undefined;
13481
+ messengerIntegrationType?: "own" | "business" | undefined;
13454
13482
  };
13455
13483
  status: boolean;
13456
13484
  createdAt: Date;
@@ -14177,6 +14205,7 @@ export declare const messengerContract: {
14177
14205
  apiSecret: string;
14178
14206
  } | undefined;
14179
14207
  lineRichMenuId?: string | null | undefined;
14208
+ messengerIntegrationType?: "own" | "business" | undefined;
14180
14209
  };
14181
14210
  status: boolean;
14182
14211
  createdAt: Date;
@@ -14906,6 +14935,7 @@ export declare const messengerContract: {
14906
14935
  apiSecret: string;
14907
14936
  } | undefined;
14908
14937
  lineRichMenuId?: string | null | undefined;
14938
+ messengerIntegrationType?: "own" | "business" | undefined;
14909
14939
  };
14910
14940
  status: boolean;
14911
14941
  createdAt: Date;
@@ -15632,6 +15662,7 @@ export declare const messengerContract: {
15632
15662
  apiSecret: string;
15633
15663
  } | undefined;
15634
15664
  lineRichMenuId?: string | null | undefined;
15665
+ messengerIntegrationType?: "own" | "business" | undefined;
15635
15666
  };
15636
15667
  status: boolean;
15637
15668
  createdAt: Date;
@@ -16362,6 +16393,7 @@ export declare const messengerContract: {
16362
16393
  apiSecret: string;
16363
16394
  } | undefined;
16364
16395
  lineRichMenuId?: string | null | undefined;
16396
+ messengerIntegrationType?: "own" | "business" | undefined;
16365
16397
  };
16366
16398
  status: boolean;
16367
16399
  createdAt: Date;
@@ -17088,6 +17120,7 @@ export declare const messengerContract: {
17088
17120
  apiSecret: string;
17089
17121
  } | undefined;
17090
17122
  lineRichMenuId?: string | null | undefined;
17123
+ messengerIntegrationType?: "own" | "business" | undefined;
17091
17124
  };
17092
17125
  status: boolean;
17093
17126
  createdAt: Date;
@@ -17738,6 +17771,7 @@ export declare const messengerContract: {
17738
17771
  apiSecret: string;
17739
17772
  }>>;
17740
17773
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17774
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
17741
17775
  }, "strip", z.ZodTypeAny, {
17742
17776
  id: string;
17743
17777
  name: string;
@@ -17751,6 +17785,7 @@ export declare const messengerContract: {
17751
17785
  apiSecret: string;
17752
17786
  } | undefined;
17753
17787
  lineRichMenuId?: string | null | undefined;
17788
+ messengerIntegrationType?: "own" | "business" | undefined;
17754
17789
  }, {
17755
17790
  id: string;
17756
17791
  name: string;
@@ -17764,6 +17799,7 @@ export declare const messengerContract: {
17764
17799
  apiSecret: string;
17765
17800
  } | undefined;
17766
17801
  lineRichMenuId?: string | null | undefined;
17802
+ messengerIntegrationType?: "own" | "business" | undefined;
17767
17803
  }>>;
17768
17804
  platformId: z.ZodOptional<z.ZodString>;
17769
17805
  brandName: z.ZodOptional<z.ZodString>;
@@ -17807,6 +17843,7 @@ export declare const messengerContract: {
17807
17843
  apiSecret: string;
17808
17844
  } | undefined;
17809
17845
  lineRichMenuId?: string | null | undefined;
17846
+ messengerIntegrationType?: "own" | "business" | undefined;
17810
17847
  } | undefined;
17811
17848
  platformId?: string | undefined;
17812
17849
  brandName?: string | undefined;
@@ -17838,6 +17875,7 @@ export declare const messengerContract: {
17838
17875
  apiSecret: string;
17839
17876
  } | undefined;
17840
17877
  lineRichMenuId?: string | null | undefined;
17878
+ messengerIntegrationType?: "own" | "business" | undefined;
17841
17879
  } | undefined;
17842
17880
  platformId?: string | undefined;
17843
17881
  brandName?: string | undefined;
@@ -17882,6 +17920,7 @@ export declare const messengerContract: {
17882
17920
  apiSecret: string;
17883
17921
  }>>;
17884
17922
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
17923
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
17885
17924
  }, "strip", z.ZodTypeAny, {
17886
17925
  id: string;
17887
17926
  name: string;
@@ -17895,6 +17934,7 @@ export declare const messengerContract: {
17895
17934
  apiSecret: string;
17896
17935
  } | undefined;
17897
17936
  lineRichMenuId?: string | null | undefined;
17937
+ messengerIntegrationType?: "own" | "business" | undefined;
17898
17938
  }, {
17899
17939
  id: string;
17900
17940
  name: string;
@@ -17908,6 +17948,7 @@ export declare const messengerContract: {
17908
17948
  apiSecret: string;
17909
17949
  } | undefined;
17910
17950
  lineRichMenuId?: string | null | undefined;
17951
+ messengerIntegrationType?: "own" | "business" | undefined;
17911
17952
  }>;
17912
17953
  platformId: z.ZodString;
17913
17954
  brandName: z.ZodString;
@@ -17951,6 +17992,7 @@ export declare const messengerContract: {
17951
17992
  apiSecret: string;
17952
17993
  } | undefined;
17953
17994
  lineRichMenuId?: string | null | undefined;
17995
+ messengerIntegrationType?: "own" | "business" | undefined;
17954
17996
  };
17955
17997
  status: boolean;
17956
17998
  brandName: string;
@@ -17982,6 +18024,7 @@ export declare const messengerContract: {
17982
18024
  apiSecret: string;
17983
18025
  } | undefined;
17984
18026
  lineRichMenuId?: string | null | undefined;
18027
+ messengerIntegrationType?: "own" | "business" | undefined;
17985
18028
  };
17986
18029
  status: boolean;
17987
18030
  brandName: string;
@@ -18015,6 +18058,7 @@ export declare const messengerContract: {
18015
18058
  apiSecret: string;
18016
18059
  } | undefined;
18017
18060
  lineRichMenuId?: string | null | undefined;
18061
+ messengerIntegrationType?: "own" | "business" | undefined;
18018
18062
  };
18019
18063
  status: boolean;
18020
18064
  brandName: string;
@@ -18049,6 +18093,7 @@ export declare const messengerContract: {
18049
18093
  apiSecret: string;
18050
18094
  } | undefined;
18051
18095
  lineRichMenuId?: string | null | undefined;
18096
+ messengerIntegrationType?: "own" | "business" | undefined;
18052
18097
  };
18053
18098
  status: boolean;
18054
18099
  brandName: string;
@@ -18115,6 +18160,7 @@ export declare const messengerContract: {
18115
18160
  apiSecret: string;
18116
18161
  }>>;
18117
18162
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18163
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
18118
18164
  }, "strip", z.ZodTypeAny, {
18119
18165
  id: string;
18120
18166
  name: string;
@@ -18128,6 +18174,7 @@ export declare const messengerContract: {
18128
18174
  apiSecret: string;
18129
18175
  } | undefined;
18130
18176
  lineRichMenuId?: string | null | undefined;
18177
+ messengerIntegrationType?: "own" | "business" | undefined;
18131
18178
  }, {
18132
18179
  id: string;
18133
18180
  name: string;
@@ -18141,6 +18188,7 @@ export declare const messengerContract: {
18141
18188
  apiSecret: string;
18142
18189
  } | undefined;
18143
18190
  lineRichMenuId?: string | null | undefined;
18191
+ messengerIntegrationType?: "own" | "business" | undefined;
18144
18192
  }>>;
18145
18193
  platformId: z.ZodOptional<z.ZodString>;
18146
18194
  brandName: z.ZodOptional<z.ZodString>;
@@ -18184,6 +18232,7 @@ export declare const messengerContract: {
18184
18232
  apiSecret: string;
18185
18233
  } | undefined;
18186
18234
  lineRichMenuId?: string | null | undefined;
18235
+ messengerIntegrationType?: "own" | "business" | undefined;
18187
18236
  } | undefined;
18188
18237
  platformId?: string | undefined;
18189
18238
  brandName?: string | undefined;
@@ -18215,6 +18264,7 @@ export declare const messengerContract: {
18215
18264
  apiSecret: string;
18216
18265
  } | undefined;
18217
18266
  lineRichMenuId?: string | null | undefined;
18267
+ messengerIntegrationType?: "own" | "business" | undefined;
18218
18268
  } | undefined;
18219
18269
  platformId?: string | undefined;
18220
18270
  brandName?: string | undefined;
@@ -18259,6 +18309,7 @@ export declare const messengerContract: {
18259
18309
  apiSecret: string;
18260
18310
  }>>;
18261
18311
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18312
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
18262
18313
  }, "strip", z.ZodTypeAny, {
18263
18314
  id: string;
18264
18315
  name: string;
@@ -18272,6 +18323,7 @@ export declare const messengerContract: {
18272
18323
  apiSecret: string;
18273
18324
  } | undefined;
18274
18325
  lineRichMenuId?: string | null | undefined;
18326
+ messengerIntegrationType?: "own" | "business" | undefined;
18275
18327
  }, {
18276
18328
  id: string;
18277
18329
  name: string;
@@ -18285,6 +18337,7 @@ export declare const messengerContract: {
18285
18337
  apiSecret: string;
18286
18338
  } | undefined;
18287
18339
  lineRichMenuId?: string | null | undefined;
18340
+ messengerIntegrationType?: "own" | "business" | undefined;
18288
18341
  }>;
18289
18342
  platformId: z.ZodString;
18290
18343
  brandName: z.ZodString;
@@ -18328,6 +18381,7 @@ export declare const messengerContract: {
18328
18381
  apiSecret: string;
18329
18382
  } | undefined;
18330
18383
  lineRichMenuId?: string | null | undefined;
18384
+ messengerIntegrationType?: "own" | "business" | undefined;
18331
18385
  };
18332
18386
  status: boolean;
18333
18387
  brandName: string;
@@ -18359,6 +18413,7 @@ export declare const messengerContract: {
18359
18413
  apiSecret: string;
18360
18414
  } | undefined;
18361
18415
  lineRichMenuId?: string | null | undefined;
18416
+ messengerIntegrationType?: "own" | "business" | undefined;
18362
18417
  };
18363
18418
  status: boolean;
18364
18419
  brandName: string;
@@ -18392,6 +18447,7 @@ export declare const messengerContract: {
18392
18447
  apiSecret: string;
18393
18448
  } | undefined;
18394
18449
  lineRichMenuId?: string | null | undefined;
18450
+ messengerIntegrationType?: "own" | "business" | undefined;
18395
18451
  };
18396
18452
  status: boolean;
18397
18453
  brandName: string;
@@ -18426,6 +18482,7 @@ export declare const messengerContract: {
18426
18482
  apiSecret: string;
18427
18483
  } | undefined;
18428
18484
  lineRichMenuId?: string | null | undefined;
18485
+ messengerIntegrationType?: "own" | "business" | undefined;
18429
18486
  };
18430
18487
  status: boolean;
18431
18488
  brandName: string;
@@ -18504,6 +18561,7 @@ export declare const messengerContract: {
18504
18561
  apiSecret: string;
18505
18562
  }>>;
18506
18563
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18564
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
18507
18565
  }, "strip", z.ZodTypeAny, {
18508
18566
  id: string;
18509
18567
  name: string;
@@ -18517,6 +18575,7 @@ export declare const messengerContract: {
18517
18575
  apiSecret: string;
18518
18576
  } | undefined;
18519
18577
  lineRichMenuId?: string | null | undefined;
18578
+ messengerIntegrationType?: "own" | "business" | undefined;
18520
18579
  }, {
18521
18580
  id: string;
18522
18581
  name: string;
@@ -18530,6 +18589,7 @@ export declare const messengerContract: {
18530
18589
  apiSecret: string;
18531
18590
  } | undefined;
18532
18591
  lineRichMenuId?: string | null | undefined;
18592
+ messengerIntegrationType?: "own" | "business" | undefined;
18533
18593
  }>;
18534
18594
  platformId: z.ZodString;
18535
18595
  brandName: z.ZodString;
@@ -18573,6 +18633,7 @@ export declare const messengerContract: {
18573
18633
  apiSecret: string;
18574
18634
  } | undefined;
18575
18635
  lineRichMenuId?: string | null | undefined;
18636
+ messengerIntegrationType?: "own" | "business" | undefined;
18576
18637
  };
18577
18638
  status: boolean;
18578
18639
  brandName: string;
@@ -18604,6 +18665,7 @@ export declare const messengerContract: {
18604
18665
  apiSecret: string;
18605
18666
  } | undefined;
18606
18667
  lineRichMenuId?: string | null | undefined;
18668
+ messengerIntegrationType?: "own" | "business" | undefined;
18607
18669
  };
18608
18670
  status: boolean;
18609
18671
  brandName: string;
@@ -18637,6 +18699,7 @@ export declare const messengerContract: {
18637
18699
  apiSecret: string;
18638
18700
  } | undefined;
18639
18701
  lineRichMenuId?: string | null | undefined;
18702
+ messengerIntegrationType?: "own" | "business" | undefined;
18640
18703
  };
18641
18704
  status: boolean;
18642
18705
  brandName: string;
@@ -18671,6 +18734,7 @@ export declare const messengerContract: {
18671
18734
  apiSecret: string;
18672
18735
  } | undefined;
18673
18736
  lineRichMenuId?: string | null | undefined;
18737
+ messengerIntegrationType?: "own" | "business" | undefined;
18674
18738
  };
18675
18739
  status: boolean;
18676
18740
  brandName: string;
@@ -18749,6 +18813,7 @@ export declare const messengerContract: {
18749
18813
  apiSecret: string;
18750
18814
  }>>;
18751
18815
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
18816
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
18752
18817
  }, "strip", z.ZodTypeAny, {
18753
18818
  id: string;
18754
18819
  name: string;
@@ -18762,6 +18827,7 @@ export declare const messengerContract: {
18762
18827
  apiSecret: string;
18763
18828
  } | undefined;
18764
18829
  lineRichMenuId?: string | null | undefined;
18830
+ messengerIntegrationType?: "own" | "business" | undefined;
18765
18831
  }, {
18766
18832
  id: string;
18767
18833
  name: string;
@@ -18775,6 +18841,7 @@ export declare const messengerContract: {
18775
18841
  apiSecret: string;
18776
18842
  } | undefined;
18777
18843
  lineRichMenuId?: string | null | undefined;
18844
+ messengerIntegrationType?: "own" | "business" | undefined;
18778
18845
  }>;
18779
18846
  platformId: z.ZodString;
18780
18847
  brandName: z.ZodString;
@@ -18818,6 +18885,7 @@ export declare const messengerContract: {
18818
18885
  apiSecret: string;
18819
18886
  } | undefined;
18820
18887
  lineRichMenuId?: string | null | undefined;
18888
+ messengerIntegrationType?: "own" | "business" | undefined;
18821
18889
  };
18822
18890
  status: boolean;
18823
18891
  brandName: string;
@@ -18849,6 +18917,7 @@ export declare const messengerContract: {
18849
18917
  apiSecret: string;
18850
18918
  } | undefined;
18851
18919
  lineRichMenuId?: string | null | undefined;
18920
+ messengerIntegrationType?: "own" | "business" | undefined;
18852
18921
  };
18853
18922
  status: boolean;
18854
18923
  brandName: string;
@@ -18882,6 +18951,7 @@ export declare const messengerContract: {
18882
18951
  apiSecret: string;
18883
18952
  } | undefined;
18884
18953
  lineRichMenuId?: string | null | undefined;
18954
+ messengerIntegrationType?: "own" | "business" | undefined;
18885
18955
  };
18886
18956
  status: boolean;
18887
18957
  brandName: string;
@@ -18916,6 +18986,7 @@ export declare const messengerContract: {
18916
18986
  apiSecret: string;
18917
18987
  } | undefined;
18918
18988
  lineRichMenuId?: string | null | undefined;
18989
+ messengerIntegrationType?: "own" | "business" | undefined;
18919
18990
  };
18920
18991
  status: boolean;
18921
18992
  brandName: string;
@@ -18981,6 +19052,7 @@ export declare const messengerContract: {
18981
19052
  apiSecret: string;
18982
19053
  }>>;
18983
19054
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19055
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
18984
19056
  }, "strip", z.ZodTypeAny, {
18985
19057
  id: string;
18986
19058
  name: string;
@@ -18994,6 +19066,7 @@ export declare const messengerContract: {
18994
19066
  apiSecret: string;
18995
19067
  } | undefined;
18996
19068
  lineRichMenuId?: string | null | undefined;
19069
+ messengerIntegrationType?: "own" | "business" | undefined;
18997
19070
  }, {
18998
19071
  id: string;
18999
19072
  name: string;
@@ -19007,6 +19080,7 @@ export declare const messengerContract: {
19007
19080
  apiSecret: string;
19008
19081
  } | undefined;
19009
19082
  lineRichMenuId?: string | null | undefined;
19083
+ messengerIntegrationType?: "own" | "business" | undefined;
19010
19084
  }>;
19011
19085
  status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
19012
19086
  actor: z.ZodOptional<z.ZodObject<{
@@ -19055,6 +19129,7 @@ export declare const messengerContract: {
19055
19129
  apiSecret: string;
19056
19130
  } | undefined;
19057
19131
  lineRichMenuId?: string | null | undefined;
19132
+ messengerIntegrationType?: "own" | "business" | undefined;
19058
19133
  };
19059
19134
  status: boolean;
19060
19135
  createdAt: string;
@@ -19090,6 +19165,7 @@ export declare const messengerContract: {
19090
19165
  apiSecret: string;
19091
19166
  } | undefined;
19092
19167
  lineRichMenuId?: string | null | undefined;
19168
+ messengerIntegrationType?: "own" | "business" | undefined;
19093
19169
  };
19094
19170
  status: boolean;
19095
19171
  createdAt: string;
@@ -19138,6 +19214,7 @@ export declare const messengerContract: {
19138
19214
  apiSecret: string;
19139
19215
  }>>;
19140
19216
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
19217
+ messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
19141
19218
  }, "strip", z.ZodTypeAny, {
19142
19219
  id: string;
19143
19220
  name: string;
@@ -19151,6 +19228,7 @@ export declare const messengerContract: {
19151
19228
  apiSecret: string;
19152
19229
  } | undefined;
19153
19230
  lineRichMenuId?: string | null | undefined;
19231
+ messengerIntegrationType?: "own" | "business" | undefined;
19154
19232
  }, {
19155
19233
  id: string;
19156
19234
  name: string;
@@ -19164,6 +19242,7 @@ export declare const messengerContract: {
19164
19242
  apiSecret: string;
19165
19243
  } | undefined;
19166
19244
  lineRichMenuId?: string | null | undefined;
19245
+ messengerIntegrationType?: "own" | "business" | undefined;
19167
19246
  }>;
19168
19247
  platformId: z.ZodString;
19169
19248
  brandName: z.ZodString;
@@ -19207,6 +19286,7 @@ export declare const messengerContract: {
19207
19286
  apiSecret: string;
19208
19287
  } | undefined;
19209
19288
  lineRichMenuId?: string | null | undefined;
19289
+ messengerIntegrationType?: "own" | "business" | undefined;
19210
19290
  };
19211
19291
  status: boolean;
19212
19292
  brandName: string;
@@ -19238,6 +19318,7 @@ export declare const messengerContract: {
19238
19318
  apiSecret: string;
19239
19319
  } | undefined;
19240
19320
  lineRichMenuId?: string | null | undefined;
19321
+ messengerIntegrationType?: "own" | "business" | undefined;
19241
19322
  };
19242
19323
  status: boolean;
19243
19324
  brandName: string;
@@ -19271,6 +19352,7 @@ export declare const messengerContract: {
19271
19352
  apiSecret: string;
19272
19353
  } | undefined;
19273
19354
  lineRichMenuId?: string | null | undefined;
19355
+ messengerIntegrationType?: "own" | "business" | undefined;
19274
19356
  };
19275
19357
  status: boolean;
19276
19358
  brandName: string;
@@ -19305,6 +19387,7 @@ export declare const messengerContract: {
19305
19387
  apiSecret: string;
19306
19388
  } | undefined;
19307
19389
  lineRichMenuId?: string | null | undefined;
19390
+ messengerIntegrationType?: "own" | "business" | undefined;
19308
19391
  };
19309
19392
  status: boolean;
19310
19393
  brandName: string;
@@ -19376,9 +19459,31 @@ export declare const messengerContract: {
19376
19459
  id: z.ZodString;
19377
19460
  name: z.ZodString;
19378
19461
  tasks: z.ZodArray<z.ZodString, "many">;
19462
+ picture: z.ZodObject<{
19463
+ data: z.ZodObject<{
19464
+ url: z.ZodString;
19465
+ }, "strip", z.ZodTypeAny, {
19466
+ url: string;
19467
+ }, {
19468
+ url: string;
19469
+ }>;
19470
+ }, "strip", z.ZodTypeAny, {
19471
+ data: {
19472
+ url: string;
19473
+ };
19474
+ }, {
19475
+ data: {
19476
+ url: string;
19477
+ };
19478
+ }>;
19379
19479
  }, "strip", z.ZodTypeAny, {
19380
19480
  id: string;
19381
19481
  name: string;
19482
+ picture: {
19483
+ data: {
19484
+ url: string;
19485
+ };
19486
+ };
19382
19487
  category: string;
19383
19488
  access_token: string;
19384
19489
  category_list: {
@@ -19389,6 +19494,11 @@ export declare const messengerContract: {
19389
19494
  }, {
19390
19495
  id: string;
19391
19496
  name: string;
19497
+ picture: {
19498
+ data: {
19499
+ url: string;
19500
+ };
19501
+ };
19392
19502
  category: string;
19393
19503
  access_token: string;
19394
19504
  category_list: {
@@ -19423,6 +19533,11 @@ export declare const messengerContract: {
19423
19533
  data: {
19424
19534
  id: string;
19425
19535
  name: string;
19536
+ picture: {
19537
+ data: {
19538
+ url: string;
19539
+ };
19540
+ };
19426
19541
  category: string;
19427
19542
  access_token: string;
19428
19543
  category_list: {
@@ -19442,6 +19557,11 @@ export declare const messengerContract: {
19442
19557
  data: {
19443
19558
  id: string;
19444
19559
  name: string;
19560
+ picture: {
19561
+ data: {
19562
+ url: string;
19563
+ };
19564
+ };
19445
19565
  category: string;
19446
19566
  access_token: string;
19447
19567
  category_list: {
@@ -19471,6 +19591,72 @@ export declare const messengerContract: {
19471
19591
  };
19472
19592
  path: "/pages";
19473
19593
  };
19594
+ getFacebookBusinesses: {
19595
+ method: "GET";
19596
+ query: z.ZodObject<{
19597
+ userId: z.ZodString;
19598
+ userAccessToken: z.ZodString;
19599
+ }, "strip", z.ZodTypeAny, {
19600
+ userId: string;
19601
+ userAccessToken: string;
19602
+ }, {
19603
+ userId: string;
19604
+ userAccessToken: string;
19605
+ }>;
19606
+ responses: {
19607
+ 200: z.ZodObject<{
19608
+ requestId: z.ZodString;
19609
+ }, "strip", z.ZodTypeAny, {
19610
+ requestId: string;
19611
+ }, {
19612
+ requestId: string;
19613
+ }>;
19614
+ 500: z.ZodObject<{
19615
+ message: z.ZodString;
19616
+ error: z.ZodAny;
19617
+ }, "strip", z.ZodTypeAny, {
19618
+ message: string;
19619
+ error?: any;
19620
+ }, {
19621
+ message: string;
19622
+ error?: any;
19623
+ }>;
19624
+ };
19625
+ path: "/facebook-businesses";
19626
+ };
19627
+ getFacebookBusinessPages: {
19628
+ method: "GET";
19629
+ query: z.ZodObject<{
19630
+ businessId: z.ZodString;
19631
+ userAccessToken: z.ZodString;
19632
+ }, "strip", z.ZodTypeAny, {
19633
+ userAccessToken: string;
19634
+ businessId: string;
19635
+ }, {
19636
+ userAccessToken: string;
19637
+ businessId: string;
19638
+ }>;
19639
+ responses: {
19640
+ 200: z.ZodObject<{
19641
+ requestId: z.ZodString;
19642
+ }, "strip", z.ZodTypeAny, {
19643
+ requestId: string;
19644
+ }, {
19645
+ requestId: string;
19646
+ }>;
19647
+ 500: z.ZodObject<{
19648
+ message: z.ZodString;
19649
+ error: z.ZodAny;
19650
+ }, "strip", z.ZodTypeAny, {
19651
+ message: string;
19652
+ error?: any;
19653
+ }, {
19654
+ message: string;
19655
+ error?: any;
19656
+ }>;
19657
+ };
19658
+ path: "/facebook-business-pages";
19659
+ };
19474
19660
  setBotPersistentMenu: {
19475
19661
  body: z.ZodObject<{
19476
19662
  pageAccessToken: z.ZodString;