@alicloud/cams20200606 1.5.0 → 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 +7766 -535
- package/dist/client.js +623 -524
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +7977 -742
package/dist/client.js
CHANGED
|
@@ -34,7 +34,6 @@ exports.ListProductResponseBodyModelPagingCursors = exports.ListPhoneMessageQrdl
|
|
|
34
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;
|
|
@@ -6238,6 +6237,8 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
6238
6237
|
return {
|
|
6239
6238
|
accountReviewStatus: 'AccountReviewStatus',
|
|
6240
6239
|
authInternationalRateEligibility: 'AuthInternationalRateEligibility',
|
|
6240
|
+
businessId: 'BusinessId',
|
|
6241
|
+
businessName: 'BusinessName',
|
|
6241
6242
|
currency: 'Currency',
|
|
6242
6243
|
id: 'Id',
|
|
6243
6244
|
messageTemplateNamespace: 'MessageTemplateNamespace',
|
|
@@ -6249,6 +6250,8 @@ class QueryChatappBindWabaResponseBodyData extends $tea.Model {
|
|
|
6249
6250
|
return {
|
|
6250
6251
|
accountReviewStatus: 'string',
|
|
6251
6252
|
authInternationalRateEligibility: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
6253
|
+
businessId: 'string',
|
|
6254
|
+
businessName: 'string',
|
|
6252
6255
|
currency: 'string',
|
|
6253
6256
|
id: 'string',
|
|
6254
6257
|
messageTemplateNamespace: 'string',
|
|
@@ -6590,13 +6593,14 @@ class Client extends openapi_client_1.default {
|
|
|
6590
6593
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6591
6594
|
}
|
|
6592
6595
|
/**
|
|
6593
|
-
*
|
|
6596
|
+
* Adds a phone number for a WhatsApp Business account (WABA).
|
|
6594
6597
|
*
|
|
6595
|
-
* @
|
|
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.
|
|
6596
6600
|
*
|
|
6597
|
-
* @param request AddChatappPhoneNumberRequest
|
|
6598
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6599
|
-
* @
|
|
6601
|
+
* @param request - AddChatappPhoneNumberRequest
|
|
6602
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6603
|
+
* @returns AddChatappPhoneNumberResponse
|
|
6600
6604
|
*/
|
|
6601
6605
|
async addChatappPhoneNumberWithOptions(request, runtime) {
|
|
6602
6606
|
tea_util_1.default.validateModel(request);
|
|
@@ -6642,25 +6646,27 @@ class Client extends openapi_client_1.default {
|
|
|
6642
6646
|
return $tea.cast(await this.callApi(params, req, runtime), new AddChatappPhoneNumberResponse({}));
|
|
6643
6647
|
}
|
|
6644
6648
|
/**
|
|
6645
|
-
*
|
|
6649
|
+
* Adds a phone number for a WhatsApp Business account (WABA).
|
|
6646
6650
|
*
|
|
6647
|
-
* @
|
|
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.
|
|
6648
6653
|
*
|
|
6649
|
-
* @param request AddChatappPhoneNumberRequest
|
|
6650
|
-
* @
|
|
6654
|
+
* @param request - AddChatappPhoneNumberRequest
|
|
6655
|
+
* @returns AddChatappPhoneNumberResponse
|
|
6651
6656
|
*/
|
|
6652
6657
|
async addChatappPhoneNumber(request) {
|
|
6653
6658
|
let runtime = new $Util.RuntimeOptions({});
|
|
6654
6659
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
6655
6660
|
}
|
|
6656
6661
|
/**
|
|
6657
|
-
*
|
|
6662
|
+
* Associates FAQs in the knowledge base.
|
|
6658
6663
|
*
|
|
6659
|
-
* @
|
|
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.
|
|
6660
6666
|
*
|
|
6661
|
-
* @param tmpReq BeeBotAssociateRequest
|
|
6662
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6663
|
-
* @
|
|
6667
|
+
* @param tmpReq - BeeBotAssociateRequest
|
|
6668
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6669
|
+
* @returns BeeBotAssociateResponse
|
|
6664
6670
|
*/
|
|
6665
6671
|
async beeBotAssociateWithOptions(tmpReq, runtime) {
|
|
6666
6672
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6708,25 +6714,27 @@ class Client extends openapi_client_1.default {
|
|
|
6708
6714
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotAssociateResponse({}));
|
|
6709
6715
|
}
|
|
6710
6716
|
/**
|
|
6711
|
-
*
|
|
6717
|
+
* Associates FAQs in the knowledge base.
|
|
6712
6718
|
*
|
|
6713
|
-
* @
|
|
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.
|
|
6714
6721
|
*
|
|
6715
|
-
* @param request BeeBotAssociateRequest
|
|
6716
|
-
* @
|
|
6722
|
+
* @param request - BeeBotAssociateRequest
|
|
6723
|
+
* @returns BeeBotAssociateResponse
|
|
6717
6724
|
*/
|
|
6718
6725
|
async beeBotAssociate(request) {
|
|
6719
6726
|
let runtime = new $Util.RuntimeOptions({});
|
|
6720
6727
|
return await this.beeBotAssociateWithOptions(request, runtime);
|
|
6721
6728
|
}
|
|
6722
6729
|
/**
|
|
6723
|
-
*
|
|
6730
|
+
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
6724
6731
|
*
|
|
6725
|
-
* @
|
|
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.
|
|
6726
6734
|
*
|
|
6727
|
-
* @param tmpReq BeeBotChatRequest
|
|
6728
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6729
|
-
* @
|
|
6735
|
+
* @param tmpReq - BeeBotChatRequest
|
|
6736
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6737
|
+
* @returns BeeBotChatResponse
|
|
6730
6738
|
*/
|
|
6731
6739
|
async beeBotChatWithOptions(tmpReq, runtime) {
|
|
6732
6740
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -6789,25 +6797,27 @@ class Client extends openapi_client_1.default {
|
|
|
6789
6797
|
return $tea.cast(await this.callApi(params, req, runtime), new BeeBotChatResponse({}));
|
|
6790
6798
|
}
|
|
6791
6799
|
/**
|
|
6792
|
-
*
|
|
6800
|
+
* Conducts sessions with the bot based on its unique identifier (ID).
|
|
6793
6801
|
*
|
|
6794
|
-
* @
|
|
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.
|
|
6795
6804
|
*
|
|
6796
|
-
* @param request BeeBotChatRequest
|
|
6797
|
-
* @
|
|
6805
|
+
* @param request - BeeBotChatRequest
|
|
6806
|
+
* @returns BeeBotChatResponse
|
|
6798
6807
|
*/
|
|
6799
6808
|
async beeBotChat(request) {
|
|
6800
6809
|
let runtime = new $Util.RuntimeOptions({});
|
|
6801
6810
|
return await this.beeBotChatWithOptions(request, runtime);
|
|
6802
6811
|
}
|
|
6803
6812
|
/**
|
|
6804
|
-
*
|
|
6813
|
+
* Binds the WhatsApp Business account with ChatApp.
|
|
6805
6814
|
*
|
|
6806
|
-
* @
|
|
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.
|
|
6807
6817
|
*
|
|
6808
|
-
* @param request ChatappBindWabaRequest
|
|
6809
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6810
|
-
* @
|
|
6818
|
+
* @param request - ChatappBindWabaRequest
|
|
6819
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6820
|
+
* @returns ChatappBindWabaResponse
|
|
6811
6821
|
*/
|
|
6812
6822
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
6813
6823
|
tea_util_1.default.validateModel(request);
|
|
@@ -6841,25 +6851,27 @@ class Client extends openapi_client_1.default {
|
|
|
6841
6851
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappBindWabaResponse({}));
|
|
6842
6852
|
}
|
|
6843
6853
|
/**
|
|
6844
|
-
*
|
|
6854
|
+
* Binds the WhatsApp Business account with ChatApp.
|
|
6845
6855
|
*
|
|
6846
|
-
* @
|
|
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.
|
|
6847
6858
|
*
|
|
6848
|
-
* @param request ChatappBindWabaRequest
|
|
6849
|
-
* @
|
|
6859
|
+
* @param request - ChatappBindWabaRequest
|
|
6860
|
+
* @returns ChatappBindWabaResponse
|
|
6850
6861
|
*/
|
|
6851
6862
|
async chatappBindWaba(request) {
|
|
6852
6863
|
let runtime = new $Util.RuntimeOptions({});
|
|
6853
6864
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
6854
6865
|
}
|
|
6855
6866
|
/**
|
|
6856
|
-
*
|
|
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.
|
|
6857
6868
|
*
|
|
6858
|
-
* @
|
|
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.
|
|
6859
6871
|
*
|
|
6860
|
-
* @param request ChatappEmbedSignUpRequest
|
|
6861
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6862
|
-
* @
|
|
6872
|
+
* @param request - ChatappEmbedSignUpRequest
|
|
6873
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6874
|
+
* @returns ChatappEmbedSignUpResponse
|
|
6863
6875
|
*/
|
|
6864
6876
|
async chatappEmbedSignUpWithOptions(request, runtime) {
|
|
6865
6877
|
tea_util_1.default.validateModel(request);
|
|
@@ -6884,25 +6896,27 @@ class Client extends openapi_client_1.default {
|
|
|
6884
6896
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappEmbedSignUpResponse({}));
|
|
6885
6897
|
}
|
|
6886
6898
|
/**
|
|
6887
|
-
*
|
|
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.
|
|
6888
6900
|
*
|
|
6889
|
-
* @
|
|
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.
|
|
6890
6903
|
*
|
|
6891
|
-
* @param request ChatappEmbedSignUpRequest
|
|
6892
|
-
* @
|
|
6904
|
+
* @param request - ChatappEmbedSignUpRequest
|
|
6905
|
+
* @returns ChatappEmbedSignUpResponse
|
|
6893
6906
|
*/
|
|
6894
6907
|
async chatappEmbedSignUp(request) {
|
|
6895
6908
|
let runtime = new $Util.RuntimeOptions({});
|
|
6896
6909
|
return await this.chatappEmbedSignUpWithOptions(request, runtime);
|
|
6897
6910
|
}
|
|
6898
6911
|
/**
|
|
6899
|
-
*
|
|
6912
|
+
* Registers a phone number for migration.
|
|
6900
6913
|
*
|
|
6901
|
-
* @
|
|
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.
|
|
6902
6916
|
*
|
|
6903
|
-
* @param request ChatappMigrationRegisterRequest
|
|
6904
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6905
|
-
* @
|
|
6917
|
+
* @param request - ChatappMigrationRegisterRequest
|
|
6918
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6919
|
+
* @returns ChatappMigrationRegisterResponse
|
|
6906
6920
|
*/
|
|
6907
6921
|
async chatappMigrationRegisterWithOptions(request, runtime) {
|
|
6908
6922
|
tea_util_1.default.validateModel(request);
|
|
@@ -6930,25 +6944,27 @@ class Client extends openapi_client_1.default {
|
|
|
6930
6944
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationRegisterResponse({}));
|
|
6931
6945
|
}
|
|
6932
6946
|
/**
|
|
6933
|
-
*
|
|
6947
|
+
* Registers a phone number for migration.
|
|
6934
6948
|
*
|
|
6935
|
-
* @
|
|
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.
|
|
6936
6951
|
*
|
|
6937
|
-
* @param request ChatappMigrationRegisterRequest
|
|
6938
|
-
* @
|
|
6952
|
+
* @param request - ChatappMigrationRegisterRequest
|
|
6953
|
+
* @returns ChatappMigrationRegisterResponse
|
|
6939
6954
|
*/
|
|
6940
6955
|
async chatappMigrationRegister(request) {
|
|
6941
6956
|
let runtime = new $Util.RuntimeOptions({});
|
|
6942
6957
|
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
6943
6958
|
}
|
|
6944
6959
|
/**
|
|
6945
|
-
*
|
|
6960
|
+
* Verifies a specified phone number for migration.
|
|
6946
6961
|
*
|
|
6947
|
-
* @
|
|
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.
|
|
6948
6964
|
*
|
|
6949
|
-
* @param request ChatappMigrationVerifiedRequest
|
|
6950
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
6951
|
-
* @
|
|
6965
|
+
* @param request - ChatappMigrationVerifiedRequest
|
|
6966
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6967
|
+
* @returns ChatappMigrationVerifiedResponse
|
|
6952
6968
|
*/
|
|
6953
6969
|
async chatappMigrationVerifiedWithOptions(request, runtime) {
|
|
6954
6970
|
tea_util_1.default.validateModel(request);
|
|
@@ -6979,25 +6995,27 @@ class Client extends openapi_client_1.default {
|
|
|
6979
6995
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappMigrationVerifiedResponse({}));
|
|
6980
6996
|
}
|
|
6981
6997
|
/**
|
|
6982
|
-
*
|
|
6998
|
+
* Verifies a specified phone number for migration.
|
|
6983
6999
|
*
|
|
6984
|
-
* @
|
|
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.
|
|
6985
7002
|
*
|
|
6986
|
-
* @param request ChatappMigrationVerifiedRequest
|
|
6987
|
-
* @
|
|
7003
|
+
* @param request - ChatappMigrationVerifiedRequest
|
|
7004
|
+
* @returns ChatappMigrationVerifiedResponse
|
|
6988
7005
|
*/
|
|
6989
7006
|
async chatappMigrationVerified(request) {
|
|
6990
7007
|
let runtime = new $Util.RuntimeOptions({});
|
|
6991
7008
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
6992
7009
|
}
|
|
6993
7010
|
/**
|
|
6994
|
-
*
|
|
7011
|
+
* Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
6995
7012
|
*
|
|
6996
|
-
* @
|
|
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.
|
|
6997
7015
|
*
|
|
6998
|
-
* @param request ChatappPhoneNumberDeregisterRequest
|
|
6999
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7000
|
-
* @
|
|
7016
|
+
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
7017
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7018
|
+
* @returns ChatappPhoneNumberDeregisterResponse
|
|
7001
7019
|
*/
|
|
7002
7020
|
async chatappPhoneNumberDeregisterWithOptions(request, runtime) {
|
|
7003
7021
|
tea_util_1.default.validateModel(request);
|
|
@@ -7025,25 +7043,27 @@ class Client extends openapi_client_1.default {
|
|
|
7025
7043
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberDeregisterResponse({}));
|
|
7026
7044
|
}
|
|
7027
7045
|
/**
|
|
7028
|
-
*
|
|
7046
|
+
* Deregisters a phone number from a WhatsApp Business account (WABA).
|
|
7029
7047
|
*
|
|
7030
|
-
* @
|
|
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.
|
|
7031
7050
|
*
|
|
7032
|
-
* @param request ChatappPhoneNumberDeregisterRequest
|
|
7033
|
-
* @
|
|
7051
|
+
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
7052
|
+
* @returns ChatappPhoneNumberDeregisterResponse
|
|
7034
7053
|
*/
|
|
7035
7054
|
async chatappPhoneNumberDeregister(request) {
|
|
7036
7055
|
let runtime = new $Util.RuntimeOptions({});
|
|
7037
7056
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
7038
7057
|
}
|
|
7039
7058
|
/**
|
|
7040
|
-
*
|
|
7059
|
+
* Registers a phone number.
|
|
7041
7060
|
*
|
|
7042
|
-
* @
|
|
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.
|
|
7043
7063
|
*
|
|
7044
|
-
* @param request ChatappPhoneNumberRegisterRequest
|
|
7045
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7046
|
-
* @
|
|
7064
|
+
* @param request - ChatappPhoneNumberRegisterRequest
|
|
7065
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7066
|
+
* @returns ChatappPhoneNumberRegisterResponse
|
|
7047
7067
|
*/
|
|
7048
7068
|
async chatappPhoneNumberRegisterWithOptions(request, runtime) {
|
|
7049
7069
|
tea_util_1.default.validateModel(request);
|
|
@@ -7080,25 +7100,27 @@ class Client extends openapi_client_1.default {
|
|
|
7080
7100
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappPhoneNumberRegisterResponse({}));
|
|
7081
7101
|
}
|
|
7082
7102
|
/**
|
|
7083
|
-
*
|
|
7103
|
+
* Registers a phone number.
|
|
7084
7104
|
*
|
|
7085
|
-
* @
|
|
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.
|
|
7086
7107
|
*
|
|
7087
|
-
* @param request ChatappPhoneNumberRegisterRequest
|
|
7088
|
-
* @
|
|
7108
|
+
* @param request - ChatappPhoneNumberRegisterRequest
|
|
7109
|
+
* @returns ChatappPhoneNumberRegisterResponse
|
|
7089
7110
|
*/
|
|
7090
7111
|
async chatappPhoneNumberRegister(request) {
|
|
7091
7112
|
let runtime = new $Util.RuntimeOptions({});
|
|
7092
7113
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
7093
7114
|
}
|
|
7094
7115
|
/**
|
|
7095
|
-
*
|
|
7116
|
+
* Synchronizes phone numbers.
|
|
7096
7117
|
*
|
|
7097
|
-
* @
|
|
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.
|
|
7098
7120
|
*
|
|
7099
|
-
* @param request ChatappSyncPhoneNumberRequest
|
|
7100
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7101
|
-
* @
|
|
7121
|
+
* @param request - ChatappSyncPhoneNumberRequest
|
|
7122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7123
|
+
* @returns ChatappSyncPhoneNumberResponse
|
|
7102
7124
|
*/
|
|
7103
7125
|
async chatappSyncPhoneNumberWithOptions(request, runtime) {
|
|
7104
7126
|
tea_util_1.default.validateModel(request);
|
|
@@ -7132,25 +7154,27 @@ class Client extends openapi_client_1.default {
|
|
|
7132
7154
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappSyncPhoneNumberResponse({}));
|
|
7133
7155
|
}
|
|
7134
7156
|
/**
|
|
7135
|
-
*
|
|
7157
|
+
* Synchronizes phone numbers.
|
|
7136
7158
|
*
|
|
7137
|
-
* @
|
|
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.
|
|
7138
7161
|
*
|
|
7139
|
-
* @param request ChatappSyncPhoneNumberRequest
|
|
7140
|
-
* @
|
|
7162
|
+
* @param request - ChatappSyncPhoneNumberRequest
|
|
7163
|
+
* @returns ChatappSyncPhoneNumberResponse
|
|
7141
7164
|
*/
|
|
7142
7165
|
async chatappSyncPhoneNumber(request) {
|
|
7143
7166
|
let runtime = new $Util.RuntimeOptions({});
|
|
7144
7167
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
7145
7168
|
}
|
|
7146
7169
|
/**
|
|
7147
|
-
*
|
|
7170
|
+
* Associates a phone number with a WhatsApp Business account (WABA).
|
|
7148
7171
|
*
|
|
7149
|
-
* @
|
|
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.
|
|
7150
7174
|
*
|
|
7151
|
-
* @param request ChatappVerifyAndRegisterRequest
|
|
7152
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7153
|
-
* @
|
|
7175
|
+
* @param request - ChatappVerifyAndRegisterRequest
|
|
7176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7177
|
+
* @returns ChatappVerifyAndRegisterResponse
|
|
7154
7178
|
*/
|
|
7155
7179
|
async chatappVerifyAndRegisterWithOptions(request, runtime) {
|
|
7156
7180
|
tea_util_1.default.validateModel(request);
|
|
@@ -7190,25 +7214,27 @@ class Client extends openapi_client_1.default {
|
|
|
7190
7214
|
return $tea.cast(await this.callApi(params, req, runtime), new ChatappVerifyAndRegisterResponse({}));
|
|
7191
7215
|
}
|
|
7192
7216
|
/**
|
|
7193
|
-
*
|
|
7217
|
+
* Associates a phone number with a WhatsApp Business account (WABA).
|
|
7194
7218
|
*
|
|
7195
|
-
* @
|
|
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.
|
|
7196
7221
|
*
|
|
7197
|
-
* @param request ChatappVerifyAndRegisterRequest
|
|
7198
|
-
* @
|
|
7222
|
+
* @param request - ChatappVerifyAndRegisterRequest
|
|
7223
|
+
* @returns ChatappVerifyAndRegisterResponse
|
|
7199
7224
|
*/
|
|
7200
7225
|
async chatappVerifyAndRegister(request) {
|
|
7201
7226
|
let runtime = new $Util.RuntimeOptions({});
|
|
7202
7227
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
7203
7228
|
}
|
|
7204
7229
|
/**
|
|
7205
|
-
*
|
|
7230
|
+
* The ID of the number.
|
|
7206
7231
|
*
|
|
7207
|
-
* @
|
|
7232
|
+
* @remarks
|
|
7233
|
+
* The status of the phone number.
|
|
7208
7234
|
*
|
|
7209
|
-
* @param request CreateChatappMigrationInitiateRequest
|
|
7210
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7211
|
-
* @
|
|
7235
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
7236
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7237
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
7212
7238
|
*/
|
|
7213
7239
|
async createChatappMigrationInitiateWithOptions(request, runtime) {
|
|
7214
7240
|
tea_util_1.default.validateModel(request);
|
|
@@ -7239,27 +7265,29 @@ class Client extends openapi_client_1.default {
|
|
|
7239
7265
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappMigrationInitiateResponse({}));
|
|
7240
7266
|
}
|
|
7241
7267
|
/**
|
|
7242
|
-
*
|
|
7268
|
+
* The ID of the number.
|
|
7243
7269
|
*
|
|
7244
|
-
* @
|
|
7270
|
+
* @remarks
|
|
7271
|
+
* The status of the phone number.
|
|
7245
7272
|
*
|
|
7246
|
-
* @param request CreateChatappMigrationInitiateRequest
|
|
7247
|
-
* @
|
|
7273
|
+
* @param request - CreateChatappMigrationInitiateRequest
|
|
7274
|
+
* @returns CreateChatappMigrationInitiateResponse
|
|
7248
7275
|
*/
|
|
7249
7276
|
async createChatappMigrationInitiate(request) {
|
|
7250
7277
|
let runtime = new $Util.RuntimeOptions({});
|
|
7251
7278
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
7252
7279
|
}
|
|
7253
7280
|
/**
|
|
7254
|
-
*
|
|
7281
|
+
* The HTTP status code.
|
|
7255
7282
|
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
7256
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).
|
|
7257
7284
|
*
|
|
7258
|
-
* @
|
|
7285
|
+
* @remarks
|
|
7286
|
+
* The error message.
|
|
7259
7287
|
*
|
|
7260
|
-
* @param tmpReq CreateChatappTemplateRequest
|
|
7261
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7262
|
-
* @
|
|
7288
|
+
* @param tmpReq - CreateChatappTemplateRequest
|
|
7289
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7290
|
+
* @returns CreateChatappTemplateResponse
|
|
7263
7291
|
*/
|
|
7264
7292
|
async createChatappTemplateWithOptions(tmpReq, runtime) {
|
|
7265
7293
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7322,27 +7350,29 @@ class Client extends openapi_client_1.default {
|
|
|
7322
7350
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateChatappTemplateResponse({}));
|
|
7323
7351
|
}
|
|
7324
7352
|
/**
|
|
7325
|
-
*
|
|
7353
|
+
* The HTTP status code.
|
|
7326
7354
|
* \\\\* Example: OK. This parameter indicates that the request is successful.
|
|
7327
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).
|
|
7328
7356
|
*
|
|
7329
|
-
* @
|
|
7357
|
+
* @remarks
|
|
7358
|
+
* The error message.
|
|
7330
7359
|
*
|
|
7331
|
-
* @param request CreateChatappTemplateRequest
|
|
7332
|
-
* @
|
|
7360
|
+
* @param request - CreateChatappTemplateRequest
|
|
7361
|
+
* @returns CreateChatappTemplateResponse
|
|
7333
7362
|
*/
|
|
7334
7363
|
async createChatappTemplate(request) {
|
|
7335
7364
|
let runtime = new $Util.RuntimeOptions({});
|
|
7336
7365
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
7337
7366
|
}
|
|
7338
7367
|
/**
|
|
7339
|
-
*
|
|
7368
|
+
* Creates a Flow.
|
|
7340
7369
|
*
|
|
7341
|
-
* @
|
|
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.
|
|
7342
7372
|
*
|
|
7343
|
-
* @param tmpReq CreateFlowRequest
|
|
7344
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7345
|
-
* @
|
|
7373
|
+
* @param tmpReq - CreateFlowRequest
|
|
7374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7375
|
+
* @returns CreateFlowResponse
|
|
7346
7376
|
*/
|
|
7347
7377
|
async createFlowWithOptions(tmpReq, runtime) {
|
|
7348
7378
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -7378,23 +7408,24 @@ class Client extends openapi_client_1.default {
|
|
|
7378
7408
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateFlowResponse({}));
|
|
7379
7409
|
}
|
|
7380
7410
|
/**
|
|
7381
|
-
*
|
|
7411
|
+
* Creates a Flow.
|
|
7382
7412
|
*
|
|
7383
|
-
* @
|
|
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.
|
|
7384
7415
|
*
|
|
7385
|
-
* @param request CreateFlowRequest
|
|
7386
|
-
* @
|
|
7416
|
+
* @param request - CreateFlowRequest
|
|
7417
|
+
* @returns CreateFlowResponse
|
|
7387
7418
|
*/
|
|
7388
7419
|
async createFlow(request) {
|
|
7389
7420
|
let runtime = new $Util.RuntimeOptions({});
|
|
7390
7421
|
return await this.createFlowWithOptions(request, runtime);
|
|
7391
7422
|
}
|
|
7392
7423
|
/**
|
|
7393
|
-
*
|
|
7424
|
+
* 创建消息发送二维码
|
|
7394
7425
|
*
|
|
7395
|
-
* @param request CreatePhoneMessageQrdlRequest
|
|
7396
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7397
|
-
* @
|
|
7426
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
7427
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7428
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
7398
7429
|
*/
|
|
7399
7430
|
async createPhoneMessageQrdlWithOptions(request, runtime) {
|
|
7400
7431
|
tea_util_1.default.validateModel(request);
|
|
@@ -7428,24 +7459,25 @@ class Client extends openapi_client_1.default {
|
|
|
7428
7459
|
return $tea.cast(await this.callApi(params, req, runtime), new CreatePhoneMessageQrdlResponse({}));
|
|
7429
7460
|
}
|
|
7430
7461
|
/**
|
|
7431
|
-
*
|
|
7462
|
+
* 创建消息发送二维码
|
|
7432
7463
|
*
|
|
7433
|
-
* @param request CreatePhoneMessageQrdlRequest
|
|
7434
|
-
* @
|
|
7464
|
+
* @param request - CreatePhoneMessageQrdlRequest
|
|
7465
|
+
* @returns CreatePhoneMessageQrdlResponse
|
|
7435
7466
|
*/
|
|
7436
7467
|
async createPhoneMessageQrdl(request) {
|
|
7437
7468
|
let runtime = new $Util.RuntimeOptions({});
|
|
7438
7469
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
7439
7470
|
}
|
|
7440
7471
|
/**
|
|
7441
|
-
*
|
|
7472
|
+
* Deletes a message template.
|
|
7442
7473
|
*
|
|
7443
|
-
* @
|
|
7474
|
+
* @remarks
|
|
7475
|
+
* ### QPS limit
|
|
7444
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.
|
|
7445
7477
|
*
|
|
7446
|
-
* @param request DeleteChatappTemplateRequest
|
|
7447
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7448
|
-
* @
|
|
7478
|
+
* @param request - DeleteChatappTemplateRequest
|
|
7479
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7480
|
+
* @returns DeleteChatappTemplateResponse
|
|
7449
7481
|
*/
|
|
7450
7482
|
async deleteChatappTemplateWithOptions(request, runtime) {
|
|
7451
7483
|
tea_util_1.default.validateModel(request);
|
|
@@ -7497,26 +7529,28 @@ class Client extends openapi_client_1.default {
|
|
|
7497
7529
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteChatappTemplateResponse({}));
|
|
7498
7530
|
}
|
|
7499
7531
|
/**
|
|
7500
|
-
*
|
|
7532
|
+
* Deletes a message template.
|
|
7501
7533
|
*
|
|
7502
|
-
* @
|
|
7534
|
+
* @remarks
|
|
7535
|
+
* ### QPS limit
|
|
7503
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.
|
|
7504
7537
|
*
|
|
7505
|
-
* @param request DeleteChatappTemplateRequest
|
|
7506
|
-
* @
|
|
7538
|
+
* @param request - DeleteChatappTemplateRequest
|
|
7539
|
+
* @returns DeleteChatappTemplateResponse
|
|
7507
7540
|
*/
|
|
7508
7541
|
async deleteChatappTemplate(request) {
|
|
7509
7542
|
let runtime = new $Util.RuntimeOptions({});
|
|
7510
7543
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
7511
7544
|
}
|
|
7512
7545
|
/**
|
|
7513
|
-
*
|
|
7546
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
7514
7547
|
*
|
|
7515
|
-
* @
|
|
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.
|
|
7516
7550
|
*
|
|
7517
|
-
* @param request DeleteFlowRequest
|
|
7518
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7519
|
-
* @
|
|
7551
|
+
* @param request - DeleteFlowRequest
|
|
7552
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7553
|
+
* @returns DeleteFlowResponse
|
|
7520
7554
|
*/
|
|
7521
7555
|
async deleteFlowWithOptions(request, runtime) {
|
|
7522
7556
|
tea_util_1.default.validateModel(request);
|
|
@@ -7544,23 +7578,24 @@ class Client extends openapi_client_1.default {
|
|
|
7544
7578
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteFlowResponse({}));
|
|
7545
7579
|
}
|
|
7546
7580
|
/**
|
|
7547
|
-
*
|
|
7581
|
+
* Deletes a Flow. Only Flows in the DRAFT state can be deleted.
|
|
7548
7582
|
*
|
|
7549
|
-
* @
|
|
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.
|
|
7550
7585
|
*
|
|
7551
|
-
* @param request DeleteFlowRequest
|
|
7552
|
-
* @
|
|
7586
|
+
* @param request - DeleteFlowRequest
|
|
7587
|
+
* @returns DeleteFlowResponse
|
|
7553
7588
|
*/
|
|
7554
7589
|
async deleteFlow(request) {
|
|
7555
7590
|
let runtime = new $Util.RuntimeOptions({});
|
|
7556
7591
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
7557
7592
|
}
|
|
7558
7593
|
/**
|
|
7559
|
-
*
|
|
7594
|
+
* 删除消息发送二维码
|
|
7560
7595
|
*
|
|
7561
|
-
* @param request DeletePhoneMessageQrdlRequest
|
|
7562
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7563
|
-
* @
|
|
7596
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
7597
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7598
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
7564
7599
|
*/
|
|
7565
7600
|
async deletePhoneMessageQrdlWithOptions(request, runtime) {
|
|
7566
7601
|
tea_util_1.default.validateModel(request);
|
|
@@ -7591,21 +7626,21 @@ class Client extends openapi_client_1.default {
|
|
|
7591
7626
|
return $tea.cast(await this.callApi(params, req, runtime), new DeletePhoneMessageQrdlResponse({}));
|
|
7592
7627
|
}
|
|
7593
7628
|
/**
|
|
7594
|
-
*
|
|
7629
|
+
* 删除消息发送二维码
|
|
7595
7630
|
*
|
|
7596
|
-
* @param request DeletePhoneMessageQrdlRequest
|
|
7597
|
-
* @
|
|
7631
|
+
* @param request - DeletePhoneMessageQrdlRequest
|
|
7632
|
+
* @returns DeletePhoneMessageQrdlResponse
|
|
7598
7633
|
*/
|
|
7599
7634
|
async deletePhoneMessageQrdl(request) {
|
|
7600
7635
|
let runtime = new $Util.RuntimeOptions({});
|
|
7601
7636
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
7602
7637
|
}
|
|
7603
7638
|
/**
|
|
7604
|
-
*
|
|
7639
|
+
* 弃用Flow
|
|
7605
7640
|
*
|
|
7606
|
-
* @param request DeprecateFlowRequest
|
|
7607
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7608
|
-
* @
|
|
7641
|
+
* @param request - DeprecateFlowRequest
|
|
7642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7643
|
+
* @returns DeprecateFlowResponse
|
|
7609
7644
|
*/
|
|
7610
7645
|
async deprecateFlowWithOptions(request, runtime) {
|
|
7611
7646
|
tea_util_1.default.validateModel(request);
|
|
@@ -7633,23 +7668,24 @@ class Client extends openapi_client_1.default {
|
|
|
7633
7668
|
return $tea.cast(await this.callApi(params, req, runtime), new DeprecateFlowResponse({}));
|
|
7634
7669
|
}
|
|
7635
7670
|
/**
|
|
7636
|
-
*
|
|
7671
|
+
* 弃用Flow
|
|
7637
7672
|
*
|
|
7638
|
-
* @param request DeprecateFlowRequest
|
|
7639
|
-
* @
|
|
7673
|
+
* @param request - DeprecateFlowRequest
|
|
7674
|
+
* @returns DeprecateFlowResponse
|
|
7640
7675
|
*/
|
|
7641
7676
|
async deprecateFlow(request) {
|
|
7642
7677
|
let runtime = new $Util.RuntimeOptions({});
|
|
7643
7678
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
7644
7679
|
}
|
|
7645
7680
|
/**
|
|
7646
|
-
*
|
|
7681
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
7647
7682
|
*
|
|
7648
|
-
* @
|
|
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.
|
|
7649
7685
|
*
|
|
7650
|
-
* @param request EnableWhatsappROIMetricRequest
|
|
7651
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7652
|
-
* @
|
|
7686
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
7687
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7688
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
7653
7689
|
*/
|
|
7654
7690
|
async enableWhatsappROIMetricWithOptions(request, runtime) {
|
|
7655
7691
|
tea_util_1.default.validateModel(request);
|
|
@@ -7677,25 +7713,27 @@ class Client extends openapi_client_1.default {
|
|
|
7677
7713
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableWhatsappROIMetricResponse({}));
|
|
7678
7714
|
}
|
|
7679
7715
|
/**
|
|
7680
|
-
*
|
|
7716
|
+
* Enables the statistics on the metrics that are related to WhatsApp.
|
|
7681
7717
|
*
|
|
7682
|
-
* @
|
|
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.
|
|
7683
7720
|
*
|
|
7684
|
-
* @param request EnableWhatsappROIMetricRequest
|
|
7685
|
-
* @
|
|
7721
|
+
* @param request - EnableWhatsappROIMetricRequest
|
|
7722
|
+
* @returns EnableWhatsappROIMetricResponse
|
|
7686
7723
|
*/
|
|
7687
7724
|
async enableWhatsappROIMetric(request) {
|
|
7688
7725
|
let runtime = new $Util.RuntimeOptions({});
|
|
7689
7726
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
7690
7727
|
}
|
|
7691
7728
|
/**
|
|
7692
|
-
*
|
|
7729
|
+
* Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7693
7730
|
*
|
|
7694
|
-
* @
|
|
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.
|
|
7695
7733
|
*
|
|
7696
|
-
* @param request GetChatappPhoneNumberMetricRequest
|
|
7697
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7698
|
-
* @
|
|
7734
|
+
* @param request - GetChatappPhoneNumberMetricRequest
|
|
7735
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7736
|
+
* @returns GetChatappPhoneNumberMetricResponse
|
|
7699
7737
|
*/
|
|
7700
7738
|
async getChatappPhoneNumberMetricWithOptions(request, runtime) {
|
|
7701
7739
|
tea_util_1.default.validateModel(request);
|
|
@@ -7735,26 +7773,28 @@ class Client extends openapi_client_1.default {
|
|
|
7735
7773
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappPhoneNumberMetricResponse({}));
|
|
7736
7774
|
}
|
|
7737
7775
|
/**
|
|
7738
|
-
*
|
|
7776
|
+
* Queries the number of messages that are sent by using a phone number by a specific metric.
|
|
7739
7777
|
*
|
|
7740
|
-
* @
|
|
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.
|
|
7741
7780
|
*
|
|
7742
|
-
* @param request GetChatappPhoneNumberMetricRequest
|
|
7743
|
-
* @
|
|
7781
|
+
* @param request - GetChatappPhoneNumberMetricRequest
|
|
7782
|
+
* @returns GetChatappPhoneNumberMetricResponse
|
|
7744
7783
|
*/
|
|
7745
7784
|
async getChatappPhoneNumberMetric(request) {
|
|
7746
7785
|
let runtime = new $Util.RuntimeOptions({});
|
|
7747
7786
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
7748
7787
|
}
|
|
7749
7788
|
/**
|
|
7750
|
-
*
|
|
7789
|
+
* Queries the information of a message template.
|
|
7751
7790
|
*
|
|
7752
|
-
* @
|
|
7791
|
+
* @remarks
|
|
7792
|
+
* ### QPS limit
|
|
7753
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.
|
|
7754
7794
|
*
|
|
7755
|
-
* @param request GetChatappTemplateDetailRequest
|
|
7756
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7757
|
-
* @
|
|
7795
|
+
* @param request - GetChatappTemplateDetailRequest
|
|
7796
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7797
|
+
* @returns GetChatappTemplateDetailResponse
|
|
7758
7798
|
*/
|
|
7759
7799
|
async getChatappTemplateDetailWithOptions(request, runtime) {
|
|
7760
7800
|
tea_util_1.default.validateModel(request);
|
|
@@ -7797,26 +7837,28 @@ class Client extends openapi_client_1.default {
|
|
|
7797
7837
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateDetailResponse({}));
|
|
7798
7838
|
}
|
|
7799
7839
|
/**
|
|
7800
|
-
*
|
|
7840
|
+
* Queries the information of a message template.
|
|
7801
7841
|
*
|
|
7802
|
-
* @
|
|
7842
|
+
* @remarks
|
|
7843
|
+
* ### QPS limit
|
|
7803
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.
|
|
7804
7845
|
*
|
|
7805
|
-
* @param request GetChatappTemplateDetailRequest
|
|
7806
|
-
* @
|
|
7846
|
+
* @param request - GetChatappTemplateDetailRequest
|
|
7847
|
+
* @returns GetChatappTemplateDetailResponse
|
|
7807
7848
|
*/
|
|
7808
7849
|
async getChatappTemplateDetail(request) {
|
|
7809
7850
|
let runtime = new $Util.RuntimeOptions({});
|
|
7810
7851
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
7811
7852
|
}
|
|
7812
7853
|
/**
|
|
7813
|
-
*
|
|
7854
|
+
* Queries the metrics about a marketing template.
|
|
7814
7855
|
*
|
|
7815
|
-
* @
|
|
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.
|
|
7816
7858
|
*
|
|
7817
|
-
* @param request GetChatappTemplateMetricRequest
|
|
7818
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7819
|
-
* @
|
|
7859
|
+
* @param request - GetChatappTemplateMetricRequest
|
|
7860
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7861
|
+
* @returns GetChatappTemplateMetricResponse
|
|
7820
7862
|
*/
|
|
7821
7863
|
async getChatappTemplateMetricWithOptions(request, runtime) {
|
|
7822
7864
|
tea_util_1.default.validateModel(request);
|
|
@@ -7862,25 +7904,27 @@ class Client extends openapi_client_1.default {
|
|
|
7862
7904
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappTemplateMetricResponse({}));
|
|
7863
7905
|
}
|
|
7864
7906
|
/**
|
|
7865
|
-
*
|
|
7907
|
+
* Queries the metrics about a marketing template.
|
|
7866
7908
|
*
|
|
7867
|
-
* @
|
|
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.
|
|
7868
7911
|
*
|
|
7869
|
-
* @param request GetChatappTemplateMetricRequest
|
|
7870
|
-
* @
|
|
7912
|
+
* @param request - GetChatappTemplateMetricRequest
|
|
7913
|
+
* @returns GetChatappTemplateMetricResponse
|
|
7871
7914
|
*/
|
|
7872
7915
|
async getChatappTemplateMetric(request) {
|
|
7873
7916
|
let runtime = new $Util.RuntimeOptions({});
|
|
7874
7917
|
return await this.getChatappTemplateMetricWithOptions(request, runtime);
|
|
7875
7918
|
}
|
|
7876
7919
|
/**
|
|
7877
|
-
*
|
|
7920
|
+
* Obtains the authentication information that is used to upload a file.
|
|
7878
7921
|
*
|
|
7879
|
-
* @
|
|
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.
|
|
7880
7924
|
*
|
|
7881
|
-
* @param request GetChatappUploadAuthorizationRequest
|
|
7882
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7883
|
-
* @
|
|
7925
|
+
* @param request - GetChatappUploadAuthorizationRequest
|
|
7926
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7927
|
+
* @returns GetChatappUploadAuthorizationResponse
|
|
7884
7928
|
*/
|
|
7885
7929
|
async getChatappUploadAuthorizationWithOptions(request, runtime) {
|
|
7886
7930
|
tea_util_1.default.validateModel(request);
|
|
@@ -7905,25 +7949,27 @@ class Client extends openapi_client_1.default {
|
|
|
7905
7949
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappUploadAuthorizationResponse({}));
|
|
7906
7950
|
}
|
|
7907
7951
|
/**
|
|
7908
|
-
*
|
|
7952
|
+
* Obtains the authentication information that is used to upload a file.
|
|
7909
7953
|
*
|
|
7910
|
-
* @
|
|
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.
|
|
7911
7956
|
*
|
|
7912
|
-
* @param request GetChatappUploadAuthorizationRequest
|
|
7913
|
-
* @
|
|
7957
|
+
* @param request - GetChatappUploadAuthorizationRequest
|
|
7958
|
+
* @returns GetChatappUploadAuthorizationResponse
|
|
7914
7959
|
*/
|
|
7915
7960
|
async getChatappUploadAuthorization(request) {
|
|
7916
7961
|
let runtime = new $Util.RuntimeOptions({});
|
|
7917
7962
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
7918
7963
|
}
|
|
7919
7964
|
/**
|
|
7920
|
-
*
|
|
7965
|
+
* Obtains a verification code.
|
|
7921
7966
|
*
|
|
7922
|
-
* @
|
|
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.
|
|
7923
7969
|
*
|
|
7924
|
-
* @param request GetChatappVerifyCodeRequest
|
|
7925
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7926
|
-
* @
|
|
7970
|
+
* @param request - GetChatappVerifyCodeRequest
|
|
7971
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7972
|
+
* @returns GetChatappVerifyCodeResponse
|
|
7927
7973
|
*/
|
|
7928
7974
|
async getChatappVerifyCodeWithOptions(request, runtime) {
|
|
7929
7975
|
tea_util_1.default.validateModel(request);
|
|
@@ -7966,25 +8012,27 @@ class Client extends openapi_client_1.default {
|
|
|
7966
8012
|
return $tea.cast(await this.callApi(params, req, runtime), new GetChatappVerifyCodeResponse({}));
|
|
7967
8013
|
}
|
|
7968
8014
|
/**
|
|
7969
|
-
*
|
|
8015
|
+
* Obtains a verification code.
|
|
7970
8016
|
*
|
|
7971
|
-
* @
|
|
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.
|
|
7972
8019
|
*
|
|
7973
|
-
* @param request GetChatappVerifyCodeRequest
|
|
7974
|
-
* @
|
|
8020
|
+
* @param request - GetChatappVerifyCodeRequest
|
|
8021
|
+
* @returns GetChatappVerifyCodeResponse
|
|
7975
8022
|
*/
|
|
7976
8023
|
async getChatappVerifyCode(request) {
|
|
7977
8024
|
let runtime = new $Util.RuntimeOptions({});
|
|
7978
8025
|
return await this.getChatappVerifyCodeWithOptions(request, runtime);
|
|
7979
8026
|
}
|
|
7980
8027
|
/**
|
|
7981
|
-
*
|
|
8028
|
+
* Queries the business settings of a phone number.
|
|
7982
8029
|
*
|
|
7983
|
-
* @
|
|
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.
|
|
7984
8032
|
*
|
|
7985
|
-
* @param request GetCommerceSettingRequest
|
|
7986
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
7987
|
-
* @
|
|
8033
|
+
* @param request - GetCommerceSettingRequest
|
|
8034
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8035
|
+
* @returns GetCommerceSettingResponse
|
|
7988
8036
|
*/
|
|
7989
8037
|
async getCommerceSettingWithOptions(request, runtime) {
|
|
7990
8038
|
tea_util_1.default.validateModel(request);
|
|
@@ -8021,23 +8069,24 @@ class Client extends openapi_client_1.default {
|
|
|
8021
8069
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCommerceSettingResponse({}));
|
|
8022
8070
|
}
|
|
8023
8071
|
/**
|
|
8024
|
-
*
|
|
8072
|
+
* Queries the business settings of a phone number.
|
|
8025
8073
|
*
|
|
8026
|
-
* @
|
|
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.
|
|
8027
8076
|
*
|
|
8028
|
-
* @param request GetCommerceSettingRequest
|
|
8029
|
-
* @
|
|
8077
|
+
* @param request - GetCommerceSettingRequest
|
|
8078
|
+
* @returns GetCommerceSettingResponse
|
|
8030
8079
|
*/
|
|
8031
8080
|
async getCommerceSetting(request) {
|
|
8032
8081
|
let runtime = new $Util.RuntimeOptions({});
|
|
8033
8082
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
8034
8083
|
}
|
|
8035
8084
|
/**
|
|
8036
|
-
*
|
|
8085
|
+
* 获取号码欢迎消息设置信息
|
|
8037
8086
|
*
|
|
8038
|
-
* @param request GetConversationalAutomationRequest
|
|
8039
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8040
|
-
* @
|
|
8087
|
+
* @param request - GetConversationalAutomationRequest
|
|
8088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8089
|
+
* @returns GetConversationalAutomationResponse
|
|
8041
8090
|
*/
|
|
8042
8091
|
async getConversationalAutomationWithOptions(request, runtime) {
|
|
8043
8092
|
tea_util_1.default.validateModel(request);
|
|
@@ -8074,23 +8123,24 @@ class Client extends openapi_client_1.default {
|
|
|
8074
8123
|
return $tea.cast(await this.callApi(params, req, runtime), new GetConversationalAutomationResponse({}));
|
|
8075
8124
|
}
|
|
8076
8125
|
/**
|
|
8077
|
-
*
|
|
8126
|
+
* 获取号码欢迎消息设置信息
|
|
8078
8127
|
*
|
|
8079
|
-
* @param request GetConversationalAutomationRequest
|
|
8080
|
-
* @
|
|
8128
|
+
* @param request - GetConversationalAutomationRequest
|
|
8129
|
+
* @returns GetConversationalAutomationResponse
|
|
8081
8130
|
*/
|
|
8082
8131
|
async getConversationalAutomation(request) {
|
|
8083
8132
|
let runtime = new $Util.RuntimeOptions({});
|
|
8084
8133
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
8085
8134
|
}
|
|
8086
8135
|
/**
|
|
8087
|
-
*
|
|
8136
|
+
* Queries the information about a Flow.
|
|
8088
8137
|
*
|
|
8089
|
-
* @
|
|
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.
|
|
8090
8140
|
*
|
|
8091
|
-
* @param request GetFlowRequest
|
|
8092
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8093
|
-
* @
|
|
8141
|
+
* @param request - GetFlowRequest
|
|
8142
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8143
|
+
* @returns GetFlowResponse
|
|
8094
8144
|
*/
|
|
8095
8145
|
async getFlowWithOptions(request, runtime) {
|
|
8096
8146
|
tea_util_1.default.validateModel(request);
|
|
@@ -8118,23 +8168,24 @@ class Client extends openapi_client_1.default {
|
|
|
8118
8168
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowResponse({}));
|
|
8119
8169
|
}
|
|
8120
8170
|
/**
|
|
8121
|
-
*
|
|
8171
|
+
* Queries the information about a Flow.
|
|
8122
8172
|
*
|
|
8123
|
-
* @
|
|
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.
|
|
8124
8175
|
*
|
|
8125
|
-
* @param request GetFlowRequest
|
|
8126
|
-
* @
|
|
8176
|
+
* @param request - GetFlowRequest
|
|
8177
|
+
* @returns GetFlowResponse
|
|
8127
8178
|
*/
|
|
8128
8179
|
async getFlow(request) {
|
|
8129
8180
|
let runtime = new $Util.RuntimeOptions({});
|
|
8130
8181
|
return await this.getFlowWithOptions(request, runtime);
|
|
8131
8182
|
}
|
|
8132
8183
|
/**
|
|
8133
|
-
*
|
|
8184
|
+
* 获取flow的JSON文件
|
|
8134
8185
|
*
|
|
8135
|
-
* @param request GetFlowJSONAssestRequest
|
|
8136
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8137
|
-
* @
|
|
8186
|
+
* @param request - GetFlowJSONAssestRequest
|
|
8187
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8188
|
+
* @returns GetFlowJSONAssestResponse
|
|
8138
8189
|
*/
|
|
8139
8190
|
async getFlowJSONAssestWithOptions(request, runtime) {
|
|
8140
8191
|
tea_util_1.default.validateModel(request);
|
|
@@ -8162,23 +8213,24 @@ class Client extends openapi_client_1.default {
|
|
|
8162
8213
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowJSONAssestResponse({}));
|
|
8163
8214
|
}
|
|
8164
8215
|
/**
|
|
8165
|
-
*
|
|
8216
|
+
* 获取flow的JSON文件
|
|
8166
8217
|
*
|
|
8167
|
-
* @param request GetFlowJSONAssestRequest
|
|
8168
|
-
* @
|
|
8218
|
+
* @param request - GetFlowJSONAssestRequest
|
|
8219
|
+
* @returns GetFlowJSONAssestResponse
|
|
8169
8220
|
*/
|
|
8170
8221
|
async getFlowJSONAssest(request) {
|
|
8171
8222
|
let runtime = new $Util.RuntimeOptions({});
|
|
8172
8223
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
8173
8224
|
}
|
|
8174
8225
|
/**
|
|
8175
|
-
*
|
|
8226
|
+
* Obtains the preview URL of a Flow.
|
|
8176
8227
|
*
|
|
8177
|
-
* @
|
|
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.
|
|
8178
8230
|
*
|
|
8179
|
-
* @param request GetFlowPreviewUrlRequest
|
|
8180
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8181
|
-
* @
|
|
8231
|
+
* @param request - GetFlowPreviewUrlRequest
|
|
8232
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8233
|
+
* @returns GetFlowPreviewUrlResponse
|
|
8182
8234
|
*/
|
|
8183
8235
|
async getFlowPreviewUrlWithOptions(request, runtime) {
|
|
8184
8236
|
tea_util_1.default.validateModel(request);
|
|
@@ -8206,25 +8258,27 @@ class Client extends openapi_client_1.default {
|
|
|
8206
8258
|
return $tea.cast(await this.callApi(params, req, runtime), new GetFlowPreviewUrlResponse({}));
|
|
8207
8259
|
}
|
|
8208
8260
|
/**
|
|
8209
|
-
*
|
|
8261
|
+
* Obtains the preview URL of a Flow.
|
|
8210
8262
|
*
|
|
8211
|
-
* @
|
|
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.
|
|
8212
8265
|
*
|
|
8213
|
-
* @param request GetFlowPreviewUrlRequest
|
|
8214
|
-
* @
|
|
8266
|
+
* @param request - GetFlowPreviewUrlRequest
|
|
8267
|
+
* @returns GetFlowPreviewUrlResponse
|
|
8215
8268
|
*/
|
|
8216
8269
|
async getFlowPreviewUrl(request) {
|
|
8217
8270
|
let runtime = new $Util.RuntimeOptions({});
|
|
8218
8271
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
8219
8272
|
}
|
|
8220
8273
|
/**
|
|
8221
|
-
*
|
|
8274
|
+
* The phone number.
|
|
8222
8275
|
*
|
|
8223
|
-
* @
|
|
8276
|
+
* @remarks
|
|
8277
|
+
* The ID of the phone number.
|
|
8224
8278
|
*
|
|
8225
|
-
* @param request GetMigrationVerifyCodeRequest
|
|
8226
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8227
|
-
* @
|
|
8279
|
+
* @param request - GetMigrationVerifyCodeRequest
|
|
8280
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8281
|
+
* @returns GetMigrationVerifyCodeResponse
|
|
8228
8282
|
*/
|
|
8229
8283
|
async getMigrationVerifyCodeWithOptions(request, runtime) {
|
|
8230
8284
|
tea_util_1.default.validateModel(request);
|
|
@@ -8258,23 +8312,24 @@ class Client extends openapi_client_1.default {
|
|
|
8258
8312
|
return $tea.cast(await this.callApi(params, req, runtime), new GetMigrationVerifyCodeResponse({}));
|
|
8259
8313
|
}
|
|
8260
8314
|
/**
|
|
8261
|
-
*
|
|
8315
|
+
* The phone number.
|
|
8262
8316
|
*
|
|
8263
|
-
* @
|
|
8317
|
+
* @remarks
|
|
8318
|
+
* The ID of the phone number.
|
|
8264
8319
|
*
|
|
8265
|
-
* @param request GetMigrationVerifyCodeRequest
|
|
8266
|
-
* @
|
|
8320
|
+
* @param request - GetMigrationVerifyCodeRequest
|
|
8321
|
+
* @returns GetMigrationVerifyCodeResponse
|
|
8267
8322
|
*/
|
|
8268
8323
|
async getMigrationVerifyCode(request) {
|
|
8269
8324
|
let runtime = new $Util.RuntimeOptions({});
|
|
8270
8325
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
8271
8326
|
}
|
|
8272
8327
|
/**
|
|
8273
|
-
*
|
|
8328
|
+
* 根据Code获取权限
|
|
8274
8329
|
*
|
|
8275
|
-
* @param tmpReq GetPermissionByCodeRequest
|
|
8276
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8277
|
-
* @
|
|
8330
|
+
* @param tmpReq - GetPermissionByCodeRequest
|
|
8331
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8332
|
+
* @returns GetPermissionByCodeResponse
|
|
8278
8333
|
*/
|
|
8279
8334
|
async getPermissionByCodeWithOptions(tmpReq, runtime) {
|
|
8280
8335
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8310,21 +8365,21 @@ class Client extends openapi_client_1.default {
|
|
|
8310
8365
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPermissionByCodeResponse({}));
|
|
8311
8366
|
}
|
|
8312
8367
|
/**
|
|
8313
|
-
*
|
|
8368
|
+
* 根据Code获取权限
|
|
8314
8369
|
*
|
|
8315
|
-
* @param request GetPermissionByCodeRequest
|
|
8316
|
-
* @
|
|
8370
|
+
* @param request - GetPermissionByCodeRequest
|
|
8371
|
+
* @returns GetPermissionByCodeResponse
|
|
8317
8372
|
*/
|
|
8318
8373
|
async getPermissionByCode(request) {
|
|
8319
8374
|
let runtime = new $Util.RuntimeOptions({});
|
|
8320
8375
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
8321
8376
|
}
|
|
8322
8377
|
/**
|
|
8323
|
-
*
|
|
8378
|
+
* 获取号码的公钥
|
|
8324
8379
|
*
|
|
8325
|
-
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
8326
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8327
|
-
* @
|
|
8380
|
+
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
8381
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8382
|
+
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
8328
8383
|
*/
|
|
8329
8384
|
async getPhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
8330
8385
|
tea_util_1.default.validateModel(request);
|
|
@@ -8352,23 +8407,24 @@ class Client extends openapi_client_1.default {
|
|
|
8352
8407
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneEncryptionPublicKeyResponse({}));
|
|
8353
8408
|
}
|
|
8354
8409
|
/**
|
|
8355
|
-
*
|
|
8410
|
+
* 获取号码的公钥
|
|
8356
8411
|
*
|
|
8357
|
-
* @param request GetPhoneEncryptionPublicKeyRequest
|
|
8358
|
-
* @
|
|
8412
|
+
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
8413
|
+
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
8359
8414
|
*/
|
|
8360
8415
|
async getPhoneEncryptionPublicKey(request) {
|
|
8361
8416
|
let runtime = new $Util.RuntimeOptions({});
|
|
8362
8417
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
8363
8418
|
}
|
|
8364
8419
|
/**
|
|
8365
|
-
*
|
|
8420
|
+
* Obtains the verification status of a phone number.
|
|
8366
8421
|
*
|
|
8367
|
-
* @
|
|
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.
|
|
8368
8424
|
*
|
|
8369
|
-
* @param request GetPhoneNumberVerificationStatusRequest
|
|
8370
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8371
|
-
* @
|
|
8425
|
+
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
8426
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8427
|
+
* @returns GetPhoneNumberVerificationStatusResponse
|
|
8372
8428
|
*/
|
|
8373
8429
|
async getPhoneNumberVerificationStatusWithOptions(request, runtime) {
|
|
8374
8430
|
tea_util_1.default.validateModel(request);
|
|
@@ -8396,25 +8452,27 @@ class Client extends openapi_client_1.default {
|
|
|
8396
8452
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPhoneNumberVerificationStatusResponse({}));
|
|
8397
8453
|
}
|
|
8398
8454
|
/**
|
|
8399
|
-
*
|
|
8455
|
+
* Obtains the verification status of a phone number.
|
|
8400
8456
|
*
|
|
8401
|
-
* @
|
|
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.
|
|
8402
8459
|
*
|
|
8403
|
-
* @param request GetPhoneNumberVerificationStatusRequest
|
|
8404
|
-
* @
|
|
8460
|
+
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
8461
|
+
* @returns GetPhoneNumberVerificationStatusResponse
|
|
8405
8462
|
*/
|
|
8406
8463
|
async getPhoneNumberVerificationStatus(request) {
|
|
8407
8464
|
let runtime = new $Util.RuntimeOptions({});
|
|
8408
8465
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
8409
8466
|
}
|
|
8410
8467
|
/**
|
|
8411
|
-
*
|
|
8468
|
+
* Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
8412
8469
|
*
|
|
8413
|
-
* @
|
|
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.
|
|
8414
8472
|
*
|
|
8415
|
-
* @param request GetPreValidatePhoneIdRequest
|
|
8416
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8417
|
-
* @
|
|
8473
|
+
* @param request - GetPreValidatePhoneIdRequest
|
|
8474
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8475
|
+
* @returns GetPreValidatePhoneIdResponse
|
|
8418
8476
|
*/
|
|
8419
8477
|
async getPreValidatePhoneIdWithOptions(request, runtime) {
|
|
8420
8478
|
tea_util_1.default.validateModel(request);
|
|
@@ -8442,25 +8500,27 @@ class Client extends openapi_client_1.default {
|
|
|
8442
8500
|
return $tea.cast(await this.callApi(params, req, runtime), new GetPreValidatePhoneIdResponse({}));
|
|
8443
8501
|
}
|
|
8444
8502
|
/**
|
|
8445
|
-
*
|
|
8503
|
+
* Obtains the ID of a pre-registered phone number used for embedded signup without the need to re-obtain a verification code.
|
|
8446
8504
|
*
|
|
8447
|
-
* @
|
|
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.
|
|
8448
8507
|
*
|
|
8449
|
-
* @param request GetPreValidatePhoneIdRequest
|
|
8450
|
-
* @
|
|
8508
|
+
* @param request - GetPreValidatePhoneIdRequest
|
|
8509
|
+
* @returns GetPreValidatePhoneIdResponse
|
|
8451
8510
|
*/
|
|
8452
8511
|
async getPreValidatePhoneId(request) {
|
|
8453
8512
|
let runtime = new $Util.RuntimeOptions({});
|
|
8454
8513
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
8455
8514
|
}
|
|
8456
8515
|
/**
|
|
8457
|
-
*
|
|
8516
|
+
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
8458
8517
|
*
|
|
8459
|
-
* @
|
|
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.
|
|
8460
8520
|
*
|
|
8461
|
-
* @param request GetWhatsappConnectionCatalogRequest
|
|
8462
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8463
|
-
* @
|
|
8521
|
+
* @param request - GetWhatsappConnectionCatalogRequest
|
|
8522
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8523
|
+
* @returns GetWhatsappConnectionCatalogResponse
|
|
8464
8524
|
*/
|
|
8465
8525
|
async getWhatsappConnectionCatalogWithOptions(request, runtime) {
|
|
8466
8526
|
tea_util_1.default.validateModel(request);
|
|
@@ -8497,23 +8557,24 @@ class Client extends openapi_client_1.default {
|
|
|
8497
8557
|
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappConnectionCatalogResponse({}));
|
|
8498
8558
|
}
|
|
8499
8559
|
/**
|
|
8500
|
-
*
|
|
8560
|
+
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
8501
8561
|
*
|
|
8502
|
-
* @
|
|
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.
|
|
8503
8564
|
*
|
|
8504
|
-
* @param request GetWhatsappConnectionCatalogRequest
|
|
8505
|
-
* @
|
|
8565
|
+
* @param request - GetWhatsappConnectionCatalogRequest
|
|
8566
|
+
* @returns GetWhatsappConnectionCatalogResponse
|
|
8506
8567
|
*/
|
|
8507
8568
|
async getWhatsappConnectionCatalog(request) {
|
|
8508
8569
|
let runtime = new $Util.RuntimeOptions({});
|
|
8509
8570
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
8510
8571
|
}
|
|
8511
8572
|
/**
|
|
8512
|
-
*
|
|
8573
|
+
* 获取whatsapp节点信息发送消息健康度
|
|
8513
8574
|
*
|
|
8514
|
-
* @param request GetWhatsappHealthStatusRequest
|
|
8515
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8516
|
-
* @
|
|
8575
|
+
* @param request - GetWhatsappHealthStatusRequest
|
|
8576
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8577
|
+
* @returns GetWhatsappHealthStatusResponse
|
|
8517
8578
|
*/
|
|
8518
8579
|
async getWhatsappHealthStatusWithOptions(request, runtime) {
|
|
8519
8580
|
tea_util_1.default.validateModel(request);
|
|
@@ -8562,23 +8623,24 @@ class Client extends openapi_client_1.default {
|
|
|
8562
8623
|
return $tea.cast(await this.callApi(params, req, runtime), new GetWhatsappHealthStatusResponse({}));
|
|
8563
8624
|
}
|
|
8564
8625
|
/**
|
|
8565
|
-
*
|
|
8626
|
+
* 获取whatsapp节点信息发送消息健康度
|
|
8566
8627
|
*
|
|
8567
|
-
* @param request GetWhatsappHealthStatusRequest
|
|
8568
|
-
* @
|
|
8628
|
+
* @param request - GetWhatsappHealthStatusRequest
|
|
8629
|
+
* @returns GetWhatsappHealthStatusResponse
|
|
8569
8630
|
*/
|
|
8570
8631
|
async getWhatsappHealthStatus(request) {
|
|
8571
8632
|
let runtime = new $Util.RuntimeOptions({});
|
|
8572
8633
|
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
8573
8634
|
}
|
|
8574
8635
|
/**
|
|
8575
|
-
*
|
|
8636
|
+
* Obtains the application ID under the ISV account.
|
|
8576
8637
|
*
|
|
8577
|
-
* @
|
|
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.
|
|
8578
8640
|
*
|
|
8579
|
-
* @param request IsvGetAppIdRequest
|
|
8580
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8581
|
-
* @
|
|
8641
|
+
* @param request - IsvGetAppIdRequest
|
|
8642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8643
|
+
* @returns IsvGetAppIdResponse
|
|
8582
8644
|
*/
|
|
8583
8645
|
async isvGetAppIdWithOptions(request, runtime) {
|
|
8584
8646
|
tea_util_1.default.validateModel(request);
|
|
@@ -8606,26 +8668,28 @@ class Client extends openapi_client_1.default {
|
|
|
8606
8668
|
return $tea.cast(await this.callApi(params, req, runtime), new IsvGetAppIdResponse({}));
|
|
8607
8669
|
}
|
|
8608
8670
|
/**
|
|
8609
|
-
*
|
|
8671
|
+
* Obtains the application ID under the ISV account.
|
|
8610
8672
|
*
|
|
8611
|
-
* @
|
|
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.
|
|
8612
8675
|
*
|
|
8613
|
-
* @param request IsvGetAppIdRequest
|
|
8614
|
-
* @
|
|
8676
|
+
* @param request - IsvGetAppIdRequest
|
|
8677
|
+
* @returns IsvGetAppIdResponse
|
|
8615
8678
|
*/
|
|
8616
8679
|
async isvGetAppId(request) {
|
|
8617
8680
|
let runtime = new $Util.RuntimeOptions({});
|
|
8618
8681
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
8619
8682
|
}
|
|
8620
8683
|
/**
|
|
8621
|
-
*
|
|
8684
|
+
* Queries message templates.
|
|
8622
8685
|
*
|
|
8623
|
-
* @
|
|
8686
|
+
* @remarks
|
|
8687
|
+
* ### QPS limit
|
|
8624
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.
|
|
8625
8689
|
*
|
|
8626
|
-
* @param tmpReq ListChatappTemplateRequest
|
|
8627
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8628
|
-
* @
|
|
8690
|
+
* @param tmpReq - ListChatappTemplateRequest
|
|
8691
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8692
|
+
* @returns ListChatappTemplateResponse
|
|
8629
8693
|
*/
|
|
8630
8694
|
async listChatappTemplateWithOptions(tmpReq, runtime) {
|
|
8631
8695
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8679,26 +8743,28 @@ class Client extends openapi_client_1.default {
|
|
|
8679
8743
|
return $tea.cast(await this.callApi(params, req, runtime), new ListChatappTemplateResponse({}));
|
|
8680
8744
|
}
|
|
8681
8745
|
/**
|
|
8682
|
-
*
|
|
8746
|
+
* Queries message templates.
|
|
8683
8747
|
*
|
|
8684
|
-
* @
|
|
8748
|
+
* @remarks
|
|
8749
|
+
* ### QPS limit
|
|
8685
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.
|
|
8686
8751
|
*
|
|
8687
|
-
* @param request ListChatappTemplateRequest
|
|
8688
|
-
* @
|
|
8752
|
+
* @param request - ListChatappTemplateRequest
|
|
8753
|
+
* @returns ListChatappTemplateResponse
|
|
8689
8754
|
*/
|
|
8690
8755
|
async listChatappTemplate(request) {
|
|
8691
8756
|
let runtime = new $Util.RuntimeOptions({});
|
|
8692
8757
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
8693
8758
|
}
|
|
8694
8759
|
/**
|
|
8695
|
-
*
|
|
8760
|
+
* Queries a list of Flows.
|
|
8696
8761
|
*
|
|
8697
|
-
* @
|
|
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.
|
|
8698
8764
|
*
|
|
8699
|
-
* @param tmpReq ListFlowRequest
|
|
8700
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8701
|
-
* @
|
|
8765
|
+
* @param tmpReq - ListFlowRequest
|
|
8766
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8767
|
+
* @returns ListFlowResponse
|
|
8702
8768
|
*/
|
|
8703
8769
|
async listFlowWithOptions(tmpReq, runtime) {
|
|
8704
8770
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8734,23 +8800,24 @@ class Client extends openapi_client_1.default {
|
|
|
8734
8800
|
return $tea.cast(await this.callApi(params, req, runtime), new ListFlowResponse({}));
|
|
8735
8801
|
}
|
|
8736
8802
|
/**
|
|
8737
|
-
*
|
|
8803
|
+
* Queries a list of Flows.
|
|
8738
8804
|
*
|
|
8739
|
-
* @
|
|
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.
|
|
8740
8807
|
*
|
|
8741
|
-
* @param request ListFlowRequest
|
|
8742
|
-
* @
|
|
8808
|
+
* @param request - ListFlowRequest
|
|
8809
|
+
* @returns ListFlowResponse
|
|
8743
8810
|
*/
|
|
8744
8811
|
async listFlow(request) {
|
|
8745
8812
|
let runtime = new $Util.RuntimeOptions({});
|
|
8746
8813
|
return await this.listFlowWithOptions(request, runtime);
|
|
8747
8814
|
}
|
|
8748
8815
|
/**
|
|
8749
|
-
*
|
|
8816
|
+
* 查询消息发送二维码
|
|
8750
8817
|
*
|
|
8751
|
-
* @param request ListPhoneMessageQrdlRequest
|
|
8752
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8753
|
-
* @
|
|
8818
|
+
* @param request - ListPhoneMessageQrdlRequest
|
|
8819
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8820
|
+
* @returns ListPhoneMessageQrdlResponse
|
|
8754
8821
|
*/
|
|
8755
8822
|
async listPhoneMessageQrdlWithOptions(request, runtime) {
|
|
8756
8823
|
tea_util_1.default.validateModel(request);
|
|
@@ -8778,23 +8845,24 @@ class Client extends openapi_client_1.default {
|
|
|
8778
8845
|
return $tea.cast(await this.callApi(params, req, runtime), new ListPhoneMessageQrdlResponse({}));
|
|
8779
8846
|
}
|
|
8780
8847
|
/**
|
|
8781
|
-
*
|
|
8848
|
+
* 查询消息发送二维码
|
|
8782
8849
|
*
|
|
8783
|
-
* @param request ListPhoneMessageQrdlRequest
|
|
8784
|
-
* @
|
|
8850
|
+
* @param request - ListPhoneMessageQrdlRequest
|
|
8851
|
+
* @returns ListPhoneMessageQrdlResponse
|
|
8785
8852
|
*/
|
|
8786
8853
|
async listPhoneMessageQrdl(request) {
|
|
8787
8854
|
let runtime = new $Util.RuntimeOptions({});
|
|
8788
8855
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
8789
8856
|
}
|
|
8790
8857
|
/**
|
|
8791
|
-
*
|
|
8858
|
+
* Queries products in a product catalog.
|
|
8792
8859
|
*
|
|
8793
|
-
* @
|
|
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.
|
|
8794
8862
|
*
|
|
8795
|
-
* @param request ListProductRequest
|
|
8796
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8797
|
-
* @
|
|
8863
|
+
* @param request - ListProductRequest
|
|
8864
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8865
|
+
* @returns ListProductResponse
|
|
8798
8866
|
*/
|
|
8799
8867
|
async listProductWithOptions(request, runtime) {
|
|
8800
8868
|
tea_util_1.default.validateModel(request);
|
|
@@ -8846,25 +8914,27 @@ class Client extends openapi_client_1.default {
|
|
|
8846
8914
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductResponse({}));
|
|
8847
8915
|
}
|
|
8848
8916
|
/**
|
|
8849
|
-
*
|
|
8917
|
+
* Queries products in a product catalog.
|
|
8850
8918
|
*
|
|
8851
|
-
* @
|
|
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.
|
|
8852
8921
|
*
|
|
8853
|
-
* @param request ListProductRequest
|
|
8854
|
-
* @
|
|
8922
|
+
* @param request - ListProductRequest
|
|
8923
|
+
* @returns ListProductResponse
|
|
8855
8924
|
*/
|
|
8856
8925
|
async listProduct(request) {
|
|
8857
8926
|
let runtime = new $Util.RuntimeOptions({});
|
|
8858
8927
|
return await this.listProductWithOptions(request, runtime);
|
|
8859
8928
|
}
|
|
8860
8929
|
/**
|
|
8861
|
-
*
|
|
8930
|
+
* Queries the product catalogs on the Business Manager platform of Meta.
|
|
8862
8931
|
*
|
|
8863
|
-
* @
|
|
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.
|
|
8864
8934
|
*
|
|
8865
|
-
* @param request ListProductCatalogRequest
|
|
8866
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8867
|
-
* @
|
|
8935
|
+
* @param request - ListProductCatalogRequest
|
|
8936
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8937
|
+
* @returns ListProductCatalogResponse
|
|
8868
8938
|
*/
|
|
8869
8939
|
async listProductCatalogWithOptions(request, runtime) {
|
|
8870
8940
|
tea_util_1.default.validateModel(request);
|
|
@@ -8913,25 +8983,27 @@ class Client extends openapi_client_1.default {
|
|
|
8913
8983
|
return $tea.cast(await this.callApi(params, req, runtime), new ListProductCatalogResponse({}));
|
|
8914
8984
|
}
|
|
8915
8985
|
/**
|
|
8916
|
-
*
|
|
8986
|
+
* Queries the product catalogs on the Business Manager platform of Meta.
|
|
8917
8987
|
*
|
|
8918
|
-
* @
|
|
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.
|
|
8919
8990
|
*
|
|
8920
|
-
* @param request ListProductCatalogRequest
|
|
8921
|
-
* @
|
|
8991
|
+
* @param request - ListProductCatalogRequest
|
|
8992
|
+
* @returns ListProductCatalogResponse
|
|
8922
8993
|
*/
|
|
8923
8994
|
async listProductCatalog(request) {
|
|
8924
8995
|
let runtime = new $Util.RuntimeOptions({});
|
|
8925
8996
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
8926
8997
|
}
|
|
8927
8998
|
/**
|
|
8928
|
-
*
|
|
8999
|
+
* The code of the message template.
|
|
8929
9000
|
*
|
|
8930
|
-
* @
|
|
9001
|
+
* @remarks
|
|
9002
|
+
* The name of the message template.
|
|
8931
9003
|
*
|
|
8932
|
-
* @param tmpReq ModifyChatappTemplateRequest
|
|
8933
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
8934
|
-
* @
|
|
9004
|
+
* @param tmpReq - ModifyChatappTemplateRequest
|
|
9005
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9006
|
+
* @returns ModifyChatappTemplateResponse
|
|
8935
9007
|
*/
|
|
8936
9008
|
async modifyChatappTemplateWithOptions(tmpReq, runtime) {
|
|
8937
9009
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -8994,25 +9066,27 @@ class Client extends openapi_client_1.default {
|
|
|
8994
9066
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyChatappTemplateResponse({}));
|
|
8995
9067
|
}
|
|
8996
9068
|
/**
|
|
8997
|
-
*
|
|
9069
|
+
* The code of the message template.
|
|
8998
9070
|
*
|
|
8999
|
-
* @
|
|
9071
|
+
* @remarks
|
|
9072
|
+
* The name of the message template.
|
|
9000
9073
|
*
|
|
9001
|
-
* @param request ModifyChatappTemplateRequest
|
|
9002
|
-
* @
|
|
9074
|
+
* @param request - ModifyChatappTemplateRequest
|
|
9075
|
+
* @returns ModifyChatappTemplateResponse
|
|
9003
9076
|
*/
|
|
9004
9077
|
async modifyChatappTemplate(request) {
|
|
9005
9078
|
let runtime = new $Util.RuntimeOptions({});
|
|
9006
9079
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
9007
9080
|
}
|
|
9008
9081
|
/**
|
|
9009
|
-
*
|
|
9082
|
+
* Modifies the basic information about a Flow.
|
|
9010
9083
|
*
|
|
9011
|
-
* @
|
|
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.
|
|
9012
9086
|
*
|
|
9013
|
-
* @param tmpReq ModifyFlowRequest
|
|
9014
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9015
|
-
* @
|
|
9087
|
+
* @param tmpReq - ModifyFlowRequest
|
|
9088
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9089
|
+
* @returns ModifyFlowResponse
|
|
9016
9090
|
*/
|
|
9017
9091
|
async modifyFlowWithOptions(tmpReq, runtime) {
|
|
9018
9092
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9051,25 +9125,27 @@ class Client extends openapi_client_1.default {
|
|
|
9051
9125
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyFlowResponse({}));
|
|
9052
9126
|
}
|
|
9053
9127
|
/**
|
|
9054
|
-
*
|
|
9128
|
+
* Modifies the basic information about a Flow.
|
|
9055
9129
|
*
|
|
9056
|
-
* @
|
|
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.
|
|
9057
9132
|
*
|
|
9058
|
-
* @param request ModifyFlowRequest
|
|
9059
|
-
* @
|
|
9133
|
+
* @param request - ModifyFlowRequest
|
|
9134
|
+
* @returns ModifyFlowResponse
|
|
9060
9135
|
*/
|
|
9061
9136
|
async modifyFlow(request) {
|
|
9062
9137
|
let runtime = new $Util.RuntimeOptions({});
|
|
9063
9138
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
9064
9139
|
}
|
|
9065
9140
|
/**
|
|
9066
|
-
*
|
|
9141
|
+
* The ID of the request.
|
|
9067
9142
|
*
|
|
9068
|
-
* @
|
|
9143
|
+
* @remarks
|
|
9144
|
+
* ModifyPhoneBusinessProfile
|
|
9069
9145
|
*
|
|
9070
|
-
* @param tmpReq ModifyPhoneBusinessProfileRequest
|
|
9071
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9072
|
-
* @
|
|
9146
|
+
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
9147
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9148
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
9073
9149
|
*/
|
|
9074
9150
|
async modifyPhoneBusinessProfileWithOptions(tmpReq, runtime) {
|
|
9075
9151
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9132,25 +9208,27 @@ class Client extends openapi_client_1.default {
|
|
|
9132
9208
|
return $tea.cast(await this.callApi(params, req, runtime), new ModifyPhoneBusinessProfileResponse({}));
|
|
9133
9209
|
}
|
|
9134
9210
|
/**
|
|
9135
|
-
*
|
|
9211
|
+
* The ID of the request.
|
|
9136
9212
|
*
|
|
9137
|
-
* @
|
|
9213
|
+
* @remarks
|
|
9214
|
+
* ModifyPhoneBusinessProfile
|
|
9138
9215
|
*
|
|
9139
|
-
* @param request ModifyPhoneBusinessProfileRequest
|
|
9140
|
-
* @
|
|
9216
|
+
* @param request - ModifyPhoneBusinessProfileRequest
|
|
9217
|
+
* @returns ModifyPhoneBusinessProfileResponse
|
|
9141
9218
|
*/
|
|
9142
9219
|
async modifyPhoneBusinessProfile(request) {
|
|
9143
9220
|
let runtime = new $Util.RuntimeOptions({});
|
|
9144
9221
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
9145
9222
|
}
|
|
9146
9223
|
/**
|
|
9147
|
-
*
|
|
9224
|
+
* Publishes a Flow.
|
|
9148
9225
|
*
|
|
9149
|
-
* @
|
|
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.
|
|
9150
9228
|
*
|
|
9151
|
-
* @param request PublishFlowRequest
|
|
9152
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9153
|
-
* @
|
|
9229
|
+
* @param request - PublishFlowRequest
|
|
9230
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9231
|
+
* @returns PublishFlowResponse
|
|
9154
9232
|
*/
|
|
9155
9233
|
async publishFlowWithOptions(request, runtime) {
|
|
9156
9234
|
tea_util_1.default.validateModel(request);
|
|
@@ -9178,25 +9256,27 @@ class Client extends openapi_client_1.default {
|
|
|
9178
9256
|
return $tea.cast(await this.callApi(params, req, runtime), new PublishFlowResponse({}));
|
|
9179
9257
|
}
|
|
9180
9258
|
/**
|
|
9181
|
-
*
|
|
9259
|
+
* Publishes a Flow.
|
|
9182
9260
|
*
|
|
9183
|
-
* @
|
|
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.
|
|
9184
9263
|
*
|
|
9185
|
-
* @param request PublishFlowRequest
|
|
9186
|
-
* @
|
|
9264
|
+
* @param request - PublishFlowRequest
|
|
9265
|
+
* @returns PublishFlowResponse
|
|
9187
9266
|
*/
|
|
9188
9267
|
async publishFlow(request) {
|
|
9189
9268
|
let runtime = new $Util.RuntimeOptions({});
|
|
9190
9269
|
return await this.publishFlowWithOptions(request, runtime);
|
|
9191
9270
|
}
|
|
9192
9271
|
/**
|
|
9193
|
-
*
|
|
9272
|
+
* Query the WhatsApp Business account you associate with ChatApp.
|
|
9194
9273
|
*
|
|
9195
|
-
* @
|
|
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.
|
|
9196
9276
|
*
|
|
9197
|
-
* @param request QueryChatappBindWabaRequest
|
|
9198
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9199
|
-
* @
|
|
9277
|
+
* @param request - QueryChatappBindWabaRequest
|
|
9278
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9279
|
+
* @returns QueryChatappBindWabaResponse
|
|
9200
9280
|
*/
|
|
9201
9281
|
async queryChatappBindWabaWithOptions(request, runtime) {
|
|
9202
9282
|
tea_util_1.default.validateModel(request);
|
|
@@ -9233,25 +9313,27 @@ class Client extends openapi_client_1.default {
|
|
|
9233
9313
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappBindWabaResponse({}));
|
|
9234
9314
|
}
|
|
9235
9315
|
/**
|
|
9236
|
-
*
|
|
9316
|
+
* Query the WhatsApp Business account you associate with ChatApp.
|
|
9237
9317
|
*
|
|
9238
|
-
* @
|
|
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.
|
|
9239
9320
|
*
|
|
9240
|
-
* @param request QueryChatappBindWabaRequest
|
|
9241
|
-
* @
|
|
9321
|
+
* @param request - QueryChatappBindWabaRequest
|
|
9322
|
+
* @returns QueryChatappBindWabaResponse
|
|
9242
9323
|
*/
|
|
9243
9324
|
async queryChatappBindWaba(request) {
|
|
9244
9325
|
let runtime = new $Util.RuntimeOptions({});
|
|
9245
9326
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
9246
9327
|
}
|
|
9247
9328
|
/**
|
|
9248
|
-
*
|
|
9329
|
+
* Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
9249
9330
|
*
|
|
9250
|
-
* @
|
|
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.
|
|
9251
9333
|
*
|
|
9252
|
-
* @param request QueryChatappPhoneNumbersRequest
|
|
9253
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9254
|
-
* @
|
|
9334
|
+
* @param request - QueryChatappPhoneNumbersRequest
|
|
9335
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9336
|
+
* @returns QueryChatappPhoneNumbersResponse
|
|
9255
9337
|
*/
|
|
9256
9338
|
async queryChatappPhoneNumbersWithOptions(request, runtime) {
|
|
9257
9339
|
tea_util_1.default.validateModel(request);
|
|
@@ -9282,25 +9364,27 @@ class Client extends openapi_client_1.default {
|
|
|
9282
9364
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryChatappPhoneNumbersResponse({}));
|
|
9283
9365
|
}
|
|
9284
9366
|
/**
|
|
9285
|
-
*
|
|
9367
|
+
* Queries phone numbers that receive messages and statuses of these numbers under a specified user.
|
|
9286
9368
|
*
|
|
9287
|
-
* @
|
|
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.
|
|
9288
9371
|
*
|
|
9289
|
-
* @param request QueryChatappPhoneNumbersRequest
|
|
9290
|
-
* @
|
|
9372
|
+
* @param request - QueryChatappPhoneNumbersRequest
|
|
9373
|
+
* @returns QueryChatappPhoneNumbersResponse
|
|
9291
9374
|
*/
|
|
9292
9375
|
async queryChatappPhoneNumbers(request) {
|
|
9293
9376
|
let runtime = new $Util.RuntimeOptions({});
|
|
9294
9377
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
9295
9378
|
}
|
|
9296
9379
|
/**
|
|
9297
|
-
*
|
|
9380
|
+
* Queries the business information of the account to which a specified phone number is bound.
|
|
9298
9381
|
*
|
|
9299
|
-
* @
|
|
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.
|
|
9300
9384
|
*
|
|
9301
|
-
* @param request QueryPhoneBusinessProfileRequest
|
|
9302
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9303
|
-
* @
|
|
9385
|
+
* @param request - QueryPhoneBusinessProfileRequest
|
|
9386
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9387
|
+
* @returns QueryPhoneBusinessProfileResponse
|
|
9304
9388
|
*/
|
|
9305
9389
|
async queryPhoneBusinessProfileWithOptions(request, runtime) {
|
|
9306
9390
|
tea_util_1.default.validateModel(request);
|
|
@@ -9337,25 +9421,27 @@ class Client extends openapi_client_1.default {
|
|
|
9337
9421
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryPhoneBusinessProfileResponse({}));
|
|
9338
9422
|
}
|
|
9339
9423
|
/**
|
|
9340
|
-
*
|
|
9424
|
+
* Queries the business information of the account to which a specified phone number is bound.
|
|
9341
9425
|
*
|
|
9342
|
-
* @
|
|
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.
|
|
9343
9428
|
*
|
|
9344
|
-
* @param request QueryPhoneBusinessProfileRequest
|
|
9345
|
-
* @
|
|
9429
|
+
* @param request - QueryPhoneBusinessProfileRequest
|
|
9430
|
+
* @returns QueryPhoneBusinessProfileResponse
|
|
9346
9431
|
*/
|
|
9347
9432
|
async queryPhoneBusinessProfile(request) {
|
|
9348
9433
|
let runtime = new $Util.RuntimeOptions({});
|
|
9349
9434
|
return await this.queryPhoneBusinessProfileWithOptions(request, runtime);
|
|
9350
9435
|
}
|
|
9351
9436
|
/**
|
|
9352
|
-
*
|
|
9437
|
+
* Queries the business information about the WhatsApp Business account (WABA).
|
|
9353
9438
|
*
|
|
9354
|
-
* @
|
|
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.
|
|
9355
9441
|
*
|
|
9356
|
-
* @param request QueryWabaBusinessInfoRequest
|
|
9357
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9358
|
-
* @
|
|
9442
|
+
* @param request - QueryWabaBusinessInfoRequest
|
|
9443
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9444
|
+
* @returns QueryWabaBusinessInfoResponse
|
|
9359
9445
|
*/
|
|
9360
9446
|
async queryWabaBusinessInfoWithOptions(request, runtime) {
|
|
9361
9447
|
tea_util_1.default.validateModel(request);
|
|
@@ -9392,26 +9478,28 @@ class Client extends openapi_client_1.default {
|
|
|
9392
9478
|
return $tea.cast(await this.callApi(params, req, runtime), new QueryWabaBusinessInfoResponse({}));
|
|
9393
9479
|
}
|
|
9394
9480
|
/**
|
|
9395
|
-
*
|
|
9481
|
+
* Queries the business information about the WhatsApp Business account (WABA).
|
|
9396
9482
|
*
|
|
9397
|
-
* @
|
|
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.
|
|
9398
9485
|
*
|
|
9399
|
-
* @param request QueryWabaBusinessInfoRequest
|
|
9400
|
-
* @
|
|
9486
|
+
* @param request - QueryWabaBusinessInfoRequest
|
|
9487
|
+
* @returns QueryWabaBusinessInfoResponse
|
|
9401
9488
|
*/
|
|
9402
9489
|
async queryWabaBusinessInfo(request) {
|
|
9403
9490
|
let runtime = new $Util.RuntimeOptions({});
|
|
9404
9491
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
9405
9492
|
}
|
|
9406
9493
|
/**
|
|
9407
|
-
*
|
|
9494
|
+
* Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
9408
9495
|
*
|
|
9409
|
-
* @
|
|
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.
|
|
9410
9498
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
9411
9499
|
*
|
|
9412
|
-
* @param tmpReq SendChatappMassMessageRequest
|
|
9413
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9414
|
-
* @
|
|
9500
|
+
* @param tmpReq - SendChatappMassMessageRequest
|
|
9501
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9502
|
+
* @returns SendChatappMassMessageResponse
|
|
9415
9503
|
*/
|
|
9416
9504
|
async sendChatappMassMessageWithOptions(tmpReq, runtime) {
|
|
9417
9505
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9489,26 +9577,28 @@ class Client extends openapi_client_1.default {
|
|
|
9489
9577
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMassMessageResponse({}));
|
|
9490
9578
|
}
|
|
9491
9579
|
/**
|
|
9492
|
-
*
|
|
9580
|
+
* Sends a message to multiple phone numbers by using ChatAPP at a time.
|
|
9493
9581
|
*
|
|
9494
|
-
* @
|
|
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.
|
|
9495
9584
|
* You can send messages to up to 1,000 phone numbers in a single request.
|
|
9496
9585
|
*
|
|
9497
|
-
* @param request SendChatappMassMessageRequest
|
|
9498
|
-
* @
|
|
9586
|
+
* @param request - SendChatappMassMessageRequest
|
|
9587
|
+
* @returns SendChatappMassMessageResponse
|
|
9499
9588
|
*/
|
|
9500
9589
|
async sendChatappMassMessage(request) {
|
|
9501
9590
|
let runtime = new $Util.RuntimeOptions({});
|
|
9502
9591
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
9503
9592
|
}
|
|
9504
9593
|
/**
|
|
9505
|
-
*
|
|
9594
|
+
* Sends messages by using ChatAPP.
|
|
9506
9595
|
*
|
|
9507
|
-
* @
|
|
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.
|
|
9508
9598
|
*
|
|
9509
|
-
* @param tmpReq SendChatappMessageRequest
|
|
9510
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9511
|
-
* @
|
|
9599
|
+
* @param tmpReq - SendChatappMessageRequest
|
|
9600
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9601
|
+
* @returns SendChatappMessageResponse
|
|
9512
9602
|
*/
|
|
9513
9603
|
async sendChatappMessageWithOptions(tmpReq, runtime) {
|
|
9514
9604
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9624,25 +9714,27 @@ class Client extends openapi_client_1.default {
|
|
|
9624
9714
|
return $tea.cast(await this.callApi(params, req, runtime), new SendChatappMessageResponse({}));
|
|
9625
9715
|
}
|
|
9626
9716
|
/**
|
|
9627
|
-
*
|
|
9717
|
+
* Sends messages by using ChatAPP.
|
|
9628
9718
|
*
|
|
9629
|
-
* @
|
|
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.
|
|
9630
9721
|
*
|
|
9631
|
-
* @param request SendChatappMessageRequest
|
|
9632
|
-
* @
|
|
9722
|
+
* @param request - SendChatappMessageRequest
|
|
9723
|
+
* @returns SendChatappMessageResponse
|
|
9633
9724
|
*/
|
|
9634
9725
|
async sendChatappMessage(request) {
|
|
9635
9726
|
let runtime = new $Util.RuntimeOptions({});
|
|
9636
9727
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
9637
9728
|
}
|
|
9638
9729
|
/**
|
|
9639
|
-
*
|
|
9730
|
+
* Submits the agreement information for independent software vendor (ISV) customers.
|
|
9640
9731
|
*
|
|
9641
|
-
* @
|
|
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.
|
|
9642
9734
|
*
|
|
9643
|
-
* @param request SubmitIsvCustomerTermsRequest
|
|
9644
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9645
|
-
* @
|
|
9735
|
+
* @param request - SubmitIsvCustomerTermsRequest
|
|
9736
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9737
|
+
* @returns SubmitIsvCustomerTermsResponse
|
|
9646
9738
|
*/
|
|
9647
9739
|
async submitIsvCustomerTermsWithOptions(request, runtime) {
|
|
9648
9740
|
tea_util_1.default.validateModel(request);
|
|
@@ -9685,25 +9777,27 @@ class Client extends openapi_client_1.default {
|
|
|
9685
9777
|
return $tea.cast(await this.callApi(params, req, runtime), new SubmitIsvCustomerTermsResponse({}));
|
|
9686
9778
|
}
|
|
9687
9779
|
/**
|
|
9688
|
-
*
|
|
9780
|
+
* Submits the agreement information for independent software vendor (ISV) customers.
|
|
9689
9781
|
*
|
|
9690
|
-
* @
|
|
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.
|
|
9691
9784
|
*
|
|
9692
|
-
* @param request SubmitIsvCustomerTermsRequest
|
|
9693
|
-
* @
|
|
9785
|
+
* @param request - SubmitIsvCustomerTermsRequest
|
|
9786
|
+
* @returns SubmitIsvCustomerTermsResponse
|
|
9694
9787
|
*/
|
|
9695
9788
|
async submitIsvCustomerTerms(request) {
|
|
9696
9789
|
let runtime = new $Util.RuntimeOptions({});
|
|
9697
9790
|
return await this.submitIsvCustomerTermsWithOptions(request, runtime);
|
|
9698
9791
|
}
|
|
9699
9792
|
/**
|
|
9700
|
-
*
|
|
9793
|
+
* Modifies the callback URL of an account.
|
|
9701
9794
|
*
|
|
9702
|
-
* @
|
|
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.
|
|
9703
9797
|
*
|
|
9704
|
-
* @param request UpdateAccountWebhookRequest
|
|
9705
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9706
|
-
* @
|
|
9798
|
+
* @param request - UpdateAccountWebhookRequest
|
|
9799
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9800
|
+
* @returns UpdateAccountWebhookResponse
|
|
9707
9801
|
*/
|
|
9708
9802
|
async updateAccountWebhookWithOptions(request, runtime) {
|
|
9709
9803
|
tea_util_1.default.validateModel(request);
|
|
@@ -9737,25 +9831,27 @@ class Client extends openapi_client_1.default {
|
|
|
9737
9831
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAccountWebhookResponse({}));
|
|
9738
9832
|
}
|
|
9739
9833
|
/**
|
|
9740
|
-
*
|
|
9834
|
+
* Modifies the callback URL of an account.
|
|
9741
9835
|
*
|
|
9742
|
-
* @
|
|
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.
|
|
9743
9838
|
*
|
|
9744
|
-
* @param request UpdateAccountWebhookRequest
|
|
9745
|
-
* @
|
|
9839
|
+
* @param request - UpdateAccountWebhookRequest
|
|
9840
|
+
* @returns UpdateAccountWebhookResponse
|
|
9746
9841
|
*/
|
|
9747
9842
|
async updateAccountWebhook(request) {
|
|
9748
9843
|
let runtime = new $Util.RuntimeOptions({});
|
|
9749
9844
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9750
9845
|
}
|
|
9751
9846
|
/**
|
|
9752
|
-
*
|
|
9847
|
+
* Modifies the business settings of a phone number.
|
|
9753
9848
|
*
|
|
9754
|
-
* @
|
|
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.
|
|
9755
9851
|
*
|
|
9756
|
-
* @param request UpdateCommerceSettingRequest
|
|
9757
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9758
|
-
* @
|
|
9852
|
+
* @param request - UpdateCommerceSettingRequest
|
|
9853
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9854
|
+
* @returns UpdateCommerceSettingResponse
|
|
9759
9855
|
*/
|
|
9760
9856
|
async updateCommerceSettingWithOptions(request, runtime) {
|
|
9761
9857
|
tea_util_1.default.validateModel(request);
|
|
@@ -9798,23 +9894,24 @@ class Client extends openapi_client_1.default {
|
|
|
9798
9894
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateCommerceSettingResponse({}));
|
|
9799
9895
|
}
|
|
9800
9896
|
/**
|
|
9801
|
-
*
|
|
9897
|
+
* Modifies the business settings of a phone number.
|
|
9802
9898
|
*
|
|
9803
|
-
* @
|
|
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.
|
|
9804
9901
|
*
|
|
9805
|
-
* @param request UpdateCommerceSettingRequest
|
|
9806
|
-
* @
|
|
9902
|
+
* @param request - UpdateCommerceSettingRequest
|
|
9903
|
+
* @returns UpdateCommerceSettingResponse
|
|
9807
9904
|
*/
|
|
9808
9905
|
async updateCommerceSetting(request) {
|
|
9809
9906
|
let runtime = new $Util.RuntimeOptions({});
|
|
9810
9907
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
9811
9908
|
}
|
|
9812
9909
|
/**
|
|
9813
|
-
*
|
|
9910
|
+
* 更新号码欢迎消息、命令等属性
|
|
9814
9911
|
*
|
|
9815
|
-
* @param tmpReq UpdateConversationalAutomationRequest
|
|
9816
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9817
|
-
* @
|
|
9912
|
+
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
9913
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9914
|
+
* @returns UpdateConversationalAutomationResponse
|
|
9818
9915
|
*/
|
|
9819
9916
|
async updateConversationalAutomationWithOptions(tmpReq, runtime) {
|
|
9820
9917
|
tea_util_1.default.validateModel(tmpReq);
|
|
@@ -9868,21 +9965,21 @@ class Client extends openapi_client_1.default {
|
|
|
9868
9965
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateConversationalAutomationResponse({}));
|
|
9869
9966
|
}
|
|
9870
9967
|
/**
|
|
9871
|
-
*
|
|
9968
|
+
* 更新号码欢迎消息、命令等属性
|
|
9872
9969
|
*
|
|
9873
|
-
* @param request UpdateConversationalAutomationRequest
|
|
9874
|
-
* @
|
|
9970
|
+
* @param request - UpdateConversationalAutomationRequest
|
|
9971
|
+
* @returns UpdateConversationalAutomationResponse
|
|
9875
9972
|
*/
|
|
9876
9973
|
async updateConversationalAutomation(request) {
|
|
9877
9974
|
let runtime = new $Util.RuntimeOptions({});
|
|
9878
9975
|
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9879
9976
|
}
|
|
9880
9977
|
/**
|
|
9881
|
-
*
|
|
9978
|
+
* 更新flow的表单内容
|
|
9882
9979
|
*
|
|
9883
|
-
* @param request UpdateFlowJSONAssetRequest
|
|
9884
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9885
|
-
* @
|
|
9980
|
+
* @param request - UpdateFlowJSONAssetRequest
|
|
9981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9982
|
+
* @returns UpdateFlowJSONAssetResponse
|
|
9886
9983
|
*/
|
|
9887
9984
|
async updateFlowJSONAssetWithOptions(request, runtime) {
|
|
9888
9985
|
tea_util_1.default.validateModel(request);
|
|
@@ -9913,21 +10010,21 @@ class Client extends openapi_client_1.default {
|
|
|
9913
10010
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateFlowJSONAssetResponse({}));
|
|
9914
10011
|
}
|
|
9915
10012
|
/**
|
|
9916
|
-
*
|
|
10013
|
+
* 更新flow的表单内容
|
|
9917
10014
|
*
|
|
9918
|
-
* @param request UpdateFlowJSONAssetRequest
|
|
9919
|
-
* @
|
|
10015
|
+
* @param request - UpdateFlowJSONAssetRequest
|
|
10016
|
+
* @returns UpdateFlowJSONAssetResponse
|
|
9920
10017
|
*/
|
|
9921
10018
|
async updateFlowJSONAsset(request) {
|
|
9922
10019
|
let runtime = new $Util.RuntimeOptions({});
|
|
9923
10020
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
9924
10021
|
}
|
|
9925
10022
|
/**
|
|
9926
|
-
*
|
|
10023
|
+
* 更新号码的公钥
|
|
9927
10024
|
*
|
|
9928
|
-
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9929
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9930
|
-
* @
|
|
10025
|
+
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10026
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10027
|
+
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
9931
10028
|
*/
|
|
9932
10029
|
async updatePhoneEncryptionPublicKeyWithOptions(request, runtime) {
|
|
9933
10030
|
tea_util_1.default.validateModel(request);
|
|
@@ -9958,21 +10055,21 @@ class Client extends openapi_client_1.default {
|
|
|
9958
10055
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
9959
10056
|
}
|
|
9960
10057
|
/**
|
|
9961
|
-
*
|
|
10058
|
+
* 更新号码的公钥
|
|
9962
10059
|
*
|
|
9963
|
-
* @param request UpdatePhoneEncryptionPublicKeyRequest
|
|
9964
|
-
* @
|
|
10060
|
+
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10061
|
+
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
9965
10062
|
*/
|
|
9966
10063
|
async updatePhoneEncryptionPublicKey(request) {
|
|
9967
10064
|
let runtime = new $Util.RuntimeOptions({});
|
|
9968
10065
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
9969
10066
|
}
|
|
9970
10067
|
/**
|
|
9971
|
-
*
|
|
10068
|
+
* 修改消息发送二维码
|
|
9972
10069
|
*
|
|
9973
|
-
* @param request UpdatePhoneMessageQrdlRequest
|
|
9974
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
9975
|
-
* @
|
|
10070
|
+
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10071
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10072
|
+
* @returns UpdatePhoneMessageQrdlResponse
|
|
9976
10073
|
*/
|
|
9977
10074
|
async updatePhoneMessageQrdlWithOptions(request, runtime) {
|
|
9978
10075
|
tea_util_1.default.validateModel(request);
|
|
@@ -10009,25 +10106,26 @@ class Client extends openapi_client_1.default {
|
|
|
10009
10106
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneMessageQrdlResponse({}));
|
|
10010
10107
|
}
|
|
10011
10108
|
/**
|
|
10012
|
-
*
|
|
10109
|
+
* 修改消息发送二维码
|
|
10013
10110
|
*
|
|
10014
|
-
* @param request UpdatePhoneMessageQrdlRequest
|
|
10015
|
-
* @
|
|
10111
|
+
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10112
|
+
* @returns UpdatePhoneMessageQrdlResponse
|
|
10016
10113
|
*/
|
|
10017
10114
|
async updatePhoneMessageQrdl(request) {
|
|
10018
10115
|
let runtime = new $Util.RuntimeOptions({});
|
|
10019
10116
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10020
10117
|
}
|
|
10021
10118
|
/**
|
|
10022
|
-
*
|
|
10119
|
+
* The HTTP status code returned.
|
|
10023
10120
|
* * A value of OK indicates that the call is successful.
|
|
10024
10121
|
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
10025
10122
|
*
|
|
10026
|
-
* @
|
|
10123
|
+
* @remarks
|
|
10124
|
+
* The error message returned.
|
|
10027
10125
|
*
|
|
10028
|
-
* @param request UpdatePhoneWebhookRequest
|
|
10029
|
-
* @param runtime runtime options for this request RuntimeOptions
|
|
10030
|
-
* @
|
|
10126
|
+
* @param request - UpdatePhoneWebhookRequest
|
|
10127
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10128
|
+
* @returns UpdatePhoneWebhookResponse
|
|
10031
10129
|
*/
|
|
10032
10130
|
async updatePhoneWebhookWithOptions(request, runtime) {
|
|
10033
10131
|
tea_util_1.default.validateModel(request);
|
|
@@ -10067,14 +10165,15 @@ class Client extends openapi_client_1.default {
|
|
|
10067
10165
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdatePhoneWebhookResponse({}));
|
|
10068
10166
|
}
|
|
10069
10167
|
/**
|
|
10070
|
-
*
|
|
10168
|
+
* The HTTP status code returned.
|
|
10071
10169
|
* * A value of OK indicates that the call is successful.
|
|
10072
10170
|
* * Other values indicate that the call fails. For more information, see [Error codes](https://help.aliyun.com/document_detail/196974.html).
|
|
10073
10171
|
*
|
|
10074
|
-
* @
|
|
10172
|
+
* @remarks
|
|
10173
|
+
* The error message returned.
|
|
10075
10174
|
*
|
|
10076
|
-
* @param request UpdatePhoneWebhookRequest
|
|
10077
|
-
* @
|
|
10175
|
+
* @param request - UpdatePhoneWebhookRequest
|
|
10176
|
+
* @returns UpdatePhoneWebhookResponse
|
|
10078
10177
|
*/
|
|
10079
10178
|
async updatePhoneWebhook(request) {
|
|
10080
10179
|
let runtime = new $Util.RuntimeOptions({});
|