@alicloud/cams20200606 5.3.0 → 5.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +298 -296
- package/dist/client.js +380 -324
- package/dist/client.js.map +1 -1
- package/dist/models/AddMarketingFlowRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowResponseBody.d.ts +24 -4
- package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +58 -10
- package/dist/models/AddMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/BindMessengerPageRequest.d.ts +8 -1
- package/dist/models/BindMessengerPageRequest.js.map +1 -1
- package/dist/models/BindMessengerPageResponseBody.d.ts +30 -0
- package/dist/models/BindMessengerPageResponseBody.js.map +1 -1
- package/dist/models/ChangeResourceGroupRequest.d.ts +7 -0
- package/dist/models/ChangeResourceGroupRequest.js.map +1 -1
- package/dist/models/ChangeResourceGroupResponseBody.d.ts +3 -0
- package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportRequest.d.ts +7 -7
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +2 -2
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +7 -7
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +3 -3
- package/dist/models/CreateChatFlowRequest.d.ts +29 -11
- package/dist/models/CreateChatFlowRequest.js +9 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +4 -4
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +27 -11
- package/dist/models/CreateChatFlowShrinkRequest.js +6 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +103 -105
- package/dist/models/CreateChatappTemplateRequest.js +2 -0
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +9 -4
- package/dist/models/CreateChatappTemplateResponseBody.js +2 -0
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +38 -25
- package/dist/models/CreateChatappTemplateShrinkRequest.js +2 -0
- package/dist/models/CreateChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +6 -6
- package/dist/models/CreateFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/CreateMessengerPageRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageRequest.js.map +1 -1
- package/dist/models/CreateMessengerPageResponseBody.d.ts +30 -3
- package/dist/models/CreateMessengerPageResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +14 -4
- package/dist/models/CreateMessengerPageShrinkRequest.js.map +1 -1
- package/dist/models/CreatePhoneMessageQrdlRequest.d.ts +3 -3
- package/dist/models/CreateWhatsappConversionApiRequest.d.ts +10 -0
- package/dist/models/CreateWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +24 -3
- package/dist/models/CreateWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.d.ts +10 -0
- package/dist/models/CreateWhatsappConversionApiShrinkRequest.js.map +1 -1
- package/dist/models/DeleteChatFlowRequest.d.ts +3 -3
- package/dist/models/DeleteChatFlowResponseBody.d.ts +5 -5
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +3 -3
- package/dist/models/DeleteContactsRequest.d.ts +23 -1
- package/dist/models/DeleteContactsRequest.js.map +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +25 -1
- package/dist/models/DeleteContactsResponseBody.js.map +1 -1
- package/dist/models/DeleteContactsShrinkRequest.d.ts +23 -1
- package/dist/models/DeleteContactsShrinkRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdRequest.d.ts +2 -0
- package/dist/models/DeleteGroupByIdRequest.js.map +1 -1
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +26 -2
- package/dist/models/DeleteGroupByIdResponseBody.js.map +1 -1
- package/dist/models/DeleteInstagramPageRequest.d.ts +5 -1
- package/dist/models/DeleteInstagramPageRequest.js.map +1 -1
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +26 -0
- package/dist/models/DeleteInstagramPageResponseBody.js.map +1 -1
- package/dist/models/DeleteMessengerPageRequest.d.ts +4 -0
- package/dist/models/DeleteMessengerPageRequest.js.map +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +24 -0
- package/dist/models/DeleteMessengerPageResponseBody.js.map +1 -1
- package/dist/models/DeletePhoneMessageQrdlRequest.d.ts +6 -3
- package/dist/models/DeletePhoneMessageQrdlRequest.js.map +1 -1
- package/dist/models/DeprecateFlowRequest.d.ts +7 -2
- package/dist/models/DeprecateFlowRequest.js.map +1 -1
- package/dist/models/DeprecateFlowResponseBody.d.ts +5 -2
- package/dist/models/DeprecateFlowResponseBody.js.map +1 -1
- package/dist/models/FlowBindPhoneRequest.d.ts +46 -17
- package/dist/models/FlowBindPhoneRequest.js +32 -1
- package/dist/models/FlowBindPhoneRequest.js.map +1 -1
- package/dist/models/FlowBindPhoneResponseBody.d.ts +6 -6
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +13 -17
- package/dist/models/FlowBindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowBindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneRequest.d.ts +42 -8
- package/dist/models/FlowRebindPhoneRequest.js +32 -1
- package/dist/models/FlowRebindPhoneRequest.js.map +1 -1
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +6 -6
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +9 -8
- package/dist/models/FlowRebindPhoneShrinkRequest.js +2 -0
- package/dist/models/FlowRebindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneRequest.d.ts +4 -6
- package/dist/models/FlowUnbindPhoneRequest.js.map +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +4 -6
- package/dist/models/FlowUnbindPhoneShrinkRequest.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +4 -0
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.js.map +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +166 -0
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricRequest.d.ts +3 -3
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +2 -2
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +3 -3
- package/dist/models/GetChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +5 -3
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +82 -68
- package/dist/models/GetChatappTemplateDetailResponseBody.js +4 -0
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListRequest.d.ts +34 -4
- package/dist/models/GetDownloadExcelListRequest.js.map +1 -1
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +24 -0
- package/dist/models/GetDownloadExcelListResponseBody.js.map +1 -1
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +34 -4
- package/dist/models/GetDownloadExcelListShrinkRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesRequest.d.ts +5 -0
- package/dist/models/GetFbInstagramPagesRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +54 -0
- package/dist/models/GetFbInstagramPagesResponseBody.js.map +1 -1
- package/dist/models/GetFbMessengerPagesRequest.d.ts +4 -0
- package/dist/models/GetFbMessengerPagesRequest.js.map +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +31 -0
- package/dist/models/GetFbMessengerPagesResponseBody.js.map +1 -1
- package/dist/models/GetFlowJsonassestRequest.d.ts +10 -2
- package/dist/models/GetFlowJsonassestRequest.js.map +1 -1
- package/dist/models/GetFlowJsonassestResponseBody.d.ts +5 -2
- package/dist/models/GetFlowJsonassestResponseBody.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlRequest.d.ts +10 -2
- package/dist/models/GetFlowPreviewUrlRequest.js.map +1 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.d.ts +4 -1
- package/dist/models/GetFlowPreviewUrlResponseBody.js.map +1 -1
- package/dist/models/GetFlowRequest.d.ts +10 -2
- package/dist/models/GetFlowRequest.js.map +1 -1
- package/dist/models/GetFlowResponseBody.d.ts +18 -5
- package/dist/models/GetFlowResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistRequest.d.ts +13 -1
- package/dist/models/GetGroupExistRequest.js.map +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +24 -0
- package/dist/models/GetGroupExistResponseBody.js.map +1 -1
- package/dist/models/GetGroupExistShrinkRequest.d.ts +13 -1
- package/dist/models/GetGroupExistShrinkRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +11 -2
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +9 -3
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.js.map +1 -1
- package/dist/models/GetViberPauseTimesRequest.d.ts +2 -0
- package/dist/models/GetViberPauseTimesRequest.js.map +1 -1
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +26 -0
- package/dist/models/GetViberPauseTimesResponseBody.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiRequest.d.ts +3 -0
- package/dist/models/GetWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +36 -0
- package/dist/models/GetWhatsappConversionApiResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsRequest.js.map +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +36 -0
- package/dist/models/ListAllGroupsResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +11 -1
- package/dist/models/ListAllGroupsShrinkRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountRequest.d.ts +3 -1
- package/dist/models/ListBindDmAccountRequest.js.map +1 -1
- package/dist/models/ListBindDmAccountResponseBody.d.ts +44 -0
- package/dist/models/ListBindDmAccountResponseBody.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +2 -6
- package/dist/models/ListBindingRelationsForFlowVersionRequest.js.map +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/ListChatFlowRequest.d.ts +44 -0
- package/dist/models/ListChatFlowRequest.js +8 -0
- package/dist/models/ListChatFlowRequest.js.map +1 -1
- package/dist/models/ListChatFlowShrinkRequest.d.ts +44 -0
- package/dist/models/ListChatFlowShrinkRequest.js +8 -0
- package/dist/models/ListChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateRequest.d.ts +3 -7
- package/dist/models/ListChatFlowTemplateRequest.js.map +1 -1
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +7 -7
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +7 -9
- package/dist/models/ListChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +6 -6
- package/dist/models/ListChatappTemplateRequest.d.ts +16 -13
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +32 -39
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +15 -12
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListDmTagRequest.d.ts +9 -0
- package/dist/models/ListDmTagRequest.js.map +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +39 -0
- package/dist/models/ListDmTagResponseBody.js.map +1 -1
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +8 -8
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +22 -19
- package/dist/models/ListFlowNodePrototypeV2responseBody.js.map +1 -1
- package/dist/models/ListFlowRequest.d.ts +26 -2
- package/dist/models/ListFlowRequest.js.map +1 -1
- package/dist/models/ListFlowResponseBody.d.ts +7 -4
- package/dist/models/ListFlowResponseBody.js.map +1 -1
- package/dist/models/ListFlowShrinkRequest.d.ts +12 -2
- package/dist/models/ListFlowShrinkRequest.js.map +1 -1
- package/dist/models/ListFlowVersionRequest.d.ts +10 -14
- package/dist/models/ListFlowVersionRequest.js.map +1 -1
- package/dist/models/ListFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +10 -14
- package/dist/models/ListFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/ListInstagramPostsRequest.d.ts +2 -0
- package/dist/models/ListInstagramPostsRequest.js.map +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +44 -0
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +9 -10
- package/dist/models/ListInstanceRequest.js +4 -0
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +14 -16
- package/dist/models/ListInstanceResponseBody.js.map +1 -1
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +1 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +3 -3
- package/dist/models/ListViberServiceMessageRequest.d.ts +2 -0
- package/dist/models/ListViberServiceMessageRequest.js.map +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +57 -2
- package/dist/models/ListViberServiceMessageResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +46 -42
- package/dist/models/ModifyChatappTemplateRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +7 -2
- package/dist/models/ModifyChatappTemplateResponseBody.js +2 -0
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +19 -11
- package/dist/models/ModifyChatappTemplateShrinkRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupRequest.d.ts +19 -1
- package/dist/models/MoveContactToGroupRequest.js.map +1 -1
- package/dist/models/MoveContactToGroupResponseBody.d.ts +27 -2
- package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +19 -1
- package/dist/models/MoveContactToGroupShrinkRequest.js.map +1 -1
- package/dist/models/OfflineFlowVersionRequest.d.ts +5 -5
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +5 -5
- package/dist/models/OnlineFlowVersionRequest.d.ts +6 -6
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/OpenChatappServiceResponseBody.d.ts +16 -0
- package/dist/models/OpenChatappServiceResponseBody.js.map +1 -1
- package/dist/models/PauseMarketingFlowRequest.d.ts +6 -0
- package/dist/models/PauseMarketingFlowRequest.js.map +1 -1
- package/dist/models/PauseMarketingFlowResponseBody.d.ts +27 -3
- package/dist/models/PauseMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/QueryMmlactiveRequest.d.ts +3 -0
- package/dist/models/QueryMmlactiveRequest.js.map +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +27 -3
- package/dist/models/QueryMmlactiveResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +4 -4
- package/dist/models/ReadChatFlowRequest.d.ts +3 -3
- package/dist/models/ReadChatFlowResponseBody.d.ts +5 -5
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +3 -3
- package/dist/models/ReadFlowVersionRequest.d.ts +8 -0
- package/dist/models/ReadFlowVersionRequest.js +2 -0
- package/dist/models/ReadFlowVersionRequest.js.map +1 -1
- package/dist/models/ReadFlowVersionResponseBody.d.ts +1 -1
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +8 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js +2 -0
- package/dist/models/ReadFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdRequest.d.ts +4 -0
- package/dist/models/RemoveContactByIdRequest.js.map +1 -1
- package/dist/models/RemoveContactByIdResponseBody.d.ts +30 -4
- package/dist/models/RemoveContactByIdResponseBody.js.map +1 -1
- package/dist/models/SendChatappMessageRequest.d.ts +166 -54
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +169 -57
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SyncFlowRequest.d.ts +1 -1
- package/dist/models/SyncFlowResponseBody.d.ts +23 -0
- package/dist/models/SyncFlowResponseBody.js.map +1 -1
- package/dist/models/UnbindDmAccountRequest.d.ts +2 -0
- package/dist/models/UnbindDmAccountRequest.js.map +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +24 -0
- package/dist/models/UnbindDmAccountResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowRequest.d.ts +7 -7
- package/dist/models/UpdateChatFlowResponseBody.d.ts +4 -4
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +7 -7
- package/dist/models/UpdateContactByIdRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdRequest.js.map +1 -1
- package/dist/models/UpdateContactByIdResponseBody.d.ts +31 -5
- package/dist/models/UpdateContactByIdResponseBody.js.map +1 -1
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +30 -6
- package/dist/models/UpdateContactByIdShrinkRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionRequest.d.ts +15 -7
- package/dist/models/UpdateFlowVersionRequest.js +2 -0
- package/dist/models/UpdateFlowVersionRequest.js.map +1 -1
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +1 -1
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +15 -7
- package/dist/models/UpdateFlowVersionShrinkRequest.js +2 -0
- package/dist/models/UpdateFlowVersionShrinkRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameRequest.d.ts +6 -2
- package/dist/models/UpdateGroupNameRequest.js.map +1 -1
- package/dist/models/UpdateGroupNameResponseBody.d.ts +31 -5
- package/dist/models/UpdateGroupNameResponseBody.js.map +1 -1
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +2 -2
- package/dist/models/WhatsappCallRequest.d.ts +6 -8
- package/dist/models/WhatsappCallRequest.js.map +1 -1
- package/dist/models/WhatsappCallResponseBody.d.ts +4 -6
- package/dist/models/WhatsappCallResponseBody.js.map +1 -1
- package/dist/models/WhatsappCallShrinkRequest.d.ts +4 -6
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +23 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +398 -324
- package/src/models/AddMarketingFlowRequest.ts +58 -10
- package/src/models/AddMarketingFlowResponseBody.ts +24 -4
- package/src/models/AddMarketingFlowShrinkRequest.ts +58 -10
- package/src/models/BindMessengerPageRequest.ts +8 -1
- package/src/models/BindMessengerPageResponseBody.ts +30 -0
- package/src/models/ChangeResourceGroupRequest.ts +7 -0
- package/src/models/ChangeResourceGroupResponseBody.ts +3 -0
- package/src/models/CreateChatFlowByImportRequest.ts +7 -7
- package/src/models/CreateChatFlowByImportResponseBody.ts +2 -2
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +7 -7
- package/src/models/CreateChatFlowLogSettingRequest.ts +1 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +3 -3
- package/src/models/CreateChatFlowRequest.ts +36 -11
- package/src/models/CreateChatFlowResponseBody.ts +4 -4
- package/src/models/CreateChatFlowShrinkRequest.ts +33 -11
- package/src/models/CreateChatappTemplateRequest.ts +108 -108
- package/src/models/CreateChatappTemplateResponseBody.ts +11 -4
- package/src/models/CreateChatappTemplateShrinkRequest.ts +40 -25
- package/src/models/CreateFlowVersionRequest.ts +6 -6
- package/src/models/CreateFlowVersionResponseBody.ts +5 -5
- package/src/models/CreateFlowVersionShrinkRequest.ts +6 -6
- package/src/models/CreateMessengerPageRequest.ts +14 -4
- package/src/models/CreateMessengerPageResponseBody.ts +30 -3
- package/src/models/CreateMessengerPageShrinkRequest.ts +14 -4
- package/src/models/CreatePhoneMessageQrdlRequest.ts +3 -3
- package/src/models/CreateWhatsappConversionApiRequest.ts +10 -0
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +24 -3
- package/src/models/CreateWhatsappConversionApiShrinkRequest.ts +10 -0
- package/src/models/DeleteChatFlowRequest.ts +3 -3
- package/src/models/DeleteChatFlowResponseBody.ts +5 -5
- package/src/models/DeleteChatFlowShrinkRequest.ts +3 -3
- package/src/models/DeleteContactsRequest.ts +23 -1
- package/src/models/DeleteContactsResponseBody.ts +25 -1
- package/src/models/DeleteContactsShrinkRequest.ts +23 -1
- package/src/models/DeleteGroupByIdRequest.ts +2 -0
- package/src/models/DeleteGroupByIdResponseBody.ts +26 -2
- package/src/models/DeleteInstagramPageRequest.ts +5 -1
- package/src/models/DeleteInstagramPageResponseBody.ts +26 -0
- package/src/models/DeleteMessengerPageRequest.ts +4 -0
- package/src/models/DeleteMessengerPageResponseBody.ts +24 -0
- package/src/models/DeletePhoneMessageQrdlRequest.ts +6 -3
- package/src/models/DeprecateFlowRequest.ts +7 -2
- package/src/models/DeprecateFlowResponseBody.ts +5 -2
- package/src/models/FlowBindPhoneRequest.ts +68 -17
- package/src/models/FlowBindPhoneResponseBody.ts +6 -6
- package/src/models/FlowBindPhoneShrinkRequest.ts +15 -17
- package/src/models/FlowRebindPhoneRequest.ts +64 -8
- package/src/models/FlowRebindPhoneResponseBody.ts +6 -6
- package/src/models/FlowRebindPhoneShrinkRequest.ts +11 -8
- package/src/models/FlowUnbindPhoneRequest.ts +4 -6
- package/src/models/FlowUnbindPhoneResponseBody.ts +5 -5
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +4 -6
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +4 -0
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +166 -0
- package/src/models/GetChatFlowMetricRequest.ts +3 -3
- package/src/models/GetChatFlowMetricResponseBody.ts +2 -2
- package/src/models/GetChatFlowMetricShrinkRequest.ts +3 -3
- package/src/models/GetChatFlowTemplateRequest.ts +2 -2
- package/src/models/GetChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/GetChatappTemplateDetailRequest.ts +5 -3
- package/src/models/GetChatappTemplateDetailResponseBody.ts +86 -68
- package/src/models/GetDownloadExcelListRequest.ts +34 -4
- package/src/models/GetDownloadExcelListResponseBody.ts +24 -0
- package/src/models/GetDownloadExcelListShrinkRequest.ts +34 -4
- package/src/models/GetFbInstagramPagesRequest.ts +5 -0
- package/src/models/GetFbInstagramPagesResponseBody.ts +54 -0
- package/src/models/GetFbMessengerPagesRequest.ts +4 -0
- package/src/models/GetFbMessengerPagesResponseBody.ts +31 -0
- package/src/models/GetFlowJsonassestRequest.ts +10 -2
- package/src/models/GetFlowJsonassestResponseBody.ts +5 -2
- package/src/models/GetFlowPreviewUrlRequest.ts +10 -2
- package/src/models/GetFlowPreviewUrlResponseBody.ts +4 -1
- package/src/models/GetFlowRequest.ts +10 -2
- package/src/models/GetFlowResponseBody.ts +18 -5
- package/src/models/GetGroupExistRequest.ts +13 -1
- package/src/models/GetGroupExistResponseBody.ts +24 -0
- package/src/models/GetGroupExistShrinkRequest.ts +13 -1
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +11 -2
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +9 -3
- package/src/models/GetViberPauseTimesRequest.ts +2 -0
- package/src/models/GetViberPauseTimesResponseBody.ts +26 -0
- package/src/models/GetWhatsappConversionApiRequest.ts +3 -0
- package/src/models/GetWhatsappConversionApiResponseBody.ts +36 -0
- package/src/models/ListAllGroupsRequest.ts +11 -1
- package/src/models/ListAllGroupsResponseBody.ts +36 -0
- package/src/models/ListAllGroupsShrinkRequest.ts +11 -1
- package/src/models/ListBindDmAccountRequest.ts +3 -1
- package/src/models/ListBindDmAccountResponseBody.ts +44 -0
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +2 -6
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +4 -4
- package/src/models/ListChatFlowRequest.ts +52 -0
- package/src/models/ListChatFlowShrinkRequest.ts +52 -0
- package/src/models/ListChatFlowTemplateRequest.ts +3 -7
- package/src/models/ListChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/ListChatGroupParticipantsRequest.ts +7 -7
- package/src/models/ListChatGroupParticipantsResponseBody.ts +7 -9
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +6 -6
- package/src/models/ListChatappTemplateRequest.ts +16 -13
- package/src/models/ListChatappTemplateResponseBody.ts +32 -39
- package/src/models/ListChatappTemplateShrinkRequest.ts +15 -12
- package/src/models/ListDmTagRequest.ts +9 -0
- package/src/models/ListDmTagResponseBody.ts +39 -0
- package/src/models/ListFlowNodePrototypeV2request.ts +8 -8
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +22 -19
- package/src/models/ListFlowRequest.ts +26 -2
- package/src/models/ListFlowResponseBody.ts +7 -4
- package/src/models/ListFlowShrinkRequest.ts +12 -2
- package/src/models/ListFlowVersionRequest.ts +10 -14
- package/src/models/ListFlowVersionResponseBody.ts +4 -4
- package/src/models/ListFlowVersionShrinkRequest.ts +10 -14
- package/src/models/ListInstagramPostsRequest.ts +2 -0
- package/src/models/ListInstagramPostsResponseBody.ts +44 -0
- package/src/models/ListInstanceRequest.ts +13 -10
- package/src/models/ListInstanceResponseBody.ts +14 -16
- package/src/models/ListPhoneMessageQrdlRequest.ts +1 -1
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +3 -3
- package/src/models/ListViberServiceMessageRequest.ts +2 -0
- package/src/models/ListViberServiceMessageResponseBody.ts +57 -2
- package/src/models/ModifyChatappTemplateRequest.ts +48 -42
- package/src/models/ModifyChatappTemplateResponseBody.ts +9 -2
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +21 -11
- package/src/models/MoveContactToGroupRequest.ts +19 -1
- package/src/models/MoveContactToGroupResponseBody.ts +27 -2
- package/src/models/MoveContactToGroupShrinkRequest.ts +19 -1
- package/src/models/OfflineFlowVersionRequest.ts +5 -5
- package/src/models/OfflineFlowVersionResponseBody.ts +5 -5
- package/src/models/OfflineFlowVersionShrinkRequest.ts +5 -5
- package/src/models/OnlineFlowVersionRequest.ts +6 -6
- package/src/models/OnlineFlowVersionResponseBody.ts +4 -4
- package/src/models/OnlineFlowVersionShrinkRequest.ts +6 -6
- package/src/models/OpenChatappServiceResponseBody.ts +16 -0
- package/src/models/PauseMarketingFlowRequest.ts +6 -0
- package/src/models/PauseMarketingFlowResponseBody.ts +27 -3
- package/src/models/QueryMmlactiveRequest.ts +3 -0
- package/src/models/QueryMmlactiveResponseBody.ts +27 -3
- package/src/models/ReadChatFlowLogSettingRequest.ts +1 -1
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +4 -4
- package/src/models/ReadChatFlowRequest.ts +3 -3
- package/src/models/ReadChatFlowResponseBody.ts +5 -5
- package/src/models/ReadChatFlowShrinkRequest.ts +3 -3
- package/src/models/ReadFlowVersionRequest.ts +10 -0
- package/src/models/ReadFlowVersionResponseBody.ts +1 -1
- package/src/models/ReadFlowVersionShrinkRequest.ts +10 -0
- package/src/models/RemoveContactByIdRequest.ts +4 -0
- package/src/models/RemoveContactByIdResponseBody.ts +30 -4
- package/src/models/SendChatappMessageRequest.ts +166 -54
- package/src/models/SendChatappMessageShrinkRequest.ts +169 -57
- package/src/models/SyncFlowRequest.ts +1 -1
- package/src/models/SyncFlowResponseBody.ts +23 -0
- package/src/models/UnbindDmAccountRequest.ts +2 -0
- package/src/models/UnbindDmAccountResponseBody.ts +24 -0
- package/src/models/UpdateChatFlowRequest.ts +7 -7
- package/src/models/UpdateChatFlowResponseBody.ts +4 -4
- package/src/models/UpdateChatFlowShrinkRequest.ts +7 -7
- package/src/models/UpdateContactByIdRequest.ts +30 -6
- package/src/models/UpdateContactByIdResponseBody.ts +31 -5
- package/src/models/UpdateContactByIdShrinkRequest.ts +30 -6
- package/src/models/UpdateFlowVersionRequest.ts +17 -7
- package/src/models/UpdateFlowVersionResponseBody.ts +1 -1
- package/src/models/UpdateFlowVersionShrinkRequest.ts +17 -7
- package/src/models/UpdateGroupNameRequest.ts +6 -2
- package/src/models/UpdateGroupNameResponseBody.ts +31 -5
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +2 -2
- package/src/models/WhatsappCallRequest.ts +6 -8
- package/src/models/WhatsappCallResponseBody.ts +4 -6
- package/src/models/WhatsappCallShrinkRequest.ts +4 -6
- package/src/models/model.ts +2 -0
package/dist/client.js
CHANGED
|
@@ -633,7 +633,7 @@ class Client extends openapi_core_1.default {
|
|
|
633
633
|
return await this.addGroupWithOptions(request, runtime);
|
|
634
634
|
}
|
|
635
635
|
/**
|
|
636
|
-
*
|
|
636
|
+
* Creates a campaign.
|
|
637
637
|
*
|
|
638
638
|
* @param tmpReq - AddMarketingFlowRequest
|
|
639
639
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -715,7 +715,7 @@ class Client extends openapi_core_1.default {
|
|
|
715
715
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
716
716
|
}
|
|
717
717
|
/**
|
|
718
|
-
*
|
|
718
|
+
* Creates a campaign.
|
|
719
719
|
*
|
|
720
720
|
* @param request - AddMarketingFlowRequest
|
|
721
721
|
* @returns AddMarketingFlowResponse
|
|
@@ -891,7 +891,7 @@ class Client extends openapi_core_1.default {
|
|
|
891
891
|
return await this.bindInstagramPageWithOptions(request, runtime);
|
|
892
892
|
}
|
|
893
893
|
/**
|
|
894
|
-
*
|
|
894
|
+
* Binds the selected pageId.
|
|
895
895
|
*
|
|
896
896
|
* @param request - BindMessengerPageRequest
|
|
897
897
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -935,7 +935,7 @@ class Client extends openapi_core_1.default {
|
|
|
935
935
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindMessengerPageResponse({}));
|
|
936
936
|
}
|
|
937
937
|
/**
|
|
938
|
-
*
|
|
938
|
+
* Binds the selected pageId.
|
|
939
939
|
*
|
|
940
940
|
* @param request - BindMessengerPageRequest
|
|
941
941
|
* @returns BindMessengerPageResponse
|
|
@@ -945,7 +945,7 @@ class Client extends openapi_core_1.default {
|
|
|
945
945
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
946
946
|
}
|
|
947
947
|
/**
|
|
948
|
-
*
|
|
948
|
+
* Moves a resource to a different resource group.
|
|
949
949
|
*
|
|
950
950
|
* @param request - ChangeResourceGroupRequest
|
|
951
951
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,7 +980,7 @@ class Client extends openapi_core_1.default {
|
|
|
980
980
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
981
981
|
}
|
|
982
982
|
/**
|
|
983
|
-
*
|
|
983
|
+
* Moves a resource to a different resource group.
|
|
984
984
|
*
|
|
985
985
|
* @param request - ChangeResourceGroupRequest
|
|
986
986
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1505,8 +1505,8 @@ class Client extends openapi_core_1.default {
|
|
|
1505
1505
|
* Creates a flow.
|
|
1506
1506
|
*
|
|
1507
1507
|
* @remarks
|
|
1508
|
-
* -
|
|
1509
|
-
* - After
|
|
1508
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1509
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1510
1510
|
*
|
|
1511
1511
|
* @param tmpReq - CreateChatFlowRequest
|
|
1512
1512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1519,6 +1519,9 @@ class Client extends openapi_core_1.default {
|
|
|
1519
1519
|
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1520
1520
|
request.bizExtendShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1521
1521
|
}
|
|
1522
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1523
|
+
request.lifeCycleExtendDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1524
|
+
}
|
|
1522
1525
|
let query = {};
|
|
1523
1526
|
if (!$dara.isNull(request.bizCode)) {
|
|
1524
1527
|
query["BizCode"] = request.bizCode;
|
|
@@ -1526,9 +1529,18 @@ class Client extends openapi_core_1.default {
|
|
|
1526
1529
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1527
1530
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1528
1531
|
}
|
|
1532
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1533
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1534
|
+
}
|
|
1535
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1536
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1537
|
+
}
|
|
1529
1538
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1530
1539
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1531
1540
|
}
|
|
1541
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1542
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1543
|
+
}
|
|
1532
1544
|
if (!$dara.isNull(request.ownerId)) {
|
|
1533
1545
|
query["OwnerId"] = request.ownerId;
|
|
1534
1546
|
}
|
|
@@ -1564,8 +1576,8 @@ class Client extends openapi_core_1.default {
|
|
|
1564
1576
|
* Creates a flow.
|
|
1565
1577
|
*
|
|
1566
1578
|
* @remarks
|
|
1567
|
-
* -
|
|
1568
|
-
* - After
|
|
1579
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1580
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1569
1581
|
*
|
|
1570
1582
|
* @param request - CreateChatFlowRequest
|
|
1571
1583
|
* @returns CreateChatFlowResponse
|
|
@@ -1578,9 +1590,9 @@ class Client extends openapi_core_1.default {
|
|
|
1578
1590
|
* Creates and imports a flow.
|
|
1579
1591
|
*
|
|
1580
1592
|
* @remarks
|
|
1581
|
-
* - You can call this operation to create and import a flow
|
|
1582
|
-
* - Before
|
|
1583
|
-
* - If you do not have
|
|
1593
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1594
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1595
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1584
1596
|
*
|
|
1585
1597
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1586
1598
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1638,9 +1650,9 @@ class Client extends openapi_core_1.default {
|
|
|
1638
1650
|
* Creates and imports a flow.
|
|
1639
1651
|
*
|
|
1640
1652
|
* @remarks
|
|
1641
|
-
* - You can call this operation to create and import a flow
|
|
1642
|
-
* - Before
|
|
1643
|
-
* - If you do not have
|
|
1653
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1654
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1655
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1644
1656
|
*
|
|
1645
1657
|
* @param request - CreateChatFlowByImportRequest
|
|
1646
1658
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1650,13 +1662,13 @@ class Client extends openapi_core_1.default {
|
|
|
1650
1662
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1651
1663
|
}
|
|
1652
1664
|
/**
|
|
1653
|
-
* Creates
|
|
1665
|
+
* Creates a flow log setting.
|
|
1654
1666
|
*
|
|
1655
1667
|
* @remarks
|
|
1656
|
-
* - To update
|
|
1657
|
-
* - If you do not need to update the log
|
|
1658
|
-
* - Before
|
|
1659
|
-
* - If you do not have a successfully created flow, you can create
|
|
1668
|
+
* - To update a flow log setting by using an API, you must first create a flow log setting. After the setting is created, you can call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the flow log setting information, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log setting.
|
|
1669
|
+
* - If you do not need to update the flow log setting by using an API, you can manually update the flow log information in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log** page.
|
|
1670
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1671
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1660
1672
|
*
|
|
1661
1673
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1662
1674
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1694,13 +1706,13 @@ class Client extends openapi_core_1.default {
|
|
|
1694
1706
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1695
1707
|
}
|
|
1696
1708
|
/**
|
|
1697
|
-
* Creates
|
|
1709
|
+
* Creates a flow log setting.
|
|
1698
1710
|
*
|
|
1699
1711
|
* @remarks
|
|
1700
|
-
* - To update
|
|
1701
|
-
* - If you do not need to update the log
|
|
1702
|
-
* - Before
|
|
1703
|
-
* - If you do not have a successfully created flow, you can create
|
|
1712
|
+
* - To update a flow log setting by using an API, you must first create a flow log setting. After the setting is created, you can call the [ReadChatFlowLogSetting](https://help.aliyun.com/document_detail/2937212.html) operation to view the flow log setting information, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log setting.
|
|
1713
|
+
* - If you do not need to update the flow log setting by using an API, you can manually update the flow log information in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Log** page.
|
|
1714
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1715
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1704
1716
|
*
|
|
1705
1717
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1706
1718
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1770,13 +1782,13 @@ class Client extends openapi_core_1.default {
|
|
|
1770
1782
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1771
1783
|
}
|
|
1772
1784
|
/**
|
|
1773
|
-
* Creates a message template. After
|
|
1785
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1774
1786
|
*
|
|
1775
1787
|
* @remarks
|
|
1776
1788
|
* ### QPS limit
|
|
1777
|
-
* The
|
|
1778
|
-
* ### Status
|
|
1779
|
-
* You can monitor template status and quality changes
|
|
1789
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
1790
|
+
* ### Status changes
|
|
1791
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
1780
1792
|
*
|
|
1781
1793
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1782
1794
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1792,45 +1804,48 @@ class Client extends openapi_core_1.default {
|
|
|
1792
1804
|
if (!$dara.isNull(tmpReq.example)) {
|
|
1793
1805
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
1794
1806
|
}
|
|
1795
|
-
let
|
|
1807
|
+
let query = {};
|
|
1796
1808
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
1797
|
-
|
|
1809
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
1798
1810
|
}
|
|
1799
1811
|
if (!$dara.isNull(request.category)) {
|
|
1800
|
-
|
|
1812
|
+
query["Category"] = request.category;
|
|
1801
1813
|
}
|
|
1802
1814
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
1803
|
-
|
|
1815
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
1804
1816
|
}
|
|
1805
1817
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
1806
|
-
|
|
1818
|
+
query["Components"] = request.componentsShrink;
|
|
1807
1819
|
}
|
|
1808
1820
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1809
|
-
|
|
1821
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1810
1822
|
}
|
|
1811
1823
|
if (!$dara.isNull(request.custWabaId)) {
|
|
1812
|
-
|
|
1824
|
+
query["CustWabaId"] = request.custWabaId;
|
|
1813
1825
|
}
|
|
1814
1826
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
1815
|
-
|
|
1827
|
+
query["Example"] = request.exampleShrink;
|
|
1816
1828
|
}
|
|
1817
1829
|
if (!$dara.isNull(request.isvCode)) {
|
|
1818
|
-
|
|
1830
|
+
query["IsvCode"] = request.isvCode;
|
|
1819
1831
|
}
|
|
1820
1832
|
if (!$dara.isNull(request.language)) {
|
|
1821
|
-
|
|
1833
|
+
query["Language"] = request.language;
|
|
1822
1834
|
}
|
|
1823
1835
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
1824
|
-
|
|
1836
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
1825
1837
|
}
|
|
1826
1838
|
if (!$dara.isNull(request.name)) {
|
|
1827
|
-
|
|
1839
|
+
query["Name"] = request.name;
|
|
1840
|
+
}
|
|
1841
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
1842
|
+
query["ProductSetId"] = request.productSetId;
|
|
1828
1843
|
}
|
|
1829
1844
|
if (!$dara.isNull(request.templateType)) {
|
|
1830
|
-
|
|
1845
|
+
query["TemplateType"] = request.templateType;
|
|
1831
1846
|
}
|
|
1832
1847
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1833
|
-
|
|
1848
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1834
1849
|
});
|
|
1835
1850
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1836
1851
|
action: "CreateChatappTemplate",
|
|
@@ -1846,13 +1861,13 @@ class Client extends openapi_core_1.default {
|
|
|
1846
1861
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1847
1862
|
}
|
|
1848
1863
|
/**
|
|
1849
|
-
* Creates a message template. After
|
|
1864
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1850
1865
|
*
|
|
1851
1866
|
* @remarks
|
|
1852
1867
|
* ### QPS limit
|
|
1853
|
-
* The
|
|
1854
|
-
* ### Status
|
|
1855
|
-
* You can monitor template status and quality changes
|
|
1868
|
+
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
1869
|
+
* ### Status changes
|
|
1870
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
1856
1871
|
*
|
|
1857
1872
|
* @param request - CreateChatappTemplateRequest
|
|
1858
1873
|
* @returns CreateChatappTemplateResponse
|
|
@@ -1996,12 +2011,12 @@ class Client extends openapi_core_1.default {
|
|
|
1996
2011
|
return await this.createFlowWithOptions(request, runtime);
|
|
1997
2012
|
}
|
|
1998
2013
|
/**
|
|
1999
|
-
* Creates a new version
|
|
2014
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2000
2015
|
*
|
|
2001
2016
|
* @remarks
|
|
2002
|
-
* - You can call this operation to create a new flow version
|
|
2003
|
-
* - Before
|
|
2004
|
-
* - If you
|
|
2017
|
+
* - You can call this operation to create a new flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the canvas orchestration page and manually copy a new flow version.
|
|
2018
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2019
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2005
2020
|
*
|
|
2006
2021
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2007
2022
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2056,12 +2071,12 @@ class Client extends openapi_core_1.default {
|
|
|
2056
2071
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
2057
2072
|
}
|
|
2058
2073
|
/**
|
|
2059
|
-
* Creates a new version
|
|
2074
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2060
2075
|
*
|
|
2061
2076
|
* @remarks
|
|
2062
|
-
* - You can call this operation to create a new flow version
|
|
2063
|
-
* - Before
|
|
2064
|
-
* - If you
|
|
2077
|
+
* - You can call this operation to create a new flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to enter the canvas orchestration page and manually copy a new flow version.
|
|
2078
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2079
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2065
2080
|
*
|
|
2066
2081
|
* @param request - CreateFlowVersionRequest
|
|
2067
2082
|
* @returns CreateFlowVersionResponse
|
|
@@ -2200,7 +2215,7 @@ class Client extends openapi_core_1.default {
|
|
|
2200
2215
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2201
2216
|
}
|
|
2202
2217
|
/**
|
|
2203
|
-
*
|
|
2218
|
+
* Authorizes an embedded messenger.
|
|
2204
2219
|
*
|
|
2205
2220
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2206
2221
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2255,7 +2270,7 @@ class Client extends openapi_core_1.default {
|
|
|
2255
2270
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2256
2271
|
}
|
|
2257
2272
|
/**
|
|
2258
|
-
*
|
|
2273
|
+
* Authorizes an embedded messenger.
|
|
2259
2274
|
*
|
|
2260
2275
|
* @param request - CreateMessengerPageRequest
|
|
2261
2276
|
* @returns CreateMessengerPageResponse
|
|
@@ -2270,12 +2285,12 @@ class Client extends openapi_core_1.default {
|
|
|
2270
2285
|
* @remarks
|
|
2271
2286
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2272
2287
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2273
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2288
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2274
2289
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2275
2290
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2276
2291
|
* page.
|
|
2277
2292
|
* #### QPS limit
|
|
2278
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2293
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2279
2294
|
*
|
|
2280
2295
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2281
2296
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2327,12 +2342,12 @@ class Client extends openapi_core_1.default {
|
|
|
2327
2342
|
* @remarks
|
|
2328
2343
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2329
2344
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2330
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2345
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2331
2346
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2332
2347
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2333
2348
|
* page.
|
|
2334
2349
|
* #### QPS limit
|
|
2335
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2350
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2336
2351
|
*
|
|
2337
2352
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2338
2353
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2342,7 +2357,7 @@ class Client extends openapi_core_1.default {
|
|
|
2342
2357
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2343
2358
|
}
|
|
2344
2359
|
/**
|
|
2345
|
-
*
|
|
2360
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2346
2361
|
*
|
|
2347
2362
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2348
2363
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2391,7 +2406,7 @@ class Client extends openapi_core_1.default {
|
|
|
2391
2406
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2392
2407
|
}
|
|
2393
2408
|
/**
|
|
2394
|
-
*
|
|
2409
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2395
2410
|
*
|
|
2396
2411
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2397
2412
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2404,9 +2419,9 @@ class Client extends openapi_core_1.default {
|
|
|
2404
2419
|
* Deletes a flow.
|
|
2405
2420
|
*
|
|
2406
2421
|
* @remarks
|
|
2407
|
-
* - You can call this operation to delete a flow
|
|
2408
|
-
* - Before
|
|
2409
|
-
* -
|
|
2422
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2423
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2424
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2410
2425
|
*
|
|
2411
2426
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2412
2427
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2458,9 +2473,9 @@ class Client extends openapi_core_1.default {
|
|
|
2458
2473
|
* Deletes a flow.
|
|
2459
2474
|
*
|
|
2460
2475
|
* @remarks
|
|
2461
|
-
* - You can call this operation to delete a flow
|
|
2462
|
-
* - Before
|
|
2463
|
-
* -
|
|
2476
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2477
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2478
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2464
2479
|
*
|
|
2465
2480
|
* @param request - DeleteChatFlowRequest
|
|
2466
2481
|
* @returns DeleteChatFlowResponse
|
|
@@ -2761,7 +2776,7 @@ class Client extends openapi_core_1.default {
|
|
|
2761
2776
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
2762
2777
|
}
|
|
2763
2778
|
/**
|
|
2764
|
-
*
|
|
2779
|
+
* Deletes a contact from the contact list.
|
|
2765
2780
|
*
|
|
2766
2781
|
* @param tmpReq - DeleteContactsRequest
|
|
2767
2782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2819,7 +2834,7 @@ class Client extends openapi_core_1.default {
|
|
|
2819
2834
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsResponse({}));
|
|
2820
2835
|
}
|
|
2821
2836
|
/**
|
|
2822
|
-
*
|
|
2837
|
+
* Deletes a contact from the contact list.
|
|
2823
2838
|
*
|
|
2824
2839
|
* @param request - DeleteContactsRequest
|
|
2825
2840
|
* @returns DeleteContactsResponse
|
|
@@ -3008,7 +3023,7 @@ class Client extends openapi_core_1.default {
|
|
|
3008
3023
|
return await this.deleteFlowVersionWithOptions(request, runtime);
|
|
3009
3024
|
}
|
|
3010
3025
|
/**
|
|
3011
|
-
*
|
|
3026
|
+
* Deletes a group.
|
|
3012
3027
|
*
|
|
3013
3028
|
* @param request - DeleteGroupByIdRequest
|
|
3014
3029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3046,7 +3061,7 @@ class Client extends openapi_core_1.default {
|
|
|
3046
3061
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupByIdResponse({}));
|
|
3047
3062
|
}
|
|
3048
3063
|
/**
|
|
3049
|
-
*
|
|
3064
|
+
* Deletes a group.
|
|
3050
3065
|
*
|
|
3051
3066
|
* @param request - DeleteGroupByIdRequest
|
|
3052
3067
|
* @returns DeleteGroupByIdResponse
|
|
@@ -3056,7 +3071,7 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3071
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
3057
3072
|
}
|
|
3058
3073
|
/**
|
|
3059
|
-
*
|
|
3074
|
+
* Deletes a page from an Instagram instance.
|
|
3060
3075
|
*
|
|
3061
3076
|
* @param request - DeleteInstagramPageRequest
|
|
3062
3077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3097,7 +3112,7 @@ class Client extends openapi_core_1.default {
|
|
|
3097
3112
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
3098
3113
|
}
|
|
3099
3114
|
/**
|
|
3100
|
-
*
|
|
3115
|
+
* Deletes a page from an Instagram instance.
|
|
3101
3116
|
*
|
|
3102
3117
|
* @param request - DeleteInstagramPageRequest
|
|
3103
3118
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3254,7 +3269,7 @@ class Client extends openapi_core_1.default {
|
|
|
3254
3269
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3255
3270
|
}
|
|
3256
3271
|
/**
|
|
3257
|
-
*
|
|
3272
|
+
* Deletes a Messenger page.
|
|
3258
3273
|
*
|
|
3259
3274
|
* @param request - DeleteMessengerPageRequest
|
|
3260
3275
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3295,7 +3310,7 @@ class Client extends openapi_core_1.default {
|
|
|
3295
3310
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3296
3311
|
}
|
|
3297
3312
|
/**
|
|
3298
|
-
*
|
|
3313
|
+
* Deletes a Messenger page.
|
|
3299
3314
|
*
|
|
3300
3315
|
* @param request - DeleteMessengerPageRequest
|
|
3301
3316
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3415,10 +3430,10 @@ class Client extends openapi_core_1.default {
|
|
|
3415
3430
|
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3416
3431
|
}
|
|
3417
3432
|
/**
|
|
3418
|
-
* Deprecates a
|
|
3433
|
+
* Deprecates a Flow.
|
|
3419
3434
|
*
|
|
3420
3435
|
* @remarks
|
|
3421
|
-
*
|
|
3436
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
3422
3437
|
*
|
|
3423
3438
|
* @param request - DeprecateFlowRequest
|
|
3424
3439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3459,10 +3474,10 @@ class Client extends openapi_core_1.default {
|
|
|
3459
3474
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprecateFlowResponse({}));
|
|
3460
3475
|
}
|
|
3461
3476
|
/**
|
|
3462
|
-
* Deprecates a
|
|
3477
|
+
* Deprecates a Flow.
|
|
3463
3478
|
*
|
|
3464
3479
|
* @remarks
|
|
3465
|
-
*
|
|
3480
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
3466
3481
|
*
|
|
3467
3482
|
* @param request - DeprecateFlowRequest
|
|
3468
3483
|
* @returns DeprecateFlowResponse
|
|
@@ -3537,16 +3552,15 @@ class Client extends openapi_core_1.default {
|
|
|
3537
3552
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3538
3553
|
}
|
|
3539
3554
|
/**
|
|
3540
|
-
*
|
|
3555
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3541
3556
|
*
|
|
3542
3557
|
* @remarks
|
|
3543
|
-
* -
|
|
3544
|
-
* - Before
|
|
3545
|
-
* - For
|
|
3546
|
-
* - For
|
|
3547
|
-
* - For
|
|
3548
|
-
* <props="intl"
|
|
3549
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3558
|
+
* - You can call this operation to bind a phone number or merchant account ID to a flow, or manually bind them in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3559
|
+
* - Before calling this operation, make sure that you have a successfully created flow and a successfully created message channel that corresponds to the flow type.
|
|
3560
|
+
* - For the WhatsApp channel type, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3561
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3562
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3563
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3550
3564
|
*
|
|
3551
3565
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3552
3566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3556,6 +3570,9 @@ class Client extends openapi_core_1.default {
|
|
|
3556
3570
|
tmpReq.validate();
|
|
3557
3571
|
let request = new $_model.FlowBindPhoneShrinkRequest({});
|
|
3558
3572
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3573
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3574
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3575
|
+
}
|
|
3559
3576
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3560
3577
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3561
3578
|
}
|
|
@@ -3572,6 +3589,9 @@ class Client extends openapi_core_1.default {
|
|
|
3572
3589
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3573
3590
|
query["FlowVersion"] = request.flowVersion;
|
|
3574
3591
|
}
|
|
3592
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3593
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3594
|
+
}
|
|
3575
3595
|
if (!$dara.isNull(request.ownerId)) {
|
|
3576
3596
|
query["OwnerId"] = request.ownerId;
|
|
3577
3597
|
}
|
|
@@ -3604,16 +3624,15 @@ class Client extends openapi_core_1.default {
|
|
|
3604
3624
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3605
3625
|
}
|
|
3606
3626
|
/**
|
|
3607
|
-
*
|
|
3627
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3608
3628
|
*
|
|
3609
3629
|
* @remarks
|
|
3610
|
-
* -
|
|
3611
|
-
* - Before
|
|
3612
|
-
* - For
|
|
3613
|
-
* - For
|
|
3614
|
-
* - For
|
|
3615
|
-
* <props="intl"
|
|
3616
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3630
|
+
* - You can call this operation to bind a phone number or merchant account ID to a flow, or manually bind them in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3631
|
+
* - Before calling this operation, make sure that you have a successfully created flow and a successfully created message channel that corresponds to the flow type.
|
|
3632
|
+
* - For the WhatsApp channel type, complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3633
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3634
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3635
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3617
3636
|
*
|
|
3618
3637
|
* @param request - FlowBindPhoneRequest
|
|
3619
3638
|
* @returns FlowBindPhoneResponse
|
|
@@ -3626,7 +3645,7 @@ class Client extends openapi_core_1.default {
|
|
|
3626
3645
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
3627
3646
|
*
|
|
3628
3647
|
* @remarks
|
|
3629
|
-
* -
|
|
3648
|
+
* - Call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
3630
3649
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3631
3650
|
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3632
3651
|
*
|
|
@@ -3638,6 +3657,9 @@ class Client extends openapi_core_1.default {
|
|
|
3638
3657
|
tmpReq.validate();
|
|
3639
3658
|
let request = new $_model.FlowRebindPhoneShrinkRequest({});
|
|
3640
3659
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3660
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3661
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3662
|
+
}
|
|
3641
3663
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3642
3664
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3643
3665
|
}
|
|
@@ -3654,6 +3676,9 @@ class Client extends openapi_core_1.default {
|
|
|
3654
3676
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3655
3677
|
query["FlowVersion"] = request.flowVersion;
|
|
3656
3678
|
}
|
|
3679
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3680
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3681
|
+
}
|
|
3657
3682
|
if (!$dara.isNull(request.ownerId)) {
|
|
3658
3683
|
query["OwnerId"] = request.ownerId;
|
|
3659
3684
|
}
|
|
@@ -3689,7 +3714,7 @@ class Client extends openapi_core_1.default {
|
|
|
3689
3714
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
3690
3715
|
*
|
|
3691
3716
|
* @remarks
|
|
3692
|
-
* -
|
|
3717
|
+
* - Call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
3693
3718
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3694
3719
|
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3695
3720
|
*
|
|
@@ -3701,14 +3726,14 @@ class Client extends openapi_core_1.default {
|
|
|
3701
3726
|
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
3702
3727
|
}
|
|
3703
3728
|
/**
|
|
3704
|
-
*
|
|
3729
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3705
3730
|
*
|
|
3706
3731
|
* @remarks
|
|
3707
|
-
* - Before
|
|
3708
|
-
* - You can call this operation to
|
|
3709
|
-
* - Before
|
|
3710
|
-
* - If
|
|
3711
|
-
* - After a phone number or
|
|
3732
|
+
* - Before calling this operation, make sure your flow is in the offline state. If your flow is in the online state, go to the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
3733
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate them on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3734
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
3735
|
+
* - If you have not associated a phone number or merchant account ID, you can manually associate one on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
3736
|
+
* - After dissociating a phone number or merchant account ID from a flow, the flow cannot be published. You must re-associate a phone number or merchant account ID before the flow can be published.
|
|
3712
3737
|
*
|
|
3713
3738
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3714
3739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3760,14 +3785,14 @@ class Client extends openapi_core_1.default {
|
|
|
3760
3785
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
3761
3786
|
}
|
|
3762
3787
|
/**
|
|
3763
|
-
*
|
|
3788
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3764
3789
|
*
|
|
3765
3790
|
* @remarks
|
|
3766
|
-
* - Before
|
|
3767
|
-
* - You can call this operation to
|
|
3768
|
-
* - Before
|
|
3769
|
-
* - If
|
|
3770
|
-
* - After a phone number or
|
|
3791
|
+
* - Before calling this operation, make sure your flow is in the offline state. If your flow is in the online state, go to the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
3792
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate them on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page.
|
|
3793
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
3794
|
+
* - If you have not associated a phone number or merchant account ID, you can manually associate one on the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** page, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
3795
|
+
* - After dissociating a phone number or merchant account ID from a flow, the flow cannot be published. You must re-associate a phone number or merchant account ID before the flow can be published.
|
|
3771
3796
|
*
|
|
3772
3797
|
* @param request - FlowUnbindPhoneRequest
|
|
3773
3798
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3825,7 +3850,7 @@ class Client extends openapi_core_1.default {
|
|
|
3825
3850
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3826
3851
|
}
|
|
3827
3852
|
/**
|
|
3828
|
-
*
|
|
3853
|
+
* Queries pending review tickets for an individual by type.
|
|
3829
3854
|
*
|
|
3830
3855
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3831
3856
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3866,7 +3891,7 @@ class Client extends openapi_core_1.default {
|
|
|
3866
3891
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3867
3892
|
}
|
|
3868
3893
|
/**
|
|
3869
|
-
*
|
|
3894
|
+
* Queries pending review tickets for an individual by type.
|
|
3870
3895
|
*
|
|
3871
3896
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3872
3897
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3925,9 +3950,9 @@ class Client extends openapi_core_1.default {
|
|
|
3925
3950
|
*
|
|
3926
3951
|
* @remarks
|
|
3927
3952
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
3928
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
3929
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
3930
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
3953
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
3954
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a marketing activity.
|
|
3955
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
3931
3956
|
*
|
|
3932
3957
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3933
3958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3998,9 +4023,9 @@ class Client extends openapi_core_1.default {
|
|
|
3998
4023
|
*
|
|
3999
4024
|
* @remarks
|
|
4000
4025
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4001
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
4002
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
4003
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
4026
|
+
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to enter the canvas orchestration page, and manually bring the flow online. Alternatively, call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow online.
|
|
4027
|
+
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a marketing activity.
|
|
4028
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
4004
4029
|
*
|
|
4005
4030
|
* @param request - GetChatFlowMetricRequest
|
|
4006
4031
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4013,8 +4038,8 @@ class Client extends openapi_core_1.default {
|
|
|
4013
4038
|
* Queries the details of a flow template.
|
|
4014
4039
|
*
|
|
4015
4040
|
* @remarks
|
|
4016
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4017
|
-
* - After you view
|
|
4041
|
+
* - You can call this operation to query the details of a flow template. You can also view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4042
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4018
4043
|
*
|
|
4019
4044
|
* @param request - GetChatFlowTemplateRequest
|
|
4020
4045
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4058,8 +4083,8 @@ class Client extends openapi_core_1.default {
|
|
|
4058
4083
|
* Queries the details of a flow template.
|
|
4059
4084
|
*
|
|
4060
4085
|
* @remarks
|
|
4061
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4062
|
-
* - After you view
|
|
4086
|
+
* - You can call this operation to query the details of a flow template. You can also view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4087
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4063
4088
|
*
|
|
4064
4089
|
* @param request - GetChatFlowTemplateRequest
|
|
4065
4090
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4248,7 +4273,7 @@ class Client extends openapi_core_1.default {
|
|
|
4248
4273
|
*
|
|
4249
4274
|
* @remarks
|
|
4250
4275
|
* ### QPS limit
|
|
4251
|
-
* The single-user QPS limit for this
|
|
4276
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4252
4277
|
*
|
|
4253
4278
|
* @param request - GetChatappTemplateDetailRequest
|
|
4254
4279
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4299,7 +4324,7 @@ class Client extends openapi_core_1.default {
|
|
|
4299
4324
|
*
|
|
4300
4325
|
* @remarks
|
|
4301
4326
|
* ### QPS limit
|
|
4302
|
-
* The single-user QPS limit for this
|
|
4327
|
+
* The single-user QPS limit for this API is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4303
4328
|
*
|
|
4304
4329
|
* @param request - GetChatappTemplateDetailRequest
|
|
4305
4330
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4672,7 +4697,7 @@ class Client extends openapi_core_1.default {
|
|
|
4672
4697
|
return await this.getCustomerSiteWithOptions(request, runtime);
|
|
4673
4698
|
}
|
|
4674
4699
|
/**
|
|
4675
|
-
*
|
|
4700
|
+
* Downloads Excel data.
|
|
4676
4701
|
*
|
|
4677
4702
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
4678
4703
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4742,7 +4767,7 @@ class Client extends openapi_core_1.default {
|
|
|
4742
4767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDownloadExcelListResponse({}));
|
|
4743
4768
|
}
|
|
4744
4769
|
/**
|
|
4745
|
-
*
|
|
4770
|
+
* Downloads Excel data.
|
|
4746
4771
|
*
|
|
4747
4772
|
* @param request - GetDownloadExcelListRequest
|
|
4748
4773
|
* @returns GetDownloadExcelListResponse
|
|
@@ -4752,7 +4777,7 @@ class Client extends openapi_core_1.default {
|
|
|
4752
4777
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4753
4778
|
}
|
|
4754
4779
|
/**
|
|
4755
|
-
*
|
|
4780
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4756
4781
|
*
|
|
4757
4782
|
* @param request - GetFbInstagramPagesRequest
|
|
4758
4783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4793,7 +4818,7 @@ class Client extends openapi_core_1.default {
|
|
|
4793
4818
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4794
4819
|
}
|
|
4795
4820
|
/**
|
|
4796
|
-
*
|
|
4821
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4797
4822
|
*
|
|
4798
4823
|
* @param request - GetFbInstagramPagesRequest
|
|
4799
4824
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -4803,7 +4828,7 @@ class Client extends openapi_core_1.default {
|
|
|
4803
4828
|
return await this.getFbInstagramPagesWithOptions(request, runtime);
|
|
4804
4829
|
}
|
|
4805
4830
|
/**
|
|
4806
|
-
*
|
|
4831
|
+
* Retrieves the list of Facebook page IDs.
|
|
4807
4832
|
*
|
|
4808
4833
|
* @param request - GetFbMessengerPagesRequest
|
|
4809
4834
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4844,7 +4869,7 @@ class Client extends openapi_core_1.default {
|
|
|
4844
4869
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbMessengerPagesResponse({}));
|
|
4845
4870
|
}
|
|
4846
4871
|
/**
|
|
4847
|
-
*
|
|
4872
|
+
* Retrieves the list of Facebook page IDs.
|
|
4848
4873
|
*
|
|
4849
4874
|
* @param request - GetFbMessengerPagesRequest
|
|
4850
4875
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -4854,13 +4879,13 @@ class Client extends openapi_core_1.default {
|
|
|
4854
4879
|
return await this.getFbMessengerPagesWithOptions(request, runtime);
|
|
4855
4880
|
}
|
|
4856
4881
|
/**
|
|
4857
|
-
*
|
|
4882
|
+
* Retrieves the details of a Flow.
|
|
4858
4883
|
*
|
|
4859
4884
|
* @remarks
|
|
4860
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4861
|
-
* - If you
|
|
4885
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4886
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4862
4887
|
* #### QPS limit
|
|
4863
|
-
*
|
|
4888
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
4864
4889
|
*
|
|
4865
4890
|
* @param request - GetFlowRequest
|
|
4866
4891
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4901,13 +4926,13 @@ class Client extends openapi_core_1.default {
|
|
|
4901
4926
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowResponse({}));
|
|
4902
4927
|
}
|
|
4903
4928
|
/**
|
|
4904
|
-
*
|
|
4929
|
+
* Retrieves the details of a Flow.
|
|
4905
4930
|
*
|
|
4906
4931
|
* @remarks
|
|
4907
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4908
|
-
* - If you
|
|
4932
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4933
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4909
4934
|
* #### QPS limit
|
|
4910
|
-
*
|
|
4935
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
4911
4936
|
*
|
|
4912
4937
|
* @param request - GetFlowRequest
|
|
4913
4938
|
* @returns GetFlowResponse
|
|
@@ -4917,13 +4942,13 @@ class Client extends openapi_core_1.default {
|
|
|
4917
4942
|
return await this.getFlowWithOptions(request, runtime);
|
|
4918
4943
|
}
|
|
4919
4944
|
/**
|
|
4920
|
-
*
|
|
4945
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4921
4946
|
*
|
|
4922
4947
|
* @remarks
|
|
4923
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4924
|
-
* - If you
|
|
4948
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4949
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
4925
4950
|
* #### QPS limit
|
|
4926
|
-
*
|
|
4951
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4927
4952
|
*
|
|
4928
4953
|
* @param request - GetFlowJSONAssestRequest
|
|
4929
4954
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4964,13 +4989,13 @@ class Client extends openapi_core_1.default {
|
|
|
4964
4989
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowJSONAssestResponse({}));
|
|
4965
4990
|
}
|
|
4966
4991
|
/**
|
|
4967
|
-
*
|
|
4992
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4968
4993
|
*
|
|
4969
4994
|
* @remarks
|
|
4970
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4971
|
-
* - If you
|
|
4995
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4996
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
4972
4997
|
* #### QPS limit
|
|
4973
|
-
*
|
|
4998
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4974
4999
|
*
|
|
4975
5000
|
* @param request - GetFlowJSONAssestRequest
|
|
4976
5001
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -4980,14 +5005,14 @@ class Client extends openapi_core_1.default {
|
|
|
4980
5005
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
4981
5006
|
}
|
|
4982
5007
|
/**
|
|
4983
|
-
*
|
|
5008
|
+
* Retrieves the preview URL of a Flow.
|
|
4984
5009
|
*
|
|
4985
5010
|
* @remarks
|
|
4986
|
-
* - After
|
|
4987
|
-
* - Before
|
|
4988
|
-
* - If you do not have a WhatsApp
|
|
5011
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5012
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5013
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4989
5014
|
* #### QPS limit
|
|
4990
|
-
*
|
|
5015
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4991
5016
|
*
|
|
4992
5017
|
* @param request - GetFlowPreviewUrlRequest
|
|
4993
5018
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5028,14 +5053,14 @@ class Client extends openapi_core_1.default {
|
|
|
5028
5053
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowPreviewUrlResponse({}));
|
|
5029
5054
|
}
|
|
5030
5055
|
/**
|
|
5031
|
-
*
|
|
5056
|
+
* Retrieves the preview URL of a Flow.
|
|
5032
5057
|
*
|
|
5033
5058
|
* @remarks
|
|
5034
|
-
* - After
|
|
5035
|
-
* - Before
|
|
5036
|
-
* - If you do not have a WhatsApp
|
|
5059
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5060
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5061
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5037
5062
|
* #### QPS limit
|
|
5038
|
-
*
|
|
5063
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5039
5064
|
*
|
|
5040
5065
|
* @param request - GetFlowPreviewUrlRequest
|
|
5041
5066
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5045,7 +5070,7 @@ class Client extends openapi_core_1.default {
|
|
|
5045
5070
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5046
5071
|
}
|
|
5047
5072
|
/**
|
|
5048
|
-
*
|
|
5073
|
+
* Queries whether a group name already exists.
|
|
5049
5074
|
*
|
|
5050
5075
|
* @param tmpReq - GetGroupExistRequest
|
|
5051
5076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5094,7 +5119,7 @@ class Client extends openapi_core_1.default {
|
|
|
5094
5119
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
5095
5120
|
}
|
|
5096
5121
|
/**
|
|
5097
|
-
*
|
|
5122
|
+
* Queries whether a group name already exists.
|
|
5098
5123
|
*
|
|
5099
5124
|
* @param request - GetGroupExistRequest
|
|
5100
5125
|
* @returns GetGroupExistResponse
|
|
@@ -5355,10 +5380,13 @@ class Client extends openapi_core_1.default {
|
|
|
5355
5380
|
* Retrieves the verification status of a phone number.
|
|
5356
5381
|
*
|
|
5357
5382
|
* @remarks
|
|
5358
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5359
|
-
*
|
|
5360
|
-
*
|
|
5361
|
-
* This operation
|
|
5383
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5384
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5385
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5386
|
+
* - This operation only queries the verification status of a phone number. If the phone number status is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5387
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5388
|
+
* - If a phone number has been added to your WABA and needs to be registered, but the verification status is unverified or verification has expired, call [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) to obtain a verification code and register the phone number.
|
|
5389
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5362
5390
|
*
|
|
5363
5391
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5364
5392
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5402,10 +5430,13 @@ class Client extends openapi_core_1.default {
|
|
|
5402
5430
|
* Retrieves the verification status of a phone number.
|
|
5403
5431
|
*
|
|
5404
5432
|
* @remarks
|
|
5405
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5406
|
-
*
|
|
5407
|
-
*
|
|
5408
|
-
* This operation
|
|
5433
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5434
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5435
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5436
|
+
* - This operation only queries the verification status of a phone number. If the phone number status is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5437
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5438
|
+
* - If a phone number has been added to your WABA and needs to be registered, but the verification status is unverified or verification has expired, call [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) to obtain a verification code and register the phone number.
|
|
5439
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5409
5440
|
*
|
|
5410
5441
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5411
5442
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5565,7 +5596,7 @@ class Client extends openapi_core_1.default {
|
|
|
5565
5596
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5566
5597
|
}
|
|
5567
5598
|
/**
|
|
5568
|
-
*
|
|
5599
|
+
* Queries the number of times that a pause can be requested.
|
|
5569
5600
|
*
|
|
5570
5601
|
* @param request - GetViberPauseTimesRequest
|
|
5571
5602
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5603,7 +5634,7 @@ class Client extends openapi_core_1.default {
|
|
|
5603
5634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5604
5635
|
}
|
|
5605
5636
|
/**
|
|
5606
|
-
*
|
|
5637
|
+
* Queries the number of times that a pause can be requested.
|
|
5607
5638
|
*
|
|
5608
5639
|
* @param request - GetViberPauseTimesRequest
|
|
5609
5640
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5670,7 +5701,7 @@ class Client extends openapi_core_1.default {
|
|
|
5670
5701
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
5671
5702
|
}
|
|
5672
5703
|
/**
|
|
5673
|
-
*
|
|
5704
|
+
* Retrieves the embedded authorization page.
|
|
5674
5705
|
*
|
|
5675
5706
|
* @param request - GetWhatsappConversionApiRequest
|
|
5676
5707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5708,7 +5739,7 @@ class Client extends openapi_core_1.default {
|
|
|
5708
5739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappConversionApiResponse({}));
|
|
5709
5740
|
}
|
|
5710
5741
|
/**
|
|
5711
|
-
*
|
|
5742
|
+
* Retrieves the embedded authorization page.
|
|
5712
5743
|
*
|
|
5713
5744
|
* @param request - GetWhatsappConversionApiRequest
|
|
5714
5745
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -5935,7 +5966,7 @@ class Client extends openapi_core_1.default {
|
|
|
5935
5966
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
5936
5967
|
}
|
|
5937
5968
|
/**
|
|
5938
|
-
*
|
|
5969
|
+
* Queries the list of groups.
|
|
5939
5970
|
*
|
|
5940
5971
|
* @param tmpReq - ListAllGroupsRequest
|
|
5941
5972
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5981,7 +6012,7 @@ class Client extends openapi_core_1.default {
|
|
|
5981
6012
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllGroupsResponse({}));
|
|
5982
6013
|
}
|
|
5983
6014
|
/**
|
|
5984
|
-
*
|
|
6015
|
+
* Queries the list of groups.
|
|
5985
6016
|
*
|
|
5986
6017
|
* @param request - ListAllGroupsRequest
|
|
5987
6018
|
* @returns ListAllGroupsResponse
|
|
@@ -5991,7 +6022,7 @@ class Client extends openapi_core_1.default {
|
|
|
5991
6022
|
return await this.listAllGroupsWithOptions(request, runtime);
|
|
5992
6023
|
}
|
|
5993
6024
|
/**
|
|
5994
|
-
*
|
|
6025
|
+
* Queries the bound DM account.
|
|
5995
6026
|
*
|
|
5996
6027
|
* @param request - ListBindDmAccountRequest
|
|
5997
6028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6029,7 +6060,7 @@ class Client extends openapi_core_1.default {
|
|
|
6029
6060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindDmAccountResponse({}));
|
|
6030
6061
|
}
|
|
6031
6062
|
/**
|
|
6032
|
-
*
|
|
6063
|
+
* Queries the bound DM account.
|
|
6033
6064
|
*
|
|
6034
6065
|
* @param request - ListBindDmAccountRequest
|
|
6035
6066
|
* @returns ListBindDmAccountResponse
|
|
@@ -6039,12 +6070,12 @@ class Client extends openapi_core_1.default {
|
|
|
6039
6070
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
6040
6071
|
}
|
|
6041
6072
|
/**
|
|
6042
|
-
* Queries the phone numbers or business account IDs
|
|
6073
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6043
6074
|
*
|
|
6044
6075
|
* @remarks
|
|
6045
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6046
|
-
* - Before
|
|
6047
|
-
* - If
|
|
6076
|
+
* - You can call this operation to query the list of phone numbers or business account IDs bound to a flow. You can also view the list in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
6077
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6078
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6048
6079
|
*
|
|
6049
6080
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6050
6081
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6085,12 +6116,12 @@ class Client extends openapi_core_1.default {
|
|
|
6085
6116
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
6086
6117
|
}
|
|
6087
6118
|
/**
|
|
6088
|
-
* Queries the phone numbers or business account IDs
|
|
6119
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6089
6120
|
*
|
|
6090
6121
|
* @remarks
|
|
6091
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6092
|
-
* - Before
|
|
6093
|
-
* - If
|
|
6122
|
+
* - You can call this operation to query the list of phone numbers or business account IDs bound to a flow. You can also view the list in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
6123
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6124
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6094
6125
|
*
|
|
6095
6126
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6096
6127
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6105,8 +6136,8 @@ class Client extends openapi_core_1.default {
|
|
|
6105
6136
|
* @remarks
|
|
6106
6137
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6107
6138
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6108
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
6109
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6139
|
+
* - If you do not have any successfully created flows, you can manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
6140
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6110
6141
|
*
|
|
6111
6142
|
* @param tmpReq - ListChatFlowRequest
|
|
6112
6143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6126,6 +6157,12 @@ class Client extends openapi_core_1.default {
|
|
|
6126
6157
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
6127
6158
|
query["BizExtend"] = request.bizExtendShrink;
|
|
6128
6159
|
}
|
|
6160
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6161
|
+
query["FlowCode"] = request.flowCode;
|
|
6162
|
+
}
|
|
6163
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6164
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6165
|
+
}
|
|
6129
6166
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
6130
6167
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
6131
6168
|
}
|
|
@@ -6141,6 +6178,9 @@ class Client extends openapi_core_1.default {
|
|
|
6141
6178
|
if (!$dara.isNull(request.pageSize)) {
|
|
6142
6179
|
query["PageSize"] = request.pageSize;
|
|
6143
6180
|
}
|
|
6181
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6182
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6183
|
+
}
|
|
6144
6184
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6145
6185
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6146
6186
|
}
|
|
@@ -6153,6 +6193,9 @@ class Client extends openapi_core_1.default {
|
|
|
6153
6193
|
if (!$dara.isNull(request.status)) {
|
|
6154
6194
|
query["Status"] = request.status;
|
|
6155
6195
|
}
|
|
6196
|
+
if (!$dara.isNull(request.title)) {
|
|
6197
|
+
query["Title"] = request.title;
|
|
6198
|
+
}
|
|
6156
6199
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6157
6200
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6158
6201
|
});
|
|
@@ -6175,8 +6218,8 @@ class Client extends openapi_core_1.default {
|
|
|
6175
6218
|
* @remarks
|
|
6176
6219
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6177
6220
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6178
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
6179
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6221
|
+
* - If you do not have any successfully created flows, you can manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
6222
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6180
6223
|
*
|
|
6181
6224
|
* @param request - ListChatFlowRequest
|
|
6182
6225
|
* @returns ListChatFlowResponse
|
|
@@ -6189,8 +6232,8 @@ class Client extends openapi_core_1.default {
|
|
|
6189
6232
|
* Lists flow templates.
|
|
6190
6233
|
*
|
|
6191
6234
|
* @remarks
|
|
6192
|
-
* - You can call this operation to
|
|
6193
|
-
* -
|
|
6235
|
+
* - You can call this operation to view the template list, or view the template list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Template View** page.
|
|
6236
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6194
6237
|
*
|
|
6195
6238
|
* @param request - ListChatFlowTemplateRequest
|
|
6196
6239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6243,8 +6286,8 @@ class Client extends openapi_core_1.default {
|
|
|
6243
6286
|
* Lists flow templates.
|
|
6244
6287
|
*
|
|
6245
6288
|
* @remarks
|
|
6246
|
-
* - You can call this operation to
|
|
6247
|
-
* -
|
|
6289
|
+
* - You can call this operation to view the template list, or view the template list in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Template View** page.
|
|
6290
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6248
6291
|
*
|
|
6249
6292
|
* @param request - ListChatFlowTemplateRequest
|
|
6250
6293
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6340,13 +6383,12 @@ class Client extends openapi_core_1.default {
|
|
|
6340
6383
|
return await this.listChatGroupWithOptions(request, runtime);
|
|
6341
6384
|
}
|
|
6342
6385
|
/**
|
|
6343
|
-
*
|
|
6386
|
+
* Retrieves the member list of an IM group.
|
|
6344
6387
|
*
|
|
6345
6388
|
* @remarks
|
|
6346
|
-
* >Notice:
|
|
6347
|
-
*
|
|
6348
|
-
* -
|
|
6349
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
6389
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6390
|
+
* - Before calling this operation, make sure that the IM group you created has an IM group invitation link added and that members have joined the IM group through the link.
|
|
6391
|
+
* - If you do not have a created IM group, use the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
6350
6392
|
*
|
|
6351
6393
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6352
6394
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6401,13 +6443,12 @@ class Client extends openapi_core_1.default {
|
|
|
6401
6443
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupParticipantsResponse({}));
|
|
6402
6444
|
}
|
|
6403
6445
|
/**
|
|
6404
|
-
*
|
|
6446
|
+
* Retrieves the member list of an IM group.
|
|
6405
6447
|
*
|
|
6406
6448
|
* @remarks
|
|
6407
|
-
* >Notice:
|
|
6408
|
-
*
|
|
6409
|
-
* -
|
|
6410
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
6449
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6450
|
+
* - Before calling this operation, make sure that the IM group you created has an IM group invitation link added and that members have joined the IM group through the link.
|
|
6451
|
+
* - If you do not have a created IM group, use the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
6411
6452
|
*
|
|
6412
6453
|
* @param request - ListChatGroupParticipantsRequest
|
|
6413
6454
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6519,11 +6560,11 @@ class Client extends openapi_core_1.default {
|
|
|
6519
6560
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6520
6561
|
}
|
|
6521
6562
|
/**
|
|
6522
|
-
*
|
|
6563
|
+
* Retrieves a list of message templates.
|
|
6523
6564
|
*
|
|
6524
6565
|
* @remarks
|
|
6525
6566
|
* ### QPS limit
|
|
6526
|
-
*
|
|
6567
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6527
6568
|
*
|
|
6528
6569
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6529
6570
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6593,11 +6634,11 @@ class Client extends openapi_core_1.default {
|
|
|
6593
6634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6594
6635
|
}
|
|
6595
6636
|
/**
|
|
6596
|
-
*
|
|
6637
|
+
* Retrieves a list of message templates.
|
|
6597
6638
|
*
|
|
6598
6639
|
* @remarks
|
|
6599
6640
|
* ### QPS limit
|
|
6600
|
-
*
|
|
6641
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6601
6642
|
*
|
|
6602
6643
|
* @param request - ListChatappTemplateRequest
|
|
6603
6644
|
* @returns ListChatappTemplateResponse
|
|
@@ -6735,7 +6776,7 @@ class Client extends openapi_core_1.default {
|
|
|
6735
6776
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6736
6777
|
}
|
|
6737
6778
|
/**
|
|
6738
|
-
*
|
|
6779
|
+
* Queries the tags of DirectMail.
|
|
6739
6780
|
*
|
|
6740
6781
|
* @param request - ListDmTagRequest
|
|
6741
6782
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6779,7 +6820,7 @@ class Client extends openapi_core_1.default {
|
|
|
6779
6820
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6780
6821
|
}
|
|
6781
6822
|
/**
|
|
6782
|
-
*
|
|
6823
|
+
* Queries the tags of DirectMail.
|
|
6783
6824
|
*
|
|
6784
6825
|
* @param request - ListDmTagRequest
|
|
6785
6826
|
* @returns ListDmTagResponse
|
|
@@ -6837,10 +6878,10 @@ class Client extends openapi_core_1.default {
|
|
|
6837
6878
|
return await this.listFacebookPostsWithOptions(request, runtime);
|
|
6838
6879
|
}
|
|
6839
6880
|
/**
|
|
6840
|
-
*
|
|
6881
|
+
* Queries the list of Flows.
|
|
6841
6882
|
*
|
|
6842
6883
|
* @remarks
|
|
6843
|
-
*
|
|
6884
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6844
6885
|
*
|
|
6845
6886
|
* @param tmpReq - ListFlowRequest
|
|
6846
6887
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6889,10 +6930,10 @@ class Client extends openapi_core_1.default {
|
|
|
6889
6930
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowResponse({}));
|
|
6890
6931
|
}
|
|
6891
6932
|
/**
|
|
6892
|
-
*
|
|
6933
|
+
* Queries the list of Flows.
|
|
6893
6934
|
*
|
|
6894
6935
|
* @remarks
|
|
6895
|
-
*
|
|
6936
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6896
6937
|
*
|
|
6897
6938
|
* @param request - ListFlowRequest
|
|
6898
6939
|
* @returns ListFlowResponse
|
|
@@ -6956,8 +6997,8 @@ class Client extends openapi_core_1.default {
|
|
|
6956
6997
|
* Lists flow component prototypes.
|
|
6957
6998
|
*
|
|
6958
6999
|
* @remarks
|
|
6959
|
-
* - You can call this
|
|
6960
|
-
* -
|
|
7000
|
+
* - You can call this operation to query flow component prototypes. You can also click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view flow component prototypes.
|
|
7001
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
6961
7002
|
*
|
|
6962
7003
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6963
7004
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7010,8 +7051,8 @@ class Client extends openapi_core_1.default {
|
|
|
7010
7051
|
* Lists flow component prototypes.
|
|
7011
7052
|
*
|
|
7012
7053
|
* @remarks
|
|
7013
|
-
* - You can call this
|
|
7014
|
-
* -
|
|
7054
|
+
* - You can call this operation to query flow component prototypes. You can also click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view flow component prototypes.
|
|
7055
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
7015
7056
|
*
|
|
7016
7057
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7017
7058
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7024,10 +7065,10 @@ class Client extends openapi_core_1.default {
|
|
|
7024
7065
|
* Lists flow versions.
|
|
7025
7066
|
*
|
|
7026
7067
|
* @remarks
|
|
7027
|
-
* - You can call this
|
|
7028
|
-
* - Before calling this
|
|
7029
|
-
* - If you
|
|
7030
|
-
* - The optional parameters
|
|
7068
|
+
* - You can call this operation to query flow versions. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view flow versions.
|
|
7069
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7070
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
7071
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7031
7072
|
*
|
|
7032
7073
|
* @param tmpReq - ListFlowVersionRequest
|
|
7033
7074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7088,10 +7129,10 @@ class Client extends openapi_core_1.default {
|
|
|
7088
7129
|
* Lists flow versions.
|
|
7089
7130
|
*
|
|
7090
7131
|
* @remarks
|
|
7091
|
-
* - You can call this
|
|
7092
|
-
* - Before calling this
|
|
7093
|
-
* - If you
|
|
7094
|
-
* - The optional parameters
|
|
7132
|
+
* - You can call this operation to query flow versions. You can also click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and view flow versions.
|
|
7133
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7134
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
7135
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7095
7136
|
*
|
|
7096
7137
|
* @param request - ListFlowVersionRequest
|
|
7097
7138
|
* @returns ListFlowVersionResponse
|
|
@@ -7149,7 +7190,7 @@ class Client extends openapi_core_1.default {
|
|
|
7149
7190
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
7150
7191
|
}
|
|
7151
7192
|
/**
|
|
7152
|
-
*
|
|
7193
|
+
* Queries the list of Instagram posts.
|
|
7153
7194
|
*
|
|
7154
7195
|
* @param request - ListInstagramPostsRequest
|
|
7155
7196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7187,7 +7228,7 @@ class Client extends openapi_core_1.default {
|
|
|
7187
7228
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
7188
7229
|
}
|
|
7189
7230
|
/**
|
|
7190
|
-
*
|
|
7231
|
+
* Queries the list of Instagram posts.
|
|
7191
7232
|
*
|
|
7192
7233
|
* @param request - ListInstagramPostsRequest
|
|
7193
7234
|
* @returns ListInstagramPostsResponse
|
|
@@ -7197,7 +7238,7 @@ class Client extends openapi_core_1.default {
|
|
|
7197
7238
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
7198
7239
|
}
|
|
7199
7240
|
/**
|
|
7200
|
-
*
|
|
7241
|
+
* Queries a list of instances.
|
|
7201
7242
|
*
|
|
7202
7243
|
* @param request - ListInstanceRequest
|
|
7203
7244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7206,6 +7247,9 @@ class Client extends openapi_core_1.default {
|
|
|
7206
7247
|
async listInstanceWithOptions(request, runtime) {
|
|
7207
7248
|
request.validate();
|
|
7208
7249
|
let query = {};
|
|
7250
|
+
if (!$dara.isNull(request.bindId)) {
|
|
7251
|
+
query["BindId"] = request.bindId;
|
|
7252
|
+
}
|
|
7209
7253
|
if (!$dara.isNull(request.channelType)) {
|
|
7210
7254
|
query["ChannelType"] = request.channelType;
|
|
7211
7255
|
}
|
|
@@ -7218,6 +7262,9 @@ class Client extends openapi_core_1.default {
|
|
|
7218
7262
|
if (!$dara.isNull(request.instanceName)) {
|
|
7219
7263
|
query["InstanceName"] = request.instanceName;
|
|
7220
7264
|
}
|
|
7265
|
+
if (!$dara.isNull(request.isBind)) {
|
|
7266
|
+
query["IsBind"] = request.isBind;
|
|
7267
|
+
}
|
|
7221
7268
|
if (!$dara.isNull(request.pageIndex)) {
|
|
7222
7269
|
query["PageIndex"] = request.pageIndex;
|
|
7223
7270
|
}
|
|
@@ -7247,7 +7294,7 @@ class Client extends openapi_core_1.default {
|
|
|
7247
7294
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
7248
7295
|
}
|
|
7249
7296
|
/**
|
|
7250
|
-
*
|
|
7297
|
+
* Queries a list of instances.
|
|
7251
7298
|
*
|
|
7252
7299
|
* @param request - ListInstanceRequest
|
|
7253
7300
|
* @returns ListInstanceResponse
|
|
@@ -7522,7 +7569,7 @@ class Client extends openapi_core_1.default {
|
|
|
7522
7569
|
* Queries the list of message QR codes.
|
|
7523
7570
|
*
|
|
7524
7571
|
* @remarks
|
|
7525
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
7572
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7526
7573
|
*
|
|
7527
7574
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7528
7575
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7566,7 +7613,7 @@ class Client extends openapi_core_1.default {
|
|
|
7566
7613
|
* Queries the list of message QR codes.
|
|
7567
7614
|
*
|
|
7568
7615
|
* @remarks
|
|
7569
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
7616
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7570
7617
|
*
|
|
7571
7618
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7572
7619
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -7717,7 +7764,7 @@ class Client extends openapi_core_1.default {
|
|
|
7717
7764
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7718
7765
|
}
|
|
7719
7766
|
/**
|
|
7720
|
-
*
|
|
7767
|
+
* Displays the Viber service number card for an application form.
|
|
7721
7768
|
*
|
|
7722
7769
|
* @param request - ListViberServiceMessageRequest
|
|
7723
7770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7755,7 +7802,7 @@ class Client extends openapi_core_1.default {
|
|
|
7755
7802
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7756
7803
|
}
|
|
7757
7804
|
/**
|
|
7758
|
-
*
|
|
7805
|
+
* Displays the Viber service number card for an application form.
|
|
7759
7806
|
*
|
|
7760
7807
|
* @param request - ListViberServiceMessageRequest
|
|
7761
7808
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7813,7 +7860,7 @@ class Client extends openapi_core_1.default {
|
|
|
7813
7860
|
* ### QPS limit
|
|
7814
7861
|
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7815
7862
|
* ### Status changes
|
|
7816
|
-
*
|
|
7863
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7817
7864
|
*
|
|
7818
7865
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7819
7866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7829,45 +7876,48 @@ class Client extends openapi_core_1.default {
|
|
|
7829
7876
|
if (!$dara.isNull(tmpReq.example)) {
|
|
7830
7877
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
7831
7878
|
}
|
|
7832
|
-
let
|
|
7879
|
+
let query = {};
|
|
7833
7880
|
if (!$dara.isNull(request.category)) {
|
|
7834
|
-
|
|
7881
|
+
query["Category"] = request.category;
|
|
7835
7882
|
}
|
|
7836
7883
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
7837
|
-
|
|
7884
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
7838
7885
|
}
|
|
7839
7886
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
7840
|
-
|
|
7887
|
+
query["Components"] = request.componentsShrink;
|
|
7841
7888
|
}
|
|
7842
7889
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
7843
|
-
|
|
7890
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7844
7891
|
}
|
|
7845
7892
|
if (!$dara.isNull(request.custWabaId)) {
|
|
7846
|
-
|
|
7893
|
+
query["CustWabaId"] = request.custWabaId;
|
|
7847
7894
|
}
|
|
7848
7895
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
7849
|
-
|
|
7896
|
+
query["Example"] = request.exampleShrink;
|
|
7850
7897
|
}
|
|
7851
7898
|
if (!$dara.isNull(request.isvCode)) {
|
|
7852
|
-
|
|
7899
|
+
query["IsvCode"] = request.isvCode;
|
|
7853
7900
|
}
|
|
7854
7901
|
if (!$dara.isNull(request.language)) {
|
|
7855
|
-
|
|
7902
|
+
query["Language"] = request.language;
|
|
7856
7903
|
}
|
|
7857
7904
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
7858
|
-
|
|
7905
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
7906
|
+
}
|
|
7907
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
7908
|
+
query["ProductSetId"] = request.productSetId;
|
|
7859
7909
|
}
|
|
7860
7910
|
if (!$dara.isNull(request.templateCode)) {
|
|
7861
|
-
|
|
7911
|
+
query["TemplateCode"] = request.templateCode;
|
|
7862
7912
|
}
|
|
7863
7913
|
if (!$dara.isNull(request.templateName)) {
|
|
7864
|
-
|
|
7914
|
+
query["TemplateName"] = request.templateName;
|
|
7865
7915
|
}
|
|
7866
7916
|
if (!$dara.isNull(request.templateType)) {
|
|
7867
|
-
|
|
7917
|
+
query["TemplateType"] = request.templateType;
|
|
7868
7918
|
}
|
|
7869
7919
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7870
|
-
|
|
7920
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7871
7921
|
});
|
|
7872
7922
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7873
7923
|
action: "ModifyChatappTemplate",
|
|
@@ -7889,7 +7939,7 @@ class Client extends openapi_core_1.default {
|
|
|
7889
7939
|
* ### QPS limit
|
|
7890
7940
|
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7891
7941
|
* ### Status changes
|
|
7892
|
-
*
|
|
7942
|
+
* You can monitor template status and quality changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7893
7943
|
*
|
|
7894
7944
|
* @param request - ModifyChatappTemplateRequest
|
|
7895
7945
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8116,7 +8166,7 @@ class Client extends openapi_core_1.default {
|
|
|
8116
8166
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8117
8167
|
}
|
|
8118
8168
|
/**
|
|
8119
|
-
*
|
|
8169
|
+
* Modifies the group associations of contacts.
|
|
8120
8170
|
*
|
|
8121
8171
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8122
8172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8171,7 +8221,7 @@ class Client extends openapi_core_1.default {
|
|
|
8171
8221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
8172
8222
|
}
|
|
8173
8223
|
/**
|
|
8174
|
-
*
|
|
8224
|
+
* Modifies the group associations of contacts.
|
|
8175
8225
|
*
|
|
8176
8226
|
* @param request - MoveContactToGroupRequest
|
|
8177
8227
|
* @returns MoveContactToGroupResponse
|
|
@@ -8181,13 +8231,13 @@ class Client extends openapi_core_1.default {
|
|
|
8181
8231
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
8182
8232
|
}
|
|
8183
8233
|
/**
|
|
8184
|
-
*
|
|
8234
|
+
* Offlines a flow version.
|
|
8185
8235
|
*
|
|
8186
8236
|
* @remarks
|
|
8187
|
-
* - You can call this operation to
|
|
8188
|
-
* - Before calling this operation, make sure
|
|
8189
|
-
* - If
|
|
8190
|
-
* - After
|
|
8237
|
+
* - You can call this operation to offline a flow version, or click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually offline the flow version.
|
|
8238
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
8239
|
+
* - If the flow you created is not online, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow version online.
|
|
8240
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
8191
8241
|
*
|
|
8192
8242
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8193
8243
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8242,13 +8292,13 @@ class Client extends openapi_core_1.default {
|
|
|
8242
8292
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
8243
8293
|
}
|
|
8244
8294
|
/**
|
|
8245
|
-
*
|
|
8295
|
+
* Offlines a flow version.
|
|
8246
8296
|
*
|
|
8247
8297
|
* @remarks
|
|
8248
|
-
* - You can call this operation to
|
|
8249
|
-
* - Before calling this operation, make sure
|
|
8250
|
-
* - If
|
|
8251
|
-
* - After
|
|
8298
|
+
* - You can call this operation to offline a flow version, or click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually offline the flow version.
|
|
8299
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
8300
|
+
* - If the flow you created is not online, click the flow name in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to enter the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to bring the flow version online.
|
|
8301
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
8252
8302
|
*
|
|
8253
8303
|
* @param request - OfflineFlowVersionRequest
|
|
8254
8304
|
* @returns OfflineFlowVersionResponse
|
|
@@ -8261,10 +8311,10 @@ class Client extends openapi_core_1.default {
|
|
|
8261
8311
|
* Publishes a flow version.
|
|
8262
8312
|
*
|
|
8263
8313
|
* @remarks
|
|
8264
|
-
* - You can call this operation to publish a flow version. You can also
|
|
8265
|
-
* - Before
|
|
8266
|
-
* - If you
|
|
8267
|
-
* - After a flow with a non-manual trigger is published,
|
|
8314
|
+
* - You can call this operation to publish a flow version. You can also click a flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually publish a flow version.
|
|
8315
|
+
* - Before calling this operation, make sure that you have a successfully created flow and that your flow is bindded to a phone number or merchant account ID.
|
|
8316
|
+
* - If you do not have a successfully created flow, you can manually create a flow and bindded it to a phone number or merchant account ID on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind it to a phone number or merchant account ID.
|
|
8317
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
8268
8318
|
*
|
|
8269
8319
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8270
8320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8322,10 +8372,10 @@ class Client extends openapi_core_1.default {
|
|
|
8322
8372
|
* Publishes a flow version.
|
|
8323
8373
|
*
|
|
8324
8374
|
* @remarks
|
|
8325
|
-
* - You can call this operation to publish a flow version. You can also
|
|
8326
|
-
* - Before
|
|
8327
|
-
* - If you
|
|
8328
|
-
* - After a flow with a non-manual trigger is published,
|
|
8375
|
+
* - You can call this operation to publish a flow version. You can also click a flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually publish a flow version.
|
|
8376
|
+
* - Before calling this operation, make sure that you have a successfully created flow and that your flow is bindded to a phone number or merchant account ID.
|
|
8377
|
+
* - If you do not have a successfully created flow, you can manually create a flow and bindded it to a phone number or merchant account ID on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind it to a phone number or merchant account ID.
|
|
8378
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
8329
8379
|
*
|
|
8330
8380
|
* @param request - OnlineFlowVersionRequest
|
|
8331
8381
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8335,7 +8385,7 @@ class Client extends openapi_core_1.default {
|
|
|
8335
8385
|
return await this.onlineFlowVersionWithOptions(request, runtime);
|
|
8336
8386
|
}
|
|
8337
8387
|
/**
|
|
8338
|
-
*
|
|
8388
|
+
* Activates the Chat App Message Service.
|
|
8339
8389
|
*
|
|
8340
8390
|
* @param request - OpenChatappServiceRequest
|
|
8341
8391
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8370,7 +8420,7 @@ class Client extends openapi_core_1.default {
|
|
|
8370
8420
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenChatappServiceResponse({}));
|
|
8371
8421
|
}
|
|
8372
8422
|
/**
|
|
8373
|
-
*
|
|
8423
|
+
* Activates the Chat App Message Service.
|
|
8374
8424
|
*
|
|
8375
8425
|
* @param request - OpenChatappServiceRequest
|
|
8376
8426
|
* @returns OpenChatappServiceResponse
|
|
@@ -8380,7 +8430,7 @@ class Client extends openapi_core_1.default {
|
|
|
8380
8430
|
return await this.openChatappServiceWithOptions(request, runtime);
|
|
8381
8431
|
}
|
|
8382
8432
|
/**
|
|
8383
|
-
*
|
|
8433
|
+
* Pauses a service.
|
|
8384
8434
|
*
|
|
8385
8435
|
* @param request - PauseMarketingFLowRequest
|
|
8386
8436
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8421,7 +8471,7 @@ class Client extends openapi_core_1.default {
|
|
|
8421
8471
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseMarketingFLowResponse({}));
|
|
8422
8472
|
}
|
|
8423
8473
|
/**
|
|
8424
|
-
*
|
|
8474
|
+
* Pauses a service.
|
|
8425
8475
|
*
|
|
8426
8476
|
* @param request - PauseMarketingFLowRequest
|
|
8427
8477
|
* @returns PauseMarketingFLowResponse
|
|
@@ -8650,7 +8700,7 @@ class Client extends openapi_core_1.default {
|
|
|
8650
8700
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8651
8701
|
}
|
|
8652
8702
|
/**
|
|
8653
|
-
*
|
|
8703
|
+
* Queries whether a marketing message is effective.
|
|
8654
8704
|
*
|
|
8655
8705
|
* @param request - QueryMMLActiveRequest
|
|
8656
8706
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8688,7 +8738,7 @@ class Client extends openapi_core_1.default {
|
|
|
8688
8738
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8689
8739
|
}
|
|
8690
8740
|
/**
|
|
8691
|
-
*
|
|
8741
|
+
* Queries whether a marketing message is effective.
|
|
8692
8742
|
*
|
|
8693
8743
|
* @param request - QueryMMLActiveRequest
|
|
8694
8744
|
* @returns QueryMMLActiveResponse
|
|
@@ -8815,9 +8865,9 @@ class Client extends openapi_core_1.default {
|
|
|
8815
8865
|
* Retrieves the details of a flow.
|
|
8816
8866
|
*
|
|
8817
8867
|
* @remarks
|
|
8818
|
-
* - You can call this
|
|
8819
|
-
* - Before
|
|
8820
|
-
* - If you
|
|
8868
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8869
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8870
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8821
8871
|
*
|
|
8822
8872
|
* @param tmpReq - ReadChatFlowRequest
|
|
8823
8873
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8869,9 +8919,9 @@ class Client extends openapi_core_1.default {
|
|
|
8869
8919
|
* Retrieves the details of a flow.
|
|
8870
8920
|
*
|
|
8871
8921
|
* @remarks
|
|
8872
|
-
* - You can call this
|
|
8873
|
-
* - Before
|
|
8874
|
-
* - If you
|
|
8922
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8923
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8924
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8875
8925
|
*
|
|
8876
8926
|
* @param request - ReadChatFlowRequest
|
|
8877
8927
|
* @returns ReadChatFlowResponse
|
|
@@ -8881,12 +8931,12 @@ class Client extends openapi_core_1.default {
|
|
|
8881
8931
|
return await this.readChatFlowWithOptions(request, runtime);
|
|
8882
8932
|
}
|
|
8883
8933
|
/**
|
|
8884
|
-
*
|
|
8934
|
+
* Queries the flow log settings.
|
|
8885
8935
|
*
|
|
8886
8936
|
* @remarks
|
|
8887
|
-
* - Before
|
|
8888
|
-
* - If log settings
|
|
8889
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8937
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8938
|
+
* - If flow log settings have not been created for your flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
8939
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8890
8940
|
*
|
|
8891
8941
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8892
8942
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8924,12 +8974,12 @@ class Client extends openapi_core_1.default {
|
|
|
8924
8974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
8925
8975
|
}
|
|
8926
8976
|
/**
|
|
8927
|
-
*
|
|
8977
|
+
* Queries the flow log settings.
|
|
8928
8978
|
*
|
|
8929
8979
|
* @remarks
|
|
8930
|
-
* - Before
|
|
8931
|
-
* - If log settings
|
|
8932
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8980
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8981
|
+
* - If flow log settings have not been created for your flow, first create them by calling the [CreateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937211.html) operation.
|
|
8982
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8933
8983
|
*
|
|
8934
8984
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8935
8985
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8964,6 +9014,9 @@ class Client extends openapi_core_1.default {
|
|
|
8964
9014
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
8965
9015
|
query["BizExtend"] = request.bizExtendShrink;
|
|
8966
9016
|
}
|
|
9017
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
9018
|
+
query["DraftVersion"] = request.draftVersion;
|
|
9019
|
+
}
|
|
8967
9020
|
if (!$dara.isNull(request.flowCode)) {
|
|
8968
9021
|
query["FlowCode"] = request.flowCode;
|
|
8969
9022
|
}
|
|
@@ -9014,7 +9067,7 @@ class Client extends openapi_core_1.default {
|
|
|
9014
9067
|
return await this.readFlowVersionWithOptions(request, runtime);
|
|
9015
9068
|
}
|
|
9016
9069
|
/**
|
|
9017
|
-
*
|
|
9070
|
+
* Removes a single contact from the current group.
|
|
9018
9071
|
*
|
|
9019
9072
|
* @param request - RemoveContactByIdRequest
|
|
9020
9073
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9055,7 +9108,7 @@ class Client extends openapi_core_1.default {
|
|
|
9055
9108
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveContactByIdResponse({}));
|
|
9056
9109
|
}
|
|
9057
9110
|
/**
|
|
9058
|
-
*
|
|
9111
|
+
* Removes a single contact from the current group.
|
|
9059
9112
|
*
|
|
9060
9113
|
* @param request - RemoveContactByIdRequest
|
|
9061
9114
|
* @returns RemoveContactByIdResponse
|
|
@@ -9262,12 +9315,12 @@ class Client extends openapi_core_1.default {
|
|
|
9262
9315
|
* @remarks
|
|
9263
9316
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9264
9317
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9265
|
-
* - For
|
|
9266
|
-
* - For
|
|
9267
|
-
* - For
|
|
9268
|
-
* <props="intl">- For
|
|
9318
|
+
* - For WhatsApp channels, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9319
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9320
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9321
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9269
9322
|
* ### QPS limit
|
|
9270
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
9323
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
9271
9324
|
* ### Status changes
|
|
9272
9325
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9273
9326
|
*
|
|
@@ -9416,12 +9469,12 @@ class Client extends openapi_core_1.default {
|
|
|
9416
9469
|
* @remarks
|
|
9417
9470
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9418
9471
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9419
|
-
* - For
|
|
9420
|
-
* - For
|
|
9421
|
-
* - For
|
|
9422
|
-
* <props="intl">- For
|
|
9472
|
+
* - For WhatsApp channels, you must complete [WABA registration and bindng](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
9473
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9474
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9475
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9423
9476
|
* ### QPS limit
|
|
9424
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
9477
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
9425
9478
|
* ### Status changes
|
|
9426
9479
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9427
9480
|
*
|
|
@@ -9537,7 +9590,7 @@ class Client extends openapi_core_1.default {
|
|
|
9537
9590
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9538
9591
|
}
|
|
9539
9592
|
/**
|
|
9540
|
-
*
|
|
9593
|
+
* Syncs a WhatsApp flow.
|
|
9541
9594
|
*
|
|
9542
9595
|
* @param request - SyncFlowRequest
|
|
9543
9596
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9575,7 +9628,7 @@ class Client extends openapi_core_1.default {
|
|
|
9575
9628
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9576
9629
|
}
|
|
9577
9630
|
/**
|
|
9578
|
-
*
|
|
9631
|
+
* Syncs a WhatsApp flow.
|
|
9579
9632
|
*
|
|
9580
9633
|
* @param request - SyncFlowRequest
|
|
9581
9634
|
* @returns SyncFlowResponse
|
|
@@ -9773,7 +9826,7 @@ class Client extends openapi_core_1.default {
|
|
|
9773
9826
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9774
9827
|
}
|
|
9775
9828
|
/**
|
|
9776
|
-
*
|
|
9829
|
+
* Unbinds an email account.
|
|
9777
9830
|
*
|
|
9778
9831
|
* @param request - UnbindDmAccountRequest
|
|
9779
9832
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9811,7 +9864,7 @@ class Client extends openapi_core_1.default {
|
|
|
9811
9864
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9812
9865
|
}
|
|
9813
9866
|
/**
|
|
9814
|
-
*
|
|
9867
|
+
* Unbinds an email account.
|
|
9815
9868
|
*
|
|
9816
9869
|
* @param request - UnbindDmAccountRequest
|
|
9817
9870
|
* @returns UnbindDmAccountResponse
|
|
@@ -9949,9 +10002,9 @@ class Client extends openapi_core_1.default {
|
|
|
9949
10002
|
* Updates the basic information of a flow based on the flow code.
|
|
9950
10003
|
*
|
|
9951
10004
|
* @remarks
|
|
9952
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
9953
|
-
* - Before calling this operation, make sure
|
|
9954
|
-
* - If you
|
|
10005
|
+
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Basic Information**.
|
|
10006
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10007
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
9955
10008
|
*
|
|
9956
10009
|
* @param tmpReq - UpdateChatFlowRequest
|
|
9957
10010
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10009,9 +10062,9 @@ class Client extends openapi_core_1.default {
|
|
|
10009
10062
|
* Updates the basic information of a flow based on the flow code.
|
|
10010
10063
|
*
|
|
10011
10064
|
* @remarks
|
|
10012
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
10013
|
-
* - Before calling this operation, make sure
|
|
10014
|
-
* - If you
|
|
10065
|
+
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings** > **Basic Information**.
|
|
10066
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10067
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10015
10068
|
*
|
|
10016
10069
|
* @param request - UpdateChatFlowRequest
|
|
10017
10070
|
* @returns UpdateChatFlowResponse
|
|
@@ -10228,7 +10281,7 @@ class Client extends openapi_core_1.default {
|
|
|
10228
10281
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10229
10282
|
}
|
|
10230
10283
|
/**
|
|
10231
|
-
*
|
|
10284
|
+
* Modifies a contact.
|
|
10232
10285
|
*
|
|
10233
10286
|
* @param tmpReq - UpdateContactByIdRequest
|
|
10234
10287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10292,7 +10345,7 @@ class Client extends openapi_core_1.default {
|
|
|
10292
10345
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
10293
10346
|
}
|
|
10294
10347
|
/**
|
|
10295
|
-
*
|
|
10348
|
+
* Modifies a contact.
|
|
10296
10349
|
*
|
|
10297
10350
|
* @param request - UpdateContactByIdRequest
|
|
10298
10351
|
* @returns UpdateContactByIdResponse
|
|
@@ -10440,12 +10493,12 @@ class Client extends openapi_core_1.default {
|
|
|
10440
10493
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10441
10494
|
}
|
|
10442
10495
|
/**
|
|
10443
|
-
* Updates the
|
|
10496
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10444
10497
|
*
|
|
10445
10498
|
* @remarks
|
|
10446
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
10447
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
10448
|
-
* - If you have not created a flow, you can manually create
|
|
10499
|
+
* - You can call this operation to update the DSL data of a flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10500
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10501
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10449
10502
|
*
|
|
10450
10503
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10451
10504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10486,6 +10539,9 @@ class Client extends openapi_core_1.default {
|
|
|
10486
10539
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
10487
10540
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10488
10541
|
}
|
|
10542
|
+
if (!$dara.isNull(request.type)) {
|
|
10543
|
+
query["Type"] = request.type;
|
|
10544
|
+
}
|
|
10489
10545
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10490
10546
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10491
10547
|
});
|
|
@@ -10503,12 +10559,12 @@ class Client extends openapi_core_1.default {
|
|
|
10503
10559
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10504
10560
|
}
|
|
10505
10561
|
/**
|
|
10506
|
-
* Updates the
|
|
10562
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10507
10563
|
*
|
|
10508
10564
|
* @remarks
|
|
10509
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
10510
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
10511
|
-
* - If you have not created a flow, you can manually create
|
|
10565
|
+
* - You can call this operation to update the DSL data of a flow version, or click a flow name on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10566
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10567
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10512
10568
|
*
|
|
10513
10569
|
* @param request - UpdateFlowVersionRequest
|
|
10514
10570
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10518,7 +10574,7 @@ class Client extends openapi_core_1.default {
|
|
|
10518
10574
|
return await this.updateFlowVersionWithOptions(request, runtime);
|
|
10519
10575
|
}
|
|
10520
10576
|
/**
|
|
10521
|
-
*
|
|
10577
|
+
* Renames a group.
|
|
10522
10578
|
*
|
|
10523
10579
|
* @param request - UpdateGroupNameRequest
|
|
10524
10580
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10559,7 +10615,7 @@ class Client extends openapi_core_1.default {
|
|
|
10559
10615
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGroupNameResponse({}));
|
|
10560
10616
|
}
|
|
10561
10617
|
/**
|
|
10562
|
-
*
|
|
10618
|
+
* Renames a group.
|
|
10563
10619
|
*
|
|
10564
10620
|
* @param request - UpdateGroupNameRequest
|
|
10565
10621
|
* @returns UpdateGroupNameResponse
|
|
@@ -11032,7 +11088,7 @@ class Client extends openapi_core_1.default {
|
|
|
11032
11088
|
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11033
11089
|
}
|
|
11034
11090
|
/**
|
|
11035
|
-
*
|
|
11091
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
11036
11092
|
*
|
|
11037
11093
|
* @param tmpReq - WhatsappCallRequest
|
|
11038
11094
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11090,7 +11146,7 @@ class Client extends openapi_core_1.default {
|
|
|
11090
11146
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WhatsappCallResponse({}));
|
|
11091
11147
|
}
|
|
11092
11148
|
/**
|
|
11093
|
-
*
|
|
11149
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
11094
11150
|
*
|
|
11095
11151
|
* @param request - WhatsappCallRequest
|
|
11096
11152
|
* @returns WhatsappCallResponse
|