@alicloud/cams20200606 1.4.5 → 1.5.1
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 +8082 -547
- package/dist/client.js +1167 -508
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +8705 -771
package/dist/client.js
CHANGED
|
@@ -27,14 +27,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.DeleteChatappTemplateRequest = exports.CreatePhoneMessageQrdlResponse = exports.CreatePhoneMessageQrdlResponseBody = exports.CreatePhoneMessageQrdlRequest = exports.CreateFlowResponse = exports.CreateFlowResponseBody = exports.CreateFlowShrinkRequest = exports.CreateFlowRequest = exports.CreateChatappTemplateResponse = exports.CreateChatappTemplateResponseBody = exports.CreateChatappTemplateShrinkRequest = exports.CreateChatappTemplateRequest = exports.CreateChatappMigrationInitiateResponse = exports.CreateChatappMigrationInitiateResponseBody = exports.CreateChatappMigrationInitiateRequest = exports.ChatappVerifyAndRegisterResponse = exports.ChatappVerifyAndRegisterResponseBody = exports.ChatappVerifyAndRegisterRequest = exports.ChatappSyncPhoneNumberResponse = exports.ChatappSyncPhoneNumberResponseBody = exports.ChatappSyncPhoneNumberRequest = exports.ChatappPhoneNumberRegisterResponse = exports.ChatappPhoneNumberRegisterResponseBody = exports.ChatappPhoneNumberRegisterRequest = exports.ChatappPhoneNumberDeregisterResponse = exports.ChatappPhoneNumberDeregisterResponseBody = exports.ChatappPhoneNumberDeregisterRequest = exports.ChatappMigrationVerifiedResponse = exports.ChatappMigrationVerifiedResponseBody = exports.ChatappMigrationVerifiedRequest = exports.ChatappMigrationRegisterResponse = exports.ChatappMigrationRegisterResponseBody = exports.ChatappMigrationRegisterRequest = exports.ChatappEmbedSignUpResponse = exports.ChatappEmbedSignUpResponseBody = exports.ChatappEmbedSignUpRequest = exports.ChatappBindWabaResponse = exports.ChatappBindWabaResponseBody = exports.ChatappBindWabaRequest = exports.BeeBotChatResponse = exports.BeeBotChatResponseBody = exports.BeeBotChatShrinkRequest = exports.BeeBotChatRequest = exports.BeeBotAssociateResponse = exports.BeeBotAssociateResponseBody = exports.BeeBotAssociateShrinkRequest = exports.BeeBotAssociateRequest = exports.AddChatappPhoneNumberResponse = exports.AddChatappPhoneNumberResponseBody = exports.AddChatappPhoneNumberRequest = void 0;
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
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;
|
|
30
|
+
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.GetConversationalAutomationResponse = exports.GetConversationalAutomationResponseBody = exports.GetConversationalAutomationRequest = 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
|
+
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.GetWhatsappHealthStatusResponse = exports.GetWhatsappHealthStatusResponseBody = exports.GetWhatsappHealthStatusRequest = exports.GetWhatsappConnectionCatalogResponse = exports.GetWhatsappConnectionCatalogResponseBody = exports.GetWhatsappConnectionCatalogRequest = exports.GetPreValidatePhoneIdResponse = exports.GetPreValidatePhoneIdResponseBody = exports.GetPreValidatePhoneIdRequest = exports.GetPhoneNumberVerificationStatusResponse = exports.GetPhoneNumberVerificationStatusResponseBody = exports.GetPhoneNumberVerificationStatusRequest = exports.GetPhoneEncryptionPublicKeyResponse = exports.GetPhoneEncryptionPublicKeyResponseBody = exports.GetPhoneEncryptionPublicKeyRequest = exports.GetPermissionByCodeResponse = void 0;
|
|
32
|
+
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.UpdateConversationalAutomationResponse = exports.UpdateConversationalAutomationResponseBody = exports.UpdateConversationalAutomationShrinkRequest = exports.UpdateConversationalAutomationRequest = 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 = exports.QueryChatappPhoneNumbersResponseBody = exports.QueryChatappPhoneNumbersRequest = exports.QueryChatappBindWabaResponse = exports.QueryChatappBindWabaResponseBody = exports.QueryChatappBindWabaRequest = exports.PublishFlowResponse = void 0;
|
|
33
|
+
exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdlResponseBodyData = exports.ListFlowResponseBodyData = exports.ListFlowRequestPage = exports.ListChatappTemplateResponseBodyListTemplate = exports.ListChatappTemplateRequestPage = exports.GetWhatsappHealthStatusResponseBodyData = exports.GetWhatsappHealthStatusResponseBodyDataEntities = exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = exports.GetPreValidatePhoneIdResponseBodyData = exports.GetPhoneNumberVerificationStatusResponseBodyData = exports.GetPhoneEncryptionPublicKeyResponseBodyData = exports.GetMigrationVerifyCodeResponseBodyData = exports.GetFlowPreviewUrlResponseBodyData = exports.GetFlowJSONAssestResponseBodyData = exports.GetFlowResponseBodyData = exports.GetConversationalAutomationResponseBodyData = exports.GetConversationalAutomationResponseBodyDataCommands = 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 = exports.CreateChatappMigrationInitiateResponseBodyData = exports.ChatappSyncPhoneNumberResponseBodyPhoneNumbers = exports.ChatappMigrationVerifiedResponseBodyData = exports.ChatappEmbedSignUpResponseBodyWabas = exports.ChatappBindWabaResponseBodyData = exports.BeeBotChatResponseBodyData = exports.BeeBotChatResponseBodyDataMessages = exports.BeeBotChatResponseBodyDataMessagesText = exports.BeeBotChatResponseBodyDataMessagesTextSlots = exports.BeeBotChatResponseBodyDataMessagesRecommends = void 0;
|
|
34
|
+
exports.UpdatePhoneMessageQrdlResponseBodyData = exports.UpdateFlowJSONAssetResponseBodyData = exports.UpdateConversationalAutomationRequestCommands = exports.SendChatappMessageRequestProductAction = exports.SendChatappMessageRequestProductActionSections = exports.SendChatappMessageRequestProductActionSectionsProductItems = exports.SendChatappMessageRequestFlowAction = exports.SendChatappMassMessageRequestSenderList = exports.SendChatappMassMessageRequestSenderListProductAction = exports.SendChatappMassMessageRequestSenderListProductActionSections = exports.SendChatappMassMessageRequestSenderListProductActionSectionsProductItems = exports.SendChatappMassMessageRequestSenderListFlowAction = exports.QueryWabaBusinessInfoResponseBodyData = exports.QueryPhoneBusinessProfileResponseBodyData = 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 = void 0;
|
|
35
35
|
// This file is auto-generated, don't edit it
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
37
|
*/
|
|
39
38
|
const tea_util_1 = __importStar(require("@alicloud/tea-util")), $Util = tea_util_1;
|
|
40
39
|
const openapi_client_1 = __importStar(require("@alicloud/openapi-client")), $OpenApi = openapi_client_1;
|
|
@@ -1907,6 +1906,76 @@ class GetCommerceSettingResponse extends $tea.Model {
|
|
|
1907
1906
|
}
|
|
1908
1907
|
}
|
|
1909
1908
|
exports.GetCommerceSettingResponse = GetCommerceSettingResponse;
|
|
1909
|
+
class GetConversationalAutomationRequest extends $tea.Model {
|
|
1910
|
+
static names() {
|
|
1911
|
+
return {
|
|
1912
|
+
custSpaceId: 'CustSpaceId',
|
|
1913
|
+
ownerId: 'OwnerId',
|
|
1914
|
+
phoneNumber: 'PhoneNumber',
|
|
1915
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
1916
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
1917
|
+
};
|
|
1918
|
+
}
|
|
1919
|
+
static types() {
|
|
1920
|
+
return {
|
|
1921
|
+
custSpaceId: 'string',
|
|
1922
|
+
ownerId: 'number',
|
|
1923
|
+
phoneNumber: 'string',
|
|
1924
|
+
resourceOwnerAccount: 'string',
|
|
1925
|
+
resourceOwnerId: 'number',
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
constructor(map) {
|
|
1929
|
+
super(map);
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
exports.GetConversationalAutomationRequest = GetConversationalAutomationRequest;
|
|
1933
|
+
class GetConversationalAutomationResponseBody extends $tea.Model {
|
|
1934
|
+
static names() {
|
|
1935
|
+
return {
|
|
1936
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
1937
|
+
code: 'Code',
|
|
1938
|
+
data: 'Data',
|
|
1939
|
+
message: 'Message',
|
|
1940
|
+
requestId: 'RequestId',
|
|
1941
|
+
success: 'Success',
|
|
1942
|
+
};
|
|
1943
|
+
}
|
|
1944
|
+
static types() {
|
|
1945
|
+
return {
|
|
1946
|
+
accessDeniedDetail: 'string',
|
|
1947
|
+
code: 'string',
|
|
1948
|
+
data: GetConversationalAutomationResponseBodyData,
|
|
1949
|
+
message: 'string',
|
|
1950
|
+
requestId: 'string',
|
|
1951
|
+
success: 'boolean',
|
|
1952
|
+
};
|
|
1953
|
+
}
|
|
1954
|
+
constructor(map) {
|
|
1955
|
+
super(map);
|
|
1956
|
+
}
|
|
1957
|
+
}
|
|
1958
|
+
exports.GetConversationalAutomationResponseBody = GetConversationalAutomationResponseBody;
|
|
1959
|
+
class GetConversationalAutomationResponse extends $tea.Model {
|
|
1960
|
+
static names() {
|
|
1961
|
+
return {
|
|
1962
|
+
headers: 'headers',
|
|
1963
|
+
statusCode: 'statusCode',
|
|
1964
|
+
body: 'body',
|
|
1965
|
+
};
|
|
1966
|
+
}
|
|
1967
|
+
static types() {
|
|
1968
|
+
return {
|
|
1969
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1970
|
+
statusCode: 'number',
|
|
1971
|
+
body: GetConversationalAutomationResponseBody,
|
|
1972
|
+
};
|
|
1973
|
+
}
|
|
1974
|
+
constructor(map) {
|
|
1975
|
+
super(map);
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
exports.GetConversationalAutomationResponse = GetConversationalAutomationResponse;
|
|
1910
1979
|
class GetFlowRequest extends $tea.Model {
|
|
1911
1980
|
static names() {
|
|
1912
1981
|
return {
|
|
@@ -2483,6 +2552,84 @@ class GetWhatsappConnectionCatalogResponse extends $tea.Model {
|
|
|
2483
2552
|
}
|
|
2484
2553
|
}
|
|
2485
2554
|
exports.GetWhatsappConnectionCatalogResponse = GetWhatsappConnectionCatalogResponse;
|
|
2555
|
+
class GetWhatsappHealthStatusRequest extends $tea.Model {
|
|
2556
|
+
static names() {
|
|
2557
|
+
return {
|
|
2558
|
+
custSpaceId: 'CustSpaceId',
|
|
2559
|
+
language: 'Language',
|
|
2560
|
+
nodeType: 'NodeType',
|
|
2561
|
+
ownerId: 'OwnerId',
|
|
2562
|
+
phoneNumber: 'PhoneNumber',
|
|
2563
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
2564
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
2565
|
+
templateCode: 'TemplateCode',
|
|
2566
|
+
wabaId: 'WabaId',
|
|
2567
|
+
};
|
|
2568
|
+
}
|
|
2569
|
+
static types() {
|
|
2570
|
+
return {
|
|
2571
|
+
custSpaceId: 'string',
|
|
2572
|
+
language: 'string',
|
|
2573
|
+
nodeType: 'string',
|
|
2574
|
+
ownerId: 'number',
|
|
2575
|
+
phoneNumber: 'string',
|
|
2576
|
+
resourceOwnerAccount: 'string',
|
|
2577
|
+
resourceOwnerId: 'number',
|
|
2578
|
+
templateCode: 'string',
|
|
2579
|
+
wabaId: 'string',
|
|
2580
|
+
};
|
|
2581
|
+
}
|
|
2582
|
+
constructor(map) {
|
|
2583
|
+
super(map);
|
|
2584
|
+
}
|
|
2585
|
+
}
|
|
2586
|
+
exports.GetWhatsappHealthStatusRequest = GetWhatsappHealthStatusRequest;
|
|
2587
|
+
class GetWhatsappHealthStatusResponseBody extends $tea.Model {
|
|
2588
|
+
static names() {
|
|
2589
|
+
return {
|
|
2590
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
2591
|
+
code: 'Code',
|
|
2592
|
+
data: 'Data',
|
|
2593
|
+
message: 'Message',
|
|
2594
|
+
requestId: 'RequestId',
|
|
2595
|
+
success: 'Success',
|
|
2596
|
+
};
|
|
2597
|
+
}
|
|
2598
|
+
static types() {
|
|
2599
|
+
return {
|
|
2600
|
+
accessDeniedDetail: 'string',
|
|
2601
|
+
code: 'string',
|
|
2602
|
+
data: GetWhatsappHealthStatusResponseBodyData,
|
|
2603
|
+
message: 'string',
|
|
2604
|
+
requestId: 'string',
|
|
2605
|
+
success: 'boolean',
|
|
2606
|
+
};
|
|
2607
|
+
}
|
|
2608
|
+
constructor(map) {
|
|
2609
|
+
super(map);
|
|
2610
|
+
}
|
|
2611
|
+
}
|
|
2612
|
+
exports.GetWhatsappHealthStatusResponseBody = GetWhatsappHealthStatusResponseBody;
|
|
2613
|
+
class GetWhatsappHealthStatusResponse extends $tea.Model {
|
|
2614
|
+
static names() {
|
|
2615
|
+
return {
|
|
2616
|
+
headers: 'headers',
|
|
2617
|
+
statusCode: 'statusCode',
|
|
2618
|
+
body: 'body',
|
|
2619
|
+
};
|
|
2620
|
+
}
|
|
2621
|
+
static types() {
|
|
2622
|
+
return {
|
|
2623
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2624
|
+
statusCode: 'number',
|
|
2625
|
+
body: GetWhatsappHealthStatusResponseBody,
|
|
2626
|
+
};
|
|
2627
|
+
}
|
|
2628
|
+
constructor(map) {
|
|
2629
|
+
super(map);
|
|
2630
|
+
}
|
|
2631
|
+
}
|
|
2632
|
+
exports.GetWhatsappHealthStatusResponse = GetWhatsappHealthStatusResponse;
|
|
2486
2633
|
class IsvGetAppIdRequest extends $tea.Model {
|
|
2487
2634
|
static names() {
|
|
2488
2635
|
return {
|
|
@@ -4131,6 +4278,110 @@ class UpdateCommerceSettingResponse extends $tea.Model {
|
|
|
4131
4278
|
}
|
|
4132
4279
|
}
|
|
4133
4280
|
exports.UpdateCommerceSettingResponse = UpdateCommerceSettingResponse;
|
|
4281
|
+
class UpdateConversationalAutomationRequest extends $tea.Model {
|
|
4282
|
+
static names() {
|
|
4283
|
+
return {
|
|
4284
|
+
commands: 'Commands',
|
|
4285
|
+
custSpaceId: 'CustSpaceId',
|
|
4286
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
4287
|
+
ownerId: 'OwnerId',
|
|
4288
|
+
phoneNumber: 'PhoneNumber',
|
|
4289
|
+
prompts: 'Prompts',
|
|
4290
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4291
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4292
|
+
};
|
|
4293
|
+
}
|
|
4294
|
+
static types() {
|
|
4295
|
+
return {
|
|
4296
|
+
commands: { 'type': 'array', 'itemType': UpdateConversationalAutomationRequestCommands },
|
|
4297
|
+
custSpaceId: 'string',
|
|
4298
|
+
enableWelcomeMessage: 'boolean',
|
|
4299
|
+
ownerId: 'number',
|
|
4300
|
+
phoneNumber: 'string',
|
|
4301
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
4302
|
+
resourceOwnerAccount: 'string',
|
|
4303
|
+
resourceOwnerId: 'number',
|
|
4304
|
+
};
|
|
4305
|
+
}
|
|
4306
|
+
constructor(map) {
|
|
4307
|
+
super(map);
|
|
4308
|
+
}
|
|
4309
|
+
}
|
|
4310
|
+
exports.UpdateConversationalAutomationRequest = UpdateConversationalAutomationRequest;
|
|
4311
|
+
class UpdateConversationalAutomationShrinkRequest extends $tea.Model {
|
|
4312
|
+
static names() {
|
|
4313
|
+
return {
|
|
4314
|
+
commandsShrink: 'Commands',
|
|
4315
|
+
custSpaceId: 'CustSpaceId',
|
|
4316
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
4317
|
+
ownerId: 'OwnerId',
|
|
4318
|
+
phoneNumber: 'PhoneNumber',
|
|
4319
|
+
promptsShrink: 'Prompts',
|
|
4320
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
4321
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
4322
|
+
};
|
|
4323
|
+
}
|
|
4324
|
+
static types() {
|
|
4325
|
+
return {
|
|
4326
|
+
commandsShrink: 'string',
|
|
4327
|
+
custSpaceId: 'string',
|
|
4328
|
+
enableWelcomeMessage: 'boolean',
|
|
4329
|
+
ownerId: 'number',
|
|
4330
|
+
phoneNumber: 'string',
|
|
4331
|
+
promptsShrink: 'string',
|
|
4332
|
+
resourceOwnerAccount: 'string',
|
|
4333
|
+
resourceOwnerId: 'number',
|
|
4334
|
+
};
|
|
4335
|
+
}
|
|
4336
|
+
constructor(map) {
|
|
4337
|
+
super(map);
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
exports.UpdateConversationalAutomationShrinkRequest = UpdateConversationalAutomationShrinkRequest;
|
|
4341
|
+
class UpdateConversationalAutomationResponseBody extends $tea.Model {
|
|
4342
|
+
static names() {
|
|
4343
|
+
return {
|
|
4344
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
4345
|
+
code: 'Code',
|
|
4346
|
+
message: 'Message',
|
|
4347
|
+
requestId: 'RequestId',
|
|
4348
|
+
success: 'Success',
|
|
4349
|
+
};
|
|
4350
|
+
}
|
|
4351
|
+
static types() {
|
|
4352
|
+
return {
|
|
4353
|
+
accessDeniedDetail: 'string',
|
|
4354
|
+
code: 'string',
|
|
4355
|
+
message: 'string',
|
|
4356
|
+
requestId: 'string',
|
|
4357
|
+
success: 'boolean',
|
|
4358
|
+
};
|
|
4359
|
+
}
|
|
4360
|
+
constructor(map) {
|
|
4361
|
+
super(map);
|
|
4362
|
+
}
|
|
4363
|
+
}
|
|
4364
|
+
exports.UpdateConversationalAutomationResponseBody = UpdateConversationalAutomationResponseBody;
|
|
4365
|
+
class UpdateConversationalAutomationResponse extends $tea.Model {
|
|
4366
|
+
static names() {
|
|
4367
|
+
return {
|
|
4368
|
+
headers: 'headers',
|
|
4369
|
+
statusCode: 'statusCode',
|
|
4370
|
+
body: 'body',
|
|
4371
|
+
};
|
|
4372
|
+
}
|
|
4373
|
+
static types() {
|
|
4374
|
+
return {
|
|
4375
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4376
|
+
statusCode: 'number',
|
|
4377
|
+
body: UpdateConversationalAutomationResponseBody,
|
|
4378
|
+
};
|
|
4379
|
+
}
|
|
4380
|
+
constructor(map) {
|
|
4381
|
+
super(map);
|
|
4382
|
+
}
|
|
4383
|
+
}
|
|
4384
|
+
exports.UpdateConversationalAutomationResponse = UpdateConversationalAutomationResponse;
|
|
4134
4385
|
class UpdateFlowJSONAssetRequest extends $tea.Model {
|
|
4135
4386
|
static names() {
|
|
4136
4387
|
return {
|
|
@@ -5309,6 +5560,46 @@ class GetCommerceSettingResponseBodyData extends $tea.Model {
|
|
|
5309
5560
|
}
|
|
5310
5561
|
}
|
|
5311
5562
|
exports.GetCommerceSettingResponseBodyData = GetCommerceSettingResponseBodyData;
|
|
5563
|
+
class GetConversationalAutomationResponseBodyDataCommands extends $tea.Model {
|
|
5564
|
+
static names() {
|
|
5565
|
+
return {
|
|
5566
|
+
commandDescription: 'CommandDescription',
|
|
5567
|
+
commandName: 'CommandName',
|
|
5568
|
+
};
|
|
5569
|
+
}
|
|
5570
|
+
static types() {
|
|
5571
|
+
return {
|
|
5572
|
+
commandDescription: 'string',
|
|
5573
|
+
commandName: 'string',
|
|
5574
|
+
};
|
|
5575
|
+
}
|
|
5576
|
+
constructor(map) {
|
|
5577
|
+
super(map);
|
|
5578
|
+
}
|
|
5579
|
+
}
|
|
5580
|
+
exports.GetConversationalAutomationResponseBodyDataCommands = GetConversationalAutomationResponseBodyDataCommands;
|
|
5581
|
+
class GetConversationalAutomationResponseBodyData extends $tea.Model {
|
|
5582
|
+
static names() {
|
|
5583
|
+
return {
|
|
5584
|
+
commands: 'Commands',
|
|
5585
|
+
enableWelcomeMessage: 'EnableWelcomeMessage',
|
|
5586
|
+
phoneNumber: 'PhoneNumber',
|
|
5587
|
+
prompts: 'Prompts',
|
|
5588
|
+
};
|
|
5589
|
+
}
|
|
5590
|
+
static types() {
|
|
5591
|
+
return {
|
|
5592
|
+
commands: { 'type': 'array', 'itemType': GetConversationalAutomationResponseBodyDataCommands },
|
|
5593
|
+
enableWelcomeMessage: 'boolean',
|
|
5594
|
+
phoneNumber: 'string',
|
|
5595
|
+
prompts: { 'type': 'array', 'itemType': 'string' },
|
|
5596
|
+
};
|
|
5597
|
+
}
|
|
5598
|
+
constructor(map) {
|
|
5599
|
+
super(map);
|
|
5600
|
+
}
|
|
5601
|
+
}
|
|
5602
|
+
exports.GetConversationalAutomationResponseBodyData = GetConversationalAutomationResponseBodyData;
|
|
5312
5603
|
class GetFlowResponseBodyData extends $tea.Model {
|
|
5313
5604
|
static names() {
|
|
5314
5605
|
return {
|
|
@@ -5453,6 +5744,74 @@ class GetPreValidatePhoneIdResponseBodyData extends $tea.Model {
|
|
|
5453
5744
|
}
|
|
5454
5745
|
}
|
|
5455
5746
|
exports.GetPreValidatePhoneIdResponseBodyData = GetPreValidatePhoneIdResponseBodyData;
|
|
5747
|
+
class GetWhatsappHealthStatusResponseBodyDataEntitiesErrors extends $tea.Model {
|
|
5748
|
+
static names() {
|
|
5749
|
+
return {
|
|
5750
|
+
errorCode: 'ErrorCode',
|
|
5751
|
+
errorDescription: 'ErrorDescription',
|
|
5752
|
+
possibleSolution: 'PossibleSolution',
|
|
5753
|
+
};
|
|
5754
|
+
}
|
|
5755
|
+
static types() {
|
|
5756
|
+
return {
|
|
5757
|
+
errorCode: 'string',
|
|
5758
|
+
errorDescription: 'string',
|
|
5759
|
+
possibleSolution: 'string',
|
|
5760
|
+
};
|
|
5761
|
+
}
|
|
5762
|
+
constructor(map) {
|
|
5763
|
+
super(map);
|
|
5764
|
+
}
|
|
5765
|
+
}
|
|
5766
|
+
exports.GetWhatsappHealthStatusResponseBodyDataEntitiesErrors = GetWhatsappHealthStatusResponseBodyDataEntitiesErrors;
|
|
5767
|
+
class GetWhatsappHealthStatusResponseBodyDataEntities extends $tea.Model {
|
|
5768
|
+
static names() {
|
|
5769
|
+
return {
|
|
5770
|
+
businessId: 'BusinessId',
|
|
5771
|
+
canSendMessage: 'CanSendMessage',
|
|
5772
|
+
entityType: 'EntityType',
|
|
5773
|
+
errors: 'Errors',
|
|
5774
|
+
language: 'Language',
|
|
5775
|
+
phoneNumber: 'PhoneNumber',
|
|
5776
|
+
templateCode: 'TemplateCode',
|
|
5777
|
+
wabaId: 'WabaId',
|
|
5778
|
+
};
|
|
5779
|
+
}
|
|
5780
|
+
static types() {
|
|
5781
|
+
return {
|
|
5782
|
+
businessId: 'string',
|
|
5783
|
+
canSendMessage: 'string',
|
|
5784
|
+
entityType: 'string',
|
|
5785
|
+
errors: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntitiesErrors },
|
|
5786
|
+
language: 'string',
|
|
5787
|
+
phoneNumber: 'string',
|
|
5788
|
+
templateCode: 'string',
|
|
5789
|
+
wabaId: 'string',
|
|
5790
|
+
};
|
|
5791
|
+
}
|
|
5792
|
+
constructor(map) {
|
|
5793
|
+
super(map);
|
|
5794
|
+
}
|
|
5795
|
+
}
|
|
5796
|
+
exports.GetWhatsappHealthStatusResponseBodyDataEntities = GetWhatsappHealthStatusResponseBodyDataEntities;
|
|
5797
|
+
class GetWhatsappHealthStatusResponseBodyData extends $tea.Model {
|
|
5798
|
+
static names() {
|
|
5799
|
+
return {
|
|
5800
|
+
canSendMessage: 'CanSendMessage',
|
|
5801
|
+
entities: 'Entities',
|
|
5802
|
+
};
|
|
5803
|
+
}
|
|
5804
|
+
static types() {
|
|
5805
|
+
return {
|
|
5806
|
+
canSendMessage: 'string',
|
|
5807
|
+
entities: { 'type': 'array', 'itemType': GetWhatsappHealthStatusResponseBodyDataEntities },
|
|
5808
|
+
};
|
|
5809
|
+
}
|
|
5810
|
+
constructor(map) {
|
|
5811
|
+
super(map);
|
|
5812
|
+
}
|
|
5813
|
+
}
|
|
5814
|
+
exports.GetWhatsappHealthStatusResponseBodyData = GetWhatsappHealthStatusResponseBodyData;
|
|
5456
5815
|
class ListChatappTemplateRequestPage extends $tea.Model {
|
|
5457
5816
|
static names() {
|
|
5458
5817
|
return {
|
|
@@ -5878,6 +6237,8 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
5878
6237
|
return {
|
|
5879
6238
|
accountReviewStatus: 'AccountReviewStatus',
|
|
5880
6239
|
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
6240
|
+
businessId: 'BusinessId',
|
|
6241
|
+
businessName: 'BusinessName',
|
|
5881
6242
|
currency: 'Currency',
|
|
5882
6243
|
id: 'Id',
|
|
5883
6244
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
@@ -5889,6 +6250,8 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
5889
6250
|
return {
|
|
5890
6251
|
accountReviewStatus: 'string',
|
|
5891
6252
|
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6253
|
+
businessId: 'string',
|
|
6254
|
+
businessName: 'string',
|
|
5892
6255
|
currency: 'string',
|
|
5893
6256
|
id: 'string',
|
|
5894
6257
|
messageTemplateNamespace: 'string',
|
|
@@ -6153,6 +6516,24 @@ class SendChatappMessageRequestProductAction extends $tea.Model {
|
|
|
6153
6516
|
}
|
|
6154
6517
|
}
|
|
6155
6518
|
exports.SendChatappMessageRequestProductAction = SendChatappMessageRequestProductAction;
|
|
6519
|
+
class UpdateConversationalAutomationRequestCommands extends $tea.Model {
|
|
6520
|
+
static names() {
|
|
6521
|
+
return {
|
|
6522
|
+
commandDescription: 'CommandDescription',
|
|
6523
|
+
commandName: 'CommandName',
|
|
6524
|
+
};
|
|
6525
|
+
}
|
|
6526
|
+
static types() {
|
|
6527
|
+
return {
|
|
6528
|
+
commandDescription: 'string',
|
|
6529
|
+
commandName: 'string',
|
|
6530
|
+
};
|
|
6531
|
+
}
|
|
6532
|
+
constructor(map) {
|
|
6533
|
+
super(map);
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
exports.UpdateConversationalAutomationRequestCommands = UpdateConversationalAutomationRequestCommands;
|
|
6156
6537
|
class UpdateFlowJSONAssetResponseBodyData extends $tea.Model {
|
|
6157
6538
|
static names() {
|
|
6158
6539
|
return {
|
|
@@ -6212,13 +6593,14 @@ class Client extends openapi_client_1.default {
|
|
|
6212
6593
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6213
6594
|
}
|
|
6214
6595
|
/**
|
|
6215
|
-
*
|
|
6596
|
+
* Adds a phone number for a WhatsApp Business account (WABA).
|
|
6216
6597
|
*
|
|
6217
|
-
* @
|
|
6598
|
+
* @remarks
|
|
6599
|
+
* 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.
|
|
6218
6600
|
*
|
|
6219
|
-
* @param request AddChatappPhoneNumberRequest
|
|
6220
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6221
|
-
* @
|
|
6601
|
+
* @param request - AddChatappPhoneNumberRequest
|
|
6602
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6603
|
+
* @returns AddChatappPhoneNumberResponse
|
|
6222
6604
|
*/
|
|
6223
6605
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6224
6606
|
tea_util_1.default.validateModel(request);
|
|
@@ -6264,25 +6646,27 @@ class Client extends openapi_client_1.default {
|
|
|
6264
6646
|
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
6265
6647
|
}
|
|
6266
6648
|
/**
|
|
6267
|
-
*
|
|
6649
|
+
* Adds a phone number for a WhatsApp Business account (WABA).
|
|
6268
6650
|
*
|
|
6269
|
-
* @
|
|
6651
|
+
* @remarks
|
|
6652
|
+
* 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.
|
|
6270
6653
|
*
|
|
6271
|
-
* @param request AddChatappPhoneNumberRequest
|
|
6272
|
-
* @
|
|
6654
|
+
* @param request - AddChatappPhoneNumberRequest
|
|
6655
|
+
* @returns AddChatappPhoneNumberResponse
|
|
6273
6656
|
*/
|
|
6274
6657
|
async addChatappPhoneNumber(request) {
|
|
6275
6658
|
let runtime = new $Util.RuntimeOptions({});
|
|
6276
6659
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
6277
6660
|
}
|
|
6278
6661
|
/**
|
|
6279
|
-
*
|
|
6662
|
+
* Associates FAQs in the knowledge base.
|
|
6280
6663
|
*
|
|
6281
|
-
* @
|
|
6664
|
+
* @remarks
|
|
6665
|
+
* 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.
|
|
6282
6666
|
*
|
|
6283
|
-
* @param tmpReq BeeBotAssociateRequest
|
|
6284
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6285
|
-
* @
|
|
6667
|
+
* @param tmpReq - BeeBotAssociateRequest
|
|
6668
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6669
|
+
* @returns BeeBotAssociateResponse
|
|
6286
6670
|
*/
|
|
6287
6671
|
async beeBotAssociateWithOptions(tmpReq, runtime) {
|
|
6288
6672
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6330,25 +6714,27 @@ class Client extends openapi_client_1.default {
|
|
|
6330
6714
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
6331
6715
|
}
|
|
6332
6716
|
/**
|
|
6333
|
-
*
|
|
6717
|
+
* Associates FAQs in the knowledge base.
|
|
6334
6718
|
*
|
|
6335
|
-
* @
|
|
6719
|
+
* @remarks
|
|
6720
|
+
* 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.
|
|
6336
6721
|
*
|
|
6337
|
-
* @param request BeeBotAssociateRequest
|
|
6338
|
-
* @
|
|
6722
|
+
* @param request - BeeBotAssociateRequest
|
|
6723
|
+
* @returns BeeBotAssociateResponse
|
|
6339
6724
|
*/
|
|
6340
6725
|
async beeBotAssociate(request) {
|
|
6341
6726
|
let runtime = new $Util.RuntimeOptions({});
|
|
6342
6727
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
6343
6728
|
}
|
|
6344
6729
|
/**
|
|
6345
|
-
*
|
|
6730
|
+
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
6346
6731
|
*
|
|
6347
|
-
* @
|
|
6732
|
+
* @remarks
|
|
6733
|
+
* 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.
|
|
6348
6734
|
*
|
|
6349
|
-
* @param tmpReq BeeBotChatRequest
|
|
6350
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6351
|
-
* @
|
|
6735
|
+
* @param tmpReq - BeeBotChatRequest
|
|
6736
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6737
|
+
* @returns BeeBotChatResponse
|
|
6352
6738
|
*/
|
|
6353
6739
|
async beeBotChatWithOptions(tmpReq, runtime) {
|
|
6354
6740
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6411,25 +6797,27 @@ class Client extends openapi_client_1.default {
|
|
|
6411
6797
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
6412
6798
|
}
|
|
6413
6799
|
/**
|
|
6414
|
-
*
|
|
6800
|
+
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
6415
6801
|
*
|
|
6416
|
-
* @
|
|
6802
|
+
* @remarks
|
|
6803
|
+
* 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.
|
|
6417
6804
|
*
|
|
6418
|
-
* @param request BeeBotChatRequest
|
|
6419
|
-
* @
|
|
6805
|
+
* @param request - BeeBotChatRequest
|
|
6806
|
+
* @returns BeeBotChatResponse
|
|
6420
6807
|
*/
|
|
6421
6808
|
async beeBotChat(request) {
|
|
6422
6809
|
let runtime = new $Util.RuntimeOptions({});
|
|
6423
6810
|
return await this.beeBotChatWithOptions(request, runtime);
|
|
6424
6811
|
}
|
|
6425
6812
|
/**
|
|
6426
|
-
*
|
|
6813
|
+
* Binds the WhatsApp Business account with ChatApp.
|
|
6427
6814
|
*
|
|
6428
|
-
* @
|
|
6815
|
+
* @remarks
|
|
6816
|
+
* 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.
|
|
6429
6817
|
*
|
|
6430
|
-
* @param request ChatappBindWabaRequest
|
|
6431
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6432
|
-
* @
|
|
6818
|
+
* @param request - ChatappBindWabaRequest
|
|
6819
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6820
|
+
* @returns ChatappBindWabaResponse
|
|
6433
6821
|
*/
|
|
6434
6822
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6435
6823
|
tea_util_1.default.validateModel(request);
|
|
@@ -6463,25 +6851,27 @@ class Client extends openapi_client_1.default {
|
|
|
6463
6851
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
6464
6852
|
}
|
|
6465
6853
|
/**
|
|
6466
|
-
*
|
|
6854
|
+
* Binds the WhatsApp Business account with ChatApp.
|
|
6467
6855
|
*
|
|
6468
|
-
* @
|
|
6856
|
+
* @remarks
|
|
6857
|
+
* 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.
|
|
6469
6858
|
*
|
|
6470
|
-
* @param request ChatappBindWabaRequest
|
|
6471
|
-
* @
|
|
6859
|
+
* @param request - ChatappBindWabaRequest
|
|
6860
|
+
* @returns ChatappBindWabaResponse
|
|
6472
6861
|
*/
|
|
6473
6862
|
async chatappBindWaba(request) {
|
|
6474
6863
|
let runtime = new $Util.RuntimeOptions({});
|
|
6475
6864
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
6476
6865
|
}
|
|
6477
6866
|
/**
|
|
6478
|
-
*
|
|
6867
|
+
* 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.
|
|
6479
6868
|
*
|
|
6480
|
-
* @
|
|
6869
|
+
* @remarks
|
|
6870
|
+
* 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
6871
|
*
|
|
6482
|
-
* @param request ChatappEmbedSignUpRequest
|
|
6483
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6484
|
-
* @
|
|
6872
|
+
* @param request - ChatappEmbedSignUpRequest
|
|
6873
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6874
|
+
* @returns ChatappEmbedSignUpResponse
|
|
6485
6875
|
*/
|
|
6486
6876
|
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
6487
6877
|
tea_util_1.default.validateModel(request);
|
|
@@ -6506,25 +6896,27 @@ class Client extends openapi_client_1.default {
|
|
|
6506
6896
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
6507
6897
|
}
|
|
6508
6898
|
/**
|
|
6509
|
-
*
|
|
6899
|
+
* 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.
|
|
6510
6900
|
*
|
|
6511
|
-
* @
|
|
6901
|
+
* @remarks
|
|
6902
|
+
* 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.
|
|
6512
6903
|
*
|
|
6513
|
-
* @param request ChatappEmbedSignUpRequest
|
|
6514
|
-
* @
|
|
6904
|
+
* @param request - ChatappEmbedSignUpRequest
|
|
6905
|
+
* @returns ChatappEmbedSignUpResponse
|
|
6515
6906
|
*/
|
|
6516
6907
|
async chatappEmbedSignUp(request) {
|
|
6517
6908
|
let runtime = new $Util.RuntimeOptions({});
|
|
6518
6909
|
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
6519
6910
|
}
|
|
6520
6911
|
/**
|
|
6521
|
-
*
|
|
6912
|
+
* Registers a phone number for migration.
|
|
6522
6913
|
*
|
|
6523
|
-
* @
|
|
6914
|
+
* @remarks
|
|
6915
|
+
* 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.
|
|
6524
6916
|
*
|
|
6525
|
-
* @param request ChatappMigrationRegisterRequest
|
|
6526
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6527
|
-
* @
|
|
6917
|
+
* @param request - ChatappMigrationRegisterRequest
|
|
6918
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6919
|
+
* @returns ChatappMigrationRegisterResponse
|
|
6528
6920
|
*/
|
|
6529
6921
|
async chatappMigrationRegisterWithOptions(request, runtime) {
|
|
6530
6922
|
tea_util_1.default.validateModel(request);
|
|
@@ -6552,25 +6944,27 @@ class Client extends openapi_client_1.default {
|
|
|
6552
6944
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
|
|
6553
6945
|
}
|
|
6554
6946
|
/**
|
|
6555
|
-
*
|
|
6947
|
+
* Registers a phone number for migration.
|
|
6556
6948
|
*
|
|
6557
|
-
* @
|
|
6949
|
+
* @remarks
|
|
6950
|
+
* 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.
|
|
6558
6951
|
*
|
|
6559
|
-
* @param request ChatappMigrationRegisterRequest
|
|
6560
|
-
* @
|
|
6952
|
+
* @param request - ChatappMigrationRegisterRequest
|
|
6953
|
+
* @returns ChatappMigrationRegisterResponse
|
|
6561
6954
|
*/
|
|
6562
6955
|
async chatappMigrationRegister(request) {
|
|
6563
6956
|
let runtime = new $Util.RuntimeOptions({});
|
|
6564
6957
|
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
6565
6958
|
}
|
|
6566
6959
|
/**
|
|
6567
|
-
*
|
|
6960
|
+
* Verifies a specified phone number for migration.
|
|
6568
6961
|
*
|
|
6569
|
-
* @
|
|
6962
|
+
* @remarks
|
|
6963
|
+
* 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.
|
|
6570
6964
|
*
|
|
6571
|
-
* @param request ChatappMigrationVerifiedRequest
|
|
6572
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6573
|
-
* @
|
|
6965
|
+
* @param request - ChatappMigrationVerifiedRequest
|
|
6966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6967
|
+
* @returns ChatappMigrationVerifiedResponse
|
|
6574
6968
|
*/
|
|
6575
6969
|
async chatappMigrationVerifiedWithOptions(request, runtime) {
|
|
6576
6970
|
tea_util_1.default.validateModel(request);
|
|
@@ -6601,25 +6995,27 @@ class Client extends openapi_client_1.default {
|
|
|
6601
6995
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
|
|
6602
6996
|
}
|
|
6603
6997
|
/**
|
|
6604
|
-
*
|
|
6998
|
+
* Verifies a specified phone number for migration.
|
|
6605
6999
|
*
|
|
6606
|
-
* @
|
|
7000
|
+
* @remarks
|
|
7001
|
+
* 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.
|
|
6607
7002
|
*
|
|
6608
|
-
* @param request ChatappMigrationVerifiedRequest
|
|
6609
|
-
* @
|
|
7003
|
+
* @param request - ChatappMigrationVerifiedRequest
|
|
7004
|
+
* @returns ChatappMigrationVerifiedResponse
|
|
6610
7005
|
*/
|
|
6611
7006
|
async chatappMigrationVerified(request) {
|
|
6612
7007
|
let runtime = new $Util.RuntimeOptions({});
|
|
6613
7008
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
6614
7009
|
}
|
|
6615
7010
|
/**
|
|
6616
|
-
*
|
|
7011
|
+
* Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6617
7012
|
*
|
|
6618
|
-
* @
|
|
7013
|
+
* @remarks
|
|
7014
|
+
* 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.
|
|
6619
7015
|
*
|
|
6620
|
-
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6621
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6622
|
-
* @
|
|
7016
|
+
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
7017
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7018
|
+
* @returns ChatappPhoneNumberDeregisterResponse
|
|
6623
7019
|
*/
|
|
6624
7020
|
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
6625
7021
|
tea_util_1.default.validateModel(request);
|
|
@@ -6647,25 +7043,27 @@ class Client extends openapi_client_1.default {
|
|
|
6647
7043
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
6648
7044
|
}
|
|
6649
7045
|
/**
|
|
6650
|
-
*
|
|
7046
|
+
* Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6651
7047
|
*
|
|
6652
|
-
* @
|
|
7048
|
+
* @remarks
|
|
7049
|
+
* 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.
|
|
6653
7050
|
*
|
|
6654
|
-
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6655
|
-
* @
|
|
7051
|
+
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
7052
|
+
* @returns ChatappPhoneNumberDeregisterResponse
|
|
6656
7053
|
*/
|
|
6657
7054
|
async chatappPhoneNumberDeregister(request) {
|
|
6658
7055
|
let runtime = new $Util.RuntimeOptions({});
|
|
6659
7056
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
6660
7057
|
}
|
|
6661
7058
|
/**
|
|
6662
|
-
*
|
|
7059
|
+
* Registers a phone number.
|
|
6663
7060
|
*
|
|
6664
|
-
* @
|
|
7061
|
+
* @remarks
|
|
7062
|
+
* 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
7063
|
*
|
|
6666
|
-
* @param request ChatappPhoneNumberRegisterRequest
|
|
6667
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6668
|
-
* @
|
|
7064
|
+
* @param request - ChatappPhoneNumberRegisterRequest
|
|
7065
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7066
|
+
* @returns ChatappPhoneNumberRegisterResponse
|
|
6669
7067
|
*/
|
|
6670
7068
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
6671
7069
|
tea_util_1.default.validateModel(request);
|
|
@@ -6702,25 +7100,27 @@ class Client extends openapi_client_1.default {
|
|
|
6702
7100
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
6703
7101
|
}
|
|
6704
7102
|
/**
|
|
6705
|
-
*
|
|
7103
|
+
* Registers a phone number.
|
|
6706
7104
|
*
|
|
6707
|
-
* @
|
|
7105
|
+
* @remarks
|
|
7106
|
+
* 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.
|
|
6708
7107
|
*
|
|
6709
|
-
* @param request ChatappPhoneNumberRegisterRequest
|
|
6710
|
-
* @
|
|
7108
|
+
* @param request - ChatappPhoneNumberRegisterRequest
|
|
7109
|
+
* @returns ChatappPhoneNumberRegisterResponse
|
|
6711
7110
|
*/
|
|
6712
7111
|
async chatappPhoneNumberRegister(request) {
|
|
6713
7112
|
let runtime = new $Util.RuntimeOptions({});
|
|
6714
7113
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
6715
7114
|
}
|
|
6716
7115
|
/**
|
|
6717
|
-
*
|
|
7116
|
+
* Synchronizes phone numbers.
|
|
6718
7117
|
*
|
|
6719
|
-
* @
|
|
7118
|
+
* @remarks
|
|
7119
|
+
* 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.
|
|
6720
7120
|
*
|
|
6721
|
-
* @param request ChatappSyncPhoneNumberRequest
|
|
6722
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6723
|
-
* @
|
|
7121
|
+
* @param request - ChatappSyncPhoneNumberRequest
|
|
7122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7123
|
+
* @returns ChatappSyncPhoneNumberResponse
|
|
6724
7124
|
*/
|
|
6725
7125
|
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
6726
7126
|
tea_util_1.default.validateModel(request);
|
|
@@ -6754,25 +7154,27 @@ class Client extends openapi_client_1.default {
|
|
|
6754
7154
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
6755
7155
|
}
|
|
6756
7156
|
/**
|
|
6757
|
-
*
|
|
7157
|
+
* Synchronizes phone numbers.
|
|
6758
7158
|
*
|
|
6759
|
-
* @
|
|
7159
|
+
* @remarks
|
|
7160
|
+
* 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.
|
|
6760
7161
|
*
|
|
6761
|
-
* @param request ChatappSyncPhoneNumberRequest
|
|
6762
|
-
* @
|
|
7162
|
+
* @param request - ChatappSyncPhoneNumberRequest
|
|
7163
|
+
* @returns ChatappSyncPhoneNumberResponse
|
|
6763
7164
|
*/
|
|
6764
7165
|
async chatappSyncPhoneNumber(request) {
|
|
6765
7166
|
let runtime = new $Util.RuntimeOptions({});
|
|
6766
7167
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
6767
7168
|
}
|
|
6768
7169
|
/**
|
|
6769
|
-
*
|
|
7170
|
+
* Associates a phone number with a WhatsApp Business account (WABA).
|
|
6770
7171
|
*
|
|
6771
|
-
* @
|
|
7172
|
+
* @remarks
|
|
7173
|
+
* 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.
|
|
6772
7174
|
*
|
|
6773
|
-
* @param request ChatappVerifyAndRegisterRequest
|
|
6774
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6775
|
-
* @
|
|
7175
|
+
* @param request - ChatappVerifyAndRegisterRequest
|
|
7176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7177
|
+
* @returns ChatappVerifyAndRegisterResponse
|
|
6776
7178
|
*/
|
|
6777
7179
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
6778
7180
|
tea_util_1.default.validateModel(request);
|
|
@@ -6812,25 +7214,27 @@ class Client extends openapi_client_1.default {
|
|
|
6812
7214
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
6813
7215
|
}
|
|
6814
7216
|
/**
|
|
6815
|
-
*
|
|
7217
|
+
* Associates a phone number with a WhatsApp Business account (WABA).
|
|
6816
7218
|
*
|
|
6817
|
-
* @
|
|
7219
|
+
* @remarks
|
|
7220
|
+
* 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.
|
|
6818
7221
|
*
|
|
6819
|
-
* @param request ChatappVerifyAndRegisterRequest
|
|
6820
|
-
* @
|
|
7222
|
+
* @param request - ChatappVerifyAndRegisterRequest
|
|
7223
|
+
* @returns ChatappVerifyAndRegisterResponse
|
|
6821
7224
|
*/
|
|
6822
7225
|
async chatappVerifyAndRegister(request) {
|
|
6823
7226
|
let runtime = new $Util.RuntimeOptions({});
|
|
6824
7227
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
6825
7228
|
}
|
|
6826
7229
|
/**
|
|
6827
|
-
*
|
|
7230
|
+
* The ID of the number.
|
|
6828
7231
|
*
|
|
6829
|
-
* @
|
|
7232
|
+
* @remarks
|
|
7233
|
+
* The status of the phone number.
|
|
6830
7234
|
*
|
|
6831
|
-
* @param request CreateChatappMigrationInitiateRequest
|
|
6832
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6833
|
-
* @
|
|
7235
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
7236
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7237
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
6834
7238
|
*/
|
|
6835
7239
|
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
6836
7240
|
tea_util_1.default.validateModel(request);
|
|
@@ -6861,27 +7265,29 @@ class Client extends openapi_client_1.default {
|
|
|
6861
7265
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
6862
7266
|
}
|
|
6863
7267
|
/**
|
|
6864
|
-
*
|
|
7268
|
+
* The ID of the number.
|
|
6865
7269
|
*
|
|
6866
|
-
* @
|
|
7270
|
+
* @remarks
|
|
7271
|
+
* The status of the phone number.
|
|
6867
7272
|
*
|
|
6868
|
-
* @param request CreateChatappMigrationInitiateRequest
|
|
6869
|
-
* @
|
|
7273
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
7274
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
6870
7275
|
*/
|
|
6871
7276
|
async createChatappMigrationInitiate(request) {
|
|
6872
7277
|
let runtime = new $Util.RuntimeOptions({});
|
|
6873
7278
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
6874
7279
|
}
|
|
6875
7280
|
/**
|
|
6876
|
-
*
|
|
7281
|
+
* The HTTP status code.
|
|
6877
7282
|
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6878
7283
|
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6879
7284
|
*
|
|
6880
|
-
* @
|
|
7285
|
+
* @remarks
|
|
7286
|
+
* The error message.
|
|
6881
7287
|
*
|
|
6882
|
-
* @param tmpReq CreateChatappTemplateRequest
|
|
6883
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6884
|
-
* @
|
|
7288
|
+
* @param tmpReq - CreateChatappTemplateRequest
|
|
7289
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7290
|
+
* @returns CreateChatappTemplateResponse
|
|
6885
7291
|
*/
|
|
6886
7292
|
async createChatappTemplateWithOptions(tmpReq, runtime) {
|
|
6887
7293
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6944,27 +7350,29 @@ class Client extends openapi_client_1.default {
|
|
|
6944
7350
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
6945
7351
|
}
|
|
6946
7352
|
/**
|
|
6947
|
-
*
|
|
7353
|
+
* The HTTP status code.
|
|
6948
7354
|
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
6949
7355
|
* \\\\* Other values indicate that the request fails. For more information, see \\[Error codes]\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
6950
7356
|
*
|
|
6951
|
-
* @
|
|
7357
|
+
* @remarks
|
|
7358
|
+
* The error message.
|
|
6952
7359
|
*
|
|
6953
|
-
* @param request CreateChatappTemplateRequest
|
|
6954
|
-
* @
|
|
7360
|
+
* @param request - CreateChatappTemplateRequest
|
|
7361
|
+
* @returns CreateChatappTemplateResponse
|
|
6955
7362
|
*/
|
|
6956
7363
|
async createChatappTemplate(request) {
|
|
6957
7364
|
let runtime = new $Util.RuntimeOptions({});
|
|
6958
7365
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
6959
7366
|
}
|
|
6960
7367
|
/**
|
|
6961
|
-
*
|
|
7368
|
+
* Creates a Flow.
|
|
6962
7369
|
*
|
|
6963
|
-
* @
|
|
7370
|
+
* @remarks
|
|
7371
|
+
* 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.
|
|
6964
7372
|
*
|
|
6965
|
-
* @param tmpReq CreateFlowRequest
|
|
6966
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6967
|
-
* @
|
|
7373
|
+
* @param tmpReq - CreateFlowRequest
|
|
7374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7375
|
+
* @returns CreateFlowResponse
|
|
6968
7376
|
*/
|
|
6969
7377
|
async createFlowWithOptions(tmpReq, runtime) {
|
|
6970
7378
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7000,23 +7408,24 @@ class Client extends openapi_client_1.default {
|
|
|
7000
7408
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
|
|
7001
7409
|
}
|
|
7002
7410
|
/**
|
|
7003
|
-
*
|
|
7411
|
+
* Creates a Flow.
|
|
7004
7412
|
*
|
|
7005
|
-
* @
|
|
7413
|
+
* @remarks
|
|
7414
|
+
* 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.
|
|
7006
7415
|
*
|
|
7007
|
-
* @param request CreateFlowRequest
|
|
7008
|
-
* @
|
|
7416
|
+
* @param request - CreateFlowRequest
|
|
7417
|
+
* @returns CreateFlowResponse
|
|
7009
7418
|
*/
|
|
7010
7419
|
async createFlow(request) {
|
|
7011
7420
|
let runtime = new $Util.RuntimeOptions({});
|
|
7012
7421
|
return await this.createFlowWithOptions(request, runtime);
|
|
7013
7422
|
}
|
|
7014
7423
|
/**
|
|
7015
|
-
*
|
|
7424
|
+
* 创建消息发送二维码
|
|
7016
7425
|
*
|
|
7017
|
-
* @param request CreatePhoneMessageQrdlRequest
|
|
7018
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7019
|
-
* @
|
|
7426
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
7427
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7428
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
7020
7429
|
*/
|
|
7021
7430
|
async createPhoneMessageQrdlWithOptions(request, runtime) {
|
|
7022
7431
|
tea_util_1.default.validateModel(request);
|
|
@@ -7050,24 +7459,25 @@ class Client extends openapi_client_1.default {
|
|
|
7050
7459
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
7051
7460
|
}
|
|
7052
7461
|
/**
|
|
7053
|
-
*
|
|
7462
|
+
* 创建消息发送二维码
|
|
7054
7463
|
*
|
|
7055
|
-
* @param request CreatePhoneMessageQrdlRequest
|
|
7056
|
-
* @
|
|
7464
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
7465
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
7057
7466
|
*/
|
|
7058
7467
|
async createPhoneMessageQrdl(request) {
|
|
7059
7468
|
let runtime = new $Util.RuntimeOptions({});
|
|
7060
7469
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
7061
7470
|
}
|
|
7062
7471
|
/**
|
|
7063
|
-
*
|
|
7472
|
+
* Deletes a message template.
|
|
7064
7473
|
*
|
|
7065
|
-
* @
|
|
7474
|
+
* @remarks
|
|
7475
|
+
* ### QPS limit
|
|
7066
7476
|
* 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.
|
|
7067
7477
|
*
|
|
7068
|
-
* @param request DeleteChatappTemplateRequest
|
|
7069
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7070
|
-
* @
|
|
7478
|
+
* @param request - DeleteChatappTemplateRequest
|
|
7479
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7480
|
+
* @returns DeleteChatappTemplateResponse
|
|
7071
7481
|
*/
|
|
7072
7482
|
async deleteChatappTemplateWithOptions(request, runtime) {
|
|
7073
7483
|
tea_util_1.default.validateModel(request);
|
|
@@ -7119,26 +7529,28 @@ class Client extends openapi_client_1.default {
|
|
|
7119
7529
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
|
|
7120
7530
|
}
|
|
7121
7531
|
/**
|
|
7122
|
-
*
|
|
7532
|
+
* Deletes a message template.
|
|
7123
7533
|
*
|
|
7124
|
-
* @
|
|
7534
|
+
* @remarks
|
|
7535
|
+
* ### QPS limit
|
|
7125
7536
|
* 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.
|
|
7126
7537
|
*
|
|
7127
|
-
* @param request DeleteChatappTemplateRequest
|
|
7128
|
-
* @
|
|
7538
|
+
* @param request - DeleteChatappTemplateRequest
|
|
7539
|
+
* @returns DeleteChatappTemplateResponse
|
|
7129
7540
|
*/
|
|
7130
7541
|
async deleteChatappTemplate(request) {
|
|
7131
7542
|
let runtime = new $Util.RuntimeOptions({});
|
|
7132
7543
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
7133
7544
|
}
|
|
7134
7545
|
/**
|
|
7135
|
-
*
|
|
7546
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
7136
7547
|
*
|
|
7137
|
-
* @
|
|
7548
|
+
* @remarks
|
|
7549
|
+
* 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.
|
|
7138
7550
|
*
|
|
7139
|
-
* @param request DeleteFlowRequest
|
|
7140
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7141
|
-
* @
|
|
7551
|
+
* @param request - DeleteFlowRequest
|
|
7552
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7553
|
+
* @returns DeleteFlowResponse
|
|
7142
7554
|
*/
|
|
7143
7555
|
async deleteFlowWithOptions(request, runtime) {
|
|
7144
7556
|
tea_util_1.default.validateModel(request);
|
|
@@ -7166,23 +7578,24 @@ class Client extends openapi_client_1.default {
|
|
|
7166
7578
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
|
|
7167
7579
|
}
|
|
7168
7580
|
/**
|
|
7169
|
-
*
|
|
7581
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
7170
7582
|
*
|
|
7171
|
-
* @
|
|
7583
|
+
* @remarks
|
|
7584
|
+
* 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.
|
|
7172
7585
|
*
|
|
7173
|
-
* @param request DeleteFlowRequest
|
|
7174
|
-
* @
|
|
7586
|
+
* @param request - DeleteFlowRequest
|
|
7587
|
+
* @returns DeleteFlowResponse
|
|
7175
7588
|
*/
|
|
7176
7589
|
async deleteFlow(request) {
|
|
7177
7590
|
let runtime = new $Util.RuntimeOptions({});
|
|
7178
7591
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
7179
7592
|
}
|
|
7180
7593
|
/**
|
|
7181
|
-
*
|
|
7594
|
+
* 删除消息发送二维码
|
|
7182
7595
|
*
|
|
7183
|
-
* @param request DeletePhoneMessageQrdlRequest
|
|
7184
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7185
|
-
* @
|
|
7596
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
7597
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7598
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
7186
7599
|
*/
|
|
7187
7600
|
async deletePhoneMessageQrdlWithOptions(request, runtime) {
|
|
7188
7601
|
tea_util_1.default.validateModel(request);
|
|
@@ -7213,21 +7626,21 @@ class Client extends openapi_client_1.default {
|
|
|
7213
7626
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
7214
7627
|
}
|
|
7215
7628
|
/**
|
|
7216
|
-
*
|
|
7629
|
+
* 删除消息发送二维码
|
|
7217
7630
|
*
|
|
7218
|
-
* @param request DeletePhoneMessageQrdlRequest
|
|
7219
|
-
* @
|
|
7631
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
7632
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
7220
7633
|
*/
|
|
7221
7634
|
async deletePhoneMessageQrdl(request) {
|
|
7222
7635
|
let runtime = new $Util.RuntimeOptions({});
|
|
7223
7636
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
7224
7637
|
}
|
|
7225
7638
|
/**
|
|
7226
|
-
*
|
|
7639
|
+
* 弃用Flow
|
|
7227
7640
|
*
|
|
7228
|
-
* @param request DeprecateFlowRequest
|
|
7229
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7230
|
-
* @
|
|
7641
|
+
* @param request - DeprecateFlowRequest
|
|
7642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7643
|
+
* @returns DeprecateFlowResponse
|
|
7231
7644
|
*/
|
|
7232
7645
|
async deprecateFlowWithOptions(request, runtime) {
|
|
7233
7646
|
tea_util_1.default.validateModel(request);
|
|
@@ -7255,23 +7668,24 @@ class Client extends openapi_client_1.default {
|
|
|
7255
7668
|
return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
7256
7669
|
}
|
|
7257
7670
|
/**
|
|
7258
|
-
*
|
|
7671
|
+
* 弃用Flow
|
|
7259
7672
|
*
|
|
7260
|
-
* @param request DeprecateFlowRequest
|
|
7261
|
-
* @
|
|
7673
|
+
* @param request - DeprecateFlowRequest
|
|
7674
|
+
* @returns DeprecateFlowResponse
|
|
7262
7675
|
*/
|
|
7263
7676
|
async deprecateFlow(request) {
|
|
7264
7677
|
let runtime = new $Util.RuntimeOptions({});
|
|
7265
7678
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
7266
7679
|
}
|
|
7267
7680
|
/**
|
|
7268
|
-
*
|
|
7681
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
7269
7682
|
*
|
|
7270
|
-
* @
|
|
7683
|
+
* @remarks
|
|
7684
|
+
* 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.
|
|
7271
7685
|
*
|
|
7272
|
-
* @param request EnableWhatsappROIMetricRequest
|
|
7273
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7274
|
-
* @
|
|
7686
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
7687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7688
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
7275
7689
|
*/
|
|
7276
7690
|
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
7277
7691
|
tea_util_1.default.validateModel(request);
|
|
@@ -7299,25 +7713,27 @@ class Client extends openapi_client_1.default {
|
|
|
7299
7713
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
7300
7714
|
}
|
|
7301
7715
|
/**
|
|
7302
|
-
*
|
|
7716
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
7303
7717
|
*
|
|
7304
|
-
* @
|
|
7718
|
+
* @remarks
|
|
7719
|
+
* 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.
|
|
7305
7720
|
*
|
|
7306
|
-
* @param request EnableWhatsappROIMetricRequest
|
|
7307
|
-
* @
|
|
7721
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
7722
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
7308
7723
|
*/
|
|
7309
7724
|
async enableWhatsappROIMetric(request) {
|
|
7310
7725
|
let runtime = new $Util.RuntimeOptions({});
|
|
7311
7726
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
7312
7727
|
}
|
|
7313
7728
|
/**
|
|
7314
|
-
*
|
|
7729
|
+
* Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7315
7730
|
*
|
|
7316
|
-
* @
|
|
7731
|
+
* @remarks
|
|
7732
|
+
* 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.
|
|
7317
7733
|
*
|
|
7318
|
-
* @param request GetChatappPhoneNumberMetricRequest
|
|
7319
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7320
|
-
* @
|
|
7734
|
+
* @param request - GetChatappPhoneNumberMetricRequest
|
|
7735
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7736
|
+
* @returns GetChatappPhoneNumberMetricResponse
|
|
7321
7737
|
*/
|
|
7322
7738
|
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
7323
7739
|
tea_util_1.default.validateModel(request);
|
|
@@ -7357,26 +7773,28 @@ class Client extends openapi_client_1.default {
|
|
|
7357
7773
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
7358
7774
|
}
|
|
7359
7775
|
/**
|
|
7360
|
-
*
|
|
7776
|
+
* Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7361
7777
|
*
|
|
7362
|
-
* @
|
|
7778
|
+
* @remarks
|
|
7779
|
+
* 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.
|
|
7363
7780
|
*
|
|
7364
|
-
* @param request GetChatappPhoneNumberMetricRequest
|
|
7365
|
-
* @
|
|
7781
|
+
* @param request - GetChatappPhoneNumberMetricRequest
|
|
7782
|
+
* @returns GetChatappPhoneNumberMetricResponse
|
|
7366
7783
|
*/
|
|
7367
7784
|
async getChatappPhoneNumberMetric(request) {
|
|
7368
7785
|
let runtime = new $Util.RuntimeOptions({});
|
|
7369
7786
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
7370
7787
|
}
|
|
7371
7788
|
/**
|
|
7372
|
-
*
|
|
7789
|
+
* Queries the information of a message template.
|
|
7373
7790
|
*
|
|
7374
|
-
* @
|
|
7791
|
+
* @remarks
|
|
7792
|
+
* ### QPS limit
|
|
7375
7793
|
* 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.
|
|
7376
7794
|
*
|
|
7377
|
-
* @param request GetChatappTemplateDetailRequest
|
|
7378
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7379
|
-
* @
|
|
7795
|
+
* @param request - GetChatappTemplateDetailRequest
|
|
7796
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7797
|
+
* @returns GetChatappTemplateDetailResponse
|
|
7380
7798
|
*/
|
|
7381
7799
|
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
7382
7800
|
tea_util_1.default.validateModel(request);
|
|
@@ -7419,26 +7837,28 @@ class Client extends openapi_client_1.default {
|
|
|
7419
7837
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
7420
7838
|
}
|
|
7421
7839
|
/**
|
|
7422
|
-
*
|
|
7840
|
+
* Queries the information of a message template.
|
|
7423
7841
|
*
|
|
7424
|
-
* @
|
|
7842
|
+
* @remarks
|
|
7843
|
+
* ### QPS limit
|
|
7425
7844
|
* 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.
|
|
7426
7845
|
*
|
|
7427
|
-
* @param request GetChatappTemplateDetailRequest
|
|
7428
|
-
* @
|
|
7846
|
+
* @param request - GetChatappTemplateDetailRequest
|
|
7847
|
+
* @returns GetChatappTemplateDetailResponse
|
|
7429
7848
|
*/
|
|
7430
7849
|
async getChatappTemplateDetail(request) {
|
|
7431
7850
|
let runtime = new $Util.RuntimeOptions({});
|
|
7432
7851
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
7433
7852
|
}
|
|
7434
7853
|
/**
|
|
7435
|
-
*
|
|
7854
|
+
* Queries the metrics about a marketing template.
|
|
7436
7855
|
*
|
|
7437
|
-
* @
|
|
7856
|
+
* @remarks
|
|
7857
|
+
* 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.
|
|
7438
7858
|
*
|
|
7439
|
-
* @param request GetChatappTemplateMetricRequest
|
|
7440
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7441
|
-
* @
|
|
7859
|
+
* @param request - GetChatappTemplateMetricRequest
|
|
7860
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7861
|
+
* @returns GetChatappTemplateMetricResponse
|
|
7442
7862
|
*/
|
|
7443
7863
|
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
7444
7864
|
tea_util_1.default.validateModel(request);
|
|
@@ -7484,25 +7904,27 @@ class Client extends openapi_client_1.default {
|
|
|
7484
7904
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
7485
7905
|
}
|
|
7486
7906
|
/**
|
|
7487
|
-
*
|
|
7907
|
+
* Queries the metrics about a marketing template.
|
|
7488
7908
|
*
|
|
7489
|
-
* @
|
|
7909
|
+
* @remarks
|
|
7910
|
+
* 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.
|
|
7490
7911
|
*
|
|
7491
|
-
* @param request GetChatappTemplateMetricRequest
|
|
7492
|
-
* @
|
|
7912
|
+
* @param request - GetChatappTemplateMetricRequest
|
|
7913
|
+
* @returns GetChatappTemplateMetricResponse
|
|
7493
7914
|
*/
|
|
7494
7915
|
async getChatappTemplateMetric(request) {
|
|
7495
7916
|
let runtime = new $Util.RuntimeOptions({});
|
|
7496
7917
|
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
7497
7918
|
}
|
|
7498
7919
|
/**
|
|
7499
|
-
*
|
|
7920
|
+
* Obtains the authentication information that is used to upload a file.
|
|
7500
7921
|
*
|
|
7501
|
-
* @
|
|
7922
|
+
* @remarks
|
|
7923
|
+
* 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.
|
|
7502
7924
|
*
|
|
7503
|
-
* @param request GetChatappUploadAuthorizationRequest
|
|
7504
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7505
|
-
* @
|
|
7925
|
+
* @param request - GetChatappUploadAuthorizationRequest
|
|
7926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7927
|
+
* @returns GetChatappUploadAuthorizationResponse
|
|
7506
7928
|
*/
|
|
7507
7929
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
7508
7930
|
tea_util_1.default.validateModel(request);
|
|
@@ -7527,25 +7949,27 @@ class Client extends openapi_client_1.default {
|
|
|
7527
7949
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
7528
7950
|
}
|
|
7529
7951
|
/**
|
|
7530
|
-
*
|
|
7952
|
+
* Obtains the authentication information that is used to upload a file.
|
|
7531
7953
|
*
|
|
7532
|
-
* @
|
|
7954
|
+
* @remarks
|
|
7955
|
+
* 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.
|
|
7533
7956
|
*
|
|
7534
|
-
* @param request GetChatappUploadAuthorizationRequest
|
|
7535
|
-
* @
|
|
7957
|
+
* @param request - GetChatappUploadAuthorizationRequest
|
|
7958
|
+
* @returns GetChatappUploadAuthorizationResponse
|
|
7536
7959
|
*/
|
|
7537
7960
|
async getChatappUploadAuthorization(request) {
|
|
7538
7961
|
let runtime = new $Util.RuntimeOptions({});
|
|
7539
7962
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
7540
7963
|
}
|
|
7541
7964
|
/**
|
|
7542
|
-
*
|
|
7965
|
+
* Obtains a verification code.
|
|
7543
7966
|
*
|
|
7544
|
-
* @
|
|
7967
|
+
* @remarks
|
|
7968
|
+
* 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.
|
|
7545
7969
|
*
|
|
7546
|
-
* @param request GetChatappVerifyCodeRequest
|
|
7547
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7548
|
-
* @
|
|
7970
|
+
* @param request - GetChatappVerifyCodeRequest
|
|
7971
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7972
|
+
* @returns GetChatappVerifyCodeResponse
|
|
7549
7973
|
*/
|
|
7550
7974
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7551
7975
|
tea_util_1.default.validateModel(request);
|
|
@@ -7588,25 +8012,27 @@ class Client extends openapi_client_1.default {
|
|
|
7588
8012
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
7589
8013
|
}
|
|
7590
8014
|
/**
|
|
7591
|
-
*
|
|
8015
|
+
* Obtains a verification code.
|
|
7592
8016
|
*
|
|
7593
|
-
* @
|
|
8017
|
+
* @remarks
|
|
8018
|
+
* 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.
|
|
7594
8019
|
*
|
|
7595
|
-
* @param request GetChatappVerifyCodeRequest
|
|
7596
|
-
* @
|
|
8020
|
+
* @param request - GetChatappVerifyCodeRequest
|
|
8021
|
+
* @returns GetChatappVerifyCodeResponse
|
|
7597
8022
|
*/
|
|
7598
8023
|
async getChatappVerifyCode(request) {
|
|
7599
8024
|
let runtime = new $Util.RuntimeOptions({});
|
|
7600
8025
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
7601
8026
|
}
|
|
7602
8027
|
/**
|
|
7603
|
-
*
|
|
8028
|
+
* Queries the business settings of a phone number.
|
|
7604
8029
|
*
|
|
7605
|
-
* @
|
|
8030
|
+
* @remarks
|
|
8031
|
+
* 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.
|
|
7606
8032
|
*
|
|
7607
|
-
* @param request GetCommerceSettingRequest
|
|
7608
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7609
|
-
* @
|
|
8033
|
+
* @param request - GetCommerceSettingRequest
|
|
8034
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8035
|
+
* @returns GetCommerceSettingResponse
|
|
7610
8036
|
*/
|
|
7611
8037
|
async getCommerceSettingWithOptions(request, runtime) {
|
|
7612
8038
|
tea_util_1.default.validateModel(request);
|
|
@@ -7643,25 +8069,78 @@ class Client extends openapi_client_1.default {
|
|
|
7643
8069
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
|
|
7644
8070
|
}
|
|
7645
8071
|
/**
|
|
7646
|
-
*
|
|
8072
|
+
* Queries the business settings of a phone number.
|
|
7647
8073
|
*
|
|
7648
|
-
* @
|
|
8074
|
+
* @remarks
|
|
8075
|
+
* 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.
|
|
7649
8076
|
*
|
|
7650
|
-
* @param request GetCommerceSettingRequest
|
|
7651
|
-
* @
|
|
8077
|
+
* @param request - GetCommerceSettingRequest
|
|
8078
|
+
* @returns GetCommerceSettingResponse
|
|
7652
8079
|
*/
|
|
7653
8080
|
async getCommerceSetting(request) {
|
|
7654
8081
|
let runtime = new $Util.RuntimeOptions({});
|
|
7655
8082
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
7656
8083
|
}
|
|
7657
8084
|
/**
|
|
7658
|
-
*
|
|
8085
|
+
* 获取号码欢迎消息设置信息
|
|
7659
8086
|
*
|
|
7660
|
-
* @
|
|
8087
|
+
* @param request - GetConversationalAutomationRequest
|
|
8088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8089
|
+
* @returns GetConversationalAutomationResponse
|
|
8090
|
+
*/
|
|
8091
|
+
async getConversationalAutomationWithOptions(request, runtime) {
|
|
8092
|
+
tea_util_1.default.validateModel(request);
|
|
8093
|
+
let query = {};
|
|
8094
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8095
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8096
|
+
}
|
|
8097
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8098
|
+
query["OwnerId"] = request.ownerId;
|
|
8099
|
+
}
|
|
8100
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8101
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
8102
|
+
}
|
|
8103
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8104
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8105
|
+
}
|
|
8106
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8107
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8108
|
+
}
|
|
8109
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8110
|
+
query: openapi_util_1.default.query(query),
|
|
8111
|
+
});
|
|
8112
|
+
let params = new $OpenApi.Params({
|
|
8113
|
+
action: "GetConversationalAutomation",
|
|
8114
|
+
version: "2020-06-06",
|
|
8115
|
+
protocol: "HTTPS",
|
|
8116
|
+
pathname: "/",
|
|
8117
|
+
method: "POST",
|
|
8118
|
+
authType: "AK",
|
|
8119
|
+
style: "RPC",
|
|
8120
|
+
reqBodyType: "formData",
|
|
8121
|
+
bodyType: "json",
|
|
8122
|
+
});
|
|
8123
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetConversationalAutomationResponse({}));
|
|
8124
|
+
}
|
|
8125
|
+
/**
|
|
8126
|
+
* 获取号码欢迎消息设置信息
|
|
8127
|
+
*
|
|
8128
|
+
* @param request - GetConversationalAutomationRequest
|
|
8129
|
+
* @returns GetConversationalAutomationResponse
|
|
8130
|
+
*/
|
|
8131
|
+
async getConversationalAutomation(request) {
|
|
8132
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8133
|
+
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
8134
|
+
}
|
|
8135
|
+
/**
|
|
8136
|
+
* Queries the information about a Flow.
|
|
8137
|
+
*
|
|
8138
|
+
* @remarks
|
|
8139
|
+
* 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.
|
|
7661
8140
|
*
|
|
7662
|
-
* @param request GetFlowRequest
|
|
7663
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7664
|
-
* @
|
|
8141
|
+
* @param request - GetFlowRequest
|
|
8142
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8143
|
+
* @returns GetFlowResponse
|
|
7665
8144
|
*/
|
|
7666
8145
|
async getFlowWithOptions(request, runtime) {
|
|
7667
8146
|
tea_util_1.default.validateModel(request);
|
|
@@ -7689,23 +8168,24 @@ class Client extends openapi_client_1.default {
|
|
|
7689
8168
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowResponse({}));
|
|
7690
8169
|
}
|
|
7691
8170
|
/**
|
|
7692
|
-
*
|
|
8171
|
+
* Queries the information about a Flow.
|
|
7693
8172
|
*
|
|
7694
|
-
* @
|
|
8173
|
+
* @remarks
|
|
8174
|
+
* 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.
|
|
7695
8175
|
*
|
|
7696
|
-
* @param request GetFlowRequest
|
|
7697
|
-
* @
|
|
8176
|
+
* @param request - GetFlowRequest
|
|
8177
|
+
* @returns GetFlowResponse
|
|
7698
8178
|
*/
|
|
7699
8179
|
async getFlow(request) {
|
|
7700
8180
|
let runtime = new $Util.RuntimeOptions({});
|
|
7701
8181
|
return await this.getFlowWithOptions(request, runtime);
|
|
7702
8182
|
}
|
|
7703
8183
|
/**
|
|
7704
|
-
*
|
|
8184
|
+
* 获取flow的JSON文件
|
|
7705
8185
|
*
|
|
7706
|
-
* @param request GetFlowJSONAssestRequest
|
|
7707
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7708
|
-
* @
|
|
8186
|
+
* @param request - GetFlowJSONAssestRequest
|
|
8187
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8188
|
+
* @returns GetFlowJSONAssestResponse
|
|
7709
8189
|
*/
|
|
7710
8190
|
async getFlowJSONAssestWithOptions(request, runtime) {
|
|
7711
8191
|
tea_util_1.default.validateModel(request);
|
|
@@ -7733,23 +8213,24 @@ class Client extends openapi_client_1.default {
|
|
|
7733
8213
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
7734
8214
|
}
|
|
7735
8215
|
/**
|
|
7736
|
-
*
|
|
8216
|
+
* 获取flow的JSON文件
|
|
7737
8217
|
*
|
|
7738
|
-
* @param request GetFlowJSONAssestRequest
|
|
7739
|
-
* @
|
|
8218
|
+
* @param request - GetFlowJSONAssestRequest
|
|
8219
|
+
* @returns GetFlowJSONAssestResponse
|
|
7740
8220
|
*/
|
|
7741
8221
|
async getFlowJSONAssest(request) {
|
|
7742
8222
|
let runtime = new $Util.RuntimeOptions({});
|
|
7743
8223
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
7744
8224
|
}
|
|
7745
8225
|
/**
|
|
7746
|
-
*
|
|
8226
|
+
* Obtains the preview URL of a Flow.
|
|
7747
8227
|
*
|
|
7748
|
-
* @
|
|
8228
|
+
* @remarks
|
|
8229
|
+
* 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.
|
|
7749
8230
|
*
|
|
7750
|
-
* @param request GetFlowPreviewUrlRequest
|
|
7751
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7752
|
-
* @
|
|
8231
|
+
* @param request - GetFlowPreviewUrlRequest
|
|
8232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8233
|
+
* @returns GetFlowPreviewUrlResponse
|
|
7753
8234
|
*/
|
|
7754
8235
|
async getFlowPreviewUrlWithOptions(request, runtime) {
|
|
7755
8236
|
tea_util_1.default.validateModel(request);
|
|
@@ -7777,25 +8258,27 @@ class Client extends openapi_client_1.default {
|
|
|
7777
8258
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
|
|
7778
8259
|
}
|
|
7779
8260
|
/**
|
|
7780
|
-
*
|
|
8261
|
+
* Obtains the preview URL of a Flow.
|
|
7781
8262
|
*
|
|
7782
|
-
* @
|
|
8263
|
+
* @remarks
|
|
8264
|
+
* 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.
|
|
7783
8265
|
*
|
|
7784
|
-
* @param request GetFlowPreviewUrlRequest
|
|
7785
|
-
* @
|
|
8266
|
+
* @param request - GetFlowPreviewUrlRequest
|
|
8267
|
+
* @returns GetFlowPreviewUrlResponse
|
|
7786
8268
|
*/
|
|
7787
8269
|
async getFlowPreviewUrl(request) {
|
|
7788
8270
|
let runtime = new $Util.RuntimeOptions({});
|
|
7789
8271
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
7790
8272
|
}
|
|
7791
8273
|
/**
|
|
7792
|
-
*
|
|
8274
|
+
* The phone number.
|
|
7793
8275
|
*
|
|
7794
|
-
* @
|
|
8276
|
+
* @remarks
|
|
8277
|
+
* The ID of the phone number.
|
|
7795
8278
|
*
|
|
7796
|
-
* @param request GetMigrationVerifyCodeRequest
|
|
7797
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7798
|
-
* @
|
|
8279
|
+
* @param request - GetMigrationVerifyCodeRequest
|
|
8280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8281
|
+
* @returns GetMigrationVerifyCodeResponse
|
|
7799
8282
|
*/
|
|
7800
8283
|
async getMigrationVerifyCodeWithOptions(request, runtime) {
|
|
7801
8284
|
tea_util_1.default.validateModel(request);
|
|
@@ -7829,23 +8312,24 @@ class Client extends openapi_client_1.default {
|
|
|
7829
8312
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
7830
8313
|
}
|
|
7831
8314
|
/**
|
|
7832
|
-
*
|
|
8315
|
+
* The phone number.
|
|
7833
8316
|
*
|
|
7834
|
-
* @
|
|
8317
|
+
* @remarks
|
|
8318
|
+
* The ID of the phone number.
|
|
7835
8319
|
*
|
|
7836
|
-
* @param request GetMigrationVerifyCodeRequest
|
|
7837
|
-
* @
|
|
8320
|
+
* @param request - GetMigrationVerifyCodeRequest
|
|
8321
|
+
* @returns GetMigrationVerifyCodeResponse
|
|
7838
8322
|
*/
|
|
7839
8323
|
async getMigrationVerifyCode(request) {
|
|
7840
8324
|
let runtime = new $Util.RuntimeOptions({});
|
|
7841
8325
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
7842
8326
|
}
|
|
7843
8327
|
/**
|
|
7844
|
-
*
|
|
8328
|
+
* 根据Code获取权限
|
|
7845
8329
|
*
|
|
7846
|
-
* @param tmpReq GetPermissionByCodeRequest
|
|
7847
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7848
|
-
* @
|
|
8330
|
+
* @param tmpReq - GetPermissionByCodeRequest
|
|
8331
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8332
|
+
* @returns GetPermissionByCodeResponse
|
|
7849
8333
|
*/
|
|
7850
8334
|
async getPermissionByCodeWithOptions(tmpReq, runtime) {
|
|
7851
8335
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7881,21 +8365,21 @@ class Client extends openapi_client_1.default {
|
|
|
7881
8365
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
7882
8366
|
}
|
|
7883
8367
|
/**
|
|
7884
|
-
*
|
|
8368
|
+
* 根据Code获取权限
|
|
7885
8369
|
*
|
|
7886
|
-
* @param request GetPermissionByCodeRequest
|
|
7887
|
-
* @
|
|
8370
|
+
* @param request - GetPermissionByCodeRequest
|
|
8371
|
+
* @returns GetPermissionByCodeResponse
|
|
7888
8372
|
*/
|
|
7889
8373
|
async getPermissionByCode(request) {
|
|
7890
8374
|
let runtime = new $Util.RuntimeOptions({});
|
|
7891
8375
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
7892
8376
|
}
|
|
7893
8377
|
/**
|
|
7894
|
-
*
|
|
8378
|
+
* 获取号码的公钥
|
|
7895
8379
|
*
|
|
7896
|
-
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7897
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7898
|
-
* @
|
|
8380
|
+
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
8381
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8382
|
+
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
7899
8383
|
*/
|
|
7900
8384
|
async getPhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
7901
8385
|
tea_util_1.default.validateModel(request);
|
|
@@ -7923,23 +8407,24 @@ class Client extends openapi_client_1.default {
|
|
|
7923
8407
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
7924
8408
|
}
|
|
7925
8409
|
/**
|
|
7926
|
-
*
|
|
8410
|
+
* 获取号码的公钥
|
|
7927
8411
|
*
|
|
7928
|
-
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
7929
|
-
* @
|
|
8412
|
+
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
8413
|
+
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
7930
8414
|
*/
|
|
7931
8415
|
async getPhoneEncryptionPublicKey(request) {
|
|
7932
8416
|
let runtime = new $Util.RuntimeOptions({});
|
|
7933
8417
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
7934
8418
|
}
|
|
7935
8419
|
/**
|
|
7936
|
-
*
|
|
8420
|
+
* Obtains the verification status of a phone number.
|
|
7937
8421
|
*
|
|
7938
|
-
* @
|
|
8422
|
+
* @remarks
|
|
8423
|
+
* 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.
|
|
7939
8424
|
*
|
|
7940
|
-
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7941
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7942
|
-
* @
|
|
8425
|
+
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
8426
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8427
|
+
* @returns GetPhoneNumberVerificationStatusResponse
|
|
7943
8428
|
*/
|
|
7944
8429
|
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
7945
8430
|
tea_util_1.default.validateModel(request);
|
|
@@ -7967,25 +8452,27 @@ class Client extends openapi_client_1.default {
|
|
|
7967
8452
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
7968
8453
|
}
|
|
7969
8454
|
/**
|
|
7970
|
-
*
|
|
8455
|
+
* Obtains the verification status of a phone number.
|
|
7971
8456
|
*
|
|
7972
|
-
* @
|
|
8457
|
+
* @remarks
|
|
8458
|
+
* 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.
|
|
7973
8459
|
*
|
|
7974
|
-
* @param request GetPhoneNumberVerificationStatusRequest
|
|
7975
|
-
* @
|
|
8460
|
+
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
8461
|
+
* @returns GetPhoneNumberVerificationStatusResponse
|
|
7976
8462
|
*/
|
|
7977
8463
|
async getPhoneNumberVerificationStatus(request) {
|
|
7978
8464
|
let runtime = new $Util.RuntimeOptions({});
|
|
7979
8465
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
7980
8466
|
}
|
|
7981
8467
|
/**
|
|
7982
|
-
*
|
|
8468
|
+
* Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
7983
8469
|
*
|
|
7984
|
-
* @
|
|
8470
|
+
* @remarks
|
|
8471
|
+
* 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.
|
|
7985
8472
|
*
|
|
7986
|
-
* @param request GetPreValidatePhoneIdRequest
|
|
7987
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7988
|
-
* @
|
|
8473
|
+
* @param request - GetPreValidatePhoneIdRequest
|
|
8474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8475
|
+
* @returns GetPreValidatePhoneIdResponse
|
|
7989
8476
|
*/
|
|
7990
8477
|
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
7991
8478
|
tea_util_1.default.validateModel(request);
|
|
@@ -8013,25 +8500,27 @@ class Client extends openapi_client_1.default {
|
|
|
8013
8500
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
8014
8501
|
}
|
|
8015
8502
|
/**
|
|
8016
|
-
*
|
|
8503
|
+
* Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
8017
8504
|
*
|
|
8018
|
-
* @
|
|
8505
|
+
* @remarks
|
|
8506
|
+
* 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.
|
|
8019
8507
|
*
|
|
8020
|
-
* @param request GetPreValidatePhoneIdRequest
|
|
8021
|
-
* @
|
|
8508
|
+
* @param request - GetPreValidatePhoneIdRequest
|
|
8509
|
+
* @returns GetPreValidatePhoneIdResponse
|
|
8022
8510
|
*/
|
|
8023
8511
|
async getPreValidatePhoneId(request) {
|
|
8024
8512
|
let runtime = new $Util.RuntimeOptions({});
|
|
8025
8513
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
8026
8514
|
}
|
|
8027
8515
|
/**
|
|
8028
|
-
*
|
|
8516
|
+
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
8029
8517
|
*
|
|
8030
|
-
* @
|
|
8518
|
+
* @remarks
|
|
8519
|
+
* 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.
|
|
8031
8520
|
*
|
|
8032
|
-
* @param request GetWhatsappConnectionCatalogRequest
|
|
8033
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8034
|
-
* @
|
|
8521
|
+
* @param request - GetWhatsappConnectionCatalogRequest
|
|
8522
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8523
|
+
* @returns GetWhatsappConnectionCatalogResponse
|
|
8035
8524
|
*/
|
|
8036
8525
|
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
8037
8526
|
tea_util_1.default.validateModel(request);
|
|
@@ -8068,25 +8557,90 @@ class Client extends openapi_client_1.default {
|
|
|
8068
8557
|
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
8069
8558
|
}
|
|
8070
8559
|
/**
|
|
8071
|
-
*
|
|
8560
|
+
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
8072
8561
|
*
|
|
8073
|
-
* @
|
|
8562
|
+
* @remarks
|
|
8563
|
+
* 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.
|
|
8074
8564
|
*
|
|
8075
|
-
* @param request GetWhatsappConnectionCatalogRequest
|
|
8076
|
-
* @
|
|
8565
|
+
* @param request - GetWhatsappConnectionCatalogRequest
|
|
8566
|
+
* @returns GetWhatsappConnectionCatalogResponse
|
|
8077
8567
|
*/
|
|
8078
8568
|
async getWhatsappConnectionCatalog(request) {
|
|
8079
8569
|
let runtime = new $Util.RuntimeOptions({});
|
|
8080
8570
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
8081
8571
|
}
|
|
8082
8572
|
/**
|
|
8083
|
-
*
|
|
8573
|
+
* 获取whatsapp节点信息发送消息健康度
|
|
8084
8574
|
*
|
|
8085
|
-
* @
|
|
8575
|
+
* @param request - GetWhatsappHealthStatusRequest
|
|
8576
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8577
|
+
* @returns GetWhatsappHealthStatusResponse
|
|
8578
|
+
*/
|
|
8579
|
+
async getWhatsappHealthStatusWithOptions(request, runtime) {
|
|
8580
|
+
tea_util_1.default.validateModel(request);
|
|
8581
|
+
let query = {};
|
|
8582
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
8583
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8584
|
+
}
|
|
8585
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
8586
|
+
query["Language"] = request.language;
|
|
8587
|
+
}
|
|
8588
|
+
if (!tea_util_1.default.isUnset(request.nodeType)) {
|
|
8589
|
+
query["NodeType"] = request.nodeType;
|
|
8590
|
+
}
|
|
8591
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
8592
|
+
query["OwnerId"] = request.ownerId;
|
|
8593
|
+
}
|
|
8594
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
8595
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
8596
|
+
}
|
|
8597
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
8598
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
8599
|
+
}
|
|
8600
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
8601
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
8602
|
+
}
|
|
8603
|
+
if (!tea_util_1.default.isUnset(request.templateCode)) {
|
|
8604
|
+
query["TemplateCode"] = request.templateCode;
|
|
8605
|
+
}
|
|
8606
|
+
if (!tea_util_1.default.isUnset(request.wabaId)) {
|
|
8607
|
+
query["WabaId"] = request.wabaId;
|
|
8608
|
+
}
|
|
8609
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
8610
|
+
query: openapi_util_1.default.query(query),
|
|
8611
|
+
});
|
|
8612
|
+
let params = new $OpenApi.Params({
|
|
8613
|
+
action: "GetWhatsappHealthStatus",
|
|
8614
|
+
version: "2020-06-06",
|
|
8615
|
+
protocol: "HTTPS",
|
|
8616
|
+
pathname: "/",
|
|
8617
|
+
method: "POST",
|
|
8618
|
+
authType: "AK",
|
|
8619
|
+
style: "RPC",
|
|
8620
|
+
reqBodyType: "formData",
|
|
8621
|
+
bodyType: "json",
|
|
8622
|
+
});
|
|
8623
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappHealthStatusResponse({}));
|
|
8624
|
+
}
|
|
8625
|
+
/**
|
|
8626
|
+
* 获取whatsapp节点信息发送消息健康度
|
|
8086
8627
|
*
|
|
8087
|
-
* @param request
|
|
8088
|
-
* @
|
|
8089
|
-
|
|
8628
|
+
* @param request - GetWhatsappHealthStatusRequest
|
|
8629
|
+
* @returns GetWhatsappHealthStatusResponse
|
|
8630
|
+
*/
|
|
8631
|
+
async getWhatsappHealthStatus(request) {
|
|
8632
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
8633
|
+
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
8634
|
+
}
|
|
8635
|
+
/**
|
|
8636
|
+
* Obtains the application ID under the ISV account.
|
|
8637
|
+
*
|
|
8638
|
+
* @remarks
|
|
8639
|
+
* 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.
|
|
8640
|
+
*
|
|
8641
|
+
* @param request - IsvGetAppIdRequest
|
|
8642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8643
|
+
* @returns IsvGetAppIdResponse
|
|
8090
8644
|
*/
|
|
8091
8645
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
8092
8646
|
tea_util_1.default.validateModel(request);
|
|
@@ -8114,26 +8668,28 @@ class Client extends openapi_client_1.default {
|
|
|
8114
8668
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
8115
8669
|
}
|
|
8116
8670
|
/**
|
|
8117
|
-
*
|
|
8671
|
+
* Obtains the application ID under the ISV account.
|
|
8118
8672
|
*
|
|
8119
|
-
* @
|
|
8673
|
+
* @remarks
|
|
8674
|
+
* You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
8120
8675
|
*
|
|
8121
|
-
* @param request IsvGetAppIdRequest
|
|
8122
|
-
* @
|
|
8676
|
+
* @param request - IsvGetAppIdRequest
|
|
8677
|
+
* @returns IsvGetAppIdResponse
|
|
8123
8678
|
*/
|
|
8124
8679
|
async isvGetAppId(request) {
|
|
8125
8680
|
let runtime = new $Util.RuntimeOptions({});
|
|
8126
8681
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
8127
8682
|
}
|
|
8128
8683
|
/**
|
|
8129
|
-
*
|
|
8684
|
+
* Queries message templates.
|
|
8130
8685
|
*
|
|
8131
|
-
* @
|
|
8686
|
+
* @remarks
|
|
8687
|
+
* ### QPS limit
|
|
8132
8688
|
* 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.
|
|
8133
8689
|
*
|
|
8134
|
-
* @param tmpReq ListChatappTemplateRequest
|
|
8135
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8136
|
-
* @
|
|
8690
|
+
* @param tmpReq - ListChatappTemplateRequest
|
|
8691
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8692
|
+
* @returns ListChatappTemplateResponse
|
|
8137
8693
|
*/
|
|
8138
8694
|
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
8139
8695
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8187,26 +8743,28 @@ class Client extends openapi_client_1.default {
|
|
|
8187
8743
|
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
8188
8744
|
}
|
|
8189
8745
|
/**
|
|
8190
|
-
*
|
|
8746
|
+
* Queries message templates.
|
|
8191
8747
|
*
|
|
8192
|
-
* @
|
|
8748
|
+
* @remarks
|
|
8749
|
+
* ### QPS limit
|
|
8193
8750
|
* 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.
|
|
8194
8751
|
*
|
|
8195
|
-
* @param request ListChatappTemplateRequest
|
|
8196
|
-
* @
|
|
8752
|
+
* @param request - ListChatappTemplateRequest
|
|
8753
|
+
* @returns ListChatappTemplateResponse
|
|
8197
8754
|
*/
|
|
8198
8755
|
async listChatappTemplate(request) {
|
|
8199
8756
|
let runtime = new $Util.RuntimeOptions({});
|
|
8200
8757
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
8201
8758
|
}
|
|
8202
8759
|
/**
|
|
8203
|
-
*
|
|
8760
|
+
* Queries a list of Flows.
|
|
8204
8761
|
*
|
|
8205
|
-
* @
|
|
8762
|
+
* @remarks
|
|
8763
|
+
* 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.
|
|
8206
8764
|
*
|
|
8207
|
-
* @param tmpReq ListFlowRequest
|
|
8208
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8209
|
-
* @
|
|
8765
|
+
* @param tmpReq - ListFlowRequest
|
|
8766
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8767
|
+
* @returns ListFlowResponse
|
|
8210
8768
|
*/
|
|
8211
8769
|
async listFlowWithOptions(tmpReq, runtime) {
|
|
8212
8770
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8242,23 +8800,24 @@ class Client extends openapi_client_1.default {
|
|
|
8242
8800
|
return $tea.cast(await this.callApi(params, req, runtime), new ListFlowResponse({}));
|
|
8243
8801
|
}
|
|
8244
8802
|
/**
|
|
8245
|
-
*
|
|
8803
|
+
* Queries a list of Flows.
|
|
8246
8804
|
*
|
|
8247
|
-
* @
|
|
8805
|
+
* @remarks
|
|
8806
|
+
* 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.
|
|
8248
8807
|
*
|
|
8249
|
-
* @param request ListFlowRequest
|
|
8250
|
-
* @
|
|
8808
|
+
* @param request - ListFlowRequest
|
|
8809
|
+
* @returns ListFlowResponse
|
|
8251
8810
|
*/
|
|
8252
8811
|
async listFlow(request) {
|
|
8253
8812
|
let runtime = new $Util.RuntimeOptions({});
|
|
8254
8813
|
return await this.listFlowWithOptions(request, runtime);
|
|
8255
8814
|
}
|
|
8256
8815
|
/**
|
|
8257
|
-
*
|
|
8816
|
+
* 查询消息发送二维码
|
|
8258
8817
|
*
|
|
8259
|
-
* @param request ListPhoneMessageQrdlRequest
|
|
8260
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8261
|
-
* @
|
|
8818
|
+
* @param request - ListPhoneMessageQrdlRequest
|
|
8819
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8820
|
+
* @returns ListPhoneMessageQrdlResponse
|
|
8262
8821
|
*/
|
|
8263
8822
|
async listPhoneMessageQrdlWithOptions(request, runtime) {
|
|
8264
8823
|
tea_util_1.default.validateModel(request);
|
|
@@ -8286,23 +8845,24 @@ class Client extends openapi_client_1.default {
|
|
|
8286
8845
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
8287
8846
|
}
|
|
8288
8847
|
/**
|
|
8289
|
-
*
|
|
8848
|
+
* 查询消息发送二维码
|
|
8290
8849
|
*
|
|
8291
|
-
* @param request ListPhoneMessageQrdlRequest
|
|
8292
|
-
* @
|
|
8850
|
+
* @param request - ListPhoneMessageQrdlRequest
|
|
8851
|
+
* @returns ListPhoneMessageQrdlResponse
|
|
8293
8852
|
*/
|
|
8294
8853
|
async listPhoneMessageQrdl(request) {
|
|
8295
8854
|
let runtime = new $Util.RuntimeOptions({});
|
|
8296
8855
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
8297
8856
|
}
|
|
8298
8857
|
/**
|
|
8299
|
-
*
|
|
8858
|
+
* Queries products in a product catalog.
|
|
8300
8859
|
*
|
|
8301
|
-
* @
|
|
8860
|
+
* @remarks
|
|
8861
|
+
* 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.
|
|
8302
8862
|
*
|
|
8303
|
-
* @param request ListProductRequest
|
|
8304
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8305
|
-
* @
|
|
8863
|
+
* @param request - ListProductRequest
|
|
8864
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8865
|
+
* @returns ListProductResponse
|
|
8306
8866
|
*/
|
|
8307
8867
|
async listProductWithOptions(request, runtime) {
|
|
8308
8868
|
tea_util_1.default.validateModel(request);
|
|
@@ -8354,25 +8914,27 @@ class Client extends openapi_client_1.default {
|
|
|
8354
8914
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
8355
8915
|
}
|
|
8356
8916
|
/**
|
|
8357
|
-
*
|
|
8917
|
+
* Queries products in a product catalog.
|
|
8358
8918
|
*
|
|
8359
|
-
* @
|
|
8919
|
+
* @remarks
|
|
8920
|
+
* 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.
|
|
8360
8921
|
*
|
|
8361
|
-
* @param request ListProductRequest
|
|
8362
|
-
* @
|
|
8922
|
+
* @param request - ListProductRequest
|
|
8923
|
+
* @returns ListProductResponse
|
|
8363
8924
|
*/
|
|
8364
8925
|
async listProduct(request) {
|
|
8365
8926
|
let runtime = new $Util.RuntimeOptions({});
|
|
8366
8927
|
return await this.listProductWithOptions(request, runtime);
|
|
8367
8928
|
}
|
|
8368
8929
|
/**
|
|
8369
|
-
*
|
|
8930
|
+
* Queries the product catalogs on the Business Manager platform of Meta.
|
|
8370
8931
|
*
|
|
8371
|
-
* @
|
|
8932
|
+
* @remarks
|
|
8933
|
+
* 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.
|
|
8372
8934
|
*
|
|
8373
|
-
* @param request ListProductCatalogRequest
|
|
8374
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8375
|
-
* @
|
|
8935
|
+
* @param request - ListProductCatalogRequest
|
|
8936
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8937
|
+
* @returns ListProductCatalogResponse
|
|
8376
8938
|
*/
|
|
8377
8939
|
async listProductCatalogWithOptions(request, runtime) {
|
|
8378
8940
|
tea_util_1.default.validateModel(request);
|
|
@@ -8421,25 +8983,27 @@ class Client extends openapi_client_1.default {
|
|
|
8421
8983
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
8422
8984
|
}
|
|
8423
8985
|
/**
|
|
8424
|
-
*
|
|
8986
|
+
* Queries the product catalogs on the Business Manager platform of Meta.
|
|
8425
8987
|
*
|
|
8426
|
-
* @
|
|
8988
|
+
* @remarks
|
|
8989
|
+
* 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.
|
|
8427
8990
|
*
|
|
8428
|
-
* @param request ListProductCatalogRequest
|
|
8429
|
-
* @
|
|
8991
|
+
* @param request - ListProductCatalogRequest
|
|
8992
|
+
* @returns ListProductCatalogResponse
|
|
8430
8993
|
*/
|
|
8431
8994
|
async listProductCatalog(request) {
|
|
8432
8995
|
let runtime = new $Util.RuntimeOptions({});
|
|
8433
8996
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
8434
8997
|
}
|
|
8435
8998
|
/**
|
|
8436
|
-
*
|
|
8999
|
+
* The code of the message template.
|
|
8437
9000
|
*
|
|
8438
|
-
* @
|
|
9001
|
+
* @remarks
|
|
9002
|
+
* The name of the message template.
|
|
8439
9003
|
*
|
|
8440
|
-
* @param tmpReq ModifyChatappTemplateRequest
|
|
8441
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8442
|
-
* @
|
|
9004
|
+
* @param tmpReq - ModifyChatappTemplateRequest
|
|
9005
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9006
|
+
* @returns ModifyChatappTemplateResponse
|
|
8443
9007
|
*/
|
|
8444
9008
|
async modifyChatappTemplateWithOptions(tmpReq, runtime) {
|
|
8445
9009
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8502,25 +9066,27 @@ class Client extends openapi_client_1.default {
|
|
|
8502
9066
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
|
|
8503
9067
|
}
|
|
8504
9068
|
/**
|
|
8505
|
-
*
|
|
9069
|
+
* The code of the message template.
|
|
8506
9070
|
*
|
|
8507
|
-
* @
|
|
9071
|
+
* @remarks
|
|
9072
|
+
* The name of the message template.
|
|
8508
9073
|
*
|
|
8509
|
-
* @param request ModifyChatappTemplateRequest
|
|
8510
|
-
* @
|
|
9074
|
+
* @param request - ModifyChatappTemplateRequest
|
|
9075
|
+
* @returns ModifyChatappTemplateResponse
|
|
8511
9076
|
*/
|
|
8512
9077
|
async modifyChatappTemplate(request) {
|
|
8513
9078
|
let runtime = new $Util.RuntimeOptions({});
|
|
8514
9079
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
8515
9080
|
}
|
|
8516
9081
|
/**
|
|
8517
|
-
*
|
|
9082
|
+
* Modifies the basic information about a Flow.
|
|
8518
9083
|
*
|
|
8519
|
-
* @
|
|
9084
|
+
* @remarks
|
|
9085
|
+
* 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.
|
|
8520
9086
|
*
|
|
8521
|
-
* @param tmpReq ModifyFlowRequest
|
|
8522
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8523
|
-
* @
|
|
9087
|
+
* @param tmpReq - ModifyFlowRequest
|
|
9088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9089
|
+
* @returns ModifyFlowResponse
|
|
8524
9090
|
*/
|
|
8525
9091
|
async modifyFlowWithOptions(tmpReq, runtime) {
|
|
8526
9092
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8559,25 +9125,27 @@ class Client extends openapi_client_1.default {
|
|
|
8559
9125
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
|
|
8560
9126
|
}
|
|
8561
9127
|
/**
|
|
8562
|
-
*
|
|
9128
|
+
* Modifies the basic information about a Flow.
|
|
8563
9129
|
*
|
|
8564
|
-
* @
|
|
9130
|
+
* @remarks
|
|
9131
|
+
* 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.
|
|
8565
9132
|
*
|
|
8566
|
-
* @param request ModifyFlowRequest
|
|
8567
|
-
* @
|
|
9133
|
+
* @param request - ModifyFlowRequest
|
|
9134
|
+
* @returns ModifyFlowResponse
|
|
8568
9135
|
*/
|
|
8569
9136
|
async modifyFlow(request) {
|
|
8570
9137
|
let runtime = new $Util.RuntimeOptions({});
|
|
8571
9138
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8572
9139
|
}
|
|
8573
9140
|
/**
|
|
8574
|
-
*
|
|
9141
|
+
* The ID of the request.
|
|
8575
9142
|
*
|
|
8576
|
-
* @
|
|
9143
|
+
* @remarks
|
|
9144
|
+
* ModifyPhoneBusinessProfile
|
|
8577
9145
|
*
|
|
8578
|
-
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
8579
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8580
|
-
* @
|
|
9146
|
+
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
9147
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9148
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
8581
9149
|
*/
|
|
8582
9150
|
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
8583
9151
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8640,25 +9208,27 @@ class Client extends openapi_client_1.default {
|
|
|
8640
9208
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
8641
9209
|
}
|
|
8642
9210
|
/**
|
|
8643
|
-
*
|
|
9211
|
+
* The ID of the request.
|
|
8644
9212
|
*
|
|
8645
|
-
* @
|
|
9213
|
+
* @remarks
|
|
9214
|
+
* ModifyPhoneBusinessProfile
|
|
8646
9215
|
*
|
|
8647
|
-
* @param request ModifyPhoneBusinessProfileRequest
|
|
8648
|
-
* @
|
|
9216
|
+
* @param request - ModifyPhoneBusinessProfileRequest
|
|
9217
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
8649
9218
|
*/
|
|
8650
9219
|
async modifyPhoneBusinessProfile(request) {
|
|
8651
9220
|
let runtime = new $Util.RuntimeOptions({});
|
|
8652
9221
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8653
9222
|
}
|
|
8654
9223
|
/**
|
|
8655
|
-
*
|
|
9224
|
+
* Publishes a Flow.
|
|
8656
9225
|
*
|
|
8657
|
-
* @
|
|
9226
|
+
* @remarks
|
|
9227
|
+
* 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.
|
|
8658
9228
|
*
|
|
8659
|
-
* @param request PublishFlowRequest
|
|
8660
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8661
|
-
* @
|
|
9229
|
+
* @param request - PublishFlowRequest
|
|
9230
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9231
|
+
* @returns PublishFlowResponse
|
|
8662
9232
|
*/
|
|
8663
9233
|
async publishFlowWithOptions(request, runtime) {
|
|
8664
9234
|
tea_util_1.default.validateModel(request);
|
|
@@ -8686,25 +9256,27 @@ class Client extends openapi_client_1.default {
|
|
|
8686
9256
|
return $tea.cast(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
|
|
8687
9257
|
}
|
|
8688
9258
|
/**
|
|
8689
|
-
*
|
|
9259
|
+
* Publishes a Flow.
|
|
8690
9260
|
*
|
|
8691
|
-
* @
|
|
9261
|
+
* @remarks
|
|
9262
|
+
* 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.
|
|
8692
9263
|
*
|
|
8693
|
-
* @param request PublishFlowRequest
|
|
8694
|
-
* @
|
|
9264
|
+
* @param request - PublishFlowRequest
|
|
9265
|
+
* @returns PublishFlowResponse
|
|
8695
9266
|
*/
|
|
8696
9267
|
async publishFlow(request) {
|
|
8697
9268
|
let runtime = new $Util.RuntimeOptions({});
|
|
8698
9269
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8699
9270
|
}
|
|
8700
9271
|
/**
|
|
8701
|
-
*
|
|
9272
|
+
* Query the WhatsApp Business account you associate with ChatApp.
|
|
8702
9273
|
*
|
|
8703
|
-
* @
|
|
9274
|
+
* @remarks
|
|
9275
|
+
* 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.
|
|
8704
9276
|
*
|
|
8705
|
-
* @param request QueryChatappBindWabaRequest
|
|
8706
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8707
|
-
* @
|
|
9277
|
+
* @param request - QueryChatappBindWabaRequest
|
|
9278
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9279
|
+
* @returns QueryChatappBindWabaResponse
|
|
8708
9280
|
*/
|
|
8709
9281
|
async queryChatappBindWabaWithOptions(request, runtime) {
|
|
8710
9282
|
tea_util_1.default.validateModel(request);
|
|
@@ -8741,25 +9313,27 @@ class Client extends openapi_client_1.default {
|
|
|
8741
9313
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
8742
9314
|
}
|
|
8743
9315
|
/**
|
|
8744
|
-
*
|
|
9316
|
+
* Query the WhatsApp Business account you associate with ChatApp.
|
|
8745
9317
|
*
|
|
8746
|
-
* @
|
|
9318
|
+
* @remarks
|
|
9319
|
+
* 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.
|
|
8747
9320
|
*
|
|
8748
|
-
* @param request QueryChatappBindWabaRequest
|
|
8749
|
-
* @
|
|
9321
|
+
* @param request - QueryChatappBindWabaRequest
|
|
9322
|
+
* @returns QueryChatappBindWabaResponse
|
|
8750
9323
|
*/
|
|
8751
9324
|
async queryChatappBindWaba(request) {
|
|
8752
9325
|
let runtime = new $Util.RuntimeOptions({});
|
|
8753
9326
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8754
9327
|
}
|
|
8755
9328
|
/**
|
|
8756
|
-
*
|
|
9329
|
+
* Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8757
9330
|
*
|
|
8758
|
-
* @
|
|
9331
|
+
* @remarks
|
|
9332
|
+
* 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.
|
|
8759
9333
|
*
|
|
8760
|
-
* @param request QueryChatappPhoneNumbersRequest
|
|
8761
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8762
|
-
* @
|
|
9334
|
+
* @param request - QueryChatappPhoneNumbersRequest
|
|
9335
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9336
|
+
* @returns QueryChatappPhoneNumbersResponse
|
|
8763
9337
|
*/
|
|
8764
9338
|
async queryChatappPhoneNumbersWithOptions(request, runtime) {
|
|
8765
9339
|
tea_util_1.default.validateModel(request);
|
|
@@ -8790,25 +9364,27 @@ class Client extends openapi_client_1.default {
|
|
|
8790
9364
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
8791
9365
|
}
|
|
8792
9366
|
/**
|
|
8793
|
-
*
|
|
9367
|
+
* Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
8794
9368
|
*
|
|
8795
|
-
* @
|
|
9369
|
+
* @remarks
|
|
9370
|
+
* 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
9371
|
*
|
|
8797
|
-
* @param request QueryChatappPhoneNumbersRequest
|
|
8798
|
-
* @
|
|
9372
|
+
* @param request - QueryChatappPhoneNumbersRequest
|
|
9373
|
+
* @returns QueryChatappPhoneNumbersResponse
|
|
8799
9374
|
*/
|
|
8800
9375
|
async queryChatappPhoneNumbers(request) {
|
|
8801
9376
|
let runtime = new $Util.RuntimeOptions({});
|
|
8802
9377
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8803
9378
|
}
|
|
8804
9379
|
/**
|
|
8805
|
-
*
|
|
9380
|
+
* Queries the business information of the account to which a specified phone number is bound.
|
|
8806
9381
|
*
|
|
8807
|
-
* @
|
|
9382
|
+
* @remarks
|
|
9383
|
+
* 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.
|
|
8808
9384
|
*
|
|
8809
|
-
* @param request QueryPhoneBusinessProfileRequest
|
|
8810
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8811
|
-
* @
|
|
9385
|
+
* @param request - QueryPhoneBusinessProfileRequest
|
|
9386
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9387
|
+
* @returns QueryPhoneBusinessProfileResponse
|
|
8812
9388
|
*/
|
|
8813
9389
|
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
8814
9390
|
tea_util_1.default.validateModel(request);
|
|
@@ -8845,25 +9421,27 @@ class Client extends openapi_client_1.default {
|
|
|
8845
9421
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
8846
9422
|
}
|
|
8847
9423
|
/**
|
|
8848
|
-
*
|
|
9424
|
+
* Queries the business information of the account to which a specified phone number is bound.
|
|
8849
9425
|
*
|
|
8850
|
-
* @
|
|
9426
|
+
* @remarks
|
|
9427
|
+
* 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.
|
|
8851
9428
|
*
|
|
8852
|
-
* @param request QueryPhoneBusinessProfileRequest
|
|
8853
|
-
* @
|
|
9429
|
+
* @param request - QueryPhoneBusinessProfileRequest
|
|
9430
|
+
* @returns QueryPhoneBusinessProfileResponse
|
|
8854
9431
|
*/
|
|
8855
9432
|
async queryPhoneBusinessProfile(request) {
|
|
8856
9433
|
let runtime = new $Util.RuntimeOptions({});
|
|
8857
9434
|
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
8858
9435
|
}
|
|
8859
9436
|
/**
|
|
8860
|
-
*
|
|
9437
|
+
* Queries the business information about the WhatsApp Business account (WABA).
|
|
8861
9438
|
*
|
|
8862
|
-
* @
|
|
9439
|
+
* @remarks
|
|
9440
|
+
* 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.
|
|
8863
9441
|
*
|
|
8864
|
-
* @param request QueryWabaBusinessInfoRequest
|
|
8865
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8866
|
-
* @
|
|
9442
|
+
* @param request - QueryWabaBusinessInfoRequest
|
|
9443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9444
|
+
* @returns QueryWabaBusinessInfoResponse
|
|
8867
9445
|
*/
|
|
8868
9446
|
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
8869
9447
|
tea_util_1.default.validateModel(request);
|
|
@@ -8900,26 +9478,28 @@ class Client extends openapi_client_1.default {
|
|
|
8900
9478
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
8901
9479
|
}
|
|
8902
9480
|
/**
|
|
8903
|
-
*
|
|
9481
|
+
* Queries the business information about the WhatsApp Business account (WABA).
|
|
8904
9482
|
*
|
|
8905
|
-
* @
|
|
9483
|
+
* @remarks
|
|
9484
|
+
* 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.
|
|
8906
9485
|
*
|
|
8907
|
-
* @param request QueryWabaBusinessInfoRequest
|
|
8908
|
-
* @
|
|
9486
|
+
* @param request - QueryWabaBusinessInfoRequest
|
|
9487
|
+
* @returns QueryWabaBusinessInfoResponse
|
|
8909
9488
|
*/
|
|
8910
9489
|
async queryWabaBusinessInfo(request) {
|
|
8911
9490
|
let runtime = new $Util.RuntimeOptions({});
|
|
8912
9491
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8913
9492
|
}
|
|
8914
9493
|
/**
|
|
8915
|
-
*
|
|
9494
|
+
* Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
8916
9495
|
*
|
|
8917
|
-
* @
|
|
9496
|
+
* @remarks
|
|
9497
|
+
* 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.
|
|
8918
9498
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
8919
9499
|
*
|
|
8920
|
-
* @param tmpReq SendChatappMassMessageRequest
|
|
8921
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8922
|
-
* @
|
|
9500
|
+
* @param tmpReq - SendChatappMassMessageRequest
|
|
9501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9502
|
+
* @returns SendChatappMassMessageResponse
|
|
8923
9503
|
*/
|
|
8924
9504
|
async sendChatappMassMessageWithOptions(tmpReq, runtime) {
|
|
8925
9505
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8997,26 +9577,28 @@ class Client extends openapi_client_1.default {
|
|
|
8997
9577
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
8998
9578
|
}
|
|
8999
9579
|
/**
|
|
9000
|
-
*
|
|
9580
|
+
* Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
9001
9581
|
*
|
|
9002
|
-
* @
|
|
9582
|
+
* @remarks
|
|
9583
|
+
* 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.
|
|
9003
9584
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
9004
9585
|
*
|
|
9005
|
-
* @param request SendChatappMassMessageRequest
|
|
9006
|
-
* @
|
|
9586
|
+
* @param request - SendChatappMassMessageRequest
|
|
9587
|
+
* @returns SendChatappMassMessageResponse
|
|
9007
9588
|
*/
|
|
9008
9589
|
async sendChatappMassMessage(request) {
|
|
9009
9590
|
let runtime = new $Util.RuntimeOptions({});
|
|
9010
9591
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
9011
9592
|
}
|
|
9012
9593
|
/**
|
|
9013
|
-
*
|
|
9594
|
+
* Sends messages by using ChatAPP.
|
|
9014
9595
|
*
|
|
9015
|
-
* @
|
|
9596
|
+
* @remarks
|
|
9597
|
+
* 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.
|
|
9016
9598
|
*
|
|
9017
|
-
* @param tmpReq SendChatappMessageRequest
|
|
9018
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9019
|
-
* @
|
|
9599
|
+
* @param tmpReq - SendChatappMessageRequest
|
|
9600
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9601
|
+
* @returns SendChatappMessageResponse
|
|
9020
9602
|
*/
|
|
9021
9603
|
async sendChatappMessageWithOptions(tmpReq, runtime) {
|
|
9022
9604
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9132,25 +9714,27 @@ class Client extends openapi_client_1.default {
|
|
|
9132
9714
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
9133
9715
|
}
|
|
9134
9716
|
/**
|
|
9135
|
-
*
|
|
9717
|
+
* Sends messages by using ChatAPP.
|
|
9136
9718
|
*
|
|
9137
|
-
* @
|
|
9719
|
+
* @remarks
|
|
9720
|
+
* 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.
|
|
9138
9721
|
*
|
|
9139
|
-
* @param request SendChatappMessageRequest
|
|
9140
|
-
* @
|
|
9722
|
+
* @param request - SendChatappMessageRequest
|
|
9723
|
+
* @returns SendChatappMessageResponse
|
|
9141
9724
|
*/
|
|
9142
9725
|
async sendChatappMessage(request) {
|
|
9143
9726
|
let runtime = new $Util.RuntimeOptions({});
|
|
9144
9727
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
9145
9728
|
}
|
|
9146
9729
|
/**
|
|
9147
|
-
*
|
|
9730
|
+
* Submits the agreement information for independent software vendor (ISV) customers.
|
|
9148
9731
|
*
|
|
9149
|
-
* @
|
|
9732
|
+
* @remarks
|
|
9733
|
+
* 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.
|
|
9150
9734
|
*
|
|
9151
|
-
* @param request SubmitIsvCustomerTermsRequest
|
|
9152
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9153
|
-
* @
|
|
9735
|
+
* @param request - SubmitIsvCustomerTermsRequest
|
|
9736
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9737
|
+
* @returns SubmitIsvCustomerTermsResponse
|
|
9154
9738
|
*/
|
|
9155
9739
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
9156
9740
|
tea_util_1.default.validateModel(request);
|
|
@@ -9193,25 +9777,27 @@ class Client extends openapi_client_1.default {
|
|
|
9193
9777
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
9194
9778
|
}
|
|
9195
9779
|
/**
|
|
9196
|
-
*
|
|
9780
|
+
* Submits the agreement information for independent software vendor (ISV) customers.
|
|
9197
9781
|
*
|
|
9198
|
-
* @
|
|
9782
|
+
* @remarks
|
|
9783
|
+
* 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.
|
|
9199
9784
|
*
|
|
9200
|
-
* @param request SubmitIsvCustomerTermsRequest
|
|
9201
|
-
* @
|
|
9785
|
+
* @param request - SubmitIsvCustomerTermsRequest
|
|
9786
|
+
* @returns SubmitIsvCustomerTermsResponse
|
|
9202
9787
|
*/
|
|
9203
9788
|
async submitIsvCustomerTerms(request) {
|
|
9204
9789
|
let runtime = new $Util.RuntimeOptions({});
|
|
9205
9790
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|
|
9206
9791
|
}
|
|
9207
9792
|
/**
|
|
9208
|
-
*
|
|
9793
|
+
* Modifies the callback URL of an account.
|
|
9209
9794
|
*
|
|
9210
|
-
* @
|
|
9795
|
+
* @remarks
|
|
9796
|
+
* 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.
|
|
9211
9797
|
*
|
|
9212
|
-
* @param request UpdateAccountWebhookRequest
|
|
9213
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9214
|
-
* @
|
|
9798
|
+
* @param request - UpdateAccountWebhookRequest
|
|
9799
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9800
|
+
* @returns UpdateAccountWebhookResponse
|
|
9215
9801
|
*/
|
|
9216
9802
|
async updateAccountWebhookWithOptions(request, runtime) {
|
|
9217
9803
|
tea_util_1.default.validateModel(request);
|
|
@@ -9245,25 +9831,27 @@ class Client extends openapi_client_1.default {
|
|
|
9245
9831
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
|
|
9246
9832
|
}
|
|
9247
9833
|
/**
|
|
9248
|
-
*
|
|
9834
|
+
* Modifies the callback URL of an account.
|
|
9249
9835
|
*
|
|
9250
|
-
* @
|
|
9836
|
+
* @remarks
|
|
9837
|
+
* 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.
|
|
9251
9838
|
*
|
|
9252
|
-
* @param request UpdateAccountWebhookRequest
|
|
9253
|
-
* @
|
|
9839
|
+
* @param request - UpdateAccountWebhookRequest
|
|
9840
|
+
* @returns UpdateAccountWebhookResponse
|
|
9254
9841
|
*/
|
|
9255
9842
|
async updateAccountWebhook(request) {
|
|
9256
9843
|
let runtime = new $Util.RuntimeOptions({});
|
|
9257
9844
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9258
9845
|
}
|
|
9259
9846
|
/**
|
|
9260
|
-
*
|
|
9847
|
+
* Modifies the business settings of a phone number.
|
|
9261
9848
|
*
|
|
9262
|
-
* @
|
|
9849
|
+
* @remarks
|
|
9850
|
+
* 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.
|
|
9263
9851
|
*
|
|
9264
|
-
* @param request UpdateCommerceSettingRequest
|
|
9265
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9266
|
-
* @
|
|
9852
|
+
* @param request - UpdateCommerceSettingRequest
|
|
9853
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9854
|
+
* @returns UpdateCommerceSettingResponse
|
|
9267
9855
|
*/
|
|
9268
9856
|
async updateCommerceSettingWithOptions(request, runtime) {
|
|
9269
9857
|
tea_util_1.default.validateModel(request);
|
|
@@ -9306,23 +9894,92 @@ class Client extends openapi_client_1.default {
|
|
|
9306
9894
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCommerceSettingResponse({}));
|
|
9307
9895
|
}
|
|
9308
9896
|
/**
|
|
9309
|
-
*
|
|
9897
|
+
* Modifies the business settings of a phone number.
|
|
9310
9898
|
*
|
|
9311
|
-
* @
|
|
9899
|
+
* @remarks
|
|
9900
|
+
* 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.
|
|
9312
9901
|
*
|
|
9313
|
-
* @param request UpdateCommerceSettingRequest
|
|
9314
|
-
* @
|
|
9902
|
+
* @param request - UpdateCommerceSettingRequest
|
|
9903
|
+
* @returns UpdateCommerceSettingResponse
|
|
9315
9904
|
*/
|
|
9316
9905
|
async updateCommerceSetting(request) {
|
|
9317
9906
|
let runtime = new $Util.RuntimeOptions({});
|
|
9318
9907
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
9319
9908
|
}
|
|
9320
9909
|
/**
|
|
9321
|
-
*
|
|
9910
|
+
* 更新号码欢迎消息、命令等属性
|
|
9911
|
+
*
|
|
9912
|
+
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
9913
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9914
|
+
* @returns UpdateConversationalAutomationResponse
|
|
9915
|
+
*/
|
|
9916
|
+
async updateConversationalAutomationWithOptions(tmpReq, runtime) {
|
|
9917
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
9918
|
+
let request = new UpdateConversationalAutomationShrinkRequest({});
|
|
9919
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
9920
|
+
if (!tea_util_1.default.isUnset(tmpReq.commands)) {
|
|
9921
|
+
request.commandsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.commands, "Commands", "json");
|
|
9922
|
+
}
|
|
9923
|
+
if (!tea_util_1.default.isUnset(tmpReq.prompts)) {
|
|
9924
|
+
request.promptsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.prompts, "Prompts", "json");
|
|
9925
|
+
}
|
|
9926
|
+
let query = {};
|
|
9927
|
+
if (!tea_util_1.default.isUnset(request.commandsShrink)) {
|
|
9928
|
+
query["Commands"] = request.commandsShrink;
|
|
9929
|
+
}
|
|
9930
|
+
if (!tea_util_1.default.isUnset(request.custSpaceId)) {
|
|
9931
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
9932
|
+
}
|
|
9933
|
+
if (!tea_util_1.default.isUnset(request.enableWelcomeMessage)) {
|
|
9934
|
+
query["EnableWelcomeMessage"] = request.enableWelcomeMessage;
|
|
9935
|
+
}
|
|
9936
|
+
if (!tea_util_1.default.isUnset(request.ownerId)) {
|
|
9937
|
+
query["OwnerId"] = request.ownerId;
|
|
9938
|
+
}
|
|
9939
|
+
if (!tea_util_1.default.isUnset(request.phoneNumber)) {
|
|
9940
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
9941
|
+
}
|
|
9942
|
+
if (!tea_util_1.default.isUnset(request.promptsShrink)) {
|
|
9943
|
+
query["Prompts"] = request.promptsShrink;
|
|
9944
|
+
}
|
|
9945
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerAccount)) {
|
|
9946
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
9947
|
+
}
|
|
9948
|
+
if (!tea_util_1.default.isUnset(request.resourceOwnerId)) {
|
|
9949
|
+
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
9950
|
+
}
|
|
9951
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
9952
|
+
query: openapi_util_1.default.query(query),
|
|
9953
|
+
});
|
|
9954
|
+
let params = new $OpenApi.Params({
|
|
9955
|
+
action: "UpdateConversationalAutomation",
|
|
9956
|
+
version: "2020-06-06",
|
|
9957
|
+
protocol: "HTTPS",
|
|
9958
|
+
pathname: "/",
|
|
9959
|
+
method: "POST",
|
|
9960
|
+
authType: "AK",
|
|
9961
|
+
style: "RPC",
|
|
9962
|
+
reqBodyType: "formData",
|
|
9963
|
+
bodyType: "json",
|
|
9964
|
+
});
|
|
9965
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateConversationalAutomationResponse({}));
|
|
9966
|
+
}
|
|
9967
|
+
/**
|
|
9968
|
+
* 更新号码欢迎消息、命令等属性
|
|
9969
|
+
*
|
|
9970
|
+
* @param request - UpdateConversationalAutomationRequest
|
|
9971
|
+
* @returns UpdateConversationalAutomationResponse
|
|
9972
|
+
*/
|
|
9973
|
+
async updateConversationalAutomation(request) {
|
|
9974
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
9975
|
+
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9976
|
+
}
|
|
9977
|
+
/**
|
|
9978
|
+
* 更新flow的表单内容
|
|
9322
9979
|
*
|
|
9323
|
-
* @param request UpdateFlowJSONAssetRequest
|
|
9324
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9325
|
-
* @
|
|
9980
|
+
* @param request - UpdateFlowJSONAssetRequest
|
|
9981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9982
|
+
* @returns UpdateFlowJSONAssetResponse
|
|
9326
9983
|
*/
|
|
9327
9984
|
async updateFlowJSONAssetWithOptions(request, runtime) {
|
|
9328
9985
|
tea_util_1.default.validateModel(request);
|
|
@@ -9353,21 +10010,21 @@ class Client extends openapi_client_1.default {
|
|
|
9353
10010
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
9354
10011
|
}
|
|
9355
10012
|
/**
|
|
9356
|
-
*
|
|
10013
|
+
* 更新flow的表单内容
|
|
9357
10014
|
*
|
|
9358
|
-
* @param request UpdateFlowJSONAssetRequest
|
|
9359
|
-
* @
|
|
10015
|
+
* @param request - UpdateFlowJSONAssetRequest
|
|
10016
|
+
* @returns UpdateFlowJSONAssetResponse
|
|
9360
10017
|
*/
|
|
9361
10018
|
async updateFlowJSONAsset(request) {
|
|
9362
10019
|
let runtime = new $Util.RuntimeOptions({});
|
|
9363
10020
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
9364
10021
|
}
|
|
9365
10022
|
/**
|
|
9366
|
-
*
|
|
10023
|
+
* 更新号码的公钥
|
|
9367
10024
|
*
|
|
9368
|
-
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9369
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9370
|
-
* @
|
|
10025
|
+
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10026
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10027
|
+
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
9371
10028
|
*/
|
|
9372
10029
|
async updatePhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
9373
10030
|
tea_util_1.default.validateModel(request);
|
|
@@ -9398,21 +10055,21 @@ class Client extends openapi_client_1.default {
|
|
|
9398
10055
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
9399
10056
|
}
|
|
9400
10057
|
/**
|
|
9401
|
-
*
|
|
10058
|
+
* 更新号码的公钥
|
|
9402
10059
|
*
|
|
9403
|
-
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9404
|
-
* @
|
|
10060
|
+
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10061
|
+
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
9405
10062
|
*/
|
|
9406
10063
|
async updatePhoneEncryptionPublicKey(request) {
|
|
9407
10064
|
let runtime = new $Util.RuntimeOptions({});
|
|
9408
10065
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
9409
10066
|
}
|
|
9410
10067
|
/**
|
|
9411
|
-
*
|
|
10068
|
+
* 修改消息发送二维码
|
|
9412
10069
|
*
|
|
9413
|
-
* @param request UpdatePhoneMessageQrdlRequest
|
|
9414
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9415
|
-
* @
|
|
10070
|
+
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10071
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10072
|
+
* @returns UpdatePhoneMessageQrdlResponse
|
|
9416
10073
|
*/
|
|
9417
10074
|
async updatePhoneMessageQrdlWithOptions(request, runtime) {
|
|
9418
10075
|
tea_util_1.default.validateModel(request);
|
|
@@ -9449,25 +10106,26 @@ class Client extends openapi_client_1.default {
|
|
|
9449
10106
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
9450
10107
|
}
|
|
9451
10108
|
/**
|
|
9452
|
-
*
|
|
10109
|
+
* 修改消息发送二维码
|
|
9453
10110
|
*
|
|
9454
|
-
* @param request UpdatePhoneMessageQrdlRequest
|
|
9455
|
-
* @
|
|
10111
|
+
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10112
|
+
* @returns UpdatePhoneMessageQrdlResponse
|
|
9456
10113
|
*/
|
|
9457
10114
|
async updatePhoneMessageQrdl(request) {
|
|
9458
10115
|
let runtime = new $Util.RuntimeOptions({});
|
|
9459
10116
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
9460
10117
|
}
|
|
9461
10118
|
/**
|
|
9462
|
-
*
|
|
10119
|
+
* The HTTP status code returned.
|
|
9463
10120
|
* * A value of OK indicates that the call is successful.
|
|
9464
10121
|
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9465
10122
|
*
|
|
9466
|
-
* @
|
|
10123
|
+
* @remarks
|
|
10124
|
+
* The error message returned.
|
|
9467
10125
|
*
|
|
9468
|
-
* @param request UpdatePhoneWebhookRequest
|
|
9469
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9470
|
-
* @
|
|
10126
|
+
* @param request - UpdatePhoneWebhookRequest
|
|
10127
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10128
|
+
* @returns UpdatePhoneWebhookResponse
|
|
9471
10129
|
*/
|
|
9472
10130
|
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
9473
10131
|
tea_util_1.default.validateModel(request);
|
|
@@ -9507,14 +10165,15 @@ class Client extends openapi_client_1.default {
|
|
|
9507
10165
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
9508
10166
|
}
|
|
9509
10167
|
/**
|
|
9510
|
-
*
|
|
10168
|
+
* The HTTP status code returned.
|
|
9511
10169
|
* * A value of OK indicates that the call is successful.
|
|
9512
10170
|
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
9513
10171
|
*
|
|
9514
|
-
* @
|
|
10172
|
+
* @remarks
|
|
10173
|
+
* The error message returned.
|
|
9515
10174
|
*
|
|
9516
|
-
* @param request UpdatePhoneWebhookRequest
|
|
9517
|
-
* @
|
|
10175
|
+
* @param request - UpdatePhoneWebhookRequest
|
|
10176
|
+
* @returns UpdatePhoneWebhookResponse
|
|
9518
10177
|
*/
|
|
9519
10178
|
async updatePhoneWebhook(request) {
|
|
9520
10179
|
let runtime = new $Util.RuntimeOptions({});
|