@kl1/contracts 1.2.54-uat → 1.2.55-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -192968,551 +192968,11 @@ export declare const platformSMSContract: {
192968
192968
  };
192969
192969
  disconnectSMSChannel: {
192970
192970
  body: import("zod").ZodObject<{
192971
- id: import("zod").ZodOptional<import("zod").ZodString>;
192972
- createdAt: import("zod").ZodOptional<import("zod").ZodDate>;
192973
- updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
192974
- deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
192975
- name: import("zod").ZodOptional<import("zod").ZodString>;
192976
- type: import("zod").ZodOptional<import("zod").ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat", "facebook_feed", "sms_vonage"]>>;
192977
- metadata: import("zod").ZodOptional<import("zod").ZodObject<{
192978
- id: import("zod").ZodString;
192979
- name: import("zod").ZodString;
192980
- accessToken: import("zod").ZodOptional<import("zod").ZodString>;
192981
- channelSecret: import("zod").ZodOptional<import("zod").ZodString>;
192982
- additionalCredentials: import("zod").ZodOptional<import("zod").ZodAny>;
192983
- senderId: import("zod").ZodOptional<import("zod").ZodString>;
192984
- whatsapp: import("zod").ZodOptional<import("zod").ZodObject<{
192985
- wabaBusinessId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192986
- wabaExternalId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192987
- phoneNumberId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192988
- email: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192989
- clientId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192990
- channelId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192991
- waapiInstanceId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192992
- qr: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
192993
- status: import("zod").ZodOptional<import("zod").ZodEnum<["waapi-qr", "pending", "active"]>>;
192994
- apiKey: import("zod").ZodOptional<import("zod").ZodString>;
192995
- tier: import("zod").ZodOptional<import("zod").ZodEnum<["basic", "regular", "premium"]>>;
192996
- integrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"meta">, import("zod").ZodLiteral<"360dialog">, import("zod").ZodLiteral<"waapi">]>>;
192997
- }, "strip", import("zod").ZodTypeAny, {
192998
- wabaBusinessId?: string | null | undefined;
192999
- wabaExternalId?: string | null | undefined;
193000
- phoneNumberId?: string | null | undefined;
193001
- email?: string | null | undefined;
193002
- clientId?: string | null | undefined;
193003
- channelId?: string | null | undefined;
193004
- waapiInstanceId?: string | null | undefined;
193005
- qr?: string | null | undefined;
193006
- status?: "active" | "pending" | "waapi-qr" | undefined;
193007
- apiKey?: string | undefined;
193008
- tier?: "basic" | "regular" | "premium" | undefined;
193009
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193010
- }, {
193011
- wabaBusinessId?: string | null | undefined;
193012
- wabaExternalId?: string | null | undefined;
193013
- phoneNumberId?: string | null | undefined;
193014
- email?: string | null | undefined;
193015
- clientId?: string | null | undefined;
193016
- channelId?: string | null | undefined;
193017
- waapiInstanceId?: string | null | undefined;
193018
- qr?: string | null | undefined;
193019
- status?: "active" | "pending" | "waapi-qr" | undefined;
193020
- apiKey?: string | undefined;
193021
- tier?: "basic" | "regular" | "premium" | undefined;
193022
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193023
- }>>;
193024
- vonageCredentials: import("zod").ZodOptional<import("zod").ZodObject<{
193025
- mobileNumber: import("zod").ZodString;
193026
- apiKey: import("zod").ZodString;
193027
- apiSecret: import("zod").ZodString;
193028
- }, "strip", import("zod").ZodTypeAny, {
193029
- apiKey: string;
193030
- mobileNumber: string;
193031
- apiSecret: string;
193032
- }, {
193033
- apiKey: string;
193034
- mobileNumber: string;
193035
- apiSecret: string;
193036
- }>>;
193037
- lineRichMenuId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
193038
- messengerIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
193039
- facebookFeedIntegrationType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"own">, import("zod").ZodLiteral<"business">]>>;
193040
- }, "strip", import("zod").ZodTypeAny, {
193041
- name: string;
193042
- id: string;
193043
- accessToken?: string | undefined;
193044
- channelSecret?: string | undefined;
193045
- additionalCredentials?: any;
193046
- senderId?: string | undefined;
193047
- whatsapp?: {
193048
- wabaBusinessId?: string | null | undefined;
193049
- wabaExternalId?: string | null | undefined;
193050
- phoneNumberId?: string | null | undefined;
193051
- email?: string | null | undefined;
193052
- clientId?: string | null | undefined;
193053
- channelId?: string | null | undefined;
193054
- waapiInstanceId?: string | null | undefined;
193055
- qr?: string | null | undefined;
193056
- status?: "active" | "pending" | "waapi-qr" | undefined;
193057
- apiKey?: string | undefined;
193058
- tier?: "basic" | "regular" | "premium" | undefined;
193059
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193060
- } | undefined;
193061
- vonageCredentials?: {
193062
- apiKey: string;
193063
- mobileNumber: string;
193064
- apiSecret: string;
193065
- } | undefined;
193066
- lineRichMenuId?: string | null | undefined;
193067
- messengerIntegrationType?: "own" | "business" | undefined;
193068
- facebookFeedIntegrationType?: "own" | "business" | undefined;
193069
- }, {
193070
- name: string;
193071
- id: string;
193072
- accessToken?: string | undefined;
193073
- channelSecret?: string | undefined;
193074
- additionalCredentials?: any;
193075
- senderId?: string | undefined;
193076
- whatsapp?: {
193077
- wabaBusinessId?: string | null | undefined;
193078
- wabaExternalId?: string | null | undefined;
193079
- phoneNumberId?: string | null | undefined;
193080
- email?: string | null | undefined;
193081
- clientId?: string | null | undefined;
193082
- channelId?: string | null | undefined;
193083
- waapiInstanceId?: string | null | undefined;
193084
- qr?: string | null | undefined;
193085
- status?: "active" | "pending" | "waapi-qr" | undefined;
193086
- apiKey?: string | undefined;
193087
- tier?: "basic" | "regular" | "premium" | undefined;
193088
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193089
- } | undefined;
193090
- vonageCredentials?: {
193091
- apiKey: string;
193092
- mobileNumber: string;
193093
- apiSecret: string;
193094
- } | undefined;
193095
- lineRichMenuId?: string | null | undefined;
193096
- messengerIntegrationType?: "own" | "business" | undefined;
193097
- facebookFeedIntegrationType?: "own" | "business" | undefined;
193098
- }>>;
193099
- brandName: import("zod").ZodOptional<import("zod").ZodString>;
193100
- platformId: import("zod").ZodOptional<import("zod").ZodString>;
193101
- status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodLiteral<false>]>>;
193102
- isReloginRequired: import("zod").ZodOptional<import("zod").ZodBoolean>;
193103
- connectedUserName: import("zod").ZodOptional<import("zod").ZodString>;
193104
- connectedUserId: import("zod").ZodOptional<import("zod").ZodString>;
193105
- botpressBot: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
193106
- id: import("zod").ZodString;
193107
- name: import("zod").ZodString;
193108
- botId: import("zod").ZodString;
193109
- integrationId: import("zod").ZodString;
193110
- accessToken: import("zod").ZodString;
193111
- }, "strip", import("zod").ZodTypeAny, {
193112
- name: string;
193113
- id: string;
193114
- accessToken: string;
193115
- botId: string;
193116
- integrationId: string;
193117
- }, {
193118
- name: string;
193119
- id: string;
193120
- accessToken: string;
193121
- botId: string;
193122
- integrationId: string;
193123
- }>>>;
193124
- actor: import("zod").ZodOptional<import("zod").ZodObject<{
193125
- id: import("zod").ZodString;
193126
- createdAt: import("zod").ZodDate;
193127
- updatedAt: import("zod").ZodDate;
193128
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
193129
- name: import("zod").ZodString;
193130
- email: import("zod").ZodString;
193131
- emailVerifiedAt: import("zod").ZodNullable<import("zod").ZodDate>;
193132
- password: import("zod").ZodString;
193133
- address: import("zod").ZodNullable<import("zod").ZodString>;
193134
- phone: import("zod").ZodNullable<import("zod").ZodString>;
193135
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
193136
- roles: import("zod").ZodArray<import("zod").ZodObject<{
193137
- id: import("zod").ZodString;
193138
- createdAt: import("zod").ZodDate;
193139
- updatedAt: import("zod").ZodDate;
193140
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
193141
- systemName: import("zod").ZodString;
193142
- displayName: import("zod").ZodString;
193143
- description: import("zod").ZodNullable<import("zod").ZodString>;
193144
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
193145
- id: import("zod").ZodString;
193146
- createdAt: import("zod").ZodDate;
193147
- updatedAt: import("zod").ZodDate;
193148
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
193149
- systemName: import("zod").ZodString;
193150
- displayName: import("zod").ZodString;
193151
- description: import("zod").ZodNullable<import("zod").ZodString>;
193152
- }, "strip", import("zod").ZodTypeAny, {
193153
- id: string;
193154
- description: string | null;
193155
- createdAt: Date;
193156
- updatedAt: Date;
193157
- deletedAt: Date | null;
193158
- systemName: string;
193159
- displayName: string;
193160
- }, {
193161
- id: string;
193162
- description: string | null;
193163
- createdAt: Date;
193164
- updatedAt: Date;
193165
- deletedAt: Date | null;
193166
- systemName: string;
193167
- displayName: string;
193168
- }>, "many">;
193169
- }, "strip", import("zod").ZodTypeAny, {
193170
- id: string;
193171
- description: string | null;
193172
- createdAt: Date;
193173
- updatedAt: Date;
193174
- deletedAt: Date | null;
193175
- systemName: string;
193176
- displayName: string;
193177
- permissions: {
193178
- id: string;
193179
- description: string | null;
193180
- createdAt: Date;
193181
- updatedAt: Date;
193182
- deletedAt: Date | null;
193183
- systemName: string;
193184
- displayName: string;
193185
- }[];
193186
- }, {
193187
- id: string;
193188
- description: string | null;
193189
- createdAt: Date;
193190
- updatedAt: Date;
193191
- deletedAt: Date | null;
193192
- systemName: string;
193193
- displayName: string;
193194
- permissions: {
193195
- id: string;
193196
- description: string | null;
193197
- createdAt: Date;
193198
- updatedAt: Date;
193199
- deletedAt: Date | null;
193200
- systemName: string;
193201
- displayName: string;
193202
- }[];
193203
- }>, "many">;
193204
- extension: import("zod").ZodObject<{
193205
- id: import("zod").ZodString;
193206
- createdAt: import("zod").ZodDate;
193207
- updatedAt: import("zod").ZodDate;
193208
- deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
193209
- userId: import("zod").ZodNullable<import("zod").ZodString>;
193210
- sipServerUrl: import("zod").ZodString;
193211
- sipUserName: import("zod").ZodString;
193212
- webphoneLoginUser: import("zod").ZodString;
193213
- extensionId: import("zod").ZodNullable<import("zod").ZodString>;
193214
- extensionName: import("zod").ZodString;
193215
- telephonySignature: import("zod").ZodNullable<import("zod").ZodString>;
193216
- }, "strip", import("zod").ZodTypeAny, {
193217
- id: string;
193218
- createdAt: Date;
193219
- updatedAt: Date;
193220
- deletedAt: Date | null;
193221
- userId: string | null;
193222
- sipServerUrl: string;
193223
- sipUserName: string;
193224
- webphoneLoginUser: string;
193225
- extensionId: string | null;
193226
- extensionName: string;
193227
- telephonySignature: string | null;
193228
- }, {
193229
- id: string;
193230
- createdAt: Date;
193231
- updatedAt: Date;
193232
- deletedAt: Date | null;
193233
- userId: string | null;
193234
- sipServerUrl: string;
193235
- sipUserName: string;
193236
- webphoneLoginUser: string;
193237
- extensionId: string | null;
193238
- extensionName: string;
193239
- telephonySignature: string | null;
193240
- }>;
193241
- }, "strip", import("zod").ZodTypeAny, {
193242
- name: string;
193243
- id: string;
193244
- address: string | null;
193245
- email: string;
193246
- createdAt: Date;
193247
- updatedAt: Date;
193248
- deletedAt: Date | null;
193249
- emailVerifiedAt: Date | null;
193250
- password: string;
193251
- phone: string | null;
193252
- notificationCount: number | null;
193253
- roles: {
193254
- id: string;
193255
- description: string | null;
193256
- createdAt: Date;
193257
- updatedAt: Date;
193258
- deletedAt: Date | null;
193259
- systemName: string;
193260
- displayName: string;
193261
- permissions: {
193262
- id: string;
193263
- description: string | null;
193264
- createdAt: Date;
193265
- updatedAt: Date;
193266
- deletedAt: Date | null;
193267
- systemName: string;
193268
- displayName: string;
193269
- }[];
193270
- }[];
193271
- extension: {
193272
- id: string;
193273
- createdAt: Date;
193274
- updatedAt: Date;
193275
- deletedAt: Date | null;
193276
- userId: string | null;
193277
- sipServerUrl: string;
193278
- sipUserName: string;
193279
- webphoneLoginUser: string;
193280
- extensionId: string | null;
193281
- extensionName: string;
193282
- telephonySignature: string | null;
193283
- };
193284
- }, {
193285
- name: string;
193286
- id: string;
193287
- address: string | null;
193288
- email: string;
193289
- createdAt: Date;
193290
- updatedAt: Date;
193291
- deletedAt: Date | null;
193292
- emailVerifiedAt: Date | null;
193293
- password: string;
193294
- phone: string | null;
193295
- notificationCount: number | null;
193296
- roles: {
193297
- id: string;
193298
- description: string | null;
193299
- createdAt: Date;
193300
- updatedAt: Date;
193301
- deletedAt: Date | null;
193302
- systemName: string;
193303
- displayName: string;
193304
- permissions: {
193305
- id: string;
193306
- description: string | null;
193307
- createdAt: Date;
193308
- updatedAt: Date;
193309
- deletedAt: Date | null;
193310
- systemName: string;
193311
- displayName: string;
193312
- }[];
193313
- }[];
193314
- extension: {
193315
- id: string;
193316
- createdAt: Date;
193317
- updatedAt: Date;
193318
- deletedAt: Date | null;
193319
- userId: string | null;
193320
- sipServerUrl: string;
193321
- sipUserName: string;
193322
- webphoneLoginUser: string;
193323
- extensionId: string | null;
193324
- extensionName: string;
193325
- telephonySignature: string | null;
193326
- };
193327
- }>>;
192971
+ id: import("zod").ZodString;
193328
192972
  }, "strip", import("zod").ZodTypeAny, {
193329
- id?: string | undefined;
193330
- createdAt?: Date | undefined;
193331
- updatedAt?: Date | undefined;
193332
- deletedAt?: Date | null | undefined;
193333
- name?: string | undefined;
193334
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
193335
- metadata?: {
193336
- name: string;
193337
- id: string;
193338
- accessToken?: string | undefined;
193339
- channelSecret?: string | undefined;
193340
- additionalCredentials?: any;
193341
- senderId?: string | undefined;
193342
- whatsapp?: {
193343
- wabaBusinessId?: string | null | undefined;
193344
- wabaExternalId?: string | null | undefined;
193345
- phoneNumberId?: string | null | undefined;
193346
- email?: string | null | undefined;
193347
- clientId?: string | null | undefined;
193348
- channelId?: string | null | undefined;
193349
- waapiInstanceId?: string | null | undefined;
193350
- qr?: string | null | undefined;
193351
- status?: "active" | "pending" | "waapi-qr" | undefined;
193352
- apiKey?: string | undefined;
193353
- tier?: "basic" | "regular" | "premium" | undefined;
193354
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193355
- } | undefined;
193356
- vonageCredentials?: {
193357
- apiKey: string;
193358
- mobileNumber: string;
193359
- apiSecret: string;
193360
- } | undefined;
193361
- lineRichMenuId?: string | null | undefined;
193362
- messengerIntegrationType?: "own" | "business" | undefined;
193363
- facebookFeedIntegrationType?: "own" | "business" | undefined;
193364
- } | undefined;
193365
- brandName?: string | undefined;
193366
- platformId?: string | undefined;
193367
- status?: boolean | undefined;
193368
- isReloginRequired?: boolean | undefined;
193369
- connectedUserName?: string | undefined;
193370
- connectedUserId?: string | undefined;
193371
- botpressBot?: {
193372
- name: string;
193373
- id: string;
193374
- accessToken: string;
193375
- botId: string;
193376
- integrationId: string;
193377
- } | null | undefined;
193378
- actor?: {
193379
- name: string;
193380
- id: string;
193381
- address: string | null;
193382
- email: string;
193383
- createdAt: Date;
193384
- updatedAt: Date;
193385
- deletedAt: Date | null;
193386
- emailVerifiedAt: Date | null;
193387
- password: string;
193388
- phone: string | null;
193389
- notificationCount: number | null;
193390
- roles: {
193391
- id: string;
193392
- description: string | null;
193393
- createdAt: Date;
193394
- updatedAt: Date;
193395
- deletedAt: Date | null;
193396
- systemName: string;
193397
- displayName: string;
193398
- permissions: {
193399
- id: string;
193400
- description: string | null;
193401
- createdAt: Date;
193402
- updatedAt: Date;
193403
- deletedAt: Date | null;
193404
- systemName: string;
193405
- displayName: string;
193406
- }[];
193407
- }[];
193408
- extension: {
193409
- id: string;
193410
- createdAt: Date;
193411
- updatedAt: Date;
193412
- deletedAt: Date | null;
193413
- userId: string | null;
193414
- sipServerUrl: string;
193415
- sipUserName: string;
193416
- webphoneLoginUser: string;
193417
- extensionId: string | null;
193418
- extensionName: string;
193419
- telephonySignature: string | null;
193420
- };
193421
- } | undefined;
192973
+ id: string;
193422
192974
  }, {
193423
- id?: string | undefined;
193424
- createdAt?: Date | undefined;
193425
- updatedAt?: Date | undefined;
193426
- deletedAt?: Date | null | undefined;
193427
- name?: string | undefined;
193428
- type?: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage" | undefined;
193429
- metadata?: {
193430
- name: string;
193431
- id: string;
193432
- accessToken?: string | undefined;
193433
- channelSecret?: string | undefined;
193434
- additionalCredentials?: any;
193435
- senderId?: string | undefined;
193436
- whatsapp?: {
193437
- wabaBusinessId?: string | null | undefined;
193438
- wabaExternalId?: string | null | undefined;
193439
- phoneNumberId?: string | null | undefined;
193440
- email?: string | null | undefined;
193441
- clientId?: string | null | undefined;
193442
- channelId?: string | null | undefined;
193443
- waapiInstanceId?: string | null | undefined;
193444
- qr?: string | null | undefined;
193445
- status?: "active" | "pending" | "waapi-qr" | undefined;
193446
- apiKey?: string | undefined;
193447
- tier?: "basic" | "regular" | "premium" | undefined;
193448
- integrationType?: "meta" | "360dialog" | "waapi" | undefined;
193449
- } | undefined;
193450
- vonageCredentials?: {
193451
- apiKey: string;
193452
- mobileNumber: string;
193453
- apiSecret: string;
193454
- } | undefined;
193455
- lineRichMenuId?: string | null | undefined;
193456
- messengerIntegrationType?: "own" | "business" | undefined;
193457
- facebookFeedIntegrationType?: "own" | "business" | undefined;
193458
- } | undefined;
193459
- brandName?: string | undefined;
193460
- platformId?: string | undefined;
193461
- status?: boolean | undefined;
193462
- isReloginRequired?: boolean | undefined;
193463
- connectedUserName?: string | undefined;
193464
- connectedUserId?: string | undefined;
193465
- botpressBot?: {
193466
- name: string;
193467
- id: string;
193468
- accessToken: string;
193469
- botId: string;
193470
- integrationId: string;
193471
- } | null | undefined;
193472
- actor?: {
193473
- name: string;
193474
- id: string;
193475
- address: string | null;
193476
- email: string;
193477
- createdAt: Date;
193478
- updatedAt: Date;
193479
- deletedAt: Date | null;
193480
- emailVerifiedAt: Date | null;
193481
- password: string;
193482
- phone: string | null;
193483
- notificationCount: number | null;
193484
- roles: {
193485
- id: string;
193486
- description: string | null;
193487
- createdAt: Date;
193488
- updatedAt: Date;
193489
- deletedAt: Date | null;
193490
- systemName: string;
193491
- displayName: string;
193492
- permissions: {
193493
- id: string;
193494
- description: string | null;
193495
- createdAt: Date;
193496
- updatedAt: Date;
193497
- deletedAt: Date | null;
193498
- systemName: string;
193499
- displayName: string;
193500
- }[];
193501
- }[];
193502
- extension: {
193503
- id: string;
193504
- createdAt: Date;
193505
- updatedAt: Date;
193506
- deletedAt: Date | null;
193507
- userId: string | null;
193508
- sipServerUrl: string;
193509
- sipUserName: string;
193510
- webphoneLoginUser: string;
193511
- extensionId: string | null;
193512
- extensionName: string;
193513
- telephonySignature: string | null;
193514
- };
193515
- } | undefined;
192975
+ id: string;
193516
192976
  }>;
193517
192977
  method: "POST";
193518
192978
  responses: {