@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/dist/client.js
CHANGED
|
@@ -49,6 +49,9 @@ class Client extends openapi_core_1.default {
|
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
|
+
this._endpointMap = {
|
|
53
|
+
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
54
|
+
};
|
|
52
55
|
this.checkConfig(config);
|
|
53
56
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
54
57
|
}
|
|
@@ -62,7 +65,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
65
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
66
|
}
|
|
64
67
|
/**
|
|
65
|
-
*
|
|
68
|
+
* Submits a request to change the destination, resume, or pause.
|
|
66
69
|
*
|
|
67
70
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
68
71
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111,7 +114,7 @@ class Client extends openapi_core_1.default {
|
|
|
111
114
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
112
115
|
}
|
|
113
116
|
/**
|
|
114
|
-
*
|
|
117
|
+
* Submits a request to change the destination, resume, or pause.
|
|
115
118
|
*
|
|
116
119
|
* @param request - AddAddressRecoverSuspendRequest
|
|
117
120
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -121,7 +124,7 @@ class Client extends openapi_core_1.default {
|
|
|
121
124
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
122
125
|
}
|
|
123
126
|
/**
|
|
124
|
-
*
|
|
127
|
+
* Signs up for a Viber account.
|
|
125
128
|
*
|
|
126
129
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
127
130
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -170,7 +173,7 @@ class Client extends openapi_core_1.default {
|
|
|
170
173
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
171
174
|
}
|
|
172
175
|
/**
|
|
173
|
-
*
|
|
176
|
+
* Signs up for a Viber account.
|
|
174
177
|
*
|
|
175
178
|
* @param request - AddAuditViberOpenRequest
|
|
176
179
|
* @returns AddAuditViberOpenResponse
|
|
@@ -180,7 +183,14 @@ class Client extends openapi_core_1.default {
|
|
|
180
183
|
return await this.addAuditViberOpenWithOptions(request, runtime);
|
|
181
184
|
}
|
|
182
185
|
/**
|
|
183
|
-
*
|
|
186
|
+
* Creates an IM group.
|
|
187
|
+
*
|
|
188
|
+
* @remarks
|
|
189
|
+
* >Notice:
|
|
190
|
+
* 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.
|
|
191
|
+
* - You can only create an IM group by calling this API.
|
|
192
|
+
* - After creating an IM group, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) API to generate an invite link.
|
|
193
|
+
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
184
194
|
*
|
|
185
195
|
* @param request - AddChatGroupRequest
|
|
186
196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -233,7 +243,14 @@ class Client extends openapi_core_1.default {
|
|
|
233
243
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupResponse({}));
|
|
234
244
|
}
|
|
235
245
|
/**
|
|
236
|
-
*
|
|
246
|
+
* Creates an IM group.
|
|
247
|
+
*
|
|
248
|
+
* @remarks
|
|
249
|
+
* >Notice:
|
|
250
|
+
* 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.
|
|
251
|
+
* - You can only create an IM group by calling this API.
|
|
252
|
+
* - After creating an IM group, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) API to generate an invite link.
|
|
253
|
+
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
237
254
|
*
|
|
238
255
|
* @param request - AddChatGroupRequest
|
|
239
256
|
* @returns AddChatGroupResponse
|
|
@@ -243,7 +260,15 @@ class Client extends openapi_core_1.default {
|
|
|
243
260
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
244
261
|
}
|
|
245
262
|
/**
|
|
246
|
-
*
|
|
263
|
+
* Adds an invite link for an IM group.
|
|
264
|
+
*
|
|
265
|
+
* @remarks
|
|
266
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
267
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
268
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
269
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
270
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
271
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
247
272
|
*
|
|
248
273
|
* @param request - AddChatGroupInviteLinkRequest
|
|
249
274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -290,7 +315,15 @@ class Client extends openapi_core_1.default {
|
|
|
290
315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
291
316
|
}
|
|
292
317
|
/**
|
|
293
|
-
*
|
|
318
|
+
* Adds an invite link for an IM group.
|
|
319
|
+
*
|
|
320
|
+
* @remarks
|
|
321
|
+
* >Notice: Adding IM group invite links through the API is a Meta beta feature. Contact your account manager to apply for access.
|
|
322
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
323
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
324
|
+
* - After you call this operation to add an IM group invite link, you can use the link to invite members to join the IM group.
|
|
325
|
+
* - Currently, members can join an IM group only through an invite link.
|
|
326
|
+
* - The maximum number of members in a WhatsApp group is 8.
|
|
294
327
|
*
|
|
295
328
|
* @param request - AddChatGroupInviteLinkRequest
|
|
296
329
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -300,7 +333,10 @@ class Client extends openapi_core_1.default {
|
|
|
300
333
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
301
334
|
}
|
|
302
335
|
/**
|
|
303
|
-
* Adds a phone number
|
|
336
|
+
* Adds a phone number to a WABA.
|
|
337
|
+
*
|
|
338
|
+
* @remarks
|
|
339
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
304
340
|
*
|
|
305
341
|
* @param request - AddChatappPhoneNumberRequest
|
|
306
342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -350,7 +386,10 @@ class Client extends openapi_core_1.default {
|
|
|
350
386
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
351
387
|
}
|
|
352
388
|
/**
|
|
353
|
-
* Adds a phone number
|
|
389
|
+
* Adds a phone number to a WABA.
|
|
390
|
+
*
|
|
391
|
+
* @remarks
|
|
392
|
+
* The China site (Chinese mainland) QPS limit for a single user on this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
354
393
|
*
|
|
355
394
|
* @param request - AddChatappPhoneNumberRequest
|
|
356
395
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -360,7 +399,7 @@ class Client extends openapi_core_1.default {
|
|
|
360
399
|
return await this.addChatappPhoneNumberWithOptions(request, runtime);
|
|
361
400
|
}
|
|
362
401
|
/**
|
|
363
|
-
*
|
|
402
|
+
* Edits a contact - add contact.
|
|
364
403
|
*
|
|
365
404
|
* @param tmpReq - AddContactsRequest
|
|
366
405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -430,7 +469,7 @@ class Client extends openapi_core_1.default {
|
|
|
430
469
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddContactsResponse({}));
|
|
431
470
|
}
|
|
432
471
|
/**
|
|
433
|
-
*
|
|
472
|
+
* Edits a contact - add contact.
|
|
434
473
|
*
|
|
435
474
|
* @param request - AddContactsRequest
|
|
436
475
|
* @returns AddContactsResponse
|
|
@@ -440,7 +479,10 @@ class Client extends openapi_core_1.default {
|
|
|
440
479
|
return await this.addContactsWithOptions(request, runtime);
|
|
441
480
|
}
|
|
442
481
|
/**
|
|
443
|
-
*
|
|
482
|
+
* Adds users to a custom audience.
|
|
483
|
+
*
|
|
484
|
+
* @remarks
|
|
485
|
+
* 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.
|
|
444
486
|
*
|
|
445
487
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
446
488
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -501,7 +543,10 @@ class Client extends openapi_core_1.default {
|
|
|
501
543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCustomAudienceUserResponse({}));
|
|
502
544
|
}
|
|
503
545
|
/**
|
|
504
|
-
*
|
|
546
|
+
* Adds users to a custom audience.
|
|
547
|
+
*
|
|
548
|
+
* @remarks
|
|
549
|
+
* 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.
|
|
505
550
|
*
|
|
506
551
|
* @param request - AddCustomAudienceUserRequest
|
|
507
552
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -511,7 +556,7 @@ class Client extends openapi_core_1.default {
|
|
|
511
556
|
return await this.addCustomAudienceUserWithOptions(request, runtime);
|
|
512
557
|
}
|
|
513
558
|
/**
|
|
514
|
-
*
|
|
559
|
+
* Adds a group.
|
|
515
560
|
*
|
|
516
561
|
* @param tmpReq - AddGroupRequest
|
|
517
562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -578,7 +623,7 @@ class Client extends openapi_core_1.default {
|
|
|
578
623
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddGroupResponse({}));
|
|
579
624
|
}
|
|
580
625
|
/**
|
|
581
|
-
*
|
|
626
|
+
* Adds a group.
|
|
582
627
|
*
|
|
583
628
|
* @param request - AddGroupRequest
|
|
584
629
|
* @returns AddGroupResponse
|
|
@@ -680,7 +725,60 @@ class Client extends openapi_core_1.default {
|
|
|
680
725
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
681
726
|
}
|
|
682
727
|
/**
|
|
683
|
-
*
|
|
728
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
729
|
+
*
|
|
730
|
+
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
732
|
+
* @returns ArchiveChatappTemplateResponse
|
|
733
|
+
*/
|
|
734
|
+
async archiveChatappTemplateWithOptions(tmpReq, runtime) {
|
|
735
|
+
tmpReq.validate();
|
|
736
|
+
let request = new $_model.ArchiveChatappTemplateShrinkRequest({});
|
|
737
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
738
|
+
if (!$dara.isNull(tmpReq.templateList)) {
|
|
739
|
+
request.templateListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.templateList, "TemplateList", "json");
|
|
740
|
+
}
|
|
741
|
+
let query = {};
|
|
742
|
+
if (!$dara.isNull(request.archiveType)) {
|
|
743
|
+
query["ArchiveType"] = request.archiveType;
|
|
744
|
+
}
|
|
745
|
+
if (!$dara.isNull(request.channelType)) {
|
|
746
|
+
query["ChannelType"] = request.channelType;
|
|
747
|
+
}
|
|
748
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
749
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
750
|
+
}
|
|
751
|
+
if (!$dara.isNull(request.templateListShrink)) {
|
|
752
|
+
query["TemplateList"] = request.templateListShrink;
|
|
753
|
+
}
|
|
754
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
755
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
756
|
+
});
|
|
757
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
758
|
+
action: "ArchiveChatappTemplate",
|
|
759
|
+
version: "2020-06-06",
|
|
760
|
+
protocol: "HTTPS",
|
|
761
|
+
pathname: "/",
|
|
762
|
+
method: "POST",
|
|
763
|
+
authType: "AK",
|
|
764
|
+
style: "RPC",
|
|
765
|
+
reqBodyType: "formData",
|
|
766
|
+
bodyType: "json",
|
|
767
|
+
});
|
|
768
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
|
+
}
|
|
770
|
+
/**
|
|
771
|
+
* Archives a Chat App Message Service template. Currently, only WhatsApp templates support archiving.
|
|
772
|
+
*
|
|
773
|
+
* @param request - ArchiveChatappTemplateRequest
|
|
774
|
+
* @returns ArchiveChatappTemplateResponse
|
|
775
|
+
*/
|
|
776
|
+
async archiveChatappTemplate(request) {
|
|
777
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
778
|
+
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* Associates a DM account.
|
|
684
782
|
*
|
|
685
783
|
* @param tmpReq - BindDmAccountRequest
|
|
686
784
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -729,7 +827,7 @@ class Client extends openapi_core_1.default {
|
|
|
729
827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
730
828
|
}
|
|
731
829
|
/**
|
|
732
|
-
*
|
|
830
|
+
* Associates a DM account.
|
|
733
831
|
*
|
|
734
832
|
* @param request - BindDmAccountRequest
|
|
735
833
|
* @returns BindDmAccountResponse
|
|
@@ -739,7 +837,7 @@ class Client extends openapi_core_1.default {
|
|
|
739
837
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
740
838
|
}
|
|
741
839
|
/**
|
|
742
|
-
*
|
|
840
|
+
* Associates a page with an instance.
|
|
743
841
|
*
|
|
744
842
|
* @param request - BindInstagramPageRequest
|
|
745
843
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -783,7 +881,7 @@ class Client extends openapi_core_1.default {
|
|
|
783
881
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
784
882
|
}
|
|
785
883
|
/**
|
|
786
|
-
*
|
|
884
|
+
* Associates a page with an instance.
|
|
787
885
|
*
|
|
788
886
|
* @param request - BindInstagramPageRequest
|
|
789
887
|
* @returns BindInstagramPageResponse
|
|
@@ -892,10 +990,10 @@ class Client extends openapi_core_1.default {
|
|
|
892
990
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
893
991
|
}
|
|
894
992
|
/**
|
|
895
|
-
* Binds
|
|
993
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
896
994
|
*
|
|
897
995
|
* @remarks
|
|
898
|
-
*
|
|
996
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
899
997
|
*
|
|
900
998
|
* @param request - ChatappBindWabaRequest
|
|
901
999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -933,10 +1031,10 @@ class Client extends openapi_core_1.default {
|
|
|
933
1031
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
934
1032
|
}
|
|
935
1033
|
/**
|
|
936
|
-
* Binds
|
|
1034
|
+
* Binds a WhatsApp Business Account (WABA) through the northbound interface.
|
|
937
1035
|
*
|
|
938
1036
|
* @remarks
|
|
939
|
-
*
|
|
1037
|
+
* The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls will be throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
940
1038
|
*
|
|
941
1039
|
* @param request - ChatappBindWabaRequest
|
|
942
1040
|
* @returns ChatappBindWabaResponse
|
|
@@ -946,10 +1044,10 @@ class Client extends openapi_core_1.default {
|
|
|
946
1044
|
return await this.chatappBindWabaWithOptions(request, runtime);
|
|
947
1045
|
}
|
|
948
1046
|
/**
|
|
949
|
-
*
|
|
1047
|
+
* Migrates a phone number registration.
|
|
950
1048
|
*
|
|
951
1049
|
* @remarks
|
|
952
|
-
* The
|
|
1050
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
953
1051
|
*
|
|
954
1052
|
* @param request - ChatappMigrationRegisterRequest
|
|
955
1053
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -990,10 +1088,10 @@ class Client extends openapi_core_1.default {
|
|
|
990
1088
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappMigrationRegisterResponse({}));
|
|
991
1089
|
}
|
|
992
1090
|
/**
|
|
993
|
-
*
|
|
1091
|
+
* Migrates a phone number registration.
|
|
994
1092
|
*
|
|
995
1093
|
* @remarks
|
|
996
|
-
* The
|
|
1094
|
+
* The queries per second (QPS) limit for this operation is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
997
1095
|
*
|
|
998
1096
|
* @param request - ChatappMigrationRegisterRequest
|
|
999
1097
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1003,10 +1101,10 @@ class Client extends openapi_core_1.default {
|
|
|
1003
1101
|
return await this.chatappMigrationRegisterWithOptions(request, runtime);
|
|
1004
1102
|
}
|
|
1005
1103
|
/**
|
|
1006
|
-
* Verifies a
|
|
1104
|
+
* Verifies a phone number for migration.
|
|
1007
1105
|
*
|
|
1008
1106
|
* @remarks
|
|
1009
|
-
*
|
|
1107
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1010
1108
|
*
|
|
1011
1109
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1012
1110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1050,10 +1148,10 @@ class Client extends openapi_core_1.default {
|
|
|
1050
1148
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappMigrationVerifiedResponse({}));
|
|
1051
1149
|
}
|
|
1052
1150
|
/**
|
|
1053
|
-
* Verifies a
|
|
1151
|
+
* Verifies a phone number for migration.
|
|
1054
1152
|
*
|
|
1055
1153
|
* @remarks
|
|
1056
|
-
*
|
|
1154
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
1057
1155
|
*
|
|
1058
1156
|
* @param request - ChatappMigrationVerifiedRequest
|
|
1059
1157
|
* @returns ChatappMigrationVerifiedResponse
|
|
@@ -1063,10 +1161,10 @@ class Client extends openapi_core_1.default {
|
|
|
1063
1161
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1064
1162
|
}
|
|
1065
1163
|
/**
|
|
1066
|
-
* Deregisters a phone number from
|
|
1164
|
+
* Deregisters a phone number from WABA.
|
|
1067
1165
|
*
|
|
1068
1166
|
* @remarks
|
|
1069
|
-
*
|
|
1167
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1070
1168
|
*
|
|
1071
1169
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1072
1170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1107,10 +1205,10 @@ class Client extends openapi_core_1.default {
|
|
|
1107
1205
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1108
1206
|
}
|
|
1109
1207
|
/**
|
|
1110
|
-
* Deregisters a phone number from
|
|
1208
|
+
* Deregisters a phone number from WABA.
|
|
1111
1209
|
*
|
|
1112
1210
|
* @remarks
|
|
1113
|
-
*
|
|
1211
|
+
* The China Mainland site (Chinese) QPS limit for a single user for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
1114
1212
|
*
|
|
1115
1213
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1116
1214
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1120,10 +1218,10 @@ class Client extends openapi_core_1.default {
|
|
|
1120
1218
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1121
1219
|
}
|
|
1122
1220
|
/**
|
|
1123
|
-
* Registers a phone number.
|
|
1221
|
+
* Registers a phone number through the northbound interface.
|
|
1124
1222
|
*
|
|
1125
1223
|
* @remarks
|
|
1126
|
-
*
|
|
1224
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1127
1225
|
*
|
|
1128
1226
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1129
1227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1164,10 +1262,10 @@ class Client extends openapi_core_1.default {
|
|
|
1164
1262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1165
1263
|
}
|
|
1166
1264
|
/**
|
|
1167
|
-
* Registers a phone number.
|
|
1265
|
+
* Registers a phone number through the northbound interface.
|
|
1168
1266
|
*
|
|
1169
1267
|
* @remarks
|
|
1170
|
-
*
|
|
1268
|
+
* The China Mainland Messaging API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1171
1269
|
*
|
|
1172
1270
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1173
1271
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1177,10 +1275,10 @@ class Client extends openapi_core_1.default {
|
|
|
1177
1275
|
return await this.chatappPhoneNumberRegisterWithOptions(request, runtime);
|
|
1178
1276
|
}
|
|
1179
1277
|
/**
|
|
1180
|
-
* Synchronizes phone
|
|
1278
|
+
* Synchronizes phone number information.
|
|
1181
1279
|
*
|
|
1182
1280
|
* @remarks
|
|
1183
|
-
*
|
|
1281
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1184
1282
|
*
|
|
1185
1283
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1186
1284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1218,10 +1316,10 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappSyncPhoneNumberResponse({}));
|
|
1219
1317
|
}
|
|
1220
1318
|
/**
|
|
1221
|
-
* Synchronizes phone
|
|
1319
|
+
* Synchronizes phone number information.
|
|
1222
1320
|
*
|
|
1223
1321
|
* @remarks
|
|
1224
|
-
*
|
|
1322
|
+
* The China-specific QPS limit for this API is 10 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
1225
1323
|
*
|
|
1226
1324
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1227
1325
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1231,10 +1329,10 @@ class Client extends openapi_core_1.default {
|
|
|
1231
1329
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1232
1330
|
}
|
|
1233
1331
|
/**
|
|
1234
|
-
*
|
|
1332
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1235
1333
|
*
|
|
1236
1334
|
* @remarks
|
|
1237
|
-
*
|
|
1335
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1238
1336
|
*
|
|
1239
1337
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1240
1338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1278,10 +1376,10 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1376
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1279
1377
|
}
|
|
1280
1378
|
/**
|
|
1281
|
-
*
|
|
1379
|
+
* Verifies a verification code and registers through the northbound interface.
|
|
1282
1380
|
*
|
|
1283
1381
|
* @remarks
|
|
1284
|
-
*
|
|
1382
|
+
* The queries per second (QPS) limit for this API is 10 calls per second per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this API appropriately.
|
|
1285
1383
|
*
|
|
1286
1384
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1287
1385
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1291,7 +1389,7 @@ class Client extends openapi_core_1.default {
|
|
|
1291
1389
|
return await this.chatappVerifyAndRegisterWithOptions(request, runtime);
|
|
1292
1390
|
}
|
|
1293
1391
|
/**
|
|
1294
|
-
*
|
|
1392
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1295
1393
|
*
|
|
1296
1394
|
* @param tmpReq - CheckDirectSendMessageSampleRequest
|
|
1297
1395
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1337,7 +1435,7 @@ class Client extends openapi_core_1.default {
|
|
|
1337
1435
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckDirectSendMessageSampleResponse({}));
|
|
1338
1436
|
}
|
|
1339
1437
|
/**
|
|
1340
|
-
*
|
|
1438
|
+
* Validates the content of a WhatsApp direct-send template.
|
|
1341
1439
|
*
|
|
1342
1440
|
* @param request - CheckDirectSendMessageSampleRequest
|
|
1343
1441
|
* @returns CheckDirectSendMessageSampleResponse
|
|
@@ -1347,7 +1445,7 @@ class Client extends openapi_core_1.default {
|
|
|
1347
1445
|
return await this.checkDirectSendMessageSampleWithOptions(request, runtime);
|
|
1348
1446
|
}
|
|
1349
1447
|
/**
|
|
1350
|
-
*
|
|
1448
|
+
* Copies a template.
|
|
1351
1449
|
*
|
|
1352
1450
|
* @param request - CopyTemplateRequest
|
|
1353
1451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1394,7 +1492,7 @@ class Client extends openapi_core_1.default {
|
|
|
1394
1492
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyTemplateResponse({}));
|
|
1395
1493
|
}
|
|
1396
1494
|
/**
|
|
1397
|
-
*
|
|
1495
|
+
* Copies a template.
|
|
1398
1496
|
*
|
|
1399
1497
|
* @param request - CopyTemplateRequest
|
|
1400
1498
|
* @returns CopyTemplateResponse
|
|
@@ -1404,7 +1502,11 @@ class Client extends openapi_core_1.default {
|
|
|
1404
1502
|
return await this.copyTemplateWithOptions(request, runtime);
|
|
1405
1503
|
}
|
|
1406
1504
|
/**
|
|
1407
|
-
*
|
|
1505
|
+
* Creates a flow.
|
|
1506
|
+
*
|
|
1507
|
+
* @remarks
|
|
1508
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1509
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1408
1510
|
*
|
|
1409
1511
|
* @param tmpReq - CreateChatFlowRequest
|
|
1410
1512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1459,7 +1561,11 @@ class Client extends openapi_core_1.default {
|
|
|
1459
1561
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowResponse({}));
|
|
1460
1562
|
}
|
|
1461
1563
|
/**
|
|
1462
|
-
*
|
|
1564
|
+
* Creates a flow.
|
|
1565
|
+
*
|
|
1566
|
+
* @remarks
|
|
1567
|
+
* - This API operation creates a flow. You can also create a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1568
|
+
* - After you create a flow, you can orchestrate the canvas. For more information, see [Flow Editor components](https://help.aliyun.com/document_detail/2836818.html).
|
|
1463
1569
|
*
|
|
1464
1570
|
* @param request - CreateChatFlowRequest
|
|
1465
1571
|
* @returns CreateChatFlowResponse
|
|
@@ -1469,7 +1575,12 @@ class Client extends openapi_core_1.default {
|
|
|
1469
1575
|
return await this.createChatFlowWithOptions(request, runtime);
|
|
1470
1576
|
}
|
|
1471
1577
|
/**
|
|
1472
|
-
*
|
|
1578
|
+
* Creates and imports a flow.
|
|
1579
|
+
*
|
|
1580
|
+
* @remarks
|
|
1581
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1582
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1583
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1473
1584
|
*
|
|
1474
1585
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1475
1586
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1524,7 +1635,12 @@ class Client extends openapi_core_1.default {
|
|
|
1524
1635
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowByImportResponse({}));
|
|
1525
1636
|
}
|
|
1526
1637
|
/**
|
|
1527
|
-
*
|
|
1638
|
+
* Creates and imports a flow.
|
|
1639
|
+
*
|
|
1640
|
+
* @remarks
|
|
1641
|
+
* - You can call this operation to create and import a flow. You can also create and import a flow manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1642
|
+
* - Before you call this operation, ensure that you have exported the Domain-Specific Language (DSL) data for the flow.
|
|
1643
|
+
* - If you do not have the exported DSL data for a flow, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). Click a flow name to open the canvas. Arrange the components on the canvas, save the flow, and then export it as a JSON data file.
|
|
1528
1644
|
*
|
|
1529
1645
|
* @param request - CreateChatFlowByImportRequest
|
|
1530
1646
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1534,7 +1650,13 @@ class Client extends openapi_core_1.default {
|
|
|
1534
1650
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1535
1651
|
}
|
|
1536
1652
|
/**
|
|
1537
|
-
*
|
|
1653
|
+
* Creates log settings for a flow.
|
|
1654
|
+
*
|
|
1655
|
+
* @remarks
|
|
1656
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1657
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1658
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1659
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1538
1660
|
*
|
|
1539
1661
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1540
1662
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1572,7 +1694,13 @@ class Client extends openapi_core_1.default {
|
|
|
1572
1694
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1573
1695
|
}
|
|
1574
1696
|
/**
|
|
1575
|
-
*
|
|
1697
|
+
* Creates log settings for a flow.
|
|
1698
|
+
*
|
|
1699
|
+
* @remarks
|
|
1700
|
+
* - To update the log settings for a flow using the API, you must first create the log settings. After the settings are created, call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the log settings. Then, call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the settings.
|
|
1701
|
+
* - If you do not need to update the log settings using the API, you can manually update the log settings on the Log page. In the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), choose **Settings** > **Log**.
|
|
1702
|
+
* - Before you call this operation, make sure that you have successfully created a flow.
|
|
1703
|
+
* - If you do not have a successfully created flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1576
1704
|
*
|
|
1577
1705
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1578
1706
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1582,10 +1710,10 @@ class Client extends openapi_core_1.default {
|
|
|
1582
1710
|
return await this.createChatFlowLogSettingWithOptions(request, runtime);
|
|
1583
1711
|
}
|
|
1584
1712
|
/**
|
|
1585
|
-
*
|
|
1713
|
+
* Initiates the migration of a phone number.
|
|
1586
1714
|
*
|
|
1587
1715
|
* @remarks
|
|
1588
|
-
*
|
|
1716
|
+
* 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.
|
|
1589
1717
|
*
|
|
1590
1718
|
* @param request - CreateChatappMigrationInitiateRequest
|
|
1591
1719
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1629,10 +1757,10 @@ class Client extends openapi_core_1.default {
|
|
|
1629
1757
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappMigrationInitiateResponse({}));
|
|
1630
1758
|
}
|
|
1631
1759
|
/**
|
|
1632
|
-
*
|
|
1760
|
+
* Initiates the migration of a phone number.
|
|
1633
1761
|
*
|
|
1634
1762
|
* @remarks
|
|
1635
|
-
*
|
|
1763
|
+
* 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.
|
|
1636
1764
|
*
|
|
1637
1765
|
* @param request - CreateChatappMigrationInitiateRequest
|
|
1638
1766
|
* @returns CreateChatappMigrationInitiateResponse
|
|
@@ -1642,13 +1770,13 @@ class Client extends openapi_core_1.default {
|
|
|
1642
1770
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1643
1771
|
}
|
|
1644
1772
|
/**
|
|
1645
|
-
*
|
|
1646
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1647
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1773
|
+
* Creates a message template. After a template is approved, you can use it to send messages.
|
|
1648
1774
|
*
|
|
1649
1775
|
* @remarks
|
|
1650
|
-
* ###
|
|
1651
|
-
*
|
|
1776
|
+
* ### QPS limit
|
|
1777
|
+
* 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.
|
|
1778
|
+
* ### Status change
|
|
1779
|
+
* 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).
|
|
1652
1780
|
*
|
|
1653
1781
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1654
1782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1718,13 +1846,13 @@ class Client extends openapi_core_1.default {
|
|
|
1718
1846
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1719
1847
|
}
|
|
1720
1848
|
/**
|
|
1721
|
-
*
|
|
1722
|
-
* \\\\\\\\* Example: OK. This parameter indicates that the request is successful.
|
|
1723
|
-
* \\\\\\\\* Other values indicate that the request fails. For more information, see \\\\\\[Error codes]\\\\\\(https://www.alibabacloud.com/help/zh/cams/latest/api-error-codes).
|
|
1849
|
+
* Creates a message template. After a template is approved, you can use it to send messages.
|
|
1724
1850
|
*
|
|
1725
1851
|
* @remarks
|
|
1726
|
-
* ###
|
|
1727
|
-
*
|
|
1852
|
+
* ### QPS limit
|
|
1853
|
+
* 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.
|
|
1854
|
+
* ### Status change
|
|
1855
|
+
* 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).
|
|
1728
1856
|
*
|
|
1729
1857
|
* @param request - CreateChatappTemplateRequest
|
|
1730
1858
|
* @returns CreateChatappTemplateResponse
|
|
@@ -1734,7 +1862,7 @@ class Client extends openapi_core_1.default {
|
|
|
1734
1862
|
return await this.createChatappTemplateWithOptions(request, runtime);
|
|
1735
1863
|
}
|
|
1736
1864
|
/**
|
|
1737
|
-
*
|
|
1865
|
+
* Creates a custom audience.
|
|
1738
1866
|
*
|
|
1739
1867
|
* @param request - CreateCustomAudienceRequest
|
|
1740
1868
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1790,7 +1918,7 @@ class Client extends openapi_core_1.default {
|
|
|
1790
1918
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCustomAudienceResponse({}));
|
|
1791
1919
|
}
|
|
1792
1920
|
/**
|
|
1793
|
-
*
|
|
1921
|
+
* Creates a custom audience.
|
|
1794
1922
|
*
|
|
1795
1923
|
* @param request - CreateCustomAudienceRequest
|
|
1796
1924
|
* @returns CreateCustomAudienceResponse
|
|
@@ -1803,7 +1931,7 @@ class Client extends openapi_core_1.default {
|
|
|
1803
1931
|
* Creates a Flow.
|
|
1804
1932
|
*
|
|
1805
1933
|
* @remarks
|
|
1806
|
-
*
|
|
1934
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1807
1935
|
*
|
|
1808
1936
|
* @param tmpReq - CreateFlowRequest
|
|
1809
1937
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1858,7 +1986,7 @@ class Client extends openapi_core_1.default {
|
|
|
1858
1986
|
* Creates a Flow.
|
|
1859
1987
|
*
|
|
1860
1988
|
* @remarks
|
|
1861
|
-
*
|
|
1989
|
+
* The China Message Service (Chinese SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
1862
1990
|
*
|
|
1863
1991
|
* @param request - CreateFlowRequest
|
|
1864
1992
|
* @returns CreateFlowResponse
|
|
@@ -1868,7 +1996,12 @@ class Client extends openapi_core_1.default {
|
|
|
1868
1996
|
return await this.createFlowWithOptions(request, runtime);
|
|
1869
1997
|
}
|
|
1870
1998
|
/**
|
|
1871
|
-
*
|
|
1999
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2000
|
+
*
|
|
2001
|
+
* @remarks
|
|
2002
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2003
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2004
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1872
2005
|
*
|
|
1873
2006
|
* @param tmpReq - CreateFlowVersionRequest
|
|
1874
2007
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1923,7 +2056,12 @@ class Client extends openapi_core_1.default {
|
|
|
1923
2056
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
1924
2057
|
}
|
|
1925
2058
|
/**
|
|
1926
|
-
*
|
|
2059
|
+
* Creates a new version of a flow by copying an existing version.
|
|
2060
|
+
*
|
|
2061
|
+
* @remarks
|
|
2062
|
+
* - You can call this operation to create a new flow version. You can also manually copy a flow version from the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To do this, click a flow name to open the orchestration canvas and then copy the version.
|
|
2063
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
2064
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
1927
2065
|
*
|
|
1928
2066
|
* @param request - CreateFlowVersionRequest
|
|
1929
2067
|
* @returns CreateFlowVersionResponse
|
|
@@ -1933,7 +2071,7 @@ class Client extends openapi_core_1.default {
|
|
|
1933
2071
|
return await this.createFlowVersionWithOptions(request, runtime);
|
|
1934
2072
|
}
|
|
1935
2073
|
/**
|
|
1936
|
-
*
|
|
2074
|
+
* Creates an instance.
|
|
1937
2075
|
*
|
|
1938
2076
|
* @param request - CreateInstanceRequest
|
|
1939
2077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1989,7 +2127,7 @@ class Client extends openapi_core_1.default {
|
|
|
1989
2127
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateInstanceResponse({}));
|
|
1990
2128
|
}
|
|
1991
2129
|
/**
|
|
1992
|
-
*
|
|
2130
|
+
* Creates an instance.
|
|
1993
2131
|
*
|
|
1994
2132
|
* @param request - CreateInstanceRequest
|
|
1995
2133
|
* @returns CreateInstanceResponse
|
|
@@ -1999,7 +2137,7 @@ class Client extends openapi_core_1.default {
|
|
|
1999
2137
|
return await this.createInstanceWithOptions(request, runtime);
|
|
2000
2138
|
}
|
|
2001
2139
|
/**
|
|
2002
|
-
*
|
|
2140
|
+
* Creates a budget.
|
|
2003
2141
|
*
|
|
2004
2142
|
* @param request - CreateMessageCampaignRequest
|
|
2005
2143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2052,7 +2190,7 @@ class Client extends openapi_core_1.default {
|
|
|
2052
2190
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessageCampaignResponse({}));
|
|
2053
2191
|
}
|
|
2054
2192
|
/**
|
|
2055
|
-
*
|
|
2193
|
+
* Creates a budget.
|
|
2056
2194
|
*
|
|
2057
2195
|
* @param request - CreateMessageCampaignRequest
|
|
2058
2196
|
* @returns CreateMessageCampaignResponse
|
|
@@ -2127,7 +2265,17 @@ class Client extends openapi_core_1.default {
|
|
|
2127
2265
|
return await this.createMessengerPageWithOptions(request, runtime);
|
|
2128
2266
|
}
|
|
2129
2267
|
/**
|
|
2130
|
-
* Creates a
|
|
2268
|
+
* Creates a message QR code.
|
|
2269
|
+
*
|
|
2270
|
+
* @remarks
|
|
2271
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2272
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2273
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2274
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2275
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2276
|
+
* page.
|
|
2277
|
+
* #### QPS limit
|
|
2278
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2131
2279
|
*
|
|
2132
2280
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2133
2281
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2174,7 +2322,17 @@ class Client extends openapi_core_1.default {
|
|
|
2174
2322
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePhoneMessageQrdlResponse({}));
|
|
2175
2323
|
}
|
|
2176
2324
|
/**
|
|
2177
|
-
* Creates a
|
|
2325
|
+
* Creates a message QR code.
|
|
2326
|
+
*
|
|
2327
|
+
* @remarks
|
|
2328
|
+
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2329
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2330
|
+
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2331
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2332
|
+
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2333
|
+
* page.
|
|
2334
|
+
* #### QPS limit
|
|
2335
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2178
2336
|
*
|
|
2179
2337
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2180
2338
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2243,7 +2401,12 @@ class Client extends openapi_core_1.default {
|
|
|
2243
2401
|
return await this.createWhatsappConversionApiWithOptions(request, runtime);
|
|
2244
2402
|
}
|
|
2245
2403
|
/**
|
|
2246
|
-
*
|
|
2404
|
+
* Deletes a flow.
|
|
2405
|
+
*
|
|
2406
|
+
* @remarks
|
|
2407
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2408
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2409
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2247
2410
|
*
|
|
2248
2411
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2249
2412
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2292,7 +2455,12 @@ class Client extends openapi_core_1.default {
|
|
|
2292
2455
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatFlowResponse({}));
|
|
2293
2456
|
}
|
|
2294
2457
|
/**
|
|
2295
|
-
*
|
|
2458
|
+
* Deletes a flow.
|
|
2459
|
+
*
|
|
2460
|
+
* @remarks
|
|
2461
|
+
* - You can call this operation to delete a flow. You can also manually delete a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2462
|
+
* - Before you delete a flow, make sure its status is Unpublished.
|
|
2463
|
+
* - Deleted flows cannot be recovered. Proceed with caution.
|
|
2296
2464
|
*
|
|
2297
2465
|
* @param request - DeleteChatFlowRequest
|
|
2298
2466
|
* @returns DeleteChatFlowResponse
|
|
@@ -2302,7 +2470,13 @@ class Client extends openapi_core_1.default {
|
|
|
2302
2470
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2303
2471
|
}
|
|
2304
2472
|
/**
|
|
2305
|
-
*
|
|
2473
|
+
* Deletes a successfully created IM group.
|
|
2474
|
+
*
|
|
2475
|
+
* @remarks
|
|
2476
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2477
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2478
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2479
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2306
2480
|
*
|
|
2307
2481
|
* @param request - DeleteChatGroupRequest
|
|
2308
2482
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2349,7 +2523,13 @@ class Client extends openapi_core_1.default {
|
|
|
2349
2523
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2350
2524
|
}
|
|
2351
2525
|
/**
|
|
2352
|
-
*
|
|
2526
|
+
* Deletes a successfully created IM group.
|
|
2527
|
+
*
|
|
2528
|
+
* @remarks
|
|
2529
|
+
* >Notice: The API-based IM group deletion feature is a Meta beta feature. Contact your account manager to apply for access.
|
|
2530
|
+
* - Before calling this operation, make sure that you have a successfully created IM group.
|
|
2531
|
+
* - If you do not have a successfully created IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2532
|
+
* - A deleted IM group cannot be recovered. Proceed with caution.
|
|
2353
2533
|
*
|
|
2354
2534
|
* @param request - DeleteChatGroupRequest
|
|
2355
2535
|
* @returns DeleteChatGroupResponse
|
|
@@ -2359,7 +2539,13 @@ class Client extends openapi_core_1.default {
|
|
|
2359
2539
|
return await this.deleteChatGroupWithOptions(request, runtime);
|
|
2360
2540
|
}
|
|
2361
2541
|
/**
|
|
2362
|
-
*
|
|
2542
|
+
* Deletes an IM group invitation link.
|
|
2543
|
+
*
|
|
2544
|
+
* @remarks
|
|
2545
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2546
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2547
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2548
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2363
2549
|
*
|
|
2364
2550
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2365
2551
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2406,7 +2592,13 @@ class Client extends openapi_core_1.default {
|
|
|
2406
2592
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupInviteLinkResponse({}));
|
|
2407
2593
|
}
|
|
2408
2594
|
/**
|
|
2409
|
-
*
|
|
2595
|
+
* Deletes an IM group invitation link.
|
|
2596
|
+
*
|
|
2597
|
+
* @remarks
|
|
2598
|
+
* >Notice: The ability to delete IM group invitation links through the API is a Meta beta feature. Contact your account manager to request access.
|
|
2599
|
+
* - Before calling this operation, make sure that the IM group you created already has an IM group invitation link added.
|
|
2600
|
+
* - If you do not have an existing IM group, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
2601
|
+
* - After you delete an IM group invitation link, the IM group can no longer invite members to join. Proceed with caution.
|
|
2410
2602
|
*
|
|
2411
2603
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2412
2604
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2416,7 +2608,14 @@ class Client extends openapi_core_1.default {
|
|
|
2416
2608
|
return await this.deleteChatGroupInviteLinkWithOptions(request, runtime);
|
|
2417
2609
|
}
|
|
2418
2610
|
/**
|
|
2419
|
-
*
|
|
2611
|
+
* Removes members from an IM group.
|
|
2612
|
+
*
|
|
2613
|
+
* @remarks
|
|
2614
|
+
* >Notice:
|
|
2615
|
+
* This operation is a beta feature from Meta. Contact your account manager to add your account to the allowlist before use.
|
|
2616
|
+
* - This operation requires an existing IM group that members have joined via an invitation link.
|
|
2617
|
+
* - 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.
|
|
2618
|
+
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2420
2619
|
*
|
|
2421
2620
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2422
2621
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2471,7 +2670,14 @@ class Client extends openapi_core_1.default {
|
|
|
2471
2670
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupParticipantsResponse({}));
|
|
2472
2671
|
}
|
|
2473
2672
|
/**
|
|
2474
|
-
*
|
|
2673
|
+
* Removes members from an IM group.
|
|
2674
|
+
*
|
|
2675
|
+
* @remarks
|
|
2676
|
+
* >Notice:
|
|
2677
|
+
* This operation is a beta feature from Meta. Contact your account manager to add your account to the allowlist before use.
|
|
2678
|
+
* - This operation requires an existing IM group that members have joined via an invitation link.
|
|
2679
|
+
* - 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.
|
|
2680
|
+
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2475
2681
|
*
|
|
2476
2682
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
2477
2683
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -2485,7 +2691,7 @@ class Client extends openapi_core_1.default {
|
|
|
2485
2691
|
*
|
|
2486
2692
|
* @remarks
|
|
2487
2693
|
* ### QPS limit
|
|
2488
|
-
*
|
|
2694
|
+
* 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.
|
|
2489
2695
|
*
|
|
2490
2696
|
* @param request - DeleteChatappTemplateRequest
|
|
2491
2697
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2545,7 +2751,7 @@ class Client extends openapi_core_1.default {
|
|
|
2545
2751
|
*
|
|
2546
2752
|
* @remarks
|
|
2547
2753
|
* ### QPS limit
|
|
2548
|
-
*
|
|
2754
|
+
* 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.
|
|
2549
2755
|
*
|
|
2550
2756
|
* @param request - DeleteChatappTemplateRequest
|
|
2551
2757
|
* @returns DeleteChatappTemplateResponse
|
|
@@ -2623,7 +2829,7 @@ class Client extends openapi_core_1.default {
|
|
|
2623
2829
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2624
2830
|
}
|
|
2625
2831
|
/**
|
|
2626
|
-
*
|
|
2832
|
+
* Deletes contacts by selecting and removing them.
|
|
2627
2833
|
*
|
|
2628
2834
|
* @param request - DeleteContactsByIdsRequest
|
|
2629
2835
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2661,7 +2867,7 @@ class Client extends openapi_core_1.default {
|
|
|
2661
2867
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2662
2868
|
}
|
|
2663
2869
|
/**
|
|
2664
|
-
*
|
|
2870
|
+
* Deletes contacts by selecting and removing them.
|
|
2665
2871
|
*
|
|
2666
2872
|
* @param request - DeleteContactsByIdsRequest
|
|
2667
2873
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2671,10 +2877,10 @@ class Client extends openapi_core_1.default {
|
|
|
2671
2877
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2672
2878
|
}
|
|
2673
2879
|
/**
|
|
2674
|
-
* Deletes a Flow
|
|
2880
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2675
2881
|
*
|
|
2676
2882
|
* @remarks
|
|
2677
|
-
*
|
|
2883
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2678
2884
|
*
|
|
2679
2885
|
* @param request - DeleteFlowRequest
|
|
2680
2886
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2715,10 +2921,10 @@ class Client extends openapi_core_1.default {
|
|
|
2715
2921
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2716
2922
|
}
|
|
2717
2923
|
/**
|
|
2718
|
-
* Deletes a Flow
|
|
2924
|
+
* Deletes a Flow (only Flows in DRAFT status can be deleted).
|
|
2719
2925
|
*
|
|
2720
2926
|
* @remarks
|
|
2721
|
-
*
|
|
2927
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2722
2928
|
*
|
|
2723
2929
|
* @param request - DeleteFlowRequest
|
|
2724
2930
|
* @returns DeleteFlowResponse
|
|
@@ -2728,7 +2934,13 @@ class Client extends openapi_core_1.default {
|
|
|
2728
2934
|
return await this.deleteFlowWithOptions(request, runtime);
|
|
2729
2935
|
}
|
|
2730
2936
|
/**
|
|
2731
|
-
*
|
|
2937
|
+
* Deletes a flow version.
|
|
2938
|
+
*
|
|
2939
|
+
* @remarks
|
|
2940
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
2941
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
2942
|
+
* - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
2943
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2732
2944
|
*
|
|
2733
2945
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2734
2946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2780,7 +2992,13 @@ class Client extends openapi_core_1.default {
|
|
|
2780
2992
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowVersionResponse({}));
|
|
2781
2993
|
}
|
|
2782
2994
|
/**
|
|
2783
|
-
*
|
|
2995
|
+
* Deletes a flow version.
|
|
2996
|
+
*
|
|
2997
|
+
* @remarks
|
|
2998
|
+
* - You can call this operation to delete a flow version, or click a flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
2999
|
+
* - Before calling this operation, make sure that the flow version is in the offline state and that at least two flow versions exist.
|
|
3000
|
+
* - If the flow version is in the online state, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow version offline.
|
|
3001
|
+
* - After a flow version is deleted, the canvas flow that you orchestrated cannot be recovered. Proceed with caution.
|
|
2784
3002
|
*
|
|
2785
3003
|
* @param request - DeleteFlowVersionRequest
|
|
2786
3004
|
* @returns DeleteFlowVersionResponse
|
|
@@ -2889,7 +3107,7 @@ class Client extends openapi_core_1.default {
|
|
|
2889
3107
|
return await this.deleteInstagramPageWithOptions(request, runtime);
|
|
2890
3108
|
}
|
|
2891
3109
|
/**
|
|
2892
|
-
*
|
|
3110
|
+
* Deletes the specified instance.
|
|
2893
3111
|
*
|
|
2894
3112
|
* @param request - DeleteInstanceRequest
|
|
2895
3113
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2918,7 +3136,7 @@ class Client extends openapi_core_1.default {
|
|
|
2918
3136
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
2919
3137
|
}
|
|
2920
3138
|
/**
|
|
2921
|
-
*
|
|
3139
|
+
* Deletes the specified instance.
|
|
2922
3140
|
*
|
|
2923
3141
|
* @param request - DeleteInstanceRequest
|
|
2924
3142
|
* @returns DeleteInstanceResponse
|
|
@@ -2928,7 +3146,7 @@ class Client extends openapi_core_1.default {
|
|
|
2928
3146
|
return await this.deleteInstanceWithOptions(request, runtime);
|
|
2929
3147
|
}
|
|
2930
3148
|
/**
|
|
2931
|
-
*
|
|
3149
|
+
* Deletes a marketing campaign.
|
|
2932
3150
|
*
|
|
2933
3151
|
* @param request - DeleteMarketingFlowRequest
|
|
2934
3152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2969,7 +3187,7 @@ class Client extends openapi_core_1.default {
|
|
|
2969
3187
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMarketingFlowResponse({}));
|
|
2970
3188
|
}
|
|
2971
3189
|
/**
|
|
2972
|
-
*
|
|
3190
|
+
* Deletes a marketing campaign.
|
|
2973
3191
|
*
|
|
2974
3192
|
* @param request - DeleteMarketingFlowRequest
|
|
2975
3193
|
* @returns DeleteMarketingFlowResponse
|
|
@@ -2979,7 +3197,7 @@ class Client extends openapi_core_1.default {
|
|
|
2979
3197
|
return await this.deleteMarketingFlowWithOptions(request, runtime);
|
|
2980
3198
|
}
|
|
2981
3199
|
/**
|
|
2982
|
-
*
|
|
3200
|
+
* Deletes the budget for a marketing campaign.
|
|
2983
3201
|
*
|
|
2984
3202
|
* @param request - DeleteMessageCampaignRequest
|
|
2985
3203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3026,7 +3244,7 @@ class Client extends openapi_core_1.default {
|
|
|
3026
3244
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessageCampaignResponse({}));
|
|
3027
3245
|
}
|
|
3028
3246
|
/**
|
|
3029
|
-
*
|
|
3247
|
+
* Deletes the budget for a marketing campaign.
|
|
3030
3248
|
*
|
|
3031
3249
|
* @param request - DeleteMessageCampaignRequest
|
|
3032
3250
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3087,7 +3305,14 @@ class Client extends openapi_core_1.default {
|
|
|
3087
3305
|
return await this.deleteMessengerPageWithOptions(request, runtime);
|
|
3088
3306
|
}
|
|
3089
3307
|
/**
|
|
3090
|
-
* Deletes a
|
|
3308
|
+
* Deletes a message QR code.
|
|
3309
|
+
*
|
|
3310
|
+
* @remarks
|
|
3311
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3312
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3313
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3314
|
+
* #### QPS limit
|
|
3315
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3091
3316
|
*
|
|
3092
3317
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3093
3318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3131,7 +3356,14 @@ class Client extends openapi_core_1.default {
|
|
|
3131
3356
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePhoneMessageQrdlResponse({}));
|
|
3132
3357
|
}
|
|
3133
3358
|
/**
|
|
3134
|
-
* Deletes a
|
|
3359
|
+
* Deletes a message QR code.
|
|
3360
|
+
*
|
|
3361
|
+
* @remarks
|
|
3362
|
+
* - After you delete a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
3363
|
+
* - Before calling this operation, make sure that you have a successfully created message QR code.
|
|
3364
|
+
* - If you do not have a successfully created message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
3365
|
+
* #### QPS limit
|
|
3366
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
3135
3367
|
*
|
|
3136
3368
|
* @param request - DeletePhoneMessageQrdlRequest
|
|
3137
3369
|
* @returns DeletePhoneMessageQrdlResponse
|
|
@@ -3141,7 +3373,52 @@ class Client extends openapi_core_1.default {
|
|
|
3141
3373
|
return await this.deletePhoneMessageQrdlWithOptions(request, runtime);
|
|
3142
3374
|
}
|
|
3143
3375
|
/**
|
|
3144
|
-
*
|
|
3376
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3377
|
+
*
|
|
3378
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3379
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3380
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3381
|
+
*/
|
|
3382
|
+
async deleteWhatsappUserNameWithOptions(request, runtime) {
|
|
3383
|
+
request.validate();
|
|
3384
|
+
let query = {};
|
|
3385
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
3386
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
3387
|
+
}
|
|
3388
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
3389
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
3390
|
+
}
|
|
3391
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3392
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3393
|
+
});
|
|
3394
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3395
|
+
action: "DeleteWhatsappUserName",
|
|
3396
|
+
version: "2020-06-06",
|
|
3397
|
+
protocol: "HTTPS",
|
|
3398
|
+
pathname: "/",
|
|
3399
|
+
method: "POST",
|
|
3400
|
+
authType: "AK",
|
|
3401
|
+
style: "RPC",
|
|
3402
|
+
reqBodyType: "formData",
|
|
3403
|
+
bodyType: "json",
|
|
3404
|
+
});
|
|
3405
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteWhatsappUserNameResponse({}));
|
|
3406
|
+
}
|
|
3407
|
+
/**
|
|
3408
|
+
* Deletes the WhatsApp user name for a business phone number.
|
|
3409
|
+
*
|
|
3410
|
+
* @param request - DeleteWhatsappUserNameRequest
|
|
3411
|
+
* @returns DeleteWhatsappUserNameResponse
|
|
3412
|
+
*/
|
|
3413
|
+
async deleteWhatsappUserName(request) {
|
|
3414
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3415
|
+
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3416
|
+
}
|
|
3417
|
+
/**
|
|
3418
|
+
* Deprecates a WhatsApp flow.
|
|
3419
|
+
*
|
|
3420
|
+
* @remarks
|
|
3421
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
3145
3422
|
*
|
|
3146
3423
|
* @param request - DeprecateFlowRequest
|
|
3147
3424
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3182,7 +3459,10 @@ class Client extends openapi_core_1.default {
|
|
|
3182
3459
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprecateFlowResponse({}));
|
|
3183
3460
|
}
|
|
3184
3461
|
/**
|
|
3185
|
-
* Deprecates a
|
|
3462
|
+
* Deprecates a WhatsApp flow.
|
|
3463
|
+
*
|
|
3464
|
+
* @remarks
|
|
3465
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
3186
3466
|
*
|
|
3187
3467
|
* @param request - DeprecateFlowRequest
|
|
3188
3468
|
* @returns DeprecateFlowResponse
|
|
@@ -3192,10 +3472,14 @@ class Client extends openapi_core_1.default {
|
|
|
3192
3472
|
return await this.deprecateFlowWithOptions(request, runtime);
|
|
3193
3473
|
}
|
|
3194
3474
|
/**
|
|
3195
|
-
* Enables
|
|
3475
|
+
* Enables WhatsApp-related metric collection.
|
|
3196
3476
|
*
|
|
3197
3477
|
* @remarks
|
|
3198
|
-
*
|
|
3478
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3479
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3480
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3481
|
+
* ### QPS limit
|
|
3482
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3199
3483
|
*
|
|
3200
3484
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3201
3485
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3236,10 +3520,14 @@ class Client extends openapi_core_1.default {
|
|
|
3236
3520
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableWhatsappROIMetricResponse({}));
|
|
3237
3521
|
}
|
|
3238
3522
|
/**
|
|
3239
|
-
* Enables
|
|
3523
|
+
* Enables WhatsApp-related metric collection.
|
|
3240
3524
|
*
|
|
3241
3525
|
* @remarks
|
|
3242
|
-
*
|
|
3526
|
+
* - Before you retrieve metrics for the message sending volume of WhatsApp-type channels or metrics related to Marketing-type templates by calling API operations, call this operation to enable WhatsApp ROI metric collection.
|
|
3527
|
+
* - After you enable WhatsApp ROI metric collection, at least one day is required before metric data becomes available. Message sending volume metrics and Marketing-type template metrics for messages sent before the feature is enabled are not collected.
|
|
3528
|
+
* - After you enable WhatsApp ROI metric collection, you can call the [GetChatappPhoneNumberMetric](https://help.aliyun.com/document_detail/2557788.html) operation to query the sending volume metrics of a phone number, or call the [GetChatappTemplateMetric](https://help.aliyun.com/document_detail/2557790.html) operation to query metrics related to Marketing-type templates.
|
|
3529
|
+
* ### QPS limit
|
|
3530
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
3243
3531
|
*
|
|
3244
3532
|
* @param request - EnableWhatsappROIMetricRequest
|
|
3245
3533
|
* @returns EnableWhatsappROIMetricResponse
|
|
@@ -3249,7 +3537,16 @@ class Client extends openapi_core_1.default {
|
|
|
3249
3537
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3250
3538
|
}
|
|
3251
3539
|
/**
|
|
3252
|
-
*
|
|
3540
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
3541
|
+
*
|
|
3542
|
+
* @remarks
|
|
3543
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3544
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
3545
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3546
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3547
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3548
|
+
* <props="intl">
|
|
3549
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3253
3550
|
*
|
|
3254
3551
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3255
3552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3307,7 +3604,16 @@ class Client extends openapi_core_1.default {
|
|
|
3307
3604
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3308
3605
|
}
|
|
3309
3606
|
/**
|
|
3310
|
-
*
|
|
3607
|
+
* Attaches a phone number or a business account ID to a flow.
|
|
3608
|
+
*
|
|
3609
|
+
* @remarks
|
|
3610
|
+
* - Call this API operation to attach a phone number or a business account ID to a flow. You can also manually attach them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3611
|
+
* - Before you call this API operation, make sure that you have created a flow and a message channel of the corresponding type.
|
|
3612
|
+
* - For a WhatsApp channel, you must have completed [WhatsApp Business Account (WABA) registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3613
|
+
* - For a Messenger channel, you must have [connected a public homepage account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3614
|
+
* - For an Instagram channel, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3615
|
+
* <props="intl">
|
|
3616
|
+
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3311
3617
|
*
|
|
3312
3618
|
* @param request - FlowBindPhoneRequest
|
|
3313
3619
|
* @returns FlowBindPhoneResponse
|
|
@@ -3317,7 +3623,12 @@ class Client extends openapi_core_1.default {
|
|
|
3317
3623
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3318
3624
|
}
|
|
3319
3625
|
/**
|
|
3320
|
-
*
|
|
3626
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3627
|
+
*
|
|
3628
|
+
* @remarks
|
|
3629
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3630
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3631
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3321
3632
|
*
|
|
3322
3633
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3323
3634
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3375,7 +3686,12 @@ class Client extends openapi_core_1.default {
|
|
|
3375
3686
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3376
3687
|
}
|
|
3377
3688
|
/**
|
|
3378
|
-
*
|
|
3689
|
+
* Rebinds a phone number or merchant account ID to a flow.
|
|
3690
|
+
*
|
|
3691
|
+
* @remarks
|
|
3692
|
+
* - You can call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3693
|
+
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3694
|
+
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3379
3695
|
*
|
|
3380
3696
|
* @param request - FlowRebindPhoneRequest
|
|
3381
3697
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3385,7 +3701,14 @@ class Client extends openapi_core_1.default {
|
|
|
3385
3701
|
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
3386
3702
|
}
|
|
3387
3703
|
/**
|
|
3388
|
-
*
|
|
3704
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
3705
|
+
*
|
|
3706
|
+
* @remarks
|
|
3707
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
3708
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3709
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
3710
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3711
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3389
3712
|
*
|
|
3390
3713
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3391
3714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3437,7 +3760,14 @@ class Client extends openapi_core_1.default {
|
|
|
3437
3760
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
3438
3761
|
}
|
|
3439
3762
|
/**
|
|
3440
|
-
*
|
|
3763
|
+
* Unbinds a phone number or business account ID from a flow.
|
|
3764
|
+
*
|
|
3765
|
+
* @remarks
|
|
3766
|
+
* - Before you call this operation, ensure that the flow is unpublished. If the flow is published, you can unpublish it manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas. Alternatively, you can call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to unpublish the flow.
|
|
3767
|
+
* - You can call this operation to unbind a phone number or business account ID from a flow. You can also perform this action manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3768
|
+
* - Before you call this operation, ensure that a phone number or business account ID is bound to the flow.
|
|
3769
|
+
* - If no phone number or business account ID is bound to the flow, you can bind one manually on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3770
|
+
* - After a phone number or business account ID is unbound from a flow, the flow cannot be published. You must bind a new phone number or business account ID to the flow before you can publish it.
|
|
3441
3771
|
*
|
|
3442
3772
|
* @param request - FlowUnbindPhoneRequest
|
|
3443
3773
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3447,7 +3777,7 @@ class Client extends openapi_core_1.default {
|
|
|
3447
3777
|
return await this.flowUnbindPhoneWithOptions(request, runtime);
|
|
3448
3778
|
}
|
|
3449
3779
|
/**
|
|
3450
|
-
*
|
|
3780
|
+
* Retrieves a temporary URL.
|
|
3451
3781
|
*
|
|
3452
3782
|
* @param request - GeneratePresignedUrlRequest
|
|
3453
3783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3485,7 +3815,7 @@ class Client extends openapi_core_1.default {
|
|
|
3485
3815
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GeneratePresignedUrlResponse({}));
|
|
3486
3816
|
}
|
|
3487
3817
|
/**
|
|
3488
|
-
*
|
|
3818
|
+
* Retrieves a temporary URL.
|
|
3489
3819
|
*
|
|
3490
3820
|
* @param request - GeneratePresignedUrlRequest
|
|
3491
3821
|
* @returns GeneratePresignedUrlResponse
|
|
@@ -3546,7 +3876,7 @@ class Client extends openapi_core_1.default {
|
|
|
3546
3876
|
return await this.getAuditRequestByTypeUnAuditWithOptions(request, runtime);
|
|
3547
3877
|
}
|
|
3548
3878
|
/**
|
|
3549
|
-
*
|
|
3879
|
+
* Retrieves auto-generated templates.
|
|
3550
3880
|
*
|
|
3551
3881
|
* @param request - GetAutoGeneratedTemplateRequest
|
|
3552
3882
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3581,7 +3911,7 @@ class Client extends openapi_core_1.default {
|
|
|
3581
3911
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAutoGeneratedTemplateResponse({}));
|
|
3582
3912
|
}
|
|
3583
3913
|
/**
|
|
3584
|
-
*
|
|
3914
|
+
* Retrieves auto-generated templates.
|
|
3585
3915
|
*
|
|
3586
3916
|
* @param request - GetAutoGeneratedTemplateRequest
|
|
3587
3917
|
* @returns GetAutoGeneratedTemplateResponse
|
|
@@ -3591,7 +3921,13 @@ class Client extends openapi_core_1.default {
|
|
|
3591
3921
|
return await this.getAutoGeneratedTemplateWithOptions(request, runtime);
|
|
3592
3922
|
}
|
|
3593
3923
|
/**
|
|
3594
|
-
*
|
|
3924
|
+
* Retrieves ChatFlow runtime data.
|
|
3925
|
+
*
|
|
3926
|
+
* @remarks
|
|
3927
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
3928
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
3929
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
3930
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
3595
3931
|
*
|
|
3596
3932
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3597
3933
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3658,7 +3994,13 @@ class Client extends openapi_core_1.default {
|
|
|
3658
3994
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowMetricResponse({}));
|
|
3659
3995
|
}
|
|
3660
3996
|
/**
|
|
3661
|
-
*
|
|
3997
|
+
* Retrieves ChatFlow runtime data.
|
|
3998
|
+
*
|
|
3999
|
+
* @remarks
|
|
4000
|
+
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4001
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to open the canvas, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4002
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a campaign.
|
|
4003
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is automatically triggered when a message is sent to the bound business account.
|
|
3662
4004
|
*
|
|
3663
4005
|
* @param request - GetChatFlowMetricRequest
|
|
3664
4006
|
* @returns GetChatFlowMetricResponse
|
|
@@ -3668,7 +4010,11 @@ class Client extends openapi_core_1.default {
|
|
|
3668
4010
|
return await this.getChatFlowMetricWithOptions(request, runtime);
|
|
3669
4011
|
}
|
|
3670
4012
|
/**
|
|
3671
|
-
*
|
|
4013
|
+
* Queries the details of a flow template.
|
|
4014
|
+
*
|
|
4015
|
+
* @remarks
|
|
4016
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4017
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
3672
4018
|
*
|
|
3673
4019
|
* @param request - GetChatFlowTemplateRequest
|
|
3674
4020
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3709,7 +4055,11 @@ class Client extends openapi_core_1.default {
|
|
|
3709
4055
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatFlowTemplateResponse({}));
|
|
3710
4056
|
}
|
|
3711
4057
|
/**
|
|
3712
|
-
*
|
|
4058
|
+
* Queries the details of a flow template.
|
|
4059
|
+
*
|
|
4060
|
+
* @remarks
|
|
4061
|
+
* - You can call this operation to query the details of a flow template. You can also go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page and click a template name to view its details.
|
|
4062
|
+
* - After you view the details of a template on the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **View Templates** page, you can use the template to create a flow.
|
|
3713
4063
|
*
|
|
3714
4064
|
* @param request - GetChatFlowTemplateRequest
|
|
3715
4065
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -3719,7 +4069,7 @@ class Client extends openapi_core_1.default {
|
|
|
3719
4069
|
return await this.getChatFlowTemplateWithOptions(request, runtime);
|
|
3720
4070
|
}
|
|
3721
4071
|
/**
|
|
3722
|
-
*
|
|
4072
|
+
* Queries the activation status of ChatApp.
|
|
3723
4073
|
*
|
|
3724
4074
|
* @param request - GetChatappOpenStatusRequest
|
|
3725
4075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3754,7 +4104,7 @@ class Client extends openapi_core_1.default {
|
|
|
3754
4104
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappOpenStatusResponse({}));
|
|
3755
4105
|
}
|
|
3756
4106
|
/**
|
|
3757
|
-
*
|
|
4107
|
+
* Queries the activation status of ChatApp.
|
|
3758
4108
|
*
|
|
3759
4109
|
* @param request - GetChatappOpenStatusRequest
|
|
3760
4110
|
* @returns GetChatappOpenStatusResponse
|
|
@@ -3764,10 +4114,15 @@ class Client extends openapi_core_1.default {
|
|
|
3764
4114
|
return await this.getChatappOpenStatusWithOptions(request, runtime);
|
|
3765
4115
|
}
|
|
3766
4116
|
/**
|
|
3767
|
-
* Queries the
|
|
4117
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3768
4118
|
*
|
|
3769
4119
|
* @remarks
|
|
3770
|
-
*
|
|
4120
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4121
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4122
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4123
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4124
|
+
* ### QPS limit
|
|
4125
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3771
4126
|
*
|
|
3772
4127
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3773
4128
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3820,10 +4175,15 @@ class Client extends openapi_core_1.default {
|
|
|
3820
4175
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberMetricResponse({}));
|
|
3821
4176
|
}
|
|
3822
4177
|
/**
|
|
3823
|
-
* Queries the
|
|
4178
|
+
* Queries the message sending volume metrics for a WhatsApp channel phone number.
|
|
3824
4179
|
*
|
|
3825
4180
|
* @remarks
|
|
3826
|
-
*
|
|
4181
|
+
* - This operation can only query the sending volume metrics for phone numbers on WhatsApp channels.
|
|
4182
|
+
* - You can call this operation to query phone number sending volume metrics, or view them in the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Customer Statistics Daily Report** page.
|
|
4183
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, at least one day is required before statistics become available. Message sending volume metrics for messages sent before enabling are not collected.
|
|
4184
|
+
* - After enabling WhatsApp ROI metric collection, ensure that your channel has successfully sent messages. You can send messages on the <props="china">[**Channels Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channels Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4185
|
+
* ### QPS limit
|
|
4186
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3827
4187
|
*
|
|
3828
4188
|
* @param request - GetChatappPhoneNumberMetricRequest
|
|
3829
4189
|
* @returns GetChatappPhoneNumberMetricResponse
|
|
@@ -3833,7 +4193,7 @@ class Client extends openapi_core_1.default {
|
|
|
3833
4193
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
3834
4194
|
}
|
|
3835
4195
|
/**
|
|
3836
|
-
*
|
|
4196
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
3837
4197
|
*
|
|
3838
4198
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
3839
4199
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3874,7 +4234,7 @@ class Client extends openapi_core_1.default {
|
|
|
3874
4234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
3875
4235
|
}
|
|
3876
4236
|
/**
|
|
3877
|
-
*
|
|
4237
|
+
* Retrieves other controls for a ChatApp phone number.
|
|
3878
4238
|
*
|
|
3879
4239
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
3880
4240
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -3884,11 +4244,11 @@ class Client extends openapi_core_1.default {
|
|
|
3884
4244
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
3885
4245
|
}
|
|
3886
4246
|
/**
|
|
3887
|
-
*
|
|
4247
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
3888
4248
|
*
|
|
3889
4249
|
* @remarks
|
|
3890
4250
|
* ### QPS limit
|
|
3891
|
-
*
|
|
4251
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
3892
4252
|
*
|
|
3893
4253
|
* @param request - GetChatappTemplateDetailRequest
|
|
3894
4254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3935,11 +4295,11 @@ class Client extends openapi_core_1.default {
|
|
|
3935
4295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
3936
4296
|
}
|
|
3937
4297
|
/**
|
|
3938
|
-
*
|
|
4298
|
+
* Retrieves the details of a Chat App Message Service message template.
|
|
3939
4299
|
*
|
|
3940
4300
|
* @remarks
|
|
3941
4301
|
* ### QPS limit
|
|
3942
|
-
*
|
|
4302
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
3943
4303
|
*
|
|
3944
4304
|
* @param request - GetChatappTemplateDetailRequest
|
|
3945
4305
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -3949,10 +4309,14 @@ class Client extends openapi_core_1.default {
|
|
|
3949
4309
|
return await this.getChatappTemplateDetailWithOptions(request, runtime);
|
|
3950
4310
|
}
|
|
3951
4311
|
/**
|
|
3952
|
-
*
|
|
4312
|
+
* Retrieves metrics related to marketing-type templates.
|
|
3953
4313
|
*
|
|
3954
4314
|
* @remarks
|
|
3955
|
-
*
|
|
4315
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4316
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4317
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4318
|
+
* ### QPS limit
|
|
4319
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
3956
4320
|
*
|
|
3957
4321
|
* @param request - GetChatappTemplateMetricRequest
|
|
3958
4322
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4011,10 +4375,14 @@ class Client extends openapi_core_1.default {
|
|
|
4011
4375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateMetricResponse({}));
|
|
4012
4376
|
}
|
|
4013
4377
|
/**
|
|
4014
|
-
*
|
|
4378
|
+
* Retrieves metrics related to marketing-type templates.
|
|
4015
4379
|
*
|
|
4016
4380
|
* @remarks
|
|
4017
|
-
*
|
|
4381
|
+
* - This operation can only query metrics for marketing templates of WhatsApp channels.
|
|
4382
|
+
* - Before calling this operation, call the [EnableWhatsAppROIMetric](https://help.aliyun.com/document_detail/2557789.html) operation to enable WhatsApp ROI metric collection. After enabling, statistical data requires at least one day to become available. Metrics for marketing templates sent before enabling are not collected.
|
|
4383
|
+
* - After enabling WhatsApp ROI metric collection, make sure that the marketing templates of your created channels have successfully sent messages. You can send messages on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Send Message** page, or by calling the [SendChatappMessage](https://help.aliyun.com/document_detail/432208.html) or [SendChatappMassMessage](https://help.aliyun.com/document_detail/447926.html) operation.
|
|
4384
|
+
* ### QPS limit
|
|
4385
|
+
* The single-user QPS limit for this operation is 50 calls per second. Requests that exceed this limit are throttled, which may affect your business. Call this operation as appropriate.
|
|
4018
4386
|
*
|
|
4019
4387
|
* @param request - GetChatappTemplateMetricRequest
|
|
4020
4388
|
* @returns GetChatappTemplateMetricResponse
|
|
@@ -4027,7 +4395,7 @@ class Client extends openapi_core_1.default {
|
|
|
4027
4395
|
* Obtains the authentication information that is used to upload a file.
|
|
4028
4396
|
*
|
|
4029
4397
|
* @remarks
|
|
4030
|
-
*
|
|
4398
|
+
* 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.
|
|
4031
4399
|
*
|
|
4032
4400
|
* @param request - GetChatappUploadAuthorizationRequest
|
|
4033
4401
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4068,7 +4436,7 @@ class Client extends openapi_core_1.default {
|
|
|
4068
4436
|
* Obtains the authentication information that is used to upload a file.
|
|
4069
4437
|
*
|
|
4070
4438
|
* @remarks
|
|
4071
|
-
*
|
|
4439
|
+
* 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.
|
|
4072
4440
|
*
|
|
4073
4441
|
* @param request - GetChatappUploadAuthorizationRequest
|
|
4074
4442
|
* @returns GetChatappUploadAuthorizationResponse
|
|
@@ -4078,10 +4446,10 @@ class Client extends openapi_core_1.default {
|
|
|
4078
4446
|
return await this.getChatappUploadAuthorizationWithOptions(request, runtime);
|
|
4079
4447
|
}
|
|
4080
4448
|
/**
|
|
4081
|
-
*
|
|
4449
|
+
* Requests a verification code to be sent to the specified phone number.
|
|
4082
4450
|
*
|
|
4083
4451
|
* @remarks
|
|
4084
|
-
*
|
|
4452
|
+
* 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.
|
|
4085
4453
|
*
|
|
4086
4454
|
* @param request - GetChatappVerifyCodeRequest
|
|
4087
4455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4128,10 +4496,10 @@ class Client extends openapi_core_1.default {
|
|
|
4128
4496
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappVerifyCodeResponse({}));
|
|
4129
4497
|
}
|
|
4130
4498
|
/**
|
|
4131
|
-
*
|
|
4499
|
+
* Requests a verification code to be sent to the specified phone number.
|
|
4132
4500
|
*
|
|
4133
4501
|
* @remarks
|
|
4134
|
-
*
|
|
4502
|
+
* 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.
|
|
4135
4503
|
*
|
|
4136
4504
|
* @param request - GetChatappVerifyCodeRequest
|
|
4137
4505
|
* @returns GetChatappVerifyCodeResponse
|
|
@@ -4144,7 +4512,7 @@ class Client extends openapi_core_1.default {
|
|
|
4144
4512
|
* Queries the business settings of a phone number.
|
|
4145
4513
|
*
|
|
4146
4514
|
* @remarks
|
|
4147
|
-
*
|
|
4515
|
+
* 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.
|
|
4148
4516
|
*
|
|
4149
4517
|
* @param request - GetCommerceSettingRequest
|
|
4150
4518
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4188,7 +4556,7 @@ class Client extends openapi_core_1.default {
|
|
|
4188
4556
|
* Queries the business settings of a phone number.
|
|
4189
4557
|
*
|
|
4190
4558
|
* @remarks
|
|
4191
|
-
*
|
|
4559
|
+
* 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.
|
|
4192
4560
|
*
|
|
4193
4561
|
* @param request - GetCommerceSettingRequest
|
|
4194
4562
|
* @returns GetCommerceSettingResponse
|
|
@@ -4198,12 +4566,12 @@ class Client extends openapi_core_1.default {
|
|
|
4198
4566
|
return await this.getCommerceSettingWithOptions(request, runtime);
|
|
4199
4567
|
}
|
|
4200
4568
|
/**
|
|
4201
|
-
*
|
|
4569
|
+
* Queries the conversational automation settings for a phone number.
|
|
4202
4570
|
*
|
|
4203
4571
|
* @remarks
|
|
4204
4572
|
* ### [](#qps-)QPS limit
|
|
4205
|
-
*
|
|
4206
|
-
* This operation
|
|
4573
|
+
* 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.
|
|
4574
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
4207
4575
|
*
|
|
4208
4576
|
* @param request - GetConversationalAutomationRequest
|
|
4209
4577
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4244,12 +4612,12 @@ class Client extends openapi_core_1.default {
|
|
|
4244
4612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetConversationalAutomationResponse({}));
|
|
4245
4613
|
}
|
|
4246
4614
|
/**
|
|
4247
|
-
*
|
|
4615
|
+
* Queries the conversational automation settings for a phone number.
|
|
4248
4616
|
*
|
|
4249
4617
|
* @remarks
|
|
4250
4618
|
* ### [](#qps-)QPS limit
|
|
4251
|
-
*
|
|
4252
|
-
* This operation
|
|
4619
|
+
* 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.
|
|
4620
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
4253
4621
|
*
|
|
4254
4622
|
* @param request - GetConversationalAutomationRequest
|
|
4255
4623
|
* @returns GetConversationalAutomationResponse
|
|
@@ -4259,7 +4627,7 @@ class Client extends openapi_core_1.default {
|
|
|
4259
4627
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4260
4628
|
}
|
|
4261
4629
|
/**
|
|
4262
|
-
*
|
|
4630
|
+
* Queries the source site of a customer.
|
|
4263
4631
|
*
|
|
4264
4632
|
* @param request - GetCustomerSiteRequest
|
|
4265
4633
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4294,7 +4662,7 @@ class Client extends openapi_core_1.default {
|
|
|
4294
4662
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4295
4663
|
}
|
|
4296
4664
|
/**
|
|
4297
|
-
*
|
|
4665
|
+
* Queries the source site of a customer.
|
|
4298
4666
|
*
|
|
4299
4667
|
* @param request - GetCustomerSiteRequest
|
|
4300
4668
|
* @returns GetCustomerSiteResponse
|
|
@@ -4486,10 +4854,13 @@ class Client extends openapi_core_1.default {
|
|
|
4486
4854
|
return await this.getFbMessengerPagesWithOptions(request, runtime);
|
|
4487
4855
|
}
|
|
4488
4856
|
/**
|
|
4489
|
-
* Queries the
|
|
4857
|
+
* Queries the details of a WhatsApp flow, including its status, name, categories, and preview URL.
|
|
4490
4858
|
*
|
|
4491
4859
|
* @remarks
|
|
4492
|
-
*
|
|
4860
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
4861
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
4862
|
+
* #### QPS limit
|
|
4863
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4493
4864
|
*
|
|
4494
4865
|
* @param request - GetFlowRequest
|
|
4495
4866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4530,10 +4901,13 @@ class Client extends openapi_core_1.default {
|
|
|
4530
4901
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowResponse({}));
|
|
4531
4902
|
}
|
|
4532
4903
|
/**
|
|
4533
|
-
* Queries the
|
|
4904
|
+
* Queries the details of a WhatsApp flow, including its status, name, categories, and preview URL.
|
|
4534
4905
|
*
|
|
4535
4906
|
* @remarks
|
|
4536
|
-
*
|
|
4907
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
4908
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
4909
|
+
* #### QPS limit
|
|
4910
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4537
4911
|
*
|
|
4538
4912
|
* @param request - GetFlowRequest
|
|
4539
4913
|
* @returns GetFlowResponse
|
|
@@ -4543,7 +4917,13 @@ class Client extends openapi_core_1.default {
|
|
|
4543
4917
|
return await this.getFlowWithOptions(request, runtime);
|
|
4544
4918
|
}
|
|
4545
4919
|
/**
|
|
4546
|
-
* Queries the JSON content of a
|
|
4920
|
+
* Queries the JSON content of a WhatsApp flow.
|
|
4921
|
+
*
|
|
4922
|
+
* @remarks
|
|
4923
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
4924
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
4925
|
+
* #### QPS limit
|
|
4926
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4547
4927
|
*
|
|
4548
4928
|
* @param request - GetFlowJSONAssestRequest
|
|
4549
4929
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4584,7 +4964,13 @@ class Client extends openapi_core_1.default {
|
|
|
4584
4964
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowJSONAssestResponse({}));
|
|
4585
4965
|
}
|
|
4586
4966
|
/**
|
|
4587
|
-
* Queries the JSON content of a
|
|
4967
|
+
* Queries the JSON content of a WhatsApp flow.
|
|
4968
|
+
*
|
|
4969
|
+
* @remarks
|
|
4970
|
+
* - Before calling this operation, make sure that you have created a WhatsApp flow.
|
|
4971
|
+
* - If you have not created a WhatsApp flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) API to create one.
|
|
4972
|
+
* #### QPS limit
|
|
4973
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4588
4974
|
*
|
|
4589
4975
|
* @param request - GetFlowJSONAssestRequest
|
|
4590
4976
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -4594,10 +4980,14 @@ class Client extends openapi_core_1.default {
|
|
|
4594
4980
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
4595
4981
|
}
|
|
4596
4982
|
/**
|
|
4597
|
-
*
|
|
4983
|
+
* Generates a temporary preview URL for a WhatsApp flow.
|
|
4598
4984
|
*
|
|
4599
4985
|
* @remarks
|
|
4600
|
-
*
|
|
4986
|
+
* - After you create a WhatsApp flow, call this operation to generate a temporary preview URL for the flow.
|
|
4987
|
+
* - Before you call this operation, make sure that you have created a WhatsApp flow.
|
|
4988
|
+
* - 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.
|
|
4989
|
+
* #### QPS limit
|
|
4990
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4601
4991
|
*
|
|
4602
4992
|
* @param request - GetFlowPreviewUrlRequest
|
|
4603
4993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4638,10 +5028,14 @@ class Client extends openapi_core_1.default {
|
|
|
4638
5028
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowPreviewUrlResponse({}));
|
|
4639
5029
|
}
|
|
4640
5030
|
/**
|
|
4641
|
-
*
|
|
5031
|
+
* Generates a temporary preview URL for a WhatsApp flow.
|
|
4642
5032
|
*
|
|
4643
5033
|
* @remarks
|
|
4644
|
-
*
|
|
5034
|
+
* - After you create a WhatsApp flow, call this operation to generate a temporary preview URL for the flow.
|
|
5035
|
+
* - Before you call this operation, make sure that you have created a WhatsApp flow.
|
|
5036
|
+
* - 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.
|
|
5037
|
+
* #### QPS limit
|
|
5038
|
+
* This operation allows a maximum of 5 requests per second per account. Excess requests are throttled and may result in service interruptions.
|
|
4645
5039
|
*
|
|
4646
5040
|
* @param request - GetFlowPreviewUrlRequest
|
|
4647
5041
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -4710,7 +5104,7 @@ class Client extends openapi_core_1.default {
|
|
|
4710
5104
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
4711
5105
|
}
|
|
4712
5106
|
/**
|
|
4713
|
-
*
|
|
5107
|
+
* Retrieves campaign metrics.
|
|
4714
5108
|
*
|
|
4715
5109
|
* @param request - GetMessageCampaignInsightsRequest
|
|
4716
5110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4757,7 +5151,7 @@ class Client extends openapi_core_1.default {
|
|
|
4757
5151
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessageCampaignInsightsResponse({}));
|
|
4758
5152
|
}
|
|
4759
5153
|
/**
|
|
4760
|
-
*
|
|
5154
|
+
* Retrieves campaign metrics.
|
|
4761
5155
|
*
|
|
4762
5156
|
* @param request - GetMessageCampaignInsightsRequest
|
|
4763
5157
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -4767,10 +5161,10 @@ class Client extends openapi_core_1.default {
|
|
|
4767
5161
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
4768
5162
|
}
|
|
4769
5163
|
/**
|
|
4770
|
-
*
|
|
5164
|
+
* Retrieves the verification code for a migration phone number.
|
|
4771
5165
|
*
|
|
4772
5166
|
* @remarks
|
|
4773
|
-
* The single
|
|
5167
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4774
5168
|
*
|
|
4775
5169
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4776
5170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4817,10 +5211,10 @@ class Client extends openapi_core_1.default {
|
|
|
4817
5211
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMigrationVerifyCodeResponse({}));
|
|
4818
5212
|
}
|
|
4819
5213
|
/**
|
|
4820
|
-
*
|
|
5214
|
+
* Retrieves the verification code for a migration phone number.
|
|
4821
5215
|
*
|
|
4822
5216
|
* @remarks
|
|
4823
|
-
* The single
|
|
5217
|
+
* The China Message Service API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Adjust your call frequency accordingly.
|
|
4824
5218
|
*
|
|
4825
5219
|
* @param request - GetMigrationVerifyCodeRequest
|
|
4826
5220
|
* @returns GetMigrationVerifyCodeResponse
|
|
@@ -4830,7 +5224,10 @@ class Client extends openapi_core_1.default {
|
|
|
4830
5224
|
return await this.getMigrationVerifyCodeWithOptions(request, runtime);
|
|
4831
5225
|
}
|
|
4832
5226
|
/**
|
|
4833
|
-
* Obtains permissions
|
|
5227
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5228
|
+
*
|
|
5229
|
+
* @remarks
|
|
5230
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
4834
5231
|
*
|
|
4835
5232
|
* @param tmpReq - GetPermissionByCodeRequest
|
|
4836
5233
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4879,7 +5276,10 @@ class Client extends openapi_core_1.default {
|
|
|
4879
5276
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPermissionByCodeResponse({}));
|
|
4880
5277
|
}
|
|
4881
5278
|
/**
|
|
4882
|
-
* Obtains permissions
|
|
5279
|
+
* Obtains authorization permissions by using the code obtained from the embedded integration.
|
|
5280
|
+
*
|
|
5281
|
+
* @remarks
|
|
5282
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
4883
5283
|
*
|
|
4884
5284
|
* @param request - GetPermissionByCodeRequest
|
|
4885
5285
|
* @returns GetPermissionByCodeResponse
|
|
@@ -4889,7 +5289,13 @@ class Client extends openapi_core_1.default {
|
|
|
4889
5289
|
return await this.getPermissionByCodeWithOptions(request, runtime);
|
|
4890
5290
|
}
|
|
4891
5291
|
/**
|
|
4892
|
-
*
|
|
5292
|
+
* Retrieves the encryption public key of a phone number.
|
|
5293
|
+
*
|
|
5294
|
+
* @remarks
|
|
5295
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5296
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5297
|
+
* #### QPS limit
|
|
5298
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4893
5299
|
*
|
|
4894
5300
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
4895
5301
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4930,7 +5336,13 @@ class Client extends openapi_core_1.default {
|
|
|
4930
5336
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPhoneEncryptionPublicKeyResponse({}));
|
|
4931
5337
|
}
|
|
4932
5338
|
/**
|
|
4933
|
-
*
|
|
5339
|
+
* Retrieves the encryption public key of a phone number.
|
|
5340
|
+
*
|
|
5341
|
+
* @remarks
|
|
5342
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
5343
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register the phone number.
|
|
5344
|
+
* #### QPS limit
|
|
5345
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4934
5346
|
*
|
|
4935
5347
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
4936
5348
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -4940,10 +5352,13 @@ class Client extends openapi_core_1.default {
|
|
|
4940
5352
|
return await this.getPhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
4941
5353
|
}
|
|
4942
5354
|
/**
|
|
4943
|
-
*
|
|
5355
|
+
* Retrieves the verification status of a phone number.
|
|
4944
5356
|
*
|
|
4945
5357
|
* @remarks
|
|
4946
|
-
* You can call this operation
|
|
5358
|
+
* - 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.
|
|
5359
|
+
* - Before calling this operation, add a phone number to your WhatsApp Business Account (WABA) and submit it for verification.
|
|
5360
|
+
* - 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.
|
|
5361
|
+
* 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.
|
|
4947
5362
|
*
|
|
4948
5363
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
4949
5364
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4984,10 +5399,13 @@ class Client extends openapi_core_1.default {
|
|
|
4984
5399
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPhoneNumberVerificationStatusResponse({}));
|
|
4985
5400
|
}
|
|
4986
5401
|
/**
|
|
4987
|
-
*
|
|
5402
|
+
* Retrieves the verification status of a phone number.
|
|
4988
5403
|
*
|
|
4989
5404
|
* @remarks
|
|
4990
|
-
* You can call this operation
|
|
5405
|
+
* - 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.
|
|
5406
|
+
* - Before calling this operation, add a phone number to your WhatsApp Business Account (WABA) and submit it for verification.
|
|
5407
|
+
* - 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.
|
|
5408
|
+
* 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.
|
|
4991
5409
|
*
|
|
4992
5410
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
4993
5411
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -4997,7 +5415,7 @@ class Client extends openapi_core_1.default {
|
|
|
4997
5415
|
return await this.getPhoneNumberVerificationStatusWithOptions(request, runtime);
|
|
4998
5416
|
}
|
|
4999
5417
|
/**
|
|
5000
|
-
*
|
|
5418
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5001
5419
|
*
|
|
5002
5420
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5003
5421
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5038,7 +5456,7 @@ class Client extends openapi_core_1.default {
|
|
|
5038
5456
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPledgeTemplateAddressResponse({}));
|
|
5039
5457
|
}
|
|
5040
5458
|
/**
|
|
5041
|
-
*
|
|
5459
|
+
* Retrieves the download URL for the letter of guarantee template.
|
|
5042
5460
|
*
|
|
5043
5461
|
* @param request - GetPledgeTemplateAddressRequest
|
|
5044
5462
|
* @returns GetPledgeTemplateAddressResponse
|
|
@@ -5048,10 +5466,10 @@ class Client extends openapi_core_1.default {
|
|
|
5048
5466
|
return await this.getPledgeTemplateAddressWithOptions(request, runtime);
|
|
5049
5467
|
}
|
|
5050
5468
|
/**
|
|
5051
|
-
*
|
|
5469
|
+
* 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.
|
|
5052
5470
|
*
|
|
5053
5471
|
* @remarks
|
|
5054
|
-
*
|
|
5472
|
+
* 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.
|
|
5055
5473
|
*
|
|
5056
5474
|
* @param request - GetPreValidatePhoneIdRequest
|
|
5057
5475
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5083,10 +5501,10 @@ class Client extends openapi_core_1.default {
|
|
|
5083
5501
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPreValidatePhoneIdResponse({}));
|
|
5084
5502
|
}
|
|
5085
5503
|
/**
|
|
5086
|
-
*
|
|
5504
|
+
* 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.
|
|
5087
5505
|
*
|
|
5088
5506
|
* @remarks
|
|
5089
|
-
*
|
|
5507
|
+
* 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.
|
|
5090
5508
|
*
|
|
5091
5509
|
* @param request - GetPreValidatePhoneIdRequest
|
|
5092
5510
|
* @returns GetPreValidatePhoneIdResponse
|
|
@@ -5096,7 +5514,7 @@ class Client extends openapi_core_1.default {
|
|
|
5096
5514
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5097
5515
|
}
|
|
5098
5516
|
/**
|
|
5099
|
-
*
|
|
5517
|
+
* Retrieves the application by its requestNo.
|
|
5100
5518
|
*
|
|
5101
5519
|
* @param request - GetViberByRequestNoRequest
|
|
5102
5520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5137,7 +5555,7 @@ class Client extends openapi_core_1.default {
|
|
|
5137
5555
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5138
5556
|
}
|
|
5139
5557
|
/**
|
|
5140
|
-
*
|
|
5558
|
+
* Retrieves the application by its requestNo.
|
|
5141
5559
|
*
|
|
5142
5560
|
* @param request - GetViberByRequestNoRequest
|
|
5143
5561
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5198,7 +5616,7 @@ class Client extends openapi_core_1.default {
|
|
|
5198
5616
|
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
5199
5617
|
*
|
|
5200
5618
|
* @remarks
|
|
5201
|
-
*
|
|
5619
|
+
* 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.
|
|
5202
5620
|
*
|
|
5203
5621
|
* @param request - GetWhatsappConnectionCatalogRequest
|
|
5204
5622
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5242,7 +5660,7 @@ class Client extends openapi_core_1.default {
|
|
|
5242
5660
|
* Queries the product catalogs that are associated with a WhatsApp Business account (WABA).
|
|
5243
5661
|
*
|
|
5244
5662
|
* @remarks
|
|
5245
|
-
*
|
|
5663
|
+
* 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.
|
|
5246
5664
|
*
|
|
5247
5665
|
* @param request - GetWhatsappConnectionCatalogRequest
|
|
5248
5666
|
* @returns GetWhatsappConnectionCatalogResponse
|
|
@@ -5304,8 +5722,8 @@ class Client extends openapi_core_1.default {
|
|
|
5304
5722
|
*
|
|
5305
5723
|
* @remarks
|
|
5306
5724
|
* ### [](#qps-)QPS limit
|
|
5307
|
-
*
|
|
5308
|
-
* This operation
|
|
5725
|
+
* 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.
|
|
5726
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
5309
5727
|
*
|
|
5310
5728
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5311
5729
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5362,8 +5780,8 @@ class Client extends openapi_core_1.default {
|
|
|
5362
5780
|
*
|
|
5363
5781
|
* @remarks
|
|
5364
5782
|
* ### [](#qps-)QPS limit
|
|
5365
|
-
*
|
|
5366
|
-
* This operation
|
|
5783
|
+
* 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.
|
|
5784
|
+
* This operation retrieves data directly from Meta. Meta imposes its own rate limits on the total number of calls. Stay within the specified limit.
|
|
5367
5785
|
*
|
|
5368
5786
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5369
5787
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -5373,10 +5791,94 @@ class Client extends openapi_core_1.default {
|
|
|
5373
5791
|
return await this.getWhatsappHealthStatusWithOptions(request, runtime);
|
|
5374
5792
|
}
|
|
5375
5793
|
/**
|
|
5376
|
-
*
|
|
5794
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5795
|
+
*
|
|
5796
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5797
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5798
|
+
* @returns GetWhatsappUserNameResponse
|
|
5799
|
+
*/
|
|
5800
|
+
async getWhatsappUserNameWithOptions(request, runtime) {
|
|
5801
|
+
request.validate();
|
|
5802
|
+
let query = {};
|
|
5803
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5804
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5805
|
+
}
|
|
5806
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5807
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5808
|
+
}
|
|
5809
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5810
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5811
|
+
});
|
|
5812
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5813
|
+
action: "GetWhatsappUserName",
|
|
5814
|
+
version: "2020-06-06",
|
|
5815
|
+
protocol: "HTTPS",
|
|
5816
|
+
pathname: "/",
|
|
5817
|
+
method: "POST",
|
|
5818
|
+
authType: "AK",
|
|
5819
|
+
style: "RPC",
|
|
5820
|
+
reqBodyType: "formData",
|
|
5821
|
+
bodyType: "json",
|
|
5822
|
+
});
|
|
5823
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameResponse({}));
|
|
5824
|
+
}
|
|
5825
|
+
/**
|
|
5826
|
+
* Retrieves the WhatsApp username for a business phone number.
|
|
5827
|
+
*
|
|
5828
|
+
* @param request - GetWhatsappUserNameRequest
|
|
5829
|
+
* @returns GetWhatsappUserNameResponse
|
|
5830
|
+
*/
|
|
5831
|
+
async getWhatsappUserName(request) {
|
|
5832
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5833
|
+
return await this.getWhatsappUserNameWithOptions(request, runtime);
|
|
5834
|
+
}
|
|
5835
|
+
/**
|
|
5836
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5837
|
+
*
|
|
5838
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5839
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5840
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5841
|
+
*/
|
|
5842
|
+
async getWhatsappUserNameSuggestionsWithOptions(request, runtime) {
|
|
5843
|
+
request.validate();
|
|
5844
|
+
let query = {};
|
|
5845
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5846
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5847
|
+
}
|
|
5848
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
5849
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
5850
|
+
}
|
|
5851
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5852
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5853
|
+
});
|
|
5854
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5855
|
+
action: "GetWhatsappUserNameSuggestions",
|
|
5856
|
+
version: "2020-06-06",
|
|
5857
|
+
protocol: "HTTPS",
|
|
5858
|
+
pathname: "/",
|
|
5859
|
+
method: "POST",
|
|
5860
|
+
authType: "AK",
|
|
5861
|
+
style: "RPC",
|
|
5862
|
+
reqBodyType: "formData",
|
|
5863
|
+
bodyType: "json",
|
|
5864
|
+
});
|
|
5865
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappUserNameSuggestionsResponse({}));
|
|
5866
|
+
}
|
|
5867
|
+
/**
|
|
5868
|
+
* Retrieves the suggested user name for a WhatsApp business phone number.
|
|
5869
|
+
*
|
|
5870
|
+
* @param request - GetWhatsappUserNameSuggestionsRequest
|
|
5871
|
+
* @returns GetWhatsappUserNameSuggestionsResponse
|
|
5872
|
+
*/
|
|
5873
|
+
async getWhatsappUserNameSuggestions(request) {
|
|
5874
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5875
|
+
return await this.getWhatsappUserNameSuggestionsWithOptions(request, runtime);
|
|
5876
|
+
}
|
|
5877
|
+
/**
|
|
5878
|
+
* Retrieves the App ID for an ISV.
|
|
5377
5879
|
*
|
|
5378
5880
|
* @remarks
|
|
5379
|
-
*
|
|
5881
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5380
5882
|
*
|
|
5381
5883
|
* @param request - IsvGetAppIdRequest
|
|
5382
5884
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5420,10 +5922,10 @@ class Client extends openapi_core_1.default {
|
|
|
5420
5922
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.IsvGetAppIdResponse({}));
|
|
5421
5923
|
}
|
|
5422
5924
|
/**
|
|
5423
|
-
*
|
|
5925
|
+
* Retrieves the App ID for an ISV.
|
|
5424
5926
|
*
|
|
5425
5927
|
* @remarks
|
|
5426
|
-
*
|
|
5928
|
+
* The QPS limit for a single user of this API is 10 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5427
5929
|
*
|
|
5428
5930
|
* @param request - IsvGetAppIdRequest
|
|
5429
5931
|
* @returns IsvGetAppIdResponse
|
|
@@ -5537,12 +6039,12 @@ class Client extends openapi_core_1.default {
|
|
|
5537
6039
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
5538
6040
|
}
|
|
5539
6041
|
/**
|
|
5540
|
-
*
|
|
6042
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
5541
6043
|
*
|
|
5542
6044
|
* @remarks
|
|
5543
|
-
* - You can call this
|
|
5544
|
-
* - Before
|
|
5545
|
-
* - If
|
|
6045
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6046
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6047
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
5546
6048
|
*
|
|
5547
6049
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5548
6050
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5583,12 +6085,12 @@ class Client extends openapi_core_1.default {
|
|
|
5583
6085
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
5584
6086
|
}
|
|
5585
6087
|
/**
|
|
5586
|
-
*
|
|
6088
|
+
* Queries the phone numbers or business account IDs attached to a flow.
|
|
5587
6089
|
*
|
|
5588
6090
|
* @remarks
|
|
5589
|
-
* - You can call this
|
|
5590
|
-
* - Before
|
|
5591
|
-
* - If
|
|
6091
|
+
* - You can call this operation to query the phone numbers or business account IDs attached to a flow. You can also view this information on the **Settings** page in the **Flow Editor**.
|
|
6092
|
+
* - Before you call this operation, ensure that a phone number or business account ID is attached to your flow.
|
|
6093
|
+
* - If a phone number or business account ID is not attached to your flow, you can attach one manually on the **Settings** page in the **Flow Editor** or by calling the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
5592
6094
|
*
|
|
5593
6095
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
5594
6096
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -5598,7 +6100,13 @@ class Client extends openapi_core_1.default {
|
|
|
5598
6100
|
return await this.listBindingRelationsForFlowVersionWithOptions(request, runtime);
|
|
5599
6101
|
}
|
|
5600
6102
|
/**
|
|
5601
|
-
*
|
|
6103
|
+
* Lists flows.
|
|
6104
|
+
*
|
|
6105
|
+
* @remarks
|
|
6106
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6107
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6108
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
6109
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
5602
6110
|
*
|
|
5603
6111
|
* @param tmpReq - ListChatFlowRequest
|
|
5604
6112
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5662,7 +6170,13 @@ class Client extends openapi_core_1.default {
|
|
|
5662
6170
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowResponse({}));
|
|
5663
6171
|
}
|
|
5664
6172
|
/**
|
|
5665
|
-
*
|
|
6173
|
+
* Lists flows.
|
|
6174
|
+
*
|
|
6175
|
+
* @remarks
|
|
6176
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6177
|
+
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6178
|
+
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
6179
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify these parameters, all flows are returned.
|
|
5666
6180
|
*
|
|
5667
6181
|
* @param request - ListChatFlowRequest
|
|
5668
6182
|
* @returns ListChatFlowResponse
|
|
@@ -5672,7 +6186,11 @@ class Client extends openapi_core_1.default {
|
|
|
5672
6186
|
return await this.listChatFlowWithOptions(request, runtime);
|
|
5673
6187
|
}
|
|
5674
6188
|
/**
|
|
5675
|
-
*
|
|
6189
|
+
* Lists flow templates.
|
|
6190
|
+
*
|
|
6191
|
+
* @remarks
|
|
6192
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6193
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
5676
6194
|
*
|
|
5677
6195
|
* @param request - ListChatFlowTemplateRequest
|
|
5678
6196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5722,7 +6240,11 @@ class Client extends openapi_core_1.default {
|
|
|
5722
6240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatFlowTemplateResponse({}));
|
|
5723
6241
|
}
|
|
5724
6242
|
/**
|
|
5725
|
-
*
|
|
6243
|
+
* Lists flow templates.
|
|
6244
|
+
*
|
|
6245
|
+
* @remarks
|
|
6246
|
+
* - You can call this operation to list flow templates. You can also view the list of templates on the **View Templates** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6247
|
+
* - You can use the optional parameters in this operation to filter the list of templates. If you do not specify any filter conditions, all templates are returned.
|
|
5726
6248
|
*
|
|
5727
6249
|
* @param request - ListChatFlowTemplateRequest
|
|
5728
6250
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -5732,7 +6254,13 @@ class Client extends openapi_core_1.default {
|
|
|
5732
6254
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
5733
6255
|
}
|
|
5734
6256
|
/**
|
|
5735
|
-
*
|
|
6257
|
+
* Retrieves the list of IM groups.
|
|
6258
|
+
*
|
|
6259
|
+
* @remarks
|
|
6260
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6261
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6262
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
6263
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
5736
6264
|
*
|
|
5737
6265
|
* @param tmpReq - ListChatGroupRequest
|
|
5738
6266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5796,7 +6324,13 @@ class Client extends openapi_core_1.default {
|
|
|
5796
6324
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
5797
6325
|
}
|
|
5798
6326
|
/**
|
|
5799
|
-
*
|
|
6327
|
+
* Retrieves the list of IM groups.
|
|
6328
|
+
*
|
|
6329
|
+
* @remarks
|
|
6330
|
+
* >Notice: The feature of retrieving IM group lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6331
|
+
* - Before calling this operation, make sure you have successfully created IM groups.
|
|
6332
|
+
* - If you do not have any created IM groups, you can only create IM groups through the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
6333
|
+
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify them, all IM groups are returned.
|
|
5800
6334
|
*
|
|
5801
6335
|
* @param request - ListChatGroupRequest
|
|
5802
6336
|
* @returns ListChatGroupResponse
|
|
@@ -5806,7 +6340,13 @@ class Client extends openapi_core_1.default {
|
|
|
5806
6340
|
return await this.listChatGroupWithOptions(request, runtime);
|
|
5807
6341
|
}
|
|
5808
6342
|
/**
|
|
5809
|
-
*
|
|
6343
|
+
* Lists the members of an IM group.
|
|
6344
|
+
*
|
|
6345
|
+
* @remarks
|
|
6346
|
+
* >Notice:
|
|
6347
|
+
* This operation is an internal preview feature. Contact your account manager to request access.
|
|
6348
|
+
* - Before calling this operation, ensure you have created an IM group with an invitation link, and that members have joined by using that link.
|
|
6349
|
+
* - 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.
|
|
5810
6350
|
*
|
|
5811
6351
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
5812
6352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5861,7 +6401,13 @@ class Client extends openapi_core_1.default {
|
|
|
5861
6401
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupParticipantsResponse({}));
|
|
5862
6402
|
}
|
|
5863
6403
|
/**
|
|
5864
|
-
*
|
|
6404
|
+
* Lists the members of an IM group.
|
|
6405
|
+
*
|
|
6406
|
+
* @remarks
|
|
6407
|
+
* >Notice:
|
|
6408
|
+
* This operation is an internal preview feature. Contact your account manager to request access.
|
|
6409
|
+
* - Before calling this operation, ensure you have created an IM group with an invitation link, and that members have joined by using that link.
|
|
6410
|
+
* - 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.
|
|
5865
6411
|
*
|
|
5866
6412
|
* @param request - ListChatGroupParticipantsRequest
|
|
5867
6413
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -5871,7 +6417,12 @@ class Client extends openapi_core_1.default {
|
|
|
5871
6417
|
return await this.listChatGroupParticipantsWithOptions(request, runtime);
|
|
5872
6418
|
}
|
|
5873
6419
|
/**
|
|
5874
|
-
*
|
|
6420
|
+
* Queries the message list.
|
|
6421
|
+
*
|
|
6422
|
+
* @remarks
|
|
6423
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6424
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6425
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
5875
6426
|
*
|
|
5876
6427
|
* @param tmpReq - ListChatappMessageRequest
|
|
5877
6428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5953,7 +6504,12 @@ class Client extends openapi_core_1.default {
|
|
|
5953
6504
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappMessageResponse({}));
|
|
5954
6505
|
}
|
|
5955
6506
|
/**
|
|
5956
|
-
*
|
|
6507
|
+
* Queries the message list.
|
|
6508
|
+
*
|
|
6509
|
+
* @remarks
|
|
6510
|
+
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6511
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channel types.
|
|
6512
|
+
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
5957
6513
|
*
|
|
5958
6514
|
* @param request - ListChatappMessageRequest
|
|
5959
6515
|
* @returns ListChatappMessageResponse
|
|
@@ -5967,7 +6523,7 @@ class Client extends openapi_core_1.default {
|
|
|
5967
6523
|
*
|
|
5968
6524
|
* @remarks
|
|
5969
6525
|
* ### QPS limit
|
|
5970
|
-
*
|
|
6526
|
+
* 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.
|
|
5971
6527
|
*
|
|
5972
6528
|
* @param tmpReq - ListChatappTemplateRequest
|
|
5973
6529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6041,7 +6597,7 @@ class Client extends openapi_core_1.default {
|
|
|
6041
6597
|
*
|
|
6042
6598
|
* @remarks
|
|
6043
6599
|
* ### QPS limit
|
|
6044
|
-
*
|
|
6600
|
+
* 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.
|
|
6045
6601
|
*
|
|
6046
6602
|
* @param request - ListChatappTemplateRequest
|
|
6047
6603
|
* @returns ListChatappTemplateResponse
|
|
@@ -6051,7 +6607,7 @@ class Client extends openapi_core_1.default {
|
|
|
6051
6607
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
6052
6608
|
}
|
|
6053
6609
|
/**
|
|
6054
|
-
*
|
|
6610
|
+
* Queries a list of custom audiences.
|
|
6055
6611
|
*
|
|
6056
6612
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6057
6613
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6112,7 +6668,7 @@ class Client extends openapi_core_1.default {
|
|
|
6112
6668
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAudienceResponse({}));
|
|
6113
6669
|
}
|
|
6114
6670
|
/**
|
|
6115
|
-
*
|
|
6671
|
+
* Queries a list of custom audiences.
|
|
6116
6672
|
*
|
|
6117
6673
|
* @param request - ListCustomAudienceRequest
|
|
6118
6674
|
* @returns ListCustomAudienceResponse
|
|
@@ -6122,7 +6678,7 @@ class Client extends openapi_core_1.default {
|
|
|
6122
6678
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6123
6679
|
}
|
|
6124
6680
|
/**
|
|
6125
|
-
*
|
|
6681
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6126
6682
|
*
|
|
6127
6683
|
* @param request - ListDmAccountRequest
|
|
6128
6684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6169,7 +6725,7 @@ class Client extends openapi_core_1.default {
|
|
|
6169
6725
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6170
6726
|
}
|
|
6171
6727
|
/**
|
|
6172
|
-
*
|
|
6728
|
+
* Queries the DirectMail accounts under your Alibaba Cloud account.
|
|
6173
6729
|
*
|
|
6174
6730
|
* @param request - ListDmAccountRequest
|
|
6175
6731
|
* @returns ListDmAccountResponse
|
|
@@ -6233,7 +6789,7 @@ class Client extends openapi_core_1.default {
|
|
|
6233
6789
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6234
6790
|
}
|
|
6235
6791
|
/**
|
|
6236
|
-
*
|
|
6792
|
+
* Queries the list of Facebook posts.
|
|
6237
6793
|
*
|
|
6238
6794
|
* @param request - ListFacebookPostsRequest
|
|
6239
6795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6271,7 +6827,7 @@ class Client extends openapi_core_1.default {
|
|
|
6271
6827
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6272
6828
|
}
|
|
6273
6829
|
/**
|
|
6274
|
-
*
|
|
6830
|
+
* Queries the list of Facebook posts.
|
|
6275
6831
|
*
|
|
6276
6832
|
* @param request - ListFacebookPostsRequest
|
|
6277
6833
|
* @returns ListFacebookPostsResponse
|
|
@@ -6281,10 +6837,10 @@ class Client extends openapi_core_1.default {
|
|
|
6281
6837
|
return await this.listFacebookPostsWithOptions(request, runtime);
|
|
6282
6838
|
}
|
|
6283
6839
|
/**
|
|
6284
|
-
*
|
|
6840
|
+
* Retrieves a list of WhatsApp flows.
|
|
6285
6841
|
*
|
|
6286
6842
|
* @remarks
|
|
6287
|
-
*
|
|
6843
|
+
* This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled and may result in service interruptions.
|
|
6288
6844
|
*
|
|
6289
6845
|
* @param tmpReq - ListFlowRequest
|
|
6290
6846
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6333,10 +6889,10 @@ class Client extends openapi_core_1.default {
|
|
|
6333
6889
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowResponse({}));
|
|
6334
6890
|
}
|
|
6335
6891
|
/**
|
|
6336
|
-
*
|
|
6892
|
+
* Retrieves a list of WhatsApp flows.
|
|
6337
6893
|
*
|
|
6338
6894
|
* @remarks
|
|
6339
|
-
*
|
|
6895
|
+
* This operation allows a maximum of 5 requests per second (RPS) per account. Excess requests are throttled and may result in service interruptions.
|
|
6340
6896
|
*
|
|
6341
6897
|
* @param request - ListFlowRequest
|
|
6342
6898
|
* @returns ListFlowResponse
|
|
@@ -6346,7 +6902,7 @@ class Client extends openapi_core_1.default {
|
|
|
6346
6902
|
return await this.listFlowWithOptions(request, runtime);
|
|
6347
6903
|
}
|
|
6348
6904
|
/**
|
|
6349
|
-
*
|
|
6905
|
+
* Lists flow component groups.
|
|
6350
6906
|
*
|
|
6351
6907
|
* @param request - ListFlowNodeGroupRequest
|
|
6352
6908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6387,7 +6943,7 @@ class Client extends openapi_core_1.default {
|
|
|
6387
6943
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodeGroupResponse({}));
|
|
6388
6944
|
}
|
|
6389
6945
|
/**
|
|
6390
|
-
*
|
|
6946
|
+
* Lists flow component groups.
|
|
6391
6947
|
*
|
|
6392
6948
|
* @param request - ListFlowNodeGroupRequest
|
|
6393
6949
|
* @returns ListFlowNodeGroupResponse
|
|
@@ -6397,7 +6953,11 @@ class Client extends openapi_core_1.default {
|
|
|
6397
6953
|
return await this.listFlowNodeGroupWithOptions(request, runtime);
|
|
6398
6954
|
}
|
|
6399
6955
|
/**
|
|
6400
|
-
*
|
|
6956
|
+
* Lists flow component prototypes.
|
|
6957
|
+
*
|
|
6958
|
+
* @remarks
|
|
6959
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
6960
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
6401
6961
|
*
|
|
6402
6962
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6403
6963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6447,7 +7007,11 @@ class Client extends openapi_core_1.default {
|
|
|
6447
7007
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowNodePrototypeV2Response({}));
|
|
6448
7008
|
}
|
|
6449
7009
|
/**
|
|
6450
|
-
*
|
|
7010
|
+
* Lists flow component prototypes.
|
|
7011
|
+
*
|
|
7012
|
+
* @remarks
|
|
7013
|
+
* - You can call this API operation to query flow component prototypes. You can also view the prototypes on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name.
|
|
7014
|
+
* - You can use the optional parameters for this operation to filter flow component prototypes. If you do not specify any optional parameters, all flow component prototypes are returned.
|
|
6451
7015
|
*
|
|
6452
7016
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6453
7017
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -6457,7 +7021,13 @@ class Client extends openapi_core_1.default {
|
|
|
6457
7021
|
return await this.listFlowNodePrototypeV2WithOptions(request, runtime);
|
|
6458
7022
|
}
|
|
6459
7023
|
/**
|
|
6460
|
-
*
|
|
7024
|
+
* Lists flow versions.
|
|
7025
|
+
*
|
|
7026
|
+
* @remarks
|
|
7027
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
7028
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7029
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
7030
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
6461
7031
|
*
|
|
6462
7032
|
* @param tmpReq - ListFlowVersionRequest
|
|
6463
7033
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6515,7 +7085,13 @@ class Client extends openapi_core_1.default {
|
|
|
6515
7085
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowVersionResponse({}));
|
|
6516
7086
|
}
|
|
6517
7087
|
/**
|
|
6518
|
-
*
|
|
7088
|
+
* Lists flow versions.
|
|
7089
|
+
*
|
|
7090
|
+
* @remarks
|
|
7091
|
+
* - You can call this API operation to query flow versions. You can also view flow versions in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking a flow name to open the orchestration canvas.
|
|
7092
|
+
* - Before calling this API operation, make sure that you have created one or more flows.
|
|
7093
|
+
* - If you have not created any flows, create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) API operation.
|
|
7094
|
+
* - The optional parameters for this API operation are filter conditions. If you do not specify any optional parameters, all flow versions are returned.
|
|
6519
7095
|
*
|
|
6520
7096
|
* @param request - ListFlowVersionRequest
|
|
6521
7097
|
* @returns ListFlowVersionResponse
|
|
@@ -6525,7 +7101,7 @@ class Client extends openapi_core_1.default {
|
|
|
6525
7101
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
6526
7102
|
}
|
|
6527
7103
|
/**
|
|
6528
|
-
*
|
|
7104
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6529
7105
|
*
|
|
6530
7106
|
* @param request - ListInstagramPageRequest
|
|
6531
7107
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6563,7 +7139,7 @@ class Client extends openapi_core_1.default {
|
|
|
6563
7139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
6564
7140
|
}
|
|
6565
7141
|
/**
|
|
6566
|
-
*
|
|
7142
|
+
* Retrieves the Instagram pages associated with an instance.
|
|
6567
7143
|
*
|
|
6568
7144
|
* @param request - ListInstagramPageRequest
|
|
6569
7145
|
* @returns ListInstagramPageResponse
|
|
@@ -6621,7 +7197,7 @@ class Client extends openapi_core_1.default {
|
|
|
6621
7197
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
6622
7198
|
}
|
|
6623
7199
|
/**
|
|
6624
|
-
*
|
|
7200
|
+
* Lists instances.
|
|
6625
7201
|
*
|
|
6626
7202
|
* @param request - ListInstanceRequest
|
|
6627
7203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6671,7 +7247,7 @@ class Client extends openapi_core_1.default {
|
|
|
6671
7247
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
6672
7248
|
}
|
|
6673
7249
|
/**
|
|
6674
|
-
*
|
|
7250
|
+
* Lists instances.
|
|
6675
7251
|
*
|
|
6676
7252
|
* @param request - ListInstanceRequest
|
|
6677
7253
|
* @returns ListInstanceResponse
|
|
@@ -6681,7 +7257,7 @@ class Client extends openapi_core_1.default {
|
|
|
6681
7257
|
return await this.listInstanceWithOptions(request, runtime);
|
|
6682
7258
|
}
|
|
6683
7259
|
/**
|
|
6684
|
-
*
|
|
7260
|
+
* Queries a list of marketing campaigns.
|
|
6685
7261
|
*
|
|
6686
7262
|
* @param tmpReq - ListMarketingFlowRequest
|
|
6687
7263
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6748,7 +7324,7 @@ class Client extends openapi_core_1.default {
|
|
|
6748
7324
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
6749
7325
|
}
|
|
6750
7326
|
/**
|
|
6751
|
-
*
|
|
7327
|
+
* Queries a list of marketing campaigns.
|
|
6752
7328
|
*
|
|
6753
7329
|
* @param request - ListMarketingFlowRequest
|
|
6754
7330
|
* @returns ListMarketingFlowResponse
|
|
@@ -6758,7 +7334,7 @@ class Client extends openapi_core_1.default {
|
|
|
6758
7334
|
return await this.listMarketingFlowWithOptions(request, runtime);
|
|
6759
7335
|
}
|
|
6760
7336
|
/**
|
|
6761
|
-
*
|
|
7337
|
+
* Retrieves a list of budgets.
|
|
6762
7338
|
*
|
|
6763
7339
|
* @param tmpReq - ListMessageCampaignRequest
|
|
6764
7340
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6819,7 +7395,7 @@ class Client extends openapi_core_1.default {
|
|
|
6819
7395
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMessageCampaignResponse({}));
|
|
6820
7396
|
}
|
|
6821
7397
|
/**
|
|
6822
|
-
*
|
|
7398
|
+
* Retrieves a list of budgets.
|
|
6823
7399
|
*
|
|
6824
7400
|
* @param request - ListMessageCampaignRequest
|
|
6825
7401
|
* @returns ListMessageCampaignResponse
|
|
@@ -6829,7 +7405,7 @@ class Client extends openapi_core_1.default {
|
|
|
6829
7405
|
return await this.listMessageCampaignWithOptions(request, runtime);
|
|
6830
7406
|
}
|
|
6831
7407
|
/**
|
|
6832
|
-
*
|
|
7408
|
+
* Queries custom audiences and subscription tokens.
|
|
6833
7409
|
*
|
|
6834
7410
|
* @param request - ListMessengerSubscriptionTokenRequest
|
|
6835
7411
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6882,7 +7458,7 @@ class Client extends openapi_core_1.default {
|
|
|
6882
7458
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMessengerSubscriptionTokenResponse({}));
|
|
6883
7459
|
}
|
|
6884
7460
|
/**
|
|
6885
|
-
*
|
|
7461
|
+
* Queries custom audiences and subscription tokens.
|
|
6886
7462
|
*
|
|
6887
7463
|
* @param request - ListMessengerSubscriptionTokenRequest
|
|
6888
7464
|
* @returns ListMessengerSubscriptionTokenResponse
|
|
@@ -6892,7 +7468,7 @@ class Client extends openapi_core_1.default {
|
|
|
6892
7468
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
6893
7469
|
}
|
|
6894
7470
|
/**
|
|
6895
|
-
*
|
|
7471
|
+
* Queries the list of ad accounts bound to a page.
|
|
6896
7472
|
*
|
|
6897
7473
|
* @param request - ListPageAdAccountRequest
|
|
6898
7474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6933,7 +7509,7 @@ class Client extends openapi_core_1.default {
|
|
|
6933
7509
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
6934
7510
|
}
|
|
6935
7511
|
/**
|
|
6936
|
-
*
|
|
7512
|
+
* Queries the list of ad accounts bound to a page.
|
|
6937
7513
|
*
|
|
6938
7514
|
* @param request - ListPageAdAccountRequest
|
|
6939
7515
|
* @returns ListPageAdAccountResponse
|
|
@@ -6943,7 +7519,10 @@ class Client extends openapi_core_1.default {
|
|
|
6943
7519
|
return await this.listPageAdAccountWithOptions(request, runtime);
|
|
6944
7520
|
}
|
|
6945
7521
|
/**
|
|
6946
|
-
* Queries the
|
|
7522
|
+
* Queries the list of message QR codes.
|
|
7523
|
+
*
|
|
7524
|
+
* @remarks
|
|
7525
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
6947
7526
|
*
|
|
6948
7527
|
* @param request - ListPhoneMessageQrdlRequest
|
|
6949
7528
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6984,7 +7563,10 @@ class Client extends openapi_core_1.default {
|
|
|
6984
7563
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPhoneMessageQrdlResponse({}));
|
|
6985
7564
|
}
|
|
6986
7565
|
/**
|
|
6987
|
-
* Queries the
|
|
7566
|
+
* Queries the list of message QR codes.
|
|
7567
|
+
*
|
|
7568
|
+
* @remarks
|
|
7569
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
6988
7570
|
*
|
|
6989
7571
|
* @param request - ListPhoneMessageQrdlRequest
|
|
6990
7572
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -6994,10 +7576,10 @@ class Client extends openapi_core_1.default {
|
|
|
6994
7576
|
return await this.listPhoneMessageQrdlWithOptions(request, runtime);
|
|
6995
7577
|
}
|
|
6996
7578
|
/**
|
|
6997
|
-
*
|
|
7579
|
+
* Retrieves products in a catalog.
|
|
6998
7580
|
*
|
|
6999
7581
|
* @remarks
|
|
7000
|
-
*
|
|
7582
|
+
* 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.
|
|
7001
7583
|
*
|
|
7002
7584
|
* @param request - ListProductRequest
|
|
7003
7585
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7053,10 +7635,10 @@ class Client extends openapi_core_1.default {
|
|
|
7053
7635
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductResponse({}));
|
|
7054
7636
|
}
|
|
7055
7637
|
/**
|
|
7056
|
-
*
|
|
7638
|
+
* Retrieves products in a catalog.
|
|
7057
7639
|
*
|
|
7058
7640
|
* @remarks
|
|
7059
|
-
*
|
|
7641
|
+
* 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.
|
|
7060
7642
|
*
|
|
7061
7643
|
* @param request - ListProductRequest
|
|
7062
7644
|
* @returns ListProductResponse
|
|
@@ -7066,10 +7648,10 @@ class Client extends openapi_core_1.default {
|
|
|
7066
7648
|
return await this.listProductWithOptions(request, runtime);
|
|
7067
7649
|
}
|
|
7068
7650
|
/**
|
|
7069
|
-
* Queries the
|
|
7651
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7070
7652
|
*
|
|
7071
7653
|
* @remarks
|
|
7072
|
-
*
|
|
7654
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7073
7655
|
*
|
|
7074
7656
|
* @param request - ListProductCatalogRequest
|
|
7075
7657
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7122,10 +7704,10 @@ class Client extends openapi_core_1.default {
|
|
|
7122
7704
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7123
7705
|
}
|
|
7124
7706
|
/**
|
|
7125
|
-
* Queries the
|
|
7707
|
+
* Queries the catalog list of the Meta Business platform.
|
|
7126
7708
|
*
|
|
7127
7709
|
* @remarks
|
|
7128
|
-
*
|
|
7710
|
+
* The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The China (Hangzhou) region is used as an example. The per-user QPS limit for this API is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7129
7711
|
*
|
|
7130
7712
|
* @param request - ListProductCatalogRequest
|
|
7131
7713
|
* @returns ListProductCatalogResponse
|
|
@@ -7183,7 +7765,7 @@ class Client extends openapi_core_1.default {
|
|
|
7183
7765
|
return await this.listViberServiceMessageWithOptions(request, runtime);
|
|
7184
7766
|
}
|
|
7185
7767
|
/**
|
|
7186
|
-
*
|
|
7768
|
+
* Lists message templates.
|
|
7187
7769
|
*
|
|
7188
7770
|
* @param request - ListWhatAppTemplateRequest
|
|
7189
7771
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7215,7 +7797,7 @@ class Client extends openapi_core_1.default {
|
|
|
7215
7797
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWhatAppTemplateResponse({}));
|
|
7216
7798
|
}
|
|
7217
7799
|
/**
|
|
7218
|
-
*
|
|
7800
|
+
* Lists message templates.
|
|
7219
7801
|
*
|
|
7220
7802
|
* @param request - ListWhatAppTemplateRequest
|
|
7221
7803
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -7225,10 +7807,13 @@ class Client extends openapi_core_1.default {
|
|
|
7225
7807
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7226
7808
|
}
|
|
7227
7809
|
/**
|
|
7228
|
-
*
|
|
7810
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7229
7811
|
*
|
|
7230
7812
|
* @remarks
|
|
7231
|
-
*
|
|
7813
|
+
* ### QPS limit
|
|
7814
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7815
|
+
* ### Status changes
|
|
7816
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7232
7817
|
*
|
|
7233
7818
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7234
7819
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7298,10 +7883,13 @@ class Client extends openapi_core_1.default {
|
|
|
7298
7883
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7299
7884
|
}
|
|
7300
7885
|
/**
|
|
7301
|
-
*
|
|
7886
|
+
* Modifies a message template. Only templates that have not been reviewed or that failed the review can be modified.
|
|
7302
7887
|
*
|
|
7303
7888
|
* @remarks
|
|
7304
|
-
*
|
|
7889
|
+
* ### QPS limit
|
|
7890
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7891
|
+
* ### Status changes
|
|
7892
|
+
* Changes to the template status and quality can be monitored through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7305
7893
|
*
|
|
7306
7894
|
* @param request - ModifyChatappTemplateRequest
|
|
7307
7895
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -7311,7 +7899,7 @@ class Client extends openapi_core_1.default {
|
|
|
7311
7899
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7312
7900
|
}
|
|
7313
7901
|
/**
|
|
7314
|
-
*
|
|
7902
|
+
* Modifies some properties of a template.
|
|
7315
7903
|
*
|
|
7316
7904
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7317
7905
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7364,7 +7952,7 @@ class Client extends openapi_core_1.default {
|
|
|
7364
7952
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
7365
7953
|
}
|
|
7366
7954
|
/**
|
|
7367
|
-
*
|
|
7955
|
+
* Modifies some properties of a template.
|
|
7368
7956
|
*
|
|
7369
7957
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7370
7958
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -7374,10 +7962,10 @@ class Client extends openapi_core_1.default {
|
|
|
7374
7962
|
return await this.modifyChatappTemplatePropertiesWithOptions(request, runtime);
|
|
7375
7963
|
}
|
|
7376
7964
|
/**
|
|
7377
|
-
* Modifies the basic information
|
|
7965
|
+
* Modifies the basic information of a flow.
|
|
7378
7966
|
*
|
|
7379
7967
|
* @remarks
|
|
7380
|
-
*
|
|
7968
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7381
7969
|
*
|
|
7382
7970
|
* @param tmpReq - ModifyFlowRequest
|
|
7383
7971
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7432,10 +8020,10 @@ class Client extends openapi_core_1.default {
|
|
|
7432
8020
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyFlowResponse({}));
|
|
7433
8021
|
}
|
|
7434
8022
|
/**
|
|
7435
|
-
* Modifies the basic information
|
|
8023
|
+
* Modifies the basic information of a flow.
|
|
7436
8024
|
*
|
|
7437
8025
|
* @remarks
|
|
7438
|
-
*
|
|
8026
|
+
* The China Short Message Service (China SMS) API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
7439
8027
|
*
|
|
7440
8028
|
* @param request - ModifyFlowRequest
|
|
7441
8029
|
* @returns ModifyFlowResponse
|
|
@@ -7445,10 +8033,10 @@ class Client extends openapi_core_1.default {
|
|
|
7445
8033
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
7446
8034
|
}
|
|
7447
8035
|
/**
|
|
7448
|
-
*
|
|
8036
|
+
* Modifies the commercial information of a phone number.
|
|
7449
8037
|
*
|
|
7450
8038
|
* @remarks
|
|
7451
|
-
*
|
|
8039
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7452
8040
|
*
|
|
7453
8041
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
7454
8042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7515,10 +8103,10 @@ class Client extends openapi_core_1.default {
|
|
|
7515
8103
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
7516
8104
|
}
|
|
7517
8105
|
/**
|
|
7518
|
-
*
|
|
8106
|
+
* Modifies the commercial information of a phone number.
|
|
7519
8107
|
*
|
|
7520
8108
|
* @remarks
|
|
7521
|
-
*
|
|
8109
|
+
* The China Message Service (China) API has a single-user QPS limit of 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. Manage your calls appropriately.
|
|
7522
8110
|
*
|
|
7523
8111
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
7524
8112
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -7593,7 +8181,13 @@ class Client extends openapi_core_1.default {
|
|
|
7593
8181
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
7594
8182
|
}
|
|
7595
8183
|
/**
|
|
7596
|
-
*
|
|
8184
|
+
* Unpublishes a flow version.
|
|
8185
|
+
*
|
|
8186
|
+
* @remarks
|
|
8187
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8188
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
8189
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
8190
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
7597
8191
|
*
|
|
7598
8192
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
7599
8193
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7648,7 +8242,13 @@ class Client extends openapi_core_1.default {
|
|
|
7648
8242
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
7649
8243
|
}
|
|
7650
8244
|
/**
|
|
7651
|
-
*
|
|
8245
|
+
* Unpublishes a flow version.
|
|
8246
|
+
*
|
|
8247
|
+
* @remarks
|
|
8248
|
+
* - You can call this operation to unpublish a flow version. You can also manually unpublish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8249
|
+
* - Before calling this operation, make sure that the flow is published.
|
|
8250
|
+
* - If a flow is not published, you can publish it manually from the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or by calling the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation.
|
|
8251
|
+
* - After a flow version is unpublished, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
7652
8252
|
*
|
|
7653
8253
|
* @param request - OfflineFlowVersionRequest
|
|
7654
8254
|
* @returns OfflineFlowVersionResponse
|
|
@@ -7658,7 +8258,13 @@ class Client extends openapi_core_1.default {
|
|
|
7658
8258
|
return await this.offlineFlowVersionWithOptions(request, runtime);
|
|
7659
8259
|
}
|
|
7660
8260
|
/**
|
|
7661
|
-
*
|
|
8261
|
+
* Publishes a flow version.
|
|
8262
|
+
*
|
|
8263
|
+
* @remarks
|
|
8264
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8265
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
8266
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
8267
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
7662
8268
|
*
|
|
7663
8269
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
7664
8270
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7713,7 +8319,13 @@ class Client extends openapi_core_1.default {
|
|
|
7713
8319
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OnlineFlowVersionResponse({}));
|
|
7714
8320
|
}
|
|
7715
8321
|
/**
|
|
7716
|
-
*
|
|
8322
|
+
* Publishes a flow version.
|
|
8323
|
+
*
|
|
8324
|
+
* @remarks
|
|
8325
|
+
* - You can call this operation to publish a flow version. You can also manually publish a flow version in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) by clicking the flow name to open the orchestration canvas.
|
|
8326
|
+
* - Before you call this operation, make sure that you have created a flow and attached it to a phone number or a business account ID.
|
|
8327
|
+
* - If you have not created a flow, you can create one manually in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) and attach a phone number or business account ID. Alternatively, you can call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and attach a phone number or business account ID.
|
|
8328
|
+
* - After a flow with a non-manual trigger is published, it is triggered when the attached phone number or business account sends a message to the business. If your flow contains components that incur fees, such as message sending or function invocations, make sure you understand the billing methods and pricing of the related products before you call this operation.
|
|
7717
8329
|
*
|
|
7718
8330
|
* @param request - OnlineFlowVersionRequest
|
|
7719
8331
|
* @returns OnlineFlowVersionResponse
|
|
@@ -7822,7 +8434,10 @@ class Client extends openapi_core_1.default {
|
|
|
7822
8434
|
* Publishes a Flow.
|
|
7823
8435
|
*
|
|
7824
8436
|
* @remarks
|
|
7825
|
-
*
|
|
8437
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8438
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8439
|
+
* #### QPS limit
|
|
8440
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7826
8441
|
*
|
|
7827
8442
|
* @param request - PublishFlowRequest
|
|
7828
8443
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7866,7 +8481,10 @@ class Client extends openapi_core_1.default {
|
|
|
7866
8481
|
* Publishes a Flow.
|
|
7867
8482
|
*
|
|
7868
8483
|
* @remarks
|
|
7869
|
-
*
|
|
8484
|
+
* - Before calling this operation, make sure that you have a successfully created WhatsApp Flow.
|
|
8485
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
8486
|
+
* #### QPS limit
|
|
8487
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7870
8488
|
*
|
|
7871
8489
|
* @param request - PublishFlowRequest
|
|
7872
8490
|
* @returns PublishFlowResponse
|
|
@@ -7876,10 +8494,10 @@ class Client extends openapi_core_1.default {
|
|
|
7876
8494
|
return await this.publishFlowWithOptions(request, runtime);
|
|
7877
8495
|
}
|
|
7878
8496
|
/**
|
|
7879
|
-
*
|
|
8497
|
+
* Queries the WhatsApp Business Account (WABA) that is bound to a customer account.
|
|
7880
8498
|
*
|
|
7881
8499
|
* @remarks
|
|
7882
|
-
*
|
|
8500
|
+
* 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.
|
|
7883
8501
|
*
|
|
7884
8502
|
* @param request - QueryChatappBindWabaRequest
|
|
7885
8503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7920,10 +8538,10 @@ class Client extends openapi_core_1.default {
|
|
|
7920
8538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappBindWabaResponse({}));
|
|
7921
8539
|
}
|
|
7922
8540
|
/**
|
|
7923
|
-
*
|
|
8541
|
+
* Queries the WhatsApp Business Account (WABA) that is bound to a customer account.
|
|
7924
8542
|
*
|
|
7925
8543
|
* @remarks
|
|
7926
|
-
*
|
|
8544
|
+
* 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.
|
|
7927
8545
|
*
|
|
7928
8546
|
* @param request - QueryChatappBindWabaRequest
|
|
7929
8547
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -7933,10 +8551,10 @@ class Client extends openapi_core_1.default {
|
|
|
7933
8551
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
7934
8552
|
}
|
|
7935
8553
|
/**
|
|
7936
|
-
* Queries phone numbers
|
|
8554
|
+
* Queries all phone numbers used for sending messages and their statuses for a customer.
|
|
7937
8555
|
*
|
|
7938
8556
|
* @remarks
|
|
7939
|
-
*
|
|
8557
|
+
* 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.
|
|
7940
8558
|
*
|
|
7941
8559
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
7942
8560
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7980,10 +8598,10 @@ class Client extends openapi_core_1.default {
|
|
|
7980
8598
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
7981
8599
|
}
|
|
7982
8600
|
/**
|
|
7983
|
-
* Queries phone numbers
|
|
8601
|
+
* Queries all phone numbers used for sending messages and their statuses for a customer.
|
|
7984
8602
|
*
|
|
7985
8603
|
* @remarks
|
|
7986
|
-
*
|
|
8604
|
+
* 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.
|
|
7987
8605
|
*
|
|
7988
8606
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
7989
8607
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -7993,7 +8611,7 @@ class Client extends openapi_core_1.default {
|
|
|
7993
8611
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
7994
8612
|
}
|
|
7995
8613
|
/**
|
|
7996
|
-
*
|
|
8614
|
+
* Gets the details of a specified instance.
|
|
7997
8615
|
*
|
|
7998
8616
|
* @param request - QueryInstanceRequest
|
|
7999
8617
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8022,7 +8640,7 @@ class Client extends openapi_core_1.default {
|
|
|
8022
8640
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryInstanceResponse({}));
|
|
8023
8641
|
}
|
|
8024
8642
|
/**
|
|
8025
|
-
*
|
|
8643
|
+
* Gets the details of a specified instance.
|
|
8026
8644
|
*
|
|
8027
8645
|
* @param request - QueryInstanceRequest
|
|
8028
8646
|
* @returns QueryInstanceResponse
|
|
@@ -8080,10 +8698,10 @@ class Client extends openapi_core_1.default {
|
|
|
8080
8698
|
return await this.queryMMLActiveWithOptions(request, runtime);
|
|
8081
8699
|
}
|
|
8082
8700
|
/**
|
|
8083
|
-
* Queries the business information of
|
|
8701
|
+
* Queries the business information of a phone number.
|
|
8084
8702
|
*
|
|
8085
8703
|
* @remarks
|
|
8086
|
-
*
|
|
8704
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8087
8705
|
*
|
|
8088
8706
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8089
8707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8124,10 +8742,10 @@ class Client extends openapi_core_1.default {
|
|
|
8124
8742
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryPhoneBusinessProfileResponse({}));
|
|
8125
8743
|
}
|
|
8126
8744
|
/**
|
|
8127
|
-
* Queries the business information of
|
|
8745
|
+
* Queries the business information of a phone number.
|
|
8128
8746
|
*
|
|
8129
8747
|
* @remarks
|
|
8130
|
-
*
|
|
8748
|
+
* The queries per second (QPS) limit for this operation is 10 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at an appropriate frequency.
|
|
8131
8749
|
*
|
|
8132
8750
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8133
8751
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8140,7 +8758,7 @@ class Client extends openapi_core_1.default {
|
|
|
8140
8758
|
* Queries the business information about the WhatsApp Business account (WABA).
|
|
8141
8759
|
*
|
|
8142
8760
|
* @remarks
|
|
8143
|
-
*
|
|
8761
|
+
* 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.
|
|
8144
8762
|
*
|
|
8145
8763
|
* @param request - QueryWabaBusinessInfoRequest
|
|
8146
8764
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8184,7 +8802,7 @@ class Client extends openapi_core_1.default {
|
|
|
8184
8802
|
* Queries the business information about the WhatsApp Business account (WABA).
|
|
8185
8803
|
*
|
|
8186
8804
|
* @remarks
|
|
8187
|
-
*
|
|
8805
|
+
* 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.
|
|
8188
8806
|
*
|
|
8189
8807
|
* @param request - QueryWabaBusinessInfoRequest
|
|
8190
8808
|
* @returns QueryWabaBusinessInfoResponse
|
|
@@ -8194,7 +8812,12 @@ class Client extends openapi_core_1.default {
|
|
|
8194
8812
|
return await this.queryWabaBusinessInfoWithOptions(request, runtime);
|
|
8195
8813
|
}
|
|
8196
8814
|
/**
|
|
8197
|
-
*
|
|
8815
|
+
* Retrieves the details of a flow.
|
|
8816
|
+
*
|
|
8817
|
+
* @remarks
|
|
8818
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8819
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
8820
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8198
8821
|
*
|
|
8199
8822
|
* @param tmpReq - ReadChatFlowRequest
|
|
8200
8823
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8243,7 +8866,12 @@ class Client extends openapi_core_1.default {
|
|
|
8243
8866
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowResponse({}));
|
|
8244
8867
|
}
|
|
8245
8868
|
/**
|
|
8246
|
-
*
|
|
8869
|
+
* Retrieves the details of a flow.
|
|
8870
|
+
*
|
|
8871
|
+
* @remarks
|
|
8872
|
+
* - You can call this API operation to retrieve the details of a flow. You can also view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8873
|
+
* - Before you call this operation, make sure that you have created a flow.
|
|
8874
|
+
* - If you have not created a flow, you can create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8247
8875
|
*
|
|
8248
8876
|
* @param request - ReadChatFlowRequest
|
|
8249
8877
|
* @returns ReadChatFlowResponse
|
|
@@ -8253,7 +8881,12 @@ class Client extends openapi_core_1.default {
|
|
|
8253
8881
|
return await this.readChatFlowWithOptions(request, runtime);
|
|
8254
8882
|
}
|
|
8255
8883
|
/**
|
|
8256
|
-
*
|
|
8884
|
+
* Views the log settings for a flow.
|
|
8885
|
+
*
|
|
8886
|
+
* @remarks
|
|
8887
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
8888
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
8889
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8257
8890
|
*
|
|
8258
8891
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8259
8892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8291,7 +8924,12 @@ class Client extends openapi_core_1.default {
|
|
|
8291
8924
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
8292
8925
|
}
|
|
8293
8926
|
/**
|
|
8294
|
-
*
|
|
8927
|
+
* Views the log settings for a flow.
|
|
8928
|
+
*
|
|
8929
|
+
* @remarks
|
|
8930
|
+
* - Before you call this operation, ensure that log settings are configured for the flow.
|
|
8931
|
+
* - If log settings are not configured for the flow, call the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation to configure them.
|
|
8932
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8295
8933
|
*
|
|
8296
8934
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8297
8935
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8301,7 +8939,12 @@ class Client extends openapi_core_1.default {
|
|
|
8301
8939
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8302
8940
|
}
|
|
8303
8941
|
/**
|
|
8304
|
-
*
|
|
8942
|
+
* Retrieves a flow version.
|
|
8943
|
+
*
|
|
8944
|
+
* @remarks
|
|
8945
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
8946
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
8947
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8305
8948
|
*
|
|
8306
8949
|
* @param tmpReq - ReadFlowVersionRequest
|
|
8307
8950
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8356,7 +8999,12 @@ class Client extends openapi_core_1.default {
|
|
|
8356
8999
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
8357
9000
|
}
|
|
8358
9001
|
/**
|
|
8359
|
-
*
|
|
9002
|
+
* Retrieves a flow version.
|
|
9003
|
+
*
|
|
9004
|
+
* @remarks
|
|
9005
|
+
* - You can call this operation to query a flow version. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view the flow version.
|
|
9006
|
+
* - Before calling this operation, make sure that you have successfully created a flow.
|
|
9007
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html).
|
|
8360
9008
|
*
|
|
8361
9009
|
* @param request - ReadFlowVersionRequest
|
|
8362
9010
|
* @returns ReadFlowVersionResponse
|
|
@@ -8417,7 +9065,10 @@ class Client extends openapi_core_1.default {
|
|
|
8417
9065
|
return await this.removeContactByIdWithOptions(request, runtime);
|
|
8418
9066
|
}
|
|
8419
9067
|
/**
|
|
8420
|
-
*
|
|
9068
|
+
* Sends a request to the WhatsApp Conversions API.
|
|
9069
|
+
*
|
|
9070
|
+
* @remarks
|
|
9071
|
+
* 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.
|
|
8421
9072
|
*
|
|
8422
9073
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
8423
9074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8466,7 +9117,10 @@ class Client extends openapi_core_1.default {
|
|
|
8466
9117
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RequestWhatsappConversionApiResponse({}));
|
|
8467
9118
|
}
|
|
8468
9119
|
/**
|
|
8469
|
-
*
|
|
9120
|
+
* Sends a request to the WhatsApp Conversions API.
|
|
9121
|
+
*
|
|
9122
|
+
* @remarks
|
|
9123
|
+
* 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.
|
|
8470
9124
|
*
|
|
8471
9125
|
* @param request - RequestWhatsappConversionApiRequest
|
|
8472
9126
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -8476,11 +9130,20 @@ class Client extends openapi_core_1.default {
|
|
|
8476
9130
|
return await this.requestWhatsappConversionApiWithOptions(request, runtime);
|
|
8477
9131
|
}
|
|
8478
9132
|
/**
|
|
8479
|
-
* Sends
|
|
9133
|
+
* Sends Chat App messages in batches.
|
|
8480
9134
|
*
|
|
8481
9135
|
* @remarks
|
|
8482
|
-
* You can call this operation
|
|
8483
|
-
*
|
|
9136
|
+
* - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
|
|
9137
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9138
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9139
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9140
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9141
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9142
|
+
* ### QPS limit
|
|
9143
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
9144
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
9145
|
+
* ### Status changes
|
|
9146
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8484
9147
|
*
|
|
8485
9148
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
8486
9149
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8571,11 +9234,20 @@ class Client extends openapi_core_1.default {
|
|
|
8571
9234
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMassMessageResponse({}));
|
|
8572
9235
|
}
|
|
8573
9236
|
/**
|
|
8574
|
-
* Sends
|
|
9237
|
+
* Sends Chat App messages in batches.
|
|
8575
9238
|
*
|
|
8576
9239
|
* @remarks
|
|
8577
|
-
* You can call this operation
|
|
8578
|
-
*
|
|
9240
|
+
* - You can call this operation to send messages in batches. You can also manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Message Sending** page.
|
|
9241
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9242
|
+
* - For WhatsApp channels, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9243
|
+
* - For Messenger channels, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9244
|
+
* - For Instagram channels, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9245
|
+
* <props="intl">- For Viber channels, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9246
|
+
* ### QPS limit
|
|
9247
|
+
* - The single-user QPS limit for this operation is 10 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
9248
|
+
* - A maximum of 1,000 phone numbers are supported per request.
|
|
9249
|
+
* ### Status changes
|
|
9250
|
+
* You can monitor message sending status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8579
9251
|
*
|
|
8580
9252
|
* @param request - SendChatappMassMessageRequest
|
|
8581
9253
|
* @returns SendChatappMassMessageResponse
|
|
@@ -8585,10 +9257,19 @@ class Client extends openapi_core_1.default {
|
|
|
8585
9257
|
return await this.sendChatappMassMessageWithOptions(request, runtime);
|
|
8586
9258
|
}
|
|
8587
9259
|
/**
|
|
8588
|
-
* Sends
|
|
9260
|
+
* Sends a Chat App Message Service message.
|
|
8589
9261
|
*
|
|
8590
9262
|
* @remarks
|
|
8591
|
-
* You can call this operation
|
|
9263
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9264
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9265
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9266
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9267
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9268
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9269
|
+
* ### QPS limit
|
|
9270
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9271
|
+
* ### Status changes
|
|
9272
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8592
9273
|
*
|
|
8593
9274
|
* @param tmpReq - SendChatappMessageRequest
|
|
8594
9275
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8730,10 +9411,19 @@ class Client extends openapi_core_1.default {
|
|
|
8730
9411
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SendChatappMessageResponse({}));
|
|
8731
9412
|
}
|
|
8732
9413
|
/**
|
|
8733
|
-
* Sends
|
|
9414
|
+
* Sends a Chat App Message Service message.
|
|
8734
9415
|
*
|
|
8735
9416
|
* @remarks
|
|
8736
|
-
* You can call this operation
|
|
9417
|
+
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9418
|
+
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9419
|
+
* - For the WhatsApp channel type, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9420
|
+
* - For the Messenger channel type, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9421
|
+
* - For the Instagram channel type, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9422
|
+
* <props="intl">- For the Viber channel type, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9423
|
+
* ### QPS limit
|
|
9424
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9425
|
+
* ### Status changes
|
|
9426
|
+
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8737
9427
|
*
|
|
8738
9428
|
* @param request - SendChatappMessageRequest
|
|
8739
9429
|
* @returns SendChatappMessageResponse
|
|
@@ -8743,7 +9433,56 @@ class Client extends openapi_core_1.default {
|
|
|
8743
9433
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
8744
9434
|
}
|
|
8745
9435
|
/**
|
|
8746
|
-
*
|
|
9436
|
+
* Submits the result of a verification code check.
|
|
9437
|
+
*
|
|
9438
|
+
* @param request - SubmitVerifyCodeResultRequest
|
|
9439
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9440
|
+
* @returns SubmitVerifyCodeResultResponse
|
|
9441
|
+
*/
|
|
9442
|
+
async submitVerifyCodeResultWithOptions(request, runtime) {
|
|
9443
|
+
request.validate();
|
|
9444
|
+
let query = {};
|
|
9445
|
+
if (!$dara.isNull(request.messageId)) {
|
|
9446
|
+
query["MessageId"] = request.messageId;
|
|
9447
|
+
}
|
|
9448
|
+
if (!$dara.isNull(request.result)) {
|
|
9449
|
+
query["Result"] = request.result;
|
|
9450
|
+
}
|
|
9451
|
+
if (!$dara.isNull(request.to)) {
|
|
9452
|
+
query["To"] = request.to;
|
|
9453
|
+
}
|
|
9454
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9455
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9456
|
+
});
|
|
9457
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9458
|
+
action: "SubmitVerifyCodeResult",
|
|
9459
|
+
version: "2020-06-06",
|
|
9460
|
+
protocol: "HTTPS",
|
|
9461
|
+
pathname: "/",
|
|
9462
|
+
method: "POST",
|
|
9463
|
+
authType: "AK",
|
|
9464
|
+
style: "RPC",
|
|
9465
|
+
reqBodyType: "formData",
|
|
9466
|
+
bodyType: "json",
|
|
9467
|
+
});
|
|
9468
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitVerifyCodeResultResponse({}));
|
|
9469
|
+
}
|
|
9470
|
+
/**
|
|
9471
|
+
* Submits the result of a verification code check.
|
|
9472
|
+
*
|
|
9473
|
+
* @param request - SubmitVerifyCodeResultRequest
|
|
9474
|
+
* @returns SubmitVerifyCodeResultResponse
|
|
9475
|
+
*/
|
|
9476
|
+
async submitVerifyCodeResult(request) {
|
|
9477
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9478
|
+
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9479
|
+
}
|
|
9480
|
+
/**
|
|
9481
|
+
* Synchronizes business app historical records.
|
|
9482
|
+
*
|
|
9483
|
+
* @remarks
|
|
9484
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
9485
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
8747
9486
|
*
|
|
8748
9487
|
* @param request - SyncBusinessAppHistoryRequest
|
|
8749
9488
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8784,7 +9523,11 @@ class Client extends openapi_core_1.default {
|
|
|
8784
9523
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
8785
9524
|
}
|
|
8786
9525
|
/**
|
|
8787
|
-
*
|
|
9526
|
+
* Synchronizes business app historical records.
|
|
9527
|
+
*
|
|
9528
|
+
* @remarks
|
|
9529
|
+
* - Before calling this operation, configure the webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the webhook address cannot be found during historical message synchronization, which causes the synchronization to fail.
|
|
9530
|
+
* - This operation takes effect only once. After the first call, subsequent calls do not trigger historical message pushes.
|
|
8788
9531
|
*
|
|
8789
9532
|
* @param request - SyncBusinessAppHistoryRequest
|
|
8790
9533
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -8842,7 +9585,7 @@ class Client extends openapi_core_1.default {
|
|
|
8842
9585
|
return await this.syncFlowWithOptions(request, runtime);
|
|
8843
9586
|
}
|
|
8844
9587
|
/**
|
|
8845
|
-
*
|
|
9588
|
+
* Synchronously queries the budget.
|
|
8846
9589
|
*
|
|
8847
9590
|
* @param request - SyncMessageCampaignRequest
|
|
8848
9591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8883,7 +9626,7 @@ class Client extends openapi_core_1.default {
|
|
|
8883
9626
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessageCampaignResponse({}));
|
|
8884
9627
|
}
|
|
8885
9628
|
/**
|
|
8886
|
-
*
|
|
9629
|
+
* Synchronously queries the budget.
|
|
8887
9630
|
*
|
|
8888
9631
|
* @param request - SyncMessageCampaignRequest
|
|
8889
9632
|
* @returns SyncMessageCampaignResponse
|
|
@@ -8893,7 +9636,7 @@ class Client extends openapi_core_1.default {
|
|
|
8893
9636
|
return await this.syncMessageCampaignWithOptions(request, runtime);
|
|
8894
9637
|
}
|
|
8895
9638
|
/**
|
|
8896
|
-
*
|
|
9639
|
+
* Queries the Messenger subscription token.
|
|
8897
9640
|
*
|
|
8898
9641
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
8899
9642
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8940,7 +9683,7 @@ class Client extends openapi_core_1.default {
|
|
|
8940
9683
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessengerSubscriptionTokenResponse({}));
|
|
8941
9684
|
}
|
|
8942
9685
|
/**
|
|
8943
|
-
*
|
|
9686
|
+
* Queries the Messenger subscription token.
|
|
8944
9687
|
*
|
|
8945
9688
|
* @param request - SyncMessengerSubscriptionTokenRequest
|
|
8946
9689
|
* @returns SyncMessengerSubscriptionTokenResponse
|
|
@@ -8950,10 +9693,13 @@ class Client extends openapi_core_1.default {
|
|
|
8950
9693
|
return await this.syncMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
8951
9694
|
}
|
|
8952
9695
|
/**
|
|
8953
|
-
*
|
|
9696
|
+
* Triggers an online chat flow that has a manual trigger.
|
|
8954
9697
|
*
|
|
8955
9698
|
* @remarks
|
|
8956
|
-
*
|
|
9699
|
+
* - 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.
|
|
9700
|
+
* - Before you call this operation, make sure that the flow has a manual trigger and is published.
|
|
9701
|
+
* - 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.
|
|
9702
|
+
* - 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.
|
|
8957
9703
|
*
|
|
8958
9704
|
* @param tmpReq - TriggerChatFlowRequest
|
|
8959
9705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9011,10 +9757,13 @@ class Client extends openapi_core_1.default {
|
|
|
9011
9757
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerChatFlowResponse({}));
|
|
9012
9758
|
}
|
|
9013
9759
|
/**
|
|
9014
|
-
*
|
|
9760
|
+
* Triggers an online chat flow that has a manual trigger.
|
|
9015
9761
|
*
|
|
9016
9762
|
* @remarks
|
|
9017
|
-
*
|
|
9763
|
+
* - 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.
|
|
9764
|
+
* - Before you call this operation, make sure that the flow has a manual trigger and is published.
|
|
9765
|
+
* - 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.
|
|
9766
|
+
* - 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.
|
|
9018
9767
|
*
|
|
9019
9768
|
* @param request - TriggerChatFlowRequest
|
|
9020
9769
|
* @returns TriggerChatFlowResponse
|
|
@@ -9075,7 +9824,7 @@ class Client extends openapi_core_1.default {
|
|
|
9075
9824
|
* Modifies the callback URL of an account.
|
|
9076
9825
|
*
|
|
9077
9826
|
* @remarks
|
|
9078
|
-
*
|
|
9827
|
+
* 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.
|
|
9079
9828
|
*
|
|
9080
9829
|
* @param request - UpdateAccountWebhookRequest
|
|
9081
9830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9125,7 +9874,7 @@ class Client extends openapi_core_1.default {
|
|
|
9125
9874
|
* Modifies the callback URL of an account.
|
|
9126
9875
|
*
|
|
9127
9876
|
* @remarks
|
|
9128
|
-
*
|
|
9877
|
+
* 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.
|
|
9129
9878
|
*
|
|
9130
9879
|
* @param request - UpdateAccountWebhookRequest
|
|
9131
9880
|
* @returns UpdateAccountWebhookResponse
|
|
@@ -9135,7 +9884,7 @@ class Client extends openapi_core_1.default {
|
|
|
9135
9884
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9136
9885
|
}
|
|
9137
9886
|
/**
|
|
9138
|
-
*
|
|
9887
|
+
* Modifies a Viber application.
|
|
9139
9888
|
*
|
|
9140
9889
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
9141
9890
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9187,7 +9936,7 @@ class Client extends openapi_core_1.default {
|
|
|
9187
9936
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAuditRequestResponse({}));
|
|
9188
9937
|
}
|
|
9189
9938
|
/**
|
|
9190
|
-
*
|
|
9939
|
+
* Modifies a Viber application.
|
|
9191
9940
|
*
|
|
9192
9941
|
* @param request - UpdateAuditRequestRequest
|
|
9193
9942
|
* @returns UpdateAuditRequestResponse
|
|
@@ -9197,7 +9946,12 @@ class Client extends openapi_core_1.default {
|
|
|
9197
9946
|
return await this.updateAuditRequestWithOptions(request, runtime);
|
|
9198
9947
|
}
|
|
9199
9948
|
/**
|
|
9200
|
-
*
|
|
9949
|
+
* Updates the basic information of a flow based on the flow code.
|
|
9950
|
+
*
|
|
9951
|
+
* @remarks
|
|
9952
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
9953
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9954
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
9201
9955
|
*
|
|
9202
9956
|
* @param tmpReq - UpdateChatFlowRequest
|
|
9203
9957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9252,7 +10006,12 @@ class Client extends openapi_core_1.default {
|
|
|
9252
10006
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowResponse({}));
|
|
9253
10007
|
}
|
|
9254
10008
|
/**
|
|
9255
|
-
*
|
|
10009
|
+
* Updates the basic information of a flow based on the flow code.
|
|
10010
|
+
*
|
|
10011
|
+
* @remarks
|
|
10012
|
+
* - You can call this operation to update the basic information of a flow, or update it manually on the **Basic Information** page under **Settings** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10013
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
10014
|
+
* - If you have not created a flow, go to the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) and click **Create Flow** to create one.
|
|
9256
10015
|
*
|
|
9257
10016
|
* @param request - UpdateChatFlowRequest
|
|
9258
10017
|
* @returns UpdateChatFlowResponse
|
|
@@ -9262,7 +10021,13 @@ class Client extends openapi_core_1.default {
|
|
|
9262
10021
|
return await this.updateChatFlowWithOptions(request, runtime);
|
|
9263
10022
|
}
|
|
9264
10023
|
/**
|
|
9265
|
-
*
|
|
10024
|
+
* Updates the flow log settings.
|
|
10025
|
+
*
|
|
10026
|
+
* @remarks
|
|
10027
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
10028
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10029
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10030
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9266
10031
|
*
|
|
9267
10032
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9268
10033
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9306,7 +10071,13 @@ class Client extends openapi_core_1.default {
|
|
|
9306
10071
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatFlowLogSettingResponse({}));
|
|
9307
10072
|
}
|
|
9308
10073
|
/**
|
|
9309
|
-
*
|
|
10074
|
+
* Updates the flow log settings.
|
|
10075
|
+
*
|
|
10076
|
+
* @remarks
|
|
10077
|
+
* - You can call this operation to update flow log settings, or manually update them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log**.
|
|
10078
|
+
* - Before calling this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10079
|
+
* - If you have not created flow log settings for the flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
10080
|
+
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
9310
10081
|
*
|
|
9311
10082
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
9312
10083
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -9316,7 +10087,13 @@ class Client extends openapi_core_1.default {
|
|
|
9316
10087
|
return await this.updateChatFlowLogSettingWithOptions(request, runtime);
|
|
9317
10088
|
}
|
|
9318
10089
|
/**
|
|
9319
|
-
*
|
|
10090
|
+
* Modifies the information of an IM group.
|
|
10091
|
+
*
|
|
10092
|
+
* @remarks
|
|
10093
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10094
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10095
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10096
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9320
10097
|
*
|
|
9321
10098
|
* @param request - UpdateChatGroupRequest
|
|
9322
10099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9372,7 +10149,13 @@ class Client extends openapi_core_1.default {
|
|
|
9372
10149
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateChatGroupResponse({}));
|
|
9373
10150
|
}
|
|
9374
10151
|
/**
|
|
9375
|
-
*
|
|
10152
|
+
* Modifies the information of an IM group.
|
|
10153
|
+
*
|
|
10154
|
+
* @remarks
|
|
10155
|
+
* >Notice: Modifying IM group information through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10156
|
+
* - Creating WhatsApp groups through API is a Meta beta feature. Contact your account manager to request allowlisting.
|
|
10157
|
+
* - Before calling this operation, make sure that you have an IM group that has been created.
|
|
10158
|
+
* - If you do not have a created IM group, create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation.
|
|
9376
10159
|
*
|
|
9377
10160
|
* @param request - UpdateChatGroupRequest
|
|
9378
10161
|
* @returns UpdateChatGroupResponse
|
|
@@ -9382,10 +10165,10 @@ class Client extends openapi_core_1.default {
|
|
|
9382
10165
|
return await this.updateChatGroupWithOptions(request, runtime);
|
|
9383
10166
|
}
|
|
9384
10167
|
/**
|
|
9385
|
-
*
|
|
10168
|
+
* Updates the commerce settings for a phone number.
|
|
9386
10169
|
*
|
|
9387
10170
|
* @remarks
|
|
9388
|
-
*
|
|
10171
|
+
* 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.
|
|
9389
10172
|
*
|
|
9390
10173
|
* @param request - UpdateCommerceSettingRequest
|
|
9391
10174
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9432,10 +10215,10 @@ class Client extends openapi_core_1.default {
|
|
|
9432
10215
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCommerceSettingResponse({}));
|
|
9433
10216
|
}
|
|
9434
10217
|
/**
|
|
9435
|
-
*
|
|
10218
|
+
* Updates the commerce settings for a phone number.
|
|
9436
10219
|
*
|
|
9437
10220
|
* @remarks
|
|
9438
|
-
*
|
|
10221
|
+
* 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.
|
|
9439
10222
|
*
|
|
9440
10223
|
* @param request - UpdateCommerceSettingRequest
|
|
9441
10224
|
* @returns UpdateCommerceSettingResponse
|
|
@@ -9519,12 +10302,12 @@ class Client extends openapi_core_1.default {
|
|
|
9519
10302
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
9520
10303
|
}
|
|
9521
10304
|
/**
|
|
9522
|
-
* Modifies
|
|
10305
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9523
10306
|
*
|
|
9524
10307
|
* @remarks
|
|
9525
|
-
* ###
|
|
9526
|
-
*
|
|
9527
|
-
* This
|
|
10308
|
+
* ### QPS limit
|
|
10309
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
10310
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9528
10311
|
*
|
|
9529
10312
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
9530
10313
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9582,12 +10365,12 @@ class Client extends openapi_core_1.default {
|
|
|
9582
10365
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
9583
10366
|
}
|
|
9584
10367
|
/**
|
|
9585
|
-
* Modifies
|
|
10368
|
+
* Modifies the welcome message, conversation starters, and commands for a phone number.
|
|
9586
10369
|
*
|
|
9587
10370
|
* @remarks
|
|
9588
|
-
* ###
|
|
9589
|
-
*
|
|
9590
|
-
* This
|
|
10371
|
+
* ### QPS limit
|
|
10372
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this API appropriately.
|
|
10373
|
+
* This API directly retrieves data from Facebook. Facebook imposes a limit on the total number of API calls. Use this API appropriately.
|
|
9591
10374
|
*
|
|
9592
10375
|
* @param request - UpdateConversationalAutomationRequest
|
|
9593
10376
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -9597,7 +10380,10 @@ class Client extends openapi_core_1.default {
|
|
|
9597
10380
|
return await this.updateConversationalAutomationWithOptions(request, runtime);
|
|
9598
10381
|
}
|
|
9599
10382
|
/**
|
|
9600
|
-
* Updates a
|
|
10383
|
+
* Updates the content of a flow by using JSON.
|
|
10384
|
+
*
|
|
10385
|
+
* @remarks
|
|
10386
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9601
10387
|
*
|
|
9602
10388
|
* @param request - UpdateFlowJSONAssetRequest
|
|
9603
10389
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9641,7 +10427,10 @@ class Client extends openapi_core_1.default {
|
|
|
9641
10427
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowJSONAssetResponse({}));
|
|
9642
10428
|
}
|
|
9643
10429
|
/**
|
|
9644
|
-
* Updates a
|
|
10430
|
+
* Updates the content of a flow by using JSON.
|
|
10431
|
+
*
|
|
10432
|
+
* @remarks
|
|
10433
|
+
* The China Mobile (China) QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Manage your calls appropriately.
|
|
9645
10434
|
*
|
|
9646
10435
|
* @param request - UpdateFlowJSONAssetRequest
|
|
9647
10436
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -9651,7 +10440,12 @@ class Client extends openapi_core_1.default {
|
|
|
9651
10440
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
9652
10441
|
}
|
|
9653
10442
|
/**
|
|
9654
|
-
*
|
|
10443
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
10444
|
+
*
|
|
10445
|
+
* @remarks
|
|
10446
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
10447
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
10448
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9655
10449
|
*
|
|
9656
10450
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
9657
10451
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9709,7 +10503,12 @@ class Client extends openapi_core_1.default {
|
|
|
9709
10503
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
9710
10504
|
}
|
|
9711
10505
|
/**
|
|
9712
|
-
*
|
|
10506
|
+
* Updates the Domain-Specific Language (DSL) data of a flow version on the canvas.
|
|
10507
|
+
*
|
|
10508
|
+
* @remarks
|
|
10509
|
+
* - You can call this operation to update the DSL data of a flow version. You can also update the DSL data on the orchestration canvas in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder). To access the canvas, click the name of the flow.
|
|
10510
|
+
* - Before calling this operation, make sure that you have created a flow and its status is Unpublished.
|
|
10511
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
9713
10512
|
*
|
|
9714
10513
|
* @param request - UpdateFlowVersionRequest
|
|
9715
10514
|
* @returns UpdateFlowVersionResponse
|
|
@@ -9770,7 +10569,7 @@ class Client extends openapi_core_1.default {
|
|
|
9770
10569
|
return await this.updateGroupNameWithOptions(request, runtime);
|
|
9771
10570
|
}
|
|
9772
10571
|
/**
|
|
9773
|
-
*
|
|
10572
|
+
* Updates the specified instance.
|
|
9774
10573
|
*
|
|
9775
10574
|
* @param request - UpdateInstanceRequest
|
|
9776
10575
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9823,7 +10622,7 @@ class Client extends openapi_core_1.default {
|
|
|
9823
10622
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
9824
10623
|
}
|
|
9825
10624
|
/**
|
|
9826
|
-
*
|
|
10625
|
+
* Updates the specified instance.
|
|
9827
10626
|
*
|
|
9828
10627
|
* @param request - UpdateInstanceRequest
|
|
9829
10628
|
* @returns UpdateInstanceResponse
|
|
@@ -9833,7 +10632,7 @@ class Client extends openapi_core_1.default {
|
|
|
9833
10632
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
9834
10633
|
}
|
|
9835
10634
|
/**
|
|
9836
|
-
*
|
|
10635
|
+
* Modifies campaign information.
|
|
9837
10636
|
*
|
|
9838
10637
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
9839
10638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9912,7 +10711,7 @@ class Client extends openapi_core_1.default {
|
|
|
9912
10711
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
9913
10712
|
}
|
|
9914
10713
|
/**
|
|
9915
|
-
*
|
|
10714
|
+
* Modifies campaign information.
|
|
9916
10715
|
*
|
|
9917
10716
|
* @param request - UpdateMarketingFLowRequest
|
|
9918
10717
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -9924,6 +10723,12 @@ class Client extends openapi_core_1.default {
|
|
|
9924
10723
|
/**
|
|
9925
10724
|
* Updates the encryption public key of a phone number.
|
|
9926
10725
|
*
|
|
10726
|
+
* @remarks
|
|
10727
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10728
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10729
|
+
* #### QPS limit
|
|
10730
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10731
|
+
*
|
|
9927
10732
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
9928
10733
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
9929
10734
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -9968,6 +10773,12 @@ class Client extends openapi_core_1.default {
|
|
|
9968
10773
|
/**
|
|
9969
10774
|
* Updates the encryption public key of a phone number.
|
|
9970
10775
|
*
|
|
10776
|
+
* @remarks
|
|
10777
|
+
* - Before calling this operation, make sure that a phone number has been added under your WABA and has passed phone number verification.
|
|
10778
|
+
* - If no phone number has been added under your WABA, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code and register a phone number.
|
|
10779
|
+
* #### QPS limit
|
|
10780
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
10781
|
+
*
|
|
9971
10782
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
9972
10783
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
9973
10784
|
*/
|
|
@@ -9976,7 +10787,14 @@ class Client extends openapi_core_1.default {
|
|
|
9976
10787
|
return await this.updatePhoneEncryptionPublicKeyWithOptions(request, runtime);
|
|
9977
10788
|
}
|
|
9978
10789
|
/**
|
|
9979
|
-
* Modifies a
|
|
10790
|
+
* Modifies a message QR code.
|
|
10791
|
+
*
|
|
10792
|
+
* @remarks
|
|
10793
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
10794
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10795
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10796
|
+
* #### QPS limit
|
|
10797
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
9980
10798
|
*
|
|
9981
10799
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
9982
10800
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10026,7 +10844,14 @@ class Client extends openapi_core_1.default {
|
|
|
10026
10844
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneMessageQrdlResponse({}));
|
|
10027
10845
|
}
|
|
10028
10846
|
/**
|
|
10029
|
-
* Modifies a
|
|
10847
|
+
* Modifies a message QR code.
|
|
10848
|
+
*
|
|
10849
|
+
* @remarks
|
|
10850
|
+
* - After you modify a message QR code, users can no longer open the corresponding business phone number by scanning the original QR code. Proceed with caution.
|
|
10851
|
+
* - Before calling this operation, make sure that you have created a message QR code.
|
|
10852
|
+
* - If you have not created a message QR code, call the [CreatePhoneMessageQrdl](https://help.aliyun.com/document_detail/2638749.html) operation to create one first.
|
|
10853
|
+
* #### QPS limit
|
|
10854
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
10030
10855
|
*
|
|
10031
10856
|
* @param request - UpdatePhoneMessageQrdlRequest
|
|
10032
10857
|
* @returns UpdatePhoneMessageQrdlResponse
|
|
@@ -10036,12 +10861,10 @@ class Client extends openapi_core_1.default {
|
|
|
10036
10861
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10037
10862
|
}
|
|
10038
10863
|
/**
|
|
10039
|
-
*
|
|
10040
|
-
* \\* A value of OK indicates that the call is successful.
|
|
10041
|
-
* \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
|
|
10864
|
+
* Modifies the callback URL information for a phone number.
|
|
10042
10865
|
*
|
|
10043
10866
|
* @remarks
|
|
10044
|
-
* The
|
|
10867
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10045
10868
|
*
|
|
10046
10869
|
* @param request - UpdatePhoneWebhookRequest
|
|
10047
10870
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10094,12 +10917,10 @@ class Client extends openapi_core_1.default {
|
|
|
10094
10917
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10095
10918
|
}
|
|
10096
10919
|
/**
|
|
10097
|
-
*
|
|
10098
|
-
* \\* A value of OK indicates that the call is successful.
|
|
10099
|
-
* \\* Other values indicate that the call fails. For more information, see [Error codes]\\(~~196974~~).
|
|
10920
|
+
* Modifies the callback URL information for a phone number.
|
|
10100
10921
|
*
|
|
10101
10922
|
* @remarks
|
|
10102
|
-
* The
|
|
10923
|
+
* The per-user QPS limit for this API is 10 calls per second. If the limit is exceeded, API calls will be throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
10103
10924
|
*
|
|
10104
10925
|
* @param request - UpdatePhoneWebhookRequest
|
|
10105
10926
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -10109,7 +10930,7 @@ class Client extends openapi_core_1.default {
|
|
|
10109
10930
|
return await this.updatePhoneWebhookWithOptions(request, runtime);
|
|
10110
10931
|
}
|
|
10111
10932
|
/**
|
|
10112
|
-
*
|
|
10933
|
+
* Updates the MML status of a WABA.
|
|
10113
10934
|
*
|
|
10114
10935
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10115
10936
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10153,7 +10974,7 @@ class Client extends openapi_core_1.default {
|
|
|
10153
10974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWabaMmlStatusResponse({}));
|
|
10154
10975
|
}
|
|
10155
10976
|
/**
|
|
10156
|
-
*
|
|
10977
|
+
* Updates the MML status of a WABA.
|
|
10157
10978
|
*
|
|
10158
10979
|
* @param request - UpdateWabaMmlStatusRequest
|
|
10159
10980
|
* @returns UpdateWabaMmlStatusResponse
|
|
@@ -10163,7 +10984,55 @@ class Client extends openapi_core_1.default {
|
|
|
10163
10984
|
return await this.updateWabaMmlStatusWithOptions(request, runtime);
|
|
10164
10985
|
}
|
|
10165
10986
|
/**
|
|
10166
|
-
*
|
|
10987
|
+
* Updates the WhatsApp username for a business phone number.
|
|
10988
|
+
*
|
|
10989
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
10990
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10991
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
10992
|
+
*/
|
|
10993
|
+
async updateWhatsappUserNameWithOptions(request, runtime) {
|
|
10994
|
+
request.validate();
|
|
10995
|
+
let query = {};
|
|
10996
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
10997
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
10998
|
+
}
|
|
10999
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
11000
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
11001
|
+
}
|
|
11002
|
+
if (!$dara.isNull(request.transferAction)) {
|
|
11003
|
+
query["TransferAction"] = request.transferAction;
|
|
11004
|
+
}
|
|
11005
|
+
if (!$dara.isNull(request.username)) {
|
|
11006
|
+
query["Username"] = request.username;
|
|
11007
|
+
}
|
|
11008
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11009
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11010
|
+
});
|
|
11011
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11012
|
+
action: "UpdateWhatsappUserName",
|
|
11013
|
+
version: "2020-06-06",
|
|
11014
|
+
protocol: "HTTPS",
|
|
11015
|
+
pathname: "/",
|
|
11016
|
+
method: "POST",
|
|
11017
|
+
authType: "AK",
|
|
11018
|
+
style: "RPC",
|
|
11019
|
+
reqBodyType: "formData",
|
|
11020
|
+
bodyType: "json",
|
|
11021
|
+
});
|
|
11022
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWhatsappUserNameResponse({}));
|
|
11023
|
+
}
|
|
11024
|
+
/**
|
|
11025
|
+
* Updates the WhatsApp username for a business phone number.
|
|
11026
|
+
*
|
|
11027
|
+
* @param request - UpdateWhatsappUserNameRequest
|
|
11028
|
+
* @returns UpdateWhatsappUserNameResponse
|
|
11029
|
+
*/
|
|
11030
|
+
async updateWhatsappUserName(request) {
|
|
11031
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11032
|
+
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11033
|
+
}
|
|
11034
|
+
/**
|
|
11035
|
+
* Places, answers, or ends WhatsApp voice calls.
|
|
10167
11036
|
*
|
|
10168
11037
|
* @param tmpReq - WhatsappCallRequest
|
|
10169
11038
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10221,7 +11090,7 @@ class Client extends openapi_core_1.default {
|
|
|
10221
11090
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WhatsappCallResponse({}));
|
|
10222
11091
|
}
|
|
10223
11092
|
/**
|
|
10224
|
-
*
|
|
11093
|
+
* Places, answers, or ends WhatsApp voice calls.
|
|
10225
11094
|
*
|
|
10226
11095
|
* @param request - WhatsappCallRequest
|
|
10227
11096
|
* @returns WhatsappCallResponse
|