@kl1/contracts 1.2.68-uat → 1.2.69-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -33858,6 +33858,802 @@ export declare const apiContract: {
33858
33858
  }>>>;
33859
33859
  };
33860
33860
  };
33861
+ lazada: {
33862
+ connect: {
33863
+ body: import("zod").ZodObject<{
33864
+ name: import("zod").ZodString;
33865
+ code: import("zod").ZodString;
33866
+ }, "strip", import("zod").ZodTypeAny, {
33867
+ code: string;
33868
+ name: string;
33869
+ }, {
33870
+ code: string;
33871
+ name: string;
33872
+ }>;
33873
+ summary: "Connect message channel";
33874
+ method: "POST";
33875
+ responses: {
33876
+ 200: import("zod").ZodObject<{
33877
+ requestId: import("zod").ZodString;
33878
+ channel: import("zod").ZodObject<{
33879
+ id: import("zod").ZodString;
33880
+ createdAt: import("zod").ZodDate;
33881
+ updatedAt: import("zod").ZodDate;
33882
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
33883
+ name: import("zod").ZodString;
33884
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
33885
+ metadata: import("zod").ZodObject<{
33886
+ id: import("zod").ZodString;
33887
+ name: import("zod").ZodString;
33888
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
33889
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
33890
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
33891
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
33892
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
33893
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33894
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33895
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33896
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33897
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33898
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33899
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33900
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33901
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
33902
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
33903
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
33904
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
33905
+ }, "strip", import("zod").ZodTypeAny, {
33906
+ wabaBusinessId?: string | null | undefined;
33907
+ wabaExternalId?: string | null | undefined;
33908
+ phoneNumberId?: string | null | undefined;
33909
+ email?: string | null | undefined;
33910
+ clientId?: string | null | undefined;
33911
+ channelId?: string | null | undefined;
33912
+ waapiInstanceId?: string | null | undefined;
33913
+ qr?: string | null | undefined;
33914
+ status?: "active" | "pending" | "waapi-qr" | undefined;
33915
+ apiKey?: string | undefined;
33916
+ tier?: "basic" | "regular" | "premium" | undefined;
33917
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
33918
+ }, {
33919
+ wabaBusinessId?: string | null | undefined;
33920
+ wabaExternalId?: string | null | undefined;
33921
+ phoneNumberId?: string | null | undefined;
33922
+ email?: string | null | undefined;
33923
+ clientId?: string | null | undefined;
33924
+ channelId?: string | null | undefined;
33925
+ waapiInstanceId?: string | null | undefined;
33926
+ qr?: string | null | undefined;
33927
+ status?: "active" | "pending" | "waapi-qr" | undefined;
33928
+ apiKey?: string | undefined;
33929
+ tier?: "basic" | "regular" | "premium" | undefined;
33930
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
33931
+ }>>;
33932
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
33933
+ mobileNumber: import("zod").ZodString;
33934
+ apiKey: import("zod").ZodString;
33935
+ apiSecret: import("zod").ZodString;
33936
+ }, "strip", import("zod").ZodTypeAny, {
33937
+ apiKey: string;
33938
+ mobileNumber: string;
33939
+ apiSecret: string;
33940
+ }, {
33941
+ apiKey: string;
33942
+ mobileNumber: string;
33943
+ apiSecret: string;
33944
+ }>>;
33945
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
33946
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
33947
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
33948
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
33949
+ }, "strip", import("zod").ZodTypeAny, {
33950
+ name: string;
33951
+ id: string;
33952
+ accessToken?: string | undefined;
33953
+ channelSecret?: string | undefined;
33954
+ additionalCredentials?: any;
33955
+ senderId?: string | undefined;
33956
+ whatsapp?: {
33957
+ wabaBusinessId?: string | null | undefined;
33958
+ wabaExternalId?: string | null | undefined;
33959
+ phoneNumberId?: string | null | undefined;
33960
+ email?: string | null | undefined;
33961
+ clientId?: string | null | undefined;
33962
+ channelId?: string | null | undefined;
33963
+ waapiInstanceId?: string | null | undefined;
33964
+ qr?: string | null | undefined;
33965
+ status?: "active" | "pending" | "waapi-qr" | undefined;
33966
+ apiKey?: string | undefined;
33967
+ tier?: "basic" | "regular" | "premium" | undefined;
33968
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
33969
+ } | undefined;
33970
+ vonageCredentials?: {
33971
+ apiKey: string;
33972
+ mobileNumber: string;
33973
+ apiSecret: string;
33974
+ } | undefined;
33975
+ lineRichMenuId?: string | null | undefined;
33976
+ messengerIntegrationType?: "own" | "business" | undefined;
33977
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
33978
+ isCSATEnabled?: boolean | undefined;
33979
+ }, {
33980
+ name: string;
33981
+ id: string;
33982
+ accessToken?: string | undefined;
33983
+ channelSecret?: string | undefined;
33984
+ additionalCredentials?: any;
33985
+ senderId?: string | undefined;
33986
+ whatsapp?: {
33987
+ wabaBusinessId?: string | null | undefined;
33988
+ wabaExternalId?: string | null | undefined;
33989
+ phoneNumberId?: string | null | undefined;
33990
+ email?: string | null | undefined;
33991
+ clientId?: string | null | undefined;
33992
+ channelId?: string | null | undefined;
33993
+ waapiInstanceId?: string | null | undefined;
33994
+ qr?: string | null | undefined;
33995
+ status?: "active" | "pending" | "waapi-qr" | undefined;
33996
+ apiKey?: string | undefined;
33997
+ tier?: "basic" | "regular" | "premium" | undefined;
33998
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
33999
+ } | undefined;
34000
+ vonageCredentials?: {
34001
+ apiKey: string;
34002
+ mobileNumber: string;
34003
+ apiSecret: string;
34004
+ } | undefined;
34005
+ lineRichMenuId?: string | null | undefined;
34006
+ messengerIntegrationType?: "own" | "business" | undefined;
34007
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
34008
+ isCSATEnabled?: boolean | undefined;
34009
+ }>;
34010
+ brandName: import("zod").ZodString;
34011
+ platformId: import("zod").ZodString;
34012
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
34013
+ isReloginRequired: import("zod").ZodBoolean;
34014
+ connectedUserName: import("zod").ZodString;
34015
+ connectedUserId: import("zod").ZodString;
34016
+ botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
34017
+ id: import("zod").ZodString;
34018
+ name: import("zod").ZodString;
34019
+ botId: import("zod").ZodString;
34020
+ integrationId: import("zod").ZodString;
34021
+ accessToken: import("zod").ZodString;
34022
+ }, "strip", import("zod").ZodTypeAny, {
34023
+ name: string;
34024
+ id: string;
34025
+ accessToken: string;
34026
+ botId: string;
34027
+ integrationId: string;
34028
+ }, {
34029
+ name: string;
34030
+ id: string;
34031
+ accessToken: string;
34032
+ botId: string;
34033
+ integrationId: string;
34034
+ }>>;
34035
+ actor: import("zod").ZodObject<{
34036
+ id: import("zod").ZodString;
34037
+ createdAt: import("zod").ZodDate;
34038
+ updatedAt: import("zod").ZodDate;
34039
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34040
+ name: import("zod").ZodString;
34041
+ email: import("zod").ZodString;
34042
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34043
+ password: import("zod").ZodString;
34044
+ address: import("zod").ZodNullable<import("zod").ZodString>;
34045
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
34046
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
34047
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
34048
+ id: import("zod").ZodString;
34049
+ createdAt: import("zod").ZodDate;
34050
+ updatedAt: import("zod").ZodDate;
34051
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34052
+ systemName: import("zod").ZodString;
34053
+ displayName: import("zod").ZodString;
34054
+ description: import("zod").ZodNullable<import("zod").ZodString>;
34055
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
34056
+ id: import("zod").ZodString;
34057
+ createdAt: import("zod").ZodDate;
34058
+ updatedAt: import("zod").ZodDate;
34059
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34060
+ systemName: import("zod").ZodString;
34061
+ displayName: import("zod").ZodString;
34062
+ description: import("zod").ZodNullable<import("zod").ZodString>;
34063
+ }, "strip", import("zod").ZodTypeAny, {
34064
+ id: string;
34065
+ description: string | null;
34066
+ createdAt: Date;
34067
+ updatedAt: Date;
34068
+ deletedAt: Date | null;
34069
+ systemName: string;
34070
+ displayName: string;
34071
+ }, {
34072
+ id: string;
34073
+ description: string | null;
34074
+ createdAt: Date;
34075
+ updatedAt: Date;
34076
+ deletedAt: Date | null;
34077
+ systemName: string;
34078
+ displayName: string;
34079
+ }>, "many">;
34080
+ }, "strip", import("zod").ZodTypeAny, {
34081
+ id: string;
34082
+ description: string | null;
34083
+ createdAt: Date;
34084
+ updatedAt: Date;
34085
+ deletedAt: Date | null;
34086
+ systemName: string;
34087
+ displayName: string;
34088
+ permissions: {
34089
+ id: string;
34090
+ description: string | null;
34091
+ createdAt: Date;
34092
+ updatedAt: Date;
34093
+ deletedAt: Date | null;
34094
+ systemName: string;
34095
+ displayName: string;
34096
+ }[];
34097
+ }, {
34098
+ id: string;
34099
+ description: string | null;
34100
+ createdAt: Date;
34101
+ updatedAt: Date;
34102
+ deletedAt: Date | null;
34103
+ systemName: string;
34104
+ displayName: string;
34105
+ permissions: {
34106
+ id: string;
34107
+ description: string | null;
34108
+ createdAt: Date;
34109
+ updatedAt: Date;
34110
+ deletedAt: Date | null;
34111
+ systemName: string;
34112
+ displayName: string;
34113
+ }[];
34114
+ }>, "many">;
34115
+ extension: import("zod").ZodObject<{
34116
+ id: import("zod").ZodString;
34117
+ createdAt: import("zod").ZodDate;
34118
+ updatedAt: import("zod").ZodDate;
34119
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
34120
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
34121
+ sipServerUrl: import("zod").ZodString;
34122
+ sipUserName: import("zod").ZodString;
34123
+ webphoneLoginUser: import("zod").ZodString;
34124
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
34125
+ extensionName: import("zod").ZodString;
34126
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
34127
+ }, "strip", import("zod").ZodTypeAny, {
34128
+ id: string;
34129
+ createdAt: Date;
34130
+ updatedAt: Date;
34131
+ deletedAt: Date | null;
34132
+ userId: string | null;
34133
+ sipServerUrl: string;
34134
+ sipUserName: string;
34135
+ webphoneLoginUser: string;
34136
+ extensionId: string | null;
34137
+ extensionName: string;
34138
+ telephonySignature: string | null;
34139
+ }, {
34140
+ id: string;
34141
+ createdAt: Date;
34142
+ updatedAt: Date;
34143
+ deletedAt: Date | null;
34144
+ userId: string | null;
34145
+ sipServerUrl: string;
34146
+ sipUserName: string;
34147
+ webphoneLoginUser: string;
34148
+ extensionId: string | null;
34149
+ extensionName: string;
34150
+ telephonySignature: string | null;
34151
+ }>;
34152
+ }, "strip", import("zod").ZodTypeAny, {
34153
+ name: string;
34154
+ id: string;
34155
+ address: string | null;
34156
+ email: string;
34157
+ createdAt: Date;
34158
+ updatedAt: Date;
34159
+ deletedAt: Date | null;
34160
+ emailVerifiedAt: Date | null;
34161
+ password: string;
34162
+ phone: string | null;
34163
+ notificationCount: number | null;
34164
+ roles: {
34165
+ id: string;
34166
+ description: string | null;
34167
+ createdAt: Date;
34168
+ updatedAt: Date;
34169
+ deletedAt: Date | null;
34170
+ systemName: string;
34171
+ displayName: string;
34172
+ permissions: {
34173
+ id: string;
34174
+ description: string | null;
34175
+ createdAt: Date;
34176
+ updatedAt: Date;
34177
+ deletedAt: Date | null;
34178
+ systemName: string;
34179
+ displayName: string;
34180
+ }[];
34181
+ }[];
34182
+ extension: {
34183
+ id: string;
34184
+ createdAt: Date;
34185
+ updatedAt: Date;
34186
+ deletedAt: Date | null;
34187
+ userId: string | null;
34188
+ sipServerUrl: string;
34189
+ sipUserName: string;
34190
+ webphoneLoginUser: string;
34191
+ extensionId: string | null;
34192
+ extensionName: string;
34193
+ telephonySignature: string | null;
34194
+ };
34195
+ }, {
34196
+ name: string;
34197
+ id: string;
34198
+ address: string | null;
34199
+ email: string;
34200
+ createdAt: Date;
34201
+ updatedAt: Date;
34202
+ deletedAt: Date | null;
34203
+ emailVerifiedAt: Date | null;
34204
+ password: string;
34205
+ phone: string | null;
34206
+ notificationCount: number | null;
34207
+ roles: {
34208
+ id: string;
34209
+ description: string | null;
34210
+ createdAt: Date;
34211
+ updatedAt: Date;
34212
+ deletedAt: Date | null;
34213
+ systemName: string;
34214
+ displayName: string;
34215
+ permissions: {
34216
+ id: string;
34217
+ description: string | null;
34218
+ createdAt: Date;
34219
+ updatedAt: Date;
34220
+ deletedAt: Date | null;
34221
+ systemName: string;
34222
+ displayName: string;
34223
+ }[];
34224
+ }[];
34225
+ extension: {
34226
+ id: string;
34227
+ createdAt: Date;
34228
+ updatedAt: Date;
34229
+ deletedAt: Date | null;
34230
+ userId: string | null;
34231
+ sipServerUrl: string;
34232
+ sipUserName: string;
34233
+ webphoneLoginUser: string;
34234
+ extensionId: string | null;
34235
+ extensionName: string;
34236
+ telephonySignature: string | null;
34237
+ };
34238
+ }>;
34239
+ }, "strip", import("zod").ZodTypeAny, {
34240
+ name: string;
34241
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
34242
+ id: string;
34243
+ metadata: {
34244
+ name: string;
34245
+ id: string;
34246
+ accessToken?: string | undefined;
34247
+ channelSecret?: string | undefined;
34248
+ additionalCredentials?: any;
34249
+ senderId?: string | undefined;
34250
+ whatsapp?: {
34251
+ wabaBusinessId?: string | null | undefined;
34252
+ wabaExternalId?: string | null | undefined;
34253
+ phoneNumberId?: string | null | undefined;
34254
+ email?: string | null | undefined;
34255
+ clientId?: string | null | undefined;
34256
+ channelId?: string | null | undefined;
34257
+ waapiInstanceId?: string | null | undefined;
34258
+ qr?: string | null | undefined;
34259
+ status?: "active" | "pending" | "waapi-qr" | undefined;
34260
+ apiKey?: string | undefined;
34261
+ tier?: "basic" | "regular" | "premium" | undefined;
34262
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
34263
+ } | undefined;
34264
+ vonageCredentials?: {
34265
+ apiKey: string;
34266
+ mobileNumber: string;
34267
+ apiSecret: string;
34268
+ } | undefined;
34269
+ lineRichMenuId?: string | null | undefined;
34270
+ messengerIntegrationType?: "own" | "business" | undefined;
34271
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
34272
+ isCSATEnabled?: boolean | undefined;
34273
+ };
34274
+ status: boolean;
34275
+ createdAt: Date;
34276
+ updatedAt: Date;
34277
+ deletedAt: Date | null;
34278
+ actor: {
34279
+ name: string;
34280
+ id: string;
34281
+ address: string | null;
34282
+ email: string;
34283
+ createdAt: Date;
34284
+ updatedAt: Date;
34285
+ deletedAt: Date | null;
34286
+ emailVerifiedAt: Date | null;
34287
+ password: string;
34288
+ phone: string | null;
34289
+ notificationCount: number | null;
34290
+ roles: {
34291
+ id: string;
34292
+ description: string | null;
34293
+ createdAt: Date;
34294
+ updatedAt: Date;
34295
+ deletedAt: Date | null;
34296
+ systemName: string;
34297
+ displayName: string;
34298
+ permissions: {
34299
+ id: string;
34300
+ description: string | null;
34301
+ createdAt: Date;
34302
+ updatedAt: Date;
34303
+ deletedAt: Date | null;
34304
+ systemName: string;
34305
+ displayName: string;
34306
+ }[];
34307
+ }[];
34308
+ extension: {
34309
+ id: string;
34310
+ createdAt: Date;
34311
+ updatedAt: Date;
34312
+ deletedAt: Date | null;
34313
+ userId: string | null;
34314
+ sipServerUrl: string;
34315
+ sipUserName: string;
34316
+ webphoneLoginUser: string;
34317
+ extensionId: string | null;
34318
+ extensionName: string;
34319
+ telephonySignature: string | null;
34320
+ };
34321
+ };
34322
+ brandName: string;
34323
+ platformId: string;
34324
+ isReloginRequired: boolean;
34325
+ connectedUserName: string;
34326
+ connectedUserId: string;
34327
+ botpressBot: {
34328
+ name: string;
34329
+ id: string;
34330
+ accessToken: string;
34331
+ botId: string;
34332
+ integrationId: string;
34333
+ } | null;
34334
+ }, {
34335
+ name: string;
34336
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
34337
+ id: string;
34338
+ metadata: {
34339
+ name: string;
34340
+ id: string;
34341
+ accessToken?: string | undefined;
34342
+ channelSecret?: string | undefined;
34343
+ additionalCredentials?: any;
34344
+ senderId?: string | undefined;
34345
+ whatsapp?: {
34346
+ wabaBusinessId?: string | null | undefined;
34347
+ wabaExternalId?: string | null | undefined;
34348
+ phoneNumberId?: string | null | undefined;
34349
+ email?: string | null | undefined;
34350
+ clientId?: string | null | undefined;
34351
+ channelId?: string | null | undefined;
34352
+ waapiInstanceId?: string | null | undefined;
34353
+ qr?: string | null | undefined;
34354
+ status?: "active" | "pending" | "waapi-qr" | undefined;
34355
+ apiKey?: string | undefined;
34356
+ tier?: "basic" | "regular" | "premium" | undefined;
34357
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
34358
+ } | undefined;
34359
+ vonageCredentials?: {
34360
+ apiKey: string;
34361
+ mobileNumber: string;
34362
+ apiSecret: string;
34363
+ } | undefined;
34364
+ lineRichMenuId?: string | null | undefined;
34365
+ messengerIntegrationType?: "own" | "business" | undefined;
34366
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
34367
+ isCSATEnabled?: boolean | undefined;
34368
+ };
34369
+ status: boolean;
34370
+ createdAt: Date;
34371
+ updatedAt: Date;
34372
+ deletedAt: Date | null;
34373
+ actor: {
34374
+ name: string;
34375
+ id: string;
34376
+ address: string | null;
34377
+ email: string;
34378
+ createdAt: Date;
34379
+ updatedAt: Date;
34380
+ deletedAt: Date | null;
34381
+ emailVerifiedAt: Date | null;
34382
+ password: string;
34383
+ phone: string | null;
34384
+ notificationCount: number | null;
34385
+ roles: {
34386
+ id: string;
34387
+ description: string | null;
34388
+ createdAt: Date;
34389
+ updatedAt: Date;
34390
+ deletedAt: Date | null;
34391
+ systemName: string;
34392
+ displayName: string;
34393
+ permissions: {
34394
+ id: string;
34395
+ description: string | null;
34396
+ createdAt: Date;
34397
+ updatedAt: Date;
34398
+ deletedAt: Date | null;
34399
+ systemName: string;
34400
+ displayName: string;
34401
+ }[];
34402
+ }[];
34403
+ extension: {
34404
+ id: string;
34405
+ createdAt: Date;
34406
+ updatedAt: Date;
34407
+ deletedAt: Date | null;
34408
+ userId: string | null;
34409
+ sipServerUrl: string;
34410
+ sipUserName: string;
34411
+ webphoneLoginUser: string;
34412
+ extensionId: string | null;
34413
+ extensionName: string;
34414
+ telephonySignature: string | null;
34415
+ };
34416
+ };
34417
+ brandName: string;
34418
+ platformId: string;
34419
+ isReloginRequired: boolean;
34420
+ connectedUserName: string;
34421
+ connectedUserId: string;
34422
+ botpressBot: {
34423
+ name: string;
34424
+ id: string;
34425
+ accessToken: string;
34426
+ botId: string;
34427
+ integrationId: string;
34428
+ } | null;
34429
+ }>;
34430
+ }, "strip", import("zod").ZodTypeAny, {
34431
+ channel: {
34432
+ name: string;
34433
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
34434
+ id: string;
34435
+ metadata: {
34436
+ name: string;
34437
+ id: string;
34438
+ accessToken?: string | undefined;
34439
+ channelSecret?: string | undefined;
34440
+ additionalCredentials?: any;
34441
+ senderId?: string | undefined;
34442
+ whatsapp?: {
34443
+ wabaBusinessId?: string | null | undefined;
34444
+ wabaExternalId?: string | null | undefined;
34445
+ phoneNumberId?: string | null | undefined;
34446
+ email?: string | null | undefined;
34447
+ clientId?: string | null | undefined;
34448
+ channelId?: string | null | undefined;
34449
+ waapiInstanceId?: string | null | undefined;
34450
+ qr?: string | null | undefined;
34451
+ status?: "active" | "pending" | "waapi-qr" | undefined;
34452
+ apiKey?: string | undefined;
34453
+ tier?: "basic" | "regular" | "premium" | undefined;
34454
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
34455
+ } | undefined;
34456
+ vonageCredentials?: {
34457
+ apiKey: string;
34458
+ mobileNumber: string;
34459
+ apiSecret: string;
34460
+ } | undefined;
34461
+ lineRichMenuId?: string | null | undefined;
34462
+ messengerIntegrationType?: "own" | "business" | undefined;
34463
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
34464
+ isCSATEnabled?: boolean | undefined;
34465
+ };
34466
+ status: boolean;
34467
+ createdAt: Date;
34468
+ updatedAt: Date;
34469
+ deletedAt: Date | null;
34470
+ actor: {
34471
+ name: string;
34472
+ id: string;
34473
+ address: string | null;
34474
+ email: string;
34475
+ createdAt: Date;
34476
+ updatedAt: Date;
34477
+ deletedAt: Date | null;
34478
+ emailVerifiedAt: Date | null;
34479
+ password: string;
34480
+ phone: string | null;
34481
+ notificationCount: number | null;
34482
+ roles: {
34483
+ id: string;
34484
+ description: string | null;
34485
+ createdAt: Date;
34486
+ updatedAt: Date;
34487
+ deletedAt: Date | null;
34488
+ systemName: string;
34489
+ displayName: string;
34490
+ permissions: {
34491
+ id: string;
34492
+ description: string | null;
34493
+ createdAt: Date;
34494
+ updatedAt: Date;
34495
+ deletedAt: Date | null;
34496
+ systemName: string;
34497
+ displayName: string;
34498
+ }[];
34499
+ }[];
34500
+ extension: {
34501
+ id: string;
34502
+ createdAt: Date;
34503
+ updatedAt: Date;
34504
+ deletedAt: Date | null;
34505
+ userId: string | null;
34506
+ sipServerUrl: string;
34507
+ sipUserName: string;
34508
+ webphoneLoginUser: string;
34509
+ extensionId: string | null;
34510
+ extensionName: string;
34511
+ telephonySignature: string | null;
34512
+ };
34513
+ };
34514
+ brandName: string;
34515
+ platformId: string;
34516
+ isReloginRequired: boolean;
34517
+ connectedUserName: string;
34518
+ connectedUserId: string;
34519
+ botpressBot: {
34520
+ name: string;
34521
+ id: string;
34522
+ accessToken: string;
34523
+ botId: string;
34524
+ integrationId: string;
34525
+ } | null;
34526
+ };
34527
+ requestId: string;
34528
+ }, {
34529
+ channel: {
34530
+ name: string;
34531
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
34532
+ id: string;
34533
+ metadata: {
34534
+ name: string;
34535
+ id: string;
34536
+ accessToken?: string | undefined;
34537
+ channelSecret?: string | undefined;
34538
+ additionalCredentials?: any;
34539
+ senderId?: string | undefined;
34540
+ whatsapp?: {
34541
+ wabaBusinessId?: string | null | undefined;
34542
+ wabaExternalId?: string | null | undefined;
34543
+ phoneNumberId?: string | null | undefined;
34544
+ email?: string | null | undefined;
34545
+ clientId?: string | null | undefined;
34546
+ channelId?: string | null | undefined;
34547
+ waapiInstanceId?: string | null | undefined;
34548
+ qr?: string | null | undefined;
34549
+ status?: "active" | "pending" | "waapi-qr" | undefined;
34550
+ apiKey?: string | undefined;
34551
+ tier?: "basic" | "regular" | "premium" | undefined;
34552
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
34553
+ } | undefined;
34554
+ vonageCredentials?: {
34555
+ apiKey: string;
34556
+ mobileNumber: string;
34557
+ apiSecret: string;
34558
+ } | undefined;
34559
+ lineRichMenuId?: string | null | undefined;
34560
+ messengerIntegrationType?: "own" | "business" | undefined;
34561
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
34562
+ isCSATEnabled?: boolean | undefined;
34563
+ };
34564
+ status: boolean;
34565
+ createdAt: Date;
34566
+ updatedAt: Date;
34567
+ deletedAt: Date | null;
34568
+ actor: {
34569
+ name: string;
34570
+ id: string;
34571
+ address: string | null;
34572
+ email: string;
34573
+ createdAt: Date;
34574
+ updatedAt: Date;
34575
+ deletedAt: Date | null;
34576
+ emailVerifiedAt: Date | null;
34577
+ password: string;
34578
+ phone: string | null;
34579
+ notificationCount: number | null;
34580
+ roles: {
34581
+ id: string;
34582
+ description: string | null;
34583
+ createdAt: Date;
34584
+ updatedAt: Date;
34585
+ deletedAt: Date | null;
34586
+ systemName: string;
34587
+ displayName: string;
34588
+ permissions: {
34589
+ id: string;
34590
+ description: string | null;
34591
+ createdAt: Date;
34592
+ updatedAt: Date;
34593
+ deletedAt: Date | null;
34594
+ systemName: string;
34595
+ displayName: string;
34596
+ }[];
34597
+ }[];
34598
+ extension: {
34599
+ id: string;
34600
+ createdAt: Date;
34601
+ updatedAt: Date;
34602
+ deletedAt: Date | null;
34603
+ userId: string | null;
34604
+ sipServerUrl: string;
34605
+ sipUserName: string;
34606
+ webphoneLoginUser: string;
34607
+ extensionId: string | null;
34608
+ extensionName: string;
34609
+ telephonySignature: string | null;
34610
+ };
34611
+ };
34612
+ brandName: string;
34613
+ platformId: string;
34614
+ isReloginRequired: boolean;
34615
+ connectedUserName: string;
34616
+ connectedUserId: string;
34617
+ botpressBot: {
34618
+ name: string;
34619
+ id: string;
34620
+ accessToken: string;
34621
+ botId: string;
34622
+ integrationId: string;
34623
+ } | null;
34624
+ };
34625
+ requestId: string;
34626
+ }>;
34627
+ 408: import("zod").ZodObject<{
34628
+ message: import("zod").ZodString;
34629
+ error: import("zod").ZodAny;
34630
+ }, "strip", import("zod").ZodTypeAny, {
34631
+ message: string;
34632
+ error?: any;
34633
+ }, {
34634
+ message: string;
34635
+ error?: any;
34636
+ }>;
34637
+ };
34638
+ path: "channel/lazada/connect";
34639
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
34640
+ 'x-tenant': import("zod").ZodString;
34641
+ 'x-service-token': import("zod").ZodString;
34642
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
34643
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
34644
+ }, "strip", import("zod").ZodTypeAny, {
34645
+ 'x-tenant': string;
34646
+ 'x-service-token': string;
34647
+ 'x-client-timezone': string;
34648
+ 'x-code'?: string | undefined;
34649
+ }, {
34650
+ 'x-tenant': string;
34651
+ 'x-service-token': string;
34652
+ 'x-code'?: string | undefined;
34653
+ 'x-client-timezone'?: string | undefined;
34654
+ }>>>;
34655
+ };
34656
+ };
33861
34657
  };
33862
34658
  aws: {
33863
34659
  generatePresignedUrl: {
@@ -316742,7 +317538,1248 @@ export declare const channelSettingContract: {
316742
317538
  error?: any;
316743
317539
  }>;
316744
317540
  };
316745
- path: "settings/channel/messenger/connect";
317541
+ path: "settings/channel/messenger/connect";
317542
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
317543
+ 'x-tenant': import("zod").ZodString;
317544
+ 'x-service-token': import("zod").ZodString;
317545
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
317546
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
317547
+ }, "strip", import("zod").ZodTypeAny, {
317548
+ 'x-tenant': string;
317549
+ 'x-service-token': string;
317550
+ 'x-client-timezone': string;
317551
+ 'x-code'?: string | undefined;
317552
+ }, {
317553
+ 'x-tenant': string;
317554
+ 'x-service-token': string;
317555
+ 'x-code'?: string | undefined;
317556
+ 'x-client-timezone'?: string | undefined;
317557
+ }>>>;
317558
+ };
317559
+ };
317560
+ line: {
317561
+ connect: {
317562
+ body: import("zod").ZodObject<{
317563
+ lineId: import("zod").ZodOptional<import("zod").ZodString>;
317564
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
317565
+ lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
317566
+ brandName: import("zod").ZodOptional<import("zod").ZodString>;
317567
+ name: import("zod").ZodString;
317568
+ }, "strip", import("zod").ZodTypeAny, {
317569
+ name: string;
317570
+ lineId?: string | undefined;
317571
+ accessToken?: string | undefined;
317572
+ lineSecret?: string | undefined;
317573
+ brandName?: string | undefined;
317574
+ }, {
317575
+ name: string;
317576
+ lineId?: string | undefined;
317577
+ accessToken?: string | undefined;
317578
+ lineSecret?: string | undefined;
317579
+ brandName?: string | undefined;
317580
+ }>;
317581
+ summary: "Connect line channel";
317582
+ method: "POST";
317583
+ responses: {
317584
+ 200: import("zod").ZodObject<{
317585
+ requestId: import("zod").ZodString;
317586
+ }, "strip", import("zod").ZodTypeAny, {
317587
+ requestId: string;
317588
+ }, {
317589
+ requestId: string;
317590
+ }>;
317591
+ 408: import("zod").ZodObject<{
317592
+ message: import("zod").ZodString;
317593
+ error: import("zod").ZodAny;
317594
+ }, "strip", import("zod").ZodTypeAny, {
317595
+ message: string;
317596
+ error?: any;
317597
+ }, {
317598
+ message: string;
317599
+ error?: any;
317600
+ }>;
317601
+ };
317602
+ path: "settings/channel/line/connect";
317603
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
317604
+ 'x-tenant': import("zod").ZodString;
317605
+ 'x-service-token': import("zod").ZodString;
317606
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
317607
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
317608
+ }, "strip", import("zod").ZodTypeAny, {
317609
+ 'x-tenant': string;
317610
+ 'x-service-token': string;
317611
+ 'x-client-timezone': string;
317612
+ 'x-code'?: string | undefined;
317613
+ }, {
317614
+ 'x-tenant': string;
317615
+ 'x-service-token': string;
317616
+ 'x-code'?: string | undefined;
317617
+ 'x-client-timezone'?: string | undefined;
317618
+ }>>>;
317619
+ };
317620
+ };
317621
+ instagram: {
317622
+ getPages: {
317623
+ method: "GET";
317624
+ query: import("zod").ZodObject<{
317625
+ accessToken: import("zod").ZodString;
317626
+ userId: import("zod").ZodString;
317627
+ }, "strip", import("zod").ZodTypeAny, {
317628
+ userId: string;
317629
+ accessToken: string;
317630
+ }, {
317631
+ userId: string;
317632
+ accessToken: string;
317633
+ }>;
317634
+ responses: {
317635
+ 200: import("zod").ZodObject<{
317636
+ requestId: import("zod").ZodString;
317637
+ data: import("zod").ZodObject<{
317638
+ data: import("zod").ZodArray<import("zod").ZodObject<{
317639
+ access_token: import("zod").ZodString;
317640
+ instagram_business_account: import("zod").ZodObject<{
317641
+ username: import("zod").ZodString;
317642
+ name: import("zod").ZodString;
317643
+ ig_id: import("zod").ZodNumber;
317644
+ id: import("zod").ZodString;
317645
+ }, "strip", import("zod").ZodTypeAny, {
317646
+ name: string;
317647
+ id: string;
317648
+ username: string;
317649
+ ig_id: number;
317650
+ }, {
317651
+ name: string;
317652
+ id: string;
317653
+ username: string;
317654
+ ig_id: number;
317655
+ }>;
317656
+ id: import("zod").ZodString;
317657
+ name: import("zod").ZodString;
317658
+ }, "strip", import("zod").ZodTypeAny, {
317659
+ name: string;
317660
+ id: string;
317661
+ access_token: string;
317662
+ instagram_business_account: {
317663
+ name: string;
317664
+ id: string;
317665
+ username: string;
317666
+ ig_id: number;
317667
+ };
317668
+ }, {
317669
+ name: string;
317670
+ id: string;
317671
+ access_token: string;
317672
+ instagram_business_account: {
317673
+ name: string;
317674
+ id: string;
317675
+ username: string;
317676
+ ig_id: number;
317677
+ };
317678
+ }>, "many">;
317679
+ paging: import("zod").ZodOptional<import("zod").ZodObject<{
317680
+ cursors: import("zod").ZodObject<{
317681
+ before: import("zod").ZodOptional<import("zod").ZodString>;
317682
+ after: import("zod").ZodOptional<import("zod").ZodString>;
317683
+ }, "strip", import("zod").ZodTypeAny, {
317684
+ before?: string | undefined;
317685
+ after?: string | undefined;
317686
+ }, {
317687
+ before?: string | undefined;
317688
+ after?: string | undefined;
317689
+ }>;
317690
+ }, "strip", import("zod").ZodTypeAny, {
317691
+ cursors: {
317692
+ before?: string | undefined;
317693
+ after?: string | undefined;
317694
+ };
317695
+ }, {
317696
+ cursors: {
317697
+ before?: string | undefined;
317698
+ after?: string | undefined;
317699
+ };
317700
+ }>>;
317701
+ }, "strip", import("zod").ZodTypeAny, {
317702
+ data: {
317703
+ name: string;
317704
+ id: string;
317705
+ access_token: string;
317706
+ instagram_business_account: {
317707
+ name: string;
317708
+ id: string;
317709
+ username: string;
317710
+ ig_id: number;
317711
+ };
317712
+ }[];
317713
+ paging?: {
317714
+ cursors: {
317715
+ before?: string | undefined;
317716
+ after?: string | undefined;
317717
+ };
317718
+ } | undefined;
317719
+ }, {
317720
+ data: {
317721
+ name: string;
317722
+ id: string;
317723
+ access_token: string;
317724
+ instagram_business_account: {
317725
+ name: string;
317726
+ id: string;
317727
+ username: string;
317728
+ ig_id: number;
317729
+ };
317730
+ }[];
317731
+ paging?: {
317732
+ cursors: {
317733
+ before?: string | undefined;
317734
+ after?: string | undefined;
317735
+ };
317736
+ } | undefined;
317737
+ }>;
317738
+ }, "strip", import("zod").ZodTypeAny, {
317739
+ data: {
317740
+ data: {
317741
+ name: string;
317742
+ id: string;
317743
+ access_token: string;
317744
+ instagram_business_account: {
317745
+ name: string;
317746
+ id: string;
317747
+ username: string;
317748
+ ig_id: number;
317749
+ };
317750
+ }[];
317751
+ paging?: {
317752
+ cursors: {
317753
+ before?: string | undefined;
317754
+ after?: string | undefined;
317755
+ };
317756
+ } | undefined;
317757
+ };
317758
+ requestId: string;
317759
+ }, {
317760
+ data: {
317761
+ data: {
317762
+ name: string;
317763
+ id: string;
317764
+ access_token: string;
317765
+ instagram_business_account: {
317766
+ name: string;
317767
+ id: string;
317768
+ username: string;
317769
+ ig_id: number;
317770
+ };
317771
+ }[];
317772
+ paging?: {
317773
+ cursors: {
317774
+ before?: string | undefined;
317775
+ after?: string | undefined;
317776
+ };
317777
+ } | undefined;
317778
+ };
317779
+ requestId: string;
317780
+ }>;
317781
+ 500: import("zod").ZodObject<{
317782
+ message: import("zod").ZodString;
317783
+ error: import("zod").ZodAny;
317784
+ }, "strip", import("zod").ZodTypeAny, {
317785
+ message: string;
317786
+ error?: any;
317787
+ }, {
317788
+ message: string;
317789
+ error?: any;
317790
+ }>;
317791
+ };
317792
+ path: "settings/channel/instagram/pages";
317793
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
317794
+ 'x-tenant': import("zod").ZodString;
317795
+ 'x-service-token': import("zod").ZodString;
317796
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
317797
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
317798
+ }, "strip", import("zod").ZodTypeAny, {
317799
+ 'x-tenant': string;
317800
+ 'x-service-token': string;
317801
+ 'x-client-timezone': string;
317802
+ 'x-code'?: string | undefined;
317803
+ }, {
317804
+ 'x-tenant': string;
317805
+ 'x-service-token': string;
317806
+ 'x-code'?: string | undefined;
317807
+ 'x-client-timezone'?: string | undefined;
317808
+ }>>>;
317809
+ };
317810
+ connect: {
317811
+ body: import("zod").ZodObject<{
317812
+ name: import("zod").ZodString;
317813
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
317814
+ metadata: import("zod").ZodObject<{
317815
+ id: import("zod").ZodString;
317816
+ name: import("zod").ZodString;
317817
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
317818
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
317819
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
317820
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
317821
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
317822
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317823
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317824
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317825
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317826
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317827
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317828
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317829
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317830
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
317831
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
317832
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
317833
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
317834
+ }, "strip", import("zod").ZodTypeAny, {
317835
+ wabaBusinessId?: string | null | undefined;
317836
+ wabaExternalId?: string | null | undefined;
317837
+ phoneNumberId?: string | null | undefined;
317838
+ email?: string | null | undefined;
317839
+ clientId?: string | null | undefined;
317840
+ channelId?: string | null | undefined;
317841
+ waapiInstanceId?: string | null | undefined;
317842
+ qr?: string | null | undefined;
317843
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317844
+ apiKey?: string | undefined;
317845
+ tier?: "basic" | "regular" | "premium" | undefined;
317846
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317847
+ }, {
317848
+ wabaBusinessId?: string | null | undefined;
317849
+ wabaExternalId?: string | null | undefined;
317850
+ phoneNumberId?: string | null | undefined;
317851
+ email?: string | null | undefined;
317852
+ clientId?: string | null | undefined;
317853
+ channelId?: string | null | undefined;
317854
+ waapiInstanceId?: string | null | undefined;
317855
+ qr?: string | null | undefined;
317856
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317857
+ apiKey?: string | undefined;
317858
+ tier?: "basic" | "regular" | "premium" | undefined;
317859
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317860
+ }>>;
317861
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
317862
+ mobileNumber: import("zod").ZodString;
317863
+ apiKey: import("zod").ZodString;
317864
+ apiSecret: import("zod").ZodString;
317865
+ }, "strip", import("zod").ZodTypeAny, {
317866
+ apiKey: string;
317867
+ mobileNumber: string;
317868
+ apiSecret: string;
317869
+ }, {
317870
+ apiKey: string;
317871
+ mobileNumber: string;
317872
+ apiSecret: string;
317873
+ }>>;
317874
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317875
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
317876
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
317877
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
317878
+ }, "strip", import("zod").ZodTypeAny, {
317879
+ name: string;
317880
+ id: string;
317881
+ accessToken?: string | undefined;
317882
+ channelSecret?: string | undefined;
317883
+ additionalCredentials?: any;
317884
+ senderId?: string | undefined;
317885
+ whatsapp?: {
317886
+ wabaBusinessId?: string | null | undefined;
317887
+ wabaExternalId?: string | null | undefined;
317888
+ phoneNumberId?: string | null | undefined;
317889
+ email?: string | null | undefined;
317890
+ clientId?: string | null | undefined;
317891
+ channelId?: string | null | undefined;
317892
+ waapiInstanceId?: string | null | undefined;
317893
+ qr?: string | null | undefined;
317894
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317895
+ apiKey?: string | undefined;
317896
+ tier?: "basic" | "regular" | "premium" | undefined;
317897
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317898
+ } | undefined;
317899
+ vonageCredentials?: {
317900
+ apiKey: string;
317901
+ mobileNumber: string;
317902
+ apiSecret: string;
317903
+ } | undefined;
317904
+ lineRichMenuId?: string | null | undefined;
317905
+ messengerIntegrationType?: "own" | "business" | undefined;
317906
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
317907
+ isCSATEnabled?: boolean | undefined;
317908
+ }, {
317909
+ name: string;
317910
+ id: string;
317911
+ accessToken?: string | undefined;
317912
+ channelSecret?: string | undefined;
317913
+ additionalCredentials?: any;
317914
+ senderId?: string | undefined;
317915
+ whatsapp?: {
317916
+ wabaBusinessId?: string | null | undefined;
317917
+ wabaExternalId?: string | null | undefined;
317918
+ phoneNumberId?: string | null | undefined;
317919
+ email?: string | null | undefined;
317920
+ clientId?: string | null | undefined;
317921
+ channelId?: string | null | undefined;
317922
+ waapiInstanceId?: string | null | undefined;
317923
+ qr?: string | null | undefined;
317924
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317925
+ apiKey?: string | undefined;
317926
+ tier?: "basic" | "regular" | "premium" | undefined;
317927
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317928
+ } | undefined;
317929
+ vonageCredentials?: {
317930
+ apiKey: string;
317931
+ mobileNumber: string;
317932
+ apiSecret: string;
317933
+ } | undefined;
317934
+ lineRichMenuId?: string | null | undefined;
317935
+ messengerIntegrationType?: "own" | "business" | undefined;
317936
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
317937
+ isCSATEnabled?: boolean | undefined;
317938
+ }>;
317939
+ platformId: import("zod").ZodString;
317940
+ connectedUserId: import("zod").ZodString;
317941
+ connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
317942
+ }, "strip", import("zod").ZodTypeAny, {
317943
+ name: string;
317944
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
317945
+ metadata: {
317946
+ name: string;
317947
+ id: string;
317948
+ accessToken?: string | undefined;
317949
+ channelSecret?: string | undefined;
317950
+ additionalCredentials?: any;
317951
+ senderId?: string | undefined;
317952
+ whatsapp?: {
317953
+ wabaBusinessId?: string | null | undefined;
317954
+ wabaExternalId?: string | null | undefined;
317955
+ phoneNumberId?: string | null | undefined;
317956
+ email?: string | null | undefined;
317957
+ clientId?: string | null | undefined;
317958
+ channelId?: string | null | undefined;
317959
+ waapiInstanceId?: string | null | undefined;
317960
+ qr?: string | null | undefined;
317961
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317962
+ apiKey?: string | undefined;
317963
+ tier?: "basic" | "regular" | "premium" | undefined;
317964
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317965
+ } | undefined;
317966
+ vonageCredentials?: {
317967
+ apiKey: string;
317968
+ mobileNumber: string;
317969
+ apiSecret: string;
317970
+ } | undefined;
317971
+ lineRichMenuId?: string | null | undefined;
317972
+ messengerIntegrationType?: "own" | "business" | undefined;
317973
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
317974
+ isCSATEnabled?: boolean | undefined;
317975
+ };
317976
+ platformId: string;
317977
+ connectedUserId: string;
317978
+ connectedUserName?: string | undefined;
317979
+ }, {
317980
+ name: string;
317981
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
317982
+ metadata: {
317983
+ name: string;
317984
+ id: string;
317985
+ accessToken?: string | undefined;
317986
+ channelSecret?: string | undefined;
317987
+ additionalCredentials?: any;
317988
+ senderId?: string | undefined;
317989
+ whatsapp?: {
317990
+ wabaBusinessId?: string | null | undefined;
317991
+ wabaExternalId?: string | null | undefined;
317992
+ phoneNumberId?: string | null | undefined;
317993
+ email?: string | null | undefined;
317994
+ clientId?: string | null | undefined;
317995
+ channelId?: string | null | undefined;
317996
+ waapiInstanceId?: string | null | undefined;
317997
+ qr?: string | null | undefined;
317998
+ status?: "active" | "pending" | "waapi-qr" | undefined;
317999
+ apiKey?: string | undefined;
318000
+ tier?: "basic" | "regular" | "premium" | undefined;
318001
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318002
+ } | undefined;
318003
+ vonageCredentials?: {
318004
+ apiKey: string;
318005
+ mobileNumber: string;
318006
+ apiSecret: string;
318007
+ } | undefined;
318008
+ lineRichMenuId?: string | null | undefined;
318009
+ messengerIntegrationType?: "own" | "business" | undefined;
318010
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318011
+ isCSATEnabled?: boolean | undefined;
318012
+ };
318013
+ platformId: string;
318014
+ connectedUserId: string;
318015
+ connectedUserName?: string | undefined;
318016
+ }>;
318017
+ summary: "Connect message channel";
318018
+ method: "POST";
318019
+ responses: {
318020
+ 200: import("zod").ZodObject<{
318021
+ requestId: import("zod").ZodString;
318022
+ channel: import("zod").ZodObject<{
318023
+ id: import("zod").ZodString;
318024
+ createdAt: import("zod").ZodDate;
318025
+ updatedAt: import("zod").ZodDate;
318026
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318027
+ name: import("zod").ZodString;
318028
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
318029
+ metadata: import("zod").ZodObject<{
318030
+ id: import("zod").ZodString;
318031
+ name: import("zod").ZodString;
318032
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
318033
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
318034
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
318035
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
318036
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
318037
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318038
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318039
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318040
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318041
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318042
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318043
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318044
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318045
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
318046
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
318047
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
318048
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
318049
+ }, "strip", import("zod").ZodTypeAny, {
318050
+ wabaBusinessId?: string | null | undefined;
318051
+ wabaExternalId?: string | null | undefined;
318052
+ phoneNumberId?: string | null | undefined;
318053
+ email?: string | null | undefined;
318054
+ clientId?: string | null | undefined;
318055
+ channelId?: string | null | undefined;
318056
+ waapiInstanceId?: string | null | undefined;
318057
+ qr?: string | null | undefined;
318058
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318059
+ apiKey?: string | undefined;
318060
+ tier?: "basic" | "regular" | "premium" | undefined;
318061
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318062
+ }, {
318063
+ wabaBusinessId?: string | null | undefined;
318064
+ wabaExternalId?: string | null | undefined;
318065
+ phoneNumberId?: string | null | undefined;
318066
+ email?: string | null | undefined;
318067
+ clientId?: string | null | undefined;
318068
+ channelId?: string | null | undefined;
318069
+ waapiInstanceId?: string | null | undefined;
318070
+ qr?: string | null | undefined;
318071
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318072
+ apiKey?: string | undefined;
318073
+ tier?: "basic" | "regular" | "premium" | undefined;
318074
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318075
+ }>>;
318076
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
318077
+ mobileNumber: import("zod").ZodString;
318078
+ apiKey: import("zod").ZodString;
318079
+ apiSecret: import("zod").ZodString;
318080
+ }, "strip", import("zod").ZodTypeAny, {
318081
+ apiKey: string;
318082
+ mobileNumber: string;
318083
+ apiSecret: string;
318084
+ }, {
318085
+ apiKey: string;
318086
+ mobileNumber: string;
318087
+ apiSecret: string;
318088
+ }>>;
318089
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
318090
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
318091
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
318092
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
318093
+ }, "strip", import("zod").ZodTypeAny, {
318094
+ name: string;
318095
+ id: string;
318096
+ accessToken?: string | undefined;
318097
+ channelSecret?: string | undefined;
318098
+ additionalCredentials?: any;
318099
+ senderId?: string | undefined;
318100
+ whatsapp?: {
318101
+ wabaBusinessId?: string | null | undefined;
318102
+ wabaExternalId?: string | null | undefined;
318103
+ phoneNumberId?: string | null | undefined;
318104
+ email?: string | null | undefined;
318105
+ clientId?: string | null | undefined;
318106
+ channelId?: string | null | undefined;
318107
+ waapiInstanceId?: string | null | undefined;
318108
+ qr?: string | null | undefined;
318109
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318110
+ apiKey?: string | undefined;
318111
+ tier?: "basic" | "regular" | "premium" | undefined;
318112
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318113
+ } | undefined;
318114
+ vonageCredentials?: {
318115
+ apiKey: string;
318116
+ mobileNumber: string;
318117
+ apiSecret: string;
318118
+ } | undefined;
318119
+ lineRichMenuId?: string | null | undefined;
318120
+ messengerIntegrationType?: "own" | "business" | undefined;
318121
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318122
+ isCSATEnabled?: boolean | undefined;
318123
+ }, {
318124
+ name: string;
318125
+ id: string;
318126
+ accessToken?: string | undefined;
318127
+ channelSecret?: string | undefined;
318128
+ additionalCredentials?: any;
318129
+ senderId?: string | undefined;
318130
+ whatsapp?: {
318131
+ wabaBusinessId?: string | null | undefined;
318132
+ wabaExternalId?: string | null | undefined;
318133
+ phoneNumberId?: string | null | undefined;
318134
+ email?: string | null | undefined;
318135
+ clientId?: string | null | undefined;
318136
+ channelId?: string | null | undefined;
318137
+ waapiInstanceId?: string | null | undefined;
318138
+ qr?: string | null | undefined;
318139
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318140
+ apiKey?: string | undefined;
318141
+ tier?: "basic" | "regular" | "premium" | undefined;
318142
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318143
+ } | undefined;
318144
+ vonageCredentials?: {
318145
+ apiKey: string;
318146
+ mobileNumber: string;
318147
+ apiSecret: string;
318148
+ } | undefined;
318149
+ lineRichMenuId?: string | null | undefined;
318150
+ messengerIntegrationType?: "own" | "business" | undefined;
318151
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318152
+ isCSATEnabled?: boolean | undefined;
318153
+ }>;
318154
+ brandName: import("zod").ZodString;
318155
+ platformId: import("zod").ZodString;
318156
+ status: import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>;
318157
+ isReloginRequired: import("zod").ZodBoolean;
318158
+ connectedUserName: import("zod").ZodString;
318159
+ connectedUserId: import("zod").ZodString;
318160
+ botpressBot: import("zod").ZodNullable<import("zod").ZodObject<{
318161
+ id: import("zod").ZodString;
318162
+ name: import("zod").ZodString;
318163
+ botId: import("zod").ZodString;
318164
+ integrationId: import("zod").ZodString;
318165
+ accessToken: import("zod").ZodString;
318166
+ }, "strip", import("zod").ZodTypeAny, {
318167
+ name: string;
318168
+ id: string;
318169
+ accessToken: string;
318170
+ botId: string;
318171
+ integrationId: string;
318172
+ }, {
318173
+ name: string;
318174
+ id: string;
318175
+ accessToken: string;
318176
+ botId: string;
318177
+ integrationId: string;
318178
+ }>>;
318179
+ actor: import("zod").ZodObject<{
318180
+ id: import("zod").ZodString;
318181
+ createdAt: import("zod").ZodDate;
318182
+ updatedAt: import("zod").ZodDate;
318183
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318184
+ name: import("zod").ZodString;
318185
+ email: import("zod").ZodString;
318186
+ emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318187
+ password: import("zod").ZodString;
318188
+ address: import("zod").ZodNullable<import("zod").ZodString>;
318189
+ phone: import("zod").ZodNullable<import("zod").ZodString>;
318190
+ notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
318191
+ roles: import("zod").ZodArray<import("zod").ZodObject<{
318192
+ id: import("zod").ZodString;
318193
+ createdAt: import("zod").ZodDate;
318194
+ updatedAt: import("zod").ZodDate;
318195
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318196
+ systemName: import("zod").ZodString;
318197
+ displayName: import("zod").ZodString;
318198
+ description: import("zod").ZodNullable<import("zod").ZodString>;
318199
+ permissions: import("zod").ZodArray<import("zod").ZodObject<{
318200
+ id: import("zod").ZodString;
318201
+ createdAt: import("zod").ZodDate;
318202
+ updatedAt: import("zod").ZodDate;
318203
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318204
+ systemName: import("zod").ZodString;
318205
+ displayName: import("zod").ZodString;
318206
+ description: import("zod").ZodNullable<import("zod").ZodString>;
318207
+ }, "strip", import("zod").ZodTypeAny, {
318208
+ id: string;
318209
+ description: string | null;
318210
+ createdAt: Date;
318211
+ updatedAt: Date;
318212
+ deletedAt: Date | null;
318213
+ systemName: string;
318214
+ displayName: string;
318215
+ }, {
318216
+ id: string;
318217
+ description: string | null;
318218
+ createdAt: Date;
318219
+ updatedAt: Date;
318220
+ deletedAt: Date | null;
318221
+ systemName: string;
318222
+ displayName: string;
318223
+ }>, "many">;
318224
+ }, "strip", import("zod").ZodTypeAny, {
318225
+ id: string;
318226
+ description: string | null;
318227
+ createdAt: Date;
318228
+ updatedAt: Date;
318229
+ deletedAt: Date | null;
318230
+ systemName: string;
318231
+ displayName: string;
318232
+ permissions: {
318233
+ id: string;
318234
+ description: string | null;
318235
+ createdAt: Date;
318236
+ updatedAt: Date;
318237
+ deletedAt: Date | null;
318238
+ systemName: string;
318239
+ displayName: string;
318240
+ }[];
318241
+ }, {
318242
+ id: string;
318243
+ description: string | null;
318244
+ createdAt: Date;
318245
+ updatedAt: Date;
318246
+ deletedAt: Date | null;
318247
+ systemName: string;
318248
+ displayName: string;
318249
+ permissions: {
318250
+ id: string;
318251
+ description: string | null;
318252
+ createdAt: Date;
318253
+ updatedAt: Date;
318254
+ deletedAt: Date | null;
318255
+ systemName: string;
318256
+ displayName: string;
318257
+ }[];
318258
+ }>, "many">;
318259
+ extension: import("zod").ZodObject<{
318260
+ id: import("zod").ZodString;
318261
+ createdAt: import("zod").ZodDate;
318262
+ updatedAt: import("zod").ZodDate;
318263
+ deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
318264
+ userId: import("zod").ZodNullable<import("zod").ZodString>;
318265
+ sipServerUrl: import("zod").ZodString;
318266
+ sipUserName: import("zod").ZodString;
318267
+ webphoneLoginUser: import("zod").ZodString;
318268
+ extensionId: import("zod").ZodNullable<import("zod").ZodString>;
318269
+ extensionName: import("zod").ZodString;
318270
+ telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
318271
+ }, "strip", import("zod").ZodTypeAny, {
318272
+ id: string;
318273
+ createdAt: Date;
318274
+ updatedAt: Date;
318275
+ deletedAt: Date | null;
318276
+ userId: string | null;
318277
+ sipServerUrl: string;
318278
+ sipUserName: string;
318279
+ webphoneLoginUser: string;
318280
+ extensionId: string | null;
318281
+ extensionName: string;
318282
+ telephonySignature: string | null;
318283
+ }, {
318284
+ id: string;
318285
+ createdAt: Date;
318286
+ updatedAt: Date;
318287
+ deletedAt: Date | null;
318288
+ userId: string | null;
318289
+ sipServerUrl: string;
318290
+ sipUserName: string;
318291
+ webphoneLoginUser: string;
318292
+ extensionId: string | null;
318293
+ extensionName: string;
318294
+ telephonySignature: string | null;
318295
+ }>;
318296
+ }, "strip", import("zod").ZodTypeAny, {
318297
+ name: string;
318298
+ id: string;
318299
+ address: string | null;
318300
+ email: string;
318301
+ createdAt: Date;
318302
+ updatedAt: Date;
318303
+ deletedAt: Date | null;
318304
+ emailVerifiedAt: Date | null;
318305
+ password: string;
318306
+ phone: string | null;
318307
+ notificationCount: number | null;
318308
+ roles: {
318309
+ id: string;
318310
+ description: string | null;
318311
+ createdAt: Date;
318312
+ updatedAt: Date;
318313
+ deletedAt: Date | null;
318314
+ systemName: string;
318315
+ displayName: string;
318316
+ permissions: {
318317
+ id: string;
318318
+ description: string | null;
318319
+ createdAt: Date;
318320
+ updatedAt: Date;
318321
+ deletedAt: Date | null;
318322
+ systemName: string;
318323
+ displayName: string;
318324
+ }[];
318325
+ }[];
318326
+ extension: {
318327
+ id: string;
318328
+ createdAt: Date;
318329
+ updatedAt: Date;
318330
+ deletedAt: Date | null;
318331
+ userId: string | null;
318332
+ sipServerUrl: string;
318333
+ sipUserName: string;
318334
+ webphoneLoginUser: string;
318335
+ extensionId: string | null;
318336
+ extensionName: string;
318337
+ telephonySignature: string | null;
318338
+ };
318339
+ }, {
318340
+ name: string;
318341
+ id: string;
318342
+ address: string | null;
318343
+ email: string;
318344
+ createdAt: Date;
318345
+ updatedAt: Date;
318346
+ deletedAt: Date | null;
318347
+ emailVerifiedAt: Date | null;
318348
+ password: string;
318349
+ phone: string | null;
318350
+ notificationCount: number | null;
318351
+ roles: {
318352
+ id: string;
318353
+ description: string | null;
318354
+ createdAt: Date;
318355
+ updatedAt: Date;
318356
+ deletedAt: Date | null;
318357
+ systemName: string;
318358
+ displayName: string;
318359
+ permissions: {
318360
+ id: string;
318361
+ description: string | null;
318362
+ createdAt: Date;
318363
+ updatedAt: Date;
318364
+ deletedAt: Date | null;
318365
+ systemName: string;
318366
+ displayName: string;
318367
+ }[];
318368
+ }[];
318369
+ extension: {
318370
+ id: string;
318371
+ createdAt: Date;
318372
+ updatedAt: Date;
318373
+ deletedAt: Date | null;
318374
+ userId: string | null;
318375
+ sipServerUrl: string;
318376
+ sipUserName: string;
318377
+ webphoneLoginUser: string;
318378
+ extensionId: string | null;
318379
+ extensionName: string;
318380
+ telephonySignature: string | null;
318381
+ };
318382
+ }>;
318383
+ }, "strip", import("zod").ZodTypeAny, {
318384
+ name: string;
318385
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
318386
+ id: string;
318387
+ metadata: {
318388
+ name: string;
318389
+ id: string;
318390
+ accessToken?: string | undefined;
318391
+ channelSecret?: string | undefined;
318392
+ additionalCredentials?: any;
318393
+ senderId?: string | undefined;
318394
+ whatsapp?: {
318395
+ wabaBusinessId?: string | null | undefined;
318396
+ wabaExternalId?: string | null | undefined;
318397
+ phoneNumberId?: string | null | undefined;
318398
+ email?: string | null | undefined;
318399
+ clientId?: string | null | undefined;
318400
+ channelId?: string | null | undefined;
318401
+ waapiInstanceId?: string | null | undefined;
318402
+ qr?: string | null | undefined;
318403
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318404
+ apiKey?: string | undefined;
318405
+ tier?: "basic" | "regular" | "premium" | undefined;
318406
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318407
+ } | undefined;
318408
+ vonageCredentials?: {
318409
+ apiKey: string;
318410
+ mobileNumber: string;
318411
+ apiSecret: string;
318412
+ } | undefined;
318413
+ lineRichMenuId?: string | null | undefined;
318414
+ messengerIntegrationType?: "own" | "business" | undefined;
318415
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318416
+ isCSATEnabled?: boolean | undefined;
318417
+ };
318418
+ status: boolean;
318419
+ createdAt: Date;
318420
+ updatedAt: Date;
318421
+ deletedAt: Date | null;
318422
+ actor: {
318423
+ name: string;
318424
+ id: string;
318425
+ address: string | null;
318426
+ email: string;
318427
+ createdAt: Date;
318428
+ updatedAt: Date;
318429
+ deletedAt: Date | null;
318430
+ emailVerifiedAt: Date | null;
318431
+ password: string;
318432
+ phone: string | null;
318433
+ notificationCount: number | null;
318434
+ roles: {
318435
+ id: string;
318436
+ description: string | null;
318437
+ createdAt: Date;
318438
+ updatedAt: Date;
318439
+ deletedAt: Date | null;
318440
+ systemName: string;
318441
+ displayName: string;
318442
+ permissions: {
318443
+ id: string;
318444
+ description: string | null;
318445
+ createdAt: Date;
318446
+ updatedAt: Date;
318447
+ deletedAt: Date | null;
318448
+ systemName: string;
318449
+ displayName: string;
318450
+ }[];
318451
+ }[];
318452
+ extension: {
318453
+ id: string;
318454
+ createdAt: Date;
318455
+ updatedAt: Date;
318456
+ deletedAt: Date | null;
318457
+ userId: string | null;
318458
+ sipServerUrl: string;
318459
+ sipUserName: string;
318460
+ webphoneLoginUser: string;
318461
+ extensionId: string | null;
318462
+ extensionName: string;
318463
+ telephonySignature: string | null;
318464
+ };
318465
+ };
318466
+ brandName: string;
318467
+ platformId: string;
318468
+ isReloginRequired: boolean;
318469
+ connectedUserName: string;
318470
+ connectedUserId: string;
318471
+ botpressBot: {
318472
+ name: string;
318473
+ id: string;
318474
+ accessToken: string;
318475
+ botId: string;
318476
+ integrationId: string;
318477
+ } | null;
318478
+ }, {
318479
+ name: string;
318480
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
318481
+ id: string;
318482
+ metadata: {
318483
+ name: string;
318484
+ id: string;
318485
+ accessToken?: string | undefined;
318486
+ channelSecret?: string | undefined;
318487
+ additionalCredentials?: any;
318488
+ senderId?: string | undefined;
318489
+ whatsapp?: {
318490
+ wabaBusinessId?: string | null | undefined;
318491
+ wabaExternalId?: string | null | undefined;
318492
+ phoneNumberId?: string | null | undefined;
318493
+ email?: string | null | undefined;
318494
+ clientId?: string | null | undefined;
318495
+ channelId?: string | null | undefined;
318496
+ waapiInstanceId?: string | null | undefined;
318497
+ qr?: string | null | undefined;
318498
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318499
+ apiKey?: string | undefined;
318500
+ tier?: "basic" | "regular" | "premium" | undefined;
318501
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318502
+ } | undefined;
318503
+ vonageCredentials?: {
318504
+ apiKey: string;
318505
+ mobileNumber: string;
318506
+ apiSecret: string;
318507
+ } | undefined;
318508
+ lineRichMenuId?: string | null | undefined;
318509
+ messengerIntegrationType?: "own" | "business" | undefined;
318510
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318511
+ isCSATEnabled?: boolean | undefined;
318512
+ };
318513
+ status: boolean;
318514
+ createdAt: Date;
318515
+ updatedAt: Date;
318516
+ deletedAt: Date | null;
318517
+ actor: {
318518
+ name: string;
318519
+ id: string;
318520
+ address: string | null;
318521
+ email: string;
318522
+ createdAt: Date;
318523
+ updatedAt: Date;
318524
+ deletedAt: Date | null;
318525
+ emailVerifiedAt: Date | null;
318526
+ password: string;
318527
+ phone: string | null;
318528
+ notificationCount: number | null;
318529
+ roles: {
318530
+ id: string;
318531
+ description: string | null;
318532
+ createdAt: Date;
318533
+ updatedAt: Date;
318534
+ deletedAt: Date | null;
318535
+ systemName: string;
318536
+ displayName: string;
318537
+ permissions: {
318538
+ id: string;
318539
+ description: string | null;
318540
+ createdAt: Date;
318541
+ updatedAt: Date;
318542
+ deletedAt: Date | null;
318543
+ systemName: string;
318544
+ displayName: string;
318545
+ }[];
318546
+ }[];
318547
+ extension: {
318548
+ id: string;
318549
+ createdAt: Date;
318550
+ updatedAt: Date;
318551
+ deletedAt: Date | null;
318552
+ userId: string | null;
318553
+ sipServerUrl: string;
318554
+ sipUserName: string;
318555
+ webphoneLoginUser: string;
318556
+ extensionId: string | null;
318557
+ extensionName: string;
318558
+ telephonySignature: string | null;
318559
+ };
318560
+ };
318561
+ brandName: string;
318562
+ platformId: string;
318563
+ isReloginRequired: boolean;
318564
+ connectedUserName: string;
318565
+ connectedUserId: string;
318566
+ botpressBot: {
318567
+ name: string;
318568
+ id: string;
318569
+ accessToken: string;
318570
+ botId: string;
318571
+ integrationId: string;
318572
+ } | null;
318573
+ }>;
318574
+ }, "strip", import("zod").ZodTypeAny, {
318575
+ channel: {
318576
+ name: string;
318577
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
318578
+ id: string;
318579
+ metadata: {
318580
+ name: string;
318581
+ id: string;
318582
+ accessToken?: string | undefined;
318583
+ channelSecret?: string | undefined;
318584
+ additionalCredentials?: any;
318585
+ senderId?: string | undefined;
318586
+ whatsapp?: {
318587
+ wabaBusinessId?: string | null | undefined;
318588
+ wabaExternalId?: string | null | undefined;
318589
+ phoneNumberId?: string | null | undefined;
318590
+ email?: string | null | undefined;
318591
+ clientId?: string | null | undefined;
318592
+ channelId?: string | null | undefined;
318593
+ waapiInstanceId?: string | null | undefined;
318594
+ qr?: string | null | undefined;
318595
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318596
+ apiKey?: string | undefined;
318597
+ tier?: "basic" | "regular" | "premium" | undefined;
318598
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318599
+ } | undefined;
318600
+ vonageCredentials?: {
318601
+ apiKey: string;
318602
+ mobileNumber: string;
318603
+ apiSecret: string;
318604
+ } | undefined;
318605
+ lineRichMenuId?: string | null | undefined;
318606
+ messengerIntegrationType?: "own" | "business" | undefined;
318607
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318608
+ isCSATEnabled?: boolean | undefined;
318609
+ };
318610
+ status: boolean;
318611
+ createdAt: Date;
318612
+ updatedAt: Date;
318613
+ deletedAt: Date | null;
318614
+ actor: {
318615
+ name: string;
318616
+ id: string;
318617
+ address: string | null;
318618
+ email: string;
318619
+ createdAt: Date;
318620
+ updatedAt: Date;
318621
+ deletedAt: Date | null;
318622
+ emailVerifiedAt: Date | null;
318623
+ password: string;
318624
+ phone: string | null;
318625
+ notificationCount: number | null;
318626
+ roles: {
318627
+ id: string;
318628
+ description: string | null;
318629
+ createdAt: Date;
318630
+ updatedAt: Date;
318631
+ deletedAt: Date | null;
318632
+ systemName: string;
318633
+ displayName: string;
318634
+ permissions: {
318635
+ id: string;
318636
+ description: string | null;
318637
+ createdAt: Date;
318638
+ updatedAt: Date;
318639
+ deletedAt: Date | null;
318640
+ systemName: string;
318641
+ displayName: string;
318642
+ }[];
318643
+ }[];
318644
+ extension: {
318645
+ id: string;
318646
+ createdAt: Date;
318647
+ updatedAt: Date;
318648
+ deletedAt: Date | null;
318649
+ userId: string | null;
318650
+ sipServerUrl: string;
318651
+ sipUserName: string;
318652
+ webphoneLoginUser: string;
318653
+ extensionId: string | null;
318654
+ extensionName: string;
318655
+ telephonySignature: string | null;
318656
+ };
318657
+ };
318658
+ brandName: string;
318659
+ platformId: string;
318660
+ isReloginRequired: boolean;
318661
+ connectedUserName: string;
318662
+ connectedUserId: string;
318663
+ botpressBot: {
318664
+ name: string;
318665
+ id: string;
318666
+ accessToken: string;
318667
+ botId: string;
318668
+ integrationId: string;
318669
+ } | null;
318670
+ };
318671
+ requestId: string;
318672
+ }, {
318673
+ channel: {
318674
+ name: string;
318675
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
318676
+ id: string;
318677
+ metadata: {
318678
+ name: string;
318679
+ id: string;
318680
+ accessToken?: string | undefined;
318681
+ channelSecret?: string | undefined;
318682
+ additionalCredentials?: any;
318683
+ senderId?: string | undefined;
318684
+ whatsapp?: {
318685
+ wabaBusinessId?: string | null | undefined;
318686
+ wabaExternalId?: string | null | undefined;
318687
+ phoneNumberId?: string | null | undefined;
318688
+ email?: string | null | undefined;
318689
+ clientId?: string | null | undefined;
318690
+ channelId?: string | null | undefined;
318691
+ waapiInstanceId?: string | null | undefined;
318692
+ qr?: string | null | undefined;
318693
+ status?: "active" | "pending" | "waapi-qr" | undefined;
318694
+ apiKey?: string | undefined;
318695
+ tier?: "basic" | "regular" | "premium" | undefined;
318696
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
318697
+ } | undefined;
318698
+ vonageCredentials?: {
318699
+ apiKey: string;
318700
+ mobileNumber: string;
318701
+ apiSecret: string;
318702
+ } | undefined;
318703
+ lineRichMenuId?: string | null | undefined;
318704
+ messengerIntegrationType?: "own" | "business" | undefined;
318705
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
318706
+ isCSATEnabled?: boolean | undefined;
318707
+ };
318708
+ status: boolean;
318709
+ createdAt: Date;
318710
+ updatedAt: Date;
318711
+ deletedAt: Date | null;
318712
+ actor: {
318713
+ name: string;
318714
+ id: string;
318715
+ address: string | null;
318716
+ email: string;
318717
+ createdAt: Date;
318718
+ updatedAt: Date;
318719
+ deletedAt: Date | null;
318720
+ emailVerifiedAt: Date | null;
318721
+ password: string;
318722
+ phone: string | null;
318723
+ notificationCount: number | null;
318724
+ roles: {
318725
+ id: string;
318726
+ description: string | null;
318727
+ createdAt: Date;
318728
+ updatedAt: Date;
318729
+ deletedAt: Date | null;
318730
+ systemName: string;
318731
+ displayName: string;
318732
+ permissions: {
318733
+ id: string;
318734
+ description: string | null;
318735
+ createdAt: Date;
318736
+ updatedAt: Date;
318737
+ deletedAt: Date | null;
318738
+ systemName: string;
318739
+ displayName: string;
318740
+ }[];
318741
+ }[];
318742
+ extension: {
318743
+ id: string;
318744
+ createdAt: Date;
318745
+ updatedAt: Date;
318746
+ deletedAt: Date | null;
318747
+ userId: string | null;
318748
+ sipServerUrl: string;
318749
+ sipUserName: string;
318750
+ webphoneLoginUser: string;
318751
+ extensionId: string | null;
318752
+ extensionName: string;
318753
+ telephonySignature: string | null;
318754
+ };
318755
+ };
318756
+ brandName: string;
318757
+ platformId: string;
318758
+ isReloginRequired: boolean;
318759
+ connectedUserName: string;
318760
+ connectedUserId: string;
318761
+ botpressBot: {
318762
+ name: string;
318763
+ id: string;
318764
+ accessToken: string;
318765
+ botId: string;
318766
+ integrationId: string;
318767
+ } | null;
318768
+ };
318769
+ requestId: string;
318770
+ }>;
318771
+ 408: import("zod").ZodObject<{
318772
+ message: import("zod").ZodString;
318773
+ error: import("zod").ZodAny;
318774
+ }, "strip", import("zod").ZodTypeAny, {
318775
+ message: string;
318776
+ error?: any;
318777
+ }, {
318778
+ message: string;
318779
+ error?: any;
318780
+ }>;
318781
+ };
318782
+ path: "settings/channel/instagram/connect";
316746
318783
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
316747
318784
  'x-tenant': import("zod").ZodString;
316748
318785
  'x-service-token': import("zod").ZodString;
@@ -316761,464 +318798,19 @@ export declare const channelSettingContract: {
316761
318798
  }>>>;
316762
318799
  };
316763
318800
  };
316764
- line: {
318801
+ viber: {
316765
318802
  connect: {
316766
318803
  body: import("zod").ZodObject<{
316767
- lineId: import("zod").ZodOptional<import("zod").ZodString>;
316768
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
316769
- lineSecret: import("zod").ZodOptional<import("zod").ZodString>;
316770
- brandName: import("zod").ZodOptional<import("zod").ZodString>;
316771
318804
  name: import("zod").ZodString;
316772
- }, "strip", import("zod").ZodTypeAny, {
316773
- name: string;
316774
- lineId?: string | undefined;
316775
- accessToken?: string | undefined;
316776
- lineSecret?: string | undefined;
316777
- brandName?: string | undefined;
316778
- }, {
316779
- name: string;
316780
- lineId?: string | undefined;
316781
- accessToken?: string | undefined;
316782
- lineSecret?: string | undefined;
316783
- brandName?: string | undefined;
316784
- }>;
316785
- summary: "Connect line channel";
316786
- method: "POST";
316787
- responses: {
316788
- 200: import("zod").ZodObject<{
316789
- requestId: import("zod").ZodString;
316790
- }, "strip", import("zod").ZodTypeAny, {
316791
- requestId: string;
316792
- }, {
316793
- requestId: string;
316794
- }>;
316795
- 408: import("zod").ZodObject<{
316796
- message: import("zod").ZodString;
316797
- error: import("zod").ZodAny;
316798
- }, "strip", import("zod").ZodTypeAny, {
316799
- message: string;
316800
- error?: any;
316801
- }, {
316802
- message: string;
316803
- error?: any;
316804
- }>;
316805
- };
316806
- path: "settings/channel/line/connect";
316807
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
316808
- 'x-tenant': import("zod").ZodString;
316809
- 'x-service-token': import("zod").ZodString;
316810
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
316811
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
316812
- }, "strip", import("zod").ZodTypeAny, {
316813
- 'x-tenant': string;
316814
- 'x-service-token': string;
316815
- 'x-client-timezone': string;
316816
- 'x-code'?: string | undefined;
316817
- }, {
316818
- 'x-tenant': string;
316819
- 'x-service-token': string;
316820
- 'x-code'?: string | undefined;
316821
- 'x-client-timezone'?: string | undefined;
316822
- }>>>;
316823
- };
316824
- };
316825
- instagram: {
316826
- getPages: {
316827
- method: "GET";
316828
- query: import("zod").ZodObject<{
316829
318805
  accessToken: import("zod").ZodString;
316830
- userId: import("zod").ZodString;
316831
- }, "strip", import("zod").ZodTypeAny, {
316832
- userId: string;
316833
- accessToken: string;
316834
- }, {
316835
- userId: string;
316836
- accessToken: string;
316837
- }>;
316838
- responses: {
316839
- 200: import("zod").ZodObject<{
316840
- requestId: import("zod").ZodString;
316841
- data: import("zod").ZodObject<{
316842
- data: import("zod").ZodArray<import("zod").ZodObject<{
316843
- access_token: import("zod").ZodString;
316844
- instagram_business_account: import("zod").ZodObject<{
316845
- username: import("zod").ZodString;
316846
- name: import("zod").ZodString;
316847
- ig_id: import("zod").ZodNumber;
316848
- id: import("zod").ZodString;
316849
- }, "strip", import("zod").ZodTypeAny, {
316850
- name: string;
316851
- id: string;
316852
- username: string;
316853
- ig_id: number;
316854
- }, {
316855
- name: string;
316856
- id: string;
316857
- username: string;
316858
- ig_id: number;
316859
- }>;
316860
- id: import("zod").ZodString;
316861
- name: import("zod").ZodString;
316862
- }, "strip", import("zod").ZodTypeAny, {
316863
- name: string;
316864
- id: string;
316865
- access_token: string;
316866
- instagram_business_account: {
316867
- name: string;
316868
- id: string;
316869
- username: string;
316870
- ig_id: number;
316871
- };
316872
- }, {
316873
- name: string;
316874
- id: string;
316875
- access_token: string;
316876
- instagram_business_account: {
316877
- name: string;
316878
- id: string;
316879
- username: string;
316880
- ig_id: number;
316881
- };
316882
- }>, "many">;
316883
- paging: import("zod").ZodOptional<import("zod").ZodObject<{
316884
- cursors: import("zod").ZodObject<{
316885
- before: import("zod").ZodOptional<import("zod").ZodString>;
316886
- after: import("zod").ZodOptional<import("zod").ZodString>;
316887
- }, "strip", import("zod").ZodTypeAny, {
316888
- before?: string | undefined;
316889
- after?: string | undefined;
316890
- }, {
316891
- before?: string | undefined;
316892
- after?: string | undefined;
316893
- }>;
316894
- }, "strip", import("zod").ZodTypeAny, {
316895
- cursors: {
316896
- before?: string | undefined;
316897
- after?: string | undefined;
316898
- };
316899
- }, {
316900
- cursors: {
316901
- before?: string | undefined;
316902
- after?: string | undefined;
316903
- };
316904
- }>>;
316905
- }, "strip", import("zod").ZodTypeAny, {
316906
- data: {
316907
- name: string;
316908
- id: string;
316909
- access_token: string;
316910
- instagram_business_account: {
316911
- name: string;
316912
- id: string;
316913
- username: string;
316914
- ig_id: number;
316915
- };
316916
- }[];
316917
- paging?: {
316918
- cursors: {
316919
- before?: string | undefined;
316920
- after?: string | undefined;
316921
- };
316922
- } | undefined;
316923
- }, {
316924
- data: {
316925
- name: string;
316926
- id: string;
316927
- access_token: string;
316928
- instagram_business_account: {
316929
- name: string;
316930
- id: string;
316931
- username: string;
316932
- ig_id: number;
316933
- };
316934
- }[];
316935
- paging?: {
316936
- cursors: {
316937
- before?: string | undefined;
316938
- after?: string | undefined;
316939
- };
316940
- } | undefined;
316941
- }>;
316942
- }, "strip", import("zod").ZodTypeAny, {
316943
- data: {
316944
- data: {
316945
- name: string;
316946
- id: string;
316947
- access_token: string;
316948
- instagram_business_account: {
316949
- name: string;
316950
- id: string;
316951
- username: string;
316952
- ig_id: number;
316953
- };
316954
- }[];
316955
- paging?: {
316956
- cursors: {
316957
- before?: string | undefined;
316958
- after?: string | undefined;
316959
- };
316960
- } | undefined;
316961
- };
316962
- requestId: string;
316963
- }, {
316964
- data: {
316965
- data: {
316966
- name: string;
316967
- id: string;
316968
- access_token: string;
316969
- instagram_business_account: {
316970
- name: string;
316971
- id: string;
316972
- username: string;
316973
- ig_id: number;
316974
- };
316975
- }[];
316976
- paging?: {
316977
- cursors: {
316978
- before?: string | undefined;
316979
- after?: string | undefined;
316980
- };
316981
- } | undefined;
316982
- };
316983
- requestId: string;
316984
- }>;
316985
- 500: import("zod").ZodObject<{
316986
- message: import("zod").ZodString;
316987
- error: import("zod").ZodAny;
316988
- }, "strip", import("zod").ZodTypeAny, {
316989
- message: string;
316990
- error?: any;
316991
- }, {
316992
- message: string;
316993
- error?: any;
316994
- }>;
316995
- };
316996
- path: "settings/channel/instagram/pages";
316997
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
316998
- 'x-tenant': import("zod").ZodString;
316999
- 'x-service-token': import("zod").ZodString;
317000
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
317001
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
317002
- }, "strip", import("zod").ZodTypeAny, {
317003
- 'x-tenant': string;
317004
- 'x-service-token': string;
317005
- 'x-client-timezone': string;
317006
- 'x-code'?: string | undefined;
317007
- }, {
317008
- 'x-tenant': string;
317009
- 'x-service-token': string;
317010
- 'x-code'?: string | undefined;
317011
- 'x-client-timezone'?: string | undefined;
317012
- }>>>;
317013
- };
317014
- connect: {
317015
- body: import("zod").ZodObject<{
317016
- name: import("zod").ZodString;
317017
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
317018
- metadata: import("zod").ZodObject<{
317019
- id: import("zod").ZodString;
317020
- name: import("zod").ZodString;
317021
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
317022
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
317023
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
317024
- senderId: import("zod").ZodOptional<import("zod").ZodString>;
317025
- whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
317026
- wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317027
- wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317028
- phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317029
- email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317030
- clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317031
- channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317032
- waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317033
- qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317034
- status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
317035
- apiKey: import("zod").ZodOptional<import("zod").ZodString>;
317036
- tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
317037
- integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
317038
- }, "strip", import("zod").ZodTypeAny, {
317039
- wabaBusinessId?: string | null | undefined;
317040
- wabaExternalId?: string | null | undefined;
317041
- phoneNumberId?: string | null | undefined;
317042
- email?: string | null | undefined;
317043
- clientId?: string | null | undefined;
317044
- channelId?: string | null | undefined;
317045
- waapiInstanceId?: string | null | undefined;
317046
- qr?: string | null | undefined;
317047
- status?: "active" | "pending" | "waapi-qr" | undefined;
317048
- apiKey?: string | undefined;
317049
- tier?: "basic" | "regular" | "premium" | undefined;
317050
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317051
- }, {
317052
- wabaBusinessId?: string | null | undefined;
317053
- wabaExternalId?: string | null | undefined;
317054
- phoneNumberId?: string | null | undefined;
317055
- email?: string | null | undefined;
317056
- clientId?: string | null | undefined;
317057
- channelId?: string | null | undefined;
317058
- waapiInstanceId?: string | null | undefined;
317059
- qr?: string | null | undefined;
317060
- status?: "active" | "pending" | "waapi-qr" | undefined;
317061
- apiKey?: string | undefined;
317062
- tier?: "basic" | "regular" | "premium" | undefined;
317063
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317064
- }>>;
317065
- vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
317066
- mobileNumber: import("zod").ZodString;
317067
- apiKey: import("zod").ZodString;
317068
- apiSecret: import("zod").ZodString;
317069
- }, "strip", import("zod").ZodTypeAny, {
317070
- apiKey: string;
317071
- mobileNumber: string;
317072
- apiSecret: string;
317073
- }, {
317074
- apiKey: string;
317075
- mobileNumber: string;
317076
- apiSecret: string;
317077
- }>>;
317078
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
317079
- messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
317080
- facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
317081
- isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
317082
- }, "strip", import("zod").ZodTypeAny, {
317083
- name: string;
317084
- id: string;
317085
- accessToken?: string | undefined;
317086
- channelSecret?: string | undefined;
317087
- additionalCredentials?: any;
317088
- senderId?: string | undefined;
317089
- whatsapp?: {
317090
- wabaBusinessId?: string | null | undefined;
317091
- wabaExternalId?: string | null | undefined;
317092
- phoneNumberId?: string | null | undefined;
317093
- email?: string | null | undefined;
317094
- clientId?: string | null | undefined;
317095
- channelId?: string | null | undefined;
317096
- waapiInstanceId?: string | null | undefined;
317097
- qr?: string | null | undefined;
317098
- status?: "active" | "pending" | "waapi-qr" | undefined;
317099
- apiKey?: string | undefined;
317100
- tier?: "basic" | "regular" | "premium" | undefined;
317101
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317102
- } | undefined;
317103
- vonageCredentials?: {
317104
- apiKey: string;
317105
- mobileNumber: string;
317106
- apiSecret: string;
317107
- } | undefined;
317108
- lineRichMenuId?: string | null | undefined;
317109
- messengerIntegrationType?: "own" | "business" | undefined;
317110
- facebookFeedIntegrationType?: "own" | "business" | undefined;
317111
- isCSATEnabled?: boolean | undefined;
317112
- }, {
317113
- name: string;
317114
- id: string;
317115
- accessToken?: string | undefined;
317116
- channelSecret?: string | undefined;
317117
- additionalCredentials?: any;
317118
- senderId?: string | undefined;
317119
- whatsapp?: {
317120
- wabaBusinessId?: string | null | undefined;
317121
- wabaExternalId?: string | null | undefined;
317122
- phoneNumberId?: string | null | undefined;
317123
- email?: string | null | undefined;
317124
- clientId?: string | null | undefined;
317125
- channelId?: string | null | undefined;
317126
- waapiInstanceId?: string | null | undefined;
317127
- qr?: string | null | undefined;
317128
- status?: "active" | "pending" | "waapi-qr" | undefined;
317129
- apiKey?: string | undefined;
317130
- tier?: "basic" | "regular" | "premium" | undefined;
317131
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317132
- } | undefined;
317133
- vonageCredentials?: {
317134
- apiKey: string;
317135
- mobileNumber: string;
317136
- apiSecret: string;
317137
- } | undefined;
317138
- lineRichMenuId?: string | null | undefined;
317139
- messengerIntegrationType?: "own" | "business" | undefined;
317140
- facebookFeedIntegrationType?: "own" | "business" | undefined;
317141
- isCSATEnabled?: boolean | undefined;
317142
- }>;
317143
- platformId: import("zod").ZodString;
317144
- connectedUserId: import("zod").ZodString;
317145
- connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
317146
318806
  }, "strip", import("zod").ZodTypeAny, {
317147
318807
  name: string;
317148
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
317149
- metadata: {
317150
- name: string;
317151
- id: string;
317152
- accessToken?: string | undefined;
317153
- channelSecret?: string | undefined;
317154
- additionalCredentials?: any;
317155
- senderId?: string | undefined;
317156
- whatsapp?: {
317157
- wabaBusinessId?: string | null | undefined;
317158
- wabaExternalId?: string | null | undefined;
317159
- phoneNumberId?: string | null | undefined;
317160
- email?: string | null | undefined;
317161
- clientId?: string | null | undefined;
317162
- channelId?: string | null | undefined;
317163
- waapiInstanceId?: string | null | undefined;
317164
- qr?: string | null | undefined;
317165
- status?: "active" | "pending" | "waapi-qr" | undefined;
317166
- apiKey?: string | undefined;
317167
- tier?: "basic" | "regular" | "premium" | undefined;
317168
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317169
- } | undefined;
317170
- vonageCredentials?: {
317171
- apiKey: string;
317172
- mobileNumber: string;
317173
- apiSecret: string;
317174
- } | undefined;
317175
- lineRichMenuId?: string | null | undefined;
317176
- messengerIntegrationType?: "own" | "business" | undefined;
317177
- facebookFeedIntegrationType?: "own" | "business" | undefined;
317178
- isCSATEnabled?: boolean | undefined;
317179
- };
317180
- platformId: string;
317181
- connectedUserId: string;
317182
- connectedUserName?: string | undefined;
318808
+ accessToken: string;
317183
318809
  }, {
317184
318810
  name: string;
317185
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
317186
- metadata: {
317187
- name: string;
317188
- id: string;
317189
- accessToken?: string | undefined;
317190
- channelSecret?: string | undefined;
317191
- additionalCredentials?: any;
317192
- senderId?: string | undefined;
317193
- whatsapp?: {
317194
- wabaBusinessId?: string | null | undefined;
317195
- wabaExternalId?: string | null | undefined;
317196
- phoneNumberId?: string | null | undefined;
317197
- email?: string | null | undefined;
317198
- clientId?: string | null | undefined;
317199
- channelId?: string | null | undefined;
317200
- waapiInstanceId?: string | null | undefined;
317201
- qr?: string | null | undefined;
317202
- status?: "active" | "pending" | "waapi-qr" | undefined;
317203
- apiKey?: string | undefined;
317204
- tier?: "basic" | "regular" | "premium" | undefined;
317205
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
317206
- } | undefined;
317207
- vonageCredentials?: {
317208
- apiKey: string;
317209
- mobileNumber: string;
317210
- apiSecret: string;
317211
- } | undefined;
317212
- lineRichMenuId?: string | null | undefined;
317213
- messengerIntegrationType?: "own" | "business" | undefined;
317214
- facebookFeedIntegrationType?: "own" | "business" | undefined;
317215
- isCSATEnabled?: boolean | undefined;
317216
- };
317217
- platformId: string;
317218
- connectedUserId: string;
317219
- connectedUserName?: string | undefined;
318811
+ accessToken: string;
317220
318812
  }>;
317221
- summary: "Connect message channel";
318813
+ summary: "Connect line channel";
317222
318814
  method: "POST";
317223
318815
  responses: {
317224
318816
  200: import("zod").ZodObject<{
@@ -317982,8 +319574,18 @@ export declare const channelSettingContract: {
317982
319574
  message: string;
317983
319575
  error?: any;
317984
319576
  }>;
319577
+ 400: import("zod").ZodObject<{
319578
+ message: import("zod").ZodString;
319579
+ error: import("zod").ZodAny;
319580
+ }, "strip", import("zod").ZodTypeAny, {
319581
+ message: string;
319582
+ error?: any;
319583
+ }, {
319584
+ message: string;
319585
+ error?: any;
319586
+ }>;
317985
319587
  };
317986
- path: "settings/channel/instagram/connect";
319588
+ path: "settings/channel/viber/connect";
317987
319589
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
317988
319590
  'x-tenant': import("zod").ZodString;
317989
319591
  'x-service-token': import("zod").ZodString;
@@ -318002,7 +319604,7 @@ export declare const channelSettingContract: {
318002
319604
  }>>>;
318003
319605
  };
318004
319606
  };
318005
- viber: {
319607
+ telegram: {
318006
319608
  connect: {
318007
319609
  body: import("zod").ZodObject<{
318008
319610
  name: import("zod").ZodString;
@@ -318014,7 +319616,7 @@ export declare const channelSettingContract: {
318014
319616
  name: string;
318015
319617
  accessToken: string;
318016
319618
  }>;
318017
- summary: "Connect line channel";
319619
+ summary: "Connect telegram channel";
318018
319620
  method: "POST";
318019
319621
  responses: {
318020
319622
  200: import("zod").ZodObject<{
@@ -318789,7 +320391,7 @@ export declare const channelSettingContract: {
318789
320391
  error?: any;
318790
320392
  }>;
318791
320393
  };
318792
- path: "settings/channel/viber/connect";
320394
+ path: "settings/channel/telegram/connect";
318793
320395
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
318794
320396
  'x-tenant': import("zod").ZodString;
318795
320397
  'x-service-token': import("zod").ZodString;
@@ -318808,19 +320410,69 @@ export declare const channelSettingContract: {
318808
320410
  }>>>;
318809
320411
  };
318810
320412
  };
318811
- telegram: {
320413
+ webchat: {
318812
320414
  connect: {
318813
320415
  body: import("zod").ZodObject<{
318814
320416
  name: import("zod").ZodString;
318815
- accessToken: import("zod").ZodString;
320417
+ channel: import("zod").ZodObject<{
320418
+ avatar: import("zod").ZodOptional<import("zod").ZodString>;
320419
+ name: import("zod").ZodString;
320420
+ type: import("zod").ZodNativeEnum<typeof import("./channel/validation").ChatwootChannelType>;
320421
+ websiteName: import("zod").ZodString;
320422
+ welcomeTitle: import("zod").ZodString;
320423
+ websiteUrl: import("zod").ZodString;
320424
+ welcomeTagline: import("zod").ZodOptional<import("zod").ZodString>;
320425
+ agentAwayMessage: import("zod").ZodOptional<import("zod").ZodString>;
320426
+ widgetColor: import("zod").ZodOptional<import("zod").ZodString>;
320427
+ }, "strip", import("zod").ZodTypeAny, {
320428
+ name: string;
320429
+ type: import("./channel/validation").ChatwootChannelType;
320430
+ websiteName: string;
320431
+ welcomeTitle: string;
320432
+ websiteUrl: string;
320433
+ avatar?: string | undefined;
320434
+ welcomeTagline?: string | undefined;
320435
+ agentAwayMessage?: string | undefined;
320436
+ widgetColor?: string | undefined;
320437
+ }, {
320438
+ name: string;
320439
+ type: import("./channel/validation").ChatwootChannelType;
320440
+ websiteName: string;
320441
+ welcomeTitle: string;
320442
+ websiteUrl: string;
320443
+ avatar?: string | undefined;
320444
+ welcomeTagline?: string | undefined;
320445
+ agentAwayMessage?: string | undefined;
320446
+ widgetColor?: string | undefined;
320447
+ }>;
318816
320448
  }, "strip", import("zod").ZodTypeAny, {
318817
320449
  name: string;
318818
- accessToken: string;
320450
+ channel: {
320451
+ name: string;
320452
+ type: import("./channel/validation").ChatwootChannelType;
320453
+ websiteName: string;
320454
+ welcomeTitle: string;
320455
+ websiteUrl: string;
320456
+ avatar?: string | undefined;
320457
+ welcomeTagline?: string | undefined;
320458
+ agentAwayMessage?: string | undefined;
320459
+ widgetColor?: string | undefined;
320460
+ };
318819
320461
  }, {
318820
320462
  name: string;
318821
- accessToken: string;
320463
+ channel: {
320464
+ name: string;
320465
+ type: import("./channel/validation").ChatwootChannelType;
320466
+ websiteName: string;
320467
+ welcomeTitle: string;
320468
+ websiteUrl: string;
320469
+ avatar?: string | undefined;
320470
+ welcomeTagline?: string | undefined;
320471
+ agentAwayMessage?: string | undefined;
320472
+ widgetColor?: string | undefined;
320473
+ };
318822
320474
  }>;
318823
- summary: "Connect telegram channel";
320475
+ summary: "Connect message channel";
318824
320476
  method: "POST";
318825
320477
  responses: {
318826
320478
  200: import("zod").ZodObject<{
@@ -319595,7 +321247,7 @@ export declare const channelSettingContract: {
319595
321247
  error?: any;
319596
321248
  }>;
319597
321249
  };
319598
- path: "settings/channel/telegram/connect";
321250
+ path: "settings/channel/webchat/connect";
319599
321251
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
319600
321252
  'x-tenant': import("zod").ZodString;
319601
321253
  'x-service-token': import("zod").ZodString;
@@ -319614,67 +321266,207 @@ export declare const channelSettingContract: {
319614
321266
  }>>>;
319615
321267
  };
319616
321268
  };
319617
- webchat: {
321269
+ whatsapp: {
319618
321270
  connect: {
319619
321271
  body: import("zod").ZodObject<{
319620
321272
  name: import("zod").ZodString;
319621
- channel: import("zod").ZodObject<{
319622
- avatar: import("zod").ZodOptional<import("zod").ZodString>;
321273
+ type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
321274
+ metadata: import("zod").ZodObject<{
321275
+ id: import("zod").ZodString;
319623
321276
  name: import("zod").ZodString;
319624
- type: import("zod").ZodNativeEnum<typeof import("./channel/validation").ChatwootChannelType>;
319625
- websiteName: import("zod").ZodString;
319626
- welcomeTitle: import("zod").ZodString;
319627
- websiteUrl: import("zod").ZodString;
319628
- welcomeTagline: import("zod").ZodOptional<import("zod").ZodString>;
319629
- agentAwayMessage: import("zod").ZodOptional<import("zod").ZodString>;
319630
- widgetColor: import("zod").ZodOptional<import("zod").ZodString>;
321277
+ accessToken: import("zod").ZodOptional<import("zod").ZodString>;
321278
+ channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
321279
+ additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
321280
+ senderId: import("zod").ZodOptional<import("zod").ZodString>;
321281
+ whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
321282
+ wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321283
+ wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321284
+ phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321285
+ email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321286
+ clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321287
+ channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321288
+ waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321289
+ qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321290
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
321291
+ apiKey: import("zod").ZodOptional<import("zod").ZodString>;
321292
+ tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
321293
+ integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
321294
+ }, "strip", import("zod").ZodTypeAny, {
321295
+ wabaBusinessId?: string | null | undefined;
321296
+ wabaExternalId?: string | null | undefined;
321297
+ phoneNumberId?: string | null | undefined;
321298
+ email?: string | null | undefined;
321299
+ clientId?: string | null | undefined;
321300
+ channelId?: string | null | undefined;
321301
+ waapiInstanceId?: string | null | undefined;
321302
+ qr?: string | null | undefined;
321303
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321304
+ apiKey?: string | undefined;
321305
+ tier?: "basic" | "regular" | "premium" | undefined;
321306
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321307
+ }, {
321308
+ wabaBusinessId?: string | null | undefined;
321309
+ wabaExternalId?: string | null | undefined;
321310
+ phoneNumberId?: string | null | undefined;
321311
+ email?: string | null | undefined;
321312
+ clientId?: string | null | undefined;
321313
+ channelId?: string | null | undefined;
321314
+ waapiInstanceId?: string | null | undefined;
321315
+ qr?: string | null | undefined;
321316
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321317
+ apiKey?: string | undefined;
321318
+ tier?: "basic" | "regular" | "premium" | undefined;
321319
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321320
+ }>>;
321321
+ vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
321322
+ mobileNumber: import("zod").ZodString;
321323
+ apiKey: import("zod").ZodString;
321324
+ apiSecret: import("zod").ZodString;
321325
+ }, "strip", import("zod").ZodTypeAny, {
321326
+ apiKey: string;
321327
+ mobileNumber: string;
321328
+ apiSecret: string;
321329
+ }, {
321330
+ apiKey: string;
321331
+ mobileNumber: string;
321332
+ apiSecret: string;
321333
+ }>>;
321334
+ lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
321335
+ messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
321336
+ facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
321337
+ isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
319631
321338
  }, "strip", import("zod").ZodTypeAny, {
319632
321339
  name: string;
319633
- type: import("./channel/validation").ChatwootChannelType;
319634
- websiteName: string;
319635
- welcomeTitle: string;
319636
- websiteUrl: string;
319637
- avatar?: string | undefined;
319638
- welcomeTagline?: string | undefined;
319639
- agentAwayMessage?: string | undefined;
319640
- widgetColor?: string | undefined;
321340
+ id: string;
321341
+ accessToken?: string | undefined;
321342
+ channelSecret?: string | undefined;
321343
+ additionalCredentials?: any;
321344
+ senderId?: string | undefined;
321345
+ whatsapp?: {
321346
+ wabaBusinessId?: string | null | undefined;
321347
+ wabaExternalId?: string | null | undefined;
321348
+ phoneNumberId?: string | null | undefined;
321349
+ email?: string | null | undefined;
321350
+ clientId?: string | null | undefined;
321351
+ channelId?: string | null | undefined;
321352
+ waapiInstanceId?: string | null | undefined;
321353
+ qr?: string | null | undefined;
321354
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321355
+ apiKey?: string | undefined;
321356
+ tier?: "basic" | "regular" | "premium" | undefined;
321357
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321358
+ } | undefined;
321359
+ vonageCredentials?: {
321360
+ apiKey: string;
321361
+ mobileNumber: string;
321362
+ apiSecret: string;
321363
+ } | undefined;
321364
+ lineRichMenuId?: string | null | undefined;
321365
+ messengerIntegrationType?: "own" | "business" | undefined;
321366
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321367
+ isCSATEnabled?: boolean | undefined;
319641
321368
  }, {
319642
321369
  name: string;
319643
- type: import("./channel/validation").ChatwootChannelType;
319644
- websiteName: string;
319645
- welcomeTitle: string;
319646
- websiteUrl: string;
319647
- avatar?: string | undefined;
319648
- welcomeTagline?: string | undefined;
319649
- agentAwayMessage?: string | undefined;
319650
- widgetColor?: string | undefined;
321370
+ id: string;
321371
+ accessToken?: string | undefined;
321372
+ channelSecret?: string | undefined;
321373
+ additionalCredentials?: any;
321374
+ senderId?: string | undefined;
321375
+ whatsapp?: {
321376
+ wabaBusinessId?: string | null | undefined;
321377
+ wabaExternalId?: string | null | undefined;
321378
+ phoneNumberId?: string | null | undefined;
321379
+ email?: string | null | undefined;
321380
+ clientId?: string | null | undefined;
321381
+ channelId?: string | null | undefined;
321382
+ waapiInstanceId?: string | null | undefined;
321383
+ qr?: string | null | undefined;
321384
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321385
+ apiKey?: string | undefined;
321386
+ tier?: "basic" | "regular" | "premium" | undefined;
321387
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321388
+ } | undefined;
321389
+ vonageCredentials?: {
321390
+ apiKey: string;
321391
+ mobileNumber: string;
321392
+ apiSecret: string;
321393
+ } | undefined;
321394
+ lineRichMenuId?: string | null | undefined;
321395
+ messengerIntegrationType?: "own" | "business" | undefined;
321396
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321397
+ isCSATEnabled?: boolean | undefined;
319651
321398
  }>;
321399
+ platformId: import("zod").ZodString;
319652
321400
  }, "strip", import("zod").ZodTypeAny, {
319653
321401
  name: string;
319654
- channel: {
321402
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
321403
+ metadata: {
319655
321404
  name: string;
319656
- type: import("./channel/validation").ChatwootChannelType;
319657
- websiteName: string;
319658
- welcomeTitle: string;
319659
- websiteUrl: string;
319660
- avatar?: string | undefined;
319661
- welcomeTagline?: string | undefined;
319662
- agentAwayMessage?: string | undefined;
319663
- widgetColor?: string | undefined;
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
+ lineRichMenuId?: string | null | undefined;
321430
+ messengerIntegrationType?: "own" | "business" | undefined;
321431
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321432
+ isCSATEnabled?: boolean | undefined;
319664
321433
  };
321434
+ platformId: string;
319665
321435
  }, {
319666
321436
  name: string;
319667
- channel: {
321437
+ type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
321438
+ metadata: {
319668
321439
  name: string;
319669
- type: import("./channel/validation").ChatwootChannelType;
319670
- websiteName: string;
319671
- welcomeTitle: string;
319672
- websiteUrl: string;
319673
- avatar?: string | undefined;
319674
- welcomeTagline?: string | undefined;
319675
- agentAwayMessage?: string | undefined;
319676
- widgetColor?: string | undefined;
321440
+ id: string;
321441
+ accessToken?: string | undefined;
321442
+ channelSecret?: string | undefined;
321443
+ additionalCredentials?: any;
321444
+ senderId?: string | undefined;
321445
+ whatsapp?: {
321446
+ wabaBusinessId?: string | null | undefined;
321447
+ wabaExternalId?: string | null | undefined;
321448
+ phoneNumberId?: string | null | undefined;
321449
+ email?: string | null | undefined;
321450
+ clientId?: string | null | undefined;
321451
+ channelId?: string | null | undefined;
321452
+ waapiInstanceId?: string | null | undefined;
321453
+ qr?: string | null | undefined;
321454
+ status?: "active" | "pending" | "waapi-qr" | undefined;
321455
+ apiKey?: string | undefined;
321456
+ tier?: "basic" | "regular" | "premium" | undefined;
321457
+ integrationType?: "meta" | "360dialog" | "waapi" | undefined;
321458
+ } | undefined;
321459
+ vonageCredentials?: {
321460
+ apiKey: string;
321461
+ mobileNumber: string;
321462
+ apiSecret: string;
321463
+ } | undefined;
321464
+ lineRichMenuId?: string | null | undefined;
321465
+ messengerIntegrationType?: "own" | "business" | undefined;
321466
+ facebookFeedIntegrationType?: "own" | "business" | undefined;
321467
+ isCSATEnabled?: boolean | undefined;
319677
321468
  };
321469
+ platformId: string;
319678
321470
  }>;
319679
321471
  summary: "Connect message channel";
319680
321472
  method: "POST";
@@ -320440,7 +322232,81 @@ export declare const channelSettingContract: {
320440
322232
  message: string;
320441
322233
  error?: any;
320442
322234
  }>;
320443
- 400: import("zod").ZodObject<{
322235
+ };
322236
+ path: "settings/channel/whatsapp/connect";
322237
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
322238
+ 'x-tenant': import("zod").ZodString;
322239
+ 'x-service-token': import("zod").ZodString;
322240
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
322241
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
322242
+ }, "strip", import("zod").ZodTypeAny, {
322243
+ 'x-tenant': string;
322244
+ 'x-service-token': string;
322245
+ 'x-client-timezone': string;
322246
+ 'x-code'?: string | undefined;
322247
+ }, {
322248
+ 'x-tenant': string;
322249
+ 'x-service-token': string;
322250
+ 'x-code'?: string | undefined;
322251
+ 'x-client-timezone'?: string | undefined;
322252
+ }>>>;
322253
+ };
322254
+ getTemplates: {
322255
+ method: "GET";
322256
+ query: import("zod").ZodObject<{
322257
+ channelId: import("zod").ZodString;
322258
+ }, "strip", import("zod").ZodTypeAny, {
322259
+ channelId: string;
322260
+ }, {
322261
+ channelId: string;
322262
+ }>;
322263
+ responses: {
322264
+ 200: import("zod").ZodObject<{
322265
+ requestId: import("zod").ZodString;
322266
+ data: import("zod").ZodObject<{
322267
+ category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"UTILITY">, import("zod").ZodLiteral<"MARKETING">, import("zod").ZodLiteral<"AUTHENTICATION">]>>;
322268
+ components: import("zod").ZodArray<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, "many">;
322269
+ language: import("zod").ZodString;
322270
+ name: import("zod").ZodString;
322271
+ namespace: import("zod").ZodString;
322272
+ status: import("zod").ZodString;
322273
+ }, "strip", import("zod").ZodTypeAny, {
322274
+ name: string;
322275
+ status: string;
322276
+ language: string;
322277
+ components: {}[];
322278
+ namespace: string;
322279
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
322280
+ }, {
322281
+ name: string;
322282
+ status: string;
322283
+ language: string;
322284
+ components: {}[];
322285
+ namespace: string;
322286
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
322287
+ }>;
322288
+ }, "strip", import("zod").ZodTypeAny, {
322289
+ data: {
322290
+ name: string;
322291
+ status: string;
322292
+ language: string;
322293
+ components: {}[];
322294
+ namespace: string;
322295
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
322296
+ };
322297
+ requestId: string;
322298
+ }, {
322299
+ data: {
322300
+ name: string;
322301
+ status: string;
322302
+ language: string;
322303
+ components: {}[];
322304
+ namespace: string;
322305
+ category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
322306
+ };
322307
+ requestId: string;
322308
+ }>;
322309
+ 500: import("zod").ZodObject<{
320444
322310
  message: import("zod").ZodString;
320445
322311
  error: import("zod").ZodAny;
320446
322312
  }, "strip", import("zod").ZodTypeAny, {
@@ -320451,7 +322317,7 @@ export declare const channelSettingContract: {
320451
322317
  error?: any;
320452
322318
  }>;
320453
322319
  };
320454
- path: "settings/channel/webchat/connect";
322320
+ path: "settings/channel/whatsapp/templates";
320455
322321
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
320456
322322
  'x-tenant': import("zod").ZodString;
320457
322323
  'x-service-token': import("zod").ZodString;
@@ -320469,208 +322335,212 @@ export declare const channelSettingContract: {
320469
322335
  'x-client-timezone'?: string | undefined;
320470
322336
  }>>>;
320471
322337
  };
320472
- };
320473
- whatsapp: {
320474
- connect: {
320475
- body: import("zod").ZodObject<{
320476
- name: import("zod").ZodString;
320477
- type: import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>;
320478
- metadata: import("zod").ZodObject<{
320479
- id: import("zod").ZodString;
320480
- name: import("zod").ZodString;
320481
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
320482
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
320483
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
320484
- senderId: import("zod").ZodOptional<import("zod").ZodString>;
320485
- whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
320486
- wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320487
- wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320488
- phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320489
- email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320490
- clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320491
- channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320492
- waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320493
- qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320494
- status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
320495
- apiKey: import("zod").ZodOptional<import("zod").ZodString>;
320496
- tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
320497
- integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
322338
+ createWaapi: {
322339
+ body: null;
322340
+ method: "POST";
322341
+ responses: {
322342
+ 200: import("zod").ZodObject<{
322343
+ requestId: import("zod").ZodString;
322344
+ data: import("zod").ZodObject<{
322345
+ instanceId: import("zod").ZodString;
320498
322346
  }, "strip", import("zod").ZodTypeAny, {
320499
- wabaBusinessId?: string | null | undefined;
320500
- wabaExternalId?: string | null | undefined;
320501
- phoneNumberId?: string | null | undefined;
320502
- email?: string | null | undefined;
320503
- clientId?: string | null | undefined;
320504
- channelId?: string | null | undefined;
320505
- waapiInstanceId?: string | null | undefined;
320506
- qr?: string | null | undefined;
320507
- status?: "active" | "pending" | "waapi-qr" | undefined;
320508
- apiKey?: string | undefined;
320509
- tier?: "basic" | "regular" | "premium" | undefined;
320510
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
322347
+ instanceId: string;
320511
322348
  }, {
320512
- wabaBusinessId?: string | null | undefined;
320513
- wabaExternalId?: string | null | undefined;
320514
- phoneNumberId?: string | null | undefined;
320515
- email?: string | null | undefined;
320516
- clientId?: string | null | undefined;
320517
- channelId?: string | null | undefined;
320518
- waapiInstanceId?: string | null | undefined;
320519
- qr?: string | null | undefined;
320520
- status?: "active" | "pending" | "waapi-qr" | undefined;
320521
- apiKey?: string | undefined;
320522
- tier?: "basic" | "regular" | "premium" | undefined;
320523
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320524
- }>>;
320525
- vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
320526
- mobileNumber: import("zod").ZodString;
320527
- apiKey: import("zod").ZodString;
320528
- apiSecret: import("zod").ZodString;
322349
+ instanceId: string;
322350
+ }>;
322351
+ }, "strip", import("zod").ZodTypeAny, {
322352
+ data: {
322353
+ instanceId: string;
322354
+ };
322355
+ requestId: string;
322356
+ }, {
322357
+ data: {
322358
+ instanceId: string;
322359
+ };
322360
+ requestId: string;
322361
+ }>;
322362
+ 500: import("zod").ZodObject<{
322363
+ message: import("zod").ZodString;
322364
+ error: import("zod").ZodAny;
322365
+ }, "strip", import("zod").ZodTypeAny, {
322366
+ message: string;
322367
+ error?: any;
322368
+ }, {
322369
+ message: string;
322370
+ error?: any;
322371
+ }>;
322372
+ 400: import("zod").ZodObject<{
322373
+ message: import("zod").ZodString;
322374
+ error: import("zod").ZodAny;
322375
+ }, "strip", import("zod").ZodTypeAny, {
322376
+ message: string;
322377
+ error?: any;
322378
+ }, {
322379
+ message: string;
322380
+ error?: any;
322381
+ }>;
322382
+ };
322383
+ path: "settings/channel/whatsapp/mobile";
322384
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
322385
+ 'x-tenant': import("zod").ZodString;
322386
+ 'x-service-token': import("zod").ZodString;
322387
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
322388
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
322389
+ }, "strip", import("zod").ZodTypeAny, {
322390
+ 'x-tenant': string;
322391
+ 'x-service-token': string;
322392
+ 'x-client-timezone': string;
322393
+ 'x-code'?: string | undefined;
322394
+ }, {
322395
+ 'x-tenant': string;
322396
+ 'x-service-token': string;
322397
+ 'x-code'?: string | undefined;
322398
+ 'x-client-timezone'?: string | undefined;
322399
+ }>>>;
322400
+ };
322401
+ getWaapiQr: {
322402
+ method: "GET";
322403
+ query: import("zod").ZodObject<{
322404
+ instanceId: import("zod").ZodString;
322405
+ }, "strip", import("zod").ZodTypeAny, {
322406
+ instanceId: string;
322407
+ }, {
322408
+ instanceId: string;
322409
+ }>;
322410
+ responses: {
322411
+ 200: import("zod").ZodObject<{
322412
+ requestId: import("zod").ZodString;
322413
+ data: import("zod").ZodObject<{
322414
+ isActive: import("zod").ZodBoolean;
322415
+ qr: import("zod").ZodString;
320529
322416
  }, "strip", import("zod").ZodTypeAny, {
320530
- apiKey: string;
320531
- mobileNumber: string;
320532
- apiSecret: string;
322417
+ qr: string;
322418
+ isActive: boolean;
320533
322419
  }, {
320534
- apiKey: string;
320535
- mobileNumber: string;
320536
- apiSecret: string;
320537
- }>>;
320538
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
320539
- messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320540
- facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
320541
- isCSATEnabled: import("zod").ZodOptional<import("zod").ZodBoolean>;
322420
+ qr: string;
322421
+ isActive: boolean;
322422
+ }>;
320542
322423
  }, "strip", import("zod").ZodTypeAny, {
320543
- name: string;
320544
- id: string;
320545
- accessToken?: string | undefined;
320546
- channelSecret?: string | undefined;
320547
- additionalCredentials?: any;
320548
- senderId?: string | undefined;
320549
- whatsapp?: {
320550
- wabaBusinessId?: string | null | undefined;
320551
- wabaExternalId?: string | null | undefined;
320552
- phoneNumberId?: string | null | undefined;
320553
- email?: string | null | undefined;
320554
- clientId?: string | null | undefined;
320555
- channelId?: string | null | undefined;
320556
- waapiInstanceId?: string | null | undefined;
320557
- qr?: string | null | undefined;
320558
- status?: "active" | "pending" | "waapi-qr" | undefined;
320559
- apiKey?: string | undefined;
320560
- tier?: "basic" | "regular" | "premium" | undefined;
320561
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320562
- } | undefined;
320563
- vonageCredentials?: {
320564
- apiKey: string;
320565
- mobileNumber: string;
320566
- apiSecret: string;
320567
- } | undefined;
320568
- lineRichMenuId?: string | null | undefined;
320569
- messengerIntegrationType?: "own" | "business" | undefined;
320570
- facebookFeedIntegrationType?: "own" | "business" | undefined;
320571
- isCSATEnabled?: boolean | undefined;
322424
+ data: {
322425
+ qr: string;
322426
+ isActive: boolean;
322427
+ };
322428
+ requestId: string;
320572
322429
  }, {
320573
- name: string;
320574
- id: string;
320575
- accessToken?: string | undefined;
320576
- channelSecret?: string | undefined;
320577
- additionalCredentials?: any;
320578
- senderId?: string | undefined;
320579
- whatsapp?: {
320580
- wabaBusinessId?: string | null | undefined;
320581
- wabaExternalId?: string | null | undefined;
320582
- phoneNumberId?: string | null | undefined;
320583
- email?: string | null | undefined;
320584
- clientId?: string | null | undefined;
320585
- channelId?: string | null | undefined;
320586
- waapiInstanceId?: string | null | undefined;
320587
- qr?: string | null | undefined;
320588
- status?: "active" | "pending" | "waapi-qr" | undefined;
320589
- apiKey?: string | undefined;
320590
- tier?: "basic" | "regular" | "premium" | undefined;
320591
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320592
- } | undefined;
320593
- vonageCredentials?: {
320594
- apiKey: string;
320595
- mobileNumber: string;
320596
- apiSecret: string;
320597
- } | undefined;
320598
- lineRichMenuId?: string | null | undefined;
320599
- messengerIntegrationType?: "own" | "business" | undefined;
320600
- facebookFeedIntegrationType?: "own" | "business" | undefined;
320601
- isCSATEnabled?: boolean | undefined;
322430
+ data: {
322431
+ qr: string;
322432
+ isActive: boolean;
322433
+ };
322434
+ requestId: string;
320602
322435
  }>;
320603
- platformId: import("zod").ZodString;
322436
+ 500: import("zod").ZodObject<{
322437
+ message: import("zod").ZodString;
322438
+ error: import("zod").ZodAny;
322439
+ }, "strip", import("zod").ZodTypeAny, {
322440
+ message: string;
322441
+ error?: any;
322442
+ }, {
322443
+ message: string;
322444
+ error?: any;
322445
+ }>;
322446
+ 400: import("zod").ZodObject<{
322447
+ message: import("zod").ZodString;
322448
+ error: import("zod").ZodAny;
322449
+ }, "strip", import("zod").ZodTypeAny, {
322450
+ message: string;
322451
+ error?: any;
322452
+ }, {
322453
+ message: string;
322454
+ error?: any;
322455
+ }>;
322456
+ };
322457
+ path: "settings/channel/whatsapp/mobile/qr";
322458
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
322459
+ 'x-tenant': import("zod").ZodString;
322460
+ 'x-service-token': import("zod").ZodString;
322461
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
322462
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
322463
+ }, "strip", import("zod").ZodTypeAny, {
322464
+ 'x-tenant': string;
322465
+ 'x-service-token': string;
322466
+ 'x-client-timezone': string;
322467
+ 'x-code'?: string | undefined;
322468
+ }, {
322469
+ 'x-tenant': string;
322470
+ 'x-service-token': string;
322471
+ 'x-code'?: string | undefined;
322472
+ 'x-client-timezone'?: string | undefined;
322473
+ }>>>;
322474
+ };
322475
+ deleteWaapi: {
322476
+ body: import("zod").ZodOptional<import("zod").ZodAny>;
322477
+ method: "DELETE";
322478
+ pathParams: import("zod").ZodObject<{
322479
+ instanceId: import("zod").ZodString;
322480
+ }, "strip", import("zod").ZodTypeAny, {
322481
+ instanceId: string;
322482
+ }, {
322483
+ instanceId: string;
322484
+ }>;
322485
+ responses: {
322486
+ 200: import("zod").ZodObject<{
322487
+ requestId: import("zod").ZodString;
322488
+ }, "strip", import("zod").ZodTypeAny, {
322489
+ requestId: string;
322490
+ }, {
322491
+ requestId: string;
322492
+ }>;
322493
+ 500: import("zod").ZodObject<{
322494
+ message: import("zod").ZodString;
322495
+ error: import("zod").ZodAny;
322496
+ }, "strip", import("zod").ZodTypeAny, {
322497
+ message: string;
322498
+ error?: any;
322499
+ }, {
322500
+ message: string;
322501
+ error?: any;
322502
+ }>;
322503
+ 400: import("zod").ZodObject<{
322504
+ message: import("zod").ZodString;
322505
+ error: import("zod").ZodAny;
322506
+ }, "strip", import("zod").ZodTypeAny, {
322507
+ message: string;
322508
+ error?: any;
322509
+ }, {
322510
+ message: string;
322511
+ error?: any;
322512
+ }>;
322513
+ };
322514
+ path: "settings/channel/whatsapp/mobile/:instanceId";
322515
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
322516
+ 'x-tenant': import("zod").ZodString;
322517
+ 'x-service-token': import("zod").ZodString;
322518
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
322519
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
320604
322520
  }, "strip", import("zod").ZodTypeAny, {
322521
+ 'x-tenant': string;
322522
+ 'x-service-token': string;
322523
+ 'x-client-timezone': string;
322524
+ 'x-code'?: string | undefined;
322525
+ }, {
322526
+ 'x-tenant': string;
322527
+ 'x-service-token': string;
322528
+ 'x-code'?: string | undefined;
322529
+ 'x-client-timezone'?: string | undefined;
322530
+ }>>>;
322531
+ };
322532
+ };
322533
+ lazada: {
322534
+ connect: {
322535
+ body: import("zod").ZodObject<{
322536
+ name: import("zod").ZodString;
322537
+ code: import("zod").ZodString;
322538
+ }, "strip", import("zod").ZodTypeAny, {
322539
+ code: string;
320605
322540
  name: string;
320606
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
320607
- metadata: {
320608
- name: string;
320609
- id: string;
320610
- accessToken?: string | undefined;
320611
- channelSecret?: string | undefined;
320612
- additionalCredentials?: any;
320613
- senderId?: string | undefined;
320614
- whatsapp?: {
320615
- wabaBusinessId?: string | null | undefined;
320616
- wabaExternalId?: string | null | undefined;
320617
- phoneNumberId?: string | null | undefined;
320618
- email?: string | null | undefined;
320619
- clientId?: string | null | undefined;
320620
- channelId?: string | null | undefined;
320621
- waapiInstanceId?: string | null | undefined;
320622
- qr?: string | null | undefined;
320623
- status?: "active" | "pending" | "waapi-qr" | undefined;
320624
- apiKey?: string | undefined;
320625
- tier?: "basic" | "regular" | "premium" | undefined;
320626
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320627
- } | undefined;
320628
- vonageCredentials?: {
320629
- apiKey: string;
320630
- mobileNumber: string;
320631
- apiSecret: string;
320632
- } | undefined;
320633
- lineRichMenuId?: string | null | undefined;
320634
- messengerIntegrationType?: "own" | "business" | undefined;
320635
- facebookFeedIntegrationType?: "own" | "business" | undefined;
320636
- isCSATEnabled?: boolean | undefined;
320637
- };
320638
- platformId: string;
320639
322541
  }, {
322542
+ code: string;
320640
322543
  name: string;
320641
- type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
320642
- metadata: {
320643
- name: string;
320644
- id: string;
320645
- accessToken?: string | undefined;
320646
- channelSecret?: string | undefined;
320647
- additionalCredentials?: any;
320648
- senderId?: string | undefined;
320649
- whatsapp?: {
320650
- wabaBusinessId?: string | null | undefined;
320651
- wabaExternalId?: string | null | undefined;
320652
- phoneNumberId?: string | null | undefined;
320653
- email?: string | null | undefined;
320654
- clientId?: string | null | undefined;
320655
- channelId?: string | null | undefined;
320656
- waapiInstanceId?: string | null | undefined;
320657
- qr?: string | null | undefined;
320658
- status?: "active" | "pending" | "waapi-qr" | undefined;
320659
- apiKey?: string | undefined;
320660
- tier?: "basic" | "regular" | "premium" | undefined;
320661
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
320662
- } | undefined;
320663
- vonageCredentials?: {
320664
- apiKey: string;
320665
- mobileNumber: string;
320666
- apiSecret: string;
320667
- } | undefined;
320668
- lineRichMenuId?: string | null | undefined;
320669
- messengerIntegrationType?: "own" | "business" | undefined;
320670
- facebookFeedIntegrationType?: "own" | "business" | undefined;
320671
- isCSATEnabled?: boolean | undefined;
320672
- };
320673
- platformId: string;
320674
322544
  }>;
320675
322545
  summary: "Connect message channel";
320676
322546
  method: "POST";
@@ -321437,285 +323307,7 @@ export declare const channelSettingContract: {
321437
323307
  error?: any;
321438
323308
  }>;
321439
323309
  };
321440
- path: "settings/channel/whatsapp/connect";
321441
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321442
- 'x-tenant': import("zod").ZodString;
321443
- 'x-service-token': import("zod").ZodString;
321444
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
321445
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
321446
- }, "strip", import("zod").ZodTypeAny, {
321447
- 'x-tenant': string;
321448
- 'x-service-token': string;
321449
- 'x-client-timezone': string;
321450
- 'x-code'?: string | undefined;
321451
- }, {
321452
- 'x-tenant': string;
321453
- 'x-service-token': string;
321454
- 'x-code'?: string | undefined;
321455
- 'x-client-timezone'?: string | undefined;
321456
- }>>>;
321457
- };
321458
- getTemplates: {
321459
- method: "GET";
321460
- query: import("zod").ZodObject<{
321461
- channelId: import("zod").ZodString;
321462
- }, "strip", import("zod").ZodTypeAny, {
321463
- channelId: string;
321464
- }, {
321465
- channelId: string;
321466
- }>;
321467
- responses: {
321468
- 200: import("zod").ZodObject<{
321469
- requestId: import("zod").ZodString;
321470
- data: import("zod").ZodObject<{
321471
- category: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"UTILITY">, import("zod").ZodLiteral<"MARKETING">, import("zod").ZodLiteral<"AUTHENTICATION">]>>;
321472
- components: import("zod").ZodArray<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, "many">;
321473
- language: import("zod").ZodString;
321474
- name: import("zod").ZodString;
321475
- namespace: import("zod").ZodString;
321476
- status: import("zod").ZodString;
321477
- }, "strip", import("zod").ZodTypeAny, {
321478
- name: string;
321479
- status: string;
321480
- language: string;
321481
- components: {}[];
321482
- namespace: string;
321483
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
321484
- }, {
321485
- name: string;
321486
- status: string;
321487
- language: string;
321488
- components: {}[];
321489
- namespace: string;
321490
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
321491
- }>;
321492
- }, "strip", import("zod").ZodTypeAny, {
321493
- data: {
321494
- name: string;
321495
- status: string;
321496
- language: string;
321497
- components: {}[];
321498
- namespace: string;
321499
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
321500
- };
321501
- requestId: string;
321502
- }, {
321503
- data: {
321504
- name: string;
321505
- status: string;
321506
- language: string;
321507
- components: {}[];
321508
- namespace: string;
321509
- category?: "UTILITY" | "MARKETING" | "AUTHENTICATION" | undefined;
321510
- };
321511
- requestId: string;
321512
- }>;
321513
- 500: import("zod").ZodObject<{
321514
- message: import("zod").ZodString;
321515
- error: import("zod").ZodAny;
321516
- }, "strip", import("zod").ZodTypeAny, {
321517
- message: string;
321518
- error?: any;
321519
- }, {
321520
- message: string;
321521
- error?: any;
321522
- }>;
321523
- };
321524
- path: "settings/channel/whatsapp/templates";
321525
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321526
- 'x-tenant': import("zod").ZodString;
321527
- 'x-service-token': import("zod").ZodString;
321528
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
321529
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
321530
- }, "strip", import("zod").ZodTypeAny, {
321531
- 'x-tenant': string;
321532
- 'x-service-token': string;
321533
- 'x-client-timezone': string;
321534
- 'x-code'?: string | undefined;
321535
- }, {
321536
- 'x-tenant': string;
321537
- 'x-service-token': string;
321538
- 'x-code'?: string | undefined;
321539
- 'x-client-timezone'?: string | undefined;
321540
- }>>>;
321541
- };
321542
- createWaapi: {
321543
- body: null;
321544
- method: "POST";
321545
- responses: {
321546
- 200: import("zod").ZodObject<{
321547
- requestId: import("zod").ZodString;
321548
- data: import("zod").ZodObject<{
321549
- instanceId: import("zod").ZodString;
321550
- }, "strip", import("zod").ZodTypeAny, {
321551
- instanceId: string;
321552
- }, {
321553
- instanceId: string;
321554
- }>;
321555
- }, "strip", import("zod").ZodTypeAny, {
321556
- data: {
321557
- instanceId: string;
321558
- };
321559
- requestId: string;
321560
- }, {
321561
- data: {
321562
- instanceId: string;
321563
- };
321564
- requestId: string;
321565
- }>;
321566
- 500: import("zod").ZodObject<{
321567
- message: import("zod").ZodString;
321568
- error: import("zod").ZodAny;
321569
- }, "strip", import("zod").ZodTypeAny, {
321570
- message: string;
321571
- error?: any;
321572
- }, {
321573
- message: string;
321574
- error?: any;
321575
- }>;
321576
- 400: import("zod").ZodObject<{
321577
- message: import("zod").ZodString;
321578
- error: import("zod").ZodAny;
321579
- }, "strip", import("zod").ZodTypeAny, {
321580
- message: string;
321581
- error?: any;
321582
- }, {
321583
- message: string;
321584
- error?: any;
321585
- }>;
321586
- };
321587
- path: "settings/channel/whatsapp/mobile";
321588
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321589
- 'x-tenant': import("zod").ZodString;
321590
- 'x-service-token': import("zod").ZodString;
321591
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
321592
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
321593
- }, "strip", import("zod").ZodTypeAny, {
321594
- 'x-tenant': string;
321595
- 'x-service-token': string;
321596
- 'x-client-timezone': string;
321597
- 'x-code'?: string | undefined;
321598
- }, {
321599
- 'x-tenant': string;
321600
- 'x-service-token': string;
321601
- 'x-code'?: string | undefined;
321602
- 'x-client-timezone'?: string | undefined;
321603
- }>>>;
321604
- };
321605
- getWaapiQr: {
321606
- method: "GET";
321607
- query: import("zod").ZodObject<{
321608
- instanceId: import("zod").ZodString;
321609
- }, "strip", import("zod").ZodTypeAny, {
321610
- instanceId: string;
321611
- }, {
321612
- instanceId: string;
321613
- }>;
321614
- responses: {
321615
- 200: import("zod").ZodObject<{
321616
- requestId: import("zod").ZodString;
321617
- data: import("zod").ZodObject<{
321618
- isActive: import("zod").ZodBoolean;
321619
- qr: import("zod").ZodString;
321620
- }, "strip", import("zod").ZodTypeAny, {
321621
- qr: string;
321622
- isActive: boolean;
321623
- }, {
321624
- qr: string;
321625
- isActive: boolean;
321626
- }>;
321627
- }, "strip", import("zod").ZodTypeAny, {
321628
- data: {
321629
- qr: string;
321630
- isActive: boolean;
321631
- };
321632
- requestId: string;
321633
- }, {
321634
- data: {
321635
- qr: string;
321636
- isActive: boolean;
321637
- };
321638
- requestId: string;
321639
- }>;
321640
- 500: import("zod").ZodObject<{
321641
- message: import("zod").ZodString;
321642
- error: import("zod").ZodAny;
321643
- }, "strip", import("zod").ZodTypeAny, {
321644
- message: string;
321645
- error?: any;
321646
- }, {
321647
- message: string;
321648
- error?: any;
321649
- }>;
321650
- 400: import("zod").ZodObject<{
321651
- message: import("zod").ZodString;
321652
- error: import("zod").ZodAny;
321653
- }, "strip", import("zod").ZodTypeAny, {
321654
- message: string;
321655
- error?: any;
321656
- }, {
321657
- message: string;
321658
- error?: any;
321659
- }>;
321660
- };
321661
- path: "settings/channel/whatsapp/mobile/qr";
321662
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321663
- 'x-tenant': import("zod").ZodString;
321664
- 'x-service-token': import("zod").ZodString;
321665
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
321666
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
321667
- }, "strip", import("zod").ZodTypeAny, {
321668
- 'x-tenant': string;
321669
- 'x-service-token': string;
321670
- 'x-client-timezone': string;
321671
- 'x-code'?: string | undefined;
321672
- }, {
321673
- 'x-tenant': string;
321674
- 'x-service-token': string;
321675
- 'x-code'?: string | undefined;
321676
- 'x-client-timezone'?: string | undefined;
321677
- }>>>;
321678
- };
321679
- deleteWaapi: {
321680
- body: import("zod").ZodOptional<import("zod").ZodAny>;
321681
- method: "DELETE";
321682
- pathParams: import("zod").ZodObject<{
321683
- instanceId: import("zod").ZodString;
321684
- }, "strip", import("zod").ZodTypeAny, {
321685
- instanceId: string;
321686
- }, {
321687
- instanceId: string;
321688
- }>;
321689
- responses: {
321690
- 200: import("zod").ZodObject<{
321691
- requestId: import("zod").ZodString;
321692
- }, "strip", import("zod").ZodTypeAny, {
321693
- requestId: string;
321694
- }, {
321695
- requestId: string;
321696
- }>;
321697
- 500: import("zod").ZodObject<{
321698
- message: import("zod").ZodString;
321699
- error: import("zod").ZodAny;
321700
- }, "strip", import("zod").ZodTypeAny, {
321701
- message: string;
321702
- error?: any;
321703
- }, {
321704
- message: string;
321705
- error?: any;
321706
- }>;
321707
- 400: import("zod").ZodObject<{
321708
- message: import("zod").ZodString;
321709
- error: import("zod").ZodAny;
321710
- }, "strip", import("zod").ZodTypeAny, {
321711
- message: string;
321712
- error?: any;
321713
- }, {
321714
- message: string;
321715
- error?: any;
321716
- }>;
321717
- };
321718
- path: "settings/channel/whatsapp/mobile/:instanceId";
323310
+ path: "settings/channel/lazada/connect";
321719
323311
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
321720
323312
  'x-tenant': import("zod").ZodString;
321721
323313
  'x-service-token': import("zod").ZodString;