@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/src/client.ts
CHANGED
|
@@ -693,7 +693,7 @@ export default class Client extends OpenApi {
|
|
|
693
693
|
}
|
|
694
694
|
|
|
695
695
|
/**
|
|
696
|
-
*
|
|
696
|
+
* Creates a campaign.
|
|
697
697
|
*
|
|
698
698
|
* @param tmpReq - AddMarketingFlowRequest
|
|
699
699
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -794,7 +794,7 @@ export default class Client extends OpenApi {
|
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
/**
|
|
797
|
-
*
|
|
797
|
+
* Creates a campaign.
|
|
798
798
|
*
|
|
799
799
|
* @param request - AddMarketingFlowRequest
|
|
800
800
|
* @returns AddMarketingFlowResponse
|
|
@@ -995,7 +995,7 @@ export default class Client extends OpenApi {
|
|
|
995
995
|
}
|
|
996
996
|
|
|
997
997
|
/**
|
|
998
|
-
*
|
|
998
|
+
* Binds the selected pageId.
|
|
999
999
|
*
|
|
1000
1000
|
* @param request - BindMessengerPageRequest
|
|
1001
1001
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1046,7 +1046,7 @@ export default class Client extends OpenApi {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
1048
1048
|
/**
|
|
1049
|
-
*
|
|
1049
|
+
* Binds the selected pageId.
|
|
1050
1050
|
*
|
|
1051
1051
|
* @param request - BindMessengerPageRequest
|
|
1052
1052
|
* @returns BindMessengerPageResponse
|
|
@@ -1057,7 +1057,7 @@ export default class Client extends OpenApi {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
|
|
1059
1059
|
/**
|
|
1060
|
-
*
|
|
1060
|
+
* Moves a resource to a different resource group.
|
|
1061
1061
|
*
|
|
1062
1062
|
* @param request - ChangeResourceGroupRequest
|
|
1063
1063
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1096,7 +1096,7 @@ export default class Client extends OpenApi {
|
|
|
1096
1096
|
}
|
|
1097
1097
|
|
|
1098
1098
|
/**
|
|
1099
|
-
*
|
|
1099
|
+
* Moves a resource to a different resource group.
|
|
1100
1100
|
*
|
|
1101
1101
|
* @param request - ChangeResourceGroupRequest
|
|
1102
1102
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1688,8 +1688,8 @@ export default class Client extends OpenApi {
|
|
|
1688
1688
|
* Creates a flow.
|
|
1689
1689
|
*
|
|
1690
1690
|
* @remarks
|
|
1691
|
-
* -
|
|
1692
|
-
* - After
|
|
1691
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1692
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1693
1693
|
*
|
|
1694
1694
|
* @param tmpReq - CreateChatFlowRequest
|
|
1695
1695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1703,6 +1703,10 @@ export default class Client extends OpenApi {
|
|
|
1703
1703
|
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
1706
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1707
|
+
request.lifeCycleExtendDataShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1706
1710
|
let query = { };
|
|
1707
1711
|
if (!$dara.isNull(request.bizCode)) {
|
|
1708
1712
|
query["BizCode"] = request.bizCode;
|
|
@@ -1712,10 +1716,22 @@ export default class Client extends OpenApi {
|
|
|
1712
1716
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1713
1717
|
}
|
|
1714
1718
|
|
|
1719
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1720
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1724
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1715
1727
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1716
1728
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1717
1729
|
}
|
|
1718
1730
|
|
|
1731
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1732
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1719
1735
|
if (!$dara.isNull(request.ownerId)) {
|
|
1720
1736
|
query["OwnerId"] = request.ownerId;
|
|
1721
1737
|
}
|
|
@@ -1757,8 +1773,8 @@ export default class Client extends OpenApi {
|
|
|
1757
1773
|
* Creates a flow.
|
|
1758
1774
|
*
|
|
1759
1775
|
* @remarks
|
|
1760
|
-
* -
|
|
1761
|
-
* - After
|
|
1776
|
+
* - You can create a flow by calling this operation or manually in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1777
|
+
* - After creating a flow, refer to [Flow editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1762
1778
|
*
|
|
1763
1779
|
* @param request - CreateChatFlowRequest
|
|
1764
1780
|
* @returns CreateChatFlowResponse
|
|
@@ -1772,9 +1788,9 @@ export default class Client extends OpenApi {
|
|
|
1772
1788
|
* Creates and imports a flow.
|
|
1773
1789
|
*
|
|
1774
1790
|
* @remarks
|
|
1775
|
-
* - You can call this operation to create and import a flow
|
|
1776
|
-
* - Before
|
|
1777
|
-
* - If you do not have
|
|
1791
|
+
* - 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.
|
|
1792
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1793
|
+
* - 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.
|
|
1778
1794
|
*
|
|
1779
1795
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1780
1796
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1842,9 +1858,9 @@ export default class Client extends OpenApi {
|
|
|
1842
1858
|
* Creates and imports a flow.
|
|
1843
1859
|
*
|
|
1844
1860
|
* @remarks
|
|
1845
|
-
* - You can call this operation to create and import a flow
|
|
1846
|
-
* - Before
|
|
1847
|
-
* - If you do not have
|
|
1861
|
+
* - 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.
|
|
1862
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1863
|
+
* - 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.
|
|
1848
1864
|
*
|
|
1849
1865
|
* @param request - CreateChatFlowByImportRequest
|
|
1850
1866
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1855,13 +1871,13 @@ export default class Client extends OpenApi {
|
|
|
1855
1871
|
}
|
|
1856
1872
|
|
|
1857
1873
|
/**
|
|
1858
|
-
* Creates
|
|
1874
|
+
* Creates a flow log setting.
|
|
1859
1875
|
*
|
|
1860
1876
|
* @remarks
|
|
1861
|
-
* - To update
|
|
1862
|
-
* - If you do not need to update the log
|
|
1863
|
-
* - Before
|
|
1864
|
-
* - If you do not have a successfully created flow, you can create
|
|
1877
|
+
* - 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.
|
|
1878
|
+
* - 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.
|
|
1879
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1880
|
+
* - 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.
|
|
1865
1881
|
*
|
|
1866
1882
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1867
1883
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1904,13 +1920,13 @@ export default class Client extends OpenApi {
|
|
|
1904
1920
|
}
|
|
1905
1921
|
|
|
1906
1922
|
/**
|
|
1907
|
-
* Creates
|
|
1923
|
+
* Creates a flow log setting.
|
|
1908
1924
|
*
|
|
1909
1925
|
* @remarks
|
|
1910
|
-
* - To update
|
|
1911
|
-
* - If you do not need to update the log
|
|
1912
|
-
* - Before
|
|
1913
|
-
* - If you do not have a successfully created flow, you can create
|
|
1926
|
+
* - 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.
|
|
1927
|
+
* - 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.
|
|
1928
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1929
|
+
* - 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.
|
|
1914
1930
|
*
|
|
1915
1931
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1916
1932
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1989,13 +2005,13 @@ export default class Client extends OpenApi {
|
|
|
1989
2005
|
}
|
|
1990
2006
|
|
|
1991
2007
|
/**
|
|
1992
|
-
* Creates a message template. After
|
|
2008
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
1993
2009
|
*
|
|
1994
2010
|
* @remarks
|
|
1995
2011
|
* ### QPS limit
|
|
1996
|
-
* The
|
|
1997
|
-
* ### Status
|
|
1998
|
-
* You can monitor template status and quality changes
|
|
2012
|
+
* 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.
|
|
2013
|
+
* ### Status changes
|
|
2014
|
+
* 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).
|
|
1999
2015
|
*
|
|
2000
2016
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
2001
2017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2013,57 +2029,61 @@ export default class Client extends OpenApi {
|
|
|
2013
2029
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
2014
2030
|
}
|
|
2015
2031
|
|
|
2016
|
-
let
|
|
2032
|
+
let query = { };
|
|
2017
2033
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
2018
|
-
|
|
2034
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
2019
2035
|
}
|
|
2020
2036
|
|
|
2021
2037
|
if (!$dara.isNull(request.category)) {
|
|
2022
|
-
|
|
2038
|
+
query["Category"] = request.category;
|
|
2023
2039
|
}
|
|
2024
2040
|
|
|
2025
2041
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
2026
|
-
|
|
2042
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
2027
2043
|
}
|
|
2028
2044
|
|
|
2029
2045
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
2030
|
-
|
|
2046
|
+
query["Components"] = request.componentsShrink;
|
|
2031
2047
|
}
|
|
2032
2048
|
|
|
2033
2049
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2034
|
-
|
|
2050
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
2035
2051
|
}
|
|
2036
2052
|
|
|
2037
2053
|
if (!$dara.isNull(request.custWabaId)) {
|
|
2038
|
-
|
|
2054
|
+
query["CustWabaId"] = request.custWabaId;
|
|
2039
2055
|
}
|
|
2040
2056
|
|
|
2041
2057
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
2042
|
-
|
|
2058
|
+
query["Example"] = request.exampleShrink;
|
|
2043
2059
|
}
|
|
2044
2060
|
|
|
2045
2061
|
if (!$dara.isNull(request.isvCode)) {
|
|
2046
|
-
|
|
2062
|
+
query["IsvCode"] = request.isvCode;
|
|
2047
2063
|
}
|
|
2048
2064
|
|
|
2049
2065
|
if (!$dara.isNull(request.language)) {
|
|
2050
|
-
|
|
2066
|
+
query["Language"] = request.language;
|
|
2051
2067
|
}
|
|
2052
2068
|
|
|
2053
2069
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
2054
|
-
|
|
2070
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
2055
2071
|
}
|
|
2056
2072
|
|
|
2057
2073
|
if (!$dara.isNull(request.name)) {
|
|
2058
|
-
|
|
2074
|
+
query["Name"] = request.name;
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
2078
|
+
query["ProductSetId"] = request.productSetId;
|
|
2059
2079
|
}
|
|
2060
2080
|
|
|
2061
2081
|
if (!$dara.isNull(request.templateType)) {
|
|
2062
|
-
|
|
2082
|
+
query["TemplateType"] = request.templateType;
|
|
2063
2083
|
}
|
|
2064
2084
|
|
|
2065
2085
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2066
|
-
|
|
2086
|
+
query: OpenApiUtil.query(query),
|
|
2067
2087
|
});
|
|
2068
2088
|
let params = new $OpenApiUtil.Params({
|
|
2069
2089
|
action: "CreateChatappTemplate",
|
|
@@ -2080,13 +2100,13 @@ export default class Client extends OpenApi {
|
|
|
2080
2100
|
}
|
|
2081
2101
|
|
|
2082
2102
|
/**
|
|
2083
|
-
* Creates a message template. After
|
|
2103
|
+
* Creates a message template. After the template is approved, you can use it to send messages.
|
|
2084
2104
|
*
|
|
2085
2105
|
* @remarks
|
|
2086
2106
|
* ### QPS limit
|
|
2087
|
-
* The
|
|
2088
|
-
* ### Status
|
|
2089
|
-
* You can monitor template status and quality changes
|
|
2107
|
+
* 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.
|
|
2108
|
+
* ### Status changes
|
|
2109
|
+
* 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).
|
|
2090
2110
|
*
|
|
2091
2111
|
* @param request - CreateChatappTemplateRequest
|
|
2092
2112
|
* @returns CreateChatappTemplateResponse
|
|
@@ -2253,12 +2273,12 @@ export default class Client extends OpenApi {
|
|
|
2253
2273
|
}
|
|
2254
2274
|
|
|
2255
2275
|
/**
|
|
2256
|
-
* Creates a new version
|
|
2276
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2257
2277
|
*
|
|
2258
2278
|
* @remarks
|
|
2259
|
-
* - You can call this operation to create a new flow version
|
|
2260
|
-
* - Before
|
|
2261
|
-
* - If you
|
|
2279
|
+
* - 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.
|
|
2280
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2281
|
+
* - 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.
|
|
2262
2282
|
*
|
|
2263
2283
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2264
2284
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2323,12 +2343,12 @@ export default class Client extends OpenApi {
|
|
|
2323
2343
|
}
|
|
2324
2344
|
|
|
2325
2345
|
/**
|
|
2326
|
-
* Creates a new version
|
|
2346
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2327
2347
|
*
|
|
2328
2348
|
* @remarks
|
|
2329
|
-
* - You can call this operation to create a new flow version
|
|
2330
|
-
* - Before
|
|
2331
|
-
* - If you
|
|
2349
|
+
* - 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.
|
|
2350
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2351
|
+
* - 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.
|
|
2332
2352
|
*
|
|
2333
2353
|
* @param request - CreateFlowVersionRequest
|
|
2334
2354
|
* @returns CreateFlowVersionResponse
|
|
@@ -2491,7 +2511,7 @@ export default class Client extends OpenApi {
|
|
|
2491
2511
|
}
|
|
2492
2512
|
|
|
2493
2513
|
/**
|
|
2494
|
-
*
|
|
2514
|
+
* Authorizes an embedded messenger.
|
|
2495
2515
|
*
|
|
2496
2516
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2497
2517
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2556,7 +2576,7 @@ export default class Client extends OpenApi {
|
|
|
2556
2576
|
}
|
|
2557
2577
|
|
|
2558
2578
|
/**
|
|
2559
|
-
*
|
|
2579
|
+
* Authorizes an embedded messenger.
|
|
2560
2580
|
*
|
|
2561
2581
|
* @param request - CreateMessengerPageRequest
|
|
2562
2582
|
* @returns CreateMessengerPageResponse
|
|
@@ -2572,12 +2592,12 @@ export default class Client extends OpenApi {
|
|
|
2572
2592
|
* @remarks
|
|
2573
2593
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2574
2594
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2575
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2595
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2576
2596
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2577
2597
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2578
2598
|
* page.
|
|
2579
2599
|
* #### QPS limit
|
|
2580
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2600
|
+
* 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.
|
|
2581
2601
|
*
|
|
2582
2602
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2583
2603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2637,12 +2657,12 @@ export default class Client extends OpenApi {
|
|
|
2637
2657
|
* @remarks
|
|
2638
2658
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2639
2659
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2640
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2660
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2641
2661
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2642
2662
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2643
2663
|
* page.
|
|
2644
2664
|
* #### QPS limit
|
|
2645
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2665
|
+
* 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.
|
|
2646
2666
|
*
|
|
2647
2667
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2648
2668
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2653,7 +2673,7 @@ export default class Client extends OpenApi {
|
|
|
2653
2673
|
}
|
|
2654
2674
|
|
|
2655
2675
|
/**
|
|
2656
|
-
*
|
|
2676
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2657
2677
|
*
|
|
2658
2678
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2659
2679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2710,7 +2730,7 @@ export default class Client extends OpenApi {
|
|
|
2710
2730
|
}
|
|
2711
2731
|
|
|
2712
2732
|
/**
|
|
2713
|
-
*
|
|
2733
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2714
2734
|
*
|
|
2715
2735
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2716
2736
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2724,9 +2744,9 @@ export default class Client extends OpenApi {
|
|
|
2724
2744
|
* Deletes a flow.
|
|
2725
2745
|
*
|
|
2726
2746
|
* @remarks
|
|
2727
|
-
* - You can call this operation to delete a flow
|
|
2728
|
-
* - Before
|
|
2729
|
-
* -
|
|
2747
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2748
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2749
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2730
2750
|
*
|
|
2731
2751
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2732
2752
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2786,9 +2806,9 @@ export default class Client extends OpenApi {
|
|
|
2786
2806
|
* Deletes a flow.
|
|
2787
2807
|
*
|
|
2788
2808
|
* @remarks
|
|
2789
|
-
* - You can call this operation to delete a flow
|
|
2790
|
-
* - Before
|
|
2791
|
-
* -
|
|
2809
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2810
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2811
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2792
2812
|
*
|
|
2793
2813
|
* @param request - DeleteChatFlowRequest
|
|
2794
2814
|
* @returns DeleteChatFlowResponse
|
|
@@ -3131,7 +3151,7 @@ export default class Client extends OpenApi {
|
|
|
3131
3151
|
}
|
|
3132
3152
|
|
|
3133
3153
|
/**
|
|
3134
|
-
*
|
|
3154
|
+
* Deletes a contact from the contact list.
|
|
3135
3155
|
*
|
|
3136
3156
|
* @param tmpReq - DeleteContactsRequest
|
|
3137
3157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3200,7 +3220,7 @@ export default class Client extends OpenApi {
|
|
|
3200
3220
|
}
|
|
3201
3221
|
|
|
3202
3222
|
/**
|
|
3203
|
-
*
|
|
3223
|
+
* Deletes a contact from the contact list.
|
|
3204
3224
|
*
|
|
3205
3225
|
* @param request - DeleteContactsRequest
|
|
3206
3226
|
* @returns DeleteContactsResponse
|
|
@@ -3413,7 +3433,7 @@ export default class Client extends OpenApi {
|
|
|
3413
3433
|
}
|
|
3414
3434
|
|
|
3415
3435
|
/**
|
|
3416
|
-
*
|
|
3436
|
+
* Deletes a group.
|
|
3417
3437
|
*
|
|
3418
3438
|
* @param request - DeleteGroupByIdRequest
|
|
3419
3439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3456,7 +3476,7 @@ export default class Client extends OpenApi {
|
|
|
3456
3476
|
}
|
|
3457
3477
|
|
|
3458
3478
|
/**
|
|
3459
|
-
*
|
|
3479
|
+
* Deletes a group.
|
|
3460
3480
|
*
|
|
3461
3481
|
* @param request - DeleteGroupByIdRequest
|
|
3462
3482
|
* @returns DeleteGroupByIdResponse
|
|
@@ -3467,7 +3487,7 @@ export default class Client extends OpenApi {
|
|
|
3467
3487
|
}
|
|
3468
3488
|
|
|
3469
3489
|
/**
|
|
3470
|
-
*
|
|
3490
|
+
* Deletes a page from an Instagram instance.
|
|
3471
3491
|
*
|
|
3472
3492
|
* @param request - DeleteInstagramPageRequest
|
|
3473
3493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3514,7 +3534,7 @@ export default class Client extends OpenApi {
|
|
|
3514
3534
|
}
|
|
3515
3535
|
|
|
3516
3536
|
/**
|
|
3517
|
-
*
|
|
3537
|
+
* Deletes a page from an Instagram instance.
|
|
3518
3538
|
*
|
|
3519
3539
|
* @param request - DeleteInstagramPageRequest
|
|
3520
3540
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3691,7 +3711,7 @@ export default class Client extends OpenApi {
|
|
|
3691
3711
|
}
|
|
3692
3712
|
|
|
3693
3713
|
/**
|
|
3694
|
-
*
|
|
3714
|
+
* Deletes a Messenger page.
|
|
3695
3715
|
*
|
|
3696
3716
|
* @param request - DeleteMessengerPageRequest
|
|
3697
3717
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3738,7 +3758,7 @@ export default class Client extends OpenApi {
|
|
|
3738
3758
|
}
|
|
3739
3759
|
|
|
3740
3760
|
/**
|
|
3741
|
-
*
|
|
3761
|
+
* Deletes a Messenger page.
|
|
3742
3762
|
*
|
|
3743
3763
|
* @param request - DeleteMessengerPageRequest
|
|
3744
3764
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3871,10 +3891,10 @@ export default class Client extends OpenApi {
|
|
|
3871
3891
|
}
|
|
3872
3892
|
|
|
3873
3893
|
/**
|
|
3874
|
-
* Deprecates a
|
|
3894
|
+
* Deprecates a Flow.
|
|
3875
3895
|
*
|
|
3876
3896
|
* @remarks
|
|
3877
|
-
*
|
|
3897
|
+
* 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.
|
|
3878
3898
|
*
|
|
3879
3899
|
* @param request - DeprecateFlowRequest
|
|
3880
3900
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3921,10 +3941,10 @@ export default class Client extends OpenApi {
|
|
|
3921
3941
|
}
|
|
3922
3942
|
|
|
3923
3943
|
/**
|
|
3924
|
-
* Deprecates a
|
|
3944
|
+
* Deprecates a Flow.
|
|
3925
3945
|
*
|
|
3926
3946
|
* @remarks
|
|
3927
|
-
*
|
|
3947
|
+
* 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.
|
|
3928
3948
|
*
|
|
3929
3949
|
* @param request - DeprecateFlowRequest
|
|
3930
3950
|
* @returns DeprecateFlowResponse
|
|
@@ -4007,16 +4027,15 @@ export default class Client extends OpenApi {
|
|
|
4007
4027
|
}
|
|
4008
4028
|
|
|
4009
4029
|
/**
|
|
4010
|
-
*
|
|
4030
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4011
4031
|
*
|
|
4012
4032
|
* @remarks
|
|
4013
|
-
* -
|
|
4014
|
-
* - Before
|
|
4015
|
-
* - For
|
|
4016
|
-
* - For
|
|
4017
|
-
* - For
|
|
4018
|
-
* <props="intl"
|
|
4019
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
4033
|
+
* - 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.
|
|
4034
|
+
* - 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.
|
|
4035
|
+
* - 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).
|
|
4036
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4037
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4038
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
4020
4039
|
*
|
|
4021
4040
|
* @param tmpReq - FlowBindPhoneRequest
|
|
4022
4041
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4026,6 +4045,10 @@ export default class Client extends OpenApi {
|
|
|
4026
4045
|
tmpReq.validate();
|
|
4027
4046
|
let request = new $_model.FlowBindPhoneShrinkRequest({ });
|
|
4028
4047
|
OpenApiUtil.convert(tmpReq, request);
|
|
4048
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4049
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4029
4052
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
4030
4053
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
4031
4054
|
}
|
|
@@ -4047,6 +4070,10 @@ export default class Client extends OpenApi {
|
|
|
4047
4070
|
query["FlowVersion"] = request.flowVersion;
|
|
4048
4071
|
}
|
|
4049
4072
|
|
|
4073
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4074
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4075
|
+
}
|
|
4076
|
+
|
|
4050
4077
|
if (!$dara.isNull(request.ownerId)) {
|
|
4051
4078
|
query["OwnerId"] = request.ownerId;
|
|
4052
4079
|
}
|
|
@@ -4085,16 +4112,15 @@ export default class Client extends OpenApi {
|
|
|
4085
4112
|
}
|
|
4086
4113
|
|
|
4087
4114
|
/**
|
|
4088
|
-
*
|
|
4115
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4089
4116
|
*
|
|
4090
4117
|
* @remarks
|
|
4091
|
-
* -
|
|
4092
|
-
* - Before
|
|
4093
|
-
* - For
|
|
4094
|
-
* - For
|
|
4095
|
-
* - For
|
|
4096
|
-
* <props="intl"
|
|
4097
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
4118
|
+
* - 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.
|
|
4119
|
+
* - 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.
|
|
4120
|
+
* - 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).
|
|
4121
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4122
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4123
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
4098
4124
|
*
|
|
4099
4125
|
* @param request - FlowBindPhoneRequest
|
|
4100
4126
|
* @returns FlowBindPhoneResponse
|
|
@@ -4108,7 +4134,7 @@ export default class Client extends OpenApi {
|
|
|
4108
4134
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
4109
4135
|
*
|
|
4110
4136
|
* @remarks
|
|
4111
|
-
* -
|
|
4137
|
+
* - 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**.
|
|
4112
4138
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4113
4139
|
* - 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.
|
|
4114
4140
|
*
|
|
@@ -4120,6 +4146,10 @@ export default class Client extends OpenApi {
|
|
|
4120
4146
|
tmpReq.validate();
|
|
4121
4147
|
let request = new $_model.FlowRebindPhoneShrinkRequest({ });
|
|
4122
4148
|
OpenApiUtil.convert(tmpReq, request);
|
|
4149
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4150
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4151
|
+
}
|
|
4152
|
+
|
|
4123
4153
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
4124
4154
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
4125
4155
|
}
|
|
@@ -4141,6 +4171,10 @@ export default class Client extends OpenApi {
|
|
|
4141
4171
|
query["FlowVersion"] = request.flowVersion;
|
|
4142
4172
|
}
|
|
4143
4173
|
|
|
4174
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4175
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4176
|
+
}
|
|
4177
|
+
|
|
4144
4178
|
if (!$dara.isNull(request.ownerId)) {
|
|
4145
4179
|
query["OwnerId"] = request.ownerId;
|
|
4146
4180
|
}
|
|
@@ -4182,7 +4216,7 @@ export default class Client extends OpenApi {
|
|
|
4182
4216
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
4183
4217
|
*
|
|
4184
4218
|
* @remarks
|
|
4185
|
-
* -
|
|
4219
|
+
* - 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**.
|
|
4186
4220
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4187
4221
|
* - 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.
|
|
4188
4222
|
*
|
|
@@ -4195,14 +4229,14 @@ export default class Client extends OpenApi {
|
|
|
4195
4229
|
}
|
|
4196
4230
|
|
|
4197
4231
|
/**
|
|
4198
|
-
*
|
|
4232
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4199
4233
|
*
|
|
4200
4234
|
* @remarks
|
|
4201
|
-
* - Before
|
|
4202
|
-
* - You can call this operation to
|
|
4203
|
-
* - Before
|
|
4204
|
-
* - If
|
|
4205
|
-
* - After a phone number or
|
|
4235
|
+
* - 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.
|
|
4236
|
+
* - 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.
|
|
4237
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
4238
|
+
* - 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.
|
|
4239
|
+
* - 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.
|
|
4206
4240
|
*
|
|
4207
4241
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4208
4242
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4263,14 +4297,14 @@ export default class Client extends OpenApi {
|
|
|
4263
4297
|
}
|
|
4264
4298
|
|
|
4265
4299
|
/**
|
|
4266
|
-
*
|
|
4300
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4267
4301
|
*
|
|
4268
4302
|
* @remarks
|
|
4269
|
-
* - Before
|
|
4270
|
-
* - You can call this operation to
|
|
4271
|
-
* - Before
|
|
4272
|
-
* - If
|
|
4273
|
-
* - After a phone number or
|
|
4303
|
+
* - 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.
|
|
4304
|
+
* - 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.
|
|
4305
|
+
* - Before calling this operation, make sure your successfully created flow has a phone number or merchant account ID associated with it.
|
|
4306
|
+
* - 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.
|
|
4307
|
+
* - 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.
|
|
4274
4308
|
*
|
|
4275
4309
|
* @param request - FlowUnbindPhoneRequest
|
|
4276
4310
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4335,7 +4369,7 @@ export default class Client extends OpenApi {
|
|
|
4335
4369
|
}
|
|
4336
4370
|
|
|
4337
4371
|
/**
|
|
4338
|
-
*
|
|
4372
|
+
* Queries pending review tickets for an individual by type.
|
|
4339
4373
|
*
|
|
4340
4374
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4341
4375
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4382,7 +4416,7 @@ export default class Client extends OpenApi {
|
|
|
4382
4416
|
}
|
|
4383
4417
|
|
|
4384
4418
|
/**
|
|
4385
|
-
*
|
|
4419
|
+
* Queries pending review tickets for an individual by type.
|
|
4386
4420
|
*
|
|
4387
4421
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4388
4422
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4447,9 +4481,9 @@ export default class Client extends OpenApi {
|
|
|
4447
4481
|
*
|
|
4448
4482
|
* @remarks
|
|
4449
4483
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4450
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
4451
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
4452
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
4484
|
+
* - 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.
|
|
4485
|
+
* - 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.
|
|
4486
|
+
* - 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.
|
|
4453
4487
|
*
|
|
4454
4488
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4455
4489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4534,9 +4568,9 @@ export default class Client extends OpenApi {
|
|
|
4534
4568
|
*
|
|
4535
4569
|
* @remarks
|
|
4536
4570
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4537
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
4538
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
4539
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
4571
|
+
* - 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.
|
|
4572
|
+
* - 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.
|
|
4573
|
+
* - 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.
|
|
4540
4574
|
*
|
|
4541
4575
|
* @param request - GetChatFlowMetricRequest
|
|
4542
4576
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4550,8 +4584,8 @@ export default class Client extends OpenApi {
|
|
|
4550
4584
|
* Queries the details of a flow template.
|
|
4551
4585
|
*
|
|
4552
4586
|
* @remarks
|
|
4553
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4554
|
-
* - After you view
|
|
4587
|
+
* - 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).
|
|
4588
|
+
* - 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.
|
|
4555
4589
|
*
|
|
4556
4590
|
* @param request - GetChatFlowTemplateRequest
|
|
4557
4591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4601,8 +4635,8 @@ export default class Client extends OpenApi {
|
|
|
4601
4635
|
* Queries the details of a flow template.
|
|
4602
4636
|
*
|
|
4603
4637
|
* @remarks
|
|
4604
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4605
|
-
* - After you view
|
|
4638
|
+
* - 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).
|
|
4639
|
+
* - 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.
|
|
4606
4640
|
*
|
|
4607
4641
|
* @param request - GetChatFlowTemplateRequest
|
|
4608
4642
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4815,7 +4849,7 @@ export default class Client extends OpenApi {
|
|
|
4815
4849
|
*
|
|
4816
4850
|
* @remarks
|
|
4817
4851
|
* ### QPS limit
|
|
4818
|
-
* The single-user QPS limit for this
|
|
4852
|
+
* 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.
|
|
4819
4853
|
*
|
|
4820
4854
|
* @param request - GetChatappTemplateDetailRequest
|
|
4821
4855
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4874,7 +4908,7 @@ export default class Client extends OpenApi {
|
|
|
4874
4908
|
*
|
|
4875
4909
|
* @remarks
|
|
4876
4910
|
* ### QPS limit
|
|
4877
|
-
* The single-user QPS limit for this
|
|
4911
|
+
* 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.
|
|
4878
4912
|
*
|
|
4879
4913
|
* @param request - GetChatappTemplateDetailRequest
|
|
4880
4914
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -5295,7 +5329,7 @@ export default class Client extends OpenApi {
|
|
|
5295
5329
|
}
|
|
5296
5330
|
|
|
5297
5331
|
/**
|
|
5298
|
-
*
|
|
5332
|
+
* Downloads Excel data.
|
|
5299
5333
|
*
|
|
5300
5334
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
5301
5335
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5380,7 +5414,7 @@ export default class Client extends OpenApi {
|
|
|
5380
5414
|
}
|
|
5381
5415
|
|
|
5382
5416
|
/**
|
|
5383
|
-
*
|
|
5417
|
+
* Downloads Excel data.
|
|
5384
5418
|
*
|
|
5385
5419
|
* @param request - GetDownloadExcelListRequest
|
|
5386
5420
|
* @returns GetDownloadExcelListResponse
|
|
@@ -5391,7 +5425,7 @@ export default class Client extends OpenApi {
|
|
|
5391
5425
|
}
|
|
5392
5426
|
|
|
5393
5427
|
/**
|
|
5394
|
-
*
|
|
5428
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5395
5429
|
*
|
|
5396
5430
|
* @param request - GetFbInstagramPagesRequest
|
|
5397
5431
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5438,7 +5472,7 @@ export default class Client extends OpenApi {
|
|
|
5438
5472
|
}
|
|
5439
5473
|
|
|
5440
5474
|
/**
|
|
5441
|
-
*
|
|
5475
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5442
5476
|
*
|
|
5443
5477
|
* @param request - GetFbInstagramPagesRequest
|
|
5444
5478
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5449,7 +5483,7 @@ export default class Client extends OpenApi {
|
|
|
5449
5483
|
}
|
|
5450
5484
|
|
|
5451
5485
|
/**
|
|
5452
|
-
*
|
|
5486
|
+
* Retrieves the list of Facebook page IDs.
|
|
5453
5487
|
*
|
|
5454
5488
|
* @param request - GetFbMessengerPagesRequest
|
|
5455
5489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5496,7 +5530,7 @@ export default class Client extends OpenApi {
|
|
|
5496
5530
|
}
|
|
5497
5531
|
|
|
5498
5532
|
/**
|
|
5499
|
-
*
|
|
5533
|
+
* Retrieves the list of Facebook page IDs.
|
|
5500
5534
|
*
|
|
5501
5535
|
* @param request - GetFbMessengerPagesRequest
|
|
5502
5536
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -5507,13 +5541,13 @@ export default class Client extends OpenApi {
|
|
|
5507
5541
|
}
|
|
5508
5542
|
|
|
5509
5543
|
/**
|
|
5510
|
-
*
|
|
5544
|
+
* Retrieves the details of a Flow.
|
|
5511
5545
|
*
|
|
5512
5546
|
* @remarks
|
|
5513
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5514
|
-
* - If you
|
|
5547
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5548
|
+
* - 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.
|
|
5515
5549
|
* #### QPS limit
|
|
5516
|
-
*
|
|
5550
|
+
* 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.
|
|
5517
5551
|
*
|
|
5518
5552
|
* @param request - GetFlowRequest
|
|
5519
5553
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5560,13 +5594,13 @@ export default class Client extends OpenApi {
|
|
|
5560
5594
|
}
|
|
5561
5595
|
|
|
5562
5596
|
/**
|
|
5563
|
-
*
|
|
5597
|
+
* Retrieves the details of a Flow.
|
|
5564
5598
|
*
|
|
5565
5599
|
* @remarks
|
|
5566
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5567
|
-
* - If you
|
|
5600
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5601
|
+
* - 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.
|
|
5568
5602
|
* #### QPS limit
|
|
5569
|
-
*
|
|
5603
|
+
* 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.
|
|
5570
5604
|
*
|
|
5571
5605
|
* @param request - GetFlowRequest
|
|
5572
5606
|
* @returns GetFlowResponse
|
|
@@ -5577,13 +5611,13 @@ export default class Client extends OpenApi {
|
|
|
5577
5611
|
}
|
|
5578
5612
|
|
|
5579
5613
|
/**
|
|
5580
|
-
*
|
|
5614
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5581
5615
|
*
|
|
5582
5616
|
* @remarks
|
|
5583
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5584
|
-
* - If you
|
|
5617
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5618
|
+
* - 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.
|
|
5585
5619
|
* #### QPS limit
|
|
5586
|
-
*
|
|
5620
|
+
* 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.
|
|
5587
5621
|
*
|
|
5588
5622
|
* @param request - GetFlowJSONAssestRequest
|
|
5589
5623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5630,13 +5664,13 @@ export default class Client extends OpenApi {
|
|
|
5630
5664
|
}
|
|
5631
5665
|
|
|
5632
5666
|
/**
|
|
5633
|
-
*
|
|
5667
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5634
5668
|
*
|
|
5635
5669
|
* @remarks
|
|
5636
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5637
|
-
* - If you
|
|
5670
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5671
|
+
* - 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.
|
|
5638
5672
|
* #### QPS limit
|
|
5639
|
-
*
|
|
5673
|
+
* 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.
|
|
5640
5674
|
*
|
|
5641
5675
|
* @param request - GetFlowJSONAssestRequest
|
|
5642
5676
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -5647,14 +5681,14 @@ export default class Client extends OpenApi {
|
|
|
5647
5681
|
}
|
|
5648
5682
|
|
|
5649
5683
|
/**
|
|
5650
|
-
*
|
|
5684
|
+
* Retrieves the preview URL of a Flow.
|
|
5651
5685
|
*
|
|
5652
5686
|
* @remarks
|
|
5653
|
-
* - After
|
|
5654
|
-
* - Before
|
|
5655
|
-
* - If you do not have a WhatsApp
|
|
5687
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5688
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5689
|
+
* - 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.
|
|
5656
5690
|
* #### QPS limit
|
|
5657
|
-
*
|
|
5691
|
+
* 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.
|
|
5658
5692
|
*
|
|
5659
5693
|
* @param request - GetFlowPreviewUrlRequest
|
|
5660
5694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5701,14 +5735,14 @@ export default class Client extends OpenApi {
|
|
|
5701
5735
|
}
|
|
5702
5736
|
|
|
5703
5737
|
/**
|
|
5704
|
-
*
|
|
5738
|
+
* Retrieves the preview URL of a Flow.
|
|
5705
5739
|
*
|
|
5706
5740
|
* @remarks
|
|
5707
|
-
* - After
|
|
5708
|
-
* - Before
|
|
5709
|
-
* - If you do not have a WhatsApp
|
|
5741
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5742
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5743
|
+
* - 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.
|
|
5710
5744
|
* #### QPS limit
|
|
5711
|
-
*
|
|
5745
|
+
* 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.
|
|
5712
5746
|
*
|
|
5713
5747
|
* @param request - GetFlowPreviewUrlRequest
|
|
5714
5748
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5719,7 +5753,7 @@ export default class Client extends OpenApi {
|
|
|
5719
5753
|
}
|
|
5720
5754
|
|
|
5721
5755
|
/**
|
|
5722
|
-
*
|
|
5756
|
+
* Queries whether a group name already exists.
|
|
5723
5757
|
*
|
|
5724
5758
|
* @param tmpReq - GetGroupExistRequest
|
|
5725
5759
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5776,7 +5810,7 @@ export default class Client extends OpenApi {
|
|
|
5776
5810
|
}
|
|
5777
5811
|
|
|
5778
5812
|
/**
|
|
5779
|
-
*
|
|
5813
|
+
* Queries whether a group name already exists.
|
|
5780
5814
|
*
|
|
5781
5815
|
* @param request - GetGroupExistRequest
|
|
5782
5816
|
* @returns GetGroupExistResponse
|
|
@@ -6072,10 +6106,13 @@ export default class Client extends OpenApi {
|
|
|
6072
6106
|
* Retrieves the verification status of a phone number.
|
|
6073
6107
|
*
|
|
6074
6108
|
* @remarks
|
|
6075
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
6076
|
-
*
|
|
6077
|
-
*
|
|
6078
|
-
* This operation
|
|
6109
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6110
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6111
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6112
|
+
* - 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.
|
|
6113
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6114
|
+
* - 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.
|
|
6115
|
+
* 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.
|
|
6079
6116
|
*
|
|
6080
6117
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6081
6118
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6125,10 +6162,13 @@ export default class Client extends OpenApi {
|
|
|
6125
6162
|
* Retrieves the verification status of a phone number.
|
|
6126
6163
|
*
|
|
6127
6164
|
* @remarks
|
|
6128
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
6129
|
-
*
|
|
6130
|
-
*
|
|
6131
|
-
* This operation
|
|
6165
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6166
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6167
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6168
|
+
* - 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.
|
|
6169
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6170
|
+
* - 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.
|
|
6171
|
+
* 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.
|
|
6132
6172
|
*
|
|
6133
6173
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6134
6174
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -6307,7 +6347,7 @@ export default class Client extends OpenApi {
|
|
|
6307
6347
|
}
|
|
6308
6348
|
|
|
6309
6349
|
/**
|
|
6310
|
-
*
|
|
6350
|
+
* Queries the number of times that a pause can be requested.
|
|
6311
6351
|
*
|
|
6312
6352
|
* @param request - GetViberPauseTimesRequest
|
|
6313
6353
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6350,7 +6390,7 @@ export default class Client extends OpenApi {
|
|
|
6350
6390
|
}
|
|
6351
6391
|
|
|
6352
6392
|
/**
|
|
6353
|
-
*
|
|
6393
|
+
* Queries the number of times that a pause can be requested.
|
|
6354
6394
|
*
|
|
6355
6395
|
* @param request - GetViberPauseTimesRequest
|
|
6356
6396
|
* @returns GetViberPauseTimesResponse
|
|
@@ -6425,7 +6465,7 @@ export default class Client extends OpenApi {
|
|
|
6425
6465
|
}
|
|
6426
6466
|
|
|
6427
6467
|
/**
|
|
6428
|
-
*
|
|
6468
|
+
* Retrieves the embedded authorization page.
|
|
6429
6469
|
*
|
|
6430
6470
|
* @param request - GetWhatsappConversionApiRequest
|
|
6431
6471
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6468,7 +6508,7 @@ export default class Client extends OpenApi {
|
|
|
6468
6508
|
}
|
|
6469
6509
|
|
|
6470
6510
|
/**
|
|
6471
|
-
*
|
|
6511
|
+
* Retrieves the embedded authorization page.
|
|
6472
6512
|
*
|
|
6473
6513
|
* @param request - GetWhatsappConversionApiRequest
|
|
6474
6514
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -6723,7 +6763,7 @@ export default class Client extends OpenApi {
|
|
|
6723
6763
|
}
|
|
6724
6764
|
|
|
6725
6765
|
/**
|
|
6726
|
-
*
|
|
6766
|
+
* Queries the list of groups.
|
|
6727
6767
|
*
|
|
6728
6768
|
* @param tmpReq - ListAllGroupsRequest
|
|
6729
6769
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6776,7 +6816,7 @@ export default class Client extends OpenApi {
|
|
|
6776
6816
|
}
|
|
6777
6817
|
|
|
6778
6818
|
/**
|
|
6779
|
-
*
|
|
6819
|
+
* Queries the list of groups.
|
|
6780
6820
|
*
|
|
6781
6821
|
* @param request - ListAllGroupsRequest
|
|
6782
6822
|
* @returns ListAllGroupsResponse
|
|
@@ -6787,7 +6827,7 @@ export default class Client extends OpenApi {
|
|
|
6787
6827
|
}
|
|
6788
6828
|
|
|
6789
6829
|
/**
|
|
6790
|
-
*
|
|
6830
|
+
* Queries the bound DM account.
|
|
6791
6831
|
*
|
|
6792
6832
|
* @param request - ListBindDmAccountRequest
|
|
6793
6833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6830,7 +6870,7 @@ export default class Client extends OpenApi {
|
|
|
6830
6870
|
}
|
|
6831
6871
|
|
|
6832
6872
|
/**
|
|
6833
|
-
*
|
|
6873
|
+
* Queries the bound DM account.
|
|
6834
6874
|
*
|
|
6835
6875
|
* @param request - ListBindDmAccountRequest
|
|
6836
6876
|
* @returns ListBindDmAccountResponse
|
|
@@ -6841,12 +6881,12 @@ export default class Client extends OpenApi {
|
|
|
6841
6881
|
}
|
|
6842
6882
|
|
|
6843
6883
|
/**
|
|
6844
|
-
* Queries the phone numbers or business account IDs
|
|
6884
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6845
6885
|
*
|
|
6846
6886
|
* @remarks
|
|
6847
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6848
|
-
* - Before
|
|
6849
|
-
* - If
|
|
6887
|
+
* - 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**.
|
|
6888
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6889
|
+
* - 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.
|
|
6850
6890
|
*
|
|
6851
6891
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6852
6892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6893,12 +6933,12 @@ export default class Client extends OpenApi {
|
|
|
6893
6933
|
}
|
|
6894
6934
|
|
|
6895
6935
|
/**
|
|
6896
|
-
* Queries the phone numbers or business account IDs
|
|
6936
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6897
6937
|
*
|
|
6898
6938
|
* @remarks
|
|
6899
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6900
|
-
* - Before
|
|
6901
|
-
* - If
|
|
6939
|
+
* - 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**.
|
|
6940
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6941
|
+
* - 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.
|
|
6902
6942
|
*
|
|
6903
6943
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6904
6944
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6914,8 +6954,8 @@ export default class Client extends OpenApi {
|
|
|
6914
6954
|
* @remarks
|
|
6915
6955
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6916
6956
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6917
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
6918
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6957
|
+
* - 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.
|
|
6958
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6919
6959
|
*
|
|
6920
6960
|
* @param tmpReq - ListChatFlowRequest
|
|
6921
6961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6938,6 +6978,14 @@ export default class Client extends OpenApi {
|
|
|
6938
6978
|
query["BizExtend"] = request.bizExtendShrink;
|
|
6939
6979
|
}
|
|
6940
6980
|
|
|
6981
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6982
|
+
query["FlowCode"] = request.flowCode;
|
|
6983
|
+
}
|
|
6984
|
+
|
|
6985
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6986
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6987
|
+
}
|
|
6988
|
+
|
|
6941
6989
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
6942
6990
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
6943
6991
|
}
|
|
@@ -6958,6 +7006,10 @@ export default class Client extends OpenApi {
|
|
|
6958
7006
|
query["PageSize"] = request.pageSize;
|
|
6959
7007
|
}
|
|
6960
7008
|
|
|
7009
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
7010
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7011
|
+
}
|
|
7012
|
+
|
|
6961
7013
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6962
7014
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6963
7015
|
}
|
|
@@ -6974,6 +7026,10 @@ export default class Client extends OpenApi {
|
|
|
6974
7026
|
query["Status"] = request.status;
|
|
6975
7027
|
}
|
|
6976
7028
|
|
|
7029
|
+
if (!$dara.isNull(request.title)) {
|
|
7030
|
+
query["Title"] = request.title;
|
|
7031
|
+
}
|
|
7032
|
+
|
|
6977
7033
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6978
7034
|
query: OpenApiUtil.query(query),
|
|
6979
7035
|
});
|
|
@@ -6997,8 +7053,8 @@ export default class Client extends OpenApi {
|
|
|
6997
7053
|
* @remarks
|
|
6998
7054
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6999
7055
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
7000
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
7001
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
7056
|
+
* - 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.
|
|
7057
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
7002
7058
|
*
|
|
7003
7059
|
* @param request - ListChatFlowRequest
|
|
7004
7060
|
* @returns ListChatFlowResponse
|
|
@@ -7012,8 +7068,8 @@ export default class Client extends OpenApi {
|
|
|
7012
7068
|
* Lists flow templates.
|
|
7013
7069
|
*
|
|
7014
7070
|
* @remarks
|
|
7015
|
-
* - You can call this operation to
|
|
7016
|
-
* -
|
|
7071
|
+
* - 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.
|
|
7072
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
7017
7073
|
*
|
|
7018
7074
|
* @param request - ListChatFlowTemplateRequest
|
|
7019
7075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7075,8 +7131,8 @@ export default class Client extends OpenApi {
|
|
|
7075
7131
|
* Lists flow templates.
|
|
7076
7132
|
*
|
|
7077
7133
|
* @remarks
|
|
7078
|
-
* - You can call this operation to
|
|
7079
|
-
* -
|
|
7134
|
+
* - 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.
|
|
7135
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
7080
7136
|
*
|
|
7081
7137
|
* @param request - ListChatFlowTemplateRequest
|
|
7082
7138
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -7187,13 +7243,12 @@ export default class Client extends OpenApi {
|
|
|
7187
7243
|
}
|
|
7188
7244
|
|
|
7189
7245
|
/**
|
|
7190
|
-
*
|
|
7246
|
+
* Retrieves the member list of an IM group.
|
|
7191
7247
|
*
|
|
7192
7248
|
* @remarks
|
|
7193
|
-
* >Notice:
|
|
7194
|
-
*
|
|
7195
|
-
* -
|
|
7196
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
7249
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7250
|
+
* - 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.
|
|
7251
|
+
* - 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.
|
|
7197
7252
|
*
|
|
7198
7253
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
7199
7254
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7258,13 +7313,12 @@ export default class Client extends OpenApi {
|
|
|
7258
7313
|
}
|
|
7259
7314
|
|
|
7260
7315
|
/**
|
|
7261
|
-
*
|
|
7316
|
+
* Retrieves the member list of an IM group.
|
|
7262
7317
|
*
|
|
7263
7318
|
* @remarks
|
|
7264
|
-
* >Notice:
|
|
7265
|
-
*
|
|
7266
|
-
* -
|
|
7267
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
7319
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7320
|
+
* - 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.
|
|
7321
|
+
* - 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.
|
|
7268
7322
|
*
|
|
7269
7323
|
* @param request - ListChatGroupParticipantsRequest
|
|
7270
7324
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -7397,11 +7451,11 @@ export default class Client extends OpenApi {
|
|
|
7397
7451
|
}
|
|
7398
7452
|
|
|
7399
7453
|
/**
|
|
7400
|
-
*
|
|
7454
|
+
* Retrieves a list of message templates.
|
|
7401
7455
|
*
|
|
7402
7456
|
* @remarks
|
|
7403
7457
|
* ### QPS limit
|
|
7404
|
-
*
|
|
7458
|
+
* 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.
|
|
7405
7459
|
*
|
|
7406
7460
|
* @param tmpReq - ListChatappTemplateRequest
|
|
7407
7461
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7486,11 +7540,11 @@ export default class Client extends OpenApi {
|
|
|
7486
7540
|
}
|
|
7487
7541
|
|
|
7488
7542
|
/**
|
|
7489
|
-
*
|
|
7543
|
+
* Retrieves a list of message templates.
|
|
7490
7544
|
*
|
|
7491
7545
|
* @remarks
|
|
7492
7546
|
* ### QPS limit
|
|
7493
|
-
*
|
|
7547
|
+
* 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.
|
|
7494
7548
|
*
|
|
7495
7549
|
* @param request - ListChatappTemplateRequest
|
|
7496
7550
|
* @returns ListChatappTemplateResponse
|
|
@@ -7651,7 +7705,7 @@ export default class Client extends OpenApi {
|
|
|
7651
7705
|
}
|
|
7652
7706
|
|
|
7653
7707
|
/**
|
|
7654
|
-
*
|
|
7708
|
+
* Queries the tags of DirectMail.
|
|
7655
7709
|
*
|
|
7656
7710
|
* @param request - ListDmTagRequest
|
|
7657
7711
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7702,7 +7756,7 @@ export default class Client extends OpenApi {
|
|
|
7702
7756
|
}
|
|
7703
7757
|
|
|
7704
7758
|
/**
|
|
7705
|
-
*
|
|
7759
|
+
* Queries the tags of DirectMail.
|
|
7706
7760
|
*
|
|
7707
7761
|
* @param request - ListDmTagRequest
|
|
7708
7762
|
* @returns ListDmTagResponse
|
|
@@ -7767,10 +7821,10 @@ export default class Client extends OpenApi {
|
|
|
7767
7821
|
}
|
|
7768
7822
|
|
|
7769
7823
|
/**
|
|
7770
|
-
*
|
|
7824
|
+
* Queries the list of Flows.
|
|
7771
7825
|
*
|
|
7772
7826
|
* @remarks
|
|
7773
|
-
*
|
|
7827
|
+
* 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.
|
|
7774
7828
|
*
|
|
7775
7829
|
* @param tmpReq - ListFlowRequest
|
|
7776
7830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7827,10 +7881,10 @@ export default class Client extends OpenApi {
|
|
|
7827
7881
|
}
|
|
7828
7882
|
|
|
7829
7883
|
/**
|
|
7830
|
-
*
|
|
7884
|
+
* Queries the list of Flows.
|
|
7831
7885
|
*
|
|
7832
7886
|
* @remarks
|
|
7833
|
-
*
|
|
7887
|
+
* 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.
|
|
7834
7888
|
*
|
|
7835
7889
|
* @param request - ListFlowRequest
|
|
7836
7890
|
* @returns ListFlowResponse
|
|
@@ -7902,8 +7956,8 @@ export default class Client extends OpenApi {
|
|
|
7902
7956
|
* Lists flow component prototypes.
|
|
7903
7957
|
*
|
|
7904
7958
|
* @remarks
|
|
7905
|
-
* - You can call this
|
|
7906
|
-
* -
|
|
7959
|
+
* - 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.
|
|
7960
|
+
* - 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.
|
|
7907
7961
|
*
|
|
7908
7962
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7909
7963
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7965,8 +8019,8 @@ export default class Client extends OpenApi {
|
|
|
7965
8019
|
* Lists flow component prototypes.
|
|
7966
8020
|
*
|
|
7967
8021
|
* @remarks
|
|
7968
|
-
* - You can call this
|
|
7969
|
-
* -
|
|
8022
|
+
* - 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.
|
|
8023
|
+
* - 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.
|
|
7970
8024
|
*
|
|
7971
8025
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7972
8026
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7980,10 +8034,10 @@ export default class Client extends OpenApi {
|
|
|
7980
8034
|
* Lists flow versions.
|
|
7981
8035
|
*
|
|
7982
8036
|
* @remarks
|
|
7983
|
-
* - You can call this
|
|
7984
|
-
* - Before calling this
|
|
7985
|
-
* - If you
|
|
7986
|
-
* - The optional parameters
|
|
8037
|
+
* - 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.
|
|
8038
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8039
|
+
* - 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.
|
|
8040
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7987
8041
|
*
|
|
7988
8042
|
* @param tmpReq - ListFlowVersionRequest
|
|
7989
8043
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8055,10 +8109,10 @@ export default class Client extends OpenApi {
|
|
|
8055
8109
|
* Lists flow versions.
|
|
8056
8110
|
*
|
|
8057
8111
|
* @remarks
|
|
8058
|
-
* - You can call this
|
|
8059
|
-
* - Before calling this
|
|
8060
|
-
* - If you
|
|
8061
|
-
* - The optional parameters
|
|
8112
|
+
* - 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.
|
|
8113
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8114
|
+
* - 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.
|
|
8115
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
8062
8116
|
*
|
|
8063
8117
|
* @param request - ListFlowVersionRequest
|
|
8064
8118
|
* @returns ListFlowVersionResponse
|
|
@@ -8123,7 +8177,7 @@ export default class Client extends OpenApi {
|
|
|
8123
8177
|
}
|
|
8124
8178
|
|
|
8125
8179
|
/**
|
|
8126
|
-
*
|
|
8180
|
+
* Queries the list of Instagram posts.
|
|
8127
8181
|
*
|
|
8128
8182
|
* @param request - ListInstagramPostsRequest
|
|
8129
8183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8166,7 +8220,7 @@ export default class Client extends OpenApi {
|
|
|
8166
8220
|
}
|
|
8167
8221
|
|
|
8168
8222
|
/**
|
|
8169
|
-
*
|
|
8223
|
+
* Queries the list of Instagram posts.
|
|
8170
8224
|
*
|
|
8171
8225
|
* @param request - ListInstagramPostsRequest
|
|
8172
8226
|
* @returns ListInstagramPostsResponse
|
|
@@ -8177,7 +8231,7 @@ export default class Client extends OpenApi {
|
|
|
8177
8231
|
}
|
|
8178
8232
|
|
|
8179
8233
|
/**
|
|
8180
|
-
*
|
|
8234
|
+
* Queries a list of instances.
|
|
8181
8235
|
*
|
|
8182
8236
|
* @param request - ListInstanceRequest
|
|
8183
8237
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8186,6 +8240,10 @@ export default class Client extends OpenApi {
|
|
|
8186
8240
|
async listInstanceWithOptions(request: $_model.ListInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstanceResponse> {
|
|
8187
8241
|
request.validate();
|
|
8188
8242
|
let query = { };
|
|
8243
|
+
if (!$dara.isNull(request.bindId)) {
|
|
8244
|
+
query["BindId"] = request.bindId;
|
|
8245
|
+
}
|
|
8246
|
+
|
|
8189
8247
|
if (!$dara.isNull(request.channelType)) {
|
|
8190
8248
|
query["ChannelType"] = request.channelType;
|
|
8191
8249
|
}
|
|
@@ -8202,6 +8260,10 @@ export default class Client extends OpenApi {
|
|
|
8202
8260
|
query["InstanceName"] = request.instanceName;
|
|
8203
8261
|
}
|
|
8204
8262
|
|
|
8263
|
+
if (!$dara.isNull(request.isBind)) {
|
|
8264
|
+
query["IsBind"] = request.isBind;
|
|
8265
|
+
}
|
|
8266
|
+
|
|
8205
8267
|
if (!$dara.isNull(request.pageIndex)) {
|
|
8206
8268
|
query["PageIndex"] = request.pageIndex;
|
|
8207
8269
|
}
|
|
@@ -8236,7 +8298,7 @@ export default class Client extends OpenApi {
|
|
|
8236
8298
|
}
|
|
8237
8299
|
|
|
8238
8300
|
/**
|
|
8239
|
-
*
|
|
8301
|
+
* Queries a list of instances.
|
|
8240
8302
|
*
|
|
8241
8303
|
* @param request - ListInstanceRequest
|
|
8242
8304
|
* @returns ListInstanceResponse
|
|
@@ -8558,7 +8620,7 @@ export default class Client extends OpenApi {
|
|
|
8558
8620
|
* Queries the list of message QR codes.
|
|
8559
8621
|
*
|
|
8560
8622
|
* @remarks
|
|
8561
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
8623
|
+
* 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.
|
|
8562
8624
|
*
|
|
8563
8625
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8564
8626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8608,7 +8670,7 @@ export default class Client extends OpenApi {
|
|
|
8608
8670
|
* Queries the list of message QR codes.
|
|
8609
8671
|
*
|
|
8610
8672
|
* @remarks
|
|
8611
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
8673
|
+
* 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.
|
|
8612
8674
|
*
|
|
8613
8675
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8614
8676
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -8783,7 +8845,7 @@ export default class Client extends OpenApi {
|
|
|
8783
8845
|
}
|
|
8784
8846
|
|
|
8785
8847
|
/**
|
|
8786
|
-
*
|
|
8848
|
+
* Displays the Viber service number card for an application form.
|
|
8787
8849
|
*
|
|
8788
8850
|
* @param request - ListViberServiceMessageRequest
|
|
8789
8851
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8826,7 +8888,7 @@ export default class Client extends OpenApi {
|
|
|
8826
8888
|
}
|
|
8827
8889
|
|
|
8828
8890
|
/**
|
|
8829
|
-
*
|
|
8891
|
+
* Displays the Viber service number card for an application form.
|
|
8830
8892
|
*
|
|
8831
8893
|
* @param request - ListViberServiceMessageRequest
|
|
8832
8894
|
* @returns ListViberServiceMessageResponse
|
|
@@ -8889,7 +8951,7 @@ export default class Client extends OpenApi {
|
|
|
8889
8951
|
* ### QPS limit
|
|
8890
8952
|
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8891
8953
|
* ### Status changes
|
|
8892
|
-
*
|
|
8954
|
+
* 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).
|
|
8893
8955
|
*
|
|
8894
8956
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8895
8957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8907,57 +8969,61 @@ export default class Client extends OpenApi {
|
|
|
8907
8969
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
8908
8970
|
}
|
|
8909
8971
|
|
|
8910
|
-
let
|
|
8972
|
+
let query = { };
|
|
8911
8973
|
if (!$dara.isNull(request.category)) {
|
|
8912
|
-
|
|
8974
|
+
query["Category"] = request.category;
|
|
8913
8975
|
}
|
|
8914
8976
|
|
|
8915
8977
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
8916
|
-
|
|
8978
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
8917
8979
|
}
|
|
8918
8980
|
|
|
8919
8981
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
8920
|
-
|
|
8982
|
+
query["Components"] = request.componentsShrink;
|
|
8921
8983
|
}
|
|
8922
8984
|
|
|
8923
8985
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
8924
|
-
|
|
8986
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8925
8987
|
}
|
|
8926
8988
|
|
|
8927
8989
|
if (!$dara.isNull(request.custWabaId)) {
|
|
8928
|
-
|
|
8990
|
+
query["CustWabaId"] = request.custWabaId;
|
|
8929
8991
|
}
|
|
8930
8992
|
|
|
8931
8993
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
8932
|
-
|
|
8994
|
+
query["Example"] = request.exampleShrink;
|
|
8933
8995
|
}
|
|
8934
8996
|
|
|
8935
8997
|
if (!$dara.isNull(request.isvCode)) {
|
|
8936
|
-
|
|
8998
|
+
query["IsvCode"] = request.isvCode;
|
|
8937
8999
|
}
|
|
8938
9000
|
|
|
8939
9001
|
if (!$dara.isNull(request.language)) {
|
|
8940
|
-
|
|
9002
|
+
query["Language"] = request.language;
|
|
8941
9003
|
}
|
|
8942
9004
|
|
|
8943
9005
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
8944
|
-
|
|
9006
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
9007
|
+
}
|
|
9008
|
+
|
|
9009
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
9010
|
+
query["ProductSetId"] = request.productSetId;
|
|
8945
9011
|
}
|
|
8946
9012
|
|
|
8947
9013
|
if (!$dara.isNull(request.templateCode)) {
|
|
8948
|
-
|
|
9014
|
+
query["TemplateCode"] = request.templateCode;
|
|
8949
9015
|
}
|
|
8950
9016
|
|
|
8951
9017
|
if (!$dara.isNull(request.templateName)) {
|
|
8952
|
-
|
|
9018
|
+
query["TemplateName"] = request.templateName;
|
|
8953
9019
|
}
|
|
8954
9020
|
|
|
8955
9021
|
if (!$dara.isNull(request.templateType)) {
|
|
8956
|
-
|
|
9022
|
+
query["TemplateType"] = request.templateType;
|
|
8957
9023
|
}
|
|
8958
9024
|
|
|
8959
9025
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8960
|
-
|
|
9026
|
+
query: OpenApiUtil.query(query),
|
|
8961
9027
|
});
|
|
8962
9028
|
let params = new $OpenApiUtil.Params({
|
|
8963
9029
|
action: "ModifyChatappTemplate",
|
|
@@ -8980,7 +9046,7 @@ export default class Client extends OpenApi {
|
|
|
8980
9046
|
* ### QPS limit
|
|
8981
9047
|
* The single-user QPS limit for this operation is 50 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
8982
9048
|
* ### Status changes
|
|
8983
|
-
*
|
|
9049
|
+
* 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).
|
|
8984
9050
|
*
|
|
8985
9051
|
* @param request - ModifyChatappTemplateRequest
|
|
8986
9052
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -9245,7 +9311,7 @@ export default class Client extends OpenApi {
|
|
|
9245
9311
|
}
|
|
9246
9312
|
|
|
9247
9313
|
/**
|
|
9248
|
-
*
|
|
9314
|
+
* Modifies the group associations of contacts.
|
|
9249
9315
|
*
|
|
9250
9316
|
* @param tmpReq - MoveContactToGroupRequest
|
|
9251
9317
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9310,7 +9376,7 @@ export default class Client extends OpenApi {
|
|
|
9310
9376
|
}
|
|
9311
9377
|
|
|
9312
9378
|
/**
|
|
9313
|
-
*
|
|
9379
|
+
* Modifies the group associations of contacts.
|
|
9314
9380
|
*
|
|
9315
9381
|
* @param request - MoveContactToGroupRequest
|
|
9316
9382
|
* @returns MoveContactToGroupResponse
|
|
@@ -9321,13 +9387,13 @@ export default class Client extends OpenApi {
|
|
|
9321
9387
|
}
|
|
9322
9388
|
|
|
9323
9389
|
/**
|
|
9324
|
-
*
|
|
9390
|
+
* Offlines a flow version.
|
|
9325
9391
|
*
|
|
9326
9392
|
* @remarks
|
|
9327
|
-
* - You can call this operation to
|
|
9328
|
-
* - Before calling this operation, make sure
|
|
9329
|
-
* - If
|
|
9330
|
-
* - After
|
|
9393
|
+
* - 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.
|
|
9394
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
9395
|
+
* - 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.
|
|
9396
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
9331
9397
|
*
|
|
9332
9398
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
9333
9399
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9392,13 +9458,13 @@ export default class Client extends OpenApi {
|
|
|
9392
9458
|
}
|
|
9393
9459
|
|
|
9394
9460
|
/**
|
|
9395
|
-
*
|
|
9461
|
+
* Offlines a flow version.
|
|
9396
9462
|
*
|
|
9397
9463
|
* @remarks
|
|
9398
|
-
* - You can call this operation to
|
|
9399
|
-
* - Before calling this operation, make sure
|
|
9400
|
-
* - If
|
|
9401
|
-
* - After
|
|
9464
|
+
* - 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.
|
|
9465
|
+
* - Before calling this operation, make sure the flow you created is already online.
|
|
9466
|
+
* - 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.
|
|
9467
|
+
* - After the flow version is offlined, the orchestrated flow stops running, which may affect your business. Proceed with caution.
|
|
9402
9468
|
*
|
|
9403
9469
|
* @param request - OfflineFlowVersionRequest
|
|
9404
9470
|
* @returns OfflineFlowVersionResponse
|
|
@@ -9412,10 +9478,10 @@ export default class Client extends OpenApi {
|
|
|
9412
9478
|
* Publishes a flow version.
|
|
9413
9479
|
*
|
|
9414
9480
|
* @remarks
|
|
9415
|
-
* - You can call this operation to publish a flow version. You can also
|
|
9416
|
-
* - Before
|
|
9417
|
-
* - If you
|
|
9418
|
-
* - After a flow with a non-manual trigger is published,
|
|
9481
|
+
* - 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.
|
|
9482
|
+
* - 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.
|
|
9483
|
+
* - 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.
|
|
9484
|
+
* - 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.
|
|
9419
9485
|
*
|
|
9420
9486
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
9421
9487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9483,10 +9549,10 @@ export default class Client extends OpenApi {
|
|
|
9483
9549
|
* Publishes a flow version.
|
|
9484
9550
|
*
|
|
9485
9551
|
* @remarks
|
|
9486
|
-
* - You can call this operation to publish a flow version. You can also
|
|
9487
|
-
* - Before
|
|
9488
|
-
* - If you
|
|
9489
|
-
* - After a flow with a non-manual trigger is published,
|
|
9552
|
+
* - 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.
|
|
9553
|
+
* - 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.
|
|
9554
|
+
* - 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.
|
|
9555
|
+
* - 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.
|
|
9490
9556
|
*
|
|
9491
9557
|
* @param request - OnlineFlowVersionRequest
|
|
9492
9558
|
* @returns OnlineFlowVersionResponse
|
|
@@ -9497,7 +9563,7 @@ export default class Client extends OpenApi {
|
|
|
9497
9563
|
}
|
|
9498
9564
|
|
|
9499
9565
|
/**
|
|
9500
|
-
*
|
|
9566
|
+
* Activates the Chat App Message Service.
|
|
9501
9567
|
*
|
|
9502
9568
|
* @param request - OpenChatappServiceRequest
|
|
9503
9569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9536,7 +9602,7 @@ export default class Client extends OpenApi {
|
|
|
9536
9602
|
}
|
|
9537
9603
|
|
|
9538
9604
|
/**
|
|
9539
|
-
*
|
|
9605
|
+
* Activates the Chat App Message Service.
|
|
9540
9606
|
*
|
|
9541
9607
|
* @param request - OpenChatappServiceRequest
|
|
9542
9608
|
* @returns OpenChatappServiceResponse
|
|
@@ -9547,7 +9613,7 @@ export default class Client extends OpenApi {
|
|
|
9547
9613
|
}
|
|
9548
9614
|
|
|
9549
9615
|
/**
|
|
9550
|
-
*
|
|
9616
|
+
* Pauses a service.
|
|
9551
9617
|
*
|
|
9552
9618
|
* @param request - PauseMarketingFLowRequest
|
|
9553
9619
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9594,7 +9660,7 @@ export default class Client extends OpenApi {
|
|
|
9594
9660
|
}
|
|
9595
9661
|
|
|
9596
9662
|
/**
|
|
9597
|
-
*
|
|
9663
|
+
* Pauses a service.
|
|
9598
9664
|
*
|
|
9599
9665
|
* @param request - PauseMarketingFLowRequest
|
|
9600
9666
|
* @returns PauseMarketingFLowResponse
|
|
@@ -9849,7 +9915,7 @@ export default class Client extends OpenApi {
|
|
|
9849
9915
|
}
|
|
9850
9916
|
|
|
9851
9917
|
/**
|
|
9852
|
-
*
|
|
9918
|
+
* Queries whether a marketing message is effective.
|
|
9853
9919
|
*
|
|
9854
9920
|
* @param request - QueryMMLActiveRequest
|
|
9855
9921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9892,7 +9958,7 @@ export default class Client extends OpenApi {
|
|
|
9892
9958
|
}
|
|
9893
9959
|
|
|
9894
9960
|
/**
|
|
9895
|
-
*
|
|
9961
|
+
* Queries whether a marketing message is effective.
|
|
9896
9962
|
*
|
|
9897
9963
|
* @param request - QueryMMLActiveRequest
|
|
9898
9964
|
* @returns QueryMMLActiveResponse
|
|
@@ -10034,9 +10100,9 @@ export default class Client extends OpenApi {
|
|
|
10034
10100
|
* Retrieves the details of a flow.
|
|
10035
10101
|
*
|
|
10036
10102
|
* @remarks
|
|
10037
|
-
* - You can call this
|
|
10038
|
-
* - Before
|
|
10039
|
-
* - If you
|
|
10103
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10104
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10105
|
+
* - 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.
|
|
10040
10106
|
*
|
|
10041
10107
|
* @param tmpReq - ReadChatFlowRequest
|
|
10042
10108
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10096,9 +10162,9 @@ export default class Client extends OpenApi {
|
|
|
10096
10162
|
* Retrieves the details of a flow.
|
|
10097
10163
|
*
|
|
10098
10164
|
* @remarks
|
|
10099
|
-
* - You can call this
|
|
10100
|
-
* - Before
|
|
10101
|
-
* - If you
|
|
10165
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10166
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10167
|
+
* - 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.
|
|
10102
10168
|
*
|
|
10103
10169
|
* @param request - ReadChatFlowRequest
|
|
10104
10170
|
* @returns ReadChatFlowResponse
|
|
@@ -10109,12 +10175,12 @@ export default class Client extends OpenApi {
|
|
|
10109
10175
|
}
|
|
10110
10176
|
|
|
10111
10177
|
/**
|
|
10112
|
-
*
|
|
10178
|
+
* Queries the flow log settings.
|
|
10113
10179
|
*
|
|
10114
10180
|
* @remarks
|
|
10115
|
-
* - Before
|
|
10116
|
-
* - If log settings
|
|
10117
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
10181
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10182
|
+
* - 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.
|
|
10183
|
+
* - 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.
|
|
10118
10184
|
*
|
|
10119
10185
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10120
10186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10157,12 +10223,12 @@ export default class Client extends OpenApi {
|
|
|
10157
10223
|
}
|
|
10158
10224
|
|
|
10159
10225
|
/**
|
|
10160
|
-
*
|
|
10226
|
+
* Queries the flow log settings.
|
|
10161
10227
|
*
|
|
10162
10228
|
* @remarks
|
|
10163
|
-
* - Before
|
|
10164
|
-
* - If log settings
|
|
10165
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
10229
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10230
|
+
* - 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.
|
|
10231
|
+
* - 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.
|
|
10166
10232
|
*
|
|
10167
10233
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10168
10234
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -10201,6 +10267,10 @@ export default class Client extends OpenApi {
|
|
|
10201
10267
|
query["BizExtend"] = request.bizExtendShrink;
|
|
10202
10268
|
}
|
|
10203
10269
|
|
|
10270
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
10271
|
+
query["DraftVersion"] = request.draftVersion;
|
|
10272
|
+
}
|
|
10273
|
+
|
|
10204
10274
|
if (!$dara.isNull(request.flowCode)) {
|
|
10205
10275
|
query["FlowCode"] = request.flowCode;
|
|
10206
10276
|
}
|
|
@@ -10259,7 +10329,7 @@ export default class Client extends OpenApi {
|
|
|
10259
10329
|
}
|
|
10260
10330
|
|
|
10261
10331
|
/**
|
|
10262
|
-
*
|
|
10332
|
+
* Removes a single contact from the current group.
|
|
10263
10333
|
*
|
|
10264
10334
|
* @param request - RemoveContactByIdRequest
|
|
10265
10335
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10306,7 +10376,7 @@ export default class Client extends OpenApi {
|
|
|
10306
10376
|
}
|
|
10307
10377
|
|
|
10308
10378
|
/**
|
|
10309
|
-
*
|
|
10379
|
+
* Removes a single contact from the current group.
|
|
10310
10380
|
*
|
|
10311
10381
|
* @param request - RemoveContactByIdRequest
|
|
10312
10382
|
* @returns RemoveContactByIdResponse
|
|
@@ -10546,12 +10616,12 @@ export default class Client extends OpenApi {
|
|
|
10546
10616
|
* @remarks
|
|
10547
10617
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
10548
10618
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10549
|
-
* - For
|
|
10550
|
-
* - For
|
|
10551
|
-
* - For
|
|
10552
|
-
* <props="intl">- For
|
|
10619
|
+
* - 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).
|
|
10620
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10621
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10622
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10553
10623
|
* ### QPS limit
|
|
10554
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
10624
|
+
* 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.
|
|
10555
10625
|
* ### Status changes
|
|
10556
10626
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10557
10627
|
*
|
|
@@ -10739,12 +10809,12 @@ export default class Client extends OpenApi {
|
|
|
10739
10809
|
* @remarks
|
|
10740
10810
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
10741
10811
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10742
|
-
* - For
|
|
10743
|
-
* - For
|
|
10744
|
-
* - For
|
|
10745
|
-
* <props="intl">- For
|
|
10812
|
+
* - 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).
|
|
10813
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10814
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10815
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10746
10816
|
* ### QPS limit
|
|
10747
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
10817
|
+
* 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.
|
|
10748
10818
|
* ### Status changes
|
|
10749
10819
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10750
10820
|
*
|
|
@@ -10873,7 +10943,7 @@ export default class Client extends OpenApi {
|
|
|
10873
10943
|
}
|
|
10874
10944
|
|
|
10875
10945
|
/**
|
|
10876
|
-
*
|
|
10946
|
+
* Syncs a WhatsApp flow.
|
|
10877
10947
|
*
|
|
10878
10948
|
* @param request - SyncFlowRequest
|
|
10879
10949
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10916,7 +10986,7 @@ export default class Client extends OpenApi {
|
|
|
10916
10986
|
}
|
|
10917
10987
|
|
|
10918
10988
|
/**
|
|
10919
|
-
*
|
|
10989
|
+
* Syncs a WhatsApp flow.
|
|
10920
10990
|
*
|
|
10921
10991
|
* @param request - SyncFlowRequest
|
|
10922
10992
|
* @returns SyncFlowResponse
|
|
@@ -11143,7 +11213,7 @@ export default class Client extends OpenApi {
|
|
|
11143
11213
|
}
|
|
11144
11214
|
|
|
11145
11215
|
/**
|
|
11146
|
-
*
|
|
11216
|
+
* Unbinds an email account.
|
|
11147
11217
|
*
|
|
11148
11218
|
* @param request - UnbindDmAccountRequest
|
|
11149
11219
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11186,7 +11256,7 @@ export default class Client extends OpenApi {
|
|
|
11186
11256
|
}
|
|
11187
11257
|
|
|
11188
11258
|
/**
|
|
11189
|
-
*
|
|
11259
|
+
* Unbinds an email account.
|
|
11190
11260
|
*
|
|
11191
11261
|
* @param request - UnbindDmAccountRequest
|
|
11192
11262
|
* @returns UnbindDmAccountResponse
|
|
@@ -11344,9 +11414,9 @@ export default class Client extends OpenApi {
|
|
|
11344
11414
|
* Updates the basic information of a flow based on the flow code.
|
|
11345
11415
|
*
|
|
11346
11416
|
* @remarks
|
|
11347
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
11348
|
-
* - Before calling this operation, make sure
|
|
11349
|
-
* - If you
|
|
11417
|
+
* - 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**.
|
|
11418
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11419
|
+
* - 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.
|
|
11350
11420
|
*
|
|
11351
11421
|
* @param tmpReq - UpdateChatFlowRequest
|
|
11352
11422
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11414,9 +11484,9 @@ export default class Client extends OpenApi {
|
|
|
11414
11484
|
* Updates the basic information of a flow based on the flow code.
|
|
11415
11485
|
*
|
|
11416
11486
|
* @remarks
|
|
11417
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
11418
|
-
* - Before calling this operation, make sure
|
|
11419
|
-
* - If you
|
|
11487
|
+
* - 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**.
|
|
11488
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11489
|
+
* - 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.
|
|
11420
11490
|
*
|
|
11421
11491
|
* @param request - UpdateChatFlowRequest
|
|
11422
11492
|
* @returns UpdateChatFlowResponse
|
|
@@ -11663,7 +11733,7 @@ export default class Client extends OpenApi {
|
|
|
11663
11733
|
}
|
|
11664
11734
|
|
|
11665
11735
|
/**
|
|
11666
|
-
*
|
|
11736
|
+
* Modifies a contact.
|
|
11667
11737
|
*
|
|
11668
11738
|
* @param tmpReq - UpdateContactByIdRequest
|
|
11669
11739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11740,7 +11810,7 @@ export default class Client extends OpenApi {
|
|
|
11740
11810
|
}
|
|
11741
11811
|
|
|
11742
11812
|
/**
|
|
11743
|
-
*
|
|
11813
|
+
* Modifies a contact.
|
|
11744
11814
|
*
|
|
11745
11815
|
* @param request - UpdateContactByIdRequest
|
|
11746
11816
|
* @returns UpdateContactByIdResponse
|
|
@@ -11909,12 +11979,12 @@ export default class Client extends OpenApi {
|
|
|
11909
11979
|
}
|
|
11910
11980
|
|
|
11911
11981
|
/**
|
|
11912
|
-
* Updates the
|
|
11982
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
11913
11983
|
*
|
|
11914
11984
|
* @remarks
|
|
11915
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
11916
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
11917
|
-
* - If you have not created a flow, you can manually create
|
|
11985
|
+
* - 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.
|
|
11986
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
11987
|
+
* - 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.
|
|
11918
11988
|
*
|
|
11919
11989
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11920
11990
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11965,6 +12035,10 @@ export default class Client extends OpenApi {
|
|
|
11965
12035
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11966
12036
|
}
|
|
11967
12037
|
|
|
12038
|
+
if (!$dara.isNull(request.type)) {
|
|
12039
|
+
query["Type"] = request.type;
|
|
12040
|
+
}
|
|
12041
|
+
|
|
11968
12042
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11969
12043
|
query: OpenApiUtil.query(query),
|
|
11970
12044
|
});
|
|
@@ -11983,12 +12057,12 @@ export default class Client extends OpenApi {
|
|
|
11983
12057
|
}
|
|
11984
12058
|
|
|
11985
12059
|
/**
|
|
11986
|
-
* Updates the
|
|
12060
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
11987
12061
|
*
|
|
11988
12062
|
* @remarks
|
|
11989
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
11990
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
11991
|
-
* - If you have not created a flow, you can manually create
|
|
12063
|
+
* - 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.
|
|
12064
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
12065
|
+
* - 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.
|
|
11992
12066
|
*
|
|
11993
12067
|
* @param request - UpdateFlowVersionRequest
|
|
11994
12068
|
* @returns UpdateFlowVersionResponse
|
|
@@ -11999,7 +12073,7 @@ export default class Client extends OpenApi {
|
|
|
11999
12073
|
}
|
|
12000
12074
|
|
|
12001
12075
|
/**
|
|
12002
|
-
*
|
|
12076
|
+
* Renames a group.
|
|
12003
12077
|
*
|
|
12004
12078
|
* @param request - UpdateGroupNameRequest
|
|
12005
12079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12046,7 +12120,7 @@ export default class Client extends OpenApi {
|
|
|
12046
12120
|
}
|
|
12047
12121
|
|
|
12048
12122
|
/**
|
|
12049
|
-
*
|
|
12123
|
+
* Renames a group.
|
|
12050
12124
|
*
|
|
12051
12125
|
* @param request - UpdateGroupNameRequest
|
|
12052
12126
|
* @returns UpdateGroupNameResponse
|
|
@@ -12593,7 +12667,7 @@ export default class Client extends OpenApi {
|
|
|
12593
12667
|
}
|
|
12594
12668
|
|
|
12595
12669
|
/**
|
|
12596
|
-
*
|
|
12670
|
+
* 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.
|
|
12597
12671
|
*
|
|
12598
12672
|
* @param tmpReq - WhatsappCallRequest
|
|
12599
12673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12662,7 +12736,7 @@ export default class Client extends OpenApi {
|
|
|
12662
12736
|
}
|
|
12663
12737
|
|
|
12664
12738
|
/**
|
|
12665
|
-
*
|
|
12739
|
+
* 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.
|
|
12666
12740
|
*
|
|
12667
12741
|
* @param request - WhatsappCallRequest
|
|
12668
12742
|
* @returns WhatsappCallResponse
|