@alicloud/cams20200606 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +780 -440
- package/dist/client.js +798 -440
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +810 -440
package/dist/client.js
CHANGED
|
@@ -2485,6 +2485,7 @@ class ListChatappTemplateRequest extends $tea.Model {
|
|
|
2485
2485
|
static names() {
|
|
2486
2486
|
return {
|
|
2487
2487
|
auditStatus: 'AuditStatus',
|
|
2488
|
+
code: 'Code',
|
|
2488
2489
|
custSpaceId: 'CustSpaceId',
|
|
2489
2490
|
custWabaId: 'CustWabaId',
|
|
2490
2491
|
isvCode: 'IsvCode',
|
|
@@ -2497,6 +2498,7 @@ class ListChatappTemplateRequest extends $tea.Model {
|
|
|
2497
2498
|
static types() {
|
|
2498
2499
|
return {
|
|
2499
2500
|
auditStatus: 'string',
|
|
2501
|
+
code: 'string',
|
|
2500
2502
|
custSpaceId: 'string',
|
|
2501
2503
|
custWabaId: 'string',
|
|
2502
2504
|
isvCode: 'string',
|
|
@@ -2515,6 +2517,7 @@ class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
2515
2517
|
static names() {
|
|
2516
2518
|
return {
|
|
2517
2519
|
auditStatus: 'AuditStatus',
|
|
2520
|
+
code: 'Code',
|
|
2518
2521
|
custSpaceId: 'CustSpaceId',
|
|
2519
2522
|
custWabaId: 'CustWabaId',
|
|
2520
2523
|
isvCode: 'IsvCode',
|
|
@@ -2527,6 +2530,7 @@ class ListChatappTemplateShrinkRequest extends $tea.Model {
|
|
|
2527
2530
|
static types() {
|
|
2528
2531
|
return {
|
|
2529
2532
|
auditStatus: 'string',
|
|
2533
|
+
code: 'string',
|
|
2530
2534
|
custSpaceId: 'string',
|
|
2531
2535
|
custWabaId: 'string',
|
|
2532
2536
|
isvCode: 'string',
|
|
@@ -3258,12 +3262,18 @@ class QueryChatappBindWabaRequest extends $tea.Model {
|
|
|
3258
3262
|
return {
|
|
3259
3263
|
custSpaceId: 'CustSpaceId',
|
|
3260
3264
|
isvCode: 'IsvCode',
|
|
3265
|
+
ownerId: 'OwnerId',
|
|
3266
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
3267
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
3261
3268
|
};
|
|
3262
3269
|
}
|
|
3263
3270
|
static types() {
|
|
3264
3271
|
return {
|
|
3265
3272
|
custSpaceId: 'string',
|
|
3266
3273
|
isvCode: 'string',
|
|
3274
|
+
ownerId: 'number',
|
|
3275
|
+
resourceOwnerAccount: 'string',
|
|
3276
|
+
resourceOwnerId: 'number',
|
|
3267
3277
|
};
|
|
3268
3278
|
}
|
|
3269
3279
|
constructor(map) {
|
|
@@ -3279,6 +3289,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
3279
3289
|
data: 'Data',
|
|
3280
3290
|
message: 'Message',
|
|
3281
3291
|
requestId: 'RequestId',
|
|
3292
|
+
success: 'Success',
|
|
3282
3293
|
};
|
|
3283
3294
|
}
|
|
3284
3295
|
static types() {
|
|
@@ -3288,6 +3299,7 @@ class QueryChatappBindWabaResponseBody extends $tea.Model {
|
|
|
3288
3299
|
data: QueryChatappBindWabaResponseBodyData,
|
|
3289
3300
|
message: 'string',
|
|
3290
3301
|
requestId: 'string',
|
|
3302
|
+
success: 'boolean',
|
|
3291
3303
|
};
|
|
3292
3304
|
}
|
|
3293
3305
|
constructor(map) {
|
|
@@ -5697,19 +5709,23 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
5697
5709
|
static names() {
|
|
5698
5710
|
return {
|
|
5699
5711
|
accountReviewStatus: 'AccountReviewStatus',
|
|
5712
|
+
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
5700
5713
|
currency: 'Currency',
|
|
5701
5714
|
id: 'Id',
|
|
5702
5715
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
5703
5716
|
name: 'Name',
|
|
5717
|
+
primaryBusinessLocation: 'PrimaryBusinessLocation',
|
|
5704
5718
|
};
|
|
5705
5719
|
}
|
|
5706
5720
|
static types() {
|
|
5707
5721
|
return {
|
|
5708
5722
|
accountReviewStatus: 'string',
|
|
5723
|
+
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5709
5724
|
currency: 'string',
|
|
5710
5725
|
id: 'string',
|
|
5711
5726
|
messageTemplateNamespace: 'string',
|
|
5712
5727
|
name: 'string',
|
|
5728
|
+
primaryBusinessLocation: 'string',
|
|
5713
5729
|
};
|
|
5714
5730
|
}
|
|
5715
5731
|
constructor(map) {
|
|
@@ -6028,11 +6044,13 @@ class Client extends openapi_client_1.default {
|
|
|
6028
6044
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6029
6045
|
}
|
|
6030
6046
|
/**
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6047
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
6048
|
+
*
|
|
6049
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6050
|
+
*
|
|
6051
|
+
* @param request AddChatappPhoneNumberRequest
|
|
6052
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6053
|
+
* @return AddChatappPhoneNumberResponse
|
|
6036
6054
|
*/
|
|
6037
6055
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6038
6056
|
tea_util_1.default.validateModel(request);
|
|
@@ -6069,21 +6087,25 @@ class Client extends openapi_client_1.default {
|
|
|
6069
6087
|
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
6070
6088
|
}
|
|
6071
6089
|
/**
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6090
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
6091
|
+
*
|
|
6092
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6093
|
+
*
|
|
6094
|
+
* @param request AddChatappPhoneNumberRequest
|
|
6095
|
+
* @return AddChatappPhoneNumberResponse
|
|
6076
6096
|
*/
|
|
6077
6097
|
async addChatappPhoneNumber(request) {
|
|
6078
6098
|
let runtime = new $Util.RuntimeOptions({});
|
|
6079
6099
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
6080
6100
|
}
|
|
6081
6101
|
/**
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6102
|
+
* @summary Associates FAQs in the knowledge base.
|
|
6103
|
+
*
|
|
6104
|
+
* @description You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6105
|
+
*
|
|
6106
|
+
* @param tmpReq BeeBotAssociateRequest
|
|
6107
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6108
|
+
* @return BeeBotAssociateResponse
|
|
6087
6109
|
*/
|
|
6088
6110
|
async beeBotAssociateWithOptions(tmpReq, runtime) {
|
|
6089
6111
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6131,21 +6153,25 @@ class Client extends openapi_client_1.default {
|
|
|
6131
6153
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
6132
6154
|
}
|
|
6133
6155
|
/**
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6156
|
+
* @summary Associates FAQs in the knowledge base.
|
|
6157
|
+
*
|
|
6158
|
+
* @description You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6159
|
+
*
|
|
6160
|
+
* @param request BeeBotAssociateRequest
|
|
6161
|
+
* @return BeeBotAssociateResponse
|
|
6138
6162
|
*/
|
|
6139
6163
|
async beeBotAssociate(request) {
|
|
6140
6164
|
let runtime = new $Util.RuntimeOptions({});
|
|
6141
6165
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
6142
6166
|
}
|
|
6143
6167
|
/**
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6168
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
6169
|
+
*
|
|
6170
|
+
* @description You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6171
|
+
*
|
|
6172
|
+
* @param tmpReq BeeBotChatRequest
|
|
6173
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6174
|
+
* @return BeeBotChatResponse
|
|
6149
6175
|
*/
|
|
6150
6176
|
async beeBotChatWithOptions(tmpReq, runtime) {
|
|
6151
6177
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6208,21 +6234,25 @@ class Client extends openapi_client_1.default {
|
|
|
6208
6234
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
6209
6235
|
}
|
|
6210
6236
|
/**
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6237
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
6238
|
+
*
|
|
6239
|
+
* @description You can call this operation up to 100 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6240
|
+
*
|
|
6241
|
+
* @param request BeeBotChatRequest
|
|
6242
|
+
* @return BeeBotChatResponse
|
|
6215
6243
|
*/
|
|
6216
6244
|
async beeBotChat(request) {
|
|
6217
6245
|
let runtime = new $Util.RuntimeOptions({});
|
|
6218
6246
|
return await this.beeBotChatWithOptions(request, runtime);
|
|
6219
6247
|
}
|
|
6220
6248
|
/**
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6249
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
6250
|
+
*
|
|
6251
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6252
|
+
*
|
|
6253
|
+
* @param request ChatappBindWabaRequest
|
|
6254
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6255
|
+
* @return ChatappBindWabaResponse
|
|
6226
6256
|
*/
|
|
6227
6257
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6228
6258
|
tea_util_1.default.validateModel(request);
|
|
@@ -6247,21 +6277,25 @@ class Client extends openapi_client_1.default {
|
|
|
6247
6277
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
6248
6278
|
}
|
|
6249
6279
|
/**
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6280
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
6281
|
+
*
|
|
6282
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6283
|
+
*
|
|
6284
|
+
* @param request ChatappBindWabaRequest
|
|
6285
|
+
* @return ChatappBindWabaResponse
|
|
6254
6286
|
*/
|
|
6255
6287
|
async chatappBindWaba(request) {
|
|
6256
6288
|
let runtime = new $Util.RuntimeOptions({});
|
|
6257
6289
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
6258
6290
|
}
|
|
6259
6291
|
/**
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6292
|
+
* @summary Queries WhatsApp Business account (WABA) information after embedded signup. You do not need to call this API operation if you use Version 2 of WhatsApp embedded signup.
|
|
6293
|
+
*
|
|
6294
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6295
|
+
*
|
|
6296
|
+
* @param request ChatappEmbedSignUpRequest
|
|
6297
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6298
|
+
* @return ChatappEmbedSignUpResponse
|
|
6265
6299
|
*/
|
|
6266
6300
|
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
6267
6301
|
tea_util_1.default.validateModel(request);
|
|
@@ -6286,21 +6320,25 @@ class Client extends openapi_client_1.default {
|
|
|
6286
6320
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
6287
6321
|
}
|
|
6288
6322
|
/**
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6323
|
+
* @summary Queries WhatsApp Business account (WABA) information after embedded signup. You do not need to call this API operation if you use Version 2 of WhatsApp embedded signup.
|
|
6324
|
+
*
|
|
6325
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6326
|
+
*
|
|
6327
|
+
* @param request ChatappEmbedSignUpRequest
|
|
6328
|
+
* @return ChatappEmbedSignUpResponse
|
|
6293
6329
|
*/
|
|
6294
6330
|
async chatappEmbedSignUp(request) {
|
|
6295
6331
|
let runtime = new $Util.RuntimeOptions({});
|
|
6296
6332
|
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
6297
6333
|
}
|
|
6298
6334
|
/**
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6335
|
+
* @summary Registers a phone number for migration.
|
|
6336
|
+
*
|
|
6337
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6338
|
+
*
|
|
6339
|
+
* @param request ChatappMigrationRegisterRequest
|
|
6340
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6341
|
+
* @return ChatappMigrationRegisterResponse
|
|
6304
6342
|
*/
|
|
6305
6343
|
async chatappMigrationRegisterWithOptions(request, runtime) {
|
|
6306
6344
|
tea_util_1.default.validateModel(request);
|
|
@@ -6328,21 +6366,25 @@ class Client extends openapi_client_1.default {
|
|
|
6328
6366
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
|
|
6329
6367
|
}
|
|
6330
6368
|
/**
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6369
|
+
* @summary Registers a phone number for migration.
|
|
6370
|
+
*
|
|
6371
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6372
|
+
*
|
|
6373
|
+
* @param request ChatappMigrationRegisterRequest
|
|
6374
|
+
* @return ChatappMigrationRegisterResponse
|
|
6335
6375
|
*/
|
|
6336
6376
|
async chatappMigrationRegister(request) {
|
|
6337
6377
|
let runtime = new $Util.RuntimeOptions({});
|
|
6338
6378
|
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
6339
6379
|
}
|
|
6340
6380
|
/**
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6381
|
+
* @summary Verifies a specified phone number for migration.
|
|
6382
|
+
*
|
|
6383
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6384
|
+
*
|
|
6385
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
6386
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6387
|
+
* @return ChatappMigrationVerifiedResponse
|
|
6346
6388
|
*/
|
|
6347
6389
|
async chatappMigrationVerifiedWithOptions(request, runtime) {
|
|
6348
6390
|
tea_util_1.default.validateModel(request);
|
|
@@ -6373,21 +6415,25 @@ class Client extends openapi_client_1.default {
|
|
|
6373
6415
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
|
|
6374
6416
|
}
|
|
6375
6417
|
/**
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6418
|
+
* @summary Verifies a specified phone number for migration.
|
|
6419
|
+
*
|
|
6420
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6421
|
+
*
|
|
6422
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
6423
|
+
* @return ChatappMigrationVerifiedResponse
|
|
6380
6424
|
*/
|
|
6381
6425
|
async chatappMigrationVerified(request) {
|
|
6382
6426
|
let runtime = new $Util.RuntimeOptions({});
|
|
6383
6427
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
6384
6428
|
}
|
|
6385
6429
|
/**
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6430
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6431
|
+
*
|
|
6432
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6433
|
+
*
|
|
6434
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6435
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6436
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
6391
6437
|
*/
|
|
6392
6438
|
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
6393
6439
|
tea_util_1.default.validateModel(request);
|
|
@@ -6415,21 +6461,25 @@ class Client extends openapi_client_1.default {
|
|
|
6415
6461
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
6416
6462
|
}
|
|
6417
6463
|
/**
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6464
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6465
|
+
*
|
|
6466
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6467
|
+
*
|
|
6468
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6469
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
6422
6470
|
*/
|
|
6423
6471
|
async chatappPhoneNumberDeregister(request) {
|
|
6424
6472
|
let runtime = new $Util.RuntimeOptions({});
|
|
6425
6473
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
6426
6474
|
}
|
|
6427
6475
|
/**
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6476
|
+
* @summary Registers a phone number.
|
|
6477
|
+
*
|
|
6478
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6479
|
+
*
|
|
6480
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
6481
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6482
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
6433
6483
|
*/
|
|
6434
6484
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6435
6485
|
tea_util_1.default.validateModel(request);
|
|
@@ -6457,21 +6507,25 @@ class Client extends openapi_client_1.default {
|
|
|
6457
6507
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
6458
6508
|
}
|
|
6459
6509
|
/**
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6510
|
+
* @summary Registers a phone number.
|
|
6511
|
+
*
|
|
6512
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6513
|
+
*
|
|
6514
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
6515
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
6464
6516
|
*/
|
|
6465
6517
|
async chatappPhoneNumberRegister(request) {
|
|
6466
6518
|
let runtime = new $Util.RuntimeOptions({});
|
|
6467
6519
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
6468
6520
|
}
|
|
6469
6521
|
/**
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6522
|
+
* @summary Synchronizes phone numbers.
|
|
6523
|
+
*
|
|
6524
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6525
|
+
*
|
|
6526
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
6527
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6528
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
6475
6529
|
*/
|
|
6476
6530
|
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
6477
6531
|
tea_util_1.default.validateModel(request);
|
|
@@ -6496,21 +6550,25 @@ class Client extends openapi_client_1.default {
|
|
|
6496
6550
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
6497
6551
|
}
|
|
6498
6552
|
/**
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6553
|
+
* @summary Synchronizes phone numbers.
|
|
6554
|
+
*
|
|
6555
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6556
|
+
*
|
|
6557
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
6558
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
6503
6559
|
*/
|
|
6504
6560
|
async chatappSyncPhoneNumber(request) {
|
|
6505
6561
|
let runtime = new $Util.RuntimeOptions({});
|
|
6506
6562
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
6507
6563
|
}
|
|
6508
6564
|
/**
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6565
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
6566
|
+
*
|
|
6567
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6568
|
+
*
|
|
6569
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
6570
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6571
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
6514
6572
|
*/
|
|
6515
6573
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6516
6574
|
tea_util_1.default.validateModel(request);
|
|
@@ -6541,21 +6599,25 @@ class Client extends openapi_client_1.default {
|
|
|
6541
6599
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
6542
6600
|
}
|
|
6543
6601
|
/**
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6602
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
6603
|
+
*
|
|
6604
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6605
|
+
*
|
|
6606
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
6607
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
6548
6608
|
*/
|
|
6549
6609
|
async chatappVerifyAndRegister(request) {
|
|
6550
6610
|
let runtime = new $Util.RuntimeOptions({});
|
|
6551
6611
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
6552
6612
|
}
|
|
6553
6613
|
/**
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6614
|
+
* @summary The ID of the number.
|
|
6615
|
+
*
|
|
6616
|
+
* @description The status of the phone number.
|
|
6617
|
+
*
|
|
6618
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
6619
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6620
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
6559
6621
|
*/
|
|
6560
6622
|
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
6561
6623
|
tea_util_1.default.validateModel(request);
|
|
@@ -6586,21 +6648,27 @@ class Client extends openapi_client_1.default {
|
|
|
6586
6648
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
6587
6649
|
}
|
|
6588
6650
|
/**
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6651
|
+
* @summary The ID of the number.
|
|
6652
|
+
*
|
|
6653
|
+
* @description The status of the phone number.
|
|
6654
|
+
*
|
|
6655
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
6656
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
6593
6657
|
*/
|
|
6594
6658
|
async createChatappMigrationInitiate(request) {
|
|
6595
6659
|
let runtime = new $Util.RuntimeOptions({});
|
|
6596
6660
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
6597
6661
|
}
|
|
6598
6662
|
/**
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6663
|
+
* @summary The HTTP status code.
|
|
6664
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6665
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6666
|
+
*
|
|
6667
|
+
* @description The error message.
|
|
6668
|
+
*
|
|
6669
|
+
* @param tmpReq CreateChatappTemplateRequest
|
|
6670
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6671
|
+
* @return CreateChatappTemplateResponse
|
|
6604
6672
|
*/
|
|
6605
6673
|
async createChatappTemplateWithOptions(tmpReq, runtime) {
|
|
6606
6674
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6663,21 +6731,27 @@ class Client extends openapi_client_1.default {
|
|
|
6663
6731
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
6664
6732
|
}
|
|
6665
6733
|
/**
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6734
|
+
* @summary The HTTP status code.
|
|
6735
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6736
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6737
|
+
*
|
|
6738
|
+
* @description The error message.
|
|
6739
|
+
*
|
|
6740
|
+
* @param request CreateChatappTemplateRequest
|
|
6741
|
+
* @return CreateChatappTemplateResponse
|
|
6670
6742
|
*/
|
|
6671
6743
|
async createChatappTemplate(request) {
|
|
6672
6744
|
let runtime = new $Util.RuntimeOptions({});
|
|
6673
6745
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
6674
6746
|
}
|
|
6675
6747
|
/**
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6748
|
+
* @summary Creates a Flow.
|
|
6749
|
+
*
|
|
6750
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6751
|
+
*
|
|
6752
|
+
* @param tmpReq CreateFlowRequest
|
|
6753
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6754
|
+
* @return CreateFlowResponse
|
|
6681
6755
|
*/
|
|
6682
6756
|
async createFlowWithOptions(tmpReq, runtime) {
|
|
6683
6757
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6713,15 +6787,24 @@ class Client extends openapi_client_1.default {
|
|
|
6713
6787
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
|
|
6714
6788
|
}
|
|
6715
6789
|
/**
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6790
|
+
* @summary Creates a Flow.
|
|
6791
|
+
*
|
|
6792
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6793
|
+
*
|
|
6794
|
+
* @param request CreateFlowRequest
|
|
6795
|
+
* @return CreateFlowResponse
|
|
6720
6796
|
*/
|
|
6721
6797
|
async createFlow(request) {
|
|
6722
6798
|
let runtime = new $Util.RuntimeOptions({});
|
|
6723
6799
|
return await this.createFlowWithOptions(request, runtime);
|
|
6724
6800
|
}
|
|
6801
|
+
/**
|
|
6802
|
+
* @summary 创建消息发送二维码
|
|
6803
|
+
*
|
|
6804
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
6805
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6806
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
6807
|
+
*/
|
|
6725
6808
|
async createPhoneMessageQrdlWithOptions(request, runtime) {
|
|
6726
6809
|
tea_util_1.default.validateModel(request);
|
|
6727
6810
|
let body = {};
|
|
@@ -6753,17 +6836,25 @@ class Client extends openapi_client_1.default {
|
|
|
6753
6836
|
});
|
|
6754
6837
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
6755
6838
|
}
|
|
6839
|
+
/**
|
|
6840
|
+
* @summary 创建消息发送二维码
|
|
6841
|
+
*
|
|
6842
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
6843
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
6844
|
+
*/
|
|
6756
6845
|
async createPhoneMessageQrdl(request) {
|
|
6757
6846
|
let runtime = new $Util.RuntimeOptions({});
|
|
6758
6847
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
6759
6848
|
}
|
|
6760
6849
|
/**
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6850
|
+
* @summary Deletes a message template.
|
|
6851
|
+
*
|
|
6852
|
+
* @description ### QPS limit
|
|
6853
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6854
|
+
*
|
|
6855
|
+
* @param request DeleteChatappTemplateRequest
|
|
6856
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6857
|
+
* @return DeleteChatappTemplateResponse
|
|
6767
6858
|
*/
|
|
6768
6859
|
async deleteChatappTemplateWithOptions(request, runtime) {
|
|
6769
6860
|
tea_util_1.default.validateModel(request);
|
|
@@ -6806,22 +6897,26 @@ class Client extends openapi_client_1.default {
|
|
|
6806
6897
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
|
|
6807
6898
|
}
|
|
6808
6899
|
/**
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6900
|
+
* @summary Deletes a message template.
|
|
6901
|
+
*
|
|
6902
|
+
* @description ### QPS limit
|
|
6903
|
+
* You can call this operation up to five times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6904
|
+
*
|
|
6905
|
+
* @param request DeleteChatappTemplateRequest
|
|
6906
|
+
* @return DeleteChatappTemplateResponse
|
|
6814
6907
|
*/
|
|
6815
6908
|
async deleteChatappTemplate(request) {
|
|
6816
6909
|
let runtime = new $Util.RuntimeOptions({});
|
|
6817
6910
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
6818
6911
|
}
|
|
6819
6912
|
/**
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6913
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
6914
|
+
*
|
|
6915
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6916
|
+
*
|
|
6917
|
+
* @param request DeleteFlowRequest
|
|
6918
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6919
|
+
* @return DeleteFlowResponse
|
|
6825
6920
|
*/
|
|
6826
6921
|
async deleteFlowWithOptions(request, runtime) {
|
|
6827
6922
|
tea_util_1.default.validateModel(request);
|
|
@@ -6849,15 +6944,24 @@ class Client extends openapi_client_1.default {
|
|
|
6849
6944
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
|
|
6850
6945
|
}
|
|
6851
6946
|
/**
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
6947
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
6948
|
+
*
|
|
6949
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6950
|
+
*
|
|
6951
|
+
* @param request DeleteFlowRequest
|
|
6952
|
+
* @return DeleteFlowResponse
|
|
6856
6953
|
*/
|
|
6857
6954
|
async deleteFlow(request) {
|
|
6858
6955
|
let runtime = new $Util.RuntimeOptions({});
|
|
6859
6956
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
6860
6957
|
}
|
|
6958
|
+
/**
|
|
6959
|
+
* @summary 删除消息发送二维码
|
|
6960
|
+
*
|
|
6961
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
6962
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6963
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
6964
|
+
*/
|
|
6861
6965
|
async deletePhoneMessageQrdlWithOptions(request, runtime) {
|
|
6862
6966
|
tea_util_1.default.validateModel(request);
|
|
6863
6967
|
let body = {};
|
|
@@ -6886,10 +6990,23 @@ class Client extends openapi_client_1.default {
|
|
|
6886
6990
|
});
|
|
6887
6991
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
6888
6992
|
}
|
|
6993
|
+
/**
|
|
6994
|
+
* @summary 删除消息发送二维码
|
|
6995
|
+
*
|
|
6996
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
6997
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
6998
|
+
*/
|
|
6889
6999
|
async deletePhoneMessageQrdl(request) {
|
|
6890
7000
|
let runtime = new $Util.RuntimeOptions({});
|
|
6891
7001
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
6892
7002
|
}
|
|
7003
|
+
/**
|
|
7004
|
+
* @summary 弃用Flow
|
|
7005
|
+
*
|
|
7006
|
+
* @param request DeprecateFlowRequest
|
|
7007
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7008
|
+
* @return DeprecateFlowResponse
|
|
7009
|
+
*/
|
|
6893
7010
|
async deprecateFlowWithOptions(request, runtime) {
|
|
6894
7011
|
tea_util_1.default.validateModel(request);
|
|
6895
7012
|
let body = {};
|
|
@@ -6915,16 +7032,24 @@ class Client extends openapi_client_1.default {
|
|
|
6915
7032
|
});
|
|
6916
7033
|
return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
6917
7034
|
}
|
|
7035
|
+
/**
|
|
7036
|
+
* @summary 弃用Flow
|
|
7037
|
+
*
|
|
7038
|
+
* @param request DeprecateFlowRequest
|
|
7039
|
+
* @return DeprecateFlowResponse
|
|
7040
|
+
*/
|
|
6918
7041
|
async deprecateFlow(request) {
|
|
6919
7042
|
let runtime = new $Util.RuntimeOptions({});
|
|
6920
7043
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
6921
7044
|
}
|
|
6922
7045
|
/**
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
7046
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
7047
|
+
*
|
|
7048
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7049
|
+
*
|
|
7050
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
7051
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7052
|
+
* @return EnableWhatsappROIMetricResponse
|
|
6928
7053
|
*/
|
|
6929
7054
|
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
6930
7055
|
tea_util_1.default.validateModel(request);
|
|
@@ -6952,21 +7077,25 @@ class Client extends openapi_client_1.default {
|
|
|
6952
7077
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
6953
7078
|
}
|
|
6954
7079
|
/**
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
7080
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
7081
|
+
*
|
|
7082
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7083
|
+
*
|
|
7084
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
7085
|
+
* @return EnableWhatsappROIMetricResponse
|
|
6959
7086
|
*/
|
|
6960
7087
|
async enableWhatsappROIMetric(request) {
|
|
6961
7088
|
let runtime = new $Util.RuntimeOptions({});
|
|
6962
7089
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
6963
7090
|
}
|
|
6964
7091
|
/**
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
7092
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7093
|
+
*
|
|
7094
|
+
* @description You can call this operation up to 50 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7095
|
+
*
|
|
7096
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
7097
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7098
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
6970
7099
|
*/
|
|
6971
7100
|
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
6972
7101
|
tea_util_1.default.validateModel(request);
|
|
@@ -7006,22 +7135,26 @@ class Client extends openapi_client_1.default {
|
|
|
7006
7135
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
7007
7136
|
}
|
|
7008
7137
|
/**
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7138
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7139
|
+
*
|
|
7140
|
+
* @description You can call this operation up to 50 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7141
|
+
*
|
|
7142
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
7143
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
7013
7144
|
*/
|
|
7014
7145
|
async getChatappPhoneNumberMetric(request) {
|
|
7015
7146
|
let runtime = new $Util.RuntimeOptions({});
|
|
7016
7147
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
7017
7148
|
}
|
|
7018
7149
|
/**
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7150
|
+
* @summary Queries the information of a message template.
|
|
7151
|
+
*
|
|
7152
|
+
* @description ### QPS limit
|
|
7153
|
+
* You can call this API operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7154
|
+
*
|
|
7155
|
+
* @param request GetChatappTemplateDetailRequest
|
|
7156
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7157
|
+
* @return GetChatappTemplateDetailResponse
|
|
7025
7158
|
*/
|
|
7026
7159
|
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
7027
7160
|
tea_util_1.default.validateModel(request);
|
|
@@ -7064,22 +7197,26 @@ class Client extends openapi_client_1.default {
|
|
|
7064
7197
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
7065
7198
|
}
|
|
7066
7199
|
/**
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7200
|
+
* @summary Queries the information of a message template.
|
|
7201
|
+
*
|
|
7202
|
+
* @description ### QPS limit
|
|
7203
|
+
* You can call this API operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7204
|
+
*
|
|
7205
|
+
* @param request GetChatappTemplateDetailRequest
|
|
7206
|
+
* @return GetChatappTemplateDetailResponse
|
|
7072
7207
|
*/
|
|
7073
7208
|
async getChatappTemplateDetail(request) {
|
|
7074
7209
|
let runtime = new $Util.RuntimeOptions({});
|
|
7075
7210
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
7076
7211
|
}
|
|
7077
7212
|
/**
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7213
|
+
* @summary Queries the metrics about a marketing template.
|
|
7214
|
+
*
|
|
7215
|
+
* @description You can call this operation up to 50 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7216
|
+
*
|
|
7217
|
+
* @param request GetChatappTemplateMetricRequest
|
|
7218
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7219
|
+
* @return GetChatappTemplateMetricResponse
|
|
7083
7220
|
*/
|
|
7084
7221
|
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
7085
7222
|
tea_util_1.default.validateModel(request);
|
|
@@ -7125,21 +7262,25 @@ class Client extends openapi_client_1.default {
|
|
|
7125
7262
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
7126
7263
|
}
|
|
7127
7264
|
/**
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7265
|
+
* @summary Queries the metrics about a marketing template.
|
|
7266
|
+
*
|
|
7267
|
+
* @description You can call this operation up to 50 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7268
|
+
*
|
|
7269
|
+
* @param request GetChatappTemplateMetricRequest
|
|
7270
|
+
* @return GetChatappTemplateMetricResponse
|
|
7132
7271
|
*/
|
|
7133
7272
|
async getChatappTemplateMetric(request) {
|
|
7134
7273
|
let runtime = new $Util.RuntimeOptions({});
|
|
7135
7274
|
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
7136
7275
|
}
|
|
7137
7276
|
/**
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7277
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
7278
|
+
*
|
|
7279
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7280
|
+
*
|
|
7281
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
7282
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7283
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
7143
7284
|
*/
|
|
7144
7285
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
7145
7286
|
tea_util_1.default.validateModel(request);
|
|
@@ -7164,21 +7305,25 @@ class Client extends openapi_client_1.default {
|
|
|
7164
7305
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
7165
7306
|
}
|
|
7166
7307
|
/**
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7308
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
7309
|
+
*
|
|
7310
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7311
|
+
*
|
|
7312
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
7313
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
7171
7314
|
*/
|
|
7172
7315
|
async getChatappUploadAuthorization(request) {
|
|
7173
7316
|
let runtime = new $Util.RuntimeOptions({});
|
|
7174
7317
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
7175
7318
|
}
|
|
7176
7319
|
/**
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7320
|
+
* @summary Obtains a verification code.
|
|
7321
|
+
*
|
|
7322
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7323
|
+
*
|
|
7324
|
+
* @param request GetChatappVerifyCodeRequest
|
|
7325
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7326
|
+
* @return GetChatappVerifyCodeResponse
|
|
7182
7327
|
*/
|
|
7183
7328
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7184
7329
|
tea_util_1.default.validateModel(request);
|
|
@@ -7212,21 +7357,25 @@ class Client extends openapi_client_1.default {
|
|
|
7212
7357
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
7213
7358
|
}
|
|
7214
7359
|
/**
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7360
|
+
* @summary Obtains a verification code.
|
|
7361
|
+
*
|
|
7362
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7363
|
+
*
|
|
7364
|
+
* @param request GetChatappVerifyCodeRequest
|
|
7365
|
+
* @return GetChatappVerifyCodeResponse
|
|
7219
7366
|
*/
|
|
7220
7367
|
async getChatappVerifyCode(request) {
|
|
7221
7368
|
let runtime = new $Util.RuntimeOptions({});
|
|
7222
7369
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
7223
7370
|
}
|
|
7224
7371
|
/**
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7372
|
+
* @summary Queries the business settings of a phone number.
|
|
7373
|
+
*
|
|
7374
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7375
|
+
*
|
|
7376
|
+
* @param request GetCommerceSettingRequest
|
|
7377
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7378
|
+
* @return GetCommerceSettingResponse
|
|
7230
7379
|
*/
|
|
7231
7380
|
async getCommerceSettingWithOptions(request, runtime) {
|
|
7232
7381
|
tea_util_1.default.validateModel(request);
|
|
@@ -7254,21 +7403,25 @@ class Client extends openapi_client_1.default {
|
|
|
7254
7403
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
|
|
7255
7404
|
}
|
|
7256
7405
|
/**
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7406
|
+
* @summary Queries the business settings of a phone number.
|
|
7407
|
+
*
|
|
7408
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7409
|
+
*
|
|
7410
|
+
* @param request GetCommerceSettingRequest
|
|
7411
|
+
* @return GetCommerceSettingResponse
|
|
7261
7412
|
*/
|
|
7262
7413
|
async getCommerceSetting(request) {
|
|
7263
7414
|
let runtime = new $Util.RuntimeOptions({});
|
|
7264
7415
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
7265
7416
|
}
|
|
7266
7417
|
/**
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7418
|
+
* @summary Queries the information about a Flow.
|
|
7419
|
+
*
|
|
7420
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7421
|
+
*
|
|
7422
|
+
* @param request GetFlowRequest
|
|
7423
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7424
|
+
* @return GetFlowResponse
|
|
7272
7425
|
*/
|
|
7273
7426
|
async getFlowWithOptions(request, runtime) {
|
|
7274
7427
|
tea_util_1.default.validateModel(request);
|
|
@@ -7296,15 +7449,24 @@ class Client extends openapi_client_1.default {
|
|
|
7296
7449
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowResponse({}));
|
|
7297
7450
|
}
|
|
7298
7451
|
/**
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7452
|
+
* @summary Queries the information about a Flow.
|
|
7453
|
+
*
|
|
7454
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7455
|
+
*
|
|
7456
|
+
* @param request GetFlowRequest
|
|
7457
|
+
* @return GetFlowResponse
|
|
7303
7458
|
*/
|
|
7304
7459
|
async getFlow(request) {
|
|
7305
7460
|
let runtime = new $Util.RuntimeOptions({});
|
|
7306
7461
|
return await this.getFlowWithOptions(request, runtime);
|
|
7307
7462
|
}
|
|
7463
|
+
/**
|
|
7464
|
+
* @summary 获取flow的JSON文件
|
|
7465
|
+
*
|
|
7466
|
+
* @param request GetFlowJSONAssestRequest
|
|
7467
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7468
|
+
* @return GetFlowJSONAssestResponse
|
|
7469
|
+
*/
|
|
7308
7470
|
async getFlowJSONAssestWithOptions(request, runtime) {
|
|
7309
7471
|
tea_util_1.default.validateModel(request);
|
|
7310
7472
|
let body = {};
|
|
@@ -7330,16 +7492,24 @@ class Client extends openapi_client_1.default {
|
|
|
7330
7492
|
});
|
|
7331
7493
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
7332
7494
|
}
|
|
7495
|
+
/**
|
|
7496
|
+
* @summary 获取flow的JSON文件
|
|
7497
|
+
*
|
|
7498
|
+
* @param request GetFlowJSONAssestRequest
|
|
7499
|
+
* @return GetFlowJSONAssestResponse
|
|
7500
|
+
*/
|
|
7333
7501
|
async getFlowJSONAssest(request) {
|
|
7334
7502
|
let runtime = new $Util.RuntimeOptions({});
|
|
7335
7503
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
7336
7504
|
}
|
|
7337
7505
|
/**
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7506
|
+
* @summary Obtains the preview URL of a Flow.
|
|
7507
|
+
*
|
|
7508
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7509
|
+
*
|
|
7510
|
+
* @param request GetFlowPreviewUrlRequest
|
|
7511
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7512
|
+
* @return GetFlowPreviewUrlResponse
|
|
7343
7513
|
*/
|
|
7344
7514
|
async getFlowPreviewUrlWithOptions(request, runtime) {
|
|
7345
7515
|
tea_util_1.default.validateModel(request);
|
|
@@ -7367,21 +7537,25 @@ class Client extends openapi_client_1.default {
|
|
|
7367
7537
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
|
|
7368
7538
|
}
|
|
7369
7539
|
/**
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7540
|
+
* @summary Obtains the preview URL of a Flow.
|
|
7541
|
+
*
|
|
7542
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7543
|
+
*
|
|
7544
|
+
* @param request GetFlowPreviewUrlRequest
|
|
7545
|
+
* @return GetFlowPreviewUrlResponse
|
|
7374
7546
|
*/
|
|
7375
7547
|
async getFlowPreviewUrl(request) {
|
|
7376
7548
|
let runtime = new $Util.RuntimeOptions({});
|
|
7377
7549
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
7378
7550
|
}
|
|
7379
7551
|
/**
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7552
|
+
* @summary The phone number.
|
|
7553
|
+
*
|
|
7554
|
+
* @description The ID of the phone number.
|
|
7555
|
+
*
|
|
7556
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
7557
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7558
|
+
* @return GetMigrationVerifyCodeResponse
|
|
7385
7559
|
*/
|
|
7386
7560
|
async getMigrationVerifyCodeWithOptions(request, runtime) {
|
|
7387
7561
|
tea_util_1.default.validateModel(request);
|
|
@@ -7415,15 +7589,24 @@ class Client extends openapi_client_1.default {
|
|
|
7415
7589
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
7416
7590
|
}
|
|
7417
7591
|
/**
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7592
|
+
* @summary The phone number.
|
|
7593
|
+
*
|
|
7594
|
+
* @description The ID of the phone number.
|
|
7595
|
+
*
|
|
7596
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
7597
|
+
* @return GetMigrationVerifyCodeResponse
|
|
7422
7598
|
*/
|
|
7423
7599
|
async getMigrationVerifyCode(request) {
|
|
7424
7600
|
let runtime = new $Util.RuntimeOptions({});
|
|
7425
7601
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
7426
7602
|
}
|
|
7603
|
+
/**
|
|
7604
|
+
* @summary 根据Code获取权限
|
|
7605
|
+
*
|
|
7606
|
+
* @param tmpReq GetPermissionByCodeRequest
|
|
7607
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7608
|
+
* @return GetPermissionByCodeResponse
|
|
7609
|
+
*/
|
|
7427
7610
|
async getPermissionByCodeWithOptions(tmpReq, runtime) {
|
|
7428
7611
|
tea_util_1.default.validateModel(tmpReq);
|
|
7429
7612
|
let request = new GetPermissionByCodeShrinkRequest({});
|
|
@@ -7457,10 +7640,23 @@ class Client extends openapi_client_1.default {
|
|
|
7457
7640
|
});
|
|
7458
7641
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
7459
7642
|
}
|
|
7643
|
+
/**
|
|
7644
|
+
* @summary 根据Code获取权限
|
|
7645
|
+
*
|
|
7646
|
+
* @param request GetPermissionByCodeRequest
|
|
7647
|
+
* @return GetPermissionByCodeResponse
|
|
7648
|
+
*/
|
|
7460
7649
|
async getPermissionByCode(request) {
|
|
7461
7650
|
let runtime = new $Util.RuntimeOptions({});
|
|
7462
7651
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
7463
7652
|
}
|
|
7653
|
+
/**
|
|
7654
|
+
* @summary 获取号码的公钥
|
|
7655
|
+
*
|
|
7656
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7657
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7658
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
7659
|
+
*/
|
|
7464
7660
|
async getPhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
7465
7661
|
tea_util_1.default.validateModel(request);
|
|
7466
7662
|
let body = {};
|
|
@@ -7486,16 +7682,24 @@ class Client extends openapi_client_1.default {
|
|
|
7486
7682
|
});
|
|
7487
7683
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
7488
7684
|
}
|
|
7685
|
+
/**
|
|
7686
|
+
* @summary 获取号码的公钥
|
|
7687
|
+
*
|
|
7688
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7689
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
7690
|
+
*/
|
|
7489
7691
|
async getPhoneEncryptionPublicKey(request) {
|
|
7490
7692
|
let runtime = new $Util.RuntimeOptions({});
|
|
7491
7693
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
7492
7694
|
}
|
|
7493
7695
|
/**
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7696
|
+
* @summary Obtains the verification status of a phone number.
|
|
7697
|
+
*
|
|
7698
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7699
|
+
*
|
|
7700
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7701
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7702
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
7499
7703
|
*/
|
|
7500
7704
|
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
7501
7705
|
tea_util_1.default.validateModel(request);
|
|
@@ -7523,21 +7727,25 @@ class Client extends openapi_client_1.default {
|
|
|
7523
7727
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
7524
7728
|
}
|
|
7525
7729
|
/**
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7730
|
+
* @summary Obtains the verification status of a phone number.
|
|
7731
|
+
*
|
|
7732
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7733
|
+
*
|
|
7734
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7735
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
7530
7736
|
*/
|
|
7531
7737
|
async getPhoneNumberVerificationStatus(request) {
|
|
7532
7738
|
let runtime = new $Util.RuntimeOptions({});
|
|
7533
7739
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
7534
7740
|
}
|
|
7535
7741
|
/**
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7742
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
7743
|
+
*
|
|
7744
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7745
|
+
*
|
|
7746
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
7747
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7748
|
+
* @return GetPreValidatePhoneIdResponse
|
|
7541
7749
|
*/
|
|
7542
7750
|
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
7543
7751
|
tea_util_1.default.validateModel(request);
|
|
@@ -7565,21 +7773,25 @@ class Client extends openapi_client_1.default {
|
|
|
7565
7773
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
7566
7774
|
}
|
|
7567
7775
|
/**
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7776
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
7777
|
+
*
|
|
7778
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7779
|
+
*
|
|
7780
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
7781
|
+
* @return GetPreValidatePhoneIdResponse
|
|
7572
7782
|
*/
|
|
7573
7783
|
async getPreValidatePhoneId(request) {
|
|
7574
7784
|
let runtime = new $Util.RuntimeOptions({});
|
|
7575
7785
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
7576
7786
|
}
|
|
7577
7787
|
/**
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7788
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
7789
|
+
*
|
|
7790
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7791
|
+
*
|
|
7792
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
7793
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7794
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
7583
7795
|
*/
|
|
7584
7796
|
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
7585
7797
|
tea_util_1.default.validateModel(request);
|
|
@@ -7616,21 +7828,25 @@ class Client extends openapi_client_1.default {
|
|
|
7616
7828
|
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
7617
7829
|
}
|
|
7618
7830
|
/**
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7831
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
7832
|
+
*
|
|
7833
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7834
|
+
*
|
|
7835
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
7836
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
7623
7837
|
*/
|
|
7624
7838
|
async getWhatsappConnectionCatalog(request) {
|
|
7625
7839
|
let runtime = new $Util.RuntimeOptions({});
|
|
7626
7840
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
7627
7841
|
}
|
|
7628
7842
|
/**
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7843
|
+
* @summary Obtains the application ID under the ISV account.
|
|
7844
|
+
*
|
|
7845
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7846
|
+
*
|
|
7847
|
+
* @param request IsvGetAppIdRequest
|
|
7848
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7849
|
+
* @return IsvGetAppIdResponse
|
|
7634
7850
|
*/
|
|
7635
7851
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
7636
7852
|
tea_util_1.default.validateModel(request);
|
|
@@ -7658,22 +7874,26 @@ class Client extends openapi_client_1.default {
|
|
|
7658
7874
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
7659
7875
|
}
|
|
7660
7876
|
/**
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7877
|
+
* @summary Obtains the application ID under the ISV account.
|
|
7878
|
+
*
|
|
7879
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7880
|
+
*
|
|
7881
|
+
* @param request IsvGetAppIdRequest
|
|
7882
|
+
* @return IsvGetAppIdResponse
|
|
7665
7883
|
*/
|
|
7666
7884
|
async isvGetAppId(request) {
|
|
7667
7885
|
let runtime = new $Util.RuntimeOptions({});
|
|
7668
7886
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
7669
7887
|
}
|
|
7670
7888
|
/**
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7889
|
+
* @summary Queries message templates.
|
|
7890
|
+
*
|
|
7891
|
+
* @description ### QPS limit
|
|
7892
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7893
|
+
*
|
|
7894
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
7895
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7896
|
+
* @return ListChatappTemplateResponse
|
|
7677
7897
|
*/
|
|
7678
7898
|
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
7679
7899
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7686,6 +7906,9 @@ class Client extends openapi_client_1.default {
|
|
|
7686
7906
|
if (!tea_util_1.default.isUnset(request.auditStatus)) {
|
|
7687
7907
|
query["AuditStatus"] = request.auditStatus;
|
|
7688
7908
|
}
|
|
7909
|
+
if (!tea_util_1.default.isUnset(request.code)) {
|
|
7910
|
+
query["Code"] = request.code;
|
|
7911
|
+
}
|
|
7689
7912
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7690
7913
|
query["CustSpaceId"] = request.custSpaceId;
|
|
7691
7914
|
}
|
|
@@ -7724,22 +7947,26 @@ class Client extends openapi_client_1.default {
|
|
|
7724
7947
|
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
7725
7948
|
}
|
|
7726
7949
|
/**
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7950
|
+
* @summary Queries message templates.
|
|
7951
|
+
*
|
|
7952
|
+
* @description ### QPS limit
|
|
7953
|
+
* You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7954
|
+
*
|
|
7955
|
+
* @param request ListChatappTemplateRequest
|
|
7956
|
+
* @return ListChatappTemplateResponse
|
|
7732
7957
|
*/
|
|
7733
7958
|
async listChatappTemplate(request) {
|
|
7734
7959
|
let runtime = new $Util.RuntimeOptions({});
|
|
7735
7960
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
7736
7961
|
}
|
|
7737
7962
|
/**
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7963
|
+
* @summary Queries a list of Flows.
|
|
7964
|
+
*
|
|
7965
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
7966
|
+
*
|
|
7967
|
+
* @param tmpReq ListFlowRequest
|
|
7968
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7969
|
+
* @return ListFlowResponse
|
|
7743
7970
|
*/
|
|
7744
7971
|
async listFlowWithOptions(tmpReq, runtime) {
|
|
7745
7972
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7775,15 +8002,24 @@ class Client extends openapi_client_1.default {
|
|
|
7775
8002
|
return $tea.cast(await this.callApi(params, req, runtime), new ListFlowResponse({}));
|
|
7776
8003
|
}
|
|
7777
8004
|
/**
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
8005
|
+
* @summary Queries a list of Flows.
|
|
8006
|
+
*
|
|
8007
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8008
|
+
*
|
|
8009
|
+
* @param request ListFlowRequest
|
|
8010
|
+
* @return ListFlowResponse
|
|
7782
8011
|
*/
|
|
7783
8012
|
async listFlow(request) {
|
|
7784
8013
|
let runtime = new $Util.RuntimeOptions({});
|
|
7785
8014
|
return await this.listFlowWithOptions(request, runtime);
|
|
7786
8015
|
}
|
|
8016
|
+
/**
|
|
8017
|
+
* @summary 查询消息发送二维码
|
|
8018
|
+
*
|
|
8019
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
8020
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8021
|
+
* @return ListPhoneMessageQrdlResponse
|
|
8022
|
+
*/
|
|
7787
8023
|
async listPhoneMessageQrdlWithOptions(request, runtime) {
|
|
7788
8024
|
tea_util_1.default.validateModel(request);
|
|
7789
8025
|
let body = {};
|
|
@@ -7809,16 +8045,24 @@ class Client extends openapi_client_1.default {
|
|
|
7809
8045
|
});
|
|
7810
8046
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
7811
8047
|
}
|
|
8048
|
+
/**
|
|
8049
|
+
* @summary 查询消息发送二维码
|
|
8050
|
+
*
|
|
8051
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
8052
|
+
* @return ListPhoneMessageQrdlResponse
|
|
8053
|
+
*/
|
|
7812
8054
|
async listPhoneMessageQrdl(request) {
|
|
7813
8055
|
let runtime = new $Util.RuntimeOptions({});
|
|
7814
8056
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
7815
8057
|
}
|
|
7816
8058
|
/**
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
8059
|
+
* @summary Queries products in a product catalog.
|
|
8060
|
+
*
|
|
8061
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8062
|
+
*
|
|
8063
|
+
* @param request ListProductRequest
|
|
8064
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8065
|
+
* @return ListProductResponse
|
|
7822
8066
|
*/
|
|
7823
8067
|
async listProductWithOptions(request, runtime) {
|
|
7824
8068
|
tea_util_1.default.validateModel(request);
|
|
@@ -7870,21 +8114,25 @@ class Client extends openapi_client_1.default {
|
|
|
7870
8114
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
7871
8115
|
}
|
|
7872
8116
|
/**
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
8117
|
+
* @summary Queries products in a product catalog.
|
|
8118
|
+
*
|
|
8119
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8120
|
+
*
|
|
8121
|
+
* @param request ListProductRequest
|
|
8122
|
+
* @return ListProductResponse
|
|
7877
8123
|
*/
|
|
7878
8124
|
async listProduct(request) {
|
|
7879
8125
|
let runtime = new $Util.RuntimeOptions({});
|
|
7880
8126
|
return await this.listProductWithOptions(request, runtime);
|
|
7881
8127
|
}
|
|
7882
8128
|
/**
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
8129
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
8130
|
+
*
|
|
8131
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8132
|
+
*
|
|
8133
|
+
* @param request ListProductCatalogRequest
|
|
8134
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8135
|
+
* @return ListProductCatalogResponse
|
|
7888
8136
|
*/
|
|
7889
8137
|
async listProductCatalogWithOptions(request, runtime) {
|
|
7890
8138
|
tea_util_1.default.validateModel(request);
|
|
@@ -7933,21 +8181,25 @@ class Client extends openapi_client_1.default {
|
|
|
7933
8181
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
7934
8182
|
}
|
|
7935
8183
|
/**
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
8184
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
8185
|
+
*
|
|
8186
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8187
|
+
*
|
|
8188
|
+
* @param request ListProductCatalogRequest
|
|
8189
|
+
* @return ListProductCatalogResponse
|
|
7940
8190
|
*/
|
|
7941
8191
|
async listProductCatalog(request) {
|
|
7942
8192
|
let runtime = new $Util.RuntimeOptions({});
|
|
7943
8193
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7944
8194
|
}
|
|
7945
8195
|
/**
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
8196
|
+
* @summary The code of the message template.
|
|
8197
|
+
*
|
|
8198
|
+
* @description The name of the message template.
|
|
8199
|
+
*
|
|
8200
|
+
* @param tmpReq ModifyChatappTemplateRequest
|
|
8201
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8202
|
+
* @return ModifyChatappTemplateResponse
|
|
7951
8203
|
*/
|
|
7952
8204
|
async modifyChatappTemplateWithOptions(tmpReq, runtime) {
|
|
7953
8205
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8010,21 +8262,25 @@ class Client extends openapi_client_1.default {
|
|
|
8010
8262
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
|
|
8011
8263
|
}
|
|
8012
8264
|
/**
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8265
|
+
* @summary The code of the message template.
|
|
8266
|
+
*
|
|
8267
|
+
* @description The name of the message template.
|
|
8268
|
+
*
|
|
8269
|
+
* @param request ModifyChatappTemplateRequest
|
|
8270
|
+
* @return ModifyChatappTemplateResponse
|
|
8017
8271
|
*/
|
|
8018
8272
|
async modifyChatappTemplate(request) {
|
|
8019
8273
|
let runtime = new $Util.RuntimeOptions({});
|
|
8020
8274
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
8021
8275
|
}
|
|
8022
8276
|
/**
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8277
|
+
* @summary Modifies the basic information about a Flow.
|
|
8278
|
+
*
|
|
8279
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8280
|
+
*
|
|
8281
|
+
* @param tmpReq ModifyFlowRequest
|
|
8282
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8283
|
+
* @return ModifyFlowResponse
|
|
8028
8284
|
*/
|
|
8029
8285
|
async modifyFlowWithOptions(tmpReq, runtime) {
|
|
8030
8286
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8063,21 +8319,25 @@ class Client extends openapi_client_1.default {
|
|
|
8063
8319
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
|
|
8064
8320
|
}
|
|
8065
8321
|
/**
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8322
|
+
* @summary Modifies the basic information about a Flow.
|
|
8323
|
+
*
|
|
8324
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8325
|
+
*
|
|
8326
|
+
* @param request ModifyFlowRequest
|
|
8327
|
+
* @return ModifyFlowResponse
|
|
8070
8328
|
*/
|
|
8071
8329
|
async modifyFlow(request) {
|
|
8072
8330
|
let runtime = new $Util.RuntimeOptions({});
|
|
8073
8331
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8074
8332
|
}
|
|
8075
8333
|
/**
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8334
|
+
* @summary The ID of the request.
|
|
8335
|
+
*
|
|
8336
|
+
* @description ModifyPhoneBusinessProfile
|
|
8337
|
+
*
|
|
8338
|
+
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
8339
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8340
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
8081
8341
|
*/
|
|
8082
8342
|
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
8083
8343
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8131,21 +8391,25 @@ class Client extends openapi_client_1.default {
|
|
|
8131
8391
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
8132
8392
|
}
|
|
8133
8393
|
/**
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8394
|
+
* @summary The ID of the request.
|
|
8395
|
+
*
|
|
8396
|
+
* @description ModifyPhoneBusinessProfile
|
|
8397
|
+
*
|
|
8398
|
+
* @param request ModifyPhoneBusinessProfileRequest
|
|
8399
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
8138
8400
|
*/
|
|
8139
8401
|
async modifyPhoneBusinessProfile(request) {
|
|
8140
8402
|
let runtime = new $Util.RuntimeOptions({});
|
|
8141
8403
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8142
8404
|
}
|
|
8143
8405
|
/**
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8406
|
+
* @summary Publishes a Flow.
|
|
8407
|
+
*
|
|
8408
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8409
|
+
*
|
|
8410
|
+
* @param request PublishFlowRequest
|
|
8411
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8412
|
+
* @return PublishFlowResponse
|
|
8149
8413
|
*/
|
|
8150
8414
|
async publishFlowWithOptions(request, runtime) {
|
|
8151
8415
|
tea_util_1.default.validateModel(request);
|
|
@@ -8173,21 +8437,25 @@ class Client extends openapi_client_1.default {
|
|
|
8173
8437
|
return $tea.cast(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
|
|
8174
8438
|
}
|
|
8175
8439
|
/**
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8440
|
+
* @summary Publishes a Flow.
|
|
8441
|
+
*
|
|
8442
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8443
|
+
*
|
|
8444
|
+
* @param request PublishFlowRequest
|
|
8445
|
+
* @return PublishFlowResponse
|
|
8180
8446
|
*/
|
|
8181
8447
|
async publishFlow(request) {
|
|
8182
8448
|
let runtime = new $Util.RuntimeOptions({});
|
|
8183
8449
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8184
8450
|
}
|
|
8185
8451
|
/**
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8452
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
8453
|
+
*
|
|
8454
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8455
|
+
*
|
|
8456
|
+
* @param request QueryChatappBindWabaRequest
|
|
8457
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8458
|
+
* @return QueryChatappBindWabaResponse
|
|
8191
8459
|
*/
|
|
8192
8460
|
async queryChatappBindWabaWithOptions(request, runtime) {
|
|
8193
8461
|
tea_util_1.default.validateModel(request);
|
|
@@ -8198,6 +8466,15 @@ class Client extends openapi_client_1.default {
|
|
|
8198
8466
|
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
8199
8467
|
query["IsvCode"] = request.isvCode;
|
|
8200
8468
|
}
|
|
8469
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8470
|
+
query["OwnerId"] = request.ownerId;
|
|
8471
|
+
}
|
|
8472
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8473
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8474
|
+
}
|
|
8475
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8476
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8477
|
+
}
|
|
8201
8478
|
let req = new $OpenApi.OpenApiRequest({
|
|
8202
8479
|
query: openapi_util_1.default.query(query),
|
|
8203
8480
|
});
|
|
@@ -8215,21 +8492,25 @@ class Client extends openapi_client_1.default {
|
|
|
8215
8492
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
8216
8493
|
}
|
|
8217
8494
|
/**
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8495
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
8496
|
+
*
|
|
8497
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8498
|
+
*
|
|
8499
|
+
* @param request QueryChatappBindWabaRequest
|
|
8500
|
+
* @return QueryChatappBindWabaResponse
|
|
8222
8501
|
*/
|
|
8223
8502
|
async queryChatappBindWaba(request) {
|
|
8224
8503
|
let runtime = new $Util.RuntimeOptions({});
|
|
8225
8504
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8226
8505
|
}
|
|
8227
8506
|
/**
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8507
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8508
|
+
*
|
|
8509
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8510
|
+
*
|
|
8511
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
8512
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8513
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
8233
8514
|
*/
|
|
8234
8515
|
async queryChatappPhoneNumbersWithOptions(request, runtime) {
|
|
8235
8516
|
tea_util_1.default.validateModel(request);
|
|
@@ -8260,21 +8541,25 @@ class Client extends openapi_client_1.default {
|
|
|
8260
8541
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
8261
8542
|
}
|
|
8262
8543
|
/**
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8544
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8545
|
+
*
|
|
8546
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8547
|
+
*
|
|
8548
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
8549
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
8267
8550
|
*/
|
|
8268
8551
|
async queryChatappPhoneNumbers(request) {
|
|
8269
8552
|
let runtime = new $Util.RuntimeOptions({});
|
|
8270
8553
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8271
8554
|
}
|
|
8272
8555
|
/**
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8556
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
8557
|
+
*
|
|
8558
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8559
|
+
*
|
|
8560
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
8561
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8562
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
8278
8563
|
*/
|
|
8279
8564
|
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
8280
8565
|
tea_util_1.default.validateModel(request);
|
|
@@ -8302,21 +8587,25 @@ class Client extends openapi_client_1.default {
|
|
|
8302
8587
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
8303
8588
|
}
|
|
8304
8589
|
/**
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8590
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
8591
|
+
*
|
|
8592
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8593
|
+
*
|
|
8594
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
8595
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
8309
8596
|
*/
|
|
8310
8597
|
async queryPhoneBusinessProfile(request) {
|
|
8311
8598
|
let runtime = new $Util.RuntimeOptions({});
|
|
8312
8599
|
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
8313
8600
|
}
|
|
8314
8601
|
/**
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8602
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
8603
|
+
*
|
|
8604
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8605
|
+
*
|
|
8606
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
8607
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8608
|
+
* @return QueryWabaBusinessInfoResponse
|
|
8320
8609
|
*/
|
|
8321
8610
|
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
8322
8611
|
tea_util_1.default.validateModel(request);
|
|
@@ -8344,22 +8633,26 @@ class Client extends openapi_client_1.default {
|
|
|
8344
8633
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
8345
8634
|
}
|
|
8346
8635
|
/**
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8636
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
8637
|
+
*
|
|
8638
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8639
|
+
*
|
|
8640
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
8641
|
+
* @return QueryWabaBusinessInfoResponse
|
|
8351
8642
|
*/
|
|
8352
8643
|
async queryWabaBusinessInfo(request) {
|
|
8353
8644
|
let runtime = new $Util.RuntimeOptions({});
|
|
8354
8645
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8355
8646
|
}
|
|
8356
8647
|
/**
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8648
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
8649
|
+
*
|
|
8650
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8651
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
8652
|
+
*
|
|
8653
|
+
* @param tmpReq SendChatappMassMessageRequest
|
|
8654
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8655
|
+
* @return SendChatappMassMessageResponse
|
|
8363
8656
|
*/
|
|
8364
8657
|
async sendChatappMassMessageWithOptions(tmpReq, runtime) {
|
|
8365
8658
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8437,22 +8730,26 @@ class Client extends openapi_client_1.default {
|
|
|
8437
8730
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
8438
8731
|
}
|
|
8439
8732
|
/**
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8733
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
8734
|
+
*
|
|
8735
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8736
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
8737
|
+
*
|
|
8738
|
+
* @param request SendChatappMassMessageRequest
|
|
8739
|
+
* @return SendChatappMassMessageResponse
|
|
8445
8740
|
*/
|
|
8446
8741
|
async sendChatappMassMessage(request) {
|
|
8447
8742
|
let runtime = new $Util.RuntimeOptions({});
|
|
8448
8743
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
8449
8744
|
}
|
|
8450
8745
|
/**
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8746
|
+
* @summary Sends messages by using ChatAPP.
|
|
8747
|
+
*
|
|
8748
|
+
* @description You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8749
|
+
*
|
|
8750
|
+
* @param tmpReq SendChatappMessageRequest
|
|
8751
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8752
|
+
* @return SendChatappMessageResponse
|
|
8456
8753
|
*/
|
|
8457
8754
|
async sendChatappMessageWithOptions(tmpReq, runtime) {
|
|
8458
8755
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8568,21 +8865,25 @@ class Client extends openapi_client_1.default {
|
|
|
8568
8865
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
8569
8866
|
}
|
|
8570
8867
|
/**
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8868
|
+
* @summary Sends messages by using ChatAPP.
|
|
8869
|
+
*
|
|
8870
|
+
* @description You can call this operation up to 200 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8871
|
+
*
|
|
8872
|
+
* @param request SendChatappMessageRequest
|
|
8873
|
+
* @return SendChatappMessageResponse
|
|
8575
8874
|
*/
|
|
8576
8875
|
async sendChatappMessage(request) {
|
|
8577
8876
|
let runtime = new $Util.RuntimeOptions({});
|
|
8578
8877
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
8579
8878
|
}
|
|
8580
8879
|
/**
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8880
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
8881
|
+
*
|
|
8882
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8883
|
+
*
|
|
8884
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
8885
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8886
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
8586
8887
|
*/
|
|
8587
8888
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
8588
8889
|
tea_util_1.default.validateModel(request);
|
|
@@ -8625,21 +8926,25 @@ class Client extends openapi_client_1.default {
|
|
|
8625
8926
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
8626
8927
|
}
|
|
8627
8928
|
/**
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8929
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
8930
|
+
*
|
|
8931
|
+
* @description You can call this operation up to five times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8932
|
+
*
|
|
8933
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
8934
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
8632
8935
|
*/
|
|
8633
8936
|
async submitIsvCustomerTerms(request) {
|
|
8634
8937
|
let runtime = new $Util.RuntimeOptions({});
|
|
8635
8938
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|
|
8636
8939
|
}
|
|
8637
8940
|
/**
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8941
|
+
* @summary Modifies the callback URL of an account.
|
|
8942
|
+
*
|
|
8943
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8944
|
+
*
|
|
8945
|
+
* @param request UpdateAccountWebhookRequest
|
|
8946
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8947
|
+
* @return UpdateAccountWebhookResponse
|
|
8643
8948
|
*/
|
|
8644
8949
|
async updateAccountWebhookWithOptions(request, runtime) {
|
|
8645
8950
|
tea_util_1.default.validateModel(request);
|
|
@@ -8673,21 +8978,25 @@ class Client extends openapi_client_1.default {
|
|
|
8673
8978
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
|
|
8674
8979
|
}
|
|
8675
8980
|
/**
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
8981
|
+
* @summary Modifies the callback URL of an account.
|
|
8982
|
+
*
|
|
8983
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8984
|
+
*
|
|
8985
|
+
* @param request UpdateAccountWebhookRequest
|
|
8986
|
+
* @return UpdateAccountWebhookResponse
|
|
8680
8987
|
*/
|
|
8681
8988
|
async updateAccountWebhook(request) {
|
|
8682
8989
|
let runtime = new $Util.RuntimeOptions({});
|
|
8683
8990
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
8684
8991
|
}
|
|
8685
8992
|
/**
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
8993
|
+
* @summary Modifies the business settings of a phone number.
|
|
8994
|
+
*
|
|
8995
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8996
|
+
*
|
|
8997
|
+
* @param request UpdateCommerceSettingRequest
|
|
8998
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8999
|
+
* @return UpdateCommerceSettingResponse
|
|
8691
9000
|
*/
|
|
8692
9001
|
async updateCommerceSettingWithOptions(request, runtime) {
|
|
8693
9002
|
tea_util_1.default.validateModel(request);
|
|
@@ -8721,15 +9030,24 @@ class Client extends openapi_client_1.default {
|
|
|
8721
9030
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCommerceSettingResponse({}));
|
|
8722
9031
|
}
|
|
8723
9032
|
/**
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
9033
|
+
* @summary Modifies the business settings of a phone number.
|
|
9034
|
+
*
|
|
9035
|
+
* @description You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
9036
|
+
*
|
|
9037
|
+
* @param request UpdateCommerceSettingRequest
|
|
9038
|
+
* @return UpdateCommerceSettingResponse
|
|
8728
9039
|
*/
|
|
8729
9040
|
async updateCommerceSetting(request) {
|
|
8730
9041
|
let runtime = new $Util.RuntimeOptions({});
|
|
8731
9042
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
8732
9043
|
}
|
|
9044
|
+
/**
|
|
9045
|
+
* @summary 更新flow的表单内容
|
|
9046
|
+
*
|
|
9047
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
9048
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9049
|
+
* @return UpdateFlowJSONAssetResponse
|
|
9050
|
+
*/
|
|
8733
9051
|
async updateFlowJSONAssetWithOptions(request, runtime) {
|
|
8734
9052
|
tea_util_1.default.validateModel(request);
|
|
8735
9053
|
let body = {};
|
|
@@ -8758,10 +9076,23 @@ class Client extends openapi_client_1.default {
|
|
|
8758
9076
|
});
|
|
8759
9077
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
8760
9078
|
}
|
|
9079
|
+
/**
|
|
9080
|
+
* @summary 更新flow的表单内容
|
|
9081
|
+
*
|
|
9082
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
9083
|
+
* @return UpdateFlowJSONAssetResponse
|
|
9084
|
+
*/
|
|
8761
9085
|
async updateFlowJSONAsset(request) {
|
|
8762
9086
|
let runtime = new $Util.RuntimeOptions({});
|
|
8763
9087
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
8764
9088
|
}
|
|
9089
|
+
/**
|
|
9090
|
+
* @summary 更新号码的公钥
|
|
9091
|
+
*
|
|
9092
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9093
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9094
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
9095
|
+
*/
|
|
8765
9096
|
async updatePhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
8766
9097
|
tea_util_1.default.validateModel(request);
|
|
8767
9098
|
let body = {};
|
|
@@ -8790,10 +9121,23 @@ class Client extends openapi_client_1.default {
|
|
|
8790
9121
|
});
|
|
8791
9122
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
8792
9123
|
}
|
|
9124
|
+
/**
|
|
9125
|
+
* @summary 更新号码的公钥
|
|
9126
|
+
*
|
|
9127
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9128
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
9129
|
+
*/
|
|
8793
9130
|
async updatePhoneEncryptionPublicKey(request) {
|
|
8794
9131
|
let runtime = new $Util.RuntimeOptions({});
|
|
8795
9132
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
8796
9133
|
}
|
|
9134
|
+
/**
|
|
9135
|
+
* @summary 修改消息发送二维码
|
|
9136
|
+
*
|
|
9137
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
9138
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9139
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
9140
|
+
*/
|
|
8797
9141
|
async updatePhoneMessageQrdlWithOptions(request, runtime) {
|
|
8798
9142
|
tea_util_1.default.validateModel(request);
|
|
8799
9143
|
let body = {};
|
|
@@ -8828,16 +9172,26 @@ class Client extends openapi_client_1.default {
|
|
|
8828
9172
|
});
|
|
8829
9173
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
8830
9174
|
}
|
|
9175
|
+
/**
|
|
9176
|
+
* @summary 修改消息发送二维码
|
|
9177
|
+
*
|
|
9178
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
9179
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
9180
|
+
*/
|
|
8831
9181
|
async updatePhoneMessageQrdl(request) {
|
|
8832
9182
|
let runtime = new $Util.RuntimeOptions({});
|
|
8833
9183
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
8834
9184
|
}
|
|
8835
9185
|
/**
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
9186
|
+
* @summary The HTTP status code returned.
|
|
9187
|
+
* * A value of OK indicates that the call is successful.
|
|
9188
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9189
|
+
*
|
|
9190
|
+
* @description The error message returned.
|
|
9191
|
+
*
|
|
9192
|
+
* @param request UpdatePhoneWebhookRequest
|
|
9193
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9194
|
+
* @return UpdatePhoneWebhookResponse
|
|
8841
9195
|
*/
|
|
8842
9196
|
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
8843
9197
|
tea_util_1.default.validateModel(request);
|
|
@@ -8877,10 +9231,14 @@ class Client extends openapi_client_1.default {
|
|
|
8877
9231
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
8878
9232
|
}
|
|
8879
9233
|
/**
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
9234
|
+
* @summary The HTTP status code returned.
|
|
9235
|
+
* * A value of OK indicates that the call is successful.
|
|
9236
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9237
|
+
*
|
|
9238
|
+
* @description The error message returned.
|
|
9239
|
+
*
|
|
9240
|
+
* @param request UpdatePhoneWebhookRequest
|
|
9241
|
+
* @return UpdatePhoneWebhookResponse
|
|
8884
9242
|
*/
|
|
8885
9243
|
async updatePhoneWebhook(request) {
|
|
8886
9244
|
let runtime = new $Util.RuntimeOptions({});
|