@alicloud/cams20200606 5.2.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +859 -518
- package/dist/client.js +1093 -546
- 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/AddMarketingFlowRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowResponseBody.d.ts +28 -4
- package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowShrinkRequest.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/BindMessengerPageRequest.d.ts +8 -1
- package/dist/models/BindMessengerPageRequest.js.map +1 -1
- package/dist/models/BindMessengerPageResponseBody.d.ts +34 -0
- package/dist/models/BindMessengerPageResponseBody.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +17 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -1
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +7 -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 +50 -3
- package/dist/models/CreateChatFlowRequest.js +9 -0
- 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 +48 -3
- package/dist/models/CreateChatFlowShrinkRequest.js +6 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +103 -105
- package/dist/models/CreateChatappTemplateRequest.js +2 -0
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +9 -4
- package/dist/models/CreateChatappTemplateResponseBody.js +2 -0
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +38 -25
- package/dist/models/CreateChatappTemplateShrinkRequest.js +2 -0
- package/dist/models/CreateChatappTemplateShrinkRequest.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/CreateMessengerPageRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageRequest.js.map +1 -1
- package/dist/models/CreateMessengerPageResponseBody.d.ts +30 -3
- package/dist/models/CreateMessengerPageResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageShrinkRequest.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 +12 -2
- package/dist/models/CreateWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +28 -3
- package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.d.ts +12 -2
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.js.map +1 -1
- 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 +27 -5
- package/dist/models/DeleteContactsRequest.js.map +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +32 -4
- package/dist/models/DeleteContactsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsShrinkRequest.d.ts +27 -5
- package/dist/models/DeleteContactsShrinkRequest.js.map +1 -1
- 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 +3 -1
- package/dist/models/DeleteGroupByIdRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +32 -4
- package/dist/models/DeleteGroupByIdResponseBody.js.map +1 -1
- package/dist/models/DeleteInstagramPageRequest.d.ts +5 -1
- package/dist/models/DeleteInstagramPageRequest.js.map +1 -1
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +31 -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 +5 -1
- package/dist/models/DeleteMessengerPageRequest.js.map +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +28 -0
- package/dist/models/DeleteMessengerPageResponseBody.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +13 -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/DeprecateFlowRequest.d.ts +7 -2
- package/dist/models/DeprecateFlowRequest.js.map +1 -1
- package/dist/models/DeprecateFlowResponseBody.d.ts +8 -1
- 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 +65 -7
- package/dist/models/FlowBindPhoneRequest.js +32 -1
- 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 +32 -7
- package/dist/models/FlowBindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneRequest.d.ts +68 -7
- package/dist/models/FlowRebindPhoneRequest.js +32 -1
- 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 +35 -7
- package/dist/models/FlowRebindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneRequest.d.ts +23 -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 +23 -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 +6 -2
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +210 -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 +10 -10
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +138 -118
- package/dist/models/GetChatappTemplateDetailResponseBody.js +4 -0
- 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 +35 -5
- package/dist/models/GetDownloadExcelListRequest.js.map +1 -1
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +32 -4
- package/dist/models/GetDownloadExcelListResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +35 -5
- package/dist/models/GetDownloadExcelListShrinkRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesRequest.d.ts +6 -1
- package/dist/models/GetFbInstagramPagesRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +59 -1
- package/dist/models/GetFbInstagramPagesResponseBody.js.map +1 -1
- package/dist/models/GetFbMessengerPagesRequest.d.ts +5 -1
- package/dist/models/GetFbMessengerPagesRequest.js.map +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +36 -1
- package/dist/models/GetFbMessengerPagesResponseBody.js.map +1 -1
- package/dist/models/GetFlowJsonassestRequest.d.ts +10 -2
- package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +8 -1
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlRequest.d.ts +10 -2
- package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +8 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetFlowRequest.d.ts +10 -2
- package/dist/models/GetFlowRequest.js.map +1 -1
- package/dist/models/GetFlowResponseBody.d.ts +18 -5
- package/dist/models/GetFlowResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistRequest.d.ts +14 -2
- package/dist/models/GetGroupExistRequest.js.map +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +32 -4
- package/dist/models/GetGroupExistResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistShrinkRequest.d.ts +14 -2
- package/dist/models/GetGroupExistShrinkRequest.js.map +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/GetPhoneNumberVerificationStatusRequest.d.ts +11 -2
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +13 -3
- 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 +3 -1
- package/dist/models/GetViberPauseTimesRequest.js.map +1 -1
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +37 -3
- package/dist/models/GetViberPauseTimesResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiRequest.d.ts +4 -1
- package/dist/models/GetWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +46 -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/ListAllGroupsRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsRequest.js.map +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +46 -6
- package/dist/models/ListAllGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsShrinkRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountRequest.d.ts +3 -1
- package/dist/models/ListBindDmAccountRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountResponseBody.d.ts +56 -8
- package/dist/models/ListBindDmAccountResponseBody.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +12 -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 +87 -6
- package/dist/models/ListChatFlowRequest.js +8 -0
- 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 +87 -6
- package/dist/models/ListChatFlowShrinkRequest.js +8 -0
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateRequest.d.ts +25 -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/ListChatGroupParticipantsRequest.d.ts +7 -7
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +7 -9
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +6 -6
- 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/ListChatappTemplateRequest.d.ts +16 -13
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +32 -39
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +15 -12
- package/dist/models/ListChatappTemplateShrinkRequest.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 +12 -3
- package/dist/models/ListDmTagRequest.js.map +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +46 -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 +71 -6
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
- package/dist/models/ListFlowRequest.d.ts +26 -2
- package/dist/models/ListFlowRequest.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +11 -4
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowShrinkRequest.d.ts +12 -2
- package/dist/models/ListFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +31 -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 +31 -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/ListInstagramPostsRequest.d.ts +2 -0
- package/dist/models/ListInstagramPostsRequest.js.map +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +58 -10
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +9 -10
- package/dist/models/ListInstanceRequest.js +4 -0
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +14 -16
- package/dist/models/ListInstanceResponseBody.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 +3 -1
- package/dist/models/ListViberServiceMessageRequest.js.map +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +66 -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 +90 -87
- package/dist/models/ModifyChatappTemplateRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +8 -3
- package/dist/models/ModifyChatappTemplateResponseBody.js +2 -0
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +29 -16
- package/dist/models/ModifyChatappTemplateShrinkRequest.js +2 -0
- 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 +22 -4
- package/dist/models/MoveContactToGroupRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupResponseBody.d.ts +32 -3
- package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +22 -4
- package/dist/models/MoveContactToGroupShrinkRequest.js.map +1 -1
- 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 +32 -0
- package/dist/models/OpenChatappServiceResponseBody.js.map +1 -1
- package/dist/models/PauseMarketingFlowRequest.d.ts +8 -2
- package/dist/models/PauseMarketingFlowRequest.js.map +1 -1
- package/dist/models/PauseMarketingFlowResponseBody.d.ts +32 -4
- 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 +4 -1
- package/dist/models/QueryMmlactiveRequest.js.map +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +32 -4
- 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 +35 -4
- package/dist/models/ReadFlowVersionRequest.js +2 -0
- 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 +35 -4
- package/dist/models/ReadFlowVersionShrinkRequest.js +2 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdRequest.d.ts +6 -2
- package/dist/models/RemoveContactByIdRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdResponseBody.d.ts +34 -4
- 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 +219 -217
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageResponseBody.d.ts +6 -6
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +212 -210
- 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 +2 -2
- package/dist/models/SyncFlowResponseBody.d.ts +28 -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 +3 -1
- package/dist/models/UnbindDmAccountRequest.js.map +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +32 -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/UpdateContactByIdRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdRequest.js.map +1 -1
- package/dist/models/UpdateContactByIdResponseBody.d.ts +34 -4
- package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdShrinkRequest.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 +45 -5
- package/dist/models/UpdateFlowVersionRequest.js +2 -0
- 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 +45 -5
- package/dist/models/UpdateFlowVersionShrinkRequest.js +2 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameRequest.d.ts +6 -2
- package/dist/models/UpdateGroupNameRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameResponseBody.d.ts +34 -4
- 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/WhatsappCallRequest.d.ts +6 -8
- package/dist/models/WhatsappCallRequest.js.map +1 -1
- package/dist/models/WhatsappCallResponseBody.d.ts +4 -6
- package/dist/models/WhatsappCallResponseBody.js.map +1 -1
- package/dist/models/WhatsappCallShrinkRequest.d.ts +4 -6
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +22 -0
- package/dist/models/model.js +63 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +1136 -546
- 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/AddMarketingFlowRequest.ts +58 -10
- package/src/models/AddMarketingFlowResponseBody.ts +28 -4
- package/src/models/AddMarketingFlowShrinkRequest.ts +58 -10
- 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/BindMessengerPageRequest.ts +8 -1
- package/src/models/BindMessengerPageResponseBody.ts +34 -0
- package/src/models/ChangeResourceGroupRequest.ts +17 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +7 -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 +57 -3
- package/src/models/CreateChatFlowResponseBody.ts +34 -3
- package/src/models/CreateChatFlowShrinkRequest.ts +54 -3
- package/src/models/CreateChatappTemplateRequest.ts +108 -108
- package/src/models/CreateChatappTemplateResponseBody.ts +11 -4
- package/src/models/CreateChatappTemplateShrinkRequest.ts +40 -25
- 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/CreateMessengerPageRequest.ts +14 -4
- package/src/models/CreateMessengerPageResponseBody.ts +30 -3
- package/src/models/CreateMessengerPageShrinkRequest.ts +14 -4
- package/src/models/CreatePhoneMessageQrdlRequest.ts +22 -4
- package/src/models/CreatePhoneMessageQrdlResponseBody.ts +9 -2
- package/src/models/CreateWhatsappConversionApiRequest.ts +12 -2
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +28 -3
- package/src/models/CreateWhatsappConversionApiShrinkRequest.ts +12 -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 +27 -5
- package/src/models/DeleteContactsResponseBody.ts +32 -4
- package/src/models/DeleteContactsShrinkRequest.ts +27 -5
- 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 +3 -1
- package/src/models/DeleteGroupByIdResponseBody.ts +32 -4
- package/src/models/DeleteInstagramPageRequest.ts +5 -1
- package/src/models/DeleteInstagramPageResponseBody.ts +31 -1
- package/src/models/DeleteMarketingFlowRequest.ts +8 -2
- package/src/models/DeleteMarketingFlowResponseBody.ts +34 -4
- package/src/models/DeleteMessengerPageRequest.ts +5 -1
- package/src/models/DeleteMessengerPageResponseBody.ts +28 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +13 -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/DeprecateFlowRequest.ts +7 -2
- package/src/models/DeprecateFlowResponseBody.ts +8 -1
- package/src/models/EnableWhatsappRoimetricRequest.ts +2 -2
- package/src/models/EnableWhatsappRoimetricResponseBody.ts +4 -4
- package/src/models/FlowBindPhoneRequest.ts +87 -7
- package/src/models/FlowBindPhoneResponseBody.ts +33 -3
- package/src/models/FlowBindPhoneShrinkRequest.ts +34 -7
- package/src/models/FlowRebindPhoneRequest.ts +90 -7
- package/src/models/FlowRebindPhoneResponseBody.ts +34 -4
- package/src/models/FlowRebindPhoneShrinkRequest.ts +37 -7
- package/src/models/FlowUnbindPhoneRequest.ts +23 -3
- package/src/models/FlowUnbindPhoneResponseBody.ts +30 -3
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +23 -3
- package/src/models/GeneratePresignedUrlRequest.ts +3 -1
- package/src/models/GeneratePresignedUrlResponseBody.ts +38 -5
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +6 -2
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +210 -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 +10 -10
- package/src/models/GetChatappTemplateDetailResponseBody.ts +142 -118
- 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 +35 -5
- package/src/models/GetDownloadExcelListResponseBody.ts +32 -4
- package/src/models/GetDownloadExcelListShrinkRequest.ts +35 -5
- package/src/models/GetFbInstagramPagesRequest.ts +6 -1
- package/src/models/GetFbInstagramPagesResponseBody.ts +59 -1
- package/src/models/GetFbMessengerPagesRequest.ts +5 -1
- package/src/models/GetFbMessengerPagesResponseBody.ts +36 -1
- package/src/models/GetFlowJsonassestRequest.ts +10 -2
- package/src/models/GetFlowJsonassestResponseBody.ts +8 -1
- package/src/models/GetFlowPreviewUrlRequest.ts +10 -2
- package/src/models/GetFlowPreviewUrlResponseBody.ts +8 -1
- package/src/models/GetFlowRequest.ts +10 -2
- package/src/models/GetFlowResponseBody.ts +18 -5
- package/src/models/GetGroupExistRequest.ts +14 -2
- package/src/models/GetGroupExistResponseBody.ts +32 -4
- package/src/models/GetGroupExistShrinkRequest.ts +14 -2
- 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/GetPhoneNumberVerificationStatusRequest.ts +11 -2
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +13 -3
- package/src/models/GetPledgeTemplateAddressRequest.ts +8 -2
- package/src/models/GetPledgeTemplateAddressResponseBody.ts +36 -3
- package/src/models/GetViberPauseTimesRequest.ts +3 -1
- package/src/models/GetViberPauseTimesResponseBody.ts +37 -3
- package/src/models/GetWhatsappConversionApiRequest.ts +4 -1
- package/src/models/GetWhatsappConversionApiResponseBody.ts +46 -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/ListAllGroupsRequest.ts +11 -1
- package/src/models/ListAllGroupsResponseBody.ts +46 -6
- package/src/models/ListAllGroupsShrinkRequest.ts +11 -1
- package/src/models/ListBindDmAccountRequest.ts +3 -1
- package/src/models/ListBindDmAccountResponseBody.ts +56 -8
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +12 -2
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +30 -3
- package/src/models/ListChatFlowRequest.ts +95 -6
- package/src/models/ListChatFlowResponseBody.ts +30 -3
- package/src/models/ListChatFlowShrinkRequest.ts +95 -6
- package/src/models/ListChatFlowTemplateRequest.ts +25 -5
- package/src/models/ListChatFlowTemplateResponseBody.ts +47 -0
- package/src/models/ListChatGroupParticipantsRequest.ts +7 -7
- package/src/models/ListChatGroupParticipantsResponseBody.ts +7 -9
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +6 -6
- 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/ListChatappTemplateRequest.ts +16 -13
- package/src/models/ListChatappTemplateResponseBody.ts +32 -39
- package/src/models/ListChatappTemplateShrinkRequest.ts +15 -12
- package/src/models/ListDmAccountRequest.ts +16 -4
- package/src/models/ListDmAccountResponseBody.ts +53 -4
- package/src/models/ListDmTagRequest.ts +12 -3
- package/src/models/ListDmTagResponseBody.ts +46 -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 +71 -6
- package/src/models/ListFlowRequest.ts +26 -2
- package/src/models/ListFlowResponseBody.ts +11 -4
- package/src/models/ListFlowShrinkRequest.ts +12 -2
- package/src/models/ListFlowVersionRequest.ts +31 -5
- package/src/models/ListFlowVersionResponseBody.ts +31 -4
- package/src/models/ListFlowVersionShrinkRequest.ts +31 -5
- package/src/models/ListInstagramPageRequest.ts +3 -1
- package/src/models/ListInstagramPageResponseBody.ts +112 -1
- package/src/models/ListInstagramPostsRequest.ts +2 -0
- package/src/models/ListInstagramPostsResponseBody.ts +58 -10
- package/src/models/ListInstanceRequest.ts +13 -10
- package/src/models/ListInstanceResponseBody.ts +14 -16
- 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 +3 -1
- package/src/models/ListViberServiceMessageResponseBody.ts +66 -7
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +20 -4
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +35 -3
- package/src/models/ModifyChatappTemplateRequest.ts +92 -87
- package/src/models/ModifyChatappTemplateResponseBody.ts +10 -3
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +31 -16
- 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 +22 -4
- package/src/models/MoveContactToGroupResponseBody.ts +32 -3
- package/src/models/MoveContactToGroupShrinkRequest.ts +22 -4
- 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 +32 -0
- package/src/models/PauseMarketingFlowRequest.ts +8 -2
- package/src/models/PauseMarketingFlowResponseBody.ts +32 -4
- package/src/models/PublishFlowRequest.ts +10 -2
- package/src/models/PublishFlowResponseBody.ts +8 -1
- package/src/models/QueryMmlactiveRequest.ts +4 -1
- package/src/models/QueryMmlactiveResponseBody.ts +32 -4
- 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 +37 -4
- package/src/models/ReadFlowVersionResponseBody.ts +30 -3
- package/src/models/ReadFlowVersionShrinkRequest.ts +37 -4
- package/src/models/RemoveContactByIdRequest.ts +6 -2
- package/src/models/RemoveContactByIdResponseBody.ts +34 -4
- 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 +222 -220
- package/src/models/SendChatappMessageResponseBody.ts +6 -6
- package/src/models/SendChatappMessageShrinkRequest.ts +215 -213
- package/src/models/SyncBusinessAppHistoryRequest.ts +2 -2
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +6 -8
- package/src/models/SyncFlowRequest.ts +2 -2
- package/src/models/SyncFlowResponseBody.ts +28 -1
- package/src/models/SyncMessengerSubscriptionTokenRequest.ts +2 -2
- package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +4 -4
- package/src/models/UnbindDmAccountRequest.ts +3 -1
- package/src/models/UnbindDmAccountResponseBody.ts +32 -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/UpdateContactByIdRequest.ts +30 -6
- package/src/models/UpdateContactByIdResponseBody.ts +34 -4
- package/src/models/UpdateContactByIdShrinkRequest.ts +30 -6
- 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 +47 -5
- package/src/models/UpdateFlowVersionResponseBody.ts +33 -3
- package/src/models/UpdateFlowVersionShrinkRequest.ts +47 -5
- package/src/models/UpdateGroupNameRequest.ts +6 -2
- package/src/models/UpdateGroupNameResponseBody.ts +34 -4
- 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/WhatsappCallRequest.ts +6 -8
- package/src/models/WhatsappCallResponseBody.ts +4 -6
- package/src/models/WhatsappCallShrinkRequest.ts +4 -6
- package/src/models/model.ts +22 -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
|
|
@@ -695,7 +693,7 @@ export default class Client extends OpenApi {
|
|
|
695
693
|
}
|
|
696
694
|
|
|
697
695
|
/**
|
|
698
|
-
*
|
|
696
|
+
* Creates a campaign.
|
|
699
697
|
*
|
|
700
698
|
* @param tmpReq - AddMarketingFlowRequest
|
|
701
699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -796,7 +794,7 @@ export default class Client extends OpenApi {
|
|
|
796
794
|
}
|
|
797
795
|
|
|
798
796
|
/**
|
|
799
|
-
*
|
|
797
|
+
* Creates a campaign.
|
|
800
798
|
*
|
|
801
799
|
* @param request - AddMarketingFlowRequest
|
|
802
800
|
* @returns AddMarketingFlowResponse
|
|
@@ -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
|
|
@@ -937,7 +995,7 @@ export default class Client extends OpenApi {
|
|
|
937
995
|
}
|
|
938
996
|
|
|
939
997
|
/**
|
|
940
|
-
*
|
|
998
|
+
* Binds the selected pageId.
|
|
941
999
|
*
|
|
942
1000
|
* @param request - BindMessengerPageRequest
|
|
943
1001
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -988,7 +1046,7 @@ export default class Client extends OpenApi {
|
|
|
988
1046
|
}
|
|
989
1047
|
|
|
990
1048
|
/**
|
|
991
|
-
*
|
|
1049
|
+
* Binds the selected pageId.
|
|
992
1050
|
*
|
|
993
1051
|
* @param request - BindMessengerPageRequest
|
|
994
1052
|
* @returns BindMessengerPageResponse
|
|
@@ -999,7 +1057,7 @@ export default class Client extends OpenApi {
|
|
|
999
1057
|
}
|
|
1000
1058
|
|
|
1001
1059
|
/**
|
|
1002
|
-
*
|
|
1060
|
+
* Moves a resource to a different resource group.
|
|
1003
1061
|
*
|
|
1004
1062
|
* @param request - ChangeResourceGroupRequest
|
|
1005
1063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1038,7 +1096,7 @@ export default class Client extends OpenApi {
|
|
|
1038
1096
|
}
|
|
1039
1097
|
|
|
1040
1098
|
/**
|
|
1041
|
-
*
|
|
1099
|
+
* Moves a resource to a different resource group.
|
|
1042
1100
|
*
|
|
1043
1101
|
* @param request - ChangeResourceGroupRequest
|
|
1044
1102
|
* @returns ChangeResourceGroupResponse
|
|
@@ -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
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1692
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1631
1693
|
*
|
|
1632
1694
|
* @param tmpReq - CreateChatFlowRequest
|
|
1633
1695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1641,6 +1703,10 @@ export default class Client extends OpenApi {
|
|
|
1641
1703
|
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1642
1704
|
}
|
|
1643
1705
|
|
|
1706
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1707
|
+
request.lifeCycleExtendDataShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1644
1710
|
let query = { };
|
|
1645
1711
|
if (!$dara.isNull(request.bizCode)) {
|
|
1646
1712
|
query["BizCode"] = request.bizCode;
|
|
@@ -1650,10 +1716,22 @@ export default class Client extends OpenApi {
|
|
|
1650
1716
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1651
1717
|
}
|
|
1652
1718
|
|
|
1719
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1720
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1724
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1653
1727
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1654
1728
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1655
1729
|
}
|
|
1656
1730
|
|
|
1731
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1732
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1657
1735
|
if (!$dara.isNull(request.ownerId)) {
|
|
1658
1736
|
query["OwnerId"] = request.ownerId;
|
|
1659
1737
|
}
|
|
@@ -1692,7 +1770,11 @@ export default class Client extends OpenApi {
|
|
|
1692
1770
|
}
|
|
1693
1771
|
|
|
1694
1772
|
/**
|
|
1695
|
-
*
|
|
1773
|
+
* Creates a flow.
|
|
1774
|
+
*
|
|
1775
|
+
* @remarks
|
|
1776
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1777
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1696
1778
|
*
|
|
1697
1779
|
* @param request - CreateChatFlowRequest
|
|
1698
1780
|
* @returns CreateChatFlowResponse
|
|
@@ -1703,7 +1785,12 @@ export default class Client extends OpenApi {
|
|
|
1703
1785
|
}
|
|
1704
1786
|
|
|
1705
1787
|
/**
|
|
1706
|
-
*
|
|
1788
|
+
* Creates and imports a flow.
|
|
1789
|
+
*
|
|
1790
|
+
* @remarks
|
|
1791
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1792
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1793
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1707
1794
|
*
|
|
1708
1795
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1709
1796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1768,7 +1855,12 @@ export default class Client extends OpenApi {
|
|
|
1768
1855
|
}
|
|
1769
1856
|
|
|
1770
1857
|
/**
|
|
1771
|
-
*
|
|
1858
|
+
* Creates and imports a flow.
|
|
1859
|
+
*
|
|
1860
|
+
* @remarks
|
|
1861
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1862
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1863
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1772
1864
|
*
|
|
1773
1865
|
* @param request - CreateChatFlowByImportRequest
|
|
1774
1866
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1779,7 +1871,13 @@ export default class Client extends OpenApi {
|
|
|
1779
1871
|
}
|
|
1780
1872
|
|
|
1781
1873
|
/**
|
|
1782
|
-
*
|
|
1874
|
+
* Creates a flow log setting.
|
|
1875
|
+
*
|
|
1876
|
+
* @remarks
|
|
1877
|
+
* - To update a flow log setting by using an API, you must first create a flow log setting. After the setting is created, you can call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the flow log setting information, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log setting.
|
|
1878
|
+
* - If you do not need to update the flow log setting by using an API, you can manually update the flow log information in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log** page.
|
|
1879
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1880
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1783
1881
|
*
|
|
1784
1882
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1785
1883
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1822,7 +1920,13 @@ export default class Client extends OpenApi {
|
|
|
1822
1920
|
}
|
|
1823
1921
|
|
|
1824
1922
|
/**
|
|
1825
|
-
*
|
|
1923
|
+
* Creates a flow log setting.
|
|
1924
|
+
*
|
|
1925
|
+
* @remarks
|
|
1926
|
+
* - To update a flow log setting by using an API, you must first create a flow log setting. After the setting is created, you can call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the flow log setting information, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log setting.
|
|
1927
|
+
* - If you do not need to update the flow log setting by using an API, you can manually update the flow log information in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log** page.
|
|
1928
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1929
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1826
1930
|
*
|
|
1827
1931
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1828
1932
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1901,13 +2005,13 @@ export default class Client extends OpenApi {
|
|
|
1901
2005
|
}
|
|
1902
2006
|
|
|
1903
2007
|
/**
|
|
1904
|
-
* Creates a message template. After
|
|
2008
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1905
2009
|
*
|
|
1906
2010
|
* @remarks
|
|
1907
2011
|
* ### QPS limit
|
|
1908
|
-
* The
|
|
1909
|
-
* ### Status
|
|
1910
|
-
* You can monitor template status and quality changes
|
|
2012
|
+
* 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.
|
|
2013
|
+
* ### Status changes
|
|
2014
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
1911
2015
|
*
|
|
1912
2016
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1913
2017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1925,57 +2029,61 @@ export default class Client extends OpenApi {
|
|
|
1925
2029
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
1926
2030
|
}
|
|
1927
2031
|
|
|
1928
|
-
let
|
|
2032
|
+
let query = { };
|
|
1929
2033
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
1930
|
-
|
|
2034
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
1931
2035
|
}
|
|
1932
2036
|
|
|
1933
2037
|
if (!$dara.isNull(request.category)) {
|
|
1934
|
-
|
|
2038
|
+
query["Category"] = request.category;
|
|
1935
2039
|
}
|
|
1936
2040
|
|
|
1937
2041
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
1938
|
-
|
|
2042
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
1939
2043
|
}
|
|
1940
2044
|
|
|
1941
2045
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
1942
|
-
|
|
2046
|
+
query["Components"] = request.componentsShrink;
|
|
1943
2047
|
}
|
|
1944
2048
|
|
|
1945
2049
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1946
|
-
|
|
2050
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1947
2051
|
}
|
|
1948
2052
|
|
|
1949
2053
|
if (!$dara.isNull(request.custWabaId)) {
|
|
1950
|
-
|
|
2054
|
+
query["CustWabaId"] = request.custWabaId;
|
|
1951
2055
|
}
|
|
1952
2056
|
|
|
1953
2057
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
1954
|
-
|
|
2058
|
+
query["Example"] = request.exampleShrink;
|
|
1955
2059
|
}
|
|
1956
2060
|
|
|
1957
2061
|
if (!$dara.isNull(request.isvCode)) {
|
|
1958
|
-
|
|
2062
|
+
query["IsvCode"] = request.isvCode;
|
|
1959
2063
|
}
|
|
1960
2064
|
|
|
1961
2065
|
if (!$dara.isNull(request.language)) {
|
|
1962
|
-
|
|
2066
|
+
query["Language"] = request.language;
|
|
1963
2067
|
}
|
|
1964
2068
|
|
|
1965
2069
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
1966
|
-
|
|
2070
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
1967
2071
|
}
|
|
1968
2072
|
|
|
1969
2073
|
if (!$dara.isNull(request.name)) {
|
|
1970
|
-
|
|
2074
|
+
query["Name"] = request.name;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
2078
|
+
query["ProductSetId"] = request.productSetId;
|
|
1971
2079
|
}
|
|
1972
2080
|
|
|
1973
2081
|
if (!$dara.isNull(request.templateType)) {
|
|
1974
|
-
|
|
2082
|
+
query["TemplateType"] = request.templateType;
|
|
1975
2083
|
}
|
|
1976
2084
|
|
|
1977
2085
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1978
|
-
|
|
2086
|
+
query: OpenApiUtil.query(query),
|
|
1979
2087
|
});
|
|
1980
2088
|
let params = new $OpenApiUtil.Params({
|
|
1981
2089
|
action: "CreateChatappTemplate",
|
|
@@ -1992,13 +2100,13 @@ export default class Client extends OpenApi {
|
|
|
1992
2100
|
}
|
|
1993
2101
|
|
|
1994
2102
|
/**
|
|
1995
|
-
* Creates a message template. After
|
|
2103
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1996
2104
|
*
|
|
1997
2105
|
* @remarks
|
|
1998
2106
|
* ### QPS limit
|
|
1999
|
-
* The
|
|
2000
|
-
* ### Status
|
|
2001
|
-
* You can monitor template status and quality changes
|
|
2107
|
+
* 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.
|
|
2108
|
+
* ### Status changes
|
|
2109
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
2002
2110
|
*
|
|
2003
2111
|
* @param request - CreateChatappTemplateRequest
|
|
2004
2112
|
* @returns CreateChatappTemplateResponse
|
|
@@ -2087,10 +2195,10 @@ export default class Client extends OpenApi {
|
|
|
2087
2195
|
}
|
|
2088
2196
|
|
|
2089
2197
|
/**
|
|
2090
|
-
* Creates a
|
|
2198
|
+
* Creates a Flow.
|
|
2091
2199
|
*
|
|
2092
2200
|
* @remarks
|
|
2093
|
-
* The
|
|
2201
|
+
* 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
2202
|
*
|
|
2095
2203
|
* @param tmpReq - CreateFlowRequest
|
|
2096
2204
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2151,10 +2259,10 @@ export default class Client extends OpenApi {
|
|
|
2151
2259
|
}
|
|
2152
2260
|
|
|
2153
2261
|
/**
|
|
2154
|
-
* Creates a
|
|
2262
|
+
* Creates a Flow.
|
|
2155
2263
|
*
|
|
2156
2264
|
* @remarks
|
|
2157
|
-
* The
|
|
2265
|
+
* 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
2266
|
*
|
|
2159
2267
|
* @param request - CreateFlowRequest
|
|
2160
2268
|
* @returns CreateFlowResponse
|
|
@@ -2165,7 +2273,12 @@ export default class Client extends OpenApi {
|
|
|
2165
2273
|
}
|
|
2166
2274
|
|
|
2167
2275
|
/**
|
|
2168
|
-
*
|
|
2276
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2277
|
+
*
|
|
2278
|
+
* @remarks
|
|
2279
|
+
* - You can call this operation to create a new flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the canvas orchestration page and manually copy a new flow version.
|
|
2280
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2281
|
+
* - 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 the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2169
2282
|
*
|
|
2170
2283
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2171
2284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2230,7 +2343,12 @@ export default class Client extends OpenApi {
|
|
|
2230
2343
|
}
|
|
2231
2344
|
|
|
2232
2345
|
/**
|
|
2233
|
-
*
|
|
2346
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2347
|
+
*
|
|
2348
|
+
* @remarks
|
|
2349
|
+
* - You can call this operation to create a new flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the canvas orchestration page and manually copy a new flow version.
|
|
2350
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2351
|
+
* - 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 the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2234
2352
|
*
|
|
2235
2353
|
* @param request - CreateFlowVersionRequest
|
|
2236
2354
|
* @returns CreateFlowVersionResponse
|
|
@@ -2393,7 +2511,7 @@ export default class Client extends OpenApi {
|
|
|
2393
2511
|
}
|
|
2394
2512
|
|
|
2395
2513
|
/**
|
|
2396
|
-
*
|
|
2514
|
+
* Authorizes an embedded messenger.
|
|
2397
2515
|
*
|
|
2398
2516
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2399
2517
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2458,7 +2576,7 @@ export default class Client extends OpenApi {
|
|
|
2458
2576
|
}
|
|
2459
2577
|
|
|
2460
2578
|
/**
|
|
2461
|
-
*
|
|
2579
|
+
* Authorizes an embedded messenger.
|
|
2462
2580
|
*
|
|
2463
2581
|
* @param request - CreateMessengerPageRequest
|
|
2464
2582
|
* @returns CreateMessengerPageResponse
|
|
@@ -2472,12 +2590,14 @@ export default class Client extends OpenApi {
|
|
|
2472
2590
|
* Creates a message QR code.
|
|
2473
2591
|
*
|
|
2474
2592
|
* @remarks
|
|
2475
|
-
* - After
|
|
2476
|
-
* - Before calling this
|
|
2477
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2478
|
-
*
|
|
2593
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2594
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2595
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2596
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2597
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2598
|
+
* page.
|
|
2479
2599
|
* #### QPS limit
|
|
2480
|
-
*
|
|
2600
|
+
* 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.
|
|
2481
2601
|
*
|
|
2482
2602
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2483
2603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2535,12 +2655,14 @@ export default class Client extends OpenApi {
|
|
|
2535
2655
|
* Creates a message QR code.
|
|
2536
2656
|
*
|
|
2537
2657
|
* @remarks
|
|
2538
|
-
* - After
|
|
2539
|
-
* - Before calling this
|
|
2540
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2541
|
-
*
|
|
2658
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2659
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2660
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2661
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2662
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2663
|
+
* page.
|
|
2542
2664
|
* #### QPS limit
|
|
2543
|
-
*
|
|
2665
|
+
* 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.
|
|
2544
2666
|
*
|
|
2545
2667
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2546
2668
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2551,7 +2673,7 @@ export default class Client extends OpenApi {
|
|
|
2551
2673
|
}
|
|
2552
2674
|
|
|
2553
2675
|
/**
|
|
2554
|
-
*
|
|
2676
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2555
2677
|
*
|
|
2556
2678
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2557
2679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2608,7 +2730,7 @@ export default class Client extends OpenApi {
|
|
|
2608
2730
|
}
|
|
2609
2731
|
|
|
2610
2732
|
/**
|
|
2611
|
-
*
|
|
2733
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2612
2734
|
*
|
|
2613
2735
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2614
2736
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2619,7 +2741,12 @@ export default class Client extends OpenApi {
|
|
|
2619
2741
|
}
|
|
2620
2742
|
|
|
2621
2743
|
/**
|
|
2622
|
-
*
|
|
2744
|
+
* Deletes a flow.
|
|
2745
|
+
*
|
|
2746
|
+
* @remarks
|
|
2747
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2748
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2749
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2623
2750
|
*
|
|
2624
2751
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2625
2752
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2676,7 +2803,12 @@ export default class Client extends OpenApi {
|
|
|
2676
2803
|
}
|
|
2677
2804
|
|
|
2678
2805
|
/**
|
|
2679
|
-
*
|
|
2806
|
+
* Deletes a flow.
|
|
2807
|
+
*
|
|
2808
|
+
* @remarks
|
|
2809
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2810
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2811
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2680
2812
|
*
|
|
2681
2813
|
* @param request - DeleteChatFlowRequest
|
|
2682
2814
|
* @returns DeleteChatFlowResponse
|
|
@@ -2687,14 +2819,13 @@ export default class Client extends OpenApi {
|
|
|
2687
2819
|
}
|
|
2688
2820
|
|
|
2689
2821
|
/**
|
|
2690
|
-
* Deletes
|
|
2822
|
+
* Deletes a successfully created IM group.
|
|
2691
2823
|
*
|
|
2692
2824
|
* @remarks
|
|
2693
|
-
* >Notice:
|
|
2694
|
-
*
|
|
2695
|
-
* -
|
|
2696
|
-
* -
|
|
2697
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2825
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2826
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2827
|
+
* - 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.
|
|
2828
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2698
2829
|
*
|
|
2699
2830
|
* @param request - DeleteChatGroupRequest
|
|
2700
2831
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2749,14 +2880,13 @@ export default class Client extends OpenApi {
|
|
|
2749
2880
|
}
|
|
2750
2881
|
|
|
2751
2882
|
/**
|
|
2752
|
-
* Deletes
|
|
2883
|
+
* Deletes a successfully created IM group.
|
|
2753
2884
|
*
|
|
2754
2885
|
* @remarks
|
|
2755
|
-
* >Notice:
|
|
2756
|
-
*
|
|
2757
|
-
* -
|
|
2758
|
-
* -
|
|
2759
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2886
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2887
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2888
|
+
* - 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.
|
|
2889
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2760
2890
|
*
|
|
2761
2891
|
* @param request - DeleteChatGroupRequest
|
|
2762
2892
|
* @returns DeleteChatGroupResponse
|
|
@@ -2770,11 +2900,10 @@ export default class Client extends OpenApi {
|
|
|
2770
2900
|
* Deletes an IM group invitation link.
|
|
2771
2901
|
*
|
|
2772
2902
|
* @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.
|
|
2903
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2904
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2905
|
+
* - 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.
|
|
2906
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2778
2907
|
*
|
|
2779
2908
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2780
2909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2832,11 +2961,10 @@ export default class Client extends OpenApi {
|
|
|
2832
2961
|
* Deletes an IM group invitation link.
|
|
2833
2962
|
*
|
|
2834
2963
|
* @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.
|
|
2964
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2965
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2966
|
+
* - 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.
|
|
2967
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2840
2968
|
*
|
|
2841
2969
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2842
2970
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -3023,7 +3151,7 @@ export default class Client extends OpenApi {
|
|
|
3023
3151
|
}
|
|
3024
3152
|
|
|
3025
3153
|
/**
|
|
3026
|
-
*
|
|
3154
|
+
* Deletes a contact from the contact list.
|
|
3027
3155
|
*
|
|
3028
3156
|
* @param tmpReq - DeleteContactsRequest
|
|
3029
3157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3092,7 +3220,7 @@ export default class Client extends OpenApi {
|
|
|
3092
3220
|
}
|
|
3093
3221
|
|
|
3094
3222
|
/**
|
|
3095
|
-
*
|
|
3223
|
+
* Deletes a contact from the contact list.
|
|
3096
3224
|
*
|
|
3097
3225
|
* @param request - DeleteContactsRequest
|
|
3098
3226
|
* @returns DeleteContactsResponse
|
|
@@ -3103,7 +3231,7 @@ export default class Client extends OpenApi {
|
|
|
3103
3231
|
}
|
|
3104
3232
|
|
|
3105
3233
|
/**
|
|
3106
|
-
*
|
|
3234
|
+
* Deletes contacts by selecting and removing them.
|
|
3107
3235
|
*
|
|
3108
3236
|
* @param request - DeleteContactsByIdsRequest
|
|
3109
3237
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3146,7 +3274,7 @@ export default class Client extends OpenApi {
|
|
|
3146
3274
|
}
|
|
3147
3275
|
|
|
3148
3276
|
/**
|
|
3149
|
-
*
|
|
3277
|
+
* Deletes contacts by selecting and removing them.
|
|
3150
3278
|
*
|
|
3151
3279
|
* @param request - DeleteContactsByIdsRequest
|
|
3152
3280
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -3157,10 +3285,10 @@ export default class Client extends OpenApi {
|
|
|
3157
3285
|
}
|
|
3158
3286
|
|
|
3159
3287
|
/**
|
|
3160
|
-
* Deletes a
|
|
3288
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3161
3289
|
*
|
|
3162
3290
|
* @remarks
|
|
3163
|
-
*
|
|
3291
|
+
* 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
3292
|
*
|
|
3165
3293
|
* @param request - DeleteFlowRequest
|
|
3166
3294
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3207,10 +3335,10 @@ export default class Client extends OpenApi {
|
|
|
3207
3335
|
}
|
|
3208
3336
|
|
|
3209
3337
|
/**
|
|
3210
|
-
* Deletes a
|
|
3338
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3211
3339
|
*
|
|
3212
3340
|
* @remarks
|
|
3213
|
-
*
|
|
3341
|
+
* 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
3342
|
*
|
|
3215
3343
|
* @param request - DeleteFlowRequest
|
|
3216
3344
|
* @returns DeleteFlowResponse
|
|
@@ -3221,7 +3349,13 @@ export default class Client extends OpenApi {
|
|
|
3221
3349
|
}
|
|
3222
3350
|
|
|
3223
3351
|
/**
|
|
3224
|
-
*
|
|
3352
|
+
* Deletes a flow version.
|
|
3353
|
+
*
|
|
3354
|
+
* @remarks
|
|
3355
|
+
* - 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.
|
|
3356
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3357
|
+
* - 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.
|
|
3358
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3225
3359
|
*
|
|
3226
3360
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
3227
3361
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3282,7 +3416,13 @@ export default class Client extends OpenApi {
|
|
|
3282
3416
|
}
|
|
3283
3417
|
|
|
3284
3418
|
/**
|
|
3285
|
-
*
|
|
3419
|
+
* Deletes a flow version.
|
|
3420
|
+
*
|
|
3421
|
+
* @remarks
|
|
3422
|
+
* - 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.
|
|
3423
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3424
|
+
* - 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.
|
|
3425
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3286
3426
|
*
|
|
3287
3427
|
* @param request - DeleteFlowVersionRequest
|
|
3288
3428
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3293,7 +3433,7 @@ export default class Client extends OpenApi {
|
|
|
3293
3433
|
}
|
|
3294
3434
|
|
|
3295
3435
|
/**
|
|
3296
|
-
*
|
|
3436
|
+
* Deletes a group.
|
|
3297
3437
|
*
|
|
3298
3438
|
* @param request - DeleteGroupByIdRequest
|
|
3299
3439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3336,7 +3476,7 @@ export default class Client extends OpenApi {
|
|
|
3336
3476
|
}
|
|
3337
3477
|
|
|
3338
3478
|
/**
|
|
3339
|
-
*
|
|
3479
|
+
* Deletes a group.
|
|
3340
3480
|
*
|
|
3341
3481
|
* @param request - DeleteGroupByIdRequest
|
|
3342
3482
|
* @returns DeleteGroupByIdResponse
|
|
@@ -3347,7 +3487,7 @@ export default class Client extends OpenApi {
|
|
|
3347
3487
|
}
|
|
3348
3488
|
|
|
3349
3489
|
/**
|
|
3350
|
-
*
|
|
3490
|
+
* Deletes a page from an Instagram instance.
|
|
3351
3491
|
*
|
|
3352
3492
|
* @param request - DeleteInstagramPageRequest
|
|
3353
3493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3394,7 +3534,7 @@ export default class Client extends OpenApi {
|
|
|
3394
3534
|
}
|
|
3395
3535
|
|
|
3396
3536
|
/**
|
|
3397
|
-
*
|
|
3537
|
+
* Deletes a page from an Instagram instance.
|
|
3398
3538
|
*
|
|
3399
3539
|
* @param request - DeleteInstagramPageRequest
|
|
3400
3540
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3447,7 +3587,7 @@ export default class Client extends OpenApi {
|
|
|
3447
3587
|
}
|
|
3448
3588
|
|
|
3449
3589
|
/**
|
|
3450
|
-
*
|
|
3590
|
+
* Deletes a marketing campaign.
|
|
3451
3591
|
*
|
|
3452
3592
|
* @param request - DeleteMarketingFlowRequest
|
|
3453
3593
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3494,7 +3634,7 @@ export default class Client extends OpenApi {
|
|
|
3494
3634
|
}
|
|
3495
3635
|
|
|
3496
3636
|
/**
|
|
3497
|
-
*
|
|
3637
|
+
* Deletes a marketing campaign.
|
|
3498
3638
|
*
|
|
3499
3639
|
* @param request - DeleteMarketingFlowRequest
|
|
3500
3640
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -3571,7 +3711,7 @@ export default class Client extends OpenApi {
|
|
|
3571
3711
|
}
|
|
3572
3712
|
|
|
3573
3713
|
/**
|
|
3574
|
-
*
|
|
3714
|
+
* Deletes a Messenger page.
|
|
3575
3715
|
*
|
|
3576
3716
|
* @param request - DeleteMessengerPageRequest
|
|
3577
3717
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3618,7 +3758,7 @@ export default class Client extends OpenApi {
|
|
|
3618
3758
|
}
|
|
3619
3759
|
|
|
3620
3760
|
/**
|
|
3621
|
-
*
|
|
3761
|
+
* Deletes a Messenger page.
|
|
3622
3762
|
*
|
|
3623
3763
|
* @param request - DeleteMessengerPageRequest
|
|
3624
3764
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3632,10 +3772,11 @@ export default class Client extends OpenApi {
|
|
|
3632
3772
|
* Deletes a message QR code.
|
|
3633
3773
|
*
|
|
3634
3774
|
* @remarks
|
|
3635
|
-
* - After a message QR code
|
|
3636
|
-
* -
|
|
3637
|
-
*
|
|
3638
|
-
*
|
|
3775
|
+
* - 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.
|
|
3776
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3777
|
+
* - 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.
|
|
3778
|
+
* #### QPS limit
|
|
3779
|
+
* 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
3780
|
*
|
|
3640
3781
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3641
3782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3689,10 +3830,11 @@ export default class Client extends OpenApi {
|
|
|
3689
3830
|
* Deletes a message QR code.
|
|
3690
3831
|
*
|
|
3691
3832
|
* @remarks
|
|
3692
|
-
* - After a message QR code
|
|
3693
|
-
* -
|
|
3694
|
-
*
|
|
3695
|
-
*
|
|
3833
|
+
* - 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.
|
|
3834
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3835
|
+
* - 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.
|
|
3836
|
+
* #### QPS limit
|
|
3837
|
+
* 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
3838
|
*
|
|
3697
3839
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3698
3840
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3703,10 +3845,56 @@ export default class Client extends OpenApi {
|
|
|
3703
3845
|
}
|
|
3704
3846
|
|
|
3705
3847
|
/**
|
|
3706
|
-
*
|
|
3848
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3849
|
+
*
|
|
3850
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3851
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3852
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3853
|
+
*/
|
|
3854
|
+
async deleteWhatsappUserNameWithOptions(request: $_model.DeleteWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3855
|
+
request.validate();
|
|
3856
|
+
let query = { };
|
|
3857
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3858
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3862
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3863
|
+
}
|
|
3864
|
+
|
|
3865
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3866
|
+
query: OpenApiUtil.query(query),
|
|
3867
|
+
});
|
|
3868
|
+
let params = new $OpenApiUtil.Params({
|
|
3869
|
+
action: "DeleteWhatsappUserName",
|
|
3870
|
+
version: "2020-06-06",
|
|
3871
|
+
protocol: "HTTPS",
|
|
3872
|
+
pathname: "/",
|
|
3873
|
+
method: "POST",
|
|
3874
|
+
authType: "AK",
|
|
3875
|
+
style: "RPC",
|
|
3876
|
+
reqBodyType: "formData",
|
|
3877
|
+
bodyType: "json",
|
|
3878
|
+
});
|
|
3879
|
+
return $dara.cast<$_model.DeleteWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3884
|
+
*
|
|
3885
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3886
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3887
|
+
*/
|
|
3888
|
+
async deleteWhatsappUserName(request: $_model.DeleteWhatsappUserNameRequest): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3889
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3890
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3891
|
+
}
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* Deprecates a Flow.
|
|
3707
3895
|
*
|
|
3708
3896
|
* @remarks
|
|
3709
|
-
*
|
|
3897
|
+
* 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.
|
|
3710
3898
|
*
|
|
3711
3899
|
* @param request - DeprecateFlowRequest
|
|
3712
3900
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3753,10 +3941,10 @@ export default class Client extends OpenApi {
|
|
|
3753
3941
|
}
|
|
3754
3942
|
|
|
3755
3943
|
/**
|
|
3756
|
-
* Deprecates a
|
|
3944
|
+
* Deprecates a Flow.
|
|
3757
3945
|
*
|
|
3758
3946
|
* @remarks
|
|
3759
|
-
*
|
|
3947
|
+
* 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.
|
|
3760
3948
|
*
|
|
3761
3949
|
* @param request - DeprecateFlowRequest
|
|
3762
3950
|
* @returns DeprecateFlowResponse
|
|
@@ -3767,14 +3955,14 @@ export default class Client extends OpenApi {
|
|
|
3767
3955
|
}
|
|
3768
3956
|
|
|
3769
3957
|
/**
|
|
3770
|
-
* Enables
|
|
3958
|
+
* Enables WhatsApp-related metric collection.
|
|
3771
3959
|
*
|
|
3772
3960
|
* @remarks
|
|
3773
|
-
* - Before
|
|
3774
|
-
* - After you enable
|
|
3775
|
-
* - After you enable
|
|
3961
|
+
* - 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.
|
|
3962
|
+
* - 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.
|
|
3963
|
+
* - 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
3964
|
* ### QPS limit
|
|
3777
|
-
*
|
|
3965
|
+
* 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
3966
|
*
|
|
3779
3967
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3780
3968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3821,14 +4009,14 @@ export default class Client extends OpenApi {
|
|
|
3821
4009
|
}
|
|
3822
4010
|
|
|
3823
4011
|
/**
|
|
3824
|
-
* Enables
|
|
4012
|
+
* Enables WhatsApp-related metric collection.
|
|
3825
4013
|
*
|
|
3826
4014
|
* @remarks
|
|
3827
|
-
* - Before
|
|
3828
|
-
* - After you enable
|
|
3829
|
-
* - After you enable
|
|
4015
|
+
* - 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.
|
|
4016
|
+
* - 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.
|
|
4017
|
+
* - 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
4018
|
* ### QPS limit
|
|
3831
|
-
*
|
|
4019
|
+
* 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
4020
|
*
|
|
3833
4021
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3834
4022
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3839,7 +4027,15 @@ export default class Client extends OpenApi {
|
|
|
3839
4027
|
}
|
|
3840
4028
|
|
|
3841
4029
|
/**
|
|
3842
|
-
* flow
|
|
4030
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4031
|
+
*
|
|
4032
|
+
* @remarks
|
|
4033
|
+
* - You can call this operation to bind a phone number or merchant account ID to a flow, or manually bind them in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4034
|
+
* - Before calling this operation, make sure that you have a successfully created flow and a successfully created message channel that corresponds to the flow type.
|
|
4035
|
+
* - For the WhatsApp channel type, 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).
|
|
4036
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4037
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4038
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3843
4039
|
*
|
|
3844
4040
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3845
4041
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3849,6 +4045,10 @@ export default class Client extends OpenApi {
|
|
|
3849
4045
|
tmpReq.validate();
|
|
3850
4046
|
let request = new $_model.FlowBindPhoneShrinkRequest({ });
|
|
3851
4047
|
OpenApiUtil.convert(tmpReq, request);
|
|
4048
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4049
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4050
|
+
}
|
|
4051
|
+
|
|
3852
4052
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3853
4053
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3854
4054
|
}
|
|
@@ -3870,6 +4070,10 @@ export default class Client extends OpenApi {
|
|
|
3870
4070
|
query["FlowVersion"] = request.flowVersion;
|
|
3871
4071
|
}
|
|
3872
4072
|
|
|
4073
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4074
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4075
|
+
}
|
|
4076
|
+
|
|
3873
4077
|
if (!$dara.isNull(request.ownerId)) {
|
|
3874
4078
|
query["OwnerId"] = request.ownerId;
|
|
3875
4079
|
}
|
|
@@ -3908,7 +4112,15 @@ export default class Client extends OpenApi {
|
|
|
3908
4112
|
}
|
|
3909
4113
|
|
|
3910
4114
|
/**
|
|
3911
|
-
* flow
|
|
4115
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4116
|
+
*
|
|
4117
|
+
* @remarks
|
|
4118
|
+
* - You can call this operation to bind a phone number or merchant account ID to a flow, or manually bind them in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4119
|
+
* - Before calling this operation, make sure that you have a successfully created flow and a successfully created message channel that corresponds to the flow type.
|
|
4120
|
+
* - For the WhatsApp channel type, 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).
|
|
4121
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4122
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4123
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3912
4124
|
*
|
|
3913
4125
|
* @param request - FlowBindPhoneRequest
|
|
3914
4126
|
* @returns FlowBindPhoneResponse
|
|
@@ -3919,7 +4131,12 @@ export default class Client extends OpenApi {
|
|
|
3919
4131
|
}
|
|
3920
4132
|
|
|
3921
4133
|
/**
|
|
3922
|
-
* flow
|
|
4134
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4135
|
+
*
|
|
4136
|
+
* @remarks
|
|
4137
|
+
* - 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 in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
4138
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4139
|
+
* - 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
4140
|
*
|
|
3924
4141
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3925
4142
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3929,6 +4146,10 @@ export default class Client extends OpenApi {
|
|
|
3929
4146
|
tmpReq.validate();
|
|
3930
4147
|
let request = new $_model.FlowRebindPhoneShrinkRequest({ });
|
|
3931
4148
|
OpenApiUtil.convert(tmpReq, request);
|
|
4149
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4150
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4151
|
+
}
|
|
4152
|
+
|
|
3932
4153
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3933
4154
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3934
4155
|
}
|
|
@@ -3950,6 +4171,10 @@ export default class Client extends OpenApi {
|
|
|
3950
4171
|
query["FlowVersion"] = request.flowVersion;
|
|
3951
4172
|
}
|
|
3952
4173
|
|
|
4174
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4175
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4176
|
+
}
|
|
4177
|
+
|
|
3953
4178
|
if (!$dara.isNull(request.ownerId)) {
|
|
3954
4179
|
query["OwnerId"] = request.ownerId;
|
|
3955
4180
|
}
|
|
@@ -3988,7 +4213,12 @@ export default class Client extends OpenApi {
|
|
|
3988
4213
|
}
|
|
3989
4214
|
|
|
3990
4215
|
/**
|
|
3991
|
-
* flow
|
|
4216
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4217
|
+
*
|
|
4218
|
+
* @remarks
|
|
4219
|
+
* - 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 in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
4220
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4221
|
+
* - 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
4222
|
*
|
|
3993
4223
|
* @param request - FlowRebindPhoneRequest
|
|
3994
4224
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3999,7 +4229,14 @@ export default class Client extends OpenApi {
|
|
|
3999
4229
|
}
|
|
4000
4230
|
|
|
4001
4231
|
/**
|
|
4002
|
-
* flow
|
|
4232
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4233
|
+
*
|
|
4234
|
+
* @remarks
|
|
4235
|
+
* - Before calling this operation, make sure your flow is in the offline state. If your flow is in the online state, go to the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4236
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate them on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4237
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
4238
|
+
* - If you have not associated a phone number or merchant account ID, you can manually associate one on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4239
|
+
* - After dissociating a phone number or merchant account ID from a flow, the flow cannot be published. You must re-associate a phone number or merchant account ID before the flow can be published.
|
|
4003
4240
|
*
|
|
4004
4241
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4005
4242
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4060,7 +4297,14 @@ export default class Client extends OpenApi {
|
|
|
4060
4297
|
}
|
|
4061
4298
|
|
|
4062
4299
|
/**
|
|
4063
|
-
* flow
|
|
4300
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4301
|
+
*
|
|
4302
|
+
* @remarks
|
|
4303
|
+
* - Before calling this operation, make sure your flow is in the offline state. If your flow is in the online state, go to the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4304
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate them on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4305
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
4306
|
+
* - If you have not associated a phone number or merchant account ID, you can manually associate one on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4307
|
+
* - After dissociating a phone number or merchant account ID from a flow, the flow cannot be published. You must re-associate a phone number or merchant account ID before the flow can be published.
|
|
4064
4308
|
*
|
|
4065
4309
|
* @param request - FlowUnbindPhoneRequest
|
|
4066
4310
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4071,7 +4315,7 @@ export default class Client extends OpenApi {
|
|
|
4071
4315
|
}
|
|
4072
4316
|
|
|
4073
4317
|
/**
|
|
4074
|
-
*
|
|
4318
|
+
* Retrieves a temporary URL.
|
|
4075
4319
|
*
|
|
4076
4320
|
* @param request - GeneratePresignedUrlRequest
|
|
4077
4321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4114,7 +4358,7 @@ export default class Client extends OpenApi {
|
|
|
4114
4358
|
}
|
|
4115
4359
|
|
|
4116
4360
|
/**
|
|
4117
|
-
*
|
|
4361
|
+
* Retrieves a temporary URL.
|
|
4118
4362
|
*
|
|
4119
4363
|
* @param request - GeneratePresignedUrlRequest
|
|
4120
4364
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -4125,7 +4369,7 @@ export default class Client extends OpenApi {
|
|
|
4125
4369
|
}
|
|
4126
4370
|
|
|
4127
4371
|
/**
|
|
4128
|
-
*
|
|
4372
|
+
* Queries pending review tickets for an individual by type.
|
|
4129
4373
|
*
|
|
4130
4374
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4131
4375
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4172,7 +4416,7 @@ export default class Client extends OpenApi {
|
|
|
4172
4416
|
}
|
|
4173
4417
|
|
|
4174
4418
|
/**
|
|
4175
|
-
*
|
|
4419
|
+
* Queries pending review tickets for an individual by type.
|
|
4176
4420
|
*
|
|
4177
4421
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4178
4422
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4233,7 +4477,13 @@ export default class Client extends OpenApi {
|
|
|
4233
4477
|
}
|
|
4234
4478
|
|
|
4235
4479
|
/**
|
|
4236
|
-
*
|
|
4480
|
+
* Retrieves ChatFlow runtime data.
|
|
4481
|
+
*
|
|
4482
|
+
* @remarks
|
|
4483
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4484
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4485
|
+
* - 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 marketing activity.
|
|
4486
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
4237
4487
|
*
|
|
4238
4488
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4239
4489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4314,7 +4564,13 @@ export default class Client extends OpenApi {
|
|
|
4314
4564
|
}
|
|
4315
4565
|
|
|
4316
4566
|
/**
|
|
4317
|
-
*
|
|
4567
|
+
* Retrieves ChatFlow runtime data.
|
|
4568
|
+
*
|
|
4569
|
+
* @remarks
|
|
4570
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4571
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4572
|
+
* - 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 marketing activity.
|
|
4573
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
4318
4574
|
*
|
|
4319
4575
|
* @param request - GetChatFlowMetricRequest
|
|
4320
4576
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4325,7 +4581,11 @@ export default class Client extends OpenApi {
|
|
|
4325
4581
|
}
|
|
4326
4582
|
|
|
4327
4583
|
/**
|
|
4328
|
-
*
|
|
4584
|
+
* Queries the details of a flow template.
|
|
4585
|
+
*
|
|
4586
|
+
* @remarks
|
|
4587
|
+
* - You can call this operation to query the details of a flow template. You can also view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4588
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4329
4589
|
*
|
|
4330
4590
|
* @param request - GetChatFlowTemplateRequest
|
|
4331
4591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4372,7 +4632,11 @@ export default class Client extends OpenApi {
|
|
|
4372
4632
|
}
|
|
4373
4633
|
|
|
4374
4634
|
/**
|
|
4375
|
-
*
|
|
4635
|
+
* Queries the details of a flow template.
|
|
4636
|
+
*
|
|
4637
|
+
* @remarks
|
|
4638
|
+
* - You can call this operation to query the details of a flow template. You can also view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4639
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4376
4640
|
*
|
|
4377
4641
|
* @param request - GetChatFlowTemplateRequest
|
|
4378
4642
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4383,7 +4647,7 @@ export default class Client extends OpenApi {
|
|
|
4383
4647
|
}
|
|
4384
4648
|
|
|
4385
4649
|
/**
|
|
4386
|
-
*
|
|
4650
|
+
* Queries the activation status of ChatApp.
|
|
4387
4651
|
*
|
|
4388
4652
|
* @param request - GetChatappOpenStatusRequest
|
|
4389
4653
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4422,7 +4686,7 @@ export default class Client extends OpenApi {
|
|
|
4422
4686
|
}
|
|
4423
4687
|
|
|
4424
4688
|
/**
|
|
4425
|
-
*
|
|
4689
|
+
* Queries the activation status of ChatApp.
|
|
4426
4690
|
*
|
|
4427
4691
|
* @param request - GetChatappOpenStatusRequest
|
|
4428
4692
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -4433,14 +4697,15 @@ export default class Client extends OpenApi {
|
|
|
4433
4697
|
}
|
|
4434
4698
|
|
|
4435
4699
|
/**
|
|
4436
|
-
* Queries the message sending metrics for a phone number
|
|
4700
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4437
4701
|
*
|
|
4438
4702
|
* @remarks
|
|
4439
|
-
* -
|
|
4440
|
-
* -
|
|
4441
|
-
* -
|
|
4703
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4704
|
+
* - 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.
|
|
4705
|
+
* - 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.
|
|
4706
|
+
* - 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
4707
|
* ### QPS limit
|
|
4443
|
-
*
|
|
4708
|
+
* 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
4709
|
*
|
|
4445
4710
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4446
4711
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4503,14 +4768,15 @@ export default class Client extends OpenApi {
|
|
|
4503
4768
|
}
|
|
4504
4769
|
|
|
4505
4770
|
/**
|
|
4506
|
-
* Queries the message sending metrics for a phone number
|
|
4771
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4507
4772
|
*
|
|
4508
4773
|
* @remarks
|
|
4509
|
-
* -
|
|
4510
|
-
* -
|
|
4511
|
-
* -
|
|
4774
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4775
|
+
* - 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.
|
|
4776
|
+
* - 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.
|
|
4777
|
+
* - 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
4778
|
* ### QPS limit
|
|
4513
|
-
*
|
|
4779
|
+
* 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
4780
|
*
|
|
4515
4781
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4516
4782
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -4521,7 +4787,7 @@ export default class Client extends OpenApi {
|
|
|
4521
4787
|
}
|
|
4522
4788
|
|
|
4523
4789
|
/**
|
|
4524
|
-
*
|
|
4790
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4525
4791
|
*
|
|
4526
4792
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4527
4793
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4568,7 +4834,7 @@ export default class Client extends OpenApi {
|
|
|
4568
4834
|
}
|
|
4569
4835
|
|
|
4570
4836
|
/**
|
|
4571
|
-
*
|
|
4837
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4572
4838
|
*
|
|
4573
4839
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4574
4840
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4579,11 +4845,11 @@ export default class Client extends OpenApi {
|
|
|
4579
4845
|
}
|
|
4580
4846
|
|
|
4581
4847
|
/**
|
|
4582
|
-
*
|
|
4848
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4583
4849
|
*
|
|
4584
4850
|
* @remarks
|
|
4585
4851
|
* ### QPS limit
|
|
4586
|
-
*
|
|
4852
|
+
* 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 operation appropriately.
|
|
4587
4853
|
*
|
|
4588
4854
|
* @param request - GetChatappTemplateDetailRequest
|
|
4589
4855
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4638,11 +4904,11 @@ export default class Client extends OpenApi {
|
|
|
4638
4904
|
}
|
|
4639
4905
|
|
|
4640
4906
|
/**
|
|
4641
|
-
*
|
|
4907
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4642
4908
|
*
|
|
4643
4909
|
* @remarks
|
|
4644
4910
|
* ### QPS limit
|
|
4645
|
-
*
|
|
4911
|
+
* 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 operation appropriately.
|
|
4646
4912
|
*
|
|
4647
4913
|
* @param request - GetChatappTemplateDetailRequest
|
|
4648
4914
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4653,14 +4919,14 @@ export default class Client extends OpenApi {
|
|
|
4653
4919
|
}
|
|
4654
4920
|
|
|
4655
4921
|
/**
|
|
4656
|
-
*
|
|
4922
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4657
4923
|
*
|
|
4658
4924
|
* @remarks
|
|
4659
|
-
* - This
|
|
4660
|
-
* - Before
|
|
4661
|
-
* - After
|
|
4662
|
-
* ### QPS
|
|
4663
|
-
*
|
|
4925
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4926
|
+
* - 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.
|
|
4927
|
+
* - 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.
|
|
4928
|
+
* ### QPS limit
|
|
4929
|
+
* 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
4930
|
*
|
|
4665
4931
|
* @param request - GetChatappTemplateMetricRequest
|
|
4666
4932
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4731,14 +4997,14 @@ export default class Client extends OpenApi {
|
|
|
4731
4997
|
}
|
|
4732
4998
|
|
|
4733
4999
|
/**
|
|
4734
|
-
*
|
|
5000
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4735
5001
|
*
|
|
4736
5002
|
* @remarks
|
|
4737
|
-
* - This
|
|
4738
|
-
* - Before
|
|
4739
|
-
* - After
|
|
4740
|
-
* ### QPS
|
|
4741
|
-
*
|
|
5003
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
5004
|
+
* - 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.
|
|
5005
|
+
* - 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.
|
|
5006
|
+
* ### QPS limit
|
|
5007
|
+
* 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
5008
|
*
|
|
4743
5009
|
* @param request - GetChatappTemplateMetricRequest
|
|
4744
5010
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -5013,7 +5279,7 @@ export default class Client extends OpenApi {
|
|
|
5013
5279
|
}
|
|
5014
5280
|
|
|
5015
5281
|
/**
|
|
5016
|
-
*
|
|
5282
|
+
* Queries the source site of a customer.
|
|
5017
5283
|
*
|
|
5018
5284
|
* @param request - GetCustomerSiteRequest
|
|
5019
5285
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5052,7 +5318,7 @@ export default class Client extends OpenApi {
|
|
|
5052
5318
|
}
|
|
5053
5319
|
|
|
5054
5320
|
/**
|
|
5055
|
-
*
|
|
5321
|
+
* Queries the source site of a customer.
|
|
5056
5322
|
*
|
|
5057
5323
|
* @param request - GetCustomerSiteRequest
|
|
5058
5324
|
* @returns GetCustomerSiteResponse
|
|
@@ -5063,7 +5329,7 @@ export default class Client extends OpenApi {
|
|
|
5063
5329
|
}
|
|
5064
5330
|
|
|
5065
5331
|
/**
|
|
5066
|
-
*
|
|
5332
|
+
* Downloads Excel data.
|
|
5067
5333
|
*
|
|
5068
5334
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
5069
5335
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5148,7 +5414,7 @@ export default class Client extends OpenApi {
|
|
|
5148
5414
|
}
|
|
5149
5415
|
|
|
5150
5416
|
/**
|
|
5151
|
-
*
|
|
5417
|
+
* Downloads Excel data.
|
|
5152
5418
|
*
|
|
5153
5419
|
* @param request - GetDownloadExcelListRequest
|
|
5154
5420
|
* @returns GetDownloadExcelListResponse
|
|
@@ -5159,7 +5425,7 @@ export default class Client extends OpenApi {
|
|
|
5159
5425
|
}
|
|
5160
5426
|
|
|
5161
5427
|
/**
|
|
5162
|
-
*
|
|
5428
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5163
5429
|
*
|
|
5164
5430
|
* @param request - GetFbInstagramPagesRequest
|
|
5165
5431
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5206,7 +5472,7 @@ export default class Client extends OpenApi {
|
|
|
5206
5472
|
}
|
|
5207
5473
|
|
|
5208
5474
|
/**
|
|
5209
|
-
*
|
|
5475
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5210
5476
|
*
|
|
5211
5477
|
* @param request - GetFbInstagramPagesRequest
|
|
5212
5478
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5217,7 +5483,7 @@ export default class Client extends OpenApi {
|
|
|
5217
5483
|
}
|
|
5218
5484
|
|
|
5219
5485
|
/**
|
|
5220
|
-
*
|
|
5486
|
+
* Retrieves the list of Facebook page IDs.
|
|
5221
5487
|
*
|
|
5222
5488
|
* @param request - GetFbMessengerPagesRequest
|
|
5223
5489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5264,7 +5530,7 @@ export default class Client extends OpenApi {
|
|
|
5264
5530
|
}
|
|
5265
5531
|
|
|
5266
5532
|
/**
|
|
5267
|
-
*
|
|
5533
|
+
* Retrieves the list of Facebook page IDs.
|
|
5268
5534
|
*
|
|
5269
5535
|
* @param request - GetFbMessengerPagesRequest
|
|
5270
5536
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -5275,13 +5541,13 @@ export default class Client extends OpenApi {
|
|
|
5275
5541
|
}
|
|
5276
5542
|
|
|
5277
5543
|
/**
|
|
5278
|
-
*
|
|
5544
|
+
* Retrieves the details of a Flow.
|
|
5279
5545
|
*
|
|
5280
5546
|
* @remarks
|
|
5281
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5282
|
-
* - If you
|
|
5547
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5548
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5283
5549
|
* #### QPS limit
|
|
5284
|
-
*
|
|
5550
|
+
* 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.
|
|
5285
5551
|
*
|
|
5286
5552
|
* @param request - GetFlowRequest
|
|
5287
5553
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5328,13 +5594,13 @@ export default class Client extends OpenApi {
|
|
|
5328
5594
|
}
|
|
5329
5595
|
|
|
5330
5596
|
/**
|
|
5331
|
-
*
|
|
5597
|
+
* Retrieves the details of a Flow.
|
|
5332
5598
|
*
|
|
5333
5599
|
* @remarks
|
|
5334
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5335
|
-
* - If you
|
|
5600
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5601
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5336
5602
|
* #### QPS limit
|
|
5337
|
-
*
|
|
5603
|
+
* 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.
|
|
5338
5604
|
*
|
|
5339
5605
|
* @param request - GetFlowRequest
|
|
5340
5606
|
* @returns GetFlowResponse
|
|
@@ -5345,13 +5611,13 @@ export default class Client extends OpenApi {
|
|
|
5345
5611
|
}
|
|
5346
5612
|
|
|
5347
5613
|
/**
|
|
5348
|
-
*
|
|
5614
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5349
5615
|
*
|
|
5350
5616
|
* @remarks
|
|
5351
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5352
|
-
* - If you
|
|
5617
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5618
|
+
* - 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.
|
|
5353
5619
|
* #### QPS limit
|
|
5354
|
-
*
|
|
5620
|
+
* 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.
|
|
5355
5621
|
*
|
|
5356
5622
|
* @param request - GetFlowJSONAssestRequest
|
|
5357
5623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5398,13 +5664,13 @@ export default class Client extends OpenApi {
|
|
|
5398
5664
|
}
|
|
5399
5665
|
|
|
5400
5666
|
/**
|
|
5401
|
-
*
|
|
5667
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5402
5668
|
*
|
|
5403
5669
|
* @remarks
|
|
5404
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5405
|
-
* - If you
|
|
5670
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5671
|
+
* - 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.
|
|
5406
5672
|
* #### QPS limit
|
|
5407
|
-
*
|
|
5673
|
+
* 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.
|
|
5408
5674
|
*
|
|
5409
5675
|
* @param request - GetFlowJSONAssestRequest
|
|
5410
5676
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -5415,14 +5681,14 @@ export default class Client extends OpenApi {
|
|
|
5415
5681
|
}
|
|
5416
5682
|
|
|
5417
5683
|
/**
|
|
5418
|
-
*
|
|
5684
|
+
* Retrieves the preview URL of a Flow.
|
|
5419
5685
|
*
|
|
5420
5686
|
* @remarks
|
|
5421
|
-
* - After
|
|
5422
|
-
* - Before
|
|
5423
|
-
* - If you do not have a WhatsApp
|
|
5687
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5688
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5689
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5424
5690
|
* #### QPS limit
|
|
5425
|
-
*
|
|
5691
|
+
* 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.
|
|
5426
5692
|
*
|
|
5427
5693
|
* @param request - GetFlowPreviewUrlRequest
|
|
5428
5694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5469,14 +5735,14 @@ export default class Client extends OpenApi {
|
|
|
5469
5735
|
}
|
|
5470
5736
|
|
|
5471
5737
|
/**
|
|
5472
|
-
*
|
|
5738
|
+
* Retrieves the preview URL of a Flow.
|
|
5473
5739
|
*
|
|
5474
5740
|
* @remarks
|
|
5475
|
-
* - After
|
|
5476
|
-
* - Before
|
|
5477
|
-
* - If you do not have a WhatsApp
|
|
5741
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5742
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5743
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5478
5744
|
* #### QPS limit
|
|
5479
|
-
*
|
|
5745
|
+
* 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.
|
|
5480
5746
|
*
|
|
5481
5747
|
* @param request - GetFlowPreviewUrlRequest
|
|
5482
5748
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5487,7 +5753,7 @@ export default class Client extends OpenApi {
|
|
|
5487
5753
|
}
|
|
5488
5754
|
|
|
5489
5755
|
/**
|
|
5490
|
-
*
|
|
5756
|
+
* Queries whether a group name already exists.
|
|
5491
5757
|
*
|
|
5492
5758
|
* @param tmpReq - GetGroupExistRequest
|
|
5493
5759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5544,7 +5810,7 @@ export default class Client extends OpenApi {
|
|
|
5544
5810
|
}
|
|
5545
5811
|
|
|
5546
5812
|
/**
|
|
5547
|
-
*
|
|
5813
|
+
* Queries whether a group name already exists.
|
|
5548
5814
|
*
|
|
5549
5815
|
* @param request - GetGroupExistRequest
|
|
5550
5816
|
* @returns GetGroupExistResponse
|
|
@@ -5621,10 +5887,10 @@ export default class Client extends OpenApi {
|
|
|
5621
5887
|
}
|
|
5622
5888
|
|
|
5623
5889
|
/**
|
|
5624
|
-
*
|
|
5890
|
+
* Retrieves the verification code for a migration phone number.
|
|
5625
5891
|
*
|
|
5626
5892
|
* @remarks
|
|
5627
|
-
*
|
|
5893
|
+
* 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
5894
|
*
|
|
5629
5895
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5630
5896
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5679,10 +5945,10 @@ export default class Client extends OpenApi {
|
|
|
5679
5945
|
}
|
|
5680
5946
|
|
|
5681
5947
|
/**
|
|
5682
|
-
*
|
|
5948
|
+
* Retrieves the verification code for a migration phone number.
|
|
5683
5949
|
*
|
|
5684
5950
|
* @remarks
|
|
5685
|
-
*
|
|
5951
|
+
* 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
5952
|
*
|
|
5687
5953
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5688
5954
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -5693,10 +5959,10 @@ export default class Client extends OpenApi {
|
|
|
5693
5959
|
}
|
|
5694
5960
|
|
|
5695
5961
|
/**
|
|
5696
|
-
*
|
|
5962
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5697
5963
|
*
|
|
5698
5964
|
* @remarks
|
|
5699
|
-
*
|
|
5965
|
+
* 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
5966
|
*
|
|
5701
5967
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
5702
5968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5753,10 +6019,10 @@ export default class Client extends OpenApi {
|
|
|
5753
6019
|
}
|
|
5754
6020
|
|
|
5755
6021
|
/**
|
|
5756
|
-
*
|
|
6022
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5757
6023
|
*
|
|
5758
6024
|
* @remarks
|
|
5759
|
-
*
|
|
6025
|
+
* 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
6026
|
*
|
|
5761
6027
|
* @param request - GetPermissionByCodeRequest
|
|
5762
6028
|
* @returns GetPermissionByCodeResponse
|
|
@@ -5767,13 +6033,13 @@ export default class Client extends OpenApi {
|
|
|
5767
6033
|
}
|
|
5768
6034
|
|
|
5769
6035
|
/**
|
|
5770
|
-
* Retrieves the public key
|
|
6036
|
+
* Retrieves the encryption public key of a phone number.
|
|
5771
6037
|
*
|
|
5772
6038
|
* @remarks
|
|
5773
|
-
* - Before calling this
|
|
5774
|
-
* - If no phone number
|
|
6039
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6040
|
+
* - 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
6041
|
* #### QPS limit
|
|
5776
|
-
*
|
|
6042
|
+
* 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
6043
|
*
|
|
5778
6044
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5779
6045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5820,13 +6086,13 @@ export default class Client extends OpenApi {
|
|
|
5820
6086
|
}
|
|
5821
6087
|
|
|
5822
6088
|
/**
|
|
5823
|
-
* Retrieves the public key
|
|
6089
|
+
* Retrieves the encryption public key of a phone number.
|
|
5824
6090
|
*
|
|
5825
6091
|
* @remarks
|
|
5826
|
-
* - Before calling this
|
|
5827
|
-
* - If no phone number
|
|
6092
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6093
|
+
* - 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
6094
|
* #### QPS limit
|
|
5829
|
-
*
|
|
6095
|
+
* 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
6096
|
*
|
|
5831
6097
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5832
6098
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5840,10 +6106,13 @@ export default class Client extends OpenApi {
|
|
|
5840
6106
|
* Retrieves the verification status of a phone number.
|
|
5841
6107
|
*
|
|
5842
6108
|
* @remarks
|
|
5843
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5844
|
-
*
|
|
5845
|
-
*
|
|
5846
|
-
* This operation
|
|
6109
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6110
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6111
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6112
|
+
* - This operation only queries the verification status of a phone number. If the phone number status is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
6113
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6114
|
+
* - If a phone number has been added to your WABA and needs to be registered, but the verification status is unverified or verification has expired, call [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) to obtain a verification code and register the phone number.
|
|
6115
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5847
6116
|
*
|
|
5848
6117
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5849
6118
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5893,10 +6162,13 @@ export default class Client extends OpenApi {
|
|
|
5893
6162
|
* Retrieves the verification status of a phone number.
|
|
5894
6163
|
*
|
|
5895
6164
|
* @remarks
|
|
5896
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5897
|
-
*
|
|
5898
|
-
*
|
|
5899
|
-
* This operation
|
|
6165
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6166
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6167
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6168
|
+
* - This operation only queries the verification status of a phone number. If the phone number status is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
6169
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6170
|
+
* - If a phone number has been added to your WABA and needs to be registered, but the verification status is unverified or verification has expired, call [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) to obtain a verification code and register the phone number.
|
|
6171
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5900
6172
|
*
|
|
5901
6173
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5902
6174
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5907,7 +6179,7 @@ export default class Client extends OpenApi {
|
|
|
5907
6179
|
}
|
|
5908
6180
|
|
|
5909
6181
|
/**
|
|
5910
|
-
*
|
|
6182
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5911
6183
|
*
|
|
5912
6184
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5913
6185
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5954,7 +6226,7 @@ export default class Client extends OpenApi {
|
|
|
5954
6226
|
}
|
|
5955
6227
|
|
|
5956
6228
|
/**
|
|
5957
|
-
*
|
|
6229
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5958
6230
|
*
|
|
5959
6231
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5960
6232
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -6075,7 +6347,7 @@ export default class Client extends OpenApi {
|
|
|
6075
6347
|
}
|
|
6076
6348
|
|
|
6077
6349
|
/**
|
|
6078
|
-
*
|
|
6350
|
+
* Queries the number of times that a pause can be requested.
|
|
6079
6351
|
*
|
|
6080
6352
|
* @param request - GetViberPauseTimesRequest
|
|
6081
6353
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6118,7 +6390,7 @@ export default class Client extends OpenApi {
|
|
|
6118
6390
|
}
|
|
6119
6391
|
|
|
6120
6392
|
/**
|
|
6121
|
-
*
|
|
6393
|
+
* Queries the number of times that a pause can be requested.
|
|
6122
6394
|
*
|
|
6123
6395
|
* @param request - GetViberPauseTimesRequest
|
|
6124
6396
|
* @returns GetViberPauseTimesResponse
|
|
@@ -6193,7 +6465,7 @@ export default class Client extends OpenApi {
|
|
|
6193
6465
|
}
|
|
6194
6466
|
|
|
6195
6467
|
/**
|
|
6196
|
-
*
|
|
6468
|
+
* Retrieves the embedded authorization page.
|
|
6197
6469
|
*
|
|
6198
6470
|
* @param request - GetWhatsappConversionApiRequest
|
|
6199
6471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6236,7 +6508,7 @@ export default class Client extends OpenApi {
|
|
|
6236
6508
|
}
|
|
6237
6509
|
|
|
6238
6510
|
/**
|
|
6239
|
-
*
|
|
6511
|
+
* Retrieves the embedded authorization page.
|
|
6240
6512
|
*
|
|
6241
6513
|
* @param request - GetWhatsappConversionApiRequest
|
|
6242
6514
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -6331,10 +6603,102 @@ export default class Client extends OpenApi {
|
|
|
6331
6603
|
}
|
|
6332
6604
|
|
|
6333
6605
|
/**
|
|
6334
|
-
*
|
|
6606
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6607
|
+
*
|
|
6608
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6609
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6610
|
+
* @returns GetWhatsappUserNameResponse
|
|
6611
|
+
*/
|
|
6612
|
+
async getWhatsappUserNameWithOptions(request: $_model.GetWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6613
|
+
request.validate();
|
|
6614
|
+
let query = { };
|
|
6615
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6616
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6617
|
+
}
|
|
6618
|
+
|
|
6619
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6620
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6621
|
+
}
|
|
6622
|
+
|
|
6623
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6624
|
+
query: OpenApiUtil.query(query),
|
|
6625
|
+
});
|
|
6626
|
+
let params = new $OpenApiUtil.Params({
|
|
6627
|
+
action: "GetWhatsappUserName",
|
|
6628
|
+
version: "2020-06-06",
|
|
6629
|
+
protocol: "HTTPS",
|
|
6630
|
+
pathname: "/",
|
|
6631
|
+
method: "POST",
|
|
6632
|
+
authType: "AK",
|
|
6633
|
+
style: "RPC",
|
|
6634
|
+
reqBodyType: "formData",
|
|
6635
|
+
bodyType: "json",
|
|
6636
|
+
});
|
|
6637
|
+
return $dara.cast<$_model.GetWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
6638
|
+
}
|
|
6639
|
+
|
|
6640
|
+
/**
|
|
6641
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6642
|
+
*
|
|
6643
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6644
|
+
* @returns GetWhatsappUserNameResponse
|
|
6645
|
+
*/
|
|
6646
|
+
async getWhatsappUserName(request: $_model.GetWhatsappUserNameRequest): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6647
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6648
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
6649
|
+
}
|
|
6650
|
+
|
|
6651
|
+
/**
|
|
6652
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6653
|
+
*
|
|
6654
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6655
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6656
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6657
|
+
*/
|
|
6658
|
+
async getWhatsappUserNameSuggestionsWithOptions(request: $_model.GetWhatsappUserNameSuggestionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6659
|
+
request.validate();
|
|
6660
|
+
let query = { };
|
|
6661
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6662
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6663
|
+
}
|
|
6664
|
+
|
|
6665
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6666
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6667
|
+
}
|
|
6668
|
+
|
|
6669
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6670
|
+
query: OpenApiUtil.query(query),
|
|
6671
|
+
});
|
|
6672
|
+
let params = new $OpenApiUtil.Params({
|
|
6673
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
6674
|
+
version: "2020-06-06",
|
|
6675
|
+
protocol: "HTTPS",
|
|
6676
|
+
pathname: "/",
|
|
6677
|
+
method: "POST",
|
|
6678
|
+
authType: "AK",
|
|
6679
|
+
style: "RPC",
|
|
6680
|
+
reqBodyType: "formData",
|
|
6681
|
+
bodyType: "json",
|
|
6682
|
+
});
|
|
6683
|
+
return $dara.cast<$_model.GetWhatsappUserNameSuggestionsResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
6684
|
+
}
|
|
6685
|
+
|
|
6686
|
+
/**
|
|
6687
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6688
|
+
*
|
|
6689
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6690
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6691
|
+
*/
|
|
6692
|
+
async getWhatsappUserNameSuggestions(request: $_model.GetWhatsappUserNameSuggestionsRequest): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6693
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6694
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
6695
|
+
}
|
|
6696
|
+
|
|
6697
|
+
/**
|
|
6698
|
+
* Retrieves the App ID for an ISV.
|
|
6335
6699
|
*
|
|
6336
6700
|
* @remarks
|
|
6337
|
-
*
|
|
6701
|
+
* 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
6702
|
*
|
|
6339
6703
|
* @param request - IsvGetAppIdRequest
|
|
6340
6704
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6385,10 +6749,10 @@ export default class Client extends OpenApi {
|
|
|
6385
6749
|
}
|
|
6386
6750
|
|
|
6387
6751
|
/**
|
|
6388
|
-
*
|
|
6752
|
+
* Retrieves the App ID for an ISV.
|
|
6389
6753
|
*
|
|
6390
6754
|
* @remarks
|
|
6391
|
-
*
|
|
6755
|
+
* 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
6756
|
*
|
|
6393
6757
|
* @param request - IsvGetAppIdRequest
|
|
6394
6758
|
* @returns IsvGetAppIdResponse
|
|
@@ -6399,7 +6763,7 @@ export default class Client extends OpenApi {
|
|
|
6399
6763
|
}
|
|
6400
6764
|
|
|
6401
6765
|
/**
|
|
6402
|
-
*
|
|
6766
|
+
* Queries the list of groups.
|
|
6403
6767
|
*
|
|
6404
6768
|
* @param tmpReq - ListAllGroupsRequest
|
|
6405
6769
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6452,7 +6816,7 @@ export default class Client extends OpenApi {
|
|
|
6452
6816
|
}
|
|
6453
6817
|
|
|
6454
6818
|
/**
|
|
6455
|
-
*
|
|
6819
|
+
* Queries the list of groups.
|
|
6456
6820
|
*
|
|
6457
6821
|
* @param request - ListAllGroupsRequest
|
|
6458
6822
|
* @returns ListAllGroupsResponse
|
|
@@ -6463,7 +6827,7 @@ export default class Client extends OpenApi {
|
|
|
6463
6827
|
}
|
|
6464
6828
|
|
|
6465
6829
|
/**
|
|
6466
|
-
*
|
|
6830
|
+
* Queries the bound DM account.
|
|
6467
6831
|
*
|
|
6468
6832
|
* @param request - ListBindDmAccountRequest
|
|
6469
6833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6506,7 +6870,7 @@ export default class Client extends OpenApi {
|
|
|
6506
6870
|
}
|
|
6507
6871
|
|
|
6508
6872
|
/**
|
|
6509
|
-
*
|
|
6873
|
+
* Queries the bound DM account.
|
|
6510
6874
|
*
|
|
6511
6875
|
* @param request - ListBindDmAccountRequest
|
|
6512
6876
|
* @returns ListBindDmAccountResponse
|
|
@@ -6517,7 +6881,12 @@ export default class Client extends OpenApi {
|
|
|
6517
6881
|
}
|
|
6518
6882
|
|
|
6519
6883
|
/**
|
|
6520
|
-
*
|
|
6884
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6885
|
+
*
|
|
6886
|
+
* @remarks
|
|
6887
|
+
* - You can call this operation to query the list of phone numbers or business account IDs bound to a flow. You can also view the list in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
6888
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6889
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6521
6890
|
*
|
|
6522
6891
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6523
6892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6564,7 +6933,12 @@ export default class Client extends OpenApi {
|
|
|
6564
6933
|
}
|
|
6565
6934
|
|
|
6566
6935
|
/**
|
|
6567
|
-
*
|
|
6936
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6937
|
+
*
|
|
6938
|
+
* @remarks
|
|
6939
|
+
* - You can call this operation to query the list of phone numbers or business account IDs bound to a flow. You can also view the list in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
6940
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6941
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6568
6942
|
*
|
|
6569
6943
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6570
6944
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6575,7 +6949,13 @@ export default class Client extends OpenApi {
|
|
|
6575
6949
|
}
|
|
6576
6950
|
|
|
6577
6951
|
/**
|
|
6578
|
-
*
|
|
6952
|
+
* Lists flows.
|
|
6953
|
+
*
|
|
6954
|
+
* @remarks
|
|
6955
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6956
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6957
|
+
* - If you do not have any successfully created flows, you can manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
6958
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6579
6959
|
*
|
|
6580
6960
|
* @param tmpReq - ListChatFlowRequest
|
|
6581
6961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6598,6 +6978,14 @@ export default class Client extends OpenApi {
|
|
|
6598
6978
|
query["BizExtend"] = request.bizExtendShrink;
|
|
6599
6979
|
}
|
|
6600
6980
|
|
|
6981
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6982
|
+
query["FlowCode"] = request.flowCode;
|
|
6983
|
+
}
|
|
6984
|
+
|
|
6985
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6986
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6601
6989
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
6602
6990
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
6603
6991
|
}
|
|
@@ -6618,6 +7006,10 @@ export default class Client extends OpenApi {
|
|
|
6618
7006
|
query["PageSize"] = request.pageSize;
|
|
6619
7007
|
}
|
|
6620
7008
|
|
|
7009
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
7010
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7011
|
+
}
|
|
7012
|
+
|
|
6621
7013
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6622
7014
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6623
7015
|
}
|
|
@@ -6634,6 +7026,10 @@ export default class Client extends OpenApi {
|
|
|
6634
7026
|
query["Status"] = request.status;
|
|
6635
7027
|
}
|
|
6636
7028
|
|
|
7029
|
+
if (!$dara.isNull(request.title)) {
|
|
7030
|
+
query["Title"] = request.title;
|
|
7031
|
+
}
|
|
7032
|
+
|
|
6637
7033
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6638
7034
|
query: OpenApiUtil.query(query),
|
|
6639
7035
|
});
|
|
@@ -6652,7 +7048,13 @@ export default class Client extends OpenApi {
|
|
|
6652
7048
|
}
|
|
6653
7049
|
|
|
6654
7050
|
/**
|
|
6655
|
-
*
|
|
7051
|
+
* Lists flows.
|
|
7052
|
+
*
|
|
7053
|
+
* @remarks
|
|
7054
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
7055
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
7056
|
+
* - If you do not have any successfully created flows, you can manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
7057
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6656
7058
|
*
|
|
6657
7059
|
* @param request - ListChatFlowRequest
|
|
6658
7060
|
* @returns ListChatFlowResponse
|
|
@@ -6663,7 +7065,11 @@ export default class Client extends OpenApi {
|
|
|
6663
7065
|
}
|
|
6664
7066
|
|
|
6665
7067
|
/**
|
|
6666
|
-
*
|
|
7068
|
+
* Lists flow templates.
|
|
7069
|
+
*
|
|
7070
|
+
* @remarks
|
|
7071
|
+
* - You can call this operation to view the template list, or view the template list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Template View** page.
|
|
7072
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6667
7073
|
*
|
|
6668
7074
|
* @param request - ListChatFlowTemplateRequest
|
|
6669
7075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6722,7 +7128,11 @@ export default class Client extends OpenApi {
|
|
|
6722
7128
|
}
|
|
6723
7129
|
|
|
6724
7130
|
/**
|
|
6725
|
-
*
|
|
7131
|
+
* Lists flow templates.
|
|
7132
|
+
*
|
|
7133
|
+
* @remarks
|
|
7134
|
+
* - You can call this operation to view the template list, or view the template list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Template View** page.
|
|
7135
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6726
7136
|
*
|
|
6727
7137
|
* @param request - ListChatFlowTemplateRequest
|
|
6728
7138
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6733,14 +7143,13 @@ export default class Client extends OpenApi {
|
|
|
6733
7143
|
}
|
|
6734
7144
|
|
|
6735
7145
|
/**
|
|
6736
|
-
* Retrieves
|
|
7146
|
+
* Retrieves the list of IM groups.
|
|
6737
7147
|
*
|
|
6738
7148
|
* @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.
|
|
7149
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7150
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7151
|
+
* - 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.
|
|
7152
|
+
* - 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
7153
|
*
|
|
6745
7154
|
* @param tmpReq - ListChatGroupRequest
|
|
6746
7155
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6817,14 +7226,13 @@ export default class Client extends OpenApi {
|
|
|
6817
7226
|
}
|
|
6818
7227
|
|
|
6819
7228
|
/**
|
|
6820
|
-
* Retrieves
|
|
7229
|
+
* Retrieves the list of IM groups.
|
|
6821
7230
|
*
|
|
6822
7231
|
* @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.
|
|
7232
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7233
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7234
|
+
* - 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.
|
|
7235
|
+
* - 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
7236
|
*
|
|
6829
7237
|
* @param request - ListChatGroupRequest
|
|
6830
7238
|
* @returns ListChatGroupResponse
|
|
@@ -6835,13 +7243,12 @@ export default class Client extends OpenApi {
|
|
|
6835
7243
|
}
|
|
6836
7244
|
|
|
6837
7245
|
/**
|
|
6838
|
-
*
|
|
7246
|
+
* Retrieves the member list of an IM group.
|
|
6839
7247
|
*
|
|
6840
7248
|
* @remarks
|
|
6841
|
-
* >Notice:
|
|
6842
|
-
*
|
|
6843
|
-
* -
|
|
6844
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
7249
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7250
|
+
* - Before calling this operation, make sure that the IM group you created has an IM group invitation link added and that members have joined the IM group through the link.
|
|
7251
|
+
* - If you do not have a created IM group, use 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.
|
|
6845
7252
|
*
|
|
6846
7253
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6847
7254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6906,13 +7313,12 @@ export default class Client extends OpenApi {
|
|
|
6906
7313
|
}
|
|
6907
7314
|
|
|
6908
7315
|
/**
|
|
6909
|
-
*
|
|
7316
|
+
* Retrieves the member list of an IM group.
|
|
6910
7317
|
*
|
|
6911
7318
|
* @remarks
|
|
6912
|
-
* >Notice:
|
|
6913
|
-
*
|
|
6914
|
-
* -
|
|
6915
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
7319
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7320
|
+
* - Before calling this operation, make sure that the IM group you created has an IM group invitation link added and that members have joined the IM group through the link.
|
|
7321
|
+
* - If you do not have a created IM group, use 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.
|
|
6916
7322
|
*
|
|
6917
7323
|
* @param request - ListChatGroupParticipantsRequest
|
|
6918
7324
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6923,7 +7329,12 @@ export default class Client extends OpenApi {
|
|
|
6923
7329
|
}
|
|
6924
7330
|
|
|
6925
7331
|
/**
|
|
6926
|
-
*
|
|
7332
|
+
* Queries the message list.
|
|
7333
|
+
*
|
|
7334
|
+
* @remarks
|
|
7335
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7336
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7337
|
+
* - 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
7338
|
*
|
|
6928
7339
|
* @param tmpReq - ListChatappMessageRequest
|
|
6929
7340
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7024,7 +7435,12 @@ export default class Client extends OpenApi {
|
|
|
7024
7435
|
}
|
|
7025
7436
|
|
|
7026
7437
|
/**
|
|
7027
|
-
*
|
|
7438
|
+
* Queries the message list.
|
|
7439
|
+
*
|
|
7440
|
+
* @remarks
|
|
7441
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7442
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7443
|
+
* - 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
7444
|
*
|
|
7029
7445
|
* @param request - ListChatappMessageRequest
|
|
7030
7446
|
* @returns ListChatappMessageResponse
|
|
@@ -7035,11 +7451,11 @@ export default class Client extends OpenApi {
|
|
|
7035
7451
|
}
|
|
7036
7452
|
|
|
7037
7453
|
/**
|
|
7038
|
-
*
|
|
7454
|
+
* Retrieves a list of message templates.
|
|
7039
7455
|
*
|
|
7040
7456
|
* @remarks
|
|
7041
7457
|
* ### QPS limit
|
|
7042
|
-
*
|
|
7458
|
+
* 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.
|
|
7043
7459
|
*
|
|
7044
7460
|
* @param tmpReq - ListChatappTemplateRequest
|
|
7045
7461
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7124,11 +7540,11 @@ export default class Client extends OpenApi {
|
|
|
7124
7540
|
}
|
|
7125
7541
|
|
|
7126
7542
|
/**
|
|
7127
|
-
*
|
|
7543
|
+
* Retrieves a list of message templates.
|
|
7128
7544
|
*
|
|
7129
7545
|
* @remarks
|
|
7130
7546
|
* ### QPS limit
|
|
7131
|
-
*
|
|
7547
|
+
* 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.
|
|
7132
7548
|
*
|
|
7133
7549
|
* @param request - ListChatappTemplateRequest
|
|
7134
7550
|
* @returns ListChatappTemplateResponse
|
|
@@ -7223,7 +7639,7 @@ export default class Client extends OpenApi {
|
|
|
7223
7639
|
}
|
|
7224
7640
|
|
|
7225
7641
|
/**
|
|
7226
|
-
*
|
|
7642
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7227
7643
|
*
|
|
7228
7644
|
* @param request - ListDmAccountRequest
|
|
7229
7645
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7278,7 +7694,7 @@ export default class Client extends OpenApi {
|
|
|
7278
7694
|
}
|
|
7279
7695
|
|
|
7280
7696
|
/**
|
|
7281
|
-
*
|
|
7697
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7282
7698
|
*
|
|
7283
7699
|
* @param request - ListDmAccountRequest
|
|
7284
7700
|
* @returns ListDmAccountResponse
|
|
@@ -7289,7 +7705,7 @@ export default class Client extends OpenApi {
|
|
|
7289
7705
|
}
|
|
7290
7706
|
|
|
7291
7707
|
/**
|
|
7292
|
-
*
|
|
7708
|
+
* Queries the tags of DirectMail.
|
|
7293
7709
|
*
|
|
7294
7710
|
* @param request - ListDmTagRequest
|
|
7295
7711
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7340,7 +7756,7 @@ export default class Client extends OpenApi {
|
|
|
7340
7756
|
}
|
|
7341
7757
|
|
|
7342
7758
|
/**
|
|
7343
|
-
*
|
|
7759
|
+
* Queries the tags of DirectMail.
|
|
7344
7760
|
*
|
|
7345
7761
|
* @param request - ListDmTagRequest
|
|
7346
7762
|
* @returns ListDmTagResponse
|
|
@@ -7351,7 +7767,7 @@ export default class Client extends OpenApi {
|
|
|
7351
7767
|
}
|
|
7352
7768
|
|
|
7353
7769
|
/**
|
|
7354
|
-
*
|
|
7770
|
+
* Queries the list of Facebook posts.
|
|
7355
7771
|
*
|
|
7356
7772
|
* @param request - ListFacebookPostsRequest
|
|
7357
7773
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7394,7 +7810,7 @@ export default class Client extends OpenApi {
|
|
|
7394
7810
|
}
|
|
7395
7811
|
|
|
7396
7812
|
/**
|
|
7397
|
-
*
|
|
7813
|
+
* Queries the list of Facebook posts.
|
|
7398
7814
|
*
|
|
7399
7815
|
* @param request - ListFacebookPostsRequest
|
|
7400
7816
|
* @returns ListFacebookPostsResponse
|
|
@@ -7405,10 +7821,10 @@ export default class Client extends OpenApi {
|
|
|
7405
7821
|
}
|
|
7406
7822
|
|
|
7407
7823
|
/**
|
|
7408
|
-
*
|
|
7824
|
+
* Queries the list of Flows.
|
|
7409
7825
|
*
|
|
7410
7826
|
* @remarks
|
|
7411
|
-
*
|
|
7827
|
+
* 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 appropriately.
|
|
7412
7828
|
*
|
|
7413
7829
|
* @param tmpReq - ListFlowRequest
|
|
7414
7830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7465,10 +7881,10 @@ export default class Client extends OpenApi {
|
|
|
7465
7881
|
}
|
|
7466
7882
|
|
|
7467
7883
|
/**
|
|
7468
|
-
*
|
|
7884
|
+
* Queries the list of Flows.
|
|
7469
7885
|
*
|
|
7470
7886
|
* @remarks
|
|
7471
|
-
*
|
|
7887
|
+
* 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 appropriately.
|
|
7472
7888
|
*
|
|
7473
7889
|
* @param request - ListFlowRequest
|
|
7474
7890
|
* @returns ListFlowResponse
|
|
@@ -7479,7 +7895,7 @@ export default class Client extends OpenApi {
|
|
|
7479
7895
|
}
|
|
7480
7896
|
|
|
7481
7897
|
/**
|
|
7482
|
-
*
|
|
7898
|
+
* Lists flow component groups.
|
|
7483
7899
|
*
|
|
7484
7900
|
* @param request - ListFlowNodeGroupRequest
|
|
7485
7901
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7526,7 +7942,7 @@ export default class Client extends OpenApi {
|
|
|
7526
7942
|
}
|
|
7527
7943
|
|
|
7528
7944
|
/**
|
|
7529
|
-
*
|
|
7945
|
+
* Lists flow component groups.
|
|
7530
7946
|
*
|
|
7531
7947
|
* @param request - ListFlowNodeGroupRequest
|
|
7532
7948
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -7537,7 +7953,11 @@ export default class Client extends OpenApi {
|
|
|
7537
7953
|
}
|
|
7538
7954
|
|
|
7539
7955
|
/**
|
|
7540
|
-
*
|
|
7956
|
+
* Lists flow component prototypes.
|
|
7957
|
+
*
|
|
7958
|
+
* @remarks
|
|
7959
|
+
* - You can call this operation to query flow component prototypes. You can also click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view flow component prototypes.
|
|
7960
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
7541
7961
|
*
|
|
7542
7962
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7543
7963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7596,7 +8016,11 @@ export default class Client extends OpenApi {
|
|
|
7596
8016
|
}
|
|
7597
8017
|
|
|
7598
8018
|
/**
|
|
7599
|
-
*
|
|
8019
|
+
* Lists flow component prototypes.
|
|
8020
|
+
*
|
|
8021
|
+
* @remarks
|
|
8022
|
+
* - You can call this operation to query flow component prototypes. You can also click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view flow component prototypes.
|
|
8023
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
7600
8024
|
*
|
|
7601
8025
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7602
8026
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7607,7 +8031,13 @@ export default class Client extends OpenApi {
|
|
|
7607
8031
|
}
|
|
7608
8032
|
|
|
7609
8033
|
/**
|
|
7610
|
-
*
|
|
8034
|
+
* Lists flow versions.
|
|
8035
|
+
*
|
|
8036
|
+
* @remarks
|
|
8037
|
+
* - You can call this operation to query flow versions. 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 flow versions.
|
|
8038
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8039
|
+
* - 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 the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8040
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7611
8041
|
*
|
|
7612
8042
|
* @param tmpReq - ListFlowVersionRequest
|
|
7613
8043
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7676,7 +8106,13 @@ export default class Client extends OpenApi {
|
|
|
7676
8106
|
}
|
|
7677
8107
|
|
|
7678
8108
|
/**
|
|
7679
|
-
*
|
|
8109
|
+
* Lists flow versions.
|
|
8110
|
+
*
|
|
8111
|
+
* @remarks
|
|
8112
|
+
* - You can call this operation to query flow versions. 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 flow versions.
|
|
8113
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8114
|
+
* - 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 the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8115
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7680
8116
|
*
|
|
7681
8117
|
* @param request - ListFlowVersionRequest
|
|
7682
8118
|
* @returns ListFlowVersionResponse
|
|
@@ -7687,7 +8123,7 @@ export default class Client extends OpenApi {
|
|
|
7687
8123
|
}
|
|
7688
8124
|
|
|
7689
8125
|
/**
|
|
7690
|
-
*
|
|
8126
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7691
8127
|
*
|
|
7692
8128
|
* @param request - ListInstagramPageRequest
|
|
7693
8129
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7730,7 +8166,7 @@ export default class Client extends OpenApi {
|
|
|
7730
8166
|
}
|
|
7731
8167
|
|
|
7732
8168
|
/**
|
|
7733
|
-
*
|
|
8169
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7734
8170
|
*
|
|
7735
8171
|
* @param request - ListInstagramPageRequest
|
|
7736
8172
|
* @returns ListInstagramPageResponse
|
|
@@ -7741,7 +8177,7 @@ export default class Client extends OpenApi {
|
|
|
7741
8177
|
}
|
|
7742
8178
|
|
|
7743
8179
|
/**
|
|
7744
|
-
*
|
|
8180
|
+
* Queries the list of Instagram posts.
|
|
7745
8181
|
*
|
|
7746
8182
|
* @param request - ListInstagramPostsRequest
|
|
7747
8183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7784,7 +8220,7 @@ export default class Client extends OpenApi {
|
|
|
7784
8220
|
}
|
|
7785
8221
|
|
|
7786
8222
|
/**
|
|
7787
|
-
*
|
|
8223
|
+
* Queries the list of Instagram posts.
|
|
7788
8224
|
*
|
|
7789
8225
|
* @param request - ListInstagramPostsRequest
|
|
7790
8226
|
* @returns ListInstagramPostsResponse
|
|
@@ -7795,7 +8231,7 @@ export default class Client extends OpenApi {
|
|
|
7795
8231
|
}
|
|
7796
8232
|
|
|
7797
8233
|
/**
|
|
7798
|
-
*
|
|
8234
|
+
* Queries a list of instances.
|
|
7799
8235
|
*
|
|
7800
8236
|
* @param request - ListInstanceRequest
|
|
7801
8237
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7804,6 +8240,10 @@ export default class Client extends OpenApi {
|
|
|
7804
8240
|
async listInstanceWithOptions(request: $_model.ListInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstanceResponse> {
|
|
7805
8241
|
request.validate();
|
|
7806
8242
|
let query = { };
|
|
8243
|
+
if (!$dara.isNull(request.bindId)) {
|
|
8244
|
+
query["BindId"] = request.bindId;
|
|
8245
|
+
}
|
|
8246
|
+
|
|
7807
8247
|
if (!$dara.isNull(request.channelType)) {
|
|
7808
8248
|
query["ChannelType"] = request.channelType;
|
|
7809
8249
|
}
|
|
@@ -7820,6 +8260,10 @@ export default class Client extends OpenApi {
|
|
|
7820
8260
|
query["InstanceName"] = request.instanceName;
|
|
7821
8261
|
}
|
|
7822
8262
|
|
|
8263
|
+
if (!$dara.isNull(request.isBind)) {
|
|
8264
|
+
query["IsBind"] = request.isBind;
|
|
8265
|
+
}
|
|
8266
|
+
|
|
7823
8267
|
if (!$dara.isNull(request.pageIndex)) {
|
|
7824
8268
|
query["PageIndex"] = request.pageIndex;
|
|
7825
8269
|
}
|
|
@@ -7854,7 +8298,7 @@ export default class Client extends OpenApi {
|
|
|
7854
8298
|
}
|
|
7855
8299
|
|
|
7856
8300
|
/**
|
|
7857
|
-
*
|
|
8301
|
+
* Queries a list of instances.
|
|
7858
8302
|
*
|
|
7859
8303
|
* @param request - ListInstanceRequest
|
|
7860
8304
|
* @returns ListInstanceResponse
|
|
@@ -7865,7 +8309,7 @@ export default class Client extends OpenApi {
|
|
|
7865
8309
|
}
|
|
7866
8310
|
|
|
7867
8311
|
/**
|
|
7868
|
-
*
|
|
8312
|
+
* Queries a list of marketing campaigns.
|
|
7869
8313
|
*
|
|
7870
8314
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7871
8315
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7946,7 +8390,7 @@ export default class Client extends OpenApi {
|
|
|
7946
8390
|
}
|
|
7947
8391
|
|
|
7948
8392
|
/**
|
|
7949
|
-
*
|
|
8393
|
+
* Queries a list of marketing campaigns.
|
|
7950
8394
|
*
|
|
7951
8395
|
* @param request - ListMarketingFlowRequest
|
|
7952
8396
|
* @returns ListMarketingFlowResponse
|
|
@@ -8115,7 +8559,7 @@ export default class Client extends OpenApi {
|
|
|
8115
8559
|
}
|
|
8116
8560
|
|
|
8117
8561
|
/**
|
|
8118
|
-
*
|
|
8562
|
+
* Queries the list of ad accounts bound to a page.
|
|
8119
8563
|
*
|
|
8120
8564
|
* @param request - ListPageAdAccountRequest
|
|
8121
8565
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8162,7 +8606,7 @@ export default class Client extends OpenApi {
|
|
|
8162
8606
|
}
|
|
8163
8607
|
|
|
8164
8608
|
/**
|
|
8165
|
-
*
|
|
8609
|
+
* Queries the list of ad accounts bound to a page.
|
|
8166
8610
|
*
|
|
8167
8611
|
* @param request - ListPageAdAccountRequest
|
|
8168
8612
|
* @returns ListPageAdAccountResponse
|
|
@@ -8173,10 +8617,10 @@ export default class Client extends OpenApi {
|
|
|
8173
8617
|
}
|
|
8174
8618
|
|
|
8175
8619
|
/**
|
|
8176
|
-
* Queries message QR codes.
|
|
8620
|
+
* Queries the list of message QR codes.
|
|
8177
8621
|
*
|
|
8178
8622
|
* @remarks
|
|
8179
|
-
*
|
|
8623
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8180
8624
|
*
|
|
8181
8625
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8182
8626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8223,10 +8667,10 @@ export default class Client extends OpenApi {
|
|
|
8223
8667
|
}
|
|
8224
8668
|
|
|
8225
8669
|
/**
|
|
8226
|
-
* Queries message QR codes.
|
|
8670
|
+
* Queries the list of message QR codes.
|
|
8227
8671
|
*
|
|
8228
8672
|
* @remarks
|
|
8229
|
-
*
|
|
8673
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8230
8674
|
*
|
|
8231
8675
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8232
8676
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -8321,10 +8765,10 @@ export default class Client extends OpenApi {
|
|
|
8321
8765
|
}
|
|
8322
8766
|
|
|
8323
8767
|
/**
|
|
8324
|
-
* Queries the
|
|
8768
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8325
8769
|
*
|
|
8326
8770
|
* @remarks
|
|
8327
|
-
*
|
|
8771
|
+
* 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
8772
|
*
|
|
8329
8773
|
* @param request - ListProductCatalogRequest
|
|
8330
8774
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8387,10 +8831,10 @@ export default class Client extends OpenApi {
|
|
|
8387
8831
|
}
|
|
8388
8832
|
|
|
8389
8833
|
/**
|
|
8390
|
-
* Queries the
|
|
8834
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8391
8835
|
*
|
|
8392
8836
|
* @remarks
|
|
8393
|
-
*
|
|
8837
|
+
* 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
8838
|
*
|
|
8395
8839
|
* @param request - ListProductCatalogRequest
|
|
8396
8840
|
* @returns ListProductCatalogResponse
|
|
@@ -8401,7 +8845,7 @@ export default class Client extends OpenApi {
|
|
|
8401
8845
|
}
|
|
8402
8846
|
|
|
8403
8847
|
/**
|
|
8404
|
-
*
|
|
8848
|
+
* Displays the Viber service number card for an application form.
|
|
8405
8849
|
*
|
|
8406
8850
|
* @param request - ListViberServiceMessageRequest
|
|
8407
8851
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8444,7 +8888,7 @@ export default class Client extends OpenApi {
|
|
|
8444
8888
|
}
|
|
8445
8889
|
|
|
8446
8890
|
/**
|
|
8447
|
-
*
|
|
8891
|
+
* Displays the Viber service number card for an application form.
|
|
8448
8892
|
*
|
|
8449
8893
|
* @param request - ListViberServiceMessageRequest
|
|
8450
8894
|
* @returns ListViberServiceMessageResponse
|
|
@@ -8501,13 +8945,13 @@ export default class Client extends OpenApi {
|
|
|
8501
8945
|
}
|
|
8502
8946
|
|
|
8503
8947
|
/**
|
|
8504
|
-
* Modifies a message template.
|
|
8948
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8505
8949
|
*
|
|
8506
8950
|
* @remarks
|
|
8507
|
-
* ### QPS
|
|
8508
|
-
* The
|
|
8951
|
+
* ### QPS limit
|
|
8952
|
+
* 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
8953
|
* ### Status changes
|
|
8510
|
-
* You can monitor
|
|
8954
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8511
8955
|
*
|
|
8512
8956
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8513
8957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8525,57 +8969,61 @@ export default class Client extends OpenApi {
|
|
|
8525
8969
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
8526
8970
|
}
|
|
8527
8971
|
|
|
8528
|
-
let
|
|
8972
|
+
let query = { };
|
|
8529
8973
|
if (!$dara.isNull(request.category)) {
|
|
8530
|
-
|
|
8974
|
+
query["Category"] = request.category;
|
|
8531
8975
|
}
|
|
8532
8976
|
|
|
8533
8977
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
8534
|
-
|
|
8978
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
8535
8979
|
}
|
|
8536
8980
|
|
|
8537
8981
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
8538
|
-
|
|
8982
|
+
query["Components"] = request.componentsShrink;
|
|
8539
8983
|
}
|
|
8540
8984
|
|
|
8541
8985
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
8542
|
-
|
|
8986
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8543
8987
|
}
|
|
8544
8988
|
|
|
8545
8989
|
if (!$dara.isNull(request.custWabaId)) {
|
|
8546
|
-
|
|
8990
|
+
query["CustWabaId"] = request.custWabaId;
|
|
8547
8991
|
}
|
|
8548
8992
|
|
|
8549
8993
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
8550
|
-
|
|
8994
|
+
query["Example"] = request.exampleShrink;
|
|
8551
8995
|
}
|
|
8552
8996
|
|
|
8553
8997
|
if (!$dara.isNull(request.isvCode)) {
|
|
8554
|
-
|
|
8998
|
+
query["IsvCode"] = request.isvCode;
|
|
8555
8999
|
}
|
|
8556
9000
|
|
|
8557
9001
|
if (!$dara.isNull(request.language)) {
|
|
8558
|
-
|
|
9002
|
+
query["Language"] = request.language;
|
|
8559
9003
|
}
|
|
8560
9004
|
|
|
8561
9005
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
8562
|
-
|
|
9006
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
9007
|
+
}
|
|
9008
|
+
|
|
9009
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
9010
|
+
query["ProductSetId"] = request.productSetId;
|
|
8563
9011
|
}
|
|
8564
9012
|
|
|
8565
9013
|
if (!$dara.isNull(request.templateCode)) {
|
|
8566
|
-
|
|
9014
|
+
query["TemplateCode"] = request.templateCode;
|
|
8567
9015
|
}
|
|
8568
9016
|
|
|
8569
9017
|
if (!$dara.isNull(request.templateName)) {
|
|
8570
|
-
|
|
9018
|
+
query["TemplateName"] = request.templateName;
|
|
8571
9019
|
}
|
|
8572
9020
|
|
|
8573
9021
|
if (!$dara.isNull(request.templateType)) {
|
|
8574
|
-
|
|
9022
|
+
query["TemplateType"] = request.templateType;
|
|
8575
9023
|
}
|
|
8576
9024
|
|
|
8577
9025
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8578
|
-
|
|
9026
|
+
query: OpenApiUtil.query(query),
|
|
8579
9027
|
});
|
|
8580
9028
|
let params = new $OpenApiUtil.Params({
|
|
8581
9029
|
action: "ModifyChatappTemplate",
|
|
@@ -8592,13 +9040,13 @@ export default class Client extends OpenApi {
|
|
|
8592
9040
|
}
|
|
8593
9041
|
|
|
8594
9042
|
/**
|
|
8595
|
-
* Modifies a message template.
|
|
9043
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8596
9044
|
*
|
|
8597
9045
|
* @remarks
|
|
8598
|
-
* ### QPS
|
|
8599
|
-
* The
|
|
9046
|
+
* ### QPS limit
|
|
9047
|
+
* 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
9048
|
* ### Status changes
|
|
8601
|
-
* You can monitor
|
|
9049
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8602
9050
|
*
|
|
8603
9051
|
* @param request - ModifyChatappTemplateRequest
|
|
8604
9052
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8609,7 +9057,7 @@ export default class Client extends OpenApi {
|
|
|
8609
9057
|
}
|
|
8610
9058
|
|
|
8611
9059
|
/**
|
|
8612
|
-
*
|
|
9060
|
+
* Modifies some properties of a template.
|
|
8613
9061
|
*
|
|
8614
9062
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8615
9063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8672,7 +9120,7 @@ export default class Client extends OpenApi {
|
|
|
8672
9120
|
}
|
|
8673
9121
|
|
|
8674
9122
|
/**
|
|
8675
|
-
*
|
|
9123
|
+
* Modifies some properties of a template.
|
|
8676
9124
|
*
|
|
8677
9125
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8678
9126
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8683,10 +9131,10 @@ export default class Client extends OpenApi {
|
|
|
8683
9131
|
}
|
|
8684
9132
|
|
|
8685
9133
|
/**
|
|
8686
|
-
* Modifies a flow.
|
|
9134
|
+
* Modifies the basic information of a flow.
|
|
8687
9135
|
*
|
|
8688
9136
|
* @remarks
|
|
8689
|
-
*
|
|
9137
|
+
* 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
9138
|
*
|
|
8691
9139
|
* @param tmpReq - ModifyFlowRequest
|
|
8692
9140
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8751,10 +9199,10 @@ export default class Client extends OpenApi {
|
|
|
8751
9199
|
}
|
|
8752
9200
|
|
|
8753
9201
|
/**
|
|
8754
|
-
* Modifies a flow.
|
|
9202
|
+
* Modifies the basic information of a flow.
|
|
8755
9203
|
*
|
|
8756
9204
|
* @remarks
|
|
8757
|
-
*
|
|
9205
|
+
* 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
9206
|
*
|
|
8759
9207
|
* @param request - ModifyFlowRequest
|
|
8760
9208
|
* @returns ModifyFlowResponse
|
|
@@ -8765,10 +9213,10 @@ export default class Client extends OpenApi {
|
|
|
8765
9213
|
}
|
|
8766
9214
|
|
|
8767
9215
|
/**
|
|
8768
|
-
*
|
|
9216
|
+
* Modifies the commercial information of a phone number.
|
|
8769
9217
|
*
|
|
8770
9218
|
* @remarks
|
|
8771
|
-
*
|
|
9219
|
+
* 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
9220
|
*
|
|
8773
9221
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8774
9222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8849,10 +9297,10 @@ export default class Client extends OpenApi {
|
|
|
8849
9297
|
}
|
|
8850
9298
|
|
|
8851
9299
|
/**
|
|
8852
|
-
*
|
|
9300
|
+
* Modifies the commercial information of a phone number.
|
|
8853
9301
|
*
|
|
8854
9302
|
* @remarks
|
|
8855
|
-
*
|
|
9303
|
+
* 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
9304
|
*
|
|
8857
9305
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8858
9306
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8863,7 +9311,7 @@ export default class Client extends OpenApi {
|
|
|
8863
9311
|
}
|
|
8864
9312
|
|
|
8865
9313
|
/**
|
|
8866
|
-
*
|
|
9314
|
+
* Modifies the group associations of contacts.
|
|
8867
9315
|
*
|
|
8868
9316
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8869
9317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8928,7 +9376,7 @@ export default class Client extends OpenApi {
|
|
|
8928
9376
|
}
|
|
8929
9377
|
|
|
8930
9378
|
/**
|
|
8931
|
-
*
|
|
9379
|
+
* Modifies the group associations of contacts.
|
|
8932
9380
|
*
|
|
8933
9381
|
* @param request - MoveContactToGroupRequest
|
|
8934
9382
|
* @returns MoveContactToGroupResponse
|
|
@@ -8939,7 +9387,13 @@ export default class Client extends OpenApi {
|
|
|
8939
9387
|
}
|
|
8940
9388
|
|
|
8941
9389
|
/**
|
|
8942
|
-
*
|
|
9390
|
+
* Offlines a flow version.
|
|
9391
|
+
*
|
|
9392
|
+
* @remarks
|
|
9393
|
+
* - You can call this operation to offline a flow version, or click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually offline the flow version.
|
|
9394
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
9395
|
+
* - If the flow you created is not online, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow version online.
|
|
9396
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
8943
9397
|
*
|
|
8944
9398
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8945
9399
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9004,7 +9458,13 @@ export default class Client extends OpenApi {
|
|
|
9004
9458
|
}
|
|
9005
9459
|
|
|
9006
9460
|
/**
|
|
9007
|
-
*
|
|
9461
|
+
* Offlines a flow version.
|
|
9462
|
+
*
|
|
9463
|
+
* @remarks
|
|
9464
|
+
* - You can call this operation to offline a flow version, or click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually offline the flow version.
|
|
9465
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
9466
|
+
* - If the flow you created is not online, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow version online.
|
|
9467
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
9008
9468
|
*
|
|
9009
9469
|
* @param request - OfflineFlowVersionRequest
|
|
9010
9470
|
* @returns OfflineFlowVersionResponse
|
|
@@ -9015,7 +9475,13 @@ export default class Client extends OpenApi {
|
|
|
9015
9475
|
}
|
|
9016
9476
|
|
|
9017
9477
|
/**
|
|
9018
|
-
*
|
|
9478
|
+
* Publishes a flow version.
|
|
9479
|
+
*
|
|
9480
|
+
* @remarks
|
|
9481
|
+
* - You can call this operation to publish 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 manually publish a flow version.
|
|
9482
|
+
* - Before calling this operation, make sure that you have a successfully created flow and that your flow is bindded to a phone number or merchant account ID.
|
|
9483
|
+
* - If you do not have a successfully created flow, you can manually create a flow and bindded it to a phone number or merchant account ID on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, or 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 bind it to a phone number or merchant account ID.
|
|
9484
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9019
9485
|
*
|
|
9020
9486
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
9021
9487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9080,7 +9546,13 @@ export default class Client extends OpenApi {
|
|
|
9080
9546
|
}
|
|
9081
9547
|
|
|
9082
9548
|
/**
|
|
9083
|
-
*
|
|
9549
|
+
* Publishes a flow version.
|
|
9550
|
+
*
|
|
9551
|
+
* @remarks
|
|
9552
|
+
* - You can call this operation to publish 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 manually publish a flow version.
|
|
9553
|
+
* - Before calling this operation, make sure that you have a successfully created flow and that your flow is bindded to a phone number or merchant account ID.
|
|
9554
|
+
* - If you do not have a successfully created flow, you can manually create a flow and bindded it to a phone number or merchant account ID on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, or 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 bind it to a phone number or merchant account ID.
|
|
9555
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9084
9556
|
*
|
|
9085
9557
|
* @param request - OnlineFlowVersionRequest
|
|
9086
9558
|
* @returns OnlineFlowVersionResponse
|
|
@@ -9091,7 +9563,7 @@ export default class Client extends OpenApi {
|
|
|
9091
9563
|
}
|
|
9092
9564
|
|
|
9093
9565
|
/**
|
|
9094
|
-
*
|
|
9566
|
+
* Activates the Chat App Message Service.
|
|
9095
9567
|
*
|
|
9096
9568
|
* @param request - OpenChatappServiceRequest
|
|
9097
9569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9130,7 +9602,7 @@ export default class Client extends OpenApi {
|
|
|
9130
9602
|
}
|
|
9131
9603
|
|
|
9132
9604
|
/**
|
|
9133
|
-
*
|
|
9605
|
+
* Activates the Chat App Message Service.
|
|
9134
9606
|
*
|
|
9135
9607
|
* @param request - OpenChatappServiceRequest
|
|
9136
9608
|
* @returns OpenChatappServiceResponse
|
|
@@ -9141,7 +9613,7 @@ export default class Client extends OpenApi {
|
|
|
9141
9613
|
}
|
|
9142
9614
|
|
|
9143
9615
|
/**
|
|
9144
|
-
*
|
|
9616
|
+
* Pauses a service.
|
|
9145
9617
|
*
|
|
9146
9618
|
* @param request - PauseMarketingFLowRequest
|
|
9147
9619
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9188,7 +9660,7 @@ export default class Client extends OpenApi {
|
|
|
9188
9660
|
}
|
|
9189
9661
|
|
|
9190
9662
|
/**
|
|
9191
|
-
*
|
|
9663
|
+
* Pauses a service.
|
|
9192
9664
|
*
|
|
9193
9665
|
* @param request - PauseMarketingFLowRequest
|
|
9194
9666
|
* @returns PauseMarketingFLowResponse
|
|
@@ -9199,13 +9671,13 @@ export default class Client extends OpenApi {
|
|
|
9199
9671
|
}
|
|
9200
9672
|
|
|
9201
9673
|
/**
|
|
9202
|
-
* Publishes a
|
|
9674
|
+
* Publishes a Flow.
|
|
9203
9675
|
*
|
|
9204
9676
|
* @remarks
|
|
9205
|
-
* - Before
|
|
9206
|
-
* - If you
|
|
9677
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9678
|
+
* - 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
9679
|
* #### QPS limit
|
|
9208
|
-
*
|
|
9680
|
+
* 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
9681
|
*
|
|
9210
9682
|
* @param request - PublishFlowRequest
|
|
9211
9683
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9252,13 +9724,13 @@ export default class Client extends OpenApi {
|
|
|
9252
9724
|
}
|
|
9253
9725
|
|
|
9254
9726
|
/**
|
|
9255
|
-
* Publishes a
|
|
9727
|
+
* Publishes a Flow.
|
|
9256
9728
|
*
|
|
9257
9729
|
* @remarks
|
|
9258
|
-
* - Before
|
|
9259
|
-
* - If you
|
|
9730
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9731
|
+
* - 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
9732
|
* #### QPS limit
|
|
9261
|
-
*
|
|
9733
|
+
* 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
9734
|
*
|
|
9263
9735
|
* @param request - PublishFlowRequest
|
|
9264
9736
|
* @returns PublishFlowResponse
|
|
@@ -9443,7 +9915,7 @@ export default class Client extends OpenApi {
|
|
|
9443
9915
|
}
|
|
9444
9916
|
|
|
9445
9917
|
/**
|
|
9446
|
-
*
|
|
9918
|
+
* Queries whether a marketing message is effective.
|
|
9447
9919
|
*
|
|
9448
9920
|
* @param request - QueryMMLActiveRequest
|
|
9449
9921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9486,7 +9958,7 @@ export default class Client extends OpenApi {
|
|
|
9486
9958
|
}
|
|
9487
9959
|
|
|
9488
9960
|
/**
|
|
9489
|
-
*
|
|
9961
|
+
* Queries whether a marketing message is effective.
|
|
9490
9962
|
*
|
|
9491
9963
|
* @param request - QueryMMLActiveRequest
|
|
9492
9964
|
* @returns QueryMMLActiveResponse
|
|
@@ -9500,7 +9972,7 @@ export default class Client extends OpenApi {
|
|
|
9500
9972
|
* Queries the business information of a phone number.
|
|
9501
9973
|
*
|
|
9502
9974
|
* @remarks
|
|
9503
|
-
*
|
|
9975
|
+
* 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
9976
|
*
|
|
9505
9977
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9506
9978
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9550,7 +10022,7 @@ export default class Client extends OpenApi {
|
|
|
9550
10022
|
* Queries the business information of a phone number.
|
|
9551
10023
|
*
|
|
9552
10024
|
* @remarks
|
|
9553
|
-
*
|
|
10025
|
+
* 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
10026
|
*
|
|
9555
10027
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9556
10028
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -9625,7 +10097,12 @@ export default class Client extends OpenApi {
|
|
|
9625
10097
|
}
|
|
9626
10098
|
|
|
9627
10099
|
/**
|
|
9628
|
-
*
|
|
10100
|
+
* Retrieves the details of a flow.
|
|
10101
|
+
*
|
|
10102
|
+
* @remarks
|
|
10103
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10104
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10105
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9629
10106
|
*
|
|
9630
10107
|
* @param tmpReq - ReadChatFlowRequest
|
|
9631
10108
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9682,7 +10159,12 @@ export default class Client extends OpenApi {
|
|
|
9682
10159
|
}
|
|
9683
10160
|
|
|
9684
10161
|
/**
|
|
9685
|
-
*
|
|
10162
|
+
* Retrieves the details of a flow.
|
|
10163
|
+
*
|
|
10164
|
+
* @remarks
|
|
10165
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10166
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10167
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9686
10168
|
*
|
|
9687
10169
|
* @param request - ReadChatFlowRequest
|
|
9688
10170
|
* @returns ReadChatFlowResponse
|
|
@@ -9693,7 +10175,12 @@ export default class Client extends OpenApi {
|
|
|
9693
10175
|
}
|
|
9694
10176
|
|
|
9695
10177
|
/**
|
|
9696
|
-
*
|
|
10178
|
+
* Queries the flow log settings.
|
|
10179
|
+
*
|
|
10180
|
+
* @remarks
|
|
10181
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10182
|
+
* - If flow log settings have not been created for your flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10183
|
+
* - 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 flow log settings.
|
|
9697
10184
|
*
|
|
9698
10185
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9699
10186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9736,7 +10223,12 @@ export default class Client extends OpenApi {
|
|
|
9736
10223
|
}
|
|
9737
10224
|
|
|
9738
10225
|
/**
|
|
9739
|
-
*
|
|
10226
|
+
* Queries the flow log settings.
|
|
10227
|
+
*
|
|
10228
|
+
* @remarks
|
|
10229
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10230
|
+
* - If flow log settings have not been created for your flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10231
|
+
* - 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 flow log settings.
|
|
9740
10232
|
*
|
|
9741
10233
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9742
10234
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -9747,7 +10239,12 @@ export default class Client extends OpenApi {
|
|
|
9747
10239
|
}
|
|
9748
10240
|
|
|
9749
10241
|
/**
|
|
9750
|
-
*
|
|
10242
|
+
* Retrieves a flow version.
|
|
10243
|
+
*
|
|
10244
|
+
* @remarks
|
|
10245
|
+
* - 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.
|
|
10246
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10247
|
+
* - 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
10248
|
*
|
|
9752
10249
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9753
10250
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9770,6 +10267,10 @@ export default class Client extends OpenApi {
|
|
|
9770
10267
|
query["BizExtend"] = request.bizExtendShrink;
|
|
9771
10268
|
}
|
|
9772
10269
|
|
|
10270
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
10271
|
+
query["DraftVersion"] = request.draftVersion;
|
|
10272
|
+
}
|
|
10273
|
+
|
|
9773
10274
|
if (!$dara.isNull(request.flowCode)) {
|
|
9774
10275
|
query["FlowCode"] = request.flowCode;
|
|
9775
10276
|
}
|
|
@@ -9812,7 +10313,12 @@ export default class Client extends OpenApi {
|
|
|
9812
10313
|
}
|
|
9813
10314
|
|
|
9814
10315
|
/**
|
|
9815
|
-
*
|
|
10316
|
+
* Retrieves a flow version.
|
|
10317
|
+
*
|
|
10318
|
+
* @remarks
|
|
10319
|
+
* - 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.
|
|
10320
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10321
|
+
* - 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
10322
|
*
|
|
9817
10323
|
* @param request - ReadFlowVersionRequest
|
|
9818
10324
|
* @returns ReadFlowVersionResponse
|
|
@@ -9823,7 +10329,7 @@ export default class Client extends OpenApi {
|
|
|
9823
10329
|
}
|
|
9824
10330
|
|
|
9825
10331
|
/**
|
|
9826
|
-
*
|
|
10332
|
+
* Removes a single contact from the current group.
|
|
9827
10333
|
*
|
|
9828
10334
|
* @param request - RemoveContactByIdRequest
|
|
9829
10335
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9870,7 +10376,7 @@ export default class Client extends OpenApi {
|
|
|
9870
10376
|
}
|
|
9871
10377
|
|
|
9872
10378
|
/**
|
|
9873
|
-
*
|
|
10379
|
+
* Removes a single contact from the current group.
|
|
9874
10380
|
*
|
|
9875
10381
|
* @param request - RemoveContactByIdRequest
|
|
9876
10382
|
* @returns RemoveContactByIdResponse
|
|
@@ -9955,21 +10461,20 @@ export default class Client extends OpenApi {
|
|
|
9955
10461
|
}
|
|
9956
10462
|
|
|
9957
10463
|
/**
|
|
9958
|
-
* Sends
|
|
10464
|
+
* Sends Chat App messages in batches.
|
|
9959
10465
|
*
|
|
9960
10466
|
* @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.
|
|
10467
|
+
* - 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.
|
|
10468
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10469
|
+
* - 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).
|
|
10470
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10471
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10472
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10473
|
+
* ### QPS limit
|
|
10474
|
+
* - 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.
|
|
10475
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
9971
10476
|
* ### Status changes
|
|
9972
|
-
*
|
|
10477
|
+
* 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
10478
|
*
|
|
9974
10479
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9975
10480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10082,21 +10587,20 @@ export default class Client extends OpenApi {
|
|
|
10082
10587
|
}
|
|
10083
10588
|
|
|
10084
10589
|
/**
|
|
10085
|
-
* Sends
|
|
10590
|
+
* Sends Chat App messages in batches.
|
|
10086
10591
|
*
|
|
10087
10592
|
* @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.
|
|
10593
|
+
* - 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.
|
|
10594
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10595
|
+
* - 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).
|
|
10596
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10597
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10598
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10599
|
+
* ### QPS limit
|
|
10600
|
+
* - 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.
|
|
10601
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
10098
10602
|
* ### Status changes
|
|
10099
|
-
*
|
|
10603
|
+
* 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
10604
|
*
|
|
10101
10605
|
* @param request - SendChatappMassMessageRequest
|
|
10102
10606
|
* @returns SendChatappMassMessageResponse
|
|
@@ -10107,20 +10611,19 @@ export default class Client extends OpenApi {
|
|
|
10107
10611
|
}
|
|
10108
10612
|
|
|
10109
10613
|
/**
|
|
10110
|
-
* Sends a
|
|
10614
|
+
* Sends a Chat App Message Service message.
|
|
10111
10615
|
*
|
|
10112
10616
|
* @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).
|
|
10617
|
+
* - 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.
|
|
10618
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10619
|
+
* - For WhatsApp channels, 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).
|
|
10620
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10621
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10622
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10120
10623
|
* ### QPS limit
|
|
10121
|
-
* The QPS limit for this operation is 250 per
|
|
10624
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
10122
10625
|
* ### Status changes
|
|
10123
|
-
* You can
|
|
10626
|
+
* 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
10627
|
*
|
|
10125
10628
|
* @param tmpReq - SendChatappMessageRequest
|
|
10126
10629
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10301,20 +10804,19 @@ export default class Client extends OpenApi {
|
|
|
10301
10804
|
}
|
|
10302
10805
|
|
|
10303
10806
|
/**
|
|
10304
|
-
* Sends a
|
|
10807
|
+
* Sends a Chat App Message Service message.
|
|
10305
10808
|
*
|
|
10306
10809
|
* @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).
|
|
10810
|
+
* - 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.
|
|
10811
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10812
|
+
* - For WhatsApp channels, 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).
|
|
10813
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10814
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10815
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10314
10816
|
* ### QPS limit
|
|
10315
|
-
* The QPS limit for this operation is 250 per
|
|
10817
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
10316
10818
|
* ### Status changes
|
|
10317
|
-
* You can
|
|
10819
|
+
* 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
10820
|
*
|
|
10319
10821
|
* @param request - SendChatappMessageRequest
|
|
10320
10822
|
* @returns SendChatappMessageResponse
|
|
@@ -10375,11 +10877,11 @@ export default class Client extends OpenApi {
|
|
|
10375
10877
|
}
|
|
10376
10878
|
|
|
10377
10879
|
/**
|
|
10378
|
-
* Synchronizes
|
|
10880
|
+
* Synchronizes business app historical records.
|
|
10379
10881
|
*
|
|
10380
10882
|
* @remarks
|
|
10381
|
-
* - Before
|
|
10382
|
-
* - This
|
|
10883
|
+
* - 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.
|
|
10884
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10383
10885
|
*
|
|
10384
10886
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10385
10887
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10426,11 +10928,11 @@ export default class Client extends OpenApi {
|
|
|
10426
10928
|
}
|
|
10427
10929
|
|
|
10428
10930
|
/**
|
|
10429
|
-
* Synchronizes
|
|
10931
|
+
* Synchronizes business app historical records.
|
|
10430
10932
|
*
|
|
10431
10933
|
* @remarks
|
|
10432
|
-
* - Before
|
|
10433
|
-
* - This
|
|
10934
|
+
* - 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.
|
|
10935
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10434
10936
|
*
|
|
10435
10937
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10436
10938
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -10441,7 +10943,7 @@ export default class Client extends OpenApi {
|
|
|
10441
10943
|
}
|
|
10442
10944
|
|
|
10443
10945
|
/**
|
|
10444
|
-
*
|
|
10946
|
+
* Syncs a WhatsApp flow.
|
|
10445
10947
|
*
|
|
10446
10948
|
* @param request - SyncFlowRequest
|
|
10447
10949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10484,7 +10986,7 @@ export default class Client extends OpenApi {
|
|
|
10484
10986
|
}
|
|
10485
10987
|
|
|
10486
10988
|
/**
|
|
10487
|
-
*
|
|
10989
|
+
* Syncs a WhatsApp flow.
|
|
10488
10990
|
*
|
|
10489
10991
|
* @param request - SyncFlowRequest
|
|
10490
10992
|
* @returns SyncFlowResponse
|
|
@@ -10553,7 +11055,7 @@ export default class Client extends OpenApi {
|
|
|
10553
11055
|
}
|
|
10554
11056
|
|
|
10555
11057
|
/**
|
|
10556
|
-
*
|
|
11058
|
+
* Queries the Messenger subscription token.
|
|
10557
11059
|
*
|
|
10558
11060
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10559
11061
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10608,7 +11110,7 @@ export default class Client extends OpenApi {
|
|
|
10608
11110
|
}
|
|
10609
11111
|
|
|
10610
11112
|
/**
|
|
10611
|
-
*
|
|
11113
|
+
* Queries the Messenger subscription token.
|
|
10612
11114
|
*
|
|
10613
11115
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10614
11116
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -10711,7 +11213,7 @@ export default class Client extends OpenApi {
|
|
|
10711
11213
|
}
|
|
10712
11214
|
|
|
10713
11215
|
/**
|
|
10714
|
-
*
|
|
11216
|
+
* Unbinds an email account.
|
|
10715
11217
|
*
|
|
10716
11218
|
* @param request - UnbindDmAccountRequest
|
|
10717
11219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10754,7 +11256,7 @@ export default class Client extends OpenApi {
|
|
|
10754
11256
|
}
|
|
10755
11257
|
|
|
10756
11258
|
/**
|
|
10757
|
-
*
|
|
11259
|
+
* Unbinds an email account.
|
|
10758
11260
|
*
|
|
10759
11261
|
* @param request - UnbindDmAccountRequest
|
|
10760
11262
|
* @returns UnbindDmAccountResponse
|
|
@@ -10909,7 +11411,12 @@ export default class Client extends OpenApi {
|
|
|
10909
11411
|
}
|
|
10910
11412
|
|
|
10911
11413
|
/**
|
|
10912
|
-
*
|
|
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 manually update it in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Basic Information**.
|
|
11418
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11419
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10913
11420
|
*
|
|
10914
11421
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10915
11422
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10974,7 +11481,12 @@ export default class Client extends OpenApi {
|
|
|
10974
11481
|
}
|
|
10975
11482
|
|
|
10976
11483
|
/**
|
|
10977
|
-
*
|
|
11484
|
+
* Updates the basic information of a flow based on the flow code.
|
|
11485
|
+
*
|
|
11486
|
+
* @remarks
|
|
11487
|
+
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Basic Information**.
|
|
11488
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11489
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10978
11490
|
*
|
|
10979
11491
|
* @param request - UpdateChatFlowRequest
|
|
10980
11492
|
* @returns UpdateChatFlowResponse
|
|
@@ -10985,7 +11497,13 @@ export default class Client extends OpenApi {
|
|
|
10985
11497
|
}
|
|
10986
11498
|
|
|
10987
11499
|
/**
|
|
10988
|
-
*
|
|
11500
|
+
* Updates the flow log settings.
|
|
11501
|
+
*
|
|
11502
|
+
* @remarks
|
|
11503
|
+
* - 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**.
|
|
11504
|
+
* - 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.
|
|
11505
|
+
* - 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.
|
|
11506
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10989
11507
|
*
|
|
10990
11508
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10991
11509
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11036,7 +11554,13 @@ export default class Client extends OpenApi {
|
|
|
11036
11554
|
}
|
|
11037
11555
|
|
|
11038
11556
|
/**
|
|
11039
|
-
*
|
|
11557
|
+
* Updates the flow log settings.
|
|
11558
|
+
*
|
|
11559
|
+
* @remarks
|
|
11560
|
+
* - 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**.
|
|
11561
|
+
* - 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.
|
|
11562
|
+
* - 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.
|
|
11563
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
11040
11564
|
*
|
|
11041
11565
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
11042
11566
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -11047,13 +11571,13 @@ export default class Client extends OpenApi {
|
|
|
11047
11571
|
}
|
|
11048
11572
|
|
|
11049
11573
|
/**
|
|
11050
|
-
*
|
|
11574
|
+
* Modifies the information of an IM group.
|
|
11051
11575
|
*
|
|
11052
11576
|
* @remarks
|
|
11053
|
-
* >Notice:
|
|
11054
|
-
*
|
|
11055
|
-
* - Before
|
|
11056
|
-
* - If you do not have
|
|
11577
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11578
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11579
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11580
|
+
* - 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
11581
|
*
|
|
11058
11582
|
* @param request - UpdateChatGroupRequest
|
|
11059
11583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11120,13 +11644,13 @@ export default class Client extends OpenApi {
|
|
|
11120
11644
|
}
|
|
11121
11645
|
|
|
11122
11646
|
/**
|
|
11123
|
-
*
|
|
11647
|
+
* Modifies the information of an IM group.
|
|
11124
11648
|
*
|
|
11125
11649
|
* @remarks
|
|
11126
|
-
* >Notice:
|
|
11127
|
-
*
|
|
11128
|
-
* - Before
|
|
11129
|
-
* - If you do not have
|
|
11650
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11651
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11652
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11653
|
+
* - 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
11654
|
*
|
|
11131
11655
|
* @param request - UpdateChatGroupRequest
|
|
11132
11656
|
* @returns UpdateChatGroupResponse
|
|
@@ -11209,7 +11733,7 @@ export default class Client extends OpenApi {
|
|
|
11209
11733
|
}
|
|
11210
11734
|
|
|
11211
11735
|
/**
|
|
11212
|
-
*
|
|
11736
|
+
* Modifies a contact.
|
|
11213
11737
|
*
|
|
11214
11738
|
* @param tmpReq - UpdateContactByIdRequest
|
|
11215
11739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11286,7 +11810,7 @@ export default class Client extends OpenApi {
|
|
|
11286
11810
|
}
|
|
11287
11811
|
|
|
11288
11812
|
/**
|
|
11289
|
-
*
|
|
11813
|
+
* Modifies a contact.
|
|
11290
11814
|
*
|
|
11291
11815
|
* @param request - UpdateContactByIdRequest
|
|
11292
11816
|
* @returns UpdateContactByIdResponse
|
|
@@ -11297,12 +11821,12 @@ export default class Client extends OpenApi {
|
|
|
11297
11821
|
}
|
|
11298
11822
|
|
|
11299
11823
|
/**
|
|
11300
|
-
* Modifies
|
|
11824
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
11301
11825
|
*
|
|
11302
11826
|
* @remarks
|
|
11303
|
-
* ###
|
|
11304
|
-
*
|
|
11305
|
-
* This
|
|
11827
|
+
* ### QPS limit
|
|
11828
|
+
* 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.
|
|
11829
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
11306
11830
|
*
|
|
11307
11831
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
11308
11832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11371,12 +11895,12 @@ export default class Client extends OpenApi {
|
|
|
11371
11895
|
}
|
|
11372
11896
|
|
|
11373
11897
|
/**
|
|
11374
|
-
* Modifies
|
|
11898
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
11375
11899
|
*
|
|
11376
11900
|
* @remarks
|
|
11377
|
-
* ###
|
|
11378
|
-
*
|
|
11379
|
-
* This
|
|
11901
|
+
* ### QPS limit
|
|
11902
|
+
* 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.
|
|
11903
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
11380
11904
|
*
|
|
11381
11905
|
* @param request - UpdateConversationalAutomationRequest
|
|
11382
11906
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -11387,10 +11911,10 @@ export default class Client extends OpenApi {
|
|
|
11387
11911
|
}
|
|
11388
11912
|
|
|
11389
11913
|
/**
|
|
11390
|
-
* Updates the content of a
|
|
11914
|
+
* Updates the content of a flow by using JSON.
|
|
11391
11915
|
*
|
|
11392
11916
|
* @remarks
|
|
11393
|
-
*
|
|
11917
|
+
* 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
11918
|
*
|
|
11395
11919
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11396
11920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11441,10 +11965,10 @@ export default class Client extends OpenApi {
|
|
|
11441
11965
|
}
|
|
11442
11966
|
|
|
11443
11967
|
/**
|
|
11444
|
-
* Updates the content of a
|
|
11968
|
+
* Updates the content of a flow by using JSON.
|
|
11445
11969
|
*
|
|
11446
11970
|
* @remarks
|
|
11447
|
-
*
|
|
11971
|
+
* 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
11972
|
*
|
|
11449
11973
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11450
11974
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -11455,7 +11979,12 @@ export default class Client extends OpenApi {
|
|
|
11455
11979
|
}
|
|
11456
11980
|
|
|
11457
11981
|
/**
|
|
11458
|
-
*
|
|
11982
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
11983
|
+
*
|
|
11984
|
+
* @remarks
|
|
11985
|
+
* - You can call this operation to update the DSL data of a flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
11986
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
11987
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
11459
11988
|
*
|
|
11460
11989
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11461
11990
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11506,6 +12035,10 @@ export default class Client extends OpenApi {
|
|
|
11506
12035
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11507
12036
|
}
|
|
11508
12037
|
|
|
12038
|
+
if (!$dara.isNull(request.type)) {
|
|
12039
|
+
query["Type"] = request.type;
|
|
12040
|
+
}
|
|
12041
|
+
|
|
11509
12042
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11510
12043
|
query: OpenApiUtil.query(query),
|
|
11511
12044
|
});
|
|
@@ -11524,7 +12057,12 @@ export default class Client extends OpenApi {
|
|
|
11524
12057
|
}
|
|
11525
12058
|
|
|
11526
12059
|
/**
|
|
11527
|
-
*
|
|
12060
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
12061
|
+
*
|
|
12062
|
+
* @remarks
|
|
12063
|
+
* - You can call this operation to update the DSL data of a flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
12064
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
12065
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
11528
12066
|
*
|
|
11529
12067
|
* @param request - UpdateFlowVersionRequest
|
|
11530
12068
|
* @returns UpdateFlowVersionResponse
|
|
@@ -11535,7 +12073,7 @@ export default class Client extends OpenApi {
|
|
|
11535
12073
|
}
|
|
11536
12074
|
|
|
11537
12075
|
/**
|
|
11538
|
-
*
|
|
12076
|
+
* Renames a group.
|
|
11539
12077
|
*
|
|
11540
12078
|
* @param request - UpdateGroupNameRequest
|
|
11541
12079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11582,7 +12120,7 @@ export default class Client extends OpenApi {
|
|
|
11582
12120
|
}
|
|
11583
12121
|
|
|
11584
12122
|
/**
|
|
11585
|
-
*
|
|
12123
|
+
* Renames a group.
|
|
11586
12124
|
*
|
|
11587
12125
|
* @param request - UpdateGroupNameRequest
|
|
11588
12126
|
* @returns UpdateGroupNameResponse
|
|
@@ -11667,7 +12205,7 @@ export default class Client extends OpenApi {
|
|
|
11667
12205
|
}
|
|
11668
12206
|
|
|
11669
12207
|
/**
|
|
11670
|
-
*
|
|
12208
|
+
* Modifies campaign information.
|
|
11671
12209
|
*
|
|
11672
12210
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
11673
12211
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11764,7 +12302,7 @@ export default class Client extends OpenApi {
|
|
|
11764
12302
|
}
|
|
11765
12303
|
|
|
11766
12304
|
/**
|
|
11767
|
-
*
|
|
12305
|
+
* Modifies campaign information.
|
|
11768
12306
|
*
|
|
11769
12307
|
* @param request - UpdateMarketingFLowRequest
|
|
11770
12308
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -11775,13 +12313,13 @@ export default class Client extends OpenApi {
|
|
|
11775
12313
|
}
|
|
11776
12314
|
|
|
11777
12315
|
/**
|
|
11778
|
-
* Updates the encryption key
|
|
12316
|
+
* Updates the encryption public key of a phone number.
|
|
11779
12317
|
*
|
|
11780
12318
|
* @remarks
|
|
11781
|
-
* - Before
|
|
11782
|
-
* - If
|
|
12319
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12320
|
+
* - 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
12321
|
* #### QPS limit
|
|
11784
|
-
*
|
|
12322
|
+
* 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
12323
|
*
|
|
11786
12324
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11787
12325
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11832,13 +12370,13 @@ export default class Client extends OpenApi {
|
|
|
11832
12370
|
}
|
|
11833
12371
|
|
|
11834
12372
|
/**
|
|
11835
|
-
* Updates the encryption key
|
|
12373
|
+
* Updates the encryption public key of a phone number.
|
|
11836
12374
|
*
|
|
11837
12375
|
* @remarks
|
|
11838
|
-
* - Before
|
|
11839
|
-
* - If
|
|
12376
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12377
|
+
* - 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
12378
|
* #### QPS limit
|
|
11841
|
-
*
|
|
12379
|
+
* 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
12380
|
*
|
|
11843
12381
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11844
12382
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -11849,13 +12387,14 @@ export default class Client extends OpenApi {
|
|
|
11849
12387
|
}
|
|
11850
12388
|
|
|
11851
12389
|
/**
|
|
11852
|
-
*
|
|
12390
|
+
* Modifies a message QR code.
|
|
11853
12391
|
*
|
|
11854
12392
|
* @remarks
|
|
11855
|
-
* - After you
|
|
11856
|
-
* -
|
|
12393
|
+
* - 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.
|
|
12394
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12395
|
+
* - 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
12396
|
* #### QPS limit
|
|
11858
|
-
*
|
|
12397
|
+
* 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
12398
|
*
|
|
11860
12399
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11861
12400
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11914,13 +12453,14 @@ export default class Client extends OpenApi {
|
|
|
11914
12453
|
}
|
|
11915
12454
|
|
|
11916
12455
|
/**
|
|
11917
|
-
*
|
|
12456
|
+
* Modifies a message QR code.
|
|
11918
12457
|
*
|
|
11919
12458
|
* @remarks
|
|
11920
|
-
* - After you
|
|
11921
|
-
* -
|
|
12459
|
+
* - 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.
|
|
12460
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12461
|
+
* - 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
12462
|
* #### QPS limit
|
|
11923
|
-
*
|
|
12463
|
+
* 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
12464
|
*
|
|
11925
12465
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11926
12466
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -11931,12 +12471,10 @@ export default class Client extends OpenApi {
|
|
|
11931
12471
|
}
|
|
11932
12472
|
|
|
11933
12473
|
/**
|
|
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~~).
|
|
12474
|
+
* Modifies the callback URL information for a phone number.
|
|
11937
12475
|
*
|
|
11938
12476
|
* @remarks
|
|
11939
|
-
* The
|
|
12477
|
+
* 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
12478
|
*
|
|
11941
12479
|
* @param request - UpdatePhoneWebhookRequest
|
|
11942
12480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11999,12 +12537,10 @@ export default class Client extends OpenApi {
|
|
|
11999
12537
|
}
|
|
12000
12538
|
|
|
12001
12539
|
/**
|
|
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~~).
|
|
12540
|
+
* Modifies the callback URL information for a phone number.
|
|
12005
12541
|
*
|
|
12006
12542
|
* @remarks
|
|
12007
|
-
* The
|
|
12543
|
+
* 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
12544
|
*
|
|
12009
12545
|
* @param request - UpdatePhoneWebhookRequest
|
|
12010
12546
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -12015,7 +12551,7 @@ export default class Client extends OpenApi {
|
|
|
12015
12551
|
}
|
|
12016
12552
|
|
|
12017
12553
|
/**
|
|
12018
|
-
*
|
|
12554
|
+
* Updates the MML status of a WABA.
|
|
12019
12555
|
*
|
|
12020
12556
|
* @param request - UpdateWabaMmlStatusRequest
|
|
12021
12557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12066,7 +12602,7 @@ export default class Client extends OpenApi {
|
|
|
12066
12602
|
}
|
|
12067
12603
|
|
|
12068
12604
|
/**
|
|
12069
|
-
*
|
|
12605
|
+
* Updates the MML status of a WABA.
|
|
12070
12606
|
*
|
|
12071
12607
|
* @param request - UpdateWabaMmlStatusRequest
|
|
12072
12608
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -12077,7 +12613,61 @@ export default class Client extends OpenApi {
|
|
|
12077
12613
|
}
|
|
12078
12614
|
|
|
12079
12615
|
/**
|
|
12080
|
-
*
|
|
12616
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12617
|
+
*
|
|
12618
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12619
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12620
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12621
|
+
*/
|
|
12622
|
+
async updateWhatsappUserNameWithOptions(request: $_model.UpdateWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12623
|
+
request.validate();
|
|
12624
|
+
let query = { };
|
|
12625
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
12626
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
12627
|
+
}
|
|
12628
|
+
|
|
12629
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
12630
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
12631
|
+
}
|
|
12632
|
+
|
|
12633
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
12634
|
+
query["TransferAction"] = request.transferAction;
|
|
12635
|
+
}
|
|
12636
|
+
|
|
12637
|
+
if (!$dara.isNull(request.username)) {
|
|
12638
|
+
query["Username"] = request.username;
|
|
12639
|
+
}
|
|
12640
|
+
|
|
12641
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12642
|
+
query: OpenApiUtil.query(query),
|
|
12643
|
+
});
|
|
12644
|
+
let params = new $OpenApiUtil.Params({
|
|
12645
|
+
action: "UpdateWhatsappUserName",
|
|
12646
|
+
version: "2020-06-06",
|
|
12647
|
+
protocol: "HTTPS",
|
|
12648
|
+
pathname: "/",
|
|
12649
|
+
method: "POST",
|
|
12650
|
+
authType: "AK",
|
|
12651
|
+
style: "RPC",
|
|
12652
|
+
reqBodyType: "formData",
|
|
12653
|
+
bodyType: "json",
|
|
12654
|
+
});
|
|
12655
|
+
return $dara.cast<$_model.UpdateWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
12656
|
+
}
|
|
12657
|
+
|
|
12658
|
+
/**
|
|
12659
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12660
|
+
*
|
|
12661
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12662
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12663
|
+
*/
|
|
12664
|
+
async updateWhatsappUserName(request: $_model.UpdateWhatsappUserNameRequest): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12665
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12666
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
12667
|
+
}
|
|
12668
|
+
|
|
12669
|
+
/**
|
|
12670
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
12081
12671
|
*
|
|
12082
12672
|
* @param tmpReq - WhatsappCallRequest
|
|
12083
12673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12146,7 +12736,7 @@ export default class Client extends OpenApi {
|
|
|
12146
12736
|
}
|
|
12147
12737
|
|
|
12148
12738
|
/**
|
|
12149
|
-
*
|
|
12739
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
12150
12740
|
*
|
|
12151
12741
|
* @param request - WhatsappCallRequest
|
|
12152
12742
|
* @returns WhatsappCallResponse
|