@alicloud/cams20200606 5.3.1 → 5.3.2
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 +168 -170
- package/dist/client.js +174 -173
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +3 -3
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +3 -5
- package/dist/models/AddAddressRecoverSuspendResponseBody.js.map +1 -1
- package/dist/models/AddAuditViberOpenRequest.d.ts +21 -21
- package/dist/models/AddAuditViberOpenResponseBody.d.ts +10 -12
- package/dist/models/AddAuditViberOpenResponseBody.js.map +1 -1
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +5 -5
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/AddChatGroupRequest.d.ts +9 -8
- package/dist/models/AddChatGroupRequest.js.map +1 -1
- package/dist/models/AddChatGroupResponseBody.d.ts +10 -12
- package/dist/models/AddChatGroupResponseBody.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberRequest.d.ts +2 -2
- package/dist/models/AddChatappPhoneNumberResponseBody.d.ts +2 -2
- package/dist/models/AddContactsRequest.d.ts +6 -7
- package/dist/models/AddContactsRequest.js.map +1 -1
- package/dist/models/AddContactsResponseBody.d.ts +5 -5
- package/dist/models/AddContactsShrinkRequest.d.ts +6 -7
- package/dist/models/AddContactsShrinkRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserRequest.d.ts +9 -7
- package/dist/models/AddCustomAudienceUserRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +9 -7
- package/dist/models/AddCustomAudienceUserShrinkRequest.js.map +1 -1
- package/dist/models/AddGroupRequest.d.ts +2 -2
- package/dist/models/AddGroupResponseBody.d.ts +3 -3
- package/dist/models/AddGroupShrinkRequest.d.ts +2 -2
- package/dist/models/AddMarketingFlowRequest.d.ts +13 -13
- package/dist/models/AddMarketingFlowResponseBody.d.ts +6 -6
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +13 -13
- package/dist/models/ArchiveChatappTemplateRequest.d.ts +7 -7
- package/dist/models/ArchiveChatappTemplateResponseBody.d.ts +12 -12
- package/dist/models/ArchiveChatappTemplateShrinkRequest.d.ts +5 -5
- package/dist/models/BindDmAccountRequest.d.ts +5 -5
- package/dist/models/BindDmAccountResponseBody.d.ts +8 -8
- package/dist/models/BindDmAccountShrinkRequest.d.ts +3 -3
- package/dist/models/BindInstagramPageRequest.d.ts +2 -2
- package/dist/models/BindInstagramPageResponseBody.d.ts +3 -3
- package/dist/models/BindMessengerPageRequest.d.ts +2 -2
- package/dist/models/BindMessengerPageResponseBody.d.ts +2 -2
- package/dist/models/ChangeResourceGroupRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +5 -5
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +4 -4
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +6 -6
- package/dist/models/CreateChatFlowRequest.d.ts +16 -7
- package/dist/models/CreateChatFlowRequest.js +5 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +3 -3
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +14 -7
- package/dist/models/CreateChatFlowShrinkRequest.js +2 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +99 -91
- package/dist/models/CreateChatappTemplateRequest.js +2 -0
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +2 -2
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +21 -21
- package/dist/models/CreateInstanceRequest.d.ts +8 -7
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +13 -11
- package/dist/models/CreateInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsRequest.d.ts +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +6 -6
- package/dist/models/DeleteContactsShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteMessengerPageRequest.d.ts +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +5 -5
- package/dist/models/FlowUnbindPhoneRequest.d.ts +3 -3
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +14 -7
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +3 -3
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +5 -5
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +4 -4
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +7 -5
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +91 -80
- package/dist/models/GetChatappTemplateDetailResponseBody.js +2 -0
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListRequest.d.ts +5 -5
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +2 -2
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +5 -5
- package/dist/models/GetMessageCampaignInsightsRequest.d.ts +3 -3
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +14 -14
- package/dist/models/GetViberByRequestNoRequest.d.ts +2 -2
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +45 -45
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +6 -6
- package/dist/models/ListAllGroupsRequest.d.ts +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +5 -5
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +1 -1
- package/dist/models/ListChatappMessageRequest.d.ts +15 -9
- package/dist/models/ListChatappMessageRequest.js.map +1 -1
- package/dist/models/ListChatappMessageResponseBody.d.ts +8 -8
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +15 -9
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateRequest.d.ts +9 -9
- package/dist/models/ListChatappTemplateResponseBody.d.ts +15 -15
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +8 -8
- package/dist/models/ListCustomAudienceRequest.d.ts +6 -6
- package/dist/models/ListCustomAudienceResponseBody.d.ts +13 -15
- package/dist/models/ListCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +5 -5
- package/dist/models/ListDmAccountResponseBody.d.ts +6 -6
- package/dist/models/ListDmTagRequest.d.ts +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +3 -3
- package/dist/models/ListFacebookPostsResponseBody.d.ts +12 -12
- package/dist/models/ListInstagramPostsRequest.d.ts +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +9 -7
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +9 -1
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +2 -2
- package/dist/models/ListMarketingFlowRequest.d.ts +1 -1
- package/dist/models/ListMarketingFlowResponseBody.d.ts +9 -9
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +1 -1
- package/dist/models/ListMessageCampaignRequest.d.ts +8 -8
- package/dist/models/ListMessageCampaignResponseBody.d.ts +11 -11
- package/dist/models/ListMessageCampaignShrinkRequest.d.ts +7 -7
- package/dist/models/ListMessengerSubscriptionTokenRequest.d.ts +3 -3
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +15 -15
- package/dist/models/ListPageAdAccountRequest.d.ts +1 -1
- package/dist/models/ListPageAdAccountResponseBody.d.ts +6 -6
- package/dist/models/ListProductCatalogRequest.d.ts +2 -3
- package/dist/models/ListProductCatalogRequest.js.map +1 -1
- package/dist/models/ListProductCatalogResponseBody.d.ts +5 -5
- package/dist/models/ListWhatAppTemplateRequest.d.ts +1 -1
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +6 -6
- package/dist/models/ModifyChatappTemplateRequest.d.ts +99 -164
- package/dist/models/ModifyChatappTemplateRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +6 -3
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +16 -22
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionRequest.d.ts +5 -5
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +2 -2
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +5 -5
- package/dist/models/QueryChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +17 -20
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +3 -3
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +82 -12
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js.map +1 -1
- package/dist/models/QueryPhoneBusinessProfileRequest.d.ts +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +6 -6
- package/dist/models/QueryWabaBusinessInfoResponseBody.d.ts +1 -1
- package/dist/models/SendChatappMassMessageRequest.d.ts +35 -32
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageResponseBody.d.ts +3 -3
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +20 -20
- package/dist/models/SubmitVerifyCodeResultRequest.d.ts +1 -1
- package/dist/models/SubmitVerifyCodeResultResponseBody.d.ts +6 -6
- package/dist/models/SyncMessageCampaignRequest.d.ts +2 -2
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +9 -9
- package/dist/models/TriggerChatFlowResponseBody.d.ts +3 -0
- package/dist/models/TriggerChatFlowResponseBody.js.map +1 -1
- package/dist/models/UpdateAuditRequestRequest.d.ts +39 -39
- package/dist/models/UpdateAuditRequestResponseBody.d.ts +8 -8
- package/dist/models/UpdateAuditRequestShrinkRequest.d.ts +3 -3
- package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +2 -2
- package/dist/models/UpdateMarketingFlowRequest.d.ts +9 -9
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +5 -5
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +9 -9
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +3 -3
- package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +4 -4
- package/package.json +1 -1
- package/src/client.ts +176 -173
- package/src/models/AddAddressRecoverSuspendRequest.ts +3 -3
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +3 -5
- package/src/models/AddAuditViberOpenRequest.ts +21 -21
- package/src/models/AddAuditViberOpenResponseBody.ts +10 -12
- package/src/models/AddAuditViberOpenShrinkRequest.ts +1 -1
- package/src/models/AddChatGroupInviteLinkRequest.ts +5 -5
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/AddChatGroupRequest.ts +9 -8
- package/src/models/AddChatGroupResponseBody.ts +10 -12
- package/src/models/AddChatappPhoneNumberRequest.ts +2 -2
- package/src/models/AddChatappPhoneNumberResponseBody.ts +2 -2
- package/src/models/AddContactsRequest.ts +6 -7
- package/src/models/AddContactsResponseBody.ts +5 -5
- package/src/models/AddContactsShrinkRequest.ts +6 -7
- package/src/models/AddCustomAudienceUserRequest.ts +9 -7
- package/src/models/AddCustomAudienceUserResponseBody.ts +5 -5
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +9 -7
- package/src/models/AddGroupRequest.ts +2 -2
- package/src/models/AddGroupResponseBody.ts +3 -3
- package/src/models/AddGroupShrinkRequest.ts +2 -2
- package/src/models/AddMarketingFlowRequest.ts +13 -13
- package/src/models/AddMarketingFlowResponseBody.ts +6 -6
- package/src/models/AddMarketingFlowShrinkRequest.ts +13 -13
- package/src/models/ArchiveChatappTemplateRequest.ts +7 -7
- package/src/models/ArchiveChatappTemplateResponseBody.ts +12 -12
- package/src/models/ArchiveChatappTemplateShrinkRequest.ts +5 -5
- package/src/models/BindDmAccountRequest.ts +5 -5
- package/src/models/BindDmAccountResponseBody.ts +8 -8
- package/src/models/BindDmAccountShrinkRequest.ts +3 -3
- package/src/models/BindInstagramPageRequest.ts +2 -2
- package/src/models/BindInstagramPageResponseBody.ts +3 -3
- package/src/models/BindMessengerPageRequest.ts +2 -2
- package/src/models/BindMessengerPageResponseBody.ts +2 -2
- package/src/models/ChangeResourceGroupRequest.ts +1 -1
- package/src/models/ChatappBindWabaRequest.ts +1 -1
- package/src/models/ChatappBindWabaResponseBody.ts +5 -5
- package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +4 -4
- package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +2 -2
- package/src/models/ChatappVerifyAndRegisterRequest.ts +1 -1
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +6 -6
- package/src/models/CreateChatFlowRequest.ts +19 -7
- package/src/models/CreateChatFlowResponseBody.ts +3 -3
- package/src/models/CreateChatFlowShrinkRequest.ts +16 -7
- package/src/models/CreateChatappTemplateRequest.ts +101 -91
- package/src/models/CreateChatappTemplateResponseBody.ts +2 -2
- package/src/models/CreateChatappTemplateShrinkRequest.ts +21 -21
- package/src/models/CreateInstanceRequest.ts +8 -7
- package/src/models/CreateInstanceResponseBody.ts +13 -11
- package/src/models/DeleteContactsRequest.ts +1 -1
- package/src/models/DeleteContactsResponseBody.ts +6 -6
- package/src/models/DeleteContactsShrinkRequest.ts +1 -1
- package/src/models/DeleteMessengerPageRequest.ts +1 -1
- package/src/models/DeleteMessengerPageResponseBody.ts +5 -5
- package/src/models/FlowUnbindPhoneRequest.ts +3 -3
- package/src/models/FlowUnbindPhoneResponseBody.ts +14 -7
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +3 -3
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +1 -1
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +5 -5
- package/src/models/GetChatappOpenStatusResponseBody.ts +4 -4
- package/src/models/GetChatappTemplateDetailRequest.ts +7 -5
- package/src/models/GetChatappTemplateDetailResponseBody.ts +93 -80
- package/src/models/GetDownloadExcelListRequest.ts +5 -5
- package/src/models/GetDownloadExcelListResponseBody.ts +2 -2
- package/src/models/GetDownloadExcelListShrinkRequest.ts +5 -5
- package/src/models/GetMessageCampaignInsightsRequest.ts +3 -3
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +14 -14
- package/src/models/GetViberByRequestNoRequest.ts +2 -2
- package/src/models/GetViberByRequestNoResponseBody.ts +45 -45
- package/src/models/GetWhatsappConversionApiResponseBody.ts +6 -6
- package/src/models/ListAllGroupsRequest.ts +1 -1
- package/src/models/ListAllGroupsResponseBody.ts +5 -5
- package/src/models/ListAllGroupsShrinkRequest.ts +1 -1
- package/src/models/ListChatappMessageRequest.ts +15 -9
- package/src/models/ListChatappMessageResponseBody.ts +8 -8
- package/src/models/ListChatappMessageShrinkRequest.ts +15 -9
- package/src/models/ListChatappTemplateRequest.ts +9 -9
- package/src/models/ListChatappTemplateResponseBody.ts +15 -15
- package/src/models/ListChatappTemplateShrinkRequest.ts +8 -8
- package/src/models/ListCustomAudienceRequest.ts +6 -6
- package/src/models/ListCustomAudienceResponseBody.ts +13 -15
- package/src/models/ListCustomAudienceShrinkRequest.ts +5 -5
- package/src/models/ListDmAccountResponseBody.ts +6 -6
- package/src/models/ListDmTagRequest.ts +1 -1
- package/src/models/ListDmTagResponseBody.ts +3 -3
- package/src/models/ListFacebookPostsResponseBody.ts +12 -12
- package/src/models/ListInstagramPostsRequest.ts +1 -1
- package/src/models/ListInstagramPostsResponseBody.ts +9 -7
- package/src/models/ListInstanceRequest.ts +9 -1
- package/src/models/ListInstanceResponseBody.ts +2 -2
- package/src/models/ListMarketingFlowRequest.ts +1 -1
- package/src/models/ListMarketingFlowResponseBody.ts +9 -9
- package/src/models/ListMarketingFlowShrinkRequest.ts +1 -1
- package/src/models/ListMessageCampaignRequest.ts +8 -8
- package/src/models/ListMessageCampaignResponseBody.ts +11 -11
- package/src/models/ListMessageCampaignShrinkRequest.ts +7 -7
- package/src/models/ListMessengerSubscriptionTokenRequest.ts +3 -3
- package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +15 -15
- package/src/models/ListPageAdAccountRequest.ts +1 -1
- package/src/models/ListPageAdAccountResponseBody.ts +6 -6
- package/src/models/ListProductCatalogRequest.ts +2 -3
- package/src/models/ListProductCatalogResponseBody.ts +5 -5
- package/src/models/ListWhatAppTemplateRequest.ts +1 -1
- package/src/models/ListWhatAppTemplateResponseBody.ts +6 -6
- package/src/models/ModifyChatappTemplateRequest.ts +101 -164
- package/src/models/ModifyChatappTemplateResponseBody.ts +6 -3
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +16 -22
- package/src/models/OfflineFlowVersionRequest.ts +5 -5
- package/src/models/OfflineFlowVersionResponseBody.ts +2 -2
- package/src/models/OfflineFlowVersionShrinkRequest.ts +5 -5
- package/src/models/QueryChatappBindWabaRequest.ts +1 -1
- package/src/models/QueryChatappBindWabaResponseBody.ts +17 -20
- package/src/models/QueryChatappPhoneNumbersRequest.ts +3 -3
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +82 -12
- package/src/models/QueryPhoneBusinessProfileRequest.ts +1 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +6 -6
- package/src/models/QueryWabaBusinessInfoResponseBody.ts +1 -1
- package/src/models/SendChatappMassMessageRequest.ts +35 -32
- package/src/models/SendChatappMassMessageResponseBody.ts +3 -3
- package/src/models/SendChatappMassMessageShrinkRequest.ts +20 -20
- package/src/models/SubmitVerifyCodeResultRequest.ts +1 -1
- package/src/models/SubmitVerifyCodeResultResponseBody.ts +6 -6
- package/src/models/SyncMessageCampaignRequest.ts +2 -2
- package/src/models/SyncMessageCampaignResponseBody.ts +9 -9
- package/src/models/TriggerChatFlowResponseBody.ts +3 -0
- package/src/models/UpdateAuditRequestRequest.ts +39 -39
- package/src/models/UpdateAuditRequestResponseBody.ts +8 -8
- package/src/models/UpdateAuditRequestShrinkRequest.ts +3 -3
- package/src/models/UpdateFlowJsonassetResponseBody.ts +2 -2
- package/src/models/UpdateMarketingFlowRequest.ts +9 -9
- package/src/models/UpdateMarketingFlowResponseBody.ts +5 -5
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +9 -9
- package/src/models/UpdatePhoneWebhookRequest.ts +3 -3
- package/src/models/UpdatePhoneWebhookResponseBody.ts +4 -4
package/src/client.ts
CHANGED
|
@@ -12,9 +12,6 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
|
-
this._endpointMap = {
|
|
16
|
-
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
17
|
-
};
|
|
18
15
|
this.checkConfig(config);
|
|
19
16
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
20
17
|
}
|
|
@@ -101,7 +98,7 @@ export default class Client extends OpenApi {
|
|
|
101
98
|
}
|
|
102
99
|
|
|
103
100
|
/**
|
|
104
|
-
*
|
|
101
|
+
* Registers a Viber account and creates an account.
|
|
105
102
|
*
|
|
106
103
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
107
104
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -158,7 +155,7 @@ export default class Client extends OpenApi {
|
|
|
158
155
|
}
|
|
159
156
|
|
|
160
157
|
/**
|
|
161
|
-
*
|
|
158
|
+
* Registers a Viber account and creates an account.
|
|
162
159
|
*
|
|
163
160
|
* @param request - AddAuditViberOpenRequest
|
|
164
161
|
* @returns AddAuditViberOpenResponse
|
|
@@ -172,11 +169,10 @@ export default class Client extends OpenApi {
|
|
|
172
169
|
* Creates an IM group.
|
|
173
170
|
*
|
|
174
171
|
* @remarks
|
|
175
|
-
* >Notice:
|
|
176
|
-
*
|
|
177
|
-
* -
|
|
178
|
-
* -
|
|
179
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
172
|
+
* >Notice: The feature of creating IM groups through API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
173
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
174
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
175
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
180
176
|
*
|
|
181
177
|
* @param request - AddChatGroupRequest
|
|
182
178
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -242,11 +238,10 @@ export default class Client extends OpenApi {
|
|
|
242
238
|
* Creates an IM group.
|
|
243
239
|
*
|
|
244
240
|
* @remarks
|
|
245
|
-
* >Notice:
|
|
246
|
-
*
|
|
247
|
-
* -
|
|
248
|
-
* -
|
|
249
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
241
|
+
* >Notice: The feature of creating IM groups through API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
242
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
243
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
244
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
250
245
|
*
|
|
251
246
|
* @param request - AddChatGroupRequest
|
|
252
247
|
* @returns AddChatGroupResponse
|
|
@@ -257,15 +252,15 @@ export default class Client extends OpenApi {
|
|
|
257
252
|
}
|
|
258
253
|
|
|
259
254
|
/**
|
|
260
|
-
* Adds an invite link
|
|
255
|
+
* Adds an IM group invite link.
|
|
261
256
|
*
|
|
262
257
|
* @remarks
|
|
263
|
-
* >
|
|
264
|
-
* - Before calling this operation, make sure that you have
|
|
265
|
-
* - If you
|
|
266
|
-
* - After
|
|
267
|
-
* - Currently, members can join an IM group
|
|
268
|
-
* - The maximum number of members in a WhatsApp
|
|
258
|
+
* <notice>The feature to add an IM group invite link through the API is a Meta beta feature. Contact your account manager to request allowlist access.</notice>
|
|
259
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
260
|
+
* - If you have not created an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
261
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
262
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
263
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
269
264
|
*
|
|
270
265
|
* @param request - AddChatGroupInviteLinkRequest
|
|
271
266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -320,15 +315,15 @@ export default class Client extends OpenApi {
|
|
|
320
315
|
}
|
|
321
316
|
|
|
322
317
|
/**
|
|
323
|
-
* Adds an invite link
|
|
318
|
+
* Adds an IM group invite link.
|
|
324
319
|
*
|
|
325
320
|
* @remarks
|
|
326
|
-
* >
|
|
327
|
-
* - Before calling this operation, make sure that you have
|
|
328
|
-
* - If you
|
|
329
|
-
* - After
|
|
330
|
-
* - Currently, members can join an IM group
|
|
331
|
-
* - The maximum number of members in a WhatsApp
|
|
321
|
+
* <notice>The feature to add an IM group invite link through the API is a Meta beta feature. Contact your account manager to request allowlist access.</notice>
|
|
322
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
323
|
+
* - If you have not created an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
324
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
325
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
326
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
332
327
|
*
|
|
333
328
|
* @param request - AddChatGroupInviteLinkRequest
|
|
334
329
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -339,10 +334,10 @@ export default class Client extends OpenApi {
|
|
|
339
334
|
}
|
|
340
335
|
|
|
341
336
|
/**
|
|
342
|
-
* Adds a phone number to
|
|
337
|
+
* Adds a phone number to WABA.
|
|
343
338
|
*
|
|
344
339
|
* @remarks
|
|
345
|
-
* The
|
|
340
|
+
* The QPS limit per user for this API operation is 10 requests per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation as needed.
|
|
346
341
|
*
|
|
347
342
|
* @param request - AddChatappPhoneNumberRequest
|
|
348
343
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -401,10 +396,10 @@ export default class Client extends OpenApi {
|
|
|
401
396
|
}
|
|
402
397
|
|
|
403
398
|
/**
|
|
404
|
-
* Adds a phone number to
|
|
399
|
+
* Adds a phone number to WABA.
|
|
405
400
|
*
|
|
406
401
|
* @remarks
|
|
407
|
-
* The
|
|
402
|
+
* The QPS limit per user for this API operation is 10 requests per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation as needed.
|
|
408
403
|
*
|
|
409
404
|
* @param request - AddChatappPhoneNumberRequest
|
|
410
405
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -511,10 +506,10 @@ export default class Client extends OpenApi {
|
|
|
511
506
|
}
|
|
512
507
|
|
|
513
508
|
/**
|
|
514
|
-
* Adds
|
|
509
|
+
* Adds a custom audience.
|
|
515
510
|
*
|
|
516
511
|
* @remarks
|
|
517
|
-
* After
|
|
512
|
+
* After you submit the users of a custom audience to Meta, Meta discards the matching data if fewer than 100 users are successfully matched. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user records in a single request.
|
|
518
513
|
*
|
|
519
514
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
520
515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -587,10 +582,10 @@ export default class Client extends OpenApi {
|
|
|
587
582
|
}
|
|
588
583
|
|
|
589
584
|
/**
|
|
590
|
-
* Adds
|
|
585
|
+
* Adds a custom audience.
|
|
591
586
|
*
|
|
592
587
|
* @remarks
|
|
593
|
-
* After
|
|
588
|
+
* After you submit the users of a custom audience to Meta, Meta discards the matching data if fewer than 100 users are successfully matched. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user records in a single request.
|
|
594
589
|
*
|
|
595
590
|
* @param request - AddCustomAudienceUserRequest
|
|
596
591
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -805,7 +800,7 @@ export default class Client extends OpenApi {
|
|
|
805
800
|
}
|
|
806
801
|
|
|
807
802
|
/**
|
|
808
|
-
* Archives
|
|
803
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
809
804
|
*
|
|
810
805
|
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
811
806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -854,7 +849,7 @@ export default class Client extends OpenApi {
|
|
|
854
849
|
}
|
|
855
850
|
|
|
856
851
|
/**
|
|
857
|
-
* Archives
|
|
852
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
858
853
|
*
|
|
859
854
|
* @param request - ArchiveChatappTemplateRequest
|
|
860
855
|
* @returns ArchiveChatappTemplateResponse
|
|
@@ -865,7 +860,7 @@ export default class Client extends OpenApi {
|
|
|
865
860
|
}
|
|
866
861
|
|
|
867
862
|
/**
|
|
868
|
-
*
|
|
863
|
+
* Binds a DM account.
|
|
869
864
|
*
|
|
870
865
|
* @param tmpReq - BindDmAccountRequest
|
|
871
866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -922,7 +917,7 @@ export default class Client extends OpenApi {
|
|
|
922
917
|
}
|
|
923
918
|
|
|
924
919
|
/**
|
|
925
|
-
*
|
|
920
|
+
* Binds a DM account.
|
|
926
921
|
*
|
|
927
922
|
* @param request - BindDmAccountRequest
|
|
928
923
|
* @returns BindDmAccountResponse
|
|
@@ -995,7 +990,7 @@ export default class Client extends OpenApi {
|
|
|
995
990
|
}
|
|
996
991
|
|
|
997
992
|
/**
|
|
998
|
-
* Binds the selected
|
|
993
|
+
* Binds the selected page ID.
|
|
999
994
|
*
|
|
1000
995
|
* @param request - BindMessengerPageRequest
|
|
1001
996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1046,7 +1041,7 @@ export default class Client extends OpenApi {
|
|
|
1046
1041
|
}
|
|
1047
1042
|
|
|
1048
1043
|
/**
|
|
1049
|
-
* Binds the selected
|
|
1044
|
+
* Binds the selected page ID.
|
|
1050
1045
|
*
|
|
1051
1046
|
* @param request - BindMessengerPageRequest
|
|
1052
1047
|
* @returns BindMessengerPageResponse
|
|
@@ -1057,7 +1052,7 @@ export default class Client extends OpenApi {
|
|
|
1057
1052
|
}
|
|
1058
1053
|
|
|
1059
1054
|
/**
|
|
1060
|
-
*
|
|
1055
|
+
* Transfers a resource to another resource group.
|
|
1061
1056
|
*
|
|
1062
1057
|
* @param request - ChangeResourceGroupRequest
|
|
1063
1058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1096,7 +1091,7 @@ export default class Client extends OpenApi {
|
|
|
1096
1091
|
}
|
|
1097
1092
|
|
|
1098
1093
|
/**
|
|
1099
|
-
*
|
|
1094
|
+
* Transfers a resource to another resource group.
|
|
1100
1095
|
*
|
|
1101
1096
|
* @param request - ChangeResourceGroupRequest
|
|
1102
1097
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1107,10 +1102,10 @@ export default class Client extends OpenApi {
|
|
|
1107
1102
|
}
|
|
1108
1103
|
|
|
1109
1104
|
/**
|
|
1110
|
-
* Binds a
|
|
1105
|
+
* Binds a WABA to the northbound interface.
|
|
1111
1106
|
*
|
|
1112
1107
|
* @remarks
|
|
1113
|
-
* The per
|
|
1108
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1114
1109
|
*
|
|
1115
1110
|
* @param request - ChatappBindWabaRequest
|
|
1116
1111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1153,10 +1148,10 @@ export default class Client extends OpenApi {
|
|
|
1153
1148
|
}
|
|
1154
1149
|
|
|
1155
1150
|
/**
|
|
1156
|
-
* Binds a
|
|
1151
|
+
* Binds a WABA to the northbound interface.
|
|
1157
1152
|
*
|
|
1158
1153
|
* @remarks
|
|
1159
|
-
* The per
|
|
1154
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1160
1155
|
*
|
|
1161
1156
|
* @param request - ChatappBindWabaRequest
|
|
1162
1157
|
* @returns ChatappBindWabaResponse
|
|
@@ -1299,10 +1294,10 @@ export default class Client extends OpenApi {
|
|
|
1299
1294
|
}
|
|
1300
1295
|
|
|
1301
1296
|
/**
|
|
1302
|
-
*
|
|
1297
|
+
* Unregisters a phone number from WABA.
|
|
1303
1298
|
*
|
|
1304
1299
|
* @remarks
|
|
1305
|
-
* The
|
|
1300
|
+
* The queries per second (QPS) limit per user for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
1306
1301
|
*
|
|
1307
1302
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1308
1303
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1349,10 +1344,10 @@ export default class Client extends OpenApi {
|
|
|
1349
1344
|
}
|
|
1350
1345
|
|
|
1351
1346
|
/**
|
|
1352
|
-
*
|
|
1347
|
+
* Unregisters a phone number from WABA.
|
|
1353
1348
|
*
|
|
1354
1349
|
* @remarks
|
|
1355
|
-
* The
|
|
1350
|
+
* The queries per second (QPS) limit per user for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
1356
1351
|
*
|
|
1357
1352
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1358
1353
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1363,10 +1358,10 @@ export default class Client extends OpenApi {
|
|
|
1363
1358
|
}
|
|
1364
1359
|
|
|
1365
1360
|
/**
|
|
1366
|
-
* Registers a phone number
|
|
1361
|
+
* Registers a phone number.
|
|
1367
1362
|
*
|
|
1368
1363
|
* @remarks
|
|
1369
|
-
* The
|
|
1364
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
1370
1365
|
*
|
|
1371
1366
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1372
1367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1413,10 +1408,10 @@ export default class Client extends OpenApi {
|
|
|
1413
1408
|
}
|
|
1414
1409
|
|
|
1415
1410
|
/**
|
|
1416
|
-
* Registers a phone number
|
|
1411
|
+
* Registers a phone number.
|
|
1417
1412
|
*
|
|
1418
1413
|
* @remarks
|
|
1419
|
-
* The
|
|
1414
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
1420
1415
|
*
|
|
1421
1416
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1422
1417
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1487,10 +1482,10 @@ export default class Client extends OpenApi {
|
|
|
1487
1482
|
}
|
|
1488
1483
|
|
|
1489
1484
|
/**
|
|
1490
|
-
* Verifies
|
|
1485
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1491
1486
|
*
|
|
1492
1487
|
* @remarks
|
|
1493
|
-
* The
|
|
1488
|
+
* The QPS limit per user is 10 requests per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
1494
1489
|
*
|
|
1495
1490
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1496
1491
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1541,10 +1536,10 @@ export default class Client extends OpenApi {
|
|
|
1541
1536
|
}
|
|
1542
1537
|
|
|
1543
1538
|
/**
|
|
1544
|
-
* Verifies
|
|
1539
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1545
1540
|
*
|
|
1546
1541
|
* @remarks
|
|
1547
|
-
* The
|
|
1542
|
+
* The QPS limit per user is 10 requests per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
1548
1543
|
*
|
|
1549
1544
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1550
1545
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1688,8 +1683,8 @@ export default class Client extends OpenApi {
|
|
|
1688
1683
|
* Creates a flow.
|
|
1689
1684
|
*
|
|
1690
1685
|
* @remarks
|
|
1691
|
-
* - You can create a flow by calling this operation or manually in the [
|
|
1692
|
-
* - After
|
|
1686
|
+
* - You can create a flow by calling this operation or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1687
|
+
* - After you create a flow, you can refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1693
1688
|
*
|
|
1694
1689
|
* @param tmpReq - CreateChatFlowRequest
|
|
1695
1690
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1707,6 +1702,10 @@ export default class Client extends OpenApi {
|
|
|
1707
1702
|
request.lifeCycleExtendDataShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1708
1703
|
}
|
|
1709
1704
|
|
|
1705
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendDataV2)) {
|
|
1706
|
+
request.lifeCycleExtendDataV2Shrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendDataV2, "LifeCycleExtendDataV2", "json");
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1710
1709
|
let query = { };
|
|
1711
1710
|
if (!$dara.isNull(request.bizCode)) {
|
|
1712
1711
|
query["BizCode"] = request.bizCode;
|
|
@@ -1732,6 +1731,10 @@ export default class Client extends OpenApi {
|
|
|
1732
1731
|
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1733
1732
|
}
|
|
1734
1733
|
|
|
1734
|
+
if (!$dara.isNull(request.lifeCycleExtendDataV2Shrink)) {
|
|
1735
|
+
query["LifeCycleExtendDataV2"] = request.lifeCycleExtendDataV2Shrink;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1735
1738
|
if (!$dara.isNull(request.ownerId)) {
|
|
1736
1739
|
query["OwnerId"] = request.ownerId;
|
|
1737
1740
|
}
|
|
@@ -1773,8 +1776,8 @@ export default class Client extends OpenApi {
|
|
|
1773
1776
|
* Creates a flow.
|
|
1774
1777
|
*
|
|
1775
1778
|
* @remarks
|
|
1776
|
-
* - You can create a flow by calling this operation or manually in the [
|
|
1777
|
-
* - After
|
|
1779
|
+
* - You can create a flow by calling this operation or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1780
|
+
* - After you create a flow, you can refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1778
1781
|
*
|
|
1779
1782
|
* @param request - CreateChatFlowRequest
|
|
1780
1783
|
* @returns CreateChatFlowResponse
|
|
@@ -2005,13 +2008,13 @@ export default class Client extends OpenApi {
|
|
|
2005
2008
|
}
|
|
2006
2009
|
|
|
2007
2010
|
/**
|
|
2008
|
-
* Creates a message template.
|
|
2011
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
2009
2012
|
*
|
|
2010
2013
|
* @remarks
|
|
2011
2014
|
* ### QPS limit
|
|
2012
|
-
* The
|
|
2015
|
+
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2013
2016
|
* ### Status changes
|
|
2014
|
-
* You can
|
|
2017
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
2015
2018
|
*
|
|
2016
2019
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
2017
2020
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2100,13 +2103,13 @@ export default class Client extends OpenApi {
|
|
|
2100
2103
|
}
|
|
2101
2104
|
|
|
2102
2105
|
/**
|
|
2103
|
-
* Creates a message template.
|
|
2106
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
2104
2107
|
*
|
|
2105
2108
|
* @remarks
|
|
2106
2109
|
* ### QPS limit
|
|
2107
|
-
* The
|
|
2110
|
+
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2108
2111
|
* ### Status changes
|
|
2109
|
-
* You can
|
|
2112
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
2110
2113
|
*
|
|
2111
2114
|
* @param request - CreateChatappTemplateRequest
|
|
2112
2115
|
* @returns CreateChatappTemplateResponse
|
|
@@ -3151,7 +3154,7 @@ export default class Client extends OpenApi {
|
|
|
3151
3154
|
}
|
|
3152
3155
|
|
|
3153
3156
|
/**
|
|
3154
|
-
* Deletes a contact
|
|
3157
|
+
* Deletes a contact.
|
|
3155
3158
|
*
|
|
3156
3159
|
* @param tmpReq - DeleteContactsRequest
|
|
3157
3160
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3220,7 +3223,7 @@ export default class Client extends OpenApi {
|
|
|
3220
3223
|
}
|
|
3221
3224
|
|
|
3222
3225
|
/**
|
|
3223
|
-
* Deletes a contact
|
|
3226
|
+
* Deletes a contact.
|
|
3224
3227
|
*
|
|
3225
3228
|
* @param request - DeleteContactsRequest
|
|
3226
3229
|
* @returns DeleteContactsResponse
|
|
@@ -3711,7 +3714,7 @@ export default class Client extends OpenApi {
|
|
|
3711
3714
|
}
|
|
3712
3715
|
|
|
3713
3716
|
/**
|
|
3714
|
-
* Deletes
|
|
3717
|
+
* Deletes the Messenger page.
|
|
3715
3718
|
*
|
|
3716
3719
|
* @param request - DeleteMessengerPageRequest
|
|
3717
3720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3758,7 +3761,7 @@ export default class Client extends OpenApi {
|
|
|
3758
3761
|
}
|
|
3759
3762
|
|
|
3760
3763
|
/**
|
|
3761
|
-
* Deletes
|
|
3764
|
+
* Deletes the Messenger page.
|
|
3762
3765
|
*
|
|
3763
3766
|
* @param request - DeleteMessengerPageRequest
|
|
3764
3767
|
* @returns DeleteMessengerPageResponse
|
|
@@ -4232,11 +4235,11 @@ export default class Client extends OpenApi {
|
|
|
4232
4235
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
4233
4236
|
*
|
|
4234
4237
|
* @remarks
|
|
4235
|
-
* - Before
|
|
4236
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
4237
|
-
* - Before
|
|
4238
|
-
* - If
|
|
4239
|
-
* - After
|
|
4238
|
+
* - Before you call this operation, make sure that your flow is in the offline state. If your flow is in the online state, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4239
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4240
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
4241
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4242
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must re-associate a phone number or merchant account ID with the flow before you can take it online.
|
|
4240
4243
|
*
|
|
4241
4244
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4242
4245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4300,11 +4303,11 @@ export default class Client extends OpenApi {
|
|
|
4300
4303
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
4301
4304
|
*
|
|
4302
4305
|
* @remarks
|
|
4303
|
-
* - Before
|
|
4304
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
4305
|
-
* - Before
|
|
4306
|
-
* - If
|
|
4307
|
-
* - After
|
|
4306
|
+
* - Before you call this operation, make sure that your flow is in the offline state. If your flow is in the online state, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4307
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4308
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
4309
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4310
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must re-associate a phone number or merchant account ID with the flow before you can take it online.
|
|
4308
4311
|
*
|
|
4309
4312
|
* @param request - FlowUnbindPhoneRequest
|
|
4310
4313
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4369,7 +4372,7 @@ export default class Client extends OpenApi {
|
|
|
4369
4372
|
}
|
|
4370
4373
|
|
|
4371
4374
|
/**
|
|
4372
|
-
* Queries pending review
|
|
4375
|
+
* Queries pending review orders for an individual by type.
|
|
4373
4376
|
*
|
|
4374
4377
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4375
4378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4416,7 +4419,7 @@ export default class Client extends OpenApi {
|
|
|
4416
4419
|
}
|
|
4417
4420
|
|
|
4418
4421
|
/**
|
|
4419
|
-
* Queries pending review
|
|
4422
|
+
* Queries pending review orders for an individual by type.
|
|
4420
4423
|
*
|
|
4421
4424
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4422
4425
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4845,11 +4848,11 @@ export default class Client extends OpenApi {
|
|
|
4845
4848
|
}
|
|
4846
4849
|
|
|
4847
4850
|
/**
|
|
4848
|
-
* Retrieves the details of a Chat App
|
|
4851
|
+
* Retrieves the details of a Chat App message template.
|
|
4849
4852
|
*
|
|
4850
4853
|
* @remarks
|
|
4851
4854
|
* ### QPS limit
|
|
4852
|
-
* The
|
|
4855
|
+
* The queries per second (QPS) limit for a single user is 5. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
4853
4856
|
*
|
|
4854
4857
|
* @param request - GetChatappTemplateDetailRequest
|
|
4855
4858
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4904,11 +4907,11 @@ export default class Client extends OpenApi {
|
|
|
4904
4907
|
}
|
|
4905
4908
|
|
|
4906
4909
|
/**
|
|
4907
|
-
* Retrieves the details of a Chat App
|
|
4910
|
+
* Retrieves the details of a Chat App message template.
|
|
4908
4911
|
*
|
|
4909
4912
|
* @remarks
|
|
4910
4913
|
* ### QPS limit
|
|
4911
|
-
* The
|
|
4914
|
+
* The queries per second (QPS) limit for a single user is 5. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
4912
4915
|
*
|
|
4913
4916
|
* @param request - GetChatappTemplateDetailRequest
|
|
4914
4917
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -5821,7 +5824,7 @@ export default class Client extends OpenApi {
|
|
|
5821
5824
|
}
|
|
5822
5825
|
|
|
5823
5826
|
/**
|
|
5824
|
-
*
|
|
5827
|
+
* Queries budget metrics.
|
|
5825
5828
|
*
|
|
5826
5829
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5827
5830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5876,7 +5879,7 @@ export default class Client extends OpenApi {
|
|
|
5876
5879
|
}
|
|
5877
5880
|
|
|
5878
5881
|
/**
|
|
5879
|
-
*
|
|
5882
|
+
* Queries budget metrics.
|
|
5880
5883
|
*
|
|
5881
5884
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5882
5885
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -6289,7 +6292,7 @@ export default class Client extends OpenApi {
|
|
|
6289
6292
|
}
|
|
6290
6293
|
|
|
6291
6294
|
/**
|
|
6292
|
-
*
|
|
6295
|
+
* Queries an application form by request number.
|
|
6293
6296
|
*
|
|
6294
6297
|
* @param request - GetViberByRequestNoRequest
|
|
6295
6298
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6336,7 +6339,7 @@ export default class Client extends OpenApi {
|
|
|
6336
6339
|
}
|
|
6337
6340
|
|
|
6338
6341
|
/**
|
|
6339
|
-
*
|
|
6342
|
+
* Queries an application form by request number.
|
|
6340
6343
|
*
|
|
6341
6344
|
* @param request - GetViberByRequestNoRequest
|
|
6342
6345
|
* @returns GetViberByRequestNoResponse
|
|
@@ -6763,7 +6766,7 @@ export default class Client extends OpenApi {
|
|
|
6763
6766
|
}
|
|
6764
6767
|
|
|
6765
6768
|
/**
|
|
6766
|
-
* Queries
|
|
6769
|
+
* Queries a list of groups.
|
|
6767
6770
|
*
|
|
6768
6771
|
* @param tmpReq - ListAllGroupsRequest
|
|
6769
6772
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6816,7 +6819,7 @@ export default class Client extends OpenApi {
|
|
|
6816
6819
|
}
|
|
6817
6820
|
|
|
6818
6821
|
/**
|
|
6819
|
-
* Queries
|
|
6822
|
+
* Queries a list of groups.
|
|
6820
6823
|
*
|
|
6821
6824
|
* @param request - ListAllGroupsRequest
|
|
6822
6825
|
* @returns ListAllGroupsResponse
|
|
@@ -7333,7 +7336,7 @@ export default class Client extends OpenApi {
|
|
|
7333
7336
|
*
|
|
7334
7337
|
* @remarks
|
|
7335
7338
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7336
|
-
* - This operation
|
|
7339
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
7337
7340
|
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
7338
7341
|
*
|
|
7339
7342
|
* @param tmpReq - ListChatappMessageRequest
|
|
@@ -7439,7 +7442,7 @@ export default class Client extends OpenApi {
|
|
|
7439
7442
|
*
|
|
7440
7443
|
* @remarks
|
|
7441
7444
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7442
|
-
* - This operation
|
|
7445
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
7443
7446
|
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
7444
7447
|
*
|
|
7445
7448
|
* @param request - ListChatappMessageRequest
|
|
@@ -7455,7 +7458,7 @@ export default class Client extends OpenApi {
|
|
|
7455
7458
|
*
|
|
7456
7459
|
* @remarks
|
|
7457
7460
|
* ### QPS limit
|
|
7458
|
-
* The
|
|
7461
|
+
* The QPS limit for this operation is 5 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
7459
7462
|
*
|
|
7460
7463
|
* @param tmpReq - ListChatappTemplateRequest
|
|
7461
7464
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7544,7 +7547,7 @@ export default class Client extends OpenApi {
|
|
|
7544
7547
|
*
|
|
7545
7548
|
* @remarks
|
|
7546
7549
|
* ### QPS limit
|
|
7547
|
-
* The
|
|
7550
|
+
* The QPS limit for this operation is 5 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
7548
7551
|
*
|
|
7549
7552
|
* @param request - ListChatappTemplateRequest
|
|
7550
7553
|
* @returns ListChatappTemplateResponse
|
|
@@ -7555,7 +7558,7 @@ export default class Client extends OpenApi {
|
|
|
7555
7558
|
}
|
|
7556
7559
|
|
|
7557
7560
|
/**
|
|
7558
|
-
* Queries a
|
|
7561
|
+
* Queries a custom audience list.
|
|
7559
7562
|
*
|
|
7560
7563
|
* @param tmpReq - ListCustomAudienceRequest
|
|
7561
7564
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7628,7 +7631,7 @@ export default class Client extends OpenApi {
|
|
|
7628
7631
|
}
|
|
7629
7632
|
|
|
7630
7633
|
/**
|
|
7631
|
-
* Queries a
|
|
7634
|
+
* Queries a custom audience list.
|
|
7632
7635
|
*
|
|
7633
7636
|
* @param request - ListCustomAudienceRequest
|
|
7634
7637
|
* @returns ListCustomAudienceResponse
|
|
@@ -7639,7 +7642,7 @@ export default class Client extends OpenApi {
|
|
|
7639
7642
|
}
|
|
7640
7643
|
|
|
7641
7644
|
/**
|
|
7642
|
-
* Queries the DirectMail accounts under your
|
|
7645
|
+
* Queries the DirectMail accounts under your account.
|
|
7643
7646
|
*
|
|
7644
7647
|
* @param request - ListDmAccountRequest
|
|
7645
7648
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7694,7 +7697,7 @@ export default class Client extends OpenApi {
|
|
|
7694
7697
|
}
|
|
7695
7698
|
|
|
7696
7699
|
/**
|
|
7697
|
-
* Queries the DirectMail accounts under your
|
|
7700
|
+
* Queries the DirectMail accounts under your account.
|
|
7698
7701
|
*
|
|
7699
7702
|
* @param request - ListDmAccountRequest
|
|
7700
7703
|
* @returns ListDmAccountResponse
|
|
@@ -7705,7 +7708,7 @@ export default class Client extends OpenApi {
|
|
|
7705
7708
|
}
|
|
7706
7709
|
|
|
7707
7710
|
/**
|
|
7708
|
-
* Queries the tags of
|
|
7711
|
+
* Queries the tags of DM.
|
|
7709
7712
|
*
|
|
7710
7713
|
* @param request - ListDmTagRequest
|
|
7711
7714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7756,7 +7759,7 @@ export default class Client extends OpenApi {
|
|
|
7756
7759
|
}
|
|
7757
7760
|
|
|
7758
7761
|
/**
|
|
7759
|
-
* Queries the tags of
|
|
7762
|
+
* Queries the tags of DM.
|
|
7760
7763
|
*
|
|
7761
7764
|
* @param request - ListDmTagRequest
|
|
7762
7765
|
* @returns ListDmTagResponse
|
|
@@ -8309,7 +8312,7 @@ export default class Client extends OpenApi {
|
|
|
8309
8312
|
}
|
|
8310
8313
|
|
|
8311
8314
|
/**
|
|
8312
|
-
* Queries a list of
|
|
8315
|
+
* Queries a list of campaigns.
|
|
8313
8316
|
*
|
|
8314
8317
|
* @param tmpReq - ListMarketingFlowRequest
|
|
8315
8318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8390,7 +8393,7 @@ export default class Client extends OpenApi {
|
|
|
8390
8393
|
}
|
|
8391
8394
|
|
|
8392
8395
|
/**
|
|
8393
|
-
* Queries a list of
|
|
8396
|
+
* Queries a list of campaigns.
|
|
8394
8397
|
*
|
|
8395
8398
|
* @param request - ListMarketingFlowRequest
|
|
8396
8399
|
* @returns ListMarketingFlowResponse
|
|
@@ -8401,7 +8404,7 @@ export default class Client extends OpenApi {
|
|
|
8401
8404
|
}
|
|
8402
8405
|
|
|
8403
8406
|
/**
|
|
8404
|
-
*
|
|
8407
|
+
* Queries the budget list.
|
|
8405
8408
|
*
|
|
8406
8409
|
* @param tmpReq - ListMessageCampaignRequest
|
|
8407
8410
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8474,7 +8477,7 @@ export default class Client extends OpenApi {
|
|
|
8474
8477
|
}
|
|
8475
8478
|
|
|
8476
8479
|
/**
|
|
8477
|
-
*
|
|
8480
|
+
* Queries the budget list.
|
|
8478
8481
|
*
|
|
8479
8482
|
* @param request - ListMessageCampaignRequest
|
|
8480
8483
|
* @returns ListMessageCampaignResponse
|
|
@@ -8765,10 +8768,10 @@ export default class Client extends OpenApi {
|
|
|
8765
8768
|
}
|
|
8766
8769
|
|
|
8767
8770
|
/**
|
|
8768
|
-
* Queries the
|
|
8771
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
8769
8772
|
*
|
|
8770
8773
|
* @remarks
|
|
8771
|
-
* The
|
|
8774
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
8772
8775
|
*
|
|
8773
8776
|
* @param request - ListProductCatalogRequest
|
|
8774
8777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8831,10 +8834,10 @@ export default class Client extends OpenApi {
|
|
|
8831
8834
|
}
|
|
8832
8835
|
|
|
8833
8836
|
/**
|
|
8834
|
-
* Queries the
|
|
8837
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
8835
8838
|
*
|
|
8836
8839
|
* @remarks
|
|
8837
|
-
* The
|
|
8840
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
8838
8841
|
*
|
|
8839
8842
|
* @param request - ListProductCatalogRequest
|
|
8840
8843
|
* @returns ListProductCatalogResponse
|
|
@@ -8899,7 +8902,7 @@ export default class Client extends OpenApi {
|
|
|
8899
8902
|
}
|
|
8900
8903
|
|
|
8901
8904
|
/**
|
|
8902
|
-
*
|
|
8905
|
+
* Queries a list of templates.
|
|
8903
8906
|
*
|
|
8904
8907
|
* @param request - ListWhatAppTemplateRequest
|
|
8905
8908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8934,7 +8937,7 @@ export default class Client extends OpenApi {
|
|
|
8934
8937
|
}
|
|
8935
8938
|
|
|
8936
8939
|
/**
|
|
8937
|
-
*
|
|
8940
|
+
* Queries a list of templates.
|
|
8938
8941
|
*
|
|
8939
8942
|
* @param request - ListWhatAppTemplateRequest
|
|
8940
8943
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -8945,13 +8948,13 @@ export default class Client extends OpenApi {
|
|
|
8945
8948
|
}
|
|
8946
8949
|
|
|
8947
8950
|
/**
|
|
8948
|
-
* Modifies a message template. Only templates that
|
|
8951
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
8949
8952
|
*
|
|
8950
8953
|
* @remarks
|
|
8951
8954
|
* ### QPS limit
|
|
8952
|
-
* The
|
|
8955
|
+
* The queries per second (QPS) limit per user for this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
8953
8956
|
* ### Status changes
|
|
8954
|
-
* You can
|
|
8957
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8955
8958
|
*
|
|
8956
8959
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8957
8960
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9040,13 +9043,13 @@ export default class Client extends OpenApi {
|
|
|
9040
9043
|
}
|
|
9041
9044
|
|
|
9042
9045
|
/**
|
|
9043
|
-
* Modifies a message template. Only templates that
|
|
9046
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
9044
9047
|
*
|
|
9045
9048
|
* @remarks
|
|
9046
9049
|
* ### QPS limit
|
|
9047
|
-
* The
|
|
9050
|
+
* The queries per second (QPS) limit per user for this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
9048
9051
|
* ### Status changes
|
|
9049
|
-
* You can
|
|
9052
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9050
9053
|
*
|
|
9051
9054
|
* @param request - ModifyChatappTemplateRequest
|
|
9052
9055
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -9387,13 +9390,13 @@ export default class Client extends OpenApi {
|
|
|
9387
9390
|
}
|
|
9388
9391
|
|
|
9389
9392
|
/**
|
|
9390
|
-
*
|
|
9393
|
+
* Takes a flow version offline.
|
|
9391
9394
|
*
|
|
9392
9395
|
* @remarks
|
|
9393
|
-
* - You can call this operation to
|
|
9394
|
-
* - Before calling this operation, make sure the flow you created is
|
|
9395
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
9396
|
-
* - After
|
|
9396
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9397
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
9398
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
9399
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9397
9400
|
*
|
|
9398
9401
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
9399
9402
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9458,13 +9461,13 @@ export default class Client extends OpenApi {
|
|
|
9458
9461
|
}
|
|
9459
9462
|
|
|
9460
9463
|
/**
|
|
9461
|
-
*
|
|
9464
|
+
* Takes a flow version offline.
|
|
9462
9465
|
*
|
|
9463
9466
|
* @remarks
|
|
9464
|
-
* - You can call this operation to
|
|
9465
|
-
* - Before calling this operation, make sure the flow you created is
|
|
9466
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
9467
|
-
* - After
|
|
9467
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9468
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
9469
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
9470
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9468
9471
|
*
|
|
9469
9472
|
* @param request - OfflineFlowVersionRequest
|
|
9470
9473
|
* @returns OfflineFlowVersionResponse
|
|
@@ -9741,10 +9744,10 @@ export default class Client extends OpenApi {
|
|
|
9741
9744
|
}
|
|
9742
9745
|
|
|
9743
9746
|
/**
|
|
9744
|
-
* Queries the
|
|
9747
|
+
* Queries the WABA bound to a customer.
|
|
9745
9748
|
*
|
|
9746
9749
|
* @remarks
|
|
9747
|
-
*
|
|
9750
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.
|
|
9748
9751
|
*
|
|
9749
9752
|
* @param request - QueryChatappBindWabaRequest
|
|
9750
9753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9791,10 +9794,10 @@ export default class Client extends OpenApi {
|
|
|
9791
9794
|
}
|
|
9792
9795
|
|
|
9793
9796
|
/**
|
|
9794
|
-
* Queries the
|
|
9797
|
+
* Queries the WABA bound to a customer.
|
|
9795
9798
|
*
|
|
9796
9799
|
* @remarks
|
|
9797
|
-
*
|
|
9800
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.
|
|
9798
9801
|
*
|
|
9799
9802
|
* @param request - QueryChatappBindWabaRequest
|
|
9800
9803
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -9805,10 +9808,10 @@ export default class Client extends OpenApi {
|
|
|
9805
9808
|
}
|
|
9806
9809
|
|
|
9807
9810
|
/**
|
|
9808
|
-
* Queries all phone numbers
|
|
9811
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
9809
9812
|
*
|
|
9810
9813
|
* @remarks
|
|
9811
|
-
*
|
|
9814
|
+
* The throttling limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
9812
9815
|
*
|
|
9813
9816
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9814
9817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9859,10 +9862,10 @@ export default class Client extends OpenApi {
|
|
|
9859
9862
|
}
|
|
9860
9863
|
|
|
9861
9864
|
/**
|
|
9862
|
-
* Queries all phone numbers
|
|
9865
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
9863
9866
|
*
|
|
9864
9867
|
* @remarks
|
|
9865
|
-
*
|
|
9868
|
+
* The throttling limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
9866
9869
|
*
|
|
9867
9870
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9868
9871
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -9972,7 +9975,7 @@ export default class Client extends OpenApi {
|
|
|
9972
9975
|
* Queries the business information of a phone number.
|
|
9973
9976
|
*
|
|
9974
9977
|
* @remarks
|
|
9975
|
-
* The queries per second (QPS) limit
|
|
9978
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
9976
9979
|
*
|
|
9977
9980
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9978
9981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10022,7 +10025,7 @@ export default class Client extends OpenApi {
|
|
|
10022
10025
|
* Queries the business information of a phone number.
|
|
10023
10026
|
*
|
|
10024
10027
|
* @remarks
|
|
10025
|
-
* The queries per second (QPS) limit
|
|
10028
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
10026
10029
|
*
|
|
10027
10030
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
10028
10031
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -10464,17 +10467,17 @@ export default class Client extends OpenApi {
|
|
|
10464
10467
|
* Sends Chat App messages in batches.
|
|
10465
10468
|
*
|
|
10466
10469
|
* @remarks
|
|
10467
|
-
* - You can call this operation to send messages in batches
|
|
10470
|
+
* - You can call this operation to send messages in batches, or manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending** page.
|
|
10468
10471
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10469
|
-
* - For WhatsApp
|
|
10470
|
-
* - For Messenger
|
|
10471
|
-
* - For Instagram
|
|
10472
|
-
* <props="intl">- For Viber
|
|
10473
|
-
* ### QPS
|
|
10474
|
-
* - The
|
|
10475
|
-
* - A maximum of 1,000 phone numbers
|
|
10472
|
+
* - For the WhatsApp channel type, complete [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10473
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10474
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10475
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
10476
|
+
* ### QPS limits
|
|
10477
|
+
* - The QPS limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
10478
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
10476
10479
|
* ### Status changes
|
|
10477
|
-
* You can monitor message
|
|
10480
|
+
* You can monitor message delivery status changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10478
10481
|
*
|
|
10479
10482
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
10480
10483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10590,17 +10593,17 @@ export default class Client extends OpenApi {
|
|
|
10590
10593
|
* Sends Chat App messages in batches.
|
|
10591
10594
|
*
|
|
10592
10595
|
* @remarks
|
|
10593
|
-
* - You can call this operation to send messages in batches
|
|
10596
|
+
* - You can call this operation to send messages in batches, or manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending** page.
|
|
10594
10597
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10595
|
-
* - For WhatsApp
|
|
10596
|
-
* - For Messenger
|
|
10597
|
-
* - For Instagram
|
|
10598
|
-
* <props="intl">- For Viber
|
|
10599
|
-
* ### QPS
|
|
10600
|
-
* - The
|
|
10601
|
-
* - A maximum of 1,000 phone numbers
|
|
10598
|
+
* - For the WhatsApp channel type, complete [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10599
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10600
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10601
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
10602
|
+
* ### QPS limits
|
|
10603
|
+
* - The QPS limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
10604
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
10602
10605
|
* ### Status changes
|
|
10603
|
-
* You can monitor message
|
|
10606
|
+
* You can monitor message delivery status changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10604
10607
|
*
|
|
10605
10608
|
* @param request - SendChatappMassMessageRequest
|
|
10606
10609
|
* @returns SendChatappMassMessageResponse
|
|
@@ -10827,7 +10830,7 @@ export default class Client extends OpenApi {
|
|
|
10827
10830
|
}
|
|
10828
10831
|
|
|
10829
10832
|
/**
|
|
10830
|
-
* Submits the
|
|
10833
|
+
* Submits the verification code validation result.
|
|
10831
10834
|
*
|
|
10832
10835
|
* @param request - SubmitVerifyCodeResultRequest
|
|
10833
10836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10866,7 +10869,7 @@ export default class Client extends OpenApi {
|
|
|
10866
10869
|
}
|
|
10867
10870
|
|
|
10868
10871
|
/**
|
|
10869
|
-
* Submits the
|
|
10872
|
+
* Submits the verification code validation result.
|
|
10870
10873
|
*
|
|
10871
10874
|
* @param request - SubmitVerifyCodeResultRequest
|
|
10872
10875
|
* @returns SubmitVerifyCodeResultResponse
|
|
@@ -11339,7 +11342,7 @@ export default class Client extends OpenApi {
|
|
|
11339
11342
|
}
|
|
11340
11343
|
|
|
11341
11344
|
/**
|
|
11342
|
-
*
|
|
11345
|
+
* Updates a Viber application form.
|
|
11343
11346
|
*
|
|
11344
11347
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
11345
11348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11400,7 +11403,7 @@ export default class Client extends OpenApi {
|
|
|
11400
11403
|
}
|
|
11401
11404
|
|
|
11402
11405
|
/**
|
|
11403
|
-
*
|
|
11406
|
+
* Updates a Viber application form.
|
|
11404
11407
|
*
|
|
11405
11408
|
* @param request - UpdateAuditRequestRequest
|
|
11406
11409
|
* @returns UpdateAuditRequestResponse
|
|
@@ -11914,7 +11917,7 @@ export default class Client extends OpenApi {
|
|
|
11914
11917
|
* Updates the content of a flow by using JSON.
|
|
11915
11918
|
*
|
|
11916
11919
|
* @remarks
|
|
11917
|
-
* The
|
|
11920
|
+
* The queries per second (QPS) limit per user is 5. If the number of API calls exceeds this limit, throttling is triggered, which may affect your business. Make API calls at a reasonable rate.
|
|
11918
11921
|
*
|
|
11919
11922
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11920
11923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11968,7 +11971,7 @@ export default class Client extends OpenApi {
|
|
|
11968
11971
|
* Updates the content of a flow by using JSON.
|
|
11969
11972
|
*
|
|
11970
11973
|
* @remarks
|
|
11971
|
-
* The
|
|
11974
|
+
* The queries per second (QPS) limit per user is 5. If the number of API calls exceeds this limit, throttling is triggered, which may affect your business. Make API calls at a reasonable rate.
|
|
11972
11975
|
*
|
|
11973
11976
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11974
11977
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -12205,7 +12208,7 @@ export default class Client extends OpenApi {
|
|
|
12205
12208
|
}
|
|
12206
12209
|
|
|
12207
12210
|
/**
|
|
12208
|
-
* Modifies
|
|
12211
|
+
* Modifies the information of a marketing campaign.
|
|
12209
12212
|
*
|
|
12210
12213
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
12211
12214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12302,7 +12305,7 @@ export default class Client extends OpenApi {
|
|
|
12302
12305
|
}
|
|
12303
12306
|
|
|
12304
12307
|
/**
|
|
12305
|
-
* Modifies
|
|
12308
|
+
* Modifies the information of a marketing campaign.
|
|
12306
12309
|
*
|
|
12307
12310
|
* @param request - UpdateMarketingFLowRequest
|
|
12308
12311
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -12471,10 +12474,10 @@ export default class Client extends OpenApi {
|
|
|
12471
12474
|
}
|
|
12472
12475
|
|
|
12473
12476
|
/**
|
|
12474
|
-
*
|
|
12477
|
+
* Updates the callback URL information for a phone number.
|
|
12475
12478
|
*
|
|
12476
12479
|
* @remarks
|
|
12477
|
-
* The per
|
|
12480
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
12478
12481
|
*
|
|
12479
12482
|
* @param request - UpdatePhoneWebhookRequest
|
|
12480
12483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12537,10 +12540,10 @@ export default class Client extends OpenApi {
|
|
|
12537
12540
|
}
|
|
12538
12541
|
|
|
12539
12542
|
/**
|
|
12540
|
-
*
|
|
12543
|
+
* Updates the callback URL information for a phone number.
|
|
12541
12544
|
*
|
|
12542
12545
|
* @remarks
|
|
12543
|
-
* The per
|
|
12546
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
12544
12547
|
*
|
|
12545
12548
|
* @param request - UpdatePhoneWebhookRequest
|
|
12546
12549
|
* @returns UpdatePhoneWebhookResponse
|