@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/dist/client.js
CHANGED
|
@@ -49,9 +49,6 @@ class Client extends openapi_core_1.default {
|
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
|
-
this._endpointMap = {
|
|
53
|
-
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
54
|
-
};
|
|
55
52
|
this.checkConfig(config);
|
|
56
53
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
57
54
|
}
|
|
@@ -124,7 +121,7 @@ class Client extends openapi_core_1.default {
|
|
|
124
121
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
125
122
|
}
|
|
126
123
|
/**
|
|
127
|
-
*
|
|
124
|
+
* Registers a Viber account and creates an account.
|
|
128
125
|
*
|
|
129
126
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
130
127
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -173,7 +170,7 @@ class Client extends openapi_core_1.default {
|
|
|
173
170
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
174
171
|
}
|
|
175
172
|
/**
|
|
176
|
-
*
|
|
173
|
+
* Registers a Viber account and creates an account.
|
|
177
174
|
*
|
|
178
175
|
* @param request - AddAuditViberOpenRequest
|
|
179
176
|
* @returns AddAuditViberOpenResponse
|
|
@@ -186,11 +183,10 @@ class Client extends openapi_core_1.default {
|
|
|
186
183
|
* Creates an IM group.
|
|
187
184
|
*
|
|
188
185
|
* @remarks
|
|
189
|
-
* >Notice:
|
|
190
|
-
*
|
|
191
|
-
* -
|
|
192
|
-
* -
|
|
193
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
186
|
+
* >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>
|
|
187
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
188
|
+
* - 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.
|
|
189
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
194
190
|
*
|
|
195
191
|
* @param request - AddChatGroupRequest
|
|
196
192
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -246,11 +242,10 @@ class Client extends openapi_core_1.default {
|
|
|
246
242
|
* Creates an IM group.
|
|
247
243
|
*
|
|
248
244
|
* @remarks
|
|
249
|
-
* >Notice:
|
|
250
|
-
*
|
|
251
|
-
* -
|
|
252
|
-
* -
|
|
253
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
245
|
+
* >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>
|
|
246
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
247
|
+
* - 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.
|
|
248
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
254
249
|
*
|
|
255
250
|
* @param request - AddChatGroupRequest
|
|
256
251
|
* @returns AddChatGroupResponse
|
|
@@ -260,15 +255,15 @@ class Client extends openapi_core_1.default {
|
|
|
260
255
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
261
256
|
}
|
|
262
257
|
/**
|
|
263
|
-
* Adds an invite link
|
|
258
|
+
* Adds an IM group invite link.
|
|
264
259
|
*
|
|
265
260
|
* @remarks
|
|
266
|
-
* >
|
|
267
|
-
* - Before calling this operation, make sure that you have
|
|
268
|
-
* - If you
|
|
269
|
-
* - After
|
|
270
|
-
* - Currently, members can join an IM group
|
|
271
|
-
* - The maximum number of members in a WhatsApp
|
|
261
|
+
* <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>
|
|
262
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
263
|
+
* - 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.
|
|
264
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
265
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
266
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
272
267
|
*
|
|
273
268
|
* @param request - AddChatGroupInviteLinkRequest
|
|
274
269
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -315,15 +310,15 @@ class Client extends openapi_core_1.default {
|
|
|
315
310
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
316
311
|
}
|
|
317
312
|
/**
|
|
318
|
-
* Adds an invite link
|
|
313
|
+
* Adds an IM group invite link.
|
|
319
314
|
*
|
|
320
315
|
* @remarks
|
|
321
|
-
* >
|
|
322
|
-
* - Before calling this operation, make sure that you have
|
|
323
|
-
* - If you
|
|
324
|
-
* - After
|
|
325
|
-
* - Currently, members can join an IM group
|
|
326
|
-
* - The maximum number of members in a WhatsApp
|
|
316
|
+
* <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>
|
|
317
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
318
|
+
* - 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.
|
|
319
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
320
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
321
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
327
322
|
*
|
|
328
323
|
* @param request - AddChatGroupInviteLinkRequest
|
|
329
324
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -333,10 +328,10 @@ class Client extends openapi_core_1.default {
|
|
|
333
328
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
334
329
|
}
|
|
335
330
|
/**
|
|
336
|
-
* Adds a phone number to
|
|
331
|
+
* Adds a phone number to WABA.
|
|
337
332
|
*
|
|
338
333
|
* @remarks
|
|
339
|
-
* The
|
|
334
|
+
* 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.
|
|
340
335
|
*
|
|
341
336
|
* @param request - AddChatappPhoneNumberRequest
|
|
342
337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -386,10 +381,10 @@ class Client extends openapi_core_1.default {
|
|
|
386
381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
387
382
|
}
|
|
388
383
|
/**
|
|
389
|
-
* Adds a phone number to
|
|
384
|
+
* Adds a phone number to WABA.
|
|
390
385
|
*
|
|
391
386
|
* @remarks
|
|
392
|
-
* The
|
|
387
|
+
* 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.
|
|
393
388
|
*
|
|
394
389
|
* @param request - AddChatappPhoneNumberRequest
|
|
395
390
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -479,10 +474,10 @@ class Client extends openapi_core_1.default {
|
|
|
479
474
|
return await this.addContactsWithOptions(request, runtime);
|
|
480
475
|
}
|
|
481
476
|
/**
|
|
482
|
-
* Adds
|
|
477
|
+
* Adds a custom audience.
|
|
483
478
|
*
|
|
484
479
|
* @remarks
|
|
485
|
-
* After
|
|
480
|
+
* 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.
|
|
486
481
|
*
|
|
487
482
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
488
483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -543,10 +538,10 @@ class Client extends openapi_core_1.default {
|
|
|
543
538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCustomAudienceUserResponse({}));
|
|
544
539
|
}
|
|
545
540
|
/**
|
|
546
|
-
* Adds
|
|
541
|
+
* Adds a custom audience.
|
|
547
542
|
*
|
|
548
543
|
* @remarks
|
|
549
|
-
* After
|
|
544
|
+
* 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.
|
|
550
545
|
*
|
|
551
546
|
* @param request - AddCustomAudienceUserRequest
|
|
552
547
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -725,7 +720,7 @@ class Client extends openapi_core_1.default {
|
|
|
725
720
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
726
721
|
}
|
|
727
722
|
/**
|
|
728
|
-
* Archives
|
|
723
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
729
724
|
*
|
|
730
725
|
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -768,7 +763,7 @@ class Client extends openapi_core_1.default {
|
|
|
768
763
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
764
|
}
|
|
770
765
|
/**
|
|
771
|
-
* Archives
|
|
766
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
772
767
|
*
|
|
773
768
|
* @param request - ArchiveChatappTemplateRequest
|
|
774
769
|
* @returns ArchiveChatappTemplateResponse
|
|
@@ -778,7 +773,7 @@ class Client extends openapi_core_1.default {
|
|
|
778
773
|
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
779
774
|
}
|
|
780
775
|
/**
|
|
781
|
-
*
|
|
776
|
+
* Binds a DM account.
|
|
782
777
|
*
|
|
783
778
|
* @param tmpReq - BindDmAccountRequest
|
|
784
779
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -827,7 +822,7 @@ class Client extends openapi_core_1.default {
|
|
|
827
822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
828
823
|
}
|
|
829
824
|
/**
|
|
830
|
-
*
|
|
825
|
+
* Binds a DM account.
|
|
831
826
|
*
|
|
832
827
|
* @param request - BindDmAccountRequest
|
|
833
828
|
* @returns BindDmAccountResponse
|
|
@@ -891,7 +886,7 @@ class Client extends openapi_core_1.default {
|
|
|
891
886
|
return await this.bindInstagramPageWithOptions(request, runtime);
|
|
892
887
|
}
|
|
893
888
|
/**
|
|
894
|
-
* Binds the selected
|
|
889
|
+
* Binds the selected page ID.
|
|
895
890
|
*
|
|
896
891
|
* @param request - BindMessengerPageRequest
|
|
897
892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -935,7 +930,7 @@ class Client extends openapi_core_1.default {
|
|
|
935
930
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindMessengerPageResponse({}));
|
|
936
931
|
}
|
|
937
932
|
/**
|
|
938
|
-
* Binds the selected
|
|
933
|
+
* Binds the selected page ID.
|
|
939
934
|
*
|
|
940
935
|
* @param request - BindMessengerPageRequest
|
|
941
936
|
* @returns BindMessengerPageResponse
|
|
@@ -945,7 +940,7 @@ class Client extends openapi_core_1.default {
|
|
|
945
940
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
946
941
|
}
|
|
947
942
|
/**
|
|
948
|
-
*
|
|
943
|
+
* Transfers a resource to another resource group.
|
|
949
944
|
*
|
|
950
945
|
* @param request - ChangeResourceGroupRequest
|
|
951
946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,7 +975,7 @@ class Client extends openapi_core_1.default {
|
|
|
980
975
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
981
976
|
}
|
|
982
977
|
/**
|
|
983
|
-
*
|
|
978
|
+
* Transfers a resource to another resource group.
|
|
984
979
|
*
|
|
985
980
|
* @param request - ChangeResourceGroupRequest
|
|
986
981
|
* @returns ChangeResourceGroupResponse
|
|
@@ -990,10 +985,10 @@ class Client extends openapi_core_1.default {
|
|
|
990
985
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
991
986
|
}
|
|
992
987
|
/**
|
|
993
|
-
* Binds a
|
|
988
|
+
* Binds a WABA to the northbound interface.
|
|
994
989
|
*
|
|
995
990
|
* @remarks
|
|
996
|
-
* The per
|
|
991
|
+
* 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.
|
|
997
992
|
*
|
|
998
993
|
* @param request - ChatappBindWabaRequest
|
|
999
994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1031,10 +1026,10 @@ class Client extends openapi_core_1.default {
|
|
|
1031
1026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
1032
1027
|
}
|
|
1033
1028
|
/**
|
|
1034
|
-
* Binds a
|
|
1029
|
+
* Binds a WABA to the northbound interface.
|
|
1035
1030
|
*
|
|
1036
1031
|
* @remarks
|
|
1037
|
-
* The per
|
|
1032
|
+
* 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.
|
|
1038
1033
|
*
|
|
1039
1034
|
* @param request - ChatappBindWabaRequest
|
|
1040
1035
|
* @returns ChatappBindWabaResponse
|
|
@@ -1161,10 +1156,10 @@ class Client extends openapi_core_1.default {
|
|
|
1161
1156
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1162
1157
|
}
|
|
1163
1158
|
/**
|
|
1164
|
-
*
|
|
1159
|
+
* Unregisters a phone number from WABA.
|
|
1165
1160
|
*
|
|
1166
1161
|
* @remarks
|
|
1167
|
-
* The
|
|
1162
|
+
* 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.
|
|
1168
1163
|
*
|
|
1169
1164
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1170
1165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1205,10 +1200,10 @@ class Client extends openapi_core_1.default {
|
|
|
1205
1200
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1206
1201
|
}
|
|
1207
1202
|
/**
|
|
1208
|
-
*
|
|
1203
|
+
* Unregisters a phone number from WABA.
|
|
1209
1204
|
*
|
|
1210
1205
|
* @remarks
|
|
1211
|
-
* The
|
|
1206
|
+
* 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.
|
|
1212
1207
|
*
|
|
1213
1208
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1214
1209
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1218,10 +1213,10 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1213
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1219
1214
|
}
|
|
1220
1215
|
/**
|
|
1221
|
-
* Registers a phone number
|
|
1216
|
+
* Registers a phone number.
|
|
1222
1217
|
*
|
|
1223
1218
|
* @remarks
|
|
1224
|
-
* The
|
|
1219
|
+
* 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.
|
|
1225
1220
|
*
|
|
1226
1221
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1227
1222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1262,10 +1257,10 @@ class Client extends openapi_core_1.default {
|
|
|
1262
1257
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1263
1258
|
}
|
|
1264
1259
|
/**
|
|
1265
|
-
* Registers a phone number
|
|
1260
|
+
* Registers a phone number.
|
|
1266
1261
|
*
|
|
1267
1262
|
* @remarks
|
|
1268
|
-
* The
|
|
1263
|
+
* 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.
|
|
1269
1264
|
*
|
|
1270
1265
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1271
1266
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1329,10 +1324,10 @@ class Client extends openapi_core_1.default {
|
|
|
1329
1324
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1330
1325
|
}
|
|
1331
1326
|
/**
|
|
1332
|
-
* Verifies
|
|
1327
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1333
1328
|
*
|
|
1334
1329
|
* @remarks
|
|
1335
|
-
* The
|
|
1330
|
+
* 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.
|
|
1336
1331
|
*
|
|
1337
1332
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1338
1333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1376,10 +1371,10 @@ class Client extends openapi_core_1.default {
|
|
|
1376
1371
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1377
1372
|
}
|
|
1378
1373
|
/**
|
|
1379
|
-
* Verifies
|
|
1374
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1380
1375
|
*
|
|
1381
1376
|
* @remarks
|
|
1382
|
-
* The
|
|
1377
|
+
* 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.
|
|
1383
1378
|
*
|
|
1384
1379
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1385
1380
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1505,8 +1500,8 @@ class Client extends openapi_core_1.default {
|
|
|
1505
1500
|
* Creates a flow.
|
|
1506
1501
|
*
|
|
1507
1502
|
* @remarks
|
|
1508
|
-
* - You can create a flow by calling this operation or manually in the [
|
|
1509
|
-
* - After
|
|
1503
|
+
* - 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.
|
|
1504
|
+
* - 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.
|
|
1510
1505
|
*
|
|
1511
1506
|
* @param tmpReq - CreateChatFlowRequest
|
|
1512
1507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1522,6 +1517,9 @@ class Client extends openapi_core_1.default {
|
|
|
1522
1517
|
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1523
1518
|
request.lifeCycleExtendDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1524
1519
|
}
|
|
1520
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendDataV2)) {
|
|
1521
|
+
request.lifeCycleExtendDataV2Shrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendDataV2, "LifeCycleExtendDataV2", "json");
|
|
1522
|
+
}
|
|
1525
1523
|
let query = {};
|
|
1526
1524
|
if (!$dara.isNull(request.bizCode)) {
|
|
1527
1525
|
query["BizCode"] = request.bizCode;
|
|
@@ -1541,6 +1539,9 @@ class Client extends openapi_core_1.default {
|
|
|
1541
1539
|
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1542
1540
|
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1543
1541
|
}
|
|
1542
|
+
if (!$dara.isNull(request.lifeCycleExtendDataV2Shrink)) {
|
|
1543
|
+
query["LifeCycleExtendDataV2"] = request.lifeCycleExtendDataV2Shrink;
|
|
1544
|
+
}
|
|
1544
1545
|
if (!$dara.isNull(request.ownerId)) {
|
|
1545
1546
|
query["OwnerId"] = request.ownerId;
|
|
1546
1547
|
}
|
|
@@ -1576,8 +1577,8 @@ class Client extends openapi_core_1.default {
|
|
|
1576
1577
|
* Creates a flow.
|
|
1577
1578
|
*
|
|
1578
1579
|
* @remarks
|
|
1579
|
-
* - You can create a flow by calling this operation or manually in the [
|
|
1580
|
-
* - After
|
|
1580
|
+
* - 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.
|
|
1581
|
+
* - 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.
|
|
1581
1582
|
*
|
|
1582
1583
|
* @param request - CreateChatFlowRequest
|
|
1583
1584
|
* @returns CreateChatFlowResponse
|
|
@@ -1782,13 +1783,13 @@ class Client extends openapi_core_1.default {
|
|
|
1782
1783
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1783
1784
|
}
|
|
1784
1785
|
/**
|
|
1785
|
-
* Creates a message template.
|
|
1786
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1786
1787
|
*
|
|
1787
1788
|
* @remarks
|
|
1788
1789
|
* ### QPS limit
|
|
1789
|
-
* The
|
|
1790
|
+
* 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.
|
|
1790
1791
|
* ### Status changes
|
|
1791
|
-
* You can
|
|
1792
|
+
* 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).
|
|
1792
1793
|
*
|
|
1793
1794
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1794
1795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1861,13 +1862,13 @@ class Client extends openapi_core_1.default {
|
|
|
1861
1862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1862
1863
|
}
|
|
1863
1864
|
/**
|
|
1864
|
-
* Creates a message template.
|
|
1865
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1865
1866
|
*
|
|
1866
1867
|
* @remarks
|
|
1867
1868
|
* ### QPS limit
|
|
1868
|
-
* The
|
|
1869
|
+
* 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.
|
|
1869
1870
|
* ### Status changes
|
|
1870
|
-
* You can
|
|
1871
|
+
* 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).
|
|
1871
1872
|
*
|
|
1872
1873
|
* @param request - CreateChatappTemplateRequest
|
|
1873
1874
|
* @returns CreateChatappTemplateResponse
|
|
@@ -2776,7 +2777,7 @@ class Client extends openapi_core_1.default {
|
|
|
2776
2777
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
2777
2778
|
}
|
|
2778
2779
|
/**
|
|
2779
|
-
* Deletes a contact
|
|
2780
|
+
* Deletes a contact.
|
|
2780
2781
|
*
|
|
2781
2782
|
* @param tmpReq - DeleteContactsRequest
|
|
2782
2783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2834,7 +2835,7 @@ class Client extends openapi_core_1.default {
|
|
|
2834
2835
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsResponse({}));
|
|
2835
2836
|
}
|
|
2836
2837
|
/**
|
|
2837
|
-
* Deletes a contact
|
|
2838
|
+
* Deletes a contact.
|
|
2838
2839
|
*
|
|
2839
2840
|
* @param request - DeleteContactsRequest
|
|
2840
2841
|
* @returns DeleteContactsResponse
|
|
@@ -3269,7 +3270,7 @@ class Client extends openapi_core_1.default {
|
|
|
3269
3270
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3270
3271
|
}
|
|
3271
3272
|
/**
|
|
3272
|
-
* Deletes
|
|
3273
|
+
* Deletes the Messenger page.
|
|
3273
3274
|
*
|
|
3274
3275
|
* @param request - DeleteMessengerPageRequest
|
|
3275
3276
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3310,7 +3311,7 @@ class Client extends openapi_core_1.default {
|
|
|
3310
3311
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3311
3312
|
}
|
|
3312
3313
|
/**
|
|
3313
|
-
* Deletes
|
|
3314
|
+
* Deletes the Messenger page.
|
|
3314
3315
|
*
|
|
3315
3316
|
* @param request - DeleteMessengerPageRequest
|
|
3316
3317
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3729,11 +3730,11 @@ class Client extends openapi_core_1.default {
|
|
|
3729
3730
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3730
3731
|
*
|
|
3731
3732
|
* @remarks
|
|
3732
|
-
* - Before
|
|
3733
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
3734
|
-
* - Before
|
|
3735
|
-
* - If
|
|
3736
|
-
* - After
|
|
3733
|
+
* - 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.
|
|
3734
|
+
* - 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).
|
|
3735
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
3736
|
+
* - 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.
|
|
3737
|
+
* - 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.
|
|
3737
3738
|
*
|
|
3738
3739
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3739
3740
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3788,11 +3789,11 @@ class Client extends openapi_core_1.default {
|
|
|
3788
3789
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3789
3790
|
*
|
|
3790
3791
|
* @remarks
|
|
3791
|
-
* - Before
|
|
3792
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
3793
|
-
* - Before
|
|
3794
|
-
* - If
|
|
3795
|
-
* - After
|
|
3792
|
+
* - 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.
|
|
3793
|
+
* - 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).
|
|
3794
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
3795
|
+
* - 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.
|
|
3796
|
+
* - 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.
|
|
3796
3797
|
*
|
|
3797
3798
|
* @param request - FlowUnbindPhoneRequest
|
|
3798
3799
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3850,7 +3851,7 @@ class Client extends openapi_core_1.default {
|
|
|
3850
3851
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3851
3852
|
}
|
|
3852
3853
|
/**
|
|
3853
|
-
* Queries pending review
|
|
3854
|
+
* Queries pending review orders for an individual by type.
|
|
3854
3855
|
*
|
|
3855
3856
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3856
3857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3891,7 +3892,7 @@ class Client extends openapi_core_1.default {
|
|
|
3891
3892
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3892
3893
|
}
|
|
3893
3894
|
/**
|
|
3894
|
-
* Queries pending review
|
|
3895
|
+
* Queries pending review orders for an individual by type.
|
|
3895
3896
|
*
|
|
3896
3897
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3897
3898
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4269,11 +4270,11 @@ class Client extends openapi_core_1.default {
|
|
|
4269
4270
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
4270
4271
|
}
|
|
4271
4272
|
/**
|
|
4272
|
-
* Retrieves the details of a Chat App
|
|
4273
|
+
* Retrieves the details of a Chat App message template.
|
|
4273
4274
|
*
|
|
4274
4275
|
* @remarks
|
|
4275
4276
|
* ### QPS limit
|
|
4276
|
-
* The
|
|
4277
|
+
* 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.
|
|
4277
4278
|
*
|
|
4278
4279
|
* @param request - GetChatappTemplateDetailRequest
|
|
4279
4280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4320,11 +4321,11 @@ class Client extends openapi_core_1.default {
|
|
|
4320
4321
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
4321
4322
|
}
|
|
4322
4323
|
/**
|
|
4323
|
-
* Retrieves the details of a Chat App
|
|
4324
|
+
* Retrieves the details of a Chat App message template.
|
|
4324
4325
|
*
|
|
4325
4326
|
* @remarks
|
|
4326
4327
|
* ### QPS limit
|
|
4327
|
-
* The
|
|
4328
|
+
* 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.
|
|
4328
4329
|
*
|
|
4329
4330
|
* @param request - GetChatappTemplateDetailRequest
|
|
4330
4331
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -5129,7 +5130,7 @@ class Client extends openapi_core_1.default {
|
|
|
5129
5130
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5130
5131
|
}
|
|
5131
5132
|
/**
|
|
5132
|
-
*
|
|
5133
|
+
* Queries budget metrics.
|
|
5133
5134
|
*
|
|
5134
5135
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5135
5136
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5176,7 +5177,7 @@ class Client extends openapi_core_1.default {
|
|
|
5176
5177
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessageCampaignInsightsResponse({}));
|
|
5177
5178
|
}
|
|
5178
5179
|
/**
|
|
5179
|
-
*
|
|
5180
|
+
* Queries budget metrics.
|
|
5180
5181
|
*
|
|
5181
5182
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5182
5183
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -5545,7 +5546,7 @@ class Client extends openapi_core_1.default {
|
|
|
5545
5546
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5546
5547
|
}
|
|
5547
5548
|
/**
|
|
5548
|
-
*
|
|
5549
|
+
* Queries an application form by request number.
|
|
5549
5550
|
*
|
|
5550
5551
|
* @param request - GetViberByRequestNoRequest
|
|
5551
5552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5586,7 +5587,7 @@ class Client extends openapi_core_1.default {
|
|
|
5586
5587
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5587
5588
|
}
|
|
5588
5589
|
/**
|
|
5589
|
-
*
|
|
5590
|
+
* Queries an application form by request number.
|
|
5590
5591
|
*
|
|
5591
5592
|
* @param request - GetViberByRequestNoRequest
|
|
5592
5593
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5966,7 +5967,7 @@ class Client extends openapi_core_1.default {
|
|
|
5966
5967
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
5967
5968
|
}
|
|
5968
5969
|
/**
|
|
5969
|
-
* Queries
|
|
5970
|
+
* Queries a list of groups.
|
|
5970
5971
|
*
|
|
5971
5972
|
* @param tmpReq - ListAllGroupsRequest
|
|
5972
5973
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6012,7 +6013,7 @@ class Client extends openapi_core_1.default {
|
|
|
6012
6013
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllGroupsResponse({}));
|
|
6013
6014
|
}
|
|
6014
6015
|
/**
|
|
6015
|
-
* Queries
|
|
6016
|
+
* Queries a list of groups.
|
|
6016
6017
|
*
|
|
6017
6018
|
* @param request - ListAllGroupsRequest
|
|
6018
6019
|
* @returns ListAllGroupsResponse
|
|
@@ -6462,7 +6463,7 @@ class Client extends openapi_core_1.default {
|
|
|
6462
6463
|
*
|
|
6463
6464
|
* @remarks
|
|
6464
6465
|
* - 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.
|
|
6465
|
-
* - This operation
|
|
6466
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
6466
6467
|
* - 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.
|
|
6467
6468
|
*
|
|
6468
6469
|
* @param tmpReq - ListChatappMessageRequest
|
|
@@ -6549,7 +6550,7 @@ class Client extends openapi_core_1.default {
|
|
|
6549
6550
|
*
|
|
6550
6551
|
* @remarks
|
|
6551
6552
|
* - 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.
|
|
6552
|
-
* - This operation
|
|
6553
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
6553
6554
|
* - 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.
|
|
6554
6555
|
*
|
|
6555
6556
|
* @param request - ListChatappMessageRequest
|
|
@@ -6564,7 +6565,7 @@ class Client extends openapi_core_1.default {
|
|
|
6564
6565
|
*
|
|
6565
6566
|
* @remarks
|
|
6566
6567
|
* ### QPS limit
|
|
6567
|
-
* The
|
|
6568
|
+
* 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.
|
|
6568
6569
|
*
|
|
6569
6570
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6570
6571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6638,7 +6639,7 @@ class Client extends openapi_core_1.default {
|
|
|
6638
6639
|
*
|
|
6639
6640
|
* @remarks
|
|
6640
6641
|
* ### QPS limit
|
|
6641
|
-
* The
|
|
6642
|
+
* 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.
|
|
6642
6643
|
*
|
|
6643
6644
|
* @param request - ListChatappTemplateRequest
|
|
6644
6645
|
* @returns ListChatappTemplateResponse
|
|
@@ -6648,7 +6649,7 @@ class Client extends openapi_core_1.default {
|
|
|
6648
6649
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
6649
6650
|
}
|
|
6650
6651
|
/**
|
|
6651
|
-
* Queries a
|
|
6652
|
+
* Queries a custom audience list.
|
|
6652
6653
|
*
|
|
6653
6654
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6654
6655
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6709,7 +6710,7 @@ class Client extends openapi_core_1.default {
|
|
|
6709
6710
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAudienceResponse({}));
|
|
6710
6711
|
}
|
|
6711
6712
|
/**
|
|
6712
|
-
* Queries a
|
|
6713
|
+
* Queries a custom audience list.
|
|
6713
6714
|
*
|
|
6714
6715
|
* @param request - ListCustomAudienceRequest
|
|
6715
6716
|
* @returns ListCustomAudienceResponse
|
|
@@ -6719,7 +6720,7 @@ class Client extends openapi_core_1.default {
|
|
|
6719
6720
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6720
6721
|
}
|
|
6721
6722
|
/**
|
|
6722
|
-
* Queries the DirectMail accounts under your
|
|
6723
|
+
* Queries the DirectMail accounts under your account.
|
|
6723
6724
|
*
|
|
6724
6725
|
* @param request - ListDmAccountRequest
|
|
6725
6726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6766,7 +6767,7 @@ class Client extends openapi_core_1.default {
|
|
|
6766
6767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6767
6768
|
}
|
|
6768
6769
|
/**
|
|
6769
|
-
* Queries the DirectMail accounts under your
|
|
6770
|
+
* Queries the DirectMail accounts under your account.
|
|
6770
6771
|
*
|
|
6771
6772
|
* @param request - ListDmAccountRequest
|
|
6772
6773
|
* @returns ListDmAccountResponse
|
|
@@ -6776,7 +6777,7 @@ class Client extends openapi_core_1.default {
|
|
|
6776
6777
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6777
6778
|
}
|
|
6778
6779
|
/**
|
|
6779
|
-
* Queries the tags of
|
|
6780
|
+
* Queries the tags of DM.
|
|
6780
6781
|
*
|
|
6781
6782
|
* @param request - ListDmTagRequest
|
|
6782
6783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6820,7 +6821,7 @@ class Client extends openapi_core_1.default {
|
|
|
6820
6821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6821
6822
|
}
|
|
6822
6823
|
/**
|
|
6823
|
-
* Queries the tags of
|
|
6824
|
+
* Queries the tags of DM.
|
|
6824
6825
|
*
|
|
6825
6826
|
* @param request - ListDmTagRequest
|
|
6826
6827
|
* @returns ListDmTagResponse
|
|
@@ -7304,7 +7305,7 @@ class Client extends openapi_core_1.default {
|
|
|
7304
7305
|
return await this.listInstanceWithOptions(request, runtime);
|
|
7305
7306
|
}
|
|
7306
7307
|
/**
|
|
7307
|
-
* Queries a list of
|
|
7308
|
+
* Queries a list of campaigns.
|
|
7308
7309
|
*
|
|
7309
7310
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7310
7311
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7371,7 +7372,7 @@ class Client extends openapi_core_1.default {
|
|
|
7371
7372
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
7372
7373
|
}
|
|
7373
7374
|
/**
|
|
7374
|
-
* Queries a list of
|
|
7375
|
+
* Queries a list of campaigns.
|
|
7375
7376
|
*
|
|
7376
7377
|
* @param request - ListMarketingFlowRequest
|
|
7377
7378
|
* @returns ListMarketingFlowResponse
|
|
@@ -7381,7 +7382,7 @@ class Client extends openapi_core_1.default {
|
|
|
7381
7382
|
return await this.listMarketingFlowWithOptions(request, runtime);
|
|
7382
7383
|
}
|
|
7383
7384
|
/**
|
|
7384
|
-
*
|
|
7385
|
+
* Queries the budget list.
|
|
7385
7386
|
*
|
|
7386
7387
|
* @param tmpReq - ListMessageCampaignRequest
|
|
7387
7388
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7442,7 +7443,7 @@ class Client extends openapi_core_1.default {
|
|
|
7442
7443
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMessageCampaignResponse({}));
|
|
7443
7444
|
}
|
|
7444
7445
|
/**
|
|
7445
|
-
*
|
|
7446
|
+
* Queries the budget list.
|
|
7446
7447
|
*
|
|
7447
7448
|
* @param request - ListMessageCampaignRequest
|
|
7448
7449
|
* @returns ListMessageCampaignResponse
|
|
@@ -7695,10 +7696,10 @@ class Client extends openapi_core_1.default {
|
|
|
7695
7696
|
return await this.listProductWithOptions(request, runtime);
|
|
7696
7697
|
}
|
|
7697
7698
|
/**
|
|
7698
|
-
* Queries the
|
|
7699
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7699
7700
|
*
|
|
7700
7701
|
* @remarks
|
|
7701
|
-
* The
|
|
7702
|
+
* 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.
|
|
7702
7703
|
*
|
|
7703
7704
|
* @param request - ListProductCatalogRequest
|
|
7704
7705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7751,10 +7752,10 @@ class Client extends openapi_core_1.default {
|
|
|
7751
7752
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7752
7753
|
}
|
|
7753
7754
|
/**
|
|
7754
|
-
* Queries the
|
|
7755
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7755
7756
|
*
|
|
7756
7757
|
* @remarks
|
|
7757
|
-
* The
|
|
7758
|
+
* 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.
|
|
7758
7759
|
*
|
|
7759
7760
|
* @param request - ListProductCatalogRequest
|
|
7760
7761
|
* @returns ListProductCatalogResponse
|
|
@@ -7812,7 +7813,7 @@ class Client extends openapi_core_1.default {
|
|
|
7812
7813
|
return await this.listViberServiceMessageWithOptions(request, runtime);
|
|
7813
7814
|
}
|
|
7814
7815
|
/**
|
|
7815
|
-
*
|
|
7816
|
+
* Queries a list of templates.
|
|
7816
7817
|
*
|
|
7817
7818
|
* @param request - ListWhatAppTemplateRequest
|
|
7818
7819
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7844,7 +7845,7 @@ class Client extends openapi_core_1.default {
|
|
|
7844
7845
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWhatAppTemplateResponse({}));
|
|
7845
7846
|
}
|
|
7846
7847
|
/**
|
|
7847
|
-
*
|
|
7848
|
+
* Queries a list of templates.
|
|
7848
7849
|
*
|
|
7849
7850
|
* @param request - ListWhatAppTemplateRequest
|
|
7850
7851
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -7854,13 +7855,13 @@ class Client extends openapi_core_1.default {
|
|
|
7854
7855
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7855
7856
|
}
|
|
7856
7857
|
/**
|
|
7857
|
-
* Modifies a message template. Only templates that
|
|
7858
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7858
7859
|
*
|
|
7859
7860
|
* @remarks
|
|
7860
7861
|
* ### QPS limit
|
|
7861
|
-
* The
|
|
7862
|
+
* 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.
|
|
7862
7863
|
* ### Status changes
|
|
7863
|
-
* You can
|
|
7864
|
+
* 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).
|
|
7864
7865
|
*
|
|
7865
7866
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7866
7867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7933,13 +7934,13 @@ class Client extends openapi_core_1.default {
|
|
|
7933
7934
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7934
7935
|
}
|
|
7935
7936
|
/**
|
|
7936
|
-
* Modifies a message template. Only templates that
|
|
7937
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7937
7938
|
*
|
|
7938
7939
|
* @remarks
|
|
7939
7940
|
* ### QPS limit
|
|
7940
|
-
* The
|
|
7941
|
+
* 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.
|
|
7941
7942
|
* ### Status changes
|
|
7942
|
-
* You can
|
|
7943
|
+
* 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).
|
|
7943
7944
|
*
|
|
7944
7945
|
* @param request - ModifyChatappTemplateRequest
|
|
7945
7946
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8231,13 +8232,13 @@ class Client extends openapi_core_1.default {
|
|
|
8231
8232
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
8232
8233
|
}
|
|
8233
8234
|
/**
|
|
8234
|
-
*
|
|
8235
|
+
* Takes a flow version offline.
|
|
8235
8236
|
*
|
|
8236
8237
|
* @remarks
|
|
8237
|
-
* - You can call this operation to
|
|
8238
|
-
* - Before calling this operation, make sure the flow you created is
|
|
8239
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
8240
|
-
* - After
|
|
8238
|
+
* - 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.
|
|
8239
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8240
|
+
* - 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.
|
|
8241
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8241
8242
|
*
|
|
8242
8243
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8243
8244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8292,13 +8293,13 @@ class Client extends openapi_core_1.default {
|
|
|
8292
8293
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
8293
8294
|
}
|
|
8294
8295
|
/**
|
|
8295
|
-
*
|
|
8296
|
+
* Takes a flow version offline.
|
|
8296
8297
|
*
|
|
8297
8298
|
* @remarks
|
|
8298
|
-
* - You can call this operation to
|
|
8299
|
-
* - Before calling this operation, make sure the flow you created is
|
|
8300
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
8301
|
-
* - After
|
|
8299
|
+
* - 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.
|
|
8300
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8301
|
+
* - 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.
|
|
8302
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8302
8303
|
*
|
|
8303
8304
|
* @param request - OfflineFlowVersionRequest
|
|
8304
8305
|
* @returns OfflineFlowVersionResponse
|
|
@@ -8544,10 +8545,10 @@ class Client extends openapi_core_1.default {
|
|
|
8544
8545
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8545
8546
|
}
|
|
8546
8547
|
/**
|
|
8547
|
-
* Queries the
|
|
8548
|
+
* Queries the WABA bound to a customer.
|
|
8548
8549
|
*
|
|
8549
8550
|
* @remarks
|
|
8550
|
-
*
|
|
8551
|
+
* 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.
|
|
8551
8552
|
*
|
|
8552
8553
|
* @param request - QueryChatappBindWabaRequest
|
|
8553
8554
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8588,10 +8589,10 @@ class Client extends openapi_core_1.default {
|
|
|
8588
8589
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappBindWabaResponse({}));
|
|
8589
8590
|
}
|
|
8590
8591
|
/**
|
|
8591
|
-
* Queries the
|
|
8592
|
+
* Queries the WABA bound to a customer.
|
|
8592
8593
|
*
|
|
8593
8594
|
* @remarks
|
|
8594
|
-
*
|
|
8595
|
+
* 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.
|
|
8595
8596
|
*
|
|
8596
8597
|
* @param request - QueryChatappBindWabaRequest
|
|
8597
8598
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -8601,10 +8602,10 @@ class Client extends openapi_core_1.default {
|
|
|
8601
8602
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8602
8603
|
}
|
|
8603
8604
|
/**
|
|
8604
|
-
* Queries all phone numbers
|
|
8605
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
8605
8606
|
*
|
|
8606
8607
|
* @remarks
|
|
8607
|
-
*
|
|
8608
|
+
* 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.
|
|
8608
8609
|
*
|
|
8609
8610
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8610
8611
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8648,10 +8649,10 @@ class Client extends openapi_core_1.default {
|
|
|
8648
8649
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
8649
8650
|
}
|
|
8650
8651
|
/**
|
|
8651
|
-
* Queries all phone numbers
|
|
8652
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
8652
8653
|
*
|
|
8653
8654
|
* @remarks
|
|
8654
|
-
*
|
|
8655
|
+
* 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.
|
|
8655
8656
|
*
|
|
8656
8657
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8657
8658
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -8751,7 +8752,7 @@ class Client extends openapi_core_1.default {
|
|
|
8751
8752
|
* Queries the business information of a phone number.
|
|
8752
8753
|
*
|
|
8753
8754
|
* @remarks
|
|
8754
|
-
* The queries per second (QPS) limit
|
|
8755
|
+
* 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.
|
|
8755
8756
|
*
|
|
8756
8757
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8757
8758
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8795,7 +8796,7 @@ class Client extends openapi_core_1.default {
|
|
|
8795
8796
|
* Queries the business information of a phone number.
|
|
8796
8797
|
*
|
|
8797
8798
|
* @remarks
|
|
8798
|
-
* The queries per second (QPS) limit
|
|
8799
|
+
* 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.
|
|
8799
8800
|
*
|
|
8800
8801
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8801
8802
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -9186,17 +9187,17 @@ class Client extends openapi_core_1.default {
|
|
|
9186
9187
|
* Sends Chat App messages in batches.
|
|
9187
9188
|
*
|
|
9188
9189
|
* @remarks
|
|
9189
|
-
* - You can call this operation to send messages in batches
|
|
9190
|
+
* - 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.
|
|
9190
9191
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9191
|
-
* - For WhatsApp
|
|
9192
|
-
* - For Messenger
|
|
9193
|
-
* - For Instagram
|
|
9194
|
-
* <props="intl">- For Viber
|
|
9195
|
-
* ### QPS
|
|
9196
|
-
* - The
|
|
9197
|
-
* - A maximum of 1,000 phone numbers
|
|
9192
|
+
* - 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).
|
|
9193
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9194
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9195
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9196
|
+
* ### QPS limits
|
|
9197
|
+
* - 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.
|
|
9198
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9198
9199
|
* ### Status changes
|
|
9199
|
-
* You can monitor message
|
|
9200
|
+
* 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).
|
|
9200
9201
|
*
|
|
9201
9202
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9202
9203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9290,17 +9291,17 @@ class Client extends openapi_core_1.default {
|
|
|
9290
9291
|
* Sends Chat App messages in batches.
|
|
9291
9292
|
*
|
|
9292
9293
|
* @remarks
|
|
9293
|
-
* - You can call this operation to send messages in batches
|
|
9294
|
+
* - 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.
|
|
9294
9295
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9295
|
-
* - For WhatsApp
|
|
9296
|
-
* - For Messenger
|
|
9297
|
-
* - For Instagram
|
|
9298
|
-
* <props="intl">- For Viber
|
|
9299
|
-
* ### QPS
|
|
9300
|
-
* - The
|
|
9301
|
-
* - A maximum of 1,000 phone numbers
|
|
9296
|
+
* - 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).
|
|
9297
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9298
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9299
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9300
|
+
* ### QPS limits
|
|
9301
|
+
* - 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.
|
|
9302
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9302
9303
|
* ### Status changes
|
|
9303
|
-
* You can monitor message
|
|
9304
|
+
* 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).
|
|
9304
9305
|
*
|
|
9305
9306
|
* @param request - SendChatappMassMessageRequest
|
|
9306
9307
|
* @returns SendChatappMassMessageResponse
|
|
@@ -9486,7 +9487,7 @@ class Client extends openapi_core_1.default {
|
|
|
9486
9487
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
9487
9488
|
}
|
|
9488
9489
|
/**
|
|
9489
|
-
* Submits the
|
|
9490
|
+
* Submits the verification code validation result.
|
|
9490
9491
|
*
|
|
9491
9492
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9492
9493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9521,7 +9522,7 @@ class Client extends openapi_core_1.default {
|
|
|
9521
9522
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitVerifyCodeResultResponse({}));
|
|
9522
9523
|
}
|
|
9523
9524
|
/**
|
|
9524
|
-
* Submits the
|
|
9525
|
+
* Submits the verification code validation result.
|
|
9525
9526
|
*
|
|
9526
9527
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9527
9528
|
* @returns SubmitVerifyCodeResultResponse
|
|
@@ -9937,7 +9938,7 @@ class Client extends openapi_core_1.default {
|
|
|
9937
9938
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9938
9939
|
}
|
|
9939
9940
|
/**
|
|
9940
|
-
*
|
|
9941
|
+
* Updates a Viber application form.
|
|
9941
9942
|
*
|
|
9942
9943
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
9943
9944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9989,7 +9990,7 @@ class Client extends openapi_core_1.default {
|
|
|
9989
9990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAuditRequestResponse({}));
|
|
9990
9991
|
}
|
|
9991
9992
|
/**
|
|
9992
|
-
*
|
|
9993
|
+
* Updates a Viber application form.
|
|
9993
9994
|
*
|
|
9994
9995
|
* @param request - UpdateAuditRequestRequest
|
|
9995
9996
|
* @returns UpdateAuditRequestResponse
|
|
@@ -10436,7 +10437,7 @@ class Client extends openapi_core_1.default {
|
|
|
10436
10437
|
* Updates the content of a flow by using JSON.
|
|
10437
10438
|
*
|
|
10438
10439
|
* @remarks
|
|
10439
|
-
* The
|
|
10440
|
+
* 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.
|
|
10440
10441
|
*
|
|
10441
10442
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10442
10443
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10483,7 +10484,7 @@ class Client extends openapi_core_1.default {
|
|
|
10483
10484
|
* Updates the content of a flow by using JSON.
|
|
10484
10485
|
*
|
|
10485
10486
|
* @remarks
|
|
10486
|
-
* The
|
|
10487
|
+
* 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.
|
|
10487
10488
|
*
|
|
10488
10489
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10489
10490
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -10688,7 +10689,7 @@ class Client extends openapi_core_1.default {
|
|
|
10688
10689
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10689
10690
|
}
|
|
10690
10691
|
/**
|
|
10691
|
-
* Modifies
|
|
10692
|
+
* Modifies the information of a marketing campaign.
|
|
10692
10693
|
*
|
|
10693
10694
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10694
10695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10767,7 +10768,7 @@ class Client extends openapi_core_1.default {
|
|
|
10767
10768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10768
10769
|
}
|
|
10769
10770
|
/**
|
|
10770
|
-
* Modifies
|
|
10771
|
+
* Modifies the information of a marketing campaign.
|
|
10771
10772
|
*
|
|
10772
10773
|
* @param request - UpdateMarketingFLowRequest
|
|
10773
10774
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10917,10 +10918,10 @@ class Client extends openapi_core_1.default {
|
|
|
10917
10918
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10918
10919
|
}
|
|
10919
10920
|
/**
|
|
10920
|
-
*
|
|
10921
|
+
* Updates the callback URL information for a phone number.
|
|
10921
10922
|
*
|
|
10922
10923
|
* @remarks
|
|
10923
|
-
* The per
|
|
10924
|
+
* 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.
|
|
10924
10925
|
*
|
|
10925
10926
|
* @param request - UpdatePhoneWebhookRequest
|
|
10926
10927
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10973,10 +10974,10 @@ class Client extends openapi_core_1.default {
|
|
|
10973
10974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10974
10975
|
}
|
|
10975
10976
|
/**
|
|
10976
|
-
*
|
|
10977
|
+
* Updates the callback URL information for a phone number.
|
|
10977
10978
|
*
|
|
10978
10979
|
* @remarks
|
|
10979
|
-
* The per
|
|
10980
|
+
* 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.
|
|
10980
10981
|
*
|
|
10981
10982
|
* @param request - UpdatePhoneWebhookRequest
|
|
10982
10983
|
* @returns UpdatePhoneWebhookResponse
|