@alicloud/cams20200606 5.3.2 → 5.4.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 +428 -400
- package/dist/client.js +486 -400
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +8 -8
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +7 -7
- package/dist/models/AddAddressRecoverSuspendShrinkRequest.d.ts +2 -2
- package/dist/models/AddAuditViberOpenRequest.d.ts +7 -7
- package/dist/models/AddAuditViberOpenResponseBody.d.ts +3 -3
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +4 -4
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/AddChatGroupRequest.d.ts +2 -2
- package/dist/models/AddChatGroupResponseBody.d.ts +1 -1
- package/dist/models/AddContactsRequest.d.ts +5 -5
- package/dist/models/AddContactsResponseBody.d.ts +3 -3
- package/dist/models/AddContactsShrinkRequest.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserRequest.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +3 -3
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +5 -5
- package/dist/models/AddGroupResponseBody.d.ts +5 -5
- package/dist/models/AddMarketingFlowRequest.d.ts +15 -15
- package/dist/models/AddMarketingFlowResponseBody.d.ts +6 -6
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +15 -15
- package/dist/models/BindDmAccountResponseBody.d.ts +3 -3
- package/dist/models/BindInstagramPageResponseBody.d.ts +2 -2
- package/dist/models/BindMessengerPageResponseBody.d.ts +1 -1
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappMigrationRegisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappSyncPhoneNumberRequest.d.ts +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +70 -16
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +3 -0
- package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +3 -0
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -1
- package/dist/models/CopyTemplateRequest.d.ts +3 -3
- package/dist/models/CopyTemplateResponseBody.d.ts +8 -8
- package/dist/models/CreateChatFlowByImportRequest.d.ts +5 -5
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +2 -2
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +5 -5
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +4 -4
- package/dist/models/CreateChatFlowRequest.d.ts +9 -9
- package/dist/models/CreateChatFlowResponseBody.d.ts +1 -1
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +9 -9
- package/dist/models/CreateCustomAudienceRequest.d.ts +3 -5
- package/dist/models/CreateCustomAudienceRequest.js.map +1 -1
- package/dist/models/CreateCustomAudienceResponseBody.d.ts +4 -6
- package/dist/models/CreateCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +4 -4
- package/dist/models/CreateFlowVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateInstanceRequest.d.ts +2 -2
- package/dist/models/CreateMessageCampaignRequest.d.ts +3 -3
- package/dist/models/CreateMessageCampaignResponseBody.d.ts +4 -6
- package/dist/models/CreateMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageRequest.d.ts +4 -4
- package/dist/models/CreateMessengerPageResponseBody.d.ts +7 -7
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +4 -4
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +8 -8
- package/dist/models/DeleteChatFlowRequest.d.ts +2 -2
- package/dist/models/DeleteChatFlowResponseBody.d.ts +3 -3
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +4 -4
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +7 -7
- package/dist/models/DeleteChatGroupParticipantsResponseBody.d.ts +7 -9
- package/dist/models/DeleteChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.d.ts +6 -6
- package/dist/models/DeleteChatGroupRequest.d.ts +3 -3
- package/dist/models/DeleteChatGroupResponseBody.d.ts +3 -3
- package/dist/models/DeleteContactsByIdsRequest.d.ts +2 -2
- package/dist/models/DeleteContactsByIdsResponseBody.d.ts +5 -5
- package/dist/models/DeleteContactsRequest.d.ts +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +5 -5
- package/dist/models/DeleteContactsShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteFlowRequest.d.ts +2 -2
- package/dist/models/DeleteFlowResponseBody.d.ts +4 -4
- package/dist/models/DeleteFlowVersionRequest.d.ts +2 -2
- package/dist/models/DeleteFlowVersionResponseBody.d.ts +3 -3
- package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +7 -7
- package/dist/models/DeleteInstagramPageRequest.d.ts +2 -2
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +6 -6
- package/dist/models/DeleteInstanceRequest.d.ts +1 -1
- package/dist/models/DeleteInstanceResponseBody.d.ts +7 -7
- package/dist/models/DeleteMarketingFlowRequest.d.ts +3 -3
- package/dist/models/DeleteMarketingFlowResponseBody.d.ts +7 -7
- package/dist/models/DeleteMessageCampaignRequest.d.ts +3 -3
- package/dist/models/DeleteMessageCampaignResponseBody.d.ts +5 -7
- package/dist/models/DeleteMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +4 -4
- package/dist/models/FlowBindPhoneRequest.d.ts +11 -11
- package/dist/models/FlowBindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +8 -8
- package/dist/models/FlowRebindPhoneRequest.d.ts +11 -11
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +8 -8
- package/dist/models/FlowUnbindPhoneRequest.d.ts +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +2 -2
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +1 -1
- package/dist/models/GeneratePresignedUrlResponseBody.d.ts +7 -7
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +26 -26
- package/dist/models/GetChatFlowMetricRequest.d.ts +11 -11
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +5 -5
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +11 -11
- package/dist/models/GetChatFlowTemplateRequest.d.ts +1 -1
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +2 -2
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +5 -5
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +4 -6
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +36 -35
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCustomerSiteResponseBody.d.ts +4 -4
- package/dist/models/GetDownloadExcelListRequest.d.ts +6 -6
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +8 -8
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +6 -6
- package/dist/models/GetFbInstagramPagesRequest.d.ts +2 -3
- package/dist/models/GetFbInstagramPagesRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +15 -15
- package/dist/models/GetFbMessengerPagesRequest.d.ts +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +9 -9
- package/dist/models/GetGroupExistRequest.d.ts +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +2 -2
- package/dist/models/GetGroupExistShrinkRequest.d.ts +1 -1
- package/dist/models/GetInstagramUserInfoRequest.d.ts +33 -0
- package/dist/models/GetInstagramUserInfoRequest.js +60 -0
- package/dist/models/GetInstagramUserInfoRequest.js.map +1 -0
- package/dist/models/GetInstagramUserInfoResponse.d.ts +19 -0
- package/dist/models/GetInstagramUserInfoResponse.js +69 -0
- package/dist/models/GetInstagramUserInfoResponse.js.map +1 -0
- package/dist/models/GetInstagramUserInfoResponseBody.d.ts +103 -0
- package/dist/models/GetInstagramUserInfoResponseBody.js +94 -0
- package/dist/models/GetInstagramUserInfoResponseBody.js.map +1 -0
- package/dist/models/GetMessageCampaignInsightsRequest.d.ts +2 -2
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +13 -13
- package/dist/models/GetMessengerUserInfoRequest.d.ts +33 -0
- package/dist/models/GetMessengerUserInfoRequest.js +60 -0
- package/dist/models/GetMessengerUserInfoRequest.js.map +1 -0
- package/dist/models/GetMessengerUserInfoResponse.d.ts +19 -0
- package/dist/models/GetMessengerUserInfoResponse.js +69 -0
- package/dist/models/GetMessengerUserInfoResponse.js.map +1 -0
- package/dist/models/GetMessengerUserInfoResponseBody.d.ts +107 -0
- package/dist/models/GetMessengerUserInfoResponseBody.js +97 -0
- package/dist/models/GetMessengerUserInfoResponseBody.js.map +1 -0
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +4 -5
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +2 -2
- package/dist/models/GetPledgeTemplateAddressRequest.d.ts +1 -1
- package/dist/models/GetPledgeTemplateAddressResponseBody.d.ts +5 -5
- package/dist/models/GetViberByRequestNoRequest.d.ts +2 -2
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +24 -24
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +5 -5
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +3 -3
- package/dist/models/GetWhatsappHealthStatusRequest.d.ts +3 -11
- package/dist/models/GetWhatsappHealthStatusRequest.js.map +1 -1
- package/dist/models/GetWhatsappHealthStatusResponseBody.d.ts +20 -22
- package/dist/models/GetWhatsappHealthStatusResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +4 -4
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ListChatFlowRequest.d.ts +6 -6
- package/dist/models/ListChatFlowResponseBody.d.ts +4 -4
- package/dist/models/ListChatFlowShrinkRequest.d.ts +6 -6
- package/dist/models/ListChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +4 -4
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +4 -4
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +3 -3
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +4 -4
- package/dist/models/ListChatGroupRequest.d.ts +9 -9
- package/dist/models/ListChatGroupResponseBody.d.ts +7 -7
- package/dist/models/ListChatGroupShrinkRequest.d.ts +9 -9
- package/dist/models/ListChatappMessageRequest.d.ts +15 -15
- package/dist/models/ListChatappMessageResponseBody.d.ts +13 -13
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +15 -15
- package/dist/models/ListChatappTemplateRequest.d.ts +12 -15
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +20 -20
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +11 -14
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceRequest.d.ts +5 -5
- package/dist/models/ListCustomAudienceResponseBody.d.ts +10 -10
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +4 -4
- package/dist/models/ListDmAccountRequest.d.ts +1 -1
- package/dist/models/ListDmAccountResponseBody.d.ts +7 -7
- package/dist/models/ListDmTagRequest.d.ts +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +8 -8
- package/dist/models/ListFacebookPostsRequest.d.ts +1 -1
- package/dist/models/ListFacebookPostsResponseBody.d.ts +11 -11
- package/dist/models/ListFlowNodeGroupRequest.d.ts +1 -1
- package/dist/models/ListFlowNodeGroupResponseBody.d.ts +7 -7
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +6 -6
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +11 -11
- package/dist/models/ListFlowVersionRequest.d.ts +8 -8
- package/dist/models/ListFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +8 -8
- package/dist/models/ListInstagramPageResponseBody.d.ts +20 -20
- package/dist/models/ListInstagramPostsRequest.d.ts +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +8 -10
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +5 -5
- package/dist/models/ListInstanceResponseBody.d.ts +10 -10
- package/dist/models/ListMarketingFlowRequest.d.ts +4 -4
- package/dist/models/ListMarketingFlowResponseBody.d.ts +27 -29
- package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +4 -4
- package/dist/models/ListMessageCampaignRequest.d.ts +1 -1
- package/dist/models/ListMessageCampaignResponseBody.d.ts +6 -6
- package/dist/models/ListMessageCampaignShrinkRequest.d.ts +1 -1
- package/dist/models/ListMessengerSubscriptionTokenRequest.d.ts +3 -3
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +7 -7
- package/dist/models/ListViberServiceMessageRequest.d.ts +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +9 -9
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +1 -1
- package/dist/models/ModifyChatappTemplatePropertiesRequest.d.ts +2 -2
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.d.ts +4 -6
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileRequest.d.ts +2 -2
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.d.ts +7 -7
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.d.ts +2 -2
- package/dist/models/MoveContactToGroupRequest.d.ts +4 -4
- package/dist/models/MoveContactToGroupResponseBody.d.ts +9 -9
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +4 -4
- package/dist/models/OfflineFlowVersionRequest.d.ts +2 -2
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +2 -2
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +2 -2
- package/dist/models/OnlineFlowVersionRequest.d.ts +4 -4
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +3 -3
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +3 -0
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +1 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +22 -22
- package/dist/models/QueryInstanceRequest.d.ts +1 -1
- package/dist/models/QueryInstanceResponseBody.d.ts +17 -19
- package/dist/models/QueryInstanceResponseBody.js.map +1 -1
- package/dist/models/QueryMmlactiveRequest.d.ts +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +7 -7
- package/dist/models/QueryPhoneBusinessProfileRequest.d.ts +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +2 -2
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +1 -1
- package/dist/models/ReadChatFlowRequest.d.ts +2 -2
- package/dist/models/ReadChatFlowResponseBody.d.ts +3 -3
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +2 -2
- package/dist/models/ReadFlowVersionRequest.d.ts +8 -8
- package/dist/models/ReadFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +8 -8
- package/dist/models/RemoveContactByIdRequest.d.ts +1 -1
- package/dist/models/RemoveContactByIdResponseBody.d.ts +7 -7
- package/dist/models/RequestWhatsappConversionApiRequest.d.ts +26 -30
- package/dist/models/RequestWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/RequestWhatsappConversionApiResponseBody.d.ts +6 -6
- package/dist/models/RequestWhatsappConversionApiShrinkRequest.d.ts +2 -2
- package/dist/models/SendChatappMassMessageRequest.d.ts +11 -0
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +11 -0
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +6 -0
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SyncBusinessAppHistoryRequest.d.ts +1 -1
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +4 -4
- package/dist/models/SyncFlowResponseBody.d.ts +8 -8
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +2 -2
- package/dist/models/SyncMessengerSubscriptionTokenRequest.d.ts +1 -1
- package/dist/models/SyncMessengerSubscriptionTokenResponseBody.d.ts +2 -2
- package/dist/models/TriggerChatFlowRequest.d.ts +6 -6
- package/dist/models/TriggerChatFlowResponseBody.d.ts +4 -6
- package/dist/models/TriggerChatFlowResponseBody.js.map +1 -1
- package/dist/models/TriggerChatFlowShrinkRequest.d.ts +6 -6
- package/dist/models/UnbindDmAccountRequest.d.ts +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +3 -3
- package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +4 -4
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +3 -3
- package/dist/models/UpdateChatFlowRequest.d.ts +5 -5
- package/dist/models/UpdateChatFlowResponseBody.d.ts +5 -5
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateChatGroupRequest.d.ts +9 -9
- package/dist/models/UpdateChatGroupResponseBody.d.ts +3 -3
- package/dist/models/UpdateContactByIdRequest.d.ts +7 -7
- package/dist/models/UpdateContactByIdResponseBody.d.ts +8 -8
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +7 -7
- package/dist/models/UpdateConversationalAutomationRequest.d.ts +4 -4
- package/dist/models/UpdateConversationalAutomationResponseBody.d.ts +6 -6
- package/dist/models/UpdateConversationalAutomationShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateFlowVersionRequest.d.ts +6 -6
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateGroupNameRequest.d.ts +2 -2
- package/dist/models/UpdateGroupNameResponseBody.d.ts +9 -9
- package/dist/models/UpdateInstanceRequest.d.ts +8 -8
- package/dist/models/UpdateInstanceResponseBody.d.ts +14 -16
- package/dist/models/UpdateInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowRequest.d.ts +4 -4
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +9 -9
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +4 -4
- package/dist/models/UpdateWabaMmlStatusRequest.d.ts +5 -5
- package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +8 -8
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +30 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +494 -400
- package/src/models/AddAddressRecoverSuspendRequest.ts +8 -8
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +7 -7
- package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +2 -2
- package/src/models/AddAuditViberOpenRequest.ts +7 -7
- package/src/models/AddAuditViberOpenResponseBody.ts +3 -3
- package/src/models/AddAuditViberOpenShrinkRequest.ts +1 -1
- package/src/models/AddChatGroupInviteLinkRequest.ts +4 -4
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/AddChatGroupRequest.ts +2 -2
- package/src/models/AddChatGroupResponseBody.ts +1 -1
- package/src/models/AddContactsRequest.ts +5 -5
- package/src/models/AddContactsResponseBody.ts +3 -3
- package/src/models/AddContactsShrinkRequest.ts +5 -5
- package/src/models/AddCustomAudienceUserRequest.ts +5 -5
- package/src/models/AddCustomAudienceUserResponseBody.ts +3 -3
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +5 -5
- package/src/models/AddGroupResponseBody.ts +5 -5
- package/src/models/AddMarketingFlowRequest.ts +15 -15
- package/src/models/AddMarketingFlowResponseBody.ts +6 -6
- package/src/models/AddMarketingFlowShrinkRequest.ts +15 -15
- package/src/models/BindDmAccountResponseBody.ts +3 -3
- package/src/models/BindInstagramPageResponseBody.ts +2 -2
- package/src/models/BindMessengerPageResponseBody.ts +1 -1
- package/src/models/ChatappMigrationRegisterRequest.ts +1 -1
- package/src/models/ChatappMigrationRegisterResponseBody.ts +2 -2
- package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +70 -16
- package/src/models/CheckDirectSendMessageSampleRequest.ts +3 -0
- package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +3 -0
- package/src/models/CopyTemplateRequest.ts +3 -3
- package/src/models/CopyTemplateResponseBody.ts +8 -8
- package/src/models/CreateChatFlowByImportRequest.ts +5 -5
- package/src/models/CreateChatFlowByImportResponseBody.ts +2 -2
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +5 -5
- package/src/models/CreateChatFlowLogSettingRequest.ts +1 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +4 -4
- package/src/models/CreateChatFlowRequest.ts +9 -9
- package/src/models/CreateChatFlowResponseBody.ts +1 -1
- package/src/models/CreateChatFlowShrinkRequest.ts +9 -9
- package/src/models/CreateCustomAudienceRequest.ts +3 -5
- package/src/models/CreateCustomAudienceResponseBody.ts +4 -6
- package/src/models/CreateFlowVersionRequest.ts +4 -4
- package/src/models/CreateFlowVersionResponseBody.ts +2 -2
- package/src/models/CreateFlowVersionShrinkRequest.ts +4 -4
- package/src/models/CreateInstanceRequest.ts +2 -2
- package/src/models/CreateMessageCampaignRequest.ts +3 -3
- package/src/models/CreateMessageCampaignResponseBody.ts +4 -6
- package/src/models/CreateMessengerPageRequest.ts +4 -4
- package/src/models/CreateMessengerPageResponseBody.ts +7 -7
- package/src/models/CreateMessengerPageShrinkRequest.ts +4 -4
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +8 -8
- package/src/models/DeleteChatFlowRequest.ts +2 -2
- package/src/models/DeleteChatFlowResponseBody.ts +3 -3
- package/src/models/DeleteChatFlowShrinkRequest.ts +2 -2
- package/src/models/DeleteChatGroupInviteLinkRequest.ts +4 -4
- package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/DeleteChatGroupParticipantsRequest.ts +7 -7
- package/src/models/DeleteChatGroupParticipantsResponseBody.ts +7 -9
- package/src/models/DeleteChatGroupParticipantsShrinkRequest.ts +6 -6
- package/src/models/DeleteChatGroupRequest.ts +3 -3
- package/src/models/DeleteChatGroupResponseBody.ts +3 -3
- package/src/models/DeleteContactsByIdsRequest.ts +2 -2
- package/src/models/DeleteContactsByIdsResponseBody.ts +5 -5
- package/src/models/DeleteContactsRequest.ts +1 -1
- package/src/models/DeleteContactsResponseBody.ts +5 -5
- package/src/models/DeleteContactsShrinkRequest.ts +1 -1
- package/src/models/DeleteFlowRequest.ts +2 -2
- package/src/models/DeleteFlowResponseBody.ts +4 -4
- package/src/models/DeleteFlowVersionRequest.ts +2 -2
- package/src/models/DeleteFlowVersionResponseBody.ts +3 -3
- package/src/models/DeleteFlowVersionShrinkRequest.ts +2 -2
- package/src/models/DeleteGroupByIdResponseBody.ts +7 -7
- package/src/models/DeleteInstagramPageRequest.ts +2 -2
- package/src/models/DeleteInstagramPageResponseBody.ts +6 -6
- package/src/models/DeleteInstanceRequest.ts +1 -1
- package/src/models/DeleteInstanceResponseBody.ts +7 -7
- package/src/models/DeleteMarketingFlowRequest.ts +3 -3
- package/src/models/DeleteMarketingFlowResponseBody.ts +7 -7
- package/src/models/DeleteMessageCampaignRequest.ts +3 -3
- package/src/models/DeleteMessageCampaignResponseBody.ts +5 -7
- package/src/models/DeleteMessengerPageResponseBody.ts +4 -4
- package/src/models/FlowBindPhoneRequest.ts +11 -11
- package/src/models/FlowBindPhoneResponseBody.ts +5 -5
- package/src/models/FlowBindPhoneShrinkRequest.ts +8 -8
- package/src/models/FlowRebindPhoneRequest.ts +11 -11
- package/src/models/FlowRebindPhoneResponseBody.ts +5 -5
- package/src/models/FlowRebindPhoneShrinkRequest.ts +8 -8
- package/src/models/FlowUnbindPhoneRequest.ts +1 -1
- package/src/models/FlowUnbindPhoneResponseBody.ts +2 -2
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +1 -1
- package/src/models/GeneratePresignedUrlResponseBody.ts +7 -7
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +1 -1
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +26 -26
- package/src/models/GetChatFlowMetricRequest.ts +11 -11
- package/src/models/GetChatFlowMetricResponseBody.ts +5 -5
- package/src/models/GetChatFlowMetricShrinkRequest.ts +11 -11
- package/src/models/GetChatFlowTemplateRequest.ts +1 -1
- package/src/models/GetChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/GetChatappOpenStatusResponseBody.ts +2 -2
- package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +5 -5
- package/src/models/GetChatappTemplateDetailRequest.ts +4 -6
- package/src/models/GetChatappTemplateDetailResponseBody.ts +36 -35
- package/src/models/GetCustomerSiteResponseBody.ts +4 -4
- package/src/models/GetDownloadExcelListRequest.ts +6 -6
- package/src/models/GetDownloadExcelListResponseBody.ts +8 -8
- package/src/models/GetDownloadExcelListShrinkRequest.ts +6 -6
- package/src/models/GetFbInstagramPagesRequest.ts +2 -3
- package/src/models/GetFbInstagramPagesResponseBody.ts +15 -15
- package/src/models/GetFbMessengerPagesRequest.ts +1 -1
- package/src/models/GetFbMessengerPagesResponseBody.ts +9 -9
- package/src/models/GetGroupExistRequest.ts +1 -1
- package/src/models/GetGroupExistResponseBody.ts +2 -2
- package/src/models/GetGroupExistShrinkRequest.ts +1 -1
- package/src/models/GetInstagramUserInfoRequest.ts +48 -0
- package/src/models/GetInstagramUserInfoResponse.ts +40 -0
- package/src/models/GetInstagramUserInfoResponseBody.ts +143 -0
- package/src/models/GetMessageCampaignInsightsRequest.ts +2 -2
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +13 -13
- package/src/models/GetMessengerUserInfoRequest.ts +48 -0
- package/src/models/GetMessengerUserInfoResponse.ts +40 -0
- package/src/models/GetMessengerUserInfoResponseBody.ts +148 -0
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +4 -5
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +2 -2
- package/src/models/GetPledgeTemplateAddressRequest.ts +1 -1
- package/src/models/GetPledgeTemplateAddressResponseBody.ts +5 -5
- package/src/models/GetViberByRequestNoRequest.ts +2 -2
- package/src/models/GetViberByRequestNoResponseBody.ts +24 -24
- package/src/models/GetViberPauseTimesResponseBody.ts +5 -5
- package/src/models/GetWhatsappConversionApiResponseBody.ts +3 -3
- package/src/models/GetWhatsappHealthStatusRequest.ts +3 -11
- package/src/models/GetWhatsappHealthStatusResponseBody.ts +20 -22
- package/src/models/ListAllGroupsResponseBody.ts +4 -4
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +1 -1
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +5 -5
- package/src/models/ListChatFlowRequest.ts +6 -6
- package/src/models/ListChatFlowResponseBody.ts +4 -4
- package/src/models/ListChatFlowShrinkRequest.ts +6 -6
- package/src/models/ListChatFlowTemplateRequest.ts +2 -2
- package/src/models/ListChatFlowTemplateResponseBody.ts +4 -4
- package/src/models/ListChatGroupParticipantsRequest.ts +4 -4
- package/src/models/ListChatGroupParticipantsResponseBody.ts +3 -3
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +4 -4
- package/src/models/ListChatGroupRequest.ts +9 -9
- package/src/models/ListChatGroupResponseBody.ts +7 -7
- package/src/models/ListChatGroupShrinkRequest.ts +9 -9
- package/src/models/ListChatappMessageRequest.ts +15 -15
- package/src/models/ListChatappMessageResponseBody.ts +13 -13
- package/src/models/ListChatappMessageShrinkRequest.ts +15 -15
- package/src/models/ListChatappTemplateRequest.ts +12 -15
- package/src/models/ListChatappTemplateResponseBody.ts +20 -20
- package/src/models/ListChatappTemplateShrinkRequest.ts +11 -14
- package/src/models/ListCustomAudienceRequest.ts +5 -5
- package/src/models/ListCustomAudienceResponseBody.ts +10 -10
- package/src/models/ListCustomAudienceShrinkRequest.ts +4 -4
- package/src/models/ListDmAccountRequest.ts +1 -1
- package/src/models/ListDmAccountResponseBody.ts +7 -7
- package/src/models/ListDmTagRequest.ts +1 -1
- package/src/models/ListDmTagResponseBody.ts +8 -8
- package/src/models/ListFacebookPostsRequest.ts +1 -1
- package/src/models/ListFacebookPostsResponseBody.ts +11 -11
- package/src/models/ListFlowNodeGroupRequest.ts +1 -1
- package/src/models/ListFlowNodeGroupResponseBody.ts +7 -7
- package/src/models/ListFlowNodePrototypeV2request.ts +6 -6
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +11 -11
- package/src/models/ListFlowVersionRequest.ts +8 -8
- package/src/models/ListFlowVersionResponseBody.ts +5 -5
- package/src/models/ListFlowVersionShrinkRequest.ts +8 -8
- package/src/models/ListInstagramPageResponseBody.ts +20 -20
- package/src/models/ListInstagramPostsRequest.ts +1 -1
- package/src/models/ListInstagramPostsResponseBody.ts +8 -10
- package/src/models/ListInstanceRequest.ts +5 -5
- package/src/models/ListInstanceResponseBody.ts +10 -10
- package/src/models/ListMarketingFlowRequest.ts +4 -4
- package/src/models/ListMarketingFlowResponseBody.ts +27 -29
- package/src/models/ListMarketingFlowShrinkRequest.ts +4 -4
- package/src/models/ListMessageCampaignRequest.ts +1 -1
- package/src/models/ListMessageCampaignResponseBody.ts +6 -6
- package/src/models/ListMessageCampaignShrinkRequest.ts +1 -1
- package/src/models/ListMessengerSubscriptionTokenRequest.ts +3 -3
- package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +7 -7
- package/src/models/ListViberServiceMessageRequest.ts +1 -1
- package/src/models/ListViberServiceMessageResponseBody.ts +9 -9
- package/src/models/ListWhatAppTemplateResponseBody.ts +1 -1
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +2 -2
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +4 -6
- package/src/models/ModifyPhoneBusinessProfileRequest.ts +2 -2
- package/src/models/ModifyPhoneBusinessProfileResponseBody.ts +7 -7
- package/src/models/ModifyPhoneBusinessProfileShrinkRequest.ts +2 -2
- package/src/models/MoveContactToGroupRequest.ts +4 -4
- package/src/models/MoveContactToGroupResponseBody.ts +9 -9
- package/src/models/MoveContactToGroupShrinkRequest.ts +4 -4
- package/src/models/OfflineFlowVersionRequest.ts +2 -2
- package/src/models/OfflineFlowVersionResponseBody.ts +2 -2
- package/src/models/OfflineFlowVersionShrinkRequest.ts +2 -2
- package/src/models/OnlineFlowVersionRequest.ts +4 -4
- package/src/models/OnlineFlowVersionResponseBody.ts +3 -3
- package/src/models/OnlineFlowVersionShrinkRequest.ts +4 -4
- package/src/models/QueryChatappBindWabaResponseBody.ts +3 -0
- package/src/models/QueryChatappPhoneNumbersRequest.ts +1 -1
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +22 -22
- package/src/models/QueryInstanceRequest.ts +1 -1
- package/src/models/QueryInstanceResponseBody.ts +17 -19
- package/src/models/QueryMmlactiveRequest.ts +1 -1
- package/src/models/QueryMmlactiveResponseBody.ts +7 -7
- package/src/models/QueryPhoneBusinessProfileRequest.ts +1 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +2 -2
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +1 -1
- package/src/models/ReadChatFlowRequest.ts +2 -2
- package/src/models/ReadChatFlowResponseBody.ts +3 -3
- package/src/models/ReadChatFlowShrinkRequest.ts +2 -2
- package/src/models/ReadFlowVersionRequest.ts +8 -8
- package/src/models/ReadFlowVersionResponseBody.ts +5 -5
- package/src/models/ReadFlowVersionShrinkRequest.ts +8 -8
- package/src/models/RemoveContactByIdRequest.ts +1 -1
- package/src/models/RemoveContactByIdResponseBody.ts +7 -7
- package/src/models/RequestWhatsappConversionApiRequest.ts +26 -30
- package/src/models/RequestWhatsappConversionApiResponseBody.ts +6 -6
- package/src/models/RequestWhatsappConversionApiShrinkRequest.ts +2 -2
- package/src/models/SendChatappMassMessageRequest.ts +11 -0
- package/src/models/SendChatappMessageRequest.ts +11 -0
- package/src/models/SendChatappMessageShrinkRequest.ts +6 -0
- package/src/models/SyncBusinessAppHistoryRequest.ts +1 -1
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +4 -4
- package/src/models/SyncFlowResponseBody.ts +8 -8
- package/src/models/SyncMessageCampaignResponseBody.ts +2 -2
- package/src/models/SyncMessengerSubscriptionTokenRequest.ts +1 -1
- package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +2 -2
- package/src/models/TriggerChatFlowRequest.ts +6 -6
- package/src/models/TriggerChatFlowResponseBody.ts +4 -6
- package/src/models/TriggerChatFlowShrinkRequest.ts +6 -6
- package/src/models/UnbindDmAccountRequest.ts +1 -1
- package/src/models/UnbindDmAccountResponseBody.ts +3 -3
- package/src/models/UpdateChatFlowLogSettingRequest.ts +4 -4
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +3 -3
- package/src/models/UpdateChatFlowRequest.ts +5 -5
- package/src/models/UpdateChatFlowResponseBody.ts +5 -5
- package/src/models/UpdateChatFlowShrinkRequest.ts +5 -5
- package/src/models/UpdateChatGroupRequest.ts +9 -9
- package/src/models/UpdateChatGroupResponseBody.ts +3 -3
- package/src/models/UpdateContactByIdRequest.ts +7 -7
- package/src/models/UpdateContactByIdResponseBody.ts +8 -8
- package/src/models/UpdateContactByIdShrinkRequest.ts +7 -7
- package/src/models/UpdateConversationalAutomationRequest.ts +4 -4
- package/src/models/UpdateConversationalAutomationResponseBody.ts +6 -6
- package/src/models/UpdateConversationalAutomationShrinkRequest.ts +2 -2
- package/src/models/UpdateFlowVersionRequest.ts +6 -6
- package/src/models/UpdateFlowVersionResponseBody.ts +4 -4
- package/src/models/UpdateFlowVersionShrinkRequest.ts +6 -6
- package/src/models/UpdateGroupNameRequest.ts +2 -2
- package/src/models/UpdateGroupNameResponseBody.ts +9 -9
- package/src/models/UpdateInstanceRequest.ts +8 -8
- package/src/models/UpdateInstanceResponseBody.ts +14 -16
- package/src/models/UpdateMarketingFlowRequest.ts +4 -4
- package/src/models/UpdateMarketingFlowResponseBody.ts +9 -9
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +4 -4
- package/src/models/UpdateWabaMmlStatusRequest.ts +5 -5
- package/src/models/UpdateWabaMmlStatusResponseBody.ts +8 -8
- package/src/models/model.ts +8 -0
package/dist/client.js
CHANGED
|
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
44
45
|
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
46
|
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
47
|
const $_model = __importStar(require("./models/model"));
|
|
@@ -48,6 +49,9 @@ __exportStar(require("./models/model"), exports);
|
|
|
48
49
|
class Client extends openapi_core_1.default {
|
|
49
50
|
constructor(config) {
|
|
50
51
|
super(config);
|
|
52
|
+
this._productId = "cams";
|
|
53
|
+
let gatewayClient = new gateway_pop_1.default();
|
|
54
|
+
this._spi = gatewayClient;
|
|
51
55
|
this._endpointRule = "regional";
|
|
52
56
|
this.checkConfig(config);
|
|
53
57
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -62,7 +66,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
66
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
67
|
}
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
69
|
+
* Applies for a destination change, resumption, or suspension.
|
|
66
70
|
*
|
|
67
71
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
68
72
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111,7 +115,7 @@ class Client extends openapi_core_1.default {
|
|
|
111
115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
112
116
|
}
|
|
113
117
|
/**
|
|
114
|
-
*
|
|
118
|
+
* Applies for a destination change, resumption, or suspension.
|
|
115
119
|
*
|
|
116
120
|
* @param request - AddAddressRecoverSuspendRequest
|
|
117
121
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -121,7 +125,7 @@ class Client extends openapi_core_1.default {
|
|
|
121
125
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
|
-
* Registers a Viber account and
|
|
128
|
+
* Registers a Viber account and opens an account.
|
|
125
129
|
*
|
|
126
130
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
127
131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -170,7 +174,7 @@ class Client extends openapi_core_1.default {
|
|
|
170
174
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
171
175
|
}
|
|
172
176
|
/**
|
|
173
|
-
* Registers a Viber account and
|
|
177
|
+
* Registers a Viber account and opens an account.
|
|
174
178
|
*
|
|
175
179
|
* @param request - AddAuditViberOpenRequest
|
|
176
180
|
* @returns AddAuditViberOpenResponse
|
|
@@ -183,10 +187,10 @@ class Client extends openapi_core_1.default {
|
|
|
183
187
|
* Creates an IM group.
|
|
184
188
|
*
|
|
185
189
|
* @remarks
|
|
186
|
-
* >Notice:
|
|
187
|
-
* - You can call this operation to create an IM group. Currently, you can
|
|
188
|
-
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
189
|
-
* -
|
|
190
|
+
* >Notice: Creating IM groups by calling API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.
|
|
191
|
+
* - You can call this operation to create an IM group. Currently, you can create IM groups only by calling API operations.
|
|
192
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to join the IM group.
|
|
193
|
+
* - The maximum number of members in a group whose channel type is WhatsApp is 8.
|
|
190
194
|
*
|
|
191
195
|
* @param request - AddChatGroupRequest
|
|
192
196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -242,10 +246,10 @@ class Client extends openapi_core_1.default {
|
|
|
242
246
|
* Creates an IM group.
|
|
243
247
|
*
|
|
244
248
|
* @remarks
|
|
245
|
-
* >Notice:
|
|
246
|
-
* - You can call this operation to create an IM group. Currently, you can
|
|
247
|
-
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
248
|
-
* -
|
|
249
|
+
* >Notice: Creating IM groups by calling API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.
|
|
250
|
+
* - You can call this operation to create an IM group. Currently, you can create IM groups only by calling API operations.
|
|
251
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to join the IM group.
|
|
252
|
+
* - The maximum number of members in a group whose channel type is WhatsApp is 8.
|
|
249
253
|
*
|
|
250
254
|
* @param request - AddChatGroupRequest
|
|
251
255
|
* @returns AddChatGroupResponse
|
|
@@ -255,14 +259,14 @@ class Client extends openapi_core_1.default {
|
|
|
255
259
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
256
260
|
}
|
|
257
261
|
/**
|
|
258
|
-
*
|
|
262
|
+
* Creates an IM group invitation link.
|
|
259
263
|
*
|
|
260
264
|
* @remarks
|
|
261
|
-
* <notice>The feature
|
|
265
|
+
* <notice>The feature of adding an IM group invitation link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
262
266
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
263
|
-
* - If you
|
|
264
|
-
* - After
|
|
265
|
-
* - Currently, members can only join an IM group by using an
|
|
267
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation to create one.
|
|
268
|
+
* - After you call this API operation to generate an IM group invitation link, you can use the link to invite members to the IM group.
|
|
269
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
266
270
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
267
271
|
*
|
|
268
272
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -310,14 +314,14 @@ class Client extends openapi_core_1.default {
|
|
|
310
314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
311
315
|
}
|
|
312
316
|
/**
|
|
313
|
-
*
|
|
317
|
+
* Creates an IM group invitation link.
|
|
314
318
|
*
|
|
315
319
|
* @remarks
|
|
316
|
-
* <notice>The feature
|
|
320
|
+
* <notice>The feature of adding an IM group invitation link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
317
321
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
318
|
-
* - If you
|
|
319
|
-
* - After
|
|
320
|
-
* - Currently, members can only join an IM group by using an
|
|
322
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation to create one.
|
|
323
|
+
* - After you call this API operation to generate an IM group invitation link, you can use the link to invite members to the IM group.
|
|
324
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
321
325
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
322
326
|
*
|
|
323
327
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -477,7 +481,7 @@ class Client extends openapi_core_1.default {
|
|
|
477
481
|
* Adds a custom audience.
|
|
478
482
|
*
|
|
479
483
|
* @remarks
|
|
480
|
-
* After
|
|
484
|
+
* After the users in the added custom audience are submitted to Meta, Meta discards the matching data if the number of successfully matched users is less than 100. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user data records at a time in a single request.
|
|
481
485
|
*
|
|
482
486
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
483
487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -541,7 +545,7 @@ class Client extends openapi_core_1.default {
|
|
|
541
545
|
* Adds a custom audience.
|
|
542
546
|
*
|
|
543
547
|
* @remarks
|
|
544
|
-
* After
|
|
548
|
+
* After the users in the added custom audience are submitted to Meta, Meta discards the matching data if the number of successfully matched users is less than 100. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user data records at a time in a single request.
|
|
545
549
|
*
|
|
546
550
|
* @param request - AddCustomAudienceUserRequest
|
|
547
551
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -628,7 +632,7 @@ class Client extends openapi_core_1.default {
|
|
|
628
632
|
return await this.addGroupWithOptions(request, runtime);
|
|
629
633
|
}
|
|
630
634
|
/**
|
|
631
|
-
* Creates a campaign.
|
|
635
|
+
* Creates a marketing campaign.
|
|
632
636
|
*
|
|
633
637
|
* @param tmpReq - AddMarketingFlowRequest
|
|
634
638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -710,7 +714,7 @@ class Client extends openapi_core_1.default {
|
|
|
710
714
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
711
715
|
}
|
|
712
716
|
/**
|
|
713
|
-
* Creates a campaign.
|
|
717
|
+
* Creates a marketing campaign.
|
|
714
718
|
*
|
|
715
719
|
* @param request - AddMarketingFlowRequest
|
|
716
720
|
* @returns AddMarketingFlowResponse
|
|
@@ -773,7 +777,7 @@ class Client extends openapi_core_1.default {
|
|
|
773
777
|
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
774
778
|
}
|
|
775
779
|
/**
|
|
776
|
-
*
|
|
780
|
+
* Associates a DM account.
|
|
777
781
|
*
|
|
778
782
|
* @param tmpReq - BindDmAccountRequest
|
|
779
783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -822,7 +826,7 @@ class Client extends openapi_core_1.default {
|
|
|
822
826
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
823
827
|
}
|
|
824
828
|
/**
|
|
825
|
-
*
|
|
829
|
+
* Associates a DM account.
|
|
826
830
|
*
|
|
827
831
|
* @param request - BindDmAccountRequest
|
|
828
832
|
* @returns BindDmAccountResponse
|
|
@@ -832,7 +836,7 @@ class Client extends openapi_core_1.default {
|
|
|
832
836
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
833
837
|
}
|
|
834
838
|
/**
|
|
835
|
-
*
|
|
839
|
+
* Binds a page to an instance.
|
|
836
840
|
*
|
|
837
841
|
* @param request - BindInstagramPageRequest
|
|
838
842
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -876,7 +880,7 @@ class Client extends openapi_core_1.default {
|
|
|
876
880
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
877
881
|
}
|
|
878
882
|
/**
|
|
879
|
-
*
|
|
883
|
+
* Binds a page to an instance.
|
|
880
884
|
*
|
|
881
885
|
* @param request - BindInstagramPageRequest
|
|
882
886
|
* @returns BindInstagramPageResponse
|
|
@@ -940,7 +944,7 @@ class Client extends openapi_core_1.default {
|
|
|
940
944
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
941
945
|
}
|
|
942
946
|
/**
|
|
943
|
-
* Transfers
|
|
947
|
+
* Transfers resources to another resource group.
|
|
944
948
|
*
|
|
945
949
|
* @param request - ChangeResourceGroupRequest
|
|
946
950
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -975,7 +979,7 @@ class Client extends openapi_core_1.default {
|
|
|
975
979
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
976
980
|
}
|
|
977
981
|
/**
|
|
978
|
-
* Transfers
|
|
982
|
+
* Transfers resources to another resource group.
|
|
979
983
|
*
|
|
980
984
|
* @param request - ChangeResourceGroupRequest
|
|
981
985
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1042,7 +1046,7 @@ class Client extends openapi_core_1.default {
|
|
|
1042
1046
|
* Migrates a phone number registration.
|
|
1043
1047
|
*
|
|
1044
1048
|
* @remarks
|
|
1045
|
-
* The queries per second (QPS) limit for
|
|
1049
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1046
1050
|
*
|
|
1047
1051
|
* @param request - ChatappMigrationRegisterRequest
|
|
1048
1052
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1086,7 +1090,7 @@ class Client extends openapi_core_1.default {
|
|
|
1086
1090
|
* Migrates a phone number registration.
|
|
1087
1091
|
*
|
|
1088
1092
|
* @remarks
|
|
1089
|
-
* The queries per second (QPS) limit for
|
|
1093
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1090
1094
|
*
|
|
1091
1095
|
* @param request - ChatappMigrationRegisterRequest
|
|
1092
1096
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1273,7 +1277,7 @@ class Client extends openapi_core_1.default {
|
|
|
1273
1277
|
* Synchronizes phone number information.
|
|
1274
1278
|
*
|
|
1275
1279
|
* @remarks
|
|
1276
|
-
* The
|
|
1280
|
+
* The single-user QPS limit for this API operation is 10 requests per second. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
1277
1281
|
*
|
|
1278
1282
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1279
1283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1314,7 +1318,7 @@ class Client extends openapi_core_1.default {
|
|
|
1314
1318
|
* Synchronizes phone number information.
|
|
1315
1319
|
*
|
|
1316
1320
|
* @remarks
|
|
1317
|
-
* The
|
|
1321
|
+
* The single-user QPS limit for this API operation is 10 requests per second. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
1318
1322
|
*
|
|
1319
1323
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1320
1324
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1500,8 +1504,8 @@ class Client extends openapi_core_1.default {
|
|
|
1500
1504
|
* Creates a flow.
|
|
1501
1505
|
*
|
|
1502
1506
|
* @remarks
|
|
1503
|
-
* - You can
|
|
1504
|
-
* - After
|
|
1507
|
+
* - You can use this operation to create a flow, or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1508
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1505
1509
|
*
|
|
1506
1510
|
* @param tmpReq - CreateChatFlowRequest
|
|
1507
1511
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1577,8 +1581,8 @@ class Client extends openapi_core_1.default {
|
|
|
1577
1581
|
* Creates a flow.
|
|
1578
1582
|
*
|
|
1579
1583
|
* @remarks
|
|
1580
|
-
* - You can
|
|
1581
|
-
* - After
|
|
1584
|
+
* - You can use this operation to create a flow, or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1585
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1582
1586
|
*
|
|
1583
1587
|
* @param request - CreateChatFlowRequest
|
|
1584
1588
|
* @returns CreateChatFlowResponse
|
|
@@ -1591,9 +1595,9 @@ class Client extends openapi_core_1.default {
|
|
|
1591
1595
|
* Creates and imports a flow.
|
|
1592
1596
|
*
|
|
1593
1597
|
* @remarks
|
|
1594
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1595
|
-
* - Before calling this operation,
|
|
1596
|
-
* - If you do not have exported flow DSL data,
|
|
1598
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1599
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1600
|
+
* - If you do not have the exported flow DSL data, click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration interface, orchestrate the canvas components, save the flow, and then export it as a JSON data file.
|
|
1597
1601
|
*
|
|
1598
1602
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1599
1603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1651,9 +1655,9 @@ class Client extends openapi_core_1.default {
|
|
|
1651
1655
|
* Creates and imports a flow.
|
|
1652
1656
|
*
|
|
1653
1657
|
* @remarks
|
|
1654
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1655
|
-
* - Before calling this operation,
|
|
1656
|
-
* - If you do not have exported flow DSL data,
|
|
1658
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1659
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1660
|
+
* - If you do not have the exported flow DSL data, click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration interface, orchestrate the canvas components, save the flow, and then export it as a JSON data file.
|
|
1657
1661
|
*
|
|
1658
1662
|
* @param request - CreateChatFlowByImportRequest
|
|
1659
1663
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1663,13 +1667,13 @@ class Client extends openapi_core_1.default {
|
|
|
1663
1667
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1664
1668
|
}
|
|
1665
1669
|
/**
|
|
1666
|
-
* Creates
|
|
1670
|
+
* Creates chat flow log settings.
|
|
1667
1671
|
*
|
|
1668
1672
|
* @remarks
|
|
1669
|
-
* - To update
|
|
1670
|
-
* - If you do not need to update
|
|
1671
|
-
* - Before
|
|
1672
|
-
* - If
|
|
1673
|
+
* - To update chat flow log settings by calling API operations, you must first create the log settings. After the log settings are created, you can call the [ReadChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/ReadChatFlowLogSetting) operation to query the log settings, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
1674
|
+
* - If you do not need to update chat flow log settings by calling API operations, you can manually update the log settings by choosing **Settings** > **Log** in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1675
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1676
|
+
* - If no chat flow is created, you can manually create a chat flow in [Chat Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a chat flow.
|
|
1673
1677
|
*
|
|
1674
1678
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1675
1679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1707,13 +1711,13 @@ class Client extends openapi_core_1.default {
|
|
|
1707
1711
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1708
1712
|
}
|
|
1709
1713
|
/**
|
|
1710
|
-
* Creates
|
|
1714
|
+
* Creates chat flow log settings.
|
|
1711
1715
|
*
|
|
1712
1716
|
* @remarks
|
|
1713
|
-
* - To update
|
|
1714
|
-
* - If you do not need to update
|
|
1715
|
-
* - Before
|
|
1716
|
-
* - If
|
|
1717
|
+
* - To update chat flow log settings by calling API operations, you must first create the log settings. After the log settings are created, you can call the [ReadChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/ReadChatFlowLogSetting) operation to query the log settings, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
1718
|
+
* - If you do not need to update chat flow log settings by calling API operations, you can manually update the log settings by choosing **Settings** > **Log** in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1719
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1720
|
+
* - If no chat flow is created, you can manually create a chat flow in [Chat Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a chat flow.
|
|
1717
1721
|
*
|
|
1718
1722
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1719
1723
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -2015,9 +2019,9 @@ class Client extends openapi_core_1.default {
|
|
|
2015
2019
|
* Creates a new flow version by copying an existing flow version.
|
|
2016
2020
|
*
|
|
2017
2021
|
* @remarks
|
|
2018
|
-
* - You can call this operation to create a new flow version,
|
|
2019
|
-
* - Before calling this operation,
|
|
2020
|
-
* - If you
|
|
2022
|
+
* - You can call this operation to create a new flow version. Alternatively, you can go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to go to the canvas orchestration page, and manually copy a new flow version.
|
|
2023
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2024
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation.
|
|
2021
2025
|
*
|
|
2022
2026
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2023
2027
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2075,9 +2079,9 @@ class Client extends openapi_core_1.default {
|
|
|
2075
2079
|
* Creates a new flow version by copying an existing flow version.
|
|
2076
2080
|
*
|
|
2077
2081
|
* @remarks
|
|
2078
|
-
* - You can call this operation to create a new flow version,
|
|
2079
|
-
* - Before calling this operation,
|
|
2080
|
-
* - If you
|
|
2082
|
+
* - You can call this operation to create a new flow version. Alternatively, you can go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to go to the canvas orchestration page, and manually copy a new flow version.
|
|
2083
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2084
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation.
|
|
2081
2085
|
*
|
|
2082
2086
|
* @param request - CreateFlowVersionRequest
|
|
2083
2087
|
* @returns CreateFlowVersionResponse
|
|
@@ -2216,7 +2220,7 @@ class Client extends openapi_core_1.default {
|
|
|
2216
2220
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2217
2221
|
}
|
|
2218
2222
|
/**
|
|
2219
|
-
* Authorizes an embedded
|
|
2223
|
+
* Authorizes an embedded Messenger.
|
|
2220
2224
|
*
|
|
2221
2225
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2222
2226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2271,7 +2275,7 @@ class Client extends openapi_core_1.default {
|
|
|
2271
2275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2272
2276
|
}
|
|
2273
2277
|
/**
|
|
2274
|
-
* Authorizes an embedded
|
|
2278
|
+
* Authorizes an embedded Messenger.
|
|
2275
2279
|
*
|
|
2276
2280
|
* @param request - CreateMessengerPageRequest
|
|
2277
2281
|
* @returns CreateMessengerPageResponse
|
|
@@ -2358,7 +2362,7 @@ class Client extends openapi_core_1.default {
|
|
|
2358
2362
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2359
2363
|
}
|
|
2360
2364
|
/**
|
|
2361
|
-
* Retrieves
|
|
2365
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2362
2366
|
*
|
|
2363
2367
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2364
2368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2407,7 +2411,7 @@ class Client extends openapi_core_1.default {
|
|
|
2407
2411
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2408
2412
|
}
|
|
2409
2413
|
/**
|
|
2410
|
-
* Retrieves
|
|
2414
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2411
2415
|
*
|
|
2412
2416
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2413
2417
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2420,8 +2424,8 @@ class Client extends openapi_core_1.default {
|
|
|
2420
2424
|
* Deletes a flow.
|
|
2421
2425
|
*
|
|
2422
2426
|
* @remarks
|
|
2423
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2424
|
-
* - Before deleting a flow, make sure the flow
|
|
2427
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2428
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2425
2429
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2426
2430
|
*
|
|
2427
2431
|
* @param tmpReq - DeleteChatFlowRequest
|
|
@@ -2474,8 +2478,8 @@ class Client extends openapi_core_1.default {
|
|
|
2474
2478
|
* Deletes a flow.
|
|
2475
2479
|
*
|
|
2476
2480
|
* @remarks
|
|
2477
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2478
|
-
* - Before deleting a flow, make sure the flow
|
|
2481
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2482
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2479
2483
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2480
2484
|
*
|
|
2481
2485
|
* @param request - DeleteChatFlowRequest
|
|
@@ -2486,13 +2490,13 @@ class Client extends openapi_core_1.default {
|
|
|
2486
2490
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2487
2491
|
}
|
|
2488
2492
|
/**
|
|
2489
|
-
* Deletes
|
|
2493
|
+
* Deletes an existing IM group.
|
|
2490
2494
|
*
|
|
2491
2495
|
* @remarks
|
|
2492
|
-
* >
|
|
2493
|
-
* - Before calling this operation, make sure that you have
|
|
2494
|
-
* - If you do not have
|
|
2495
|
-
* -
|
|
2496
|
+
* <notice>The feature to delete an IM group by calling an API operation is in the closed beta phase of Meta. Contact your account manager to apply for whitelist access.</notice>
|
|
2497
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2498
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2499
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2496
2500
|
*
|
|
2497
2501
|
* @param request - DeleteChatGroupRequest
|
|
2498
2502
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2539,13 +2543,13 @@ class Client extends openapi_core_1.default {
|
|
|
2539
2543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2540
2544
|
}
|
|
2541
2545
|
/**
|
|
2542
|
-
* Deletes
|
|
2546
|
+
* Deletes an existing IM group.
|
|
2543
2547
|
*
|
|
2544
2548
|
* @remarks
|
|
2545
|
-
* >
|
|
2546
|
-
* - Before calling this operation, make sure that you have
|
|
2547
|
-
* - If you do not have
|
|
2548
|
-
* -
|
|
2549
|
+
* <notice>The feature to delete an IM group by calling an API operation is in the closed beta phase of Meta. Contact your account manager to apply for whitelist access.</notice>
|
|
2550
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2551
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2552
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2549
2553
|
*
|
|
2550
2554
|
* @param request - DeleteChatGroupRequest
|
|
2551
2555
|
* @returns DeleteChatGroupResponse
|
|
@@ -2555,13 +2559,13 @@ class Client extends openapi_core_1.default {
|
|
|
2555
2559
|
return await this.deleteChatGroupWithOptions(request, runtime);
|
|
2556
2560
|
}
|
|
2557
2561
|
/**
|
|
2558
|
-
* Deletes an IM group
|
|
2562
|
+
* Deletes an IM group invite link.
|
|
2559
2563
|
*
|
|
2560
2564
|
* @remarks
|
|
2561
|
-
* >Notice: The
|
|
2562
|
-
* - Before
|
|
2563
|
-
* - If you do not have
|
|
2564
|
-
* - After
|
|
2565
|
+
* >Notice: The feature to delete an IM group invite link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
2566
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2567
|
+
* - If you do not have a successfully created IM group, you can 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 invite link.
|
|
2568
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2565
2569
|
*
|
|
2566
2570
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2567
2571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2608,13 +2612,13 @@ class Client extends openapi_core_1.default {
|
|
|
2608
2612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupInviteLinkResponse({}));
|
|
2609
2613
|
}
|
|
2610
2614
|
/**
|
|
2611
|
-
* Deletes an IM group
|
|
2615
|
+
* Deletes an IM group invite link.
|
|
2612
2616
|
*
|
|
2613
2617
|
* @remarks
|
|
2614
|
-
* >Notice: The
|
|
2615
|
-
* - Before
|
|
2616
|
-
* - If you do not have
|
|
2617
|
-
* - After
|
|
2618
|
+
* >Notice: The feature to delete an IM group invite link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
2619
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2620
|
+
* - If you do not have a successfully created IM group, you can 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 invite link.
|
|
2621
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2618
2622
|
*
|
|
2619
2623
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2620
2624
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2627,11 +2631,10 @@ class Client extends openapi_core_1.default {
|
|
|
2627
2631
|
* Removes members from an IM group.
|
|
2628
2632
|
*
|
|
2629
2633
|
* @remarks
|
|
2630
|
-
* >Notice:
|
|
2631
|
-
*
|
|
2632
|
-
* -
|
|
2633
|
-
* -
|
|
2634
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2634
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2635
|
+
* - Before calling this API operation, make sure that an IM group invite link has been added to the created IM group and members have joined the group through the link.
|
|
2636
|
+
* - If you do not have a created IM group, you can 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 invite link.
|
|
2637
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2635
2638
|
*
|
|
2636
2639
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2637
2640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2689,11 +2692,10 @@ class Client extends openapi_core_1.default {
|
|
|
2689
2692
|
* Removes members from an IM group.
|
|
2690
2693
|
*
|
|
2691
2694
|
* @remarks
|
|
2692
|
-
* >Notice:
|
|
2693
|
-
*
|
|
2694
|
-
* -
|
|
2695
|
-
* -
|
|
2696
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2695
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2696
|
+
* - Before calling this API operation, make sure that an IM group invite link has been added to the created IM group and members have joined the group through the link.
|
|
2697
|
+
* - If you do not have a created IM group, you can 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 invite link.
|
|
2698
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2697
2699
|
*
|
|
2698
2700
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
2699
2701
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -2845,7 +2847,7 @@ class Client extends openapi_core_1.default {
|
|
|
2845
2847
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2846
2848
|
}
|
|
2847
2849
|
/**
|
|
2848
|
-
* Deletes contacts
|
|
2850
|
+
* Deletes contacts.
|
|
2849
2851
|
*
|
|
2850
2852
|
* @param request - DeleteContactsByIdsRequest
|
|
2851
2853
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2883,7 +2885,7 @@ class Client extends openapi_core_1.default {
|
|
|
2883
2885
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2884
2886
|
}
|
|
2885
2887
|
/**
|
|
2886
|
-
* Deletes contacts
|
|
2888
|
+
* Deletes contacts.
|
|
2887
2889
|
*
|
|
2888
2890
|
* @param request - DeleteContactsByIdsRequest
|
|
2889
2891
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2893,10 +2895,10 @@ class Client extends openapi_core_1.default {
|
|
|
2893
2895
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2894
2896
|
}
|
|
2895
2897
|
/**
|
|
2896
|
-
* Deletes a
|
|
2898
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2897
2899
|
*
|
|
2898
2900
|
* @remarks
|
|
2899
|
-
* The
|
|
2901
|
+
* The queries per second (QPS) limit per user for this API operation is 5. If you exceed this limit, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2900
2902
|
*
|
|
2901
2903
|
* @param request - DeleteFlowRequest
|
|
2902
2904
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2937,10 +2939,10 @@ class Client extends openapi_core_1.default {
|
|
|
2937
2939
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2938
2940
|
}
|
|
2939
2941
|
/**
|
|
2940
|
-
* Deletes a
|
|
2942
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2941
2943
|
*
|
|
2942
2944
|
* @remarks
|
|
2943
|
-
* The
|
|
2945
|
+
* The queries per second (QPS) limit per user for this API operation is 5. If you exceed this limit, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2944
2946
|
*
|
|
2945
2947
|
* @param request - DeleteFlowRequest
|
|
2946
2948
|
* @returns DeleteFlowResponse
|
|
@@ -2953,10 +2955,10 @@ class Client extends openapi_core_1.default {
|
|
|
2953
2955
|
* Deletes a flow version.
|
|
2954
2956
|
*
|
|
2955
2957
|
* @remarks
|
|
2956
|
-
* - You can call this operation to delete a flow version, or click
|
|
2957
|
-
* - Before calling this operation,
|
|
2958
|
-
* - If
|
|
2959
|
-
* - After a flow version is deleted, the canvas flow
|
|
2958
|
+
* - You can call this operation to delete a flow version, or click the 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.
|
|
2959
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
2960
|
+
* - If your flow version is online, you can 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://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow version offline.
|
|
2961
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
2960
2962
|
*
|
|
2961
2963
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2962
2964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3011,10 +3013,10 @@ class Client extends openapi_core_1.default {
|
|
|
3011
3013
|
* Deletes a flow version.
|
|
3012
3014
|
*
|
|
3013
3015
|
* @remarks
|
|
3014
|
-
* - You can call this operation to delete a flow version, or click
|
|
3015
|
-
* - Before calling this operation,
|
|
3016
|
-
* - If
|
|
3017
|
-
* - After a flow version is deleted, the canvas flow
|
|
3016
|
+
* - You can call this operation to delete a flow version, or click the 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.
|
|
3017
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
3018
|
+
* - If your flow version is online, you can 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://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow version offline.
|
|
3019
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
3018
3020
|
*
|
|
3019
3021
|
* @param request - DeleteFlowVersionRequest
|
|
3020
3022
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3072,7 +3074,7 @@ class Client extends openapi_core_1.default {
|
|
|
3072
3074
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
3073
3075
|
}
|
|
3074
3076
|
/**
|
|
3075
|
-
* Deletes a page
|
|
3077
|
+
* Deletes a page of an instance.
|
|
3076
3078
|
*
|
|
3077
3079
|
* @param request - DeleteInstagramPageRequest
|
|
3078
3080
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3113,7 +3115,7 @@ class Client extends openapi_core_1.default {
|
|
|
3113
3115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
3114
3116
|
}
|
|
3115
3117
|
/**
|
|
3116
|
-
* Deletes a page
|
|
3118
|
+
* Deletes a page of an instance.
|
|
3117
3119
|
*
|
|
3118
3120
|
* @param request - DeleteInstagramPageRequest
|
|
3119
3121
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3123,7 +3125,7 @@ class Client extends openapi_core_1.default {
|
|
|
3123
3125
|
return await this.deleteInstagramPageWithOptions(request, runtime);
|
|
3124
3126
|
}
|
|
3125
3127
|
/**
|
|
3126
|
-
* Deletes
|
|
3128
|
+
* Deletes an instance.
|
|
3127
3129
|
*
|
|
3128
3130
|
* @param request - DeleteInstanceRequest
|
|
3129
3131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3152,7 +3154,7 @@ class Client extends openapi_core_1.default {
|
|
|
3152
3154
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
3153
3155
|
}
|
|
3154
3156
|
/**
|
|
3155
|
-
* Deletes
|
|
3157
|
+
* Deletes an instance.
|
|
3156
3158
|
*
|
|
3157
3159
|
* @param request - DeleteInstanceRequest
|
|
3158
3160
|
* @returns DeleteInstanceResponse
|
|
@@ -3213,7 +3215,7 @@ class Client extends openapi_core_1.default {
|
|
|
3213
3215
|
return await this.deleteMarketingFlowWithOptions(request, runtime);
|
|
3214
3216
|
}
|
|
3215
3217
|
/**
|
|
3216
|
-
* Deletes the budget for
|
|
3218
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3217
3219
|
*
|
|
3218
3220
|
* @param request - DeleteMessageCampaignRequest
|
|
3219
3221
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3260,7 +3262,7 @@ class Client extends openapi_core_1.default {
|
|
|
3260
3262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessageCampaignResponse({}));
|
|
3261
3263
|
}
|
|
3262
3264
|
/**
|
|
3263
|
-
* Deletes the budget for
|
|
3265
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3264
3266
|
*
|
|
3265
3267
|
* @param request - DeleteMessageCampaignRequest
|
|
3266
3268
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3270,7 +3272,7 @@ class Client extends openapi_core_1.default {
|
|
|
3270
3272
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3271
3273
|
}
|
|
3272
3274
|
/**
|
|
3273
|
-
* Deletes
|
|
3275
|
+
* Deletes a Messenger page.
|
|
3274
3276
|
*
|
|
3275
3277
|
* @param request - DeleteMessengerPageRequest
|
|
3276
3278
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3311,7 +3313,7 @@ class Client extends openapi_core_1.default {
|
|
|
3311
3313
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3312
3314
|
}
|
|
3313
3315
|
/**
|
|
3314
|
-
* Deletes
|
|
3316
|
+
* Deletes a Messenger page.
|
|
3315
3317
|
*
|
|
3316
3318
|
* @param request - DeleteMessengerPageRequest
|
|
3317
3319
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3553,15 +3555,15 @@ class Client extends openapi_core_1.default {
|
|
|
3553
3555
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3554
3556
|
}
|
|
3555
3557
|
/**
|
|
3556
|
-
*
|
|
3558
|
+
* Associates a phone number or business account ID with a flow.
|
|
3557
3559
|
*
|
|
3558
3560
|
* @remarks
|
|
3559
|
-
* - You can call this operation to
|
|
3560
|
-
* - Before
|
|
3561
|
-
* - For the WhatsApp channel type,
|
|
3562
|
-
* - For the Messenger channel type,
|
|
3563
|
-
* - For the Instagram channel type,
|
|
3564
|
-
* <props="intl">- For the Viber channel type,
|
|
3561
|
+
* - You can call this operation to associate a phone number or business account ID with a flow. You can also manually bind them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3562
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3563
|
+
* - For the WhatsApp channel type, you must have completed [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).
|
|
3564
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3565
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3566
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3565
3567
|
*
|
|
3566
3568
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3567
3569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3625,15 +3627,15 @@ class Client extends openapi_core_1.default {
|
|
|
3625
3627
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3626
3628
|
}
|
|
3627
3629
|
/**
|
|
3628
|
-
*
|
|
3630
|
+
* Associates a phone number or business account ID with a flow.
|
|
3629
3631
|
*
|
|
3630
3632
|
* @remarks
|
|
3631
|
-
* - You can call this operation to
|
|
3632
|
-
* - Before
|
|
3633
|
-
* - For the WhatsApp channel type,
|
|
3634
|
-
* - For the Messenger channel type,
|
|
3635
|
-
* - For the Instagram channel type,
|
|
3636
|
-
* <props="intl">- For the Viber channel type,
|
|
3633
|
+
* - You can call this operation to associate a phone number or business account ID with a flow. You can also manually bind them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3634
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3635
|
+
* - For the WhatsApp channel type, you must have completed [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).
|
|
3636
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3637
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3638
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3637
3639
|
*
|
|
3638
3640
|
* @param request - FlowBindPhoneRequest
|
|
3639
3641
|
* @returns FlowBindPhoneResponse
|
|
@@ -3643,12 +3645,12 @@ class Client extends openapi_core_1.default {
|
|
|
3643
3645
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3644
3646
|
}
|
|
3645
3647
|
/**
|
|
3646
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3648
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3647
3649
|
*
|
|
3648
3650
|
* @remarks
|
|
3649
|
-
* -
|
|
3650
|
-
* - Before calling this operation,
|
|
3651
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3651
|
+
* - You can call this operation to rebind a phone number or a merchant account ID to a bound flow. You can also manually rebind it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3652
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3653
|
+
* - If you are binding a phone number or a merchant account ID to a flow for the first time, you can call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation.
|
|
3652
3654
|
*
|
|
3653
3655
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3654
3656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3712,12 +3714,12 @@ class Client extends openapi_core_1.default {
|
|
|
3712
3714
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3713
3715
|
}
|
|
3714
3716
|
/**
|
|
3715
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3717
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3716
3718
|
*
|
|
3717
3719
|
* @remarks
|
|
3718
|
-
* -
|
|
3719
|
-
* - Before calling this operation,
|
|
3720
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3720
|
+
* - You can call this operation to rebind a phone number or a merchant account ID to a bound flow. You can also manually rebind it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3721
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3722
|
+
* - If you are binding a phone number or a merchant account ID to a flow for the first time, you can call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation.
|
|
3721
3723
|
*
|
|
3722
3724
|
* @param request - FlowRebindPhoneRequest
|
|
3723
3725
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3730,11 +3732,11 @@ class Client extends openapi_core_1.default {
|
|
|
3730
3732
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3731
3733
|
*
|
|
3732
3734
|
* @remarks
|
|
3733
|
-
* - Before you call this operation,
|
|
3735
|
+
* - Before you call this operation, ensure that your flow is offline. If your flow is online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow offline.
|
|
3734
3736
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3735
|
-
* - Before you call this operation,
|
|
3736
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one 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
|
|
3737
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
3737
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3738
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one 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.
|
|
3739
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must associate a phone number or merchant account ID again before the flow can be taken online.
|
|
3738
3740
|
*
|
|
3739
3741
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3740
3742
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3789,11 +3791,11 @@ class Client extends openapi_core_1.default {
|
|
|
3789
3791
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3790
3792
|
*
|
|
3791
3793
|
* @remarks
|
|
3792
|
-
* - Before you call this operation,
|
|
3794
|
+
* - Before you call this operation, ensure that your flow is offline. If your flow is online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow offline.
|
|
3793
3795
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3794
|
-
* - Before you call this operation,
|
|
3795
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one 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
|
|
3796
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
3796
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3797
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one 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.
|
|
3798
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must associate a phone number or merchant account ID again before the flow can be taken online.
|
|
3797
3799
|
*
|
|
3798
3800
|
* @param request - FlowUnbindPhoneRequest
|
|
3799
3801
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3851,7 +3853,7 @@ class Client extends openapi_core_1.default {
|
|
|
3851
3853
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3852
3854
|
}
|
|
3853
3855
|
/**
|
|
3854
|
-
* Queries pending review
|
|
3856
|
+
* Queries personal pending review requests by type.
|
|
3855
3857
|
*
|
|
3856
3858
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3857
3859
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3892,7 +3894,7 @@ class Client extends openapi_core_1.default {
|
|
|
3892
3894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3893
3895
|
}
|
|
3894
3896
|
/**
|
|
3895
|
-
* Queries pending review
|
|
3897
|
+
* Queries personal pending review requests by type.
|
|
3896
3898
|
*
|
|
3897
3899
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3898
3900
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3950,10 +3952,10 @@ class Client extends openapi_core_1.default {
|
|
|
3950
3952
|
* Retrieves ChatFlow runtime data.
|
|
3951
3953
|
*
|
|
3952
3954
|
* @remarks
|
|
3953
|
-
* - Before calling this operation,
|
|
3954
|
-
* - If your flow is not online,
|
|
3955
|
-
* - For flows with a manual trigger
|
|
3956
|
-
* -
|
|
3955
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
3956
|
+
* - If your flow is not online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually bring the flow online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow online.
|
|
3957
|
+
* - For flows with a manual trigger, trigger the flow by calling the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation or by associating a marketing campaign on the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page.
|
|
3958
|
+
* - Flows with a non-manual trigger do not require manual triggering. The flow is automatically triggered after a message is sent to the merchant from the associated bound merchant account.
|
|
3957
3959
|
*
|
|
3958
3960
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3959
3961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4023,10 +4025,10 @@ class Client extends openapi_core_1.default {
|
|
|
4023
4025
|
* Retrieves ChatFlow runtime data.
|
|
4024
4026
|
*
|
|
4025
4027
|
* @remarks
|
|
4026
|
-
* - Before calling this operation,
|
|
4027
|
-
* - If your flow is not online,
|
|
4028
|
-
* - For flows with a manual trigger
|
|
4029
|
-
* -
|
|
4028
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
4029
|
+
* - If your flow is not online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually bring the flow online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow online.
|
|
4030
|
+
* - For flows with a manual trigger, trigger the flow by calling the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation or by associating a marketing campaign on the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page.
|
|
4031
|
+
* - Flows with a non-manual trigger do not require manual triggering. The flow is automatically triggered after a message is sent to the merchant from the associated bound merchant account.
|
|
4030
4032
|
*
|
|
4031
4033
|
* @param request - GetChatFlowMetricRequest
|
|
4032
4034
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4039,8 +4041,8 @@ class Client extends openapi_core_1.default {
|
|
|
4039
4041
|
* Queries the details of a flow template.
|
|
4040
4042
|
*
|
|
4041
4043
|
* @remarks
|
|
4042
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4043
|
-
* - After you view template details by clicking the template name on the **
|
|
4044
|
+
* - You can call this operation to query the details of a flow template. You can also click the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to view the template details.
|
|
4045
|
+
* - After you view the template details by clicking the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4044
4046
|
*
|
|
4045
4047
|
* @param request - GetChatFlowTemplateRequest
|
|
4046
4048
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4084,8 +4086,8 @@ class Client extends openapi_core_1.default {
|
|
|
4084
4086
|
* Queries the details of a flow template.
|
|
4085
4087
|
*
|
|
4086
4088
|
* @remarks
|
|
4087
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4088
|
-
* - After you view template details by clicking the template name on the **
|
|
4089
|
+
* - You can call this operation to query the details of a flow template. You can also click the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to view the template details.
|
|
4090
|
+
* - After you view the template details by clicking the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4089
4091
|
*
|
|
4090
4092
|
* @param request - GetChatFlowTemplateRequest
|
|
4091
4093
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4219,7 +4221,7 @@ class Client extends openapi_core_1.default {
|
|
|
4219
4221
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
4220
4222
|
}
|
|
4221
4223
|
/**
|
|
4222
|
-
* Retrieves other
|
|
4224
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4223
4225
|
*
|
|
4224
4226
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4225
4227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4260,7 +4262,7 @@ class Client extends openapi_core_1.default {
|
|
|
4260
4262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
4261
4263
|
}
|
|
4262
4264
|
/**
|
|
4263
|
-
* Retrieves other
|
|
4265
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4264
4266
|
*
|
|
4265
4267
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4266
4268
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4273,8 +4275,8 @@ class Client extends openapi_core_1.default {
|
|
|
4273
4275
|
* Retrieves the details of a Chat App message template.
|
|
4274
4276
|
*
|
|
4275
4277
|
* @remarks
|
|
4276
|
-
* ###
|
|
4277
|
-
* The queries per second (QPS)
|
|
4278
|
+
* ### Rate limit
|
|
4279
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4278
4280
|
*
|
|
4279
4281
|
* @param request - GetChatappTemplateDetailRequest
|
|
4280
4282
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4324,8 +4326,8 @@ class Client extends openapi_core_1.default {
|
|
|
4324
4326
|
* Retrieves the details of a Chat App message template.
|
|
4325
4327
|
*
|
|
4326
4328
|
* @remarks
|
|
4327
|
-
* ###
|
|
4328
|
-
* The queries per second (QPS)
|
|
4329
|
+
* ### Rate limit
|
|
4330
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4329
4331
|
*
|
|
4330
4332
|
* @param request - GetChatappTemplateDetailRequest
|
|
4331
4333
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4653,7 +4655,7 @@ class Client extends openapi_core_1.default {
|
|
|
4653
4655
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4654
4656
|
}
|
|
4655
4657
|
/**
|
|
4656
|
-
* Queries the source site of
|
|
4658
|
+
* Queries the source site of the customer.
|
|
4657
4659
|
*
|
|
4658
4660
|
* @param request - GetCustomerSiteRequest
|
|
4659
4661
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4688,7 +4690,7 @@ class Client extends openapi_core_1.default {
|
|
|
4688
4690
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4689
4691
|
}
|
|
4690
4692
|
/**
|
|
4691
|
-
* Queries the source site of
|
|
4693
|
+
* Queries the source site of the customer.
|
|
4692
4694
|
*
|
|
4693
4695
|
* @param request - GetCustomerSiteRequest
|
|
4694
4696
|
* @returns GetCustomerSiteResponse
|
|
@@ -4778,7 +4780,7 @@ class Client extends openapi_core_1.default {
|
|
|
4778
4780
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4779
4781
|
}
|
|
4780
4782
|
/**
|
|
4781
|
-
* Retrieves
|
|
4783
|
+
* Retrieves a list of Instagram pages.
|
|
4782
4784
|
*
|
|
4783
4785
|
* @param request - GetFbInstagramPagesRequest
|
|
4784
4786
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4819,7 +4821,7 @@ class Client extends openapi_core_1.default {
|
|
|
4819
4821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4820
4822
|
}
|
|
4821
4823
|
/**
|
|
4822
|
-
* Retrieves
|
|
4824
|
+
* Retrieves a list of Instagram pages.
|
|
4823
4825
|
*
|
|
4824
4826
|
* @param request - GetFbInstagramPagesRequest
|
|
4825
4827
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5071,7 +5073,7 @@ class Client extends openapi_core_1.default {
|
|
|
5071
5073
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5072
5074
|
}
|
|
5073
5075
|
/**
|
|
5074
|
-
*
|
|
5076
|
+
* Checks whether a group name is duplicated.
|
|
5075
5077
|
*
|
|
5076
5078
|
* @param tmpReq - GetGroupExistRequest
|
|
5077
5079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5120,7 +5122,7 @@ class Client extends openapi_core_1.default {
|
|
|
5120
5122
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
5121
5123
|
}
|
|
5122
5124
|
/**
|
|
5123
|
-
*
|
|
5125
|
+
* Checks whether a group name is duplicated.
|
|
5124
5126
|
*
|
|
5125
5127
|
* @param request - GetGroupExistRequest
|
|
5126
5128
|
* @returns GetGroupExistResponse
|
|
@@ -5129,6 +5131,48 @@ class Client extends openapi_core_1.default {
|
|
|
5129
5131
|
let runtime = new $dara.RuntimeOptions({});
|
|
5130
5132
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5131
5133
|
}
|
|
5134
|
+
/**
|
|
5135
|
+
* Queries Instagram user information.
|
|
5136
|
+
*
|
|
5137
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5138
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5139
|
+
* @returns GetInstagramUserInfoResponse
|
|
5140
|
+
*/
|
|
5141
|
+
async getInstagramUserInfoWithOptions(request, runtime) {
|
|
5142
|
+
request.validate();
|
|
5143
|
+
let query = {};
|
|
5144
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5145
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5146
|
+
}
|
|
5147
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5148
|
+
query["QueryId"] = request.queryId;
|
|
5149
|
+
}
|
|
5150
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5151
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5152
|
+
});
|
|
5153
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5154
|
+
action: "GetInstagramUserInfo",
|
|
5155
|
+
version: "2020-06-06",
|
|
5156
|
+
protocol: "HTTPS",
|
|
5157
|
+
pathname: "/",
|
|
5158
|
+
method: "POST",
|
|
5159
|
+
authType: "AK",
|
|
5160
|
+
style: "RPC",
|
|
5161
|
+
reqBodyType: "formData",
|
|
5162
|
+
bodyType: "json",
|
|
5163
|
+
});
|
|
5164
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstagramUserInfoResponse({}));
|
|
5165
|
+
}
|
|
5166
|
+
/**
|
|
5167
|
+
* Queries Instagram user information.
|
|
5168
|
+
*
|
|
5169
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5170
|
+
* @returns GetInstagramUserInfoResponse
|
|
5171
|
+
*/
|
|
5172
|
+
async getInstagramUserInfo(request) {
|
|
5173
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5174
|
+
return await this.getInstagramUserInfoWithOptions(request, runtime);
|
|
5175
|
+
}
|
|
5132
5176
|
/**
|
|
5133
5177
|
* Queries budget metrics.
|
|
5134
5178
|
*
|
|
@@ -5186,6 +5230,48 @@ class Client extends openapi_core_1.default {
|
|
|
5186
5230
|
let runtime = new $dara.RuntimeOptions({});
|
|
5187
5231
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
5188
5232
|
}
|
|
5233
|
+
/**
|
|
5234
|
+
* Queries Messenger user information.
|
|
5235
|
+
*
|
|
5236
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5237
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5238
|
+
* @returns GetMessengerUserInfoResponse
|
|
5239
|
+
*/
|
|
5240
|
+
async getMessengerUserInfoWithOptions(request, runtime) {
|
|
5241
|
+
request.validate();
|
|
5242
|
+
let query = {};
|
|
5243
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5244
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5245
|
+
}
|
|
5246
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5247
|
+
query["QueryId"] = request.queryId;
|
|
5248
|
+
}
|
|
5249
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5250
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5251
|
+
});
|
|
5252
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5253
|
+
action: "GetMessengerUserInfo",
|
|
5254
|
+
version: "2020-06-06",
|
|
5255
|
+
protocol: "HTTPS",
|
|
5256
|
+
pathname: "/",
|
|
5257
|
+
method: "POST",
|
|
5258
|
+
authType: "AK",
|
|
5259
|
+
style: "RPC",
|
|
5260
|
+
reqBodyType: "formData",
|
|
5261
|
+
bodyType: "json",
|
|
5262
|
+
});
|
|
5263
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessengerUserInfoResponse({}));
|
|
5264
|
+
}
|
|
5265
|
+
/**
|
|
5266
|
+
* Queries Messenger user information.
|
|
5267
|
+
*
|
|
5268
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5269
|
+
* @returns GetMessengerUserInfoResponse
|
|
5270
|
+
*/
|
|
5271
|
+
async getMessengerUserInfo(request) {
|
|
5272
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5273
|
+
return await this.getMessengerUserInfoWithOptions(request, runtime);
|
|
5274
|
+
}
|
|
5189
5275
|
/**
|
|
5190
5276
|
* Retrieves the verification code for a migration phone number.
|
|
5191
5277
|
*
|
|
@@ -5381,13 +5467,13 @@ class Client extends openapi_core_1.default {
|
|
|
5381
5467
|
* Retrieves the verification status of a phone number.
|
|
5382
5468
|
*
|
|
5383
5469
|
* @remarks
|
|
5384
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5470
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5385
5471
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5386
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5387
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5388
|
-
* - Before calling this operation, make sure that a phone number
|
|
5389
|
-
* - If a phone number
|
|
5390
|
-
* The queries per second (QPS) limit
|
|
5472
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5473
|
+
* - This operation only queries the verification status of a phone number. If the phone number is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5474
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5475
|
+
* - If you have a new phone number in your WABA that needs to be registered, but its verification status is unverified or the verification has expired, 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, verify the phone number, and register it.
|
|
5476
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation within the limit.
|
|
5391
5477
|
*
|
|
5392
5478
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5393
5479
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5431,13 +5517,13 @@ class Client extends openapi_core_1.default {
|
|
|
5431
5517
|
* Retrieves the verification status of a phone number.
|
|
5432
5518
|
*
|
|
5433
5519
|
* @remarks
|
|
5434
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5520
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5435
5521
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5436
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5437
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5438
|
-
* - Before calling this operation, make sure that a phone number
|
|
5439
|
-
* - If a phone number
|
|
5440
|
-
* The queries per second (QPS) limit
|
|
5522
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5523
|
+
* - This operation only queries the verification status of a phone number. If the phone number is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5524
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5525
|
+
* - If you have a new phone number in your WABA that needs to be registered, but its verification status is unverified or the verification has expired, 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, verify the phone number, and register it.
|
|
5526
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation within the limit.
|
|
5441
5527
|
*
|
|
5442
5528
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5443
5529
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5546,7 +5632,7 @@ class Client extends openapi_core_1.default {
|
|
|
5546
5632
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5547
5633
|
}
|
|
5548
5634
|
/**
|
|
5549
|
-
* Queries an application
|
|
5635
|
+
* Queries an application by request number.
|
|
5550
5636
|
*
|
|
5551
5637
|
* @param request - GetViberByRequestNoRequest
|
|
5552
5638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5587,7 +5673,7 @@ class Client extends openapi_core_1.default {
|
|
|
5587
5673
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5588
5674
|
}
|
|
5589
5675
|
/**
|
|
5590
|
-
* Queries an application
|
|
5676
|
+
* Queries an application by request number.
|
|
5591
5677
|
*
|
|
5592
5678
|
* @param request - GetViberByRequestNoRequest
|
|
5593
5679
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5597,7 +5683,7 @@ class Client extends openapi_core_1.default {
|
|
|
5597
5683
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5598
5684
|
}
|
|
5599
5685
|
/**
|
|
5600
|
-
* Queries the number of
|
|
5686
|
+
* Queries the number of allowed pause requests.
|
|
5601
5687
|
*
|
|
5602
5688
|
* @param request - GetViberPauseTimesRequest
|
|
5603
5689
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5635,7 +5721,7 @@ class Client extends openapi_core_1.default {
|
|
|
5635
5721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5636
5722
|
}
|
|
5637
5723
|
/**
|
|
5638
|
-
* Queries the number of
|
|
5724
|
+
* Queries the number of allowed pause requests.
|
|
5639
5725
|
*
|
|
5640
5726
|
* @param request - GetViberPauseTimesRequest
|
|
5641
5727
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5750,12 +5836,12 @@ class Client extends openapi_core_1.default {
|
|
|
5750
5836
|
return await this.getWhatsappConversionApiWithOptions(request, runtime);
|
|
5751
5837
|
}
|
|
5752
5838
|
/**
|
|
5753
|
-
*
|
|
5839
|
+
* Retrieves the message sending health status for different node types.
|
|
5754
5840
|
*
|
|
5755
5841
|
* @remarks
|
|
5756
|
-
* ###
|
|
5757
|
-
*
|
|
5758
|
-
* This
|
|
5842
|
+
* ### QPS limits
|
|
5843
|
+
* The QPS limit per user is 5 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5844
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5759
5845
|
*
|
|
5760
5846
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5761
5847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5808,12 +5894,12 @@ class Client extends openapi_core_1.default {
|
|
|
5808
5894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappHealthStatusResponse({}));
|
|
5809
5895
|
}
|
|
5810
5896
|
/**
|
|
5811
|
-
*
|
|
5897
|
+
* Retrieves the message sending health status for different node types.
|
|
5812
5898
|
*
|
|
5813
5899
|
* @remarks
|
|
5814
|
-
* ###
|
|
5815
|
-
*
|
|
5816
|
-
* This
|
|
5900
|
+
* ### QPS limits
|
|
5901
|
+
* The QPS limit per user is 5 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5902
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5817
5903
|
*
|
|
5818
5904
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5819
5905
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -6071,12 +6157,12 @@ class Client extends openapi_core_1.default {
|
|
|
6071
6157
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
6072
6158
|
}
|
|
6073
6159
|
/**
|
|
6074
|
-
* Queries the list of phone numbers or
|
|
6160
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6075
6161
|
*
|
|
6076
6162
|
* @remarks
|
|
6077
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6078
|
-
* - Before calling this operation,
|
|
6079
|
-
* - If
|
|
6163
|
+
* - You can call this operation to query the list of phone numbers or merchant account IDs bound to a flow. You can also view the list on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6164
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6165
|
+
* - If the flow you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation to bind a phone number or merchant account ID.
|
|
6080
6166
|
*
|
|
6081
6167
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6082
6168
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6117,12 +6203,12 @@ class Client extends openapi_core_1.default {
|
|
|
6117
6203
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
6118
6204
|
}
|
|
6119
6205
|
/**
|
|
6120
|
-
* Queries the list of phone numbers or
|
|
6206
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6121
6207
|
*
|
|
6122
6208
|
* @remarks
|
|
6123
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6124
|
-
* - Before calling this operation,
|
|
6125
|
-
* - If
|
|
6209
|
+
* - You can call this operation to query the list of phone numbers or merchant account IDs bound to a flow. You can also view the list on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6210
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6211
|
+
* - If the flow you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation to bind a phone number or merchant account ID.
|
|
6126
6212
|
*
|
|
6127
6213
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6128
6214
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6135,10 +6221,10 @@ class Client extends openapi_core_1.default {
|
|
|
6135
6221
|
* Lists flows.
|
|
6136
6222
|
*
|
|
6137
6223
|
* @remarks
|
|
6138
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6139
|
-
* - Before
|
|
6140
|
-
* - If you
|
|
6141
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6224
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6225
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6226
|
+
* - If you have not created any flows, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
6227
|
+
* - The optional parameters in this operation are used as filter conditions for querying flows. If you do not specify these parameters, all flows are queried.
|
|
6142
6228
|
*
|
|
6143
6229
|
* @param tmpReq - ListChatFlowRequest
|
|
6144
6230
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6217,10 +6303,10 @@ class Client extends openapi_core_1.default {
|
|
|
6217
6303
|
* Lists flows.
|
|
6218
6304
|
*
|
|
6219
6305
|
* @remarks
|
|
6220
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6221
|
-
* - Before
|
|
6222
|
-
* - If you
|
|
6223
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6306
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6307
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6308
|
+
* - If you have not created any flows, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
6309
|
+
* - The optional parameters in this operation are used as filter conditions for querying flows. If you do not specify these parameters, all flows are queried.
|
|
6224
6310
|
*
|
|
6225
6311
|
* @param request - ListChatFlowRequest
|
|
6226
6312
|
* @returns ListChatFlowResponse
|
|
@@ -6233,8 +6319,8 @@ class Client extends openapi_core_1.default {
|
|
|
6233
6319
|
* Lists flow templates.
|
|
6234
6320
|
*
|
|
6235
6321
|
* @remarks
|
|
6236
|
-
* - You can call this operation to view the template list
|
|
6237
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6322
|
+
* - You can call this operation to view the template list. You can also view the template list on the **View Templates** page in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6323
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6238
6324
|
*
|
|
6239
6325
|
* @param request - ListChatFlowTemplateRequest
|
|
6240
6326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6287,8 +6373,8 @@ class Client extends openapi_core_1.default {
|
|
|
6287
6373
|
* Lists flow templates.
|
|
6288
6374
|
*
|
|
6289
6375
|
* @remarks
|
|
6290
|
-
* - You can call this operation to view the template list
|
|
6291
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6376
|
+
* - You can call this operation to view the template list. You can also view the template list on the **View Templates** page in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6377
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6292
6378
|
*
|
|
6293
6379
|
* @param request - ListChatFlowTemplateRequest
|
|
6294
6380
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6298,13 +6384,13 @@ class Client extends openapi_core_1.default {
|
|
|
6298
6384
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
6299
6385
|
}
|
|
6300
6386
|
/**
|
|
6301
|
-
*
|
|
6387
|
+
* Queries the list of IM groups.
|
|
6302
6388
|
*
|
|
6303
6389
|
* @remarks
|
|
6304
|
-
* >Notice: The feature of
|
|
6305
|
-
* - Before calling this operation, make sure you have
|
|
6306
|
-
* - If you
|
|
6307
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6390
|
+
* >Notice: The feature to query the list of IM groups through the API is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6391
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6392
|
+
* - If you have not created an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation.
|
|
6393
|
+
* - The optional parameters of this API operation are filter conditions for the IM group list. If you do not specify these parameters, all IM groups are queried.
|
|
6308
6394
|
*
|
|
6309
6395
|
* @param tmpReq - ListChatGroupRequest
|
|
6310
6396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6368,13 +6454,13 @@ class Client extends openapi_core_1.default {
|
|
|
6368
6454
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
6369
6455
|
}
|
|
6370
6456
|
/**
|
|
6371
|
-
*
|
|
6457
|
+
* Queries the list of IM groups.
|
|
6372
6458
|
*
|
|
6373
6459
|
* @remarks
|
|
6374
|
-
* >Notice: The feature of
|
|
6375
|
-
* - Before calling this operation, make sure you have
|
|
6376
|
-
* - If you
|
|
6377
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6460
|
+
* >Notice: The feature to query the list of IM groups through the API is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6461
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6462
|
+
* - If you have not created an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation.
|
|
6463
|
+
* - The optional parameters of this API operation are filter conditions for the IM group list. If you do not specify these parameters, all IM groups are queried.
|
|
6378
6464
|
*
|
|
6379
6465
|
* @param request - ListChatGroupRequest
|
|
6380
6466
|
* @returns ListChatGroupResponse
|
|
@@ -6387,9 +6473,9 @@ class Client extends openapi_core_1.default {
|
|
|
6387
6473
|
* Retrieves the member list of an IM group.
|
|
6388
6474
|
*
|
|
6389
6475
|
* @remarks
|
|
6390
|
-
* >
|
|
6391
|
-
* - Before
|
|
6392
|
-
* - If you do not have a created IM group,
|
|
6476
|
+
* <notice>The feature to retrieve the IM group member list through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6477
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the created IM group and that members have joined the group through the link.
|
|
6478
|
+
* - If you do not have a created IM group, you can 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 invite link.
|
|
6393
6479
|
*
|
|
6394
6480
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6395
6481
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6447,9 +6533,9 @@ class Client extends openapi_core_1.default {
|
|
|
6447
6533
|
* Retrieves the member list of an IM group.
|
|
6448
6534
|
*
|
|
6449
6535
|
* @remarks
|
|
6450
|
-
* >
|
|
6451
|
-
* - Before
|
|
6452
|
-
* - If you do not have a created IM group,
|
|
6536
|
+
* <notice>The feature to retrieve the IM group member list through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6537
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the created IM group and that members have joined the group through the link.
|
|
6538
|
+
* - If you do not have a created IM group, you can 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 invite link.
|
|
6453
6539
|
*
|
|
6454
6540
|
* @param request - ListChatGroupParticipantsRequest
|
|
6455
6541
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6462,9 +6548,9 @@ class Client extends openapi_core_1.default {
|
|
|
6462
6548
|
* Queries the message list.
|
|
6463
6549
|
*
|
|
6464
6550
|
* @remarks
|
|
6465
|
-
* - You can call this operation to query the message list
|
|
6466
|
-
* - This
|
|
6467
|
-
* - Before
|
|
6551
|
+
* - You can call this operation to query the message list, or view it on the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** page.
|
|
6552
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6553
|
+
* - Before you call this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, associated a phone number or business account ID, created and approved a template, and sent messages by using the channel.
|
|
6468
6554
|
*
|
|
6469
6555
|
* @param tmpReq - ListChatappMessageRequest
|
|
6470
6556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6549,9 +6635,9 @@ class Client extends openapi_core_1.default {
|
|
|
6549
6635
|
* Queries the message list.
|
|
6550
6636
|
*
|
|
6551
6637
|
* @remarks
|
|
6552
|
-
* - You can call this operation to query the message list
|
|
6553
|
-
* - This
|
|
6554
|
-
* - Before
|
|
6638
|
+
* - You can call this operation to query the message list, or view it on the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** page.
|
|
6639
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6640
|
+
* - Before you call this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, associated a phone number or business account ID, created and approved a template, and sent messages by using the channel.
|
|
6555
6641
|
*
|
|
6556
6642
|
* @param request - ListChatappMessageRequest
|
|
6557
6643
|
* @returns ListChatappMessageResponse
|
|
@@ -6561,11 +6647,11 @@ class Client extends openapi_core_1.default {
|
|
|
6561
6647
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6562
6648
|
}
|
|
6563
6649
|
/**
|
|
6564
|
-
* Retrieves
|
|
6650
|
+
* Retrieves the list of message templates.
|
|
6565
6651
|
*
|
|
6566
6652
|
* @remarks
|
|
6567
|
-
* ###
|
|
6568
|
-
* The
|
|
6653
|
+
* ### Rate limits
|
|
6654
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
6569
6655
|
*
|
|
6570
6656
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6571
6657
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6635,11 +6721,11 @@ class Client extends openapi_core_1.default {
|
|
|
6635
6721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6636
6722
|
}
|
|
6637
6723
|
/**
|
|
6638
|
-
* Retrieves
|
|
6724
|
+
* Retrieves the list of message templates.
|
|
6639
6725
|
*
|
|
6640
6726
|
* @remarks
|
|
6641
|
-
* ###
|
|
6642
|
-
* The
|
|
6727
|
+
* ### Rate limits
|
|
6728
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
6643
6729
|
*
|
|
6644
6730
|
* @param request - ListChatappTemplateRequest
|
|
6645
6731
|
* @returns ListChatappTemplateResponse
|
|
@@ -6649,7 +6735,7 @@ class Client extends openapi_core_1.default {
|
|
|
6649
6735
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
6650
6736
|
}
|
|
6651
6737
|
/**
|
|
6652
|
-
* Queries a custom
|
|
6738
|
+
* Queries a list of custom audiences.
|
|
6653
6739
|
*
|
|
6654
6740
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6655
6741
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6710,7 +6796,7 @@ class Client extends openapi_core_1.default {
|
|
|
6710
6796
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAudienceResponse({}));
|
|
6711
6797
|
}
|
|
6712
6798
|
/**
|
|
6713
|
-
* Queries a custom
|
|
6799
|
+
* Queries a list of custom audiences.
|
|
6714
6800
|
*
|
|
6715
6801
|
* @param request - ListCustomAudienceRequest
|
|
6716
6802
|
* @returns ListCustomAudienceResponse
|
|
@@ -6720,7 +6806,7 @@ class Client extends openapi_core_1.default {
|
|
|
6720
6806
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6721
6807
|
}
|
|
6722
6808
|
/**
|
|
6723
|
-
* Queries the
|
|
6809
|
+
* Queries the Direct Mail accounts under the account.
|
|
6724
6810
|
*
|
|
6725
6811
|
* @param request - ListDmAccountRequest
|
|
6726
6812
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6767,7 +6853,7 @@ class Client extends openapi_core_1.default {
|
|
|
6767
6853
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6768
6854
|
}
|
|
6769
6855
|
/**
|
|
6770
|
-
* Queries the
|
|
6856
|
+
* Queries the Direct Mail accounts under the account.
|
|
6771
6857
|
*
|
|
6772
6858
|
* @param request - ListDmAccountRequest
|
|
6773
6859
|
* @returns ListDmAccountResponse
|
|
@@ -6777,7 +6863,7 @@ class Client extends openapi_core_1.default {
|
|
|
6777
6863
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6778
6864
|
}
|
|
6779
6865
|
/**
|
|
6780
|
-
* Queries
|
|
6866
|
+
* Queries DM tags.
|
|
6781
6867
|
*
|
|
6782
6868
|
* @param request - ListDmTagRequest
|
|
6783
6869
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6821,7 +6907,7 @@ class Client extends openapi_core_1.default {
|
|
|
6821
6907
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6822
6908
|
}
|
|
6823
6909
|
/**
|
|
6824
|
-
* Queries
|
|
6910
|
+
* Queries DM tags.
|
|
6825
6911
|
*
|
|
6826
6912
|
* @param request - ListDmTagRequest
|
|
6827
6913
|
* @returns ListDmTagResponse
|
|
@@ -6831,7 +6917,7 @@ class Client extends openapi_core_1.default {
|
|
|
6831
6917
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6832
6918
|
}
|
|
6833
6919
|
/**
|
|
6834
|
-
* Queries
|
|
6920
|
+
* Queries a list of Facebook posts.
|
|
6835
6921
|
*
|
|
6836
6922
|
* @param request - ListFacebookPostsRequest
|
|
6837
6923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6869,7 +6955,7 @@ class Client extends openapi_core_1.default {
|
|
|
6869
6955
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6870
6956
|
}
|
|
6871
6957
|
/**
|
|
6872
|
-
* Queries
|
|
6958
|
+
* Queries a list of Facebook posts.
|
|
6873
6959
|
*
|
|
6874
6960
|
* @param request - ListFacebookPostsRequest
|
|
6875
6961
|
* @returns ListFacebookPostsResponse
|
|
@@ -6998,8 +7084,8 @@ class Client extends openapi_core_1.default {
|
|
|
6998
7084
|
* Lists flow component prototypes.
|
|
6999
7085
|
*
|
|
7000
7086
|
* @remarks
|
|
7001
|
-
* - You can call this operation to query flow component prototypes.
|
|
7002
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7087
|
+
* - You can call this operation to query flow component prototypes. Alternatively, you can click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow component prototypes.
|
|
7088
|
+
* - The optional parameters in this operation are used as filter conditions for flow component prototypes. If you do not specify these parameters, all flow component prototypes are queried.
|
|
7003
7089
|
*
|
|
7004
7090
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7005
7091
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7052,8 +7138,8 @@ class Client extends openapi_core_1.default {
|
|
|
7052
7138
|
* Lists flow component prototypes.
|
|
7053
7139
|
*
|
|
7054
7140
|
* @remarks
|
|
7055
|
-
* - You can call this operation to query flow component prototypes.
|
|
7056
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7141
|
+
* - You can call this operation to query flow component prototypes. Alternatively, you can click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow component prototypes.
|
|
7142
|
+
* - The optional parameters in this operation are used as filter conditions for flow component prototypes. If you do not specify these parameters, all flow component prototypes are queried.
|
|
7057
7143
|
*
|
|
7058
7144
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7059
7145
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7066,10 +7152,10 @@ class Client extends openapi_core_1.default {
|
|
|
7066
7152
|
* Lists flow versions.
|
|
7067
7153
|
*
|
|
7068
7154
|
* @remarks
|
|
7069
|
-
* - You can call this operation to query flow versions
|
|
7070
|
-
* - Before calling this operation, make sure that you have a
|
|
7071
|
-
* - If you
|
|
7072
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7155
|
+
* - You can call this operation to query flow versions, or click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow versions.
|
|
7156
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7157
|
+
* - 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://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
7158
|
+
* - The optional parameters in this operation are used as filter conditions for querying flow versions. If you do not specify these parameters, all flow versions are queried.
|
|
7073
7159
|
*
|
|
7074
7160
|
* @param tmpReq - ListFlowVersionRequest
|
|
7075
7161
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7130,10 +7216,10 @@ class Client extends openapi_core_1.default {
|
|
|
7130
7216
|
* Lists flow versions.
|
|
7131
7217
|
*
|
|
7132
7218
|
* @remarks
|
|
7133
|
-
* - You can call this operation to query flow versions
|
|
7134
|
-
* - Before calling this operation, make sure that you have a
|
|
7135
|
-
* - If you
|
|
7136
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7219
|
+
* - You can call this operation to query flow versions, or click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow versions.
|
|
7220
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7221
|
+
* - 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://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
7222
|
+
* - The optional parameters in this operation are used as filter conditions for querying flow versions. If you do not specify these parameters, all flow versions are queried.
|
|
7137
7223
|
*
|
|
7138
7224
|
* @param request - ListFlowVersionRequest
|
|
7139
7225
|
* @returns ListFlowVersionResponse
|
|
@@ -7143,7 +7229,7 @@ class Client extends openapi_core_1.default {
|
|
|
7143
7229
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
7144
7230
|
}
|
|
7145
7231
|
/**
|
|
7146
|
-
* Retrieves
|
|
7232
|
+
* Retrieves Instagram pages.
|
|
7147
7233
|
*
|
|
7148
7234
|
* @param request - ListInstagramPageRequest
|
|
7149
7235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7181,7 +7267,7 @@ class Client extends openapi_core_1.default {
|
|
|
7181
7267
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
7182
7268
|
}
|
|
7183
7269
|
/**
|
|
7184
|
-
* Retrieves
|
|
7270
|
+
* Retrieves Instagram pages.
|
|
7185
7271
|
*
|
|
7186
7272
|
* @param request - ListInstagramPageRequest
|
|
7187
7273
|
* @returns ListInstagramPageResponse
|
|
@@ -7191,7 +7277,7 @@ class Client extends openapi_core_1.default {
|
|
|
7191
7277
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
7192
7278
|
}
|
|
7193
7279
|
/**
|
|
7194
|
-
* Queries
|
|
7280
|
+
* Queries a list of Instagram posts.
|
|
7195
7281
|
*
|
|
7196
7282
|
* @param request - ListInstagramPostsRequest
|
|
7197
7283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7229,7 +7315,7 @@ class Client extends openapi_core_1.default {
|
|
|
7229
7315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
7230
7316
|
}
|
|
7231
7317
|
/**
|
|
7232
|
-
* Queries
|
|
7318
|
+
* Queries a list of Instagram posts.
|
|
7233
7319
|
*
|
|
7234
7320
|
* @param request - ListInstagramPostsRequest
|
|
7235
7321
|
* @returns ListInstagramPostsResponse
|
|
@@ -7239,7 +7325,7 @@ class Client extends openapi_core_1.default {
|
|
|
7239
7325
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
7240
7326
|
}
|
|
7241
7327
|
/**
|
|
7242
|
-
* Queries
|
|
7328
|
+
* Queries the list of instances.
|
|
7243
7329
|
*
|
|
7244
7330
|
* @param request - ListInstanceRequest
|
|
7245
7331
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7295,7 +7381,7 @@ class Client extends openapi_core_1.default {
|
|
|
7295
7381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
7296
7382
|
}
|
|
7297
7383
|
/**
|
|
7298
|
-
* Queries
|
|
7384
|
+
* Queries the list of instances.
|
|
7299
7385
|
*
|
|
7300
7386
|
* @param request - ListInstanceRequest
|
|
7301
7387
|
* @returns ListInstanceResponse
|
|
@@ -7305,7 +7391,7 @@ class Client extends openapi_core_1.default {
|
|
|
7305
7391
|
return await this.listInstanceWithOptions(request, runtime);
|
|
7306
7392
|
}
|
|
7307
7393
|
/**
|
|
7308
|
-
* Queries
|
|
7394
|
+
* Queries the list of operational activities.
|
|
7309
7395
|
*
|
|
7310
7396
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7311
7397
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7372,7 +7458,7 @@ class Client extends openapi_core_1.default {
|
|
|
7372
7458
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
7373
7459
|
}
|
|
7374
7460
|
/**
|
|
7375
|
-
* Queries
|
|
7461
|
+
* Queries the list of operational activities.
|
|
7376
7462
|
*
|
|
7377
7463
|
* @param request - ListMarketingFlowRequest
|
|
7378
7464
|
* @returns ListMarketingFlowResponse
|
|
@@ -7516,7 +7602,7 @@ class Client extends openapi_core_1.default {
|
|
|
7516
7602
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
7517
7603
|
}
|
|
7518
7604
|
/**
|
|
7519
|
-
* Queries the
|
|
7605
|
+
* Queries the ad accounts bound to a page.
|
|
7520
7606
|
*
|
|
7521
7607
|
* @param request - ListPageAdAccountRequest
|
|
7522
7608
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7557,7 +7643,7 @@ class Client extends openapi_core_1.default {
|
|
|
7557
7643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
7558
7644
|
}
|
|
7559
7645
|
/**
|
|
7560
|
-
* Queries the
|
|
7646
|
+
* Queries the ad accounts bound to a page.
|
|
7561
7647
|
*
|
|
7562
7648
|
* @param request - ListPageAdAccountRequest
|
|
7563
7649
|
* @returns ListPageAdAccountResponse
|
|
@@ -7765,7 +7851,7 @@ class Client extends openapi_core_1.default {
|
|
|
7765
7851
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7766
7852
|
}
|
|
7767
7853
|
/**
|
|
7768
|
-
*
|
|
7854
|
+
* Retrieves the Viber service account card of an application.
|
|
7769
7855
|
*
|
|
7770
7856
|
* @param request - ListViberServiceMessageRequest
|
|
7771
7857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7803,7 +7889,7 @@ class Client extends openapi_core_1.default {
|
|
|
7803
7889
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7804
7890
|
}
|
|
7805
7891
|
/**
|
|
7806
|
-
*
|
|
7892
|
+
* Retrieves the Viber service account card of an application.
|
|
7807
7893
|
*
|
|
7808
7894
|
* @param request - ListViberServiceMessageRequest
|
|
7809
7895
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7950,7 +8036,7 @@ class Client extends openapi_core_1.default {
|
|
|
7950
8036
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7951
8037
|
}
|
|
7952
8038
|
/**
|
|
7953
|
-
* Modifies
|
|
8039
|
+
* Modifies specific attributes of a template.
|
|
7954
8040
|
*
|
|
7955
8041
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7956
8042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8003,7 +8089,7 @@ class Client extends openapi_core_1.default {
|
|
|
8003
8089
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
8004
8090
|
}
|
|
8005
8091
|
/**
|
|
8006
|
-
* Modifies
|
|
8092
|
+
* Modifies specific attributes of a template.
|
|
8007
8093
|
*
|
|
8008
8094
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8009
8095
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8084,10 +8170,10 @@ class Client extends openapi_core_1.default {
|
|
|
8084
8170
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8085
8171
|
}
|
|
8086
8172
|
/**
|
|
8087
|
-
*
|
|
8173
|
+
* Updates the business information of a phone number.
|
|
8088
8174
|
*
|
|
8089
8175
|
* @remarks
|
|
8090
|
-
* The
|
|
8176
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
8091
8177
|
*
|
|
8092
8178
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8093
8179
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8154,10 +8240,10 @@ class Client extends openapi_core_1.default {
|
|
|
8154
8240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
8155
8241
|
}
|
|
8156
8242
|
/**
|
|
8157
|
-
*
|
|
8243
|
+
* Updates the business information of a phone number.
|
|
8158
8244
|
*
|
|
8159
8245
|
* @remarks
|
|
8160
|
-
* The
|
|
8246
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
8161
8247
|
*
|
|
8162
8248
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8163
8249
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8167,7 +8253,7 @@ class Client extends openapi_core_1.default {
|
|
|
8167
8253
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8168
8254
|
}
|
|
8169
8255
|
/**
|
|
8170
|
-
* Modifies the
|
|
8256
|
+
* Modifies the groups of contacts.
|
|
8171
8257
|
*
|
|
8172
8258
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8173
8259
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8222,7 +8308,7 @@ class Client extends openapi_core_1.default {
|
|
|
8222
8308
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
8223
8309
|
}
|
|
8224
8310
|
/**
|
|
8225
|
-
* Modifies the
|
|
8311
|
+
* Modifies the groups of contacts.
|
|
8226
8312
|
*
|
|
8227
8313
|
* @param request - MoveContactToGroupRequest
|
|
8228
8314
|
* @returns MoveContactToGroupResponse
|
|
@@ -8237,7 +8323,7 @@ class Client extends openapi_core_1.default {
|
|
|
8237
8323
|
* @remarks
|
|
8238
8324
|
* - You can call this operation to take a flow version offline, or 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.
|
|
8239
8325
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
8240
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
8326
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow version online.
|
|
8241
8327
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8242
8328
|
*
|
|
8243
8329
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
@@ -8298,7 +8384,7 @@ class Client extends openapi_core_1.default {
|
|
|
8298
8384
|
* @remarks
|
|
8299
8385
|
* - You can call this operation to take a flow version offline, or 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.
|
|
8300
8386
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
8301
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
8387
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow version online.
|
|
8302
8388
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8303
8389
|
*
|
|
8304
8390
|
* @param request - OfflineFlowVersionRequest
|
|
@@ -8312,10 +8398,10 @@ class Client extends openapi_core_1.default {
|
|
|
8312
8398
|
* Publishes a flow version.
|
|
8313
8399
|
*
|
|
8314
8400
|
* @remarks
|
|
8315
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8316
|
-
* - Before
|
|
8317
|
-
* - If you do not have a
|
|
8318
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8401
|
+
* - You can call this operation to publish a flow version. You can also click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually publish the flow version.
|
|
8402
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8403
|
+
* - If you do not have a created flow, you can manually create a flow and bind a phone number or merchant account ID to it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind a phone number or merchant account ID to it.
|
|
8404
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
8319
8405
|
*
|
|
8320
8406
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8321
8407
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8373,10 +8459,10 @@ class Client extends openapi_core_1.default {
|
|
|
8373
8459
|
* Publishes a flow version.
|
|
8374
8460
|
*
|
|
8375
8461
|
* @remarks
|
|
8376
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8377
|
-
* - Before
|
|
8378
|
-
* - If you do not have a
|
|
8379
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8462
|
+
* - You can call this operation to publish a flow version. You can also click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually publish the flow version.
|
|
8463
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8464
|
+
* - If you do not have a created flow, you can manually create a flow and bind a phone number or merchant account ID to it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind a phone number or merchant account ID to it.
|
|
8465
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
8380
8466
|
*
|
|
8381
8467
|
* @param request - OnlineFlowVersionRequest
|
|
8382
8468
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8602,10 +8688,10 @@ class Client extends openapi_core_1.default {
|
|
|
8602
8688
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8603
8689
|
}
|
|
8604
8690
|
/**
|
|
8605
|
-
* Queries all
|
|
8691
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8606
8692
|
*
|
|
8607
8693
|
* @remarks
|
|
8608
|
-
* The
|
|
8694
|
+
* The queries per second (QPS) limit per user for this API operation is 10. If you exceed this limit, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
8609
8695
|
*
|
|
8610
8696
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8611
8697
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8649,10 +8735,10 @@ class Client extends openapi_core_1.default {
|
|
|
8649
8735
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
8650
8736
|
}
|
|
8651
8737
|
/**
|
|
8652
|
-
* Queries all
|
|
8738
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8653
8739
|
*
|
|
8654
8740
|
* @remarks
|
|
8655
|
-
* The
|
|
8741
|
+
* The queries per second (QPS) limit per user for this API operation is 10. If you exceed this limit, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
8656
8742
|
*
|
|
8657
8743
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8658
8744
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -8662,7 +8748,7 @@ class Client extends openapi_core_1.default {
|
|
|
8662
8748
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8663
8749
|
}
|
|
8664
8750
|
/**
|
|
8665
|
-
*
|
|
8751
|
+
* Queries an instance.
|
|
8666
8752
|
*
|
|
8667
8753
|
* @param request - QueryInstanceRequest
|
|
8668
8754
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8691,7 +8777,7 @@ class Client extends openapi_core_1.default {
|
|
|
8691
8777
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryInstanceResponse({}));
|
|
8692
8778
|
}
|
|
8693
8779
|
/**
|
|
8694
|
-
*
|
|
8780
|
+
* Queries an instance.
|
|
8695
8781
|
*
|
|
8696
8782
|
* @param request - QueryInstanceRequest
|
|
8697
8783
|
* @returns QueryInstanceResponse
|
|
@@ -8701,7 +8787,7 @@ class Client extends openapi_core_1.default {
|
|
|
8701
8787
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8702
8788
|
}
|
|
8703
8789
|
/**
|
|
8704
|
-
* Queries whether a marketing message
|
|
8790
|
+
* Queries whether a marketing message takes effect.
|
|
8705
8791
|
*
|
|
8706
8792
|
* @param request - QueryMMLActiveRequest
|
|
8707
8793
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8739,7 +8825,7 @@ class Client extends openapi_core_1.default {
|
|
|
8739
8825
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8740
8826
|
}
|
|
8741
8827
|
/**
|
|
8742
|
-
* Queries whether a marketing message
|
|
8828
|
+
* Queries whether a marketing message takes effect.
|
|
8743
8829
|
*
|
|
8744
8830
|
* @param request - QueryMMLActiveRequest
|
|
8745
8831
|
* @returns QueryMMLActiveResponse
|
|
@@ -8752,7 +8838,7 @@ class Client extends openapi_core_1.default {
|
|
|
8752
8838
|
* Queries the business information of a phone number.
|
|
8753
8839
|
*
|
|
8754
8840
|
* @remarks
|
|
8755
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
8841
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
8756
8842
|
*
|
|
8757
8843
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8758
8844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8796,7 +8882,7 @@ class Client extends openapi_core_1.default {
|
|
|
8796
8882
|
* Queries the business information of a phone number.
|
|
8797
8883
|
*
|
|
8798
8884
|
* @remarks
|
|
8799
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
8885
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
8800
8886
|
*
|
|
8801
8887
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8802
8888
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8866,9 +8952,9 @@ class Client extends openapi_core_1.default {
|
|
|
8866
8952
|
* Retrieves the details of a flow.
|
|
8867
8953
|
*
|
|
8868
8954
|
* @remarks
|
|
8869
|
-
* - You can call this operation to retrieve flow details
|
|
8870
|
-
* - Before calling this operation, ensure that you have
|
|
8871
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
8955
|
+
* - You can call this operation to retrieve flow details or manually view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8956
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
8957
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create one.
|
|
8872
8958
|
*
|
|
8873
8959
|
* @param tmpReq - ReadChatFlowRequest
|
|
8874
8960
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8920,9 +9006,9 @@ class Client extends openapi_core_1.default {
|
|
|
8920
9006
|
* Retrieves the details of a flow.
|
|
8921
9007
|
*
|
|
8922
9008
|
* @remarks
|
|
8923
|
-
* - You can call this operation to retrieve flow details
|
|
8924
|
-
* - Before calling this operation, ensure that you have
|
|
8925
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
9009
|
+
* - You can call this operation to retrieve flow details or manually view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
9010
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
9011
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create one.
|
|
8926
9012
|
*
|
|
8927
9013
|
* @param request - ReadChatFlowRequest
|
|
8928
9014
|
* @returns ReadChatFlowResponse
|
|
@@ -8935,9 +9021,9 @@ class Client extends openapi_core_1.default {
|
|
|
8935
9021
|
* Queries the flow log settings.
|
|
8936
9022
|
*
|
|
8937
9023
|
* @remarks
|
|
8938
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8939
|
-
* - If flow log settings
|
|
8940
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9024
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9025
|
+
* - If flow log settings are not created for your flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
9026
|
+
* - You can use the unique ID of the settings returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8941
9027
|
*
|
|
8942
9028
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8943
9029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8978,9 +9064,9 @@ class Client extends openapi_core_1.default {
|
|
|
8978
9064
|
* Queries the flow log settings.
|
|
8979
9065
|
*
|
|
8980
9066
|
* @remarks
|
|
8981
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8982
|
-
* - If flow log settings
|
|
8983
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9067
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9068
|
+
* - If flow log settings are not created for your flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
9069
|
+
* - You can use the unique ID of the settings returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8984
9070
|
*
|
|
8985
9071
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8986
9072
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8990,12 +9076,12 @@ class Client extends openapi_core_1.default {
|
|
|
8990
9076
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8991
9077
|
}
|
|
8992
9078
|
/**
|
|
8993
|
-
* Retrieves
|
|
9079
|
+
* Retrieves the flow version.
|
|
8994
9080
|
*
|
|
8995
9081
|
* @remarks
|
|
8996
|
-
* - You can call this operation to query
|
|
8997
|
-
* - Before calling this operation, make sure that you have
|
|
8998
|
-
* - If you do not have a
|
|
9082
|
+
* - You can call this operation to query the flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow version.
|
|
9083
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9084
|
+
* - If you do not have a created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
8999
9085
|
*
|
|
9000
9086
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9001
9087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9053,12 +9139,12 @@ class Client extends openapi_core_1.default {
|
|
|
9053
9139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
9054
9140
|
}
|
|
9055
9141
|
/**
|
|
9056
|
-
* Retrieves
|
|
9142
|
+
* Retrieves the flow version.
|
|
9057
9143
|
*
|
|
9058
9144
|
* @remarks
|
|
9059
|
-
* - You can call this operation to query
|
|
9060
|
-
* - Before calling this operation, make sure that you have
|
|
9061
|
-
* - If you do not have a
|
|
9145
|
+
* - You can call this operation to query the flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow version.
|
|
9146
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9147
|
+
* - If you do not have a created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
9062
9148
|
*
|
|
9063
9149
|
* @param request - ReadFlowVersionRequest
|
|
9064
9150
|
* @returns ReadFlowVersionResponse
|
|
@@ -9119,10 +9205,10 @@ class Client extends openapi_core_1.default {
|
|
|
9119
9205
|
return await this.removeContactByIdWithOptions(request, runtime);
|
|
9120
9206
|
}
|
|
9121
9207
|
/**
|
|
9122
|
-
*
|
|
9208
|
+
* Calls the WhatsApp Conversion API.
|
|
9123
9209
|
*
|
|
9124
9210
|
* @remarks
|
|
9125
|
-
* The
|
|
9211
|
+
* The queries per second (QPS) limit per user is 100. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
9126
9212
|
*
|
|
9127
9213
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
9128
9214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9171,10 +9257,10 @@ class Client extends openapi_core_1.default {
|
|
|
9171
9257
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RequestWhatsappConversionApiResponse({}));
|
|
9172
9258
|
}
|
|
9173
9259
|
/**
|
|
9174
|
-
*
|
|
9260
|
+
* Calls the WhatsApp Conversion API.
|
|
9175
9261
|
*
|
|
9176
9262
|
* @remarks
|
|
9177
|
-
* The
|
|
9263
|
+
* The queries per second (QPS) limit per user is 100. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
9178
9264
|
*
|
|
9179
9265
|
* @param request - RequestWhatsappConversionApiRequest
|
|
9180
9266
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -9532,11 +9618,11 @@ class Client extends openapi_core_1.default {
|
|
|
9532
9618
|
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9533
9619
|
}
|
|
9534
9620
|
/**
|
|
9535
|
-
* Synchronizes business app
|
|
9621
|
+
* Synchronizes the history records of a business app.
|
|
9536
9622
|
*
|
|
9537
9623
|
* @remarks
|
|
9538
|
-
* - Before calling this operation, configure
|
|
9539
|
-
* - This operation takes effect only once.
|
|
9624
|
+
* - Before calling this operation, configure 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 system cannot find the configured webhook URLs during history message synchronization, which causes the synchronization to fail.
|
|
9625
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9540
9626
|
*
|
|
9541
9627
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9542
9628
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9577,11 +9663,11 @@ class Client extends openapi_core_1.default {
|
|
|
9577
9663
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
9578
9664
|
}
|
|
9579
9665
|
/**
|
|
9580
|
-
* Synchronizes business app
|
|
9666
|
+
* Synchronizes the history records of a business app.
|
|
9581
9667
|
*
|
|
9582
9668
|
* @remarks
|
|
9583
|
-
* - Before calling this operation, configure
|
|
9584
|
-
* - This operation takes effect only once.
|
|
9669
|
+
* - Before calling this operation, configure 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 system cannot find the configured webhook URLs during history message synchronization, which causes the synchronization to fail.
|
|
9670
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9585
9671
|
*
|
|
9586
9672
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9587
9673
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -9591,7 +9677,7 @@ class Client extends openapi_core_1.default {
|
|
|
9591
9677
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9592
9678
|
}
|
|
9593
9679
|
/**
|
|
9594
|
-
*
|
|
9680
|
+
* Synchronizes a flow.
|
|
9595
9681
|
*
|
|
9596
9682
|
* @param request - SyncFlowRequest
|
|
9597
9683
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9629,7 +9715,7 @@ class Client extends openapi_core_1.default {
|
|
|
9629
9715
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9630
9716
|
}
|
|
9631
9717
|
/**
|
|
9632
|
-
*
|
|
9718
|
+
* Synchronizes a flow.
|
|
9633
9719
|
*
|
|
9634
9720
|
* @param request - SyncFlowRequest
|
|
9635
9721
|
* @returns SyncFlowResponse
|
|
@@ -9639,7 +9725,7 @@ class Client extends openapi_core_1.default {
|
|
|
9639
9725
|
return await this.syncFlowWithOptions(request, runtime);
|
|
9640
9726
|
}
|
|
9641
9727
|
/**
|
|
9642
|
-
*
|
|
9728
|
+
* Queries the budget synchronously.
|
|
9643
9729
|
*
|
|
9644
9730
|
* @param request - SyncMessageCampaignRequest
|
|
9645
9731
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9680,7 +9766,7 @@ class Client extends openapi_core_1.default {
|
|
|
9680
9766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessageCampaignResponse({}));
|
|
9681
9767
|
}
|
|
9682
9768
|
/**
|
|
9683
|
-
*
|
|
9769
|
+
* Queries the budget synchronously.
|
|
9684
9770
|
*
|
|
9685
9771
|
* @param request - SyncMessageCampaignRequest
|
|
9686
9772
|
* @returns SyncMessageCampaignResponse
|
|
@@ -9747,13 +9833,13 @@ class Client extends openapi_core_1.default {
|
|
|
9747
9833
|
return await this.syncMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
9748
9834
|
}
|
|
9749
9835
|
/**
|
|
9750
|
-
* Triggers an online
|
|
9836
|
+
* Triggers an online flow version with a manual trigger.
|
|
9751
9837
|
*
|
|
9752
9838
|
* @remarks
|
|
9753
|
-
* - You can call this operation to trigger
|
|
9754
|
-
* - Before
|
|
9755
|
-
* - If
|
|
9756
|
-
* -
|
|
9839
|
+
* - You can call this operation to trigger an online flow version with a manual trigger. You can also trigger the flow in the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) console by using a flow with a manual trigger that is associated with a marketing activity.
|
|
9840
|
+
* - Before calling this operation, make sure that the flow you created has a manual trigger and is online.
|
|
9841
|
+
* - If the flow with a manual trigger that you created does not have an online version, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page and manually publish the flow version, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to publish the flow version.
|
|
9842
|
+
* - After triggering an online flow, if your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9757
9843
|
*
|
|
9758
9844
|
* @param tmpReq - TriggerChatFlowRequest
|
|
9759
9845
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9811,13 +9897,13 @@ class Client extends openapi_core_1.default {
|
|
|
9811
9897
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerChatFlowResponse({}));
|
|
9812
9898
|
}
|
|
9813
9899
|
/**
|
|
9814
|
-
* Triggers an online
|
|
9900
|
+
* Triggers an online flow version with a manual trigger.
|
|
9815
9901
|
*
|
|
9816
9902
|
* @remarks
|
|
9817
|
-
* - You can call this operation to trigger
|
|
9818
|
-
* - Before
|
|
9819
|
-
* - If
|
|
9820
|
-
* -
|
|
9903
|
+
* - You can call this operation to trigger an online flow version with a manual trigger. You can also trigger the flow in the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) console by using a flow with a manual trigger that is associated with a marketing activity.
|
|
9904
|
+
* - Before calling this operation, make sure that the flow you created has a manual trigger and is online.
|
|
9905
|
+
* - If the flow with a manual trigger that you created does not have an online version, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page and manually publish the flow version, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to publish the flow version.
|
|
9906
|
+
* - After triggering an online flow, if your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9821
9907
|
*
|
|
9822
9908
|
* @param request - TriggerChatFlowRequest
|
|
9823
9909
|
* @returns TriggerChatFlowResponse
|
|
@@ -9827,7 +9913,7 @@ class Client extends openapi_core_1.default {
|
|
|
9827
9913
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9828
9914
|
}
|
|
9829
9915
|
/**
|
|
9830
|
-
*
|
|
9916
|
+
* Disassociates an email account.
|
|
9831
9917
|
*
|
|
9832
9918
|
* @param request - UnbindDmAccountRequest
|
|
9833
9919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9865,7 +9951,7 @@ class Client extends openapi_core_1.default {
|
|
|
9865
9951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9866
9952
|
}
|
|
9867
9953
|
/**
|
|
9868
|
-
*
|
|
9954
|
+
* Disassociates an email account.
|
|
9869
9955
|
*
|
|
9870
9956
|
* @param request - UnbindDmAccountRequest
|
|
9871
9957
|
* @returns UnbindDmAccountResponse
|
|
@@ -10003,9 +10089,9 @@ class Client extends openapi_core_1.default {
|
|
|
10003
10089
|
* Updates the basic information of a flow based on the flow code.
|
|
10004
10090
|
*
|
|
10005
10091
|
* @remarks
|
|
10006
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10007
|
-
* - Before calling this operation,
|
|
10008
|
-
* - If you do not have a
|
|
10092
|
+
* - You can call this operation to update the basic information of a flow, or manually update it on the **Basic Information** page by choosing **Settings** > **Basic Information** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10093
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10094
|
+
* - If you do not have a created flow, you can click **Create Flow** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10009
10095
|
*
|
|
10010
10096
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10011
10097
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10063,9 +10149,9 @@ class Client extends openapi_core_1.default {
|
|
|
10063
10149
|
* Updates the basic information of a flow based on the flow code.
|
|
10064
10150
|
*
|
|
10065
10151
|
* @remarks
|
|
10066
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10067
|
-
* - Before calling this operation,
|
|
10068
|
-
* - If you do not have a
|
|
10152
|
+
* - You can call this operation to update the basic information of a flow, or manually update it on the **Basic Information** page by choosing **Settings** > **Basic Information** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10153
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10154
|
+
* - If you do not have a created flow, you can click **Create Flow** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10069
10155
|
*
|
|
10070
10156
|
* @param request - UpdateChatFlowRequest
|
|
10071
10157
|
* @returns UpdateChatFlowResponse
|
|
@@ -10078,10 +10164,10 @@ class Client extends openapi_core_1.default {
|
|
|
10078
10164
|
* Updates the flow log settings.
|
|
10079
10165
|
*
|
|
10080
10166
|
* @remarks
|
|
10081
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10082
|
-
* - Before
|
|
10083
|
-
* - If you have not created flow log settings for the flow,
|
|
10084
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10167
|
+
* - You can call this operation to update the flow log settings, or manually update them on the **Logs** tab of the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10168
|
+
* - Before you call this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10169
|
+
* - If you have not created flow log settings for the flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
10170
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10085
10171
|
*
|
|
10086
10172
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10087
10173
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10128,10 +10214,10 @@ class Client extends openapi_core_1.default {
|
|
|
10128
10214
|
* Updates the flow log settings.
|
|
10129
10215
|
*
|
|
10130
10216
|
* @remarks
|
|
10131
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10132
|
-
* - Before
|
|
10133
|
-
* - If you have not created flow log settings for the flow,
|
|
10134
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10217
|
+
* - You can call this operation to update the flow log settings, or manually update them on the **Logs** tab of the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10218
|
+
* - Before you call this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10219
|
+
* - If you have not created flow log settings for the flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
10220
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10135
10221
|
*
|
|
10136
10222
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10137
10223
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -10144,10 +10230,10 @@ class Client extends openapi_core_1.default {
|
|
|
10144
10230
|
* Modifies the information of an IM group.
|
|
10145
10231
|
*
|
|
10146
10232
|
* @remarks
|
|
10147
|
-
* >
|
|
10148
|
-
* -
|
|
10149
|
-
* - Before
|
|
10150
|
-
* - If you do not have
|
|
10233
|
+
* <notice>The feature to modify IM groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.</notice>
|
|
10234
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10235
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10236
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
10151
10237
|
*
|
|
10152
10238
|
* @param request - UpdateChatGroupRequest
|
|
10153
10239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10206,10 +10292,10 @@ class Client extends openapi_core_1.default {
|
|
|
10206
10292
|
* Modifies the information of an IM group.
|
|
10207
10293
|
*
|
|
10208
10294
|
* @remarks
|
|
10209
|
-
* >
|
|
10210
|
-
* -
|
|
10211
|
-
* - Before
|
|
10212
|
-
* - If you do not have
|
|
10295
|
+
* <notice>The feature to modify IM groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.</notice>
|
|
10296
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10297
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10298
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
10213
10299
|
*
|
|
10214
10300
|
* @param request - UpdateChatGroupRequest
|
|
10215
10301
|
* @returns UpdateChatGroupResponse
|
|
@@ -10282,7 +10368,7 @@ class Client extends openapi_core_1.default {
|
|
|
10282
10368
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10283
10369
|
}
|
|
10284
10370
|
/**
|
|
10285
|
-
*
|
|
10371
|
+
* Updates a contact.
|
|
10286
10372
|
*
|
|
10287
10373
|
* @param tmpReq - UpdateContactByIdRequest
|
|
10288
10374
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10346,7 +10432,7 @@ class Client extends openapi_core_1.default {
|
|
|
10346
10432
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
10347
10433
|
}
|
|
10348
10434
|
/**
|
|
10349
|
-
*
|
|
10435
|
+
* Updates a contact.
|
|
10350
10436
|
*
|
|
10351
10437
|
* @param request - UpdateContactByIdRequest
|
|
10352
10438
|
* @returns UpdateContactByIdResponse
|
|
@@ -10356,12 +10442,12 @@ class Client extends openapi_core_1.default {
|
|
|
10356
10442
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
10357
10443
|
}
|
|
10358
10444
|
/**
|
|
10359
|
-
* Modifies the welcome message,
|
|
10445
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10360
10446
|
*
|
|
10361
10447
|
* @remarks
|
|
10362
|
-
* ### QPS
|
|
10363
|
-
* The
|
|
10364
|
-
* This
|
|
10448
|
+
* ### QPS limits
|
|
10449
|
+
* The QPS limit per user is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
10450
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10365
10451
|
*
|
|
10366
10452
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
10367
10453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10419,12 +10505,12 @@ class Client extends openapi_core_1.default {
|
|
|
10419
10505
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
10420
10506
|
}
|
|
10421
10507
|
/**
|
|
10422
|
-
* Modifies the welcome message,
|
|
10508
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10423
10509
|
*
|
|
10424
10510
|
* @remarks
|
|
10425
|
-
* ### QPS
|
|
10426
|
-
* The
|
|
10427
|
-
* This
|
|
10511
|
+
* ### QPS limits
|
|
10512
|
+
* The QPS limit per user is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
10513
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10428
10514
|
*
|
|
10429
10515
|
* @param request - UpdateConversationalAutomationRequest
|
|
10430
10516
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -10494,12 +10580,12 @@ class Client extends openapi_core_1.default {
|
|
|
10494
10580
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10495
10581
|
}
|
|
10496
10582
|
/**
|
|
10497
|
-
* Updates the DSL data of a flow version
|
|
10583
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10498
10584
|
*
|
|
10499
10585
|
* @remarks
|
|
10500
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10501
|
-
* - Before calling this operation,
|
|
10502
|
-
* - If you have not created a flow, you can manually create
|
|
10586
|
+
* - You can call this operation to update the DSL data of a flow version. Alternatively, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10587
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10588
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
10503
10589
|
*
|
|
10504
10590
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10505
10591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10560,12 +10646,12 @@ class Client extends openapi_core_1.default {
|
|
|
10560
10646
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10561
10647
|
}
|
|
10562
10648
|
/**
|
|
10563
|
-
* Updates the DSL data of a flow version
|
|
10649
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10564
10650
|
*
|
|
10565
10651
|
* @remarks
|
|
10566
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10567
|
-
* - Before calling this operation,
|
|
10568
|
-
* - If you have not created a flow, you can manually create
|
|
10652
|
+
* - You can call this operation to update the DSL data of a flow version. Alternatively, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10653
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10654
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
10569
10655
|
*
|
|
10570
10656
|
* @param request - UpdateFlowVersionRequest
|
|
10571
10657
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10626,7 +10712,7 @@ class Client extends openapi_core_1.default {
|
|
|
10626
10712
|
return await this.updateGroupNameWithOptions(request, runtime);
|
|
10627
10713
|
}
|
|
10628
10714
|
/**
|
|
10629
|
-
*
|
|
10715
|
+
* Modifies an instance.
|
|
10630
10716
|
*
|
|
10631
10717
|
* @param request - UpdateInstanceRequest
|
|
10632
10718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10679,7 +10765,7 @@ class Client extends openapi_core_1.default {
|
|
|
10679
10765
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
10680
10766
|
}
|
|
10681
10767
|
/**
|
|
10682
|
-
*
|
|
10768
|
+
* Modifies an instance.
|
|
10683
10769
|
*
|
|
10684
10770
|
* @param request - UpdateInstanceRequest
|
|
10685
10771
|
* @returns UpdateInstanceResponse
|
|
@@ -10689,7 +10775,7 @@ class Client extends openapi_core_1.default {
|
|
|
10689
10775
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10690
10776
|
}
|
|
10691
10777
|
/**
|
|
10692
|
-
*
|
|
10778
|
+
* Updates the marketing campaign information.
|
|
10693
10779
|
*
|
|
10694
10780
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10695
10781
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10768,7 +10854,7 @@ class Client extends openapi_core_1.default {
|
|
|
10768
10854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10769
10855
|
}
|
|
10770
10856
|
/**
|
|
10771
|
-
*
|
|
10857
|
+
* Updates the marketing campaign information.
|
|
10772
10858
|
*
|
|
10773
10859
|
* @param request - UpdateMarketingFLowRequest
|
|
10774
10860
|
* @returns UpdateMarketingFLowResponse
|