@alicloud/cams20200606 5.2.0 → 5.3.0
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 +729 -390
- package/dist/client.js +881 -390
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +27 -0
- package/dist/models/AddAddressRecoverSuspendRequest.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +28 -0
- package/dist/models/AddAddressRecoverSuspendResponseBody.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendShrinkRequest.d.ts +10 -0
- package/dist/models/AddAddressRecoverSuspendShrinkRequest.js.map +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +6 -6
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +2 -4
- package/dist/models/AddChatGroupInviteLinkResponseBody.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberRequest.d.ts +3 -4
- package/dist/models/AddChatappPhoneNumberRequest.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberResponseBody.d.ts +6 -8
- package/dist/models/AddChatappPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/AddContactsRequest.d.ts +35 -0
- package/dist/models/AddContactsRequest.js.map +1 -1
- package/dist/models/AddContactsResponseBody.d.ts +24 -0
- package/dist/models/AddContactsResponseBody.js.map +1 -1
- package/dist/models/AddContactsShrinkRequest.d.ts +35 -0
- package/dist/models/AddContactsShrinkRequest.js.map +1 -1
- package/dist/models/AddGroupRequest.d.ts +34 -0
- package/dist/models/AddGroupRequest.js.map +1 -1
- package/dist/models/AddGroupResponseBody.d.ts +29 -1
- package/dist/models/AddGroupResponseBody.js.map +1 -1
- package/dist/models/AddGroupShrinkRequest.d.ts +34 -0
- package/dist/models/AddGroupShrinkRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowResponseBody.d.ts +4 -0
- package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ArchiveChatappTemplateRequest.d.ts +86 -0
- package/dist/models/ArchiveChatappTemplateRequest.js +88 -0
- package/dist/models/ArchiveChatappTemplateRequest.js.map +1 -0
- package/dist/models/ArchiveChatappTemplateResponse.d.ts +19 -0
- package/dist/models/ArchiveChatappTemplateResponse.js +69 -0
- package/dist/models/ArchiveChatappTemplateResponse.js.map +1 -0
- package/dist/models/ArchiveChatappTemplateResponseBody.d.ts +114 -0
- package/dist/models/ArchiveChatappTemplateResponseBody.js +96 -0
- package/dist/models/ArchiveChatappTemplateResponseBody.js.map +1 -0
- package/dist/models/ArchiveChatappTemplateShrinkRequest.d.ts +54 -0
- package/dist/models/ArchiveChatappTemplateShrinkRequest.js +64 -0
- package/dist/models/ArchiveChatappTemplateShrinkRequest.js.map +1 -0
- package/dist/models/BindDmAccountRequest.d.ts +10 -0
- package/dist/models/BindDmAccountRequest.js.map +1 -1
- package/dist/models/BindDmAccountResponseBody.d.ts +28 -0
- package/dist/models/BindDmAccountResponseBody.js.map +1 -1
- package/dist/models/BindDmAccountShrinkRequest.d.ts +6 -0
- package/dist/models/BindDmAccountShrinkRequest.js.map +1 -1
- package/dist/models/BindInstagramPageRequest.d.ts +7 -0
- package/dist/models/BindInstagramPageRequest.js.map +1 -1
- package/dist/models/BindInstagramPageResponseBody.d.ts +37 -0
- package/dist/models/BindInstagramPageResponseBody.js.map +1 -1
- package/dist/models/BindMessengerPageResponseBody.d.ts +4 -0
- package/dist/models/BindMessengerPageResponseBody.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +10 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -1
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +4 -0
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -1
- package/dist/models/ChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +6 -8
- package/dist/models/ChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +2 -2
- package/dist/models/ChatappMigrationRegisterResponseBody.d.ts +4 -4
- package/dist/models/ChatappMigrationVerifiedRequest.d.ts +1 -1
- package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +4 -4
- package/dist/models/ChatappPhoneNumberDeregisterRequest.d.ts +6 -2
- package/dist/models/ChatappPhoneNumberDeregisterRequest.js.map +1 -1
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappPhoneNumberRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +6 -8
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.js.map +1 -1
- package/dist/models/ChatappSyncPhoneNumberRequest.d.ts +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +24 -60
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +5 -7
- package/dist/models/ChatappVerifyAndRegisterResponseBody.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +4 -6
- package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleResponseBody.d.ts +14 -14
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +4 -6
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -1
- package/dist/models/CopyTemplateRequest.d.ts +11 -1
- package/dist/models/CopyTemplateRequest.js.map +1 -1
- package/dist/models/CopyTemplateResponseBody.d.ts +34 -0
- package/dist/models/CopyTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportRequest.d.ts +33 -4
- package/dist/models/CreateChatFlowByImportRequest.js.map +1 -1
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +31 -4
- package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +33 -4
- package/dist/models/CreateChatFlowByImportShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +4 -1
- package/dist/models/CreateChatFlowLogSettingRequest.js.map +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +30 -3
- package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowRequest.d.ts +33 -4
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +34 -3
- package/dist/models/CreateChatFlowResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +33 -4
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowRequest.d.ts +12 -2
- package/dist/models/CreateFlowRequest.js.map +1 -1
- package/dist/models/CreateFlowResponseBody.d.ts +10 -3
- package/dist/models/CreateFlowResponseBody.js.map +1 -1
- package/dist/models/CreateFlowShrinkRequest.d.ts +12 -2
- package/dist/models/CreateFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +23 -4
- package/dist/models/CreateFlowVersionRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionResponseBody.d.ts +31 -4
- package/dist/models/CreateFlowVersionResponseBody.js.map +1 -1
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +23 -4
- package/dist/models/CreateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +22 -4
- package/dist/models/CreatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlResponseBody.d.ts +9 -2
- package/dist/models/CreatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiRequest.d.ts +2 -2
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +5 -1
- package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteChatFlowRequest.d.ts +15 -2
- package/dist/models/DeleteChatFlowRequest.js.map +1 -1
- package/dist/models/DeleteChatFlowResponseBody.d.ts +31 -4
- package/dist/models/DeleteChatFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +15 -2
- package/dist/models/DeleteChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +6 -6
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +4 -6
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupRequest.d.ts +3 -5
- package/dist/models/DeleteChatGroupRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupResponseBody.d.ts +3 -5
- package/dist/models/DeleteChatGroupResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsByIdsRequest.d.ts +2 -0
- package/dist/models/DeleteContactsByIdsRequest.js.map +1 -1
- package/dist/models/DeleteContactsByIdsResponseBody.d.ts +28 -0
- package/dist/models/DeleteContactsByIdsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsRequest.d.ts +4 -4
- package/dist/models/DeleteContactsResponseBody.d.ts +7 -3
- package/dist/models/DeleteContactsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsShrinkRequest.d.ts +4 -4
- package/dist/models/DeleteFlowRequest.d.ts +7 -2
- package/dist/models/DeleteFlowRequest.js.map +1 -1
- package/dist/models/DeleteFlowResponseBody.d.ts +9 -2
- package/dist/models/DeleteFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteFlowVersionRequest.d.ts +19 -3
- package/dist/models/DeleteFlowVersionRequest.js.map +1 -1
- package/dist/models/DeleteFlowVersionResponseBody.d.ts +34 -4
- package/dist/models/DeleteFlowVersionResponseBody.js.map +1 -1
- package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +19 -3
- package/dist/models/DeleteFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdRequest.d.ts +1 -1
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +6 -2
- package/dist/models/DeleteGroupByIdResponseBody.js.map +1 -1
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +5 -1
- package/dist/models/DeleteInstagramPageResponseBody.js.map +1 -1
- package/dist/models/DeleteMarketingFlowRequest.d.ts +8 -2
- package/dist/models/DeleteMarketingFlowRequest.js.map +1 -1
- package/dist/models/DeleteMarketingFlowResponseBody.d.ts +34 -4
- package/dist/models/DeleteMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteMessengerPageRequest.d.ts +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +4 -0
- package/dist/models/DeleteMessengerPageResponseBody.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +10 -3
- package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlResponseBody.d.ts +7 -0
- package/dist/models/DeletePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/DeleteWhatsappUserNameRequest.d.ts +36 -0
- package/dist/models/DeleteWhatsappUserNameRequest.js +60 -0
- package/dist/models/DeleteWhatsappUserNameRequest.js.map +1 -0
- package/dist/models/DeleteWhatsappUserNameResponse.d.ts +19 -0
- package/dist/models/DeleteWhatsappUserNameResponse.js +69 -0
- package/dist/models/DeleteWhatsappUserNameResponse.js.map +1 -0
- package/dist/models/DeleteWhatsappUserNameResponseBody.d.ts +69 -0
- package/dist/models/DeleteWhatsappUserNameResponseBody.js +68 -0
- package/dist/models/DeleteWhatsappUserNameResponseBody.js.map +1 -0
- package/dist/models/DeprecateFlowResponseBody.d.ts +4 -0
- package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
- package/dist/models/EnableWhatsappRoimetricRequest.d.ts +2 -2
- package/dist/models/EnableWhatsappRoimetricResponseBody.d.ts +4 -4
- package/dist/models/FlowBindPhoneRequest.d.ts +34 -5
- package/dist/models/FlowBindPhoneRequest.js.map +1 -1
- package/dist/models/FlowBindPhoneResponseBody.d.ts +33 -3
- package/dist/models/FlowBindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +34 -5
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneRequest.d.ts +32 -5
- package/dist/models/FlowRebindPhoneRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +34 -4
- package/dist/models/FlowRebindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +32 -5
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneRequest.d.ts +25 -3
- package/dist/models/FlowUnbindPhoneRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +30 -3
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +25 -3
- package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/GeneratePresignedUrlRequest.d.ts +3 -1
- package/dist/models/GeneratePresignedUrlRequest.js.map +1 -1
- package/dist/models/GeneratePresignedUrlResponseBody.d.ts +38 -5
- package/dist/models/GeneratePresignedUrlResponseBody.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +2 -2
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +44 -40
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricRequest.d.ts +51 -6
- package/dist/models/GetChatFlowMetricRequest.js.map +1 -1
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +34 -3
- package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +51 -6
- package/dist/models/GetChatFlowMetricShrinkRequest.js.map +1 -1
- package/dist/models/GetChatFlowTemplateRequest.d.ts +6 -1
- package/dist/models/GetChatFlowTemplateRequest.js.map +1 -1
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +47 -0
- package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -1
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +32 -0
- package/dist/models/GetChatappOpenStatusResponseBody.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberMetricRequest.d.ts +8 -10
- package/dist/models/GetChatappPhoneNumberMetricRequest.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.d.ts +7 -7
- package/dist/models/GetChatappPhoneNumberSettingRequest.d.ts +5 -0
- package/dist/models/GetChatappPhoneNumberSettingRequest.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +38 -3
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +8 -10
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +117 -111
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricRequest.d.ts +10 -13
- package/dist/models/GetChatappTemplateMetricRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricResponseBody.d.ts +8 -11
- package/dist/models/GetChatappTemplateMetricResponseBody.js.map +1 -1
- package/dist/models/GetCustomerSiteResponseBody.d.ts +27 -4
- package/dist/models/GetCustomerSiteResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListRequest.d.ts +1 -1
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +8 -4
- package/dist/models/GetDownloadExcelListResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +1 -1
- package/dist/models/GetFbInstagramPagesRequest.d.ts +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +5 -1
- package/dist/models/GetFbInstagramPagesResponseBody.js.map +1 -1
- package/dist/models/GetFbMessengerPagesRequest.d.ts +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +5 -1
- package/dist/models/GetFbMessengerPagesResponseBody.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +4 -0
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +4 -0
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistRequest.d.ts +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +8 -4
- package/dist/models/GetGroupExistResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistShrinkRequest.d.ts +1 -1
- package/dist/models/GetMigrationVerifyCodeRequest.d.ts +2 -2
- package/dist/models/GetMigrationVerifyCodeResponseBody.d.ts +2 -2
- package/dist/models/GetPermissionByCodeRequest.d.ts +11 -2
- package/dist/models/GetPermissionByCodeRequest.js.map +1 -1
- package/dist/models/GetPermissionByCodeResponseBody.d.ts +9 -2
- package/dist/models/GetPermissionByCodeResponseBody.js.map +1 -1
- package/dist/models/GetPermissionByCodeShrinkRequest.d.ts +11 -2
- package/dist/models/GetPermissionByCodeShrinkRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +12 -2
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +10 -3
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +4 -0
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
- package/dist/models/GetPledgeTemplateAddressRequest.d.ts +8 -2
- package/dist/models/GetPledgeTemplateAddressRequest.js.map +1 -1
- package/dist/models/GetPledgeTemplateAddressResponseBody.d.ts +36 -3
- package/dist/models/GetPledgeTemplateAddressResponseBody.js.map +1 -1
- package/dist/models/GetViberPauseTimesRequest.d.ts +1 -1
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +11 -3
- package/dist/models/GetViberPauseTimesResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiRequest.d.ts +1 -1
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +10 -6
- package/dist/models/GetWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappUserNameRequest.d.ts +33 -0
- package/dist/models/GetWhatsappUserNameRequest.js +60 -0
- package/dist/models/GetWhatsappUserNameRequest.js.map +1 -0
- package/dist/models/GetWhatsappUserNameResponse.d.ts +19 -0
- package/dist/models/GetWhatsappUserNameResponse.js +69 -0
- package/dist/models/GetWhatsappUserNameResponse.js.map +1 -0
- package/dist/models/GetWhatsappUserNameResponseBody.d.ts +92 -0
- package/dist/models/GetWhatsappUserNameResponseBody.js +92 -0
- package/dist/models/GetWhatsappUserNameResponseBody.js.map +1 -0
- package/dist/models/GetWhatsappUserNameSuggestionsRequest.d.ts +36 -0
- package/dist/models/GetWhatsappUserNameSuggestionsRequest.js +60 -0
- package/dist/models/GetWhatsappUserNameSuggestionsRequest.js.map +1 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponse.d.ts +19 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponse.js +69 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponse.js.map +1 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.d.ts +64 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.js +71 -0
- package/dist/models/GetWhatsappUserNameSuggestionsResponseBody.js.map +1 -0
- package/dist/models/IsvGetAppIdRequest.d.ts +13 -3
- package/dist/models/IsvGetAppIdRequest.js.map +1 -1
- package/dist/models/IsvGetAppIdResponseBody.d.ts +5 -5
- package/dist/models/ListAllGroupsResponseBody.d.ts +10 -6
- package/dist/models/ListAllGroupsResponseBody.js.map +1 -1
- package/dist/models/ListBindDmAccountResponseBody.d.ts +12 -8
- package/dist/models/ListBindDmAccountResponseBody.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +16 -2
- package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +30 -3
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.js.map +1 -1
- package/dist/models/ListChatFlowRequest.d.ts +43 -6
- package/dist/models/ListChatFlowRequest.js.map +1 -1
- package/dist/models/ListChatFlowResponseBody.d.ts +30 -3
- package/dist/models/ListChatFlowResponseBody.js.map +1 -1
- package/dist/models/ListChatFlowShrinkRequest.d.ts +43 -6
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateRequest.d.ts +29 -5
- package/dist/models/ListChatFlowTemplateRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +47 -0
- package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupRequest.d.ts +6 -9
- package/dist/models/ListChatGroupRequest.js.map +1 -1
- package/dist/models/ListChatGroupResponseBody.d.ts +14 -16
- package/dist/models/ListChatGroupResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupShrinkRequest.d.ts +6 -9
- package/dist/models/ListChatGroupShrinkRequest.js.map +1 -1
- package/dist/models/ListChatappMessageRequest.d.ts +49 -3
- package/dist/models/ListChatappMessageRequest.js.map +1 -1
- package/dist/models/ListChatappMessageResponseBody.d.ts +143 -28
- package/dist/models/ListChatappMessageResponseBody.js.map +1 -1
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +43 -1
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/ListDmAccountRequest.d.ts +16 -4
- package/dist/models/ListDmAccountRequest.js.map +1 -1
- package/dist/models/ListDmAccountResponseBody.d.ts +53 -4
- package/dist/models/ListDmAccountResponseBody.js.map +1 -1
- package/dist/models/ListDmTagRequest.d.ts +3 -3
- package/dist/models/ListDmTagResponseBody.d.ts +7 -3
- package/dist/models/ListDmTagResponseBody.js.map +1 -1
- package/dist/models/ListFacebookPostsRequest.d.ts +2 -0
- package/dist/models/ListFacebookPostsRequest.js.map +1 -1
- package/dist/models/ListFacebookPostsResponseBody.d.ts +64 -11
- package/dist/models/ListFacebookPostsResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodeGroupRequest.d.ts +6 -2
- package/dist/models/ListFlowNodeGroupRequest.js.map +1 -1
- package/dist/models/ListFlowNodeGroupResponseBody.d.ts +47 -4
- package/dist/models/ListFlowNodeGroupResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +25 -5
- package/dist/models/ListFlowNodePrototypeV2request.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +68 -6
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +4 -0
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +35 -5
- package/dist/models/ListFlowVersionRequest.js.map +1 -1
- package/dist/models/ListFlowVersionResponseBody.d.ts +31 -4
- package/dist/models/ListFlowVersionResponseBody.js.map +1 -1
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +35 -5
- package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/ListInstagramPageRequest.d.ts +3 -1
- package/dist/models/ListInstagramPageRequest.js.map +1 -1
- package/dist/models/ListInstagramPageResponseBody.d.ts +112 -1
- package/dist/models/ListInstagramPageResponseBody.js.map +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +14 -10
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowRequest.d.ts +34 -3
- package/dist/models/ListMarketingFlowRequest.js.map +1 -1
- package/dist/models/ListMarketingFlowResponseBody.d.ts +125 -19
- package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +34 -3
- package/dist/models/ListMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListPageAdAccountRequest.d.ts +6 -2
- package/dist/models/ListPageAdAccountRequest.js.map +1 -1
- package/dist/models/ListPageAdAccountResponseBody.d.ts +46 -3
- package/dist/models/ListPageAdAccountResponseBody.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +7 -2
- package/dist/models/ListPhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +11 -4
- package/dist/models/ListPhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/ListProductCatalogRequest.d.ts +7 -6
- package/dist/models/ListProductCatalogRequest.js.map +1 -1
- package/dist/models/ListProductCatalogResponseBody.d.ts +11 -13
- package/dist/models/ListProductCatalogResponseBody.js.map +1 -1
- package/dist/models/ListViberServiceMessageRequest.d.ts +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +11 -7
- package/dist/models/ListViberServiceMessageResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplatePropertiesRequest.d.ts +20 -4
- package/dist/models/ModifyChatappTemplatePropertiesRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.d.ts +35 -3
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +82 -83
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +2 -2
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +20 -15
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ModifyFlowRequest.d.ts +16 -3
- package/dist/models/ModifyFlowRequest.js.map +1 -1
- package/dist/models/ModifyFlowResponseBody.d.ts +14 -4
- package/dist/models/ModifyFlowResponseBody.js.map +1 -1
- package/dist/models/ModifyFlowShrinkRequest.d.ts +16 -3
- package/dist/models/ModifyFlowShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileRequest.d.ts +7 -9
- package/dist/models/ModifyPhoneBusinessProfileRequest.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.d.ts +10 -8
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.d.ts +7 -9
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupRequest.d.ts +3 -3
- package/dist/models/MoveContactToGroupResponseBody.d.ts +5 -1
- package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +3 -3
- package/dist/models/OfflineFlowVersionRequest.d.ts +23 -4
- package/dist/models/OfflineFlowVersionRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +30 -3
- package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +23 -4
- package/dist/models/OfflineFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/OnlineFlowVersionRequest.d.ts +23 -4
- package/dist/models/OnlineFlowVersionRequest.js.map +1 -1
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +30 -3
- package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +23 -4
- package/dist/models/OnlineFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/OpenChatappServiceResponseBody.d.ts +16 -0
- package/dist/models/OpenChatappServiceResponseBody.js.map +1 -1
- package/dist/models/PauseMarketingFlowRequest.d.ts +2 -2
- package/dist/models/PauseMarketingFlowResponseBody.d.ts +5 -1
- package/dist/models/PauseMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/PublishFlowRequest.d.ts +10 -2
- package/dist/models/PublishFlowRequest.js.map +1 -1
- package/dist/models/PublishFlowResponseBody.d.ts +8 -1
- package/dist/models/PublishFlowResponseBody.js.map +1 -1
- package/dist/models/QueryMmlactiveRequest.d.ts +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +5 -1
- package/dist/models/QueryMmlactiveResponseBody.js.map +1 -1
- package/dist/models/QueryPhoneBusinessProfileRequest.d.ts +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +8 -10
- package/dist/models/QueryPhoneBusinessProfileResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowLogSettingRequest.d.ts +4 -1
- package/dist/models/ReadChatFlowLogSettingRequest.js.map +1 -1
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +30 -3
- package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowRequest.d.ts +15 -2
- package/dist/models/ReadChatFlowRequest.js.map +1 -1
- package/dist/models/ReadChatFlowResponseBody.d.ts +31 -4
- package/dist/models/ReadChatFlowResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +15 -2
- package/dist/models/ReadChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ReadFlowVersionRequest.d.ts +27 -4
- package/dist/models/ReadFlowVersionRequest.js.map +1 -1
- package/dist/models/ReadFlowVersionResponseBody.d.ts +30 -3
- package/dist/models/ReadFlowVersionResponseBody.js.map +1 -1
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +27 -4
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdRequest.d.ts +2 -2
- package/dist/models/RemoveContactByIdResponseBody.d.ts +4 -0
- package/dist/models/RemoveContactByIdResponseBody.js.map +1 -1
- package/dist/models/SendChatappMassMessageRequest.d.ts +43 -65
- package/dist/models/SendChatappMassMessageRequest.js +2 -0
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageResponseBody.d.ts +3 -3
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +26 -48
- package/dist/models/SendChatappMassMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +125 -235
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageResponseBody.d.ts +6 -6
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +124 -234
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SyncBusinessAppHistoryRequest.d.ts +2 -2
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +6 -8
- package/dist/models/SyncBusinessAppHistoryResponseBody.js.map +1 -1
- package/dist/models/SyncFlowRequest.d.ts +1 -1
- package/dist/models/SyncFlowResponseBody.d.ts +5 -1
- package/dist/models/SyncFlowResponseBody.js.map +1 -1
- package/dist/models/SyncMessengerSubscriptionTokenRequest.d.ts +2 -2
- package/dist/models/SyncMessengerSubscriptionTokenResponseBody.d.ts +4 -4
- package/dist/models/UnbindDmAccountRequest.d.ts +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +8 -4
- package/dist/models/UnbindDmAccountResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +17 -3
- package/dist/models/UpdateChatFlowLogSettingRequest.js.map +1 -1
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +30 -3
- package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowRequest.d.ts +23 -4
- package/dist/models/UpdateChatFlowRequest.js.map +1 -1
- package/dist/models/UpdateChatFlowResponseBody.d.ts +30 -3
- package/dist/models/UpdateChatFlowResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +23 -4
- package/dist/models/UpdateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateChatGroupRequest.d.ts +12 -17
- package/dist/models/UpdateChatGroupRequest.js.map +1 -1
- package/dist/models/UpdateChatGroupResponseBody.d.ts +2 -4
- package/dist/models/UpdateChatGroupResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdResponseBody.d.ts +4 -0
- package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
- package/dist/models/UpdateConversationalAutomationRequest.d.ts +6 -6
- package/dist/models/UpdateConversationalAutomationResponseBody.d.ts +6 -8
- package/dist/models/UpdateConversationalAutomationResponseBody.js.map +1 -1
- package/dist/models/UpdateConversationalAutomationShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateFlowJsonassetRequest.d.ts +10 -3
- package/dist/models/UpdateFlowJsonassetRequest.js.map +1 -1
- package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +9 -2
- package/dist/models/UpdateFlowJsonassetResponseBody.js.map +1 -1
- package/dist/models/UpdateFlowVersionRequest.d.ts +37 -5
- package/dist/models/UpdateFlowVersionRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +33 -3
- package/dist/models/UpdateFlowVersionResponseBody.js.map +1 -1
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +37 -5
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameResponseBody.d.ts +4 -0
- package/dist/models/UpdateGroupNameResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowRequest.d.ts +52 -13
- package/dist/models/UpdateMarketingFlowRequest.js.map +1 -1
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +38 -4
- package/dist/models/UpdateMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +52 -13
- package/dist/models/UpdateMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +15 -3
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.d.ts +9 -2
- package/dist/models/UpdatePhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlRequest.d.ts +23 -5
- package/dist/models/UpdatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +9 -2
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +6 -6
- package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +5 -5
- package/dist/models/UpdateWabaMmlStatusRequest.d.ts +6 -0
- package/dist/models/UpdateWabaMmlStatusRequest.js.map +1 -1
- package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +34 -0
- package/dist/models/UpdateWabaMmlStatusResponseBody.js.map +1 -1
- package/dist/models/UpdateWhatsappUserNameRequest.d.ts +58 -0
- package/dist/models/UpdateWhatsappUserNameRequest.js +64 -0
- package/dist/models/UpdateWhatsappUserNameRequest.js.map +1 -0
- package/dist/models/UpdateWhatsappUserNameResponse.d.ts +19 -0
- package/dist/models/UpdateWhatsappUserNameResponse.js +69 -0
- package/dist/models/UpdateWhatsappUserNameResponse.js.map +1 -0
- package/dist/models/UpdateWhatsappUserNameResponseBody.d.ts +84 -0
- package/dist/models/UpdateWhatsappUserNameResponseBody.js +90 -0
- package/dist/models/UpdateWhatsappUserNameResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +55 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +906 -390
- package/src/models/AddAddressRecoverSuspendRequest.ts +27 -0
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +28 -0
- package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +10 -0
- package/src/models/AddChatGroupInviteLinkRequest.ts +6 -6
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +2 -4
- package/src/models/AddChatappPhoneNumberRequest.ts +3 -4
- package/src/models/AddChatappPhoneNumberResponseBody.ts +6 -8
- package/src/models/AddContactsRequest.ts +35 -0
- package/src/models/AddContactsResponseBody.ts +24 -0
- package/src/models/AddContactsShrinkRequest.ts +35 -0
- package/src/models/AddGroupRequest.ts +34 -0
- package/src/models/AddGroupResponseBody.ts +29 -1
- package/src/models/AddGroupShrinkRequest.ts +34 -0
- package/src/models/AddMarketingFlowResponseBody.ts +4 -0
- package/src/models/ArchiveChatappTemplateRequest.ts +120 -0
- package/src/models/ArchiveChatappTemplateResponse.ts +40 -0
- package/src/models/ArchiveChatappTemplateResponseBody.ts +156 -0
- package/src/models/ArchiveChatappTemplateShrinkRequest.ts +73 -0
- package/src/models/BindDmAccountRequest.ts +10 -0
- package/src/models/BindDmAccountResponseBody.ts +28 -0
- package/src/models/BindDmAccountShrinkRequest.ts +6 -0
- package/src/models/BindInstagramPageRequest.ts +7 -0
- package/src/models/BindInstagramPageResponseBody.ts +37 -0
- package/src/models/BindMessengerPageResponseBody.ts +4 -0
- package/src/models/ChangeResourceGroupRequest.ts +10 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +4 -0
- package/src/models/ChatappBindWabaRequest.ts +1 -1
- package/src/models/ChatappBindWabaResponseBody.ts +6 -8
- package/src/models/ChatappMigrationRegisterRequest.ts +2 -2
- package/src/models/ChatappMigrationRegisterResponseBody.ts +4 -4
- package/src/models/ChatappMigrationVerifiedRequest.ts +1 -1
- package/src/models/ChatappMigrationVerifiedResponseBody.ts +4 -4
- package/src/models/ChatappPhoneNumberDeregisterRequest.ts +6 -2
- package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +2 -2
- package/src/models/ChatappPhoneNumberRegisterRequest.ts +1 -1
- package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +6 -8
- package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +24 -60
- package/src/models/ChatappVerifyAndRegisterRequest.ts +1 -1
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +5 -7
- package/src/models/CheckDirectSendMessageSampleRequest.ts +4 -6
- package/src/models/CheckDirectSendMessageSampleResponseBody.ts +14 -14
- package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +4 -6
- package/src/models/CopyTemplateRequest.ts +11 -1
- package/src/models/CopyTemplateResponseBody.ts +34 -0
- package/src/models/CreateChatFlowByImportRequest.ts +33 -4
- package/src/models/CreateChatFlowByImportResponseBody.ts +31 -4
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +33 -4
- package/src/models/CreateChatFlowLogSettingRequest.ts +4 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +30 -3
- package/src/models/CreateChatFlowRequest.ts +33 -4
- package/src/models/CreateChatFlowResponseBody.ts +34 -3
- package/src/models/CreateChatFlowShrinkRequest.ts +33 -4
- package/src/models/CreateFlowRequest.ts +12 -2
- package/src/models/CreateFlowResponseBody.ts +10 -3
- package/src/models/CreateFlowShrinkRequest.ts +12 -2
- package/src/models/CreateFlowVersionRequest.ts +23 -4
- package/src/models/CreateFlowVersionResponseBody.ts +31 -4
- package/src/models/CreateFlowVersionShrinkRequest.ts +23 -4
- package/src/models/CreatePhoneMessageQrdlRequest.ts +22 -4
- package/src/models/CreatePhoneMessageQrdlResponseBody.ts +9 -2
- package/src/models/CreateWhatsappConversionApiRequest.ts +2 -2
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +5 -1
- package/src/models/CreateWhatsappConversionApiShrinkRequest.ts +2 -2
- package/src/models/DeleteChatFlowRequest.ts +15 -2
- package/src/models/DeleteChatFlowResponseBody.ts +31 -4
- package/src/models/DeleteChatFlowShrinkRequest.ts +15 -2
- package/src/models/DeleteChatGroupInviteLinkRequest.ts +6 -6
- package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +4 -6
- package/src/models/DeleteChatGroupRequest.ts +3 -5
- package/src/models/DeleteChatGroupResponseBody.ts +3 -5
- package/src/models/DeleteContactsByIdsRequest.ts +2 -0
- package/src/models/DeleteContactsByIdsResponseBody.ts +28 -0
- package/src/models/DeleteContactsRequest.ts +4 -4
- package/src/models/DeleteContactsResponseBody.ts +7 -3
- package/src/models/DeleteContactsShrinkRequest.ts +4 -4
- package/src/models/DeleteFlowRequest.ts +7 -2
- package/src/models/DeleteFlowResponseBody.ts +9 -2
- package/src/models/DeleteFlowVersionRequest.ts +19 -3
- package/src/models/DeleteFlowVersionResponseBody.ts +34 -4
- package/src/models/DeleteFlowVersionShrinkRequest.ts +19 -3
- package/src/models/DeleteGroupByIdRequest.ts +1 -1
- package/src/models/DeleteGroupByIdResponseBody.ts +6 -2
- package/src/models/DeleteInstagramPageResponseBody.ts +5 -1
- package/src/models/DeleteMarketingFlowRequest.ts +8 -2
- package/src/models/DeleteMarketingFlowResponseBody.ts +34 -4
- package/src/models/DeleteMessengerPageRequest.ts +1 -1
- package/src/models/DeleteMessengerPageResponseBody.ts +4 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +10 -3
- package/src/models/DeletePhoneMessageQrdlResponseBody.ts +7 -0
- package/src/models/DeleteWhatsappUserNameRequest.ts +51 -0
- package/src/models/DeleteWhatsappUserNameResponse.ts +40 -0
- package/src/models/DeleteWhatsappUserNameResponseBody.ts +92 -0
- package/src/models/DeprecateFlowResponseBody.ts +4 -0
- package/src/models/EnableWhatsappRoimetricRequest.ts +2 -2
- package/src/models/EnableWhatsappRoimetricResponseBody.ts +4 -4
- package/src/models/FlowBindPhoneRequest.ts +34 -5
- package/src/models/FlowBindPhoneResponseBody.ts +33 -3
- package/src/models/FlowBindPhoneShrinkRequest.ts +34 -5
- package/src/models/FlowRebindPhoneRequest.ts +32 -5
- package/src/models/FlowRebindPhoneResponseBody.ts +34 -4
- package/src/models/FlowRebindPhoneShrinkRequest.ts +32 -5
- package/src/models/FlowUnbindPhoneRequest.ts +25 -3
- package/src/models/FlowUnbindPhoneResponseBody.ts +30 -3
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +25 -3
- package/src/models/GeneratePresignedUrlRequest.ts +3 -1
- package/src/models/GeneratePresignedUrlResponseBody.ts +38 -5
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +2 -2
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +44 -40
- package/src/models/GetChatFlowMetricRequest.ts +51 -6
- package/src/models/GetChatFlowMetricResponseBody.ts +34 -3
- package/src/models/GetChatFlowMetricShrinkRequest.ts +51 -6
- package/src/models/GetChatFlowTemplateRequest.ts +6 -1
- package/src/models/GetChatFlowTemplateResponseBody.ts +47 -0
- package/src/models/GetChatappOpenStatusResponseBody.ts +32 -0
- package/src/models/GetChatappPhoneNumberMetricRequest.ts +8 -10
- package/src/models/GetChatappPhoneNumberMetricResponseBody.ts +7 -7
- package/src/models/GetChatappPhoneNumberSettingRequest.ts +5 -0
- package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +38 -3
- package/src/models/GetChatappTemplateDetailRequest.ts +8 -10
- package/src/models/GetChatappTemplateDetailResponseBody.ts +117 -111
- package/src/models/GetChatappTemplateMetricRequest.ts +10 -13
- package/src/models/GetChatappTemplateMetricResponseBody.ts +8 -11
- package/src/models/GetCustomerSiteResponseBody.ts +27 -4
- package/src/models/GetDownloadExcelListRequest.ts +1 -1
- package/src/models/GetDownloadExcelListResponseBody.ts +8 -4
- package/src/models/GetDownloadExcelListShrinkRequest.ts +1 -1
- package/src/models/GetFbInstagramPagesRequest.ts +1 -1
- package/src/models/GetFbInstagramPagesResponseBody.ts +5 -1
- package/src/models/GetFbMessengerPagesRequest.ts +1 -1
- package/src/models/GetFbMessengerPagesResponseBody.ts +5 -1
- package/src/models/GetFlowJsonassestResponseBody.ts +4 -0
- package/src/models/GetFlowPreviewUrlResponseBody.ts +4 -0
- package/src/models/GetGroupExistRequest.ts +1 -1
- package/src/models/GetGroupExistResponseBody.ts +8 -4
- package/src/models/GetGroupExistShrinkRequest.ts +1 -1
- package/src/models/GetMigrationVerifyCodeRequest.ts +2 -2
- package/src/models/GetMigrationVerifyCodeResponseBody.ts +2 -2
- package/src/models/GetPermissionByCodeRequest.ts +11 -2
- package/src/models/GetPermissionByCodeResponseBody.ts +9 -2
- package/src/models/GetPermissionByCodeShrinkRequest.ts +11 -2
- package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +12 -2
- package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +10 -3
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +4 -0
- package/src/models/GetPledgeTemplateAddressRequest.ts +8 -2
- package/src/models/GetPledgeTemplateAddressResponseBody.ts +36 -3
- package/src/models/GetViberPauseTimesRequest.ts +1 -1
- package/src/models/GetViberPauseTimesResponseBody.ts +11 -3
- package/src/models/GetWhatsappConversionApiRequest.ts +1 -1
- package/src/models/GetWhatsappConversionApiResponseBody.ts +10 -6
- package/src/models/GetWhatsappUserNameRequest.ts +48 -0
- package/src/models/GetWhatsappUserNameResponse.ts +40 -0
- package/src/models/GetWhatsappUserNameResponseBody.ts +130 -0
- package/src/models/GetWhatsappUserNameSuggestionsRequest.ts +51 -0
- package/src/models/GetWhatsappUserNameSuggestionsResponse.ts +40 -0
- package/src/models/GetWhatsappUserNameSuggestionsResponseBody.ts +90 -0
- package/src/models/IsvGetAppIdRequest.ts +13 -3
- package/src/models/IsvGetAppIdResponseBody.ts +5 -5
- package/src/models/ListAllGroupsResponseBody.ts +10 -6
- package/src/models/ListBindDmAccountResponseBody.ts +12 -8
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +16 -2
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +30 -3
- package/src/models/ListChatFlowRequest.ts +43 -6
- package/src/models/ListChatFlowResponseBody.ts +30 -3
- package/src/models/ListChatFlowShrinkRequest.ts +43 -6
- package/src/models/ListChatFlowTemplateRequest.ts +29 -5
- package/src/models/ListChatFlowTemplateResponseBody.ts +47 -0
- package/src/models/ListChatGroupRequest.ts +6 -9
- package/src/models/ListChatGroupResponseBody.ts +14 -16
- package/src/models/ListChatGroupShrinkRequest.ts +6 -9
- package/src/models/ListChatappMessageRequest.ts +49 -3
- package/src/models/ListChatappMessageResponseBody.ts +143 -28
- package/src/models/ListChatappMessageShrinkRequest.ts +43 -1
- package/src/models/ListDmAccountRequest.ts +16 -4
- package/src/models/ListDmAccountResponseBody.ts +53 -4
- package/src/models/ListDmTagRequest.ts +3 -3
- package/src/models/ListDmTagResponseBody.ts +7 -3
- package/src/models/ListFacebookPostsRequest.ts +2 -0
- package/src/models/ListFacebookPostsResponseBody.ts +64 -11
- package/src/models/ListFlowNodeGroupRequest.ts +6 -2
- package/src/models/ListFlowNodeGroupResponseBody.ts +47 -4
- package/src/models/ListFlowNodePrototypeV2request.ts +25 -5
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +68 -6
- package/src/models/ListFlowResponseBody.ts +4 -0
- package/src/models/ListFlowVersionRequest.ts +35 -5
- package/src/models/ListFlowVersionResponseBody.ts +31 -4
- package/src/models/ListFlowVersionShrinkRequest.ts +35 -5
- package/src/models/ListInstagramPageRequest.ts +3 -1
- package/src/models/ListInstagramPageResponseBody.ts +112 -1
- package/src/models/ListInstagramPostsResponseBody.ts +14 -10
- package/src/models/ListMarketingFlowRequest.ts +34 -3
- package/src/models/ListMarketingFlowResponseBody.ts +125 -19
- package/src/models/ListMarketingFlowShrinkRequest.ts +34 -3
- package/src/models/ListPageAdAccountRequest.ts +6 -2
- package/src/models/ListPageAdAccountResponseBody.ts +46 -3
- package/src/models/ListPhoneMessageQrdlRequest.ts +7 -2
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +11 -4
- package/src/models/ListProductCatalogRequest.ts +7 -6
- package/src/models/ListProductCatalogResponseBody.ts +11 -13
- package/src/models/ListViberServiceMessageRequest.ts +1 -1
- package/src/models/ListViberServiceMessageResponseBody.ts +11 -7
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +20 -4
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +35 -3
- package/src/models/ModifyChatappTemplateRequest.ts +82 -83
- package/src/models/ModifyChatappTemplateResponseBody.ts +2 -2
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +20 -15
- package/src/models/ModifyFlowRequest.ts +16 -3
- package/src/models/ModifyFlowResponseBody.ts +14 -4
- package/src/models/ModifyFlowShrinkRequest.ts +16 -3
- package/src/models/ModifyPhoneBusinessProfileRequest.ts +7 -9
- package/src/models/ModifyPhoneBusinessProfileResponseBody.ts +10 -8
- package/src/models/ModifyPhoneBusinessProfileShrinkRequest.ts +7 -9
- package/src/models/MoveContactToGroupRequest.ts +3 -3
- package/src/models/MoveContactToGroupResponseBody.ts +5 -1
- package/src/models/MoveContactToGroupShrinkRequest.ts +3 -3
- package/src/models/OfflineFlowVersionRequest.ts +23 -4
- package/src/models/OfflineFlowVersionResponseBody.ts +30 -3
- package/src/models/OfflineFlowVersionShrinkRequest.ts +23 -4
- package/src/models/OnlineFlowVersionRequest.ts +23 -4
- package/src/models/OnlineFlowVersionResponseBody.ts +30 -3
- package/src/models/OnlineFlowVersionShrinkRequest.ts +23 -4
- package/src/models/OpenChatappServiceResponseBody.ts +16 -0
- package/src/models/PauseMarketingFlowRequest.ts +2 -2
- package/src/models/PauseMarketingFlowResponseBody.ts +5 -1
- package/src/models/PublishFlowRequest.ts +10 -2
- package/src/models/PublishFlowResponseBody.ts +8 -1
- package/src/models/QueryMmlactiveRequest.ts +1 -1
- package/src/models/QueryMmlactiveResponseBody.ts +5 -1
- package/src/models/QueryPhoneBusinessProfileRequest.ts +1 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +8 -10
- package/src/models/ReadChatFlowLogSettingRequest.ts +4 -1
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +30 -3
- package/src/models/ReadChatFlowRequest.ts +15 -2
- package/src/models/ReadChatFlowResponseBody.ts +31 -4
- package/src/models/ReadChatFlowShrinkRequest.ts +15 -2
- package/src/models/ReadFlowVersionRequest.ts +27 -4
- package/src/models/ReadFlowVersionResponseBody.ts +30 -3
- package/src/models/ReadFlowVersionShrinkRequest.ts +27 -4
- package/src/models/RemoveContactByIdRequest.ts +2 -2
- package/src/models/RemoveContactByIdResponseBody.ts +4 -0
- package/src/models/SendChatappMassMessageRequest.ts +45 -65
- package/src/models/SendChatappMassMessageResponseBody.ts +3 -3
- package/src/models/SendChatappMassMessageShrinkRequest.ts +26 -48
- package/src/models/SendChatappMessageRequest.ts +128 -238
- package/src/models/SendChatappMessageResponseBody.ts +6 -6
- package/src/models/SendChatappMessageShrinkRequest.ts +127 -237
- package/src/models/SyncBusinessAppHistoryRequest.ts +2 -2
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +6 -8
- package/src/models/SyncFlowRequest.ts +1 -1
- package/src/models/SyncFlowResponseBody.ts +5 -1
- package/src/models/SyncMessengerSubscriptionTokenRequest.ts +2 -2
- package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +4 -4
- package/src/models/UnbindDmAccountRequest.ts +1 -1
- package/src/models/UnbindDmAccountResponseBody.ts +8 -4
- package/src/models/UpdateChatFlowLogSettingRequest.ts +17 -3
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +30 -3
- package/src/models/UpdateChatFlowRequest.ts +23 -4
- package/src/models/UpdateChatFlowResponseBody.ts +30 -3
- package/src/models/UpdateChatFlowShrinkRequest.ts +23 -4
- package/src/models/UpdateChatGroupRequest.ts +12 -17
- package/src/models/UpdateChatGroupResponseBody.ts +2 -4
- package/src/models/UpdateContactByIdResponseBody.ts +4 -0
- package/src/models/UpdateConversationalAutomationRequest.ts +6 -6
- package/src/models/UpdateConversationalAutomationResponseBody.ts +6 -8
- package/src/models/UpdateConversationalAutomationShrinkRequest.ts +5 -5
- package/src/models/UpdateFlowJsonassetRequest.ts +10 -3
- package/src/models/UpdateFlowJsonassetResponseBody.ts +9 -2
- package/src/models/UpdateFlowVersionRequest.ts +37 -5
- package/src/models/UpdateFlowVersionResponseBody.ts +33 -3
- package/src/models/UpdateFlowVersionShrinkRequest.ts +37 -5
- package/src/models/UpdateGroupNameResponseBody.ts +4 -0
- package/src/models/UpdateMarketingFlowRequest.ts +52 -13
- package/src/models/UpdateMarketingFlowResponseBody.ts +38 -4
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +52 -13
- package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +15 -3
- package/src/models/UpdatePhoneEncryptionPublicKeyResponseBody.ts +9 -2
- package/src/models/UpdatePhoneMessageQrdlRequest.ts +23 -5
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +9 -2
- package/src/models/UpdatePhoneWebhookRequest.ts +6 -6
- package/src/models/UpdatePhoneWebhookResponseBody.ts +5 -5
- package/src/models/UpdateWabaMmlStatusRequest.ts +6 -0
- package/src/models/UpdateWabaMmlStatusResponseBody.ts +34 -0
- package/src/models/UpdateWhatsappUserNameRequest.ts +77 -0
- package/src/models/UpdateWhatsappUserNameResponse.ts +40 -0
- package/src/models/UpdateWhatsappUserNameResponseBody.ts +120 -0
- package/src/models/model.ts +20 -0
package/dist/client.js
CHANGED
|
@@ -65,7 +65,7 @@ class Client extends openapi_core_1.default {
|
|
|
65
65
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Submits a request to change the destination, resume, or pause.
|
|
69
69
|
*
|
|
70
70
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
71
71
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114,7 +114,7 @@ class Client extends openapi_core_1.default {
|
|
|
114
114
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Submits a request to change the destination, resume, or pause.
|
|
118
118
|
*
|
|
119
119
|
* @param request - AddAddressRecoverSuspendRequest
|
|
120
120
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -260,16 +260,15 @@ class Client extends openapi_core_1.default {
|
|
|
260
260
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Adds an invite link for an
|
|
263
|
+
* Adds an invite link for an IM group.
|
|
264
264
|
*
|
|
265
265
|
* @remarks
|
|
266
|
-
* >Notice:
|
|
267
|
-
*
|
|
268
|
-
* -
|
|
269
|
-
* -
|
|
270
|
-
* -
|
|
271
|
-
* -
|
|
272
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
266
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
267
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
268
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
269
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
270
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
271
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
273
272
|
*
|
|
274
273
|
* @param request - AddChatGroupInviteLinkRequest
|
|
275
274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -316,16 +315,15 @@ class Client extends openapi_core_1.default {
|
|
|
316
315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
317
316
|
}
|
|
318
317
|
/**
|
|
319
|
-
* Adds an invite link for an
|
|
318
|
+
* Adds an invite link for an IM group.
|
|
320
319
|
*
|
|
321
320
|
* @remarks
|
|
322
|
-
* >Notice:
|
|
323
|
-
*
|
|
324
|
-
* -
|
|
325
|
-
* -
|
|
326
|
-
* -
|
|
327
|
-
* -
|
|
328
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
321
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
322
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
323
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
324
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
325
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
326
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
329
327
|
*
|
|
330
328
|
* @param request - AddChatGroupInviteLinkRequest
|
|
331
329
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -335,10 +333,10 @@ class Client extends openapi_core_1.default {
|
|
|
335
333
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
336
334
|
}
|
|
337
335
|
/**
|
|
338
|
-
* Adds a phone number to a
|
|
336
|
+
* Adds a phone number to a WABA.
|
|
339
337
|
*
|
|
340
338
|
* @remarks
|
|
341
|
-
*
|
|
339
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
342
340
|
*
|
|
343
341
|
* @param request - AddChatappPhoneNumberRequest
|
|
344
342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -388,10 +386,10 @@ class Client extends openapi_core_1.default {
|
|
|
388
386
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
389
387
|
}
|
|
390
388
|
/**
|
|
391
|
-
* Adds a phone number to a
|
|
389
|
+
* Adds a phone number to a WABA.
|
|
392
390
|
*
|
|
393
391
|
* @remarks
|
|
394
|
-
*
|
|
392
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
395
393
|
*
|
|
396
394
|
* @param request - AddChatappPhoneNumberRequest
|
|
397
395
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -401,7 +399,7 @@ class Client extends openapi_core_1.default {
|
|
|
401
399
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
402
400
|
}
|
|
403
401
|
/**
|
|
404
|
-
*
|
|
402
|
+
* Edits a contact - add contact.
|
|
405
403
|
*
|
|
406
404
|
* @param tmpReq - AddContactsRequest
|
|
407
405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -471,7 +469,7 @@ class Client extends openapi_core_1.default {
|
|
|
471
469
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddContactsResponse({}));
|
|
472
470
|
}
|
|
473
471
|
/**
|
|
474
|
-
*
|
|
472
|
+
* Edits a contact - add contact.
|
|
475
473
|
*
|
|
476
474
|
* @param request - AddContactsRequest
|
|
477
475
|
* @returns AddContactsResponse
|
|
@@ -558,7 +556,7 @@ class Client extends openapi_core_1.default {
|
|
|
558
556
|
return await this.addCustomAudienceUserWithOptions(request, runtime);
|
|
559
557
|
}
|
|
560
558
|
/**
|
|
561
|
-
*
|
|
559
|
+
* Adds a group.
|
|
562
560
|
*
|
|
563
561
|
* @param tmpReq - AddGroupRequest
|
|
564
562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -625,7 +623,7 @@ class Client extends openapi_core_1.default {
|
|
|
625
623
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGroupResponse({}));
|
|
626
624
|
}
|
|
627
625
|
/**
|
|
628
|
-
*
|
|
626
|
+
* Adds a group.
|
|
629
627
|
*
|
|
630
628
|
* @param request - AddGroupRequest
|
|
631
629
|
* @returns AddGroupResponse
|
|
@@ -727,7 +725,60 @@ class Client extends openapi_core_1.default {
|
|
|
727
725
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
728
726
|
}
|
|
729
727
|
/**
|
|
730
|
-
*
|
|
728
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
729
|
+
*
|
|
730
|
+
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
732
|
+
* @returns ArchiveChatappTemplateResponse
|
|
733
|
+
*/
|
|
734
|
+
async archiveChatappTemplateWithOptions(tmpReq, runtime) {
|
|
735
|
+
tmpReq.validate();
|
|
736
|
+
let request = new $_model.ArchiveChatappTemplateShrinkRequest({});
|
|
737
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
738
|
+
if (!$dara.isNull(tmpReq.templateList)) {
|
|
739
|
+
request.templateListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
|
|
740
|
+
}
|
|
741
|
+
let query = {};
|
|
742
|
+
if (!$dara.isNull(request.archiveType)) {
|
|
743
|
+
query["ArchiveType"] = request.archiveType;
|
|
744
|
+
}
|
|
745
|
+
if (!$dara.isNull(request.channelType)) {
|
|
746
|
+
query["ChannelType"] = request.channelType;
|
|
747
|
+
}
|
|
748
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
749
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
750
|
+
}
|
|
751
|
+
if (!$dara.isNull(request.templateListShrink)) {
|
|
752
|
+
query["TemplateList"] = request.templateListShrink;
|
|
753
|
+
}
|
|
754
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
755
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
756
|
+
});
|
|
757
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
758
|
+
action: "ArchiveChatappTemplate",
|
|
759
|
+
version: "2020-06-06",
|
|
760
|
+
protocol: "HTTPS",
|
|
761
|
+
pathname: "/",
|
|
762
|
+
method: "POST",
|
|
763
|
+
authType: "AK",
|
|
764
|
+
style: "RPC",
|
|
765
|
+
reqBodyType: "formData",
|
|
766
|
+
bodyType: "json",
|
|
767
|
+
});
|
|
768
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
772
|
+
*
|
|
773
|
+
* @param request - ArchiveChatappTemplateRequest
|
|
774
|
+
* @returns ArchiveChatappTemplateResponse
|
|
775
|
+
*/
|
|
776
|
+
async archiveChatappTemplate(request) {
|
|
777
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
778
|
+
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Associates a DM account.
|
|
731
782
|
*
|
|
732
783
|
* @param tmpReq - BindDmAccountRequest
|
|
733
784
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -776,7 +827,7 @@ class Client extends openapi_core_1.default {
|
|
|
776
827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
777
828
|
}
|
|
778
829
|
/**
|
|
779
|
-
*
|
|
830
|
+
* Associates a DM account.
|
|
780
831
|
*
|
|
781
832
|
* @param request - BindDmAccountRequest
|
|
782
833
|
* @returns BindDmAccountResponse
|
|
@@ -786,7 +837,7 @@ class Client extends openapi_core_1.default {
|
|
|
786
837
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
787
838
|
}
|
|
788
839
|
/**
|
|
789
|
-
*
|
|
840
|
+
* Associates a page with an instance.
|
|
790
841
|
*
|
|
791
842
|
* @param request - BindInstagramPageRequest
|
|
792
843
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -830,7 +881,7 @@ class Client extends openapi_core_1.default {
|
|
|
830
881
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
831
882
|
}
|
|
832
883
|
/**
|
|
833
|
-
*
|
|
884
|
+
* Associates a page with an instance.
|
|
834
885
|
*
|
|
835
886
|
* @param request - BindInstagramPageRequest
|
|
836
887
|
* @returns BindInstagramPageResponse
|
|
@@ -939,10 +990,10 @@ class Client extends openapi_core_1.default {
|
|
|
939
990
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
940
991
|
}
|
|
941
992
|
/**
|
|
942
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
993
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
943
994
|
*
|
|
944
995
|
* @remarks
|
|
945
|
-
*
|
|
996
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
946
997
|
*
|
|
947
998
|
* @param request - ChatappBindWabaRequest
|
|
948
999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,10 +1031,10 @@ class Client extends openapi_core_1.default {
|
|
|
980
1031
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
981
1032
|
}
|
|
982
1033
|
/**
|
|
983
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
1034
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
984
1035
|
*
|
|
985
1036
|
* @remarks
|
|
986
|
-
*
|
|
1037
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
987
1038
|
*
|
|
988
1039
|
* @param request - ChatappBindWabaRequest
|
|
989
1040
|
* @returns ChatappBindWabaResponse
|
|
@@ -993,10 +1044,10 @@ class Client extends openapi_core_1.default {
|
|
|
993
1044
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
994
1045
|
}
|
|
995
1046
|
/**
|
|
996
|
-
*
|
|
1047
|
+
* Migrates a phone number registration.
|
|
997
1048
|
*
|
|
998
1049
|
* @remarks
|
|
999
|
-
* The
|
|
1050
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1000
1051
|
*
|
|
1001
1052
|
* @param request - ChatappMigrationRegisterRequest
|
|
1002
1053
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1037,10 +1088,10 @@ class Client extends openapi_core_1.default {
|
|
|
1037
1088
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappMigrationRegisterResponse({}));
|
|
1038
1089
|
}
|
|
1039
1090
|
/**
|
|
1040
|
-
*
|
|
1091
|
+
* Migrates a phone number registration.
|
|
1041
1092
|
*
|
|
1042
1093
|
* @remarks
|
|
1043
|
-
* The
|
|
1094
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1044
1095
|
*
|
|
1045
1096
|
* @param request - ChatappMigrationRegisterRequest
|
|
1046
1097
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1053,7 +1104,7 @@ class Client extends openapi_core_1.default {
|
|
|
1053
1104
|
* Verifies a phone number for migration.
|
|
1054
1105
|
*
|
|
1055
1106
|
* @remarks
|
|
1056
|
-
*
|
|
1107
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1057
1108
|
*
|
|
1058
1109
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1059
1110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1100,7 +1151,7 @@ class Client extends openapi_core_1.default {
|
|
|
1100
1151
|
* Verifies a phone number for migration.
|
|
1101
1152
|
*
|
|
1102
1153
|
* @remarks
|
|
1103
|
-
*
|
|
1154
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1104
1155
|
*
|
|
1105
1156
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1106
1157
|
* @returns ChatappMigrationVerifiedResponse
|
|
@@ -1110,10 +1161,10 @@ class Client extends openapi_core_1.default {
|
|
|
1110
1161
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1111
1162
|
}
|
|
1112
1163
|
/**
|
|
1113
|
-
* Deregisters a phone number from
|
|
1164
|
+
* Deregisters a phone number from WABA.
|
|
1114
1165
|
*
|
|
1115
1166
|
* @remarks
|
|
1116
|
-
*
|
|
1167
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1117
1168
|
*
|
|
1118
1169
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1119
1170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1154,10 +1205,10 @@ class Client extends openapi_core_1.default {
|
|
|
1154
1205
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1155
1206
|
}
|
|
1156
1207
|
/**
|
|
1157
|
-
* Deregisters a phone number from
|
|
1208
|
+
* Deregisters a phone number from WABA.
|
|
1158
1209
|
*
|
|
1159
1210
|
* @remarks
|
|
1160
|
-
*
|
|
1211
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1161
1212
|
*
|
|
1162
1213
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1163
1214
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1167,10 +1218,10 @@ class Client extends openapi_core_1.default {
|
|
|
1167
1218
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1168
1219
|
}
|
|
1169
1220
|
/**
|
|
1170
|
-
* Registers a phone number.
|
|
1221
|
+
* Registers a phone number through the northbound interface.
|
|
1171
1222
|
*
|
|
1172
1223
|
* @remarks
|
|
1173
|
-
*
|
|
1224
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1174
1225
|
*
|
|
1175
1226
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1176
1227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1211,10 +1262,10 @@ class Client extends openapi_core_1.default {
|
|
|
1211
1262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1212
1263
|
}
|
|
1213
1264
|
/**
|
|
1214
|
-
* Registers a phone number.
|
|
1265
|
+
* Registers a phone number through the northbound interface.
|
|
1215
1266
|
*
|
|
1216
1267
|
* @remarks
|
|
1217
|
-
*
|
|
1268
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1218
1269
|
*
|
|
1219
1270
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1220
1271
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1224,10 +1275,10 @@ class Client extends openapi_core_1.default {
|
|
|
1224
1275
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
1225
1276
|
}
|
|
1226
1277
|
/**
|
|
1227
|
-
* Synchronizes phone
|
|
1278
|
+
* Synchronizes phone number information.
|
|
1228
1279
|
*
|
|
1229
1280
|
* @remarks
|
|
1230
|
-
*
|
|
1281
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1231
1282
|
*
|
|
1232
1283
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1233
1284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1265,10 +1316,10 @@ class Client extends openapi_core_1.default {
|
|
|
1265
1316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappSyncPhoneNumberResponse({}));
|
|
1266
1317
|
}
|
|
1267
1318
|
/**
|
|
1268
|
-
* Synchronizes phone
|
|
1319
|
+
* Synchronizes phone number information.
|
|
1269
1320
|
*
|
|
1270
1321
|
* @remarks
|
|
1271
|
-
*
|
|
1322
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1272
1323
|
*
|
|
1273
1324
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1274
1325
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1278,10 +1329,10 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1329
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1279
1330
|
}
|
|
1280
1331
|
/**
|
|
1281
|
-
*
|
|
1332
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1282
1333
|
*
|
|
1283
1334
|
* @remarks
|
|
1284
|
-
*
|
|
1335
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1285
1336
|
*
|
|
1286
1337
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1287
1338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1325,10 +1376,10 @@ class Client extends openapi_core_1.default {
|
|
|
1325
1376
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1326
1377
|
}
|
|
1327
1378
|
/**
|
|
1328
|
-
*
|
|
1379
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1329
1380
|
*
|
|
1330
1381
|
* @remarks
|
|
1331
|
-
*
|
|
1382
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1332
1383
|
*
|
|
1333
1384
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1334
1385
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1338,7 +1389,7 @@ class Client extends openapi_core_1.default {
|
|
|
1338
1389
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
1339
1390
|
}
|
|
1340
1391
|
/**
|
|
1341
|
-
* Validates
|
|
1392
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1342
1393
|
*
|
|
1343
1394
|
* @param tmpReq - CheckDirectSendMessageSampleRequest
|
|
1344
1395
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1384,7 +1435,7 @@ class Client extends openapi_core_1.default {
|
|
|
1384
1435
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckDirectSendMessageSampleResponse({}));
|
|
1385
1436
|
}
|
|
1386
1437
|
/**
|
|
1387
|
-
* Validates
|
|
1438
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1388
1439
|
*
|
|
1389
1440
|
* @param request - CheckDirectSendMessageSampleRequest
|
|
1390
1441
|
* @returns CheckDirectSendMessageSampleResponse
|
|
@@ -1394,7 +1445,7 @@ class Client extends openapi_core_1.default {
|
|
|
1394
1445
|
return await this.checkDirectSendMessageSampleWithOptions(request, runtime);
|
|
1395
1446
|
}
|
|
1396
1447
|
/**
|
|
1397
|
-
*
|
|
1448
|
+
* Copies a template.
|
|
1398
1449
|
*
|
|
1399
1450
|
* @param request - CopyTemplateRequest
|
|
1400
1451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1441,7 +1492,7 @@ class Client extends openapi_core_1.default {
|
|
|
1441
1492
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyTemplateResponse({}));
|
|
1442
1493
|
}
|
|
1443
1494
|
/**
|
|
1444
|
-
*
|
|
1495
|
+
* Copies a template.
|
|
1445
1496
|
*
|
|
1446
1497
|
* @param request - CopyTemplateRequest
|
|
1447
1498
|
* @returns CopyTemplateResponse
|
|
@@ -1451,7 +1502,11 @@ class Client extends openapi_core_1.default {
|
|
|
1451
1502
|
return await this.copyTemplateWithOptions(request, runtime);
|
|
1452
1503
|
}
|
|
1453
1504
|
/**
|
|
1454
|
-
*
|
|
1505
|
+
* Creates a flow.
|
|
1506
|
+
*
|
|
1507
|
+
* @remarks
|
|
1508
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1509
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1455
1510
|
*
|
|
1456
1511
|
* @param tmpReq - CreateChatFlowRequest
|
|
1457
1512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1506,7 +1561,11 @@ class Client extends openapi_core_1.default {
|
|
|
1506
1561
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowResponse({}));
|
|
1507
1562
|
}
|
|
1508
1563
|
/**
|
|
1509
|
-
*
|
|
1564
|
+
* Creates a flow.
|
|
1565
|
+
*
|
|
1566
|
+
* @remarks
|
|
1567
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1568
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1510
1569
|
*
|
|
1511
1570
|
* @param request - CreateChatFlowRequest
|
|
1512
1571
|
* @returns CreateChatFlowResponse
|
|
@@ -1516,7 +1575,12 @@ class Client extends openapi_core_1.default {
|
|
|
1516
1575
|
return await this.createChatFlowWithOptions(request, runtime);
|
|
1517
1576
|
}
|
|
1518
1577
|
/**
|
|
1519
|
-
*
|
|
1578
|
+
* Creates and imports a flow.
|
|
1579
|
+
*
|
|
1580
|
+
* @remarks
|
|
1581
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1582
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1583
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1520
1584
|
*
|
|
1521
1585
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1522
1586
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1571,7 +1635,12 @@ class Client extends openapi_core_1.default {
|
|
|
1571
1635
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowByImportResponse({}));
|
|
1572
1636
|
}
|
|
1573
1637
|
/**
|
|
1574
|
-
*
|
|
1638
|
+
* Creates and imports a flow.
|
|
1639
|
+
*
|
|
1640
|
+
* @remarks
|
|
1641
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1642
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1643
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1575
1644
|
*
|
|
1576
1645
|
* @param request - CreateChatFlowByImportRequest
|
|
1577
1646
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1581,7 +1650,13 @@ class Client extends openapi_core_1.default {
|
|
|
1581
1650
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1582
1651
|
}
|
|
1583
1652
|
/**
|
|
1584
|
-
*
|
|
1653
|
+
* Creates log settings for a flow.
|
|
1654
|
+
*
|
|
1655
|
+
* @remarks
|
|
1656
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1657
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1658
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1659
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1585
1660
|
*
|
|
1586
1661
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1587
1662
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1619,7 +1694,13 @@ class Client extends openapi_core_1.default {
|
|
|
1619
1694
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1620
1695
|
}
|
|
1621
1696
|
/**
|
|
1622
|
-
*
|
|
1697
|
+
* Creates log settings for a flow.
|
|
1698
|
+
*
|
|
1699
|
+
* @remarks
|
|
1700
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1701
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1702
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1703
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1623
1704
|
*
|
|
1624
1705
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1625
1706
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1847,10 +1928,10 @@ class Client extends openapi_core_1.default {
|
|
|
1847
1928
|
return await this.createCustomAudienceWithOptions(request, runtime);
|
|
1848
1929
|
}
|
|
1849
1930
|
/**
|
|
1850
|
-
* Creates a
|
|
1931
|
+
* Creates a Flow.
|
|
1851
1932
|
*
|
|
1852
1933
|
* @remarks
|
|
1853
|
-
* The
|
|
1934
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1854
1935
|
*
|
|
1855
1936
|
* @param tmpReq - CreateFlowRequest
|
|
1856
1937
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1902,10 +1983,10 @@ class Client extends openapi_core_1.default {
|
|
|
1902
1983
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowResponse({}));
|
|
1903
1984
|
}
|
|
1904
1985
|
/**
|
|
1905
|
-
* Creates a
|
|
1986
|
+
* Creates a Flow.
|
|
1906
1987
|
*
|
|
1907
1988
|
* @remarks
|
|
1908
|
-
* The
|
|
1989
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1909
1990
|
*
|
|
1910
1991
|
* @param request - CreateFlowRequest
|
|
1911
1992
|
* @returns CreateFlowResponse
|
|
@@ -1915,7 +1996,12 @@ class Client extends openapi_core_1.default {
|
|
|
1915
1996
|
return await this.createFlowWithOptions(request, runtime);
|
|
1916
1997
|
}
|
|
1917
1998
|
/**
|
|
1918
|
-
*
|
|
1999
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2000
|
+
*
|
|
2001
|
+
* @remarks
|
|
2002
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2003
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2004
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1919
2005
|
*
|
|
1920
2006
|
* @param tmpReq - CreateFlowVersionRequest
|
|
1921
2007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1970,7 +2056,12 @@ class Client extends openapi_core_1.default {
|
|
|
1970
2056
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
1971
2057
|
}
|
|
1972
2058
|
/**
|
|
1973
|
-
*
|
|
2059
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2060
|
+
*
|
|
2061
|
+
* @remarks
|
|
2062
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2063
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2064
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1974
2065
|
*
|
|
1975
2066
|
* @param request - CreateFlowVersionRequest
|
|
1976
2067
|
* @returns CreateFlowVersionResponse
|
|
@@ -2177,12 +2268,14 @@ class Client extends openapi_core_1.default {
|
|
|
2177
2268
|
* Creates a message QR code.
|
|
2178
2269
|
*
|
|
2179
2270
|
* @remarks
|
|
2180
|
-
* - After
|
|
2181
|
-
* - Before calling this
|
|
2182
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2183
|
-
*
|
|
2271
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2272
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2273
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2274
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2275
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2276
|
+
* page.
|
|
2184
2277
|
* #### QPS limit
|
|
2185
|
-
*
|
|
2278
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2186
2279
|
*
|
|
2187
2280
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2188
2281
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2232,12 +2325,14 @@ class Client extends openapi_core_1.default {
|
|
|
2232
2325
|
* Creates a message QR code.
|
|
2233
2326
|
*
|
|
2234
2327
|
* @remarks
|
|
2235
|
-
* - After
|
|
2236
|
-
* - Before calling this
|
|
2237
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2238
|
-
*
|
|
2328
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2329
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2330
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2331
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2332
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2333
|
+
* page.
|
|
2239
2334
|
* #### QPS limit
|
|
2240
|
-
*
|
|
2335
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2241
2336
|
*
|
|
2242
2337
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2243
2338
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2306,7 +2401,12 @@ class Client extends openapi_core_1.default {
|
|
|
2306
2401
|
return await this.createWhatsappConversionApiWithOptions(request, runtime);
|
|
2307
2402
|
}
|
|
2308
2403
|
/**
|
|
2309
|
-
*
|
|
2404
|
+
* Deletes a flow.
|
|
2405
|
+
*
|
|
2406
|
+
* @remarks
|
|
2407
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2408
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2409
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2310
2410
|
*
|
|
2311
2411
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2312
2412
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2355,7 +2455,12 @@ class Client extends openapi_core_1.default {
|
|
|
2355
2455
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatFlowResponse({}));
|
|
2356
2456
|
}
|
|
2357
2457
|
/**
|
|
2358
|
-
*
|
|
2458
|
+
* Deletes a flow.
|
|
2459
|
+
*
|
|
2460
|
+
* @remarks
|
|
2461
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2462
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2463
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2359
2464
|
*
|
|
2360
2465
|
* @param request - DeleteChatFlowRequest
|
|
2361
2466
|
* @returns DeleteChatFlowResponse
|
|
@@ -2365,14 +2470,13 @@ class Client extends openapi_core_1.default {
|
|
|
2365
2470
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2366
2471
|
}
|
|
2367
2472
|
/**
|
|
2368
|
-
* Deletes
|
|
2473
|
+
* Deletes a successfully created IM group.
|
|
2369
2474
|
*
|
|
2370
2475
|
* @remarks
|
|
2371
|
-
* >Notice:
|
|
2372
|
-
*
|
|
2373
|
-
* -
|
|
2374
|
-
* -
|
|
2375
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2476
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2477
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2478
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2479
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2376
2480
|
*
|
|
2377
2481
|
* @param request - DeleteChatGroupRequest
|
|
2378
2482
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2419,14 +2523,13 @@ class Client extends openapi_core_1.default {
|
|
|
2419
2523
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2420
2524
|
}
|
|
2421
2525
|
/**
|
|
2422
|
-
* Deletes
|
|
2526
|
+
* Deletes a successfully created IM group.
|
|
2423
2527
|
*
|
|
2424
2528
|
* @remarks
|
|
2425
|
-
* >Notice:
|
|
2426
|
-
*
|
|
2427
|
-
* -
|
|
2428
|
-
* -
|
|
2429
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2529
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2530
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2531
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2532
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2430
2533
|
*
|
|
2431
2534
|
* @param request - DeleteChatGroupRequest
|
|
2432
2535
|
* @returns DeleteChatGroupResponse
|
|
@@ -2439,11 +2542,10 @@ class Client extends openapi_core_1.default {
|
|
|
2439
2542
|
* Deletes an IM group invitation link.
|
|
2440
2543
|
*
|
|
2441
2544
|
* @remarks
|
|
2442
|
-
* >Notice:
|
|
2443
|
-
*
|
|
2444
|
-
* -
|
|
2445
|
-
* -
|
|
2446
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2545
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2546
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2547
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2548
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2447
2549
|
*
|
|
2448
2550
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2449
2551
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2493,11 +2595,10 @@ class Client extends openapi_core_1.default {
|
|
|
2493
2595
|
* Deletes an IM group invitation link.
|
|
2494
2596
|
*
|
|
2495
2597
|
* @remarks
|
|
2496
|
-
* >Notice:
|
|
2497
|
-
*
|
|
2498
|
-
* -
|
|
2499
|
-
* -
|
|
2500
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2598
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2599
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2600
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2601
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2501
2602
|
*
|
|
2502
2603
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2503
2604
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2728,7 +2829,7 @@ class Client extends openapi_core_1.default {
|
|
|
2728
2829
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2729
2830
|
}
|
|
2730
2831
|
/**
|
|
2731
|
-
*
|
|
2832
|
+
* Deletes contacts by selecting and removing them.
|
|
2732
2833
|
*
|
|
2733
2834
|
* @param request - DeleteContactsByIdsRequest
|
|
2734
2835
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2766,7 +2867,7 @@ class Client extends openapi_core_1.default {
|
|
|
2766
2867
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2767
2868
|
}
|
|
2768
2869
|
/**
|
|
2769
|
-
*
|
|
2870
|
+
* Deletes contacts by selecting and removing them.
|
|
2770
2871
|
*
|
|
2771
2872
|
* @param request - DeleteContactsByIdsRequest
|
|
2772
2873
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2776,10 +2877,10 @@ class Client extends openapi_core_1.default {
|
|
|
2776
2877
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2777
2878
|
}
|
|
2778
2879
|
/**
|
|
2779
|
-
* Deletes a
|
|
2880
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2780
2881
|
*
|
|
2781
2882
|
* @remarks
|
|
2782
|
-
*
|
|
2883
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2783
2884
|
*
|
|
2784
2885
|
* @param request - DeleteFlowRequest
|
|
2785
2886
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2820,10 +2921,10 @@ class Client extends openapi_core_1.default {
|
|
|
2820
2921
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2821
2922
|
}
|
|
2822
2923
|
/**
|
|
2823
|
-
* Deletes a
|
|
2924
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2824
2925
|
*
|
|
2825
2926
|
* @remarks
|
|
2826
|
-
*
|
|
2927
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2827
2928
|
*
|
|
2828
2929
|
* @param request - DeleteFlowRequest
|
|
2829
2930
|
* @returns DeleteFlowResponse
|
|
@@ -2833,7 +2934,13 @@ class Client extends openapi_core_1.default {
|
|
|
2833
2934
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
2834
2935
|
}
|
|
2835
2936
|
/**
|
|
2836
|
-
*
|
|
2937
|
+
* Deletes a flow version.
|
|
2938
|
+
*
|
|
2939
|
+
* @remarks
|
|
2940
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
2941
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
2942
|
+
* - If the flow version is in the online state, 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, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
2943
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2837
2944
|
*
|
|
2838
2945
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2839
2946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2885,7 +2992,13 @@ class Client extends openapi_core_1.default {
|
|
|
2885
2992
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowVersionResponse({}));
|
|
2886
2993
|
}
|
|
2887
2994
|
/**
|
|
2888
|
-
*
|
|
2995
|
+
* Deletes a flow version.
|
|
2996
|
+
*
|
|
2997
|
+
* @remarks
|
|
2998
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
2999
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3000
|
+
* - If the flow version is in the online state, 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, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
3001
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2889
3002
|
*
|
|
2890
3003
|
* @param request - DeleteFlowVersionRequest
|
|
2891
3004
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3033,7 +3146,7 @@ class Client extends openapi_core_1.default {
|
|
|
3033
3146
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
3034
3147
|
}
|
|
3035
3148
|
/**
|
|
3036
|
-
*
|
|
3149
|
+
* Deletes a marketing campaign.
|
|
3037
3150
|
*
|
|
3038
3151
|
* @param request - DeleteMarketingFlowRequest
|
|
3039
3152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3074,7 +3187,7 @@ class Client extends openapi_core_1.default {
|
|
|
3074
3187
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMarketingFlowResponse({}));
|
|
3075
3188
|
}
|
|
3076
3189
|
/**
|
|
3077
|
-
*
|
|
3190
|
+
* Deletes a marketing campaign.
|
|
3078
3191
|
*
|
|
3079
3192
|
* @param request - DeleteMarketingFlowRequest
|
|
3080
3193
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -3195,10 +3308,11 @@ class Client extends openapi_core_1.default {
|
|
|
3195
3308
|
* Deletes a message QR code.
|
|
3196
3309
|
*
|
|
3197
3310
|
* @remarks
|
|
3198
|
-
* - After a message QR code
|
|
3199
|
-
* -
|
|
3200
|
-
*
|
|
3201
|
-
*
|
|
3311
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3312
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3313
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3314
|
+
* #### QPS limit
|
|
3315
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3202
3316
|
*
|
|
3203
3317
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3204
3318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3245,10 +3359,11 @@ class Client extends openapi_core_1.default {
|
|
|
3245
3359
|
* Deletes a message QR code.
|
|
3246
3360
|
*
|
|
3247
3361
|
* @remarks
|
|
3248
|
-
* - After a message QR code
|
|
3249
|
-
* -
|
|
3250
|
-
*
|
|
3251
|
-
*
|
|
3362
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3363
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3364
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3365
|
+
* #### QPS limit
|
|
3366
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3252
3367
|
*
|
|
3253
3368
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3254
3369
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3257,6 +3372,48 @@ class Client extends openapi_core_1.default {
|
|
|
3257
3372
|
let runtime = new $dara.RuntimeOptions({});
|
|
3258
3373
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
3259
3374
|
}
|
|
3375
|
+
/**
|
|
3376
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3377
|
+
*
|
|
3378
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3379
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3380
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3381
|
+
*/
|
|
3382
|
+
async deleteWhatsappUserNameWithOptions(request, runtime) {
|
|
3383
|
+
request.validate();
|
|
3384
|
+
let query = {};
|
|
3385
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3386
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3387
|
+
}
|
|
3388
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3389
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3390
|
+
}
|
|
3391
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3392
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3393
|
+
});
|
|
3394
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3395
|
+
action: "DeleteWhatsappUserName",
|
|
3396
|
+
version: "2020-06-06",
|
|
3397
|
+
protocol: "HTTPS",
|
|
3398
|
+
pathname: "/",
|
|
3399
|
+
method: "POST",
|
|
3400
|
+
authType: "AK",
|
|
3401
|
+
style: "RPC",
|
|
3402
|
+
reqBodyType: "formData",
|
|
3403
|
+
bodyType: "json",
|
|
3404
|
+
});
|
|
3405
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3409
|
+
*
|
|
3410
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3411
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3412
|
+
*/
|
|
3413
|
+
async deleteWhatsappUserName(request) {
|
|
3414
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3415
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3416
|
+
}
|
|
3260
3417
|
/**
|
|
3261
3418
|
* Deprecates a WhatsApp flow.
|
|
3262
3419
|
*
|
|
@@ -3315,14 +3472,14 @@ class Client extends openapi_core_1.default {
|
|
|
3315
3472
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
3316
3473
|
}
|
|
3317
3474
|
/**
|
|
3318
|
-
* Enables
|
|
3475
|
+
* Enables WhatsApp-related metric collection.
|
|
3319
3476
|
*
|
|
3320
3477
|
* @remarks
|
|
3321
|
-
* - Before
|
|
3322
|
-
* - After you enable
|
|
3323
|
-
* - After you enable
|
|
3478
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3479
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3480
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3324
3481
|
* ### QPS limit
|
|
3325
|
-
*
|
|
3482
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3326
3483
|
*
|
|
3327
3484
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3328
3485
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3363,14 +3520,14 @@ class Client extends openapi_core_1.default {
|
|
|
3363
3520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableWhatsappROIMetricResponse({}));
|
|
3364
3521
|
}
|
|
3365
3522
|
/**
|
|
3366
|
-
* Enables
|
|
3523
|
+
* Enables WhatsApp-related metric collection.
|
|
3367
3524
|
*
|
|
3368
3525
|
* @remarks
|
|
3369
|
-
* - Before
|
|
3370
|
-
* - After you enable
|
|
3371
|
-
* - After you enable
|
|
3526
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3527
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3528
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3372
3529
|
* ### QPS limit
|
|
3373
|
-
*
|
|
3530
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3374
3531
|
*
|
|
3375
3532
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3376
3533
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3380,7 +3537,16 @@ class Client extends openapi_core_1.default {
|
|
|
3380
3537
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3381
3538
|
}
|
|
3382
3539
|
/**
|
|
3383
|
-
* flow
|
|
3540
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
3541
|
+
*
|
|
3542
|
+
* @remarks
|
|
3543
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3544
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
3545
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3546
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3547
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3548
|
+
* <props="intl">
|
|
3549
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3384
3550
|
*
|
|
3385
3551
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3386
3552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3438,7 +3604,16 @@ class Client extends openapi_core_1.default {
|
|
|
3438
3604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3439
3605
|
}
|
|
3440
3606
|
/**
|
|
3441
|
-
* flow
|
|
3607
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
3608
|
+
*
|
|
3609
|
+
* @remarks
|
|
3610
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3611
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
3612
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3613
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3614
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3615
|
+
* <props="intl">
|
|
3616
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3442
3617
|
*
|
|
3443
3618
|
* @param request - FlowBindPhoneRequest
|
|
3444
3619
|
* @returns FlowBindPhoneResponse
|
|
@@ -3448,7 +3623,12 @@ class Client extends openapi_core_1.default {
|
|
|
3448
3623
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3449
3624
|
}
|
|
3450
3625
|
/**
|
|
3451
|
-
* flow
|
|
3626
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3627
|
+
*
|
|
3628
|
+
* @remarks
|
|
3629
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3630
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3631
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3452
3632
|
*
|
|
3453
3633
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3454
3634
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3506,7 +3686,12 @@ class Client extends openapi_core_1.default {
|
|
|
3506
3686
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3507
3687
|
}
|
|
3508
3688
|
/**
|
|
3509
|
-
* flow
|
|
3689
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3690
|
+
*
|
|
3691
|
+
* @remarks
|
|
3692
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3693
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3694
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3510
3695
|
*
|
|
3511
3696
|
* @param request - FlowRebindPhoneRequest
|
|
3512
3697
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3516,7 +3701,14 @@ class Client extends openapi_core_1.default {
|
|
|
3516
3701
|
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
3517
3702
|
}
|
|
3518
3703
|
/**
|
|
3519
|
-
* flow
|
|
3704
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
3705
|
+
*
|
|
3706
|
+
* @remarks
|
|
3707
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
3708
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3709
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
3710
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually 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.
|
|
3711
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3520
3712
|
*
|
|
3521
3713
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3522
3714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3568,7 +3760,14 @@ class Client extends openapi_core_1.default {
|
|
|
3568
3760
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
3569
3761
|
}
|
|
3570
3762
|
/**
|
|
3571
|
-
* flow
|
|
3763
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
3764
|
+
*
|
|
3765
|
+
* @remarks
|
|
3766
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
3767
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3768
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
3769
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually 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.
|
|
3770
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3572
3771
|
*
|
|
3573
3772
|
* @param request - FlowUnbindPhoneRequest
|
|
3574
3773
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3578,7 +3777,7 @@ class Client extends openapi_core_1.default {
|
|
|
3578
3777
|
return await this.flowUnbindPhoneWithOptions(request, runtime);
|
|
3579
3778
|
}
|
|
3580
3779
|
/**
|
|
3581
|
-
*
|
|
3780
|
+
* Retrieves a temporary URL.
|
|
3582
3781
|
*
|
|
3583
3782
|
* @param request - GeneratePresignedUrlRequest
|
|
3584
3783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3616,7 +3815,7 @@ class Client extends openapi_core_1.default {
|
|
|
3616
3815
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GeneratePresignedUrlResponse({}));
|
|
3617
3816
|
}
|
|
3618
3817
|
/**
|
|
3619
|
-
*
|
|
3818
|
+
* Retrieves a temporary URL.
|
|
3620
3819
|
*
|
|
3621
3820
|
* @param request - GeneratePresignedUrlRequest
|
|
3622
3821
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -3722,7 +3921,13 @@ class Client extends openapi_core_1.default {
|
|
|
3722
3921
|
return await this.getAutoGeneratedTemplateWithOptions(request, runtime);
|
|
3723
3922
|
}
|
|
3724
3923
|
/**
|
|
3725
|
-
*
|
|
3924
|
+
* Retrieves ChatFlow runtime data.
|
|
3925
|
+
*
|
|
3926
|
+
* @remarks
|
|
3927
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
3928
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
3929
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
3930
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
3726
3931
|
*
|
|
3727
3932
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3728
3933
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3789,7 +3994,13 @@ class Client extends openapi_core_1.default {
|
|
|
3789
3994
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowMetricResponse({}));
|
|
3790
3995
|
}
|
|
3791
3996
|
/**
|
|
3792
|
-
*
|
|
3997
|
+
* Retrieves ChatFlow runtime data.
|
|
3998
|
+
*
|
|
3999
|
+
* @remarks
|
|
4000
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4001
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4002
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
4003
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
3793
4004
|
*
|
|
3794
4005
|
* @param request - GetChatFlowMetricRequest
|
|
3795
4006
|
* @returns GetChatFlowMetricResponse
|
|
@@ -3799,7 +4010,11 @@ class Client extends openapi_core_1.default {
|
|
|
3799
4010
|
return await this.getChatFlowMetricWithOptions(request, runtime);
|
|
3800
4011
|
}
|
|
3801
4012
|
/**
|
|
3802
|
-
*
|
|
4013
|
+
* Queries the details of a flow template.
|
|
4014
|
+
*
|
|
4015
|
+
* @remarks
|
|
4016
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4017
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
3803
4018
|
*
|
|
3804
4019
|
* @param request - GetChatFlowTemplateRequest
|
|
3805
4020
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3840,7 +4055,11 @@ class Client extends openapi_core_1.default {
|
|
|
3840
4055
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowTemplateResponse({}));
|
|
3841
4056
|
}
|
|
3842
4057
|
/**
|
|
3843
|
-
*
|
|
4058
|
+
* Queries the details of a flow template.
|
|
4059
|
+
*
|
|
4060
|
+
* @remarks
|
|
4061
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4062
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
3844
4063
|
*
|
|
3845
4064
|
* @param request - GetChatFlowTemplateRequest
|
|
3846
4065
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -3850,7 +4069,7 @@ class Client extends openapi_core_1.default {
|
|
|
3850
4069
|
return await this.getChatFlowTemplateWithOptions(request, runtime);
|
|
3851
4070
|
}
|
|
3852
4071
|
/**
|
|
3853
|
-
*
|
|
4072
|
+
* Queries the activation status of ChatApp.
|
|
3854
4073
|
*
|
|
3855
4074
|
* @param request - GetChatappOpenStatusRequest
|
|
3856
4075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3885,7 +4104,7 @@ class Client extends openapi_core_1.default {
|
|
|
3885
4104
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappOpenStatusResponse({}));
|
|
3886
4105
|
}
|
|
3887
4106
|
/**
|
|
3888
|
-
*
|
|
4107
|
+
* Queries the activation status of ChatApp.
|
|
3889
4108
|
*
|
|
3890
4109
|
* @param request - GetChatappOpenStatusRequest
|
|
3891
4110
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -3895,14 +4114,15 @@ class Client extends openapi_core_1.default {
|
|
|
3895
4114
|
return await this.getChatappOpenStatusWithOptions(request, runtime);
|
|
3896
4115
|
}
|
|
3897
4116
|
/**
|
|
3898
|
-
* Queries the message sending metrics for a phone number
|
|
4117
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3899
4118
|
*
|
|
3900
4119
|
* @remarks
|
|
3901
|
-
* -
|
|
3902
|
-
* -
|
|
3903
|
-
* -
|
|
4120
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4121
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4122
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4123
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
3904
4124
|
* ### QPS limit
|
|
3905
|
-
*
|
|
4125
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3906
4126
|
*
|
|
3907
4127
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3908
4128
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3955,14 +4175,15 @@ class Client extends openapi_core_1.default {
|
|
|
3955
4175
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberMetricResponse({}));
|
|
3956
4176
|
}
|
|
3957
4177
|
/**
|
|
3958
|
-
* Queries the message sending metrics for a phone number
|
|
4178
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3959
4179
|
*
|
|
3960
4180
|
* @remarks
|
|
3961
|
-
* -
|
|
3962
|
-
* -
|
|
3963
|
-
* -
|
|
4181
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4182
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4183
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4184
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
3964
4185
|
* ### QPS limit
|
|
3965
|
-
*
|
|
4186
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3966
4187
|
*
|
|
3967
4188
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3968
4189
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -3972,7 +4193,7 @@ class Client extends openapi_core_1.default {
|
|
|
3972
4193
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
3973
4194
|
}
|
|
3974
4195
|
/**
|
|
3975
|
-
*
|
|
4196
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
3976
4197
|
*
|
|
3977
4198
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
3978
4199
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4013,7 +4234,7 @@ class Client extends openapi_core_1.default {
|
|
|
4013
4234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
4014
4235
|
}
|
|
4015
4236
|
/**
|
|
4016
|
-
*
|
|
4237
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4017
4238
|
*
|
|
4018
4239
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4019
4240
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4023,11 +4244,11 @@ class Client extends openapi_core_1.default {
|
|
|
4023
4244
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
4024
4245
|
}
|
|
4025
4246
|
/**
|
|
4026
|
-
*
|
|
4247
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4027
4248
|
*
|
|
4028
4249
|
* @remarks
|
|
4029
4250
|
* ### QPS limit
|
|
4030
|
-
*
|
|
4251
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
4031
4252
|
*
|
|
4032
4253
|
* @param request - GetChatappTemplateDetailRequest
|
|
4033
4254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4074,11 +4295,11 @@ class Client extends openapi_core_1.default {
|
|
|
4074
4295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
4075
4296
|
}
|
|
4076
4297
|
/**
|
|
4077
|
-
*
|
|
4298
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4078
4299
|
*
|
|
4079
4300
|
* @remarks
|
|
4080
4301
|
* ### QPS limit
|
|
4081
|
-
*
|
|
4302
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
4082
4303
|
*
|
|
4083
4304
|
* @param request - GetChatappTemplateDetailRequest
|
|
4084
4305
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4088,14 +4309,14 @@ class Client extends openapi_core_1.default {
|
|
|
4088
4309
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
4089
4310
|
}
|
|
4090
4311
|
/**
|
|
4091
|
-
*
|
|
4312
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4092
4313
|
*
|
|
4093
4314
|
* @remarks
|
|
4094
|
-
* - This
|
|
4095
|
-
* - Before
|
|
4096
|
-
* - After
|
|
4097
|
-
* ### QPS
|
|
4098
|
-
*
|
|
4315
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4316
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4317
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4318
|
+
* ### QPS limit
|
|
4319
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4099
4320
|
*
|
|
4100
4321
|
* @param request - GetChatappTemplateMetricRequest
|
|
4101
4322
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4154,14 +4375,14 @@ class Client extends openapi_core_1.default {
|
|
|
4154
4375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateMetricResponse({}));
|
|
4155
4376
|
}
|
|
4156
4377
|
/**
|
|
4157
|
-
*
|
|
4378
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4158
4379
|
*
|
|
4159
4380
|
* @remarks
|
|
4160
|
-
* - This
|
|
4161
|
-
* - Before
|
|
4162
|
-
* - After
|
|
4163
|
-
* ### QPS
|
|
4164
|
-
*
|
|
4381
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4382
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4383
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4384
|
+
* ### QPS limit
|
|
4385
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4165
4386
|
*
|
|
4166
4387
|
* @param request - GetChatappTemplateMetricRequest
|
|
4167
4388
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -4406,7 +4627,7 @@ class Client extends openapi_core_1.default {
|
|
|
4406
4627
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4407
4628
|
}
|
|
4408
4629
|
/**
|
|
4409
|
-
*
|
|
4630
|
+
* Queries the source site of a customer.
|
|
4410
4631
|
*
|
|
4411
4632
|
* @param request - GetCustomerSiteRequest
|
|
4412
4633
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4441,7 +4662,7 @@ class Client extends openapi_core_1.default {
|
|
|
4441
4662
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4442
4663
|
}
|
|
4443
4664
|
/**
|
|
4444
|
-
*
|
|
4665
|
+
* Queries the source site of a customer.
|
|
4445
4666
|
*
|
|
4446
4667
|
* @param request - GetCustomerSiteRequest
|
|
4447
4668
|
* @returns GetCustomerSiteResponse
|
|
@@ -4940,10 +5161,10 @@ class Client extends openapi_core_1.default {
|
|
|
4940
5161
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
4941
5162
|
}
|
|
4942
5163
|
/**
|
|
4943
|
-
*
|
|
5164
|
+
* Retrieves the verification code for a migration phone number.
|
|
4944
5165
|
*
|
|
4945
5166
|
* @remarks
|
|
4946
|
-
*
|
|
5167
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4947
5168
|
*
|
|
4948
5169
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4949
5170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4990,10 +5211,10 @@ class Client extends openapi_core_1.default {
|
|
|
4990
5211
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMigrationVerifyCodeResponse({}));
|
|
4991
5212
|
}
|
|
4992
5213
|
/**
|
|
4993
|
-
*
|
|
5214
|
+
* Retrieves the verification code for a migration phone number.
|
|
4994
5215
|
*
|
|
4995
5216
|
* @remarks
|
|
4996
|
-
*
|
|
5217
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4997
5218
|
*
|
|
4998
5219
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4999
5220
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -5003,10 +5224,10 @@ class Client extends openapi_core_1.default {
|
|
|
5003
5224
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
5004
5225
|
}
|
|
5005
5226
|
/**
|
|
5006
|
-
*
|
|
5227
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5007
5228
|
*
|
|
5008
5229
|
* @remarks
|
|
5009
|
-
*
|
|
5230
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5010
5231
|
*
|
|
5011
5232
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
5012
5233
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5055,10 +5276,10 @@ class Client extends openapi_core_1.default {
|
|
|
5055
5276
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPermissionByCodeResponse({}));
|
|
5056
5277
|
}
|
|
5057
5278
|
/**
|
|
5058
|
-
*
|
|
5279
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5059
5280
|
*
|
|
5060
5281
|
* @remarks
|
|
5061
|
-
*
|
|
5282
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5062
5283
|
*
|
|
5063
5284
|
* @param request - GetPermissionByCodeRequest
|
|
5064
5285
|
* @returns GetPermissionByCodeResponse
|
|
@@ -5068,13 +5289,13 @@ class Client extends openapi_core_1.default {
|
|
|
5068
5289
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
5069
5290
|
}
|
|
5070
5291
|
/**
|
|
5071
|
-
* Retrieves the public key
|
|
5292
|
+
* Retrieves the encryption public key of a phone number.
|
|
5072
5293
|
*
|
|
5073
5294
|
* @remarks
|
|
5074
|
-
* - Before calling this
|
|
5075
|
-
* - If no phone number
|
|
5295
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5296
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5076
5297
|
* #### QPS limit
|
|
5077
|
-
*
|
|
5298
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5078
5299
|
*
|
|
5079
5300
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5080
5301
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5115,13 +5336,13 @@ class Client extends openapi_core_1.default {
|
|
|
5115
5336
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPhoneEncryptionPublicKeyResponse({}));
|
|
5116
5337
|
}
|
|
5117
5338
|
/**
|
|
5118
|
-
* Retrieves the public key
|
|
5339
|
+
* Retrieves the encryption public key of a phone number.
|
|
5119
5340
|
*
|
|
5120
5341
|
* @remarks
|
|
5121
|
-
* - Before calling this
|
|
5122
|
-
* - If no phone number
|
|
5342
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5343
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5123
5344
|
* #### QPS limit
|
|
5124
|
-
*
|
|
5345
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5125
5346
|
*
|
|
5126
5347
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5127
5348
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5194,7 +5415,7 @@ class Client extends openapi_core_1.default {
|
|
|
5194
5415
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
5195
5416
|
}
|
|
5196
5417
|
/**
|
|
5197
|
-
*
|
|
5418
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5198
5419
|
*
|
|
5199
5420
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5200
5421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5235,7 +5456,7 @@ class Client extends openapi_core_1.default {
|
|
|
5235
5456
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPledgeTemplateAddressResponse({}));
|
|
5236
5457
|
}
|
|
5237
5458
|
/**
|
|
5238
|
-
*
|
|
5459
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5239
5460
|
*
|
|
5240
5461
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5241
5462
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -5570,10 +5791,94 @@ class Client extends openapi_core_1.default {
|
|
|
5570
5791
|
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
5571
5792
|
}
|
|
5572
5793
|
/**
|
|
5573
|
-
*
|
|
5794
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5795
|
+
*
|
|
5796
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5797
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5798
|
+
* @returns GetWhatsappUserNameResponse
|
|
5799
|
+
*/
|
|
5800
|
+
async getWhatsappUserNameWithOptions(request, runtime) {
|
|
5801
|
+
request.validate();
|
|
5802
|
+
let query = {};
|
|
5803
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5804
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5805
|
+
}
|
|
5806
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5807
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5808
|
+
}
|
|
5809
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5810
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5811
|
+
});
|
|
5812
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5813
|
+
action: "GetWhatsappUserName",
|
|
5814
|
+
version: "2020-06-06",
|
|
5815
|
+
protocol: "HTTPS",
|
|
5816
|
+
pathname: "/",
|
|
5817
|
+
method: "POST",
|
|
5818
|
+
authType: "AK",
|
|
5819
|
+
style: "RPC",
|
|
5820
|
+
reqBodyType: "formData",
|
|
5821
|
+
bodyType: "json",
|
|
5822
|
+
});
|
|
5823
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
5824
|
+
}
|
|
5825
|
+
/**
|
|
5826
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5827
|
+
*
|
|
5828
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5829
|
+
* @returns GetWhatsappUserNameResponse
|
|
5830
|
+
*/
|
|
5831
|
+
async getWhatsappUserName(request) {
|
|
5832
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5833
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
5834
|
+
}
|
|
5835
|
+
/**
|
|
5836
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5837
|
+
*
|
|
5838
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5839
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5840
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5841
|
+
*/
|
|
5842
|
+
async getWhatsappUserNameSuggestionsWithOptions(request, runtime) {
|
|
5843
|
+
request.validate();
|
|
5844
|
+
let query = {};
|
|
5845
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5846
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5847
|
+
}
|
|
5848
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5849
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5850
|
+
}
|
|
5851
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5852
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5853
|
+
});
|
|
5854
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5855
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
5856
|
+
version: "2020-06-06",
|
|
5857
|
+
protocol: "HTTPS",
|
|
5858
|
+
pathname: "/",
|
|
5859
|
+
method: "POST",
|
|
5860
|
+
authType: "AK",
|
|
5861
|
+
style: "RPC",
|
|
5862
|
+
reqBodyType: "formData",
|
|
5863
|
+
bodyType: "json",
|
|
5864
|
+
});
|
|
5865
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
5866
|
+
}
|
|
5867
|
+
/**
|
|
5868
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5869
|
+
*
|
|
5870
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5871
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5872
|
+
*/
|
|
5873
|
+
async getWhatsappUserNameSuggestions(request) {
|
|
5874
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5875
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
5876
|
+
}
|
|
5877
|
+
/**
|
|
5878
|
+
* Retrieves the App ID for an ISV.
|
|
5574
5879
|
*
|
|
5575
5880
|
* @remarks
|
|
5576
|
-
*
|
|
5881
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5577
5882
|
*
|
|
5578
5883
|
* @param request - IsvGetAppIdRequest
|
|
5579
5884
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5617,10 +5922,10 @@ class Client extends openapi_core_1.default {
|
|
|
5617
5922
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.IsvGetAppIdResponse({}));
|
|
5618
5923
|
}
|
|
5619
5924
|
/**
|
|
5620
|
-
*
|
|
5925
|
+
* Retrieves the App ID for an ISV.
|
|
5621
5926
|
*
|
|
5622
5927
|
* @remarks
|
|
5623
|
-
*
|
|
5928
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5624
5929
|
*
|
|
5625
5930
|
* @param request - IsvGetAppIdRequest
|
|
5626
5931
|
* @returns IsvGetAppIdResponse
|
|
@@ -5734,7 +6039,12 @@ class Client extends openapi_core_1.default {
|
|
|
5734
6039
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
5735
6040
|
}
|
|
5736
6041
|
/**
|
|
5737
|
-
*
|
|
6042
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6043
|
+
*
|
|
6044
|
+
* @remarks
|
|
6045
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6046
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6047
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
5738
6048
|
*
|
|
5739
6049
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5740
6050
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5775,7 +6085,12 @@ class Client extends openapi_core_1.default {
|
|
|
5775
6085
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
5776
6086
|
}
|
|
5777
6087
|
/**
|
|
5778
|
-
*
|
|
6088
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6089
|
+
*
|
|
6090
|
+
* @remarks
|
|
6091
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6092
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6093
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
5779
6094
|
*
|
|
5780
6095
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5781
6096
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -5785,7 +6100,13 @@ class Client extends openapi_core_1.default {
|
|
|
5785
6100
|
return await this.listBindingRelationsForFlowVersionWithOptions(request, runtime);
|
|
5786
6101
|
}
|
|
5787
6102
|
/**
|
|
5788
|
-
*
|
|
6103
|
+
* Lists flows.
|
|
6104
|
+
*
|
|
6105
|
+
* @remarks
|
|
6106
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6107
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6108
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
6109
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
5789
6110
|
*
|
|
5790
6111
|
* @param tmpReq - ListChatFlowRequest
|
|
5791
6112
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5849,7 +6170,13 @@ class Client extends openapi_core_1.default {
|
|
|
5849
6170
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowResponse({}));
|
|
5850
6171
|
}
|
|
5851
6172
|
/**
|
|
5852
|
-
*
|
|
6173
|
+
* Lists flows.
|
|
6174
|
+
*
|
|
6175
|
+
* @remarks
|
|
6176
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6177
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6178
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
6179
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
5853
6180
|
*
|
|
5854
6181
|
* @param request - ListChatFlowRequest
|
|
5855
6182
|
* @returns ListChatFlowResponse
|
|
@@ -5859,7 +6186,11 @@ class Client extends openapi_core_1.default {
|
|
|
5859
6186
|
return await this.listChatFlowWithOptions(request, runtime);
|
|
5860
6187
|
}
|
|
5861
6188
|
/**
|
|
5862
|
-
*
|
|
6189
|
+
* Lists flow templates.
|
|
6190
|
+
*
|
|
6191
|
+
* @remarks
|
|
6192
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6193
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
5863
6194
|
*
|
|
5864
6195
|
* @param request - ListChatFlowTemplateRequest
|
|
5865
6196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5909,7 +6240,11 @@ class Client extends openapi_core_1.default {
|
|
|
5909
6240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowTemplateResponse({}));
|
|
5910
6241
|
}
|
|
5911
6242
|
/**
|
|
5912
|
-
*
|
|
6243
|
+
* Lists flow templates.
|
|
6244
|
+
*
|
|
6245
|
+
* @remarks
|
|
6246
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6247
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
5913
6248
|
*
|
|
5914
6249
|
* @param request - ListChatFlowTemplateRequest
|
|
5915
6250
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -5919,14 +6254,13 @@ class Client extends openapi_core_1.default {
|
|
|
5919
6254
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
5920
6255
|
}
|
|
5921
6256
|
/**
|
|
5922
|
-
* Retrieves
|
|
6257
|
+
* Retrieves the list of IM groups.
|
|
5923
6258
|
*
|
|
5924
6259
|
* @remarks
|
|
5925
|
-
* >Notice:
|
|
5926
|
-
*
|
|
5927
|
-
* -
|
|
5928
|
-
* -
|
|
5929
|
-
* - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
|
|
6260
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6261
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6262
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
6263
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
5930
6264
|
*
|
|
5931
6265
|
* @param tmpReq - ListChatGroupRequest
|
|
5932
6266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5990,14 +6324,13 @@ class Client extends openapi_core_1.default {
|
|
|
5990
6324
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
5991
6325
|
}
|
|
5992
6326
|
/**
|
|
5993
|
-
* Retrieves
|
|
6327
|
+
* Retrieves the list of IM groups.
|
|
5994
6328
|
*
|
|
5995
6329
|
* @remarks
|
|
5996
|
-
* >Notice:
|
|
5997
|
-
*
|
|
5998
|
-
* -
|
|
5999
|
-
* -
|
|
6000
|
-
* - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
|
|
6330
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6331
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6332
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
6333
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
6001
6334
|
*
|
|
6002
6335
|
* @param request - ListChatGroupRequest
|
|
6003
6336
|
* @returns ListChatGroupResponse
|
|
@@ -6084,7 +6417,12 @@ class Client extends openapi_core_1.default {
|
|
|
6084
6417
|
return await this.listChatGroupParticipantsWithOptions(request, runtime);
|
|
6085
6418
|
}
|
|
6086
6419
|
/**
|
|
6087
|
-
*
|
|
6420
|
+
* Queries the message list.
|
|
6421
|
+
*
|
|
6422
|
+
* @remarks
|
|
6423
|
+
* - 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.
|
|
6424
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6425
|
+
* - 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.
|
|
6088
6426
|
*
|
|
6089
6427
|
* @param tmpReq - ListChatappMessageRequest
|
|
6090
6428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6166,7 +6504,12 @@ class Client extends openapi_core_1.default {
|
|
|
6166
6504
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappMessageResponse({}));
|
|
6167
6505
|
}
|
|
6168
6506
|
/**
|
|
6169
|
-
*
|
|
6507
|
+
* Queries the message list.
|
|
6508
|
+
*
|
|
6509
|
+
* @remarks
|
|
6510
|
+
* - 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.
|
|
6511
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6512
|
+
* - 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.
|
|
6170
6513
|
*
|
|
6171
6514
|
* @param request - ListChatappMessageRequest
|
|
6172
6515
|
* @returns ListChatappMessageResponse
|
|
@@ -6335,7 +6678,7 @@ class Client extends openapi_core_1.default {
|
|
|
6335
6678
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6336
6679
|
}
|
|
6337
6680
|
/**
|
|
6338
|
-
*
|
|
6681
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6339
6682
|
*
|
|
6340
6683
|
* @param request - ListDmAccountRequest
|
|
6341
6684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6382,7 +6725,7 @@ class Client extends openapi_core_1.default {
|
|
|
6382
6725
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6383
6726
|
}
|
|
6384
6727
|
/**
|
|
6385
|
-
*
|
|
6728
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6386
6729
|
*
|
|
6387
6730
|
* @param request - ListDmAccountRequest
|
|
6388
6731
|
* @returns ListDmAccountResponse
|
|
@@ -6446,7 +6789,7 @@ class Client extends openapi_core_1.default {
|
|
|
6446
6789
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6447
6790
|
}
|
|
6448
6791
|
/**
|
|
6449
|
-
*
|
|
6792
|
+
* Queries the list of Facebook posts.
|
|
6450
6793
|
*
|
|
6451
6794
|
* @param request - ListFacebookPostsRequest
|
|
6452
6795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6484,7 +6827,7 @@ class Client extends openapi_core_1.default {
|
|
|
6484
6827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6485
6828
|
}
|
|
6486
6829
|
/**
|
|
6487
|
-
*
|
|
6830
|
+
* Queries the list of Facebook posts.
|
|
6488
6831
|
*
|
|
6489
6832
|
* @param request - ListFacebookPostsRequest
|
|
6490
6833
|
* @returns ListFacebookPostsResponse
|
|
@@ -6559,7 +6902,7 @@ class Client extends openapi_core_1.default {
|
|
|
6559
6902
|
return await this.listFlowWithOptions(request, runtime);
|
|
6560
6903
|
}
|
|
6561
6904
|
/**
|
|
6562
|
-
*
|
|
6905
|
+
* Lists flow component groups.
|
|
6563
6906
|
*
|
|
6564
6907
|
* @param request - ListFlowNodeGroupRequest
|
|
6565
6908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6600,7 +6943,7 @@ class Client extends openapi_core_1.default {
|
|
|
6600
6943
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodeGroupResponse({}));
|
|
6601
6944
|
}
|
|
6602
6945
|
/**
|
|
6603
|
-
*
|
|
6946
|
+
* Lists flow component groups.
|
|
6604
6947
|
*
|
|
6605
6948
|
* @param request - ListFlowNodeGroupRequest
|
|
6606
6949
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -6610,7 +6953,11 @@ class Client extends openapi_core_1.default {
|
|
|
6610
6953
|
return await this.listFlowNodeGroupWithOptions(request, runtime);
|
|
6611
6954
|
}
|
|
6612
6955
|
/**
|
|
6613
|
-
*
|
|
6956
|
+
* Lists flow component prototypes.
|
|
6957
|
+
*
|
|
6958
|
+
* @remarks
|
|
6959
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
6960
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
6614
6961
|
*
|
|
6615
6962
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6616
6963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6660,7 +7007,11 @@ class Client extends openapi_core_1.default {
|
|
|
6660
7007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodePrototypeV2Response({}));
|
|
6661
7008
|
}
|
|
6662
7009
|
/**
|
|
6663
|
-
*
|
|
7010
|
+
* Lists flow component prototypes.
|
|
7011
|
+
*
|
|
7012
|
+
* @remarks
|
|
7013
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
7014
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
6664
7015
|
*
|
|
6665
7016
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6666
7017
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -6670,7 +7021,13 @@ class Client extends openapi_core_1.default {
|
|
|
6670
7021
|
return await this.listFlowNodePrototypeV2WithOptions(request, runtime);
|
|
6671
7022
|
}
|
|
6672
7023
|
/**
|
|
6673
|
-
*
|
|
7024
|
+
* Lists flow versions.
|
|
7025
|
+
*
|
|
7026
|
+
* @remarks
|
|
7027
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
7028
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7029
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
7030
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
6674
7031
|
*
|
|
6675
7032
|
* @param tmpReq - ListFlowVersionRequest
|
|
6676
7033
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6728,7 +7085,13 @@ class Client extends openapi_core_1.default {
|
|
|
6728
7085
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowVersionResponse({}));
|
|
6729
7086
|
}
|
|
6730
7087
|
/**
|
|
6731
|
-
*
|
|
7088
|
+
* Lists flow versions.
|
|
7089
|
+
*
|
|
7090
|
+
* @remarks
|
|
7091
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
7092
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7093
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
7094
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
6732
7095
|
*
|
|
6733
7096
|
* @param request - ListFlowVersionRequest
|
|
6734
7097
|
* @returns ListFlowVersionResponse
|
|
@@ -6738,7 +7101,7 @@ class Client extends openapi_core_1.default {
|
|
|
6738
7101
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
6739
7102
|
}
|
|
6740
7103
|
/**
|
|
6741
|
-
*
|
|
7104
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6742
7105
|
*
|
|
6743
7106
|
* @param request - ListInstagramPageRequest
|
|
6744
7107
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6776,7 +7139,7 @@ class Client extends openapi_core_1.default {
|
|
|
6776
7139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
6777
7140
|
}
|
|
6778
7141
|
/**
|
|
6779
|
-
*
|
|
7142
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6780
7143
|
*
|
|
6781
7144
|
* @param request - ListInstagramPageRequest
|
|
6782
7145
|
* @returns ListInstagramPageResponse
|
|
@@ -6894,7 +7257,7 @@ class Client extends openapi_core_1.default {
|
|
|
6894
7257
|
return await this.listInstanceWithOptions(request, runtime);
|
|
6895
7258
|
}
|
|
6896
7259
|
/**
|
|
6897
|
-
*
|
|
7260
|
+
* Queries a list of marketing campaigns.
|
|
6898
7261
|
*
|
|
6899
7262
|
* @param tmpReq - ListMarketingFlowRequest
|
|
6900
7263
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6961,7 +7324,7 @@ class Client extends openapi_core_1.default {
|
|
|
6961
7324
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
6962
7325
|
}
|
|
6963
7326
|
/**
|
|
6964
|
-
*
|
|
7327
|
+
* Queries a list of marketing campaigns.
|
|
6965
7328
|
*
|
|
6966
7329
|
* @param request - ListMarketingFlowRequest
|
|
6967
7330
|
* @returns ListMarketingFlowResponse
|
|
@@ -7105,7 +7468,7 @@ class Client extends openapi_core_1.default {
|
|
|
7105
7468
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
7106
7469
|
}
|
|
7107
7470
|
/**
|
|
7108
|
-
*
|
|
7471
|
+
* Queries the list of ad accounts bound to a page.
|
|
7109
7472
|
*
|
|
7110
7473
|
* @param request - ListPageAdAccountRequest
|
|
7111
7474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7146,7 +7509,7 @@ class Client extends openapi_core_1.default {
|
|
|
7146
7509
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
7147
7510
|
}
|
|
7148
7511
|
/**
|
|
7149
|
-
*
|
|
7512
|
+
* Queries the list of ad accounts bound to a page.
|
|
7150
7513
|
*
|
|
7151
7514
|
* @param request - ListPageAdAccountRequest
|
|
7152
7515
|
* @returns ListPageAdAccountResponse
|
|
@@ -7156,10 +7519,10 @@ class Client extends openapi_core_1.default {
|
|
|
7156
7519
|
return await this.listPageAdAccountWithOptions(request, runtime);
|
|
7157
7520
|
}
|
|
7158
7521
|
/**
|
|
7159
|
-
* Queries message QR codes.
|
|
7522
|
+
* Queries the list of message QR codes.
|
|
7160
7523
|
*
|
|
7161
7524
|
* @remarks
|
|
7162
|
-
*
|
|
7525
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
7163
7526
|
*
|
|
7164
7527
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7165
7528
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7200,10 +7563,10 @@ class Client extends openapi_core_1.default {
|
|
|
7200
7563
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPhoneMessageQrdlResponse({}));
|
|
7201
7564
|
}
|
|
7202
7565
|
/**
|
|
7203
|
-
* Queries message QR codes.
|
|
7566
|
+
* Queries the list of message QR codes.
|
|
7204
7567
|
*
|
|
7205
7568
|
* @remarks
|
|
7206
|
-
*
|
|
7569
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
7207
7570
|
*
|
|
7208
7571
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7209
7572
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -7285,10 +7648,10 @@ class Client extends openapi_core_1.default {
|
|
|
7285
7648
|
return await this.listProductWithOptions(request, runtime);
|
|
7286
7649
|
}
|
|
7287
7650
|
/**
|
|
7288
|
-
* Queries the
|
|
7651
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7289
7652
|
*
|
|
7290
7653
|
* @remarks
|
|
7291
|
-
*
|
|
7654
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7292
7655
|
*
|
|
7293
7656
|
* @param request - ListProductCatalogRequest
|
|
7294
7657
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7341,10 +7704,10 @@ class Client extends openapi_core_1.default {
|
|
|
7341
7704
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7342
7705
|
}
|
|
7343
7706
|
/**
|
|
7344
|
-
* Queries the
|
|
7707
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7345
7708
|
*
|
|
7346
7709
|
* @remarks
|
|
7347
|
-
*
|
|
7710
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7348
7711
|
*
|
|
7349
7712
|
* @param request - ListProductCatalogRequest
|
|
7350
7713
|
* @returns ListProductCatalogResponse
|
|
@@ -7444,13 +7807,13 @@ class Client extends openapi_core_1.default {
|
|
|
7444
7807
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7445
7808
|
}
|
|
7446
7809
|
/**
|
|
7447
|
-
* Modifies a message template.
|
|
7810
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7448
7811
|
*
|
|
7449
7812
|
* @remarks
|
|
7450
|
-
* ### QPS
|
|
7451
|
-
* The
|
|
7813
|
+
* ### QPS limit
|
|
7814
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7452
7815
|
* ### Status changes
|
|
7453
|
-
*
|
|
7816
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7454
7817
|
*
|
|
7455
7818
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7456
7819
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7520,13 +7883,13 @@ class Client extends openapi_core_1.default {
|
|
|
7520
7883
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7521
7884
|
}
|
|
7522
7885
|
/**
|
|
7523
|
-
* Modifies a message template.
|
|
7886
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7524
7887
|
*
|
|
7525
7888
|
* @remarks
|
|
7526
|
-
* ### QPS
|
|
7527
|
-
* The
|
|
7889
|
+
* ### QPS limit
|
|
7890
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7528
7891
|
* ### Status changes
|
|
7529
|
-
*
|
|
7892
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7530
7893
|
*
|
|
7531
7894
|
* @param request - ModifyChatappTemplateRequest
|
|
7532
7895
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -7536,7 +7899,7 @@ class Client extends openapi_core_1.default {
|
|
|
7536
7899
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7537
7900
|
}
|
|
7538
7901
|
/**
|
|
7539
|
-
*
|
|
7902
|
+
* Modifies some properties of a template.
|
|
7540
7903
|
*
|
|
7541
7904
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7542
7905
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7589,7 +7952,7 @@ class Client extends openapi_core_1.default {
|
|
|
7589
7952
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
7590
7953
|
}
|
|
7591
7954
|
/**
|
|
7592
|
-
*
|
|
7955
|
+
* Modifies some properties of a template.
|
|
7593
7956
|
*
|
|
7594
7957
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7595
7958
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -7599,10 +7962,10 @@ class Client extends openapi_core_1.default {
|
|
|
7599
7962
|
return await this.modifyChatappTemplatePropertiesWithOptions(request, runtime);
|
|
7600
7963
|
}
|
|
7601
7964
|
/**
|
|
7602
|
-
* Modifies a flow.
|
|
7965
|
+
* Modifies the basic information of a flow.
|
|
7603
7966
|
*
|
|
7604
7967
|
* @remarks
|
|
7605
|
-
*
|
|
7968
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7606
7969
|
*
|
|
7607
7970
|
* @param tmpReq - ModifyFlowRequest
|
|
7608
7971
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7657,10 +8020,10 @@ class Client extends openapi_core_1.default {
|
|
|
7657
8020
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyFlowResponse({}));
|
|
7658
8021
|
}
|
|
7659
8022
|
/**
|
|
7660
|
-
* Modifies a flow.
|
|
8023
|
+
* Modifies the basic information of a flow.
|
|
7661
8024
|
*
|
|
7662
8025
|
* @remarks
|
|
7663
|
-
*
|
|
8026
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7664
8027
|
*
|
|
7665
8028
|
* @param request - ModifyFlowRequest
|
|
7666
8029
|
* @returns ModifyFlowResponse
|
|
@@ -7670,10 +8033,10 @@ class Client extends openapi_core_1.default {
|
|
|
7670
8033
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
7671
8034
|
}
|
|
7672
8035
|
/**
|
|
7673
|
-
*
|
|
8036
|
+
* Modifies the commercial information of a phone number.
|
|
7674
8037
|
*
|
|
7675
8038
|
* @remarks
|
|
7676
|
-
*
|
|
8039
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7677
8040
|
*
|
|
7678
8041
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
7679
8042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7740,10 +8103,10 @@ class Client extends openapi_core_1.default {
|
|
|
7740
8103
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
7741
8104
|
}
|
|
7742
8105
|
/**
|
|
7743
|
-
*
|
|
8106
|
+
* Modifies the commercial information of a phone number.
|
|
7744
8107
|
*
|
|
7745
8108
|
* @remarks
|
|
7746
|
-
*
|
|
8109
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7747
8110
|
*
|
|
7748
8111
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
7749
8112
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -7818,7 +8181,13 @@ class Client extends openapi_core_1.default {
|
|
|
7818
8181
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
7819
8182
|
}
|
|
7820
8183
|
/**
|
|
7821
|
-
*
|
|
8184
|
+
* Unpublishes a flow version.
|
|
8185
|
+
*
|
|
8186
|
+
* @remarks
|
|
8187
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8188
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
8189
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
8190
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
7822
8191
|
*
|
|
7823
8192
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
7824
8193
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7873,7 +8242,13 @@ class Client extends openapi_core_1.default {
|
|
|
7873
8242
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
7874
8243
|
}
|
|
7875
8244
|
/**
|
|
7876
|
-
*
|
|
8245
|
+
* Unpublishes a flow version.
|
|
8246
|
+
*
|
|
8247
|
+
* @remarks
|
|
8248
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8249
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
8250
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
8251
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
7877
8252
|
*
|
|
7878
8253
|
* @param request - OfflineFlowVersionRequest
|
|
7879
8254
|
* @returns OfflineFlowVersionResponse
|
|
@@ -7883,7 +8258,13 @@ class Client extends openapi_core_1.default {
|
|
|
7883
8258
|
return await this.offlineFlowVersionWithOptions(request, runtime);
|
|
7884
8259
|
}
|
|
7885
8260
|
/**
|
|
7886
|
-
*
|
|
8261
|
+
* Publishes a flow version.
|
|
8262
|
+
*
|
|
8263
|
+
* @remarks
|
|
8264
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8265
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
8266
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
8267
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
7887
8268
|
*
|
|
7888
8269
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
7889
8270
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7938,7 +8319,13 @@ class Client extends openapi_core_1.default {
|
|
|
7938
8319
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OnlineFlowVersionResponse({}));
|
|
7939
8320
|
}
|
|
7940
8321
|
/**
|
|
7941
|
-
*
|
|
8322
|
+
* Publishes a flow version.
|
|
8323
|
+
*
|
|
8324
|
+
* @remarks
|
|
8325
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8326
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
8327
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
8328
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
7942
8329
|
*
|
|
7943
8330
|
* @param request - OnlineFlowVersionRequest
|
|
7944
8331
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8044,13 +8431,13 @@ class Client extends openapi_core_1.default {
|
|
|
8044
8431
|
return await this.pauseMarketingFLowWithOptions(request, runtime);
|
|
8045
8432
|
}
|
|
8046
8433
|
/**
|
|
8047
|
-
* Publishes a
|
|
8434
|
+
* Publishes a Flow.
|
|
8048
8435
|
*
|
|
8049
8436
|
* @remarks
|
|
8050
|
-
* - Before
|
|
8051
|
-
* - If you
|
|
8437
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8438
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8052
8439
|
* #### QPS limit
|
|
8053
|
-
*
|
|
8440
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8054
8441
|
*
|
|
8055
8442
|
* @param request - PublishFlowRequest
|
|
8056
8443
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8091,13 +8478,13 @@ class Client extends openapi_core_1.default {
|
|
|
8091
8478
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishFlowResponse({}));
|
|
8092
8479
|
}
|
|
8093
8480
|
/**
|
|
8094
|
-
* Publishes a
|
|
8481
|
+
* Publishes a Flow.
|
|
8095
8482
|
*
|
|
8096
8483
|
* @remarks
|
|
8097
|
-
* - Before
|
|
8098
|
-
* - If you
|
|
8484
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8485
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8099
8486
|
* #### QPS limit
|
|
8100
|
-
*
|
|
8487
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8101
8488
|
*
|
|
8102
8489
|
* @param request - PublishFlowRequest
|
|
8103
8490
|
* @returns PublishFlowResponse
|
|
@@ -8314,7 +8701,7 @@ class Client extends openapi_core_1.default {
|
|
|
8314
8701
|
* Queries the business information of a phone number.
|
|
8315
8702
|
*
|
|
8316
8703
|
* @remarks
|
|
8317
|
-
*
|
|
8704
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8318
8705
|
*
|
|
8319
8706
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8320
8707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8358,7 +8745,7 @@ class Client extends openapi_core_1.default {
|
|
|
8358
8745
|
* Queries the business information of a phone number.
|
|
8359
8746
|
*
|
|
8360
8747
|
* @remarks
|
|
8361
|
-
*
|
|
8748
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8362
8749
|
*
|
|
8363
8750
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8364
8751
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8425,7 +8812,12 @@ class Client extends openapi_core_1.default {
|
|
|
8425
8812
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8426
8813
|
}
|
|
8427
8814
|
/**
|
|
8428
|
-
*
|
|
8815
|
+
* Retrieves the details of a flow.
|
|
8816
|
+
*
|
|
8817
|
+
* @remarks
|
|
8818
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8819
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
8820
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8429
8821
|
*
|
|
8430
8822
|
* @param tmpReq - ReadChatFlowRequest
|
|
8431
8823
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8474,7 +8866,12 @@ class Client extends openapi_core_1.default {
|
|
|
8474
8866
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowResponse({}));
|
|
8475
8867
|
}
|
|
8476
8868
|
/**
|
|
8477
|
-
*
|
|
8869
|
+
* Retrieves the details of a flow.
|
|
8870
|
+
*
|
|
8871
|
+
* @remarks
|
|
8872
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8873
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
8874
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8478
8875
|
*
|
|
8479
8876
|
* @param request - ReadChatFlowRequest
|
|
8480
8877
|
* @returns ReadChatFlowResponse
|
|
@@ -8484,7 +8881,12 @@ class Client extends openapi_core_1.default {
|
|
|
8484
8881
|
return await this.readChatFlowWithOptions(request, runtime);
|
|
8485
8882
|
}
|
|
8486
8883
|
/**
|
|
8487
|
-
*
|
|
8884
|
+
* Views the log settings for a flow.
|
|
8885
|
+
*
|
|
8886
|
+
* @remarks
|
|
8887
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
8888
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
8889
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8488
8890
|
*
|
|
8489
8891
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8490
8892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8522,7 +8924,12 @@ class Client extends openapi_core_1.default {
|
|
|
8522
8924
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
8523
8925
|
}
|
|
8524
8926
|
/**
|
|
8525
|
-
*
|
|
8927
|
+
* Views the log settings for a flow.
|
|
8928
|
+
*
|
|
8929
|
+
* @remarks
|
|
8930
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
8931
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
8932
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8526
8933
|
*
|
|
8527
8934
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8528
8935
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8532,7 +8939,12 @@ class Client extends openapi_core_1.default {
|
|
|
8532
8939
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8533
8940
|
}
|
|
8534
8941
|
/**
|
|
8535
|
-
*
|
|
8942
|
+
* Retrieves a flow version.
|
|
8943
|
+
*
|
|
8944
|
+
* @remarks
|
|
8945
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
8946
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
8947
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8536
8948
|
*
|
|
8537
8949
|
* @param tmpReq - ReadFlowVersionRequest
|
|
8538
8950
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8587,7 +8999,12 @@ class Client extends openapi_core_1.default {
|
|
|
8587
8999
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
8588
9000
|
}
|
|
8589
9001
|
/**
|
|
8590
|
-
*
|
|
9002
|
+
* Retrieves a flow version.
|
|
9003
|
+
*
|
|
9004
|
+
* @remarks
|
|
9005
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
9006
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
9007
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8591
9008
|
*
|
|
8592
9009
|
* @param request - ReadFlowVersionRequest
|
|
8593
9010
|
* @returns ReadFlowVersionResponse
|
|
@@ -8713,21 +9130,20 @@ class Client extends openapi_core_1.default {
|
|
|
8713
9130
|
return await this.requestWhatsappConversionApiWithOptions(request, runtime);
|
|
8714
9131
|
}
|
|
8715
9132
|
/**
|
|
8716
|
-
* Sends
|
|
9133
|
+
* Sends Chat App messages in batches.
|
|
8717
9134
|
*
|
|
8718
9135
|
* @remarks
|
|
8719
|
-
* - You can call this operation to send messages in
|
|
8720
|
-
* - Before
|
|
8721
|
-
* - For
|
|
8722
|
-
* - For
|
|
8723
|
-
* - For
|
|
8724
|
-
* <props="intl"
|
|
8725
|
-
*
|
|
8726
|
-
*
|
|
8727
|
-
* -
|
|
8728
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
9136
|
+
* - You can call this operation to send messages in batches. You can also 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) > **Management** > **Message Sending** page.
|
|
9137
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9138
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9139
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9140
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9141
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9142
|
+
* ### QPS limit
|
|
9143
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
9144
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
8729
9145
|
* ### Status changes
|
|
8730
|
-
*
|
|
9146
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8731
9147
|
*
|
|
8732
9148
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
8733
9149
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8818,21 +9234,20 @@ class Client extends openapi_core_1.default {
|
|
|
8818
9234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMassMessageResponse({}));
|
|
8819
9235
|
}
|
|
8820
9236
|
/**
|
|
8821
|
-
* Sends
|
|
9237
|
+
* Sends Chat App messages in batches.
|
|
8822
9238
|
*
|
|
8823
9239
|
* @remarks
|
|
8824
|
-
* - You can call this operation to send messages in
|
|
8825
|
-
* - Before
|
|
8826
|
-
* - For
|
|
8827
|
-
* - For
|
|
8828
|
-
* - For
|
|
8829
|
-
* <props="intl"
|
|
8830
|
-
*
|
|
8831
|
-
*
|
|
8832
|
-
* -
|
|
8833
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
9240
|
+
* - You can call this operation to send messages in batches. You can also 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) > **Management** > **Message Sending** page.
|
|
9241
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9242
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9243
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9244
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9245
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9246
|
+
* ### QPS limit
|
|
9247
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
9248
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
8834
9249
|
* ### Status changes
|
|
8835
|
-
*
|
|
9250
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8836
9251
|
*
|
|
8837
9252
|
* @param request - SendChatappMassMessageRequest
|
|
8838
9253
|
* @returns SendChatappMassMessageResponse
|
|
@@ -8842,20 +9257,19 @@ class Client extends openapi_core_1.default {
|
|
|
8842
9257
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
8843
9258
|
}
|
|
8844
9259
|
/**
|
|
8845
|
-
* Sends a
|
|
9260
|
+
* Sends a Chat App Message Service message.
|
|
8846
9261
|
*
|
|
8847
9262
|
* @remarks
|
|
8848
|
-
* -
|
|
8849
|
-
* - Before calling this operation, you
|
|
8850
|
-
* - For
|
|
8851
|
-
* - For
|
|
8852
|
-
* - For
|
|
8853
|
-
* <props="intl"
|
|
8854
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9263
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9264
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9265
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9266
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9267
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9268
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
8855
9269
|
* ### QPS limit
|
|
8856
|
-
* The QPS limit for this operation is 250 per
|
|
9270
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8857
9271
|
* ### Status changes
|
|
8858
|
-
* You can
|
|
9272
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8859
9273
|
*
|
|
8860
9274
|
* @param tmpReq - SendChatappMessageRequest
|
|
8861
9275
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8997,20 +9411,19 @@ class Client extends openapi_core_1.default {
|
|
|
8997
9411
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMessageResponse({}));
|
|
8998
9412
|
}
|
|
8999
9413
|
/**
|
|
9000
|
-
* Sends a
|
|
9414
|
+
* Sends a Chat App Message Service message.
|
|
9001
9415
|
*
|
|
9002
9416
|
* @remarks
|
|
9003
|
-
* -
|
|
9004
|
-
* - Before calling this operation, you
|
|
9005
|
-
* - For
|
|
9006
|
-
* - For
|
|
9007
|
-
* - For
|
|
9008
|
-
* <props="intl"
|
|
9009
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9417
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9418
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9419
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9420
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9421
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9422
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9010
9423
|
* ### QPS limit
|
|
9011
|
-
* The QPS limit for this operation is 250 per
|
|
9424
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9012
9425
|
* ### Status changes
|
|
9013
|
-
* You can
|
|
9426
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9014
9427
|
*
|
|
9015
9428
|
* @param request - SendChatappMessageRequest
|
|
9016
9429
|
* @returns SendChatappMessageResponse
|
|
@@ -9065,11 +9478,11 @@ class Client extends openapi_core_1.default {
|
|
|
9065
9478
|
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9066
9479
|
}
|
|
9067
9480
|
/**
|
|
9068
|
-
* Synchronizes
|
|
9481
|
+
* Synchronizes business app historical records.
|
|
9069
9482
|
*
|
|
9070
9483
|
* @remarks
|
|
9071
|
-
* - Before
|
|
9072
|
-
* - This
|
|
9484
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
9485
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
9073
9486
|
*
|
|
9074
9487
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9075
9488
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9110,11 +9523,11 @@ class Client extends openapi_core_1.default {
|
|
|
9110
9523
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
9111
9524
|
}
|
|
9112
9525
|
/**
|
|
9113
|
-
* Synchronizes
|
|
9526
|
+
* Synchronizes business app historical records.
|
|
9114
9527
|
*
|
|
9115
9528
|
* @remarks
|
|
9116
|
-
* - Before
|
|
9117
|
-
* - This
|
|
9529
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
9530
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
9118
9531
|
*
|
|
9119
9532
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9120
9533
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -9223,7 +9636,7 @@ class Client extends openapi_core_1.default {
|
|
|
9223
9636
|
return await this.syncMessageCampaignWithOptions(request, runtime);
|
|
9224
9637
|
}
|
|
9225
9638
|
/**
|
|
9226
|
-
*
|
|
9639
|
+
* Queries the Messenger subscription token.
|
|
9227
9640
|
*
|
|
9228
9641
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
9229
9642
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9270,7 +9683,7 @@ class Client extends openapi_core_1.default {
|
|
|
9270
9683
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessengerSubscriptionTokenResponse({}));
|
|
9271
9684
|
}
|
|
9272
9685
|
/**
|
|
9273
|
-
*
|
|
9686
|
+
* Queries the Messenger subscription token.
|
|
9274
9687
|
*
|
|
9275
9688
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
9276
9689
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -9533,7 +9946,12 @@ class Client extends openapi_core_1.default {
|
|
|
9533
9946
|
return await this.updateAuditRequestWithOptions(request, runtime);
|
|
9534
9947
|
}
|
|
9535
9948
|
/**
|
|
9536
|
-
*
|
|
9949
|
+
* Updates the basic information of a flow based on the flow code.
|
|
9950
|
+
*
|
|
9951
|
+
* @remarks
|
|
9952
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
9953
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9954
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
9537
9955
|
*
|
|
9538
9956
|
* @param tmpReq - UpdateChatFlowRequest
|
|
9539
9957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9588,7 +10006,12 @@ class Client extends openapi_core_1.default {
|
|
|
9588
10006
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowResponse({}));
|
|
9589
10007
|
}
|
|
9590
10008
|
/**
|
|
9591
|
-
*
|
|
10009
|
+
* Updates the basic information of a flow based on the flow code.
|
|
10010
|
+
*
|
|
10011
|
+
* @remarks
|
|
10012
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10013
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
10014
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
9592
10015
|
*
|
|
9593
10016
|
* @param request - UpdateChatFlowRequest
|
|
9594
10017
|
* @returns UpdateChatFlowResponse
|
|
@@ -9598,7 +10021,13 @@ class Client extends openapi_core_1.default {
|
|
|
9598
10021
|
return await this.updateChatFlowWithOptions(request, runtime);
|
|
9599
10022
|
}
|
|
9600
10023
|
/**
|
|
9601
|
-
*
|
|
10024
|
+
* Updates the flow log settings.
|
|
10025
|
+
*
|
|
10026
|
+
* @remarks
|
|
10027
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
10028
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10029
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10030
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9602
10031
|
*
|
|
9603
10032
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9604
10033
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9642,7 +10071,13 @@ class Client extends openapi_core_1.default {
|
|
|
9642
10071
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowLogSettingResponse({}));
|
|
9643
10072
|
}
|
|
9644
10073
|
/**
|
|
9645
|
-
*
|
|
10074
|
+
* Updates the flow log settings.
|
|
10075
|
+
*
|
|
10076
|
+
* @remarks
|
|
10077
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
10078
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10079
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10080
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9646
10081
|
*
|
|
9647
10082
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9648
10083
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -9652,13 +10087,13 @@ class Client extends openapi_core_1.default {
|
|
|
9652
10087
|
return await this.updateChatFlowLogSettingWithOptions(request, runtime);
|
|
9653
10088
|
}
|
|
9654
10089
|
/**
|
|
9655
|
-
*
|
|
10090
|
+
* Modifies the information of an IM group.
|
|
9656
10091
|
*
|
|
9657
10092
|
* @remarks
|
|
9658
|
-
* >Notice:
|
|
9659
|
-
*
|
|
9660
|
-
* - Before
|
|
9661
|
-
* - If you do not have
|
|
10093
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10094
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10095
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10096
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9662
10097
|
*
|
|
9663
10098
|
* @param request - UpdateChatGroupRequest
|
|
9664
10099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9714,13 +10149,13 @@ class Client extends openapi_core_1.default {
|
|
|
9714
10149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatGroupResponse({}));
|
|
9715
10150
|
}
|
|
9716
10151
|
/**
|
|
9717
|
-
*
|
|
10152
|
+
* Modifies the information of an IM group.
|
|
9718
10153
|
*
|
|
9719
10154
|
* @remarks
|
|
9720
|
-
* >Notice:
|
|
9721
|
-
*
|
|
9722
|
-
* - Before
|
|
9723
|
-
* - If you do not have
|
|
10155
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10156
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10157
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10158
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9724
10159
|
*
|
|
9725
10160
|
* @param request - UpdateChatGroupRequest
|
|
9726
10161
|
* @returns UpdateChatGroupResponse
|
|
@@ -9867,12 +10302,12 @@ class Client extends openapi_core_1.default {
|
|
|
9867
10302
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
9868
10303
|
}
|
|
9869
10304
|
/**
|
|
9870
|
-
* Modifies
|
|
10305
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9871
10306
|
*
|
|
9872
10307
|
* @remarks
|
|
9873
|
-
* ###
|
|
9874
|
-
*
|
|
9875
|
-
* This
|
|
10308
|
+
* ### QPS limit
|
|
10309
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
10310
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9876
10311
|
*
|
|
9877
10312
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
9878
10313
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9930,12 +10365,12 @@ class Client extends openapi_core_1.default {
|
|
|
9930
10365
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
9931
10366
|
}
|
|
9932
10367
|
/**
|
|
9933
|
-
* Modifies
|
|
10368
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9934
10369
|
*
|
|
9935
10370
|
* @remarks
|
|
9936
|
-
* ###
|
|
9937
|
-
*
|
|
9938
|
-
* This
|
|
10371
|
+
* ### QPS limit
|
|
10372
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
10373
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9939
10374
|
*
|
|
9940
10375
|
* @param request - UpdateConversationalAutomationRequest
|
|
9941
10376
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -9945,10 +10380,10 @@ class Client extends openapi_core_1.default {
|
|
|
9945
10380
|
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9946
10381
|
}
|
|
9947
10382
|
/**
|
|
9948
|
-
* Updates the content of a
|
|
10383
|
+
* Updates the content of a flow by using JSON.
|
|
9949
10384
|
*
|
|
9950
10385
|
* @remarks
|
|
9951
|
-
*
|
|
10386
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9952
10387
|
*
|
|
9953
10388
|
* @param request - UpdateFlowJSONAssetRequest
|
|
9954
10389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9992,10 +10427,10 @@ class Client extends openapi_core_1.default {
|
|
|
9992
10427
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowJSONAssetResponse({}));
|
|
9993
10428
|
}
|
|
9994
10429
|
/**
|
|
9995
|
-
* Updates the content of a
|
|
10430
|
+
* Updates the content of a flow by using JSON.
|
|
9996
10431
|
*
|
|
9997
10432
|
* @remarks
|
|
9998
|
-
*
|
|
10433
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9999
10434
|
*
|
|
10000
10435
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10001
10436
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -10005,7 +10440,12 @@ class Client extends openapi_core_1.default {
|
|
|
10005
10440
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10006
10441
|
}
|
|
10007
10442
|
/**
|
|
10008
|
-
*
|
|
10443
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
10444
|
+
*
|
|
10445
|
+
* @remarks
|
|
10446
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
10447
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
10448
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10009
10449
|
*
|
|
10010
10450
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10011
10451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10063,7 +10503,12 @@ class Client extends openapi_core_1.default {
|
|
|
10063
10503
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10064
10504
|
}
|
|
10065
10505
|
/**
|
|
10066
|
-
*
|
|
10506
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
10507
|
+
*
|
|
10508
|
+
* @remarks
|
|
10509
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
10510
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
10511
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10067
10512
|
*
|
|
10068
10513
|
* @param request - UpdateFlowVersionRequest
|
|
10069
10514
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10187,7 +10632,7 @@ class Client extends openapi_core_1.default {
|
|
|
10187
10632
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10188
10633
|
}
|
|
10189
10634
|
/**
|
|
10190
|
-
*
|
|
10635
|
+
* Modifies campaign information.
|
|
10191
10636
|
*
|
|
10192
10637
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10193
10638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10266,7 +10711,7 @@ class Client extends openapi_core_1.default {
|
|
|
10266
10711
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10267
10712
|
}
|
|
10268
10713
|
/**
|
|
10269
|
-
*
|
|
10714
|
+
* Modifies campaign information.
|
|
10270
10715
|
*
|
|
10271
10716
|
* @param request - UpdateMarketingFLowRequest
|
|
10272
10717
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10276,13 +10721,13 @@ class Client extends openapi_core_1.default {
|
|
|
10276
10721
|
return await this.updateMarketingFLowWithOptions(request, runtime);
|
|
10277
10722
|
}
|
|
10278
10723
|
/**
|
|
10279
|
-
* Updates the encryption key
|
|
10724
|
+
* Updates the encryption public key of a phone number.
|
|
10280
10725
|
*
|
|
10281
10726
|
* @remarks
|
|
10282
|
-
* - Before
|
|
10283
|
-
* - If
|
|
10727
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10728
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10284
10729
|
* #### QPS limit
|
|
10285
|
-
*
|
|
10730
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10286
10731
|
*
|
|
10287
10732
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10288
10733
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10326,13 +10771,13 @@ class Client extends openapi_core_1.default {
|
|
|
10326
10771
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
10327
10772
|
}
|
|
10328
10773
|
/**
|
|
10329
|
-
* Updates the encryption key
|
|
10774
|
+
* Updates the encryption public key of a phone number.
|
|
10330
10775
|
*
|
|
10331
10776
|
* @remarks
|
|
10332
|
-
* - Before
|
|
10333
|
-
* - If
|
|
10777
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10778
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10334
10779
|
* #### QPS limit
|
|
10335
|
-
*
|
|
10780
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10336
10781
|
*
|
|
10337
10782
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10338
10783
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -10342,13 +10787,14 @@ class Client extends openapi_core_1.default {
|
|
|
10342
10787
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
10343
10788
|
}
|
|
10344
10789
|
/**
|
|
10345
|
-
*
|
|
10790
|
+
* Modifies a message QR code.
|
|
10346
10791
|
*
|
|
10347
10792
|
* @remarks
|
|
10348
|
-
* - After you
|
|
10349
|
-
* -
|
|
10793
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
10794
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10795
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10350
10796
|
* #### QPS limit
|
|
10351
|
-
*
|
|
10797
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10352
10798
|
*
|
|
10353
10799
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10354
10800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10398,13 +10844,14 @@ class Client extends openapi_core_1.default {
|
|
|
10398
10844
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneMessageQrdlResponse({}));
|
|
10399
10845
|
}
|
|
10400
10846
|
/**
|
|
10401
|
-
*
|
|
10847
|
+
* Modifies a message QR code.
|
|
10402
10848
|
*
|
|
10403
10849
|
* @remarks
|
|
10404
|
-
* - After you
|
|
10405
|
-
* -
|
|
10850
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
10851
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10852
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10406
10853
|
* #### QPS limit
|
|
10407
|
-
*
|
|
10854
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10408
10855
|
*
|
|
10409
10856
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10410
10857
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -10414,12 +10861,10 @@ class Client extends openapi_core_1.default {
|
|
|
10414
10861
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10415
10862
|
}
|
|
10416
10863
|
/**
|
|
10417
|
-
*
|
|
10418
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
10419
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
10864
|
+
* Modifies the callback URL information for a phone number.
|
|
10420
10865
|
*
|
|
10421
10866
|
* @remarks
|
|
10422
|
-
* The
|
|
10867
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10423
10868
|
*
|
|
10424
10869
|
* @param request - UpdatePhoneWebhookRequest
|
|
10425
10870
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10472,12 +10917,10 @@ class Client extends openapi_core_1.default {
|
|
|
10472
10917
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10473
10918
|
}
|
|
10474
10919
|
/**
|
|
10475
|
-
*
|
|
10476
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
10477
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
10920
|
+
* Modifies the callback URL information for a phone number.
|
|
10478
10921
|
*
|
|
10479
10922
|
* @remarks
|
|
10480
|
-
* The
|
|
10923
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10481
10924
|
*
|
|
10482
10925
|
* @param request - UpdatePhoneWebhookRequest
|
|
10483
10926
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -10487,7 +10930,7 @@ class Client extends openapi_core_1.default {
|
|
|
10487
10930
|
return await this.updatePhoneWebhookWithOptions(request, runtime);
|
|
10488
10931
|
}
|
|
10489
10932
|
/**
|
|
10490
|
-
*
|
|
10933
|
+
* Updates the MML status of a WABA.
|
|
10491
10934
|
*
|
|
10492
10935
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10493
10936
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10531,7 +10974,7 @@ class Client extends openapi_core_1.default {
|
|
|
10531
10974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWabaMmlStatusResponse({}));
|
|
10532
10975
|
}
|
|
10533
10976
|
/**
|
|
10534
|
-
*
|
|
10977
|
+
* Updates the MML status of a WABA.
|
|
10535
10978
|
*
|
|
10536
10979
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10537
10980
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -10540,6 +10983,54 @@ class Client extends openapi_core_1.default {
|
|
|
10540
10983
|
let runtime = new $dara.RuntimeOptions({});
|
|
10541
10984
|
return await this.updateWabaMmlStatusWithOptions(request, runtime);
|
|
10542
10985
|
}
|
|
10986
|
+
/**
|
|
10987
|
+
* Updates the WhatsApp username for a business phone number.
|
|
10988
|
+
*
|
|
10989
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
10990
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10991
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
10992
|
+
*/
|
|
10993
|
+
async updateWhatsappUserNameWithOptions(request, runtime) {
|
|
10994
|
+
request.validate();
|
|
10995
|
+
let query = {};
|
|
10996
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
10997
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
10998
|
+
}
|
|
10999
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
11000
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
11001
|
+
}
|
|
11002
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
11003
|
+
query["TransferAction"] = request.transferAction;
|
|
11004
|
+
}
|
|
11005
|
+
if (!$dara.isNull(request.username)) {
|
|
11006
|
+
query["Username"] = request.username;
|
|
11007
|
+
}
|
|
11008
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11009
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11010
|
+
});
|
|
11011
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11012
|
+
action: "UpdateWhatsappUserName",
|
|
11013
|
+
version: "2020-06-06",
|
|
11014
|
+
protocol: "HTTPS",
|
|
11015
|
+
pathname: "/",
|
|
11016
|
+
method: "POST",
|
|
11017
|
+
authType: "AK",
|
|
11018
|
+
style: "RPC",
|
|
11019
|
+
reqBodyType: "formData",
|
|
11020
|
+
bodyType: "json",
|
|
11021
|
+
});
|
|
11022
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
11023
|
+
}
|
|
11024
|
+
/**
|
|
11025
|
+
* Updates the WhatsApp username for a business phone number.
|
|
11026
|
+
*
|
|
11027
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
11028
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
11029
|
+
*/
|
|
11030
|
+
async updateWhatsappUserName(request) {
|
|
11031
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11032
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11033
|
+
}
|
|
10543
11034
|
/**
|
|
10544
11035
|
* Places, answers, or ends WhatsApp voice calls.
|
|
10545
11036
|
*
|