@alicloud/cams20200606 1.4.2 → 1.4.4
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 +822 -440
- package/dist/client.js +860 -442
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +885 -440
package/dist/client.js
CHANGED
|
@@ -30,8 +30,8 @@ exports.DeleteChatappTemplateRequest = exports.CreatePhoneMessageQrdlResponse =
|
|
|
30
30
|
exports.GetPhoneEncryptionPublicKeyResponseBody = exports.GetPhoneEncryptionPublicKeyRequest = exports.GetPermissionByCodeResponse = exports.GetPermissionByCodeResponseBody = exports.GetPermissionByCodeShrinkRequest = exports.GetPermissionByCodeRequest = exports.GetMigrationVerifyCodeResponse = exports.GetMigrationVerifyCodeResponseBody = exports.GetMigrationVerifyCodeRequest = exports.GetFlowPreviewUrlResponse = exports.GetFlowPreviewUrlResponseBody = exports.GetFlowPreviewUrlRequest = exports.GetFlowJSONAssestResponse = exports.GetFlowJSONAssestResponseBody = exports.GetFlowJSONAssestRequest = exports.GetFlowResponse = exports.GetFlowResponseBody = exports.GetFlowRequest = exports.GetCommerceSettingResponse = exports.GetCommerceSettingResponseBody = exports.GetCommerceSettingRequest = exports.GetChatappVerifyCodeResponse = exports.GetChatappVerifyCodeResponseBody = exports.GetChatappVerifyCodeRequest = exports.GetChatappUploadAuthorizationResponse = exports.GetChatappUploadAuthorizationResponseBody = exports.GetChatappUploadAuthorizationRequest = exports.GetChatappTemplateMetricResponse = exports.GetChatappTemplateMetricResponseBody = exports.GetChatappTemplateMetricRequest = exports.GetChatappTemplateDetailResponse = exports.GetChatappTemplateDetailResponseBody = exports.GetChatappTemplateDetailRequest = exports.GetChatappPhoneNumberMetricResponse = exports.GetChatappPhoneNumberMetricResponseBody = exports.GetChatappPhoneNumberMetricRequest = exports.EnableWhatsappROIMetricResponse = exports.EnableWhatsappROIMetricResponseBody = exports.EnableWhatsappROIMetricRequest = exports.DeprecateFlowResponse = exports.DeprecateFlowResponseBody = exports.DeprecateFlowRequest = exports.DeletePhoneMessageQrdlResponse = exports.DeletePhoneMessageQrdlResponseBody = exports.DeletePhoneMessageQrdlRequest = exports.DeleteFlowResponse = exports.DeleteFlowResponseBody = exports.DeleteFlowRequest = exports.DeleteChatappTemplateResponse = exports.DeleteChatappTemplateResponseBody = void 0;
|
|
31
31
|
exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = exports.PublishFlowResponseBody = exports.PublishFlowRequest = exports.ModifyPhoneBusinessProfileResponse = exports.ModifyPhoneBusinessProfileResponseBody = exports.ModifyPhoneBusinessProfileShrinkRequest = exports.ModifyPhoneBusinessProfileRequest = exports.ModifyFlowResponse = exports.ModifyFlowResponseBody = exports.ModifyFlowShrinkRequest = exports.ModifyFlowRequest = exports.ModifyChatappTemplateResponse = exports.ModifyChatappTemplateResponseBody = exports.ModifyChatappTemplateShrinkRequest = exports.ModifyChatappTemplateRequest = exports.ListProductCatalogResponse = exports.ListProductCatalogResponseBody = exports.ListProductCatalogRequest = exports.ListProductResponse = exports.ListProductResponseBody = exports.ListProductRequest = exports.ListPhoneMessageQrdlResponse = exports.ListPhoneMessageQrdlResponseBody = exports.ListPhoneMessageQrdlRequest = exports.ListFlowResponse = exports.ListFlowResponseBody = exports.ListFlowShrinkRequest = exports.ListFlowRequest = exports.ListChatappTemplateResponse = exports.ListChatappTemplateResponseBody = exports.ListChatappTemplateShrinkRequest = exports.ListChatappTemplateRequest = exports.IsvGetAppIdResponse = exports.IsvGetAppIdResponseBody = exports.IsvGetAppIdRequest = exports.GetWhatsappConnectionCatalogResponse = exports.GetWhatsappConnectionCatalogResponseBody = exports.GetWhatsappConnectionCatalogRequest = exports.GetPreValidatePhoneIdResponse = exports.GetPreValidatePhoneIdResponseBody = exports.GetPreValidatePhoneIdRequest = exports.GetPhoneNumberVerificationStatusResponse = exports.GetPhoneNumberVerificationStatusResponseBody = exports.GetPhoneNumberVerificationStatusRequest = exports.GetPhoneEncryptionPublicKeyResponse = void 0;
|
|
32
32
|
exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = exports.BeeBotChatResponseBodyDataMessagesKnowledge = exports.BeeBotChatResponseBodyDataMessagesKnowledgeRelatedKnowledges = exports.BeeBotAssociateResponseBodyData = exports.BeeBotAssociateResponseBodyDataAssociate = exports.UpdatePhoneWebhookResponse = exports.UpdatePhoneWebhookResponseBody = exports.UpdatePhoneWebhookRequest = exports.UpdatePhoneMessageQrdlResponse = exports.UpdatePhoneMessageQrdlResponseBody = exports.UpdatePhoneMessageQrdlRequest = exports.UpdatePhoneEncryptionPublicKeyResponse = exports.UpdatePhoneEncryptionPublicKeyResponseBody = exports.UpdatePhoneEncryptionPublicKeyRequest = exports.UpdateFlowJSONAssetResponse = exports.UpdateFlowJSONAssetResponseBody = exports.UpdateFlowJSONAssetRequest = exports.UpdateCommerceSettingResponse = exports.UpdateCommerceSettingResponseBody = exports.UpdateCommerceSettingRequest = exports.UpdateAccountWebhookResponse = exports.UpdateAccountWebhookResponseBody = exports.UpdateAccountWebhookRequest = exports.SubmitIsvCustomerTermsResponse = exports.SubmitIsvCustomerTermsResponseBody = exports.SubmitIsvCustomerTermsRequest = exports.SendChatappMessageResponse = exports.SendChatappMessageResponseBody = exports.SendChatappMessageShrinkRequest = exports.SendChatappMessageRequest = exports.SendChatappMassMessageResponse = exports.SendChatappMassMessageResponseBody = exports.SendChatappMassMessageShrinkRequest = exports.SendChatappMassMessageRequest = exports.QueryWabaBusinessInfoResponse = exports.QueryWabaBusinessInfoResponseBody = exports.QueryWabaBusinessInfoRequest = exports.QueryPhoneBusinessProfileResponse = exports.QueryPhoneBusinessProfileResponseBody = exports.QueryPhoneBusinessProfileRequest = exports.QueryChatappPhoneNumbersResponse = void 0;
|
|
33
|
-
exports.
|
|
34
|
-
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = void 0;
|
|
33
|
+
exports.QueryChatappPhoneNumbersResponseBodyPhoneNumbers = exports.QueryChatappBindWabaResponseBodyData = exports.ModifyFlowResponseBodyData = exports.ModifyChatappTemplateResponseBodyData = exports.ModifyChatappTemplateRequestComponents = exports.ModifyChatappTemplateRequestComponentsCards = exports.ModifyChatappTemplateRequestComponentsCardsCardComponents = exports.ModifyChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtons = exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = exports.ListProductCatalogResponseBodyModel = exports.ListProductCatalogResponseBodyModelPaging = exports.ListProductCatalogResponseBodyModelPagingCursors = exports.ListProductResponseBodyModel = exports.ListProductResponseBodyModelPaging = exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = exports.GetCommerceSettingResponseBodyData = exports.GetChatappUploadAuthorizationResponseBodyData = exports.GetChatappTemplateMetricResponseBodyData = exports.GetChatappTemplateMetricResponseBodyDataCliented = exports.GetChatappTemplateDetailResponseBodyData = exports.GetChatappTemplateDetailResponseBodyDataComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCards = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponents = exports.GetChatappTemplateDetailResponseBodyDataComponentsCardsCardComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtons = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = exports.GetChatappPhoneNumberMetricResponseBodyData = exports.CreatePhoneMessageQrdlResponseBodyData = exports.CreateFlowResponseBodyData = exports.CreateChatappTemplateResponseBodyData = exports.CreateChatappTemplateRequestComponents = exports.CreateChatappTemplateRequestComponentsCards = exports.CreateChatappTemplateRequestComponentsCardsCardComponents = exports.CreateChatappTemplateRequestComponentsCardsCardComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtons = exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = void 0;
|
|
34
|
+
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = void 0;
|
|
35
35
|
// This file is auto-generated, don't edit it
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
@@ -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) {
|
|
@@ -4601,6 +4613,24 @@ class CreateChatappMigrationInitiateResponseBodyData extends $tea.Model {
|
|
|
4601
4613
|
}
|
|
4602
4614
|
}
|
|
4603
4615
|
exports.CreateChatappMigrationInitiateResponseBodyData = CreateChatappMigrationInitiateResponseBodyData;
|
|
4616
|
+
class CreateChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
4617
|
+
static names() {
|
|
4618
|
+
return {
|
|
4619
|
+
packageName: 'PackageName',
|
|
4620
|
+
signatureHash: 'SignatureHash',
|
|
4621
|
+
};
|
|
4622
|
+
}
|
|
4623
|
+
static types() {
|
|
4624
|
+
return {
|
|
4625
|
+
packageName: 'string',
|
|
4626
|
+
signatureHash: 'string',
|
|
4627
|
+
};
|
|
4628
|
+
}
|
|
4629
|
+
constructor(map) {
|
|
4630
|
+
super(map);
|
|
4631
|
+
}
|
|
4632
|
+
}
|
|
4633
|
+
exports.CreateChatappTemplateRequestComponentsButtonsSupportedApps = CreateChatappTemplateRequestComponentsButtonsSupportedApps;
|
|
4604
4634
|
class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
4605
4635
|
static names() {
|
|
4606
4636
|
return {
|
|
@@ -4613,6 +4643,7 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4613
4643
|
packageName: 'PackageName',
|
|
4614
4644
|
phoneNumber: 'PhoneNumber',
|
|
4615
4645
|
signatureHash: 'SignatureHash',
|
|
4646
|
+
supportedApps: 'SupportedApps',
|
|
4616
4647
|
text: 'Text',
|
|
4617
4648
|
type: 'Type',
|
|
4618
4649
|
url: 'Url',
|
|
@@ -4630,6 +4661,7 @@ class CreateChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
4630
4661
|
packageName: 'string',
|
|
4631
4662
|
phoneNumber: 'string',
|
|
4632
4663
|
signatureHash: 'string',
|
|
4664
|
+
supportedApps: { 'type': 'array', 'itemType': CreateChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
4633
4665
|
text: 'string',
|
|
4634
4666
|
type: 'string',
|
|
4635
4667
|
url: 'string',
|
|
@@ -4861,6 +4893,24 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs exten
|
|
|
4861
4893
|
}
|
|
4862
4894
|
}
|
|
4863
4895
|
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs = GetChatappTemplateDetailResponseBodyDataComponentsButtonsExtendAttrs;
|
|
4896
|
+
class GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps extends $tea.Model {
|
|
4897
|
+
static names() {
|
|
4898
|
+
return {
|
|
4899
|
+
packageName: 'PackageName',
|
|
4900
|
+
signatureHash: 'SignatureHash',
|
|
4901
|
+
};
|
|
4902
|
+
}
|
|
4903
|
+
static types() {
|
|
4904
|
+
return {
|
|
4905
|
+
packageName: 'string',
|
|
4906
|
+
signatureHash: 'string',
|
|
4907
|
+
};
|
|
4908
|
+
}
|
|
4909
|
+
constructor(map) {
|
|
4910
|
+
super(map);
|
|
4911
|
+
}
|
|
4912
|
+
}
|
|
4913
|
+
exports.GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps = GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps;
|
|
4864
4914
|
class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Model {
|
|
4865
4915
|
static names() {
|
|
4866
4916
|
return {
|
|
@@ -4874,6 +4924,7 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
4874
4924
|
packageName: 'PackageName',
|
|
4875
4925
|
phoneNumber: 'PhoneNumber',
|
|
4876
4926
|
signatureHash: 'SignatureHash',
|
|
4927
|
+
supportedApps: 'SupportedApps',
|
|
4877
4928
|
text: 'Text',
|
|
4878
4929
|
type: 'Type',
|
|
4879
4930
|
url: 'Url',
|
|
@@ -4892,6 +4943,7 @@ class GetChatappTemplateDetailResponseBodyDataComponentsButtons extends $tea.Mod
|
|
|
4892
4943
|
packageName: 'string',
|
|
4893
4944
|
phoneNumber: 'string',
|
|
4894
4945
|
signatureHash: 'string',
|
|
4946
|
+
supportedApps: { 'type': 'array', 'itemType': GetChatappTemplateDetailResponseBodyDataComponentsButtonsSupportedApps },
|
|
4895
4947
|
text: 'string',
|
|
4896
4948
|
type: 'string',
|
|
4897
4949
|
url: 'string',
|
|
@@ -5509,6 +5561,24 @@ class ListProductCatalogResponseBodyModel extends $tea.Model {
|
|
|
5509
5561
|
}
|
|
5510
5562
|
}
|
|
5511
5563
|
exports.ListProductCatalogResponseBodyModel = ListProductCatalogResponseBodyModel;
|
|
5564
|
+
class ModifyChatappTemplateRequestComponentsButtonsSupportedApps extends $tea.Model {
|
|
5565
|
+
static names() {
|
|
5566
|
+
return {
|
|
5567
|
+
packageName: 'PackageName',
|
|
5568
|
+
signatureHash: 'SignatureHash',
|
|
5569
|
+
};
|
|
5570
|
+
}
|
|
5571
|
+
static types() {
|
|
5572
|
+
return {
|
|
5573
|
+
packageName: 'string',
|
|
5574
|
+
signatureHash: 'string',
|
|
5575
|
+
};
|
|
5576
|
+
}
|
|
5577
|
+
constructor(map) {
|
|
5578
|
+
super(map);
|
|
5579
|
+
}
|
|
5580
|
+
}
|
|
5581
|
+
exports.ModifyChatappTemplateRequestComponentsButtonsSupportedApps = ModifyChatappTemplateRequestComponentsButtonsSupportedApps;
|
|
5512
5582
|
class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
5513
5583
|
static names() {
|
|
5514
5584
|
return {
|
|
@@ -5521,6 +5591,7 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5521
5591
|
packageName: 'PackageName',
|
|
5522
5592
|
phoneNumber: 'PhoneNumber',
|
|
5523
5593
|
signatureHash: 'SignatureHash',
|
|
5594
|
+
supportedApps: 'SupportedApps',
|
|
5524
5595
|
text: 'Text',
|
|
5525
5596
|
type: 'Type',
|
|
5526
5597
|
url: 'Url',
|
|
@@ -5538,6 +5609,7 @@ class ModifyChatappTemplateRequestComponentsButtons extends $tea.Model {
|
|
|
5538
5609
|
packageName: 'string',
|
|
5539
5610
|
phoneNumber: 'string',
|
|
5540
5611
|
signatureHash: 'string',
|
|
5612
|
+
supportedApps: { 'type': 'array', 'itemType': ModifyChatappTemplateRequestComponentsButtonsSupportedApps },
|
|
5541
5613
|
text: 'string',
|
|
5542
5614
|
type: 'string',
|
|
5543
5615
|
url: 'string',
|
|
@@ -5697,19 +5769,23 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
5697
5769
|
static names() {
|
|
5698
5770
|
return {
|
|
5699
5771
|
accountReviewStatus: 'AccountReviewStatus',
|
|
5772
|
+
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
5700
5773
|
currency: 'Currency',
|
|
5701
5774
|
id: 'Id',
|
|
5702
5775
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
5703
5776
|
name: 'Name',
|
|
5777
|
+
primaryBusinessLocation: 'PrimaryBusinessLocation',
|
|
5704
5778
|
};
|
|
5705
5779
|
}
|
|
5706
5780
|
static types() {
|
|
5707
5781
|
return {
|
|
5708
5782
|
accountReviewStatus: 'string',
|
|
5783
|
+
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
5709
5784
|
currency: 'string',
|
|
5710
5785
|
id: 'string',
|
|
5711
5786
|
messageTemplateNamespace: 'string',
|
|
5712
5787
|
name: 'string',
|
|
5788
|
+
primaryBusinessLocation: 'string',
|
|
5713
5789
|
};
|
|
5714
5790
|
}
|
|
5715
5791
|
constructor(map) {
|
|
@@ -6028,11 +6104,13 @@ class Client extends openapi_client_1.default {
|
|
|
6028
6104
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6029
6105
|
}
|
|
6030
6106
|
/**
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6107
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
6108
|
+
*
|
|
6109
|
+
* @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.
|
|
6110
|
+
*
|
|
6111
|
+
* @param request AddChatappPhoneNumberRequest
|
|
6112
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6113
|
+
* @return AddChatappPhoneNumberResponse
|
|
6036
6114
|
*/
|
|
6037
6115
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6038
6116
|
tea_util_1.default.validateModel(request);
|
|
@@ -6069,21 +6147,25 @@ class Client extends openapi_client_1.default {
|
|
|
6069
6147
|
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
6070
6148
|
}
|
|
6071
6149
|
/**
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
6150
|
+
* @summary Adds a phone number for a WhatsApp Business account (WABA).
|
|
6151
|
+
*
|
|
6152
|
+
* @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.
|
|
6153
|
+
*
|
|
6154
|
+
* @param request AddChatappPhoneNumberRequest
|
|
6155
|
+
* @return AddChatappPhoneNumberResponse
|
|
6076
6156
|
*/
|
|
6077
6157
|
async addChatappPhoneNumber(request) {
|
|
6078
6158
|
let runtime = new $Util.RuntimeOptions({});
|
|
6079
6159
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
6080
6160
|
}
|
|
6081
6161
|
/**
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
|
-
|
|
6086
|
-
|
|
6162
|
+
* @summary Associates FAQs in the knowledge base.
|
|
6163
|
+
*
|
|
6164
|
+
* @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.
|
|
6165
|
+
*
|
|
6166
|
+
* @param tmpReq BeeBotAssociateRequest
|
|
6167
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6168
|
+
* @return BeeBotAssociateResponse
|
|
6087
6169
|
*/
|
|
6088
6170
|
async beeBotAssociateWithOptions(tmpReq, runtime) {
|
|
6089
6171
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6131,21 +6213,25 @@ class Client extends openapi_client_1.default {
|
|
|
6131
6213
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
6132
6214
|
}
|
|
6133
6215
|
/**
|
|
6134
|
-
|
|
6135
|
-
|
|
6136
|
-
|
|
6137
|
-
|
|
6216
|
+
* @summary Associates FAQs in the knowledge base.
|
|
6217
|
+
*
|
|
6218
|
+
* @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.
|
|
6219
|
+
*
|
|
6220
|
+
* @param request BeeBotAssociateRequest
|
|
6221
|
+
* @return BeeBotAssociateResponse
|
|
6138
6222
|
*/
|
|
6139
6223
|
async beeBotAssociate(request) {
|
|
6140
6224
|
let runtime = new $Util.RuntimeOptions({});
|
|
6141
6225
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
6142
6226
|
}
|
|
6143
6227
|
/**
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6228
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
6229
|
+
*
|
|
6230
|
+
* @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.
|
|
6231
|
+
*
|
|
6232
|
+
* @param tmpReq BeeBotChatRequest
|
|
6233
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6234
|
+
* @return BeeBotChatResponse
|
|
6149
6235
|
*/
|
|
6150
6236
|
async beeBotChatWithOptions(tmpReq, runtime) {
|
|
6151
6237
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6208,21 +6294,25 @@ class Client extends openapi_client_1.default {
|
|
|
6208
6294
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
6209
6295
|
}
|
|
6210
6296
|
/**
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6297
|
+
* @summary Conducts sessions with the bot based on its unique identifier (ID).
|
|
6298
|
+
*
|
|
6299
|
+
* @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.
|
|
6300
|
+
*
|
|
6301
|
+
* @param request BeeBotChatRequest
|
|
6302
|
+
* @return BeeBotChatResponse
|
|
6215
6303
|
*/
|
|
6216
6304
|
async beeBotChat(request) {
|
|
6217
6305
|
let runtime = new $Util.RuntimeOptions({});
|
|
6218
6306
|
return await this.beeBotChatWithOptions(request, runtime);
|
|
6219
6307
|
}
|
|
6220
6308
|
/**
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6224
|
-
|
|
6225
|
-
|
|
6309
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
6310
|
+
*
|
|
6311
|
+
* @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.
|
|
6312
|
+
*
|
|
6313
|
+
* @param request ChatappBindWabaRequest
|
|
6314
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6315
|
+
* @return ChatappBindWabaResponse
|
|
6226
6316
|
*/
|
|
6227
6317
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6228
6318
|
tea_util_1.default.validateModel(request);
|
|
@@ -6247,21 +6337,25 @@ class Client extends openapi_client_1.default {
|
|
|
6247
6337
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
6248
6338
|
}
|
|
6249
6339
|
/**
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6340
|
+
* @summary Binds the WhatsApp Business account with ChatApp.
|
|
6341
|
+
*
|
|
6342
|
+
* @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.
|
|
6343
|
+
*
|
|
6344
|
+
* @param request ChatappBindWabaRequest
|
|
6345
|
+
* @return ChatappBindWabaResponse
|
|
6254
6346
|
*/
|
|
6255
6347
|
async chatappBindWaba(request) {
|
|
6256
6348
|
let runtime = new $Util.RuntimeOptions({});
|
|
6257
6349
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
6258
6350
|
}
|
|
6259
6351
|
/**
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6352
|
+
* @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.
|
|
6353
|
+
*
|
|
6354
|
+
* @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.
|
|
6355
|
+
*
|
|
6356
|
+
* @param request ChatappEmbedSignUpRequest
|
|
6357
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6358
|
+
* @return ChatappEmbedSignUpResponse
|
|
6265
6359
|
*/
|
|
6266
6360
|
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
6267
6361
|
tea_util_1.default.validateModel(request);
|
|
@@ -6286,21 +6380,25 @@ class Client extends openapi_client_1.default {
|
|
|
6286
6380
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
6287
6381
|
}
|
|
6288
6382
|
/**
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6383
|
+
* @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.
|
|
6384
|
+
*
|
|
6385
|
+
* @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.
|
|
6386
|
+
*
|
|
6387
|
+
* @param request ChatappEmbedSignUpRequest
|
|
6388
|
+
* @return ChatappEmbedSignUpResponse
|
|
6293
6389
|
*/
|
|
6294
6390
|
async chatappEmbedSignUp(request) {
|
|
6295
6391
|
let runtime = new $Util.RuntimeOptions({});
|
|
6296
6392
|
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
6297
6393
|
}
|
|
6298
6394
|
/**
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
|
|
6303
|
-
|
|
6395
|
+
* @summary Registers a phone number for migration.
|
|
6396
|
+
*
|
|
6397
|
+
* @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.
|
|
6398
|
+
*
|
|
6399
|
+
* @param request ChatappMigrationRegisterRequest
|
|
6400
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6401
|
+
* @return ChatappMigrationRegisterResponse
|
|
6304
6402
|
*/
|
|
6305
6403
|
async chatappMigrationRegisterWithOptions(request, runtime) {
|
|
6306
6404
|
tea_util_1.default.validateModel(request);
|
|
@@ -6328,21 +6426,25 @@ class Client extends openapi_client_1.default {
|
|
|
6328
6426
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
|
|
6329
6427
|
}
|
|
6330
6428
|
/**
|
|
6331
|
-
|
|
6332
|
-
|
|
6333
|
-
|
|
6334
|
-
|
|
6429
|
+
* @summary Registers a phone number for migration.
|
|
6430
|
+
*
|
|
6431
|
+
* @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.
|
|
6432
|
+
*
|
|
6433
|
+
* @param request ChatappMigrationRegisterRequest
|
|
6434
|
+
* @return ChatappMigrationRegisterResponse
|
|
6335
6435
|
*/
|
|
6336
6436
|
async chatappMigrationRegister(request) {
|
|
6337
6437
|
let runtime = new $Util.RuntimeOptions({});
|
|
6338
6438
|
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
6339
6439
|
}
|
|
6340
6440
|
/**
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6441
|
+
* @summary Verifies a specified phone number for migration.
|
|
6442
|
+
*
|
|
6443
|
+
* @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.
|
|
6444
|
+
*
|
|
6445
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
6446
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6447
|
+
* @return ChatappMigrationVerifiedResponse
|
|
6346
6448
|
*/
|
|
6347
6449
|
async chatappMigrationVerifiedWithOptions(request, runtime) {
|
|
6348
6450
|
tea_util_1.default.validateModel(request);
|
|
@@ -6373,21 +6475,25 @@ class Client extends openapi_client_1.default {
|
|
|
6373
6475
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
|
|
6374
6476
|
}
|
|
6375
6477
|
/**
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6478
|
+
* @summary Verifies a specified phone number for migration.
|
|
6479
|
+
*
|
|
6480
|
+
* @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.
|
|
6481
|
+
*
|
|
6482
|
+
* @param request ChatappMigrationVerifiedRequest
|
|
6483
|
+
* @return ChatappMigrationVerifiedResponse
|
|
6380
6484
|
*/
|
|
6381
6485
|
async chatappMigrationVerified(request) {
|
|
6382
6486
|
let runtime = new $Util.RuntimeOptions({});
|
|
6383
6487
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
6384
6488
|
}
|
|
6385
6489
|
/**
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6490
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6491
|
+
*
|
|
6492
|
+
* @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.
|
|
6493
|
+
*
|
|
6494
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6495
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6496
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
6391
6497
|
*/
|
|
6392
6498
|
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
6393
6499
|
tea_util_1.default.validateModel(request);
|
|
@@ -6415,21 +6521,25 @@ class Client extends openapi_client_1.default {
|
|
|
6415
6521
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
6416
6522
|
}
|
|
6417
6523
|
/**
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6524
|
+
* @summary Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6525
|
+
*
|
|
6526
|
+
* @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.
|
|
6527
|
+
*
|
|
6528
|
+
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6529
|
+
* @return ChatappPhoneNumberDeregisterResponse
|
|
6422
6530
|
*/
|
|
6423
6531
|
async chatappPhoneNumberDeregister(request) {
|
|
6424
6532
|
let runtime = new $Util.RuntimeOptions({});
|
|
6425
6533
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
6426
6534
|
}
|
|
6427
6535
|
/**
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6536
|
+
* @summary Registers a phone number.
|
|
6537
|
+
*
|
|
6538
|
+
* @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.
|
|
6539
|
+
*
|
|
6540
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
6541
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6542
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
6433
6543
|
*/
|
|
6434
6544
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6435
6545
|
tea_util_1.default.validateModel(request);
|
|
@@ -6457,21 +6567,25 @@ class Client extends openapi_client_1.default {
|
|
|
6457
6567
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
6458
6568
|
}
|
|
6459
6569
|
/**
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6570
|
+
* @summary Registers a phone number.
|
|
6571
|
+
*
|
|
6572
|
+
* @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.
|
|
6573
|
+
*
|
|
6574
|
+
* @param request ChatappPhoneNumberRegisterRequest
|
|
6575
|
+
* @return ChatappPhoneNumberRegisterResponse
|
|
6464
6576
|
*/
|
|
6465
6577
|
async chatappPhoneNumberRegister(request) {
|
|
6466
6578
|
let runtime = new $Util.RuntimeOptions({});
|
|
6467
6579
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
6468
6580
|
}
|
|
6469
6581
|
/**
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6582
|
+
* @summary Synchronizes phone numbers.
|
|
6583
|
+
*
|
|
6584
|
+
* @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.
|
|
6585
|
+
*
|
|
6586
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
6587
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6588
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
6475
6589
|
*/
|
|
6476
6590
|
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
6477
6591
|
tea_util_1.default.validateModel(request);
|
|
@@ -6496,21 +6610,25 @@ class Client extends openapi_client_1.default {
|
|
|
6496
6610
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
6497
6611
|
}
|
|
6498
6612
|
/**
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6613
|
+
* @summary Synchronizes phone numbers.
|
|
6614
|
+
*
|
|
6615
|
+
* @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.
|
|
6616
|
+
*
|
|
6617
|
+
* @param request ChatappSyncPhoneNumberRequest
|
|
6618
|
+
* @return ChatappSyncPhoneNumberResponse
|
|
6503
6619
|
*/
|
|
6504
6620
|
async chatappSyncPhoneNumber(request) {
|
|
6505
6621
|
let runtime = new $Util.RuntimeOptions({});
|
|
6506
6622
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
6507
6623
|
}
|
|
6508
6624
|
/**
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6625
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
6626
|
+
*
|
|
6627
|
+
* @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.
|
|
6628
|
+
*
|
|
6629
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
6630
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6631
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
6514
6632
|
*/
|
|
6515
6633
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6516
6634
|
tea_util_1.default.validateModel(request);
|
|
@@ -6541,21 +6659,25 @@ class Client extends openapi_client_1.default {
|
|
|
6541
6659
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
6542
6660
|
}
|
|
6543
6661
|
/**
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6662
|
+
* @summary Associates a phone number with a WhatsApp Business account (WABA).
|
|
6663
|
+
*
|
|
6664
|
+
* @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.
|
|
6665
|
+
*
|
|
6666
|
+
* @param request ChatappVerifyAndRegisterRequest
|
|
6667
|
+
* @return ChatappVerifyAndRegisterResponse
|
|
6548
6668
|
*/
|
|
6549
6669
|
async chatappVerifyAndRegister(request) {
|
|
6550
6670
|
let runtime = new $Util.RuntimeOptions({});
|
|
6551
6671
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
6552
6672
|
}
|
|
6553
6673
|
/**
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6674
|
+
* @summary The ID of the number.
|
|
6675
|
+
*
|
|
6676
|
+
* @description The status of the phone number.
|
|
6677
|
+
*
|
|
6678
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
6679
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6680
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
6559
6681
|
*/
|
|
6560
6682
|
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
6561
6683
|
tea_util_1.default.validateModel(request);
|
|
@@ -6586,21 +6708,27 @@ class Client extends openapi_client_1.default {
|
|
|
6586
6708
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
6587
6709
|
}
|
|
6588
6710
|
/**
|
|
6589
|
-
|
|
6590
|
-
|
|
6591
|
-
|
|
6592
|
-
|
|
6711
|
+
* @summary The ID of the number.
|
|
6712
|
+
*
|
|
6713
|
+
* @description The status of the phone number.
|
|
6714
|
+
*
|
|
6715
|
+
* @param request CreateChatappMigrationInitiateRequest
|
|
6716
|
+
* @return CreateChatappMigrationInitiateResponse
|
|
6593
6717
|
*/
|
|
6594
6718
|
async createChatappMigrationInitiate(request) {
|
|
6595
6719
|
let runtime = new $Util.RuntimeOptions({});
|
|
6596
6720
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
6597
6721
|
}
|
|
6598
6722
|
/**
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
|
|
6603
|
-
|
|
6723
|
+
* @summary The HTTP status code.
|
|
6724
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6725
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6726
|
+
*
|
|
6727
|
+
* @description The error message.
|
|
6728
|
+
*
|
|
6729
|
+
* @param tmpReq CreateChatappTemplateRequest
|
|
6730
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6731
|
+
* @return CreateChatappTemplateResponse
|
|
6604
6732
|
*/
|
|
6605
6733
|
async createChatappTemplateWithOptions(tmpReq, runtime) {
|
|
6606
6734
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6663,21 +6791,27 @@ class Client extends openapi_client_1.default {
|
|
|
6663
6791
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
6664
6792
|
}
|
|
6665
6793
|
/**
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6794
|
+
* @summary The HTTP status code.
|
|
6795
|
+
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6796
|
+
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6797
|
+
*
|
|
6798
|
+
* @description The error message.
|
|
6799
|
+
*
|
|
6800
|
+
* @param request CreateChatappTemplateRequest
|
|
6801
|
+
* @return CreateChatappTemplateResponse
|
|
6670
6802
|
*/
|
|
6671
6803
|
async createChatappTemplate(request) {
|
|
6672
6804
|
let runtime = new $Util.RuntimeOptions({});
|
|
6673
6805
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
6674
6806
|
}
|
|
6675
6807
|
/**
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6680
|
-
|
|
6808
|
+
* @summary Creates a Flow.
|
|
6809
|
+
*
|
|
6810
|
+
* @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.
|
|
6811
|
+
*
|
|
6812
|
+
* @param tmpReq CreateFlowRequest
|
|
6813
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6814
|
+
* @return CreateFlowResponse
|
|
6681
6815
|
*/
|
|
6682
6816
|
async createFlowWithOptions(tmpReq, runtime) {
|
|
6683
6817
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6713,15 +6847,24 @@ class Client extends openapi_client_1.default {
|
|
|
6713
6847
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
|
|
6714
6848
|
}
|
|
6715
6849
|
/**
|
|
6716
|
-
|
|
6717
|
-
|
|
6718
|
-
|
|
6719
|
-
|
|
6850
|
+
* @summary Creates a Flow.
|
|
6851
|
+
*
|
|
6852
|
+
* @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.
|
|
6853
|
+
*
|
|
6854
|
+
* @param request CreateFlowRequest
|
|
6855
|
+
* @return CreateFlowResponse
|
|
6720
6856
|
*/
|
|
6721
6857
|
async createFlow(request) {
|
|
6722
6858
|
let runtime = new $Util.RuntimeOptions({});
|
|
6723
6859
|
return await this.createFlowWithOptions(request, runtime);
|
|
6724
6860
|
}
|
|
6861
|
+
/**
|
|
6862
|
+
* @summary 创建消息发送二维码
|
|
6863
|
+
*
|
|
6864
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
6865
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6866
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
6867
|
+
*/
|
|
6725
6868
|
async createPhoneMessageQrdlWithOptions(request, runtime) {
|
|
6726
6869
|
tea_util_1.default.validateModel(request);
|
|
6727
6870
|
let body = {};
|
|
@@ -6753,17 +6896,25 @@ class Client extends openapi_client_1.default {
|
|
|
6753
6896
|
});
|
|
6754
6897
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
6755
6898
|
}
|
|
6899
|
+
/**
|
|
6900
|
+
* @summary 创建消息发送二维码
|
|
6901
|
+
*
|
|
6902
|
+
* @param request CreatePhoneMessageQrdlRequest
|
|
6903
|
+
* @return CreatePhoneMessageQrdlResponse
|
|
6904
|
+
*/
|
|
6756
6905
|
async createPhoneMessageQrdl(request) {
|
|
6757
6906
|
let runtime = new $Util.RuntimeOptions({});
|
|
6758
6907
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
6759
6908
|
}
|
|
6760
6909
|
/**
|
|
6761
|
-
|
|
6762
|
-
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6910
|
+
* @summary Deletes a message template.
|
|
6911
|
+
*
|
|
6912
|
+
* @description ### QPS limit
|
|
6913
|
+
* 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.
|
|
6914
|
+
*
|
|
6915
|
+
* @param request DeleteChatappTemplateRequest
|
|
6916
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6917
|
+
* @return DeleteChatappTemplateResponse
|
|
6767
6918
|
*/
|
|
6768
6919
|
async deleteChatappTemplateWithOptions(request, runtime) {
|
|
6769
6920
|
tea_util_1.default.validateModel(request);
|
|
@@ -6806,22 +6957,26 @@ class Client extends openapi_client_1.default {
|
|
|
6806
6957
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
|
|
6807
6958
|
}
|
|
6808
6959
|
/**
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6960
|
+
* @summary Deletes a message template.
|
|
6961
|
+
*
|
|
6962
|
+
* @description ### QPS limit
|
|
6963
|
+
* 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.
|
|
6964
|
+
*
|
|
6965
|
+
* @param request DeleteChatappTemplateRequest
|
|
6966
|
+
* @return DeleteChatappTemplateResponse
|
|
6814
6967
|
*/
|
|
6815
6968
|
async deleteChatappTemplate(request) {
|
|
6816
6969
|
let runtime = new $Util.RuntimeOptions({});
|
|
6817
6970
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
6818
6971
|
}
|
|
6819
6972
|
/**
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6973
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
6974
|
+
*
|
|
6975
|
+
* @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.
|
|
6976
|
+
*
|
|
6977
|
+
* @param request DeleteFlowRequest
|
|
6978
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6979
|
+
* @return DeleteFlowResponse
|
|
6825
6980
|
*/
|
|
6826
6981
|
async deleteFlowWithOptions(request, runtime) {
|
|
6827
6982
|
tea_util_1.default.validateModel(request);
|
|
@@ -6849,15 +7004,24 @@ class Client extends openapi_client_1.default {
|
|
|
6849
7004
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
|
|
6850
7005
|
}
|
|
6851
7006
|
/**
|
|
6852
|
-
|
|
6853
|
-
|
|
6854
|
-
|
|
6855
|
-
|
|
7007
|
+
* @summary Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
7008
|
+
*
|
|
7009
|
+
* @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.
|
|
7010
|
+
*
|
|
7011
|
+
* @param request DeleteFlowRequest
|
|
7012
|
+
* @return DeleteFlowResponse
|
|
6856
7013
|
*/
|
|
6857
7014
|
async deleteFlow(request) {
|
|
6858
7015
|
let runtime = new $Util.RuntimeOptions({});
|
|
6859
7016
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
6860
7017
|
}
|
|
7018
|
+
/**
|
|
7019
|
+
* @summary 删除消息发送二维码
|
|
7020
|
+
*
|
|
7021
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
7022
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7023
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
7024
|
+
*/
|
|
6861
7025
|
async deletePhoneMessageQrdlWithOptions(request, runtime) {
|
|
6862
7026
|
tea_util_1.default.validateModel(request);
|
|
6863
7027
|
let body = {};
|
|
@@ -6886,10 +7050,23 @@ class Client extends openapi_client_1.default {
|
|
|
6886
7050
|
});
|
|
6887
7051
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
6888
7052
|
}
|
|
7053
|
+
/**
|
|
7054
|
+
* @summary 删除消息发送二维码
|
|
7055
|
+
*
|
|
7056
|
+
* @param request DeletePhoneMessageQrdlRequest
|
|
7057
|
+
* @return DeletePhoneMessageQrdlResponse
|
|
7058
|
+
*/
|
|
6889
7059
|
async deletePhoneMessageQrdl(request) {
|
|
6890
7060
|
let runtime = new $Util.RuntimeOptions({});
|
|
6891
7061
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
6892
7062
|
}
|
|
7063
|
+
/**
|
|
7064
|
+
* @summary 弃用Flow
|
|
7065
|
+
*
|
|
7066
|
+
* @param request DeprecateFlowRequest
|
|
7067
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7068
|
+
* @return DeprecateFlowResponse
|
|
7069
|
+
*/
|
|
6893
7070
|
async deprecateFlowWithOptions(request, runtime) {
|
|
6894
7071
|
tea_util_1.default.validateModel(request);
|
|
6895
7072
|
let body = {};
|
|
@@ -6915,16 +7092,24 @@ class Client extends openapi_client_1.default {
|
|
|
6915
7092
|
});
|
|
6916
7093
|
return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
6917
7094
|
}
|
|
7095
|
+
/**
|
|
7096
|
+
* @summary 弃用Flow
|
|
7097
|
+
*
|
|
7098
|
+
* @param request DeprecateFlowRequest
|
|
7099
|
+
* @return DeprecateFlowResponse
|
|
7100
|
+
*/
|
|
6918
7101
|
async deprecateFlow(request) {
|
|
6919
7102
|
let runtime = new $Util.RuntimeOptions({});
|
|
6920
7103
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
6921
7104
|
}
|
|
6922
7105
|
/**
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6926
|
-
|
|
6927
|
-
|
|
7106
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
7107
|
+
*
|
|
7108
|
+
* @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.
|
|
7109
|
+
*
|
|
7110
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
7111
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7112
|
+
* @return EnableWhatsappROIMetricResponse
|
|
6928
7113
|
*/
|
|
6929
7114
|
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
6930
7115
|
tea_util_1.default.validateModel(request);
|
|
@@ -6952,21 +7137,25 @@ class Client extends openapi_client_1.default {
|
|
|
6952
7137
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
6953
7138
|
}
|
|
6954
7139
|
/**
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
-
|
|
6958
|
-
|
|
7140
|
+
* @summary Enables the statistics on the metrics that are related to WhatsApp.
|
|
7141
|
+
*
|
|
7142
|
+
* @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.
|
|
7143
|
+
*
|
|
7144
|
+
* @param request EnableWhatsappROIMetricRequest
|
|
7145
|
+
* @return EnableWhatsappROIMetricResponse
|
|
6959
7146
|
*/
|
|
6960
7147
|
async enableWhatsappROIMetric(request) {
|
|
6961
7148
|
let runtime = new $Util.RuntimeOptions({});
|
|
6962
7149
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
6963
7150
|
}
|
|
6964
7151
|
/**
|
|
6965
|
-
|
|
6966
|
-
|
|
6967
|
-
|
|
6968
|
-
|
|
6969
|
-
|
|
7152
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7153
|
+
*
|
|
7154
|
+
* @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.
|
|
7155
|
+
*
|
|
7156
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
7157
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7158
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
6970
7159
|
*/
|
|
6971
7160
|
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
6972
7161
|
tea_util_1.default.validateModel(request);
|
|
@@ -7006,22 +7195,26 @@ class Client extends openapi_client_1.default {
|
|
|
7006
7195
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
7007
7196
|
}
|
|
7008
7197
|
/**
|
|
7009
|
-
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7198
|
+
* @summary Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7199
|
+
*
|
|
7200
|
+
* @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.
|
|
7201
|
+
*
|
|
7202
|
+
* @param request GetChatappPhoneNumberMetricRequest
|
|
7203
|
+
* @return GetChatappPhoneNumberMetricResponse
|
|
7013
7204
|
*/
|
|
7014
7205
|
async getChatappPhoneNumberMetric(request) {
|
|
7015
7206
|
let runtime = new $Util.RuntimeOptions({});
|
|
7016
7207
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
7017
7208
|
}
|
|
7018
7209
|
/**
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
|
|
7024
|
-
|
|
7210
|
+
* @summary Queries the information of a message template.
|
|
7211
|
+
*
|
|
7212
|
+
* @description ### QPS limit
|
|
7213
|
+
* 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.
|
|
7214
|
+
*
|
|
7215
|
+
* @param request GetChatappTemplateDetailRequest
|
|
7216
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7217
|
+
* @return GetChatappTemplateDetailResponse
|
|
7025
7218
|
*/
|
|
7026
7219
|
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
7027
7220
|
tea_util_1.default.validateModel(request);
|
|
@@ -7064,22 +7257,26 @@ class Client extends openapi_client_1.default {
|
|
|
7064
7257
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
7065
7258
|
}
|
|
7066
7259
|
/**
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7260
|
+
* @summary Queries the information of a message template.
|
|
7261
|
+
*
|
|
7262
|
+
* @description ### QPS limit
|
|
7263
|
+
* 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.
|
|
7264
|
+
*
|
|
7265
|
+
* @param request GetChatappTemplateDetailRequest
|
|
7266
|
+
* @return GetChatappTemplateDetailResponse
|
|
7072
7267
|
*/
|
|
7073
7268
|
async getChatappTemplateDetail(request) {
|
|
7074
7269
|
let runtime = new $Util.RuntimeOptions({});
|
|
7075
7270
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
7076
7271
|
}
|
|
7077
7272
|
/**
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7273
|
+
* @summary Queries the metrics about a marketing template.
|
|
7274
|
+
*
|
|
7275
|
+
* @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.
|
|
7276
|
+
*
|
|
7277
|
+
* @param request GetChatappTemplateMetricRequest
|
|
7278
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7279
|
+
* @return GetChatappTemplateMetricResponse
|
|
7083
7280
|
*/
|
|
7084
7281
|
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
7085
7282
|
tea_util_1.default.validateModel(request);
|
|
@@ -7125,21 +7322,25 @@ class Client extends openapi_client_1.default {
|
|
|
7125
7322
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
7126
7323
|
}
|
|
7127
7324
|
/**
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7325
|
+
* @summary Queries the metrics about a marketing template.
|
|
7326
|
+
*
|
|
7327
|
+
* @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.
|
|
7328
|
+
*
|
|
7329
|
+
* @param request GetChatappTemplateMetricRequest
|
|
7330
|
+
* @return GetChatappTemplateMetricResponse
|
|
7132
7331
|
*/
|
|
7133
7332
|
async getChatappTemplateMetric(request) {
|
|
7134
7333
|
let runtime = new $Util.RuntimeOptions({});
|
|
7135
7334
|
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
7136
7335
|
}
|
|
7137
7336
|
/**
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7141
|
-
|
|
7142
|
-
|
|
7337
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
7338
|
+
*
|
|
7339
|
+
* @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.
|
|
7340
|
+
*
|
|
7341
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
7342
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7343
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
7143
7344
|
*/
|
|
7144
7345
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
7145
7346
|
tea_util_1.default.validateModel(request);
|
|
@@ -7164,21 +7365,25 @@ class Client extends openapi_client_1.default {
|
|
|
7164
7365
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
7165
7366
|
}
|
|
7166
7367
|
/**
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7368
|
+
* @summary Obtains the authentication information that is used to upload a file.
|
|
7369
|
+
*
|
|
7370
|
+
* @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.
|
|
7371
|
+
*
|
|
7372
|
+
* @param request GetChatappUploadAuthorizationRequest
|
|
7373
|
+
* @return GetChatappUploadAuthorizationResponse
|
|
7171
7374
|
*/
|
|
7172
7375
|
async getChatappUploadAuthorization(request) {
|
|
7173
7376
|
let runtime = new $Util.RuntimeOptions({});
|
|
7174
7377
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
7175
7378
|
}
|
|
7176
7379
|
/**
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7380
|
+
* @summary Obtains a verification code.
|
|
7381
|
+
*
|
|
7382
|
+
* @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.
|
|
7383
|
+
*
|
|
7384
|
+
* @param request GetChatappVerifyCodeRequest
|
|
7385
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7386
|
+
* @return GetChatappVerifyCodeResponse
|
|
7182
7387
|
*/
|
|
7183
7388
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7184
7389
|
tea_util_1.default.validateModel(request);
|
|
@@ -7212,21 +7417,25 @@ class Client extends openapi_client_1.default {
|
|
|
7212
7417
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
7213
7418
|
}
|
|
7214
7419
|
/**
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7420
|
+
* @summary Obtains a verification code.
|
|
7421
|
+
*
|
|
7422
|
+
* @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.
|
|
7423
|
+
*
|
|
7424
|
+
* @param request GetChatappVerifyCodeRequest
|
|
7425
|
+
* @return GetChatappVerifyCodeResponse
|
|
7219
7426
|
*/
|
|
7220
7427
|
async getChatappVerifyCode(request) {
|
|
7221
7428
|
let runtime = new $Util.RuntimeOptions({});
|
|
7222
7429
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
7223
7430
|
}
|
|
7224
7431
|
/**
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7432
|
+
* @summary Queries the business settings of a phone number.
|
|
7433
|
+
*
|
|
7434
|
+
* @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.
|
|
7435
|
+
*
|
|
7436
|
+
* @param request GetCommerceSettingRequest
|
|
7437
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7438
|
+
* @return GetCommerceSettingResponse
|
|
7230
7439
|
*/
|
|
7231
7440
|
async getCommerceSettingWithOptions(request, runtime) {
|
|
7232
7441
|
tea_util_1.default.validateModel(request);
|
|
@@ -7254,21 +7463,25 @@ class Client extends openapi_client_1.default {
|
|
|
7254
7463
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
|
|
7255
7464
|
}
|
|
7256
7465
|
/**
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7466
|
+
* @summary Queries the business settings of a phone number.
|
|
7467
|
+
*
|
|
7468
|
+
* @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.
|
|
7469
|
+
*
|
|
7470
|
+
* @param request GetCommerceSettingRequest
|
|
7471
|
+
* @return GetCommerceSettingResponse
|
|
7261
7472
|
*/
|
|
7262
7473
|
async getCommerceSetting(request) {
|
|
7263
7474
|
let runtime = new $Util.RuntimeOptions({});
|
|
7264
7475
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
7265
7476
|
}
|
|
7266
7477
|
/**
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7478
|
+
* @summary Queries the information about a Flow.
|
|
7479
|
+
*
|
|
7480
|
+
* @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.
|
|
7481
|
+
*
|
|
7482
|
+
* @param request GetFlowRequest
|
|
7483
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7484
|
+
* @return GetFlowResponse
|
|
7272
7485
|
*/
|
|
7273
7486
|
async getFlowWithOptions(request, runtime) {
|
|
7274
7487
|
tea_util_1.default.validateModel(request);
|
|
@@ -7296,15 +7509,24 @@ class Client extends openapi_client_1.default {
|
|
|
7296
7509
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowResponse({}));
|
|
7297
7510
|
}
|
|
7298
7511
|
/**
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7512
|
+
* @summary Queries the information about a Flow.
|
|
7513
|
+
*
|
|
7514
|
+
* @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.
|
|
7515
|
+
*
|
|
7516
|
+
* @param request GetFlowRequest
|
|
7517
|
+
* @return GetFlowResponse
|
|
7303
7518
|
*/
|
|
7304
7519
|
async getFlow(request) {
|
|
7305
7520
|
let runtime = new $Util.RuntimeOptions({});
|
|
7306
7521
|
return await this.getFlowWithOptions(request, runtime);
|
|
7307
7522
|
}
|
|
7523
|
+
/**
|
|
7524
|
+
* @summary 获取flow的JSON文件
|
|
7525
|
+
*
|
|
7526
|
+
* @param request GetFlowJSONAssestRequest
|
|
7527
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7528
|
+
* @return GetFlowJSONAssestResponse
|
|
7529
|
+
*/
|
|
7308
7530
|
async getFlowJSONAssestWithOptions(request, runtime) {
|
|
7309
7531
|
tea_util_1.default.validateModel(request);
|
|
7310
7532
|
let body = {};
|
|
@@ -7330,16 +7552,24 @@ class Client extends openapi_client_1.default {
|
|
|
7330
7552
|
});
|
|
7331
7553
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
7332
7554
|
}
|
|
7555
|
+
/**
|
|
7556
|
+
* @summary 获取flow的JSON文件
|
|
7557
|
+
*
|
|
7558
|
+
* @param request GetFlowJSONAssestRequest
|
|
7559
|
+
* @return GetFlowJSONAssestResponse
|
|
7560
|
+
*/
|
|
7333
7561
|
async getFlowJSONAssest(request) {
|
|
7334
7562
|
let runtime = new $Util.RuntimeOptions({});
|
|
7335
7563
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
7336
7564
|
}
|
|
7337
7565
|
/**
|
|
7338
|
-
|
|
7339
|
-
|
|
7340
|
-
|
|
7341
|
-
|
|
7342
|
-
|
|
7566
|
+
* @summary Obtains the preview URL of a Flow.
|
|
7567
|
+
*
|
|
7568
|
+
* @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.
|
|
7569
|
+
*
|
|
7570
|
+
* @param request GetFlowPreviewUrlRequest
|
|
7571
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7572
|
+
* @return GetFlowPreviewUrlResponse
|
|
7343
7573
|
*/
|
|
7344
7574
|
async getFlowPreviewUrlWithOptions(request, runtime) {
|
|
7345
7575
|
tea_util_1.default.validateModel(request);
|
|
@@ -7367,21 +7597,25 @@ class Client extends openapi_client_1.default {
|
|
|
7367
7597
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
|
|
7368
7598
|
}
|
|
7369
7599
|
/**
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7600
|
+
* @summary Obtains the preview URL of a Flow.
|
|
7601
|
+
*
|
|
7602
|
+
* @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.
|
|
7603
|
+
*
|
|
7604
|
+
* @param request GetFlowPreviewUrlRequest
|
|
7605
|
+
* @return GetFlowPreviewUrlResponse
|
|
7374
7606
|
*/
|
|
7375
7607
|
async getFlowPreviewUrl(request) {
|
|
7376
7608
|
let runtime = new $Util.RuntimeOptions({});
|
|
7377
7609
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
7378
7610
|
}
|
|
7379
7611
|
/**
|
|
7380
|
-
|
|
7381
|
-
|
|
7382
|
-
|
|
7383
|
-
|
|
7384
|
-
|
|
7612
|
+
* @summary The phone number.
|
|
7613
|
+
*
|
|
7614
|
+
* @description The ID of the phone number.
|
|
7615
|
+
*
|
|
7616
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
7617
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7618
|
+
* @return GetMigrationVerifyCodeResponse
|
|
7385
7619
|
*/
|
|
7386
7620
|
async getMigrationVerifyCodeWithOptions(request, runtime) {
|
|
7387
7621
|
tea_util_1.default.validateModel(request);
|
|
@@ -7415,15 +7649,24 @@ class Client extends openapi_client_1.default {
|
|
|
7415
7649
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
7416
7650
|
}
|
|
7417
7651
|
/**
|
|
7418
|
-
|
|
7419
|
-
|
|
7420
|
-
|
|
7421
|
-
|
|
7652
|
+
* @summary The phone number.
|
|
7653
|
+
*
|
|
7654
|
+
* @description The ID of the phone number.
|
|
7655
|
+
*
|
|
7656
|
+
* @param request GetMigrationVerifyCodeRequest
|
|
7657
|
+
* @return GetMigrationVerifyCodeResponse
|
|
7422
7658
|
*/
|
|
7423
7659
|
async getMigrationVerifyCode(request) {
|
|
7424
7660
|
let runtime = new $Util.RuntimeOptions({});
|
|
7425
7661
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
7426
7662
|
}
|
|
7663
|
+
/**
|
|
7664
|
+
* @summary 根据Code获取权限
|
|
7665
|
+
*
|
|
7666
|
+
* @param tmpReq GetPermissionByCodeRequest
|
|
7667
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7668
|
+
* @return GetPermissionByCodeResponse
|
|
7669
|
+
*/
|
|
7427
7670
|
async getPermissionByCodeWithOptions(tmpReq, runtime) {
|
|
7428
7671
|
tea_util_1.default.validateModel(tmpReq);
|
|
7429
7672
|
let request = new GetPermissionByCodeShrinkRequest({});
|
|
@@ -7457,10 +7700,23 @@ class Client extends openapi_client_1.default {
|
|
|
7457
7700
|
});
|
|
7458
7701
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
7459
7702
|
}
|
|
7703
|
+
/**
|
|
7704
|
+
* @summary 根据Code获取权限
|
|
7705
|
+
*
|
|
7706
|
+
* @param request GetPermissionByCodeRequest
|
|
7707
|
+
* @return GetPermissionByCodeResponse
|
|
7708
|
+
*/
|
|
7460
7709
|
async getPermissionByCode(request) {
|
|
7461
7710
|
let runtime = new $Util.RuntimeOptions({});
|
|
7462
7711
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
7463
7712
|
}
|
|
7713
|
+
/**
|
|
7714
|
+
* @summary 获取号码的公钥
|
|
7715
|
+
*
|
|
7716
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7718
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
7719
|
+
*/
|
|
7464
7720
|
async getPhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
7465
7721
|
tea_util_1.default.validateModel(request);
|
|
7466
7722
|
let body = {};
|
|
@@ -7486,16 +7742,24 @@ class Client extends openapi_client_1.default {
|
|
|
7486
7742
|
});
|
|
7487
7743
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
7488
7744
|
}
|
|
7745
|
+
/**
|
|
7746
|
+
* @summary 获取号码的公钥
|
|
7747
|
+
*
|
|
7748
|
+
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7749
|
+
* @return GetPhoneEncryptionPublicKeyResponse
|
|
7750
|
+
*/
|
|
7489
7751
|
async getPhoneEncryptionPublicKey(request) {
|
|
7490
7752
|
let runtime = new $Util.RuntimeOptions({});
|
|
7491
7753
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
7492
7754
|
}
|
|
7493
7755
|
/**
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7756
|
+
* @summary Obtains the verification status of a phone number.
|
|
7757
|
+
*
|
|
7758
|
+
* @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.
|
|
7759
|
+
*
|
|
7760
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7761
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7762
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
7499
7763
|
*/
|
|
7500
7764
|
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
7501
7765
|
tea_util_1.default.validateModel(request);
|
|
@@ -7523,21 +7787,25 @@ class Client extends openapi_client_1.default {
|
|
|
7523
7787
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
7524
7788
|
}
|
|
7525
7789
|
/**
|
|
7526
|
-
|
|
7527
|
-
|
|
7528
|
-
|
|
7529
|
-
|
|
7790
|
+
* @summary Obtains the verification status of a phone number.
|
|
7791
|
+
*
|
|
7792
|
+
* @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.
|
|
7793
|
+
*
|
|
7794
|
+
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7795
|
+
* @return GetPhoneNumberVerificationStatusResponse
|
|
7530
7796
|
*/
|
|
7531
7797
|
async getPhoneNumberVerificationStatus(request) {
|
|
7532
7798
|
let runtime = new $Util.RuntimeOptions({});
|
|
7533
7799
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
7534
7800
|
}
|
|
7535
7801
|
/**
|
|
7536
|
-
|
|
7537
|
-
|
|
7538
|
-
|
|
7539
|
-
|
|
7540
|
-
|
|
7802
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
7803
|
+
*
|
|
7804
|
+
* @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.
|
|
7805
|
+
*
|
|
7806
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
7807
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7808
|
+
* @return GetPreValidatePhoneIdResponse
|
|
7541
7809
|
*/
|
|
7542
7810
|
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
7543
7811
|
tea_util_1.default.validateModel(request);
|
|
@@ -7565,21 +7833,25 @@ class Client extends openapi_client_1.default {
|
|
|
7565
7833
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
7566
7834
|
}
|
|
7567
7835
|
/**
|
|
7568
|
-
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7836
|
+
* @summary Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
7837
|
+
*
|
|
7838
|
+
* @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.
|
|
7839
|
+
*
|
|
7840
|
+
* @param request GetPreValidatePhoneIdRequest
|
|
7841
|
+
* @return GetPreValidatePhoneIdResponse
|
|
7572
7842
|
*/
|
|
7573
7843
|
async getPreValidatePhoneId(request) {
|
|
7574
7844
|
let runtime = new $Util.RuntimeOptions({});
|
|
7575
7845
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
7576
7846
|
}
|
|
7577
7847
|
/**
|
|
7578
|
-
|
|
7579
|
-
|
|
7580
|
-
|
|
7581
|
-
|
|
7582
|
-
|
|
7848
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
7849
|
+
*
|
|
7850
|
+
* @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.
|
|
7851
|
+
*
|
|
7852
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
7853
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7854
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
7583
7855
|
*/
|
|
7584
7856
|
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
7585
7857
|
tea_util_1.default.validateModel(request);
|
|
@@ -7616,21 +7888,25 @@ class Client extends openapi_client_1.default {
|
|
|
7616
7888
|
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
7617
7889
|
}
|
|
7618
7890
|
/**
|
|
7619
|
-
|
|
7620
|
-
|
|
7621
|
-
|
|
7622
|
-
|
|
7891
|
+
* @summary Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
7892
|
+
*
|
|
7893
|
+
* @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.
|
|
7894
|
+
*
|
|
7895
|
+
* @param request GetWhatsappConnectionCatalogRequest
|
|
7896
|
+
* @return GetWhatsappConnectionCatalogResponse
|
|
7623
7897
|
*/
|
|
7624
7898
|
async getWhatsappConnectionCatalog(request) {
|
|
7625
7899
|
let runtime = new $Util.RuntimeOptions({});
|
|
7626
7900
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
7627
7901
|
}
|
|
7628
7902
|
/**
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7903
|
+
* @summary Obtains the application ID under the ISV account.
|
|
7904
|
+
*
|
|
7905
|
+
* @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.
|
|
7906
|
+
*
|
|
7907
|
+
* @param request IsvGetAppIdRequest
|
|
7908
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7909
|
+
* @return IsvGetAppIdResponse
|
|
7634
7910
|
*/
|
|
7635
7911
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
7636
7912
|
tea_util_1.default.validateModel(request);
|
|
@@ -7658,22 +7934,26 @@ class Client extends openapi_client_1.default {
|
|
|
7658
7934
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
7659
7935
|
}
|
|
7660
7936
|
/**
|
|
7661
|
-
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7937
|
+
* @summary Obtains the application ID under the ISV account.
|
|
7938
|
+
*
|
|
7939
|
+
* @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.
|
|
7940
|
+
*
|
|
7941
|
+
* @param request IsvGetAppIdRequest
|
|
7942
|
+
* @return IsvGetAppIdResponse
|
|
7665
7943
|
*/
|
|
7666
7944
|
async isvGetAppId(request) {
|
|
7667
7945
|
let runtime = new $Util.RuntimeOptions({});
|
|
7668
7946
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
7669
7947
|
}
|
|
7670
7948
|
/**
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7949
|
+
* @summary Queries message templates.
|
|
7950
|
+
*
|
|
7951
|
+
* @description ### QPS limit
|
|
7952
|
+
* 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.
|
|
7953
|
+
*
|
|
7954
|
+
* @param tmpReq ListChatappTemplateRequest
|
|
7955
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
7956
|
+
* @return ListChatappTemplateResponse
|
|
7677
7957
|
*/
|
|
7678
7958
|
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
7679
7959
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7686,6 +7966,9 @@ class Client extends openapi_client_1.default {
|
|
|
7686
7966
|
if (!tea_util_1.default.isUnset(request.auditStatus)) {
|
|
7687
7967
|
query["AuditStatus"] = request.auditStatus;
|
|
7688
7968
|
}
|
|
7969
|
+
if (!tea_util_1.default.isUnset(request.code)) {
|
|
7970
|
+
query["Code"] = request.code;
|
|
7971
|
+
}
|
|
7689
7972
|
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
7690
7973
|
query["CustSpaceId"] = request.custSpaceId;
|
|
7691
7974
|
}
|
|
@@ -7724,22 +8007,26 @@ class Client extends openapi_client_1.default {
|
|
|
7724
8007
|
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
7725
8008
|
}
|
|
7726
8009
|
/**
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
8010
|
+
* @summary Queries message templates.
|
|
8011
|
+
*
|
|
8012
|
+
* @description ### QPS limit
|
|
8013
|
+
* 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.
|
|
8014
|
+
*
|
|
8015
|
+
* @param request ListChatappTemplateRequest
|
|
8016
|
+
* @return ListChatappTemplateResponse
|
|
7732
8017
|
*/
|
|
7733
8018
|
async listChatappTemplate(request) {
|
|
7734
8019
|
let runtime = new $Util.RuntimeOptions({});
|
|
7735
8020
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
7736
8021
|
}
|
|
7737
8022
|
/**
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
8023
|
+
* @summary Queries a list of Flows.
|
|
8024
|
+
*
|
|
8025
|
+
* @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.
|
|
8026
|
+
*
|
|
8027
|
+
* @param tmpReq ListFlowRequest
|
|
8028
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8029
|
+
* @return ListFlowResponse
|
|
7743
8030
|
*/
|
|
7744
8031
|
async listFlowWithOptions(tmpReq, runtime) {
|
|
7745
8032
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7775,15 +8062,24 @@ class Client extends openapi_client_1.default {
|
|
|
7775
8062
|
return $tea.cast(await this.callApi(params, req, runtime), new ListFlowResponse({}));
|
|
7776
8063
|
}
|
|
7777
8064
|
/**
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
8065
|
+
* @summary Queries a list of Flows.
|
|
8066
|
+
*
|
|
8067
|
+
* @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.
|
|
8068
|
+
*
|
|
8069
|
+
* @param request ListFlowRequest
|
|
8070
|
+
* @return ListFlowResponse
|
|
7782
8071
|
*/
|
|
7783
8072
|
async listFlow(request) {
|
|
7784
8073
|
let runtime = new $Util.RuntimeOptions({});
|
|
7785
8074
|
return await this.listFlowWithOptions(request, runtime);
|
|
7786
8075
|
}
|
|
8076
|
+
/**
|
|
8077
|
+
* @summary 查询消息发送二维码
|
|
8078
|
+
*
|
|
8079
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
8080
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8081
|
+
* @return ListPhoneMessageQrdlResponse
|
|
8082
|
+
*/
|
|
7787
8083
|
async listPhoneMessageQrdlWithOptions(request, runtime) {
|
|
7788
8084
|
tea_util_1.default.validateModel(request);
|
|
7789
8085
|
let body = {};
|
|
@@ -7809,16 +8105,24 @@ class Client extends openapi_client_1.default {
|
|
|
7809
8105
|
});
|
|
7810
8106
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
7811
8107
|
}
|
|
8108
|
+
/**
|
|
8109
|
+
* @summary 查询消息发送二维码
|
|
8110
|
+
*
|
|
8111
|
+
* @param request ListPhoneMessageQrdlRequest
|
|
8112
|
+
* @return ListPhoneMessageQrdlResponse
|
|
8113
|
+
*/
|
|
7812
8114
|
async listPhoneMessageQrdl(request) {
|
|
7813
8115
|
let runtime = new $Util.RuntimeOptions({});
|
|
7814
8116
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
7815
8117
|
}
|
|
7816
8118
|
/**
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
8119
|
+
* @summary Queries products in a product catalog.
|
|
8120
|
+
*
|
|
8121
|
+
* @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.
|
|
8122
|
+
*
|
|
8123
|
+
* @param request ListProductRequest
|
|
8124
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8125
|
+
* @return ListProductResponse
|
|
7822
8126
|
*/
|
|
7823
8127
|
async listProductWithOptions(request, runtime) {
|
|
7824
8128
|
tea_util_1.default.validateModel(request);
|
|
@@ -7870,21 +8174,25 @@ class Client extends openapi_client_1.default {
|
|
|
7870
8174
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
7871
8175
|
}
|
|
7872
8176
|
/**
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
8177
|
+
* @summary Queries products in a product catalog.
|
|
8178
|
+
*
|
|
8179
|
+
* @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.
|
|
8180
|
+
*
|
|
8181
|
+
* @param request ListProductRequest
|
|
8182
|
+
* @return ListProductResponse
|
|
7877
8183
|
*/
|
|
7878
8184
|
async listProduct(request) {
|
|
7879
8185
|
let runtime = new $Util.RuntimeOptions({});
|
|
7880
8186
|
return await this.listProductWithOptions(request, runtime);
|
|
7881
8187
|
}
|
|
7882
8188
|
/**
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
8189
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
8190
|
+
*
|
|
8191
|
+
* @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.
|
|
8192
|
+
*
|
|
8193
|
+
* @param request ListProductCatalogRequest
|
|
8194
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8195
|
+
* @return ListProductCatalogResponse
|
|
7888
8196
|
*/
|
|
7889
8197
|
async listProductCatalogWithOptions(request, runtime) {
|
|
7890
8198
|
tea_util_1.default.validateModel(request);
|
|
@@ -7933,21 +8241,25 @@ class Client extends openapi_client_1.default {
|
|
|
7933
8241
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
7934
8242
|
}
|
|
7935
8243
|
/**
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
8244
|
+
* @summary Queries the product catalogs on the Business Manager platform of Meta.
|
|
8245
|
+
*
|
|
8246
|
+
* @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.
|
|
8247
|
+
*
|
|
8248
|
+
* @param request ListProductCatalogRequest
|
|
8249
|
+
* @return ListProductCatalogResponse
|
|
7940
8250
|
*/
|
|
7941
8251
|
async listProductCatalog(request) {
|
|
7942
8252
|
let runtime = new $Util.RuntimeOptions({});
|
|
7943
8253
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7944
8254
|
}
|
|
7945
8255
|
/**
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
|
|
8256
|
+
* @summary The code of the message template.
|
|
8257
|
+
*
|
|
8258
|
+
* @description The name of the message template.
|
|
8259
|
+
*
|
|
8260
|
+
* @param tmpReq ModifyChatappTemplateRequest
|
|
8261
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8262
|
+
* @return ModifyChatappTemplateResponse
|
|
7951
8263
|
*/
|
|
7952
8264
|
async modifyChatappTemplateWithOptions(tmpReq, runtime) {
|
|
7953
8265
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8010,21 +8322,25 @@ class Client extends openapi_client_1.default {
|
|
|
8010
8322
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
|
|
8011
8323
|
}
|
|
8012
8324
|
/**
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8325
|
+
* @summary The code of the message template.
|
|
8326
|
+
*
|
|
8327
|
+
* @description The name of the message template.
|
|
8328
|
+
*
|
|
8329
|
+
* @param request ModifyChatappTemplateRequest
|
|
8330
|
+
* @return ModifyChatappTemplateResponse
|
|
8017
8331
|
*/
|
|
8018
8332
|
async modifyChatappTemplate(request) {
|
|
8019
8333
|
let runtime = new $Util.RuntimeOptions({});
|
|
8020
8334
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
8021
8335
|
}
|
|
8022
8336
|
/**
|
|
8023
|
-
|
|
8024
|
-
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8337
|
+
* @summary Modifies the basic information about a Flow.
|
|
8338
|
+
*
|
|
8339
|
+
* @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.
|
|
8340
|
+
*
|
|
8341
|
+
* @param tmpReq ModifyFlowRequest
|
|
8342
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8343
|
+
* @return ModifyFlowResponse
|
|
8028
8344
|
*/
|
|
8029
8345
|
async modifyFlowWithOptions(tmpReq, runtime) {
|
|
8030
8346
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8063,21 +8379,25 @@ class Client extends openapi_client_1.default {
|
|
|
8063
8379
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
|
|
8064
8380
|
}
|
|
8065
8381
|
/**
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8382
|
+
* @summary Modifies the basic information about a Flow.
|
|
8383
|
+
*
|
|
8384
|
+
* @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.
|
|
8385
|
+
*
|
|
8386
|
+
* @param request ModifyFlowRequest
|
|
8387
|
+
* @return ModifyFlowResponse
|
|
8070
8388
|
*/
|
|
8071
8389
|
async modifyFlow(request) {
|
|
8072
8390
|
let runtime = new $Util.RuntimeOptions({});
|
|
8073
8391
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8074
8392
|
}
|
|
8075
8393
|
/**
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
|
|
8394
|
+
* @summary The ID of the request.
|
|
8395
|
+
*
|
|
8396
|
+
* @description ModifyPhoneBusinessProfile
|
|
8397
|
+
*
|
|
8398
|
+
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
8399
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8400
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
8081
8401
|
*/
|
|
8082
8402
|
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
8083
8403
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8131,21 +8451,25 @@ class Client extends openapi_client_1.default {
|
|
|
8131
8451
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
8132
8452
|
}
|
|
8133
8453
|
/**
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
|
|
8137
|
-
|
|
8454
|
+
* @summary The ID of the request.
|
|
8455
|
+
*
|
|
8456
|
+
* @description ModifyPhoneBusinessProfile
|
|
8457
|
+
*
|
|
8458
|
+
* @param request ModifyPhoneBusinessProfileRequest
|
|
8459
|
+
* @return ModifyPhoneBusinessProfileResponse
|
|
8138
8460
|
*/
|
|
8139
8461
|
async modifyPhoneBusinessProfile(request) {
|
|
8140
8462
|
let runtime = new $Util.RuntimeOptions({});
|
|
8141
8463
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8142
8464
|
}
|
|
8143
8465
|
/**
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
|
|
8147
|
-
|
|
8148
|
-
|
|
8466
|
+
* @summary Publishes a Flow.
|
|
8467
|
+
*
|
|
8468
|
+
* @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.
|
|
8469
|
+
*
|
|
8470
|
+
* @param request PublishFlowRequest
|
|
8471
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8472
|
+
* @return PublishFlowResponse
|
|
8149
8473
|
*/
|
|
8150
8474
|
async publishFlowWithOptions(request, runtime) {
|
|
8151
8475
|
tea_util_1.default.validateModel(request);
|
|
@@ -8173,21 +8497,25 @@ class Client extends openapi_client_1.default {
|
|
|
8173
8497
|
return $tea.cast(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
|
|
8174
8498
|
}
|
|
8175
8499
|
/**
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8500
|
+
* @summary Publishes a Flow.
|
|
8501
|
+
*
|
|
8502
|
+
* @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.
|
|
8503
|
+
*
|
|
8504
|
+
* @param request PublishFlowRequest
|
|
8505
|
+
* @return PublishFlowResponse
|
|
8180
8506
|
*/
|
|
8181
8507
|
async publishFlow(request) {
|
|
8182
8508
|
let runtime = new $Util.RuntimeOptions({});
|
|
8183
8509
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8184
8510
|
}
|
|
8185
8511
|
/**
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
|
|
8512
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
8513
|
+
*
|
|
8514
|
+
* @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.
|
|
8515
|
+
*
|
|
8516
|
+
* @param request QueryChatappBindWabaRequest
|
|
8517
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8518
|
+
* @return QueryChatappBindWabaResponse
|
|
8191
8519
|
*/
|
|
8192
8520
|
async queryChatappBindWabaWithOptions(request, runtime) {
|
|
8193
8521
|
tea_util_1.default.validateModel(request);
|
|
@@ -8198,6 +8526,15 @@ class Client extends openapi_client_1.default {
|
|
|
8198
8526
|
if (!tea_util_1.default.isUnset(request.isvCode)) {
|
|
8199
8527
|
query["IsvCode"] = request.isvCode;
|
|
8200
8528
|
}
|
|
8529
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8530
|
+
query["OwnerId"] = request.ownerId;
|
|
8531
|
+
}
|
|
8532
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8533
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8534
|
+
}
|
|
8535
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8536
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8537
|
+
}
|
|
8201
8538
|
let req = new $OpenApi.OpenApiRequest({
|
|
8202
8539
|
query: openapi_util_1.default.query(query),
|
|
8203
8540
|
});
|
|
@@ -8215,21 +8552,25 @@ class Client extends openapi_client_1.default {
|
|
|
8215
8552
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
8216
8553
|
}
|
|
8217
8554
|
/**
|
|
8218
|
-
|
|
8219
|
-
|
|
8220
|
-
|
|
8221
|
-
|
|
8555
|
+
* @summary Query the WhatsApp Business account you associate with ChatApp.
|
|
8556
|
+
*
|
|
8557
|
+
* @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.
|
|
8558
|
+
*
|
|
8559
|
+
* @param request QueryChatappBindWabaRequest
|
|
8560
|
+
* @return QueryChatappBindWabaResponse
|
|
8222
8561
|
*/
|
|
8223
8562
|
async queryChatappBindWaba(request) {
|
|
8224
8563
|
let runtime = new $Util.RuntimeOptions({});
|
|
8225
8564
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8226
8565
|
}
|
|
8227
8566
|
/**
|
|
8228
|
-
|
|
8229
|
-
|
|
8230
|
-
|
|
8231
|
-
|
|
8232
|
-
|
|
8567
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8568
|
+
*
|
|
8569
|
+
* @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.
|
|
8570
|
+
*
|
|
8571
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
8572
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8573
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
8233
8574
|
*/
|
|
8234
8575
|
async queryChatappPhoneNumbersWithOptions(request, runtime) {
|
|
8235
8576
|
tea_util_1.default.validateModel(request);
|
|
@@ -8260,21 +8601,25 @@ class Client extends openapi_client_1.default {
|
|
|
8260
8601
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
8261
8602
|
}
|
|
8262
8603
|
/**
|
|
8263
|
-
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
|
|
8604
|
+
* @summary Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8605
|
+
*
|
|
8606
|
+
* @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.
|
|
8607
|
+
*
|
|
8608
|
+
* @param request QueryChatappPhoneNumbersRequest
|
|
8609
|
+
* @return QueryChatappPhoneNumbersResponse
|
|
8267
8610
|
*/
|
|
8268
8611
|
async queryChatappPhoneNumbers(request) {
|
|
8269
8612
|
let runtime = new $Util.RuntimeOptions({});
|
|
8270
8613
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8271
8614
|
}
|
|
8272
8615
|
/**
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8616
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
8617
|
+
*
|
|
8618
|
+
* @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.
|
|
8619
|
+
*
|
|
8620
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
8621
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8622
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
8278
8623
|
*/
|
|
8279
8624
|
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
8280
8625
|
tea_util_1.default.validateModel(request);
|
|
@@ -8302,21 +8647,25 @@ class Client extends openapi_client_1.default {
|
|
|
8302
8647
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
8303
8648
|
}
|
|
8304
8649
|
/**
|
|
8305
|
-
|
|
8306
|
-
|
|
8307
|
-
|
|
8308
|
-
|
|
8650
|
+
* @summary Queries the business information of the account to which a specified phone number is bound.
|
|
8651
|
+
*
|
|
8652
|
+
* @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.
|
|
8653
|
+
*
|
|
8654
|
+
* @param request QueryPhoneBusinessProfileRequest
|
|
8655
|
+
* @return QueryPhoneBusinessProfileResponse
|
|
8309
8656
|
*/
|
|
8310
8657
|
async queryPhoneBusinessProfile(request) {
|
|
8311
8658
|
let runtime = new $Util.RuntimeOptions({});
|
|
8312
8659
|
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
8313
8660
|
}
|
|
8314
8661
|
/**
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
|
|
8662
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
8663
|
+
*
|
|
8664
|
+
* @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.
|
|
8665
|
+
*
|
|
8666
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
8667
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8668
|
+
* @return QueryWabaBusinessInfoResponse
|
|
8320
8669
|
*/
|
|
8321
8670
|
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
8322
8671
|
tea_util_1.default.validateModel(request);
|
|
@@ -8344,22 +8693,26 @@ class Client extends openapi_client_1.default {
|
|
|
8344
8693
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
8345
8694
|
}
|
|
8346
8695
|
/**
|
|
8347
|
-
|
|
8348
|
-
|
|
8349
|
-
|
|
8350
|
-
|
|
8696
|
+
* @summary Queries the business information about the WhatsApp Business account (WABA).
|
|
8697
|
+
*
|
|
8698
|
+
* @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.
|
|
8699
|
+
*
|
|
8700
|
+
* @param request QueryWabaBusinessInfoRequest
|
|
8701
|
+
* @return QueryWabaBusinessInfoResponse
|
|
8351
8702
|
*/
|
|
8352
8703
|
async queryWabaBusinessInfo(request) {
|
|
8353
8704
|
let runtime = new $Util.RuntimeOptions({});
|
|
8354
8705
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8355
8706
|
}
|
|
8356
8707
|
/**
|
|
8357
|
-
|
|
8358
|
-
|
|
8359
|
-
|
|
8360
|
-
|
|
8361
|
-
|
|
8362
|
-
|
|
8708
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
8709
|
+
*
|
|
8710
|
+
* @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.
|
|
8711
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
8712
|
+
*
|
|
8713
|
+
* @param tmpReq SendChatappMassMessageRequest
|
|
8714
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8715
|
+
* @return SendChatappMassMessageResponse
|
|
8363
8716
|
*/
|
|
8364
8717
|
async sendChatappMassMessageWithOptions(tmpReq, runtime) {
|
|
8365
8718
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8437,22 +8790,26 @@ class Client extends openapi_client_1.default {
|
|
|
8437
8790
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
8438
8791
|
}
|
|
8439
8792
|
/**
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8793
|
+
* @summary Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
8794
|
+
*
|
|
8795
|
+
* @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.
|
|
8796
|
+
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
8797
|
+
*
|
|
8798
|
+
* @param request SendChatappMassMessageRequest
|
|
8799
|
+
* @return SendChatappMassMessageResponse
|
|
8445
8800
|
*/
|
|
8446
8801
|
async sendChatappMassMessage(request) {
|
|
8447
8802
|
let runtime = new $Util.RuntimeOptions({});
|
|
8448
8803
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
8449
8804
|
}
|
|
8450
8805
|
/**
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8455
|
-
|
|
8806
|
+
* @summary Sends messages by using ChatAPP.
|
|
8807
|
+
*
|
|
8808
|
+
* @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.
|
|
8809
|
+
*
|
|
8810
|
+
* @param tmpReq SendChatappMessageRequest
|
|
8811
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8812
|
+
* @return SendChatappMessageResponse
|
|
8456
8813
|
*/
|
|
8457
8814
|
async sendChatappMessageWithOptions(tmpReq, runtime) {
|
|
8458
8815
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8568,21 +8925,25 @@ class Client extends openapi_client_1.default {
|
|
|
8568
8925
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
8569
8926
|
}
|
|
8570
8927
|
/**
|
|
8571
|
-
|
|
8572
|
-
|
|
8573
|
-
|
|
8574
|
-
|
|
8928
|
+
* @summary Sends messages by using ChatAPP.
|
|
8929
|
+
*
|
|
8930
|
+
* @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.
|
|
8931
|
+
*
|
|
8932
|
+
* @param request SendChatappMessageRequest
|
|
8933
|
+
* @return SendChatappMessageResponse
|
|
8575
8934
|
*/
|
|
8576
8935
|
async sendChatappMessage(request) {
|
|
8577
8936
|
let runtime = new $Util.RuntimeOptions({});
|
|
8578
8937
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
8579
8938
|
}
|
|
8580
8939
|
/**
|
|
8581
|
-
|
|
8582
|
-
|
|
8583
|
-
|
|
8584
|
-
|
|
8585
|
-
|
|
8940
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
8941
|
+
*
|
|
8942
|
+
* @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.
|
|
8943
|
+
*
|
|
8944
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
8945
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8946
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
8586
8947
|
*/
|
|
8587
8948
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
8588
8949
|
tea_util_1.default.validateModel(request);
|
|
@@ -8625,21 +8986,25 @@ class Client extends openapi_client_1.default {
|
|
|
8625
8986
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
8626
8987
|
}
|
|
8627
8988
|
/**
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8989
|
+
* @summary Submits the agreement information for independent software vendor (ISV) customers.
|
|
8990
|
+
*
|
|
8991
|
+
* @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.
|
|
8992
|
+
*
|
|
8993
|
+
* @param request SubmitIsvCustomerTermsRequest
|
|
8994
|
+
* @return SubmitIsvCustomerTermsResponse
|
|
8632
8995
|
*/
|
|
8633
8996
|
async submitIsvCustomerTerms(request) {
|
|
8634
8997
|
let runtime = new $Util.RuntimeOptions({});
|
|
8635
8998
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|
|
8636
8999
|
}
|
|
8637
9000
|
/**
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
9001
|
+
* @summary Modifies the callback URL of an account.
|
|
9002
|
+
*
|
|
9003
|
+
* @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.
|
|
9004
|
+
*
|
|
9005
|
+
* @param request UpdateAccountWebhookRequest
|
|
9006
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9007
|
+
* @return UpdateAccountWebhookResponse
|
|
8643
9008
|
*/
|
|
8644
9009
|
async updateAccountWebhookWithOptions(request, runtime) {
|
|
8645
9010
|
tea_util_1.default.validateModel(request);
|
|
@@ -8673,21 +9038,25 @@ class Client extends openapi_client_1.default {
|
|
|
8673
9038
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
|
|
8674
9039
|
}
|
|
8675
9040
|
/**
|
|
8676
|
-
|
|
8677
|
-
|
|
8678
|
-
|
|
8679
|
-
|
|
9041
|
+
* @summary Modifies the callback URL of an account.
|
|
9042
|
+
*
|
|
9043
|
+
* @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.
|
|
9044
|
+
*
|
|
9045
|
+
* @param request UpdateAccountWebhookRequest
|
|
9046
|
+
* @return UpdateAccountWebhookResponse
|
|
8680
9047
|
*/
|
|
8681
9048
|
async updateAccountWebhook(request) {
|
|
8682
9049
|
let runtime = new $Util.RuntimeOptions({});
|
|
8683
9050
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
8684
9051
|
}
|
|
8685
9052
|
/**
|
|
8686
|
-
|
|
8687
|
-
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
|
|
9053
|
+
* @summary Modifies the business settings of a phone number.
|
|
9054
|
+
*
|
|
9055
|
+
* @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.
|
|
9056
|
+
*
|
|
9057
|
+
* @param request UpdateCommerceSettingRequest
|
|
9058
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9059
|
+
* @return UpdateCommerceSettingResponse
|
|
8691
9060
|
*/
|
|
8692
9061
|
async updateCommerceSettingWithOptions(request, runtime) {
|
|
8693
9062
|
tea_util_1.default.validateModel(request);
|
|
@@ -8721,15 +9090,24 @@ class Client extends openapi_client_1.default {
|
|
|
8721
9090
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCommerceSettingResponse({}));
|
|
8722
9091
|
}
|
|
8723
9092
|
/**
|
|
8724
|
-
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
9093
|
+
* @summary Modifies the business settings of a phone number.
|
|
9094
|
+
*
|
|
9095
|
+
* @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.
|
|
9096
|
+
*
|
|
9097
|
+
* @param request UpdateCommerceSettingRequest
|
|
9098
|
+
* @return UpdateCommerceSettingResponse
|
|
8728
9099
|
*/
|
|
8729
9100
|
async updateCommerceSetting(request) {
|
|
8730
9101
|
let runtime = new $Util.RuntimeOptions({});
|
|
8731
9102
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
8732
9103
|
}
|
|
9104
|
+
/**
|
|
9105
|
+
* @summary 更新flow的表单内容
|
|
9106
|
+
*
|
|
9107
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
9108
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9109
|
+
* @return UpdateFlowJSONAssetResponse
|
|
9110
|
+
*/
|
|
8733
9111
|
async updateFlowJSONAssetWithOptions(request, runtime) {
|
|
8734
9112
|
tea_util_1.default.validateModel(request);
|
|
8735
9113
|
let body = {};
|
|
@@ -8758,10 +9136,23 @@ class Client extends openapi_client_1.default {
|
|
|
8758
9136
|
});
|
|
8759
9137
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
8760
9138
|
}
|
|
9139
|
+
/**
|
|
9140
|
+
* @summary 更新flow的表单内容
|
|
9141
|
+
*
|
|
9142
|
+
* @param request UpdateFlowJSONAssetRequest
|
|
9143
|
+
* @return UpdateFlowJSONAssetResponse
|
|
9144
|
+
*/
|
|
8761
9145
|
async updateFlowJSONAsset(request) {
|
|
8762
9146
|
let runtime = new $Util.RuntimeOptions({});
|
|
8763
9147
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
8764
9148
|
}
|
|
9149
|
+
/**
|
|
9150
|
+
* @summary 更新号码的公钥
|
|
9151
|
+
*
|
|
9152
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9153
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9154
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
9155
|
+
*/
|
|
8765
9156
|
async updatePhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
8766
9157
|
tea_util_1.default.validateModel(request);
|
|
8767
9158
|
let body = {};
|
|
@@ -8790,10 +9181,23 @@ class Client extends openapi_client_1.default {
|
|
|
8790
9181
|
});
|
|
8791
9182
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
8792
9183
|
}
|
|
9184
|
+
/**
|
|
9185
|
+
* @summary 更新号码的公钥
|
|
9186
|
+
*
|
|
9187
|
+
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9188
|
+
* @return UpdatePhoneEncryptionPublicKeyResponse
|
|
9189
|
+
*/
|
|
8793
9190
|
async updatePhoneEncryptionPublicKey(request) {
|
|
8794
9191
|
let runtime = new $Util.RuntimeOptions({});
|
|
8795
9192
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
8796
9193
|
}
|
|
9194
|
+
/**
|
|
9195
|
+
* @summary 修改消息发送二维码
|
|
9196
|
+
*
|
|
9197
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
9198
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9199
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
9200
|
+
*/
|
|
8797
9201
|
async updatePhoneMessageQrdlWithOptions(request, runtime) {
|
|
8798
9202
|
tea_util_1.default.validateModel(request);
|
|
8799
9203
|
let body = {};
|
|
@@ -8828,16 +9232,26 @@ class Client extends openapi_client_1.default {
|
|
|
8828
9232
|
});
|
|
8829
9233
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
8830
9234
|
}
|
|
9235
|
+
/**
|
|
9236
|
+
* @summary 修改消息发送二维码
|
|
9237
|
+
*
|
|
9238
|
+
* @param request UpdatePhoneMessageQrdlRequest
|
|
9239
|
+
* @return UpdatePhoneMessageQrdlResponse
|
|
9240
|
+
*/
|
|
8831
9241
|
async updatePhoneMessageQrdl(request) {
|
|
8832
9242
|
let runtime = new $Util.RuntimeOptions({});
|
|
8833
9243
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
8834
9244
|
}
|
|
8835
9245
|
/**
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
9246
|
+
* @summary The HTTP status code returned.
|
|
9247
|
+
* * A value of OK indicates that the call is successful.
|
|
9248
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9249
|
+
*
|
|
9250
|
+
* @description The error message returned.
|
|
9251
|
+
*
|
|
9252
|
+
* @param request UpdatePhoneWebhookRequest
|
|
9253
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
9254
|
+
* @return UpdatePhoneWebhookResponse
|
|
8841
9255
|
*/
|
|
8842
9256
|
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
8843
9257
|
tea_util_1.default.validateModel(request);
|
|
@@ -8877,10 +9291,14 @@ class Client extends openapi_client_1.default {
|
|
|
8877
9291
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
8878
9292
|
}
|
|
8879
9293
|
/**
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
9294
|
+
* @summary The HTTP status code returned.
|
|
9295
|
+
* * A value of OK indicates that the call is successful.
|
|
9296
|
+
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9297
|
+
*
|
|
9298
|
+
* @description The error message returned.
|
|
9299
|
+
*
|
|
9300
|
+
* @param request UpdatePhoneWebhookRequest
|
|
9301
|
+
* @return UpdatePhoneWebhookResponse
|
|
8884
9302
|
*/
|
|
8885
9303
|
async updatePhoneWebhook(request) {
|
|
8886
9304
|
let runtime = new $Util.RuntimeOptions({});
|