@alicloud/cams20200606 5.1.0 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1056 -372
- package/dist/client.js +1241 -372
- 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 +24 -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/AddAuditViberOpenRequest.d.ts +127 -14
- package/dist/models/AddAuditViberOpenRequest.js.map +1 -1
- package/dist/models/AddAuditViberOpenResponseBody.d.ts +27 -1
- package/dist/models/AddAuditViberOpenResponseBody.js.map +1 -1
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +11 -2
- package/dist/models/AddAuditViberOpenShrinkRequest.js.map +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +13 -0
- package/dist/models/AddChatGroupInviteLinkRequest.js.map +1 -1
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +30 -2
- package/dist/models/AddChatGroupInviteLinkResponseBody.js.map +1 -1
- package/dist/models/AddChatGroupRequest.d.ts +22 -2
- package/dist/models/AddChatGroupRequest.js.map +1 -1
- package/dist/models/AddChatGroupResponseBody.d.ts +32 -2
- package/dist/models/AddChatGroupResponseBody.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberRequest.d.ts +6 -5
- package/dist/models/AddChatappPhoneNumberRequest.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberResponseBody.d.ts +12 -6
- package/dist/models/AddChatappPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/AddContactsRequest.d.ts +31 -0
- package/dist/models/AddContactsRequest.js.map +1 -1
- package/dist/models/AddContactsResponseBody.d.ts +20 -0
- package/dist/models/AddContactsResponseBody.js.map +1 -1
- package/dist/models/AddContactsShrinkRequest.d.ts +31 -0
- package/dist/models/AddContactsShrinkRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserRequest.d.ts +24 -2
- package/dist/models/AddCustomAudienceUserRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +27 -0
- package/dist/models/AddCustomAudienceUserResponseBody.js.map +1 -1
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +16 -0
- package/dist/models/AddCustomAudienceUserShrinkRequest.js.map +1 -1
- package/dist/models/AddGroupRequest.d.ts +26 -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 +26 -0
- package/dist/models/AddGroupShrinkRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowRequest.d.ts +0 -8
- package/dist/models/AddMarketingFlowRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +0 -8
- 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/ChangeResourceGroupResponseBody.d.ts +0 -3
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -1
- package/dist/models/ChatappBindWabaRequest.d.ts +2 -2
- package/dist/models/ChatappBindWabaResponseBody.d.ts +14 -14
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +2 -2
- package/dist/models/ChatappMigrationRegisterResponseBody.d.ts +6 -5
- package/dist/models/ChatappMigrationRegisterResponseBody.js.map +1 -1
- package/dist/models/ChatappMigrationVerifiedRequest.d.ts +4 -4
- package/dist/models/ChatappMigrationVerifiedResponseBody.d.ts +9 -8
- package/dist/models/ChatappMigrationVerifiedResponseBody.js.map +1 -1
- package/dist/models/ChatappPhoneNumberDeregisterRequest.d.ts +4 -4
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +6 -5
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.js.map +1 -1
- package/dist/models/ChatappPhoneNumberRegisterRequest.d.ts +3 -3
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +10 -10
- package/dist/models/ChatappSyncPhoneNumberRequest.d.ts +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +30 -52
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +4 -4
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +9 -9
- package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +14 -1
- package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleResponseBody.d.ts +45 -4
- package/dist/models/CheckDirectSendMessageSampleResponseBody.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +14 -1
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -1
- package/dist/models/CopyTemplateRequest.d.ts +10 -0
- 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 +19 -9
- package/dist/models/CreateChatFlowByImportRequest.js.map +1 -1
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +15 -14
- package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +19 -9
- package/dist/models/CreateChatFlowByImportShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +2 -2
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +14 -13
- package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowRequest.d.ts +17 -7
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +15 -11
- package/dist/models/CreateChatFlowResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +17 -7
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappMigrationInitiateRequest.d.ts +4 -4
- package/dist/models/CreateChatappMigrationInitiateResponseBody.d.ts +14 -12
- package/dist/models/CreateChatappMigrationInitiateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +153 -121
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +9 -8
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +35 -31
- package/dist/models/CreateChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/CreateCustomAudienceRequest.d.ts +18 -0
- package/dist/models/CreateCustomAudienceRequest.js.map +1 -1
- package/dist/models/CreateCustomAudienceResponseBody.d.ts +26 -0
- package/dist/models/CreateCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/CreateFlowRequest.d.ts +7 -4
- 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 +7 -4
- package/dist/models/CreateFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +7 -7
- package/dist/models/CreateFlowVersionResponseBody.d.ts +14 -13
- package/dist/models/CreateFlowVersionResponseBody.js.map +1 -1
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +7 -7
- package/dist/models/CreateInstanceRequest.d.ts +29 -4
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +44 -3
- package/dist/models/CreateInstanceResponseBody.js.map +1 -1
- package/dist/models/CreateMessageCampaignRequest.d.ts +13 -1
- package/dist/models/CreateMessageCampaignRequest.js.map +1 -1
- package/dist/models/CreateMessageCampaignResponseBody.d.ts +28 -2
- package/dist/models/CreateMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageRequest.d.ts +4 -4
- package/dist/models/CreateMessengerPageResponseBody.d.ts +2 -2
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +4 -4
- package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +16 -7
- package/dist/models/CreatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlResponseBody.d.ts +14 -7
- package/dist/models/CreatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +4 -0
- package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/DeleteChatFlowRequest.d.ts +4 -4
- package/dist/models/DeleteChatFlowResponseBody.d.ts +15 -14
- package/dist/models/DeleteChatFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +4 -4
- package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +13 -0
- package/dist/models/DeleteChatGroupInviteLinkRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +31 -3
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +21 -1
- package/dist/models/DeleteChatGroupParticipantsRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupParticipantsResponseBody.d.ts +32 -2
- package/dist/models/DeleteChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.d.ts +18 -1
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupRequest.d.ts +13 -0
- package/dist/models/DeleteChatGroupRequest.js.map +1 -1
- package/dist/models/DeleteChatGroupResponseBody.d.ts +30 -2
- package/dist/models/DeleteChatGroupResponseBody.js.map +1 -1
- package/dist/models/DeleteChatappTemplateRequest.d.ts +8 -8
- package/dist/models/DeleteChatappTemplateResponseBody.d.ts +10 -8
- package/dist/models/DeleteChatappTemplateResponseBody.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 +20 -0
- package/dist/models/DeleteContactsByIdsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsRequest.d.ts +1 -5
- package/dist/models/DeleteContactsRequest.js.map +1 -1
- package/dist/models/DeleteContactsShrinkRequest.d.ts +1 -5
- package/dist/models/DeleteContactsShrinkRequest.js.map +1 -1
- package/dist/models/DeleteFlowRequest.d.ts +4 -4
- package/dist/models/DeleteFlowResponseBody.d.ts +10 -3
- package/dist/models/DeleteFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteFlowVersionRequest.d.ts +5 -5
- package/dist/models/DeleteFlowVersionResponseBody.d.ts +15 -11
- package/dist/models/DeleteFlowVersionResponseBody.js.map +1 -1
- package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +5 -5
- package/dist/models/DeleteInstanceRequest.d.ts +2 -0
- package/dist/models/DeleteInstanceRequest.js.map +1 -1
- package/dist/models/DeleteInstanceResponseBody.d.ts +23 -0
- package/dist/models/DeleteInstanceResponseBody.js.map +1 -1
- package/dist/models/DeleteMarketingFlowRequest.d.ts +7 -1
- package/dist/models/DeleteMarketingFlowRequest.js.map +1 -1
- package/dist/models/DeleteMarketingFlowResponseBody.d.ts +27 -1
- package/dist/models/DeleteMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/DeleteMessageCampaignRequest.d.ts +8 -0
- package/dist/models/DeleteMessageCampaignRequest.js.map +1 -1
- package/dist/models/DeleteMessageCampaignResponseBody.d.ts +27 -0
- package/dist/models/DeleteMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +6 -6
- package/dist/models/DeletePhoneMessageQrdlResponseBody.d.ts +8 -4
- 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 +2 -7
- package/dist/models/DeprecateFlowRequest.js.map +1 -1
- package/dist/models/DeprecateFlowResponseBody.d.ts +6 -2
- package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
- package/dist/models/EnableWhatsappRoimetricRequest.d.ts +4 -4
- package/dist/models/EnableWhatsappRoimetricResponseBody.d.ts +8 -4
- package/dist/models/EnableWhatsappRoimetricResponseBody.js.map +1 -1
- package/dist/models/FlowBindPhoneRequest.d.ts +24 -10
- package/dist/models/FlowBindPhoneRequest.js.map +1 -1
- package/dist/models/FlowBindPhoneResponseBody.d.ts +18 -10
- package/dist/models/FlowBindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +24 -10
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneRequest.d.ts +23 -11
- package/dist/models/FlowRebindPhoneRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +19 -11
- package/dist/models/FlowRebindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +23 -11
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneRequest.d.ts +17 -7
- package/dist/models/FlowUnbindPhoneRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +17 -9
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +17 -7
- package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/GeneratePresignedUrlRequest.d.ts +2 -0
- package/dist/models/GeneratePresignedUrlRequest.js.map +1 -1
- package/dist/models/GeneratePresignedUrlResponseBody.d.ts +33 -0
- package/dist/models/GeneratePresignedUrlResponseBody.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +0 -6
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.js.map +1 -1
- package/dist/models/GetAutoGeneratedTemplateRequest.d.ts +8 -0
- package/dist/models/GetAutoGeneratedTemplateRequest.js.map +1 -1
- package/dist/models/GetAutoGeneratedTemplateResponseBody.d.ts +41 -4
- package/dist/models/GetAutoGeneratedTemplateResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricRequest.d.ts +29 -8
- package/dist/models/GetChatFlowMetricRequest.js.map +1 -1
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +14 -13
- package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +29 -8
- package/dist/models/GetChatFlowMetricShrinkRequest.js.map +1 -1
- package/dist/models/GetChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +14 -13
- package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -1
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +16 -0
- package/dist/models/GetChatappOpenStatusResponseBody.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberMetricRequest.d.ts +13 -16
- package/dist/models/GetChatappPhoneNumberMetricRequest.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.d.ts +13 -14
- package/dist/models/GetChatappPhoneNumberMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberSettingRequest.d.ts +5 -0
- package/dist/models/GetChatappPhoneNumberSettingRequest.js.map +1 -1
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +31 -0
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +11 -11
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +148 -116
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricRequest.d.ts +15 -20
- package/dist/models/GetChatappTemplateMetricRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateMetricResponseBody.d.ts +17 -16
- package/dist/models/GetChatappTemplateMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatappUploadAuthorizationRequest.d.ts +2 -2
- package/dist/models/GetChatappUploadAuthorizationResponseBody.d.ts +7 -6
- package/dist/models/GetChatappUploadAuthorizationResponseBody.js.map +1 -1
- package/dist/models/GetChatappVerifyCodeRequest.d.ts +6 -11
- package/dist/models/GetChatappVerifyCodeRequest.js.map +1 -1
- package/dist/models/GetChatappVerifyCodeResponseBody.d.ts +12 -10
- package/dist/models/GetChatappVerifyCodeResponseBody.js.map +1 -1
- package/dist/models/GetCommerceSettingRequest.d.ts +1 -1
- package/dist/models/GetCommerceSettingResponseBody.d.ts +14 -10
- package/dist/models/GetCommerceSettingResponseBody.js.map +1 -1
- package/dist/models/GetConversationalAutomationRequest.d.ts +1 -1
- package/dist/models/GetConversationalAutomationResponseBody.d.ts +9 -7
- package/dist/models/GetConversationalAutomationResponseBody.js.map +1 -1
- package/dist/models/GetCustomerSiteResponseBody.d.ts +19 -0
- package/dist/models/GetCustomerSiteResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListRequest.d.ts +4 -8
- package/dist/models/GetDownloadExcelListRequest.js.map +1 -1
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +4 -8
- package/dist/models/GetDownloadExcelListShrinkRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestRequest.d.ts +2 -8
- package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +9 -5
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlRequest.d.ts +2 -7
- package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +10 -6
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetFlowRequest.d.ts +2 -7
- package/dist/models/GetFlowRequest.js.map +1 -1
- package/dist/models/GetFlowResponseBody.d.ts +10 -36
- package/dist/models/GetFlowResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistRequest.d.ts +1 -5
- package/dist/models/GetGroupExistRequest.js.map +1 -1
- package/dist/models/GetGroupExistShrinkRequest.d.ts +1 -5
- package/dist/models/GetGroupExistShrinkRequest.js.map +1 -1
- package/dist/models/GetMessageCampaignInsightsRequest.d.ts +8 -0
- package/dist/models/GetMessageCampaignInsightsRequest.js.map +1 -1
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +57 -0
- package/dist/models/GetMessageCampaignInsightsResponseBody.js.map +1 -1
- package/dist/models/GetMigrationVerifyCodeRequest.d.ts +5 -5
- package/dist/models/GetMigrationVerifyCodeResponseBody.d.ts +9 -8
- package/dist/models/GetMigrationVerifyCodeResponseBody.js.map +1 -1
- package/dist/models/GetPermissionByCodeRequest.d.ts +3 -3
- package/dist/models/GetPermissionByCodeResponseBody.d.ts +11 -3
- package/dist/models/GetPermissionByCodeResponseBody.js.map +1 -1
- package/dist/models/GetPermissionByCodeShrinkRequest.d.ts +3 -3
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.d.ts +9 -4
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +16 -19
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +2 -6
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +14 -9
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
- package/dist/models/GetPledgeTemplateAddressRequest.d.ts +6 -0
- package/dist/models/GetPledgeTemplateAddressRequest.js.map +1 -1
- package/dist/models/GetPledgeTemplateAddressResponseBody.d.ts +25 -0
- package/dist/models/GetPledgeTemplateAddressResponseBody.js.map +1 -1
- package/dist/models/GetPreValidatePhoneIdRequest.d.ts +3 -3
- package/dist/models/GetPreValidatePhoneIdResponseBody.d.ts +7 -6
- package/dist/models/GetPreValidatePhoneIdResponseBody.js.map +1 -1
- package/dist/models/GetViberByRequestNoRequest.d.ts +5 -0
- package/dist/models/GetViberByRequestNoRequest.js.map +1 -1
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +184 -4
- package/dist/models/GetViberByRequestNoResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappConnectionCatalogRequest.d.ts +2 -2
- package/dist/models/GetWhatsappConnectionCatalogResponseBody.d.ts +9 -7
- package/dist/models/GetWhatsappConnectionCatalogResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappHealthStatusRequest.d.ts +5 -3
- package/dist/models/GetWhatsappHealthStatusRequest.js.map +1 -1
- package/dist/models/GetWhatsappHealthStatusResponseBody.d.ts +8 -6
- package/dist/models/GetWhatsappHealthStatusResponseBody.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 +10 -11
- package/dist/models/IsvGetAppIdRequest.js.map +1 -1
- package/dist/models/IsvGetAppIdResponseBody.d.ts +9 -8
- package/dist/models/IsvGetAppIdResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsRequest.d.ts +1 -5
- package/dist/models/ListAllGroupsRequest.js.map +1 -1
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +1 -5
- package/dist/models/ListAllGroupsShrinkRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +7 -3
- package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +9 -9
- package/dist/models/ListChatFlowRequest.d.ts +14 -10
- package/dist/models/ListChatFlowRequest.js.map +1 -1
- package/dist/models/ListChatFlowResponseBody.d.ts +14 -13
- package/dist/models/ListChatFlowResponseBody.js.map +1 -1
- package/dist/models/ListChatFlowShrinkRequest.d.ts +14 -10
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateRequest.d.ts +9 -5
- package/dist/models/ListChatFlowTemplateRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +14 -13
- package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +23 -0
- package/dist/models/ListChatGroupParticipantsRequest.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +43 -2
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +17 -0
- package/dist/models/ListChatGroupParticipantsShrinkRequest.js.map +1 -1
- package/dist/models/ListChatGroupRequest.d.ts +41 -2
- package/dist/models/ListChatGroupRequest.js.map +1 -1
- package/dist/models/ListChatGroupResponseBody.d.ts +77 -8
- package/dist/models/ListChatGroupResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupShrinkRequest.d.ts +37 -2
- 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 +11 -10
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +34 -26
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +11 -10
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceRequest.d.ts +22 -0
- package/dist/models/ListCustomAudienceRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceResponseBody.d.ts +68 -1
- package/dist/models/ListCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +18 -0
- package/dist/models/ListCustomAudienceShrinkRequest.js.map +1 -1
- package/dist/models/ListDmAccountRequest.d.ts +12 -0
- package/dist/models/ListDmAccountRequest.js.map +1 -1
- package/dist/models/ListDmAccountResponseBody.d.ts +45 -0
- package/dist/models/ListDmAccountResponseBody.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 +49 -0
- package/dist/models/ListFacebookPostsResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodeGroupRequest.d.ts +4 -0
- package/dist/models/ListFlowNodeGroupRequest.js.map +1 -1
- package/dist/models/ListFlowNodeGroupResponseBody.d.ts +35 -0
- package/dist/models/ListFlowNodeGroupResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +21 -1
- package/dist/models/ListFlowNodePrototypeV2request.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +68 -6
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
- package/dist/models/ListFlowRequest.d.ts +2 -26
- package/dist/models/ListFlowRequest.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +11 -7
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowShrinkRequest.d.ts +2 -12
- package/dist/models/ListFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +15 -7
- package/dist/models/ListFlowVersionRequest.js.map +1 -1
- package/dist/models/ListFlowVersionResponseBody.d.ts +14 -13
- package/dist/models/ListFlowVersionResponseBody.js.map +1 -1
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +15 -7
- package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/ListInstagramPageRequest.d.ts +2 -0
- package/dist/models/ListInstagramPageRequest.js.map +1 -1
- package/dist/models/ListInstagramPageResponseBody.d.ts +107 -0
- package/dist/models/ListInstagramPageResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +34 -0
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +73 -1
- package/dist/models/ListInstanceResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowRequest.d.ts +27 -0
- package/dist/models/ListMarketingFlowRequest.js.map +1 -1
- package/dist/models/ListMarketingFlowResponseBody.d.ts +96 -2
- package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +27 -0
- package/dist/models/ListMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListMessageCampaignRequest.d.ts +22 -0
- package/dist/models/ListMessageCampaignRequest.js.map +1 -1
- package/dist/models/ListMessageCampaignResponseBody.d.ts +60 -2
- package/dist/models/ListMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/ListMessageCampaignShrinkRequest.d.ts +18 -0
- package/dist/models/ListMessageCampaignShrinkRequest.js.map +1 -1
- package/dist/models/ListMessengerSubscriptionTokenRequest.d.ts +15 -0
- package/dist/models/ListMessengerSubscriptionTokenRequest.js.map +1 -1
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +64 -7
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.js.map +1 -1
- package/dist/models/ListPageAdAccountRequest.d.ts +4 -0
- package/dist/models/ListPageAdAccountRequest.js.map +1 -1
- package/dist/models/ListPageAdAccountResponseBody.d.ts +43 -0
- package/dist/models/ListPageAdAccountResponseBody.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +4 -4
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +17 -10
- package/dist/models/ListPhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/ListProductCatalogRequest.d.ts +9 -9
- package/dist/models/ListProductCatalogResponseBody.d.ts +13 -13
- package/dist/models/ListProductRequest.d.ts +11 -12
- package/dist/models/ListProductRequest.js.map +1 -1
- package/dist/models/ListProductResponseBody.d.ts +15 -13
- package/dist/models/ListProductResponseBody.js.map +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +2 -2
- package/dist/models/ListWhatAppTemplateRequest.d.ts +6 -0
- package/dist/models/ListWhatAppTemplateRequest.js.map +1 -1
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +18 -0
- package/dist/models/ListWhatAppTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplatePropertiesRequest.d.ts +16 -0
- package/dist/models/ModifyChatappTemplatePropertiesRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.d.ts +31 -3
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +127 -127
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +11 -10
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +23 -30
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ModifyFlowRequest.d.ts +10 -7
- package/dist/models/ModifyFlowRequest.js.map +1 -1
- package/dist/models/ModifyFlowResponseBody.d.ts +16 -6
- package/dist/models/ModifyFlowResponseBody.js.map +1 -1
- package/dist/models/ModifyFlowShrinkRequest.d.ts +10 -7
- package/dist/models/ModifyFlowShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileRequest.d.ts +9 -11
- package/dist/models/ModifyPhoneBusinessProfileRequest.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.d.ts +11 -8
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.d.ts +9 -11
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupRequest.d.ts +1 -5
- package/dist/models/MoveContactToGroupRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +1 -5
- package/dist/models/MoveContactToGroupShrinkRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionRequest.d.ts +7 -7
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +14 -13
- package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +7 -7
- package/dist/models/OnlineFlowVersionRequest.d.ts +6 -6
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +14 -13
- package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/PublishFlowRequest.d.ts +7 -4
- package/dist/models/PublishFlowRequest.js.map +1 -1
- package/dist/models/PublishFlowResponseBody.d.ts +9 -2
- package/dist/models/PublishFlowResponseBody.js.map +1 -1
- package/dist/models/QueryChatappBindWabaRequest.d.ts +4 -4
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +26 -26
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +5 -5
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +19 -64
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js.map +1 -1
- package/dist/models/QueryInstanceRequest.d.ts +2 -0
- package/dist/models/QueryInstanceRequest.js.map +1 -1
- package/dist/models/QueryInstanceResponseBody.d.ts +68 -3
- package/dist/models/QueryInstanceResponseBody.js.map +1 -1
- package/dist/models/QueryPhoneBusinessProfileRequest.d.ts +3 -3
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +14 -14
- package/dist/models/QueryWabaBusinessInfoRequest.d.ts +2 -2
- package/dist/models/QueryWabaBusinessInfoResponseBody.d.ts +9 -7
- package/dist/models/QueryWabaBusinessInfoResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowLogSettingRequest.d.ts +2 -2
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +13 -12
- package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowRequest.d.ts +4 -4
- package/dist/models/ReadChatFlowResponseBody.d.ts +14 -13
- package/dist/models/ReadChatFlowResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +4 -4
- package/dist/models/ReadFlowVersionRequest.d.ts +10 -6
- package/dist/models/ReadFlowVersionRequest.js.map +1 -1
- package/dist/models/ReadFlowVersionResponseBody.d.ts +14 -13
- package/dist/models/ReadFlowVersionResponseBody.js.map +1 -1
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +10 -6
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/RequestWhatsappConversionApiRequest.d.ts +73 -0
- package/dist/models/RequestWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/RequestWhatsappConversionApiResponseBody.d.ts +27 -2
- package/dist/models/RequestWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/RequestWhatsappConversionApiShrinkRequest.d.ts +8 -0
- package/dist/models/RequestWhatsappConversionApiShrinkRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageRequest.d.ts +68 -52
- package/dist/models/SendChatappMassMessageRequest.js +2 -0
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageResponseBody.d.ts +7 -6
- package/dist/models/SendChatappMassMessageResponseBody.js.map +1 -1
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +43 -37
- package/dist/models/SendChatappMassMessageShrinkRequest.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +234 -110
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageResponseBody.d.ts +15 -7
- package/dist/models/SendChatappMessageResponseBody.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +226 -102
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SubmitVerifyCodeResultRequest.d.ts +41 -0
- package/dist/models/SubmitVerifyCodeResultRequest.js +62 -0
- package/dist/models/SubmitVerifyCodeResultRequest.js.map +1 -0
- package/dist/models/SubmitVerifyCodeResultResponse.d.ts +19 -0
- package/dist/models/SubmitVerifyCodeResultResponse.js +69 -0
- package/dist/models/SubmitVerifyCodeResultResponse.js.map +1 -0
- package/dist/models/SubmitVerifyCodeResultResponseBody.d.ts +69 -0
- package/dist/models/SubmitVerifyCodeResultResponseBody.js +68 -0
- package/dist/models/SubmitVerifyCodeResultResponseBody.js.map +1 -0
- package/dist/models/SyncBusinessAppHistoryRequest.d.ts +4 -0
- package/dist/models/SyncBusinessAppHistoryRequest.js.map +1 -1
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +29 -4
- package/dist/models/SyncBusinessAppHistoryResponseBody.js.map +1 -1
- package/dist/models/SyncMessageCampaignRequest.d.ts +4 -0
- package/dist/models/SyncMessageCampaignRequest.js.map +1 -1
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +26 -1
- package/dist/models/SyncMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/SyncMessengerSubscriptionTokenRequest.d.ts +9 -0
- package/dist/models/SyncMessengerSubscriptionTokenRequest.js.map +1 -1
- package/dist/models/SyncMessengerSubscriptionTokenResponseBody.d.ts +31 -1
- package/dist/models/SyncMessengerSubscriptionTokenResponseBody.js.map +1 -1
- package/dist/models/TriggerChatFlowRequest.d.ts +11 -8
- package/dist/models/TriggerChatFlowRequest.js.map +1 -1
- package/dist/models/TriggerChatFlowResponseBody.d.ts +14 -15
- package/dist/models/TriggerChatFlowResponseBody.js.map +1 -1
- package/dist/models/TriggerChatFlowShrinkRequest.d.ts +11 -8
- package/dist/models/TriggerChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/UpdateAccountWebhookRequest.d.ts +8 -6
- package/dist/models/UpdateAccountWebhookRequest.js.map +1 -1
- package/dist/models/UpdateAccountWebhookResponseBody.d.ts +4 -3
- package/dist/models/UpdateAccountWebhookResponseBody.js.map +1 -1
- package/dist/models/UpdateAuditRequestRequest.d.ts +123 -5
- package/dist/models/UpdateAuditRequestRequest.js.map +1 -1
- package/dist/models/UpdateAuditRequestResponseBody.d.ts +28 -2
- package/dist/models/UpdateAuditRequestResponseBody.js.map +1 -1
- package/dist/models/UpdateAuditRequestShrinkRequest.d.ts +9 -0
- package/dist/models/UpdateAuditRequestShrinkRequest.js.map +1 -1
- package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +9 -7
- package/dist/models/UpdateChatFlowLogSettingRequest.js.map +1 -1
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +13 -12
- package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowRequest.d.ts +8 -8
- package/dist/models/UpdateChatFlowResponseBody.d.ts +13 -12
- package/dist/models/UpdateChatFlowResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +8 -8
- package/dist/models/UpdateChatGroupRequest.d.ts +28 -4
- package/dist/models/UpdateChatGroupRequest.js.map +1 -1
- package/dist/models/UpdateChatGroupResponseBody.d.ts +30 -2
- package/dist/models/UpdateChatGroupResponseBody.js.map +1 -1
- package/dist/models/UpdateCommerceSettingRequest.d.ts +10 -8
- package/dist/models/UpdateCommerceSettingRequest.js.map +1 -1
- package/dist/models/UpdateCommerceSettingResponseBody.d.ts +10 -8
- package/dist/models/UpdateCommerceSettingResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdRequest.d.ts +0 -4
- package/dist/models/UpdateContactByIdRequest.js.map +1 -1
- package/dist/models/UpdateContactByIdResponseBody.d.ts +4 -0
- package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +0 -4
- package/dist/models/UpdateContactByIdShrinkRequest.js.map +1 -1
- package/dist/models/UpdateConversationalAutomationRequest.d.ts +7 -7
- package/dist/models/UpdateConversationalAutomationResponseBody.d.ts +9 -9
- package/dist/models/UpdateConversationalAutomationShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateFlowJsonassetRequest.d.ts +6 -6
- package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +11 -4
- package/dist/models/UpdateFlowJsonassetResponseBody.js.map +1 -1
- package/dist/models/UpdateFlowVersionRequest.d.ts +19 -9
- package/dist/models/UpdateFlowVersionRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +15 -11
- package/dist/models/UpdateFlowVersionResponseBody.js.map +1 -1
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +19 -9
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameResponseBody.d.ts +4 -0
- package/dist/models/UpdateGroupNameResponseBody.js.map +1 -1
- package/dist/models/UpdateInstanceRequest.d.ts +27 -3
- package/dist/models/UpdateInstanceRequest.js.map +1 -1
- package/dist/models/UpdateInstanceResponseBody.d.ts +50 -2
- package/dist/models/UpdateInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowRequest.d.ts +41 -2
- package/dist/models/UpdateMarketingFlowRequest.js.map +1 -1
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +26 -0
- package/dist/models/UpdateMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +41 -2
- package/dist/models/UpdateMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +11 -14
- 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 +16 -9
- package/dist/models/UpdatePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +17 -10
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +15 -11
- package/dist/models/UpdatePhoneWebhookRequest.js.map +1 -1
- package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +7 -6
- package/dist/models/UpdatePhoneWebhookResponseBody.js.map +1 -1
- package/dist/models/UpdateWabaMmlStatusRequest.d.ts +4 -0
- package/dist/models/UpdateWabaMmlStatusRequest.js.map +1 -1
- package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +26 -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 +31 -7
- package/dist/models/WhatsappCallRequest.js.map +1 -1
- package/dist/models/WhatsappCallResponseBody.d.ts +38 -4
- package/dist/models/WhatsappCallResponseBody.js.map +1 -1
- package/dist/models/WhatsappCallShrinkRequest.d.ts +23 -5
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +61 -15
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1271 -372
- package/src/models/AddAddressRecoverSuspendRequest.ts +27 -0
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +24 -0
- package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +10 -0
- package/src/models/AddAuditViberOpenRequest.ts +127 -14
- package/src/models/AddAuditViberOpenResponseBody.ts +27 -1
- package/src/models/AddAuditViberOpenShrinkRequest.ts +11 -2
- package/src/models/AddChatGroupInviteLinkRequest.ts +13 -0
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +30 -2
- package/src/models/AddChatGroupRequest.ts +22 -2
- package/src/models/AddChatGroupResponseBody.ts +32 -2
- package/src/models/AddChatappPhoneNumberRequest.ts +6 -5
- package/src/models/AddChatappPhoneNumberResponseBody.ts +12 -6
- package/src/models/AddContactsRequest.ts +31 -0
- package/src/models/AddContactsResponseBody.ts +20 -0
- package/src/models/AddContactsShrinkRequest.ts +31 -0
- package/src/models/AddCustomAudienceUserRequest.ts +24 -2
- package/src/models/AddCustomAudienceUserResponseBody.ts +27 -0
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +16 -0
- package/src/models/AddGroupRequest.ts +26 -0
- package/src/models/AddGroupResponseBody.ts +29 -1
- package/src/models/AddGroupShrinkRequest.ts +26 -0
- package/src/models/AddMarketingFlowRequest.ts +0 -8
- package/src/models/AddMarketingFlowShrinkRequest.ts +0 -8
- 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/ChangeResourceGroupResponseBody.ts +0 -3
- package/src/models/ChatappBindWabaRequest.ts +2 -2
- package/src/models/ChatappBindWabaResponseBody.ts +14 -14
- package/src/models/ChatappMigrationRegisterRequest.ts +2 -2
- package/src/models/ChatappMigrationRegisterResponseBody.ts +6 -5
- package/src/models/ChatappMigrationVerifiedRequest.ts +4 -4
- package/src/models/ChatappMigrationVerifiedResponseBody.ts +9 -8
- package/src/models/ChatappPhoneNumberDeregisterRequest.ts +4 -4
- package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +6 -5
- package/src/models/ChatappPhoneNumberRegisterRequest.ts +3 -3
- package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +10 -10
- package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +30 -52
- package/src/models/ChatappVerifyAndRegisterRequest.ts +4 -4
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +9 -9
- package/src/models/CheckDirectSendMessageSampleRequest.ts +14 -1
- package/src/models/CheckDirectSendMessageSampleResponseBody.ts +45 -4
- package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +14 -1
- package/src/models/CopyTemplateRequest.ts +10 -0
- package/src/models/CopyTemplateResponseBody.ts +34 -0
- package/src/models/CreateChatFlowByImportRequest.ts +19 -9
- package/src/models/CreateChatFlowByImportResponseBody.ts +15 -14
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +19 -9
- package/src/models/CreateChatFlowLogSettingRequest.ts +2 -2
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +14 -13
- package/src/models/CreateChatFlowRequest.ts +17 -7
- package/src/models/CreateChatFlowResponseBody.ts +15 -11
- package/src/models/CreateChatFlowShrinkRequest.ts +17 -7
- package/src/models/CreateChatappMigrationInitiateRequest.ts +4 -4
- package/src/models/CreateChatappMigrationInitiateResponseBody.ts +14 -12
- package/src/models/CreateChatappTemplateRequest.ts +153 -121
- package/src/models/CreateChatappTemplateResponseBody.ts +9 -8
- package/src/models/CreateChatappTemplateShrinkRequest.ts +35 -31
- package/src/models/CreateCustomAudienceRequest.ts +18 -0
- package/src/models/CreateCustomAudienceResponseBody.ts +26 -0
- package/src/models/CreateFlowRequest.ts +7 -4
- package/src/models/CreateFlowResponseBody.ts +10 -3
- package/src/models/CreateFlowShrinkRequest.ts +7 -4
- package/src/models/CreateFlowVersionRequest.ts +7 -7
- package/src/models/CreateFlowVersionResponseBody.ts +14 -13
- package/src/models/CreateFlowVersionShrinkRequest.ts +7 -7
- package/src/models/CreateInstanceRequest.ts +29 -4
- package/src/models/CreateInstanceResponseBody.ts +44 -3
- package/src/models/CreateMessageCampaignRequest.ts +13 -1
- package/src/models/CreateMessageCampaignResponseBody.ts +28 -2
- package/src/models/CreateMessengerPageRequest.ts +4 -4
- package/src/models/CreateMessengerPageResponseBody.ts +2 -2
- package/src/models/CreateMessengerPageShrinkRequest.ts +4 -4
- package/src/models/CreatePhoneMessageQrdlRequest.ts +16 -7
- package/src/models/CreatePhoneMessageQrdlResponseBody.ts +14 -7
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +4 -0
- package/src/models/DeleteChatFlowRequest.ts +4 -4
- package/src/models/DeleteChatFlowResponseBody.ts +15 -14
- package/src/models/DeleteChatFlowShrinkRequest.ts +4 -4
- package/src/models/DeleteChatGroupInviteLinkRequest.ts +13 -0
- package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +31 -3
- package/src/models/DeleteChatGroupParticipantsRequest.ts +21 -1
- package/src/models/DeleteChatGroupParticipantsResponseBody.ts +32 -2
- package/src/models/DeleteChatGroupParticipantsShrinkRequest.ts +18 -1
- package/src/models/DeleteChatGroupRequest.ts +13 -0
- package/src/models/DeleteChatGroupResponseBody.ts +30 -2
- package/src/models/DeleteChatappTemplateRequest.ts +8 -8
- package/src/models/DeleteChatappTemplateResponseBody.ts +10 -8
- package/src/models/DeleteContactsByIdsRequest.ts +2 -0
- package/src/models/DeleteContactsByIdsResponseBody.ts +20 -0
- package/src/models/DeleteContactsRequest.ts +1 -5
- package/src/models/DeleteContactsShrinkRequest.ts +1 -5
- package/src/models/DeleteFlowRequest.ts +4 -4
- package/src/models/DeleteFlowResponseBody.ts +10 -3
- package/src/models/DeleteFlowVersionRequest.ts +5 -5
- package/src/models/DeleteFlowVersionResponseBody.ts +15 -11
- package/src/models/DeleteFlowVersionShrinkRequest.ts +5 -5
- package/src/models/DeleteInstanceRequest.ts +2 -0
- package/src/models/DeleteInstanceResponseBody.ts +23 -0
- package/src/models/DeleteMarketingFlowRequest.ts +7 -1
- package/src/models/DeleteMarketingFlowResponseBody.ts +27 -1
- package/src/models/DeleteMessageCampaignRequest.ts +8 -0
- package/src/models/DeleteMessageCampaignResponseBody.ts +27 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +6 -6
- package/src/models/DeletePhoneMessageQrdlResponseBody.ts +8 -4
- 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 +2 -7
- package/src/models/DeprecateFlowResponseBody.ts +6 -2
- package/src/models/EnableWhatsappRoimetricRequest.ts +4 -4
- package/src/models/EnableWhatsappRoimetricResponseBody.ts +8 -4
- package/src/models/FlowBindPhoneRequest.ts +24 -10
- package/src/models/FlowBindPhoneResponseBody.ts +18 -10
- package/src/models/FlowBindPhoneShrinkRequest.ts +24 -10
- package/src/models/FlowRebindPhoneRequest.ts +23 -11
- package/src/models/FlowRebindPhoneResponseBody.ts +19 -11
- package/src/models/FlowRebindPhoneShrinkRequest.ts +23 -11
- package/src/models/FlowUnbindPhoneRequest.ts +17 -7
- package/src/models/FlowUnbindPhoneResponseBody.ts +17 -9
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +17 -7
- package/src/models/GeneratePresignedUrlRequest.ts +2 -0
- package/src/models/GeneratePresignedUrlResponseBody.ts +33 -0
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +0 -6
- package/src/models/GetAutoGeneratedTemplateRequest.ts +8 -0
- package/src/models/GetAutoGeneratedTemplateResponseBody.ts +41 -4
- package/src/models/GetChatFlowMetricRequest.ts +29 -8
- package/src/models/GetChatFlowMetricResponseBody.ts +14 -13
- package/src/models/GetChatFlowMetricShrinkRequest.ts +29 -8
- package/src/models/GetChatFlowTemplateRequest.ts +2 -2
- package/src/models/GetChatFlowTemplateResponseBody.ts +14 -13
- package/src/models/GetChatappOpenStatusResponseBody.ts +16 -0
- package/src/models/GetChatappPhoneNumberMetricRequest.ts +13 -16
- package/src/models/GetChatappPhoneNumberMetricResponseBody.ts +13 -14
- package/src/models/GetChatappPhoneNumberSettingRequest.ts +5 -0
- package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +31 -0
- package/src/models/GetChatappTemplateDetailRequest.ts +11 -11
- package/src/models/GetChatappTemplateDetailResponseBody.ts +148 -116
- package/src/models/GetChatappTemplateMetricRequest.ts +15 -20
- package/src/models/GetChatappTemplateMetricResponseBody.ts +17 -16
- package/src/models/GetChatappUploadAuthorizationRequest.ts +2 -2
- package/src/models/GetChatappUploadAuthorizationResponseBody.ts +7 -6
- package/src/models/GetChatappVerifyCodeRequest.ts +6 -11
- package/src/models/GetChatappVerifyCodeResponseBody.ts +12 -10
- package/src/models/GetCommerceSettingRequest.ts +1 -1
- package/src/models/GetCommerceSettingResponseBody.ts +14 -10
- package/src/models/GetConversationalAutomationRequest.ts +1 -1
- package/src/models/GetConversationalAutomationResponseBody.ts +9 -7
- package/src/models/GetCustomerSiteResponseBody.ts +19 -0
- package/src/models/GetDownloadExcelListRequest.ts +4 -8
- package/src/models/GetDownloadExcelListShrinkRequest.ts +4 -8
- package/src/models/GetFlowJsonassestRequest.ts +2 -8
- package/src/models/GetFlowJsonassestResponseBody.ts +9 -5
- package/src/models/GetFlowPreviewUrlRequest.ts +2 -7
- package/src/models/GetFlowPreviewUrlResponseBody.ts +10 -6
- package/src/models/GetFlowRequest.ts +2 -7
- package/src/models/GetFlowResponseBody.ts +10 -36
- package/src/models/GetGroupExistRequest.ts +1 -5
- package/src/models/GetGroupExistShrinkRequest.ts +1 -5
- package/src/models/GetMessageCampaignInsightsRequest.ts +8 -0
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +57 -0
- package/src/models/GetMigrationVerifyCodeRequest.ts +5 -5
- package/src/models/GetMigrationVerifyCodeResponseBody.ts +9 -8
- package/src/models/GetPermissionByCodeRequest.ts +3 -3
- package/src/models/GetPermissionByCodeResponseBody.ts +11 -3
- package/src/models/GetPermissionByCodeShrinkRequest.ts +3 -3
- package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +9 -4
- package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +16 -19
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +2 -6
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +14 -9
- package/src/models/GetPledgeTemplateAddressRequest.ts +6 -0
- package/src/models/GetPledgeTemplateAddressResponseBody.ts +25 -0
- package/src/models/GetPreValidatePhoneIdRequest.ts +3 -3
- package/src/models/GetPreValidatePhoneIdResponseBody.ts +7 -6
- package/src/models/GetViberByRequestNoRequest.ts +5 -0
- package/src/models/GetViberByRequestNoResponseBody.ts +184 -4
- package/src/models/GetWhatsappConnectionCatalogRequest.ts +2 -2
- package/src/models/GetWhatsappConnectionCatalogResponseBody.ts +9 -7
- package/src/models/GetWhatsappHealthStatusRequest.ts +5 -3
- package/src/models/GetWhatsappHealthStatusResponseBody.ts +8 -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 +10 -11
- package/src/models/IsvGetAppIdResponseBody.ts +9 -8
- package/src/models/ListAllGroupsRequest.ts +1 -5
- package/src/models/ListAllGroupsShrinkRequest.ts +1 -5
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +7 -3
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +9 -9
- package/src/models/ListChatFlowRequest.ts +14 -10
- package/src/models/ListChatFlowResponseBody.ts +14 -13
- package/src/models/ListChatFlowShrinkRequest.ts +14 -10
- package/src/models/ListChatFlowTemplateRequest.ts +9 -5
- package/src/models/ListChatFlowTemplateResponseBody.ts +14 -13
- package/src/models/ListChatGroupParticipantsRequest.ts +23 -0
- package/src/models/ListChatGroupParticipantsResponseBody.ts +43 -2
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +17 -0
- package/src/models/ListChatGroupRequest.ts +41 -2
- package/src/models/ListChatGroupResponseBody.ts +77 -8
- package/src/models/ListChatGroupShrinkRequest.ts +37 -2
- 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 +11 -10
- package/src/models/ListChatappTemplateResponseBody.ts +34 -26
- package/src/models/ListChatappTemplateShrinkRequest.ts +11 -10
- package/src/models/ListCustomAudienceRequest.ts +22 -0
- package/src/models/ListCustomAudienceResponseBody.ts +68 -1
- package/src/models/ListCustomAudienceShrinkRequest.ts +18 -0
- package/src/models/ListDmAccountRequest.ts +12 -0
- package/src/models/ListDmAccountResponseBody.ts +45 -0
- package/src/models/ListFacebookPostsRequest.ts +2 -0
- package/src/models/ListFacebookPostsResponseBody.ts +49 -0
- package/src/models/ListFlowNodeGroupRequest.ts +4 -0
- package/src/models/ListFlowNodeGroupResponseBody.ts +35 -0
- package/src/models/ListFlowNodePrototypeV2request.ts +21 -1
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +68 -6
- package/src/models/ListFlowRequest.ts +2 -26
- package/src/models/ListFlowResponseBody.ts +11 -7
- package/src/models/ListFlowShrinkRequest.ts +2 -12
- package/src/models/ListFlowVersionRequest.ts +15 -7
- package/src/models/ListFlowVersionResponseBody.ts +14 -13
- package/src/models/ListFlowVersionShrinkRequest.ts +15 -7
- package/src/models/ListInstagramPageRequest.ts +2 -0
- package/src/models/ListInstagramPageResponseBody.ts +107 -0
- package/src/models/ListInstanceRequest.ts +34 -0
- package/src/models/ListInstanceResponseBody.ts +73 -1
- package/src/models/ListMarketingFlowRequest.ts +27 -0
- package/src/models/ListMarketingFlowResponseBody.ts +96 -2
- package/src/models/ListMarketingFlowShrinkRequest.ts +27 -0
- package/src/models/ListMessageCampaignRequest.ts +22 -0
- package/src/models/ListMessageCampaignResponseBody.ts +60 -2
- package/src/models/ListMessageCampaignShrinkRequest.ts +18 -0
- package/src/models/ListMessengerSubscriptionTokenRequest.ts +15 -0
- package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +64 -7
- package/src/models/ListPageAdAccountRequest.ts +4 -0
- package/src/models/ListPageAdAccountResponseBody.ts +43 -0
- package/src/models/ListPhoneMessageQrdlRequest.ts +4 -4
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +17 -10
- package/src/models/ListProductCatalogRequest.ts +9 -9
- package/src/models/ListProductCatalogResponseBody.ts +13 -13
- package/src/models/ListProductRequest.ts +11 -12
- package/src/models/ListProductResponseBody.ts +15 -13
- package/src/models/ListViberServiceMessageResponseBody.ts +2 -2
- package/src/models/ListWhatAppTemplateRequest.ts +6 -0
- package/src/models/ListWhatAppTemplateResponseBody.ts +18 -0
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +16 -0
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +31 -3
- package/src/models/ModifyChatappTemplateRequest.ts +127 -127
- package/src/models/ModifyChatappTemplateResponseBody.ts +11 -10
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +23 -30
- package/src/models/ModifyFlowRequest.ts +10 -7
- package/src/models/ModifyFlowResponseBody.ts +16 -6
- package/src/models/ModifyFlowShrinkRequest.ts +10 -7
- package/src/models/ModifyPhoneBusinessProfileRequest.ts +9 -11
- package/src/models/ModifyPhoneBusinessProfileResponseBody.ts +11 -8
- package/src/models/ModifyPhoneBusinessProfileShrinkRequest.ts +9 -11
- package/src/models/MoveContactToGroupRequest.ts +1 -5
- package/src/models/MoveContactToGroupShrinkRequest.ts +1 -5
- package/src/models/OfflineFlowVersionRequest.ts +7 -7
- package/src/models/OfflineFlowVersionResponseBody.ts +14 -13
- package/src/models/OfflineFlowVersionShrinkRequest.ts +7 -7
- package/src/models/OnlineFlowVersionRequest.ts +6 -6
- package/src/models/OnlineFlowVersionResponseBody.ts +14 -13
- package/src/models/OnlineFlowVersionShrinkRequest.ts +6 -6
- package/src/models/PublishFlowRequest.ts +7 -4
- package/src/models/PublishFlowResponseBody.ts +9 -2
- package/src/models/QueryChatappBindWabaRequest.ts +4 -4
- package/src/models/QueryChatappBindWabaResponseBody.ts +26 -26
- package/src/models/QueryChatappPhoneNumbersRequest.ts +5 -5
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +19 -64
- package/src/models/QueryInstanceRequest.ts +2 -0
- package/src/models/QueryInstanceResponseBody.ts +68 -3
- package/src/models/QueryPhoneBusinessProfileRequest.ts +3 -3
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +14 -14
- package/src/models/QueryWabaBusinessInfoRequest.ts +2 -2
- package/src/models/QueryWabaBusinessInfoResponseBody.ts +9 -7
- package/src/models/ReadChatFlowLogSettingRequest.ts +2 -2
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +13 -12
- package/src/models/ReadChatFlowRequest.ts +4 -4
- package/src/models/ReadChatFlowResponseBody.ts +14 -13
- package/src/models/ReadChatFlowShrinkRequest.ts +4 -4
- package/src/models/ReadFlowVersionRequest.ts +10 -6
- package/src/models/ReadFlowVersionResponseBody.ts +14 -13
- package/src/models/ReadFlowVersionShrinkRequest.ts +10 -6
- package/src/models/RequestWhatsappConversionApiRequest.ts +73 -0
- package/src/models/RequestWhatsappConversionApiResponseBody.ts +27 -2
- package/src/models/RequestWhatsappConversionApiShrinkRequest.ts +8 -0
- package/src/models/SendChatappMassMessageRequest.ts +70 -52
- package/src/models/SendChatappMassMessageResponseBody.ts +7 -6
- package/src/models/SendChatappMassMessageShrinkRequest.ts +43 -37
- package/src/models/SendChatappMessageRequest.ts +235 -111
- package/src/models/SendChatappMessageResponseBody.ts +15 -7
- package/src/models/SendChatappMessageShrinkRequest.ts +227 -103
- package/src/models/SubmitVerifyCodeResultRequest.ts +58 -0
- package/src/models/SubmitVerifyCodeResultResponse.ts +40 -0
- package/src/models/SubmitVerifyCodeResultResponseBody.ts +92 -0
- package/src/models/SyncBusinessAppHistoryRequest.ts +4 -0
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +29 -4
- package/src/models/SyncMessageCampaignRequest.ts +4 -0
- package/src/models/SyncMessageCampaignResponseBody.ts +26 -1
- package/src/models/SyncMessengerSubscriptionTokenRequest.ts +9 -0
- package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +31 -1
- package/src/models/TriggerChatFlowRequest.ts +11 -8
- package/src/models/TriggerChatFlowResponseBody.ts +14 -15
- package/src/models/TriggerChatFlowShrinkRequest.ts +11 -8
- package/src/models/UpdateAccountWebhookRequest.ts +8 -6
- package/src/models/UpdateAccountWebhookResponseBody.ts +4 -3
- package/src/models/UpdateAuditRequestRequest.ts +123 -5
- package/src/models/UpdateAuditRequestResponseBody.ts +28 -2
- package/src/models/UpdateAuditRequestShrinkRequest.ts +9 -0
- package/src/models/UpdateChatFlowLogSettingRequest.ts +9 -7
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +13 -12
- package/src/models/UpdateChatFlowRequest.ts +8 -8
- package/src/models/UpdateChatFlowResponseBody.ts +13 -12
- package/src/models/UpdateChatFlowShrinkRequest.ts +8 -8
- package/src/models/UpdateChatGroupRequest.ts +28 -4
- package/src/models/UpdateChatGroupResponseBody.ts +30 -2
- package/src/models/UpdateCommerceSettingRequest.ts +10 -8
- package/src/models/UpdateCommerceSettingResponseBody.ts +10 -8
- package/src/models/UpdateContactByIdRequest.ts +0 -4
- package/src/models/UpdateContactByIdResponseBody.ts +4 -0
- package/src/models/UpdateContactByIdShrinkRequest.ts +0 -4
- package/src/models/UpdateConversationalAutomationRequest.ts +7 -7
- package/src/models/UpdateConversationalAutomationResponseBody.ts +9 -9
- package/src/models/UpdateConversationalAutomationShrinkRequest.ts +5 -5
- package/src/models/UpdateFlowJsonassetRequest.ts +6 -6
- package/src/models/UpdateFlowJsonassetResponseBody.ts +11 -4
- package/src/models/UpdateFlowVersionRequest.ts +19 -9
- package/src/models/UpdateFlowVersionResponseBody.ts +15 -11
- package/src/models/UpdateFlowVersionShrinkRequest.ts +19 -9
- package/src/models/UpdateGroupNameResponseBody.ts +4 -0
- package/src/models/UpdateInstanceRequest.ts +27 -3
- package/src/models/UpdateInstanceResponseBody.ts +50 -2
- package/src/models/UpdateMarketingFlowRequest.ts +41 -2
- package/src/models/UpdateMarketingFlowResponseBody.ts +26 -0
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +41 -2
- package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +11 -14
- package/src/models/UpdatePhoneEncryptionPublicKeyResponseBody.ts +9 -2
- package/src/models/UpdatePhoneMessageQrdlRequest.ts +16 -9
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +17 -10
- package/src/models/UpdatePhoneWebhookRequest.ts +15 -11
- package/src/models/UpdatePhoneWebhookResponseBody.ts +7 -6
- package/src/models/UpdateWabaMmlStatusRequest.ts +4 -0
- package/src/models/UpdateWabaMmlStatusResponseBody.ts +26 -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 +31 -7
- package/src/models/WhatsappCallResponseBody.ts +38 -4
- package/src/models/WhatsappCallShrinkRequest.ts +23 -5
- package/src/models/model.ts +23 -0
package/src/client.ts
CHANGED
|
@@ -12,6 +12,9 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
|
+
this._endpointMap = {
|
|
16
|
+
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
17
|
+
};
|
|
15
18
|
this.checkConfig(config);
|
|
16
19
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
17
20
|
}
|
|
@@ -30,7 +33,7 @@ export default class Client extends OpenApi {
|
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
|
-
*
|
|
36
|
+
* Submits a request to change the destination, resume, or pause.
|
|
34
37
|
*
|
|
35
38
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
36
39
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -87,7 +90,7 @@ export default class Client extends OpenApi {
|
|
|
87
90
|
}
|
|
88
91
|
|
|
89
92
|
/**
|
|
90
|
-
*
|
|
93
|
+
* Submits a request to change the destination, resume, or pause.
|
|
91
94
|
*
|
|
92
95
|
* @param request - AddAddressRecoverSuspendRequest
|
|
93
96
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -98,7 +101,7 @@ export default class Client extends OpenApi {
|
|
|
98
101
|
}
|
|
99
102
|
|
|
100
103
|
/**
|
|
101
|
-
*
|
|
104
|
+
* Signs up for a Viber account.
|
|
102
105
|
*
|
|
103
106
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
104
107
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -155,7 +158,7 @@ export default class Client extends OpenApi {
|
|
|
155
158
|
}
|
|
156
159
|
|
|
157
160
|
/**
|
|
158
|
-
*
|
|
161
|
+
* Signs up for a Viber account.
|
|
159
162
|
*
|
|
160
163
|
* @param request - AddAuditViberOpenRequest
|
|
161
164
|
* @returns AddAuditViberOpenResponse
|
|
@@ -166,7 +169,14 @@ export default class Client extends OpenApi {
|
|
|
166
169
|
}
|
|
167
170
|
|
|
168
171
|
/**
|
|
169
|
-
*
|
|
172
|
+
* Creates an IM group.
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* >Notice:
|
|
176
|
+
* Creating IM groups via the API is a feature in closed beta testing by Meta. Please contact your account manager to be added to the allowlist.
|
|
177
|
+
* - You can only create an IM group by calling this API.
|
|
178
|
+
* - After creating an IM group, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) API to generate an invite link.
|
|
179
|
+
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
170
180
|
*
|
|
171
181
|
* @param request - AddChatGroupRequest
|
|
172
182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -229,7 +239,14 @@ export default class Client extends OpenApi {
|
|
|
229
239
|
}
|
|
230
240
|
|
|
231
241
|
/**
|
|
232
|
-
*
|
|
242
|
+
* Creates an IM group.
|
|
243
|
+
*
|
|
244
|
+
* @remarks
|
|
245
|
+
* >Notice:
|
|
246
|
+
* Creating IM groups via the API is a feature in closed beta testing by Meta. Please contact your account manager to be added to the allowlist.
|
|
247
|
+
* - You can only create an IM group by calling this API.
|
|
248
|
+
* - After creating an IM group, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) API to generate an invite link.
|
|
249
|
+
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
233
250
|
*
|
|
234
251
|
* @param request - AddChatGroupRequest
|
|
235
252
|
* @returns AddChatGroupResponse
|
|
@@ -240,7 +257,15 @@ export default class Client extends OpenApi {
|
|
|
240
257
|
}
|
|
241
258
|
|
|
242
259
|
/**
|
|
243
|
-
*
|
|
260
|
+
* Adds an invite link for an IM group.
|
|
261
|
+
*
|
|
262
|
+
* @remarks
|
|
263
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
264
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
265
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
266
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
267
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
268
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
244
269
|
*
|
|
245
270
|
* @param request - AddChatGroupInviteLinkRequest
|
|
246
271
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -295,7 +320,15 @@ export default class Client extends OpenApi {
|
|
|
295
320
|
}
|
|
296
321
|
|
|
297
322
|
/**
|
|
298
|
-
*
|
|
323
|
+
* Adds an invite link for an IM group.
|
|
324
|
+
*
|
|
325
|
+
* @remarks
|
|
326
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
327
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
328
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
329
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
330
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
331
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
299
332
|
*
|
|
300
333
|
* @param request - AddChatGroupInviteLinkRequest
|
|
301
334
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -306,7 +339,10 @@ export default class Client extends OpenApi {
|
|
|
306
339
|
}
|
|
307
340
|
|
|
308
341
|
/**
|
|
309
|
-
* Adds a phone number
|
|
342
|
+
* Adds a phone number to a WABA.
|
|
343
|
+
*
|
|
344
|
+
* @remarks
|
|
345
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
310
346
|
*
|
|
311
347
|
* @param request - AddChatappPhoneNumberRequest
|
|
312
348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -365,7 +401,10 @@ export default class Client extends OpenApi {
|
|
|
365
401
|
}
|
|
366
402
|
|
|
367
403
|
/**
|
|
368
|
-
* Adds a phone number
|
|
404
|
+
* Adds a phone number to a WABA.
|
|
405
|
+
*
|
|
406
|
+
* @remarks
|
|
407
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
369
408
|
*
|
|
370
409
|
* @param request - AddChatappPhoneNumberRequest
|
|
371
410
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -376,7 +415,7 @@ export default class Client extends OpenApi {
|
|
|
376
415
|
}
|
|
377
416
|
|
|
378
417
|
/**
|
|
379
|
-
*
|
|
418
|
+
* Edits a contact - add contact.
|
|
380
419
|
*
|
|
381
420
|
* @param tmpReq - AddContactsRequest
|
|
382
421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -461,7 +500,7 @@ export default class Client extends OpenApi {
|
|
|
461
500
|
}
|
|
462
501
|
|
|
463
502
|
/**
|
|
464
|
-
*
|
|
503
|
+
* Edits a contact - add contact.
|
|
465
504
|
*
|
|
466
505
|
* @param request - AddContactsRequest
|
|
467
506
|
* @returns AddContactsResponse
|
|
@@ -472,7 +511,10 @@ export default class Client extends OpenApi {
|
|
|
472
511
|
}
|
|
473
512
|
|
|
474
513
|
/**
|
|
475
|
-
*
|
|
514
|
+
* Adds users to a custom audience.
|
|
515
|
+
*
|
|
516
|
+
* @remarks
|
|
517
|
+
* After users are submitted to a custom audience, Meta matches them. If fewer than 100 users are matched, Meta discards the data. This prevents phone numbers from being linked directly to user tokens. Each API call supports up to 10,000 user records.
|
|
476
518
|
*
|
|
477
519
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
478
520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -545,7 +587,10 @@ export default class Client extends OpenApi {
|
|
|
545
587
|
}
|
|
546
588
|
|
|
547
589
|
/**
|
|
548
|
-
*
|
|
590
|
+
* Adds users to a custom audience.
|
|
591
|
+
*
|
|
592
|
+
* @remarks
|
|
593
|
+
* After users are submitted to a custom audience, Meta matches them. If fewer than 100 users are matched, Meta discards the data. This prevents phone numbers from being linked directly to user tokens. Each API call supports up to 10,000 user records.
|
|
549
594
|
*
|
|
550
595
|
* @param request - AddCustomAudienceUserRequest
|
|
551
596
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -556,7 +601,7 @@ export default class Client extends OpenApi {
|
|
|
556
601
|
}
|
|
557
602
|
|
|
558
603
|
/**
|
|
559
|
-
*
|
|
604
|
+
* Adds a group.
|
|
560
605
|
*
|
|
561
606
|
* @param tmpReq - AddGroupRequest
|
|
562
607
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -637,7 +682,7 @@ export default class Client extends OpenApi {
|
|
|
637
682
|
}
|
|
638
683
|
|
|
639
684
|
/**
|
|
640
|
-
*
|
|
685
|
+
* Adds a group.
|
|
641
686
|
*
|
|
642
687
|
* @param request - AddGroupRequest
|
|
643
688
|
* @returns AddGroupResponse
|
|
@@ -760,7 +805,67 @@ export default class Client extends OpenApi {
|
|
|
760
805
|
}
|
|
761
806
|
|
|
762
807
|
/**
|
|
763
|
-
*
|
|
808
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
809
|
+
*
|
|
810
|
+
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
811
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
812
|
+
* @returns ArchiveChatappTemplateResponse
|
|
813
|
+
*/
|
|
814
|
+
async archiveChatappTemplateWithOptions(tmpReq: $_model.ArchiveChatappTemplateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ArchiveChatappTemplateResponse> {
|
|
815
|
+
tmpReq.validate();
|
|
816
|
+
let request = new $_model.ArchiveChatappTemplateShrinkRequest({ });
|
|
817
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
818
|
+
if (!$dara.isNull(tmpReq.templateList)) {
|
|
819
|
+
request.templateListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
let query = { };
|
|
823
|
+
if (!$dara.isNull(request.archiveType)) {
|
|
824
|
+
query["ArchiveType"] = request.archiveType;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
if (!$dara.isNull(request.channelType)) {
|
|
828
|
+
query["ChannelType"] = request.channelType;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
832
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
if (!$dara.isNull(request.templateListShrink)) {
|
|
836
|
+
query["TemplateList"] = request.templateListShrink;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
840
|
+
query: OpenApiUtil.query(query),
|
|
841
|
+
});
|
|
842
|
+
let params = new $OpenApiUtil.Params({
|
|
843
|
+
action: "ArchiveChatappTemplate",
|
|
844
|
+
version: "2020-06-06",
|
|
845
|
+
protocol: "HTTPS",
|
|
846
|
+
pathname: "/",
|
|
847
|
+
method: "POST",
|
|
848
|
+
authType: "AK",
|
|
849
|
+
style: "RPC",
|
|
850
|
+
reqBodyType: "formData",
|
|
851
|
+
bodyType: "json",
|
|
852
|
+
});
|
|
853
|
+
return $dara.cast<$_model.ArchiveChatappTemplateResponse>(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
858
|
+
*
|
|
859
|
+
* @param request - ArchiveChatappTemplateRequest
|
|
860
|
+
* @returns ArchiveChatappTemplateResponse
|
|
861
|
+
*/
|
|
862
|
+
async archiveChatappTemplate(request: $_model.ArchiveChatappTemplateRequest): Promise<$_model.ArchiveChatappTemplateResponse> {
|
|
863
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
864
|
+
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Associates a DM account.
|
|
764
869
|
*
|
|
765
870
|
* @param tmpReq - BindDmAccountRequest
|
|
766
871
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -817,7 +922,7 @@ export default class Client extends OpenApi {
|
|
|
817
922
|
}
|
|
818
923
|
|
|
819
924
|
/**
|
|
820
|
-
*
|
|
925
|
+
* Associates a DM account.
|
|
821
926
|
*
|
|
822
927
|
* @param request - BindDmAccountRequest
|
|
823
928
|
* @returns BindDmAccountResponse
|
|
@@ -828,7 +933,7 @@ export default class Client extends OpenApi {
|
|
|
828
933
|
}
|
|
829
934
|
|
|
830
935
|
/**
|
|
831
|
-
*
|
|
936
|
+
* Associates a page with an instance.
|
|
832
937
|
*
|
|
833
938
|
* @param request - BindInstagramPageRequest
|
|
834
939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -879,7 +984,7 @@ export default class Client extends OpenApi {
|
|
|
879
984
|
}
|
|
880
985
|
|
|
881
986
|
/**
|
|
882
|
-
*
|
|
987
|
+
* Associates a page with an instance.
|
|
883
988
|
*
|
|
884
989
|
* @param request - BindInstagramPageRequest
|
|
885
990
|
* @returns BindInstagramPageResponse
|
|
@@ -1002,10 +1107,10 @@ export default class Client extends OpenApi {
|
|
|
1002
1107
|
}
|
|
1003
1108
|
|
|
1004
1109
|
/**
|
|
1005
|
-
* Binds
|
|
1110
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
1006
1111
|
*
|
|
1007
1112
|
* @remarks
|
|
1008
|
-
*
|
|
1113
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1009
1114
|
*
|
|
1010
1115
|
* @param request - ChatappBindWabaRequest
|
|
1011
1116
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1048,10 +1153,10 @@ export default class Client extends OpenApi {
|
|
|
1048
1153
|
}
|
|
1049
1154
|
|
|
1050
1155
|
/**
|
|
1051
|
-
* Binds
|
|
1156
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
1052
1157
|
*
|
|
1053
1158
|
* @remarks
|
|
1054
|
-
*
|
|
1159
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1055
1160
|
*
|
|
1056
1161
|
* @param request - ChatappBindWabaRequest
|
|
1057
1162
|
* @returns ChatappBindWabaResponse
|
|
@@ -1062,10 +1167,10 @@ export default class Client extends OpenApi {
|
|
|
1062
1167
|
}
|
|
1063
1168
|
|
|
1064
1169
|
/**
|
|
1065
|
-
*
|
|
1170
|
+
* Migrates a phone number registration.
|
|
1066
1171
|
*
|
|
1067
1172
|
* @remarks
|
|
1068
|
-
* The
|
|
1173
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1069
1174
|
*
|
|
1070
1175
|
* @param request - ChatappMigrationRegisterRequest
|
|
1071
1176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1112,10 +1217,10 @@ export default class Client extends OpenApi {
|
|
|
1112
1217
|
}
|
|
1113
1218
|
|
|
1114
1219
|
/**
|
|
1115
|
-
*
|
|
1220
|
+
* Migrates a phone number registration.
|
|
1116
1221
|
*
|
|
1117
1222
|
* @remarks
|
|
1118
|
-
* The
|
|
1223
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
1119
1224
|
*
|
|
1120
1225
|
* @param request - ChatappMigrationRegisterRequest
|
|
1121
1226
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1126,10 +1231,10 @@ export default class Client extends OpenApi {
|
|
|
1126
1231
|
}
|
|
1127
1232
|
|
|
1128
1233
|
/**
|
|
1129
|
-
* Verifies a
|
|
1234
|
+
* Verifies a phone number for migration.
|
|
1130
1235
|
*
|
|
1131
1236
|
* @remarks
|
|
1132
|
-
*
|
|
1237
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1133
1238
|
*
|
|
1134
1239
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1135
1240
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1180,10 +1285,10 @@ export default class Client extends OpenApi {
|
|
|
1180
1285
|
}
|
|
1181
1286
|
|
|
1182
1287
|
/**
|
|
1183
|
-
* Verifies a
|
|
1288
|
+
* Verifies a phone number for migration.
|
|
1184
1289
|
*
|
|
1185
1290
|
* @remarks
|
|
1186
|
-
*
|
|
1291
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1187
1292
|
*
|
|
1188
1293
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1189
1294
|
* @returns ChatappMigrationVerifiedResponse
|
|
@@ -1194,10 +1299,10 @@ export default class Client extends OpenApi {
|
|
|
1194
1299
|
}
|
|
1195
1300
|
|
|
1196
1301
|
/**
|
|
1197
|
-
* Deregisters a phone number from
|
|
1302
|
+
* Deregisters a phone number from WABA.
|
|
1198
1303
|
*
|
|
1199
1304
|
* @remarks
|
|
1200
|
-
*
|
|
1305
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1201
1306
|
*
|
|
1202
1307
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1203
1308
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1244,10 +1349,10 @@ export default class Client extends OpenApi {
|
|
|
1244
1349
|
}
|
|
1245
1350
|
|
|
1246
1351
|
/**
|
|
1247
|
-
* Deregisters a phone number from
|
|
1352
|
+
* Deregisters a phone number from WABA.
|
|
1248
1353
|
*
|
|
1249
1354
|
* @remarks
|
|
1250
|
-
*
|
|
1355
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1251
1356
|
*
|
|
1252
1357
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1253
1358
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1258,10 +1363,10 @@ export default class Client extends OpenApi {
|
|
|
1258
1363
|
}
|
|
1259
1364
|
|
|
1260
1365
|
/**
|
|
1261
|
-
* Registers a phone number.
|
|
1366
|
+
* Registers a phone number through the northbound interface.
|
|
1262
1367
|
*
|
|
1263
1368
|
* @remarks
|
|
1264
|
-
*
|
|
1369
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1265
1370
|
*
|
|
1266
1371
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1267
1372
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1308,10 +1413,10 @@ export default class Client extends OpenApi {
|
|
|
1308
1413
|
}
|
|
1309
1414
|
|
|
1310
1415
|
/**
|
|
1311
|
-
* Registers a phone number.
|
|
1416
|
+
* Registers a phone number through the northbound interface.
|
|
1312
1417
|
*
|
|
1313
1418
|
* @remarks
|
|
1314
|
-
*
|
|
1419
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1315
1420
|
*
|
|
1316
1421
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1317
1422
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1322,10 +1427,10 @@ export default class Client extends OpenApi {
|
|
|
1322
1427
|
}
|
|
1323
1428
|
|
|
1324
1429
|
/**
|
|
1325
|
-
* Synchronizes phone
|
|
1430
|
+
* Synchronizes phone number information.
|
|
1326
1431
|
*
|
|
1327
1432
|
* @remarks
|
|
1328
|
-
*
|
|
1433
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1329
1434
|
*
|
|
1330
1435
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1331
1436
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1368,10 +1473,10 @@ export default class Client extends OpenApi {
|
|
|
1368
1473
|
}
|
|
1369
1474
|
|
|
1370
1475
|
/**
|
|
1371
|
-
* Synchronizes phone
|
|
1476
|
+
* Synchronizes phone number information.
|
|
1372
1477
|
*
|
|
1373
1478
|
* @remarks
|
|
1374
|
-
*
|
|
1479
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1375
1480
|
*
|
|
1376
1481
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1377
1482
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1382,10 +1487,10 @@ export default class Client extends OpenApi {
|
|
|
1382
1487
|
}
|
|
1383
1488
|
|
|
1384
1489
|
/**
|
|
1385
|
-
*
|
|
1490
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1386
1491
|
*
|
|
1387
1492
|
* @remarks
|
|
1388
|
-
*
|
|
1493
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1389
1494
|
*
|
|
1390
1495
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1391
1496
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1436,10 +1541,10 @@ export default class Client extends OpenApi {
|
|
|
1436
1541
|
}
|
|
1437
1542
|
|
|
1438
1543
|
/**
|
|
1439
|
-
*
|
|
1544
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1440
1545
|
*
|
|
1441
1546
|
* @remarks
|
|
1442
|
-
*
|
|
1547
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1443
1548
|
*
|
|
1444
1549
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1445
1550
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1450,7 +1555,7 @@ export default class Client extends OpenApi {
|
|
|
1450
1555
|
}
|
|
1451
1556
|
|
|
1452
1557
|
/**
|
|
1453
|
-
*
|
|
1558
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1454
1559
|
*
|
|
1455
1560
|
* @param tmpReq - CheckDirectSendMessageSampleRequest
|
|
1456
1561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1503,7 +1608,7 @@ export default class Client extends OpenApi {
|
|
|
1503
1608
|
}
|
|
1504
1609
|
|
|
1505
1610
|
/**
|
|
1506
|
-
*
|
|
1611
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1507
1612
|
*
|
|
1508
1613
|
* @param request - CheckDirectSendMessageSampleRequest
|
|
1509
1614
|
* @returns CheckDirectSendMessageSampleResponse
|
|
@@ -1514,7 +1619,7 @@ export default class Client extends OpenApi {
|
|
|
1514
1619
|
}
|
|
1515
1620
|
|
|
1516
1621
|
/**
|
|
1517
|
-
*
|
|
1622
|
+
* Copies a template.
|
|
1518
1623
|
*
|
|
1519
1624
|
* @param request - CopyTemplateRequest
|
|
1520
1625
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1569,7 +1674,7 @@ export default class Client extends OpenApi {
|
|
|
1569
1674
|
}
|
|
1570
1675
|
|
|
1571
1676
|
/**
|
|
1572
|
-
*
|
|
1677
|
+
* Copies a template.
|
|
1573
1678
|
*
|
|
1574
1679
|
* @param request - CopyTemplateRequest
|
|
1575
1680
|
* @returns CopyTemplateResponse
|
|
@@ -1580,7 +1685,11 @@ export default class Client extends OpenApi {
|
|
|
1580
1685
|
}
|
|
1581
1686
|
|
|
1582
1687
|
/**
|
|
1583
|
-
*
|
|
1688
|
+
* Creates a flow.
|
|
1689
|
+
*
|
|
1690
|
+
* @remarks
|
|
1691
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1692
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1584
1693
|
*
|
|
1585
1694
|
* @param tmpReq - CreateChatFlowRequest
|
|
1586
1695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1645,7 +1754,11 @@ export default class Client extends OpenApi {
|
|
|
1645
1754
|
}
|
|
1646
1755
|
|
|
1647
1756
|
/**
|
|
1648
|
-
*
|
|
1757
|
+
* Creates a flow.
|
|
1758
|
+
*
|
|
1759
|
+
* @remarks
|
|
1760
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1761
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1649
1762
|
*
|
|
1650
1763
|
* @param request - CreateChatFlowRequest
|
|
1651
1764
|
* @returns CreateChatFlowResponse
|
|
@@ -1656,7 +1769,12 @@ export default class Client extends OpenApi {
|
|
|
1656
1769
|
}
|
|
1657
1770
|
|
|
1658
1771
|
/**
|
|
1659
|
-
*
|
|
1772
|
+
* Creates and imports a flow.
|
|
1773
|
+
*
|
|
1774
|
+
* @remarks
|
|
1775
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1776
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1777
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1660
1778
|
*
|
|
1661
1779
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1662
1780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1721,7 +1839,12 @@ export default class Client extends OpenApi {
|
|
|
1721
1839
|
}
|
|
1722
1840
|
|
|
1723
1841
|
/**
|
|
1724
|
-
*
|
|
1842
|
+
* Creates and imports a flow.
|
|
1843
|
+
*
|
|
1844
|
+
* @remarks
|
|
1845
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1846
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1847
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1725
1848
|
*
|
|
1726
1849
|
* @param request - CreateChatFlowByImportRequest
|
|
1727
1850
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1732,7 +1855,13 @@ export default class Client extends OpenApi {
|
|
|
1732
1855
|
}
|
|
1733
1856
|
|
|
1734
1857
|
/**
|
|
1735
|
-
*
|
|
1858
|
+
* Creates log settings for a flow.
|
|
1859
|
+
*
|
|
1860
|
+
* @remarks
|
|
1861
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1862
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1863
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1864
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1736
1865
|
*
|
|
1737
1866
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1738
1867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1775,7 +1904,13 @@ export default class Client extends OpenApi {
|
|
|
1775
1904
|
}
|
|
1776
1905
|
|
|
1777
1906
|
/**
|
|
1778
|
-
*
|
|
1907
|
+
* Creates log settings for a flow.
|
|
1908
|
+
*
|
|
1909
|
+
* @remarks
|
|
1910
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1911
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1912
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1913
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1779
1914
|
*
|
|
1780
1915
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1781
1916
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1786,10 +1921,10 @@ export default class Client extends OpenApi {
|
|
|
1786
1921
|
}
|
|
1787
1922
|
|
|
1788
1923
|
/**
|
|
1789
|
-
*
|
|
1924
|
+
* Initiates the migration of a phone number.
|
|
1790
1925
|
*
|
|
1791
1926
|
* @remarks
|
|
1792
|
-
*
|
|
1927
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
1793
1928
|
*
|
|
1794
1929
|
* @param request - CreateChatappMigrationInitiateRequest
|
|
1795
1930
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1840,10 +1975,10 @@ export default class Client extends OpenApi {
|
|
|
1840
1975
|
}
|
|
1841
1976
|
|
|
1842
1977
|
/**
|
|
1843
|
-
*
|
|
1978
|
+
* Initiates the migration of a phone number.
|
|
1844
1979
|
*
|
|
1845
1980
|
* @remarks
|
|
1846
|
-
*
|
|
1981
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
1847
1982
|
*
|
|
1848
1983
|
* @param request - CreateChatappMigrationInitiateRequest
|
|
1849
1984
|
* @returns CreateChatappMigrationInitiateResponse
|
|
@@ -1854,13 +1989,13 @@ export default class Client extends OpenApi {
|
|
|
1854
1989
|
}
|
|
1855
1990
|
|
|
1856
1991
|
/**
|
|
1857
|
-
*
|
|
1858
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1859
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1992
|
+
* Creates a message template. After a template is approved, you can use it to send messages.
|
|
1860
1993
|
*
|
|
1861
1994
|
* @remarks
|
|
1862
|
-
* ###
|
|
1863
|
-
*
|
|
1995
|
+
* ### QPS limit
|
|
1996
|
+
* The queries per second (QPS) limit for this API operation is 50 for a single user. If you exceed the limit, API calls are rate-limited, which may affect your business. We recommend that you call this operation at a reasonable frequency.
|
|
1997
|
+
* ### Status change
|
|
1998
|
+
* You can monitor template status and quality changes using Message Service (MNS) or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
1864
1999
|
*
|
|
1865
2000
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1866
2001
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1945,13 +2080,13 @@ export default class Client extends OpenApi {
|
|
|
1945
2080
|
}
|
|
1946
2081
|
|
|
1947
2082
|
/**
|
|
1948
|
-
*
|
|
1949
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1950
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
2083
|
+
* Creates a message template. After a template is approved, you can use it to send messages.
|
|
1951
2084
|
*
|
|
1952
2085
|
* @remarks
|
|
1953
|
-
* ###
|
|
1954
|
-
*
|
|
2086
|
+
* ### QPS limit
|
|
2087
|
+
* The queries per second (QPS) limit for this API operation is 50 for a single user. If you exceed the limit, API calls are rate-limited, which may affect your business. We recommend that you call this operation at a reasonable frequency.
|
|
2088
|
+
* ### Status change
|
|
2089
|
+
* You can monitor template status and quality changes using Message Service (MNS) or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
1955
2090
|
*
|
|
1956
2091
|
* @param request - CreateChatappTemplateRequest
|
|
1957
2092
|
* @returns CreateChatappTemplateResponse
|
|
@@ -1962,7 +2097,7 @@ export default class Client extends OpenApi {
|
|
|
1962
2097
|
}
|
|
1963
2098
|
|
|
1964
2099
|
/**
|
|
1965
|
-
*
|
|
2100
|
+
* Creates a custom audience.
|
|
1966
2101
|
*
|
|
1967
2102
|
* @param request - CreateCustomAudienceRequest
|
|
1968
2103
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2029,7 +2164,7 @@ export default class Client extends OpenApi {
|
|
|
2029
2164
|
}
|
|
2030
2165
|
|
|
2031
2166
|
/**
|
|
2032
|
-
*
|
|
2167
|
+
* Creates a custom audience.
|
|
2033
2168
|
*
|
|
2034
2169
|
* @param request - CreateCustomAudienceRequest
|
|
2035
2170
|
* @returns CreateCustomAudienceResponse
|
|
@@ -2043,7 +2178,7 @@ export default class Client extends OpenApi {
|
|
|
2043
2178
|
* Creates a Flow.
|
|
2044
2179
|
*
|
|
2045
2180
|
* @remarks
|
|
2046
|
-
*
|
|
2181
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2047
2182
|
*
|
|
2048
2183
|
* @param tmpReq - CreateFlowRequest
|
|
2049
2184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2107,7 +2242,7 @@ export default class Client extends OpenApi {
|
|
|
2107
2242
|
* Creates a Flow.
|
|
2108
2243
|
*
|
|
2109
2244
|
* @remarks
|
|
2110
|
-
*
|
|
2245
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2111
2246
|
*
|
|
2112
2247
|
* @param request - CreateFlowRequest
|
|
2113
2248
|
* @returns CreateFlowResponse
|
|
@@ -2118,7 +2253,12 @@ export default class Client extends OpenApi {
|
|
|
2118
2253
|
}
|
|
2119
2254
|
|
|
2120
2255
|
/**
|
|
2121
|
-
*
|
|
2256
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2257
|
+
*
|
|
2258
|
+
* @remarks
|
|
2259
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2260
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2261
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2122
2262
|
*
|
|
2123
2263
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2124
2264
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2183,7 +2323,12 @@ export default class Client extends OpenApi {
|
|
|
2183
2323
|
}
|
|
2184
2324
|
|
|
2185
2325
|
/**
|
|
2186
|
-
*
|
|
2326
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2327
|
+
*
|
|
2328
|
+
* @remarks
|
|
2329
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2330
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2331
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2187
2332
|
*
|
|
2188
2333
|
* @param request - CreateFlowVersionRequest
|
|
2189
2334
|
* @returns CreateFlowVersionResponse
|
|
@@ -2194,7 +2339,7 @@ export default class Client extends OpenApi {
|
|
|
2194
2339
|
}
|
|
2195
2340
|
|
|
2196
2341
|
/**
|
|
2197
|
-
*
|
|
2342
|
+
* Creates an instance.
|
|
2198
2343
|
*
|
|
2199
2344
|
* @param request - CreateInstanceRequest
|
|
2200
2345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2261,7 +2406,7 @@ export default class Client extends OpenApi {
|
|
|
2261
2406
|
}
|
|
2262
2407
|
|
|
2263
2408
|
/**
|
|
2264
|
-
*
|
|
2409
|
+
* Creates an instance.
|
|
2265
2410
|
*
|
|
2266
2411
|
* @param request - CreateInstanceRequest
|
|
2267
2412
|
* @returns CreateInstanceResponse
|
|
@@ -2272,7 +2417,7 @@ export default class Client extends OpenApi {
|
|
|
2272
2417
|
}
|
|
2273
2418
|
|
|
2274
2419
|
/**
|
|
2275
|
-
*
|
|
2420
|
+
* Creates a budget.
|
|
2276
2421
|
*
|
|
2277
2422
|
* @param request - CreateMessageCampaignRequest
|
|
2278
2423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2335,7 +2480,7 @@ export default class Client extends OpenApi {
|
|
|
2335
2480
|
}
|
|
2336
2481
|
|
|
2337
2482
|
/**
|
|
2338
|
-
*
|
|
2483
|
+
* Creates a budget.
|
|
2339
2484
|
*
|
|
2340
2485
|
* @param request - CreateMessageCampaignRequest
|
|
2341
2486
|
* @returns CreateMessageCampaignResponse
|
|
@@ -2422,7 +2567,17 @@ export default class Client extends OpenApi {
|
|
|
2422
2567
|
}
|
|
2423
2568
|
|
|
2424
2569
|
/**
|
|
2425
|
-
* Creates a
|
|
2570
|
+
* Creates a message QR code.
|
|
2571
|
+
*
|
|
2572
|
+
* @remarks
|
|
2573
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2574
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2575
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2576
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2577
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2578
|
+
* page.
|
|
2579
|
+
* #### QPS limit
|
|
2580
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2426
2581
|
*
|
|
2427
2582
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2428
2583
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2477,7 +2632,17 @@ export default class Client extends OpenApi {
|
|
|
2477
2632
|
}
|
|
2478
2633
|
|
|
2479
2634
|
/**
|
|
2480
|
-
* Creates a
|
|
2635
|
+
* Creates a message QR code.
|
|
2636
|
+
*
|
|
2637
|
+
* @remarks
|
|
2638
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2639
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2640
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2641
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2642
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2643
|
+
* page.
|
|
2644
|
+
* #### QPS limit
|
|
2645
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2481
2646
|
*
|
|
2482
2647
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2483
2648
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2556,7 +2721,12 @@ export default class Client extends OpenApi {
|
|
|
2556
2721
|
}
|
|
2557
2722
|
|
|
2558
2723
|
/**
|
|
2559
|
-
*
|
|
2724
|
+
* Deletes a flow.
|
|
2725
|
+
*
|
|
2726
|
+
* @remarks
|
|
2727
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2728
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2729
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2560
2730
|
*
|
|
2561
2731
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2562
2732
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2613,7 +2783,12 @@ export default class Client extends OpenApi {
|
|
|
2613
2783
|
}
|
|
2614
2784
|
|
|
2615
2785
|
/**
|
|
2616
|
-
*
|
|
2786
|
+
* Deletes a flow.
|
|
2787
|
+
*
|
|
2788
|
+
* @remarks
|
|
2789
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2790
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2791
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2617
2792
|
*
|
|
2618
2793
|
* @param request - DeleteChatFlowRequest
|
|
2619
2794
|
* @returns DeleteChatFlowResponse
|
|
@@ -2624,7 +2799,13 @@ export default class Client extends OpenApi {
|
|
|
2624
2799
|
}
|
|
2625
2800
|
|
|
2626
2801
|
/**
|
|
2627
|
-
*
|
|
2802
|
+
* Deletes a successfully created IM group.
|
|
2803
|
+
*
|
|
2804
|
+
* @remarks
|
|
2805
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2806
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2807
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2808
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2628
2809
|
*
|
|
2629
2810
|
* @param request - DeleteChatGroupRequest
|
|
2630
2811
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2679,7 +2860,13 @@ export default class Client extends OpenApi {
|
|
|
2679
2860
|
}
|
|
2680
2861
|
|
|
2681
2862
|
/**
|
|
2682
|
-
*
|
|
2863
|
+
* Deletes a successfully created IM group.
|
|
2864
|
+
*
|
|
2865
|
+
* @remarks
|
|
2866
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2867
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2868
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2869
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2683
2870
|
*
|
|
2684
2871
|
* @param request - DeleteChatGroupRequest
|
|
2685
2872
|
* @returns DeleteChatGroupResponse
|
|
@@ -2690,7 +2877,13 @@ export default class Client extends OpenApi {
|
|
|
2690
2877
|
}
|
|
2691
2878
|
|
|
2692
2879
|
/**
|
|
2693
|
-
*
|
|
2880
|
+
* Deletes an IM group invitation link.
|
|
2881
|
+
*
|
|
2882
|
+
* @remarks
|
|
2883
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2884
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2885
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2886
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2694
2887
|
*
|
|
2695
2888
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2696
2889
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2745,7 +2938,13 @@ export default class Client extends OpenApi {
|
|
|
2745
2938
|
}
|
|
2746
2939
|
|
|
2747
2940
|
/**
|
|
2748
|
-
*
|
|
2941
|
+
* Deletes an IM group invitation link.
|
|
2942
|
+
*
|
|
2943
|
+
* @remarks
|
|
2944
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2945
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2946
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2947
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2749
2948
|
*
|
|
2750
2949
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2751
2950
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2756,7 +2955,14 @@ export default class Client extends OpenApi {
|
|
|
2756
2955
|
}
|
|
2757
2956
|
|
|
2758
2957
|
/**
|
|
2759
|
-
*
|
|
2958
|
+
* Removes members from an IM group.
|
|
2959
|
+
*
|
|
2960
|
+
* @remarks
|
|
2961
|
+
* >Notice:
|
|
2962
|
+
* This operation is a beta feature from Meta. Contact your account manager to add your account to the allowlist before use.
|
|
2963
|
+
* - This operation requires an existing IM group that members have joined via an invitation link.
|
|
2964
|
+
* - 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.
|
|
2965
|
+
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2760
2966
|
*
|
|
2761
2967
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2762
2968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2821,7 +3027,14 @@ export default class Client extends OpenApi {
|
|
|
2821
3027
|
}
|
|
2822
3028
|
|
|
2823
3029
|
/**
|
|
2824
|
-
*
|
|
3030
|
+
* Removes members from an IM group.
|
|
3031
|
+
*
|
|
3032
|
+
* @remarks
|
|
3033
|
+
* >Notice:
|
|
3034
|
+
* This operation is a beta feature from Meta. Contact your account manager to add your account to the allowlist before use.
|
|
3035
|
+
* - This operation requires an existing IM group that members have joined via an invitation link.
|
|
3036
|
+
* - 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.
|
|
3037
|
+
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2825
3038
|
*
|
|
2826
3039
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
2827
3040
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -2836,7 +3049,7 @@ export default class Client extends OpenApi {
|
|
|
2836
3049
|
*
|
|
2837
3050
|
* @remarks
|
|
2838
3051
|
* ### QPS limit
|
|
2839
|
-
*
|
|
3052
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
2840
3053
|
*
|
|
2841
3054
|
* @param request - DeleteChatappTemplateRequest
|
|
2842
3055
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2907,7 +3120,7 @@ export default class Client extends OpenApi {
|
|
|
2907
3120
|
*
|
|
2908
3121
|
* @remarks
|
|
2909
3122
|
* ### QPS limit
|
|
2910
|
-
*
|
|
3123
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
2911
3124
|
*
|
|
2912
3125
|
* @param request - DeleteChatappTemplateRequest
|
|
2913
3126
|
* @returns DeleteChatappTemplateResponse
|
|
@@ -2998,7 +3211,7 @@ export default class Client extends OpenApi {
|
|
|
2998
3211
|
}
|
|
2999
3212
|
|
|
3000
3213
|
/**
|
|
3001
|
-
*
|
|
3214
|
+
* Deletes contacts by selecting and removing them.
|
|
3002
3215
|
*
|
|
3003
3216
|
* @param request - DeleteContactsByIdsRequest
|
|
3004
3217
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3041,7 +3254,7 @@ export default class Client extends OpenApi {
|
|
|
3041
3254
|
}
|
|
3042
3255
|
|
|
3043
3256
|
/**
|
|
3044
|
-
*
|
|
3257
|
+
* Deletes contacts by selecting and removing them.
|
|
3045
3258
|
*
|
|
3046
3259
|
* @param request - DeleteContactsByIdsRequest
|
|
3047
3260
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -3052,10 +3265,10 @@ export default class Client extends OpenApi {
|
|
|
3052
3265
|
}
|
|
3053
3266
|
|
|
3054
3267
|
/**
|
|
3055
|
-
* Deletes a Flow
|
|
3268
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3056
3269
|
*
|
|
3057
3270
|
* @remarks
|
|
3058
|
-
*
|
|
3271
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3059
3272
|
*
|
|
3060
3273
|
* @param request - DeleteFlowRequest
|
|
3061
3274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3102,10 +3315,10 @@ export default class Client extends OpenApi {
|
|
|
3102
3315
|
}
|
|
3103
3316
|
|
|
3104
3317
|
/**
|
|
3105
|
-
* Deletes a Flow
|
|
3318
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
3106
3319
|
*
|
|
3107
3320
|
* @remarks
|
|
3108
|
-
*
|
|
3321
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3109
3322
|
*
|
|
3110
3323
|
* @param request - DeleteFlowRequest
|
|
3111
3324
|
* @returns DeleteFlowResponse
|
|
@@ -3116,7 +3329,13 @@ export default class Client extends OpenApi {
|
|
|
3116
3329
|
}
|
|
3117
3330
|
|
|
3118
3331
|
/**
|
|
3119
|
-
*
|
|
3332
|
+
* Deletes a flow version.
|
|
3333
|
+
*
|
|
3334
|
+
* @remarks
|
|
3335
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
3336
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3337
|
+
* - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
3338
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3120
3339
|
*
|
|
3121
3340
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
3122
3341
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3177,7 +3396,13 @@ export default class Client extends OpenApi {
|
|
|
3177
3396
|
}
|
|
3178
3397
|
|
|
3179
3398
|
/**
|
|
3180
|
-
*
|
|
3399
|
+
* Deletes a flow version.
|
|
3400
|
+
*
|
|
3401
|
+
* @remarks
|
|
3402
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
3403
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3404
|
+
* - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
3405
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
3181
3406
|
*
|
|
3182
3407
|
* @param request - DeleteFlowVersionRequest
|
|
3183
3408
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3300,7 +3525,7 @@ export default class Client extends OpenApi {
|
|
|
3300
3525
|
}
|
|
3301
3526
|
|
|
3302
3527
|
/**
|
|
3303
|
-
*
|
|
3528
|
+
* Deletes the specified instance.
|
|
3304
3529
|
*
|
|
3305
3530
|
* @param request - DeleteInstanceRequest
|
|
3306
3531
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3331,7 +3556,7 @@ export default class Client extends OpenApi {
|
|
|
3331
3556
|
}
|
|
3332
3557
|
|
|
3333
3558
|
/**
|
|
3334
|
-
*
|
|
3559
|
+
* Deletes the specified instance.
|
|
3335
3560
|
*
|
|
3336
3561
|
* @param request - DeleteInstanceRequest
|
|
3337
3562
|
* @returns DeleteInstanceResponse
|
|
@@ -3342,7 +3567,7 @@ export default class Client extends OpenApi {
|
|
|
3342
3567
|
}
|
|
3343
3568
|
|
|
3344
3569
|
/**
|
|
3345
|
-
*
|
|
3570
|
+
* Deletes a marketing campaign.
|
|
3346
3571
|
*
|
|
3347
3572
|
* @param request - DeleteMarketingFlowRequest
|
|
3348
3573
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3389,7 +3614,7 @@ export default class Client extends OpenApi {
|
|
|
3389
3614
|
}
|
|
3390
3615
|
|
|
3391
3616
|
/**
|
|
3392
|
-
*
|
|
3617
|
+
* Deletes a marketing campaign.
|
|
3393
3618
|
*
|
|
3394
3619
|
* @param request - DeleteMarketingFlowRequest
|
|
3395
3620
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -3400,7 +3625,7 @@ export default class Client extends OpenApi {
|
|
|
3400
3625
|
}
|
|
3401
3626
|
|
|
3402
3627
|
/**
|
|
3403
|
-
*
|
|
3628
|
+
* Deletes the budget for a marketing campaign.
|
|
3404
3629
|
*
|
|
3405
3630
|
* @param request - DeleteMessageCampaignRequest
|
|
3406
3631
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3455,7 +3680,7 @@ export default class Client extends OpenApi {
|
|
|
3455
3680
|
}
|
|
3456
3681
|
|
|
3457
3682
|
/**
|
|
3458
|
-
*
|
|
3683
|
+
* Deletes the budget for a marketing campaign.
|
|
3459
3684
|
*
|
|
3460
3685
|
* @param request - DeleteMessageCampaignRequest
|
|
3461
3686
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3524,7 +3749,14 @@ export default class Client extends OpenApi {
|
|
|
3524
3749
|
}
|
|
3525
3750
|
|
|
3526
3751
|
/**
|
|
3527
|
-
* Deletes a
|
|
3752
|
+
* Deletes a message QR code.
|
|
3753
|
+
*
|
|
3754
|
+
* @remarks
|
|
3755
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3756
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3757
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3758
|
+
* #### QPS limit
|
|
3759
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3528
3760
|
*
|
|
3529
3761
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3530
3762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3575,7 +3807,14 @@ export default class Client extends OpenApi {
|
|
|
3575
3807
|
}
|
|
3576
3808
|
|
|
3577
3809
|
/**
|
|
3578
|
-
* Deletes a
|
|
3810
|
+
* Deletes a message QR code.
|
|
3811
|
+
*
|
|
3812
|
+
* @remarks
|
|
3813
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3814
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3815
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3816
|
+
* #### QPS limit
|
|
3817
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3579
3818
|
*
|
|
3580
3819
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3581
3820
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3586,7 +3825,56 @@ export default class Client extends OpenApi {
|
|
|
3586
3825
|
}
|
|
3587
3826
|
|
|
3588
3827
|
/**
|
|
3589
|
-
*
|
|
3828
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3829
|
+
*
|
|
3830
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3831
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3832
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3833
|
+
*/
|
|
3834
|
+
async deleteWhatsappUserNameWithOptions(request: $_model.DeleteWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3835
|
+
request.validate();
|
|
3836
|
+
let query = { };
|
|
3837
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3838
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3842
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3843
|
+
}
|
|
3844
|
+
|
|
3845
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3846
|
+
query: OpenApiUtil.query(query),
|
|
3847
|
+
});
|
|
3848
|
+
let params = new $OpenApiUtil.Params({
|
|
3849
|
+
action: "DeleteWhatsappUserName",
|
|
3850
|
+
version: "2020-06-06",
|
|
3851
|
+
protocol: "HTTPS",
|
|
3852
|
+
pathname: "/",
|
|
3853
|
+
method: "POST",
|
|
3854
|
+
authType: "AK",
|
|
3855
|
+
style: "RPC",
|
|
3856
|
+
reqBodyType: "formData",
|
|
3857
|
+
bodyType: "json",
|
|
3858
|
+
});
|
|
3859
|
+
return $dara.cast<$_model.DeleteWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3864
|
+
*
|
|
3865
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3866
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3867
|
+
*/
|
|
3868
|
+
async deleteWhatsappUserName(request: $_model.DeleteWhatsappUserNameRequest): Promise<$_model.DeleteWhatsappUserNameResponse> {
|
|
3869
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3870
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3871
|
+
}
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* Deprecates a WhatsApp flow.
|
|
3875
|
+
*
|
|
3876
|
+
* @remarks
|
|
3877
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
3590
3878
|
*
|
|
3591
3879
|
* @param request - DeprecateFlowRequest
|
|
3592
3880
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3633,7 +3921,10 @@ export default class Client extends OpenApi {
|
|
|
3633
3921
|
}
|
|
3634
3922
|
|
|
3635
3923
|
/**
|
|
3636
|
-
* Deprecates a
|
|
3924
|
+
* Deprecates a WhatsApp flow.
|
|
3925
|
+
*
|
|
3926
|
+
* @remarks
|
|
3927
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
3637
3928
|
*
|
|
3638
3929
|
* @param request - DeprecateFlowRequest
|
|
3639
3930
|
* @returns DeprecateFlowResponse
|
|
@@ -3644,10 +3935,14 @@ export default class Client extends OpenApi {
|
|
|
3644
3935
|
}
|
|
3645
3936
|
|
|
3646
3937
|
/**
|
|
3647
|
-
* Enables
|
|
3938
|
+
* Enables WhatsApp-related metric collection.
|
|
3648
3939
|
*
|
|
3649
3940
|
* @remarks
|
|
3650
|
-
*
|
|
3941
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3942
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3943
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3944
|
+
* ### QPS limit
|
|
3945
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3651
3946
|
*
|
|
3652
3947
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3653
3948
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3694,10 +3989,14 @@ export default class Client extends OpenApi {
|
|
|
3694
3989
|
}
|
|
3695
3990
|
|
|
3696
3991
|
/**
|
|
3697
|
-
* Enables
|
|
3992
|
+
* Enables WhatsApp-related metric collection.
|
|
3698
3993
|
*
|
|
3699
3994
|
* @remarks
|
|
3700
|
-
*
|
|
3995
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3996
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3997
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3998
|
+
* ### QPS limit
|
|
3999
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3701
4000
|
*
|
|
3702
4001
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3703
4002
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3708,7 +4007,16 @@ export default class Client extends OpenApi {
|
|
|
3708
4007
|
}
|
|
3709
4008
|
|
|
3710
4009
|
/**
|
|
3711
|
-
*
|
|
4010
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
4011
|
+
*
|
|
4012
|
+
* @remarks
|
|
4013
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4014
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
4015
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
4016
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4017
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4018
|
+
* <props="intl">
|
|
4019
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3712
4020
|
*
|
|
3713
4021
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3714
4022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3777,7 +4085,16 @@ export default class Client extends OpenApi {
|
|
|
3777
4085
|
}
|
|
3778
4086
|
|
|
3779
4087
|
/**
|
|
3780
|
-
*
|
|
4088
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
4089
|
+
*
|
|
4090
|
+
* @remarks
|
|
4091
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4092
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
4093
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
4094
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4095
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4096
|
+
* <props="intl">
|
|
4097
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3781
4098
|
*
|
|
3782
4099
|
* @param request - FlowBindPhoneRequest
|
|
3783
4100
|
* @returns FlowBindPhoneResponse
|
|
@@ -3788,7 +4105,12 @@ export default class Client extends OpenApi {
|
|
|
3788
4105
|
}
|
|
3789
4106
|
|
|
3790
4107
|
/**
|
|
3791
|
-
*
|
|
4108
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4109
|
+
*
|
|
4110
|
+
* @remarks
|
|
4111
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4112
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4113
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3792
4114
|
*
|
|
3793
4115
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3794
4116
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3857,7 +4179,12 @@ export default class Client extends OpenApi {
|
|
|
3857
4179
|
}
|
|
3858
4180
|
|
|
3859
4181
|
/**
|
|
3860
|
-
*
|
|
4182
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
4183
|
+
*
|
|
4184
|
+
* @remarks
|
|
4185
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
4186
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4187
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3861
4188
|
*
|
|
3862
4189
|
* @param request - FlowRebindPhoneRequest
|
|
3863
4190
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3868,7 +4195,14 @@ export default class Client extends OpenApi {
|
|
|
3868
4195
|
}
|
|
3869
4196
|
|
|
3870
4197
|
/**
|
|
3871
|
-
*
|
|
4198
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
4199
|
+
*
|
|
4200
|
+
* @remarks
|
|
4201
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
4202
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4203
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
4204
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
4205
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3872
4206
|
*
|
|
3873
4207
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3874
4208
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3929,7 +4263,14 @@ export default class Client extends OpenApi {
|
|
|
3929
4263
|
}
|
|
3930
4264
|
|
|
3931
4265
|
/**
|
|
3932
|
-
*
|
|
4266
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
4267
|
+
*
|
|
4268
|
+
* @remarks
|
|
4269
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
4270
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4271
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
4272
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
4273
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3933
4274
|
*
|
|
3934
4275
|
* @param request - FlowUnbindPhoneRequest
|
|
3935
4276
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3940,7 +4281,7 @@ export default class Client extends OpenApi {
|
|
|
3940
4281
|
}
|
|
3941
4282
|
|
|
3942
4283
|
/**
|
|
3943
|
-
*
|
|
4284
|
+
* Retrieves a temporary URL.
|
|
3944
4285
|
*
|
|
3945
4286
|
* @param request - GeneratePresignedUrlRequest
|
|
3946
4287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3983,7 +4324,7 @@ export default class Client extends OpenApi {
|
|
|
3983
4324
|
}
|
|
3984
4325
|
|
|
3985
4326
|
/**
|
|
3986
|
-
*
|
|
4327
|
+
* Retrieves a temporary URL.
|
|
3987
4328
|
*
|
|
3988
4329
|
* @param request - GeneratePresignedUrlRequest
|
|
3989
4330
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -4052,7 +4393,7 @@ export default class Client extends OpenApi {
|
|
|
4052
4393
|
}
|
|
4053
4394
|
|
|
4054
4395
|
/**
|
|
4055
|
-
*
|
|
4396
|
+
* Retrieves auto-generated templates.
|
|
4056
4397
|
*
|
|
4057
4398
|
* @param request - GetAutoGeneratedTemplateRequest
|
|
4058
4399
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4091,7 +4432,7 @@ export default class Client extends OpenApi {
|
|
|
4091
4432
|
}
|
|
4092
4433
|
|
|
4093
4434
|
/**
|
|
4094
|
-
*
|
|
4435
|
+
* Retrieves auto-generated templates.
|
|
4095
4436
|
*
|
|
4096
4437
|
* @param request - GetAutoGeneratedTemplateRequest
|
|
4097
4438
|
* @returns GetAutoGeneratedTemplateResponse
|
|
@@ -4102,7 +4443,13 @@ export default class Client extends OpenApi {
|
|
|
4102
4443
|
}
|
|
4103
4444
|
|
|
4104
4445
|
/**
|
|
4105
|
-
*
|
|
4446
|
+
* Retrieves ChatFlow runtime data.
|
|
4447
|
+
*
|
|
4448
|
+
* @remarks
|
|
4449
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4450
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4451
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
4452
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
4106
4453
|
*
|
|
4107
4454
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4108
4455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4183,7 +4530,13 @@ export default class Client extends OpenApi {
|
|
|
4183
4530
|
}
|
|
4184
4531
|
|
|
4185
4532
|
/**
|
|
4186
|
-
*
|
|
4533
|
+
* Retrieves ChatFlow runtime data.
|
|
4534
|
+
*
|
|
4535
|
+
* @remarks
|
|
4536
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4537
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4538
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
4539
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
4187
4540
|
*
|
|
4188
4541
|
* @param request - GetChatFlowMetricRequest
|
|
4189
4542
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4194,7 +4547,11 @@ export default class Client extends OpenApi {
|
|
|
4194
4547
|
}
|
|
4195
4548
|
|
|
4196
4549
|
/**
|
|
4197
|
-
*
|
|
4550
|
+
* Queries the details of a flow template.
|
|
4551
|
+
*
|
|
4552
|
+
* @remarks
|
|
4553
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4554
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
4198
4555
|
*
|
|
4199
4556
|
* @param request - GetChatFlowTemplateRequest
|
|
4200
4557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4241,7 +4598,11 @@ export default class Client extends OpenApi {
|
|
|
4241
4598
|
}
|
|
4242
4599
|
|
|
4243
4600
|
/**
|
|
4244
|
-
*
|
|
4601
|
+
* Queries the details of a flow template.
|
|
4602
|
+
*
|
|
4603
|
+
* @remarks
|
|
4604
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4605
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
4245
4606
|
*
|
|
4246
4607
|
* @param request - GetChatFlowTemplateRequest
|
|
4247
4608
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4252,7 +4613,7 @@ export default class Client extends OpenApi {
|
|
|
4252
4613
|
}
|
|
4253
4614
|
|
|
4254
4615
|
/**
|
|
4255
|
-
*
|
|
4616
|
+
* Queries the activation status of ChatApp.
|
|
4256
4617
|
*
|
|
4257
4618
|
* @param request - GetChatappOpenStatusRequest
|
|
4258
4619
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4291,7 +4652,7 @@ export default class Client extends OpenApi {
|
|
|
4291
4652
|
}
|
|
4292
4653
|
|
|
4293
4654
|
/**
|
|
4294
|
-
*
|
|
4655
|
+
* Queries the activation status of ChatApp.
|
|
4295
4656
|
*
|
|
4296
4657
|
* @param request - GetChatappOpenStatusRequest
|
|
4297
4658
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -4302,10 +4663,15 @@ export default class Client extends OpenApi {
|
|
|
4302
4663
|
}
|
|
4303
4664
|
|
|
4304
4665
|
/**
|
|
4305
|
-
* Queries the
|
|
4666
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4306
4667
|
*
|
|
4307
4668
|
* @remarks
|
|
4308
|
-
*
|
|
4669
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4670
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4671
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4672
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4673
|
+
* ### QPS limit
|
|
4674
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4309
4675
|
*
|
|
4310
4676
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4311
4677
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4368,10 +4734,15 @@ export default class Client extends OpenApi {
|
|
|
4368
4734
|
}
|
|
4369
4735
|
|
|
4370
4736
|
/**
|
|
4371
|
-
* Queries the
|
|
4737
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
4372
4738
|
*
|
|
4373
4739
|
* @remarks
|
|
4374
|
-
*
|
|
4740
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4741
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4742
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4743
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4744
|
+
* ### QPS limit
|
|
4745
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4375
4746
|
*
|
|
4376
4747
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
4377
4748
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -4382,7 +4753,7 @@ export default class Client extends OpenApi {
|
|
|
4382
4753
|
}
|
|
4383
4754
|
|
|
4384
4755
|
/**
|
|
4385
|
-
*
|
|
4756
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4386
4757
|
*
|
|
4387
4758
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4388
4759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4429,7 +4800,7 @@ export default class Client extends OpenApi {
|
|
|
4429
4800
|
}
|
|
4430
4801
|
|
|
4431
4802
|
/**
|
|
4432
|
-
*
|
|
4803
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
4433
4804
|
*
|
|
4434
4805
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4435
4806
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4440,11 +4811,11 @@ export default class Client extends OpenApi {
|
|
|
4440
4811
|
}
|
|
4441
4812
|
|
|
4442
4813
|
/**
|
|
4443
|
-
*
|
|
4814
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4444
4815
|
*
|
|
4445
4816
|
* @remarks
|
|
4446
4817
|
* ### QPS limit
|
|
4447
|
-
*
|
|
4818
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
4448
4819
|
*
|
|
4449
4820
|
* @param request - GetChatappTemplateDetailRequest
|
|
4450
4821
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4499,11 +4870,11 @@ export default class Client extends OpenApi {
|
|
|
4499
4870
|
}
|
|
4500
4871
|
|
|
4501
4872
|
/**
|
|
4502
|
-
*
|
|
4873
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
4503
4874
|
*
|
|
4504
4875
|
* @remarks
|
|
4505
4876
|
* ### QPS limit
|
|
4506
|
-
*
|
|
4877
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
4507
4878
|
*
|
|
4508
4879
|
* @param request - GetChatappTemplateDetailRequest
|
|
4509
4880
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4514,10 +4885,14 @@ export default class Client extends OpenApi {
|
|
|
4514
4885
|
}
|
|
4515
4886
|
|
|
4516
4887
|
/**
|
|
4517
|
-
*
|
|
4888
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4518
4889
|
*
|
|
4519
4890
|
* @remarks
|
|
4520
|
-
*
|
|
4891
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4892
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4893
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4894
|
+
* ### QPS limit
|
|
4895
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4521
4896
|
*
|
|
4522
4897
|
* @param request - GetChatappTemplateMetricRequest
|
|
4523
4898
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4588,10 +4963,14 @@ export default class Client extends OpenApi {
|
|
|
4588
4963
|
}
|
|
4589
4964
|
|
|
4590
4965
|
/**
|
|
4591
|
-
*
|
|
4966
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4592
4967
|
*
|
|
4593
4968
|
* @remarks
|
|
4594
|
-
*
|
|
4969
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4970
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4971
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4972
|
+
* ### QPS limit
|
|
4973
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4595
4974
|
*
|
|
4596
4975
|
* @param request - GetChatappTemplateMetricRequest
|
|
4597
4976
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -4605,7 +4984,7 @@ export default class Client extends OpenApi {
|
|
|
4605
4984
|
* Obtains the authentication information that is used to upload a file.
|
|
4606
4985
|
*
|
|
4607
4986
|
* @remarks
|
|
4608
|
-
*
|
|
4987
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
4609
4988
|
*
|
|
4610
4989
|
* @param request - GetChatappUploadAuthorizationRequest
|
|
4611
4990
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4651,7 +5030,7 @@ export default class Client extends OpenApi {
|
|
|
4651
5030
|
* Obtains the authentication information that is used to upload a file.
|
|
4652
5031
|
*
|
|
4653
5032
|
* @remarks
|
|
4654
|
-
*
|
|
5033
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
4655
5034
|
*
|
|
4656
5035
|
* @param request - GetChatappUploadAuthorizationRequest
|
|
4657
5036
|
* @returns GetChatappUploadAuthorizationResponse
|
|
@@ -4662,10 +5041,10 @@ export default class Client extends OpenApi {
|
|
|
4662
5041
|
}
|
|
4663
5042
|
|
|
4664
5043
|
/**
|
|
4665
|
-
*
|
|
5044
|
+
* Requests a verification code to be sent to the specified phone number.
|
|
4666
5045
|
*
|
|
4667
5046
|
* @remarks
|
|
4668
|
-
*
|
|
5047
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
4669
5048
|
*
|
|
4670
5049
|
* @param request - GetChatappVerifyCodeRequest
|
|
4671
5050
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4720,10 +5099,10 @@ export default class Client extends OpenApi {
|
|
|
4720
5099
|
}
|
|
4721
5100
|
|
|
4722
5101
|
/**
|
|
4723
|
-
*
|
|
5102
|
+
* Requests a verification code to be sent to the specified phone number.
|
|
4724
5103
|
*
|
|
4725
5104
|
* @remarks
|
|
4726
|
-
*
|
|
5105
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
4727
5106
|
*
|
|
4728
5107
|
* @param request - GetChatappVerifyCodeRequest
|
|
4729
5108
|
* @returns GetChatappVerifyCodeResponse
|
|
@@ -4737,7 +5116,7 @@ export default class Client extends OpenApi {
|
|
|
4737
5116
|
* Queries the business settings of a phone number.
|
|
4738
5117
|
*
|
|
4739
5118
|
* @remarks
|
|
4740
|
-
*
|
|
5119
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
4741
5120
|
*
|
|
4742
5121
|
* @param request - GetCommerceSettingRequest
|
|
4743
5122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4787,7 +5166,7 @@ export default class Client extends OpenApi {
|
|
|
4787
5166
|
* Queries the business settings of a phone number.
|
|
4788
5167
|
*
|
|
4789
5168
|
* @remarks
|
|
4790
|
-
*
|
|
5169
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
4791
5170
|
*
|
|
4792
5171
|
* @param request - GetCommerceSettingRequest
|
|
4793
5172
|
* @returns GetCommerceSettingResponse
|
|
@@ -4798,12 +5177,12 @@ export default class Client extends OpenApi {
|
|
|
4798
5177
|
}
|
|
4799
5178
|
|
|
4800
5179
|
/**
|
|
4801
|
-
*
|
|
5180
|
+
* Queries the conversational automation settings for a phone number.
|
|
4802
5181
|
*
|
|
4803
5182
|
* @remarks
|
|
4804
5183
|
* ### [](#qps-)QPS limit
|
|
4805
|
-
*
|
|
4806
|
-
* This operation
|
|
5184
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5185
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
4807
5186
|
*
|
|
4808
5187
|
* @param request - GetConversationalAutomationRequest
|
|
4809
5188
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4850,12 +5229,12 @@ export default class Client extends OpenApi {
|
|
|
4850
5229
|
}
|
|
4851
5230
|
|
|
4852
5231
|
/**
|
|
4853
|
-
*
|
|
5232
|
+
* Queries the conversational automation settings for a phone number.
|
|
4854
5233
|
*
|
|
4855
5234
|
* @remarks
|
|
4856
5235
|
* ### [](#qps-)QPS limit
|
|
4857
|
-
*
|
|
4858
|
-
* This operation
|
|
5236
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5237
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
4859
5238
|
*
|
|
4860
5239
|
* @param request - GetConversationalAutomationRequest
|
|
4861
5240
|
* @returns GetConversationalAutomationResponse
|
|
@@ -4866,7 +5245,7 @@ export default class Client extends OpenApi {
|
|
|
4866
5245
|
}
|
|
4867
5246
|
|
|
4868
5247
|
/**
|
|
4869
|
-
*
|
|
5248
|
+
* Queries the source site of a customer.
|
|
4870
5249
|
*
|
|
4871
5250
|
* @param request - GetCustomerSiteRequest
|
|
4872
5251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4905,7 +5284,7 @@ export default class Client extends OpenApi {
|
|
|
4905
5284
|
}
|
|
4906
5285
|
|
|
4907
5286
|
/**
|
|
4908
|
-
*
|
|
5287
|
+
* Queries the source site of a customer.
|
|
4909
5288
|
*
|
|
4910
5289
|
* @param request - GetCustomerSiteRequest
|
|
4911
5290
|
* @returns GetCustomerSiteResponse
|
|
@@ -5128,10 +5507,13 @@ export default class Client extends OpenApi {
|
|
|
5128
5507
|
}
|
|
5129
5508
|
|
|
5130
5509
|
/**
|
|
5131
|
-
* Queries the
|
|
5510
|
+
* Queries the details of a WhatsApp flow, including its status, name, categories, and preview URL.
|
|
5132
5511
|
*
|
|
5133
5512
|
* @remarks
|
|
5134
|
-
*
|
|
5513
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
5514
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5515
|
+
* #### QPS limit
|
|
5516
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5135
5517
|
*
|
|
5136
5518
|
* @param request - GetFlowRequest
|
|
5137
5519
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5178,10 +5560,13 @@ export default class Client extends OpenApi {
|
|
|
5178
5560
|
}
|
|
5179
5561
|
|
|
5180
5562
|
/**
|
|
5181
|
-
* Queries the
|
|
5563
|
+
* Queries the details of a WhatsApp flow, including its status, name, categories, and preview URL.
|
|
5182
5564
|
*
|
|
5183
5565
|
* @remarks
|
|
5184
|
-
*
|
|
5566
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
5567
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5568
|
+
* #### QPS limit
|
|
5569
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5185
5570
|
*
|
|
5186
5571
|
* @param request - GetFlowRequest
|
|
5187
5572
|
* @returns GetFlowResponse
|
|
@@ -5192,7 +5577,13 @@ export default class Client extends OpenApi {
|
|
|
5192
5577
|
}
|
|
5193
5578
|
|
|
5194
5579
|
/**
|
|
5195
|
-
* Queries the JSON content of a
|
|
5580
|
+
* Queries the JSON content of a WhatsApp flow.
|
|
5581
|
+
*
|
|
5582
|
+
* @remarks
|
|
5583
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
5584
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5585
|
+
* #### QPS limit
|
|
5586
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5196
5587
|
*
|
|
5197
5588
|
* @param request - GetFlowJSONAssestRequest
|
|
5198
5589
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5239,7 +5630,13 @@ export default class Client extends OpenApi {
|
|
|
5239
5630
|
}
|
|
5240
5631
|
|
|
5241
5632
|
/**
|
|
5242
|
-
* Queries the JSON content of a
|
|
5633
|
+
* Queries the JSON content of a WhatsApp flow.
|
|
5634
|
+
*
|
|
5635
|
+
* @remarks
|
|
5636
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
5637
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5638
|
+
* #### QPS limit
|
|
5639
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5243
5640
|
*
|
|
5244
5641
|
* @param request - GetFlowJSONAssestRequest
|
|
5245
5642
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -5250,10 +5647,14 @@ export default class Client extends OpenApi {
|
|
|
5250
5647
|
}
|
|
5251
5648
|
|
|
5252
5649
|
/**
|
|
5253
|
-
*
|
|
5650
|
+
* Generates a temporary preview URL for a WhatsApp flow.
|
|
5254
5651
|
*
|
|
5255
5652
|
* @remarks
|
|
5256
|
-
*
|
|
5653
|
+
* - After you create a WhatsApp flow, call this operation to generate a temporary preview URL for the flow.
|
|
5654
|
+
* - Before you call this operation, make sure that you have created a WhatsApp flow.
|
|
5655
|
+
* - If you do not have a WhatsApp flow, you can call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5656
|
+
* #### QPS limit
|
|
5657
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5257
5658
|
*
|
|
5258
5659
|
* @param request - GetFlowPreviewUrlRequest
|
|
5259
5660
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5300,10 +5701,14 @@ export default class Client extends OpenApi {
|
|
|
5300
5701
|
}
|
|
5301
5702
|
|
|
5302
5703
|
/**
|
|
5303
|
-
*
|
|
5704
|
+
* Generates a temporary preview URL for a WhatsApp flow.
|
|
5304
5705
|
*
|
|
5305
5706
|
* @remarks
|
|
5306
|
-
*
|
|
5707
|
+
* - After you create a WhatsApp flow, call this operation to generate a temporary preview URL for the flow.
|
|
5708
|
+
* - Before you call this operation, make sure that you have created a WhatsApp flow.
|
|
5709
|
+
* - If you do not have a WhatsApp flow, you can call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
5710
|
+
* #### QPS limit
|
|
5711
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
5307
5712
|
*
|
|
5308
5713
|
* @param request - GetFlowPreviewUrlRequest
|
|
5309
5714
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5382,7 +5787,7 @@ export default class Client extends OpenApi {
|
|
|
5382
5787
|
}
|
|
5383
5788
|
|
|
5384
5789
|
/**
|
|
5385
|
-
*
|
|
5790
|
+
* Retrieves campaign metrics.
|
|
5386
5791
|
*
|
|
5387
5792
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5388
5793
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5437,7 +5842,7 @@ export default class Client extends OpenApi {
|
|
|
5437
5842
|
}
|
|
5438
5843
|
|
|
5439
5844
|
/**
|
|
5440
|
-
*
|
|
5845
|
+
* Retrieves campaign metrics.
|
|
5441
5846
|
*
|
|
5442
5847
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5443
5848
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -5448,10 +5853,10 @@ export default class Client extends OpenApi {
|
|
|
5448
5853
|
}
|
|
5449
5854
|
|
|
5450
5855
|
/**
|
|
5451
|
-
*
|
|
5856
|
+
* Retrieves the verification code for a migration phone number.
|
|
5452
5857
|
*
|
|
5453
5858
|
* @remarks
|
|
5454
|
-
* The single
|
|
5859
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
5455
5860
|
*
|
|
5456
5861
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5457
5862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5506,10 +5911,10 @@ export default class Client extends OpenApi {
|
|
|
5506
5911
|
}
|
|
5507
5912
|
|
|
5508
5913
|
/**
|
|
5509
|
-
*
|
|
5914
|
+
* Retrieves the verification code for a migration phone number.
|
|
5510
5915
|
*
|
|
5511
5916
|
* @remarks
|
|
5512
|
-
* The single
|
|
5917
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
5513
5918
|
*
|
|
5514
5919
|
* @param request - GetMigrationVerifyCodeRequest
|
|
5515
5920
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -5520,7 +5925,10 @@ export default class Client extends OpenApi {
|
|
|
5520
5925
|
}
|
|
5521
5926
|
|
|
5522
5927
|
/**
|
|
5523
|
-
* Obtains permissions
|
|
5928
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5929
|
+
*
|
|
5930
|
+
* @remarks
|
|
5931
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5524
5932
|
*
|
|
5525
5933
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
5526
5934
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5577,7 +5985,10 @@ export default class Client extends OpenApi {
|
|
|
5577
5985
|
}
|
|
5578
5986
|
|
|
5579
5987
|
/**
|
|
5580
|
-
* Obtains permissions
|
|
5988
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5989
|
+
*
|
|
5990
|
+
* @remarks
|
|
5991
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5581
5992
|
*
|
|
5582
5993
|
* @param request - GetPermissionByCodeRequest
|
|
5583
5994
|
* @returns GetPermissionByCodeResponse
|
|
@@ -5588,7 +5999,13 @@ export default class Client extends OpenApi {
|
|
|
5588
5999
|
}
|
|
5589
6000
|
|
|
5590
6001
|
/**
|
|
5591
|
-
*
|
|
6002
|
+
* Retrieves the encryption public key of a phone number.
|
|
6003
|
+
*
|
|
6004
|
+
* @remarks
|
|
6005
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6006
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
6007
|
+
* #### QPS limit
|
|
6008
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5592
6009
|
*
|
|
5593
6010
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5594
6011
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5635,7 +6052,13 @@ export default class Client extends OpenApi {
|
|
|
5635
6052
|
}
|
|
5636
6053
|
|
|
5637
6054
|
/**
|
|
5638
|
-
*
|
|
6055
|
+
* Retrieves the encryption public key of a phone number.
|
|
6056
|
+
*
|
|
6057
|
+
* @remarks
|
|
6058
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
6059
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
6060
|
+
* #### QPS limit
|
|
6061
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5639
6062
|
*
|
|
5640
6063
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5641
6064
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5646,10 +6069,13 @@ export default class Client extends OpenApi {
|
|
|
5646
6069
|
}
|
|
5647
6070
|
|
|
5648
6071
|
/**
|
|
5649
|
-
*
|
|
6072
|
+
* Retrieves the verification status of a phone number.
|
|
5650
6073
|
*
|
|
5651
6074
|
* @remarks
|
|
5652
|
-
* You can call this operation
|
|
6075
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status on the <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6076
|
+
* - Before calling this operation, add a phone number to your WhatsApp Business Account (WABA) and submit it for verification.
|
|
6077
|
+
* - If you have not added a phone number to your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to obtain a verification code and register the number.
|
|
6078
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5653
6079
|
*
|
|
5654
6080
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5655
6081
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5696,10 +6122,13 @@ export default class Client extends OpenApi {
|
|
|
5696
6122
|
}
|
|
5697
6123
|
|
|
5698
6124
|
/**
|
|
5699
|
-
*
|
|
6125
|
+
* Retrieves the verification status of a phone number.
|
|
5700
6126
|
*
|
|
5701
6127
|
* @remarks
|
|
5702
|
-
* You can call this operation
|
|
6128
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status on the <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6129
|
+
* - Before calling this operation, add a phone number to your WhatsApp Business Account (WABA) and submit it for verification.
|
|
6130
|
+
* - If you have not added a phone number to your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) APIs to obtain a verification code and register the number.
|
|
6131
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5703
6132
|
*
|
|
5704
6133
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5705
6134
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5710,7 +6139,7 @@ export default class Client extends OpenApi {
|
|
|
5710
6139
|
}
|
|
5711
6140
|
|
|
5712
6141
|
/**
|
|
5713
|
-
*
|
|
6142
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5714
6143
|
*
|
|
5715
6144
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5716
6145
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5757,7 +6186,7 @@ export default class Client extends OpenApi {
|
|
|
5757
6186
|
}
|
|
5758
6187
|
|
|
5759
6188
|
/**
|
|
5760
|
-
*
|
|
6189
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5761
6190
|
*
|
|
5762
6191
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5763
6192
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -5768,10 +6197,10 @@ export default class Client extends OpenApi {
|
|
|
5768
6197
|
}
|
|
5769
6198
|
|
|
5770
6199
|
/**
|
|
5771
|
-
*
|
|
6200
|
+
* Gets the ID for a pre-validated phone number. Use this ID to select the number in the Embedded Signup flow without obtaining a new verification code.
|
|
5772
6201
|
*
|
|
5773
6202
|
* @remarks
|
|
5774
|
-
*
|
|
6203
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
5775
6204
|
*
|
|
5776
6205
|
* @param request - GetPreValidatePhoneIdRequest
|
|
5777
6206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5806,10 +6235,10 @@ export default class Client extends OpenApi {
|
|
|
5806
6235
|
}
|
|
5807
6236
|
|
|
5808
6237
|
/**
|
|
5809
|
-
*
|
|
6238
|
+
* Gets the ID for a pre-validated phone number. Use this ID to select the number in the Embedded Signup flow without obtaining a new verification code.
|
|
5810
6239
|
*
|
|
5811
6240
|
* @remarks
|
|
5812
|
-
*
|
|
6241
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
5813
6242
|
*
|
|
5814
6243
|
* @param request - GetPreValidatePhoneIdRequest
|
|
5815
6244
|
* @returns GetPreValidatePhoneIdResponse
|
|
@@ -5820,7 +6249,7 @@ export default class Client extends OpenApi {
|
|
|
5820
6249
|
}
|
|
5821
6250
|
|
|
5822
6251
|
/**
|
|
5823
|
-
*
|
|
6252
|
+
* Retrieves the application by its requestNo.
|
|
5824
6253
|
*
|
|
5825
6254
|
* @param request - GetViberByRequestNoRequest
|
|
5826
6255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5867,7 +6296,7 @@ export default class Client extends OpenApi {
|
|
|
5867
6296
|
}
|
|
5868
6297
|
|
|
5869
6298
|
/**
|
|
5870
|
-
*
|
|
6299
|
+
* Retrieves the application by its requestNo.
|
|
5871
6300
|
*
|
|
5872
6301
|
* @param request - GetViberByRequestNoRequest
|
|
5873
6302
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5935,7 +6364,7 @@ export default class Client extends OpenApi {
|
|
|
5935
6364
|
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
5936
6365
|
*
|
|
5937
6366
|
* @remarks
|
|
5938
|
-
*
|
|
6367
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5939
6368
|
*
|
|
5940
6369
|
* @param request - GetWhatsappConnectionCatalogRequest
|
|
5941
6370
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5985,7 +6414,7 @@ export default class Client extends OpenApi {
|
|
|
5985
6414
|
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
5986
6415
|
*
|
|
5987
6416
|
* @remarks
|
|
5988
|
-
*
|
|
6417
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
5989
6418
|
*
|
|
5990
6419
|
* @param request - GetWhatsappConnectionCatalogRequest
|
|
5991
6420
|
* @returns GetWhatsappConnectionCatalogResponse
|
|
@@ -6054,8 +6483,8 @@ export default class Client extends OpenApi {
|
|
|
6054
6483
|
*
|
|
6055
6484
|
* @remarks
|
|
6056
6485
|
* ### [](#qps-)QPS limit
|
|
6057
|
-
*
|
|
6058
|
-
* This operation
|
|
6486
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
6487
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
6059
6488
|
*
|
|
6060
6489
|
* @param request - GetWhatsappHealthStatusRequest
|
|
6061
6490
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6122,8 +6551,8 @@ export default class Client extends OpenApi {
|
|
|
6122
6551
|
*
|
|
6123
6552
|
* @remarks
|
|
6124
6553
|
* ### [](#qps-)QPS limit
|
|
6125
|
-
*
|
|
6126
|
-
* This operation
|
|
6554
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
6555
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
6127
6556
|
*
|
|
6128
6557
|
* @param request - GetWhatsappHealthStatusRequest
|
|
6129
6558
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -6134,10 +6563,102 @@ export default class Client extends OpenApi {
|
|
|
6134
6563
|
}
|
|
6135
6564
|
|
|
6136
6565
|
/**
|
|
6137
|
-
*
|
|
6566
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6567
|
+
*
|
|
6568
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6569
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6570
|
+
* @returns GetWhatsappUserNameResponse
|
|
6571
|
+
*/
|
|
6572
|
+
async getWhatsappUserNameWithOptions(request: $_model.GetWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6573
|
+
request.validate();
|
|
6574
|
+
let query = { };
|
|
6575
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6576
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6577
|
+
}
|
|
6578
|
+
|
|
6579
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6580
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6583
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6584
|
+
query: OpenApiUtil.query(query),
|
|
6585
|
+
});
|
|
6586
|
+
let params = new $OpenApiUtil.Params({
|
|
6587
|
+
action: "GetWhatsappUserName",
|
|
6588
|
+
version: "2020-06-06",
|
|
6589
|
+
protocol: "HTTPS",
|
|
6590
|
+
pathname: "/",
|
|
6591
|
+
method: "POST",
|
|
6592
|
+
authType: "AK",
|
|
6593
|
+
style: "RPC",
|
|
6594
|
+
reqBodyType: "formData",
|
|
6595
|
+
bodyType: "json",
|
|
6596
|
+
});
|
|
6597
|
+
return $dara.cast<$_model.GetWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
6598
|
+
}
|
|
6599
|
+
|
|
6600
|
+
/**
|
|
6601
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
6602
|
+
*
|
|
6603
|
+
* @param request - GetWhatsappUserNameRequest
|
|
6604
|
+
* @returns GetWhatsappUserNameResponse
|
|
6605
|
+
*/
|
|
6606
|
+
async getWhatsappUserName(request: $_model.GetWhatsappUserNameRequest): Promise<$_model.GetWhatsappUserNameResponse> {
|
|
6607
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6608
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
6609
|
+
}
|
|
6610
|
+
|
|
6611
|
+
/**
|
|
6612
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6613
|
+
*
|
|
6614
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6615
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6616
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6617
|
+
*/
|
|
6618
|
+
async getWhatsappUserNameSuggestionsWithOptions(request: $_model.GetWhatsappUserNameSuggestionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6619
|
+
request.validate();
|
|
6620
|
+
let query = { };
|
|
6621
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
6622
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
6623
|
+
}
|
|
6624
|
+
|
|
6625
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6626
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6627
|
+
}
|
|
6628
|
+
|
|
6629
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6630
|
+
query: OpenApiUtil.query(query),
|
|
6631
|
+
});
|
|
6632
|
+
let params = new $OpenApiUtil.Params({
|
|
6633
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
6634
|
+
version: "2020-06-06",
|
|
6635
|
+
protocol: "HTTPS",
|
|
6636
|
+
pathname: "/",
|
|
6637
|
+
method: "POST",
|
|
6638
|
+
authType: "AK",
|
|
6639
|
+
style: "RPC",
|
|
6640
|
+
reqBodyType: "formData",
|
|
6641
|
+
bodyType: "json",
|
|
6642
|
+
});
|
|
6643
|
+
return $dara.cast<$_model.GetWhatsappUserNameSuggestionsResponse>(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
6644
|
+
}
|
|
6645
|
+
|
|
6646
|
+
/**
|
|
6647
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
6648
|
+
*
|
|
6649
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
6650
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
6651
|
+
*/
|
|
6652
|
+
async getWhatsappUserNameSuggestions(request: $_model.GetWhatsappUserNameSuggestionsRequest): Promise<$_model.GetWhatsappUserNameSuggestionsResponse> {
|
|
6653
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6654
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
6655
|
+
}
|
|
6656
|
+
|
|
6657
|
+
/**
|
|
6658
|
+
* Retrieves the App ID for an ISV.
|
|
6138
6659
|
*
|
|
6139
6660
|
* @remarks
|
|
6140
|
-
*
|
|
6661
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
6141
6662
|
*
|
|
6142
6663
|
* @param request - IsvGetAppIdRequest
|
|
6143
6664
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6188,10 +6709,10 @@ export default class Client extends OpenApi {
|
|
|
6188
6709
|
}
|
|
6189
6710
|
|
|
6190
6711
|
/**
|
|
6191
|
-
*
|
|
6712
|
+
* Retrieves the App ID for an ISV.
|
|
6192
6713
|
*
|
|
6193
6714
|
* @remarks
|
|
6194
|
-
*
|
|
6715
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
6195
6716
|
*
|
|
6196
6717
|
* @param request - IsvGetAppIdRequest
|
|
6197
6718
|
* @returns IsvGetAppIdResponse
|
|
@@ -6320,12 +6841,12 @@ export default class Client extends OpenApi {
|
|
|
6320
6841
|
}
|
|
6321
6842
|
|
|
6322
6843
|
/**
|
|
6323
|
-
*
|
|
6844
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6324
6845
|
*
|
|
6325
6846
|
* @remarks
|
|
6326
|
-
* - You can call this
|
|
6327
|
-
* - Before
|
|
6328
|
-
* - If
|
|
6847
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6848
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6849
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
6329
6850
|
*
|
|
6330
6851
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6331
6852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6372,12 +6893,12 @@ export default class Client extends OpenApi {
|
|
|
6372
6893
|
}
|
|
6373
6894
|
|
|
6374
6895
|
/**
|
|
6375
|
-
*
|
|
6896
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
6376
6897
|
*
|
|
6377
6898
|
* @remarks
|
|
6378
|
-
* - You can call this
|
|
6379
|
-
* - Before
|
|
6380
|
-
* - If
|
|
6899
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6900
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6901
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
6381
6902
|
*
|
|
6382
6903
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6383
6904
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6388,7 +6909,13 @@ export default class Client extends OpenApi {
|
|
|
6388
6909
|
}
|
|
6389
6910
|
|
|
6390
6911
|
/**
|
|
6391
|
-
*
|
|
6912
|
+
* Lists flows.
|
|
6913
|
+
*
|
|
6914
|
+
* @remarks
|
|
6915
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6916
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6917
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
6918
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
6392
6919
|
*
|
|
6393
6920
|
* @param tmpReq - ListChatFlowRequest
|
|
6394
6921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6465,7 +6992,13 @@ export default class Client extends OpenApi {
|
|
|
6465
6992
|
}
|
|
6466
6993
|
|
|
6467
6994
|
/**
|
|
6468
|
-
*
|
|
6995
|
+
* Lists flows.
|
|
6996
|
+
*
|
|
6997
|
+
* @remarks
|
|
6998
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6999
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
7000
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
7001
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
6469
7002
|
*
|
|
6470
7003
|
* @param request - ListChatFlowRequest
|
|
6471
7004
|
* @returns ListChatFlowResponse
|
|
@@ -6476,7 +7009,11 @@ export default class Client extends OpenApi {
|
|
|
6476
7009
|
}
|
|
6477
7010
|
|
|
6478
7011
|
/**
|
|
6479
|
-
*
|
|
7012
|
+
* Lists flow templates.
|
|
7013
|
+
*
|
|
7014
|
+
* @remarks
|
|
7015
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
7016
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
6480
7017
|
*
|
|
6481
7018
|
* @param request - ListChatFlowTemplateRequest
|
|
6482
7019
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6535,7 +7072,11 @@ export default class Client extends OpenApi {
|
|
|
6535
7072
|
}
|
|
6536
7073
|
|
|
6537
7074
|
/**
|
|
6538
|
-
*
|
|
7075
|
+
* Lists flow templates.
|
|
7076
|
+
*
|
|
7077
|
+
* @remarks
|
|
7078
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
7079
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
6539
7080
|
*
|
|
6540
7081
|
* @param request - ListChatFlowTemplateRequest
|
|
6541
7082
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6546,7 +7087,13 @@ export default class Client extends OpenApi {
|
|
|
6546
7087
|
}
|
|
6547
7088
|
|
|
6548
7089
|
/**
|
|
6549
|
-
*
|
|
7090
|
+
* Retrieves the list of IM groups.
|
|
7091
|
+
*
|
|
7092
|
+
* @remarks
|
|
7093
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7094
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7095
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
7096
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
6550
7097
|
*
|
|
6551
7098
|
* @param tmpReq - ListChatGroupRequest
|
|
6552
7099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6623,7 +7170,13 @@ export default class Client extends OpenApi {
|
|
|
6623
7170
|
}
|
|
6624
7171
|
|
|
6625
7172
|
/**
|
|
6626
|
-
*
|
|
7173
|
+
* Retrieves the list of IM groups.
|
|
7174
|
+
*
|
|
7175
|
+
* @remarks
|
|
7176
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7177
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
7178
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
7179
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
6627
7180
|
*
|
|
6628
7181
|
* @param request - ListChatGroupRequest
|
|
6629
7182
|
* @returns ListChatGroupResponse
|
|
@@ -6634,7 +7187,13 @@ export default class Client extends OpenApi {
|
|
|
6634
7187
|
}
|
|
6635
7188
|
|
|
6636
7189
|
/**
|
|
6637
|
-
*
|
|
7190
|
+
* Lists the members of an IM group.
|
|
7191
|
+
*
|
|
7192
|
+
* @remarks
|
|
7193
|
+
* >Notice:
|
|
7194
|
+
* This operation is an internal preview feature. Contact your account manager to request access.
|
|
7195
|
+
* - Before calling this operation, ensure you have created an IM group with an invitation link, and that members have joined by using that link.
|
|
7196
|
+
* - 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.
|
|
6638
7197
|
*
|
|
6639
7198
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6640
7199
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6699,7 +7258,13 @@ export default class Client extends OpenApi {
|
|
|
6699
7258
|
}
|
|
6700
7259
|
|
|
6701
7260
|
/**
|
|
6702
|
-
*
|
|
7261
|
+
* Lists the members of an IM group.
|
|
7262
|
+
*
|
|
7263
|
+
* @remarks
|
|
7264
|
+
* >Notice:
|
|
7265
|
+
* This operation is an internal preview feature. Contact your account manager to request access.
|
|
7266
|
+
* - Before calling this operation, ensure you have created an IM group with an invitation link, and that members have joined by using that link.
|
|
7267
|
+
* - 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.
|
|
6703
7268
|
*
|
|
6704
7269
|
* @param request - ListChatGroupParticipantsRequest
|
|
6705
7270
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6710,7 +7275,12 @@ export default class Client extends OpenApi {
|
|
|
6710
7275
|
}
|
|
6711
7276
|
|
|
6712
7277
|
/**
|
|
6713
|
-
*
|
|
7278
|
+
* Queries the message list.
|
|
7279
|
+
*
|
|
7280
|
+
* @remarks
|
|
7281
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7282
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7283
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
6714
7284
|
*
|
|
6715
7285
|
* @param tmpReq - ListChatappMessageRequest
|
|
6716
7286
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6811,7 +7381,12 @@ export default class Client extends OpenApi {
|
|
|
6811
7381
|
}
|
|
6812
7382
|
|
|
6813
7383
|
/**
|
|
6814
|
-
*
|
|
7384
|
+
* Queries the message list.
|
|
7385
|
+
*
|
|
7386
|
+
* @remarks
|
|
7387
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7388
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
7389
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
6815
7390
|
*
|
|
6816
7391
|
* @param request - ListChatappMessageRequest
|
|
6817
7392
|
* @returns ListChatappMessageResponse
|
|
@@ -6826,7 +7401,7 @@ export default class Client extends OpenApi {
|
|
|
6826
7401
|
*
|
|
6827
7402
|
* @remarks
|
|
6828
7403
|
* ### QPS limit
|
|
6829
|
-
*
|
|
7404
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
6830
7405
|
*
|
|
6831
7406
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6832
7407
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6915,7 +7490,7 @@ export default class Client extends OpenApi {
|
|
|
6915
7490
|
*
|
|
6916
7491
|
* @remarks
|
|
6917
7492
|
* ### QPS limit
|
|
6918
|
-
*
|
|
7493
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
6919
7494
|
*
|
|
6920
7495
|
* @param request - ListChatappTemplateRequest
|
|
6921
7496
|
* @returns ListChatappTemplateResponse
|
|
@@ -6926,7 +7501,7 @@ export default class Client extends OpenApi {
|
|
|
6926
7501
|
}
|
|
6927
7502
|
|
|
6928
7503
|
/**
|
|
6929
|
-
*
|
|
7504
|
+
* Queries a list of custom audiences.
|
|
6930
7505
|
*
|
|
6931
7506
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6932
7507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6999,7 +7574,7 @@ export default class Client extends OpenApi {
|
|
|
6999
7574
|
}
|
|
7000
7575
|
|
|
7001
7576
|
/**
|
|
7002
|
-
*
|
|
7577
|
+
* Queries a list of custom audiences.
|
|
7003
7578
|
*
|
|
7004
7579
|
* @param request - ListCustomAudienceRequest
|
|
7005
7580
|
* @returns ListCustomAudienceResponse
|
|
@@ -7010,7 +7585,7 @@ export default class Client extends OpenApi {
|
|
|
7010
7585
|
}
|
|
7011
7586
|
|
|
7012
7587
|
/**
|
|
7013
|
-
*
|
|
7588
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7014
7589
|
*
|
|
7015
7590
|
* @param request - ListDmAccountRequest
|
|
7016
7591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7065,7 +7640,7 @@ export default class Client extends OpenApi {
|
|
|
7065
7640
|
}
|
|
7066
7641
|
|
|
7067
7642
|
/**
|
|
7068
|
-
*
|
|
7643
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
7069
7644
|
*
|
|
7070
7645
|
* @param request - ListDmAccountRequest
|
|
7071
7646
|
* @returns ListDmAccountResponse
|
|
@@ -7138,7 +7713,7 @@ export default class Client extends OpenApi {
|
|
|
7138
7713
|
}
|
|
7139
7714
|
|
|
7140
7715
|
/**
|
|
7141
|
-
*
|
|
7716
|
+
* Queries the list of Facebook posts.
|
|
7142
7717
|
*
|
|
7143
7718
|
* @param request - ListFacebookPostsRequest
|
|
7144
7719
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7181,7 +7756,7 @@ export default class Client extends OpenApi {
|
|
|
7181
7756
|
}
|
|
7182
7757
|
|
|
7183
7758
|
/**
|
|
7184
|
-
*
|
|
7759
|
+
* Queries the list of Facebook posts.
|
|
7185
7760
|
*
|
|
7186
7761
|
* @param request - ListFacebookPostsRequest
|
|
7187
7762
|
* @returns ListFacebookPostsResponse
|
|
@@ -7192,10 +7767,10 @@ export default class Client extends OpenApi {
|
|
|
7192
7767
|
}
|
|
7193
7768
|
|
|
7194
7769
|
/**
|
|
7195
|
-
*
|
|
7770
|
+
* Retrieves a list of WhatsApp flows.
|
|
7196
7771
|
*
|
|
7197
7772
|
* @remarks
|
|
7198
|
-
*
|
|
7773
|
+
* This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled and may result in service interruptions.
|
|
7199
7774
|
*
|
|
7200
7775
|
* @param tmpReq - ListFlowRequest
|
|
7201
7776
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7252,10 +7827,10 @@ export default class Client extends OpenApi {
|
|
|
7252
7827
|
}
|
|
7253
7828
|
|
|
7254
7829
|
/**
|
|
7255
|
-
*
|
|
7830
|
+
* Retrieves a list of WhatsApp flows.
|
|
7256
7831
|
*
|
|
7257
7832
|
* @remarks
|
|
7258
|
-
*
|
|
7833
|
+
* This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled and may result in service interruptions.
|
|
7259
7834
|
*
|
|
7260
7835
|
* @param request - ListFlowRequest
|
|
7261
7836
|
* @returns ListFlowResponse
|
|
@@ -7266,7 +7841,7 @@ export default class Client extends OpenApi {
|
|
|
7266
7841
|
}
|
|
7267
7842
|
|
|
7268
7843
|
/**
|
|
7269
|
-
*
|
|
7844
|
+
* Lists flow component groups.
|
|
7270
7845
|
*
|
|
7271
7846
|
* @param request - ListFlowNodeGroupRequest
|
|
7272
7847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7313,7 +7888,7 @@ export default class Client extends OpenApi {
|
|
|
7313
7888
|
}
|
|
7314
7889
|
|
|
7315
7890
|
/**
|
|
7316
|
-
*
|
|
7891
|
+
* Lists flow component groups.
|
|
7317
7892
|
*
|
|
7318
7893
|
* @param request - ListFlowNodeGroupRequest
|
|
7319
7894
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -7324,7 +7899,11 @@ export default class Client extends OpenApi {
|
|
|
7324
7899
|
}
|
|
7325
7900
|
|
|
7326
7901
|
/**
|
|
7327
|
-
*
|
|
7902
|
+
* Lists flow component prototypes.
|
|
7903
|
+
*
|
|
7904
|
+
* @remarks
|
|
7905
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
7906
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
7328
7907
|
*
|
|
7329
7908
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7330
7909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7383,7 +7962,11 @@ export default class Client extends OpenApi {
|
|
|
7383
7962
|
}
|
|
7384
7963
|
|
|
7385
7964
|
/**
|
|
7386
|
-
*
|
|
7965
|
+
* Lists flow component prototypes.
|
|
7966
|
+
*
|
|
7967
|
+
* @remarks
|
|
7968
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
7969
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
7387
7970
|
*
|
|
7388
7971
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7389
7972
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7394,7 +7977,13 @@ export default class Client extends OpenApi {
|
|
|
7394
7977
|
}
|
|
7395
7978
|
|
|
7396
7979
|
/**
|
|
7397
|
-
*
|
|
7980
|
+
* Lists flow versions.
|
|
7981
|
+
*
|
|
7982
|
+
* @remarks
|
|
7983
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
7984
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7985
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
7986
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
7398
7987
|
*
|
|
7399
7988
|
* @param tmpReq - ListFlowVersionRequest
|
|
7400
7989
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7463,7 +8052,13 @@ export default class Client extends OpenApi {
|
|
|
7463
8052
|
}
|
|
7464
8053
|
|
|
7465
8054
|
/**
|
|
7466
|
-
*
|
|
8055
|
+
* Lists flow versions.
|
|
8056
|
+
*
|
|
8057
|
+
* @remarks
|
|
8058
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
8059
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
8060
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
8061
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
7467
8062
|
*
|
|
7468
8063
|
* @param request - ListFlowVersionRequest
|
|
7469
8064
|
* @returns ListFlowVersionResponse
|
|
@@ -7474,7 +8069,7 @@ export default class Client extends OpenApi {
|
|
|
7474
8069
|
}
|
|
7475
8070
|
|
|
7476
8071
|
/**
|
|
7477
|
-
*
|
|
8072
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7478
8073
|
*
|
|
7479
8074
|
* @param request - ListInstagramPageRequest
|
|
7480
8075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7517,7 +8112,7 @@ export default class Client extends OpenApi {
|
|
|
7517
8112
|
}
|
|
7518
8113
|
|
|
7519
8114
|
/**
|
|
7520
|
-
*
|
|
8115
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
7521
8116
|
*
|
|
7522
8117
|
* @param request - ListInstagramPageRequest
|
|
7523
8118
|
* @returns ListInstagramPageResponse
|
|
@@ -7582,7 +8177,7 @@ export default class Client extends OpenApi {
|
|
|
7582
8177
|
}
|
|
7583
8178
|
|
|
7584
8179
|
/**
|
|
7585
|
-
*
|
|
8180
|
+
* Lists instances.
|
|
7586
8181
|
*
|
|
7587
8182
|
* @param request - ListInstanceRequest
|
|
7588
8183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7641,7 +8236,7 @@ export default class Client extends OpenApi {
|
|
|
7641
8236
|
}
|
|
7642
8237
|
|
|
7643
8238
|
/**
|
|
7644
|
-
*
|
|
8239
|
+
* Lists instances.
|
|
7645
8240
|
*
|
|
7646
8241
|
* @param request - ListInstanceRequest
|
|
7647
8242
|
* @returns ListInstanceResponse
|
|
@@ -7652,7 +8247,7 @@ export default class Client extends OpenApi {
|
|
|
7652
8247
|
}
|
|
7653
8248
|
|
|
7654
8249
|
/**
|
|
7655
|
-
*
|
|
8250
|
+
* Queries a list of marketing campaigns.
|
|
7656
8251
|
*
|
|
7657
8252
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7658
8253
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7733,7 +8328,7 @@ export default class Client extends OpenApi {
|
|
|
7733
8328
|
}
|
|
7734
8329
|
|
|
7735
8330
|
/**
|
|
7736
|
-
*
|
|
8331
|
+
* Queries a list of marketing campaigns.
|
|
7737
8332
|
*
|
|
7738
8333
|
* @param request - ListMarketingFlowRequest
|
|
7739
8334
|
* @returns ListMarketingFlowResponse
|
|
@@ -7744,7 +8339,7 @@ export default class Client extends OpenApi {
|
|
|
7744
8339
|
}
|
|
7745
8340
|
|
|
7746
8341
|
/**
|
|
7747
|
-
*
|
|
8342
|
+
* Retrieves a list of budgets.
|
|
7748
8343
|
*
|
|
7749
8344
|
* @param tmpReq - ListMessageCampaignRequest
|
|
7750
8345
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7817,7 +8412,7 @@ export default class Client extends OpenApi {
|
|
|
7817
8412
|
}
|
|
7818
8413
|
|
|
7819
8414
|
/**
|
|
7820
|
-
*
|
|
8415
|
+
* Retrieves a list of budgets.
|
|
7821
8416
|
*
|
|
7822
8417
|
* @param request - ListMessageCampaignRequest
|
|
7823
8418
|
* @returns ListMessageCampaignResponse
|
|
@@ -7828,7 +8423,7 @@ export default class Client extends OpenApi {
|
|
|
7828
8423
|
}
|
|
7829
8424
|
|
|
7830
8425
|
/**
|
|
7831
|
-
*
|
|
8426
|
+
* Queries custom audiences and subscription tokens.
|
|
7832
8427
|
*
|
|
7833
8428
|
* @param request - ListMessengerSubscriptionTokenRequest
|
|
7834
8429
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7891,7 +8486,7 @@ export default class Client extends OpenApi {
|
|
|
7891
8486
|
}
|
|
7892
8487
|
|
|
7893
8488
|
/**
|
|
7894
|
-
*
|
|
8489
|
+
* Queries custom audiences and subscription tokens.
|
|
7895
8490
|
*
|
|
7896
8491
|
* @param request - ListMessengerSubscriptionTokenRequest
|
|
7897
8492
|
* @returns ListMessengerSubscriptionTokenResponse
|
|
@@ -7902,7 +8497,7 @@ export default class Client extends OpenApi {
|
|
|
7902
8497
|
}
|
|
7903
8498
|
|
|
7904
8499
|
/**
|
|
7905
|
-
*
|
|
8500
|
+
* Queries the list of ad accounts bound to a page.
|
|
7906
8501
|
*
|
|
7907
8502
|
* @param request - ListPageAdAccountRequest
|
|
7908
8503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7949,7 +8544,7 @@ export default class Client extends OpenApi {
|
|
|
7949
8544
|
}
|
|
7950
8545
|
|
|
7951
8546
|
/**
|
|
7952
|
-
*
|
|
8547
|
+
* Queries the list of ad accounts bound to a page.
|
|
7953
8548
|
*
|
|
7954
8549
|
* @param request - ListPageAdAccountRequest
|
|
7955
8550
|
* @returns ListPageAdAccountResponse
|
|
@@ -7960,7 +8555,10 @@ export default class Client extends OpenApi {
|
|
|
7960
8555
|
}
|
|
7961
8556
|
|
|
7962
8557
|
/**
|
|
7963
|
-
* Queries the
|
|
8558
|
+
* Queries the list of message QR codes.
|
|
8559
|
+
*
|
|
8560
|
+
* @remarks
|
|
8561
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
7964
8562
|
*
|
|
7965
8563
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7966
8564
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8007,7 +8605,10 @@ export default class Client extends OpenApi {
|
|
|
8007
8605
|
}
|
|
8008
8606
|
|
|
8009
8607
|
/**
|
|
8010
|
-
* Queries the
|
|
8608
|
+
* Queries the list of message QR codes.
|
|
8609
|
+
*
|
|
8610
|
+
* @remarks
|
|
8611
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
8011
8612
|
*
|
|
8012
8613
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8013
8614
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -8018,10 +8619,10 @@ export default class Client extends OpenApi {
|
|
|
8018
8619
|
}
|
|
8019
8620
|
|
|
8020
8621
|
/**
|
|
8021
|
-
*
|
|
8622
|
+
* Retrieves products in a catalog.
|
|
8022
8623
|
*
|
|
8023
8624
|
* @remarks
|
|
8024
|
-
*
|
|
8625
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
8025
8626
|
*
|
|
8026
8627
|
* @param request - ListProductRequest
|
|
8027
8628
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8088,10 +8689,10 @@ export default class Client extends OpenApi {
|
|
|
8088
8689
|
}
|
|
8089
8690
|
|
|
8090
8691
|
/**
|
|
8091
|
-
*
|
|
8692
|
+
* Retrieves products in a catalog.
|
|
8092
8693
|
*
|
|
8093
8694
|
* @remarks
|
|
8094
|
-
*
|
|
8695
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
8095
8696
|
*
|
|
8096
8697
|
* @param request - ListProductRequest
|
|
8097
8698
|
* @returns ListProductResponse
|
|
@@ -8102,10 +8703,10 @@ export default class Client extends OpenApi {
|
|
|
8102
8703
|
}
|
|
8103
8704
|
|
|
8104
8705
|
/**
|
|
8105
|
-
* Queries the
|
|
8706
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8106
8707
|
*
|
|
8107
8708
|
* @remarks
|
|
8108
|
-
*
|
|
8709
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
8109
8710
|
*
|
|
8110
8711
|
* @param request - ListProductCatalogRequest
|
|
8111
8712
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8168,10 +8769,10 @@ export default class Client extends OpenApi {
|
|
|
8168
8769
|
}
|
|
8169
8770
|
|
|
8170
8771
|
/**
|
|
8171
|
-
* Queries the
|
|
8772
|
+
* Queries the catalog list of the Meta Business platform.
|
|
8172
8773
|
*
|
|
8173
8774
|
* @remarks
|
|
8174
|
-
*
|
|
8775
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
8175
8776
|
*
|
|
8176
8777
|
* @param request - ListProductCatalogRequest
|
|
8177
8778
|
* @returns ListProductCatalogResponse
|
|
@@ -8236,7 +8837,7 @@ export default class Client extends OpenApi {
|
|
|
8236
8837
|
}
|
|
8237
8838
|
|
|
8238
8839
|
/**
|
|
8239
|
-
*
|
|
8840
|
+
* Lists message templates.
|
|
8240
8841
|
*
|
|
8241
8842
|
* @param request - ListWhatAppTemplateRequest
|
|
8242
8843
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8271,7 +8872,7 @@ export default class Client extends OpenApi {
|
|
|
8271
8872
|
}
|
|
8272
8873
|
|
|
8273
8874
|
/**
|
|
8274
|
-
*
|
|
8875
|
+
* Lists message templates.
|
|
8275
8876
|
*
|
|
8276
8877
|
* @param request - ListWhatAppTemplateRequest
|
|
8277
8878
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -8282,10 +8883,13 @@ export default class Client extends OpenApi {
|
|
|
8282
8883
|
}
|
|
8283
8884
|
|
|
8284
8885
|
/**
|
|
8285
|
-
*
|
|
8886
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8286
8887
|
*
|
|
8287
8888
|
* @remarks
|
|
8288
|
-
*
|
|
8889
|
+
* ### QPS limit
|
|
8890
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8891
|
+
* ### Status changes
|
|
8892
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8289
8893
|
*
|
|
8290
8894
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8291
8895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8370,10 +8974,13 @@ export default class Client extends OpenApi {
|
|
|
8370
8974
|
}
|
|
8371
8975
|
|
|
8372
8976
|
/**
|
|
8373
|
-
*
|
|
8977
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
8374
8978
|
*
|
|
8375
8979
|
* @remarks
|
|
8376
|
-
*
|
|
8980
|
+
* ### QPS limit
|
|
8981
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8982
|
+
* ### Status changes
|
|
8983
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8377
8984
|
*
|
|
8378
8985
|
* @param request - ModifyChatappTemplateRequest
|
|
8379
8986
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8384,7 +8991,7 @@ export default class Client extends OpenApi {
|
|
|
8384
8991
|
}
|
|
8385
8992
|
|
|
8386
8993
|
/**
|
|
8387
|
-
*
|
|
8994
|
+
* Modifies some properties of a template.
|
|
8388
8995
|
*
|
|
8389
8996
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8390
8997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8447,7 +9054,7 @@ export default class Client extends OpenApi {
|
|
|
8447
9054
|
}
|
|
8448
9055
|
|
|
8449
9056
|
/**
|
|
8450
|
-
*
|
|
9057
|
+
* Modifies some properties of a template.
|
|
8451
9058
|
*
|
|
8452
9059
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8453
9060
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8458,10 +9065,10 @@ export default class Client extends OpenApi {
|
|
|
8458
9065
|
}
|
|
8459
9066
|
|
|
8460
9067
|
/**
|
|
8461
|
-
* Modifies the basic information
|
|
9068
|
+
* Modifies the basic information of a flow.
|
|
8462
9069
|
*
|
|
8463
9070
|
* @remarks
|
|
8464
|
-
*
|
|
9071
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
8465
9072
|
*
|
|
8466
9073
|
* @param tmpReq - ModifyFlowRequest
|
|
8467
9074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8526,10 +9133,10 @@ export default class Client extends OpenApi {
|
|
|
8526
9133
|
}
|
|
8527
9134
|
|
|
8528
9135
|
/**
|
|
8529
|
-
* Modifies the basic information
|
|
9136
|
+
* Modifies the basic information of a flow.
|
|
8530
9137
|
*
|
|
8531
9138
|
* @remarks
|
|
8532
|
-
*
|
|
9139
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
8533
9140
|
*
|
|
8534
9141
|
* @param request - ModifyFlowRequest
|
|
8535
9142
|
* @returns ModifyFlowResponse
|
|
@@ -8540,10 +9147,10 @@ export default class Client extends OpenApi {
|
|
|
8540
9147
|
}
|
|
8541
9148
|
|
|
8542
9149
|
/**
|
|
8543
|
-
*
|
|
9150
|
+
* Modifies the commercial information of a phone number.
|
|
8544
9151
|
*
|
|
8545
9152
|
* @remarks
|
|
8546
|
-
*
|
|
9153
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
8547
9154
|
*
|
|
8548
9155
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8549
9156
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8624,10 +9231,10 @@ export default class Client extends OpenApi {
|
|
|
8624
9231
|
}
|
|
8625
9232
|
|
|
8626
9233
|
/**
|
|
8627
|
-
*
|
|
9234
|
+
* Modifies the commercial information of a phone number.
|
|
8628
9235
|
*
|
|
8629
9236
|
* @remarks
|
|
8630
|
-
*
|
|
9237
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
8631
9238
|
*
|
|
8632
9239
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8633
9240
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8714,7 +9321,13 @@ export default class Client extends OpenApi {
|
|
|
8714
9321
|
}
|
|
8715
9322
|
|
|
8716
9323
|
/**
|
|
8717
|
-
*
|
|
9324
|
+
* Unpublishes a flow version.
|
|
9325
|
+
*
|
|
9326
|
+
* @remarks
|
|
9327
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
9328
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
9329
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
9330
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8718
9331
|
*
|
|
8719
9332
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8720
9333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8779,7 +9392,13 @@ export default class Client extends OpenApi {
|
|
|
8779
9392
|
}
|
|
8780
9393
|
|
|
8781
9394
|
/**
|
|
8782
|
-
*
|
|
9395
|
+
* Unpublishes a flow version.
|
|
9396
|
+
*
|
|
9397
|
+
* @remarks
|
|
9398
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
9399
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
9400
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
9401
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8783
9402
|
*
|
|
8784
9403
|
* @param request - OfflineFlowVersionRequest
|
|
8785
9404
|
* @returns OfflineFlowVersionResponse
|
|
@@ -8790,7 +9409,13 @@ export default class Client extends OpenApi {
|
|
|
8790
9409
|
}
|
|
8791
9410
|
|
|
8792
9411
|
/**
|
|
8793
|
-
*
|
|
9412
|
+
* Publishes a flow version.
|
|
9413
|
+
*
|
|
9414
|
+
* @remarks
|
|
9415
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
9416
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
9417
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
9418
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
8794
9419
|
*
|
|
8795
9420
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8796
9421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8855,7 +9480,13 @@ export default class Client extends OpenApi {
|
|
|
8855
9480
|
}
|
|
8856
9481
|
|
|
8857
9482
|
/**
|
|
8858
|
-
*
|
|
9483
|
+
* Publishes a flow version.
|
|
9484
|
+
*
|
|
9485
|
+
* @remarks
|
|
9486
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
9487
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
9488
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
9489
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
8859
9490
|
*
|
|
8860
9491
|
* @param request - OnlineFlowVersionRequest
|
|
8861
9492
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8977,7 +9608,10 @@ export default class Client extends OpenApi {
|
|
|
8977
9608
|
* Publishes a Flow.
|
|
8978
9609
|
*
|
|
8979
9610
|
* @remarks
|
|
8980
|
-
*
|
|
9611
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9612
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
9613
|
+
* #### QPS limit
|
|
9614
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8981
9615
|
*
|
|
8982
9616
|
* @param request - PublishFlowRequest
|
|
8983
9617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9027,7 +9661,10 @@ export default class Client extends OpenApi {
|
|
|
9027
9661
|
* Publishes a Flow.
|
|
9028
9662
|
*
|
|
9029
9663
|
* @remarks
|
|
9030
|
-
*
|
|
9664
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
9665
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
9666
|
+
* #### QPS limit
|
|
9667
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9031
9668
|
*
|
|
9032
9669
|
* @param request - PublishFlowRequest
|
|
9033
9670
|
* @returns PublishFlowResponse
|
|
@@ -9038,10 +9675,10 @@ export default class Client extends OpenApi {
|
|
|
9038
9675
|
}
|
|
9039
9676
|
|
|
9040
9677
|
/**
|
|
9041
|
-
*
|
|
9678
|
+
* Queries the WhatsApp Business Account (WABA) that is bound to a customer account.
|
|
9042
9679
|
*
|
|
9043
9680
|
* @remarks
|
|
9044
|
-
*
|
|
9681
|
+
* This API has a per-user QPS limit of 10. Calls that exceed this limit are subject to flow control, which may impact your business. Make API calls at a reasonable rate.
|
|
9045
9682
|
*
|
|
9046
9683
|
* @param request - QueryChatappBindWabaRequest
|
|
9047
9684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9088,10 +9725,10 @@ export default class Client extends OpenApi {
|
|
|
9088
9725
|
}
|
|
9089
9726
|
|
|
9090
9727
|
/**
|
|
9091
|
-
*
|
|
9728
|
+
* Queries the WhatsApp Business Account (WABA) that is bound to a customer account.
|
|
9092
9729
|
*
|
|
9093
9730
|
* @remarks
|
|
9094
|
-
*
|
|
9731
|
+
* This API has a per-user QPS limit of 10. Calls that exceed this limit are subject to flow control, which may impact your business. Make API calls at a reasonable rate.
|
|
9095
9732
|
*
|
|
9096
9733
|
* @param request - QueryChatappBindWabaRequest
|
|
9097
9734
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -9102,10 +9739,10 @@ export default class Client extends OpenApi {
|
|
|
9102
9739
|
}
|
|
9103
9740
|
|
|
9104
9741
|
/**
|
|
9105
|
-
* Queries phone numbers
|
|
9742
|
+
* Queries all phone numbers used for sending messages and their statuses for a customer.
|
|
9106
9743
|
*
|
|
9107
9744
|
* @remarks
|
|
9108
|
-
*
|
|
9745
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
9109
9746
|
*
|
|
9110
9747
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9111
9748
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9156,10 +9793,10 @@ export default class Client extends OpenApi {
|
|
|
9156
9793
|
}
|
|
9157
9794
|
|
|
9158
9795
|
/**
|
|
9159
|
-
* Queries phone numbers
|
|
9796
|
+
* Queries all phone numbers used for sending messages and their statuses for a customer.
|
|
9160
9797
|
*
|
|
9161
9798
|
* @remarks
|
|
9162
|
-
*
|
|
9799
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
9163
9800
|
*
|
|
9164
9801
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9165
9802
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -9170,7 +9807,7 @@ export default class Client extends OpenApi {
|
|
|
9170
9807
|
}
|
|
9171
9808
|
|
|
9172
9809
|
/**
|
|
9173
|
-
*
|
|
9810
|
+
* Gets the details of a specified instance.
|
|
9174
9811
|
*
|
|
9175
9812
|
* @param request - QueryInstanceRequest
|
|
9176
9813
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9201,7 +9838,7 @@ export default class Client extends OpenApi {
|
|
|
9201
9838
|
}
|
|
9202
9839
|
|
|
9203
9840
|
/**
|
|
9204
|
-
*
|
|
9841
|
+
* Gets the details of a specified instance.
|
|
9205
9842
|
*
|
|
9206
9843
|
* @param request - QueryInstanceRequest
|
|
9207
9844
|
* @returns QueryInstanceResponse
|
|
@@ -9266,10 +9903,10 @@ export default class Client extends OpenApi {
|
|
|
9266
9903
|
}
|
|
9267
9904
|
|
|
9268
9905
|
/**
|
|
9269
|
-
* Queries the business information of
|
|
9906
|
+
* Queries the business information of a phone number.
|
|
9270
9907
|
*
|
|
9271
9908
|
* @remarks
|
|
9272
|
-
*
|
|
9909
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
9273
9910
|
*
|
|
9274
9911
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9275
9912
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9316,10 +9953,10 @@ export default class Client extends OpenApi {
|
|
|
9316
9953
|
}
|
|
9317
9954
|
|
|
9318
9955
|
/**
|
|
9319
|
-
* Queries the business information of
|
|
9956
|
+
* Queries the business information of a phone number.
|
|
9320
9957
|
*
|
|
9321
9958
|
* @remarks
|
|
9322
|
-
*
|
|
9959
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
9323
9960
|
*
|
|
9324
9961
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9325
9962
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -9333,7 +9970,7 @@ export default class Client extends OpenApi {
|
|
|
9333
9970
|
* Queries the business information about the WhatsApp Business account (WABA).
|
|
9334
9971
|
*
|
|
9335
9972
|
* @remarks
|
|
9336
|
-
*
|
|
9973
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
9337
9974
|
*
|
|
9338
9975
|
* @param request - QueryWabaBusinessInfoRequest
|
|
9339
9976
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9383,7 +10020,7 @@ export default class Client extends OpenApi {
|
|
|
9383
10020
|
* Queries the business information about the WhatsApp Business account (WABA).
|
|
9384
10021
|
*
|
|
9385
10022
|
* @remarks
|
|
9386
|
-
*
|
|
10023
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
9387
10024
|
*
|
|
9388
10025
|
* @param request - QueryWabaBusinessInfoRequest
|
|
9389
10026
|
* @returns QueryWabaBusinessInfoResponse
|
|
@@ -9394,7 +10031,12 @@ export default class Client extends OpenApi {
|
|
|
9394
10031
|
}
|
|
9395
10032
|
|
|
9396
10033
|
/**
|
|
9397
|
-
*
|
|
10034
|
+
* Retrieves the details of a flow.
|
|
10035
|
+
*
|
|
10036
|
+
* @remarks
|
|
10037
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10038
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
10039
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9398
10040
|
*
|
|
9399
10041
|
* @param tmpReq - ReadChatFlowRequest
|
|
9400
10042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9451,7 +10093,12 @@ export default class Client extends OpenApi {
|
|
|
9451
10093
|
}
|
|
9452
10094
|
|
|
9453
10095
|
/**
|
|
9454
|
-
*
|
|
10096
|
+
* Retrieves the details of a flow.
|
|
10097
|
+
*
|
|
10098
|
+
* @remarks
|
|
10099
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10100
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
10101
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9455
10102
|
*
|
|
9456
10103
|
* @param request - ReadChatFlowRequest
|
|
9457
10104
|
* @returns ReadChatFlowResponse
|
|
@@ -9462,7 +10109,12 @@ export default class Client extends OpenApi {
|
|
|
9462
10109
|
}
|
|
9463
10110
|
|
|
9464
10111
|
/**
|
|
9465
|
-
*
|
|
10112
|
+
* Views the log settings for a flow.
|
|
10113
|
+
*
|
|
10114
|
+
* @remarks
|
|
10115
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
10116
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
10117
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
9466
10118
|
*
|
|
9467
10119
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9468
10120
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9505,7 +10157,12 @@ export default class Client extends OpenApi {
|
|
|
9505
10157
|
}
|
|
9506
10158
|
|
|
9507
10159
|
/**
|
|
9508
|
-
*
|
|
10160
|
+
* Views the log settings for a flow.
|
|
10161
|
+
*
|
|
10162
|
+
* @remarks
|
|
10163
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
10164
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
10165
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
9509
10166
|
*
|
|
9510
10167
|
* @param request - ReadChatFlowLogSettingRequest
|
|
9511
10168
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -9516,7 +10173,12 @@ export default class Client extends OpenApi {
|
|
|
9516
10173
|
}
|
|
9517
10174
|
|
|
9518
10175
|
/**
|
|
9519
|
-
*
|
|
10176
|
+
* Retrieves a flow version.
|
|
10177
|
+
*
|
|
10178
|
+
* @remarks
|
|
10179
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
10180
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10181
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
9520
10182
|
*
|
|
9521
10183
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9522
10184
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9581,7 +10243,12 @@ export default class Client extends OpenApi {
|
|
|
9581
10243
|
}
|
|
9582
10244
|
|
|
9583
10245
|
/**
|
|
9584
|
-
*
|
|
10246
|
+
* Retrieves a flow version.
|
|
10247
|
+
*
|
|
10248
|
+
* @remarks
|
|
10249
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
10250
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
10251
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
9585
10252
|
*
|
|
9586
10253
|
* @param request - ReadFlowVersionRequest
|
|
9587
10254
|
* @returns ReadFlowVersionResponse
|
|
@@ -9650,7 +10317,10 @@ export default class Client extends OpenApi {
|
|
|
9650
10317
|
}
|
|
9651
10318
|
|
|
9652
10319
|
/**
|
|
9653
|
-
*
|
|
10320
|
+
* Sends a request to the WhatsApp Conversions API.
|
|
10321
|
+
*
|
|
10322
|
+
* @remarks
|
|
10323
|
+
* The China-specific QPS limit for a single user of this API operation is 100 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9654
10324
|
*
|
|
9655
10325
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
9656
10326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9707,7 +10377,10 @@ export default class Client extends OpenApi {
|
|
|
9707
10377
|
}
|
|
9708
10378
|
|
|
9709
10379
|
/**
|
|
9710
|
-
*
|
|
10380
|
+
* Sends a request to the WhatsApp Conversions API.
|
|
10381
|
+
*
|
|
10382
|
+
* @remarks
|
|
10383
|
+
* The China-specific QPS limit for a single user of this API operation is 100 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9711
10384
|
*
|
|
9712
10385
|
* @param request - RequestWhatsappConversionApiRequest
|
|
9713
10386
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -9718,11 +10391,20 @@ export default class Client extends OpenApi {
|
|
|
9718
10391
|
}
|
|
9719
10392
|
|
|
9720
10393
|
/**
|
|
9721
|
-
* Sends
|
|
10394
|
+
* Sends Chat App messages in batches.
|
|
9722
10395
|
*
|
|
9723
10396
|
* @remarks
|
|
9724
|
-
* You can call this operation
|
|
9725
|
-
*
|
|
10397
|
+
* - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
|
|
10398
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10399
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10400
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10401
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10402
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10403
|
+
* ### QPS limit
|
|
10404
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10405
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
10406
|
+
* ### Status changes
|
|
10407
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9726
10408
|
*
|
|
9727
10409
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9728
10410
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9835,11 +10517,20 @@ export default class Client extends OpenApi {
|
|
|
9835
10517
|
}
|
|
9836
10518
|
|
|
9837
10519
|
/**
|
|
9838
|
-
* Sends
|
|
10520
|
+
* Sends Chat App messages in batches.
|
|
9839
10521
|
*
|
|
9840
10522
|
* @remarks
|
|
9841
|
-
* You can call this operation
|
|
9842
|
-
*
|
|
10523
|
+
* - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
|
|
10524
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10525
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10526
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10527
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10528
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10529
|
+
* ### QPS limit
|
|
10530
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10531
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
10532
|
+
* ### Status changes
|
|
10533
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9843
10534
|
*
|
|
9844
10535
|
* @param request - SendChatappMassMessageRequest
|
|
9845
10536
|
* @returns SendChatappMassMessageResponse
|
|
@@ -9850,10 +10541,19 @@ export default class Client extends OpenApi {
|
|
|
9850
10541
|
}
|
|
9851
10542
|
|
|
9852
10543
|
/**
|
|
9853
|
-
* Sends
|
|
10544
|
+
* Sends a Chat App Message Service message.
|
|
9854
10545
|
*
|
|
9855
10546
|
* @remarks
|
|
9856
|
-
* You can call this operation
|
|
10547
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
10548
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10549
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10550
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10551
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10552
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10553
|
+
* ### QPS limit
|
|
10554
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10555
|
+
* ### Status changes
|
|
10556
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9857
10557
|
*
|
|
9858
10558
|
* @param tmpReq - SendChatappMessageRequest
|
|
9859
10559
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10034,10 +10734,19 @@ export default class Client extends OpenApi {
|
|
|
10034
10734
|
}
|
|
10035
10735
|
|
|
10036
10736
|
/**
|
|
10037
|
-
* Sends
|
|
10737
|
+
* Sends a Chat App Message Service message.
|
|
10038
10738
|
*
|
|
10039
10739
|
* @remarks
|
|
10040
|
-
* You can call this operation
|
|
10740
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
10741
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10742
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10743
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10744
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10745
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10746
|
+
* ### QPS limit
|
|
10747
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10748
|
+
* ### Status changes
|
|
10749
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10041
10750
|
*
|
|
10042
10751
|
* @param request - SendChatappMessageRequest
|
|
10043
10752
|
* @returns SendChatappMessageResponse
|
|
@@ -10048,7 +10757,61 @@ export default class Client extends OpenApi {
|
|
|
10048
10757
|
}
|
|
10049
10758
|
|
|
10050
10759
|
/**
|
|
10051
|
-
*
|
|
10760
|
+
* Submits the result of a verification code check.
|
|
10761
|
+
*
|
|
10762
|
+
* @param request - SubmitVerifyCodeResultRequest
|
|
10763
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10764
|
+
* @returns SubmitVerifyCodeResultResponse
|
|
10765
|
+
*/
|
|
10766
|
+
async submitVerifyCodeResultWithOptions(request: $_model.SubmitVerifyCodeResultRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitVerifyCodeResultResponse> {
|
|
10767
|
+
request.validate();
|
|
10768
|
+
let query = { };
|
|
10769
|
+
if (!$dara.isNull(request.messageId)) {
|
|
10770
|
+
query["MessageId"] = request.messageId;
|
|
10771
|
+
}
|
|
10772
|
+
|
|
10773
|
+
if (!$dara.isNull(request.result)) {
|
|
10774
|
+
query["Result"] = request.result;
|
|
10775
|
+
}
|
|
10776
|
+
|
|
10777
|
+
if (!$dara.isNull(request.to)) {
|
|
10778
|
+
query["To"] = request.to;
|
|
10779
|
+
}
|
|
10780
|
+
|
|
10781
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10782
|
+
query: OpenApiUtil.query(query),
|
|
10783
|
+
});
|
|
10784
|
+
let params = new $OpenApiUtil.Params({
|
|
10785
|
+
action: "SubmitVerifyCodeResult",
|
|
10786
|
+
version: "2020-06-06",
|
|
10787
|
+
protocol: "HTTPS",
|
|
10788
|
+
pathname: "/",
|
|
10789
|
+
method: "POST",
|
|
10790
|
+
authType: "AK",
|
|
10791
|
+
style: "RPC",
|
|
10792
|
+
reqBodyType: "formData",
|
|
10793
|
+
bodyType: "json",
|
|
10794
|
+
});
|
|
10795
|
+
return $dara.cast<$_model.SubmitVerifyCodeResultResponse>(await this.callApi(params, req, runtime), new $_model.SubmitVerifyCodeResultResponse({}));
|
|
10796
|
+
}
|
|
10797
|
+
|
|
10798
|
+
/**
|
|
10799
|
+
* Submits the result of a verification code check.
|
|
10800
|
+
*
|
|
10801
|
+
* @param request - SubmitVerifyCodeResultRequest
|
|
10802
|
+
* @returns SubmitVerifyCodeResultResponse
|
|
10803
|
+
*/
|
|
10804
|
+
async submitVerifyCodeResult(request: $_model.SubmitVerifyCodeResultRequest): Promise<$_model.SubmitVerifyCodeResultResponse> {
|
|
10805
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10806
|
+
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
10807
|
+
}
|
|
10808
|
+
|
|
10809
|
+
/**
|
|
10810
|
+
* Synchronizes business app historical records.
|
|
10811
|
+
*
|
|
10812
|
+
* @remarks
|
|
10813
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
10814
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10052
10815
|
*
|
|
10053
10816
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10054
10817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10095,7 +10858,11 @@ export default class Client extends OpenApi {
|
|
|
10095
10858
|
}
|
|
10096
10859
|
|
|
10097
10860
|
/**
|
|
10098
|
-
*
|
|
10861
|
+
* Synchronizes business app historical records.
|
|
10862
|
+
*
|
|
10863
|
+
* @remarks
|
|
10864
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
10865
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
10099
10866
|
*
|
|
10100
10867
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10101
10868
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -10160,7 +10927,7 @@ export default class Client extends OpenApi {
|
|
|
10160
10927
|
}
|
|
10161
10928
|
|
|
10162
10929
|
/**
|
|
10163
|
-
*
|
|
10930
|
+
* Synchronously queries the budget.
|
|
10164
10931
|
*
|
|
10165
10932
|
* @param request - SyncMessageCampaignRequest
|
|
10166
10933
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10207,7 +10974,7 @@ export default class Client extends OpenApi {
|
|
|
10207
10974
|
}
|
|
10208
10975
|
|
|
10209
10976
|
/**
|
|
10210
|
-
*
|
|
10977
|
+
* Synchronously queries the budget.
|
|
10211
10978
|
*
|
|
10212
10979
|
* @param request - SyncMessageCampaignRequest
|
|
10213
10980
|
* @returns SyncMessageCampaignResponse
|
|
@@ -10218,7 +10985,7 @@ export default class Client extends OpenApi {
|
|
|
10218
10985
|
}
|
|
10219
10986
|
|
|
10220
10987
|
/**
|
|
10221
|
-
*
|
|
10988
|
+
* Queries the Messenger subscription token.
|
|
10222
10989
|
*
|
|
10223
10990
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10224
10991
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10273,7 +11040,7 @@ export default class Client extends OpenApi {
|
|
|
10273
11040
|
}
|
|
10274
11041
|
|
|
10275
11042
|
/**
|
|
10276
|
-
*
|
|
11043
|
+
* Queries the Messenger subscription token.
|
|
10277
11044
|
*
|
|
10278
11045
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
10279
11046
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -10284,10 +11051,13 @@ export default class Client extends OpenApi {
|
|
|
10284
11051
|
}
|
|
10285
11052
|
|
|
10286
11053
|
/**
|
|
10287
|
-
*
|
|
11054
|
+
* Triggers an online chat flow that has a manual trigger.
|
|
10288
11055
|
*
|
|
10289
11056
|
* @remarks
|
|
10290
|
-
*
|
|
11057
|
+
* - You can call this operation to trigger a published version of a flow that has a manual trigger. You can also trigger the flow from the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page if the flow is associated with a marketing campaign.
|
|
11058
|
+
* - Before you call this operation, make sure that the flow has a manual trigger and is published.
|
|
11059
|
+
* - If a flow with a manual trigger does not have a published version, you must publish it. In [Chat Flow](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can click the flow name to open the canvas and publish the version. Alternatively, you can call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) API to publish the version.
|
|
11060
|
+
* - If your flow contains components that incur costs, such as message sending or function invocations, make sure that you understand the billing methods and pricing for these products before you trigger the flow.
|
|
10291
11061
|
*
|
|
10292
11062
|
* @param tmpReq - TriggerChatFlowRequest
|
|
10293
11063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10356,10 +11126,13 @@ export default class Client extends OpenApi {
|
|
|
10356
11126
|
}
|
|
10357
11127
|
|
|
10358
11128
|
/**
|
|
10359
|
-
*
|
|
11129
|
+
* Triggers an online chat flow that has a manual trigger.
|
|
10360
11130
|
*
|
|
10361
11131
|
* @remarks
|
|
10362
|
-
*
|
|
11132
|
+
* - You can call this operation to trigger a published version of a flow that has a manual trigger. You can also trigger the flow from the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page if the flow is associated with a marketing campaign.
|
|
11133
|
+
* - Before you call this operation, make sure that the flow has a manual trigger and is published.
|
|
11134
|
+
* - If a flow with a manual trigger does not have a published version, you must publish it. In [Chat Flow](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can click the flow name to open the canvas and publish the version. Alternatively, you can call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) API to publish the version.
|
|
11135
|
+
* - If your flow contains components that incur costs, such as message sending or function invocations, make sure that you understand the billing methods and pricing for these products before you trigger the flow.
|
|
10363
11136
|
*
|
|
10364
11137
|
* @param request - TriggerChatFlowRequest
|
|
10365
11138
|
* @returns TriggerChatFlowResponse
|
|
@@ -10427,7 +11200,7 @@ export default class Client extends OpenApi {
|
|
|
10427
11200
|
* Modifies the callback URL of an account.
|
|
10428
11201
|
*
|
|
10429
11202
|
* @remarks
|
|
10430
|
-
*
|
|
11203
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
10431
11204
|
*
|
|
10432
11205
|
* @param request - UpdateAccountWebhookRequest
|
|
10433
11206
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10485,7 +11258,7 @@ export default class Client extends OpenApi {
|
|
|
10485
11258
|
* Modifies the callback URL of an account.
|
|
10486
11259
|
*
|
|
10487
11260
|
* @remarks
|
|
10488
|
-
*
|
|
11261
|
+
* This operation allows a maximum of 10 requests per second per account. Excess requests are throttled, which may affect your business. Stay within the specified limit.
|
|
10489
11262
|
*
|
|
10490
11263
|
* @param request - UpdateAccountWebhookRequest
|
|
10491
11264
|
* @returns UpdateAccountWebhookResponse
|
|
@@ -10496,7 +11269,7 @@ export default class Client extends OpenApi {
|
|
|
10496
11269
|
}
|
|
10497
11270
|
|
|
10498
11271
|
/**
|
|
10499
|
-
*
|
|
11272
|
+
* Modifies a Viber application.
|
|
10500
11273
|
*
|
|
10501
11274
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
10502
11275
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10557,7 +11330,7 @@ export default class Client extends OpenApi {
|
|
|
10557
11330
|
}
|
|
10558
11331
|
|
|
10559
11332
|
/**
|
|
10560
|
-
*
|
|
11333
|
+
* Modifies a Viber application.
|
|
10561
11334
|
*
|
|
10562
11335
|
* @param request - UpdateAuditRequestRequest
|
|
10563
11336
|
* @returns UpdateAuditRequestResponse
|
|
@@ -10568,7 +11341,12 @@ export default class Client extends OpenApi {
|
|
|
10568
11341
|
}
|
|
10569
11342
|
|
|
10570
11343
|
/**
|
|
10571
|
-
*
|
|
11344
|
+
* Updates the basic information of a flow based on the flow code.
|
|
11345
|
+
*
|
|
11346
|
+
* @remarks
|
|
11347
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
11348
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
11349
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
10572
11350
|
*
|
|
10573
11351
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10574
11352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10633,7 +11411,12 @@ export default class Client extends OpenApi {
|
|
|
10633
11411
|
}
|
|
10634
11412
|
|
|
10635
11413
|
/**
|
|
10636
|
-
*
|
|
11414
|
+
* Updates the basic information of a flow based on the flow code.
|
|
11415
|
+
*
|
|
11416
|
+
* @remarks
|
|
11417
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
11418
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
11419
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
10637
11420
|
*
|
|
10638
11421
|
* @param request - UpdateChatFlowRequest
|
|
10639
11422
|
* @returns UpdateChatFlowResponse
|
|
@@ -10644,7 +11427,13 @@ export default class Client extends OpenApi {
|
|
|
10644
11427
|
}
|
|
10645
11428
|
|
|
10646
11429
|
/**
|
|
10647
|
-
*
|
|
11430
|
+
* Updates the flow log settings.
|
|
11431
|
+
*
|
|
11432
|
+
* @remarks
|
|
11433
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
11434
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
11435
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
11436
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10648
11437
|
*
|
|
10649
11438
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10650
11439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10695,7 +11484,13 @@ export default class Client extends OpenApi {
|
|
|
10695
11484
|
}
|
|
10696
11485
|
|
|
10697
11486
|
/**
|
|
10698
|
-
*
|
|
11487
|
+
* Updates the flow log settings.
|
|
11488
|
+
*
|
|
11489
|
+
* @remarks
|
|
11490
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
11491
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
11492
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
11493
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10699
11494
|
*
|
|
10700
11495
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10701
11496
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -10706,7 +11501,13 @@ export default class Client extends OpenApi {
|
|
|
10706
11501
|
}
|
|
10707
11502
|
|
|
10708
11503
|
/**
|
|
10709
|
-
*
|
|
11504
|
+
* Modifies the information of an IM group.
|
|
11505
|
+
*
|
|
11506
|
+
* @remarks
|
|
11507
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11508
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11509
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11510
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
10710
11511
|
*
|
|
10711
11512
|
* @param request - UpdateChatGroupRequest
|
|
10712
11513
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10773,7 +11574,13 @@ export default class Client extends OpenApi {
|
|
|
10773
11574
|
}
|
|
10774
11575
|
|
|
10775
11576
|
/**
|
|
10776
|
-
*
|
|
11577
|
+
* Modifies the information of an IM group.
|
|
11578
|
+
*
|
|
11579
|
+
* @remarks
|
|
11580
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11581
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
11582
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
11583
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
10777
11584
|
*
|
|
10778
11585
|
* @param request - UpdateChatGroupRequest
|
|
10779
11586
|
* @returns UpdateChatGroupResponse
|
|
@@ -10784,10 +11591,10 @@ export default class Client extends OpenApi {
|
|
|
10784
11591
|
}
|
|
10785
11592
|
|
|
10786
11593
|
/**
|
|
10787
|
-
*
|
|
11594
|
+
* Updates the commerce settings for a phone number.
|
|
10788
11595
|
*
|
|
10789
11596
|
* @remarks
|
|
10790
|
-
*
|
|
11597
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
10791
11598
|
*
|
|
10792
11599
|
* @param request - UpdateCommerceSettingRequest
|
|
10793
11600
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10842,10 +11649,10 @@ export default class Client extends OpenApi {
|
|
|
10842
11649
|
}
|
|
10843
11650
|
|
|
10844
11651
|
/**
|
|
10845
|
-
*
|
|
11652
|
+
* Updates the commerce settings for a phone number.
|
|
10846
11653
|
*
|
|
10847
11654
|
* @remarks
|
|
10848
|
-
*
|
|
11655
|
+
* This API is limited to 10 queries per second (QPS) for each user. If you exceed this limit, API calls are throttled, which can affect your business. Call this API within the specified limit.
|
|
10849
11656
|
*
|
|
10850
11657
|
* @param request - UpdateCommerceSettingRequest
|
|
10851
11658
|
* @returns UpdateCommerceSettingResponse
|
|
@@ -10944,12 +11751,12 @@ export default class Client extends OpenApi {
|
|
|
10944
11751
|
}
|
|
10945
11752
|
|
|
10946
11753
|
/**
|
|
10947
|
-
* Modifies
|
|
11754
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
10948
11755
|
*
|
|
10949
11756
|
* @remarks
|
|
10950
|
-
* ###
|
|
10951
|
-
*
|
|
10952
|
-
* This
|
|
11757
|
+
* ### QPS limit
|
|
11758
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
11759
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
10953
11760
|
*
|
|
10954
11761
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
10955
11762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11018,12 +11825,12 @@ export default class Client extends OpenApi {
|
|
|
11018
11825
|
}
|
|
11019
11826
|
|
|
11020
11827
|
/**
|
|
11021
|
-
* Modifies
|
|
11828
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
11022
11829
|
*
|
|
11023
11830
|
* @remarks
|
|
11024
|
-
* ###
|
|
11025
|
-
*
|
|
11026
|
-
* This
|
|
11831
|
+
* ### QPS limit
|
|
11832
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
11833
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
11027
11834
|
*
|
|
11028
11835
|
* @param request - UpdateConversationalAutomationRequest
|
|
11029
11836
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -11034,7 +11841,10 @@ export default class Client extends OpenApi {
|
|
|
11034
11841
|
}
|
|
11035
11842
|
|
|
11036
11843
|
/**
|
|
11037
|
-
* Updates a
|
|
11844
|
+
* Updates the content of a flow by using JSON.
|
|
11845
|
+
*
|
|
11846
|
+
* @remarks
|
|
11847
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
11038
11848
|
*
|
|
11039
11849
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11040
11850
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11085,7 +11895,10 @@ export default class Client extends OpenApi {
|
|
|
11085
11895
|
}
|
|
11086
11896
|
|
|
11087
11897
|
/**
|
|
11088
|
-
* Updates a
|
|
11898
|
+
* Updates the content of a flow by using JSON.
|
|
11899
|
+
*
|
|
11900
|
+
* @remarks
|
|
11901
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
11089
11902
|
*
|
|
11090
11903
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11091
11904
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -11096,7 +11909,12 @@ export default class Client extends OpenApi {
|
|
|
11096
11909
|
}
|
|
11097
11910
|
|
|
11098
11911
|
/**
|
|
11099
|
-
*
|
|
11912
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
11913
|
+
*
|
|
11914
|
+
* @remarks
|
|
11915
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
11916
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
11917
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
11100
11918
|
*
|
|
11101
11919
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11102
11920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11165,7 +11983,12 @@ export default class Client extends OpenApi {
|
|
|
11165
11983
|
}
|
|
11166
11984
|
|
|
11167
11985
|
/**
|
|
11168
|
-
*
|
|
11986
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
11987
|
+
*
|
|
11988
|
+
* @remarks
|
|
11989
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
11990
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
11991
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
11169
11992
|
*
|
|
11170
11993
|
* @param request - UpdateFlowVersionRequest
|
|
11171
11994
|
* @returns UpdateFlowVersionResponse
|
|
@@ -11234,7 +12057,7 @@ export default class Client extends OpenApi {
|
|
|
11234
12057
|
}
|
|
11235
12058
|
|
|
11236
12059
|
/**
|
|
11237
|
-
*
|
|
12060
|
+
* Updates the specified instance.
|
|
11238
12061
|
*
|
|
11239
12062
|
* @param request - UpdateInstanceRequest
|
|
11240
12063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11297,7 +12120,7 @@ export default class Client extends OpenApi {
|
|
|
11297
12120
|
}
|
|
11298
12121
|
|
|
11299
12122
|
/**
|
|
11300
|
-
*
|
|
12123
|
+
* Updates the specified instance.
|
|
11301
12124
|
*
|
|
11302
12125
|
* @param request - UpdateInstanceRequest
|
|
11303
12126
|
* @returns UpdateInstanceResponse
|
|
@@ -11308,7 +12131,7 @@ export default class Client extends OpenApi {
|
|
|
11308
12131
|
}
|
|
11309
12132
|
|
|
11310
12133
|
/**
|
|
11311
|
-
*
|
|
12134
|
+
* Modifies campaign information.
|
|
11312
12135
|
*
|
|
11313
12136
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
11314
12137
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11405,7 +12228,7 @@ export default class Client extends OpenApi {
|
|
|
11405
12228
|
}
|
|
11406
12229
|
|
|
11407
12230
|
/**
|
|
11408
|
-
*
|
|
12231
|
+
* Modifies campaign information.
|
|
11409
12232
|
*
|
|
11410
12233
|
* @param request - UpdateMarketingFLowRequest
|
|
11411
12234
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -11418,6 +12241,12 @@ export default class Client extends OpenApi {
|
|
|
11418
12241
|
/**
|
|
11419
12242
|
* Updates the encryption public key of a phone number.
|
|
11420
12243
|
*
|
|
12244
|
+
* @remarks
|
|
12245
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12246
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
12247
|
+
* #### QPS limit
|
|
12248
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
12249
|
+
*
|
|
11421
12250
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11422
12251
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
11423
12252
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -11469,6 +12298,12 @@ export default class Client extends OpenApi {
|
|
|
11469
12298
|
/**
|
|
11470
12299
|
* Updates the encryption public key of a phone number.
|
|
11471
12300
|
*
|
|
12301
|
+
* @remarks
|
|
12302
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
12303
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
12304
|
+
* #### QPS limit
|
|
12305
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
12306
|
+
*
|
|
11472
12307
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
11473
12308
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
11474
12309
|
*/
|
|
@@ -11478,7 +12313,14 @@ export default class Client extends OpenApi {
|
|
|
11478
12313
|
}
|
|
11479
12314
|
|
|
11480
12315
|
/**
|
|
11481
|
-
* Modifies a
|
|
12316
|
+
* Modifies a message QR code.
|
|
12317
|
+
*
|
|
12318
|
+
* @remarks
|
|
12319
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
12320
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12321
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
12322
|
+
* #### QPS limit
|
|
12323
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
11482
12324
|
*
|
|
11483
12325
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11484
12326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11537,7 +12379,14 @@ export default class Client extends OpenApi {
|
|
|
11537
12379
|
}
|
|
11538
12380
|
|
|
11539
12381
|
/**
|
|
11540
|
-
* Modifies a
|
|
12382
|
+
* Modifies a message QR code.
|
|
12383
|
+
*
|
|
12384
|
+
* @remarks
|
|
12385
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
12386
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
12387
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
12388
|
+
* #### QPS limit
|
|
12389
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
11541
12390
|
*
|
|
11542
12391
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
11543
12392
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -11548,12 +12397,10 @@ export default class Client extends OpenApi {
|
|
|
11548
12397
|
}
|
|
11549
12398
|
|
|
11550
12399
|
/**
|
|
11551
|
-
*
|
|
11552
|
-
* \\* A value of OK indicates that the call is successful.
|
|
11553
|
-
* \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
|
|
12400
|
+
* Modifies the callback URL information for a phone number.
|
|
11554
12401
|
*
|
|
11555
12402
|
* @remarks
|
|
11556
|
-
* The
|
|
12403
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
11557
12404
|
*
|
|
11558
12405
|
* @param request - UpdatePhoneWebhookRequest
|
|
11559
12406
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11616,12 +12463,10 @@ export default class Client extends OpenApi {
|
|
|
11616
12463
|
}
|
|
11617
12464
|
|
|
11618
12465
|
/**
|
|
11619
|
-
*
|
|
11620
|
-
* \\* A value of OK indicates that the call is successful.
|
|
11621
|
-
* \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
|
|
12466
|
+
* Modifies the callback URL information for a phone number.
|
|
11622
12467
|
*
|
|
11623
12468
|
* @remarks
|
|
11624
|
-
* The
|
|
12469
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
11625
12470
|
*
|
|
11626
12471
|
* @param request - UpdatePhoneWebhookRequest
|
|
11627
12472
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -11632,7 +12477,7 @@ export default class Client extends OpenApi {
|
|
|
11632
12477
|
}
|
|
11633
12478
|
|
|
11634
12479
|
/**
|
|
11635
|
-
*
|
|
12480
|
+
* Updates the MML status of a WABA.
|
|
11636
12481
|
*
|
|
11637
12482
|
* @param request - UpdateWabaMmlStatusRequest
|
|
11638
12483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11683,7 +12528,7 @@ export default class Client extends OpenApi {
|
|
|
11683
12528
|
}
|
|
11684
12529
|
|
|
11685
12530
|
/**
|
|
11686
|
-
*
|
|
12531
|
+
* Updates the MML status of a WABA.
|
|
11687
12532
|
*
|
|
11688
12533
|
* @param request - UpdateWabaMmlStatusRequest
|
|
11689
12534
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -11694,7 +12539,61 @@ export default class Client extends OpenApi {
|
|
|
11694
12539
|
}
|
|
11695
12540
|
|
|
11696
12541
|
/**
|
|
11697
|
-
*
|
|
12542
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12543
|
+
*
|
|
12544
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12545
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12546
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12547
|
+
*/
|
|
12548
|
+
async updateWhatsappUserNameWithOptions(request: $_model.UpdateWhatsappUserNameRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12549
|
+
request.validate();
|
|
12550
|
+
let query = { };
|
|
12551
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
12552
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
12553
|
+
}
|
|
12554
|
+
|
|
12555
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
12556
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
12557
|
+
}
|
|
12558
|
+
|
|
12559
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
12560
|
+
query["TransferAction"] = request.transferAction;
|
|
12561
|
+
}
|
|
12562
|
+
|
|
12563
|
+
if (!$dara.isNull(request.username)) {
|
|
12564
|
+
query["Username"] = request.username;
|
|
12565
|
+
}
|
|
12566
|
+
|
|
12567
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12568
|
+
query: OpenApiUtil.query(query),
|
|
12569
|
+
});
|
|
12570
|
+
let params = new $OpenApiUtil.Params({
|
|
12571
|
+
action: "UpdateWhatsappUserName",
|
|
12572
|
+
version: "2020-06-06",
|
|
12573
|
+
protocol: "HTTPS",
|
|
12574
|
+
pathname: "/",
|
|
12575
|
+
method: "POST",
|
|
12576
|
+
authType: "AK",
|
|
12577
|
+
style: "RPC",
|
|
12578
|
+
reqBodyType: "formData",
|
|
12579
|
+
bodyType: "json",
|
|
12580
|
+
});
|
|
12581
|
+
return $dara.cast<$_model.UpdateWhatsappUserNameResponse>(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
12582
|
+
}
|
|
12583
|
+
|
|
12584
|
+
/**
|
|
12585
|
+
* Updates the WhatsApp username for a business phone number.
|
|
12586
|
+
*
|
|
12587
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
12588
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
12589
|
+
*/
|
|
12590
|
+
async updateWhatsappUserName(request: $_model.UpdateWhatsappUserNameRequest): Promise<$_model.UpdateWhatsappUserNameResponse> {
|
|
12591
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12592
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
12593
|
+
}
|
|
12594
|
+
|
|
12595
|
+
/**
|
|
12596
|
+
* Places, answers, or ends WhatsApp voice calls.
|
|
11698
12597
|
*
|
|
11699
12598
|
* @param tmpReq - WhatsappCallRequest
|
|
11700
12599
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11763,7 +12662,7 @@ export default class Client extends OpenApi {
|
|
|
11763
12662
|
}
|
|
11764
12663
|
|
|
11765
12664
|
/**
|
|
11766
|
-
*
|
|
12665
|
+
* Places, answers, or ends WhatsApp voice calls.
|
|
11767
12666
|
*
|
|
11768
12667
|
* @param request - WhatsappCallRequest
|
|
11769
12668
|
* @returns WhatsappCallResponse
|