@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/src/client.ts
CHANGED
|
@@ -33,7 +33,7 @@ export default class Client extends OpenApi {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Submits a request to change the destination, resume, or pause.
|
|
37
37
|
*
|
|
38
38
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
39
39
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -90,7 +90,7 @@ export default class Client extends OpenApi {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Submits a request to change the destination, resume, or pause.
|
|
94
94
|
*
|
|
95
95
|
* @param request - AddAddressRecoverSuspendRequest
|
|
96
96
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -257,16 +257,15 @@ export default class Client extends OpenApi {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
/**
|
|
260
|
-
* Adds an invite link for an
|
|
260
|
+
* Adds an invite link for an IM group.
|
|
261
261
|
*
|
|
262
262
|
* @remarks
|
|
263
|
-
* >Notice:
|
|
264
|
-
*
|
|
265
|
-
* -
|
|
266
|
-
* -
|
|
267
|
-
* -
|
|
268
|
-
* -
|
|
269
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
263
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
264
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
265
|
+
* - 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.
|
|
266
|
+
* - 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.
|
|
267
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
268
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
270
269
|
*
|
|
271
270
|
* @param request - AddChatGroupInviteLinkRequest
|
|
272
271
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -321,16 +320,15 @@ export default class Client extends OpenApi {
|
|
|
321
320
|
}
|
|
322
321
|
|
|
323
322
|
/**
|
|
324
|
-
* Adds an invite link for an
|
|
323
|
+
* Adds an invite link for an IM group.
|
|
325
324
|
*
|
|
326
325
|
* @remarks
|
|
327
|
-
* >Notice:
|
|
328
|
-
*
|
|
329
|
-
* -
|
|
330
|
-
* -
|
|
331
|
-
* -
|
|
332
|
-
* -
|
|
333
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
326
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
327
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
328
|
+
* - 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.
|
|
329
|
+
* - 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.
|
|
330
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
331
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
334
332
|
*
|
|
335
333
|
* @param request - AddChatGroupInviteLinkRequest
|
|
336
334
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -341,10 +339,10 @@ export default class Client extends OpenApi {
|
|
|
341
339
|
}
|
|
342
340
|
|
|
343
341
|
/**
|
|
344
|
-
* Adds a phone number to a
|
|
342
|
+
* Adds a phone number to a WABA.
|
|
345
343
|
*
|
|
346
344
|
* @remarks
|
|
347
|
-
*
|
|
345
|
+
* 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.
|
|
348
346
|
*
|
|
349
347
|
* @param request - AddChatappPhoneNumberRequest
|
|
350
348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -403,10 +401,10 @@ export default class Client extends OpenApi {
|
|
|
403
401
|
}
|
|
404
402
|
|
|
405
403
|
/**
|
|
406
|
-
* Adds a phone number to a
|
|
404
|
+
* Adds a phone number to a WABA.
|
|
407
405
|
*
|
|
408
406
|
* @remarks
|
|
409
|
-
*
|
|
407
|
+
* 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.
|
|
410
408
|
*
|
|
411
409
|
* @param request - AddChatappPhoneNumberRequest
|
|
412
410
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -417,7 +415,7 @@ export default class Client extends OpenApi {
|
|
|
417
415
|
}
|
|
418
416
|
|
|
419
417
|
/**
|
|
420
|
-
*
|
|
418
|
+
* Edits a contact - add contact.
|
|
421
419
|
*
|
|
422
420
|
* @param tmpReq - AddContactsRequest
|
|
423
421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -502,7 +500,7 @@ export default class Client extends OpenApi {
|
|
|
502
500
|
}
|
|
503
501
|
|
|
504
502
|
/**
|
|
505
|
-
*
|
|
503
|
+
* Edits a contact - add contact.
|
|
506
504
|
*
|
|
507
505
|
* @param request - AddContactsRequest
|
|
508
506
|
* @returns AddContactsResponse
|
|
@@ -603,7 +601,7 @@ export default class Client extends OpenApi {
|
|
|
603
601
|
}
|
|
604
602
|
|
|
605
603
|
/**
|
|
606
|
-
*
|
|
604
|
+
* Adds a group.
|
|
607
605
|
*
|
|
608
606
|
* @param tmpReq - AddGroupRequest
|
|
609
607
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -684,7 +682,7 @@ export default class Client extends OpenApi {
|
|
|
684
682
|
}
|
|
685
683
|
|
|
686
684
|
/**
|
|
687
|
-
*
|
|
685
|
+
* Adds a group.
|
|
688
686
|
*
|
|
689
687
|
* @param request - AddGroupRequest
|
|
690
688
|
* @returns AddGroupResponse
|
|
@@ -807,7 +805,67 @@ export default class Client extends OpenApi {
|
|
|
807
805
|
}
|
|
808
806
|
|
|
809
807
|
/**
|
|
810
|
-
*
|
|
808
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
809
|
+
*
|
|
810
|
+
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
811
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
812
|
+
* @returns ArchiveChatappTemplateResponse
|
|
813
|
+
*/
|
|
814
|
+
async archiveChatappTemplateWithOptions(tmpReq: $_model.ArchiveChatappTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ArchiveChatappTemplateResponse> {
|
|
815
|
+
tmpReq.validate();
|
|
816
|
+
let request = new $_model.ArchiveChatappTemplateShrinkRequest({ });
|
|
817
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
818
|
+
if (!$dara.isNull(tmpReq.templateList)) {
|
|
819
|
+
request.templateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
let query = { };
|
|
823
|
+
if (!$dara.isNull(request.archiveType)) {
|
|
824
|
+
query["ArchiveType"] = request.archiveType;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
if (!$dara.isNull(request.channelType)) {
|
|
828
|
+
query["ChannelType"] = request.channelType;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
832
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
if (!$dara.isNull(request.templateListShrink)) {
|
|
836
|
+
query["TemplateList"] = request.templateListShrink;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
840
|
+
query: OpenApiUtil.query(query),
|
|
841
|
+
});
|
|
842
|
+
let params = new $OpenApiUtil.Params({
|
|
843
|
+
action: "ArchiveChatappTemplate",
|
|
844
|
+
version: "2020-06-06",
|
|
845
|
+
protocol: "HTTPS",
|
|
846
|
+
pathname: "/",
|
|
847
|
+
method: "POST",
|
|
848
|
+
authType: "AK",
|
|
849
|
+
style: "RPC",
|
|
850
|
+
reqBodyType: "formData",
|
|
851
|
+
bodyType: "json",
|
|
852
|
+
});
|
|
853
|
+
return $dara.cast<$_model.ArchiveChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
858
|
+
*
|
|
859
|
+
* @param request - ArchiveChatappTemplateRequest
|
|
860
|
+
* @returns ArchiveChatappTemplateResponse
|
|
861
|
+
*/
|
|
862
|
+
async archiveChatappTemplate(request: $_model.ArchiveChatappTemplateRequest): Promise<$_model.ArchiveChatappTemplateResponse> {
|
|
863
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
864
|
+
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Associates a DM account.
|
|
811
869
|
*
|
|
812
870
|
* @param tmpReq - BindDmAccountRequest
|
|
813
871
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -864,7 +922,7 @@ export default class Client extends OpenApi {
|
|
|
864
922
|
}
|
|
865
923
|
|
|
866
924
|
/**
|
|
867
|
-
*
|
|
925
|
+
* Associates a DM account.
|
|
868
926
|
*
|
|
869
927
|
* @param request - BindDmAccountRequest
|
|
870
928
|
* @returns BindDmAccountResponse
|
|
@@ -875,7 +933,7 @@ export default class Client extends OpenApi {
|
|
|
875
933
|
}
|
|
876
934
|
|
|
877
935
|
/**
|
|
878
|
-
*
|
|
936
|
+
* Associates a page with an instance.
|
|
879
937
|
*
|
|
880
938
|
* @param request - BindInstagramPageRequest
|
|
881
939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -926,7 +984,7 @@ export default class Client extends OpenApi {
|
|
|
926
984
|
}
|
|
927
985
|
|
|
928
986
|
/**
|
|
929
|
-
*
|
|
987
|
+
* Associates a page with an instance.
|
|
930
988
|
*
|
|
931
989
|
* @param request - BindInstagramPageRequest
|
|
932
990
|
* @returns BindInstagramPageResponse
|
|
@@ -1049,10 +1107,10 @@ export default class Client extends OpenApi {
|
|
|
1049
1107
|
}
|
|
1050
1108
|
|
|
1051
1109
|
/**
|
|
1052
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
1110
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
1053
1111
|
*
|
|
1054
1112
|
* @remarks
|
|
1055
|
-
*
|
|
1113
|
+
* 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.
|
|
1056
1114
|
*
|
|
1057
1115
|
* @param request - ChatappBindWabaRequest
|
|
1058
1116
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1095,10 +1153,10 @@ export default class Client extends OpenApi {
|
|
|
1095
1153
|
}
|
|
1096
1154
|
|
|
1097
1155
|
/**
|
|
1098
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
1156
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
1099
1157
|
*
|
|
1100
1158
|
* @remarks
|
|
1101
|
-
*
|
|
1159
|
+
* 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.
|
|
1102
1160
|
*
|
|
1103
1161
|
* @param request - ChatappBindWabaRequest
|
|
1104
1162
|
* @returns ChatappBindWabaResponse
|
|
@@ -1109,10 +1167,10 @@ export default class Client extends OpenApi {
|
|
|
1109
1167
|
}
|
|
1110
1168
|
|
|
1111
1169
|
/**
|
|
1112
|
-
*
|
|
1170
|
+
* Migrates a phone number registration.
|
|
1113
1171
|
*
|
|
1114
1172
|
* @remarks
|
|
1115
|
-
* The
|
|
1173
|
+
* 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.
|
|
1116
1174
|
*
|
|
1117
1175
|
* @param request - ChatappMigrationRegisterRequest
|
|
1118
1176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1159,10 +1217,10 @@ export default class Client extends OpenApi {
|
|
|
1159
1217
|
}
|
|
1160
1218
|
|
|
1161
1219
|
/**
|
|
1162
|
-
*
|
|
1220
|
+
* Migrates a phone number registration.
|
|
1163
1221
|
*
|
|
1164
1222
|
* @remarks
|
|
1165
|
-
* The
|
|
1223
|
+
* 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.
|
|
1166
1224
|
*
|
|
1167
1225
|
* @param request - ChatappMigrationRegisterRequest
|
|
1168
1226
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1176,7 +1234,7 @@ export default class Client extends OpenApi {
|
|
|
1176
1234
|
* Verifies a phone number for migration.
|
|
1177
1235
|
*
|
|
1178
1236
|
* @remarks
|
|
1179
|
-
*
|
|
1237
|
+
* 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.
|
|
1180
1238
|
*
|
|
1181
1239
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1182
1240
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1230,7 +1288,7 @@ export default class Client extends OpenApi {
|
|
|
1230
1288
|
* Verifies a phone number for migration.
|
|
1231
1289
|
*
|
|
1232
1290
|
* @remarks
|
|
1233
|
-
*
|
|
1291
|
+
* 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.
|
|
1234
1292
|
*
|
|
1235
1293
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1236
1294
|
* @returns ChatappMigrationVerifiedResponse
|
|
@@ -1241,10 +1299,10 @@ export default class Client extends OpenApi {
|
|
|
1241
1299
|
}
|
|
1242
1300
|
|
|
1243
1301
|
/**
|
|
1244
|
-
* Deregisters a phone number from
|
|
1302
|
+
* Deregisters a phone number from WABA.
|
|
1245
1303
|
*
|
|
1246
1304
|
* @remarks
|
|
1247
|
-
*
|
|
1305
|
+
* 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.
|
|
1248
1306
|
*
|
|
1249
1307
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1250
1308
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1291,10 +1349,10 @@ export default class Client extends OpenApi {
|
|
|
1291
1349
|
}
|
|
1292
1350
|
|
|
1293
1351
|
/**
|
|
1294
|
-
* Deregisters a phone number from
|
|
1352
|
+
* Deregisters a phone number from WABA.
|
|
1295
1353
|
*
|
|
1296
1354
|
* @remarks
|
|
1297
|
-
*
|
|
1355
|
+
* 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.
|
|
1298
1356
|
*
|
|
1299
1357
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1300
1358
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1305,10 +1363,10 @@ export default class Client extends OpenApi {
|
|
|
1305
1363
|
}
|
|
1306
1364
|
|
|
1307
1365
|
/**
|
|
1308
|
-
* Registers a phone number.
|
|
1366
|
+
* Registers a phone number through the northbound interface.
|
|
1309
1367
|
*
|
|
1310
1368
|
* @remarks
|
|
1311
|
-
*
|
|
1369
|
+
* 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.
|
|
1312
1370
|
*
|
|
1313
1371
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1314
1372
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1355,10 +1413,10 @@ export default class Client extends OpenApi {
|
|
|
1355
1413
|
}
|
|
1356
1414
|
|
|
1357
1415
|
/**
|
|
1358
|
-
* Registers a phone number.
|
|
1416
|
+
* Registers a phone number through the northbound interface.
|
|
1359
1417
|
*
|
|
1360
1418
|
* @remarks
|
|
1361
|
-
*
|
|
1419
|
+
* 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.
|
|
1362
1420
|
*
|
|
1363
1421
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1364
1422
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1369,10 +1427,10 @@ export default class Client extends OpenApi {
|
|
|
1369
1427
|
}
|
|
1370
1428
|
|
|
1371
1429
|
/**
|
|
1372
|
-
* Synchronizes phone
|
|
1430
|
+
* Synchronizes phone number information.
|
|
1373
1431
|
*
|
|
1374
1432
|
* @remarks
|
|
1375
|
-
*
|
|
1433
|
+
* 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.
|
|
1376
1434
|
*
|
|
1377
1435
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1378
1436
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1415,10 +1473,10 @@ export default class Client extends OpenApi {
|
|
|
1415
1473
|
}
|
|
1416
1474
|
|
|
1417
1475
|
/**
|
|
1418
|
-
* Synchronizes phone
|
|
1476
|
+
* Synchronizes phone number information.
|
|
1419
1477
|
*
|
|
1420
1478
|
* @remarks
|
|
1421
|
-
*
|
|
1479
|
+
* 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.
|
|
1422
1480
|
*
|
|
1423
1481
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1424
1482
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1429,10 +1487,10 @@ export default class Client extends OpenApi {
|
|
|
1429
1487
|
}
|
|
1430
1488
|
|
|
1431
1489
|
/**
|
|
1432
|
-
*
|
|
1490
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1433
1491
|
*
|
|
1434
1492
|
* @remarks
|
|
1435
|
-
*
|
|
1493
|
+
* 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.
|
|
1436
1494
|
*
|
|
1437
1495
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1438
1496
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1483,10 +1541,10 @@ export default class Client extends OpenApi {
|
|
|
1483
1541
|
}
|
|
1484
1542
|
|
|
1485
1543
|
/**
|
|
1486
|
-
*
|
|
1544
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1487
1545
|
*
|
|
1488
1546
|
* @remarks
|
|
1489
|
-
*
|
|
1547
|
+
* 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.
|
|
1490
1548
|
*
|
|
1491
1549
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1492
1550
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1497,7 +1555,7 @@ export default class Client extends OpenApi {
|
|
|
1497
1555
|
}
|
|
1498
1556
|
|
|
1499
1557
|
/**
|
|
1500
|
-
* Validates
|
|
1558
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1501
1559
|
*
|
|
1502
1560
|
* @param tmpReq - CheckDirectSendMessageSampleRequest
|
|
1503
1561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1550,7 +1608,7 @@ export default class Client extends OpenApi {
|
|
|
1550
1608
|
}
|
|
1551
1609
|
|
|
1552
1610
|
/**
|
|
1553
|
-
* Validates
|
|
1611
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1554
1612
|
*
|
|
1555
1613
|
* @param request - CheckDirectSendMessageSampleRequest
|
|
1556
1614
|
* @returns CheckDirectSendMessageSampleResponse
|
|
@@ -1561,7 +1619,7 @@ export default class Client extends OpenApi {
|
|
|
1561
1619
|
}
|
|
1562
1620
|
|
|
1563
1621
|
/**
|
|
1564
|
-
*
|
|
1622
|
+
* Copies a template.
|
|
1565
1623
|
*
|
|
1566
1624
|
* @param request - CopyTemplateRequest
|
|
1567
1625
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1616,7 +1674,7 @@ export default class Client extends OpenApi {
|
|
|
1616
1674
|
}
|
|
1617
1675
|
|
|
1618
1676
|
/**
|
|
1619
|
-
*
|
|
1677
|
+
* Copies a template.
|
|
1620
1678
|
*
|
|
1621
1679
|
* @param request - CopyTemplateRequest
|
|
1622
1680
|
* @returns CopyTemplateResponse
|
|
@@ -1627,7 +1685,11 @@ export default class Client extends OpenApi {
|
|
|
1627
1685
|
}
|
|
1628
1686
|
|
|
1629
1687
|
/**
|
|
1630
|
-
*
|
|
1688
|
+
* Creates a flow.
|
|
1689
|
+
*
|
|
1690
|
+
* @remarks
|
|
1691
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1692
|
+
* - 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).
|
|
1631
1693
|
*
|
|
1632
1694
|
* @param tmpReq - CreateChatFlowRequest
|
|
1633
1695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1692,7 +1754,11 @@ export default class Client extends OpenApi {
|
|
|
1692
1754
|
}
|
|
1693
1755
|
|
|
1694
1756
|
/**
|
|
1695
|
-
*
|
|
1757
|
+
* Creates a flow.
|
|
1758
|
+
*
|
|
1759
|
+
* @remarks
|
|
1760
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1761
|
+
* - 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).
|
|
1696
1762
|
*
|
|
1697
1763
|
* @param request - CreateChatFlowRequest
|
|
1698
1764
|
* @returns CreateChatFlowResponse
|
|
@@ -1703,7 +1769,12 @@ export default class Client extends OpenApi {
|
|
|
1703
1769
|
}
|
|
1704
1770
|
|
|
1705
1771
|
/**
|
|
1706
|
-
*
|
|
1772
|
+
* Creates and imports a flow.
|
|
1773
|
+
*
|
|
1774
|
+
* @remarks
|
|
1775
|
+
* - 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).
|
|
1776
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1777
|
+
* - 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.
|
|
1707
1778
|
*
|
|
1708
1779
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1709
1780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1768,7 +1839,12 @@ export default class Client extends OpenApi {
|
|
|
1768
1839
|
}
|
|
1769
1840
|
|
|
1770
1841
|
/**
|
|
1771
|
-
*
|
|
1842
|
+
* Creates and imports a flow.
|
|
1843
|
+
*
|
|
1844
|
+
* @remarks
|
|
1845
|
+
* - 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).
|
|
1846
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1847
|
+
* - 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.
|
|
1772
1848
|
*
|
|
1773
1849
|
* @param request - CreateChatFlowByImportRequest
|
|
1774
1850
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1779,7 +1855,13 @@ export default class Client extends OpenApi {
|
|
|
1779
1855
|
}
|
|
1780
1856
|
|
|
1781
1857
|
/**
|
|
1782
|
-
*
|
|
1858
|
+
* Creates log settings for a flow.
|
|
1859
|
+
*
|
|
1860
|
+
* @remarks
|
|
1861
|
+
* - 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.
|
|
1862
|
+
* - 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**.
|
|
1863
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1864
|
+
* - 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.
|
|
1783
1865
|
*
|
|
1784
1866
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1785
1867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1822,7 +1904,13 @@ export default class Client extends OpenApi {
|
|
|
1822
1904
|
}
|
|
1823
1905
|
|
|
1824
1906
|
/**
|
|
1825
|
-
*
|
|
1907
|
+
* Creates log settings for a flow.
|
|
1908
|
+
*
|
|
1909
|
+
* @remarks
|
|
1910
|
+
* - 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.
|
|
1911
|
+
* - 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**.
|
|
1912
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1913
|
+
* - 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.
|
|
1826
1914
|
*
|
|
1827
1915
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1828
1916
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -2087,10 +2175,10 @@ export default class Client extends OpenApi {
|
|
|
2087
2175
|
}
|
|
2088
2176
|
|
|
2089
2177
|
/**
|
|
2090
|
-
* Creates a
|
|
2178
|
+
* Creates a Flow.
|
|
2091
2179
|
*
|
|
2092
2180
|
* @remarks
|
|
2093
|
-
* The
|
|
2181
|
+
* 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.
|
|
2094
2182
|
*
|
|
2095
2183
|
* @param tmpReq - CreateFlowRequest
|
|
2096
2184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2151,10 +2239,10 @@ export default class Client extends OpenApi {
|
|
|
2151
2239
|
}
|
|
2152
2240
|
|
|
2153
2241
|
/**
|
|
2154
|
-
* Creates a
|
|
2242
|
+
* Creates a Flow.
|
|
2155
2243
|
*
|
|
2156
2244
|
* @remarks
|
|
2157
|
-
* The
|
|
2245
|
+
* 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.
|
|
2158
2246
|
*
|
|
2159
2247
|
* @param request - CreateFlowRequest
|
|
2160
2248
|
* @returns CreateFlowResponse
|
|
@@ -2165,7 +2253,12 @@ export default class Client extends OpenApi {
|
|
|
2165
2253
|
}
|
|
2166
2254
|
|
|
2167
2255
|
/**
|
|
2168
|
-
*
|
|
2256
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2257
|
+
*
|
|
2258
|
+
* @remarks
|
|
2259
|
+
* - 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.
|
|
2260
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2261
|
+
* - 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.
|
|
2169
2262
|
*
|
|
2170
2263
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2171
2264
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2230,7 +2323,12 @@ export default class Client extends OpenApi {
|
|
|
2230
2323
|
}
|
|
2231
2324
|
|
|
2232
2325
|
/**
|
|
2233
|
-
*
|
|
2326
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2327
|
+
*
|
|
2328
|
+
* @remarks
|
|
2329
|
+
* - 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.
|
|
2330
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2331
|
+
* - 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.
|
|
2234
2332
|
*
|
|
2235
2333
|
* @param request - CreateFlowVersionRequest
|
|
2236
2334
|
* @returns CreateFlowVersionResponse
|
|
@@ -2472,12 +2570,14 @@ export default class Client extends OpenApi {
|
|
|
2472
2570
|
* Creates a message QR code.
|
|
2473
2571
|
*
|
|
2474
2572
|
* @remarks
|
|
2475
|
-
* - After
|
|
2476
|
-
* - Before calling this
|
|
2477
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2478
|
-
*
|
|
2573
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2574
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2575
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2576
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2577
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2578
|
+
* page.
|
|
2479
2579
|
* #### QPS limit
|
|
2480
|
-
*
|
|
2580
|
+
* 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.
|
|
2481
2581
|
*
|
|
2482
2582
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2483
2583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2535,12 +2635,14 @@ export default class Client extends OpenApi {
|
|
|
2535
2635
|
* Creates a message QR code.
|
|
2536
2636
|
*
|
|
2537
2637
|
* @remarks
|
|
2538
|
-
* - After
|
|
2539
|
-
* - Before calling this
|
|
2540
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2541
|
-
*
|
|
2638
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2639
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2640
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2641
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2642
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2643
|
+
* page.
|
|
2542
2644
|
* #### QPS limit
|
|
2543
|
-
*
|
|
2645
|
+
* 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.
|
|
2544
2646
|
*
|
|
2545
2647
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2546
2648
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2619,7 +2721,12 @@ export default class Client extends OpenApi {
|
|
|
2619
2721
|
}
|
|
2620
2722
|
|
|
2621
2723
|
/**
|
|
2622
|
-
*
|
|
2724
|
+
* Deletes a flow.
|
|
2725
|
+
*
|
|
2726
|
+
* @remarks
|
|
2727
|
+
* - 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).
|
|
2728
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2729
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2623
2730
|
*
|
|
2624
2731
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2625
2732
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2676,7 +2783,12 @@ export default class Client extends OpenApi {
|
|
|
2676
2783
|
}
|
|
2677
2784
|
|
|
2678
2785
|
/**
|
|
2679
|
-
*
|
|
2786
|
+
* Deletes a flow.
|
|
2787
|
+
*
|
|
2788
|
+
* @remarks
|
|
2789
|
+
* - 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).
|
|
2790
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2791
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2680
2792
|
*
|
|
2681
2793
|
* @param request - DeleteChatFlowRequest
|
|
2682
2794
|
* @returns DeleteChatFlowResponse
|
|
@@ -2687,14 +2799,13 @@ export default class Client extends OpenApi {
|
|
|
2687
2799
|
}
|
|
2688
2800
|
|
|
2689
2801
|
/**
|
|
2690
|
-
* Deletes
|
|
2802
|
+
* Deletes a successfully created IM group.
|
|
2691
2803
|
*
|
|
2692
2804
|
* @remarks
|
|
2693
|
-
* >Notice:
|
|
2694
|
-
*
|
|
2695
|
-
* -
|
|
2696
|
-
* -
|
|
2697
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2805
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2806
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2807
|
+
* - 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.
|
|
2808
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2698
2809
|
*
|
|
2699
2810
|
* @param request - DeleteChatGroupRequest
|
|
2700
2811
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2749,14 +2860,13 @@ export default class Client extends OpenApi {
|
|
|
2749
2860
|
}
|
|
2750
2861
|
|
|
2751
2862
|
/**
|
|
2752
|
-
* Deletes
|
|
2863
|
+
* Deletes a successfully created IM group.
|
|
2753
2864
|
*
|
|
2754
2865
|
* @remarks
|
|
2755
|
-
* >Notice:
|
|
2756
|
-
*
|
|
2757
|
-
* -
|
|
2758
|
-
* -
|
|
2759
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2866
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2867
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2868
|
+
* - 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.
|
|
2869
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2760
2870
|
*
|
|
2761
2871
|
* @param request - DeleteChatGroupRequest
|
|
2762
2872
|
* @returns DeleteChatGroupResponse
|
|
@@ -2770,11 +2880,10 @@ export default class Client extends OpenApi {
|
|
|
2770
2880
|
* Deletes an IM group invitation link.
|
|
2771
2881
|
*
|
|
2772
2882
|
* @remarks
|
|
2773
|
-
* >Notice:
|
|
2774
|
-
*
|
|
2775
|
-
* -
|
|
2776
|
-
* -
|
|
2777
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2883
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2884
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2885
|
+
* - 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.
|
|
2886
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2778
2887
|
*
|
|
2779
2888
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2780
2889
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2832,11 +2941,10 @@ export default class Client extends OpenApi {
|
|
|
2832
2941
|
* Deletes an IM group invitation link.
|
|
2833
2942
|
*
|
|
2834
2943
|
* @remarks
|
|
2835
|
-
* >Notice:
|
|
2836
|
-
*
|
|
2837
|
-
* -
|
|
2838
|
-
* -
|
|
2839
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2944
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2945
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2946
|
+
* - 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.
|
|
2947
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2840
2948
|
*
|
|
2841
2949
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2842
2950
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -3103,7 +3211,7 @@ export default class Client extends OpenApi {
|
|
|
3103
3211
|
}
|
|
3104
3212
|
|
|
3105
3213
|
/**
|
|
3106
|
-
*
|
|
3214
|
+
* Deletes contacts by selecting and removing them.
|
|
3107
3215
|
*
|
|
3108
3216
|
* @param request - DeleteContactsByIdsRequest
|
|
3109
3217
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3146,7 +3254,7 @@ export default class Client extends OpenApi {
|
|
|
3146
3254
|
}
|
|
3147
3255
|
|
|
3148
3256
|
/**
|
|
3149
|
-
*
|
|
3257
|
+
* Deletes contacts by selecting and removing them.
|
|
3150
3258
|
*
|
|
3151
3259
|
* @param request - DeleteContactsByIdsRequest
|
|
3152
3260
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -3157,10 +3265,10 @@ export default class Client extends OpenApi {
|
|
|
3157
3265
|
}
|
|
3158
3266
|
|
|
3159
3267
|
/**
|
|
3160
|
-
* Deletes a
|
|
3268
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3161
3269
|
*
|
|
3162
3270
|
* @remarks
|
|
3163
|
-
*
|
|
3271
|
+
* 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.
|
|
3164
3272
|
*
|
|
3165
3273
|
* @param request - DeleteFlowRequest
|
|
3166
3274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3207,10 +3315,10 @@ export default class Client extends OpenApi {
|
|
|
3207
3315
|
}
|
|
3208
3316
|
|
|
3209
3317
|
/**
|
|
3210
|
-
* Deletes a
|
|
3318
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3211
3319
|
*
|
|
3212
3320
|
* @remarks
|
|
3213
|
-
*
|
|
3321
|
+
* 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.
|
|
3214
3322
|
*
|
|
3215
3323
|
* @param request - DeleteFlowRequest
|
|
3216
3324
|
* @returns DeleteFlowResponse
|
|
@@ -3221,7 +3329,13 @@ export default class Client extends OpenApi {
|
|
|
3221
3329
|
}
|
|
3222
3330
|
|
|
3223
3331
|
/**
|
|
3224
|
-
*
|
|
3332
|
+
* Deletes a flow version.
|
|
3333
|
+
*
|
|
3334
|
+
* @remarks
|
|
3335
|
+
* - 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.
|
|
3336
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3337
|
+
* - 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.
|
|
3338
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3225
3339
|
*
|
|
3226
3340
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
3227
3341
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3282,7 +3396,13 @@ export default class Client extends OpenApi {
|
|
|
3282
3396
|
}
|
|
3283
3397
|
|
|
3284
3398
|
/**
|
|
3285
|
-
*
|
|
3399
|
+
* Deletes a flow version.
|
|
3400
|
+
*
|
|
3401
|
+
* @remarks
|
|
3402
|
+
* - 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.
|
|
3403
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3404
|
+
* - 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.
|
|
3405
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3286
3406
|
*
|
|
3287
3407
|
* @param request - DeleteFlowVersionRequest
|
|
3288
3408
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3447,7 +3567,7 @@ export default class Client extends OpenApi {
|
|
|
3447
3567
|
}
|
|
3448
3568
|
|
|
3449
3569
|
/**
|
|
3450
|
-
*
|
|
3570
|
+
* Deletes a marketing campaign.
|
|
3451
3571
|
*
|
|
3452
3572
|
* @param request - DeleteMarketingFlowRequest
|
|
3453
3573
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3494,7 +3614,7 @@ export default class Client extends OpenApi {
|
|
|
3494
3614
|
}
|
|
3495
3615
|
|
|
3496
3616
|
/**
|
|
3497
|
-
*
|
|
3617
|
+
* Deletes a marketing campaign.
|
|
3498
3618
|
*
|
|
3499
3619
|
* @param request - DeleteMarketingFlowRequest
|
|
3500
3620
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -3632,10 +3752,11 @@ export default class Client extends OpenApi {
|
|
|
3632
3752
|
* Deletes a message QR code.
|
|
3633
3753
|
*
|
|
3634
3754
|
* @remarks
|
|
3635
|
-
* - After a message QR code
|
|
3636
|
-
* -
|
|
3637
|
-
*
|
|
3638
|
-
*
|
|
3755
|
+
* - 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.
|
|
3756
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3757
|
+
* - 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.
|
|
3758
|
+
* #### QPS limit
|
|
3759
|
+
* 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.
|
|
3639
3760
|
*
|
|
3640
3761
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3641
3762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3689,10 +3810,11 @@ export default class Client extends OpenApi {
|
|
|
3689
3810
|
* Deletes a message QR code.
|
|
3690
3811
|
*
|
|
3691
3812
|
* @remarks
|
|
3692
|
-
* - After a message QR code
|
|
3693
|
-
* -
|
|
3694
|
-
*
|
|
3695
|
-
*
|
|
3813
|
+
* - 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.
|
|
3814
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3815
|
+
* - 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.
|
|
3816
|
+
* #### QPS limit
|
|
3817
|
+
* 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.
|
|
3696
3818
|
*
|
|
3697
3819
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3698
3820
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3702,6 +3824,52 @@ export default class Client extends OpenApi {
|
|
|
3702
3824
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
3703
3825
|
}
|
|
3704
3826
|
|
|
3827
|
+
/**
|
|
3828
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3829
|
+
*
|
|
3830
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3831
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3832
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3833
|
+
*/
|
|
3834
|
+
async deleteWhatsappUserNameWithOptions(request: $_model.DeleteWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3835
|
+
request.validate();
|
|
3836
|
+
let query = { };
|
|
3837
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3838
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3842
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3845
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3846
|
+
query: OpenApiUtil.query(query),
|
|
3847
|
+
});
|
|
3848
|
+
let params = new $OpenApiUtil.Params({
|
|
3849
|
+
action: "DeleteWhatsappUserName",
|
|
3850
|
+
version: "2020-06-06",
|
|
3851
|
+
protocol: "HTTPS",
|
|
3852
|
+
pathname: "/",
|
|
3853
|
+
method: "POST",
|
|
3854
|
+
authType: "AK",
|
|
3855
|
+
style: "RPC",
|
|
3856
|
+
reqBodyType: "formData",
|
|
3857
|
+
bodyType: "json",
|
|
3858
|
+
});
|
|
3859
|
+
return $dara.cast<$_model.DeleteWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3864
|
+
*
|
|
3865
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3866
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3867
|
+
*/
|
|
3868
|
+
async deleteWhatsappUserName(request: $_model.DeleteWhatsappUserNameRequest): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3869
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3870
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3705
3873
|
/**
|
|
3706
3874
|
* Deprecates a WhatsApp flow.
|
|
3707
3875
|
*
|
|
@@ -3767,14 +3935,14 @@ export default class Client extends OpenApi {
|
|
|
3767
3935
|
}
|
|
3768
3936
|
|
|
3769
3937
|
/**
|
|
3770
|
-
* Enables
|
|
3938
|
+
* Enables WhatsApp-related metric collection.
|
|
3771
3939
|
*
|
|
3772
3940
|
* @remarks
|
|
3773
|
-
* - Before
|
|
3774
|
-
* - After you enable
|
|
3775
|
-
* - After you enable
|
|
3941
|
+
* - 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.
|
|
3942
|
+
* - 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.
|
|
3943
|
+
* - 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.
|
|
3776
3944
|
* ### QPS limit
|
|
3777
|
-
*
|
|
3945
|
+
* 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.
|
|
3778
3946
|
*
|
|
3779
3947
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3780
3948
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3821,14 +3989,14 @@ export default class Client extends OpenApi {
|
|
|
3821
3989
|
}
|
|
3822
3990
|
|
|
3823
3991
|
/**
|
|
3824
|
-
* Enables
|
|
3992
|
+
* Enables WhatsApp-related metric collection.
|
|
3825
3993
|
*
|
|
3826
3994
|
* @remarks
|
|
3827
|
-
* - Before
|
|
3828
|
-
* - After you enable
|
|
3829
|
-
* - After you enable
|
|
3995
|
+
* - 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.
|
|
3996
|
+
* - 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.
|
|
3997
|
+
* - 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.
|
|
3830
3998
|
* ### QPS limit
|
|
3831
|
-
*
|
|
3999
|
+
* 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.
|
|
3832
4000
|
*
|
|
3833
4001
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3834
4002
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3839,7 +4007,16 @@ export default class Client extends OpenApi {
|
|
|
3839
4007
|
}
|
|
3840
4008
|
|
|
3841
4009
|
/**
|
|
3842
|
-
* flow
|
|
4010
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
4011
|
+
*
|
|
4012
|
+
* @remarks
|
|
4013
|
+
* - 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).
|
|
4014
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
4015
|
+
* - 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).
|
|
4016
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4017
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4018
|
+
* <props="intl">
|
|
4019
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3843
4020
|
*
|
|
3844
4021
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3845
4022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3908,7 +4085,16 @@ export default class Client extends OpenApi {
|
|
|
3908
4085
|
}
|
|
3909
4086
|
|
|
3910
4087
|
/**
|
|
3911
|
-
* flow
|
|
4088
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
4089
|
+
*
|
|
4090
|
+
* @remarks
|
|
4091
|
+
* - 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).
|
|
4092
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
4093
|
+
* - 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).
|
|
4094
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4095
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4096
|
+
* <props="intl">
|
|
4097
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3912
4098
|
*
|
|
3913
4099
|
* @param request - FlowBindPhoneRequest
|
|
3914
4100
|
* @returns FlowBindPhoneResponse
|
|
@@ -3919,7 +4105,12 @@ export default class Client extends OpenApi {
|
|
|
3919
4105
|
}
|
|
3920
4106
|
|
|
3921
4107
|
/**
|
|
3922
|
-
* flow
|
|
4108
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4109
|
+
*
|
|
4110
|
+
* @remarks
|
|
4111
|
+
* - 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.
|
|
4112
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4113
|
+
* - 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.
|
|
3923
4114
|
*
|
|
3924
4115
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3925
4116
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3988,7 +4179,12 @@ export default class Client extends OpenApi {
|
|
|
3988
4179
|
}
|
|
3989
4180
|
|
|
3990
4181
|
/**
|
|
3991
|
-
* flow
|
|
4182
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4183
|
+
*
|
|
4184
|
+
* @remarks
|
|
4185
|
+
* - 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.
|
|
4186
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4187
|
+
* - 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.
|
|
3992
4188
|
*
|
|
3993
4189
|
* @param request - FlowRebindPhoneRequest
|
|
3994
4190
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3999,7 +4195,14 @@ export default class Client extends OpenApi {
|
|
|
3999
4195
|
}
|
|
4000
4196
|
|
|
4001
4197
|
/**
|
|
4002
|
-
* flow
|
|
4198
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
4199
|
+
*
|
|
4200
|
+
* @remarks
|
|
4201
|
+
* - 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.
|
|
4202
|
+
* - 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).
|
|
4203
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
4204
|
+
* - 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.
|
|
4205
|
+
* - 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.
|
|
4003
4206
|
*
|
|
4004
4207
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4005
4208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4060,7 +4263,14 @@ export default class Client extends OpenApi {
|
|
|
4060
4263
|
}
|
|
4061
4264
|
|
|
4062
4265
|
/**
|
|
4063
|
-
* flow
|
|
4266
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
4267
|
+
*
|
|
4268
|
+
* @remarks
|
|
4269
|
+
* - 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.
|
|
4270
|
+
* - 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).
|
|
4271
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
4272
|
+
* - 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.
|
|
4273
|
+
* - 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.
|
|
4064
4274
|
*
|
|
4065
4275
|
* @param request - FlowUnbindPhoneRequest
|
|
4066
4276
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4071,7 +4281,7 @@ export default class Client extends OpenApi {
|
|
|
4071
4281
|
}
|
|
4072
4282
|
|
|
4073
4283
|
/**
|
|
4074
|
-
*
|
|
4284
|
+
* Retrieves a temporary URL.
|
|
4075
4285
|
*
|
|
4076
4286
|
* @param request - GeneratePresignedUrlRequest
|
|
4077
4287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4114,7 +4324,7 @@ export default class Client extends OpenApi {
|
|
|
4114
4324
|
}
|
|
4115
4325
|
|
|
4116
4326
|
/**
|
|
4117
|
-
*
|
|
4327
|
+
* Retrieves a temporary URL.
|
|
4118
4328
|
*
|
|
4119
4329
|
* @param request - GeneratePresignedUrlRequest
|
|
4120
4330
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -4233,7 +4443,13 @@ export default class Client extends OpenApi {
|
|
|
4233
4443
|
}
|
|
4234
4444
|
|
|
4235
4445
|
/**
|
|
4236
|
-
*
|
|
4446
|
+
* Retrieves ChatFlow runtime data.
|
|
4447
|
+
*
|
|
4448
|
+
* @remarks
|
|
4449
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4450
|
+
* - 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.
|
|
4451
|
+
* - 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.
|
|
4452
|
+
* - 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.
|
|
4237
4453
|
*
|
|
4238
4454
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4239
4455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4314,7 +4530,13 @@ export default class Client extends OpenApi {
|
|
|
4314
4530
|
}
|
|
4315
4531
|
|
|
4316
4532
|
/**
|
|
4317
|
-
*
|
|
4533
|
+
* Retrieves ChatFlow runtime data.
|
|
4534
|
+
*
|
|
4535
|
+
* @remarks
|
|
4536
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4537
|
+
* - 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.
|
|
4538
|
+
* - 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.
|
|
4539
|
+
* - 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.
|
|
4318
4540
|
*
|
|
4319
4541
|
* @param request - GetChatFlowMetricRequest
|
|
4320
4542
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4325,7 +4547,11 @@ export default class Client extends OpenApi {
|
|
|
4325
4547
|
}
|
|
4326
4548
|
|
|
4327
4549
|
/**
|
|
4328
|
-
*
|
|
4550
|
+
* Queries the details of a flow template.
|
|
4551
|
+
*
|
|
4552
|
+
* @remarks
|
|
4553
|
+
* - 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.
|
|
4554
|
+
* - 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.
|
|
4329
4555
|
*
|
|
4330
4556
|
* @param request - GetChatFlowTemplateRequest
|
|
4331
4557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4372,7 +4598,11 @@ export default class Client extends OpenApi {
|
|
|
4372
4598
|
}
|
|
4373
4599
|
|
|
4374
4600
|
/**
|
|
4375
|
-
*
|
|
4601
|
+
* Queries the details of a flow template.
|
|
4602
|
+
*
|
|
4603
|
+
* @remarks
|
|
4604
|
+
* - 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.
|
|
4605
|
+
* - 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.
|
|
4376
4606
|
*
|
|
4377
4607
|
* @param request - GetChatFlowTemplateRequest
|
|
4378
4608
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4383,7 +4613,7 @@ export default class Client extends OpenApi {
|
|
|
4383
4613
|
}
|
|
4384
4614
|
|
|
4385
4615
|
/**
|
|
4386
|
-
*
|
|
4616
|
+
* Queries the activation status of ChatApp.
|
|
4387
4617
|
*
|
|
4388
4618
|
* @param request - GetChatappOpenStatusRequest
|
|
4389
4619
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4422,7 +4652,7 @@ export default class Client extends OpenApi {
|
|
|
4422
4652
|
}
|
|
4423
4653
|
|
|
4424
4654
|
/**
|
|
4425
|
-
*
|
|
4655
|
+
* Queries the activation status of ChatApp.
|
|
4426
4656
|
*
|
|
4427
4657
|
* @param request - GetChatappOpenStatusRequest
|
|
4428
4658
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -4433,14 +4663,15 @@ export default class Client extends OpenApi {
|
|
|
4433
4663
|
}
|
|
4434
4664
|
|
|
4435
4665
|
/**
|
|
4436
|
-
* Queries the message sending metrics for a phone number
|
|
4666
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4437
4667
|
*
|
|
4438
4668
|
* @remarks
|
|
4439
|
-
* -
|
|
4440
|
-
* -
|
|
4441
|
-
* -
|
|
4669
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4670
|
+
* - 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.
|
|
4671
|
+
* - 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.
|
|
4672
|
+
* - 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.
|
|
4442
4673
|
* ### QPS limit
|
|
4443
|
-
*
|
|
4674
|
+
* 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.
|
|
4444
4675
|
*
|
|
4445
4676
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4446
4677
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4503,14 +4734,15 @@ export default class Client extends OpenApi {
|
|
|
4503
4734
|
}
|
|
4504
4735
|
|
|
4505
4736
|
/**
|
|
4506
|
-
* Queries the message sending metrics for a phone number
|
|
4737
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4507
4738
|
*
|
|
4508
4739
|
* @remarks
|
|
4509
|
-
* -
|
|
4510
|
-
* -
|
|
4511
|
-
* -
|
|
4740
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4741
|
+
* - 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.
|
|
4742
|
+
* - 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.
|
|
4743
|
+
* - 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.
|
|
4512
4744
|
* ### QPS limit
|
|
4513
|
-
*
|
|
4745
|
+
* 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.
|
|
4514
4746
|
*
|
|
4515
4747
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4516
4748
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -4521,7 +4753,7 @@ export default class Client extends OpenApi {
|
|
|
4521
4753
|
}
|
|
4522
4754
|
|
|
4523
4755
|
/**
|
|
4524
|
-
*
|
|
4756
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4525
4757
|
*
|
|
4526
4758
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4527
4759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4568,7 +4800,7 @@ export default class Client extends OpenApi {
|
|
|
4568
4800
|
}
|
|
4569
4801
|
|
|
4570
4802
|
/**
|
|
4571
|
-
*
|
|
4803
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4572
4804
|
*
|
|
4573
4805
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4574
4806
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4579,11 +4811,11 @@ export default class Client extends OpenApi {
|
|
|
4579
4811
|
}
|
|
4580
4812
|
|
|
4581
4813
|
/**
|
|
4582
|
-
*
|
|
4814
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4583
4815
|
*
|
|
4584
4816
|
* @remarks
|
|
4585
4817
|
* ### QPS limit
|
|
4586
|
-
*
|
|
4818
|
+
* 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.
|
|
4587
4819
|
*
|
|
4588
4820
|
* @param request - GetChatappTemplateDetailRequest
|
|
4589
4821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4638,11 +4870,11 @@ export default class Client extends OpenApi {
|
|
|
4638
4870
|
}
|
|
4639
4871
|
|
|
4640
4872
|
/**
|
|
4641
|
-
*
|
|
4873
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4642
4874
|
*
|
|
4643
4875
|
* @remarks
|
|
4644
4876
|
* ### QPS limit
|
|
4645
|
-
*
|
|
4877
|
+
* 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.
|
|
4646
4878
|
*
|
|
4647
4879
|
* @param request - GetChatappTemplateDetailRequest
|
|
4648
4880
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4653,14 +4885,14 @@ export default class Client extends OpenApi {
|
|
|
4653
4885
|
}
|
|
4654
4886
|
|
|
4655
4887
|
/**
|
|
4656
|
-
*
|
|
4888
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4657
4889
|
*
|
|
4658
4890
|
* @remarks
|
|
4659
|
-
* - This
|
|
4660
|
-
* - Before
|
|
4661
|
-
* - After
|
|
4662
|
-
* ### QPS
|
|
4663
|
-
*
|
|
4891
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4892
|
+
* - 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.
|
|
4893
|
+
* - 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.
|
|
4894
|
+
* ### QPS limit
|
|
4895
|
+
* 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.
|
|
4664
4896
|
*
|
|
4665
4897
|
* @param request - GetChatappTemplateMetricRequest
|
|
4666
4898
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4731,14 +4963,14 @@ export default class Client extends OpenApi {
|
|
|
4731
4963
|
}
|
|
4732
4964
|
|
|
4733
4965
|
/**
|
|
4734
|
-
*
|
|
4966
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4735
4967
|
*
|
|
4736
4968
|
* @remarks
|
|
4737
|
-
* - This
|
|
4738
|
-
* - Before
|
|
4739
|
-
* - After
|
|
4740
|
-
* ### QPS
|
|
4741
|
-
*
|
|
4969
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4970
|
+
* - 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.
|
|
4971
|
+
* - 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.
|
|
4972
|
+
* ### QPS limit
|
|
4973
|
+
* 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.
|
|
4742
4974
|
*
|
|
4743
4975
|
* @param request - GetChatappTemplateMetricRequest
|
|
4744
4976
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -5013,7 +5245,7 @@ export default class Client extends OpenApi {
|
|
|
5013
5245
|
}
|
|
5014
5246
|
|
|
5015
5247
|
/**
|
|
5016
|
-
*
|
|
5248
|
+
* Queries the source site of a customer.
|
|
5017
5249
|
*
|
|
5018
5250
|
* @param request - GetCustomerSiteRequest
|
|
5019
5251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5052,7 +5284,7 @@ export default class Client extends OpenApi {
|
|
|
5052
5284
|
}
|
|
5053
5285
|
|
|
5054
5286
|
/**
|
|
5055
|
-
*
|
|
5287
|
+
* Queries the source site of a customer.
|
|
5056
5288
|
*
|
|
5057
5289
|
* @param request - GetCustomerSiteRequest
|
|
5058
5290
|
* @returns GetCustomerSiteResponse
|
|
@@ -5621,10 +5853,10 @@ export default class Client extends OpenApi {
|
|
|
5621
5853
|
}
|
|
5622
5854
|
|
|
5623
5855
|
/**
|
|
5624
|
-
*
|
|
5856
|
+
* Retrieves the verification code for a migration phone number.
|
|
5625
5857
|
*
|
|
5626
5858
|
* @remarks
|
|
5627
|
-
*
|
|
5859
|
+
* 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.
|
|
5628
5860
|
*
|
|
5629
5861
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5630
5862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5679,10 +5911,10 @@ export default class Client extends OpenApi {
|
|
|
5679
5911
|
}
|
|
5680
5912
|
|
|
5681
5913
|
/**
|
|
5682
|
-
*
|
|
5914
|
+
* Retrieves the verification code for a migration phone number.
|
|
5683
5915
|
*
|
|
5684
5916
|
* @remarks
|
|
5685
|
-
*
|
|
5917
|
+
* 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.
|
|
5686
5918
|
*
|
|
5687
5919
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5688
5920
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -5693,10 +5925,10 @@ export default class Client extends OpenApi {
|
|
|
5693
5925
|
}
|
|
5694
5926
|
|
|
5695
5927
|
/**
|
|
5696
|
-
*
|
|
5928
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5697
5929
|
*
|
|
5698
5930
|
* @remarks
|
|
5699
|
-
*
|
|
5931
|
+
* 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.
|
|
5700
5932
|
*
|
|
5701
5933
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
5702
5934
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5753,10 +5985,10 @@ export default class Client extends OpenApi {
|
|
|
5753
5985
|
}
|
|
5754
5986
|
|
|
5755
5987
|
/**
|
|
5756
|
-
*
|
|
5988
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5757
5989
|
*
|
|
5758
5990
|
* @remarks
|
|
5759
|
-
*
|
|
5991
|
+
* 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.
|
|
5760
5992
|
*
|
|
5761
5993
|
* @param request - GetPermissionByCodeRequest
|
|
5762
5994
|
* @returns GetPermissionByCodeResponse
|
|
@@ -5767,13 +5999,13 @@ export default class Client extends OpenApi {
|
|
|
5767
5999
|
}
|
|
5768
6000
|
|
|
5769
6001
|
/**
|
|
5770
|
-
* Retrieves the public key
|
|
6002
|
+
* Retrieves the encryption public key of a phone number.
|
|
5771
6003
|
*
|
|
5772
6004
|
* @remarks
|
|
5773
|
-
* - Before calling this
|
|
5774
|
-
* - If no phone number
|
|
6005
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6006
|
+
* - 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.
|
|
5775
6007
|
* #### QPS limit
|
|
5776
|
-
*
|
|
6008
|
+
* 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.
|
|
5777
6009
|
*
|
|
5778
6010
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5779
6011
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5820,13 +6052,13 @@ export default class Client extends OpenApi {
|
|
|
5820
6052
|
}
|
|
5821
6053
|
|
|
5822
6054
|
/**
|
|
5823
|
-
* Retrieves the public key
|
|
6055
|
+
* Retrieves the encryption public key of a phone number.
|
|
5824
6056
|
*
|
|
5825
6057
|
* @remarks
|
|
5826
|
-
* - Before calling this
|
|
5827
|
-
* - If no phone number
|
|
6058
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6059
|
+
* - 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.
|
|
5828
6060
|
* #### QPS limit
|
|
5829
|
-
*
|
|
6061
|
+
* 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.
|
|
5830
6062
|
*
|
|
5831
6063
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5832
6064
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5907,7 +6139,7 @@ export default class Client extends OpenApi {
|
|
|
5907
6139
|
}
|
|
5908
6140
|
|
|
5909
6141
|
/**
|
|
5910
|
-
*
|
|
6142
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5911
6143
|
*
|
|
5912
6144
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5913
6145
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5954,7 +6186,7 @@ export default class Client extends OpenApi {
|
|
|
5954
6186
|
}
|
|
5955
6187
|
|
|
5956
6188
|
/**
|
|
5957
|
-
*
|
|
6189
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5958
6190
|
*
|
|
5959
6191
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5960
6192
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -6331,10 +6563,102 @@ export default class Client extends OpenApi {
|
|
|
6331
6563
|
}
|
|
6332
6564
|
|
|
6333
6565
|
/**
|
|
6334
|
-
*
|
|
6566
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6567
|
+
*
|
|
6568
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6569
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6570
|
+
* @returns GetWhatsappUserNameResponse
|
|
6571
|
+
*/
|
|
6572
|
+
async getWhatsappUserNameWithOptions(request: $_model.GetWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6573
|
+
request.validate();
|
|
6574
|
+
let query = { };
|
|
6575
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6576
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6577
|
+
}
|
|
6578
|
+
|
|
6579
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6580
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6583
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6584
|
+
query: OpenApiUtil.query(query),
|
|
6585
|
+
});
|
|
6586
|
+
let params = new $OpenApiUtil.Params({
|
|
6587
|
+
action: "GetWhatsappUserName",
|
|
6588
|
+
version: "2020-06-06",
|
|
6589
|
+
protocol: "HTTPS",
|
|
6590
|
+
pathname: "/",
|
|
6591
|
+
method: "POST",
|
|
6592
|
+
authType: "AK",
|
|
6593
|
+
style: "RPC",
|
|
6594
|
+
reqBodyType: "formData",
|
|
6595
|
+
bodyType: "json",
|
|
6596
|
+
});
|
|
6597
|
+
return $dara.cast<$_model.GetWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
/**
|
|
6601
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6602
|
+
*
|
|
6603
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6604
|
+
* @returns GetWhatsappUserNameResponse
|
|
6605
|
+
*/
|
|
6606
|
+
async getWhatsappUserName(request: $_model.GetWhatsappUserNameRequest): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6607
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6608
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
6609
|
+
}
|
|
6610
|
+
|
|
6611
|
+
/**
|
|
6612
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6613
|
+
*
|
|
6614
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6615
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6616
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6617
|
+
*/
|
|
6618
|
+
async getWhatsappUserNameSuggestionsWithOptions(request: $_model.GetWhatsappUserNameSuggestionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6619
|
+
request.validate();
|
|
6620
|
+
let query = { };
|
|
6621
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6622
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6625
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6626
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6627
|
+
}
|
|
6628
|
+
|
|
6629
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6630
|
+
query: OpenApiUtil.query(query),
|
|
6631
|
+
});
|
|
6632
|
+
let params = new $OpenApiUtil.Params({
|
|
6633
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
6634
|
+
version: "2020-06-06",
|
|
6635
|
+
protocol: "HTTPS",
|
|
6636
|
+
pathname: "/",
|
|
6637
|
+
method: "POST",
|
|
6638
|
+
authType: "AK",
|
|
6639
|
+
style: "RPC",
|
|
6640
|
+
reqBodyType: "formData",
|
|
6641
|
+
bodyType: "json",
|
|
6642
|
+
});
|
|
6643
|
+
return $dara.cast<$_model.GetWhatsappUserNameSuggestionsResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
6644
|
+
}
|
|
6645
|
+
|
|
6646
|
+
/**
|
|
6647
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6648
|
+
*
|
|
6649
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6650
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6651
|
+
*/
|
|
6652
|
+
async getWhatsappUserNameSuggestions(request: $_model.GetWhatsappUserNameSuggestionsRequest): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6653
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6654
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
6655
|
+
}
|
|
6656
|
+
|
|
6657
|
+
/**
|
|
6658
|
+
* Retrieves the App ID for an ISV.
|
|
6335
6659
|
*
|
|
6336
6660
|
* @remarks
|
|
6337
|
-
*
|
|
6661
|
+
* 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.
|
|
6338
6662
|
*
|
|
6339
6663
|
* @param request - IsvGetAppIdRequest
|
|
6340
6664
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6385,10 +6709,10 @@ export default class Client extends OpenApi {
|
|
|
6385
6709
|
}
|
|
6386
6710
|
|
|
6387
6711
|
/**
|
|
6388
|
-
*
|
|
6712
|
+
* Retrieves the App ID for an ISV.
|
|
6389
6713
|
*
|
|
6390
6714
|
* @remarks
|
|
6391
|
-
*
|
|
6715
|
+
* 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.
|
|
6392
6716
|
*
|
|
6393
6717
|
* @param request - IsvGetAppIdRequest
|
|
6394
6718
|
* @returns IsvGetAppIdResponse
|
|
@@ -6517,7 +6841,12 @@ export default class Client extends OpenApi {
|
|
|
6517
6841
|
}
|
|
6518
6842
|
|
|
6519
6843
|
/**
|
|
6520
|
-
*
|
|
6844
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6845
|
+
*
|
|
6846
|
+
* @remarks
|
|
6847
|
+
* - 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**.
|
|
6848
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6849
|
+
* - 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.
|
|
6521
6850
|
*
|
|
6522
6851
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6523
6852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6564,7 +6893,12 @@ export default class Client extends OpenApi {
|
|
|
6564
6893
|
}
|
|
6565
6894
|
|
|
6566
6895
|
/**
|
|
6567
|
-
*
|
|
6896
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6897
|
+
*
|
|
6898
|
+
* @remarks
|
|
6899
|
+
* - 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**.
|
|
6900
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6901
|
+
* - 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.
|
|
6568
6902
|
*
|
|
6569
6903
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6570
6904
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6575,7 +6909,13 @@ export default class Client extends OpenApi {
|
|
|
6575
6909
|
}
|
|
6576
6910
|
|
|
6577
6911
|
/**
|
|
6578
|
-
*
|
|
6912
|
+
* Lists flows.
|
|
6913
|
+
*
|
|
6914
|
+
* @remarks
|
|
6915
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6916
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6917
|
+
* - 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.
|
|
6918
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
6579
6919
|
*
|
|
6580
6920
|
* @param tmpReq - ListChatFlowRequest
|
|
6581
6921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6652,7 +6992,13 @@ export default class Client extends OpenApi {
|
|
|
6652
6992
|
}
|
|
6653
6993
|
|
|
6654
6994
|
/**
|
|
6655
|
-
*
|
|
6995
|
+
* Lists flows.
|
|
6996
|
+
*
|
|
6997
|
+
* @remarks
|
|
6998
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6999
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
7000
|
+
* - 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.
|
|
7001
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
6656
7002
|
*
|
|
6657
7003
|
* @param request - ListChatFlowRequest
|
|
6658
7004
|
* @returns ListChatFlowResponse
|
|
@@ -6663,7 +7009,11 @@ export default class Client extends OpenApi {
|
|
|
6663
7009
|
}
|
|
6664
7010
|
|
|
6665
7011
|
/**
|
|
6666
|
-
*
|
|
7012
|
+
* Lists flow templates.
|
|
7013
|
+
*
|
|
7014
|
+
* @remarks
|
|
7015
|
+
* - 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).
|
|
7016
|
+
* - 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.
|
|
6667
7017
|
*
|
|
6668
7018
|
* @param request - ListChatFlowTemplateRequest
|
|
6669
7019
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6722,7 +7072,11 @@ export default class Client extends OpenApi {
|
|
|
6722
7072
|
}
|
|
6723
7073
|
|
|
6724
7074
|
/**
|
|
6725
|
-
*
|
|
7075
|
+
* Lists flow templates.
|
|
7076
|
+
*
|
|
7077
|
+
* @remarks
|
|
7078
|
+
* - 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).
|
|
7079
|
+
* - 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.
|
|
6726
7080
|
*
|
|
6727
7081
|
* @param request - ListChatFlowTemplateRequest
|
|
6728
7082
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6733,14 +7087,13 @@ export default class Client extends OpenApi {
|
|
|
6733
7087
|
}
|
|
6734
7088
|
|
|
6735
7089
|
/**
|
|
6736
|
-
* Retrieves
|
|
7090
|
+
* Retrieves the list of IM groups.
|
|
6737
7091
|
*
|
|
6738
7092
|
* @remarks
|
|
6739
|
-
* >Notice:
|
|
6740
|
-
*
|
|
6741
|
-
* -
|
|
6742
|
-
* -
|
|
6743
|
-
* - 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.
|
|
7093
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7094
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7095
|
+
* - 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.
|
|
7096
|
+
* - 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.
|
|
6744
7097
|
*
|
|
6745
7098
|
* @param tmpReq - ListChatGroupRequest
|
|
6746
7099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6817,14 +7170,13 @@ export default class Client extends OpenApi {
|
|
|
6817
7170
|
}
|
|
6818
7171
|
|
|
6819
7172
|
/**
|
|
6820
|
-
* Retrieves
|
|
7173
|
+
* Retrieves the list of IM groups.
|
|
6821
7174
|
*
|
|
6822
7175
|
* @remarks
|
|
6823
|
-
* >Notice:
|
|
6824
|
-
*
|
|
6825
|
-
* -
|
|
6826
|
-
* -
|
|
6827
|
-
* - 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.
|
|
7176
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7177
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7178
|
+
* - 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.
|
|
7179
|
+
* - 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.
|
|
6828
7180
|
*
|
|
6829
7181
|
* @param request - ListChatGroupRequest
|
|
6830
7182
|
* @returns ListChatGroupResponse
|
|
@@ -6923,7 +7275,12 @@ export default class Client extends OpenApi {
|
|
|
6923
7275
|
}
|
|
6924
7276
|
|
|
6925
7277
|
/**
|
|
6926
|
-
*
|
|
7278
|
+
* Queries the message list.
|
|
7279
|
+
*
|
|
7280
|
+
* @remarks
|
|
7281
|
+
* - 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.
|
|
7282
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7283
|
+
* - 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.
|
|
6927
7284
|
*
|
|
6928
7285
|
* @param tmpReq - ListChatappMessageRequest
|
|
6929
7286
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7024,7 +7381,12 @@ export default class Client extends OpenApi {
|
|
|
7024
7381
|
}
|
|
7025
7382
|
|
|
7026
7383
|
/**
|
|
7027
|
-
*
|
|
7384
|
+
* Queries the message list.
|
|
7385
|
+
*
|
|
7386
|
+
* @remarks
|
|
7387
|
+
* - 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.
|
|
7388
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7389
|
+
* - 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.
|
|
7028
7390
|
*
|
|
7029
7391
|
* @param request - ListChatappMessageRequest
|
|
7030
7392
|
* @returns ListChatappMessageResponse
|
|
@@ -7223,7 +7585,7 @@ export default class Client extends OpenApi {
|
|
|
7223
7585
|
}
|
|
7224
7586
|
|
|
7225
7587
|
/**
|
|
7226
|
-
*
|
|
7588
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7227
7589
|
*
|
|
7228
7590
|
* @param request - ListDmAccountRequest
|
|
7229
7591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7278,7 +7640,7 @@ export default class Client extends OpenApi {
|
|
|
7278
7640
|
}
|
|
7279
7641
|
|
|
7280
7642
|
/**
|
|
7281
|
-
*
|
|
7643
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7282
7644
|
*
|
|
7283
7645
|
* @param request - ListDmAccountRequest
|
|
7284
7646
|
* @returns ListDmAccountResponse
|
|
@@ -7351,7 +7713,7 @@ export default class Client extends OpenApi {
|
|
|
7351
7713
|
}
|
|
7352
7714
|
|
|
7353
7715
|
/**
|
|
7354
|
-
*
|
|
7716
|
+
* Queries the list of Facebook posts.
|
|
7355
7717
|
*
|
|
7356
7718
|
* @param request - ListFacebookPostsRequest
|
|
7357
7719
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7394,7 +7756,7 @@ export default class Client extends OpenApi {
|
|
|
7394
7756
|
}
|
|
7395
7757
|
|
|
7396
7758
|
/**
|
|
7397
|
-
*
|
|
7759
|
+
* Queries the list of Facebook posts.
|
|
7398
7760
|
*
|
|
7399
7761
|
* @param request - ListFacebookPostsRequest
|
|
7400
7762
|
* @returns ListFacebookPostsResponse
|
|
@@ -7479,7 +7841,7 @@ export default class Client extends OpenApi {
|
|
|
7479
7841
|
}
|
|
7480
7842
|
|
|
7481
7843
|
/**
|
|
7482
|
-
*
|
|
7844
|
+
* Lists flow component groups.
|
|
7483
7845
|
*
|
|
7484
7846
|
* @param request - ListFlowNodeGroupRequest
|
|
7485
7847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7526,7 +7888,7 @@ export default class Client extends OpenApi {
|
|
|
7526
7888
|
}
|
|
7527
7889
|
|
|
7528
7890
|
/**
|
|
7529
|
-
*
|
|
7891
|
+
* Lists flow component groups.
|
|
7530
7892
|
*
|
|
7531
7893
|
* @param request - ListFlowNodeGroupRequest
|
|
7532
7894
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -7537,7 +7899,11 @@ export default class Client extends OpenApi {
|
|
|
7537
7899
|
}
|
|
7538
7900
|
|
|
7539
7901
|
/**
|
|
7540
|
-
*
|
|
7902
|
+
* Lists flow component prototypes.
|
|
7903
|
+
*
|
|
7904
|
+
* @remarks
|
|
7905
|
+
* - 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.
|
|
7906
|
+
* - 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.
|
|
7541
7907
|
*
|
|
7542
7908
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7543
7909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7596,7 +7962,11 @@ export default class Client extends OpenApi {
|
|
|
7596
7962
|
}
|
|
7597
7963
|
|
|
7598
7964
|
/**
|
|
7599
|
-
*
|
|
7965
|
+
* Lists flow component prototypes.
|
|
7966
|
+
*
|
|
7967
|
+
* @remarks
|
|
7968
|
+
* - 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.
|
|
7969
|
+
* - 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.
|
|
7600
7970
|
*
|
|
7601
7971
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7602
7972
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7607,7 +7977,13 @@ export default class Client extends OpenApi {
|
|
|
7607
7977
|
}
|
|
7608
7978
|
|
|
7609
7979
|
/**
|
|
7610
|
-
*
|
|
7980
|
+
* Lists flow versions.
|
|
7981
|
+
*
|
|
7982
|
+
* @remarks
|
|
7983
|
+
* - 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.
|
|
7984
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7985
|
+
* - 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.
|
|
7986
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
7611
7987
|
*
|
|
7612
7988
|
* @param tmpReq - ListFlowVersionRequest
|
|
7613
7989
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7676,7 +8052,13 @@ export default class Client extends OpenApi {
|
|
|
7676
8052
|
}
|
|
7677
8053
|
|
|
7678
8054
|
/**
|
|
7679
|
-
*
|
|
8055
|
+
* Lists flow versions.
|
|
8056
|
+
*
|
|
8057
|
+
* @remarks
|
|
8058
|
+
* - 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.
|
|
8059
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
8060
|
+
* - 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.
|
|
8061
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
7680
8062
|
*
|
|
7681
8063
|
* @param request - ListFlowVersionRequest
|
|
7682
8064
|
* @returns ListFlowVersionResponse
|
|
@@ -7687,7 +8069,7 @@ export default class Client extends OpenApi {
|
|
|
7687
8069
|
}
|
|
7688
8070
|
|
|
7689
8071
|
/**
|
|
7690
|
-
*
|
|
8072
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7691
8073
|
*
|
|
7692
8074
|
* @param request - ListInstagramPageRequest
|
|
7693
8075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7730,7 +8112,7 @@ export default class Client extends OpenApi {
|
|
|
7730
8112
|
}
|
|
7731
8113
|
|
|
7732
8114
|
/**
|
|
7733
|
-
*
|
|
8115
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7734
8116
|
*
|
|
7735
8117
|
* @param request - ListInstagramPageRequest
|
|
7736
8118
|
* @returns ListInstagramPageResponse
|
|
@@ -7865,7 +8247,7 @@ export default class Client extends OpenApi {
|
|
|
7865
8247
|
}
|
|
7866
8248
|
|
|
7867
8249
|
/**
|
|
7868
|
-
*
|
|
8250
|
+
* Queries a list of marketing campaigns.
|
|
7869
8251
|
*
|
|
7870
8252
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7871
8253
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7946,7 +8328,7 @@ export default class Client extends OpenApi {
|
|
|
7946
8328
|
}
|
|
7947
8329
|
|
|
7948
8330
|
/**
|
|
7949
|
-
*
|
|
8331
|
+
* Queries a list of marketing campaigns.
|
|
7950
8332
|
*
|
|
7951
8333
|
* @param request - ListMarketingFlowRequest
|
|
7952
8334
|
* @returns ListMarketingFlowResponse
|
|
@@ -8115,7 +8497,7 @@ export default class Client extends OpenApi {
|
|
|
8115
8497
|
}
|
|
8116
8498
|
|
|
8117
8499
|
/**
|
|
8118
|
-
*
|
|
8500
|
+
* Queries the list of ad accounts bound to a page.
|
|
8119
8501
|
*
|
|
8120
8502
|
* @param request - ListPageAdAccountRequest
|
|
8121
8503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8162,7 +8544,7 @@ export default class Client extends OpenApi {
|
|
|
8162
8544
|
}
|
|
8163
8545
|
|
|
8164
8546
|
/**
|
|
8165
|
-
*
|
|
8547
|
+
* Queries the list of ad accounts bound to a page.
|
|
8166
8548
|
*
|
|
8167
8549
|
* @param request - ListPageAdAccountRequest
|
|
8168
8550
|
* @returns ListPageAdAccountResponse
|
|
@@ -8173,10 +8555,10 @@ export default class Client extends OpenApi {
|
|
|
8173
8555
|
}
|
|
8174
8556
|
|
|
8175
8557
|
/**
|
|
8176
|
-
* Queries message QR codes.
|
|
8558
|
+
* Queries the list of message QR codes.
|
|
8177
8559
|
*
|
|
8178
8560
|
* @remarks
|
|
8179
|
-
*
|
|
8561
|
+
* 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.
|
|
8180
8562
|
*
|
|
8181
8563
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8182
8564
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8223,10 +8605,10 @@ export default class Client extends OpenApi {
|
|
|
8223
8605
|
}
|
|
8224
8606
|
|
|
8225
8607
|
/**
|
|
8226
|
-
* Queries message QR codes.
|
|
8608
|
+
* Queries the list of message QR codes.
|
|
8227
8609
|
*
|
|
8228
8610
|
* @remarks
|
|
8229
|
-
*
|
|
8611
|
+
* 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.
|
|
8230
8612
|
*
|
|
8231
8613
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8232
8614
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -8321,10 +8703,10 @@ export default class Client extends OpenApi {
|
|
|
8321
8703
|
}
|
|
8322
8704
|
|
|
8323
8705
|
/**
|
|
8324
|
-
* Queries the
|
|
8706
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8325
8707
|
*
|
|
8326
8708
|
* @remarks
|
|
8327
|
-
*
|
|
8709
|
+
* 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.
|
|
8328
8710
|
*
|
|
8329
8711
|
* @param request - ListProductCatalogRequest
|
|
8330
8712
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8387,10 +8769,10 @@ export default class Client extends OpenApi {
|
|
|
8387
8769
|
}
|
|
8388
8770
|
|
|
8389
8771
|
/**
|
|
8390
|
-
* Queries the
|
|
8772
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8391
8773
|
*
|
|
8392
8774
|
* @remarks
|
|
8393
|
-
*
|
|
8775
|
+
* 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.
|
|
8394
8776
|
*
|
|
8395
8777
|
* @param request - ListProductCatalogRequest
|
|
8396
8778
|
* @returns ListProductCatalogResponse
|
|
@@ -8501,13 +8883,13 @@ export default class Client extends OpenApi {
|
|
|
8501
8883
|
}
|
|
8502
8884
|
|
|
8503
8885
|
/**
|
|
8504
|
-
* Modifies a message template.
|
|
8886
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8505
8887
|
*
|
|
8506
8888
|
* @remarks
|
|
8507
|
-
* ### QPS
|
|
8508
|
-
* The
|
|
8889
|
+
* ### QPS limit
|
|
8890
|
+
* 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.
|
|
8509
8891
|
* ### Status changes
|
|
8510
|
-
*
|
|
8892
|
+
* 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).
|
|
8511
8893
|
*
|
|
8512
8894
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8513
8895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8592,13 +8974,13 @@ export default class Client extends OpenApi {
|
|
|
8592
8974
|
}
|
|
8593
8975
|
|
|
8594
8976
|
/**
|
|
8595
|
-
* Modifies a message template.
|
|
8977
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8596
8978
|
*
|
|
8597
8979
|
* @remarks
|
|
8598
|
-
* ### QPS
|
|
8599
|
-
* The
|
|
8980
|
+
* ### QPS limit
|
|
8981
|
+
* 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.
|
|
8600
8982
|
* ### Status changes
|
|
8601
|
-
*
|
|
8983
|
+
* 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).
|
|
8602
8984
|
*
|
|
8603
8985
|
* @param request - ModifyChatappTemplateRequest
|
|
8604
8986
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8609,7 +8991,7 @@ export default class Client extends OpenApi {
|
|
|
8609
8991
|
}
|
|
8610
8992
|
|
|
8611
8993
|
/**
|
|
8612
|
-
*
|
|
8994
|
+
* Modifies some properties of a template.
|
|
8613
8995
|
*
|
|
8614
8996
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8615
8997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8672,7 +9054,7 @@ export default class Client extends OpenApi {
|
|
|
8672
9054
|
}
|
|
8673
9055
|
|
|
8674
9056
|
/**
|
|
8675
|
-
*
|
|
9057
|
+
* Modifies some properties of a template.
|
|
8676
9058
|
*
|
|
8677
9059
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8678
9060
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8683,10 +9065,10 @@ export default class Client extends OpenApi {
|
|
|
8683
9065
|
}
|
|
8684
9066
|
|
|
8685
9067
|
/**
|
|
8686
|
-
* Modifies a flow.
|
|
9068
|
+
* Modifies the basic information of a flow.
|
|
8687
9069
|
*
|
|
8688
9070
|
* @remarks
|
|
8689
|
-
*
|
|
9071
|
+
* 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.
|
|
8690
9072
|
*
|
|
8691
9073
|
* @param tmpReq - ModifyFlowRequest
|
|
8692
9074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8751,10 +9133,10 @@ export default class Client extends OpenApi {
|
|
|
8751
9133
|
}
|
|
8752
9134
|
|
|
8753
9135
|
/**
|
|
8754
|
-
* Modifies a flow.
|
|
9136
|
+
* Modifies the basic information of a flow.
|
|
8755
9137
|
*
|
|
8756
9138
|
* @remarks
|
|
8757
|
-
*
|
|
9139
|
+
* 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.
|
|
8758
9140
|
*
|
|
8759
9141
|
* @param request - ModifyFlowRequest
|
|
8760
9142
|
* @returns ModifyFlowResponse
|
|
@@ -8765,10 +9147,10 @@ export default class Client extends OpenApi {
|
|
|
8765
9147
|
}
|
|
8766
9148
|
|
|
8767
9149
|
/**
|
|
8768
|
-
*
|
|
9150
|
+
* Modifies the commercial information of a phone number.
|
|
8769
9151
|
*
|
|
8770
9152
|
* @remarks
|
|
8771
|
-
*
|
|
9153
|
+
* 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.
|
|
8772
9154
|
*
|
|
8773
9155
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8774
9156
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8849,10 +9231,10 @@ export default class Client extends OpenApi {
|
|
|
8849
9231
|
}
|
|
8850
9232
|
|
|
8851
9233
|
/**
|
|
8852
|
-
*
|
|
9234
|
+
* Modifies the commercial information of a phone number.
|
|
8853
9235
|
*
|
|
8854
9236
|
* @remarks
|
|
8855
|
-
*
|
|
9237
|
+
* 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.
|
|
8856
9238
|
*
|
|
8857
9239
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8858
9240
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8939,7 +9321,13 @@ export default class Client extends OpenApi {
|
|
|
8939
9321
|
}
|
|
8940
9322
|
|
|
8941
9323
|
/**
|
|
8942
|
-
*
|
|
9324
|
+
* Unpublishes a flow version.
|
|
9325
|
+
*
|
|
9326
|
+
* @remarks
|
|
9327
|
+
* - 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.
|
|
9328
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
9329
|
+
* - 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.
|
|
9330
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8943
9331
|
*
|
|
8944
9332
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8945
9333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9004,7 +9392,13 @@ export default class Client extends OpenApi {
|
|
|
9004
9392
|
}
|
|
9005
9393
|
|
|
9006
9394
|
/**
|
|
9007
|
-
*
|
|
9395
|
+
* Unpublishes a flow version.
|
|
9396
|
+
*
|
|
9397
|
+
* @remarks
|
|
9398
|
+
* - 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.
|
|
9399
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
9400
|
+
* - 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.
|
|
9401
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9008
9402
|
*
|
|
9009
9403
|
* @param request - OfflineFlowVersionRequest
|
|
9010
9404
|
* @returns OfflineFlowVersionResponse
|
|
@@ -9015,7 +9409,13 @@ export default class Client extends OpenApi {
|
|
|
9015
9409
|
}
|
|
9016
9410
|
|
|
9017
9411
|
/**
|
|
9018
|
-
*
|
|
9412
|
+
* Publishes a flow version.
|
|
9413
|
+
*
|
|
9414
|
+
* @remarks
|
|
9415
|
+
* - 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.
|
|
9416
|
+
* - 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.
|
|
9417
|
+
* - 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.
|
|
9418
|
+
* - 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.
|
|
9019
9419
|
*
|
|
9020
9420
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
9021
9421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9080,7 +9480,13 @@ export default class Client extends OpenApi {
|
|
|
9080
9480
|
}
|
|
9081
9481
|
|
|
9082
9482
|
/**
|
|
9083
|
-
*
|
|
9483
|
+
* Publishes a flow version.
|
|
9484
|
+
*
|
|
9485
|
+
* @remarks
|
|
9486
|
+
* - 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.
|
|
9487
|
+
* - 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.
|
|
9488
|
+
* - 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.
|
|
9489
|
+
* - 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.
|
|
9084
9490
|
*
|
|
9085
9491
|
* @param request - OnlineFlowVersionRequest
|
|
9086
9492
|
* @returns OnlineFlowVersionResponse
|
|
@@ -9199,13 +9605,13 @@ export default class Client extends OpenApi {
|
|
|
9199
9605
|
}
|
|
9200
9606
|
|
|
9201
9607
|
/**
|
|
9202
|
-
* Publishes a
|
|
9608
|
+
* Publishes a Flow.
|
|
9203
9609
|
*
|
|
9204
9610
|
* @remarks
|
|
9205
|
-
* - Before
|
|
9206
|
-
* - If you
|
|
9611
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9612
|
+
* - 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.
|
|
9207
9613
|
* #### QPS limit
|
|
9208
|
-
*
|
|
9614
|
+
* 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.
|
|
9209
9615
|
*
|
|
9210
9616
|
* @param request - PublishFlowRequest
|
|
9211
9617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9252,13 +9658,13 @@ export default class Client extends OpenApi {
|
|
|
9252
9658
|
}
|
|
9253
9659
|
|
|
9254
9660
|
/**
|
|
9255
|
-
* Publishes a
|
|
9661
|
+
* Publishes a Flow.
|
|
9256
9662
|
*
|
|
9257
9663
|
* @remarks
|
|
9258
|
-
* - Before
|
|
9259
|
-
* - If you
|
|
9664
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9665
|
+
* - 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.
|
|
9260
9666
|
* #### QPS limit
|
|
9261
|
-
*
|
|
9667
|
+
* 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.
|
|
9262
9668
|
*
|
|
9263
9669
|
* @param request - PublishFlowRequest
|
|
9264
9670
|
* @returns PublishFlowResponse
|
|
@@ -9500,7 +9906,7 @@ export default class Client extends OpenApi {
|
|
|
9500
9906
|
* Queries the business information of a phone number.
|
|
9501
9907
|
*
|
|
9502
9908
|
* @remarks
|
|
9503
|
-
*
|
|
9909
|
+
* 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.
|
|
9504
9910
|
*
|
|
9505
9911
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9506
9912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9550,7 +9956,7 @@ export default class Client extends OpenApi {
|
|
|
9550
9956
|
* Queries the business information of a phone number.
|
|
9551
9957
|
*
|
|
9552
9958
|
* @remarks
|
|
9553
|
-
*
|
|
9959
|
+
* 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.
|
|
9554
9960
|
*
|
|
9555
9961
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9556
9962
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -9625,7 +10031,12 @@ export default class Client extends OpenApi {
|
|
|
9625
10031
|
}
|
|
9626
10032
|
|
|
9627
10033
|
/**
|
|
9628
|
-
*
|
|
10034
|
+
* Retrieves the details of a flow.
|
|
10035
|
+
*
|
|
10036
|
+
* @remarks
|
|
10037
|
+
* - 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).
|
|
10038
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
10039
|
+
* - 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.
|
|
9629
10040
|
*
|
|
9630
10041
|
* @param tmpReq - ReadChatFlowRequest
|
|
9631
10042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9682,7 +10093,12 @@ export default class Client extends OpenApi {
|
|
|
9682
10093
|
}
|
|
9683
10094
|
|
|
9684
10095
|
/**
|
|
9685
|
-
*
|
|
10096
|
+
* Retrieves the details of a flow.
|
|
10097
|
+
*
|
|
10098
|
+
* @remarks
|
|
10099
|
+
* - 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).
|
|
10100
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
10101
|
+
* - 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.
|
|
9686
10102
|
*
|
|
9687
10103
|
* @param request - ReadChatFlowRequest
|
|
9688
10104
|
* @returns ReadChatFlowResponse
|
|
@@ -9693,7 +10109,12 @@ export default class Client extends OpenApi {
|
|
|
9693
10109
|
}
|
|
9694
10110
|
|
|
9695
10111
|
/**
|
|
9696
|
-
*
|
|
10112
|
+
* Views the log settings for a flow.
|
|
10113
|
+
*
|
|
10114
|
+
* @remarks
|
|
10115
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
10116
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
10117
|
+
* - 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.
|
|
9697
10118
|
*
|
|
9698
10119
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9699
10120
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9736,7 +10157,12 @@ export default class Client extends OpenApi {
|
|
|
9736
10157
|
}
|
|
9737
10158
|
|
|
9738
10159
|
/**
|
|
9739
|
-
*
|
|
10160
|
+
* Views the log settings for a flow.
|
|
10161
|
+
*
|
|
10162
|
+
* @remarks
|
|
10163
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
10164
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
10165
|
+
* - 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.
|
|
9740
10166
|
*
|
|
9741
10167
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9742
10168
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -9747,7 +10173,12 @@ export default class Client extends OpenApi {
|
|
|
9747
10173
|
}
|
|
9748
10174
|
|
|
9749
10175
|
/**
|
|
9750
|
-
*
|
|
10176
|
+
* Retrieves a flow version.
|
|
10177
|
+
*
|
|
10178
|
+
* @remarks
|
|
10179
|
+
* - 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.
|
|
10180
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10181
|
+
* - 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).
|
|
9751
10182
|
*
|
|
9752
10183
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9753
10184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9812,7 +10243,12 @@ export default class Client extends OpenApi {
|
|
|
9812
10243
|
}
|
|
9813
10244
|
|
|
9814
10245
|
/**
|
|
9815
|
-
*
|
|
10246
|
+
* Retrieves a flow version.
|
|
10247
|
+
*
|
|
10248
|
+
* @remarks
|
|
10249
|
+
* - 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.
|
|
10250
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10251
|
+
* - 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).
|
|
9816
10252
|
*
|
|
9817
10253
|
* @param request - ReadFlowVersionRequest
|
|
9818
10254
|
* @returns ReadFlowVersionResponse
|
|
@@ -9955,21 +10391,20 @@ export default class Client extends OpenApi {
|
|
|
9955
10391
|
}
|
|
9956
10392
|
|
|
9957
10393
|
/**
|
|
9958
|
-
* Sends
|
|
10394
|
+
* Sends Chat App messages in batches.
|
|
9959
10395
|
*
|
|
9960
10396
|
* @remarks
|
|
9961
|
-
* - You can call this operation to send messages in
|
|
9962
|
-
* - Before
|
|
9963
|
-
* - For
|
|
9964
|
-
* - For
|
|
9965
|
-
* - For
|
|
9966
|
-
* <props="intl"
|
|
9967
|
-
*
|
|
9968
|
-
*
|
|
9969
|
-
* -
|
|
9970
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
10397
|
+
* - 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.
|
|
10398
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10399
|
+
* - 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).
|
|
10400
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10401
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10402
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10403
|
+
* ### QPS limit
|
|
10404
|
+
* - 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.
|
|
10405
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
9971
10406
|
* ### Status changes
|
|
9972
|
-
*
|
|
10407
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9973
10408
|
*
|
|
9974
10409
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9975
10410
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10082,21 +10517,20 @@ export default class Client extends OpenApi {
|
|
|
10082
10517
|
}
|
|
10083
10518
|
|
|
10084
10519
|
/**
|
|
10085
|
-
* Sends
|
|
10520
|
+
* Sends Chat App messages in batches.
|
|
10086
10521
|
*
|
|
10087
10522
|
* @remarks
|
|
10088
|
-
* - You can call this operation to send messages in
|
|
10089
|
-
* - Before
|
|
10090
|
-
* - For
|
|
10091
|
-
* - For
|
|
10092
|
-
* - For
|
|
10093
|
-
* <props="intl"
|
|
10094
|
-
*
|
|
10095
|
-
*
|
|
10096
|
-
* -
|
|
10097
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
10523
|
+
* - 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.
|
|
10524
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10525
|
+
* - 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).
|
|
10526
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10527
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10528
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10529
|
+
* ### QPS limit
|
|
10530
|
+
* - 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.
|
|
10531
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
10098
10532
|
* ### Status changes
|
|
10099
|
-
*
|
|
10533
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10100
10534
|
*
|
|
10101
10535
|
* @param request - SendChatappMassMessageRequest
|
|
10102
10536
|
* @returns SendChatappMassMessageResponse
|
|
@@ -10107,20 +10541,19 @@ export default class Client extends OpenApi {
|
|
|
10107
10541
|
}
|
|
10108
10542
|
|
|
10109
10543
|
/**
|
|
10110
|
-
* Sends a
|
|
10544
|
+
* Sends a Chat App Message Service message.
|
|
10111
10545
|
*
|
|
10112
10546
|
* @remarks
|
|
10113
|
-
* -
|
|
10114
|
-
* - Before calling this operation, you
|
|
10115
|
-
* - For
|
|
10116
|
-
* - For
|
|
10117
|
-
* - For
|
|
10118
|
-
* <props="intl"
|
|
10119
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10547
|
+
* - 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.
|
|
10548
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10549
|
+
* - 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).
|
|
10550
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10551
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10552
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10120
10553
|
* ### QPS limit
|
|
10121
|
-
* The QPS limit for this operation is 250 per
|
|
10554
|
+
* 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.
|
|
10122
10555
|
* ### Status changes
|
|
10123
|
-
* You can
|
|
10556
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10124
10557
|
*
|
|
10125
10558
|
* @param tmpReq - SendChatappMessageRequest
|
|
10126
10559
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10301,20 +10734,19 @@ export default class Client extends OpenApi {
|
|
|
10301
10734
|
}
|
|
10302
10735
|
|
|
10303
10736
|
/**
|
|
10304
|
-
* Sends a
|
|
10737
|
+
* Sends a Chat App Message Service message.
|
|
10305
10738
|
*
|
|
10306
10739
|
* @remarks
|
|
10307
|
-
* -
|
|
10308
|
-
* - Before calling this operation, you
|
|
10309
|
-
* - For
|
|
10310
|
-
* - For
|
|
10311
|
-
* - For
|
|
10312
|
-
* <props="intl"
|
|
10313
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10740
|
+
* - 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.
|
|
10741
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10742
|
+
* - 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).
|
|
10743
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10744
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10745
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10314
10746
|
* ### QPS limit
|
|
10315
|
-
* The QPS limit for this operation is 250 per
|
|
10747
|
+
* 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.
|
|
10316
10748
|
* ### Status changes
|
|
10317
|
-
* You can
|
|
10749
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10318
10750
|
*
|
|
10319
10751
|
* @param request - SendChatappMessageRequest
|
|
10320
10752
|
* @returns SendChatappMessageResponse
|
|
@@ -10375,11 +10807,11 @@ export default class Client extends OpenApi {
|
|
|
10375
10807
|
}
|
|
10376
10808
|
|
|
10377
10809
|
/**
|
|
10378
|
-
* Synchronizes
|
|
10810
|
+
* Synchronizes business app historical records.
|
|
10379
10811
|
*
|
|
10380
10812
|
* @remarks
|
|
10381
|
-
* - Before
|
|
10382
|
-
* - This
|
|
10813
|
+
* - 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.
|
|
10814
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10383
10815
|
*
|
|
10384
10816
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10385
10817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10426,11 +10858,11 @@ export default class Client extends OpenApi {
|
|
|
10426
10858
|
}
|
|
10427
10859
|
|
|
10428
10860
|
/**
|
|
10429
|
-
* Synchronizes
|
|
10861
|
+
* Synchronizes business app historical records.
|
|
10430
10862
|
*
|
|
10431
10863
|
* @remarks
|
|
10432
|
-
* - Before
|
|
10433
|
-
* - This
|
|
10864
|
+
* - 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.
|
|
10865
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10434
10866
|
*
|
|
10435
10867
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10436
10868
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -10553,7 +10985,7 @@ export default class Client extends OpenApi {
|
|
|
10553
10985
|
}
|
|
10554
10986
|
|
|
10555
10987
|
/**
|
|
10556
|
-
*
|
|
10988
|
+
* Queries the Messenger subscription token.
|
|
10557
10989
|
*
|
|
10558
10990
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10559
10991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10608,7 +11040,7 @@ export default class Client extends OpenApi {
|
|
|
10608
11040
|
}
|
|
10609
11041
|
|
|
10610
11042
|
/**
|
|
10611
|
-
*
|
|
11043
|
+
* Queries the Messenger subscription token.
|
|
10612
11044
|
*
|
|
10613
11045
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10614
11046
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -10909,7 +11341,12 @@ export default class Client extends OpenApi {
|
|
|
10909
11341
|
}
|
|
10910
11342
|
|
|
10911
11343
|
/**
|
|
10912
|
-
*
|
|
11344
|
+
* Updates the basic information of a flow based on the flow code.
|
|
11345
|
+
*
|
|
11346
|
+
* @remarks
|
|
11347
|
+
* - 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).
|
|
11348
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
11349
|
+
* - 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.
|
|
10913
11350
|
*
|
|
10914
11351
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10915
11352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10974,7 +11411,12 @@ export default class Client extends OpenApi {
|
|
|
10974
11411
|
}
|
|
10975
11412
|
|
|
10976
11413
|
/**
|
|
10977
|
-
*
|
|
11414
|
+
* Updates the basic information of a flow based on the flow code.
|
|
11415
|
+
*
|
|
11416
|
+
* @remarks
|
|
11417
|
+
* - 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).
|
|
11418
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
11419
|
+
* - 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.
|
|
10978
11420
|
*
|
|
10979
11421
|
* @param request - UpdateChatFlowRequest
|
|
10980
11422
|
* @returns UpdateChatFlowResponse
|
|
@@ -10985,7 +11427,13 @@ export default class Client extends OpenApi {
|
|
|
10985
11427
|
}
|
|
10986
11428
|
|
|
10987
11429
|
/**
|
|
10988
|
-
*
|
|
11430
|
+
* Updates the flow log settings.
|
|
11431
|
+
*
|
|
11432
|
+
* @remarks
|
|
11433
|
+
* - 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**.
|
|
11434
|
+
* - 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.
|
|
11435
|
+
* - 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.
|
|
11436
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10989
11437
|
*
|
|
10990
11438
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10991
11439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11036,7 +11484,13 @@ export default class Client extends OpenApi {
|
|
|
11036
11484
|
}
|
|
11037
11485
|
|
|
11038
11486
|
/**
|
|
11039
|
-
*
|
|
11487
|
+
* Updates the flow log settings.
|
|
11488
|
+
*
|
|
11489
|
+
* @remarks
|
|
11490
|
+
* - 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**.
|
|
11491
|
+
* - 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.
|
|
11492
|
+
* - 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.
|
|
11493
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
11040
11494
|
*
|
|
11041
11495
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
11042
11496
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -11047,13 +11501,13 @@ export default class Client extends OpenApi {
|
|
|
11047
11501
|
}
|
|
11048
11502
|
|
|
11049
11503
|
/**
|
|
11050
|
-
*
|
|
11504
|
+
* Modifies the information of an IM group.
|
|
11051
11505
|
*
|
|
11052
11506
|
* @remarks
|
|
11053
|
-
* >Notice:
|
|
11054
|
-
*
|
|
11055
|
-
* - Before
|
|
11056
|
-
* - If you do not have
|
|
11507
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11508
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11509
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11510
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
11057
11511
|
*
|
|
11058
11512
|
* @param request - UpdateChatGroupRequest
|
|
11059
11513
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11120,13 +11574,13 @@ export default class Client extends OpenApi {
|
|
|
11120
11574
|
}
|
|
11121
11575
|
|
|
11122
11576
|
/**
|
|
11123
|
-
*
|
|
11577
|
+
* Modifies the information of an IM group.
|
|
11124
11578
|
*
|
|
11125
11579
|
* @remarks
|
|
11126
|
-
* >Notice:
|
|
11127
|
-
*
|
|
11128
|
-
* - Before
|
|
11129
|
-
* - If you do not have
|
|
11580
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11581
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11582
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11583
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
11130
11584
|
*
|
|
11131
11585
|
* @param request - UpdateChatGroupRequest
|
|
11132
11586
|
* @returns UpdateChatGroupResponse
|
|
@@ -11297,12 +11751,12 @@ export default class Client extends OpenApi {
|
|
|
11297
11751
|
}
|
|
11298
11752
|
|
|
11299
11753
|
/**
|
|
11300
|
-
* Modifies
|
|
11754
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
11301
11755
|
*
|
|
11302
11756
|
* @remarks
|
|
11303
|
-
* ###
|
|
11304
|
-
*
|
|
11305
|
-
* This
|
|
11757
|
+
* ### QPS limit
|
|
11758
|
+
* 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.
|
|
11759
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
11306
11760
|
*
|
|
11307
11761
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
11308
11762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11371,12 +11825,12 @@ export default class Client extends OpenApi {
|
|
|
11371
11825
|
}
|
|
11372
11826
|
|
|
11373
11827
|
/**
|
|
11374
|
-
* Modifies
|
|
11828
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
11375
11829
|
*
|
|
11376
11830
|
* @remarks
|
|
11377
|
-
* ###
|
|
11378
|
-
*
|
|
11379
|
-
* This
|
|
11831
|
+
* ### QPS limit
|
|
11832
|
+
* 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.
|
|
11833
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
11380
11834
|
*
|
|
11381
11835
|
* @param request - UpdateConversationalAutomationRequest
|
|
11382
11836
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -11387,10 +11841,10 @@ export default class Client extends OpenApi {
|
|
|
11387
11841
|
}
|
|
11388
11842
|
|
|
11389
11843
|
/**
|
|
11390
|
-
* Updates the content of a
|
|
11844
|
+
* Updates the content of a flow by using JSON.
|
|
11391
11845
|
*
|
|
11392
11846
|
* @remarks
|
|
11393
|
-
*
|
|
11847
|
+
* 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.
|
|
11394
11848
|
*
|
|
11395
11849
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11396
11850
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11441,10 +11895,10 @@ export default class Client extends OpenApi {
|
|
|
11441
11895
|
}
|
|
11442
11896
|
|
|
11443
11897
|
/**
|
|
11444
|
-
* Updates the content of a
|
|
11898
|
+
* Updates the content of a flow by using JSON.
|
|
11445
11899
|
*
|
|
11446
11900
|
* @remarks
|
|
11447
|
-
*
|
|
11901
|
+
* 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.
|
|
11448
11902
|
*
|
|
11449
11903
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11450
11904
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -11455,7 +11909,12 @@ export default class Client extends OpenApi {
|
|
|
11455
11909
|
}
|
|
11456
11910
|
|
|
11457
11911
|
/**
|
|
11458
|
-
*
|
|
11912
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
11913
|
+
*
|
|
11914
|
+
* @remarks
|
|
11915
|
+
* - 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.
|
|
11916
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
11917
|
+
* - 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.
|
|
11459
11918
|
*
|
|
11460
11919
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11461
11920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11524,7 +11983,12 @@ export default class Client extends OpenApi {
|
|
|
11524
11983
|
}
|
|
11525
11984
|
|
|
11526
11985
|
/**
|
|
11527
|
-
*
|
|
11986
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
11987
|
+
*
|
|
11988
|
+
* @remarks
|
|
11989
|
+
* - 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.
|
|
11990
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
11991
|
+
* - 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.
|
|
11528
11992
|
*
|
|
11529
11993
|
* @param request - UpdateFlowVersionRequest
|
|
11530
11994
|
* @returns UpdateFlowVersionResponse
|
|
@@ -11667,7 +12131,7 @@ export default class Client extends OpenApi {
|
|
|
11667
12131
|
}
|
|
11668
12132
|
|
|
11669
12133
|
/**
|
|
11670
|
-
*
|
|
12134
|
+
* Modifies campaign information.
|
|
11671
12135
|
*
|
|
11672
12136
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
11673
12137
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11764,7 +12228,7 @@ export default class Client extends OpenApi {
|
|
|
11764
12228
|
}
|
|
11765
12229
|
|
|
11766
12230
|
/**
|
|
11767
|
-
*
|
|
12231
|
+
* Modifies campaign information.
|
|
11768
12232
|
*
|
|
11769
12233
|
* @param request - UpdateMarketingFLowRequest
|
|
11770
12234
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -11775,13 +12239,13 @@ export default class Client extends OpenApi {
|
|
|
11775
12239
|
}
|
|
11776
12240
|
|
|
11777
12241
|
/**
|
|
11778
|
-
* Updates the encryption key
|
|
12242
|
+
* Updates the encryption public key of a phone number.
|
|
11779
12243
|
*
|
|
11780
12244
|
* @remarks
|
|
11781
|
-
* - Before
|
|
11782
|
-
* - If
|
|
12245
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12246
|
+
* - 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.
|
|
11783
12247
|
* #### QPS limit
|
|
11784
|
-
*
|
|
12248
|
+
* 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.
|
|
11785
12249
|
*
|
|
11786
12250
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11787
12251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11832,13 +12296,13 @@ export default class Client extends OpenApi {
|
|
|
11832
12296
|
}
|
|
11833
12297
|
|
|
11834
12298
|
/**
|
|
11835
|
-
* Updates the encryption key
|
|
12299
|
+
* Updates the encryption public key of a phone number.
|
|
11836
12300
|
*
|
|
11837
12301
|
* @remarks
|
|
11838
|
-
* - Before
|
|
11839
|
-
* - If
|
|
12302
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12303
|
+
* - 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.
|
|
11840
12304
|
* #### QPS limit
|
|
11841
|
-
*
|
|
12305
|
+
* 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.
|
|
11842
12306
|
*
|
|
11843
12307
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11844
12308
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -11849,13 +12313,14 @@ export default class Client extends OpenApi {
|
|
|
11849
12313
|
}
|
|
11850
12314
|
|
|
11851
12315
|
/**
|
|
11852
|
-
*
|
|
12316
|
+
* Modifies a message QR code.
|
|
11853
12317
|
*
|
|
11854
12318
|
* @remarks
|
|
11855
|
-
* - After you
|
|
11856
|
-
* -
|
|
12319
|
+
* - 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.
|
|
12320
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12321
|
+
* - 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.
|
|
11857
12322
|
* #### QPS limit
|
|
11858
|
-
*
|
|
12323
|
+
* 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.
|
|
11859
12324
|
*
|
|
11860
12325
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11861
12326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11914,13 +12379,14 @@ export default class Client extends OpenApi {
|
|
|
11914
12379
|
}
|
|
11915
12380
|
|
|
11916
12381
|
/**
|
|
11917
|
-
*
|
|
12382
|
+
* Modifies a message QR code.
|
|
11918
12383
|
*
|
|
11919
12384
|
* @remarks
|
|
11920
|
-
* - After you
|
|
11921
|
-
* -
|
|
12385
|
+
* - 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.
|
|
12386
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12387
|
+
* - 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.
|
|
11922
12388
|
* #### QPS limit
|
|
11923
|
-
*
|
|
12389
|
+
* 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.
|
|
11924
12390
|
*
|
|
11925
12391
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11926
12392
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -11931,12 +12397,10 @@ export default class Client extends OpenApi {
|
|
|
11931
12397
|
}
|
|
11932
12398
|
|
|
11933
12399
|
/**
|
|
11934
|
-
*
|
|
11935
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
11936
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
12400
|
+
* Modifies the callback URL information for a phone number.
|
|
11937
12401
|
*
|
|
11938
12402
|
* @remarks
|
|
11939
|
-
* The
|
|
12403
|
+
* 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.
|
|
11940
12404
|
*
|
|
11941
12405
|
* @param request - UpdatePhoneWebhookRequest
|
|
11942
12406
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11999,12 +12463,10 @@ export default class Client extends OpenApi {
|
|
|
11999
12463
|
}
|
|
12000
12464
|
|
|
12001
12465
|
/**
|
|
12002
|
-
*
|
|
12003
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
12004
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
12466
|
+
* Modifies the callback URL information for a phone number.
|
|
12005
12467
|
*
|
|
12006
12468
|
* @remarks
|
|
12007
|
-
* The
|
|
12469
|
+
* 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.
|
|
12008
12470
|
*
|
|
12009
12471
|
* @param request - UpdatePhoneWebhookRequest
|
|
12010
12472
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -12015,7 +12477,7 @@ export default class Client extends OpenApi {
|
|
|
12015
12477
|
}
|
|
12016
12478
|
|
|
12017
12479
|
/**
|
|
12018
|
-
*
|
|
12480
|
+
* Updates the MML status of a WABA.
|
|
12019
12481
|
*
|
|
12020
12482
|
* @param request - UpdateWabaMmlStatusRequest
|
|
12021
12483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12066,7 +12528,7 @@ export default class Client extends OpenApi {
|
|
|
12066
12528
|
}
|
|
12067
12529
|
|
|
12068
12530
|
/**
|
|
12069
|
-
*
|
|
12531
|
+
* Updates the MML status of a WABA.
|
|
12070
12532
|
*
|
|
12071
12533
|
* @param request - UpdateWabaMmlStatusRequest
|
|
12072
12534
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -12076,6 +12538,60 @@ export default class Client extends OpenApi {
|
|
|
12076
12538
|
return await this.updateWabaMmlStatusWithOptions(request, runtime);
|
|
12077
12539
|
}
|
|
12078
12540
|
|
|
12541
|
+
/**
|
|
12542
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12543
|
+
*
|
|
12544
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12545
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12546
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12547
|
+
*/
|
|
12548
|
+
async updateWhatsappUserNameWithOptions(request: $_model.UpdateWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12549
|
+
request.validate();
|
|
12550
|
+
let query = { };
|
|
12551
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
12552
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
12553
|
+
}
|
|
12554
|
+
|
|
12555
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
12556
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
12557
|
+
}
|
|
12558
|
+
|
|
12559
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
12560
|
+
query["TransferAction"] = request.transferAction;
|
|
12561
|
+
}
|
|
12562
|
+
|
|
12563
|
+
if (!$dara.isNull(request.username)) {
|
|
12564
|
+
query["Username"] = request.username;
|
|
12565
|
+
}
|
|
12566
|
+
|
|
12567
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12568
|
+
query: OpenApiUtil.query(query),
|
|
12569
|
+
});
|
|
12570
|
+
let params = new $OpenApiUtil.Params({
|
|
12571
|
+
action: "UpdateWhatsappUserName",
|
|
12572
|
+
version: "2020-06-06",
|
|
12573
|
+
protocol: "HTTPS",
|
|
12574
|
+
pathname: "/",
|
|
12575
|
+
method: "POST",
|
|
12576
|
+
authType: "AK",
|
|
12577
|
+
style: "RPC",
|
|
12578
|
+
reqBodyType: "formData",
|
|
12579
|
+
bodyType: "json",
|
|
12580
|
+
});
|
|
12581
|
+
return $dara.cast<$_model.UpdateWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
12582
|
+
}
|
|
12583
|
+
|
|
12584
|
+
/**
|
|
12585
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12586
|
+
*
|
|
12587
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12588
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12589
|
+
*/
|
|
12590
|
+
async updateWhatsappUserName(request: $_model.UpdateWhatsappUserNameRequest): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12591
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12592
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
12593
|
+
}
|
|
12594
|
+
|
|
12079
12595
|
/**
|
|
12080
12596
|
* Places, answers, or ends WhatsApp voice calls.
|
|
12081
12597
|
*
|