@kl1/contracts 1.4.58 → 1.4.60

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.
@@ -13724,6 +13724,846 @@ export declare const apiContract: {
13724
13724
  }>>>;
13725
13725
  };
13726
13726
  };
13727
+ klinkchat: {
13728
+ connect: {
13729
+ body: import("zod").ZodObject<{
13730
+ name: import("zod").ZodString;
13731
+ metadata: import("zod").ZodOptional<import("zod").ZodAny>;
13732
+ }, "strip", import("zod").ZodTypeAny, {
13733
+ name: string;
13734
+ metadata?: any;
13735
+ }, {
13736
+ name: string;
13737
+ metadata?: any;
13738
+ }>;
13739
+ summary: "Connect to klink chat";
13740
+ method: "POST";
13741
+ responses: {
13742
+ 200: import("zod").ZodObject<{
13743
+ requestId: import("zod").ZodString;
13744
+ channel: import("zod").ZodObject<{
13745
+ id: import("zod").ZodString;
13746
+ createdAt: import("zod").ZodDate;
13747
+ updatedAt: import("zod").ZodDate;
13748
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13749
+ name: import("zod").ZodString;
13750
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
13751
+ metadata: import("zod").ZodObject<{
13752
+ id: import("zod").ZodString;
13753
+ name: import("zod").ZodString;
13754
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
13755
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
13756
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
13757
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
13758
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
13759
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13760
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13761
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13762
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13763
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13764
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13765
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13766
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13767
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
13768
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
13769
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
13770
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
13771
+ }, "strip", import("zod").ZodTypeAny, {
13772
+ wabaBusinessId?: string | null | undefined;
13773
+ wabaExternalId?: string | null | undefined;
13774
+ phoneNumberId?: string | null | undefined;
13775
+ email?: string | null | undefined;
13776
+ clientId?: string | null | undefined;
13777
+ channelId?: string | null | undefined;
13778
+ waapiInstanceId?: string | null | undefined;
13779
+ qr?: string | null | undefined;
13780
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13781
+ apiKey?: string | undefined;
13782
+ tier?: "basic" | "regular" | "premium" | undefined;
13783
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13784
+ }, {
13785
+ wabaBusinessId?: string | null | undefined;
13786
+ wabaExternalId?: string | null | undefined;
13787
+ phoneNumberId?: string | null | undefined;
13788
+ email?: string | null | undefined;
13789
+ clientId?: string | null | undefined;
13790
+ channelId?: string | null | undefined;
13791
+ waapiInstanceId?: string | null | undefined;
13792
+ qr?: string | null | undefined;
13793
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13794
+ apiKey?: string | undefined;
13795
+ tier?: "basic" | "regular" | "premium" | undefined;
13796
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13797
+ }>>;
13798
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
13799
+ mobileNumber: import("zod").ZodString;
13800
+ apiKey: import("zod").ZodString;
13801
+ apiSecret: import("zod").ZodString;
13802
+ }, "strip", import("zod").ZodTypeAny, {
13803
+ apiKey: string;
13804
+ mobileNumber: string;
13805
+ apiSecret: string;
13806
+ }, {
13807
+ apiKey: string;
13808
+ mobileNumber: string;
13809
+ apiSecret: string;
13810
+ }>>;
13811
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
13812
+ channelId: import("zod").ZodString;
13813
+ channelSecret: import("zod").ZodString;
13814
+ }, "strip", import("zod").ZodTypeAny, {
13815
+ channelId: string;
13816
+ channelSecret: string;
13817
+ }, {
13818
+ channelId: string;
13819
+ channelSecret: string;
13820
+ }>>;
13821
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
13822
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
13823
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
13824
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
13825
+ }, "strip", import("zod").ZodTypeAny, {
13826
+ name: string;
13827
+ id: string;
13828
+ accessToken?: string | undefined;
13829
+ channelSecret?: string | undefined;
13830
+ additionalCredentials?: any;
13831
+ senderId?: string | undefined;
13832
+ whatsapp?: {
13833
+ wabaBusinessId?: string | null | undefined;
13834
+ wabaExternalId?: string | null | undefined;
13835
+ phoneNumberId?: string | null | undefined;
13836
+ email?: string | null | undefined;
13837
+ clientId?: string | null | undefined;
13838
+ channelId?: string | null | undefined;
13839
+ waapiInstanceId?: string | null | undefined;
13840
+ qr?: string | null | undefined;
13841
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13842
+ apiKey?: string | undefined;
13843
+ tier?: "basic" | "regular" | "premium" | undefined;
13844
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13845
+ } | undefined;
13846
+ vonageCredentials?: {
13847
+ apiKey: string;
13848
+ mobileNumber: string;
13849
+ apiSecret: string;
13850
+ } | undefined;
13851
+ line?: {
13852
+ channelId: string;
13853
+ channelSecret: string;
13854
+ } | undefined;
13855
+ lineRichMenuId?: string | null | undefined;
13856
+ messengerIntegrationType?: "own" | "business" | undefined;
13857
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13858
+ isCSATEnabled?: boolean | undefined;
13859
+ }, {
13860
+ name: string;
13861
+ id: string;
13862
+ accessToken?: string | undefined;
13863
+ channelSecret?: string | undefined;
13864
+ additionalCredentials?: any;
13865
+ senderId?: string | undefined;
13866
+ whatsapp?: {
13867
+ wabaBusinessId?: string | null | undefined;
13868
+ wabaExternalId?: string | null | undefined;
13869
+ phoneNumberId?: string | null | undefined;
13870
+ email?: string | null | undefined;
13871
+ clientId?: string | null | undefined;
13872
+ channelId?: string | null | undefined;
13873
+ waapiInstanceId?: string | null | undefined;
13874
+ qr?: string | null | undefined;
13875
+ status?: "active" | "pending" | "waapi-qr" | undefined;
13876
+ apiKey?: string | undefined;
13877
+ tier?: "basic" | "regular" | "premium" | undefined;
13878
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
13879
+ } | undefined;
13880
+ vonageCredentials?: {
13881
+ apiKey: string;
13882
+ mobileNumber: string;
13883
+ apiSecret: string;
13884
+ } | undefined;
13885
+ line?: {
13886
+ channelId: string;
13887
+ channelSecret: string;
13888
+ } | undefined;
13889
+ lineRichMenuId?: string | null | undefined;
13890
+ messengerIntegrationType?: "own" | "business" | undefined;
13891
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
13892
+ isCSATEnabled?: boolean | undefined;
13893
+ }>;
13894
+ brandName: import("zod").ZodString;
13895
+ platformId: import("zod").ZodString;
13896
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
13897
+ isReloginRequired: import("zod").ZodBoolean;
13898
+ connectedUserName: import("zod").ZodString;
13899
+ connectedUserId: import("zod").ZodString;
13900
+ botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
13901
+ id: import("zod").ZodString;
13902
+ name: import("zod").ZodString;
13903
+ botId: import("zod").ZodString;
13904
+ integrationId: import("zod").ZodString;
13905
+ accessToken: import("zod").ZodString;
13906
+ }, "strip", import("zod").ZodTypeAny, {
13907
+ name: string;
13908
+ id: string;
13909
+ accessToken: string;
13910
+ botId: string;
13911
+ integrationId: string;
13912
+ }, {
13913
+ name: string;
13914
+ id: string;
13915
+ accessToken: string;
13916
+ botId: string;
13917
+ integrationId: string;
13918
+ }>>;
13919
+ actor: import("zod").ZodObject<{
13920
+ id: import("zod").ZodString;
13921
+ createdAt: import("zod").ZodDate;
13922
+ updatedAt: import("zod").ZodDate;
13923
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13924
+ name: import("zod").ZodString;
13925
+ email: import("zod").ZodString;
13926
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13927
+ password: import("zod").ZodString;
13928
+ address: import("zod").ZodNullable<import("zod").ZodString>;
13929
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
13930
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
13931
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
13932
+ id: import("zod").ZodString;
13933
+ createdAt: import("zod").ZodDate;
13934
+ updatedAt: import("zod").ZodDate;
13935
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13936
+ systemName: import("zod").ZodString;
13937
+ displayName: import("zod").ZodString;
13938
+ description: import("zod").ZodNullable<import("zod").ZodString>;
13939
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
13940
+ id: import("zod").ZodString;
13941
+ createdAt: import("zod").ZodDate;
13942
+ updatedAt: import("zod").ZodDate;
13943
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13944
+ systemName: import("zod").ZodString;
13945
+ displayName: import("zod").ZodString;
13946
+ description: import("zod").ZodNullable<import("zod").ZodString>;
13947
+ }, "strip", import("zod").ZodTypeAny, {
13948
+ id: string;
13949
+ description: string | null;
13950
+ createdAt: Date;
13951
+ updatedAt: Date;
13952
+ deletedAt: Date | null;
13953
+ systemName: string;
13954
+ displayName: string;
13955
+ }, {
13956
+ id: string;
13957
+ description: string | null;
13958
+ createdAt: Date;
13959
+ updatedAt: Date;
13960
+ deletedAt: Date | null;
13961
+ systemName: string;
13962
+ displayName: string;
13963
+ }>, "many">;
13964
+ }, "strip", import("zod").ZodTypeAny, {
13965
+ id: string;
13966
+ description: string | null;
13967
+ createdAt: Date;
13968
+ updatedAt: Date;
13969
+ deletedAt: Date | null;
13970
+ systemName: string;
13971
+ displayName: string;
13972
+ permissions: {
13973
+ id: string;
13974
+ description: string | null;
13975
+ createdAt: Date;
13976
+ updatedAt: Date;
13977
+ deletedAt: Date | null;
13978
+ systemName: string;
13979
+ displayName: string;
13980
+ }[];
13981
+ }, {
13982
+ id: string;
13983
+ description: string | null;
13984
+ createdAt: Date;
13985
+ updatedAt: Date;
13986
+ deletedAt: Date | null;
13987
+ systemName: string;
13988
+ displayName: string;
13989
+ permissions: {
13990
+ id: string;
13991
+ description: string | null;
13992
+ createdAt: Date;
13993
+ updatedAt: Date;
13994
+ deletedAt: Date | null;
13995
+ systemName: string;
13996
+ displayName: string;
13997
+ }[];
13998
+ }>, "many">;
13999
+ extension: import("zod").ZodObject<{
14000
+ id: import("zod").ZodString;
14001
+ createdAt: import("zod").ZodDate;
14002
+ updatedAt: import("zod").ZodDate;
14003
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14004
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
14005
+ sipServerUrl: import("zod").ZodString;
14006
+ sipUserName: import("zod").ZodString;
14007
+ webphoneLoginUser: import("zod").ZodString;
14008
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
14009
+ extensionName: import("zod").ZodString;
14010
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
14011
+ }, "strip", import("zod").ZodTypeAny, {
14012
+ id: string;
14013
+ createdAt: Date;
14014
+ updatedAt: Date;
14015
+ deletedAt: Date | null;
14016
+ userId: string | null;
14017
+ sipServerUrl: string;
14018
+ sipUserName: string;
14019
+ webphoneLoginUser: string;
14020
+ extensionId: string | null;
14021
+ extensionName: string;
14022
+ telephonySignature: string | null;
14023
+ }, {
14024
+ id: string;
14025
+ createdAt: Date;
14026
+ updatedAt: Date;
14027
+ deletedAt: Date | null;
14028
+ userId: string | null;
14029
+ sipServerUrl: string;
14030
+ sipUserName: string;
14031
+ webphoneLoginUser: string;
14032
+ extensionId: string | null;
14033
+ extensionName: string;
14034
+ telephonySignature: string | null;
14035
+ }>;
14036
+ }, "strip", import("zod").ZodTypeAny, {
14037
+ name: string;
14038
+ id: string;
14039
+ address: string | null;
14040
+ email: string;
14041
+ createdAt: Date;
14042
+ updatedAt: Date;
14043
+ deletedAt: Date | null;
14044
+ emailVerifiedAt: Date | null;
14045
+ password: string;
14046
+ phone: string | null;
14047
+ notificationCount: number | null;
14048
+ roles: {
14049
+ id: string;
14050
+ description: string | null;
14051
+ createdAt: Date;
14052
+ updatedAt: Date;
14053
+ deletedAt: Date | null;
14054
+ systemName: string;
14055
+ displayName: string;
14056
+ permissions: {
14057
+ id: string;
14058
+ description: string | null;
14059
+ createdAt: Date;
14060
+ updatedAt: Date;
14061
+ deletedAt: Date | null;
14062
+ systemName: string;
14063
+ displayName: string;
14064
+ }[];
14065
+ }[];
14066
+ extension: {
14067
+ id: string;
14068
+ createdAt: Date;
14069
+ updatedAt: Date;
14070
+ deletedAt: Date | null;
14071
+ userId: string | null;
14072
+ sipServerUrl: string;
14073
+ sipUserName: string;
14074
+ webphoneLoginUser: string;
14075
+ extensionId: string | null;
14076
+ extensionName: string;
14077
+ telephonySignature: string | null;
14078
+ };
14079
+ }, {
14080
+ name: string;
14081
+ id: string;
14082
+ address: string | null;
14083
+ email: string;
14084
+ createdAt: Date;
14085
+ updatedAt: Date;
14086
+ deletedAt: Date | null;
14087
+ emailVerifiedAt: Date | null;
14088
+ password: string;
14089
+ phone: string | null;
14090
+ notificationCount: number | null;
14091
+ roles: {
14092
+ id: string;
14093
+ description: string | null;
14094
+ createdAt: Date;
14095
+ updatedAt: Date;
14096
+ deletedAt: Date | null;
14097
+ systemName: string;
14098
+ displayName: string;
14099
+ permissions: {
14100
+ id: string;
14101
+ description: string | null;
14102
+ createdAt: Date;
14103
+ updatedAt: Date;
14104
+ deletedAt: Date | null;
14105
+ systemName: string;
14106
+ displayName: string;
14107
+ }[];
14108
+ }[];
14109
+ extension: {
14110
+ id: string;
14111
+ createdAt: Date;
14112
+ updatedAt: Date;
14113
+ deletedAt: Date | null;
14114
+ userId: string | null;
14115
+ sipServerUrl: string;
14116
+ sipUserName: string;
14117
+ webphoneLoginUser: string;
14118
+ extensionId: string | null;
14119
+ extensionName: string;
14120
+ telephonySignature: string | null;
14121
+ };
14122
+ }>;
14123
+ }, "strip", import("zod").ZodTypeAny, {
14124
+ name: string;
14125
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
14126
+ id: string;
14127
+ metadata: {
14128
+ name: string;
14129
+ id: string;
14130
+ accessToken?: string | undefined;
14131
+ channelSecret?: string | undefined;
14132
+ additionalCredentials?: any;
14133
+ senderId?: string | undefined;
14134
+ whatsapp?: {
14135
+ wabaBusinessId?: string | null | undefined;
14136
+ wabaExternalId?: string | null | undefined;
14137
+ phoneNumberId?: string | null | undefined;
14138
+ email?: string | null | undefined;
14139
+ clientId?: string | null | undefined;
14140
+ channelId?: string | null | undefined;
14141
+ waapiInstanceId?: string | null | undefined;
14142
+ qr?: string | null | undefined;
14143
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14144
+ apiKey?: string | undefined;
14145
+ tier?: "basic" | "regular" | "premium" | undefined;
14146
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14147
+ } | undefined;
14148
+ vonageCredentials?: {
14149
+ apiKey: string;
14150
+ mobileNumber: string;
14151
+ apiSecret: string;
14152
+ } | undefined;
14153
+ line?: {
14154
+ channelId: string;
14155
+ channelSecret: string;
14156
+ } | undefined;
14157
+ lineRichMenuId?: string | null | undefined;
14158
+ messengerIntegrationType?: "own" | "business" | undefined;
14159
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
14160
+ isCSATEnabled?: boolean | undefined;
14161
+ };
14162
+ status: boolean;
14163
+ createdAt: Date;
14164
+ updatedAt: Date;
14165
+ deletedAt: Date | null;
14166
+ actor: {
14167
+ name: string;
14168
+ id: string;
14169
+ address: string | null;
14170
+ email: string;
14171
+ createdAt: Date;
14172
+ updatedAt: Date;
14173
+ deletedAt: Date | null;
14174
+ emailVerifiedAt: Date | null;
14175
+ password: string;
14176
+ phone: string | null;
14177
+ notificationCount: number | null;
14178
+ roles: {
14179
+ id: string;
14180
+ description: string | null;
14181
+ createdAt: Date;
14182
+ updatedAt: Date;
14183
+ deletedAt: Date | null;
14184
+ systemName: string;
14185
+ displayName: string;
14186
+ permissions: {
14187
+ id: string;
14188
+ description: string | null;
14189
+ createdAt: Date;
14190
+ updatedAt: Date;
14191
+ deletedAt: Date | null;
14192
+ systemName: string;
14193
+ displayName: string;
14194
+ }[];
14195
+ }[];
14196
+ extension: {
14197
+ id: string;
14198
+ createdAt: Date;
14199
+ updatedAt: Date;
14200
+ deletedAt: Date | null;
14201
+ userId: string | null;
14202
+ sipServerUrl: string;
14203
+ sipUserName: string;
14204
+ webphoneLoginUser: string;
14205
+ extensionId: string | null;
14206
+ extensionName: string;
14207
+ telephonySignature: string | null;
14208
+ };
14209
+ };
14210
+ brandName: string;
14211
+ platformId: string;
14212
+ isReloginRequired: boolean;
14213
+ connectedUserName: string;
14214
+ connectedUserId: string;
14215
+ botpressBot: {
14216
+ name: string;
14217
+ id: string;
14218
+ accessToken: string;
14219
+ botId: string;
14220
+ integrationId: string;
14221
+ } | null;
14222
+ }, {
14223
+ name: string;
14224
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
14225
+ id: string;
14226
+ metadata: {
14227
+ name: string;
14228
+ id: string;
14229
+ accessToken?: string | undefined;
14230
+ channelSecret?: string | undefined;
14231
+ additionalCredentials?: any;
14232
+ senderId?: string | undefined;
14233
+ whatsapp?: {
14234
+ wabaBusinessId?: string | null | undefined;
14235
+ wabaExternalId?: string | null | undefined;
14236
+ phoneNumberId?: string | null | undefined;
14237
+ email?: string | null | undefined;
14238
+ clientId?: string | null | undefined;
14239
+ channelId?: string | null | undefined;
14240
+ waapiInstanceId?: string | null | undefined;
14241
+ qr?: string | null | undefined;
14242
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14243
+ apiKey?: string | undefined;
14244
+ tier?: "basic" | "regular" | "premium" | undefined;
14245
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14246
+ } | undefined;
14247
+ vonageCredentials?: {
14248
+ apiKey: string;
14249
+ mobileNumber: string;
14250
+ apiSecret: string;
14251
+ } | undefined;
14252
+ line?: {
14253
+ channelId: string;
14254
+ channelSecret: string;
14255
+ } | undefined;
14256
+ lineRichMenuId?: string | null | undefined;
14257
+ messengerIntegrationType?: "own" | "business" | undefined;
14258
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
14259
+ isCSATEnabled?: boolean | undefined;
14260
+ };
14261
+ status: boolean;
14262
+ createdAt: Date;
14263
+ updatedAt: Date;
14264
+ deletedAt: Date | null;
14265
+ actor: {
14266
+ name: string;
14267
+ id: string;
14268
+ address: string | null;
14269
+ email: string;
14270
+ createdAt: Date;
14271
+ updatedAt: Date;
14272
+ deletedAt: Date | null;
14273
+ emailVerifiedAt: Date | null;
14274
+ password: string;
14275
+ phone: string | null;
14276
+ notificationCount: number | null;
14277
+ roles: {
14278
+ id: string;
14279
+ description: string | null;
14280
+ createdAt: Date;
14281
+ updatedAt: Date;
14282
+ deletedAt: Date | null;
14283
+ systemName: string;
14284
+ displayName: string;
14285
+ permissions: {
14286
+ id: string;
14287
+ description: string | null;
14288
+ createdAt: Date;
14289
+ updatedAt: Date;
14290
+ deletedAt: Date | null;
14291
+ systemName: string;
14292
+ displayName: string;
14293
+ }[];
14294
+ }[];
14295
+ extension: {
14296
+ id: string;
14297
+ createdAt: Date;
14298
+ updatedAt: Date;
14299
+ deletedAt: Date | null;
14300
+ userId: string | null;
14301
+ sipServerUrl: string;
14302
+ sipUserName: string;
14303
+ webphoneLoginUser: string;
14304
+ extensionId: string | null;
14305
+ extensionName: string;
14306
+ telephonySignature: string | null;
14307
+ };
14308
+ };
14309
+ brandName: string;
14310
+ platformId: string;
14311
+ isReloginRequired: boolean;
14312
+ connectedUserName: string;
14313
+ connectedUserId: string;
14314
+ botpressBot: {
14315
+ name: string;
14316
+ id: string;
14317
+ accessToken: string;
14318
+ botId: string;
14319
+ integrationId: string;
14320
+ } | null;
14321
+ }>;
14322
+ }, "strip", import("zod").ZodTypeAny, {
14323
+ channel: {
14324
+ name: string;
14325
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
14326
+ id: string;
14327
+ metadata: {
14328
+ name: string;
14329
+ id: string;
14330
+ accessToken?: string | undefined;
14331
+ channelSecret?: string | undefined;
14332
+ additionalCredentials?: any;
14333
+ senderId?: string | undefined;
14334
+ whatsapp?: {
14335
+ wabaBusinessId?: string | null | undefined;
14336
+ wabaExternalId?: string | null | undefined;
14337
+ phoneNumberId?: string | null | undefined;
14338
+ email?: string | null | undefined;
14339
+ clientId?: string | null | undefined;
14340
+ channelId?: string | null | undefined;
14341
+ waapiInstanceId?: string | null | undefined;
14342
+ qr?: string | null | undefined;
14343
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14344
+ apiKey?: string | undefined;
14345
+ tier?: "basic" | "regular" | "premium" | undefined;
14346
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14347
+ } | undefined;
14348
+ vonageCredentials?: {
14349
+ apiKey: string;
14350
+ mobileNumber: string;
14351
+ apiSecret: string;
14352
+ } | undefined;
14353
+ line?: {
14354
+ channelId: string;
14355
+ channelSecret: string;
14356
+ } | undefined;
14357
+ lineRichMenuId?: string | null | undefined;
14358
+ messengerIntegrationType?: "own" | "business" | undefined;
14359
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
14360
+ isCSATEnabled?: boolean | undefined;
14361
+ };
14362
+ status: boolean;
14363
+ createdAt: Date;
14364
+ updatedAt: Date;
14365
+ deletedAt: Date | null;
14366
+ actor: {
14367
+ name: string;
14368
+ id: string;
14369
+ address: string | null;
14370
+ email: string;
14371
+ createdAt: Date;
14372
+ updatedAt: Date;
14373
+ deletedAt: Date | null;
14374
+ emailVerifiedAt: Date | null;
14375
+ password: string;
14376
+ phone: string | null;
14377
+ notificationCount: number | null;
14378
+ roles: {
14379
+ id: string;
14380
+ description: string | null;
14381
+ createdAt: Date;
14382
+ updatedAt: Date;
14383
+ deletedAt: Date | null;
14384
+ systemName: string;
14385
+ displayName: string;
14386
+ permissions: {
14387
+ id: string;
14388
+ description: string | null;
14389
+ createdAt: Date;
14390
+ updatedAt: Date;
14391
+ deletedAt: Date | null;
14392
+ systemName: string;
14393
+ displayName: string;
14394
+ }[];
14395
+ }[];
14396
+ extension: {
14397
+ id: string;
14398
+ createdAt: Date;
14399
+ updatedAt: Date;
14400
+ deletedAt: Date | null;
14401
+ userId: string | null;
14402
+ sipServerUrl: string;
14403
+ sipUserName: string;
14404
+ webphoneLoginUser: string;
14405
+ extensionId: string | null;
14406
+ extensionName: string;
14407
+ telephonySignature: string | null;
14408
+ };
14409
+ };
14410
+ brandName: string;
14411
+ platformId: string;
14412
+ isReloginRequired: boolean;
14413
+ connectedUserName: string;
14414
+ connectedUserId: string;
14415
+ botpressBot: {
14416
+ name: string;
14417
+ id: string;
14418
+ accessToken: string;
14419
+ botId: string;
14420
+ integrationId: string;
14421
+ } | null;
14422
+ };
14423
+ requestId: string;
14424
+ }, {
14425
+ channel: {
14426
+ name: string;
14427
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
14428
+ id: string;
14429
+ metadata: {
14430
+ name: string;
14431
+ id: string;
14432
+ accessToken?: string | undefined;
14433
+ channelSecret?: string | undefined;
14434
+ additionalCredentials?: any;
14435
+ senderId?: string | undefined;
14436
+ whatsapp?: {
14437
+ wabaBusinessId?: string | null | undefined;
14438
+ wabaExternalId?: string | null | undefined;
14439
+ phoneNumberId?: string | null | undefined;
14440
+ email?: string | null | undefined;
14441
+ clientId?: string | null | undefined;
14442
+ channelId?: string | null | undefined;
14443
+ waapiInstanceId?: string | null | undefined;
14444
+ qr?: string | null | undefined;
14445
+ status?: "active" | "pending" | "waapi-qr" | undefined;
14446
+ apiKey?: string | undefined;
14447
+ tier?: "basic" | "regular" | "premium" | undefined;
14448
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
14449
+ } | undefined;
14450
+ vonageCredentials?: {
14451
+ apiKey: string;
14452
+ mobileNumber: string;
14453
+ apiSecret: string;
14454
+ } | undefined;
14455
+ line?: {
14456
+ channelId: string;
14457
+ channelSecret: string;
14458
+ } | undefined;
14459
+ lineRichMenuId?: string | null | undefined;
14460
+ messengerIntegrationType?: "own" | "business" | undefined;
14461
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
14462
+ isCSATEnabled?: boolean | undefined;
14463
+ };
14464
+ status: boolean;
14465
+ createdAt: Date;
14466
+ updatedAt: Date;
14467
+ deletedAt: Date | null;
14468
+ actor: {
14469
+ name: string;
14470
+ id: string;
14471
+ address: string | null;
14472
+ email: string;
14473
+ createdAt: Date;
14474
+ updatedAt: Date;
14475
+ deletedAt: Date | null;
14476
+ emailVerifiedAt: Date | null;
14477
+ password: string;
14478
+ phone: string | null;
14479
+ notificationCount: number | null;
14480
+ roles: {
14481
+ id: string;
14482
+ description: string | null;
14483
+ createdAt: Date;
14484
+ updatedAt: Date;
14485
+ deletedAt: Date | null;
14486
+ systemName: string;
14487
+ displayName: string;
14488
+ permissions: {
14489
+ id: string;
14490
+ description: string | null;
14491
+ createdAt: Date;
14492
+ updatedAt: Date;
14493
+ deletedAt: Date | null;
14494
+ systemName: string;
14495
+ displayName: string;
14496
+ }[];
14497
+ }[];
14498
+ extension: {
14499
+ id: string;
14500
+ createdAt: Date;
14501
+ updatedAt: Date;
14502
+ deletedAt: Date | null;
14503
+ userId: string | null;
14504
+ sipServerUrl: string;
14505
+ sipUserName: string;
14506
+ webphoneLoginUser: string;
14507
+ extensionId: string | null;
14508
+ extensionName: string;
14509
+ telephonySignature: string | null;
14510
+ };
14511
+ };
14512
+ brandName: string;
14513
+ platformId: string;
14514
+ isReloginRequired: boolean;
14515
+ connectedUserName: string;
14516
+ connectedUserId: string;
14517
+ botpressBot: {
14518
+ name: string;
14519
+ id: string;
14520
+ accessToken: string;
14521
+ botId: string;
14522
+ integrationId: string;
14523
+ } | null;
14524
+ };
14525
+ requestId: string;
14526
+ }>;
14527
+ 400: import("zod").ZodObject<{
14528
+ message: import("zod").ZodString;
14529
+ error: import("zod").ZodAny;
14530
+ }, "strip", import("zod").ZodTypeAny, {
14531
+ message: string;
14532
+ error?: any;
14533
+ }, {
14534
+ message: string;
14535
+ error?: any;
14536
+ }>;
14537
+ 500: import("zod").ZodObject<{
14538
+ message: import("zod").ZodString;
14539
+ error: import("zod").ZodAny;
14540
+ }, "strip", import("zod").ZodTypeAny, {
14541
+ message: string;
14542
+ error?: any;
14543
+ }, {
14544
+ message: string;
14545
+ error?: any;
14546
+ }>;
14547
+ };
14548
+ path: "ms/klinkchat/connect";
14549
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
14550
+ 'x-tenant': import("zod").ZodString;
14551
+ 'x-service-token': import("zod").ZodString;
14552
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
14553
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
14554
+ }, "strip", import("zod").ZodTypeAny, {
14555
+ 'x-tenant': string;
14556
+ 'x-service-token': string;
14557
+ 'x-client-timezone': string;
14558
+ 'x-code'?: string | undefined;
14559
+ }, {
14560
+ 'x-tenant': string;
14561
+ 'x-service-token': string;
14562
+ 'x-code'?: string | undefined;
14563
+ 'x-client-timezone'?: string | undefined;
14564
+ }>>>;
14565
+ };
14566
+ };
13727
14567
  };
13728
14568
  auth: {
13729
14569
  me: {
@@ -319470,7 +320310,1308 @@ export declare const channelSettingContract: {
319470
320310
  error?: any;
319471
320311
  }>;
319472
320312
  };
319473
- path: "ms/settings/messenger/connect";
320313
+ path: "ms/settings/messenger/connect";
320314
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320315
+ 'x-tenant': import("zod").ZodString;
320316
+ 'x-service-token': import("zod").ZodString;
320317
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
320318
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
320319
+ }, "strip", import("zod").ZodTypeAny, {
320320
+ 'x-tenant': string;
320321
+ 'x-service-token': string;
320322
+ 'x-client-timezone': string;
320323
+ 'x-code'?: string | undefined;
320324
+ }, {
320325
+ 'x-tenant': string;
320326
+ 'x-service-token': string;
320327
+ 'x-code'?: string | undefined;
320328
+ 'x-client-timezone'?: string | undefined;
320329
+ }>>>;
320330
+ };
320331
+ };
320332
+ line: {
320333
+ connect: {
320334
+ body: import("zod").ZodObject<{
320335
+ lineId: import("zod").ZodOptional<import("zod").ZodString>;
320336
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
320337
+ lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
320338
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
320339
+ name: import("zod").ZodString;
320340
+ }, "strip", import("zod").ZodTypeAny, {
320341
+ name: string;
320342
+ lineId?: string | undefined;
320343
+ accessToken?: string | undefined;
320344
+ lineSecret?: string | undefined;
320345
+ brandName?: string | undefined;
320346
+ }, {
320347
+ name: string;
320348
+ lineId?: string | undefined;
320349
+ accessToken?: string | undefined;
320350
+ lineSecret?: string | undefined;
320351
+ brandName?: string | undefined;
320352
+ }>;
320353
+ summary: "Connect line channel";
320354
+ method: "POST";
320355
+ responses: {
320356
+ 200: import("zod").ZodObject<{
320357
+ requestId: import("zod").ZodString;
320358
+ }, "strip", import("zod").ZodTypeAny, {
320359
+ requestId: string;
320360
+ }, {
320361
+ requestId: string;
320362
+ }>;
320363
+ 408: import("zod").ZodObject<{
320364
+ message: import("zod").ZodString;
320365
+ error: import("zod").ZodAny;
320366
+ }, "strip", import("zod").ZodTypeAny, {
320367
+ message: string;
320368
+ error?: any;
320369
+ }, {
320370
+ message: string;
320371
+ error?: any;
320372
+ }>;
320373
+ };
320374
+ path: "ms/settings/line/connect";
320375
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320376
+ 'x-tenant': import("zod").ZodString;
320377
+ 'x-service-token': import("zod").ZodString;
320378
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
320379
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
320380
+ }, "strip", import("zod").ZodTypeAny, {
320381
+ 'x-tenant': string;
320382
+ 'x-service-token': string;
320383
+ 'x-client-timezone': string;
320384
+ 'x-code'?: string | undefined;
320385
+ }, {
320386
+ 'x-tenant': string;
320387
+ 'x-service-token': string;
320388
+ 'x-code'?: string | undefined;
320389
+ 'x-client-timezone'?: string | undefined;
320390
+ }>>>;
320391
+ };
320392
+ };
320393
+ instagram: {
320394
+ getPages: {
320395
+ method: "GET";
320396
+ query: import("zod").ZodObject<{
320397
+ accessToken: import("zod").ZodString;
320398
+ userId: import("zod").ZodString;
320399
+ }, "strip", import("zod").ZodTypeAny, {
320400
+ userId: string;
320401
+ accessToken: string;
320402
+ }, {
320403
+ userId: string;
320404
+ accessToken: string;
320405
+ }>;
320406
+ responses: {
320407
+ 200: import("zod").ZodObject<{
320408
+ requestId: import("zod").ZodString;
320409
+ data: import("zod").ZodObject<{
320410
+ data: import("zod").ZodArray<import("zod").ZodObject<{
320411
+ access_token: import("zod").ZodString;
320412
+ instagram_business_account: import("zod").ZodObject<{
320413
+ username: import("zod").ZodString;
320414
+ name: import("zod").ZodString;
320415
+ ig_id: import("zod").ZodNumber;
320416
+ id: import("zod").ZodString;
320417
+ }, "strip", import("zod").ZodTypeAny, {
320418
+ name: string;
320419
+ id: string;
320420
+ username: string;
320421
+ ig_id: number;
320422
+ }, {
320423
+ name: string;
320424
+ id: string;
320425
+ username: string;
320426
+ ig_id: number;
320427
+ }>;
320428
+ id: import("zod").ZodString;
320429
+ name: import("zod").ZodString;
320430
+ }, "strip", import("zod").ZodTypeAny, {
320431
+ name: string;
320432
+ id: string;
320433
+ access_token: string;
320434
+ instagram_business_account: {
320435
+ name: string;
320436
+ id: string;
320437
+ username: string;
320438
+ ig_id: number;
320439
+ };
320440
+ }, {
320441
+ name: string;
320442
+ id: string;
320443
+ access_token: string;
320444
+ instagram_business_account: {
320445
+ name: string;
320446
+ id: string;
320447
+ username: string;
320448
+ ig_id: number;
320449
+ };
320450
+ }>, "many">;
320451
+ paging: import("zod").ZodOptional<import("zod").ZodObject<{
320452
+ cursors: import("zod").ZodObject<{
320453
+ before: import("zod").ZodOptional<import("zod").ZodString>;
320454
+ after: import("zod").ZodOptional<import("zod").ZodString>;
320455
+ }, "strip", import("zod").ZodTypeAny, {
320456
+ before?: string | undefined;
320457
+ after?: string | undefined;
320458
+ }, {
320459
+ before?: string | undefined;
320460
+ after?: string | undefined;
320461
+ }>;
320462
+ }, "strip", import("zod").ZodTypeAny, {
320463
+ cursors: {
320464
+ before?: string | undefined;
320465
+ after?: string | undefined;
320466
+ };
320467
+ }, {
320468
+ cursors: {
320469
+ before?: string | undefined;
320470
+ after?: string | undefined;
320471
+ };
320472
+ }>>;
320473
+ }, "strip", import("zod").ZodTypeAny, {
320474
+ data: {
320475
+ name: string;
320476
+ id: string;
320477
+ access_token: string;
320478
+ instagram_business_account: {
320479
+ name: string;
320480
+ id: string;
320481
+ username: string;
320482
+ ig_id: number;
320483
+ };
320484
+ }[];
320485
+ paging?: {
320486
+ cursors: {
320487
+ before?: string | undefined;
320488
+ after?: string | undefined;
320489
+ };
320490
+ } | undefined;
320491
+ }, {
320492
+ data: {
320493
+ name: string;
320494
+ id: string;
320495
+ access_token: string;
320496
+ instagram_business_account: {
320497
+ name: string;
320498
+ id: string;
320499
+ username: string;
320500
+ ig_id: number;
320501
+ };
320502
+ }[];
320503
+ paging?: {
320504
+ cursors: {
320505
+ before?: string | undefined;
320506
+ after?: string | undefined;
320507
+ };
320508
+ } | undefined;
320509
+ }>;
320510
+ }, "strip", import("zod").ZodTypeAny, {
320511
+ data: {
320512
+ data: {
320513
+ name: string;
320514
+ id: string;
320515
+ access_token: string;
320516
+ instagram_business_account: {
320517
+ name: string;
320518
+ id: string;
320519
+ username: string;
320520
+ ig_id: number;
320521
+ };
320522
+ }[];
320523
+ paging?: {
320524
+ cursors: {
320525
+ before?: string | undefined;
320526
+ after?: string | undefined;
320527
+ };
320528
+ } | undefined;
320529
+ };
320530
+ requestId: string;
320531
+ }, {
320532
+ data: {
320533
+ data: {
320534
+ name: string;
320535
+ id: string;
320536
+ access_token: string;
320537
+ instagram_business_account: {
320538
+ name: string;
320539
+ id: string;
320540
+ username: string;
320541
+ ig_id: number;
320542
+ };
320543
+ }[];
320544
+ paging?: {
320545
+ cursors: {
320546
+ before?: string | undefined;
320547
+ after?: string | undefined;
320548
+ };
320549
+ } | undefined;
320550
+ };
320551
+ requestId: string;
320552
+ }>;
320553
+ 500: import("zod").ZodObject<{
320554
+ message: import("zod").ZodString;
320555
+ error: import("zod").ZodAny;
320556
+ }, "strip", import("zod").ZodTypeAny, {
320557
+ message: string;
320558
+ error?: any;
320559
+ }, {
320560
+ message: string;
320561
+ error?: any;
320562
+ }>;
320563
+ };
320564
+ path: "ms/settings/instagram/pages";
320565
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320566
+ 'x-tenant': import("zod").ZodString;
320567
+ 'x-service-token': import("zod").ZodString;
320568
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
320569
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
320570
+ }, "strip", import("zod").ZodTypeAny, {
320571
+ 'x-tenant': string;
320572
+ 'x-service-token': string;
320573
+ 'x-client-timezone': string;
320574
+ 'x-code'?: string | undefined;
320575
+ }, {
320576
+ 'x-tenant': string;
320577
+ 'x-service-token': string;
320578
+ 'x-code'?: string | undefined;
320579
+ 'x-client-timezone'?: string | undefined;
320580
+ }>>>;
320581
+ };
320582
+ connect: {
320583
+ body: import("zod").ZodObject<{
320584
+ name: import("zod").ZodString;
320585
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
320586
+ metadata: import("zod").ZodObject<{
320587
+ id: import("zod").ZodString;
320588
+ name: import("zod").ZodString;
320589
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
320590
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
320591
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
320592
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
320593
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
320594
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320595
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320596
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320597
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320598
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320599
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320600
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320601
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320602
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
320603
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
320604
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
320605
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
320606
+ }, "strip", import("zod").ZodTypeAny, {
320607
+ wabaBusinessId?: string | null | undefined;
320608
+ wabaExternalId?: string | null | undefined;
320609
+ phoneNumberId?: string | null | undefined;
320610
+ email?: string | null | undefined;
320611
+ clientId?: string | null | undefined;
320612
+ channelId?: string | null | undefined;
320613
+ waapiInstanceId?: string | null | undefined;
320614
+ qr?: string | null | undefined;
320615
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320616
+ apiKey?: string | undefined;
320617
+ tier?: "basic" | "regular" | "premium" | undefined;
320618
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320619
+ }, {
320620
+ wabaBusinessId?: string | null | undefined;
320621
+ wabaExternalId?: string | null | undefined;
320622
+ phoneNumberId?: string | null | undefined;
320623
+ email?: string | null | undefined;
320624
+ clientId?: string | null | undefined;
320625
+ channelId?: string | null | undefined;
320626
+ waapiInstanceId?: string | null | undefined;
320627
+ qr?: string | null | undefined;
320628
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320629
+ apiKey?: string | undefined;
320630
+ tier?: "basic" | "regular" | "premium" | undefined;
320631
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320632
+ }>>;
320633
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
320634
+ mobileNumber: import("zod").ZodString;
320635
+ apiKey: import("zod").ZodString;
320636
+ apiSecret: import("zod").ZodString;
320637
+ }, "strip", import("zod").ZodTypeAny, {
320638
+ apiKey: string;
320639
+ mobileNumber: string;
320640
+ apiSecret: string;
320641
+ }, {
320642
+ apiKey: string;
320643
+ mobileNumber: string;
320644
+ apiSecret: string;
320645
+ }>>;
320646
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
320647
+ channelId: import("zod").ZodString;
320648
+ channelSecret: import("zod").ZodString;
320649
+ }, "strip", import("zod").ZodTypeAny, {
320650
+ channelId: string;
320651
+ channelSecret: string;
320652
+ }, {
320653
+ channelId: string;
320654
+ channelSecret: string;
320655
+ }>>;
320656
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320657
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320658
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320659
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
320660
+ }, "strip", import("zod").ZodTypeAny, {
320661
+ name: string;
320662
+ id: string;
320663
+ accessToken?: string | undefined;
320664
+ channelSecret?: string | undefined;
320665
+ additionalCredentials?: any;
320666
+ senderId?: string | undefined;
320667
+ whatsapp?: {
320668
+ wabaBusinessId?: string | null | undefined;
320669
+ wabaExternalId?: string | null | undefined;
320670
+ phoneNumberId?: string | null | undefined;
320671
+ email?: string | null | undefined;
320672
+ clientId?: string | null | undefined;
320673
+ channelId?: string | null | undefined;
320674
+ waapiInstanceId?: string | null | undefined;
320675
+ qr?: string | null | undefined;
320676
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320677
+ apiKey?: string | undefined;
320678
+ tier?: "basic" | "regular" | "premium" | undefined;
320679
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320680
+ } | undefined;
320681
+ vonageCredentials?: {
320682
+ apiKey: string;
320683
+ mobileNumber: string;
320684
+ apiSecret: string;
320685
+ } | undefined;
320686
+ line?: {
320687
+ channelId: string;
320688
+ channelSecret: string;
320689
+ } | undefined;
320690
+ lineRichMenuId?: string | null | undefined;
320691
+ messengerIntegrationType?: "own" | "business" | undefined;
320692
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320693
+ isCSATEnabled?: boolean | undefined;
320694
+ }, {
320695
+ name: string;
320696
+ id: string;
320697
+ accessToken?: string | undefined;
320698
+ channelSecret?: string | undefined;
320699
+ additionalCredentials?: any;
320700
+ senderId?: string | undefined;
320701
+ whatsapp?: {
320702
+ wabaBusinessId?: string | null | undefined;
320703
+ wabaExternalId?: string | null | undefined;
320704
+ phoneNumberId?: string | null | undefined;
320705
+ email?: string | null | undefined;
320706
+ clientId?: string | null | undefined;
320707
+ channelId?: string | null | undefined;
320708
+ waapiInstanceId?: string | null | undefined;
320709
+ qr?: string | null | undefined;
320710
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320711
+ apiKey?: string | undefined;
320712
+ tier?: "basic" | "regular" | "premium" | undefined;
320713
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320714
+ } | undefined;
320715
+ vonageCredentials?: {
320716
+ apiKey: string;
320717
+ mobileNumber: string;
320718
+ apiSecret: string;
320719
+ } | undefined;
320720
+ line?: {
320721
+ channelId: string;
320722
+ channelSecret: string;
320723
+ } | undefined;
320724
+ lineRichMenuId?: string | null | undefined;
320725
+ messengerIntegrationType?: "own" | "business" | undefined;
320726
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320727
+ isCSATEnabled?: boolean | undefined;
320728
+ }>;
320729
+ platformId: import("zod").ZodString;
320730
+ connectedUserId: import("zod").ZodString;
320731
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
320732
+ }, "strip", import("zod").ZodTypeAny, {
320733
+ name: string;
320734
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
320735
+ metadata: {
320736
+ name: string;
320737
+ id: string;
320738
+ accessToken?: string | undefined;
320739
+ channelSecret?: string | undefined;
320740
+ additionalCredentials?: any;
320741
+ senderId?: string | undefined;
320742
+ whatsapp?: {
320743
+ wabaBusinessId?: string | null | undefined;
320744
+ wabaExternalId?: string | null | undefined;
320745
+ phoneNumberId?: string | null | undefined;
320746
+ email?: string | null | undefined;
320747
+ clientId?: string | null | undefined;
320748
+ channelId?: string | null | undefined;
320749
+ waapiInstanceId?: string | null | undefined;
320750
+ qr?: string | null | undefined;
320751
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320752
+ apiKey?: string | undefined;
320753
+ tier?: "basic" | "regular" | "premium" | undefined;
320754
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320755
+ } | undefined;
320756
+ vonageCredentials?: {
320757
+ apiKey: string;
320758
+ mobileNumber: string;
320759
+ apiSecret: string;
320760
+ } | undefined;
320761
+ line?: {
320762
+ channelId: string;
320763
+ channelSecret: string;
320764
+ } | undefined;
320765
+ lineRichMenuId?: string | null | undefined;
320766
+ messengerIntegrationType?: "own" | "business" | undefined;
320767
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320768
+ isCSATEnabled?: boolean | undefined;
320769
+ };
320770
+ platformId: string;
320771
+ connectedUserId: string;
320772
+ connectedUserName?: string | undefined;
320773
+ }, {
320774
+ name: string;
320775
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
320776
+ metadata: {
320777
+ name: string;
320778
+ id: string;
320779
+ accessToken?: string | undefined;
320780
+ channelSecret?: string | undefined;
320781
+ additionalCredentials?: any;
320782
+ senderId?: string | undefined;
320783
+ whatsapp?: {
320784
+ wabaBusinessId?: string | null | undefined;
320785
+ wabaExternalId?: string | null | undefined;
320786
+ phoneNumberId?: string | null | undefined;
320787
+ email?: string | null | undefined;
320788
+ clientId?: string | null | undefined;
320789
+ channelId?: string | null | undefined;
320790
+ waapiInstanceId?: string | null | undefined;
320791
+ qr?: string | null | undefined;
320792
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320793
+ apiKey?: string | undefined;
320794
+ tier?: "basic" | "regular" | "premium" | undefined;
320795
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320796
+ } | undefined;
320797
+ vonageCredentials?: {
320798
+ apiKey: string;
320799
+ mobileNumber: string;
320800
+ apiSecret: string;
320801
+ } | undefined;
320802
+ line?: {
320803
+ channelId: string;
320804
+ channelSecret: string;
320805
+ } | undefined;
320806
+ lineRichMenuId?: string | null | undefined;
320807
+ messengerIntegrationType?: "own" | "business" | undefined;
320808
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320809
+ isCSATEnabled?: boolean | undefined;
320810
+ };
320811
+ platformId: string;
320812
+ connectedUserId: string;
320813
+ connectedUserName?: string | undefined;
320814
+ }>;
320815
+ summary: "Connect message channel";
320816
+ method: "POST";
320817
+ responses: {
320818
+ 200: import("zod").ZodObject<{
320819
+ requestId: import("zod").ZodString;
320820
+ channel: import("zod").ZodObject<{
320821
+ id: import("zod").ZodString;
320822
+ createdAt: import("zod").ZodDate;
320823
+ updatedAt: import("zod").ZodDate;
320824
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
320825
+ name: import("zod").ZodString;
320826
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
320827
+ metadata: import("zod").ZodObject<{
320828
+ id: import("zod").ZodString;
320829
+ name: import("zod").ZodString;
320830
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
320831
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
320832
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
320833
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
320834
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
320835
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320836
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320837
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320838
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320839
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320840
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320841
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320842
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320843
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
320844
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
320845
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
320846
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
320847
+ }, "strip", import("zod").ZodTypeAny, {
320848
+ wabaBusinessId?: string | null | undefined;
320849
+ wabaExternalId?: string | null | undefined;
320850
+ phoneNumberId?: string | null | undefined;
320851
+ email?: string | null | undefined;
320852
+ clientId?: string | null | undefined;
320853
+ channelId?: string | null | undefined;
320854
+ waapiInstanceId?: string | null | undefined;
320855
+ qr?: string | null | undefined;
320856
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320857
+ apiKey?: string | undefined;
320858
+ tier?: "basic" | "regular" | "premium" | undefined;
320859
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320860
+ }, {
320861
+ wabaBusinessId?: string | null | undefined;
320862
+ wabaExternalId?: string | null | undefined;
320863
+ phoneNumberId?: string | null | undefined;
320864
+ email?: string | null | undefined;
320865
+ clientId?: string | null | undefined;
320866
+ channelId?: string | null | undefined;
320867
+ waapiInstanceId?: string | null | undefined;
320868
+ qr?: string | null | undefined;
320869
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320870
+ apiKey?: string | undefined;
320871
+ tier?: "basic" | "regular" | "premium" | undefined;
320872
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320873
+ }>>;
320874
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
320875
+ mobileNumber: import("zod").ZodString;
320876
+ apiKey: import("zod").ZodString;
320877
+ apiSecret: import("zod").ZodString;
320878
+ }, "strip", import("zod").ZodTypeAny, {
320879
+ apiKey: string;
320880
+ mobileNumber: string;
320881
+ apiSecret: string;
320882
+ }, {
320883
+ apiKey: string;
320884
+ mobileNumber: string;
320885
+ apiSecret: string;
320886
+ }>>;
320887
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
320888
+ channelId: import("zod").ZodString;
320889
+ channelSecret: import("zod").ZodString;
320890
+ }, "strip", import("zod").ZodTypeAny, {
320891
+ channelId: string;
320892
+ channelSecret: string;
320893
+ }, {
320894
+ channelId: string;
320895
+ channelSecret: string;
320896
+ }>>;
320897
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320898
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320899
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320900
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
320901
+ }, "strip", import("zod").ZodTypeAny, {
320902
+ name: string;
320903
+ id: string;
320904
+ accessToken?: string | undefined;
320905
+ channelSecret?: string | undefined;
320906
+ additionalCredentials?: any;
320907
+ senderId?: string | undefined;
320908
+ whatsapp?: {
320909
+ wabaBusinessId?: string | null | undefined;
320910
+ wabaExternalId?: string | null | undefined;
320911
+ phoneNumberId?: string | null | undefined;
320912
+ email?: string | null | undefined;
320913
+ clientId?: string | null | undefined;
320914
+ channelId?: string | null | undefined;
320915
+ waapiInstanceId?: string | null | undefined;
320916
+ qr?: string | null | undefined;
320917
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320918
+ apiKey?: string | undefined;
320919
+ tier?: "basic" | "regular" | "premium" | undefined;
320920
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320921
+ } | undefined;
320922
+ vonageCredentials?: {
320923
+ apiKey: string;
320924
+ mobileNumber: string;
320925
+ apiSecret: string;
320926
+ } | undefined;
320927
+ line?: {
320928
+ channelId: string;
320929
+ channelSecret: string;
320930
+ } | undefined;
320931
+ lineRichMenuId?: string | null | undefined;
320932
+ messengerIntegrationType?: "own" | "business" | undefined;
320933
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320934
+ isCSATEnabled?: boolean | undefined;
320935
+ }, {
320936
+ name: string;
320937
+ id: string;
320938
+ accessToken?: string | undefined;
320939
+ channelSecret?: string | undefined;
320940
+ additionalCredentials?: any;
320941
+ senderId?: string | undefined;
320942
+ whatsapp?: {
320943
+ wabaBusinessId?: string | null | undefined;
320944
+ wabaExternalId?: string | null | undefined;
320945
+ phoneNumberId?: string | null | undefined;
320946
+ email?: string | null | undefined;
320947
+ clientId?: string | null | undefined;
320948
+ channelId?: string | null | undefined;
320949
+ waapiInstanceId?: string | null | undefined;
320950
+ qr?: string | null | undefined;
320951
+ status?: "active" | "pending" | "waapi-qr" | undefined;
320952
+ apiKey?: string | undefined;
320953
+ tier?: "basic" | "regular" | "premium" | undefined;
320954
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320955
+ } | undefined;
320956
+ vonageCredentials?: {
320957
+ apiKey: string;
320958
+ mobileNumber: string;
320959
+ apiSecret: string;
320960
+ } | undefined;
320961
+ line?: {
320962
+ channelId: string;
320963
+ channelSecret: string;
320964
+ } | undefined;
320965
+ lineRichMenuId?: string | null | undefined;
320966
+ messengerIntegrationType?: "own" | "business" | undefined;
320967
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
320968
+ isCSATEnabled?: boolean | undefined;
320969
+ }>;
320970
+ brandName: import("zod").ZodString;
320971
+ platformId: import("zod").ZodString;
320972
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
320973
+ isReloginRequired: import("zod").ZodBoolean;
320974
+ connectedUserName: import("zod").ZodString;
320975
+ connectedUserId: import("zod").ZodString;
320976
+ botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
320977
+ id: import("zod").ZodString;
320978
+ name: import("zod").ZodString;
320979
+ botId: import("zod").ZodString;
320980
+ integrationId: import("zod").ZodString;
320981
+ accessToken: import("zod").ZodString;
320982
+ }, "strip", import("zod").ZodTypeAny, {
320983
+ name: string;
320984
+ id: string;
320985
+ accessToken: string;
320986
+ botId: string;
320987
+ integrationId: string;
320988
+ }, {
320989
+ name: string;
320990
+ id: string;
320991
+ accessToken: string;
320992
+ botId: string;
320993
+ integrationId: string;
320994
+ }>>;
320995
+ actor: import("zod").ZodObject<{
320996
+ id: import("zod").ZodString;
320997
+ createdAt: import("zod").ZodDate;
320998
+ updatedAt: import("zod").ZodDate;
320999
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
321000
+ name: import("zod").ZodString;
321001
+ email: import("zod").ZodString;
321002
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
321003
+ password: import("zod").ZodString;
321004
+ address: import("zod").ZodNullable<import("zod").ZodString>;
321005
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
321006
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
321007
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
321008
+ id: import("zod").ZodString;
321009
+ createdAt: import("zod").ZodDate;
321010
+ updatedAt: import("zod").ZodDate;
321011
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
321012
+ systemName: import("zod").ZodString;
321013
+ displayName: import("zod").ZodString;
321014
+ description: import("zod").ZodNullable<import("zod").ZodString>;
321015
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
321016
+ id: import("zod").ZodString;
321017
+ createdAt: import("zod").ZodDate;
321018
+ updatedAt: import("zod").ZodDate;
321019
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
321020
+ systemName: import("zod").ZodString;
321021
+ displayName: import("zod").ZodString;
321022
+ description: import("zod").ZodNullable<import("zod").ZodString>;
321023
+ }, "strip", import("zod").ZodTypeAny, {
321024
+ id: string;
321025
+ description: string | null;
321026
+ createdAt: Date;
321027
+ updatedAt: Date;
321028
+ deletedAt: Date | null;
321029
+ systemName: string;
321030
+ displayName: string;
321031
+ }, {
321032
+ id: string;
321033
+ description: string | null;
321034
+ createdAt: Date;
321035
+ updatedAt: Date;
321036
+ deletedAt: Date | null;
321037
+ systemName: string;
321038
+ displayName: string;
321039
+ }>, "many">;
321040
+ }, "strip", import("zod").ZodTypeAny, {
321041
+ id: string;
321042
+ description: string | null;
321043
+ createdAt: Date;
321044
+ updatedAt: Date;
321045
+ deletedAt: Date | null;
321046
+ systemName: string;
321047
+ displayName: string;
321048
+ permissions: {
321049
+ id: string;
321050
+ description: string | null;
321051
+ createdAt: Date;
321052
+ updatedAt: Date;
321053
+ deletedAt: Date | null;
321054
+ systemName: string;
321055
+ displayName: string;
321056
+ }[];
321057
+ }, {
321058
+ id: string;
321059
+ description: string | null;
321060
+ createdAt: Date;
321061
+ updatedAt: Date;
321062
+ deletedAt: Date | null;
321063
+ systemName: string;
321064
+ displayName: string;
321065
+ permissions: {
321066
+ id: string;
321067
+ description: string | null;
321068
+ createdAt: Date;
321069
+ updatedAt: Date;
321070
+ deletedAt: Date | null;
321071
+ systemName: string;
321072
+ displayName: string;
321073
+ }[];
321074
+ }>, "many">;
321075
+ extension: import("zod").ZodObject<{
321076
+ id: import("zod").ZodString;
321077
+ createdAt: import("zod").ZodDate;
321078
+ updatedAt: import("zod").ZodDate;
321079
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
321080
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
321081
+ sipServerUrl: import("zod").ZodString;
321082
+ sipUserName: import("zod").ZodString;
321083
+ webphoneLoginUser: import("zod").ZodString;
321084
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
321085
+ extensionName: import("zod").ZodString;
321086
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
321087
+ }, "strip", import("zod").ZodTypeAny, {
321088
+ id: string;
321089
+ createdAt: Date;
321090
+ updatedAt: Date;
321091
+ deletedAt: Date | null;
321092
+ userId: string | null;
321093
+ sipServerUrl: string;
321094
+ sipUserName: string;
321095
+ webphoneLoginUser: string;
321096
+ extensionId: string | null;
321097
+ extensionName: string;
321098
+ telephonySignature: string | null;
321099
+ }, {
321100
+ id: string;
321101
+ createdAt: Date;
321102
+ updatedAt: Date;
321103
+ deletedAt: Date | null;
321104
+ userId: string | null;
321105
+ sipServerUrl: string;
321106
+ sipUserName: string;
321107
+ webphoneLoginUser: string;
321108
+ extensionId: string | null;
321109
+ extensionName: string;
321110
+ telephonySignature: string | null;
321111
+ }>;
321112
+ }, "strip", import("zod").ZodTypeAny, {
321113
+ name: string;
321114
+ id: string;
321115
+ address: string | null;
321116
+ email: string;
321117
+ createdAt: Date;
321118
+ updatedAt: Date;
321119
+ deletedAt: Date | null;
321120
+ emailVerifiedAt: Date | null;
321121
+ password: string;
321122
+ phone: string | null;
321123
+ notificationCount: number | null;
321124
+ roles: {
321125
+ id: string;
321126
+ description: string | null;
321127
+ createdAt: Date;
321128
+ updatedAt: Date;
321129
+ deletedAt: Date | null;
321130
+ systemName: string;
321131
+ displayName: string;
321132
+ permissions: {
321133
+ id: string;
321134
+ description: string | null;
321135
+ createdAt: Date;
321136
+ updatedAt: Date;
321137
+ deletedAt: Date | null;
321138
+ systemName: string;
321139
+ displayName: string;
321140
+ }[];
321141
+ }[];
321142
+ extension: {
321143
+ id: string;
321144
+ createdAt: Date;
321145
+ updatedAt: Date;
321146
+ deletedAt: Date | null;
321147
+ userId: string | null;
321148
+ sipServerUrl: string;
321149
+ sipUserName: string;
321150
+ webphoneLoginUser: string;
321151
+ extensionId: string | null;
321152
+ extensionName: string;
321153
+ telephonySignature: string | null;
321154
+ };
321155
+ }, {
321156
+ name: string;
321157
+ id: string;
321158
+ address: string | null;
321159
+ email: string;
321160
+ createdAt: Date;
321161
+ updatedAt: Date;
321162
+ deletedAt: Date | null;
321163
+ emailVerifiedAt: Date | null;
321164
+ password: string;
321165
+ phone: string | null;
321166
+ notificationCount: number | null;
321167
+ roles: {
321168
+ id: string;
321169
+ description: string | null;
321170
+ createdAt: Date;
321171
+ updatedAt: Date;
321172
+ deletedAt: Date | null;
321173
+ systemName: string;
321174
+ displayName: string;
321175
+ permissions: {
321176
+ id: string;
321177
+ description: string | null;
321178
+ createdAt: Date;
321179
+ updatedAt: Date;
321180
+ deletedAt: Date | null;
321181
+ systemName: string;
321182
+ displayName: string;
321183
+ }[];
321184
+ }[];
321185
+ extension: {
321186
+ id: string;
321187
+ createdAt: Date;
321188
+ updatedAt: Date;
321189
+ deletedAt: Date | null;
321190
+ userId: string | null;
321191
+ sipServerUrl: string;
321192
+ sipUserName: string;
321193
+ webphoneLoginUser: string;
321194
+ extensionId: string | null;
321195
+ extensionName: string;
321196
+ telephonySignature: string | null;
321197
+ };
321198
+ }>;
321199
+ }, "strip", import("zod").ZodTypeAny, {
321200
+ name: string;
321201
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
321202
+ id: string;
321203
+ metadata: {
321204
+ name: string;
321205
+ id: string;
321206
+ accessToken?: string | undefined;
321207
+ channelSecret?: string | undefined;
321208
+ additionalCredentials?: any;
321209
+ senderId?: string | undefined;
321210
+ whatsapp?: {
321211
+ wabaBusinessId?: string | null | undefined;
321212
+ wabaExternalId?: string | null | undefined;
321213
+ phoneNumberId?: string | null | undefined;
321214
+ email?: string | null | undefined;
321215
+ clientId?: string | null | undefined;
321216
+ channelId?: string | null | undefined;
321217
+ waapiInstanceId?: string | null | undefined;
321218
+ qr?: string | null | undefined;
321219
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321220
+ apiKey?: string | undefined;
321221
+ tier?: "basic" | "regular" | "premium" | undefined;
321222
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321223
+ } | undefined;
321224
+ vonageCredentials?: {
321225
+ apiKey: string;
321226
+ mobileNumber: string;
321227
+ apiSecret: string;
321228
+ } | undefined;
321229
+ line?: {
321230
+ channelId: string;
321231
+ channelSecret: string;
321232
+ } | undefined;
321233
+ lineRichMenuId?: string | null | undefined;
321234
+ messengerIntegrationType?: "own" | "business" | undefined;
321235
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321236
+ isCSATEnabled?: boolean | undefined;
321237
+ };
321238
+ status: boolean;
321239
+ createdAt: Date;
321240
+ updatedAt: Date;
321241
+ deletedAt: Date | null;
321242
+ actor: {
321243
+ name: string;
321244
+ id: string;
321245
+ address: string | null;
321246
+ email: string;
321247
+ createdAt: Date;
321248
+ updatedAt: Date;
321249
+ deletedAt: Date | null;
321250
+ emailVerifiedAt: Date | null;
321251
+ password: string;
321252
+ phone: string | null;
321253
+ notificationCount: number | null;
321254
+ roles: {
321255
+ id: string;
321256
+ description: string | null;
321257
+ createdAt: Date;
321258
+ updatedAt: Date;
321259
+ deletedAt: Date | null;
321260
+ systemName: string;
321261
+ displayName: string;
321262
+ permissions: {
321263
+ id: string;
321264
+ description: string | null;
321265
+ createdAt: Date;
321266
+ updatedAt: Date;
321267
+ deletedAt: Date | null;
321268
+ systemName: string;
321269
+ displayName: string;
321270
+ }[];
321271
+ }[];
321272
+ extension: {
321273
+ id: string;
321274
+ createdAt: Date;
321275
+ updatedAt: Date;
321276
+ deletedAt: Date | null;
321277
+ userId: string | null;
321278
+ sipServerUrl: string;
321279
+ sipUserName: string;
321280
+ webphoneLoginUser: string;
321281
+ extensionId: string | null;
321282
+ extensionName: string;
321283
+ telephonySignature: string | null;
321284
+ };
321285
+ };
321286
+ brandName: string;
321287
+ platformId: string;
321288
+ isReloginRequired: boolean;
321289
+ connectedUserName: string;
321290
+ connectedUserId: string;
321291
+ botpressBot: {
321292
+ name: string;
321293
+ id: string;
321294
+ accessToken: string;
321295
+ botId: string;
321296
+ integrationId: string;
321297
+ } | null;
321298
+ }, {
321299
+ name: string;
321300
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
321301
+ id: string;
321302
+ metadata: {
321303
+ name: string;
321304
+ id: string;
321305
+ accessToken?: string | undefined;
321306
+ channelSecret?: string | undefined;
321307
+ additionalCredentials?: any;
321308
+ senderId?: string | undefined;
321309
+ whatsapp?: {
321310
+ wabaBusinessId?: string | null | undefined;
321311
+ wabaExternalId?: string | null | undefined;
321312
+ phoneNumberId?: string | null | undefined;
321313
+ email?: string | null | undefined;
321314
+ clientId?: string | null | undefined;
321315
+ channelId?: string | null | undefined;
321316
+ waapiInstanceId?: string | null | undefined;
321317
+ qr?: string | null | undefined;
321318
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321319
+ apiKey?: string | undefined;
321320
+ tier?: "basic" | "regular" | "premium" | undefined;
321321
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321322
+ } | undefined;
321323
+ vonageCredentials?: {
321324
+ apiKey: string;
321325
+ mobileNumber: string;
321326
+ apiSecret: string;
321327
+ } | undefined;
321328
+ line?: {
321329
+ channelId: string;
321330
+ channelSecret: string;
321331
+ } | undefined;
321332
+ lineRichMenuId?: string | null | undefined;
321333
+ messengerIntegrationType?: "own" | "business" | undefined;
321334
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321335
+ isCSATEnabled?: boolean | undefined;
321336
+ };
321337
+ status: boolean;
321338
+ createdAt: Date;
321339
+ updatedAt: Date;
321340
+ deletedAt: Date | null;
321341
+ actor: {
321342
+ name: string;
321343
+ id: string;
321344
+ address: string | null;
321345
+ email: string;
321346
+ createdAt: Date;
321347
+ updatedAt: Date;
321348
+ deletedAt: Date | null;
321349
+ emailVerifiedAt: Date | null;
321350
+ password: string;
321351
+ phone: string | null;
321352
+ notificationCount: number | null;
321353
+ roles: {
321354
+ id: string;
321355
+ description: string | null;
321356
+ createdAt: Date;
321357
+ updatedAt: Date;
321358
+ deletedAt: Date | null;
321359
+ systemName: string;
321360
+ displayName: string;
321361
+ permissions: {
321362
+ id: string;
321363
+ description: string | null;
321364
+ createdAt: Date;
321365
+ updatedAt: Date;
321366
+ deletedAt: Date | null;
321367
+ systemName: string;
321368
+ displayName: string;
321369
+ }[];
321370
+ }[];
321371
+ extension: {
321372
+ id: string;
321373
+ createdAt: Date;
321374
+ updatedAt: Date;
321375
+ deletedAt: Date | null;
321376
+ userId: string | null;
321377
+ sipServerUrl: string;
321378
+ sipUserName: string;
321379
+ webphoneLoginUser: string;
321380
+ extensionId: string | null;
321381
+ extensionName: string;
321382
+ telephonySignature: string | null;
321383
+ };
321384
+ };
321385
+ brandName: string;
321386
+ platformId: string;
321387
+ isReloginRequired: boolean;
321388
+ connectedUserName: string;
321389
+ connectedUserId: string;
321390
+ botpressBot: {
321391
+ name: string;
321392
+ id: string;
321393
+ accessToken: string;
321394
+ botId: string;
321395
+ integrationId: string;
321396
+ } | null;
321397
+ }>;
321398
+ }, "strip", import("zod").ZodTypeAny, {
321399
+ channel: {
321400
+ name: string;
321401
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
321402
+ id: string;
321403
+ metadata: {
321404
+ name: string;
321405
+ id: string;
321406
+ accessToken?: string | undefined;
321407
+ channelSecret?: string | undefined;
321408
+ additionalCredentials?: any;
321409
+ senderId?: string | undefined;
321410
+ whatsapp?: {
321411
+ wabaBusinessId?: string | null | undefined;
321412
+ wabaExternalId?: string | null | undefined;
321413
+ phoneNumberId?: string | null | undefined;
321414
+ email?: string | null | undefined;
321415
+ clientId?: string | null | undefined;
321416
+ channelId?: string | null | undefined;
321417
+ waapiInstanceId?: string | null | undefined;
321418
+ qr?: string | null | undefined;
321419
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321420
+ apiKey?: string | undefined;
321421
+ tier?: "basic" | "regular" | "premium" | undefined;
321422
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321423
+ } | undefined;
321424
+ vonageCredentials?: {
321425
+ apiKey: string;
321426
+ mobileNumber: string;
321427
+ apiSecret: string;
321428
+ } | undefined;
321429
+ line?: {
321430
+ channelId: string;
321431
+ channelSecret: string;
321432
+ } | undefined;
321433
+ lineRichMenuId?: string | null | undefined;
321434
+ messengerIntegrationType?: "own" | "business" | undefined;
321435
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321436
+ isCSATEnabled?: boolean | undefined;
321437
+ };
321438
+ status: boolean;
321439
+ createdAt: Date;
321440
+ updatedAt: Date;
321441
+ deletedAt: Date | null;
321442
+ actor: {
321443
+ name: string;
321444
+ id: string;
321445
+ address: string | null;
321446
+ email: string;
321447
+ createdAt: Date;
321448
+ updatedAt: Date;
321449
+ deletedAt: Date | null;
321450
+ emailVerifiedAt: Date | null;
321451
+ password: string;
321452
+ phone: string | null;
321453
+ notificationCount: number | null;
321454
+ roles: {
321455
+ id: string;
321456
+ description: string | null;
321457
+ createdAt: Date;
321458
+ updatedAt: Date;
321459
+ deletedAt: Date | null;
321460
+ systemName: string;
321461
+ displayName: string;
321462
+ permissions: {
321463
+ id: string;
321464
+ description: string | null;
321465
+ createdAt: Date;
321466
+ updatedAt: Date;
321467
+ deletedAt: Date | null;
321468
+ systemName: string;
321469
+ displayName: string;
321470
+ }[];
321471
+ }[];
321472
+ extension: {
321473
+ id: string;
321474
+ createdAt: Date;
321475
+ updatedAt: Date;
321476
+ deletedAt: Date | null;
321477
+ userId: string | null;
321478
+ sipServerUrl: string;
321479
+ sipUserName: string;
321480
+ webphoneLoginUser: string;
321481
+ extensionId: string | null;
321482
+ extensionName: string;
321483
+ telephonySignature: string | null;
321484
+ };
321485
+ };
321486
+ brandName: string;
321487
+ platformId: string;
321488
+ isReloginRequired: boolean;
321489
+ connectedUserName: string;
321490
+ connectedUserId: string;
321491
+ botpressBot: {
321492
+ name: string;
321493
+ id: string;
321494
+ accessToken: string;
321495
+ botId: string;
321496
+ integrationId: string;
321497
+ } | null;
321498
+ };
321499
+ requestId: string;
321500
+ }, {
321501
+ channel: {
321502
+ name: string;
321503
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
321504
+ id: string;
321505
+ metadata: {
321506
+ name: string;
321507
+ id: string;
321508
+ accessToken?: string | undefined;
321509
+ channelSecret?: string | undefined;
321510
+ additionalCredentials?: any;
321511
+ senderId?: string | undefined;
321512
+ whatsapp?: {
321513
+ wabaBusinessId?: string | null | undefined;
321514
+ wabaExternalId?: string | null | undefined;
321515
+ phoneNumberId?: string | null | undefined;
321516
+ email?: string | null | undefined;
321517
+ clientId?: string | null | undefined;
321518
+ channelId?: string | null | undefined;
321519
+ waapiInstanceId?: string | null | undefined;
321520
+ qr?: string | null | undefined;
321521
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321522
+ apiKey?: string | undefined;
321523
+ tier?: "basic" | "regular" | "premium" | undefined;
321524
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321525
+ } | undefined;
321526
+ vonageCredentials?: {
321527
+ apiKey: string;
321528
+ mobileNumber: string;
321529
+ apiSecret: string;
321530
+ } | undefined;
321531
+ line?: {
321532
+ channelId: string;
321533
+ channelSecret: string;
321534
+ } | undefined;
321535
+ lineRichMenuId?: string | null | undefined;
321536
+ messengerIntegrationType?: "own" | "business" | undefined;
321537
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321538
+ isCSATEnabled?: boolean | undefined;
321539
+ };
321540
+ status: boolean;
321541
+ createdAt: Date;
321542
+ updatedAt: Date;
321543
+ deletedAt: Date | null;
321544
+ actor: {
321545
+ name: string;
321546
+ id: string;
321547
+ address: string | null;
321548
+ email: string;
321549
+ createdAt: Date;
321550
+ updatedAt: Date;
321551
+ deletedAt: Date | null;
321552
+ emailVerifiedAt: Date | null;
321553
+ password: string;
321554
+ phone: string | null;
321555
+ notificationCount: number | null;
321556
+ roles: {
321557
+ id: string;
321558
+ description: string | null;
321559
+ createdAt: Date;
321560
+ updatedAt: Date;
321561
+ deletedAt: Date | null;
321562
+ systemName: string;
321563
+ displayName: string;
321564
+ permissions: {
321565
+ id: string;
321566
+ description: string | null;
321567
+ createdAt: Date;
321568
+ updatedAt: Date;
321569
+ deletedAt: Date | null;
321570
+ systemName: string;
321571
+ displayName: string;
321572
+ }[];
321573
+ }[];
321574
+ extension: {
321575
+ id: string;
321576
+ createdAt: Date;
321577
+ updatedAt: Date;
321578
+ deletedAt: Date | null;
321579
+ userId: string | null;
321580
+ sipServerUrl: string;
321581
+ sipUserName: string;
321582
+ webphoneLoginUser: string;
321583
+ extensionId: string | null;
321584
+ extensionName: string;
321585
+ telephonySignature: string | null;
321586
+ };
321587
+ };
321588
+ brandName: string;
321589
+ platformId: string;
321590
+ isReloginRequired: boolean;
321591
+ connectedUserName: string;
321592
+ connectedUserId: string;
321593
+ botpressBot: {
321594
+ name: string;
321595
+ id: string;
321596
+ accessToken: string;
321597
+ botId: string;
321598
+ integrationId: string;
321599
+ } | null;
321600
+ };
321601
+ requestId: string;
321602
+ }>;
321603
+ 408: import("zod").ZodObject<{
321604
+ message: import("zod").ZodString;
321605
+ error: import("zod").ZodAny;
321606
+ }, "strip", import("zod").ZodTypeAny, {
321607
+ message: string;
321608
+ error?: any;
321609
+ }, {
321610
+ message: string;
321611
+ error?: any;
321612
+ }>;
321613
+ };
321614
+ path: "ms/settings/instagram/connect";
319474
321615
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319475
321616
  'x-tenant': import("zod").ZodString;
319476
321617
  'x-service-token': import("zod").ZodString;
@@ -319489,490 +321630,19 @@ export declare const channelSettingContract: {
319489
321630
  }>>>;
319490
321631
  };
319491
321632
  };
319492
- line: {
321633
+ viber: {
319493
321634
  connect: {
319494
321635
  body: import("zod").ZodObject<{
319495
- lineId: import("zod").ZodOptional<import("zod").ZodString>;
319496
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
319497
- lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
319498
- brandName: import("zod").ZodOptional<import("zod").ZodString>;
319499
321636
  name: import("zod").ZodString;
319500
- }, "strip", import("zod").ZodTypeAny, {
319501
- name: string;
319502
- lineId?: string | undefined;
319503
- accessToken?: string | undefined;
319504
- lineSecret?: string | undefined;
319505
- brandName?: string | undefined;
319506
- }, {
319507
- name: string;
319508
- lineId?: string | undefined;
319509
- accessToken?: string | undefined;
319510
- lineSecret?: string | undefined;
319511
- brandName?: string | undefined;
319512
- }>;
319513
- summary: "Connect line channel";
319514
- method: "POST";
319515
- responses: {
319516
- 200: import("zod").ZodObject<{
319517
- requestId: import("zod").ZodString;
319518
- }, "strip", import("zod").ZodTypeAny, {
319519
- requestId: string;
319520
- }, {
319521
- requestId: string;
319522
- }>;
319523
- 408: import("zod").ZodObject<{
319524
- message: import("zod").ZodString;
319525
- error: import("zod").ZodAny;
319526
- }, "strip", import("zod").ZodTypeAny, {
319527
- message: string;
319528
- error?: any;
319529
- }, {
319530
- message: string;
319531
- error?: any;
319532
- }>;
319533
- };
319534
- path: "ms/settings/line/connect";
319535
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319536
- 'x-tenant': import("zod").ZodString;
319537
- 'x-service-token': import("zod").ZodString;
319538
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
319539
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
319540
- }, "strip", import("zod").ZodTypeAny, {
319541
- 'x-tenant': string;
319542
- 'x-service-token': string;
319543
- 'x-client-timezone': string;
319544
- 'x-code'?: string | undefined;
319545
- }, {
319546
- 'x-tenant': string;
319547
- 'x-service-token': string;
319548
- 'x-code'?: string | undefined;
319549
- 'x-client-timezone'?: string | undefined;
319550
- }>>>;
319551
- };
319552
- };
319553
- instagram: {
319554
- getPages: {
319555
- method: "GET";
319556
- query: import("zod").ZodObject<{
319557
321637
  accessToken: import("zod").ZodString;
319558
- userId: import("zod").ZodString;
319559
- }, "strip", import("zod").ZodTypeAny, {
319560
- userId: string;
319561
- accessToken: string;
319562
- }, {
319563
- userId: string;
319564
- accessToken: string;
319565
- }>;
319566
- responses: {
319567
- 200: import("zod").ZodObject<{
319568
- requestId: import("zod").ZodString;
319569
- data: import("zod").ZodObject<{
319570
- data: import("zod").ZodArray<import("zod").ZodObject<{
319571
- access_token: import("zod").ZodString;
319572
- instagram_business_account: import("zod").ZodObject<{
319573
- username: import("zod").ZodString;
319574
- name: import("zod").ZodString;
319575
- ig_id: import("zod").ZodNumber;
319576
- id: import("zod").ZodString;
319577
- }, "strip", import("zod").ZodTypeAny, {
319578
- name: string;
319579
- id: string;
319580
- username: string;
319581
- ig_id: number;
319582
- }, {
319583
- name: string;
319584
- id: string;
319585
- username: string;
319586
- ig_id: number;
319587
- }>;
319588
- id: import("zod").ZodString;
319589
- name: import("zod").ZodString;
319590
- }, "strip", import("zod").ZodTypeAny, {
319591
- name: string;
319592
- id: string;
319593
- access_token: string;
319594
- instagram_business_account: {
319595
- name: string;
319596
- id: string;
319597
- username: string;
319598
- ig_id: number;
319599
- };
319600
- }, {
319601
- name: string;
319602
- id: string;
319603
- access_token: string;
319604
- instagram_business_account: {
319605
- name: string;
319606
- id: string;
319607
- username: string;
319608
- ig_id: number;
319609
- };
319610
- }>, "many">;
319611
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
319612
- cursors: import("zod").ZodObject<{
319613
- before: import("zod").ZodOptional<import("zod").ZodString>;
319614
- after: import("zod").ZodOptional<import("zod").ZodString>;
319615
- }, "strip", import("zod").ZodTypeAny, {
319616
- before?: string | undefined;
319617
- after?: string | undefined;
319618
- }, {
319619
- before?: string | undefined;
319620
- after?: string | undefined;
319621
- }>;
319622
- }, "strip", import("zod").ZodTypeAny, {
319623
- cursors: {
319624
- before?: string | undefined;
319625
- after?: string | undefined;
319626
- };
319627
- }, {
319628
- cursors: {
319629
- before?: string | undefined;
319630
- after?: string | undefined;
319631
- };
319632
- }>>;
319633
- }, "strip", import("zod").ZodTypeAny, {
319634
- data: {
319635
- name: string;
319636
- id: string;
319637
- access_token: string;
319638
- instagram_business_account: {
319639
- name: string;
319640
- id: string;
319641
- username: string;
319642
- ig_id: number;
319643
- };
319644
- }[];
319645
- paging?: {
319646
- cursors: {
319647
- before?: string | undefined;
319648
- after?: string | undefined;
319649
- };
319650
- } | undefined;
319651
- }, {
319652
- data: {
319653
- name: string;
319654
- id: string;
319655
- access_token: string;
319656
- instagram_business_account: {
319657
- name: string;
319658
- id: string;
319659
- username: string;
319660
- ig_id: number;
319661
- };
319662
- }[];
319663
- paging?: {
319664
- cursors: {
319665
- before?: string | undefined;
319666
- after?: string | undefined;
319667
- };
319668
- } | undefined;
319669
- }>;
319670
- }, "strip", import("zod").ZodTypeAny, {
319671
- data: {
319672
- data: {
319673
- name: string;
319674
- id: string;
319675
- access_token: string;
319676
- instagram_business_account: {
319677
- name: string;
319678
- id: string;
319679
- username: string;
319680
- ig_id: number;
319681
- };
319682
- }[];
319683
- paging?: {
319684
- cursors: {
319685
- before?: string | undefined;
319686
- after?: string | undefined;
319687
- };
319688
- } | undefined;
319689
- };
319690
- requestId: string;
319691
- }, {
319692
- data: {
319693
- data: {
319694
- name: string;
319695
- id: string;
319696
- access_token: string;
319697
- instagram_business_account: {
319698
- name: string;
319699
- id: string;
319700
- username: string;
319701
- ig_id: number;
319702
- };
319703
- }[];
319704
- paging?: {
319705
- cursors: {
319706
- before?: string | undefined;
319707
- after?: string | undefined;
319708
- };
319709
- } | undefined;
319710
- };
319711
- requestId: string;
319712
- }>;
319713
- 500: import("zod").ZodObject<{
319714
- message: import("zod").ZodString;
319715
- error: import("zod").ZodAny;
319716
- }, "strip", import("zod").ZodTypeAny, {
319717
- message: string;
319718
- error?: any;
319719
- }, {
319720
- message: string;
319721
- error?: any;
319722
- }>;
319723
- };
319724
- path: "ms/settings/instagram/pages";
319725
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319726
- 'x-tenant': import("zod").ZodString;
319727
- 'x-service-token': import("zod").ZodString;
319728
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
319729
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
319730
- }, "strip", import("zod").ZodTypeAny, {
319731
- 'x-tenant': string;
319732
- 'x-service-token': string;
319733
- 'x-client-timezone': string;
319734
- 'x-code'?: string | undefined;
319735
- }, {
319736
- 'x-tenant': string;
319737
- 'x-service-token': string;
319738
- 'x-code'?: string | undefined;
319739
- 'x-client-timezone'?: string | undefined;
319740
- }>>>;
319741
- };
319742
- connect: {
319743
- body: import("zod").ZodObject<{
319744
- name: import("zod").ZodString;
319745
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
319746
- metadata: import("zod").ZodObject<{
319747
- id: import("zod").ZodString;
319748
- name: import("zod").ZodString;
319749
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
319750
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
319751
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
319752
- senderId: import("zod").ZodOptional<import("zod").ZodString>;
319753
- whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
319754
- wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319755
- wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319756
- phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319757
- email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319758
- clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319759
- channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319760
- waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319761
- qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319762
- status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
319763
- apiKey: import("zod").ZodOptional<import("zod").ZodString>;
319764
- tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
319765
- integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
319766
- }, "strip", import("zod").ZodTypeAny, {
319767
- wabaBusinessId?: string | null | undefined;
319768
- wabaExternalId?: string | null | undefined;
319769
- phoneNumberId?: string | null | undefined;
319770
- email?: string | null | undefined;
319771
- clientId?: string | null | undefined;
319772
- channelId?: string | null | undefined;
319773
- waapiInstanceId?: string | null | undefined;
319774
- qr?: string | null | undefined;
319775
- status?: "active" | "pending" | "waapi-qr" | undefined;
319776
- apiKey?: string | undefined;
319777
- tier?: "basic" | "regular" | "premium" | undefined;
319778
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319779
- }, {
319780
- wabaBusinessId?: string | null | undefined;
319781
- wabaExternalId?: string | null | undefined;
319782
- phoneNumberId?: string | null | undefined;
319783
- email?: string | null | undefined;
319784
- clientId?: string | null | undefined;
319785
- channelId?: string | null | undefined;
319786
- waapiInstanceId?: string | null | undefined;
319787
- qr?: string | null | undefined;
319788
- status?: "active" | "pending" | "waapi-qr" | undefined;
319789
- apiKey?: string | undefined;
319790
- tier?: "basic" | "regular" | "premium" | undefined;
319791
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319792
- }>>;
319793
- vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
319794
- mobileNumber: import("zod").ZodString;
319795
- apiKey: import("zod").ZodString;
319796
- apiSecret: import("zod").ZodString;
319797
- }, "strip", import("zod").ZodTypeAny, {
319798
- apiKey: string;
319799
- mobileNumber: string;
319800
- apiSecret: string;
319801
- }, {
319802
- apiKey: string;
319803
- mobileNumber: string;
319804
- apiSecret: string;
319805
- }>>;
319806
- line: import("zod").ZodOptional<import("zod").ZodObject<{
319807
- channelId: import("zod").ZodString;
319808
- channelSecret: import("zod").ZodString;
319809
- }, "strip", import("zod").ZodTypeAny, {
319810
- channelId: string;
319811
- channelSecret: string;
319812
- }, {
319813
- channelId: string;
319814
- channelSecret: string;
319815
- }>>;
319816
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
319817
- messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
319818
- facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
319819
- isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
319820
- }, "strip", import("zod").ZodTypeAny, {
319821
- name: string;
319822
- id: string;
319823
- accessToken?: string | undefined;
319824
- channelSecret?: string | undefined;
319825
- additionalCredentials?: any;
319826
- senderId?: string | undefined;
319827
- whatsapp?: {
319828
- wabaBusinessId?: string | null | undefined;
319829
- wabaExternalId?: string | null | undefined;
319830
- phoneNumberId?: string | null | undefined;
319831
- email?: string | null | undefined;
319832
- clientId?: string | null | undefined;
319833
- channelId?: string | null | undefined;
319834
- waapiInstanceId?: string | null | undefined;
319835
- qr?: string | null | undefined;
319836
- status?: "active" | "pending" | "waapi-qr" | undefined;
319837
- apiKey?: string | undefined;
319838
- tier?: "basic" | "regular" | "premium" | undefined;
319839
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319840
- } | undefined;
319841
- vonageCredentials?: {
319842
- apiKey: string;
319843
- mobileNumber: string;
319844
- apiSecret: string;
319845
- } | undefined;
319846
- line?: {
319847
- channelId: string;
319848
- channelSecret: string;
319849
- } | undefined;
319850
- lineRichMenuId?: string | null | undefined;
319851
- messengerIntegrationType?: "own" | "business" | undefined;
319852
- facebookFeedIntegrationType?: "own" | "business" | undefined;
319853
- isCSATEnabled?: boolean | undefined;
319854
- }, {
319855
- name: string;
319856
- id: string;
319857
- accessToken?: string | undefined;
319858
- channelSecret?: string | undefined;
319859
- additionalCredentials?: any;
319860
- senderId?: string | undefined;
319861
- whatsapp?: {
319862
- wabaBusinessId?: string | null | undefined;
319863
- wabaExternalId?: string | null | undefined;
319864
- phoneNumberId?: string | null | undefined;
319865
- email?: string | null | undefined;
319866
- clientId?: string | null | undefined;
319867
- channelId?: string | null | undefined;
319868
- waapiInstanceId?: string | null | undefined;
319869
- qr?: string | null | undefined;
319870
- status?: "active" | "pending" | "waapi-qr" | undefined;
319871
- apiKey?: string | undefined;
319872
- tier?: "basic" | "regular" | "premium" | undefined;
319873
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319874
- } | undefined;
319875
- vonageCredentials?: {
319876
- apiKey: string;
319877
- mobileNumber: string;
319878
- apiSecret: string;
319879
- } | undefined;
319880
- line?: {
319881
- channelId: string;
319882
- channelSecret: string;
319883
- } | undefined;
319884
- lineRichMenuId?: string | null | undefined;
319885
- messengerIntegrationType?: "own" | "business" | undefined;
319886
- facebookFeedIntegrationType?: "own" | "business" | undefined;
319887
- isCSATEnabled?: boolean | undefined;
319888
- }>;
319889
- platformId: import("zod").ZodString;
319890
- connectedUserId: import("zod").ZodString;
319891
- connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
319892
321638
  }, "strip", import("zod").ZodTypeAny, {
319893
321639
  name: string;
319894
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
319895
- metadata: {
319896
- name: string;
319897
- id: string;
319898
- accessToken?: string | undefined;
319899
- channelSecret?: string | undefined;
319900
- additionalCredentials?: any;
319901
- senderId?: string | undefined;
319902
- whatsapp?: {
319903
- wabaBusinessId?: string | null | undefined;
319904
- wabaExternalId?: string | null | undefined;
319905
- phoneNumberId?: string | null | undefined;
319906
- email?: string | null | undefined;
319907
- clientId?: string | null | undefined;
319908
- channelId?: string | null | undefined;
319909
- waapiInstanceId?: string | null | undefined;
319910
- qr?: string | null | undefined;
319911
- status?: "active" | "pending" | "waapi-qr" | undefined;
319912
- apiKey?: string | undefined;
319913
- tier?: "basic" | "regular" | "premium" | undefined;
319914
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319915
- } | undefined;
319916
- vonageCredentials?: {
319917
- apiKey: string;
319918
- mobileNumber: string;
319919
- apiSecret: string;
319920
- } | undefined;
319921
- line?: {
319922
- channelId: string;
319923
- channelSecret: string;
319924
- } | undefined;
319925
- lineRichMenuId?: string | null | undefined;
319926
- messengerIntegrationType?: "own" | "business" | undefined;
319927
- facebookFeedIntegrationType?: "own" | "business" | undefined;
319928
- isCSATEnabled?: boolean | undefined;
319929
- };
319930
- platformId: string;
319931
- connectedUserId: string;
319932
- connectedUserName?: string | undefined;
321640
+ accessToken: string;
319933
321641
  }, {
319934
321642
  name: string;
319935
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
319936
- metadata: {
319937
- name: string;
319938
- id: string;
319939
- accessToken?: string | undefined;
319940
- channelSecret?: string | undefined;
319941
- additionalCredentials?: any;
319942
- senderId?: string | undefined;
319943
- whatsapp?: {
319944
- wabaBusinessId?: string | null | undefined;
319945
- wabaExternalId?: string | null | undefined;
319946
- phoneNumberId?: string | null | undefined;
319947
- email?: string | null | undefined;
319948
- clientId?: string | null | undefined;
319949
- channelId?: string | null | undefined;
319950
- waapiInstanceId?: string | null | undefined;
319951
- qr?: string | null | undefined;
319952
- status?: "active" | "pending" | "waapi-qr" | undefined;
319953
- apiKey?: string | undefined;
319954
- tier?: "basic" | "regular" | "premium" | undefined;
319955
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
319956
- } | undefined;
319957
- vonageCredentials?: {
319958
- apiKey: string;
319959
- mobileNumber: string;
319960
- apiSecret: string;
319961
- } | undefined;
319962
- line?: {
319963
- channelId: string;
319964
- channelSecret: string;
319965
- } | undefined;
319966
- lineRichMenuId?: string | null | undefined;
319967
- messengerIntegrationType?: "own" | "business" | undefined;
319968
- facebookFeedIntegrationType?: "own" | "business" | undefined;
319969
- isCSATEnabled?: boolean | undefined;
319970
- };
319971
- platformId: string;
319972
- connectedUserId: string;
319973
- connectedUserName?: string | undefined;
321643
+ accessToken: string;
319974
321644
  }>;
319975
- summary: "Connect message channel";
321645
+ summary: "Connect line channel";
319976
321646
  method: "POST";
319977
321647
  responses: {
319978
321648
  200: import("zod").ZodObject<{
@@ -320770,8 +322440,18 @@ export declare const channelSettingContract: {
320770
322440
  message: string;
320771
322441
  error?: any;
320772
322442
  }>;
322443
+ 400: import("zod").ZodObject<{
322444
+ message: import("zod").ZodString;
322445
+ error: import("zod").ZodAny;
322446
+ }, "strip", import("zod").ZodTypeAny, {
322447
+ message: string;
322448
+ error?: any;
322449
+ }, {
322450
+ message: string;
322451
+ error?: any;
322452
+ }>;
320773
322453
  };
320774
- path: "ms/settings/instagram/connect";
322454
+ path: "ms/settings/viber/connect";
320775
322455
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320776
322456
  'x-tenant': import("zod").ZodString;
320777
322457
  'x-service-token': import("zod").ZodString;
@@ -320790,7 +322470,7 @@ export declare const channelSettingContract: {
320790
322470
  }>>>;
320791
322471
  };
320792
322472
  };
320793
- viber: {
322473
+ telegram: {
320794
322474
  connect: {
320795
322475
  body: import("zod").ZodObject<{
320796
322476
  name: import("zod").ZodString;
@@ -320802,7 +322482,7 @@ export declare const channelSettingContract: {
320802
322482
  name: string;
320803
322483
  accessToken: string;
320804
322484
  }>;
320805
- summary: "Connect line channel";
322485
+ summary: "Connect telegram channel";
320806
322486
  method: "POST";
320807
322487
  responses: {
320808
322488
  200: import("zod").ZodObject<{
@@ -321611,7 +323291,7 @@ export declare const channelSettingContract: {
321611
323291
  error?: any;
321612
323292
  }>;
321613
323293
  };
321614
- path: "ms/settings/viber/connect";
323294
+ path: "ms/settings/telegram/connect";
321615
323295
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321616
323296
  'x-tenant': import("zod").ZodString;
321617
323297
  'x-service-token': import("zod").ZodString;
@@ -321630,19 +323310,69 @@ export declare const channelSettingContract: {
321630
323310
  }>>>;
321631
323311
  };
321632
323312
  };
321633
- telegram: {
323313
+ webchat: {
321634
323314
  connect: {
321635
323315
  body: import("zod").ZodObject<{
321636
323316
  name: import("zod").ZodString;
321637
- accessToken: import("zod").ZodString;
323317
+ channel: import("zod").ZodObject<{
323318
+ avatar: import("zod").ZodOptional<import("zod").ZodString>;
323319
+ name: import("zod").ZodString;
323320
+ type: import("zod").ZodNativeEnum<typeof import("./channel/validation").ChatwootChannelType>;
323321
+ websiteName: import("zod").ZodString;
323322
+ welcomeTitle: import("zod").ZodString;
323323
+ websiteUrl: import("zod").ZodString;
323324
+ welcomeTagline: import("zod").ZodOptional<import("zod").ZodString>;
323325
+ agentAwayMessage: import("zod").ZodOptional<import("zod").ZodString>;
323326
+ widgetColor: import("zod").ZodOptional<import("zod").ZodString>;
323327
+ }, "strip", import("zod").ZodTypeAny, {
323328
+ name: string;
323329
+ type: import("./channel/validation").ChatwootChannelType;
323330
+ websiteName: string;
323331
+ welcomeTitle: string;
323332
+ websiteUrl: string;
323333
+ avatar?: string | undefined;
323334
+ welcomeTagline?: string | undefined;
323335
+ agentAwayMessage?: string | undefined;
323336
+ widgetColor?: string | undefined;
323337
+ }, {
323338
+ name: string;
323339
+ type: import("./channel/validation").ChatwootChannelType;
323340
+ websiteName: string;
323341
+ welcomeTitle: string;
323342
+ websiteUrl: string;
323343
+ avatar?: string | undefined;
323344
+ welcomeTagline?: string | undefined;
323345
+ agentAwayMessage?: string | undefined;
323346
+ widgetColor?: string | undefined;
323347
+ }>;
321638
323348
  }, "strip", import("zod").ZodTypeAny, {
321639
323349
  name: string;
321640
- accessToken: string;
323350
+ channel: {
323351
+ name: string;
323352
+ type: import("./channel/validation").ChatwootChannelType;
323353
+ websiteName: string;
323354
+ welcomeTitle: string;
323355
+ websiteUrl: string;
323356
+ avatar?: string | undefined;
323357
+ welcomeTagline?: string | undefined;
323358
+ agentAwayMessage?: string | undefined;
323359
+ widgetColor?: string | undefined;
323360
+ };
321641
323361
  }, {
321642
323362
  name: string;
321643
- accessToken: string;
323363
+ channel: {
323364
+ name: string;
323365
+ type: import("./channel/validation").ChatwootChannelType;
323366
+ websiteName: string;
323367
+ welcomeTitle: string;
323368
+ websiteUrl: string;
323369
+ avatar?: string | undefined;
323370
+ welcomeTagline?: string | undefined;
323371
+ agentAwayMessage?: string | undefined;
323372
+ widgetColor?: string | undefined;
323373
+ };
321644
323374
  }>;
321645
- summary: "Connect telegram channel";
323375
+ summary: "Connect message channel";
321646
323376
  method: "POST";
321647
323377
  responses: {
321648
323378
  200: import("zod").ZodObject<{
@@ -322451,7 +324181,7 @@ export declare const channelSettingContract: {
322451
324181
  error?: any;
322452
324182
  }>;
322453
324183
  };
322454
- path: "ms/settings/telegram/connect";
324184
+ path: "ms/settings/webchat/connect";
322455
324185
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
322456
324186
  'x-tenant': import("zod").ZodString;
322457
324187
  'x-service-token': import("zod").ZodString;
@@ -322470,67 +324200,233 @@ export declare const channelSettingContract: {
322470
324200
  }>>>;
322471
324201
  };
322472
324202
  };
322473
- webchat: {
324203
+ whatsapp: {
322474
324204
  connect: {
322475
324205
  body: import("zod").ZodObject<{
322476
324206
  name: import("zod").ZodString;
322477
- channel: import("zod").ZodObject<{
322478
- avatar: import("zod").ZodOptional<import("zod").ZodString>;
324207
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
324208
+ metadata: import("zod").ZodObject<{
324209
+ id: import("zod").ZodString;
322479
324210
  name: import("zod").ZodString;
322480
- type: import("zod").ZodNativeEnum<typeof import("./channel/validation").ChatwootChannelType>;
322481
- websiteName: import("zod").ZodString;
322482
- welcomeTitle: import("zod").ZodString;
322483
- websiteUrl: import("zod").ZodString;
322484
- welcomeTagline: import("zod").ZodOptional<import("zod").ZodString>;
322485
- agentAwayMessage: import("zod").ZodOptional<import("zod").ZodString>;
322486
- widgetColor: import("zod").ZodOptional<import("zod").ZodString>;
324211
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
324212
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
324213
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
324214
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
324215
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
324216
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324217
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324218
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324219
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324220
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324221
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324222
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324223
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324224
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
324225
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
324226
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
324227
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
324228
+ }, "strip", import("zod").ZodTypeAny, {
324229
+ wabaBusinessId?: string | null | undefined;
324230
+ wabaExternalId?: string | null | undefined;
324231
+ phoneNumberId?: string | null | undefined;
324232
+ email?: string | null | undefined;
324233
+ clientId?: string | null | undefined;
324234
+ channelId?: string | null | undefined;
324235
+ waapiInstanceId?: string | null | undefined;
324236
+ qr?: string | null | undefined;
324237
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324238
+ apiKey?: string | undefined;
324239
+ tier?: "basic" | "regular" | "premium" | undefined;
324240
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324241
+ }, {
324242
+ wabaBusinessId?: string | null | undefined;
324243
+ wabaExternalId?: string | null | undefined;
324244
+ phoneNumberId?: string | null | undefined;
324245
+ email?: string | null | undefined;
324246
+ clientId?: string | null | undefined;
324247
+ channelId?: string | null | undefined;
324248
+ waapiInstanceId?: string | null | undefined;
324249
+ qr?: string | null | undefined;
324250
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324251
+ apiKey?: string | undefined;
324252
+ tier?: "basic" | "regular" | "premium" | undefined;
324253
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324254
+ }>>;
324255
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
324256
+ mobileNumber: import("zod").ZodString;
324257
+ apiKey: import("zod").ZodString;
324258
+ apiSecret: import("zod").ZodString;
324259
+ }, "strip", import("zod").ZodTypeAny, {
324260
+ apiKey: string;
324261
+ mobileNumber: string;
324262
+ apiSecret: string;
324263
+ }, {
324264
+ apiKey: string;
324265
+ mobileNumber: string;
324266
+ apiSecret: string;
324267
+ }>>;
324268
+ line: import("zod").ZodOptional<import("zod").ZodObject<{
324269
+ channelId: import("zod").ZodString;
324270
+ channelSecret: import("zod").ZodString;
324271
+ }, "strip", import("zod").ZodTypeAny, {
324272
+ channelId: string;
324273
+ channelSecret: string;
324274
+ }, {
324275
+ channelId: string;
324276
+ channelSecret: string;
324277
+ }>>;
324278
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
324279
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
324280
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
324281
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
322487
324282
  }, "strip", import("zod").ZodTypeAny, {
322488
324283
  name: string;
322489
- type: import("./channel/validation").ChatwootChannelType;
322490
- websiteName: string;
322491
- welcomeTitle: string;
322492
- websiteUrl: string;
322493
- avatar?: string | undefined;
322494
- welcomeTagline?: string | undefined;
322495
- agentAwayMessage?: string | undefined;
322496
- widgetColor?: string | undefined;
324284
+ id: string;
324285
+ accessToken?: string | undefined;
324286
+ channelSecret?: string | undefined;
324287
+ additionalCredentials?: any;
324288
+ senderId?: string | undefined;
324289
+ whatsapp?: {
324290
+ wabaBusinessId?: string | null | undefined;
324291
+ wabaExternalId?: string | null | undefined;
324292
+ phoneNumberId?: string | null | undefined;
324293
+ email?: string | null | undefined;
324294
+ clientId?: string | null | undefined;
324295
+ channelId?: string | null | undefined;
324296
+ waapiInstanceId?: string | null | undefined;
324297
+ qr?: string | null | undefined;
324298
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324299
+ apiKey?: string | undefined;
324300
+ tier?: "basic" | "regular" | "premium" | undefined;
324301
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324302
+ } | undefined;
324303
+ vonageCredentials?: {
324304
+ apiKey: string;
324305
+ mobileNumber: string;
324306
+ apiSecret: string;
324307
+ } | undefined;
324308
+ line?: {
324309
+ channelId: string;
324310
+ channelSecret: string;
324311
+ } | undefined;
324312
+ lineRichMenuId?: string | null | undefined;
324313
+ messengerIntegrationType?: "own" | "business" | undefined;
324314
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
324315
+ isCSATEnabled?: boolean | undefined;
322497
324316
  }, {
322498
324317
  name: string;
322499
- type: import("./channel/validation").ChatwootChannelType;
322500
- websiteName: string;
322501
- welcomeTitle: string;
322502
- websiteUrl: string;
322503
- avatar?: string | undefined;
322504
- welcomeTagline?: string | undefined;
322505
- agentAwayMessage?: string | undefined;
322506
- widgetColor?: string | undefined;
324318
+ id: string;
324319
+ accessToken?: string | undefined;
324320
+ channelSecret?: string | undefined;
324321
+ additionalCredentials?: any;
324322
+ senderId?: string | undefined;
324323
+ whatsapp?: {
324324
+ wabaBusinessId?: string | null | undefined;
324325
+ wabaExternalId?: string | null | undefined;
324326
+ phoneNumberId?: string | null | undefined;
324327
+ email?: string | null | undefined;
324328
+ clientId?: string | null | undefined;
324329
+ channelId?: string | null | undefined;
324330
+ waapiInstanceId?: string | null | undefined;
324331
+ qr?: string | null | undefined;
324332
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324333
+ apiKey?: string | undefined;
324334
+ tier?: "basic" | "regular" | "premium" | undefined;
324335
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324336
+ } | undefined;
324337
+ vonageCredentials?: {
324338
+ apiKey: string;
324339
+ mobileNumber: string;
324340
+ apiSecret: string;
324341
+ } | undefined;
324342
+ line?: {
324343
+ channelId: string;
324344
+ channelSecret: string;
324345
+ } | undefined;
324346
+ lineRichMenuId?: string | null | undefined;
324347
+ messengerIntegrationType?: "own" | "business" | undefined;
324348
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
324349
+ isCSATEnabled?: boolean | undefined;
322507
324350
  }>;
324351
+ platformId: import("zod").ZodString;
322508
324352
  }, "strip", import("zod").ZodTypeAny, {
322509
324353
  name: string;
322510
- channel: {
324354
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
324355
+ metadata: {
322511
324356
  name: string;
322512
- type: import("./channel/validation").ChatwootChannelType;
322513
- websiteName: string;
322514
- welcomeTitle: string;
322515
- websiteUrl: string;
322516
- avatar?: string | undefined;
322517
- welcomeTagline?: string | undefined;
322518
- agentAwayMessage?: string | undefined;
322519
- widgetColor?: string | undefined;
324357
+ id: string;
324358
+ accessToken?: string | undefined;
324359
+ channelSecret?: string | undefined;
324360
+ additionalCredentials?: any;
324361
+ senderId?: string | undefined;
324362
+ whatsapp?: {
324363
+ wabaBusinessId?: string | null | undefined;
324364
+ wabaExternalId?: string | null | undefined;
324365
+ phoneNumberId?: string | null | undefined;
324366
+ email?: string | null | undefined;
324367
+ clientId?: string | null | undefined;
324368
+ channelId?: string | null | undefined;
324369
+ waapiInstanceId?: string | null | undefined;
324370
+ qr?: string | null | undefined;
324371
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324372
+ apiKey?: string | undefined;
324373
+ tier?: "basic" | "regular" | "premium" | undefined;
324374
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324375
+ } | undefined;
324376
+ vonageCredentials?: {
324377
+ apiKey: string;
324378
+ mobileNumber: string;
324379
+ apiSecret: string;
324380
+ } | undefined;
324381
+ line?: {
324382
+ channelId: string;
324383
+ channelSecret: string;
324384
+ } | undefined;
324385
+ lineRichMenuId?: string | null | undefined;
324386
+ messengerIntegrationType?: "own" | "business" | undefined;
324387
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
324388
+ isCSATEnabled?: boolean | undefined;
322520
324389
  };
324390
+ platformId: string;
322521
324391
  }, {
322522
324392
  name: string;
322523
- channel: {
324393
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
324394
+ metadata: {
322524
324395
  name: string;
322525
- type: import("./channel/validation").ChatwootChannelType;
322526
- websiteName: string;
322527
- welcomeTitle: string;
322528
- websiteUrl: string;
322529
- avatar?: string | undefined;
322530
- welcomeTagline?: string | undefined;
322531
- agentAwayMessage?: string | undefined;
322532
- widgetColor?: string | undefined;
324396
+ id: string;
324397
+ accessToken?: string | undefined;
324398
+ channelSecret?: string | undefined;
324399
+ additionalCredentials?: any;
324400
+ senderId?: string | undefined;
324401
+ whatsapp?: {
324402
+ wabaBusinessId?: string | null | undefined;
324403
+ wabaExternalId?: string | null | undefined;
324404
+ phoneNumberId?: string | null | undefined;
324405
+ email?: string | null | undefined;
324406
+ clientId?: string | null | undefined;
324407
+ channelId?: string | null | undefined;
324408
+ waapiInstanceId?: string | null | undefined;
324409
+ qr?: string | null | undefined;
324410
+ status?: "active" | "pending" | "waapi-qr" | undefined;
324411
+ apiKey?: string | undefined;
324412
+ tier?: "basic" | "regular" | "premium" | undefined;
324413
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
324414
+ } | undefined;
324415
+ vonageCredentials?: {
324416
+ apiKey: string;
324417
+ mobileNumber: string;
324418
+ apiSecret: string;
324419
+ } | undefined;
324420
+ line?: {
324421
+ channelId: string;
324422
+ channelSecret: string;
324423
+ } | undefined;
324424
+ lineRichMenuId?: string | null | undefined;
324425
+ messengerIntegrationType?: "own" | "business" | undefined;
324426
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
324427
+ isCSATEnabled?: boolean | undefined;
322533
324428
  };
324429
+ platformId: string;
322534
324430
  }>;
322535
324431
  summary: "Connect message channel";
322536
324432
  method: "POST";
@@ -323330,7 +325226,86 @@ export declare const channelSettingContract: {
323330
325226
  message: string;
323331
325227
  error?: any;
323332
325228
  }>;
323333
- 400: import("zod").ZodObject<{
325229
+ };
325230
+ path: "ms/settings/whatsapp/connect";
325231
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325232
+ 'x-tenant': import("zod").ZodString;
325233
+ 'x-service-token': import("zod").ZodString;
325234
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325235
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
325236
+ }, "strip", import("zod").ZodTypeAny, {
325237
+ 'x-tenant': string;
325238
+ 'x-service-token': string;
325239
+ 'x-client-timezone': string;
325240
+ 'x-code'?: string | undefined;
325241
+ }, {
325242
+ 'x-tenant': string;
325243
+ 'x-service-token': string;
325244
+ 'x-code'?: string | undefined;
325245
+ 'x-client-timezone'?: string | undefined;
325246
+ }>>>;
325247
+ };
325248
+ getTemplates: {
325249
+ method: "GET";
325250
+ query: import("zod").ZodObject<{
325251
+ channelId: import("zod").ZodString;
325252
+ }, "strip", import("zod").ZodTypeAny, {
325253
+ channelId: string;
325254
+ }, {
325255
+ channelId: string;
325256
+ }>;
325257
+ responses: {
325258
+ 200: import("zod").ZodObject<{
325259
+ requestId: import("zod").ZodString;
325260
+ data: import("zod").ZodArray<import("zod").ZodObject<{
325261
+ id: import("zod").ZodString;
325262
+ category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"UTILITY">, import("zod").ZodLiteral<"MARKETING">, import("zod").ZodLiteral<"AUTHENTICATION">]>>;
325263
+ components: import("zod").ZodArray<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, "many">;
325264
+ language: import("zod").ZodString;
325265
+ name: import("zod").ZodString;
325266
+ namespace: import("zod").ZodString;
325267
+ status: import("zod").ZodString;
325268
+ }, "strip", import("zod").ZodTypeAny, {
325269
+ name: string;
325270
+ id: string;
325271
+ status: string;
325272
+ language: string;
325273
+ components: {}[];
325274
+ namespace: string;
325275
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
325276
+ }, {
325277
+ name: string;
325278
+ id: string;
325279
+ status: string;
325280
+ language: string;
325281
+ components: {}[];
325282
+ namespace: string;
325283
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
325284
+ }>, "many">;
325285
+ }, "strip", import("zod").ZodTypeAny, {
325286
+ data: {
325287
+ name: string;
325288
+ id: string;
325289
+ status: string;
325290
+ language: string;
325291
+ components: {}[];
325292
+ namespace: string;
325293
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
325294
+ }[];
325295
+ requestId: string;
325296
+ }, {
325297
+ data: {
325298
+ name: string;
325299
+ id: string;
325300
+ status: string;
325301
+ language: string;
325302
+ components: {}[];
325303
+ namespace: string;
325304
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
325305
+ }[];
325306
+ requestId: string;
325307
+ }>;
325308
+ 500: import("zod").ZodObject<{
323334
325309
  message: import("zod").ZodString;
323335
325310
  error: import("zod").ZodAny;
323336
325311
  }, "strip", import("zod").ZodTypeAny, {
@@ -323341,7 +325316,7 @@ export declare const channelSettingContract: {
323341
325316
  error?: any;
323342
325317
  }>;
323343
325318
  };
323344
- path: "ms/settings/webchat/connect";
325319
+ path: "ms/settings/whatsapp/templates";
323345
325320
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
323346
325321
  'x-tenant': import("zod").ZodString;
323347
325322
  'x-service-token': import("zod").ZodString;
@@ -323359,234 +325334,212 @@ export declare const channelSettingContract: {
323359
325334
  'x-client-timezone'?: string | undefined;
323360
325335
  }>>>;
323361
325336
  };
323362
- };
323363
- whatsapp: {
323364
- connect: {
323365
- body: import("zod").ZodObject<{
323366
- name: import("zod").ZodString;
323367
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage", "klink_chat"]>;
323368
- metadata: import("zod").ZodObject<{
323369
- id: import("zod").ZodString;
323370
- name: import("zod").ZodString;
323371
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
323372
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
323373
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
323374
- senderId: import("zod").ZodOptional<import("zod").ZodString>;
323375
- whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
323376
- wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323377
- wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323378
- phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323379
- email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323380
- clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323381
- channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323382
- waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323383
- qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323384
- status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
323385
- apiKey: import("zod").ZodOptional<import("zod").ZodString>;
323386
- tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
323387
- integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
323388
- }, "strip", import("zod").ZodTypeAny, {
323389
- wabaBusinessId?: string | null | undefined;
323390
- wabaExternalId?: string | null | undefined;
323391
- phoneNumberId?: string | null | undefined;
323392
- email?: string | null | undefined;
323393
- clientId?: string | null | undefined;
323394
- channelId?: string | null | undefined;
323395
- waapiInstanceId?: string | null | undefined;
323396
- qr?: string | null | undefined;
323397
- status?: "active" | "pending" | "waapi-qr" | undefined;
323398
- apiKey?: string | undefined;
323399
- tier?: "basic" | "regular" | "premium" | undefined;
323400
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323401
- }, {
323402
- wabaBusinessId?: string | null | undefined;
323403
- wabaExternalId?: string | null | undefined;
323404
- phoneNumberId?: string | null | undefined;
323405
- email?: string | null | undefined;
323406
- clientId?: string | null | undefined;
323407
- channelId?: string | null | undefined;
323408
- waapiInstanceId?: string | null | undefined;
323409
- qr?: string | null | undefined;
323410
- status?: "active" | "pending" | "waapi-qr" | undefined;
323411
- apiKey?: string | undefined;
323412
- tier?: "basic" | "regular" | "premium" | undefined;
323413
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323414
- }>>;
323415
- vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
323416
- mobileNumber: import("zod").ZodString;
323417
- apiKey: import("zod").ZodString;
323418
- apiSecret: import("zod").ZodString;
325337
+ createWaapi: {
325338
+ body: null;
325339
+ method: "POST";
325340
+ responses: {
325341
+ 200: import("zod").ZodObject<{
325342
+ requestId: import("zod").ZodString;
325343
+ data: import("zod").ZodObject<{
325344
+ instanceId: import("zod").ZodString;
323419
325345
  }, "strip", import("zod").ZodTypeAny, {
323420
- apiKey: string;
323421
- mobileNumber: string;
323422
- apiSecret: string;
325346
+ instanceId: string;
323423
325347
  }, {
323424
- apiKey: string;
323425
- mobileNumber: string;
323426
- apiSecret: string;
323427
- }>>;
323428
- line: import("zod").ZodOptional<import("zod").ZodObject<{
323429
- channelId: import("zod").ZodString;
323430
- channelSecret: import("zod").ZodString;
325348
+ instanceId: string;
325349
+ }>;
325350
+ }, "strip", import("zod").ZodTypeAny, {
325351
+ data: {
325352
+ instanceId: string;
325353
+ };
325354
+ requestId: string;
325355
+ }, {
325356
+ data: {
325357
+ instanceId: string;
325358
+ };
325359
+ requestId: string;
325360
+ }>;
325361
+ 500: import("zod").ZodObject<{
325362
+ message: import("zod").ZodString;
325363
+ error: import("zod").ZodAny;
325364
+ }, "strip", import("zod").ZodTypeAny, {
325365
+ message: string;
325366
+ error?: any;
325367
+ }, {
325368
+ message: string;
325369
+ error?: any;
325370
+ }>;
325371
+ 400: import("zod").ZodObject<{
325372
+ message: import("zod").ZodString;
325373
+ error: import("zod").ZodAny;
325374
+ }, "strip", import("zod").ZodTypeAny, {
325375
+ message: string;
325376
+ error?: any;
325377
+ }, {
325378
+ message: string;
325379
+ error?: any;
325380
+ }>;
325381
+ };
325382
+ path: "ms/settings/whatsapp/mobile";
325383
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325384
+ 'x-tenant': import("zod").ZodString;
325385
+ 'x-service-token': import("zod").ZodString;
325386
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325387
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
325388
+ }, "strip", import("zod").ZodTypeAny, {
325389
+ 'x-tenant': string;
325390
+ 'x-service-token': string;
325391
+ 'x-client-timezone': string;
325392
+ 'x-code'?: string | undefined;
325393
+ }, {
325394
+ 'x-tenant': string;
325395
+ 'x-service-token': string;
325396
+ 'x-code'?: string | undefined;
325397
+ 'x-client-timezone'?: string | undefined;
325398
+ }>>>;
325399
+ };
325400
+ getWaapiQr: {
325401
+ method: "GET";
325402
+ query: import("zod").ZodObject<{
325403
+ instanceId: import("zod").ZodString;
325404
+ }, "strip", import("zod").ZodTypeAny, {
325405
+ instanceId: string;
325406
+ }, {
325407
+ instanceId: string;
325408
+ }>;
325409
+ responses: {
325410
+ 200: import("zod").ZodObject<{
325411
+ requestId: import("zod").ZodString;
325412
+ data: import("zod").ZodObject<{
325413
+ isActive: import("zod").ZodBoolean;
325414
+ qr: import("zod").ZodString;
323431
325415
  }, "strip", import("zod").ZodTypeAny, {
323432
- channelId: string;
323433
- channelSecret: string;
325416
+ qr: string;
325417
+ isActive: boolean;
323434
325418
  }, {
323435
- channelId: string;
323436
- channelSecret: string;
323437
- }>>;
323438
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
323439
- messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
323440
- facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
323441
- isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
325419
+ qr: string;
325420
+ isActive: boolean;
325421
+ }>;
323442
325422
  }, "strip", import("zod").ZodTypeAny, {
323443
- name: string;
323444
- id: string;
323445
- accessToken?: string | undefined;
323446
- channelSecret?: string | undefined;
323447
- additionalCredentials?: any;
323448
- senderId?: string | undefined;
323449
- whatsapp?: {
323450
- wabaBusinessId?: string | null | undefined;
323451
- wabaExternalId?: string | null | undefined;
323452
- phoneNumberId?: string | null | undefined;
323453
- email?: string | null | undefined;
323454
- clientId?: string | null | undefined;
323455
- channelId?: string | null | undefined;
323456
- waapiInstanceId?: string | null | undefined;
323457
- qr?: string | null | undefined;
323458
- status?: "active" | "pending" | "waapi-qr" | undefined;
323459
- apiKey?: string | undefined;
323460
- tier?: "basic" | "regular" | "premium" | undefined;
323461
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323462
- } | undefined;
323463
- vonageCredentials?: {
323464
- apiKey: string;
323465
- mobileNumber: string;
323466
- apiSecret: string;
323467
- } | undefined;
323468
- line?: {
323469
- channelId: string;
323470
- channelSecret: string;
323471
- } | undefined;
323472
- lineRichMenuId?: string | null | undefined;
323473
- messengerIntegrationType?: "own" | "business" | undefined;
323474
- facebookFeedIntegrationType?: "own" | "business" | undefined;
323475
- isCSATEnabled?: boolean | undefined;
325423
+ data: {
325424
+ qr: string;
325425
+ isActive: boolean;
325426
+ };
325427
+ requestId: string;
323476
325428
  }, {
323477
- name: string;
323478
- id: string;
323479
- accessToken?: string | undefined;
323480
- channelSecret?: string | undefined;
323481
- additionalCredentials?: any;
323482
- senderId?: string | undefined;
323483
- whatsapp?: {
323484
- wabaBusinessId?: string | null | undefined;
323485
- wabaExternalId?: string | null | undefined;
323486
- phoneNumberId?: string | null | undefined;
323487
- email?: string | null | undefined;
323488
- clientId?: string | null | undefined;
323489
- channelId?: string | null | undefined;
323490
- waapiInstanceId?: string | null | undefined;
323491
- qr?: string | null | undefined;
323492
- status?: "active" | "pending" | "waapi-qr" | undefined;
323493
- apiKey?: string | undefined;
323494
- tier?: "basic" | "regular" | "premium" | undefined;
323495
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323496
- } | undefined;
323497
- vonageCredentials?: {
323498
- apiKey: string;
323499
- mobileNumber: string;
323500
- apiSecret: string;
323501
- } | undefined;
323502
- line?: {
323503
- channelId: string;
323504
- channelSecret: string;
323505
- } | undefined;
323506
- lineRichMenuId?: string | null | undefined;
323507
- messengerIntegrationType?: "own" | "business" | undefined;
323508
- facebookFeedIntegrationType?: "own" | "business" | undefined;
323509
- isCSATEnabled?: boolean | undefined;
325429
+ data: {
325430
+ qr: string;
325431
+ isActive: boolean;
325432
+ };
325433
+ requestId: string;
323510
325434
  }>;
323511
- platformId: import("zod").ZodString;
325435
+ 500: import("zod").ZodObject<{
325436
+ message: import("zod").ZodString;
325437
+ error: import("zod").ZodAny;
325438
+ }, "strip", import("zod").ZodTypeAny, {
325439
+ message: string;
325440
+ error?: any;
325441
+ }, {
325442
+ message: string;
325443
+ error?: any;
325444
+ }>;
325445
+ 400: import("zod").ZodObject<{
325446
+ message: import("zod").ZodString;
325447
+ error: import("zod").ZodAny;
325448
+ }, "strip", import("zod").ZodTypeAny, {
325449
+ message: string;
325450
+ error?: any;
325451
+ }, {
325452
+ message: string;
325453
+ error?: any;
325454
+ }>;
325455
+ };
325456
+ path: "ms/settings/whatsapp/mobile/qr";
325457
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325458
+ 'x-tenant': import("zod").ZodString;
325459
+ 'x-service-token': import("zod").ZodString;
325460
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325461
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
323512
325462
  }, "strip", import("zod").ZodTypeAny, {
325463
+ 'x-tenant': string;
325464
+ 'x-service-token': string;
325465
+ 'x-client-timezone': string;
325466
+ 'x-code'?: string | undefined;
325467
+ }, {
325468
+ 'x-tenant': string;
325469
+ 'x-service-token': string;
325470
+ 'x-code'?: string | undefined;
325471
+ 'x-client-timezone'?: string | undefined;
325472
+ }>>>;
325473
+ };
325474
+ deleteWaapi: {
325475
+ body: import("zod").ZodOptional<import("zod").ZodAny>;
325476
+ method: "DELETE";
325477
+ pathParams: import("zod").ZodObject<{
325478
+ instanceId: import("zod").ZodString;
325479
+ }, "strip", import("zod").ZodTypeAny, {
325480
+ instanceId: string;
325481
+ }, {
325482
+ instanceId: string;
325483
+ }>;
325484
+ responses: {
325485
+ 200: import("zod").ZodObject<{
325486
+ requestId: import("zod").ZodString;
325487
+ }, "strip", import("zod").ZodTypeAny, {
325488
+ requestId: string;
325489
+ }, {
325490
+ requestId: string;
325491
+ }>;
325492
+ 500: import("zod").ZodObject<{
325493
+ message: import("zod").ZodString;
325494
+ error: import("zod").ZodAny;
325495
+ }, "strip", import("zod").ZodTypeAny, {
325496
+ message: string;
325497
+ error?: any;
325498
+ }, {
325499
+ message: string;
325500
+ error?: any;
325501
+ }>;
325502
+ 400: import("zod").ZodObject<{
325503
+ message: import("zod").ZodString;
325504
+ error: import("zod").ZodAny;
325505
+ }, "strip", import("zod").ZodTypeAny, {
325506
+ message: string;
325507
+ error?: any;
325508
+ }, {
325509
+ message: string;
325510
+ error?: any;
325511
+ }>;
325512
+ };
325513
+ path: "ms/settings/whatsapp/mobile/:instanceId";
325514
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325515
+ 'x-tenant': import("zod").ZodString;
325516
+ 'x-service-token': import("zod").ZodString;
325517
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
325518
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
325519
+ }, "strip", import("zod").ZodTypeAny, {
325520
+ 'x-tenant': string;
325521
+ 'x-service-token': string;
325522
+ 'x-client-timezone': string;
325523
+ 'x-code'?: string | undefined;
325524
+ }, {
325525
+ 'x-tenant': string;
325526
+ 'x-service-token': string;
325527
+ 'x-code'?: string | undefined;
325528
+ 'x-client-timezone'?: string | undefined;
325529
+ }>>>;
325530
+ };
325531
+ };
325532
+ lazada: {
325533
+ connect: {
325534
+ body: import("zod").ZodObject<{
325535
+ name: import("zod").ZodString;
325536
+ code: import("zod").ZodString;
325537
+ }, "strip", import("zod").ZodTypeAny, {
325538
+ code: string;
323513
325539
  name: string;
323514
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
323515
- metadata: {
323516
- name: string;
323517
- id: string;
323518
- accessToken?: string | undefined;
323519
- channelSecret?: string | undefined;
323520
- additionalCredentials?: any;
323521
- senderId?: string | undefined;
323522
- whatsapp?: {
323523
- wabaBusinessId?: string | null | undefined;
323524
- wabaExternalId?: string | null | undefined;
323525
- phoneNumberId?: string | null | undefined;
323526
- email?: string | null | undefined;
323527
- clientId?: string | null | undefined;
323528
- channelId?: string | null | undefined;
323529
- waapiInstanceId?: string | null | undefined;
323530
- qr?: string | null | undefined;
323531
- status?: "active" | "pending" | "waapi-qr" | undefined;
323532
- apiKey?: string | undefined;
323533
- tier?: "basic" | "regular" | "premium" | undefined;
323534
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323535
- } | undefined;
323536
- vonageCredentials?: {
323537
- apiKey: string;
323538
- mobileNumber: string;
323539
- apiSecret: string;
323540
- } | undefined;
323541
- line?: {
323542
- channelId: string;
323543
- channelSecret: string;
323544
- } | undefined;
323545
- lineRichMenuId?: string | null | undefined;
323546
- messengerIntegrationType?: "own" | "business" | undefined;
323547
- facebookFeedIntegrationType?: "own" | "business" | undefined;
323548
- isCSATEnabled?: boolean | undefined;
323549
- };
323550
- platformId: string;
323551
325540
  }, {
325541
+ code: string;
323552
325542
  name: string;
323553
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | "klink_chat";
323554
- metadata: {
323555
- name: string;
323556
- id: string;
323557
- accessToken?: string | undefined;
323558
- channelSecret?: string | undefined;
323559
- additionalCredentials?: any;
323560
- senderId?: string | undefined;
323561
- whatsapp?: {
323562
- wabaBusinessId?: string | null | undefined;
323563
- wabaExternalId?: string | null | undefined;
323564
- phoneNumberId?: string | null | undefined;
323565
- email?: string | null | undefined;
323566
- clientId?: string | null | undefined;
323567
- channelId?: string | null | undefined;
323568
- waapiInstanceId?: string | null | undefined;
323569
- qr?: string | null | undefined;
323570
- status?: "active" | "pending" | "waapi-qr" | undefined;
323571
- apiKey?: string | undefined;
323572
- tier?: "basic" | "regular" | "premium" | undefined;
323573
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
323574
- } | undefined;
323575
- vonageCredentials?: {
323576
- apiKey: string;
323577
- mobileNumber: string;
323578
- apiSecret: string;
323579
- } | undefined;
323580
- line?: {
323581
- channelId: string;
323582
- channelSecret: string;
323583
- } | undefined;
323584
- lineRichMenuId?: string | null | undefined;
323585
- messengerIntegrationType?: "own" | "business" | undefined;
323586
- facebookFeedIntegrationType?: "own" | "business" | undefined;
323587
- isCSATEnabled?: boolean | undefined;
323588
- };
323589
- platformId: string;
323590
325543
  }>;
323591
325544
  summary: "Connect message channel";
323592
325545
  method: "POST";
@@ -324387,290 +326340,7 @@ export declare const channelSettingContract: {
324387
326340
  error?: any;
324388
326341
  }>;
324389
326342
  };
324390
- path: "ms/settings/whatsapp/connect";
324391
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
324392
- 'x-tenant': import("zod").ZodString;
324393
- 'x-service-token': import("zod").ZodString;
324394
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
324395
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
324396
- }, "strip", import("zod").ZodTypeAny, {
324397
- 'x-tenant': string;
324398
- 'x-service-token': string;
324399
- 'x-client-timezone': string;
324400
- 'x-code'?: string | undefined;
324401
- }, {
324402
- 'x-tenant': string;
324403
- 'x-service-token': string;
324404
- 'x-code'?: string | undefined;
324405
- 'x-client-timezone'?: string | undefined;
324406
- }>>>;
324407
- };
324408
- getTemplates: {
324409
- method: "GET";
324410
- query: import("zod").ZodObject<{
324411
- channelId: import("zod").ZodString;
324412
- }, "strip", import("zod").ZodTypeAny, {
324413
- channelId: string;
324414
- }, {
324415
- channelId: string;
324416
- }>;
324417
- responses: {
324418
- 200: import("zod").ZodObject<{
324419
- requestId: import("zod").ZodString;
324420
- data: import("zod").ZodArray<import("zod").ZodObject<{
324421
- id: import("zod").ZodString;
324422
- category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"UTILITY">, import("zod").ZodLiteral<"MARKETING">, import("zod").ZodLiteral<"AUTHENTICATION">]>>;
324423
- components: import("zod").ZodArray<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, "many">;
324424
- language: import("zod").ZodString;
324425
- name: import("zod").ZodString;
324426
- namespace: import("zod").ZodString;
324427
- status: import("zod").ZodString;
324428
- }, "strip", import("zod").ZodTypeAny, {
324429
- name: string;
324430
- id: string;
324431
- status: string;
324432
- language: string;
324433
- components: {}[];
324434
- namespace: string;
324435
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
324436
- }, {
324437
- name: string;
324438
- id: string;
324439
- status: string;
324440
- language: string;
324441
- components: {}[];
324442
- namespace: string;
324443
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
324444
- }>, "many">;
324445
- }, "strip", import("zod").ZodTypeAny, {
324446
- data: {
324447
- name: string;
324448
- id: string;
324449
- status: string;
324450
- language: string;
324451
- components: {}[];
324452
- namespace: string;
324453
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
324454
- }[];
324455
- requestId: string;
324456
- }, {
324457
- data: {
324458
- name: string;
324459
- id: string;
324460
- status: string;
324461
- language: string;
324462
- components: {}[];
324463
- namespace: string;
324464
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
324465
- }[];
324466
- requestId: string;
324467
- }>;
324468
- 500: import("zod").ZodObject<{
324469
- message: import("zod").ZodString;
324470
- error: import("zod").ZodAny;
324471
- }, "strip", import("zod").ZodTypeAny, {
324472
- message: string;
324473
- error?: any;
324474
- }, {
324475
- message: string;
324476
- error?: any;
324477
- }>;
324478
- };
324479
- path: "ms/settings/whatsapp/templates";
324480
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
324481
- 'x-tenant': import("zod").ZodString;
324482
- 'x-service-token': import("zod").ZodString;
324483
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
324484
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
324485
- }, "strip", import("zod").ZodTypeAny, {
324486
- 'x-tenant': string;
324487
- 'x-service-token': string;
324488
- 'x-client-timezone': string;
324489
- 'x-code'?: string | undefined;
324490
- }, {
324491
- 'x-tenant': string;
324492
- 'x-service-token': string;
324493
- 'x-code'?: string | undefined;
324494
- 'x-client-timezone'?: string | undefined;
324495
- }>>>;
324496
- };
324497
- createWaapi: {
324498
- body: null;
324499
- method: "POST";
324500
- responses: {
324501
- 200: import("zod").ZodObject<{
324502
- requestId: import("zod").ZodString;
324503
- data: import("zod").ZodObject<{
324504
- instanceId: import("zod").ZodString;
324505
- }, "strip", import("zod").ZodTypeAny, {
324506
- instanceId: string;
324507
- }, {
324508
- instanceId: string;
324509
- }>;
324510
- }, "strip", import("zod").ZodTypeAny, {
324511
- data: {
324512
- instanceId: string;
324513
- };
324514
- requestId: string;
324515
- }, {
324516
- data: {
324517
- instanceId: string;
324518
- };
324519
- requestId: string;
324520
- }>;
324521
- 500: import("zod").ZodObject<{
324522
- message: import("zod").ZodString;
324523
- error: import("zod").ZodAny;
324524
- }, "strip", import("zod").ZodTypeAny, {
324525
- message: string;
324526
- error?: any;
324527
- }, {
324528
- message: string;
324529
- error?: any;
324530
- }>;
324531
- 400: import("zod").ZodObject<{
324532
- message: import("zod").ZodString;
324533
- error: import("zod").ZodAny;
324534
- }, "strip", import("zod").ZodTypeAny, {
324535
- message: string;
324536
- error?: any;
324537
- }, {
324538
- message: string;
324539
- error?: any;
324540
- }>;
324541
- };
324542
- path: "ms/settings/whatsapp/mobile";
324543
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
324544
- 'x-tenant': import("zod").ZodString;
324545
- 'x-service-token': import("zod").ZodString;
324546
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
324547
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
324548
- }, "strip", import("zod").ZodTypeAny, {
324549
- 'x-tenant': string;
324550
- 'x-service-token': string;
324551
- 'x-client-timezone': string;
324552
- 'x-code'?: string | undefined;
324553
- }, {
324554
- 'x-tenant': string;
324555
- 'x-service-token': string;
324556
- 'x-code'?: string | undefined;
324557
- 'x-client-timezone'?: string | undefined;
324558
- }>>>;
324559
- };
324560
- getWaapiQr: {
324561
- method: "GET";
324562
- query: import("zod").ZodObject<{
324563
- instanceId: import("zod").ZodString;
324564
- }, "strip", import("zod").ZodTypeAny, {
324565
- instanceId: string;
324566
- }, {
324567
- instanceId: string;
324568
- }>;
324569
- responses: {
324570
- 200: import("zod").ZodObject<{
324571
- requestId: import("zod").ZodString;
324572
- data: import("zod").ZodObject<{
324573
- isActive: import("zod").ZodBoolean;
324574
- qr: import("zod").ZodString;
324575
- }, "strip", import("zod").ZodTypeAny, {
324576
- qr: string;
324577
- isActive: boolean;
324578
- }, {
324579
- qr: string;
324580
- isActive: boolean;
324581
- }>;
324582
- }, "strip", import("zod").ZodTypeAny, {
324583
- data: {
324584
- qr: string;
324585
- isActive: boolean;
324586
- };
324587
- requestId: string;
324588
- }, {
324589
- data: {
324590
- qr: string;
324591
- isActive: boolean;
324592
- };
324593
- requestId: string;
324594
- }>;
324595
- 500: import("zod").ZodObject<{
324596
- message: import("zod").ZodString;
324597
- error: import("zod").ZodAny;
324598
- }, "strip", import("zod").ZodTypeAny, {
324599
- message: string;
324600
- error?: any;
324601
- }, {
324602
- message: string;
324603
- error?: any;
324604
- }>;
324605
- 400: import("zod").ZodObject<{
324606
- message: import("zod").ZodString;
324607
- error: import("zod").ZodAny;
324608
- }, "strip", import("zod").ZodTypeAny, {
324609
- message: string;
324610
- error?: any;
324611
- }, {
324612
- message: string;
324613
- error?: any;
324614
- }>;
324615
- };
324616
- path: "ms/settings/whatsapp/mobile/qr";
324617
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
324618
- 'x-tenant': import("zod").ZodString;
324619
- 'x-service-token': import("zod").ZodString;
324620
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
324621
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
324622
- }, "strip", import("zod").ZodTypeAny, {
324623
- 'x-tenant': string;
324624
- 'x-service-token': string;
324625
- 'x-client-timezone': string;
324626
- 'x-code'?: string | undefined;
324627
- }, {
324628
- 'x-tenant': string;
324629
- 'x-service-token': string;
324630
- 'x-code'?: string | undefined;
324631
- 'x-client-timezone'?: string | undefined;
324632
- }>>>;
324633
- };
324634
- deleteWaapi: {
324635
- body: import("zod").ZodOptional<import("zod").ZodAny>;
324636
- method: "DELETE";
324637
- pathParams: import("zod").ZodObject<{
324638
- instanceId: import("zod").ZodString;
324639
- }, "strip", import("zod").ZodTypeAny, {
324640
- instanceId: string;
324641
- }, {
324642
- instanceId: string;
324643
- }>;
324644
- responses: {
324645
- 200: import("zod").ZodObject<{
324646
- requestId: import("zod").ZodString;
324647
- }, "strip", import("zod").ZodTypeAny, {
324648
- requestId: string;
324649
- }, {
324650
- requestId: string;
324651
- }>;
324652
- 500: import("zod").ZodObject<{
324653
- message: import("zod").ZodString;
324654
- error: import("zod").ZodAny;
324655
- }, "strip", import("zod").ZodTypeAny, {
324656
- message: string;
324657
- error?: any;
324658
- }, {
324659
- message: string;
324660
- error?: any;
324661
- }>;
324662
- 400: import("zod").ZodObject<{
324663
- message: import("zod").ZodString;
324664
- error: import("zod").ZodAny;
324665
- }, "strip", import("zod").ZodTypeAny, {
324666
- message: string;
324667
- error?: any;
324668
- }, {
324669
- message: string;
324670
- error?: any;
324671
- }>;
324672
- };
324673
- path: "ms/settings/whatsapp/mobile/:instanceId";
326343
+ path: "ms/settings/lazada/connect";
324674
326344
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
324675
326345
  'x-tenant': import("zod").ZodString;
324676
326346
  'x-service-token': import("zod").ZodString;
@@ -324689,19 +326359,19 @@ export declare const channelSettingContract: {
324689
326359
  }>>>;
324690
326360
  };
324691
326361
  };
324692
- lazada: {
326362
+ klinkchat: {
324693
326363
  connect: {
324694
326364
  body: import("zod").ZodObject<{
324695
326365
  name: import("zod").ZodString;
324696
- code: import("zod").ZodString;
326366
+ metadata: import("zod").ZodOptional<import("zod").ZodAny>;
324697
326367
  }, "strip", import("zod").ZodTypeAny, {
324698
- code: string;
324699
326368
  name: string;
326369
+ metadata?: any;
324700
326370
  }, {
324701
- code: string;
324702
326371
  name: string;
326372
+ metadata?: any;
324703
326373
  }>;
324704
- summary: "Connect message channel";
326374
+ summary: "Connect to klink chat";
324705
326375
  method: "POST";
324706
326376
  responses: {
324707
326377
  200: import("zod").ZodObject<{
@@ -325489,7 +327159,17 @@ export declare const channelSettingContract: {
325489
327159
  };
325490
327160
  requestId: string;
325491
327161
  }>;
325492
- 408: import("zod").ZodObject<{
327162
+ 400: import("zod").ZodObject<{
327163
+ message: import("zod").ZodString;
327164
+ error: import("zod").ZodAny;
327165
+ }, "strip", import("zod").ZodTypeAny, {
327166
+ message: string;
327167
+ error?: any;
327168
+ }, {
327169
+ message: string;
327170
+ error?: any;
327171
+ }>;
327172
+ 500: import("zod").ZodObject<{
325493
327173
  message: import("zod").ZodString;
325494
327174
  error: import("zod").ZodAny;
325495
327175
  }, "strip", import("zod").ZodTypeAny, {
@@ -325500,7 +327180,7 @@ export declare const channelSettingContract: {
325500
327180
  error?: any;
325501
327181
  }>;
325502
327182
  };
325503
- path: "ms/settings/lazada/connect";
327183
+ path: "ms/settings/klinkchat/connect";
325504
327184
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
325505
327185
  'x-tenant': import("zod").ZodString;
325506
327186
  'x-service-token': import("zod").ZodString;
@@ -333667,7 +335347,7 @@ export declare const laravelServiceTelephonyCdrContract: {
333667
335347
  };
333668
335348
  };
333669
335349
  export declare const platformKlinkChatContract: {
333670
- klinkChat: {
335350
+ klinkchat: {
333671
335351
  connect: {
333672
335352
  body: import("zod").ZodObject<{
333673
335353
  name: import("zod").ZodString;
@@ -334488,7 +336168,7 @@ export declare const platformKlinkChatContract: {
334488
336168
  error?: any;
334489
336169
  }>;
334490
336170
  };
334491
- path: "kcs/connect";
336171
+ path: "/connect";
334492
336172
  };
334493
336173
  sendMessage: {
334494
336174
  body: import("zod").ZodObject<{
@@ -353640,7 +355320,7 @@ export declare const platformKlinkChatContract: {
353640
355320
  error?: any;
353641
355321
  }>;
353642
355322
  };
353643
- path: "kcs/message";
355323
+ path: "/message";
353644
355324
  };
353645
355325
  disconnect: {
353646
355326
  body: import("zod").ZodObject<{
@@ -354064,7 +355744,7 @@ export declare const platformKlinkChatContract: {
354064
355744
  error?: any;
354065
355745
  }>;
354066
355746
  };
354067
- path: "kcs/disconnect";
355747
+ path: "/disconnect";
354068
355748
  };
354069
355749
  reconnect: {
354070
355750
  body: null;
@@ -354489,7 +356169,7 @@ export declare const platformKlinkChatContract: {
354489
356169
  error?: any;
354490
356170
  }>;
354491
356171
  };
354492
- path: "kcs/reconnect/:channelId";
356172
+ path: "/reconnect/:channelId";
354493
356173
  };
354494
356174
  delete: {
354495
356175
  body: null;
@@ -354914,7 +356594,7 @@ export declare const platformKlinkChatContract: {
354914
356594
  error?: any;
354915
356595
  }>;
354916
356596
  };
354917
- path: "kcs/delete/:channelId";
356597
+ path: "/delete/:channelId";
354918
356598
  };
354919
356599
  };
354920
356600
  };