@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/dist/client.js
CHANGED
|
@@ -65,7 +65,7 @@ class Client extends openapi_core_1.default {
|
|
|
65
65
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
|
-
*
|
|
68
|
+
* Submits a request to change the destination, resume, or pause.
|
|
69
69
|
*
|
|
70
70
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
71
71
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114,7 +114,7 @@ class Client extends openapi_core_1.default {
|
|
|
114
114
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
115
115
|
}
|
|
116
116
|
/**
|
|
117
|
-
*
|
|
117
|
+
* Submits a request to change the destination, resume, or pause.
|
|
118
118
|
*
|
|
119
119
|
* @param request - AddAddressRecoverSuspendRequest
|
|
120
120
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -260,16 +260,15 @@ class Client extends openapi_core_1.default {
|
|
|
260
260
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
261
261
|
}
|
|
262
262
|
/**
|
|
263
|
-
* Adds an invite link for an
|
|
263
|
+
* Adds an invite link for an IM group.
|
|
264
264
|
*
|
|
265
265
|
* @remarks
|
|
266
|
-
* >Notice:
|
|
267
|
-
*
|
|
268
|
-
* -
|
|
269
|
-
* -
|
|
270
|
-
* -
|
|
271
|
-
* -
|
|
272
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
266
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
267
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
268
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
269
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
270
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
271
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
273
272
|
*
|
|
274
273
|
* @param request - AddChatGroupInviteLinkRequest
|
|
275
274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -316,16 +315,15 @@ class Client extends openapi_core_1.default {
|
|
|
316
315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
317
316
|
}
|
|
318
317
|
/**
|
|
319
|
-
* Adds an invite link for an
|
|
318
|
+
* Adds an invite link for an IM group.
|
|
320
319
|
*
|
|
321
320
|
* @remarks
|
|
322
|
-
* >Notice:
|
|
323
|
-
*
|
|
324
|
-
* -
|
|
325
|
-
* -
|
|
326
|
-
* -
|
|
327
|
-
* -
|
|
328
|
-
* - A WhatsApp group can have a maximum of 8 members.
|
|
321
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
322
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
323
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
324
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
325
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
326
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
329
327
|
*
|
|
330
328
|
* @param request - AddChatGroupInviteLinkRequest
|
|
331
329
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -335,10 +333,10 @@ class Client extends openapi_core_1.default {
|
|
|
335
333
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
336
334
|
}
|
|
337
335
|
/**
|
|
338
|
-
* Adds a phone number to a
|
|
336
|
+
* Adds a phone number to a WABA.
|
|
339
337
|
*
|
|
340
338
|
* @remarks
|
|
341
|
-
*
|
|
339
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
342
340
|
*
|
|
343
341
|
* @param request - AddChatappPhoneNumberRequest
|
|
344
342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -388,10 +386,10 @@ class Client extends openapi_core_1.default {
|
|
|
388
386
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
389
387
|
}
|
|
390
388
|
/**
|
|
391
|
-
* Adds a phone number to a
|
|
389
|
+
* Adds a phone number to a WABA.
|
|
392
390
|
*
|
|
393
391
|
* @remarks
|
|
394
|
-
*
|
|
392
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
395
393
|
*
|
|
396
394
|
* @param request - AddChatappPhoneNumberRequest
|
|
397
395
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -401,7 +399,7 @@ class Client extends openapi_core_1.default {
|
|
|
401
399
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
402
400
|
}
|
|
403
401
|
/**
|
|
404
|
-
*
|
|
402
|
+
* Edits a contact - add contact.
|
|
405
403
|
*
|
|
406
404
|
* @param tmpReq - AddContactsRequest
|
|
407
405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -471,7 +469,7 @@ class Client extends openapi_core_1.default {
|
|
|
471
469
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddContactsResponse({}));
|
|
472
470
|
}
|
|
473
471
|
/**
|
|
474
|
-
*
|
|
472
|
+
* Edits a contact - add contact.
|
|
475
473
|
*
|
|
476
474
|
* @param request - AddContactsRequest
|
|
477
475
|
* @returns AddContactsResponse
|
|
@@ -558,7 +556,7 @@ class Client extends openapi_core_1.default {
|
|
|
558
556
|
return await this.addCustomAudienceUserWithOptions(request, runtime);
|
|
559
557
|
}
|
|
560
558
|
/**
|
|
561
|
-
*
|
|
559
|
+
* Adds a group.
|
|
562
560
|
*
|
|
563
561
|
* @param tmpReq - AddGroupRequest
|
|
564
562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -625,7 +623,7 @@ class Client extends openapi_core_1.default {
|
|
|
625
623
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGroupResponse({}));
|
|
626
624
|
}
|
|
627
625
|
/**
|
|
628
|
-
*
|
|
626
|
+
* Adds a group.
|
|
629
627
|
*
|
|
630
628
|
* @param request - AddGroupRequest
|
|
631
629
|
* @returns AddGroupResponse
|
|
@@ -635,7 +633,7 @@ class Client extends openapi_core_1.default {
|
|
|
635
633
|
return await this.addGroupWithOptions(request, runtime);
|
|
636
634
|
}
|
|
637
635
|
/**
|
|
638
|
-
*
|
|
636
|
+
* Creates a campaign.
|
|
639
637
|
*
|
|
640
638
|
* @param tmpReq - AddMarketingFlowRequest
|
|
641
639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -717,7 +715,7 @@ class Client extends openapi_core_1.default {
|
|
|
717
715
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
718
716
|
}
|
|
719
717
|
/**
|
|
720
|
-
*
|
|
718
|
+
* Creates a campaign.
|
|
721
719
|
*
|
|
722
720
|
* @param request - AddMarketingFlowRequest
|
|
723
721
|
* @returns AddMarketingFlowResponse
|
|
@@ -727,7 +725,60 @@ class Client extends openapi_core_1.default {
|
|
|
727
725
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
728
726
|
}
|
|
729
727
|
/**
|
|
730
|
-
*
|
|
728
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
729
|
+
*
|
|
730
|
+
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
732
|
+
* @returns ArchiveChatappTemplateResponse
|
|
733
|
+
*/
|
|
734
|
+
async archiveChatappTemplateWithOptions(tmpReq, runtime) {
|
|
735
|
+
tmpReq.validate();
|
|
736
|
+
let request = new $_model.ArchiveChatappTemplateShrinkRequest({});
|
|
737
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
738
|
+
if (!$dara.isNull(tmpReq.templateList)) {
|
|
739
|
+
request.templateListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
|
|
740
|
+
}
|
|
741
|
+
let query = {};
|
|
742
|
+
if (!$dara.isNull(request.archiveType)) {
|
|
743
|
+
query["ArchiveType"] = request.archiveType;
|
|
744
|
+
}
|
|
745
|
+
if (!$dara.isNull(request.channelType)) {
|
|
746
|
+
query["ChannelType"] = request.channelType;
|
|
747
|
+
}
|
|
748
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
749
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
750
|
+
}
|
|
751
|
+
if (!$dara.isNull(request.templateListShrink)) {
|
|
752
|
+
query["TemplateList"] = request.templateListShrink;
|
|
753
|
+
}
|
|
754
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
755
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
756
|
+
});
|
|
757
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
758
|
+
action: "ArchiveChatappTemplate",
|
|
759
|
+
version: "2020-06-06",
|
|
760
|
+
protocol: "HTTPS",
|
|
761
|
+
pathname: "/",
|
|
762
|
+
method: "POST",
|
|
763
|
+
authType: "AK",
|
|
764
|
+
style: "RPC",
|
|
765
|
+
reqBodyType: "formData",
|
|
766
|
+
bodyType: "json",
|
|
767
|
+
});
|
|
768
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
772
|
+
*
|
|
773
|
+
* @param request - ArchiveChatappTemplateRequest
|
|
774
|
+
* @returns ArchiveChatappTemplateResponse
|
|
775
|
+
*/
|
|
776
|
+
async archiveChatappTemplate(request) {
|
|
777
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
778
|
+
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Associates a DM account.
|
|
731
782
|
*
|
|
732
783
|
* @param tmpReq - BindDmAccountRequest
|
|
733
784
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -776,7 +827,7 @@ class Client extends openapi_core_1.default {
|
|
|
776
827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
777
828
|
}
|
|
778
829
|
/**
|
|
779
|
-
*
|
|
830
|
+
* Associates a DM account.
|
|
780
831
|
*
|
|
781
832
|
* @param request - BindDmAccountRequest
|
|
782
833
|
* @returns BindDmAccountResponse
|
|
@@ -786,7 +837,7 @@ class Client extends openapi_core_1.default {
|
|
|
786
837
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
787
838
|
}
|
|
788
839
|
/**
|
|
789
|
-
*
|
|
840
|
+
* Associates a page with an instance.
|
|
790
841
|
*
|
|
791
842
|
* @param request - BindInstagramPageRequest
|
|
792
843
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -830,7 +881,7 @@ class Client extends openapi_core_1.default {
|
|
|
830
881
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
831
882
|
}
|
|
832
883
|
/**
|
|
833
|
-
*
|
|
884
|
+
* Associates a page with an instance.
|
|
834
885
|
*
|
|
835
886
|
* @param request - BindInstagramPageRequest
|
|
836
887
|
* @returns BindInstagramPageResponse
|
|
@@ -840,7 +891,7 @@ class Client extends openapi_core_1.default {
|
|
|
840
891
|
return await this.bindInstagramPageWithOptions(request, runtime);
|
|
841
892
|
}
|
|
842
893
|
/**
|
|
843
|
-
*
|
|
894
|
+
* Binds the selected pageId.
|
|
844
895
|
*
|
|
845
896
|
* @param request - BindMessengerPageRequest
|
|
846
897
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -884,7 +935,7 @@ class Client extends openapi_core_1.default {
|
|
|
884
935
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindMessengerPageResponse({}));
|
|
885
936
|
}
|
|
886
937
|
/**
|
|
887
|
-
*
|
|
938
|
+
* Binds the selected pageId.
|
|
888
939
|
*
|
|
889
940
|
* @param request - BindMessengerPageRequest
|
|
890
941
|
* @returns BindMessengerPageResponse
|
|
@@ -894,7 +945,7 @@ class Client extends openapi_core_1.default {
|
|
|
894
945
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
895
946
|
}
|
|
896
947
|
/**
|
|
897
|
-
*
|
|
948
|
+
* Moves a resource to a different resource group.
|
|
898
949
|
*
|
|
899
950
|
* @param request - ChangeResourceGroupRequest
|
|
900
951
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -929,7 +980,7 @@ class Client extends openapi_core_1.default {
|
|
|
929
980
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
930
981
|
}
|
|
931
982
|
/**
|
|
932
|
-
*
|
|
983
|
+
* Moves a resource to a different resource group.
|
|
933
984
|
*
|
|
934
985
|
* @param request - ChangeResourceGroupRequest
|
|
935
986
|
* @returns ChangeResourceGroupResponse
|
|
@@ -939,10 +990,10 @@ class Client extends openapi_core_1.default {
|
|
|
939
990
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
940
991
|
}
|
|
941
992
|
/**
|
|
942
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
993
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
943
994
|
*
|
|
944
995
|
* @remarks
|
|
945
|
-
*
|
|
996
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
946
997
|
*
|
|
947
998
|
* @param request - ChatappBindWabaRequest
|
|
948
999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,10 +1031,10 @@ class Client extends openapi_core_1.default {
|
|
|
980
1031
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
981
1032
|
}
|
|
982
1033
|
/**
|
|
983
|
-
* Binds a WhatsApp Business Account (WABA).
|
|
1034
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
984
1035
|
*
|
|
985
1036
|
* @remarks
|
|
986
|
-
*
|
|
1037
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
987
1038
|
*
|
|
988
1039
|
* @param request - ChatappBindWabaRequest
|
|
989
1040
|
* @returns ChatappBindWabaResponse
|
|
@@ -993,10 +1044,10 @@ class Client extends openapi_core_1.default {
|
|
|
993
1044
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
994
1045
|
}
|
|
995
1046
|
/**
|
|
996
|
-
*
|
|
1047
|
+
* Migrates a phone number registration.
|
|
997
1048
|
*
|
|
998
1049
|
* @remarks
|
|
999
|
-
* The
|
|
1050
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1000
1051
|
*
|
|
1001
1052
|
* @param request - ChatappMigrationRegisterRequest
|
|
1002
1053
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1037,10 +1088,10 @@ class Client extends openapi_core_1.default {
|
|
|
1037
1088
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappMigrationRegisterResponse({}));
|
|
1038
1089
|
}
|
|
1039
1090
|
/**
|
|
1040
|
-
*
|
|
1091
|
+
* Migrates a phone number registration.
|
|
1041
1092
|
*
|
|
1042
1093
|
* @remarks
|
|
1043
|
-
* The
|
|
1094
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1044
1095
|
*
|
|
1045
1096
|
* @param request - ChatappMigrationRegisterRequest
|
|
1046
1097
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1053,7 +1104,7 @@ class Client extends openapi_core_1.default {
|
|
|
1053
1104
|
* Verifies a phone number for migration.
|
|
1054
1105
|
*
|
|
1055
1106
|
* @remarks
|
|
1056
|
-
*
|
|
1107
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1057
1108
|
*
|
|
1058
1109
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1059
1110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1100,7 +1151,7 @@ class Client extends openapi_core_1.default {
|
|
|
1100
1151
|
* Verifies a phone number for migration.
|
|
1101
1152
|
*
|
|
1102
1153
|
* @remarks
|
|
1103
|
-
*
|
|
1154
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1104
1155
|
*
|
|
1105
1156
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1106
1157
|
* @returns ChatappMigrationVerifiedResponse
|
|
@@ -1110,10 +1161,10 @@ class Client extends openapi_core_1.default {
|
|
|
1110
1161
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1111
1162
|
}
|
|
1112
1163
|
/**
|
|
1113
|
-
* Deregisters a phone number from
|
|
1164
|
+
* Deregisters a phone number from WABA.
|
|
1114
1165
|
*
|
|
1115
1166
|
* @remarks
|
|
1116
|
-
*
|
|
1167
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1117
1168
|
*
|
|
1118
1169
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1119
1170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1154,10 +1205,10 @@ class Client extends openapi_core_1.default {
|
|
|
1154
1205
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1155
1206
|
}
|
|
1156
1207
|
/**
|
|
1157
|
-
* Deregisters a phone number from
|
|
1208
|
+
* Deregisters a phone number from WABA.
|
|
1158
1209
|
*
|
|
1159
1210
|
* @remarks
|
|
1160
|
-
*
|
|
1211
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1161
1212
|
*
|
|
1162
1213
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1163
1214
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1167,10 +1218,10 @@ class Client extends openapi_core_1.default {
|
|
|
1167
1218
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1168
1219
|
}
|
|
1169
1220
|
/**
|
|
1170
|
-
* Registers a phone number.
|
|
1221
|
+
* Registers a phone number through the northbound interface.
|
|
1171
1222
|
*
|
|
1172
1223
|
* @remarks
|
|
1173
|
-
*
|
|
1224
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1174
1225
|
*
|
|
1175
1226
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1176
1227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1211,10 +1262,10 @@ class Client extends openapi_core_1.default {
|
|
|
1211
1262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1212
1263
|
}
|
|
1213
1264
|
/**
|
|
1214
|
-
* Registers a phone number.
|
|
1265
|
+
* Registers a phone number through the northbound interface.
|
|
1215
1266
|
*
|
|
1216
1267
|
* @remarks
|
|
1217
|
-
*
|
|
1268
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1218
1269
|
*
|
|
1219
1270
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1220
1271
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1224,10 +1275,10 @@ class Client extends openapi_core_1.default {
|
|
|
1224
1275
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
1225
1276
|
}
|
|
1226
1277
|
/**
|
|
1227
|
-
* Synchronizes phone
|
|
1278
|
+
* Synchronizes phone number information.
|
|
1228
1279
|
*
|
|
1229
1280
|
* @remarks
|
|
1230
|
-
*
|
|
1281
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1231
1282
|
*
|
|
1232
1283
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1233
1284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1265,10 +1316,10 @@ class Client extends openapi_core_1.default {
|
|
|
1265
1316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappSyncPhoneNumberResponse({}));
|
|
1266
1317
|
}
|
|
1267
1318
|
/**
|
|
1268
|
-
* Synchronizes phone
|
|
1319
|
+
* Synchronizes phone number information.
|
|
1269
1320
|
*
|
|
1270
1321
|
* @remarks
|
|
1271
|
-
*
|
|
1322
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1272
1323
|
*
|
|
1273
1324
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1274
1325
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1278,10 +1329,10 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1329
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1279
1330
|
}
|
|
1280
1331
|
/**
|
|
1281
|
-
*
|
|
1332
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1282
1333
|
*
|
|
1283
1334
|
* @remarks
|
|
1284
|
-
*
|
|
1335
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1285
1336
|
*
|
|
1286
1337
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1287
1338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1325,10 +1376,10 @@ class Client extends openapi_core_1.default {
|
|
|
1325
1376
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1326
1377
|
}
|
|
1327
1378
|
/**
|
|
1328
|
-
*
|
|
1379
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1329
1380
|
*
|
|
1330
1381
|
* @remarks
|
|
1331
|
-
*
|
|
1382
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1332
1383
|
*
|
|
1333
1384
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1334
1385
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1338,7 +1389,7 @@ class Client extends openapi_core_1.default {
|
|
|
1338
1389
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
1339
1390
|
}
|
|
1340
1391
|
/**
|
|
1341
|
-
* Validates
|
|
1392
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1342
1393
|
*
|
|
1343
1394
|
* @param tmpReq - CheckDirectSendMessageSampleRequest
|
|
1344
1395
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1384,7 +1435,7 @@ class Client extends openapi_core_1.default {
|
|
|
1384
1435
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckDirectSendMessageSampleResponse({}));
|
|
1385
1436
|
}
|
|
1386
1437
|
/**
|
|
1387
|
-
* Validates
|
|
1438
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1388
1439
|
*
|
|
1389
1440
|
* @param request - CheckDirectSendMessageSampleRequest
|
|
1390
1441
|
* @returns CheckDirectSendMessageSampleResponse
|
|
@@ -1394,7 +1445,7 @@ class Client extends openapi_core_1.default {
|
|
|
1394
1445
|
return await this.checkDirectSendMessageSampleWithOptions(request, runtime);
|
|
1395
1446
|
}
|
|
1396
1447
|
/**
|
|
1397
|
-
*
|
|
1448
|
+
* Copies a template.
|
|
1398
1449
|
*
|
|
1399
1450
|
* @param request - CopyTemplateRequest
|
|
1400
1451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1441,7 +1492,7 @@ class Client extends openapi_core_1.default {
|
|
|
1441
1492
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyTemplateResponse({}));
|
|
1442
1493
|
}
|
|
1443
1494
|
/**
|
|
1444
|
-
*
|
|
1495
|
+
* Copies a template.
|
|
1445
1496
|
*
|
|
1446
1497
|
* @param request - CopyTemplateRequest
|
|
1447
1498
|
* @returns CopyTemplateResponse
|
|
@@ -1451,7 +1502,11 @@ class Client extends openapi_core_1.default {
|
|
|
1451
1502
|
return await this.copyTemplateWithOptions(request, runtime);
|
|
1452
1503
|
}
|
|
1453
1504
|
/**
|
|
1454
|
-
*
|
|
1505
|
+
* Creates a flow.
|
|
1506
|
+
*
|
|
1507
|
+
* @remarks
|
|
1508
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1509
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1455
1510
|
*
|
|
1456
1511
|
* @param tmpReq - CreateChatFlowRequest
|
|
1457
1512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1464,6 +1519,9 @@ class Client extends openapi_core_1.default {
|
|
|
1464
1519
|
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1465
1520
|
request.bizExtendShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1466
1521
|
}
|
|
1522
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1523
|
+
request.lifeCycleExtendDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1524
|
+
}
|
|
1467
1525
|
let query = {};
|
|
1468
1526
|
if (!$dara.isNull(request.bizCode)) {
|
|
1469
1527
|
query["BizCode"] = request.bizCode;
|
|
@@ -1471,9 +1529,18 @@ class Client extends openapi_core_1.default {
|
|
|
1471
1529
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1472
1530
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1473
1531
|
}
|
|
1532
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1533
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1534
|
+
}
|
|
1535
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1536
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1537
|
+
}
|
|
1474
1538
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1475
1539
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1476
1540
|
}
|
|
1541
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1542
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1543
|
+
}
|
|
1477
1544
|
if (!$dara.isNull(request.ownerId)) {
|
|
1478
1545
|
query["OwnerId"] = request.ownerId;
|
|
1479
1546
|
}
|
|
@@ -1506,7 +1573,11 @@ class Client extends openapi_core_1.default {
|
|
|
1506
1573
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowResponse({}));
|
|
1507
1574
|
}
|
|
1508
1575
|
/**
|
|
1509
|
-
*
|
|
1576
|
+
* Creates a flow.
|
|
1577
|
+
*
|
|
1578
|
+
* @remarks
|
|
1579
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1580
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1510
1581
|
*
|
|
1511
1582
|
* @param request - CreateChatFlowRequest
|
|
1512
1583
|
* @returns CreateChatFlowResponse
|
|
@@ -1516,7 +1587,12 @@ class Client extends openapi_core_1.default {
|
|
|
1516
1587
|
return await this.createChatFlowWithOptions(request, runtime);
|
|
1517
1588
|
}
|
|
1518
1589
|
/**
|
|
1519
|
-
*
|
|
1590
|
+
* Creates and imports a flow.
|
|
1591
|
+
*
|
|
1592
|
+
* @remarks
|
|
1593
|
+
* - 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.
|
|
1594
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1595
|
+
* - 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.
|
|
1520
1596
|
*
|
|
1521
1597
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1522
1598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1571,7 +1647,12 @@ class Client extends openapi_core_1.default {
|
|
|
1571
1647
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowByImportResponse({}));
|
|
1572
1648
|
}
|
|
1573
1649
|
/**
|
|
1574
|
-
*
|
|
1650
|
+
* Creates and imports a flow.
|
|
1651
|
+
*
|
|
1652
|
+
* @remarks
|
|
1653
|
+
* - 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.
|
|
1654
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1655
|
+
* - 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.
|
|
1575
1656
|
*
|
|
1576
1657
|
* @param request - CreateChatFlowByImportRequest
|
|
1577
1658
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1581,7 +1662,13 @@ class Client extends openapi_core_1.default {
|
|
|
1581
1662
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1582
1663
|
}
|
|
1583
1664
|
/**
|
|
1584
|
-
*
|
|
1665
|
+
* Creates a flow log setting.
|
|
1666
|
+
*
|
|
1667
|
+
* @remarks
|
|
1668
|
+
* - 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.
|
|
1669
|
+
* - 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.
|
|
1670
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1671
|
+
* - 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.
|
|
1585
1672
|
*
|
|
1586
1673
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1587
1674
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1619,7 +1706,13 @@ class Client extends openapi_core_1.default {
|
|
|
1619
1706
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1620
1707
|
}
|
|
1621
1708
|
/**
|
|
1622
|
-
*
|
|
1709
|
+
* Creates a flow log setting.
|
|
1710
|
+
*
|
|
1711
|
+
* @remarks
|
|
1712
|
+
* - 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.
|
|
1713
|
+
* - 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.
|
|
1714
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1715
|
+
* - 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.
|
|
1623
1716
|
*
|
|
1624
1717
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1625
1718
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1689,13 +1782,13 @@ class Client extends openapi_core_1.default {
|
|
|
1689
1782
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1690
1783
|
}
|
|
1691
1784
|
/**
|
|
1692
|
-
* Creates a message template. After
|
|
1785
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1693
1786
|
*
|
|
1694
1787
|
* @remarks
|
|
1695
1788
|
* ### QPS limit
|
|
1696
|
-
* The
|
|
1697
|
-
* ### Status
|
|
1698
|
-
* You can monitor template status and quality changes
|
|
1789
|
+
* 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.
|
|
1790
|
+
* ### Status changes
|
|
1791
|
+
* 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).
|
|
1699
1792
|
*
|
|
1700
1793
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1701
1794
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1711,45 +1804,48 @@ class Client extends openapi_core_1.default {
|
|
|
1711
1804
|
if (!$dara.isNull(tmpReq.example)) {
|
|
1712
1805
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
1713
1806
|
}
|
|
1714
|
-
let
|
|
1807
|
+
let query = {};
|
|
1715
1808
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
1716
|
-
|
|
1809
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
1717
1810
|
}
|
|
1718
1811
|
if (!$dara.isNull(request.category)) {
|
|
1719
|
-
|
|
1812
|
+
query["Category"] = request.category;
|
|
1720
1813
|
}
|
|
1721
1814
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
1722
|
-
|
|
1815
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
1723
1816
|
}
|
|
1724
1817
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
1725
|
-
|
|
1818
|
+
query["Components"] = request.componentsShrink;
|
|
1726
1819
|
}
|
|
1727
1820
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1728
|
-
|
|
1821
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1729
1822
|
}
|
|
1730
1823
|
if (!$dara.isNull(request.custWabaId)) {
|
|
1731
|
-
|
|
1824
|
+
query["CustWabaId"] = request.custWabaId;
|
|
1732
1825
|
}
|
|
1733
1826
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
1734
|
-
|
|
1827
|
+
query["Example"] = request.exampleShrink;
|
|
1735
1828
|
}
|
|
1736
1829
|
if (!$dara.isNull(request.isvCode)) {
|
|
1737
|
-
|
|
1830
|
+
query["IsvCode"] = request.isvCode;
|
|
1738
1831
|
}
|
|
1739
1832
|
if (!$dara.isNull(request.language)) {
|
|
1740
|
-
|
|
1833
|
+
query["Language"] = request.language;
|
|
1741
1834
|
}
|
|
1742
1835
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
1743
|
-
|
|
1836
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
1744
1837
|
}
|
|
1745
1838
|
if (!$dara.isNull(request.name)) {
|
|
1746
|
-
|
|
1839
|
+
query["Name"] = request.name;
|
|
1840
|
+
}
|
|
1841
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
1842
|
+
query["ProductSetId"] = request.productSetId;
|
|
1747
1843
|
}
|
|
1748
1844
|
if (!$dara.isNull(request.templateType)) {
|
|
1749
|
-
|
|
1845
|
+
query["TemplateType"] = request.templateType;
|
|
1750
1846
|
}
|
|
1751
1847
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1752
|
-
|
|
1848
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1753
1849
|
});
|
|
1754
1850
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1755
1851
|
action: "CreateChatappTemplate",
|
|
@@ -1765,13 +1861,13 @@ class Client extends openapi_core_1.default {
|
|
|
1765
1861
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1766
1862
|
}
|
|
1767
1863
|
/**
|
|
1768
|
-
* Creates a message template. After
|
|
1864
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1769
1865
|
*
|
|
1770
1866
|
* @remarks
|
|
1771
1867
|
* ### QPS limit
|
|
1772
|
-
* The
|
|
1773
|
-
* ### Status
|
|
1774
|
-
* You can monitor template status and quality changes
|
|
1868
|
+
* 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.
|
|
1869
|
+
* ### Status changes
|
|
1870
|
+
* 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).
|
|
1775
1871
|
*
|
|
1776
1872
|
* @param request - CreateChatappTemplateRequest
|
|
1777
1873
|
* @returns CreateChatappTemplateResponse
|
|
@@ -1847,10 +1943,10 @@ class Client extends openapi_core_1.default {
|
|
|
1847
1943
|
return await this.createCustomAudienceWithOptions(request, runtime);
|
|
1848
1944
|
}
|
|
1849
1945
|
/**
|
|
1850
|
-
* Creates a
|
|
1946
|
+
* Creates a Flow.
|
|
1851
1947
|
*
|
|
1852
1948
|
* @remarks
|
|
1853
|
-
* The
|
|
1949
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1854
1950
|
*
|
|
1855
1951
|
* @param tmpReq - CreateFlowRequest
|
|
1856
1952
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1902,10 +1998,10 @@ class Client extends openapi_core_1.default {
|
|
|
1902
1998
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowResponse({}));
|
|
1903
1999
|
}
|
|
1904
2000
|
/**
|
|
1905
|
-
* Creates a
|
|
2001
|
+
* Creates a Flow.
|
|
1906
2002
|
*
|
|
1907
2003
|
* @remarks
|
|
1908
|
-
* The
|
|
2004
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1909
2005
|
*
|
|
1910
2006
|
* @param request - CreateFlowRequest
|
|
1911
2007
|
* @returns CreateFlowResponse
|
|
@@ -1915,7 +2011,12 @@ class Client extends openapi_core_1.default {
|
|
|
1915
2011
|
return await this.createFlowWithOptions(request, runtime);
|
|
1916
2012
|
}
|
|
1917
2013
|
/**
|
|
1918
|
-
*
|
|
2014
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2015
|
+
*
|
|
2016
|
+
* @remarks
|
|
2017
|
+
* - 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.
|
|
2018
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2019
|
+
* - 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.
|
|
1919
2020
|
*
|
|
1920
2021
|
* @param tmpReq - CreateFlowVersionRequest
|
|
1921
2022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1970,7 +2071,12 @@ class Client extends openapi_core_1.default {
|
|
|
1970
2071
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
1971
2072
|
}
|
|
1972
2073
|
/**
|
|
1973
|
-
*
|
|
2074
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2075
|
+
*
|
|
2076
|
+
* @remarks
|
|
2077
|
+
* - 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.
|
|
2078
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2079
|
+
* - 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.
|
|
1974
2080
|
*
|
|
1975
2081
|
* @param request - CreateFlowVersionRequest
|
|
1976
2082
|
* @returns CreateFlowVersionResponse
|
|
@@ -2109,7 +2215,7 @@ class Client extends openapi_core_1.default {
|
|
|
2109
2215
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2110
2216
|
}
|
|
2111
2217
|
/**
|
|
2112
|
-
*
|
|
2218
|
+
* Authorizes an embedded messenger.
|
|
2113
2219
|
*
|
|
2114
2220
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2115
2221
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2164,7 +2270,7 @@ class Client extends openapi_core_1.default {
|
|
|
2164
2270
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2165
2271
|
}
|
|
2166
2272
|
/**
|
|
2167
|
-
*
|
|
2273
|
+
* Authorizes an embedded messenger.
|
|
2168
2274
|
*
|
|
2169
2275
|
* @param request - CreateMessengerPageRequest
|
|
2170
2276
|
* @returns CreateMessengerPageResponse
|
|
@@ -2177,12 +2283,14 @@ class Client extends openapi_core_1.default {
|
|
|
2177
2283
|
* Creates a message QR code.
|
|
2178
2284
|
*
|
|
2179
2285
|
* @remarks
|
|
2180
|
-
* - After
|
|
2181
|
-
* - Before calling this
|
|
2182
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2183
|
-
*
|
|
2286
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2287
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2288
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2289
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2290
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2291
|
+
* page.
|
|
2184
2292
|
* #### QPS limit
|
|
2185
|
-
*
|
|
2293
|
+
* 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.
|
|
2186
2294
|
*
|
|
2187
2295
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2188
2296
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2232,12 +2340,14 @@ class Client extends openapi_core_1.default {
|
|
|
2232
2340
|
* Creates a message QR code.
|
|
2233
2341
|
*
|
|
2234
2342
|
* @remarks
|
|
2235
|
-
* - After
|
|
2236
|
-
* - Before calling this
|
|
2237
|
-
* - If you do not have a WhatsApp channel, create one on the
|
|
2238
|
-
*
|
|
2343
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2344
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2345
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2346
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2347
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2348
|
+
* page.
|
|
2239
2349
|
* #### QPS limit
|
|
2240
|
-
*
|
|
2350
|
+
* 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.
|
|
2241
2351
|
*
|
|
2242
2352
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2243
2353
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2247,7 +2357,7 @@ class Client extends openapi_core_1.default {
|
|
|
2247
2357
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2248
2358
|
}
|
|
2249
2359
|
/**
|
|
2250
|
-
*
|
|
2360
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2251
2361
|
*
|
|
2252
2362
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2253
2363
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2296,7 +2406,7 @@ class Client extends openapi_core_1.default {
|
|
|
2296
2406
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2297
2407
|
}
|
|
2298
2408
|
/**
|
|
2299
|
-
*
|
|
2409
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2300
2410
|
*
|
|
2301
2411
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2302
2412
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2306,7 +2416,12 @@ class Client extends openapi_core_1.default {
|
|
|
2306
2416
|
return await this.createWhatsappConversionApiWithOptions(request, runtime);
|
|
2307
2417
|
}
|
|
2308
2418
|
/**
|
|
2309
|
-
*
|
|
2419
|
+
* Deletes a flow.
|
|
2420
|
+
*
|
|
2421
|
+
* @remarks
|
|
2422
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2423
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2424
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2310
2425
|
*
|
|
2311
2426
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2312
2427
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2355,7 +2470,12 @@ class Client extends openapi_core_1.default {
|
|
|
2355
2470
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatFlowResponse({}));
|
|
2356
2471
|
}
|
|
2357
2472
|
/**
|
|
2358
|
-
*
|
|
2473
|
+
* Deletes a flow.
|
|
2474
|
+
*
|
|
2475
|
+
* @remarks
|
|
2476
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2477
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2478
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2359
2479
|
*
|
|
2360
2480
|
* @param request - DeleteChatFlowRequest
|
|
2361
2481
|
* @returns DeleteChatFlowResponse
|
|
@@ -2365,14 +2485,13 @@ class Client extends openapi_core_1.default {
|
|
|
2365
2485
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2366
2486
|
}
|
|
2367
2487
|
/**
|
|
2368
|
-
* Deletes
|
|
2488
|
+
* Deletes a successfully created IM group.
|
|
2369
2489
|
*
|
|
2370
2490
|
* @remarks
|
|
2371
|
-
* >Notice:
|
|
2372
|
-
*
|
|
2373
|
-
* -
|
|
2374
|
-
* -
|
|
2375
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2491
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2492
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2493
|
+
* - 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.
|
|
2494
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2376
2495
|
*
|
|
2377
2496
|
* @param request - DeleteChatGroupRequest
|
|
2378
2497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2419,14 +2538,13 @@ class Client extends openapi_core_1.default {
|
|
|
2419
2538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2420
2539
|
}
|
|
2421
2540
|
/**
|
|
2422
|
-
* Deletes
|
|
2541
|
+
* Deletes a successfully created IM group.
|
|
2423
2542
|
*
|
|
2424
2543
|
* @remarks
|
|
2425
|
-
* >Notice:
|
|
2426
|
-
*
|
|
2427
|
-
* -
|
|
2428
|
-
* -
|
|
2429
|
-
* - After an IM group is deleted, it cannot be recovered. Proceed with caution.
|
|
2544
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2545
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2546
|
+
* - 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.
|
|
2547
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2430
2548
|
*
|
|
2431
2549
|
* @param request - DeleteChatGroupRequest
|
|
2432
2550
|
* @returns DeleteChatGroupResponse
|
|
@@ -2439,11 +2557,10 @@ class Client extends openapi_core_1.default {
|
|
|
2439
2557
|
* Deletes an IM group invitation link.
|
|
2440
2558
|
*
|
|
2441
2559
|
* @remarks
|
|
2442
|
-
* >Notice:
|
|
2443
|
-
*
|
|
2444
|
-
* -
|
|
2445
|
-
* -
|
|
2446
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2560
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2561
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2562
|
+
* - 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.
|
|
2563
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2447
2564
|
*
|
|
2448
2565
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2449
2566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2493,11 +2610,10 @@ class Client extends openapi_core_1.default {
|
|
|
2493
2610
|
* Deletes an IM group invitation link.
|
|
2494
2611
|
*
|
|
2495
2612
|
* @remarks
|
|
2496
|
-
* >Notice:
|
|
2497
|
-
*
|
|
2498
|
-
* -
|
|
2499
|
-
* -
|
|
2500
|
-
* - After deleting the invitation link, you can no longer invite members to the IM group. Proceed with caution.
|
|
2613
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2614
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2615
|
+
* - 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.
|
|
2616
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2501
2617
|
*
|
|
2502
2618
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2503
2619
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2660,7 +2776,7 @@ class Client extends openapi_core_1.default {
|
|
|
2660
2776
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
2661
2777
|
}
|
|
2662
2778
|
/**
|
|
2663
|
-
*
|
|
2779
|
+
* Deletes a contact from the contact list.
|
|
2664
2780
|
*
|
|
2665
2781
|
* @param tmpReq - DeleteContactsRequest
|
|
2666
2782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2718,7 +2834,7 @@ class Client extends openapi_core_1.default {
|
|
|
2718
2834
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsResponse({}));
|
|
2719
2835
|
}
|
|
2720
2836
|
/**
|
|
2721
|
-
*
|
|
2837
|
+
* Deletes a contact from the contact list.
|
|
2722
2838
|
*
|
|
2723
2839
|
* @param request - DeleteContactsRequest
|
|
2724
2840
|
* @returns DeleteContactsResponse
|
|
@@ -2728,7 +2844,7 @@ class Client extends openapi_core_1.default {
|
|
|
2728
2844
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2729
2845
|
}
|
|
2730
2846
|
/**
|
|
2731
|
-
*
|
|
2847
|
+
* Deletes contacts by selecting and removing them.
|
|
2732
2848
|
*
|
|
2733
2849
|
* @param request - DeleteContactsByIdsRequest
|
|
2734
2850
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2766,7 +2882,7 @@ class Client extends openapi_core_1.default {
|
|
|
2766
2882
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2767
2883
|
}
|
|
2768
2884
|
/**
|
|
2769
|
-
*
|
|
2885
|
+
* Deletes contacts by selecting and removing them.
|
|
2770
2886
|
*
|
|
2771
2887
|
* @param request - DeleteContactsByIdsRequest
|
|
2772
2888
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2776,10 +2892,10 @@ class Client extends openapi_core_1.default {
|
|
|
2776
2892
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2777
2893
|
}
|
|
2778
2894
|
/**
|
|
2779
|
-
* Deletes a
|
|
2895
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2780
2896
|
*
|
|
2781
2897
|
* @remarks
|
|
2782
|
-
*
|
|
2898
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2783
2899
|
*
|
|
2784
2900
|
* @param request - DeleteFlowRequest
|
|
2785
2901
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2820,10 +2936,10 @@ class Client extends openapi_core_1.default {
|
|
|
2820
2936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2821
2937
|
}
|
|
2822
2938
|
/**
|
|
2823
|
-
* Deletes a
|
|
2939
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2824
2940
|
*
|
|
2825
2941
|
* @remarks
|
|
2826
|
-
*
|
|
2942
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2827
2943
|
*
|
|
2828
2944
|
* @param request - DeleteFlowRequest
|
|
2829
2945
|
* @returns DeleteFlowResponse
|
|
@@ -2833,7 +2949,13 @@ class Client extends openapi_core_1.default {
|
|
|
2833
2949
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
2834
2950
|
}
|
|
2835
2951
|
/**
|
|
2836
|
-
*
|
|
2952
|
+
* Deletes a flow version.
|
|
2953
|
+
*
|
|
2954
|
+
* @remarks
|
|
2955
|
+
* - 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.
|
|
2956
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
2957
|
+
* - 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.
|
|
2958
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2837
2959
|
*
|
|
2838
2960
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2839
2961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2885,7 +3007,13 @@ class Client extends openapi_core_1.default {
|
|
|
2885
3007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowVersionResponse({}));
|
|
2886
3008
|
}
|
|
2887
3009
|
/**
|
|
2888
|
-
*
|
|
3010
|
+
* Deletes a flow version.
|
|
3011
|
+
*
|
|
3012
|
+
* @remarks
|
|
3013
|
+
* - 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.
|
|
3014
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3015
|
+
* - 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.
|
|
3016
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2889
3017
|
*
|
|
2890
3018
|
* @param request - DeleteFlowVersionRequest
|
|
2891
3019
|
* @returns DeleteFlowVersionResponse
|
|
@@ -2895,7 +3023,7 @@ class Client extends openapi_core_1.default {
|
|
|
2895
3023
|
return await this.deleteFlowVersionWithOptions(request, runtime);
|
|
2896
3024
|
}
|
|
2897
3025
|
/**
|
|
2898
|
-
*
|
|
3026
|
+
* Deletes a group.
|
|
2899
3027
|
*
|
|
2900
3028
|
* @param request - DeleteGroupByIdRequest
|
|
2901
3029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2933,7 +3061,7 @@ class Client extends openapi_core_1.default {
|
|
|
2933
3061
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupByIdResponse({}));
|
|
2934
3062
|
}
|
|
2935
3063
|
/**
|
|
2936
|
-
*
|
|
3064
|
+
* Deletes a group.
|
|
2937
3065
|
*
|
|
2938
3066
|
* @param request - DeleteGroupByIdRequest
|
|
2939
3067
|
* @returns DeleteGroupByIdResponse
|
|
@@ -2943,7 +3071,7 @@ class Client extends openapi_core_1.default {
|
|
|
2943
3071
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
2944
3072
|
}
|
|
2945
3073
|
/**
|
|
2946
|
-
*
|
|
3074
|
+
* Deletes a page from an Instagram instance.
|
|
2947
3075
|
*
|
|
2948
3076
|
* @param request - DeleteInstagramPageRequest
|
|
2949
3077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2984,7 +3112,7 @@ class Client extends openapi_core_1.default {
|
|
|
2984
3112
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
2985
3113
|
}
|
|
2986
3114
|
/**
|
|
2987
|
-
*
|
|
3115
|
+
* Deletes a page from an Instagram instance.
|
|
2988
3116
|
*
|
|
2989
3117
|
* @param request - DeleteInstagramPageRequest
|
|
2990
3118
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3033,7 +3161,7 @@ class Client extends openapi_core_1.default {
|
|
|
3033
3161
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
3034
3162
|
}
|
|
3035
3163
|
/**
|
|
3036
|
-
*
|
|
3164
|
+
* Deletes a marketing campaign.
|
|
3037
3165
|
*
|
|
3038
3166
|
* @param request - DeleteMarketingFlowRequest
|
|
3039
3167
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3074,7 +3202,7 @@ class Client extends openapi_core_1.default {
|
|
|
3074
3202
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMarketingFlowResponse({}));
|
|
3075
3203
|
}
|
|
3076
3204
|
/**
|
|
3077
|
-
*
|
|
3205
|
+
* Deletes a marketing campaign.
|
|
3078
3206
|
*
|
|
3079
3207
|
* @param request - DeleteMarketingFlowRequest
|
|
3080
3208
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -3141,7 +3269,7 @@ class Client extends openapi_core_1.default {
|
|
|
3141
3269
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3142
3270
|
}
|
|
3143
3271
|
/**
|
|
3144
|
-
*
|
|
3272
|
+
* Deletes a Messenger page.
|
|
3145
3273
|
*
|
|
3146
3274
|
* @param request - DeleteMessengerPageRequest
|
|
3147
3275
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3182,7 +3310,7 @@ class Client extends openapi_core_1.default {
|
|
|
3182
3310
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3183
3311
|
}
|
|
3184
3312
|
/**
|
|
3185
|
-
*
|
|
3313
|
+
* Deletes a Messenger page.
|
|
3186
3314
|
*
|
|
3187
3315
|
* @param request - DeleteMessengerPageRequest
|
|
3188
3316
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3195,10 +3323,11 @@ class Client extends openapi_core_1.default {
|
|
|
3195
3323
|
* Deletes a message QR code.
|
|
3196
3324
|
*
|
|
3197
3325
|
* @remarks
|
|
3198
|
-
* - After a message QR code
|
|
3199
|
-
* -
|
|
3200
|
-
*
|
|
3201
|
-
*
|
|
3326
|
+
* - 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.
|
|
3327
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3328
|
+
* - 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.
|
|
3329
|
+
* #### QPS limit
|
|
3330
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3202
3331
|
*
|
|
3203
3332
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3204
3333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3245,10 +3374,11 @@ class Client extends openapi_core_1.default {
|
|
|
3245
3374
|
* Deletes a message QR code.
|
|
3246
3375
|
*
|
|
3247
3376
|
* @remarks
|
|
3248
|
-
* - After a message QR code
|
|
3249
|
-
* -
|
|
3250
|
-
*
|
|
3251
|
-
*
|
|
3377
|
+
* - 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.
|
|
3378
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3379
|
+
* - 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.
|
|
3380
|
+
* #### QPS limit
|
|
3381
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3252
3382
|
*
|
|
3253
3383
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3254
3384
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3258,10 +3388,52 @@ class Client extends openapi_core_1.default {
|
|
|
3258
3388
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
3259
3389
|
}
|
|
3260
3390
|
/**
|
|
3261
|
-
*
|
|
3391
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3392
|
+
*
|
|
3393
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3394
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3395
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3396
|
+
*/
|
|
3397
|
+
async deleteWhatsappUserNameWithOptions(request, runtime) {
|
|
3398
|
+
request.validate();
|
|
3399
|
+
let query = {};
|
|
3400
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3401
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3402
|
+
}
|
|
3403
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3404
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3405
|
+
}
|
|
3406
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3407
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3408
|
+
});
|
|
3409
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3410
|
+
action: "DeleteWhatsappUserName",
|
|
3411
|
+
version: "2020-06-06",
|
|
3412
|
+
protocol: "HTTPS",
|
|
3413
|
+
pathname: "/",
|
|
3414
|
+
method: "POST",
|
|
3415
|
+
authType: "AK",
|
|
3416
|
+
style: "RPC",
|
|
3417
|
+
reqBodyType: "formData",
|
|
3418
|
+
bodyType: "json",
|
|
3419
|
+
});
|
|
3420
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3421
|
+
}
|
|
3422
|
+
/**
|
|
3423
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3424
|
+
*
|
|
3425
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3426
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3427
|
+
*/
|
|
3428
|
+
async deleteWhatsappUserName(request) {
|
|
3429
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3430
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3431
|
+
}
|
|
3432
|
+
/**
|
|
3433
|
+
* Deprecates a Flow.
|
|
3262
3434
|
*
|
|
3263
3435
|
* @remarks
|
|
3264
|
-
*
|
|
3436
|
+
* 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.
|
|
3265
3437
|
*
|
|
3266
3438
|
* @param request - DeprecateFlowRequest
|
|
3267
3439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3302,10 +3474,10 @@ class Client extends openapi_core_1.default {
|
|
|
3302
3474
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprecateFlowResponse({}));
|
|
3303
3475
|
}
|
|
3304
3476
|
/**
|
|
3305
|
-
* Deprecates a
|
|
3477
|
+
* Deprecates a Flow.
|
|
3306
3478
|
*
|
|
3307
3479
|
* @remarks
|
|
3308
|
-
*
|
|
3480
|
+
* 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.
|
|
3309
3481
|
*
|
|
3310
3482
|
* @param request - DeprecateFlowRequest
|
|
3311
3483
|
* @returns DeprecateFlowResponse
|
|
@@ -3315,14 +3487,14 @@ class Client extends openapi_core_1.default {
|
|
|
3315
3487
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
3316
3488
|
}
|
|
3317
3489
|
/**
|
|
3318
|
-
* Enables
|
|
3490
|
+
* Enables WhatsApp-related metric collection.
|
|
3319
3491
|
*
|
|
3320
3492
|
* @remarks
|
|
3321
|
-
* - Before
|
|
3322
|
-
* - After you enable
|
|
3323
|
-
* - After you enable
|
|
3493
|
+
* - 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.
|
|
3494
|
+
* - 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.
|
|
3495
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3324
3496
|
* ### QPS limit
|
|
3325
|
-
*
|
|
3497
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3326
3498
|
*
|
|
3327
3499
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3328
3500
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3363,14 +3535,14 @@ class Client extends openapi_core_1.default {
|
|
|
3363
3535
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableWhatsappROIMetricResponse({}));
|
|
3364
3536
|
}
|
|
3365
3537
|
/**
|
|
3366
|
-
* Enables
|
|
3538
|
+
* Enables WhatsApp-related metric collection.
|
|
3367
3539
|
*
|
|
3368
3540
|
* @remarks
|
|
3369
|
-
* - Before
|
|
3370
|
-
* - After you enable
|
|
3371
|
-
* - After you enable
|
|
3541
|
+
* - 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.
|
|
3542
|
+
* - 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.
|
|
3543
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3372
3544
|
* ### QPS limit
|
|
3373
|
-
*
|
|
3545
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3374
3546
|
*
|
|
3375
3547
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3376
3548
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3380,7 +3552,15 @@ class Client extends openapi_core_1.default {
|
|
|
3380
3552
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3381
3553
|
}
|
|
3382
3554
|
/**
|
|
3383
|
-
* flow
|
|
3555
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3556
|
+
*
|
|
3557
|
+
* @remarks
|
|
3558
|
+
* - 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.
|
|
3559
|
+
* - 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.
|
|
3560
|
+
* - 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).
|
|
3561
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3562
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3563
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3384
3564
|
*
|
|
3385
3565
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3386
3566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3390,6 +3570,9 @@ class Client extends openapi_core_1.default {
|
|
|
3390
3570
|
tmpReq.validate();
|
|
3391
3571
|
let request = new $_model.FlowBindPhoneShrinkRequest({});
|
|
3392
3572
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3573
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3574
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3575
|
+
}
|
|
3393
3576
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3394
3577
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3395
3578
|
}
|
|
@@ -3406,6 +3589,9 @@ class Client extends openapi_core_1.default {
|
|
|
3406
3589
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3407
3590
|
query["FlowVersion"] = request.flowVersion;
|
|
3408
3591
|
}
|
|
3592
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3593
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3594
|
+
}
|
|
3409
3595
|
if (!$dara.isNull(request.ownerId)) {
|
|
3410
3596
|
query["OwnerId"] = request.ownerId;
|
|
3411
3597
|
}
|
|
@@ -3438,7 +3624,15 @@ class Client extends openapi_core_1.default {
|
|
|
3438
3624
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3439
3625
|
}
|
|
3440
3626
|
/**
|
|
3441
|
-
* flow
|
|
3627
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3628
|
+
*
|
|
3629
|
+
* @remarks
|
|
3630
|
+
* - 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.
|
|
3631
|
+
* - 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.
|
|
3632
|
+
* - 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).
|
|
3633
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3634
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3635
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3442
3636
|
*
|
|
3443
3637
|
* @param request - FlowBindPhoneRequest
|
|
3444
3638
|
* @returns FlowBindPhoneResponse
|
|
@@ -3448,7 +3642,12 @@ class Client extends openapi_core_1.default {
|
|
|
3448
3642
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3449
3643
|
}
|
|
3450
3644
|
/**
|
|
3451
|
-
* flow
|
|
3645
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3646
|
+
*
|
|
3647
|
+
* @remarks
|
|
3648
|
+
* - 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**.
|
|
3649
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3650
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3452
3651
|
*
|
|
3453
3652
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3454
3653
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3458,6 +3657,9 @@ class Client extends openapi_core_1.default {
|
|
|
3458
3657
|
tmpReq.validate();
|
|
3459
3658
|
let request = new $_model.FlowRebindPhoneShrinkRequest({});
|
|
3460
3659
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3660
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3661
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3662
|
+
}
|
|
3461
3663
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3462
3664
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3463
3665
|
}
|
|
@@ -3474,6 +3676,9 @@ class Client extends openapi_core_1.default {
|
|
|
3474
3676
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3475
3677
|
query["FlowVersion"] = request.flowVersion;
|
|
3476
3678
|
}
|
|
3679
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3680
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3681
|
+
}
|
|
3477
3682
|
if (!$dara.isNull(request.ownerId)) {
|
|
3478
3683
|
query["OwnerId"] = request.ownerId;
|
|
3479
3684
|
}
|
|
@@ -3506,7 +3711,12 @@ class Client extends openapi_core_1.default {
|
|
|
3506
3711
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3507
3712
|
}
|
|
3508
3713
|
/**
|
|
3509
|
-
* flow
|
|
3714
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3715
|
+
*
|
|
3716
|
+
* @remarks
|
|
3717
|
+
* - 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**.
|
|
3718
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3719
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3510
3720
|
*
|
|
3511
3721
|
* @param request - FlowRebindPhoneRequest
|
|
3512
3722
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3516,7 +3726,14 @@ class Client extends openapi_core_1.default {
|
|
|
3516
3726
|
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
3517
3727
|
}
|
|
3518
3728
|
/**
|
|
3519
|
-
* flow
|
|
3729
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3730
|
+
*
|
|
3731
|
+
* @remarks
|
|
3732
|
+
* - 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.
|
|
3733
|
+
* - 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.
|
|
3734
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
3735
|
+
* - 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.
|
|
3736
|
+
* - 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.
|
|
3520
3737
|
*
|
|
3521
3738
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3522
3739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3568,7 +3785,14 @@ class Client extends openapi_core_1.default {
|
|
|
3568
3785
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
3569
3786
|
}
|
|
3570
3787
|
/**
|
|
3571
|
-
* flow
|
|
3788
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3789
|
+
*
|
|
3790
|
+
* @remarks
|
|
3791
|
+
* - 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.
|
|
3792
|
+
* - 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.
|
|
3793
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
3794
|
+
* - 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.
|
|
3795
|
+
* - 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.
|
|
3572
3796
|
*
|
|
3573
3797
|
* @param request - FlowUnbindPhoneRequest
|
|
3574
3798
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3578,7 +3802,7 @@ class Client extends openapi_core_1.default {
|
|
|
3578
3802
|
return await this.flowUnbindPhoneWithOptions(request, runtime);
|
|
3579
3803
|
}
|
|
3580
3804
|
/**
|
|
3581
|
-
*
|
|
3805
|
+
* Retrieves a temporary URL.
|
|
3582
3806
|
*
|
|
3583
3807
|
* @param request - GeneratePresignedUrlRequest
|
|
3584
3808
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3616,7 +3840,7 @@ class Client extends openapi_core_1.default {
|
|
|
3616
3840
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GeneratePresignedUrlResponse({}));
|
|
3617
3841
|
}
|
|
3618
3842
|
/**
|
|
3619
|
-
*
|
|
3843
|
+
* Retrieves a temporary URL.
|
|
3620
3844
|
*
|
|
3621
3845
|
* @param request - GeneratePresignedUrlRequest
|
|
3622
3846
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -3626,7 +3850,7 @@ class Client extends openapi_core_1.default {
|
|
|
3626
3850
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3627
3851
|
}
|
|
3628
3852
|
/**
|
|
3629
|
-
*
|
|
3853
|
+
* Queries pending review tickets for an individual by type.
|
|
3630
3854
|
*
|
|
3631
3855
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3632
3856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3667,7 +3891,7 @@ class Client extends openapi_core_1.default {
|
|
|
3667
3891
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3668
3892
|
}
|
|
3669
3893
|
/**
|
|
3670
|
-
*
|
|
3894
|
+
* Queries pending review tickets for an individual by type.
|
|
3671
3895
|
*
|
|
3672
3896
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3673
3897
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3722,7 +3946,13 @@ class Client extends openapi_core_1.default {
|
|
|
3722
3946
|
return await this.getAutoGeneratedTemplateWithOptions(request, runtime);
|
|
3723
3947
|
}
|
|
3724
3948
|
/**
|
|
3725
|
-
*
|
|
3949
|
+
* Retrieves ChatFlow runtime data.
|
|
3950
|
+
*
|
|
3951
|
+
* @remarks
|
|
3952
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
3953
|
+
* - 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.
|
|
3954
|
+
* - 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.
|
|
3955
|
+
* - 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.
|
|
3726
3956
|
*
|
|
3727
3957
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3728
3958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3789,7 +4019,13 @@ class Client extends openapi_core_1.default {
|
|
|
3789
4019
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowMetricResponse({}));
|
|
3790
4020
|
}
|
|
3791
4021
|
/**
|
|
3792
|
-
*
|
|
4022
|
+
* Retrieves ChatFlow runtime data.
|
|
4023
|
+
*
|
|
4024
|
+
* @remarks
|
|
4025
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4026
|
+
* - 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.
|
|
4027
|
+
* - 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.
|
|
4028
|
+
* - 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.
|
|
3793
4029
|
*
|
|
3794
4030
|
* @param request - GetChatFlowMetricRequest
|
|
3795
4031
|
* @returns GetChatFlowMetricResponse
|
|
@@ -3799,7 +4035,11 @@ class Client extends openapi_core_1.default {
|
|
|
3799
4035
|
return await this.getChatFlowMetricWithOptions(request, runtime);
|
|
3800
4036
|
}
|
|
3801
4037
|
/**
|
|
3802
|
-
*
|
|
4038
|
+
* Queries the details of a flow template.
|
|
4039
|
+
*
|
|
4040
|
+
* @remarks
|
|
4041
|
+
* - 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).
|
|
4042
|
+
* - 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.
|
|
3803
4043
|
*
|
|
3804
4044
|
* @param request - GetChatFlowTemplateRequest
|
|
3805
4045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3840,7 +4080,11 @@ class Client extends openapi_core_1.default {
|
|
|
3840
4080
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowTemplateResponse({}));
|
|
3841
4081
|
}
|
|
3842
4082
|
/**
|
|
3843
|
-
*
|
|
4083
|
+
* Queries the details of a flow template.
|
|
4084
|
+
*
|
|
4085
|
+
* @remarks
|
|
4086
|
+
* - 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).
|
|
4087
|
+
* - 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.
|
|
3844
4088
|
*
|
|
3845
4089
|
* @param request - GetChatFlowTemplateRequest
|
|
3846
4090
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -3850,7 +4094,7 @@ class Client extends openapi_core_1.default {
|
|
|
3850
4094
|
return await this.getChatFlowTemplateWithOptions(request, runtime);
|
|
3851
4095
|
}
|
|
3852
4096
|
/**
|
|
3853
|
-
*
|
|
4097
|
+
* Queries the activation status of ChatApp.
|
|
3854
4098
|
*
|
|
3855
4099
|
* @param request - GetChatappOpenStatusRequest
|
|
3856
4100
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3885,7 +4129,7 @@ class Client extends openapi_core_1.default {
|
|
|
3885
4129
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappOpenStatusResponse({}));
|
|
3886
4130
|
}
|
|
3887
4131
|
/**
|
|
3888
|
-
*
|
|
4132
|
+
* Queries the activation status of ChatApp.
|
|
3889
4133
|
*
|
|
3890
4134
|
* @param request - GetChatappOpenStatusRequest
|
|
3891
4135
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -3895,14 +4139,15 @@ class Client extends openapi_core_1.default {
|
|
|
3895
4139
|
return await this.getChatappOpenStatusWithOptions(request, runtime);
|
|
3896
4140
|
}
|
|
3897
4141
|
/**
|
|
3898
|
-
* Queries the message sending metrics for a phone number
|
|
4142
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3899
4143
|
*
|
|
3900
4144
|
* @remarks
|
|
3901
|
-
* -
|
|
3902
|
-
* -
|
|
3903
|
-
* -
|
|
4145
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4146
|
+
* - 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.
|
|
4147
|
+
* - 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.
|
|
4148
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
3904
4149
|
* ### QPS limit
|
|
3905
|
-
*
|
|
4150
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3906
4151
|
*
|
|
3907
4152
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3908
4153
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3955,14 +4200,15 @@ class Client extends openapi_core_1.default {
|
|
|
3955
4200
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberMetricResponse({}));
|
|
3956
4201
|
}
|
|
3957
4202
|
/**
|
|
3958
|
-
* Queries the message sending metrics for a phone number
|
|
4203
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3959
4204
|
*
|
|
3960
4205
|
* @remarks
|
|
3961
|
-
* -
|
|
3962
|
-
* -
|
|
3963
|
-
* -
|
|
4206
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4207
|
+
* - 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.
|
|
4208
|
+
* - 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.
|
|
4209
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
3964
4210
|
* ### QPS limit
|
|
3965
|
-
*
|
|
4211
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3966
4212
|
*
|
|
3967
4213
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3968
4214
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -3972,7 +4218,7 @@ class Client extends openapi_core_1.default {
|
|
|
3972
4218
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
3973
4219
|
}
|
|
3974
4220
|
/**
|
|
3975
|
-
*
|
|
4221
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
3976
4222
|
*
|
|
3977
4223
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
3978
4224
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4013,7 +4259,7 @@ class Client extends openapi_core_1.default {
|
|
|
4013
4259
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
4014
4260
|
}
|
|
4015
4261
|
/**
|
|
4016
|
-
*
|
|
4262
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4017
4263
|
*
|
|
4018
4264
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4019
4265
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4023,11 +4269,11 @@ class Client extends openapi_core_1.default {
|
|
|
4023
4269
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
4024
4270
|
}
|
|
4025
4271
|
/**
|
|
4026
|
-
*
|
|
4272
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4027
4273
|
*
|
|
4028
4274
|
* @remarks
|
|
4029
4275
|
* ### QPS limit
|
|
4030
|
-
*
|
|
4276
|
+
* 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.
|
|
4031
4277
|
*
|
|
4032
4278
|
* @param request - GetChatappTemplateDetailRequest
|
|
4033
4279
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4074,11 +4320,11 @@ class Client extends openapi_core_1.default {
|
|
|
4074
4320
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
4075
4321
|
}
|
|
4076
4322
|
/**
|
|
4077
|
-
*
|
|
4323
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4078
4324
|
*
|
|
4079
4325
|
* @remarks
|
|
4080
4326
|
* ### QPS limit
|
|
4081
|
-
*
|
|
4327
|
+
* 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.
|
|
4082
4328
|
*
|
|
4083
4329
|
* @param request - GetChatappTemplateDetailRequest
|
|
4084
4330
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4088,14 +4334,14 @@ class Client extends openapi_core_1.default {
|
|
|
4088
4334
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
4089
4335
|
}
|
|
4090
4336
|
/**
|
|
4091
|
-
*
|
|
4337
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4092
4338
|
*
|
|
4093
4339
|
* @remarks
|
|
4094
|
-
* - This
|
|
4095
|
-
* - Before
|
|
4096
|
-
* - After
|
|
4097
|
-
* ### QPS
|
|
4098
|
-
*
|
|
4340
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4341
|
+
* - 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.
|
|
4342
|
+
* - 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.
|
|
4343
|
+
* ### QPS limit
|
|
4344
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4099
4345
|
*
|
|
4100
4346
|
* @param request - GetChatappTemplateMetricRequest
|
|
4101
4347
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4154,14 +4400,14 @@ class Client extends openapi_core_1.default {
|
|
|
4154
4400
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateMetricResponse({}));
|
|
4155
4401
|
}
|
|
4156
4402
|
/**
|
|
4157
|
-
*
|
|
4403
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4158
4404
|
*
|
|
4159
4405
|
* @remarks
|
|
4160
|
-
* - This
|
|
4161
|
-
* - Before
|
|
4162
|
-
* - After
|
|
4163
|
-
* ### QPS
|
|
4164
|
-
*
|
|
4406
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4407
|
+
* - 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.
|
|
4408
|
+
* - 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.
|
|
4409
|
+
* ### QPS limit
|
|
4410
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4165
4411
|
*
|
|
4166
4412
|
* @param request - GetChatappTemplateMetricRequest
|
|
4167
4413
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -4406,7 +4652,7 @@ class Client extends openapi_core_1.default {
|
|
|
4406
4652
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4407
4653
|
}
|
|
4408
4654
|
/**
|
|
4409
|
-
*
|
|
4655
|
+
* Queries the source site of a customer.
|
|
4410
4656
|
*
|
|
4411
4657
|
* @param request - GetCustomerSiteRequest
|
|
4412
4658
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4441,7 +4687,7 @@ class Client extends openapi_core_1.default {
|
|
|
4441
4687
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4442
4688
|
}
|
|
4443
4689
|
/**
|
|
4444
|
-
*
|
|
4690
|
+
* Queries the source site of a customer.
|
|
4445
4691
|
*
|
|
4446
4692
|
* @param request - GetCustomerSiteRequest
|
|
4447
4693
|
* @returns GetCustomerSiteResponse
|
|
@@ -4451,7 +4697,7 @@ class Client extends openapi_core_1.default {
|
|
|
4451
4697
|
return await this.getCustomerSiteWithOptions(request, runtime);
|
|
4452
4698
|
}
|
|
4453
4699
|
/**
|
|
4454
|
-
*
|
|
4700
|
+
* Downloads Excel data.
|
|
4455
4701
|
*
|
|
4456
4702
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
4457
4703
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4521,7 +4767,7 @@ class Client extends openapi_core_1.default {
|
|
|
4521
4767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDownloadExcelListResponse({}));
|
|
4522
4768
|
}
|
|
4523
4769
|
/**
|
|
4524
|
-
*
|
|
4770
|
+
* Downloads Excel data.
|
|
4525
4771
|
*
|
|
4526
4772
|
* @param request - GetDownloadExcelListRequest
|
|
4527
4773
|
* @returns GetDownloadExcelListResponse
|
|
@@ -4531,7 +4777,7 @@ class Client extends openapi_core_1.default {
|
|
|
4531
4777
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4532
4778
|
}
|
|
4533
4779
|
/**
|
|
4534
|
-
*
|
|
4780
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4535
4781
|
*
|
|
4536
4782
|
* @param request - GetFbInstagramPagesRequest
|
|
4537
4783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4572,7 +4818,7 @@ class Client extends openapi_core_1.default {
|
|
|
4572
4818
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4573
4819
|
}
|
|
4574
4820
|
/**
|
|
4575
|
-
*
|
|
4821
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4576
4822
|
*
|
|
4577
4823
|
* @param request - GetFbInstagramPagesRequest
|
|
4578
4824
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -4582,7 +4828,7 @@ class Client extends openapi_core_1.default {
|
|
|
4582
4828
|
return await this.getFbInstagramPagesWithOptions(request, runtime);
|
|
4583
4829
|
}
|
|
4584
4830
|
/**
|
|
4585
|
-
*
|
|
4831
|
+
* Retrieves the list of Facebook page IDs.
|
|
4586
4832
|
*
|
|
4587
4833
|
* @param request - GetFbMessengerPagesRequest
|
|
4588
4834
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4623,7 +4869,7 @@ class Client extends openapi_core_1.default {
|
|
|
4623
4869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbMessengerPagesResponse({}));
|
|
4624
4870
|
}
|
|
4625
4871
|
/**
|
|
4626
|
-
*
|
|
4872
|
+
* Retrieves the list of Facebook page IDs.
|
|
4627
4873
|
*
|
|
4628
4874
|
* @param request - GetFbMessengerPagesRequest
|
|
4629
4875
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -4633,13 +4879,13 @@ class Client extends openapi_core_1.default {
|
|
|
4633
4879
|
return await this.getFbMessengerPagesWithOptions(request, runtime);
|
|
4634
4880
|
}
|
|
4635
4881
|
/**
|
|
4636
|
-
*
|
|
4882
|
+
* Retrieves the details of a Flow.
|
|
4637
4883
|
*
|
|
4638
4884
|
* @remarks
|
|
4639
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4640
|
-
* - If you
|
|
4885
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4886
|
+
* - 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.
|
|
4641
4887
|
* #### QPS limit
|
|
4642
|
-
*
|
|
4888
|
+
* 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.
|
|
4643
4889
|
*
|
|
4644
4890
|
* @param request - GetFlowRequest
|
|
4645
4891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4680,13 +4926,13 @@ class Client extends openapi_core_1.default {
|
|
|
4680
4926
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowResponse({}));
|
|
4681
4927
|
}
|
|
4682
4928
|
/**
|
|
4683
|
-
*
|
|
4929
|
+
* Retrieves the details of a Flow.
|
|
4684
4930
|
*
|
|
4685
4931
|
* @remarks
|
|
4686
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4687
|
-
* - If you
|
|
4932
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4933
|
+
* - 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.
|
|
4688
4934
|
* #### QPS limit
|
|
4689
|
-
*
|
|
4935
|
+
* 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.
|
|
4690
4936
|
*
|
|
4691
4937
|
* @param request - GetFlowRequest
|
|
4692
4938
|
* @returns GetFlowResponse
|
|
@@ -4696,13 +4942,13 @@ class Client extends openapi_core_1.default {
|
|
|
4696
4942
|
return await this.getFlowWithOptions(request, runtime);
|
|
4697
4943
|
}
|
|
4698
4944
|
/**
|
|
4699
|
-
*
|
|
4945
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4700
4946
|
*
|
|
4701
4947
|
* @remarks
|
|
4702
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4703
|
-
* - If you
|
|
4948
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4949
|
+
* - 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.
|
|
4704
4950
|
* #### QPS limit
|
|
4705
|
-
*
|
|
4951
|
+
* 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.
|
|
4706
4952
|
*
|
|
4707
4953
|
* @param request - GetFlowJSONAssestRequest
|
|
4708
4954
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4743,13 +4989,13 @@ class Client extends openapi_core_1.default {
|
|
|
4743
4989
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowJSONAssestResponse({}));
|
|
4744
4990
|
}
|
|
4745
4991
|
/**
|
|
4746
|
-
*
|
|
4992
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4747
4993
|
*
|
|
4748
4994
|
* @remarks
|
|
4749
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4750
|
-
* - If you
|
|
4995
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4996
|
+
* - 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.
|
|
4751
4997
|
* #### QPS limit
|
|
4752
|
-
*
|
|
4998
|
+
* 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.
|
|
4753
4999
|
*
|
|
4754
5000
|
* @param request - GetFlowJSONAssestRequest
|
|
4755
5001
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -4759,14 +5005,14 @@ class Client extends openapi_core_1.default {
|
|
|
4759
5005
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
4760
5006
|
}
|
|
4761
5007
|
/**
|
|
4762
|
-
*
|
|
5008
|
+
* Retrieves the preview URL of a Flow.
|
|
4763
5009
|
*
|
|
4764
5010
|
* @remarks
|
|
4765
|
-
* - After
|
|
4766
|
-
* - Before
|
|
4767
|
-
* - If you do not have a WhatsApp
|
|
5011
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5012
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5013
|
+
* - 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.
|
|
4768
5014
|
* #### QPS limit
|
|
4769
|
-
*
|
|
5015
|
+
* 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.
|
|
4770
5016
|
*
|
|
4771
5017
|
* @param request - GetFlowPreviewUrlRequest
|
|
4772
5018
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4807,14 +5053,14 @@ class Client extends openapi_core_1.default {
|
|
|
4807
5053
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowPreviewUrlResponse({}));
|
|
4808
5054
|
}
|
|
4809
5055
|
/**
|
|
4810
|
-
*
|
|
5056
|
+
* Retrieves the preview URL of a Flow.
|
|
4811
5057
|
*
|
|
4812
5058
|
* @remarks
|
|
4813
|
-
* - After
|
|
4814
|
-
* - Before
|
|
4815
|
-
* - If you do not have a WhatsApp
|
|
5059
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5060
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5061
|
+
* - 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.
|
|
4816
5062
|
* #### QPS limit
|
|
4817
|
-
*
|
|
5063
|
+
* 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.
|
|
4818
5064
|
*
|
|
4819
5065
|
* @param request - GetFlowPreviewUrlRequest
|
|
4820
5066
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -4824,7 +5070,7 @@ class Client extends openapi_core_1.default {
|
|
|
4824
5070
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
4825
5071
|
}
|
|
4826
5072
|
/**
|
|
4827
|
-
*
|
|
5073
|
+
* Queries whether a group name already exists.
|
|
4828
5074
|
*
|
|
4829
5075
|
* @param tmpReq - GetGroupExistRequest
|
|
4830
5076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4873,7 +5119,7 @@ class Client extends openapi_core_1.default {
|
|
|
4873
5119
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
4874
5120
|
}
|
|
4875
5121
|
/**
|
|
4876
|
-
*
|
|
5122
|
+
* Queries whether a group name already exists.
|
|
4877
5123
|
*
|
|
4878
5124
|
* @param request - GetGroupExistRequest
|
|
4879
5125
|
* @returns GetGroupExistResponse
|
|
@@ -4940,10 +5186,10 @@ class Client extends openapi_core_1.default {
|
|
|
4940
5186
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
4941
5187
|
}
|
|
4942
5188
|
/**
|
|
4943
|
-
*
|
|
5189
|
+
* Retrieves the verification code for a migration phone number.
|
|
4944
5190
|
*
|
|
4945
5191
|
* @remarks
|
|
4946
|
-
*
|
|
5192
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4947
5193
|
*
|
|
4948
5194
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4949
5195
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4990,10 +5236,10 @@ class Client extends openapi_core_1.default {
|
|
|
4990
5236
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMigrationVerifyCodeResponse({}));
|
|
4991
5237
|
}
|
|
4992
5238
|
/**
|
|
4993
|
-
*
|
|
5239
|
+
* Retrieves the verification code for a migration phone number.
|
|
4994
5240
|
*
|
|
4995
5241
|
* @remarks
|
|
4996
|
-
*
|
|
5242
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4997
5243
|
*
|
|
4998
5244
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4999
5245
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -5003,10 +5249,10 @@ class Client extends openapi_core_1.default {
|
|
|
5003
5249
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
5004
5250
|
}
|
|
5005
5251
|
/**
|
|
5006
|
-
*
|
|
5252
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5007
5253
|
*
|
|
5008
5254
|
* @remarks
|
|
5009
|
-
*
|
|
5255
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5010
5256
|
*
|
|
5011
5257
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
5012
5258
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5055,10 +5301,10 @@ class Client extends openapi_core_1.default {
|
|
|
5055
5301
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPermissionByCodeResponse({}));
|
|
5056
5302
|
}
|
|
5057
5303
|
/**
|
|
5058
|
-
*
|
|
5304
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5059
5305
|
*
|
|
5060
5306
|
* @remarks
|
|
5061
|
-
*
|
|
5307
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5062
5308
|
*
|
|
5063
5309
|
* @param request - GetPermissionByCodeRequest
|
|
5064
5310
|
* @returns GetPermissionByCodeResponse
|
|
@@ -5068,13 +5314,13 @@ class Client extends openapi_core_1.default {
|
|
|
5068
5314
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
5069
5315
|
}
|
|
5070
5316
|
/**
|
|
5071
|
-
* Retrieves the public key
|
|
5317
|
+
* Retrieves the encryption public key of a phone number.
|
|
5072
5318
|
*
|
|
5073
5319
|
* @remarks
|
|
5074
|
-
* - Before calling this
|
|
5075
|
-
* - If no phone number
|
|
5320
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5321
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5076
5322
|
* #### QPS limit
|
|
5077
|
-
*
|
|
5323
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5078
5324
|
*
|
|
5079
5325
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5080
5326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5115,13 +5361,13 @@ class Client extends openapi_core_1.default {
|
|
|
5115
5361
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPhoneEncryptionPublicKeyResponse({}));
|
|
5116
5362
|
}
|
|
5117
5363
|
/**
|
|
5118
|
-
* Retrieves the public key
|
|
5364
|
+
* Retrieves the encryption public key of a phone number.
|
|
5119
5365
|
*
|
|
5120
5366
|
* @remarks
|
|
5121
|
-
* - Before calling this
|
|
5122
|
-
* - If no phone number
|
|
5367
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5368
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5123
5369
|
* #### QPS limit
|
|
5124
|
-
*
|
|
5370
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5125
5371
|
*
|
|
5126
5372
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5127
5373
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5134,10 +5380,13 @@ class Client extends openapi_core_1.default {
|
|
|
5134
5380
|
* Retrieves the verification status of a phone number.
|
|
5135
5381
|
*
|
|
5136
5382
|
* @remarks
|
|
5137
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5138
|
-
*
|
|
5139
|
-
*
|
|
5140
|
-
* This operation
|
|
5383
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5384
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5385
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5386
|
+
* - 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.
|
|
5387
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5388
|
+
* - 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.
|
|
5389
|
+
* 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.
|
|
5141
5390
|
*
|
|
5142
5391
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5143
5392
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5181,10 +5430,13 @@ class Client extends openapi_core_1.default {
|
|
|
5181
5430
|
* Retrieves the verification status of a phone number.
|
|
5182
5431
|
*
|
|
5183
5432
|
* @remarks
|
|
5184
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5185
|
-
*
|
|
5186
|
-
*
|
|
5187
|
-
* This operation
|
|
5433
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5434
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5435
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5436
|
+
* - 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.
|
|
5437
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5438
|
+
* - 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.
|
|
5439
|
+
* 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.
|
|
5188
5440
|
*
|
|
5189
5441
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5190
5442
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5194,7 +5446,7 @@ class Client extends openapi_core_1.default {
|
|
|
5194
5446
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
5195
5447
|
}
|
|
5196
5448
|
/**
|
|
5197
|
-
*
|
|
5449
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5198
5450
|
*
|
|
5199
5451
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5200
5452
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5235,7 +5487,7 @@ class Client extends openapi_core_1.default {
|
|
|
5235
5487
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPledgeTemplateAddressResponse({}));
|
|
5236
5488
|
}
|
|
5237
5489
|
/**
|
|
5238
|
-
*
|
|
5490
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5239
5491
|
*
|
|
5240
5492
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5241
5493
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -5344,7 +5596,7 @@ class Client extends openapi_core_1.default {
|
|
|
5344
5596
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5345
5597
|
}
|
|
5346
5598
|
/**
|
|
5347
|
-
*
|
|
5599
|
+
* Queries the number of times that a pause can be requested.
|
|
5348
5600
|
*
|
|
5349
5601
|
* @param request - GetViberPauseTimesRequest
|
|
5350
5602
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5382,7 +5634,7 @@ class Client extends openapi_core_1.default {
|
|
|
5382
5634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5383
5635
|
}
|
|
5384
5636
|
/**
|
|
5385
|
-
*
|
|
5637
|
+
* Queries the number of times that a pause can be requested.
|
|
5386
5638
|
*
|
|
5387
5639
|
* @param request - GetViberPauseTimesRequest
|
|
5388
5640
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5449,7 +5701,7 @@ class Client extends openapi_core_1.default {
|
|
|
5449
5701
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
5450
5702
|
}
|
|
5451
5703
|
/**
|
|
5452
|
-
*
|
|
5704
|
+
* Retrieves the embedded authorization page.
|
|
5453
5705
|
*
|
|
5454
5706
|
* @param request - GetWhatsappConversionApiRequest
|
|
5455
5707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5487,7 +5739,7 @@ class Client extends openapi_core_1.default {
|
|
|
5487
5739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappConversionApiResponse({}));
|
|
5488
5740
|
}
|
|
5489
5741
|
/**
|
|
5490
|
-
*
|
|
5742
|
+
* Retrieves the embedded authorization page.
|
|
5491
5743
|
*
|
|
5492
5744
|
* @param request - GetWhatsappConversionApiRequest
|
|
5493
5745
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -5570,10 +5822,94 @@ class Client extends openapi_core_1.default {
|
|
|
5570
5822
|
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
5571
5823
|
}
|
|
5572
5824
|
/**
|
|
5573
|
-
*
|
|
5825
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5826
|
+
*
|
|
5827
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5828
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5829
|
+
* @returns GetWhatsappUserNameResponse
|
|
5830
|
+
*/
|
|
5831
|
+
async getWhatsappUserNameWithOptions(request, runtime) {
|
|
5832
|
+
request.validate();
|
|
5833
|
+
let query = {};
|
|
5834
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5835
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5836
|
+
}
|
|
5837
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5838
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5839
|
+
}
|
|
5840
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5841
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5842
|
+
});
|
|
5843
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5844
|
+
action: "GetWhatsappUserName",
|
|
5845
|
+
version: "2020-06-06",
|
|
5846
|
+
protocol: "HTTPS",
|
|
5847
|
+
pathname: "/",
|
|
5848
|
+
method: "POST",
|
|
5849
|
+
authType: "AK",
|
|
5850
|
+
style: "RPC",
|
|
5851
|
+
reqBodyType: "formData",
|
|
5852
|
+
bodyType: "json",
|
|
5853
|
+
});
|
|
5854
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
5855
|
+
}
|
|
5856
|
+
/**
|
|
5857
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5858
|
+
*
|
|
5859
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5860
|
+
* @returns GetWhatsappUserNameResponse
|
|
5861
|
+
*/
|
|
5862
|
+
async getWhatsappUserName(request) {
|
|
5863
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5864
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
5865
|
+
}
|
|
5866
|
+
/**
|
|
5867
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5868
|
+
*
|
|
5869
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5870
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5871
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5872
|
+
*/
|
|
5873
|
+
async getWhatsappUserNameSuggestionsWithOptions(request, runtime) {
|
|
5874
|
+
request.validate();
|
|
5875
|
+
let query = {};
|
|
5876
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5877
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5878
|
+
}
|
|
5879
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5880
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5881
|
+
}
|
|
5882
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5883
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5884
|
+
});
|
|
5885
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5886
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
5887
|
+
version: "2020-06-06",
|
|
5888
|
+
protocol: "HTTPS",
|
|
5889
|
+
pathname: "/",
|
|
5890
|
+
method: "POST",
|
|
5891
|
+
authType: "AK",
|
|
5892
|
+
style: "RPC",
|
|
5893
|
+
reqBodyType: "formData",
|
|
5894
|
+
bodyType: "json",
|
|
5895
|
+
});
|
|
5896
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
5897
|
+
}
|
|
5898
|
+
/**
|
|
5899
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5900
|
+
*
|
|
5901
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5902
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5903
|
+
*/
|
|
5904
|
+
async getWhatsappUserNameSuggestions(request) {
|
|
5905
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5906
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
5907
|
+
}
|
|
5908
|
+
/**
|
|
5909
|
+
* Retrieves the App ID for an ISV.
|
|
5574
5910
|
*
|
|
5575
5911
|
* @remarks
|
|
5576
|
-
*
|
|
5912
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5577
5913
|
*
|
|
5578
5914
|
* @param request - IsvGetAppIdRequest
|
|
5579
5915
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5617,10 +5953,10 @@ class Client extends openapi_core_1.default {
|
|
|
5617
5953
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.IsvGetAppIdResponse({}));
|
|
5618
5954
|
}
|
|
5619
5955
|
/**
|
|
5620
|
-
*
|
|
5956
|
+
* Retrieves the App ID for an ISV.
|
|
5621
5957
|
*
|
|
5622
5958
|
* @remarks
|
|
5623
|
-
*
|
|
5959
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5624
5960
|
*
|
|
5625
5961
|
* @param request - IsvGetAppIdRequest
|
|
5626
5962
|
* @returns IsvGetAppIdResponse
|
|
@@ -5630,7 +5966,7 @@ class Client extends openapi_core_1.default {
|
|
|
5630
5966
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
5631
5967
|
}
|
|
5632
5968
|
/**
|
|
5633
|
-
*
|
|
5969
|
+
* Queries the list of groups.
|
|
5634
5970
|
*
|
|
5635
5971
|
* @param tmpReq - ListAllGroupsRequest
|
|
5636
5972
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5676,7 +6012,7 @@ class Client extends openapi_core_1.default {
|
|
|
5676
6012
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllGroupsResponse({}));
|
|
5677
6013
|
}
|
|
5678
6014
|
/**
|
|
5679
|
-
*
|
|
6015
|
+
* Queries the list of groups.
|
|
5680
6016
|
*
|
|
5681
6017
|
* @param request - ListAllGroupsRequest
|
|
5682
6018
|
* @returns ListAllGroupsResponse
|
|
@@ -5686,7 +6022,7 @@ class Client extends openapi_core_1.default {
|
|
|
5686
6022
|
return await this.listAllGroupsWithOptions(request, runtime);
|
|
5687
6023
|
}
|
|
5688
6024
|
/**
|
|
5689
|
-
*
|
|
6025
|
+
* Queries the bound DM account.
|
|
5690
6026
|
*
|
|
5691
6027
|
* @param request - ListBindDmAccountRequest
|
|
5692
6028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5724,7 +6060,7 @@ class Client extends openapi_core_1.default {
|
|
|
5724
6060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindDmAccountResponse({}));
|
|
5725
6061
|
}
|
|
5726
6062
|
/**
|
|
5727
|
-
*
|
|
6063
|
+
* Queries the bound DM account.
|
|
5728
6064
|
*
|
|
5729
6065
|
* @param request - ListBindDmAccountRequest
|
|
5730
6066
|
* @returns ListBindDmAccountResponse
|
|
@@ -5734,7 +6070,12 @@ class Client extends openapi_core_1.default {
|
|
|
5734
6070
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
5735
6071
|
}
|
|
5736
6072
|
/**
|
|
5737
|
-
*
|
|
6073
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6074
|
+
*
|
|
6075
|
+
* @remarks
|
|
6076
|
+
* - 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**.
|
|
6077
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6078
|
+
* - 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.
|
|
5738
6079
|
*
|
|
5739
6080
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5740
6081
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5775,7 +6116,12 @@ class Client extends openapi_core_1.default {
|
|
|
5775
6116
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
5776
6117
|
}
|
|
5777
6118
|
/**
|
|
5778
|
-
*
|
|
6119
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6120
|
+
*
|
|
6121
|
+
* @remarks
|
|
6122
|
+
* - 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**.
|
|
6123
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6124
|
+
* - 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.
|
|
5779
6125
|
*
|
|
5780
6126
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5781
6127
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -5785,7 +6131,13 @@ class Client extends openapi_core_1.default {
|
|
|
5785
6131
|
return await this.listBindingRelationsForFlowVersionWithOptions(request, runtime);
|
|
5786
6132
|
}
|
|
5787
6133
|
/**
|
|
5788
|
-
*
|
|
6134
|
+
* Lists flows.
|
|
6135
|
+
*
|
|
6136
|
+
* @remarks
|
|
6137
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6138
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6139
|
+
* - 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.
|
|
6140
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
5789
6141
|
*
|
|
5790
6142
|
* @param tmpReq - ListChatFlowRequest
|
|
5791
6143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5805,6 +6157,12 @@ class Client extends openapi_core_1.default {
|
|
|
5805
6157
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
5806
6158
|
query["BizExtend"] = request.bizExtendShrink;
|
|
5807
6159
|
}
|
|
6160
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6161
|
+
query["FlowCode"] = request.flowCode;
|
|
6162
|
+
}
|
|
6163
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6164
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6165
|
+
}
|
|
5808
6166
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
5809
6167
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
5810
6168
|
}
|
|
@@ -5820,6 +6178,9 @@ class Client extends openapi_core_1.default {
|
|
|
5820
6178
|
if (!$dara.isNull(request.pageSize)) {
|
|
5821
6179
|
query["PageSize"] = request.pageSize;
|
|
5822
6180
|
}
|
|
6181
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6182
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6183
|
+
}
|
|
5823
6184
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
5824
6185
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
5825
6186
|
}
|
|
@@ -5832,6 +6193,9 @@ class Client extends openapi_core_1.default {
|
|
|
5832
6193
|
if (!$dara.isNull(request.status)) {
|
|
5833
6194
|
query["Status"] = request.status;
|
|
5834
6195
|
}
|
|
6196
|
+
if (!$dara.isNull(request.title)) {
|
|
6197
|
+
query["Title"] = request.title;
|
|
6198
|
+
}
|
|
5835
6199
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5836
6200
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5837
6201
|
});
|
|
@@ -5849,7 +6213,13 @@ class Client extends openapi_core_1.default {
|
|
|
5849
6213
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowResponse({}));
|
|
5850
6214
|
}
|
|
5851
6215
|
/**
|
|
5852
|
-
*
|
|
6216
|
+
* Lists flows.
|
|
6217
|
+
*
|
|
6218
|
+
* @remarks
|
|
6219
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6220
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6221
|
+
* - 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.
|
|
6222
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
5853
6223
|
*
|
|
5854
6224
|
* @param request - ListChatFlowRequest
|
|
5855
6225
|
* @returns ListChatFlowResponse
|
|
@@ -5859,7 +6229,11 @@ class Client extends openapi_core_1.default {
|
|
|
5859
6229
|
return await this.listChatFlowWithOptions(request, runtime);
|
|
5860
6230
|
}
|
|
5861
6231
|
/**
|
|
5862
|
-
*
|
|
6232
|
+
* Lists flow templates.
|
|
6233
|
+
*
|
|
6234
|
+
* @remarks
|
|
6235
|
+
* - 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.
|
|
6236
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
5863
6237
|
*
|
|
5864
6238
|
* @param request - ListChatFlowTemplateRequest
|
|
5865
6239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5909,7 +6283,11 @@ class Client extends openapi_core_1.default {
|
|
|
5909
6283
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowTemplateResponse({}));
|
|
5910
6284
|
}
|
|
5911
6285
|
/**
|
|
5912
|
-
*
|
|
6286
|
+
* Lists flow templates.
|
|
6287
|
+
*
|
|
6288
|
+
* @remarks
|
|
6289
|
+
* - 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.
|
|
6290
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
5913
6291
|
*
|
|
5914
6292
|
* @param request - ListChatFlowTemplateRequest
|
|
5915
6293
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -5919,14 +6297,13 @@ class Client extends openapi_core_1.default {
|
|
|
5919
6297
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
5920
6298
|
}
|
|
5921
6299
|
/**
|
|
5922
|
-
* Retrieves
|
|
6300
|
+
* Retrieves the list of IM groups.
|
|
5923
6301
|
*
|
|
5924
6302
|
* @remarks
|
|
5925
|
-
* >Notice:
|
|
5926
|
-
*
|
|
5927
|
-
* -
|
|
5928
|
-
* -
|
|
5929
|
-
* - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
|
|
6303
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6304
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6305
|
+
* - 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.
|
|
6306
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
5930
6307
|
*
|
|
5931
6308
|
* @param tmpReq - ListChatGroupRequest
|
|
5932
6309
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5990,14 +6367,13 @@ class Client extends openapi_core_1.default {
|
|
|
5990
6367
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
5991
6368
|
}
|
|
5992
6369
|
/**
|
|
5993
|
-
* Retrieves
|
|
6370
|
+
* Retrieves the list of IM groups.
|
|
5994
6371
|
*
|
|
5995
6372
|
* @remarks
|
|
5996
|
-
* >Notice:
|
|
5997
|
-
*
|
|
5998
|
-
* -
|
|
5999
|
-
* -
|
|
6000
|
-
* - The optional parameters for this operation filter the IM group list. If you do not specify any filters, the operation returns the complete IM group list.
|
|
6373
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6374
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6375
|
+
* - 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.
|
|
6376
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
6001
6377
|
*
|
|
6002
6378
|
* @param request - ListChatGroupRequest
|
|
6003
6379
|
* @returns ListChatGroupResponse
|
|
@@ -6007,13 +6383,12 @@ class Client extends openapi_core_1.default {
|
|
|
6007
6383
|
return await this.listChatGroupWithOptions(request, runtime);
|
|
6008
6384
|
}
|
|
6009
6385
|
/**
|
|
6010
|
-
*
|
|
6386
|
+
* Retrieves the member list of an IM group.
|
|
6011
6387
|
*
|
|
6012
6388
|
* @remarks
|
|
6013
|
-
* >Notice:
|
|
6014
|
-
*
|
|
6015
|
-
* -
|
|
6016
|
-
* - 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.
|
|
6389
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6390
|
+
* - 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.
|
|
6391
|
+
* - 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.
|
|
6017
6392
|
*
|
|
6018
6393
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6019
6394
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6068,13 +6443,12 @@ class Client extends openapi_core_1.default {
|
|
|
6068
6443
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupParticipantsResponse({}));
|
|
6069
6444
|
}
|
|
6070
6445
|
/**
|
|
6071
|
-
*
|
|
6446
|
+
* Retrieves the member list of an IM group.
|
|
6072
6447
|
*
|
|
6073
6448
|
* @remarks
|
|
6074
|
-
* >Notice:
|
|
6075
|
-
*
|
|
6076
|
-
* -
|
|
6077
|
-
* - 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.
|
|
6449
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6450
|
+
* - 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.
|
|
6451
|
+
* - 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.
|
|
6078
6452
|
*
|
|
6079
6453
|
* @param request - ListChatGroupParticipantsRequest
|
|
6080
6454
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6084,7 +6458,12 @@ class Client extends openapi_core_1.default {
|
|
|
6084
6458
|
return await this.listChatGroupParticipantsWithOptions(request, runtime);
|
|
6085
6459
|
}
|
|
6086
6460
|
/**
|
|
6087
|
-
*
|
|
6461
|
+
* Queries the message list.
|
|
6462
|
+
*
|
|
6463
|
+
* @remarks
|
|
6464
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6465
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6466
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
6088
6467
|
*
|
|
6089
6468
|
* @param tmpReq - ListChatappMessageRequest
|
|
6090
6469
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6166,7 +6545,12 @@ class Client extends openapi_core_1.default {
|
|
|
6166
6545
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappMessageResponse({}));
|
|
6167
6546
|
}
|
|
6168
6547
|
/**
|
|
6169
|
-
*
|
|
6548
|
+
* Queries the message list.
|
|
6549
|
+
*
|
|
6550
|
+
* @remarks
|
|
6551
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6552
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6553
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
6170
6554
|
*
|
|
6171
6555
|
* @param request - ListChatappMessageRequest
|
|
6172
6556
|
* @returns ListChatappMessageResponse
|
|
@@ -6176,11 +6560,11 @@ class Client extends openapi_core_1.default {
|
|
|
6176
6560
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6177
6561
|
}
|
|
6178
6562
|
/**
|
|
6179
|
-
*
|
|
6563
|
+
* Retrieves a list of message templates.
|
|
6180
6564
|
*
|
|
6181
6565
|
* @remarks
|
|
6182
6566
|
* ### QPS limit
|
|
6183
|
-
*
|
|
6567
|
+
* 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.
|
|
6184
6568
|
*
|
|
6185
6569
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6186
6570
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6250,11 +6634,11 @@ class Client extends openapi_core_1.default {
|
|
|
6250
6634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6251
6635
|
}
|
|
6252
6636
|
/**
|
|
6253
|
-
*
|
|
6637
|
+
* Retrieves a list of message templates.
|
|
6254
6638
|
*
|
|
6255
6639
|
* @remarks
|
|
6256
6640
|
* ### QPS limit
|
|
6257
|
-
*
|
|
6641
|
+
* 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.
|
|
6258
6642
|
*
|
|
6259
6643
|
* @param request - ListChatappTemplateRequest
|
|
6260
6644
|
* @returns ListChatappTemplateResponse
|
|
@@ -6335,7 +6719,7 @@ class Client extends openapi_core_1.default {
|
|
|
6335
6719
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6336
6720
|
}
|
|
6337
6721
|
/**
|
|
6338
|
-
*
|
|
6722
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6339
6723
|
*
|
|
6340
6724
|
* @param request - ListDmAccountRequest
|
|
6341
6725
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6382,7 +6766,7 @@ class Client extends openapi_core_1.default {
|
|
|
6382
6766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6383
6767
|
}
|
|
6384
6768
|
/**
|
|
6385
|
-
*
|
|
6769
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6386
6770
|
*
|
|
6387
6771
|
* @param request - ListDmAccountRequest
|
|
6388
6772
|
* @returns ListDmAccountResponse
|
|
@@ -6392,7 +6776,7 @@ class Client extends openapi_core_1.default {
|
|
|
6392
6776
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6393
6777
|
}
|
|
6394
6778
|
/**
|
|
6395
|
-
*
|
|
6779
|
+
* Queries the tags of DirectMail.
|
|
6396
6780
|
*
|
|
6397
6781
|
* @param request - ListDmTagRequest
|
|
6398
6782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6436,7 +6820,7 @@ class Client extends openapi_core_1.default {
|
|
|
6436
6820
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6437
6821
|
}
|
|
6438
6822
|
/**
|
|
6439
|
-
*
|
|
6823
|
+
* Queries the tags of DirectMail.
|
|
6440
6824
|
*
|
|
6441
6825
|
* @param request - ListDmTagRequest
|
|
6442
6826
|
* @returns ListDmTagResponse
|
|
@@ -6446,7 +6830,7 @@ class Client extends openapi_core_1.default {
|
|
|
6446
6830
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6447
6831
|
}
|
|
6448
6832
|
/**
|
|
6449
|
-
*
|
|
6833
|
+
* Queries the list of Facebook posts.
|
|
6450
6834
|
*
|
|
6451
6835
|
* @param request - ListFacebookPostsRequest
|
|
6452
6836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6484,7 +6868,7 @@ class Client extends openapi_core_1.default {
|
|
|
6484
6868
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6485
6869
|
}
|
|
6486
6870
|
/**
|
|
6487
|
-
*
|
|
6871
|
+
* Queries the list of Facebook posts.
|
|
6488
6872
|
*
|
|
6489
6873
|
* @param request - ListFacebookPostsRequest
|
|
6490
6874
|
* @returns ListFacebookPostsResponse
|
|
@@ -6494,10 +6878,10 @@ class Client extends openapi_core_1.default {
|
|
|
6494
6878
|
return await this.listFacebookPostsWithOptions(request, runtime);
|
|
6495
6879
|
}
|
|
6496
6880
|
/**
|
|
6497
|
-
*
|
|
6881
|
+
* Queries the list of Flows.
|
|
6498
6882
|
*
|
|
6499
6883
|
* @remarks
|
|
6500
|
-
*
|
|
6884
|
+
* 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.
|
|
6501
6885
|
*
|
|
6502
6886
|
* @param tmpReq - ListFlowRequest
|
|
6503
6887
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6546,10 +6930,10 @@ class Client extends openapi_core_1.default {
|
|
|
6546
6930
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowResponse({}));
|
|
6547
6931
|
}
|
|
6548
6932
|
/**
|
|
6549
|
-
*
|
|
6933
|
+
* Queries the list of Flows.
|
|
6550
6934
|
*
|
|
6551
6935
|
* @remarks
|
|
6552
|
-
*
|
|
6936
|
+
* 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.
|
|
6553
6937
|
*
|
|
6554
6938
|
* @param request - ListFlowRequest
|
|
6555
6939
|
* @returns ListFlowResponse
|
|
@@ -6559,7 +6943,7 @@ class Client extends openapi_core_1.default {
|
|
|
6559
6943
|
return await this.listFlowWithOptions(request, runtime);
|
|
6560
6944
|
}
|
|
6561
6945
|
/**
|
|
6562
|
-
*
|
|
6946
|
+
* Lists flow component groups.
|
|
6563
6947
|
*
|
|
6564
6948
|
* @param request - ListFlowNodeGroupRequest
|
|
6565
6949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6600,7 +6984,7 @@ class Client extends openapi_core_1.default {
|
|
|
6600
6984
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodeGroupResponse({}));
|
|
6601
6985
|
}
|
|
6602
6986
|
/**
|
|
6603
|
-
*
|
|
6987
|
+
* Lists flow component groups.
|
|
6604
6988
|
*
|
|
6605
6989
|
* @param request - ListFlowNodeGroupRequest
|
|
6606
6990
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -6610,7 +6994,11 @@ class Client extends openapi_core_1.default {
|
|
|
6610
6994
|
return await this.listFlowNodeGroupWithOptions(request, runtime);
|
|
6611
6995
|
}
|
|
6612
6996
|
/**
|
|
6613
|
-
*
|
|
6997
|
+
* Lists flow component prototypes.
|
|
6998
|
+
*
|
|
6999
|
+
* @remarks
|
|
7000
|
+
* - 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.
|
|
7001
|
+
* - 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.
|
|
6614
7002
|
*
|
|
6615
7003
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6616
7004
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6660,7 +7048,11 @@ class Client extends openapi_core_1.default {
|
|
|
6660
7048
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodePrototypeV2Response({}));
|
|
6661
7049
|
}
|
|
6662
7050
|
/**
|
|
6663
|
-
*
|
|
7051
|
+
* Lists flow component prototypes.
|
|
7052
|
+
*
|
|
7053
|
+
* @remarks
|
|
7054
|
+
* - 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.
|
|
7055
|
+
* - 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.
|
|
6664
7056
|
*
|
|
6665
7057
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6666
7058
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -6670,7 +7062,13 @@ class Client extends openapi_core_1.default {
|
|
|
6670
7062
|
return await this.listFlowNodePrototypeV2WithOptions(request, runtime);
|
|
6671
7063
|
}
|
|
6672
7064
|
/**
|
|
6673
|
-
*
|
|
7065
|
+
* Lists flow versions.
|
|
7066
|
+
*
|
|
7067
|
+
* @remarks
|
|
7068
|
+
* - 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.
|
|
7069
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7070
|
+
* - 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.
|
|
7071
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
6674
7072
|
*
|
|
6675
7073
|
* @param tmpReq - ListFlowVersionRequest
|
|
6676
7074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6728,7 +7126,13 @@ class Client extends openapi_core_1.default {
|
|
|
6728
7126
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowVersionResponse({}));
|
|
6729
7127
|
}
|
|
6730
7128
|
/**
|
|
6731
|
-
*
|
|
7129
|
+
* Lists flow versions.
|
|
7130
|
+
*
|
|
7131
|
+
* @remarks
|
|
7132
|
+
* - 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.
|
|
7133
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7134
|
+
* - 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.
|
|
7135
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
6732
7136
|
*
|
|
6733
7137
|
* @param request - ListFlowVersionRequest
|
|
6734
7138
|
* @returns ListFlowVersionResponse
|
|
@@ -6738,7 +7142,7 @@ class Client extends openapi_core_1.default {
|
|
|
6738
7142
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
6739
7143
|
}
|
|
6740
7144
|
/**
|
|
6741
|
-
*
|
|
7145
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6742
7146
|
*
|
|
6743
7147
|
* @param request - ListInstagramPageRequest
|
|
6744
7148
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6776,7 +7180,7 @@ class Client extends openapi_core_1.default {
|
|
|
6776
7180
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
6777
7181
|
}
|
|
6778
7182
|
/**
|
|
6779
|
-
*
|
|
7183
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6780
7184
|
*
|
|
6781
7185
|
* @param request - ListInstagramPageRequest
|
|
6782
7186
|
* @returns ListInstagramPageResponse
|
|
@@ -6786,7 +7190,7 @@ class Client extends openapi_core_1.default {
|
|
|
6786
7190
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
6787
7191
|
}
|
|
6788
7192
|
/**
|
|
6789
|
-
*
|
|
7193
|
+
* Queries the list of Instagram posts.
|
|
6790
7194
|
*
|
|
6791
7195
|
* @param request - ListInstagramPostsRequest
|
|
6792
7196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6824,7 +7228,7 @@ class Client extends openapi_core_1.default {
|
|
|
6824
7228
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
6825
7229
|
}
|
|
6826
7230
|
/**
|
|
6827
|
-
*
|
|
7231
|
+
* Queries the list of Instagram posts.
|
|
6828
7232
|
*
|
|
6829
7233
|
* @param request - ListInstagramPostsRequest
|
|
6830
7234
|
* @returns ListInstagramPostsResponse
|
|
@@ -6834,7 +7238,7 @@ class Client extends openapi_core_1.default {
|
|
|
6834
7238
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
6835
7239
|
}
|
|
6836
7240
|
/**
|
|
6837
|
-
*
|
|
7241
|
+
* Queries a list of instances.
|
|
6838
7242
|
*
|
|
6839
7243
|
* @param request - ListInstanceRequest
|
|
6840
7244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6843,6 +7247,9 @@ class Client extends openapi_core_1.default {
|
|
|
6843
7247
|
async listInstanceWithOptions(request, runtime) {
|
|
6844
7248
|
request.validate();
|
|
6845
7249
|
let query = {};
|
|
7250
|
+
if (!$dara.isNull(request.bindId)) {
|
|
7251
|
+
query["BindId"] = request.bindId;
|
|
7252
|
+
}
|
|
6846
7253
|
if (!$dara.isNull(request.channelType)) {
|
|
6847
7254
|
query["ChannelType"] = request.channelType;
|
|
6848
7255
|
}
|
|
@@ -6855,6 +7262,9 @@ class Client extends openapi_core_1.default {
|
|
|
6855
7262
|
if (!$dara.isNull(request.instanceName)) {
|
|
6856
7263
|
query["InstanceName"] = request.instanceName;
|
|
6857
7264
|
}
|
|
7265
|
+
if (!$dara.isNull(request.isBind)) {
|
|
7266
|
+
query["IsBind"] = request.isBind;
|
|
7267
|
+
}
|
|
6858
7268
|
if (!$dara.isNull(request.pageIndex)) {
|
|
6859
7269
|
query["PageIndex"] = request.pageIndex;
|
|
6860
7270
|
}
|
|
@@ -6884,7 +7294,7 @@ class Client extends openapi_core_1.default {
|
|
|
6884
7294
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
6885
7295
|
}
|
|
6886
7296
|
/**
|
|
6887
|
-
*
|
|
7297
|
+
* Queries a list of instances.
|
|
6888
7298
|
*
|
|
6889
7299
|
* @param request - ListInstanceRequest
|
|
6890
7300
|
* @returns ListInstanceResponse
|
|
@@ -6894,7 +7304,7 @@ class Client extends openapi_core_1.default {
|
|
|
6894
7304
|
return await this.listInstanceWithOptions(request, runtime);
|
|
6895
7305
|
}
|
|
6896
7306
|
/**
|
|
6897
|
-
*
|
|
7307
|
+
* Queries a list of marketing campaigns.
|
|
6898
7308
|
*
|
|
6899
7309
|
* @param tmpReq - ListMarketingFlowRequest
|
|
6900
7310
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6961,7 +7371,7 @@ class Client extends openapi_core_1.default {
|
|
|
6961
7371
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
6962
7372
|
}
|
|
6963
7373
|
/**
|
|
6964
|
-
*
|
|
7374
|
+
* Queries a list of marketing campaigns.
|
|
6965
7375
|
*
|
|
6966
7376
|
* @param request - ListMarketingFlowRequest
|
|
6967
7377
|
* @returns ListMarketingFlowResponse
|
|
@@ -7105,7 +7515,7 @@ class Client extends openapi_core_1.default {
|
|
|
7105
7515
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
7106
7516
|
}
|
|
7107
7517
|
/**
|
|
7108
|
-
*
|
|
7518
|
+
* Queries the list of ad accounts bound to a page.
|
|
7109
7519
|
*
|
|
7110
7520
|
* @param request - ListPageAdAccountRequest
|
|
7111
7521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7146,7 +7556,7 @@ class Client extends openapi_core_1.default {
|
|
|
7146
7556
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
7147
7557
|
}
|
|
7148
7558
|
/**
|
|
7149
|
-
*
|
|
7559
|
+
* Queries the list of ad accounts bound to a page.
|
|
7150
7560
|
*
|
|
7151
7561
|
* @param request - ListPageAdAccountRequest
|
|
7152
7562
|
* @returns ListPageAdAccountResponse
|
|
@@ -7156,10 +7566,10 @@ class Client extends openapi_core_1.default {
|
|
|
7156
7566
|
return await this.listPageAdAccountWithOptions(request, runtime);
|
|
7157
7567
|
}
|
|
7158
7568
|
/**
|
|
7159
|
-
* Queries message QR codes.
|
|
7569
|
+
* Queries the list of message QR codes.
|
|
7160
7570
|
*
|
|
7161
7571
|
* @remarks
|
|
7162
|
-
*
|
|
7572
|
+
* 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.
|
|
7163
7573
|
*
|
|
7164
7574
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7165
7575
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7200,10 +7610,10 @@ class Client extends openapi_core_1.default {
|
|
|
7200
7610
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPhoneMessageQrdlResponse({}));
|
|
7201
7611
|
}
|
|
7202
7612
|
/**
|
|
7203
|
-
* Queries message QR codes.
|
|
7613
|
+
* Queries the list of message QR codes.
|
|
7204
7614
|
*
|
|
7205
7615
|
* @remarks
|
|
7206
|
-
*
|
|
7616
|
+
* 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.
|
|
7207
7617
|
*
|
|
7208
7618
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7209
7619
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -7285,10 +7695,10 @@ class Client extends openapi_core_1.default {
|
|
|
7285
7695
|
return await this.listProductWithOptions(request, runtime);
|
|
7286
7696
|
}
|
|
7287
7697
|
/**
|
|
7288
|
-
* Queries the
|
|
7698
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7289
7699
|
*
|
|
7290
7700
|
* @remarks
|
|
7291
|
-
*
|
|
7701
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7292
7702
|
*
|
|
7293
7703
|
* @param request - ListProductCatalogRequest
|
|
7294
7704
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7341,10 +7751,10 @@ class Client extends openapi_core_1.default {
|
|
|
7341
7751
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7342
7752
|
}
|
|
7343
7753
|
/**
|
|
7344
|
-
* Queries the
|
|
7754
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7345
7755
|
*
|
|
7346
7756
|
* @remarks
|
|
7347
|
-
*
|
|
7757
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7348
7758
|
*
|
|
7349
7759
|
* @param request - ListProductCatalogRequest
|
|
7350
7760
|
* @returns ListProductCatalogResponse
|
|
@@ -7354,7 +7764,7 @@ class Client extends openapi_core_1.default {
|
|
|
7354
7764
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7355
7765
|
}
|
|
7356
7766
|
/**
|
|
7357
|
-
*
|
|
7767
|
+
* Displays the Viber service number card for an application form.
|
|
7358
7768
|
*
|
|
7359
7769
|
* @param request - ListViberServiceMessageRequest
|
|
7360
7770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7392,7 +7802,7 @@ class Client extends openapi_core_1.default {
|
|
|
7392
7802
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7393
7803
|
}
|
|
7394
7804
|
/**
|
|
7395
|
-
*
|
|
7805
|
+
* Displays the Viber service number card for an application form.
|
|
7396
7806
|
*
|
|
7397
7807
|
* @param request - ListViberServiceMessageRequest
|
|
7398
7808
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7444,13 +7854,13 @@ class Client extends openapi_core_1.default {
|
|
|
7444
7854
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7445
7855
|
}
|
|
7446
7856
|
/**
|
|
7447
|
-
* Modifies a message template.
|
|
7857
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7448
7858
|
*
|
|
7449
7859
|
* @remarks
|
|
7450
|
-
* ### QPS
|
|
7451
|
-
* The
|
|
7860
|
+
* ### QPS limit
|
|
7861
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7452
7862
|
* ### Status changes
|
|
7453
|
-
* You can monitor
|
|
7863
|
+
* 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).
|
|
7454
7864
|
*
|
|
7455
7865
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7456
7866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7466,45 +7876,48 @@ class Client extends openapi_core_1.default {
|
|
|
7466
7876
|
if (!$dara.isNull(tmpReq.example)) {
|
|
7467
7877
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
7468
7878
|
}
|
|
7469
|
-
let
|
|
7879
|
+
let query = {};
|
|
7470
7880
|
if (!$dara.isNull(request.category)) {
|
|
7471
|
-
|
|
7881
|
+
query["Category"] = request.category;
|
|
7472
7882
|
}
|
|
7473
7883
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
7474
|
-
|
|
7884
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
7475
7885
|
}
|
|
7476
7886
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
7477
|
-
|
|
7887
|
+
query["Components"] = request.componentsShrink;
|
|
7478
7888
|
}
|
|
7479
7889
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
7480
|
-
|
|
7890
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7481
7891
|
}
|
|
7482
7892
|
if (!$dara.isNull(request.custWabaId)) {
|
|
7483
|
-
|
|
7893
|
+
query["CustWabaId"] = request.custWabaId;
|
|
7484
7894
|
}
|
|
7485
7895
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
7486
|
-
|
|
7896
|
+
query["Example"] = request.exampleShrink;
|
|
7487
7897
|
}
|
|
7488
7898
|
if (!$dara.isNull(request.isvCode)) {
|
|
7489
|
-
|
|
7899
|
+
query["IsvCode"] = request.isvCode;
|
|
7490
7900
|
}
|
|
7491
7901
|
if (!$dara.isNull(request.language)) {
|
|
7492
|
-
|
|
7902
|
+
query["Language"] = request.language;
|
|
7493
7903
|
}
|
|
7494
7904
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
7495
|
-
|
|
7905
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
7906
|
+
}
|
|
7907
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
7908
|
+
query["ProductSetId"] = request.productSetId;
|
|
7496
7909
|
}
|
|
7497
7910
|
if (!$dara.isNull(request.templateCode)) {
|
|
7498
|
-
|
|
7911
|
+
query["TemplateCode"] = request.templateCode;
|
|
7499
7912
|
}
|
|
7500
7913
|
if (!$dara.isNull(request.templateName)) {
|
|
7501
|
-
|
|
7914
|
+
query["TemplateName"] = request.templateName;
|
|
7502
7915
|
}
|
|
7503
7916
|
if (!$dara.isNull(request.templateType)) {
|
|
7504
|
-
|
|
7917
|
+
query["TemplateType"] = request.templateType;
|
|
7505
7918
|
}
|
|
7506
7919
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7507
|
-
|
|
7920
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7508
7921
|
});
|
|
7509
7922
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7510
7923
|
action: "ModifyChatappTemplate",
|
|
@@ -7520,13 +7933,13 @@ class Client extends openapi_core_1.default {
|
|
|
7520
7933
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7521
7934
|
}
|
|
7522
7935
|
/**
|
|
7523
|
-
* Modifies a message template.
|
|
7936
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7524
7937
|
*
|
|
7525
7938
|
* @remarks
|
|
7526
|
-
* ### QPS
|
|
7527
|
-
* The
|
|
7939
|
+
* ### QPS limit
|
|
7940
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7528
7941
|
* ### Status changes
|
|
7529
|
-
* You can monitor
|
|
7942
|
+
* 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).
|
|
7530
7943
|
*
|
|
7531
7944
|
* @param request - ModifyChatappTemplateRequest
|
|
7532
7945
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -7536,7 +7949,7 @@ class Client extends openapi_core_1.default {
|
|
|
7536
7949
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7537
7950
|
}
|
|
7538
7951
|
/**
|
|
7539
|
-
*
|
|
7952
|
+
* Modifies some properties of a template.
|
|
7540
7953
|
*
|
|
7541
7954
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7542
7955
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7589,7 +8002,7 @@ class Client extends openapi_core_1.default {
|
|
|
7589
8002
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
7590
8003
|
}
|
|
7591
8004
|
/**
|
|
7592
|
-
*
|
|
8005
|
+
* Modifies some properties of a template.
|
|
7593
8006
|
*
|
|
7594
8007
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7595
8008
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -7599,10 +8012,10 @@ class Client extends openapi_core_1.default {
|
|
|
7599
8012
|
return await this.modifyChatappTemplatePropertiesWithOptions(request, runtime);
|
|
7600
8013
|
}
|
|
7601
8014
|
/**
|
|
7602
|
-
* Modifies a flow.
|
|
8015
|
+
* Modifies the basic information of a flow.
|
|
7603
8016
|
*
|
|
7604
8017
|
* @remarks
|
|
7605
|
-
*
|
|
8018
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7606
8019
|
*
|
|
7607
8020
|
* @param tmpReq - ModifyFlowRequest
|
|
7608
8021
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7657,10 +8070,10 @@ class Client extends openapi_core_1.default {
|
|
|
7657
8070
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyFlowResponse({}));
|
|
7658
8071
|
}
|
|
7659
8072
|
/**
|
|
7660
|
-
* Modifies a flow.
|
|
8073
|
+
* Modifies the basic information of a flow.
|
|
7661
8074
|
*
|
|
7662
8075
|
* @remarks
|
|
7663
|
-
*
|
|
8076
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7664
8077
|
*
|
|
7665
8078
|
* @param request - ModifyFlowRequest
|
|
7666
8079
|
* @returns ModifyFlowResponse
|
|
@@ -7670,10 +8083,10 @@ class Client extends openapi_core_1.default {
|
|
|
7670
8083
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
7671
8084
|
}
|
|
7672
8085
|
/**
|
|
7673
|
-
*
|
|
8086
|
+
* Modifies the commercial information of a phone number.
|
|
7674
8087
|
*
|
|
7675
8088
|
* @remarks
|
|
7676
|
-
*
|
|
8089
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7677
8090
|
*
|
|
7678
8091
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
7679
8092
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7740,10 +8153,10 @@ class Client extends openapi_core_1.default {
|
|
|
7740
8153
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
7741
8154
|
}
|
|
7742
8155
|
/**
|
|
7743
|
-
*
|
|
8156
|
+
* Modifies the commercial information of a phone number.
|
|
7744
8157
|
*
|
|
7745
8158
|
* @remarks
|
|
7746
|
-
*
|
|
8159
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7747
8160
|
*
|
|
7748
8161
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
7749
8162
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -7753,7 +8166,7 @@ class Client extends openapi_core_1.default {
|
|
|
7753
8166
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
7754
8167
|
}
|
|
7755
8168
|
/**
|
|
7756
|
-
*
|
|
8169
|
+
* Modifies the group associations of contacts.
|
|
7757
8170
|
*
|
|
7758
8171
|
* @param tmpReq - MoveContactToGroupRequest
|
|
7759
8172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7808,7 +8221,7 @@ class Client extends openapi_core_1.default {
|
|
|
7808
8221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
7809
8222
|
}
|
|
7810
8223
|
/**
|
|
7811
|
-
*
|
|
8224
|
+
* Modifies the group associations of contacts.
|
|
7812
8225
|
*
|
|
7813
8226
|
* @param request - MoveContactToGroupRequest
|
|
7814
8227
|
* @returns MoveContactToGroupResponse
|
|
@@ -7818,7 +8231,13 @@ class Client extends openapi_core_1.default {
|
|
|
7818
8231
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
7819
8232
|
}
|
|
7820
8233
|
/**
|
|
7821
|
-
*
|
|
8234
|
+
* Offlines a flow version.
|
|
8235
|
+
*
|
|
8236
|
+
* @remarks
|
|
8237
|
+
* - 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.
|
|
8238
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
8239
|
+
* - 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.
|
|
8240
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
7822
8241
|
*
|
|
7823
8242
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
7824
8243
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7873,7 +8292,13 @@ class Client extends openapi_core_1.default {
|
|
|
7873
8292
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
7874
8293
|
}
|
|
7875
8294
|
/**
|
|
7876
|
-
*
|
|
8295
|
+
* Offlines a flow version.
|
|
8296
|
+
*
|
|
8297
|
+
* @remarks
|
|
8298
|
+
* - 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.
|
|
8299
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
8300
|
+
* - 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.
|
|
8301
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
7877
8302
|
*
|
|
7878
8303
|
* @param request - OfflineFlowVersionRequest
|
|
7879
8304
|
* @returns OfflineFlowVersionResponse
|
|
@@ -7883,7 +8308,13 @@ class Client extends openapi_core_1.default {
|
|
|
7883
8308
|
return await this.offlineFlowVersionWithOptions(request, runtime);
|
|
7884
8309
|
}
|
|
7885
8310
|
/**
|
|
7886
|
-
*
|
|
8311
|
+
* Publishes a flow version.
|
|
8312
|
+
*
|
|
8313
|
+
* @remarks
|
|
8314
|
+
* - 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.
|
|
8315
|
+
* - 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.
|
|
8316
|
+
* - 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.
|
|
8317
|
+
* - 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.
|
|
7887
8318
|
*
|
|
7888
8319
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
7889
8320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7938,7 +8369,13 @@ class Client extends openapi_core_1.default {
|
|
|
7938
8369
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OnlineFlowVersionResponse({}));
|
|
7939
8370
|
}
|
|
7940
8371
|
/**
|
|
7941
|
-
*
|
|
8372
|
+
* Publishes a flow version.
|
|
8373
|
+
*
|
|
8374
|
+
* @remarks
|
|
8375
|
+
* - 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.
|
|
8376
|
+
* - 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.
|
|
8377
|
+
* - 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.
|
|
8378
|
+
* - 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.
|
|
7942
8379
|
*
|
|
7943
8380
|
* @param request - OnlineFlowVersionRequest
|
|
7944
8381
|
* @returns OnlineFlowVersionResponse
|
|
@@ -7948,7 +8385,7 @@ class Client extends openapi_core_1.default {
|
|
|
7948
8385
|
return await this.onlineFlowVersionWithOptions(request, runtime);
|
|
7949
8386
|
}
|
|
7950
8387
|
/**
|
|
7951
|
-
*
|
|
8388
|
+
* Activates the Chat App Message Service.
|
|
7952
8389
|
*
|
|
7953
8390
|
* @param request - OpenChatappServiceRequest
|
|
7954
8391
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7983,7 +8420,7 @@ class Client extends openapi_core_1.default {
|
|
|
7983
8420
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenChatappServiceResponse({}));
|
|
7984
8421
|
}
|
|
7985
8422
|
/**
|
|
7986
|
-
*
|
|
8423
|
+
* Activates the Chat App Message Service.
|
|
7987
8424
|
*
|
|
7988
8425
|
* @param request - OpenChatappServiceRequest
|
|
7989
8426
|
* @returns OpenChatappServiceResponse
|
|
@@ -7993,7 +8430,7 @@ class Client extends openapi_core_1.default {
|
|
|
7993
8430
|
return await this.openChatappServiceWithOptions(request, runtime);
|
|
7994
8431
|
}
|
|
7995
8432
|
/**
|
|
7996
|
-
*
|
|
8433
|
+
* Pauses a service.
|
|
7997
8434
|
*
|
|
7998
8435
|
* @param request - PauseMarketingFLowRequest
|
|
7999
8436
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8034,7 +8471,7 @@ class Client extends openapi_core_1.default {
|
|
|
8034
8471
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseMarketingFLowResponse({}));
|
|
8035
8472
|
}
|
|
8036
8473
|
/**
|
|
8037
|
-
*
|
|
8474
|
+
* Pauses a service.
|
|
8038
8475
|
*
|
|
8039
8476
|
* @param request - PauseMarketingFLowRequest
|
|
8040
8477
|
* @returns PauseMarketingFLowResponse
|
|
@@ -8044,13 +8481,13 @@ class Client extends openapi_core_1.default {
|
|
|
8044
8481
|
return await this.pauseMarketingFLowWithOptions(request, runtime);
|
|
8045
8482
|
}
|
|
8046
8483
|
/**
|
|
8047
|
-
* Publishes a
|
|
8484
|
+
* Publishes a Flow.
|
|
8048
8485
|
*
|
|
8049
8486
|
* @remarks
|
|
8050
|
-
* - Before
|
|
8051
|
-
* - If you
|
|
8487
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8488
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8052
8489
|
* #### QPS limit
|
|
8053
|
-
*
|
|
8490
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8054
8491
|
*
|
|
8055
8492
|
* @param request - PublishFlowRequest
|
|
8056
8493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8091,13 +8528,13 @@ class Client extends openapi_core_1.default {
|
|
|
8091
8528
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PublishFlowResponse({}));
|
|
8092
8529
|
}
|
|
8093
8530
|
/**
|
|
8094
|
-
* Publishes a
|
|
8531
|
+
* Publishes a Flow.
|
|
8095
8532
|
*
|
|
8096
8533
|
* @remarks
|
|
8097
|
-
* - Before
|
|
8098
|
-
* - If you
|
|
8534
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8535
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8099
8536
|
* #### QPS limit
|
|
8100
|
-
*
|
|
8537
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8101
8538
|
*
|
|
8102
8539
|
* @param request - PublishFlowRequest
|
|
8103
8540
|
* @returns PublishFlowResponse
|
|
@@ -8263,7 +8700,7 @@ class Client extends openapi_core_1.default {
|
|
|
8263
8700
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8264
8701
|
}
|
|
8265
8702
|
/**
|
|
8266
|
-
*
|
|
8703
|
+
* Queries whether a marketing message is effective.
|
|
8267
8704
|
*
|
|
8268
8705
|
* @param request - QueryMMLActiveRequest
|
|
8269
8706
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8301,7 +8738,7 @@ class Client extends openapi_core_1.default {
|
|
|
8301
8738
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8302
8739
|
}
|
|
8303
8740
|
/**
|
|
8304
|
-
*
|
|
8741
|
+
* Queries whether a marketing message is effective.
|
|
8305
8742
|
*
|
|
8306
8743
|
* @param request - QueryMMLActiveRequest
|
|
8307
8744
|
* @returns QueryMMLActiveResponse
|
|
@@ -8314,7 +8751,7 @@ class Client extends openapi_core_1.default {
|
|
|
8314
8751
|
* Queries the business information of a phone number.
|
|
8315
8752
|
*
|
|
8316
8753
|
* @remarks
|
|
8317
|
-
*
|
|
8754
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8318
8755
|
*
|
|
8319
8756
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8320
8757
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8358,7 +8795,7 @@ class Client extends openapi_core_1.default {
|
|
|
8358
8795
|
* Queries the business information of a phone number.
|
|
8359
8796
|
*
|
|
8360
8797
|
* @remarks
|
|
8361
|
-
*
|
|
8798
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8362
8799
|
*
|
|
8363
8800
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8364
8801
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8425,7 +8862,12 @@ class Client extends openapi_core_1.default {
|
|
|
8425
8862
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8426
8863
|
}
|
|
8427
8864
|
/**
|
|
8428
|
-
*
|
|
8865
|
+
* Retrieves the details of a flow.
|
|
8866
|
+
*
|
|
8867
|
+
* @remarks
|
|
8868
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8869
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8870
|
+
* - 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.
|
|
8429
8871
|
*
|
|
8430
8872
|
* @param tmpReq - ReadChatFlowRequest
|
|
8431
8873
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8474,7 +8916,12 @@ class Client extends openapi_core_1.default {
|
|
|
8474
8916
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowResponse({}));
|
|
8475
8917
|
}
|
|
8476
8918
|
/**
|
|
8477
|
-
*
|
|
8919
|
+
* Retrieves the details of a flow.
|
|
8920
|
+
*
|
|
8921
|
+
* @remarks
|
|
8922
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8923
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8924
|
+
* - 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.
|
|
8478
8925
|
*
|
|
8479
8926
|
* @param request - ReadChatFlowRequest
|
|
8480
8927
|
* @returns ReadChatFlowResponse
|
|
@@ -8484,7 +8931,12 @@ class Client extends openapi_core_1.default {
|
|
|
8484
8931
|
return await this.readChatFlowWithOptions(request, runtime);
|
|
8485
8932
|
}
|
|
8486
8933
|
/**
|
|
8487
|
-
*
|
|
8934
|
+
* Queries the flow log settings.
|
|
8935
|
+
*
|
|
8936
|
+
* @remarks
|
|
8937
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8938
|
+
* - 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.
|
|
8939
|
+
* - 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.
|
|
8488
8940
|
*
|
|
8489
8941
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8490
8942
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8522,7 +8974,12 @@ class Client extends openapi_core_1.default {
|
|
|
8522
8974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
8523
8975
|
}
|
|
8524
8976
|
/**
|
|
8525
|
-
*
|
|
8977
|
+
* Queries the flow log settings.
|
|
8978
|
+
*
|
|
8979
|
+
* @remarks
|
|
8980
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8981
|
+
* - 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.
|
|
8982
|
+
* - 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.
|
|
8526
8983
|
*
|
|
8527
8984
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8528
8985
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8532,7 +8989,12 @@ class Client extends openapi_core_1.default {
|
|
|
8532
8989
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8533
8990
|
}
|
|
8534
8991
|
/**
|
|
8535
|
-
*
|
|
8992
|
+
* Retrieves a flow version.
|
|
8993
|
+
*
|
|
8994
|
+
* @remarks
|
|
8995
|
+
* - 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.
|
|
8996
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
8997
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8536
8998
|
*
|
|
8537
8999
|
* @param tmpReq - ReadFlowVersionRequest
|
|
8538
9000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8552,6 +9014,9 @@ class Client extends openapi_core_1.default {
|
|
|
8552
9014
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
8553
9015
|
query["BizExtend"] = request.bizExtendShrink;
|
|
8554
9016
|
}
|
|
9017
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
9018
|
+
query["DraftVersion"] = request.draftVersion;
|
|
9019
|
+
}
|
|
8555
9020
|
if (!$dara.isNull(request.flowCode)) {
|
|
8556
9021
|
query["FlowCode"] = request.flowCode;
|
|
8557
9022
|
}
|
|
@@ -8587,7 +9052,12 @@ class Client extends openapi_core_1.default {
|
|
|
8587
9052
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
8588
9053
|
}
|
|
8589
9054
|
/**
|
|
8590
|
-
*
|
|
9055
|
+
* Retrieves a flow version.
|
|
9056
|
+
*
|
|
9057
|
+
* @remarks
|
|
9058
|
+
* - 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.
|
|
9059
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
9060
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8591
9061
|
*
|
|
8592
9062
|
* @param request - ReadFlowVersionRequest
|
|
8593
9063
|
* @returns ReadFlowVersionResponse
|
|
@@ -8597,7 +9067,7 @@ class Client extends openapi_core_1.default {
|
|
|
8597
9067
|
return await this.readFlowVersionWithOptions(request, runtime);
|
|
8598
9068
|
}
|
|
8599
9069
|
/**
|
|
8600
|
-
*
|
|
9070
|
+
* Removes a single contact from the current group.
|
|
8601
9071
|
*
|
|
8602
9072
|
* @param request - RemoveContactByIdRequest
|
|
8603
9073
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8638,7 +9108,7 @@ class Client extends openapi_core_1.default {
|
|
|
8638
9108
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveContactByIdResponse({}));
|
|
8639
9109
|
}
|
|
8640
9110
|
/**
|
|
8641
|
-
*
|
|
9111
|
+
* Removes a single contact from the current group.
|
|
8642
9112
|
*
|
|
8643
9113
|
* @param request - RemoveContactByIdRequest
|
|
8644
9114
|
* @returns RemoveContactByIdResponse
|
|
@@ -8713,21 +9183,20 @@ class Client extends openapi_core_1.default {
|
|
|
8713
9183
|
return await this.requestWhatsappConversionApiWithOptions(request, runtime);
|
|
8714
9184
|
}
|
|
8715
9185
|
/**
|
|
8716
|
-
* Sends
|
|
9186
|
+
* Sends Chat App messages in batches.
|
|
8717
9187
|
*
|
|
8718
9188
|
* @remarks
|
|
8719
|
-
* - You can call this operation to send messages in
|
|
8720
|
-
* - Before
|
|
8721
|
-
* - For
|
|
8722
|
-
* - For
|
|
8723
|
-
* - For
|
|
8724
|
-
* <props="intl"
|
|
8725
|
-
*
|
|
8726
|
-
*
|
|
8727
|
-
* -
|
|
8728
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
9189
|
+
* - 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.
|
|
9190
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9191
|
+
* - 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).
|
|
9192
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9193
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9194
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9195
|
+
* ### QPS limit
|
|
9196
|
+
* - 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.
|
|
9197
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
8729
9198
|
* ### Status changes
|
|
8730
|
-
*
|
|
9199
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8731
9200
|
*
|
|
8732
9201
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
8733
9202
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8818,21 +9287,20 @@ class Client extends openapi_core_1.default {
|
|
|
8818
9287
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMassMessageResponse({}));
|
|
8819
9288
|
}
|
|
8820
9289
|
/**
|
|
8821
|
-
* Sends
|
|
9290
|
+
* Sends Chat App messages in batches.
|
|
8822
9291
|
*
|
|
8823
9292
|
* @remarks
|
|
8824
|
-
* - You can call this operation to send messages in
|
|
8825
|
-
* - Before
|
|
8826
|
-
* - For
|
|
8827
|
-
* - For
|
|
8828
|
-
* - For
|
|
8829
|
-
* <props="intl"
|
|
8830
|
-
*
|
|
8831
|
-
*
|
|
8832
|
-
* -
|
|
8833
|
-
* - A single request supports a maximum of 1,000 numbers.
|
|
9293
|
+
* - 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.
|
|
9294
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9295
|
+
* - 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).
|
|
9296
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9297
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9298
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9299
|
+
* ### QPS limit
|
|
9300
|
+
* - 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.
|
|
9301
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
8834
9302
|
* ### Status changes
|
|
8835
|
-
*
|
|
9303
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8836
9304
|
*
|
|
8837
9305
|
* @param request - SendChatappMassMessageRequest
|
|
8838
9306
|
* @returns SendChatappMassMessageResponse
|
|
@@ -8842,20 +9310,19 @@ class Client extends openapi_core_1.default {
|
|
|
8842
9310
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
8843
9311
|
}
|
|
8844
9312
|
/**
|
|
8845
|
-
* Sends a
|
|
9313
|
+
* Sends a Chat App Message Service message.
|
|
8846
9314
|
*
|
|
8847
9315
|
* @remarks
|
|
8848
|
-
* -
|
|
8849
|
-
* - Before calling this operation, you
|
|
8850
|
-
* - For
|
|
8851
|
-
* - For
|
|
8852
|
-
* - For
|
|
8853
|
-
* <props="intl"
|
|
8854
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9316
|
+
* - 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.
|
|
9317
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9318
|
+
* - 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).
|
|
9319
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9320
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9321
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
8855
9322
|
* ### QPS limit
|
|
8856
|
-
* The QPS limit for this operation is 250 per
|
|
9323
|
+
* 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.
|
|
8857
9324
|
* ### Status changes
|
|
8858
|
-
* You can
|
|
9325
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8859
9326
|
*
|
|
8860
9327
|
* @param tmpReq - SendChatappMessageRequest
|
|
8861
9328
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8997,20 +9464,19 @@ class Client extends openapi_core_1.default {
|
|
|
8997
9464
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMessageResponse({}));
|
|
8998
9465
|
}
|
|
8999
9466
|
/**
|
|
9000
|
-
* Sends a
|
|
9467
|
+
* Sends a Chat App Message Service message.
|
|
9001
9468
|
*
|
|
9002
9469
|
* @remarks
|
|
9003
|
-
* -
|
|
9004
|
-
* - Before calling this operation, you
|
|
9005
|
-
* - For
|
|
9006
|
-
* - For
|
|
9007
|
-
* - For
|
|
9008
|
-
* <props="intl"
|
|
9009
|
-
* - For a Viber channel, you must [apply for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9470
|
+
* - 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.
|
|
9471
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9472
|
+
* - 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).
|
|
9473
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9474
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9475
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9010
9476
|
* ### QPS limit
|
|
9011
|
-
* The QPS limit for this operation is 250 per
|
|
9477
|
+
* 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.
|
|
9012
9478
|
* ### Status changes
|
|
9013
|
-
* You can
|
|
9479
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9014
9480
|
*
|
|
9015
9481
|
* @param request - SendChatappMessageRequest
|
|
9016
9482
|
* @returns SendChatappMessageResponse
|
|
@@ -9065,11 +9531,11 @@ class Client extends openapi_core_1.default {
|
|
|
9065
9531
|
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9066
9532
|
}
|
|
9067
9533
|
/**
|
|
9068
|
-
* Synchronizes
|
|
9534
|
+
* Synchronizes business app historical records.
|
|
9069
9535
|
*
|
|
9070
9536
|
* @remarks
|
|
9071
|
-
* - Before
|
|
9072
|
-
* - This
|
|
9537
|
+
* - 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.
|
|
9538
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
9073
9539
|
*
|
|
9074
9540
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9075
9541
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9110,11 +9576,11 @@ class Client extends openapi_core_1.default {
|
|
|
9110
9576
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
9111
9577
|
}
|
|
9112
9578
|
/**
|
|
9113
|
-
* Synchronizes
|
|
9579
|
+
* Synchronizes business app historical records.
|
|
9114
9580
|
*
|
|
9115
9581
|
* @remarks
|
|
9116
|
-
* - Before
|
|
9117
|
-
* - This
|
|
9582
|
+
* - 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.
|
|
9583
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
9118
9584
|
*
|
|
9119
9585
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9120
9586
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -9124,7 +9590,7 @@ class Client extends openapi_core_1.default {
|
|
|
9124
9590
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9125
9591
|
}
|
|
9126
9592
|
/**
|
|
9127
|
-
*
|
|
9593
|
+
* Syncs a WhatsApp flow.
|
|
9128
9594
|
*
|
|
9129
9595
|
* @param request - SyncFlowRequest
|
|
9130
9596
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9162,7 +9628,7 @@ class Client extends openapi_core_1.default {
|
|
|
9162
9628
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9163
9629
|
}
|
|
9164
9630
|
/**
|
|
9165
|
-
*
|
|
9631
|
+
* Syncs a WhatsApp flow.
|
|
9166
9632
|
*
|
|
9167
9633
|
* @param request - SyncFlowRequest
|
|
9168
9634
|
* @returns SyncFlowResponse
|
|
@@ -9223,7 +9689,7 @@ class Client extends openapi_core_1.default {
|
|
|
9223
9689
|
return await this.syncMessageCampaignWithOptions(request, runtime);
|
|
9224
9690
|
}
|
|
9225
9691
|
/**
|
|
9226
|
-
*
|
|
9692
|
+
* Queries the Messenger subscription token.
|
|
9227
9693
|
*
|
|
9228
9694
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
9229
9695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9270,7 +9736,7 @@ class Client extends openapi_core_1.default {
|
|
|
9270
9736
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessengerSubscriptionTokenResponse({}));
|
|
9271
9737
|
}
|
|
9272
9738
|
/**
|
|
9273
|
-
*
|
|
9739
|
+
* Queries the Messenger subscription token.
|
|
9274
9740
|
*
|
|
9275
9741
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
9276
9742
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -9360,7 +9826,7 @@ class Client extends openapi_core_1.default {
|
|
|
9360
9826
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9361
9827
|
}
|
|
9362
9828
|
/**
|
|
9363
|
-
*
|
|
9829
|
+
* Unbinds an email account.
|
|
9364
9830
|
*
|
|
9365
9831
|
* @param request - UnbindDmAccountRequest
|
|
9366
9832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9398,7 +9864,7 @@ class Client extends openapi_core_1.default {
|
|
|
9398
9864
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9399
9865
|
}
|
|
9400
9866
|
/**
|
|
9401
|
-
*
|
|
9867
|
+
* Unbinds an email account.
|
|
9402
9868
|
*
|
|
9403
9869
|
* @param request - UnbindDmAccountRequest
|
|
9404
9870
|
* @returns UnbindDmAccountResponse
|
|
@@ -9533,7 +9999,12 @@ class Client extends openapi_core_1.default {
|
|
|
9533
9999
|
return await this.updateAuditRequestWithOptions(request, runtime);
|
|
9534
10000
|
}
|
|
9535
10001
|
/**
|
|
9536
|
-
*
|
|
10002
|
+
* Updates the basic information of a flow based on the flow code.
|
|
10003
|
+
*
|
|
10004
|
+
* @remarks
|
|
10005
|
+
* - 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**.
|
|
10006
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10007
|
+
* - 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.
|
|
9537
10008
|
*
|
|
9538
10009
|
* @param tmpReq - UpdateChatFlowRequest
|
|
9539
10010
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9588,7 +10059,12 @@ class Client extends openapi_core_1.default {
|
|
|
9588
10059
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowResponse({}));
|
|
9589
10060
|
}
|
|
9590
10061
|
/**
|
|
9591
|
-
*
|
|
10062
|
+
* Updates the basic information of a flow based on the flow code.
|
|
10063
|
+
*
|
|
10064
|
+
* @remarks
|
|
10065
|
+
* - 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**.
|
|
10066
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10067
|
+
* - 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.
|
|
9592
10068
|
*
|
|
9593
10069
|
* @param request - UpdateChatFlowRequest
|
|
9594
10070
|
* @returns UpdateChatFlowResponse
|
|
@@ -9598,7 +10074,13 @@ class Client extends openapi_core_1.default {
|
|
|
9598
10074
|
return await this.updateChatFlowWithOptions(request, runtime);
|
|
9599
10075
|
}
|
|
9600
10076
|
/**
|
|
9601
|
-
*
|
|
10077
|
+
* Updates the flow log settings.
|
|
10078
|
+
*
|
|
10079
|
+
* @remarks
|
|
10080
|
+
* - 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**.
|
|
10081
|
+
* - 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.
|
|
10082
|
+
* - 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.
|
|
10083
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9602
10084
|
*
|
|
9603
10085
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9604
10086
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9642,7 +10124,13 @@ class Client extends openapi_core_1.default {
|
|
|
9642
10124
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowLogSettingResponse({}));
|
|
9643
10125
|
}
|
|
9644
10126
|
/**
|
|
9645
|
-
*
|
|
10127
|
+
* Updates the flow log settings.
|
|
10128
|
+
*
|
|
10129
|
+
* @remarks
|
|
10130
|
+
* - 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**.
|
|
10131
|
+
* - 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.
|
|
10132
|
+
* - 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.
|
|
10133
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9646
10134
|
*
|
|
9647
10135
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9648
10136
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -9652,13 +10140,13 @@ class Client extends openapi_core_1.default {
|
|
|
9652
10140
|
return await this.updateChatFlowLogSettingWithOptions(request, runtime);
|
|
9653
10141
|
}
|
|
9654
10142
|
/**
|
|
9655
|
-
*
|
|
10143
|
+
* Modifies the information of an IM group.
|
|
9656
10144
|
*
|
|
9657
10145
|
* @remarks
|
|
9658
|
-
* >Notice:
|
|
9659
|
-
*
|
|
9660
|
-
* - Before
|
|
9661
|
-
* - If you do not have
|
|
10146
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10147
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10148
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10149
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9662
10150
|
*
|
|
9663
10151
|
* @param request - UpdateChatGroupRequest
|
|
9664
10152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9714,13 +10202,13 @@ class Client extends openapi_core_1.default {
|
|
|
9714
10202
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatGroupResponse({}));
|
|
9715
10203
|
}
|
|
9716
10204
|
/**
|
|
9717
|
-
*
|
|
10205
|
+
* Modifies the information of an IM group.
|
|
9718
10206
|
*
|
|
9719
10207
|
* @remarks
|
|
9720
|
-
* >Notice:
|
|
9721
|
-
*
|
|
9722
|
-
* - Before
|
|
9723
|
-
* - If you do not have
|
|
10208
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10209
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10210
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10211
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9724
10212
|
*
|
|
9725
10213
|
* @param request - UpdateChatGroupRequest
|
|
9726
10214
|
* @returns UpdateChatGroupResponse
|
|
@@ -9793,7 +10281,7 @@ class Client extends openapi_core_1.default {
|
|
|
9793
10281
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
9794
10282
|
}
|
|
9795
10283
|
/**
|
|
9796
|
-
*
|
|
10284
|
+
* Modifies a contact.
|
|
9797
10285
|
*
|
|
9798
10286
|
* @param tmpReq - UpdateContactByIdRequest
|
|
9799
10287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9857,7 +10345,7 @@ class Client extends openapi_core_1.default {
|
|
|
9857
10345
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
9858
10346
|
}
|
|
9859
10347
|
/**
|
|
9860
|
-
*
|
|
10348
|
+
* Modifies a contact.
|
|
9861
10349
|
*
|
|
9862
10350
|
* @param request - UpdateContactByIdRequest
|
|
9863
10351
|
* @returns UpdateContactByIdResponse
|
|
@@ -9867,12 +10355,12 @@ class Client extends openapi_core_1.default {
|
|
|
9867
10355
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
9868
10356
|
}
|
|
9869
10357
|
/**
|
|
9870
|
-
* Modifies
|
|
10358
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9871
10359
|
*
|
|
9872
10360
|
* @remarks
|
|
9873
|
-
* ###
|
|
9874
|
-
*
|
|
9875
|
-
* This
|
|
10361
|
+
* ### QPS limit
|
|
10362
|
+
* 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.
|
|
10363
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9876
10364
|
*
|
|
9877
10365
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
9878
10366
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9930,12 +10418,12 @@ class Client extends openapi_core_1.default {
|
|
|
9930
10418
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
9931
10419
|
}
|
|
9932
10420
|
/**
|
|
9933
|
-
* Modifies
|
|
10421
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9934
10422
|
*
|
|
9935
10423
|
* @remarks
|
|
9936
|
-
* ###
|
|
9937
|
-
*
|
|
9938
|
-
* This
|
|
10424
|
+
* ### QPS limit
|
|
10425
|
+
* 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.
|
|
10426
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9939
10427
|
*
|
|
9940
10428
|
* @param request - UpdateConversationalAutomationRequest
|
|
9941
10429
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -9945,10 +10433,10 @@ class Client extends openapi_core_1.default {
|
|
|
9945
10433
|
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9946
10434
|
}
|
|
9947
10435
|
/**
|
|
9948
|
-
* Updates the content of a
|
|
10436
|
+
* Updates the content of a flow by using JSON.
|
|
9949
10437
|
*
|
|
9950
10438
|
* @remarks
|
|
9951
|
-
*
|
|
10439
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9952
10440
|
*
|
|
9953
10441
|
* @param request - UpdateFlowJSONAssetRequest
|
|
9954
10442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9992,10 +10480,10 @@ class Client extends openapi_core_1.default {
|
|
|
9992
10480
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowJSONAssetResponse({}));
|
|
9993
10481
|
}
|
|
9994
10482
|
/**
|
|
9995
|
-
* Updates the content of a
|
|
10483
|
+
* Updates the content of a flow by using JSON.
|
|
9996
10484
|
*
|
|
9997
10485
|
* @remarks
|
|
9998
|
-
*
|
|
10486
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9999
10487
|
*
|
|
10000
10488
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10001
10489
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -10005,7 +10493,12 @@ class Client extends openapi_core_1.default {
|
|
|
10005
10493
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10006
10494
|
}
|
|
10007
10495
|
/**
|
|
10008
|
-
*
|
|
10496
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10497
|
+
*
|
|
10498
|
+
* @remarks
|
|
10499
|
+
* - 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.
|
|
10500
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10501
|
+
* - 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.
|
|
10009
10502
|
*
|
|
10010
10503
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10011
10504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10046,6 +10539,9 @@ class Client extends openapi_core_1.default {
|
|
|
10046
10539
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
10047
10540
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10048
10541
|
}
|
|
10542
|
+
if (!$dara.isNull(request.type)) {
|
|
10543
|
+
query["Type"] = request.type;
|
|
10544
|
+
}
|
|
10049
10545
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10050
10546
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10051
10547
|
});
|
|
@@ -10063,7 +10559,12 @@ class Client extends openapi_core_1.default {
|
|
|
10063
10559
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10064
10560
|
}
|
|
10065
10561
|
/**
|
|
10066
|
-
*
|
|
10562
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10563
|
+
*
|
|
10564
|
+
* @remarks
|
|
10565
|
+
* - 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.
|
|
10566
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10567
|
+
* - 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.
|
|
10067
10568
|
*
|
|
10068
10569
|
* @param request - UpdateFlowVersionRequest
|
|
10069
10570
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10073,7 +10574,7 @@ class Client extends openapi_core_1.default {
|
|
|
10073
10574
|
return await this.updateFlowVersionWithOptions(request, runtime);
|
|
10074
10575
|
}
|
|
10075
10576
|
/**
|
|
10076
|
-
*
|
|
10577
|
+
* Renames a group.
|
|
10077
10578
|
*
|
|
10078
10579
|
* @param request - UpdateGroupNameRequest
|
|
10079
10580
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10114,7 +10615,7 @@ class Client extends openapi_core_1.default {
|
|
|
10114
10615
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGroupNameResponse({}));
|
|
10115
10616
|
}
|
|
10116
10617
|
/**
|
|
10117
|
-
*
|
|
10618
|
+
* Renames a group.
|
|
10118
10619
|
*
|
|
10119
10620
|
* @param request - UpdateGroupNameRequest
|
|
10120
10621
|
* @returns UpdateGroupNameResponse
|
|
@@ -10187,7 +10688,7 @@ class Client extends openapi_core_1.default {
|
|
|
10187
10688
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10188
10689
|
}
|
|
10189
10690
|
/**
|
|
10190
|
-
*
|
|
10691
|
+
* Modifies campaign information.
|
|
10191
10692
|
*
|
|
10192
10693
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10193
10694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10266,7 +10767,7 @@ class Client extends openapi_core_1.default {
|
|
|
10266
10767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10267
10768
|
}
|
|
10268
10769
|
/**
|
|
10269
|
-
*
|
|
10770
|
+
* Modifies campaign information.
|
|
10270
10771
|
*
|
|
10271
10772
|
* @param request - UpdateMarketingFLowRequest
|
|
10272
10773
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10276,13 +10777,13 @@ class Client extends openapi_core_1.default {
|
|
|
10276
10777
|
return await this.updateMarketingFLowWithOptions(request, runtime);
|
|
10277
10778
|
}
|
|
10278
10779
|
/**
|
|
10279
|
-
* Updates the encryption key
|
|
10780
|
+
* Updates the encryption public key of a phone number.
|
|
10280
10781
|
*
|
|
10281
10782
|
* @remarks
|
|
10282
|
-
* - Before
|
|
10283
|
-
* - If
|
|
10783
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10784
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10284
10785
|
* #### QPS limit
|
|
10285
|
-
*
|
|
10786
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10286
10787
|
*
|
|
10287
10788
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10288
10789
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10326,13 +10827,13 @@ class Client extends openapi_core_1.default {
|
|
|
10326
10827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneEncryptionPublicKeyResponse({}));
|
|
10327
10828
|
}
|
|
10328
10829
|
/**
|
|
10329
|
-
* Updates the encryption key
|
|
10830
|
+
* Updates the encryption public key of a phone number.
|
|
10330
10831
|
*
|
|
10331
10832
|
* @remarks
|
|
10332
|
-
* - Before
|
|
10333
|
-
* - If
|
|
10833
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10834
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10334
10835
|
* #### QPS limit
|
|
10335
|
-
*
|
|
10836
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10336
10837
|
*
|
|
10337
10838
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10338
10839
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -10342,13 +10843,14 @@ class Client extends openapi_core_1.default {
|
|
|
10342
10843
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
10343
10844
|
}
|
|
10344
10845
|
/**
|
|
10345
|
-
*
|
|
10846
|
+
* Modifies a message QR code.
|
|
10346
10847
|
*
|
|
10347
10848
|
* @remarks
|
|
10348
|
-
* - After you
|
|
10349
|
-
* -
|
|
10849
|
+
* - 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.
|
|
10850
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10851
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10350
10852
|
* #### QPS limit
|
|
10351
|
-
*
|
|
10853
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10352
10854
|
*
|
|
10353
10855
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10354
10856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10398,13 +10900,14 @@ class Client extends openapi_core_1.default {
|
|
|
10398
10900
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneMessageQrdlResponse({}));
|
|
10399
10901
|
}
|
|
10400
10902
|
/**
|
|
10401
|
-
*
|
|
10903
|
+
* Modifies a message QR code.
|
|
10402
10904
|
*
|
|
10403
10905
|
* @remarks
|
|
10404
|
-
* - After you
|
|
10405
|
-
* -
|
|
10906
|
+
* - 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.
|
|
10907
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10908
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10406
10909
|
* #### QPS limit
|
|
10407
|
-
*
|
|
10910
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10408
10911
|
*
|
|
10409
10912
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10410
10913
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -10414,12 +10917,10 @@ class Client extends openapi_core_1.default {
|
|
|
10414
10917
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10415
10918
|
}
|
|
10416
10919
|
/**
|
|
10417
|
-
*
|
|
10418
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
10419
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
10920
|
+
* Modifies the callback URL information for a phone number.
|
|
10420
10921
|
*
|
|
10421
10922
|
* @remarks
|
|
10422
|
-
* The
|
|
10923
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10423
10924
|
*
|
|
10424
10925
|
* @param request - UpdatePhoneWebhookRequest
|
|
10425
10926
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10472,12 +10973,10 @@ class Client extends openapi_core_1.default {
|
|
|
10472
10973
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10473
10974
|
}
|
|
10474
10975
|
/**
|
|
10475
|
-
*
|
|
10476
|
-
* \\\\* A value of OK indicates that the call is successful.
|
|
10477
|
-
* \\\\* Other values indicate that the call fails. For more information, see \\[Error codes]\\\\(~~196974~~).
|
|
10976
|
+
* Modifies the callback URL information for a phone number.
|
|
10478
10977
|
*
|
|
10479
10978
|
* @remarks
|
|
10480
|
-
* The
|
|
10979
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10481
10980
|
*
|
|
10482
10981
|
* @param request - UpdatePhoneWebhookRequest
|
|
10483
10982
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -10487,7 +10986,7 @@ class Client extends openapi_core_1.default {
|
|
|
10487
10986
|
return await this.updatePhoneWebhookWithOptions(request, runtime);
|
|
10488
10987
|
}
|
|
10489
10988
|
/**
|
|
10490
|
-
*
|
|
10989
|
+
* Updates the MML status of a WABA.
|
|
10491
10990
|
*
|
|
10492
10991
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10493
10992
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10531,7 +11030,7 @@ class Client extends openapi_core_1.default {
|
|
|
10531
11030
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWabaMmlStatusResponse({}));
|
|
10532
11031
|
}
|
|
10533
11032
|
/**
|
|
10534
|
-
*
|
|
11033
|
+
* Updates the MML status of a WABA.
|
|
10535
11034
|
*
|
|
10536
11035
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10537
11036
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -10541,7 +11040,55 @@ class Client extends openapi_core_1.default {
|
|
|
10541
11040
|
return await this.updateWabaMmlStatusWithOptions(request, runtime);
|
|
10542
11041
|
}
|
|
10543
11042
|
/**
|
|
10544
|
-
*
|
|
11043
|
+
* Updates the WhatsApp username for a business phone number.
|
|
11044
|
+
*
|
|
11045
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
11046
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11047
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
11048
|
+
*/
|
|
11049
|
+
async updateWhatsappUserNameWithOptions(request, runtime) {
|
|
11050
|
+
request.validate();
|
|
11051
|
+
let query = {};
|
|
11052
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
11053
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
11054
|
+
}
|
|
11055
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
11056
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
11057
|
+
}
|
|
11058
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
11059
|
+
query["TransferAction"] = request.transferAction;
|
|
11060
|
+
}
|
|
11061
|
+
if (!$dara.isNull(request.username)) {
|
|
11062
|
+
query["Username"] = request.username;
|
|
11063
|
+
}
|
|
11064
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11065
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11066
|
+
});
|
|
11067
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11068
|
+
action: "UpdateWhatsappUserName",
|
|
11069
|
+
version: "2020-06-06",
|
|
11070
|
+
protocol: "HTTPS",
|
|
11071
|
+
pathname: "/",
|
|
11072
|
+
method: "POST",
|
|
11073
|
+
authType: "AK",
|
|
11074
|
+
style: "RPC",
|
|
11075
|
+
reqBodyType: "formData",
|
|
11076
|
+
bodyType: "json",
|
|
11077
|
+
});
|
|
11078
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
11079
|
+
}
|
|
11080
|
+
/**
|
|
11081
|
+
* Updates the WhatsApp username for a business phone number.
|
|
11082
|
+
*
|
|
11083
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
11084
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
11085
|
+
*/
|
|
11086
|
+
async updateWhatsappUserName(request) {
|
|
11087
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11088
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11089
|
+
}
|
|
11090
|
+
/**
|
|
11091
|
+
* 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.
|
|
10545
11092
|
*
|
|
10546
11093
|
* @param tmpReq - WhatsappCallRequest
|
|
10547
11094
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10599,7 +11146,7 @@ class Client extends openapi_core_1.default {
|
|
|
10599
11146
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WhatsappCallResponse({}));
|
|
10600
11147
|
}
|
|
10601
11148
|
/**
|
|
10602
|
-
*
|
|
11149
|
+
* 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.
|
|
10603
11150
|
*
|
|
10604
11151
|
* @param request - WhatsappCallRequest
|
|
10605
11152
|
* @returns WhatsappCallResponse
|