@alicloud/cams20200606 5.3.0 → 5.3.2
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 +416 -416
- package/dist/client.js +504 -447
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +3 -3
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +3 -5
- package/dist/models/AddAddressRecoverSuspendResponseBody.js.map +1 -1
- package/dist/models/AddAuditViberOpenRequest.d.ts +21 -21
- package/dist/models/AddAuditViberOpenResponseBody.d.ts +10 -12
- package/dist/models/AddAuditViberOpenResponseBody.js.map +1 -1
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +5 -5
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/AddChatGroupRequest.d.ts +9 -8
- package/dist/models/AddChatGroupRequest.js.map +1 -1
- package/dist/models/AddChatGroupResponseBody.d.ts +10 -12
- package/dist/models/AddChatGroupResponseBody.js.map +1 -1
- package/dist/models/AddChatappPhoneNumberRequest.d.ts +2 -2
- package/dist/models/AddChatappPhoneNumberResponseBody.d.ts +2 -2
- package/dist/models/AddContactsRequest.d.ts +6 -7
- package/dist/models/AddContactsRequest.js.map +1 -1
- package/dist/models/AddContactsResponseBody.d.ts +5 -5
- package/dist/models/AddContactsShrinkRequest.d.ts +6 -7
- package/dist/models/AddContactsShrinkRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserRequest.d.ts +9 -7
- package/dist/models/AddCustomAudienceUserRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +9 -7
- package/dist/models/AddCustomAudienceUserShrinkRequest.js.map +1 -1
- package/dist/models/AddGroupRequest.d.ts +2 -2
- package/dist/models/AddGroupResponseBody.d.ts +3 -3
- package/dist/models/AddGroupShrinkRequest.d.ts +2 -2
- package/dist/models/AddMarketingFlowRequest.d.ts +48 -0
- package/dist/models/AddMarketingFlowRequest.js.map +1 -1
- package/dist/models/AddMarketingFlowResponseBody.d.ts +20 -0
- package/dist/models/AddMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +48 -0
- package/dist/models/AddMarketingFlowShrinkRequest.js.map +1 -1
- package/dist/models/ArchiveChatappTemplateRequest.d.ts +7 -7
- package/dist/models/ArchiveChatappTemplateResponseBody.d.ts +12 -12
- package/dist/models/ArchiveChatappTemplateShrinkRequest.d.ts +5 -5
- package/dist/models/BindDmAccountRequest.d.ts +5 -5
- package/dist/models/BindDmAccountResponseBody.d.ts +8 -8
- package/dist/models/BindDmAccountShrinkRequest.d.ts +3 -3
- package/dist/models/BindInstagramPageRequest.d.ts +2 -2
- package/dist/models/BindInstagramPageResponseBody.d.ts +3 -3
- 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/ChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +5 -5
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +4 -4
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +6 -6
- 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 +36 -9
- package/dist/models/CreateChatFlowRequest.js +14 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +5 -5
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +32 -9
- package/dist/models/CreateChatFlowShrinkRequest.js +8 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +109 -103
- package/dist/models/CreateChatappTemplateRequest.js +4 -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 +36 -23
- 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/CreateInstanceRequest.d.ts +8 -7
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +13 -11
- package/dist/models/CreateInstanceResponseBody.js.map +1 -1
- 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 +15 -8
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
- 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/GetChatappOpenStatusResponseBody.d.ts +4 -4
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +11 -7
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +109 -84
- package/dist/models/GetChatappTemplateDetailResponseBody.js +6 -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/GetMessageCampaignInsightsRequest.d.ts +3 -3
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +14 -14
- 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/GetViberByRequestNoRequest.d.ts +2 -2
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +45 -45
- 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/ListChatappMessageRequest.d.ts +15 -9
- package/dist/models/ListChatappMessageRequest.js.map +1 -1
- package/dist/models/ListChatappMessageResponseBody.d.ts +8 -8
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +15 -9
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateRequest.d.ts +17 -14
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +33 -40
- package/dist/models/ListChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +16 -13
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceRequest.d.ts +6 -6
- package/dist/models/ListCustomAudienceResponseBody.d.ts +13 -15
- package/dist/models/ListCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +5 -5
- package/dist/models/ListDmAccountResponseBody.d.ts +6 -6
- 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/ListFacebookPostsResponseBody.d.ts +12 -12
- 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 +46 -0
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +17 -10
- package/dist/models/ListInstanceRequest.js +4 -0
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +13 -15
- package/dist/models/ListInstanceResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowRequest.d.ts +1 -1
- package/dist/models/ListMarketingFlowResponseBody.d.ts +9 -9
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +1 -1
- package/dist/models/ListMessageCampaignRequest.d.ts +8 -8
- package/dist/models/ListMessageCampaignResponseBody.d.ts +11 -11
- package/dist/models/ListMessageCampaignShrinkRequest.d.ts +7 -7
- package/dist/models/ListMessengerSubscriptionTokenRequest.d.ts +3 -3
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +15 -15
- package/dist/models/ListPageAdAccountRequest.d.ts +1 -1
- package/dist/models/ListPageAdAccountResponseBody.d.ts +6 -6
- package/dist/models/ListPhoneMessageQrdlRequest.d.ts +1 -1
- package/dist/models/ListPhoneMessageQrdlResponseBody.d.ts +3 -3
- package/dist/models/ListProductCatalogRequest.d.ts +2 -3
- package/dist/models/ListProductCatalogRequest.js.map +1 -1
- package/dist/models/ListProductCatalogResponseBody.d.ts +5 -5
- 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/ListWhatAppTemplateRequest.d.ts +1 -1
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +6 -6
- package/dist/models/ModifyChatappTemplateRequest.d.ts +107 -168
- package/dist/models/ModifyChatappTemplateRequest.js +4 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +11 -3
- package/dist/models/ModifyChatappTemplateResponseBody.js +2 -0
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +26 -24
- 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/QueryChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +17 -20
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +3 -3
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +82 -12
- package/dist/models/QueryChatappPhoneNumbersResponseBody.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/QueryPhoneBusinessProfileRequest.d.ts +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +6 -6
- package/dist/models/QueryWabaBusinessInfoResponseBody.d.ts +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/SendChatappMassMessageRequest.d.ts +35 -32
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageResponseBody.d.ts +3 -3
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +20 -20
- 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/SubmitVerifyCodeResultRequest.d.ts +1 -1
- package/dist/models/SubmitVerifyCodeResultResponseBody.d.ts +6 -6
- 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/SyncMessageCampaignRequest.d.ts +2 -2
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +9 -9
- package/dist/models/TriggerChatFlowResponseBody.d.ts +3 -0
- package/dist/models/TriggerChatFlowResponseBody.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/UpdateAuditRequestRequest.d.ts +39 -39
- package/dist/models/UpdateAuditRequestResponseBody.d.ts +8 -8
- package/dist/models/UpdateAuditRequestShrinkRequest.d.ts +3 -3
- 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/UpdateFlowJsonassetResponseBody.d.ts +2 -2
- 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/UpdateMarketingFlowRequest.d.ts +9 -9
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +5 -5
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +9 -9
- package/dist/models/UpdatePhoneMessageQrdlResponseBody.d.ts +2 -2
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +3 -3
- package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +4 -4
- 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 +524 -447
- package/src/models/AddAddressRecoverSuspendRequest.ts +3 -3
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +3 -5
- package/src/models/AddAuditViberOpenRequest.ts +21 -21
- package/src/models/AddAuditViberOpenResponseBody.ts +10 -12
- package/src/models/AddAuditViberOpenShrinkRequest.ts +1 -1
- package/src/models/AddChatGroupInviteLinkRequest.ts +5 -5
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/AddChatGroupRequest.ts +9 -8
- package/src/models/AddChatGroupResponseBody.ts +10 -12
- package/src/models/AddChatappPhoneNumberRequest.ts +2 -2
- package/src/models/AddChatappPhoneNumberResponseBody.ts +2 -2
- package/src/models/AddContactsRequest.ts +6 -7
- package/src/models/AddContactsResponseBody.ts +5 -5
- package/src/models/AddContactsShrinkRequest.ts +6 -7
- package/src/models/AddCustomAudienceUserRequest.ts +9 -7
- package/src/models/AddCustomAudienceUserResponseBody.ts +5 -5
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +9 -7
- package/src/models/AddGroupRequest.ts +2 -2
- package/src/models/AddGroupResponseBody.ts +3 -3
- package/src/models/AddGroupShrinkRequest.ts +2 -2
- package/src/models/AddMarketingFlowRequest.ts +48 -0
- package/src/models/AddMarketingFlowResponseBody.ts +20 -0
- package/src/models/AddMarketingFlowShrinkRequest.ts +48 -0
- package/src/models/ArchiveChatappTemplateRequest.ts +7 -7
- package/src/models/ArchiveChatappTemplateResponseBody.ts +12 -12
- package/src/models/ArchiveChatappTemplateShrinkRequest.ts +5 -5
- package/src/models/BindDmAccountRequest.ts +5 -5
- package/src/models/BindDmAccountResponseBody.ts +8 -8
- package/src/models/BindDmAccountShrinkRequest.ts +3 -3
- package/src/models/BindInstagramPageRequest.ts +2 -2
- package/src/models/BindInstagramPageResponseBody.ts +3 -3
- 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/ChatappBindWabaRequest.ts +1 -1
- package/src/models/ChatappBindWabaResponseBody.ts +5 -5
- package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +4 -4
- package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +2 -2
- package/src/models/ChatappVerifyAndRegisterRequest.ts +1 -1
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +6 -6
- 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 +46 -9
- package/src/models/CreateChatFlowResponseBody.ts +5 -5
- package/src/models/CreateChatFlowShrinkRequest.ts +40 -9
- package/src/models/CreateChatappTemplateRequest.ts +114 -104
- package/src/models/CreateChatappTemplateResponseBody.ts +11 -4
- package/src/models/CreateChatappTemplateShrinkRequest.ts +38 -23
- package/src/models/CreateFlowVersionRequest.ts +6 -6
- package/src/models/CreateFlowVersionResponseBody.ts +5 -5
- package/src/models/CreateFlowVersionShrinkRequest.ts +6 -6
- package/src/models/CreateInstanceRequest.ts +8 -7
- package/src/models/CreateInstanceResponseBody.ts +13 -11
- 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 +15 -8
- 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/GetChatappOpenStatusResponseBody.ts +4 -4
- package/src/models/GetChatappTemplateDetailRequest.ts +11 -7
- package/src/models/GetChatappTemplateDetailResponseBody.ts +115 -84
- 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/GetMessageCampaignInsightsRequest.ts +3 -3
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +14 -14
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +11 -2
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +9 -3
- package/src/models/GetViberByRequestNoRequest.ts +2 -2
- package/src/models/GetViberByRequestNoResponseBody.ts +45 -45
- 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/ListChatappMessageRequest.ts +15 -9
- package/src/models/ListChatappMessageResponseBody.ts +8 -8
- package/src/models/ListChatappMessageShrinkRequest.ts +15 -9
- package/src/models/ListChatappTemplateRequest.ts +17 -14
- package/src/models/ListChatappTemplateResponseBody.ts +33 -40
- package/src/models/ListChatappTemplateShrinkRequest.ts +16 -13
- package/src/models/ListCustomAudienceRequest.ts +6 -6
- package/src/models/ListCustomAudienceResponseBody.ts +13 -15
- package/src/models/ListCustomAudienceShrinkRequest.ts +5 -5
- package/src/models/ListDmAccountResponseBody.ts +6 -6
- package/src/models/ListDmTagRequest.ts +9 -0
- package/src/models/ListDmTagResponseBody.ts +39 -0
- package/src/models/ListFacebookPostsResponseBody.ts +12 -12
- 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 +46 -0
- package/src/models/ListInstanceRequest.ts +21 -10
- package/src/models/ListInstanceResponseBody.ts +13 -15
- package/src/models/ListMarketingFlowRequest.ts +1 -1
- package/src/models/ListMarketingFlowResponseBody.ts +9 -9
- package/src/models/ListMarketingFlowShrinkRequest.ts +1 -1
- package/src/models/ListMessageCampaignRequest.ts +8 -8
- package/src/models/ListMessageCampaignResponseBody.ts +11 -11
- package/src/models/ListMessageCampaignShrinkRequest.ts +7 -7
- package/src/models/ListMessengerSubscriptionTokenRequest.ts +3 -3
- package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +15 -15
- package/src/models/ListPageAdAccountRequest.ts +1 -1
- package/src/models/ListPageAdAccountResponseBody.ts +6 -6
- package/src/models/ListPhoneMessageQrdlRequest.ts +1 -1
- package/src/models/ListPhoneMessageQrdlResponseBody.ts +3 -3
- package/src/models/ListProductCatalogRequest.ts +2 -3
- package/src/models/ListProductCatalogResponseBody.ts +5 -5
- package/src/models/ListViberServiceMessageRequest.ts +2 -0
- package/src/models/ListViberServiceMessageResponseBody.ts +57 -2
- package/src/models/ListWhatAppTemplateRequest.ts +1 -1
- package/src/models/ListWhatAppTemplateResponseBody.ts +6 -6
- package/src/models/ModifyChatappTemplateRequest.ts +111 -168
- package/src/models/ModifyChatappTemplateResponseBody.ts +13 -3
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +28 -24
- 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/QueryChatappBindWabaRequest.ts +1 -1
- package/src/models/QueryChatappBindWabaResponseBody.ts +17 -20
- package/src/models/QueryChatappPhoneNumbersRequest.ts +3 -3
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +82 -12
- package/src/models/QueryMmlactiveRequest.ts +3 -0
- package/src/models/QueryMmlactiveResponseBody.ts +27 -3
- package/src/models/QueryPhoneBusinessProfileRequest.ts +1 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +6 -6
- package/src/models/QueryWabaBusinessInfoResponseBody.ts +1 -1
- 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/SendChatappMassMessageRequest.ts +35 -32
- package/src/models/SendChatappMassMessageResponseBody.ts +3 -3
- package/src/models/SendChatappMassMessageShrinkRequest.ts +20 -20
- package/src/models/SendChatappMessageRequest.ts +166 -54
- package/src/models/SendChatappMessageShrinkRequest.ts +169 -57
- package/src/models/SubmitVerifyCodeResultRequest.ts +1 -1
- package/src/models/SubmitVerifyCodeResultResponseBody.ts +6 -6
- package/src/models/SyncFlowRequest.ts +1 -1
- package/src/models/SyncFlowResponseBody.ts +23 -0
- package/src/models/SyncMessageCampaignRequest.ts +2 -2
- package/src/models/SyncMessageCampaignResponseBody.ts +9 -9
- package/src/models/TriggerChatFlowResponseBody.ts +3 -0
- package/src/models/UnbindDmAccountRequest.ts +2 -0
- package/src/models/UnbindDmAccountResponseBody.ts +24 -0
- package/src/models/UpdateAuditRequestRequest.ts +39 -39
- package/src/models/UpdateAuditRequestResponseBody.ts +8 -8
- package/src/models/UpdateAuditRequestShrinkRequest.ts +3 -3
- 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/UpdateFlowJsonassetResponseBody.ts +2 -2
- 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/UpdateMarketingFlowRequest.ts +9 -9
- package/src/models/UpdateMarketingFlowResponseBody.ts +5 -5
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +9 -9
- package/src/models/UpdatePhoneMessageQrdlResponseBody.ts +2 -2
- package/src/models/UpdatePhoneWebhookRequest.ts +3 -3
- package/src/models/UpdatePhoneWebhookResponseBody.ts +4 -4
- 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
|
@@ -12,9 +12,6 @@ export default class Client extends OpenApi {
|
|
|
12
12
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
13
|
super(config);
|
|
14
14
|
this._endpointRule = "regional";
|
|
15
|
-
this._endpointMap = {
|
|
16
|
-
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
17
|
-
};
|
|
18
15
|
this.checkConfig(config);
|
|
19
16
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
20
17
|
}
|
|
@@ -101,7 +98,7 @@ export default class Client extends OpenApi {
|
|
|
101
98
|
}
|
|
102
99
|
|
|
103
100
|
/**
|
|
104
|
-
*
|
|
101
|
+
* Registers a Viber account and creates an account.
|
|
105
102
|
*
|
|
106
103
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
107
104
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -158,7 +155,7 @@ export default class Client extends OpenApi {
|
|
|
158
155
|
}
|
|
159
156
|
|
|
160
157
|
/**
|
|
161
|
-
*
|
|
158
|
+
* Registers a Viber account and creates an account.
|
|
162
159
|
*
|
|
163
160
|
* @param request - AddAuditViberOpenRequest
|
|
164
161
|
* @returns AddAuditViberOpenResponse
|
|
@@ -172,11 +169,10 @@ export default class Client extends OpenApi {
|
|
|
172
169
|
* Creates an IM group.
|
|
173
170
|
*
|
|
174
171
|
* @remarks
|
|
175
|
-
* >Notice:
|
|
176
|
-
*
|
|
177
|
-
* -
|
|
178
|
-
* -
|
|
179
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
172
|
+
* >Notice: The feature of creating IM groups through API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
173
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
174
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
175
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
180
176
|
*
|
|
181
177
|
* @param request - AddChatGroupRequest
|
|
182
178
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -242,11 +238,10 @@ export default class Client extends OpenApi {
|
|
|
242
238
|
* Creates an IM group.
|
|
243
239
|
*
|
|
244
240
|
* @remarks
|
|
245
|
-
* >Notice:
|
|
246
|
-
*
|
|
247
|
-
* -
|
|
248
|
-
* -
|
|
249
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
241
|
+
* >Notice: The feature of creating IM groups through API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
242
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
243
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
244
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
250
245
|
*
|
|
251
246
|
* @param request - AddChatGroupRequest
|
|
252
247
|
* @returns AddChatGroupResponse
|
|
@@ -257,15 +252,15 @@ export default class Client extends OpenApi {
|
|
|
257
252
|
}
|
|
258
253
|
|
|
259
254
|
/**
|
|
260
|
-
* Adds an invite link
|
|
255
|
+
* Adds an IM group invite link.
|
|
261
256
|
*
|
|
262
257
|
* @remarks
|
|
263
|
-
* >
|
|
264
|
-
* - Before calling this operation, make sure that you have
|
|
265
|
-
* - If you
|
|
266
|
-
* - After
|
|
267
|
-
* - Currently, members can join an IM group
|
|
268
|
-
* - The maximum number of members in a WhatsApp
|
|
258
|
+
* <notice>The feature to add an IM group invite link through the API is a Meta beta feature. Contact your account manager to request allowlist access.</notice>
|
|
259
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
260
|
+
* - If you have not created an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
261
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
262
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
263
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
269
264
|
*
|
|
270
265
|
* @param request - AddChatGroupInviteLinkRequest
|
|
271
266
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -320,15 +315,15 @@ export default class Client extends OpenApi {
|
|
|
320
315
|
}
|
|
321
316
|
|
|
322
317
|
/**
|
|
323
|
-
* Adds an invite link
|
|
318
|
+
* Adds an IM group invite link.
|
|
324
319
|
*
|
|
325
320
|
* @remarks
|
|
326
|
-
* >
|
|
327
|
-
* - Before calling this operation, make sure that you have
|
|
328
|
-
* - If you
|
|
329
|
-
* - After
|
|
330
|
-
* - Currently, members can join an IM group
|
|
331
|
-
* - The maximum number of members in a WhatsApp
|
|
321
|
+
* <notice>The feature to add an IM group invite link through the API is a Meta beta feature. Contact your account manager to request allowlist access.</notice>
|
|
322
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
323
|
+
* - If you have not created an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
324
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
325
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
326
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
332
327
|
*
|
|
333
328
|
* @param request - AddChatGroupInviteLinkRequest
|
|
334
329
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -339,10 +334,10 @@ export default class Client extends OpenApi {
|
|
|
339
334
|
}
|
|
340
335
|
|
|
341
336
|
/**
|
|
342
|
-
* Adds a phone number to
|
|
337
|
+
* Adds a phone number to WABA.
|
|
343
338
|
*
|
|
344
339
|
* @remarks
|
|
345
|
-
* The
|
|
340
|
+
* The QPS limit per user for this API operation is 10 requests per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation as needed.
|
|
346
341
|
*
|
|
347
342
|
* @param request - AddChatappPhoneNumberRequest
|
|
348
343
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -401,10 +396,10 @@ export default class Client extends OpenApi {
|
|
|
401
396
|
}
|
|
402
397
|
|
|
403
398
|
/**
|
|
404
|
-
* Adds a phone number to
|
|
399
|
+
* Adds a phone number to WABA.
|
|
405
400
|
*
|
|
406
401
|
* @remarks
|
|
407
|
-
* The
|
|
402
|
+
* The QPS limit per user for this API operation is 10 requests per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation as needed.
|
|
408
403
|
*
|
|
409
404
|
* @param request - AddChatappPhoneNumberRequest
|
|
410
405
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -511,10 +506,10 @@ export default class Client extends OpenApi {
|
|
|
511
506
|
}
|
|
512
507
|
|
|
513
508
|
/**
|
|
514
|
-
* Adds
|
|
509
|
+
* Adds a custom audience.
|
|
515
510
|
*
|
|
516
511
|
* @remarks
|
|
517
|
-
* After
|
|
512
|
+
* After you submit the users of a custom audience to Meta, Meta discards the matching data if fewer than 100 users are successfully matched. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user records in a single request.
|
|
518
513
|
*
|
|
519
514
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
520
515
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -587,10 +582,10 @@ export default class Client extends OpenApi {
|
|
|
587
582
|
}
|
|
588
583
|
|
|
589
584
|
/**
|
|
590
|
-
* Adds
|
|
585
|
+
* Adds a custom audience.
|
|
591
586
|
*
|
|
592
587
|
* @remarks
|
|
593
|
-
* After
|
|
588
|
+
* After you submit the users of a custom audience to Meta, Meta discards the matching data if fewer than 100 users are successfully matched. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user records in a single request.
|
|
594
589
|
*
|
|
595
590
|
* @param request - AddCustomAudienceUserRequest
|
|
596
591
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -693,7 +688,7 @@ export default class Client extends OpenApi {
|
|
|
693
688
|
}
|
|
694
689
|
|
|
695
690
|
/**
|
|
696
|
-
*
|
|
691
|
+
* Creates a campaign.
|
|
697
692
|
*
|
|
698
693
|
* @param tmpReq - AddMarketingFlowRequest
|
|
699
694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -794,7 +789,7 @@ export default class Client extends OpenApi {
|
|
|
794
789
|
}
|
|
795
790
|
|
|
796
791
|
/**
|
|
797
|
-
*
|
|
792
|
+
* Creates a campaign.
|
|
798
793
|
*
|
|
799
794
|
* @param request - AddMarketingFlowRequest
|
|
800
795
|
* @returns AddMarketingFlowResponse
|
|
@@ -805,7 +800,7 @@ export default class Client extends OpenApi {
|
|
|
805
800
|
}
|
|
806
801
|
|
|
807
802
|
/**
|
|
808
|
-
* Archives
|
|
803
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
809
804
|
*
|
|
810
805
|
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
811
806
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -854,7 +849,7 @@ export default class Client extends OpenApi {
|
|
|
854
849
|
}
|
|
855
850
|
|
|
856
851
|
/**
|
|
857
|
-
* Archives
|
|
852
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
858
853
|
*
|
|
859
854
|
* @param request - ArchiveChatappTemplateRequest
|
|
860
855
|
* @returns ArchiveChatappTemplateResponse
|
|
@@ -865,7 +860,7 @@ export default class Client extends OpenApi {
|
|
|
865
860
|
}
|
|
866
861
|
|
|
867
862
|
/**
|
|
868
|
-
*
|
|
863
|
+
* Binds a DM account.
|
|
869
864
|
*
|
|
870
865
|
* @param tmpReq - BindDmAccountRequest
|
|
871
866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -922,7 +917,7 @@ export default class Client extends OpenApi {
|
|
|
922
917
|
}
|
|
923
918
|
|
|
924
919
|
/**
|
|
925
|
-
*
|
|
920
|
+
* Binds a DM account.
|
|
926
921
|
*
|
|
927
922
|
* @param request - BindDmAccountRequest
|
|
928
923
|
* @returns BindDmAccountResponse
|
|
@@ -995,7 +990,7 @@ export default class Client extends OpenApi {
|
|
|
995
990
|
}
|
|
996
991
|
|
|
997
992
|
/**
|
|
998
|
-
*
|
|
993
|
+
* Binds the selected page ID.
|
|
999
994
|
*
|
|
1000
995
|
* @param request - BindMessengerPageRequest
|
|
1001
996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1046,7 +1041,7 @@ export default class Client extends OpenApi {
|
|
|
1046
1041
|
}
|
|
1047
1042
|
|
|
1048
1043
|
/**
|
|
1049
|
-
*
|
|
1044
|
+
* Binds the selected page ID.
|
|
1050
1045
|
*
|
|
1051
1046
|
* @param request - BindMessengerPageRequest
|
|
1052
1047
|
* @returns BindMessengerPageResponse
|
|
@@ -1057,7 +1052,7 @@ export default class Client extends OpenApi {
|
|
|
1057
1052
|
}
|
|
1058
1053
|
|
|
1059
1054
|
/**
|
|
1060
|
-
*
|
|
1055
|
+
* Transfers a resource to another resource group.
|
|
1061
1056
|
*
|
|
1062
1057
|
* @param request - ChangeResourceGroupRequest
|
|
1063
1058
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1096,7 +1091,7 @@ export default class Client extends OpenApi {
|
|
|
1096
1091
|
}
|
|
1097
1092
|
|
|
1098
1093
|
/**
|
|
1099
|
-
*
|
|
1094
|
+
* Transfers a resource to another resource group.
|
|
1100
1095
|
*
|
|
1101
1096
|
* @param request - ChangeResourceGroupRequest
|
|
1102
1097
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1107,10 +1102,10 @@ export default class Client extends OpenApi {
|
|
|
1107
1102
|
}
|
|
1108
1103
|
|
|
1109
1104
|
/**
|
|
1110
|
-
* Binds a
|
|
1105
|
+
* Binds a WABA to the northbound interface.
|
|
1111
1106
|
*
|
|
1112
1107
|
* @remarks
|
|
1113
|
-
* The per
|
|
1108
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1114
1109
|
*
|
|
1115
1110
|
* @param request - ChatappBindWabaRequest
|
|
1116
1111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1153,10 +1148,10 @@ export default class Client extends OpenApi {
|
|
|
1153
1148
|
}
|
|
1154
1149
|
|
|
1155
1150
|
/**
|
|
1156
|
-
* Binds a
|
|
1151
|
+
* Binds a WABA to the northbound interface.
|
|
1157
1152
|
*
|
|
1158
1153
|
* @remarks
|
|
1159
|
-
* The per
|
|
1154
|
+
* The queries per second (QPS) limit for a single user is 10. If you exceed this limit, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1160
1155
|
*
|
|
1161
1156
|
* @param request - ChatappBindWabaRequest
|
|
1162
1157
|
* @returns ChatappBindWabaResponse
|
|
@@ -1299,10 +1294,10 @@ export default class Client extends OpenApi {
|
|
|
1299
1294
|
}
|
|
1300
1295
|
|
|
1301
1296
|
/**
|
|
1302
|
-
*
|
|
1297
|
+
* Unregisters a phone number from WABA.
|
|
1303
1298
|
*
|
|
1304
1299
|
* @remarks
|
|
1305
|
-
* The
|
|
1300
|
+
* The queries per second (QPS) limit per user for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
1306
1301
|
*
|
|
1307
1302
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1308
1303
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1349,10 +1344,10 @@ export default class Client extends OpenApi {
|
|
|
1349
1344
|
}
|
|
1350
1345
|
|
|
1351
1346
|
/**
|
|
1352
|
-
*
|
|
1347
|
+
* Unregisters a phone number from WABA.
|
|
1353
1348
|
*
|
|
1354
1349
|
* @remarks
|
|
1355
|
-
* The
|
|
1350
|
+
* The queries per second (QPS) limit per user for this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
1356
1351
|
*
|
|
1357
1352
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1358
1353
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1363,10 +1358,10 @@ export default class Client extends OpenApi {
|
|
|
1363
1358
|
}
|
|
1364
1359
|
|
|
1365
1360
|
/**
|
|
1366
|
-
* Registers a phone number
|
|
1361
|
+
* Registers a phone number.
|
|
1367
1362
|
*
|
|
1368
1363
|
* @remarks
|
|
1369
|
-
* The
|
|
1364
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
1370
1365
|
*
|
|
1371
1366
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1372
1367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1413,10 +1408,10 @@ export default class Client extends OpenApi {
|
|
|
1413
1408
|
}
|
|
1414
1409
|
|
|
1415
1410
|
/**
|
|
1416
|
-
* Registers a phone number
|
|
1411
|
+
* Registers a phone number.
|
|
1417
1412
|
*
|
|
1418
1413
|
* @remarks
|
|
1419
|
-
* The
|
|
1414
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
1420
1415
|
*
|
|
1421
1416
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1422
1417
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1487,10 +1482,10 @@ export default class Client extends OpenApi {
|
|
|
1487
1482
|
}
|
|
1488
1483
|
|
|
1489
1484
|
/**
|
|
1490
|
-
* Verifies
|
|
1485
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1491
1486
|
*
|
|
1492
1487
|
* @remarks
|
|
1493
|
-
* The
|
|
1488
|
+
* The QPS limit per user is 10 requests per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
1494
1489
|
*
|
|
1495
1490
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1496
1491
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1541,10 +1536,10 @@ export default class Client extends OpenApi {
|
|
|
1541
1536
|
}
|
|
1542
1537
|
|
|
1543
1538
|
/**
|
|
1544
|
-
* Verifies
|
|
1539
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1545
1540
|
*
|
|
1546
1541
|
* @remarks
|
|
1547
|
-
* The
|
|
1542
|
+
* The QPS limit per user is 10 requests per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
1548
1543
|
*
|
|
1549
1544
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1550
1545
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1688,8 +1683,8 @@ export default class Client extends OpenApi {
|
|
|
1688
1683
|
* Creates a flow.
|
|
1689
1684
|
*
|
|
1690
1685
|
* @remarks
|
|
1691
|
-
* -
|
|
1692
|
-
* - After you create a flow, you can
|
|
1686
|
+
* - You can create a flow by calling this operation or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1687
|
+
* - After you create a flow, you can refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1693
1688
|
*
|
|
1694
1689
|
* @param tmpReq - CreateChatFlowRequest
|
|
1695
1690
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1703,6 +1698,14 @@ export default class Client extends OpenApi {
|
|
|
1703
1698
|
request.bizExtendShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1704
1699
|
}
|
|
1705
1700
|
|
|
1701
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1702
|
+
request.lifeCycleExtendDataShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendDataV2)) {
|
|
1706
|
+
request.lifeCycleExtendDataV2Shrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendDataV2, "LifeCycleExtendDataV2", "json");
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1706
1709
|
let query = { };
|
|
1707
1710
|
if (!$dara.isNull(request.bizCode)) {
|
|
1708
1711
|
query["BizCode"] = request.bizCode;
|
|
@@ -1712,10 +1715,26 @@ export default class Client extends OpenApi {
|
|
|
1712
1715
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1713
1716
|
}
|
|
1714
1717
|
|
|
1718
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1719
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1723
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1715
1726
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1716
1727
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1717
1728
|
}
|
|
1718
1729
|
|
|
1730
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1731
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
if (!$dara.isNull(request.lifeCycleExtendDataV2Shrink)) {
|
|
1735
|
+
query["LifeCycleExtendDataV2"] = request.lifeCycleExtendDataV2Shrink;
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1719
1738
|
if (!$dara.isNull(request.ownerId)) {
|
|
1720
1739
|
query["OwnerId"] = request.ownerId;
|
|
1721
1740
|
}
|
|
@@ -1757,8 +1776,8 @@ export default class Client extends OpenApi {
|
|
|
1757
1776
|
* Creates a flow.
|
|
1758
1777
|
*
|
|
1759
1778
|
* @remarks
|
|
1760
|
-
* -
|
|
1761
|
-
* - After you create a flow, you can
|
|
1779
|
+
* - You can create a flow by calling this operation or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
1780
|
+
* - After you create a flow, you can refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) to orchestrate the canvas.
|
|
1762
1781
|
*
|
|
1763
1782
|
* @param request - CreateChatFlowRequest
|
|
1764
1783
|
* @returns CreateChatFlowResponse
|
|
@@ -1772,9 +1791,9 @@ export default class Client extends OpenApi {
|
|
|
1772
1791
|
* Creates and imports a flow.
|
|
1773
1792
|
*
|
|
1774
1793
|
* @remarks
|
|
1775
|
-
* - You can call this operation to create and import a flow
|
|
1776
|
-
* - Before
|
|
1777
|
-
* - If you do not have
|
|
1794
|
+
* - 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.
|
|
1795
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1796
|
+
* - 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
1797
|
*
|
|
1779
1798
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1780
1799
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1842,9 +1861,9 @@ export default class Client extends OpenApi {
|
|
|
1842
1861
|
* Creates and imports a flow.
|
|
1843
1862
|
*
|
|
1844
1863
|
* @remarks
|
|
1845
|
-
* - You can call this operation to create and import a flow
|
|
1846
|
-
* - Before
|
|
1847
|
-
* - If you do not have
|
|
1864
|
+
* - 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.
|
|
1865
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1866
|
+
* - 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
1867
|
*
|
|
1849
1868
|
* @param request - CreateChatFlowByImportRequest
|
|
1850
1869
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1855,13 +1874,13 @@ export default class Client extends OpenApi {
|
|
|
1855
1874
|
}
|
|
1856
1875
|
|
|
1857
1876
|
/**
|
|
1858
|
-
* Creates
|
|
1877
|
+
* Creates a flow log setting.
|
|
1859
1878
|
*
|
|
1860
1879
|
* @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
|
|
1880
|
+
* - 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.
|
|
1881
|
+
* - 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.
|
|
1882
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1883
|
+
* - 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
1884
|
*
|
|
1866
1885
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1867
1886
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1904,13 +1923,13 @@ export default class Client extends OpenApi {
|
|
|
1904
1923
|
}
|
|
1905
1924
|
|
|
1906
1925
|
/**
|
|
1907
|
-
* Creates
|
|
1926
|
+
* Creates a flow log setting.
|
|
1908
1927
|
*
|
|
1909
1928
|
* @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
|
|
1929
|
+
* - 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.
|
|
1930
|
+
* - 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.
|
|
1931
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1932
|
+
* - 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
1933
|
*
|
|
1915
1934
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1916
1935
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1989,13 +2008,13 @@ export default class Client extends OpenApi {
|
|
|
1989
2008
|
}
|
|
1990
2009
|
|
|
1991
2010
|
/**
|
|
1992
|
-
* Creates a message template.
|
|
2011
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1993
2012
|
*
|
|
1994
2013
|
* @remarks
|
|
1995
2014
|
* ### QPS limit
|
|
1996
|
-
* The
|
|
1997
|
-
* ### Status
|
|
1998
|
-
* You can
|
|
2015
|
+
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2016
|
+
* ### Status changes
|
|
2017
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
1999
2018
|
*
|
|
2000
2019
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
2001
2020
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2013,57 +2032,61 @@ export default class Client extends OpenApi {
|
|
|
2013
2032
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
2014
2033
|
}
|
|
2015
2034
|
|
|
2016
|
-
let
|
|
2035
|
+
let query = { };
|
|
2017
2036
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
2018
|
-
|
|
2037
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
2019
2038
|
}
|
|
2020
2039
|
|
|
2021
2040
|
if (!$dara.isNull(request.category)) {
|
|
2022
|
-
|
|
2041
|
+
query["Category"] = request.category;
|
|
2023
2042
|
}
|
|
2024
2043
|
|
|
2025
2044
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
2026
|
-
|
|
2045
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
2027
2046
|
}
|
|
2028
2047
|
|
|
2029
2048
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
2030
|
-
|
|
2049
|
+
query["Components"] = request.componentsShrink;
|
|
2031
2050
|
}
|
|
2032
2051
|
|
|
2033
2052
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
2034
|
-
|
|
2053
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
2035
2054
|
}
|
|
2036
2055
|
|
|
2037
2056
|
if (!$dara.isNull(request.custWabaId)) {
|
|
2038
|
-
|
|
2057
|
+
query["CustWabaId"] = request.custWabaId;
|
|
2039
2058
|
}
|
|
2040
2059
|
|
|
2041
2060
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
2042
|
-
|
|
2061
|
+
query["Example"] = request.exampleShrink;
|
|
2043
2062
|
}
|
|
2044
2063
|
|
|
2045
2064
|
if (!$dara.isNull(request.isvCode)) {
|
|
2046
|
-
|
|
2065
|
+
query["IsvCode"] = request.isvCode;
|
|
2047
2066
|
}
|
|
2048
2067
|
|
|
2049
2068
|
if (!$dara.isNull(request.language)) {
|
|
2050
|
-
|
|
2069
|
+
query["Language"] = request.language;
|
|
2051
2070
|
}
|
|
2052
2071
|
|
|
2053
2072
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
2054
|
-
|
|
2073
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
2055
2074
|
}
|
|
2056
2075
|
|
|
2057
2076
|
if (!$dara.isNull(request.name)) {
|
|
2058
|
-
|
|
2077
|
+
query["Name"] = request.name;
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
2081
|
+
query["ProductSetId"] = request.productSetId;
|
|
2059
2082
|
}
|
|
2060
2083
|
|
|
2061
2084
|
if (!$dara.isNull(request.templateType)) {
|
|
2062
|
-
|
|
2085
|
+
query["TemplateType"] = request.templateType;
|
|
2063
2086
|
}
|
|
2064
2087
|
|
|
2065
2088
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2066
|
-
|
|
2089
|
+
query: OpenApiUtil.query(query),
|
|
2067
2090
|
});
|
|
2068
2091
|
let params = new $OpenApiUtil.Params({
|
|
2069
2092
|
action: "CreateChatappTemplate",
|
|
@@ -2080,13 +2103,13 @@ export default class Client extends OpenApi {
|
|
|
2080
2103
|
}
|
|
2081
2104
|
|
|
2082
2105
|
/**
|
|
2083
|
-
* Creates a message template.
|
|
2106
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
2084
2107
|
*
|
|
2085
2108
|
* @remarks
|
|
2086
2109
|
* ### QPS limit
|
|
2087
|
-
* The
|
|
2088
|
-
* ### Status
|
|
2089
|
-
* You can
|
|
2110
|
+
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2111
|
+
* ### Status changes
|
|
2112
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Message receipts](https://help.aliyun.com/document_detail/421545.html).
|
|
2090
2113
|
*
|
|
2091
2114
|
* @param request - CreateChatappTemplateRequest
|
|
2092
2115
|
* @returns CreateChatappTemplateResponse
|
|
@@ -2253,12 +2276,12 @@ export default class Client extends OpenApi {
|
|
|
2253
2276
|
}
|
|
2254
2277
|
|
|
2255
2278
|
/**
|
|
2256
|
-
* Creates a new version
|
|
2279
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2257
2280
|
*
|
|
2258
2281
|
* @remarks
|
|
2259
|
-
* - You can call this operation to create a new flow version
|
|
2260
|
-
* - Before
|
|
2261
|
-
* - If you
|
|
2282
|
+
* - 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.
|
|
2283
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2284
|
+
* - 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
2285
|
*
|
|
2263
2286
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2264
2287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2323,12 +2346,12 @@ export default class Client extends OpenApi {
|
|
|
2323
2346
|
}
|
|
2324
2347
|
|
|
2325
2348
|
/**
|
|
2326
|
-
* Creates a new version
|
|
2349
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2327
2350
|
*
|
|
2328
2351
|
* @remarks
|
|
2329
|
-
* - You can call this operation to create a new flow version
|
|
2330
|
-
* - Before
|
|
2331
|
-
* - If you
|
|
2352
|
+
* - 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.
|
|
2353
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2354
|
+
* - 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
2355
|
*
|
|
2333
2356
|
* @param request - CreateFlowVersionRequest
|
|
2334
2357
|
* @returns CreateFlowVersionResponse
|
|
@@ -2491,7 +2514,7 @@ export default class Client extends OpenApi {
|
|
|
2491
2514
|
}
|
|
2492
2515
|
|
|
2493
2516
|
/**
|
|
2494
|
-
*
|
|
2517
|
+
* Authorizes an embedded messenger.
|
|
2495
2518
|
*
|
|
2496
2519
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2497
2520
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2556,7 +2579,7 @@ export default class Client extends OpenApi {
|
|
|
2556
2579
|
}
|
|
2557
2580
|
|
|
2558
2581
|
/**
|
|
2559
|
-
*
|
|
2582
|
+
* Authorizes an embedded messenger.
|
|
2560
2583
|
*
|
|
2561
2584
|
* @param request - CreateMessengerPageRequest
|
|
2562
2585
|
* @returns CreateMessengerPageResponse
|
|
@@ -2572,12 +2595,12 @@ export default class Client extends OpenApi {
|
|
|
2572
2595
|
* @remarks
|
|
2573
2596
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2574
2597
|
* - 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
|
|
2598
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2576
2599
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2577
2600
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2578
2601
|
* page.
|
|
2579
2602
|
* #### 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.
|
|
2603
|
+
* 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
2604
|
*
|
|
2582
2605
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2583
2606
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2637,12 +2660,12 @@ export default class Client extends OpenApi {
|
|
|
2637
2660
|
* @remarks
|
|
2638
2661
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2639
2662
|
* - 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
|
|
2663
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2641
2664
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2642
2665
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2643
2666
|
* page.
|
|
2644
2667
|
* #### 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.
|
|
2668
|
+
* 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
2669
|
*
|
|
2647
2670
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2648
2671
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2653,7 +2676,7 @@ export default class Client extends OpenApi {
|
|
|
2653
2676
|
}
|
|
2654
2677
|
|
|
2655
2678
|
/**
|
|
2656
|
-
*
|
|
2679
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2657
2680
|
*
|
|
2658
2681
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2659
2682
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2710,7 +2733,7 @@ export default class Client extends OpenApi {
|
|
|
2710
2733
|
}
|
|
2711
2734
|
|
|
2712
2735
|
/**
|
|
2713
|
-
*
|
|
2736
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2714
2737
|
*
|
|
2715
2738
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2716
2739
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2724,9 +2747,9 @@ export default class Client extends OpenApi {
|
|
|
2724
2747
|
* Deletes a flow.
|
|
2725
2748
|
*
|
|
2726
2749
|
* @remarks
|
|
2727
|
-
* - You can call this operation to delete a flow
|
|
2728
|
-
* - Before
|
|
2729
|
-
* -
|
|
2750
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2751
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2752
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2730
2753
|
*
|
|
2731
2754
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2732
2755
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2786,9 +2809,9 @@ export default class Client extends OpenApi {
|
|
|
2786
2809
|
* Deletes a flow.
|
|
2787
2810
|
*
|
|
2788
2811
|
* @remarks
|
|
2789
|
-
* - You can call this operation to delete a flow
|
|
2790
|
-
* - Before
|
|
2791
|
-
* -
|
|
2812
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2813
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2814
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2792
2815
|
*
|
|
2793
2816
|
* @param request - DeleteChatFlowRequest
|
|
2794
2817
|
* @returns DeleteChatFlowResponse
|
|
@@ -3131,7 +3154,7 @@ export default class Client extends OpenApi {
|
|
|
3131
3154
|
}
|
|
3132
3155
|
|
|
3133
3156
|
/**
|
|
3134
|
-
*
|
|
3157
|
+
* Deletes a contact.
|
|
3135
3158
|
*
|
|
3136
3159
|
* @param tmpReq - DeleteContactsRequest
|
|
3137
3160
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3200,7 +3223,7 @@ export default class Client extends OpenApi {
|
|
|
3200
3223
|
}
|
|
3201
3224
|
|
|
3202
3225
|
/**
|
|
3203
|
-
*
|
|
3226
|
+
* Deletes a contact.
|
|
3204
3227
|
*
|
|
3205
3228
|
* @param request - DeleteContactsRequest
|
|
3206
3229
|
* @returns DeleteContactsResponse
|
|
@@ -3413,7 +3436,7 @@ export default class Client extends OpenApi {
|
|
|
3413
3436
|
}
|
|
3414
3437
|
|
|
3415
3438
|
/**
|
|
3416
|
-
*
|
|
3439
|
+
* Deletes a group.
|
|
3417
3440
|
*
|
|
3418
3441
|
* @param request - DeleteGroupByIdRequest
|
|
3419
3442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3456,7 +3479,7 @@ export default class Client extends OpenApi {
|
|
|
3456
3479
|
}
|
|
3457
3480
|
|
|
3458
3481
|
/**
|
|
3459
|
-
*
|
|
3482
|
+
* Deletes a group.
|
|
3460
3483
|
*
|
|
3461
3484
|
* @param request - DeleteGroupByIdRequest
|
|
3462
3485
|
* @returns DeleteGroupByIdResponse
|
|
@@ -3467,7 +3490,7 @@ export default class Client extends OpenApi {
|
|
|
3467
3490
|
}
|
|
3468
3491
|
|
|
3469
3492
|
/**
|
|
3470
|
-
*
|
|
3493
|
+
* Deletes a page from an Instagram instance.
|
|
3471
3494
|
*
|
|
3472
3495
|
* @param request - DeleteInstagramPageRequest
|
|
3473
3496
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3514,7 +3537,7 @@ export default class Client extends OpenApi {
|
|
|
3514
3537
|
}
|
|
3515
3538
|
|
|
3516
3539
|
/**
|
|
3517
|
-
*
|
|
3540
|
+
* Deletes a page from an Instagram instance.
|
|
3518
3541
|
*
|
|
3519
3542
|
* @param request - DeleteInstagramPageRequest
|
|
3520
3543
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3691,7 +3714,7 @@ export default class Client extends OpenApi {
|
|
|
3691
3714
|
}
|
|
3692
3715
|
|
|
3693
3716
|
/**
|
|
3694
|
-
*
|
|
3717
|
+
* Deletes the Messenger page.
|
|
3695
3718
|
*
|
|
3696
3719
|
* @param request - DeleteMessengerPageRequest
|
|
3697
3720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3738,7 +3761,7 @@ export default class Client extends OpenApi {
|
|
|
3738
3761
|
}
|
|
3739
3762
|
|
|
3740
3763
|
/**
|
|
3741
|
-
*
|
|
3764
|
+
* Deletes the Messenger page.
|
|
3742
3765
|
*
|
|
3743
3766
|
* @param request - DeleteMessengerPageRequest
|
|
3744
3767
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3871,10 +3894,10 @@ export default class Client extends OpenApi {
|
|
|
3871
3894
|
}
|
|
3872
3895
|
|
|
3873
3896
|
/**
|
|
3874
|
-
* Deprecates a
|
|
3897
|
+
* Deprecates a Flow.
|
|
3875
3898
|
*
|
|
3876
3899
|
* @remarks
|
|
3877
|
-
*
|
|
3900
|
+
* 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
3901
|
*
|
|
3879
3902
|
* @param request - DeprecateFlowRequest
|
|
3880
3903
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3921,10 +3944,10 @@ export default class Client extends OpenApi {
|
|
|
3921
3944
|
}
|
|
3922
3945
|
|
|
3923
3946
|
/**
|
|
3924
|
-
* Deprecates a
|
|
3947
|
+
* Deprecates a Flow.
|
|
3925
3948
|
*
|
|
3926
3949
|
* @remarks
|
|
3927
|
-
*
|
|
3950
|
+
* 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
3951
|
*
|
|
3929
3952
|
* @param request - DeprecateFlowRequest
|
|
3930
3953
|
* @returns DeprecateFlowResponse
|
|
@@ -4007,16 +4030,15 @@ export default class Client extends OpenApi {
|
|
|
4007
4030
|
}
|
|
4008
4031
|
|
|
4009
4032
|
/**
|
|
4010
|
-
*
|
|
4033
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4011
4034
|
*
|
|
4012
4035
|
* @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).
|
|
4036
|
+
* - 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.
|
|
4037
|
+
* - 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.
|
|
4038
|
+
* - 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).
|
|
4039
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4040
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4041
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
4020
4042
|
*
|
|
4021
4043
|
* @param tmpReq - FlowBindPhoneRequest
|
|
4022
4044
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4026,6 +4048,10 @@ export default class Client extends OpenApi {
|
|
|
4026
4048
|
tmpReq.validate();
|
|
4027
4049
|
let request = new $_model.FlowBindPhoneShrinkRequest({ });
|
|
4028
4050
|
OpenApiUtil.convert(tmpReq, request);
|
|
4051
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4052
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4029
4055
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
4030
4056
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
4031
4057
|
}
|
|
@@ -4047,6 +4073,10 @@ export default class Client extends OpenApi {
|
|
|
4047
4073
|
query["FlowVersion"] = request.flowVersion;
|
|
4048
4074
|
}
|
|
4049
4075
|
|
|
4076
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4077
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4078
|
+
}
|
|
4079
|
+
|
|
4050
4080
|
if (!$dara.isNull(request.ownerId)) {
|
|
4051
4081
|
query["OwnerId"] = request.ownerId;
|
|
4052
4082
|
}
|
|
@@ -4085,16 +4115,15 @@ export default class Client extends OpenApi {
|
|
|
4085
4115
|
}
|
|
4086
4116
|
|
|
4087
4117
|
/**
|
|
4088
|
-
*
|
|
4118
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
4089
4119
|
*
|
|
4090
4120
|
* @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).
|
|
4121
|
+
* - 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.
|
|
4122
|
+
* - 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.
|
|
4123
|
+
* - 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).
|
|
4124
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4125
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4126
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
4098
4127
|
*
|
|
4099
4128
|
* @param request - FlowBindPhoneRequest
|
|
4100
4129
|
* @returns FlowBindPhoneResponse
|
|
@@ -4108,7 +4137,7 @@ export default class Client extends OpenApi {
|
|
|
4108
4137
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
4109
4138
|
*
|
|
4110
4139
|
* @remarks
|
|
4111
|
-
* -
|
|
4140
|
+
* - 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
4141
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4113
4142
|
* - 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
4143
|
*
|
|
@@ -4120,6 +4149,10 @@ export default class Client extends OpenApi {
|
|
|
4120
4149
|
tmpReq.validate();
|
|
4121
4150
|
let request = new $_model.FlowRebindPhoneShrinkRequest({ });
|
|
4122
4151
|
OpenApiUtil.convert(tmpReq, request);
|
|
4152
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
4153
|
+
request.multiWabaPhoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
4154
|
+
}
|
|
4155
|
+
|
|
4123
4156
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
4124
4157
|
request.phoneNumbersShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
4125
4158
|
}
|
|
@@ -4141,6 +4174,10 @@ export default class Client extends OpenApi {
|
|
|
4141
4174
|
query["FlowVersion"] = request.flowVersion;
|
|
4142
4175
|
}
|
|
4143
4176
|
|
|
4177
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
4178
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
4179
|
+
}
|
|
4180
|
+
|
|
4144
4181
|
if (!$dara.isNull(request.ownerId)) {
|
|
4145
4182
|
query["OwnerId"] = request.ownerId;
|
|
4146
4183
|
}
|
|
@@ -4182,7 +4219,7 @@ export default class Client extends OpenApi {
|
|
|
4182
4219
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
4183
4220
|
*
|
|
4184
4221
|
* @remarks
|
|
4185
|
-
* -
|
|
4222
|
+
* - 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
4223
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
4187
4224
|
* - 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
4225
|
*
|
|
@@ -4195,14 +4232,14 @@ export default class Client extends OpenApi {
|
|
|
4195
4232
|
}
|
|
4196
4233
|
|
|
4197
4234
|
/**
|
|
4198
|
-
*
|
|
4235
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4199
4236
|
*
|
|
4200
4237
|
* @remarks
|
|
4201
|
-
* - Before you call this operation,
|
|
4202
|
-
* - You can call this operation to
|
|
4203
|
-
* - Before you call this operation,
|
|
4204
|
-
* - If no phone number or
|
|
4205
|
-
* - After a phone number or
|
|
4238
|
+
* - Before you call this operation, make sure that your flow is in the offline state. If your flow is in the online state, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4239
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4240
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
4241
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4242
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must re-associate a phone number or merchant account ID with the flow before you can take it online.
|
|
4206
4243
|
*
|
|
4207
4244
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4208
4245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4263,14 +4300,14 @@ export default class Client extends OpenApi {
|
|
|
4263
4300
|
}
|
|
4264
4301
|
|
|
4265
4302
|
/**
|
|
4266
|
-
*
|
|
4303
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
4267
4304
|
*
|
|
4268
4305
|
* @remarks
|
|
4269
|
-
* - Before you call this operation,
|
|
4270
|
-
* - You can call this operation to
|
|
4271
|
-
* - Before you call this operation,
|
|
4272
|
-
* - If no phone number or
|
|
4273
|
-
* - After a phone number or
|
|
4306
|
+
* - Before you call this operation, make sure that your flow is in the offline state. If your flow is in the online state, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://help.aliyun.com/document_detail/2937198.html) operation to take the flow offline.
|
|
4307
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4308
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
4309
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
4310
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must re-associate a phone number or merchant account ID with the flow before you can take it online.
|
|
4274
4311
|
*
|
|
4275
4312
|
* @param request - FlowUnbindPhoneRequest
|
|
4276
4313
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4335,7 +4372,7 @@ export default class Client extends OpenApi {
|
|
|
4335
4372
|
}
|
|
4336
4373
|
|
|
4337
4374
|
/**
|
|
4338
|
-
*
|
|
4375
|
+
* Queries pending review orders for an individual by type.
|
|
4339
4376
|
*
|
|
4340
4377
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4341
4378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4382,7 +4419,7 @@ export default class Client extends OpenApi {
|
|
|
4382
4419
|
}
|
|
4383
4420
|
|
|
4384
4421
|
/**
|
|
4385
|
-
*
|
|
4422
|
+
* Queries pending review orders for an individual by type.
|
|
4386
4423
|
*
|
|
4387
4424
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4388
4425
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4447,9 +4484,9 @@ export default class Client extends OpenApi {
|
|
|
4447
4484
|
*
|
|
4448
4485
|
* @remarks
|
|
4449
4486
|
* - 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
|
|
4487
|
+
* - 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.
|
|
4488
|
+
* - 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.
|
|
4489
|
+
* - 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
4490
|
*
|
|
4454
4491
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4455
4492
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4534,9 +4571,9 @@ export default class Client extends OpenApi {
|
|
|
4534
4571
|
*
|
|
4535
4572
|
* @remarks
|
|
4536
4573
|
* - 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
|
|
4574
|
+
* - 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.
|
|
4575
|
+
* - 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.
|
|
4576
|
+
* - 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
4577
|
*
|
|
4541
4578
|
* @param request - GetChatFlowMetricRequest
|
|
4542
4579
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4550,8 +4587,8 @@ export default class Client extends OpenApi {
|
|
|
4550
4587
|
* Queries the details of a flow template.
|
|
4551
4588
|
*
|
|
4552
4589
|
* @remarks
|
|
4553
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4554
|
-
* - After you view
|
|
4590
|
+
* - 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).
|
|
4591
|
+
* - 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
4592
|
*
|
|
4556
4593
|
* @param request - GetChatFlowTemplateRequest
|
|
4557
4594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4601,8 +4638,8 @@ export default class Client extends OpenApi {
|
|
|
4601
4638
|
* Queries the details of a flow template.
|
|
4602
4639
|
*
|
|
4603
4640
|
* @remarks
|
|
4604
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4605
|
-
* - After you view
|
|
4641
|
+
* - 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).
|
|
4642
|
+
* - 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
4643
|
*
|
|
4607
4644
|
* @param request - GetChatFlowTemplateRequest
|
|
4608
4645
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4811,11 +4848,11 @@ export default class Client extends OpenApi {
|
|
|
4811
4848
|
}
|
|
4812
4849
|
|
|
4813
4850
|
/**
|
|
4814
|
-
* Retrieves the details of a Chat App
|
|
4851
|
+
* Retrieves the details of a Chat App message template.
|
|
4815
4852
|
*
|
|
4816
4853
|
* @remarks
|
|
4817
4854
|
* ### QPS limit
|
|
4818
|
-
* The
|
|
4855
|
+
* The queries per second (QPS) limit for a single user is 5. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
4819
4856
|
*
|
|
4820
4857
|
* @param request - GetChatappTemplateDetailRequest
|
|
4821
4858
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4870,11 +4907,11 @@ export default class Client extends OpenApi {
|
|
|
4870
4907
|
}
|
|
4871
4908
|
|
|
4872
4909
|
/**
|
|
4873
|
-
* Retrieves the details of a Chat App
|
|
4910
|
+
* Retrieves the details of a Chat App message template.
|
|
4874
4911
|
*
|
|
4875
4912
|
* @remarks
|
|
4876
4913
|
* ### QPS limit
|
|
4877
|
-
* The
|
|
4914
|
+
* The queries per second (QPS) limit for a single user is 5. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
4878
4915
|
*
|
|
4879
4916
|
* @param request - GetChatappTemplateDetailRequest
|
|
4880
4917
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -5295,7 +5332,7 @@ export default class Client extends OpenApi {
|
|
|
5295
5332
|
}
|
|
5296
5333
|
|
|
5297
5334
|
/**
|
|
5298
|
-
*
|
|
5335
|
+
* Downloads Excel data.
|
|
5299
5336
|
*
|
|
5300
5337
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
5301
5338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5380,7 +5417,7 @@ export default class Client extends OpenApi {
|
|
|
5380
5417
|
}
|
|
5381
5418
|
|
|
5382
5419
|
/**
|
|
5383
|
-
*
|
|
5420
|
+
* Downloads Excel data.
|
|
5384
5421
|
*
|
|
5385
5422
|
* @param request - GetDownloadExcelListRequest
|
|
5386
5423
|
* @returns GetDownloadExcelListResponse
|
|
@@ -5391,7 +5428,7 @@ export default class Client extends OpenApi {
|
|
|
5391
5428
|
}
|
|
5392
5429
|
|
|
5393
5430
|
/**
|
|
5394
|
-
*
|
|
5431
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5395
5432
|
*
|
|
5396
5433
|
* @param request - GetFbInstagramPagesRequest
|
|
5397
5434
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5438,7 +5475,7 @@ export default class Client extends OpenApi {
|
|
|
5438
5475
|
}
|
|
5439
5476
|
|
|
5440
5477
|
/**
|
|
5441
|
-
*
|
|
5478
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
5442
5479
|
*
|
|
5443
5480
|
* @param request - GetFbInstagramPagesRequest
|
|
5444
5481
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5449,7 +5486,7 @@ export default class Client extends OpenApi {
|
|
|
5449
5486
|
}
|
|
5450
5487
|
|
|
5451
5488
|
/**
|
|
5452
|
-
*
|
|
5489
|
+
* Retrieves the list of Facebook page IDs.
|
|
5453
5490
|
*
|
|
5454
5491
|
* @param request - GetFbMessengerPagesRequest
|
|
5455
5492
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5496,7 +5533,7 @@ export default class Client extends OpenApi {
|
|
|
5496
5533
|
}
|
|
5497
5534
|
|
|
5498
5535
|
/**
|
|
5499
|
-
*
|
|
5536
|
+
* Retrieves the list of Facebook page IDs.
|
|
5500
5537
|
*
|
|
5501
5538
|
* @param request - GetFbMessengerPagesRequest
|
|
5502
5539
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -5507,13 +5544,13 @@ export default class Client extends OpenApi {
|
|
|
5507
5544
|
}
|
|
5508
5545
|
|
|
5509
5546
|
/**
|
|
5510
|
-
*
|
|
5547
|
+
* Retrieves the details of a Flow.
|
|
5511
5548
|
*
|
|
5512
5549
|
* @remarks
|
|
5513
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5514
|
-
* - If you
|
|
5550
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5551
|
+
* - 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
5552
|
* #### QPS limit
|
|
5516
|
-
*
|
|
5553
|
+
* 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
5554
|
*
|
|
5518
5555
|
* @param request - GetFlowRequest
|
|
5519
5556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5560,13 +5597,13 @@ export default class Client extends OpenApi {
|
|
|
5560
5597
|
}
|
|
5561
5598
|
|
|
5562
5599
|
/**
|
|
5563
|
-
*
|
|
5600
|
+
* Retrieves the details of a Flow.
|
|
5564
5601
|
*
|
|
5565
5602
|
* @remarks
|
|
5566
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5567
|
-
* - If you
|
|
5603
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5604
|
+
* - 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
5605
|
* #### QPS limit
|
|
5569
|
-
*
|
|
5606
|
+
* 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
5607
|
*
|
|
5571
5608
|
* @param request - GetFlowRequest
|
|
5572
5609
|
* @returns GetFlowResponse
|
|
@@ -5577,13 +5614,13 @@ export default class Client extends OpenApi {
|
|
|
5577
5614
|
}
|
|
5578
5615
|
|
|
5579
5616
|
/**
|
|
5580
|
-
*
|
|
5617
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5581
5618
|
*
|
|
5582
5619
|
* @remarks
|
|
5583
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5584
|
-
* - If you
|
|
5620
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5621
|
+
* - 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
5622
|
* #### QPS limit
|
|
5586
|
-
*
|
|
5623
|
+
* 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
5624
|
*
|
|
5588
5625
|
* @param request - GetFlowJSONAssestRequest
|
|
5589
5626
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5630,13 +5667,13 @@ export default class Client extends OpenApi {
|
|
|
5630
5667
|
}
|
|
5631
5668
|
|
|
5632
5669
|
/**
|
|
5633
|
-
*
|
|
5670
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
5634
5671
|
*
|
|
5635
5672
|
* @remarks
|
|
5636
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
5637
|
-
* - If you
|
|
5673
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
5674
|
+
* - 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
5675
|
* #### QPS limit
|
|
5639
|
-
*
|
|
5676
|
+
* 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
5677
|
*
|
|
5641
5678
|
* @param request - GetFlowJSONAssestRequest
|
|
5642
5679
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -5647,14 +5684,14 @@ export default class Client extends OpenApi {
|
|
|
5647
5684
|
}
|
|
5648
5685
|
|
|
5649
5686
|
/**
|
|
5650
|
-
*
|
|
5687
|
+
* Retrieves the preview URL of a Flow.
|
|
5651
5688
|
*
|
|
5652
5689
|
* @remarks
|
|
5653
|
-
* - After
|
|
5654
|
-
* - Before
|
|
5655
|
-
* - If you do not have a WhatsApp
|
|
5690
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5691
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5692
|
+
* - 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
5693
|
* #### QPS limit
|
|
5657
|
-
*
|
|
5694
|
+
* 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
5695
|
*
|
|
5659
5696
|
* @param request - GetFlowPreviewUrlRequest
|
|
5660
5697
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5701,14 +5738,14 @@ export default class Client extends OpenApi {
|
|
|
5701
5738
|
}
|
|
5702
5739
|
|
|
5703
5740
|
/**
|
|
5704
|
-
*
|
|
5741
|
+
* Retrieves the preview URL of a Flow.
|
|
5705
5742
|
*
|
|
5706
5743
|
* @remarks
|
|
5707
|
-
* - After
|
|
5708
|
-
* - Before
|
|
5709
|
-
* - If you do not have a WhatsApp
|
|
5744
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5745
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5746
|
+
* - 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
5747
|
* #### QPS limit
|
|
5711
|
-
*
|
|
5748
|
+
* 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
5749
|
*
|
|
5713
5750
|
* @param request - GetFlowPreviewUrlRequest
|
|
5714
5751
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5719,7 +5756,7 @@ export default class Client extends OpenApi {
|
|
|
5719
5756
|
}
|
|
5720
5757
|
|
|
5721
5758
|
/**
|
|
5722
|
-
*
|
|
5759
|
+
* Queries whether a group name already exists.
|
|
5723
5760
|
*
|
|
5724
5761
|
* @param tmpReq - GetGroupExistRequest
|
|
5725
5762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5776,7 +5813,7 @@ export default class Client extends OpenApi {
|
|
|
5776
5813
|
}
|
|
5777
5814
|
|
|
5778
5815
|
/**
|
|
5779
|
-
*
|
|
5816
|
+
* Queries whether a group name already exists.
|
|
5780
5817
|
*
|
|
5781
5818
|
* @param request - GetGroupExistRequest
|
|
5782
5819
|
* @returns GetGroupExistResponse
|
|
@@ -5787,7 +5824,7 @@ export default class Client extends OpenApi {
|
|
|
5787
5824
|
}
|
|
5788
5825
|
|
|
5789
5826
|
/**
|
|
5790
|
-
*
|
|
5827
|
+
* Queries budget metrics.
|
|
5791
5828
|
*
|
|
5792
5829
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5793
5830
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5842,7 +5879,7 @@ export default class Client extends OpenApi {
|
|
|
5842
5879
|
}
|
|
5843
5880
|
|
|
5844
5881
|
/**
|
|
5845
|
-
*
|
|
5882
|
+
* Queries budget metrics.
|
|
5846
5883
|
*
|
|
5847
5884
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5848
5885
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -6072,10 +6109,13 @@ export default class Client extends OpenApi {
|
|
|
6072
6109
|
* Retrieves the verification status of a phone number.
|
|
6073
6110
|
*
|
|
6074
6111
|
* @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
|
|
6112
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6113
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6114
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6115
|
+
* - 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.
|
|
6116
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6117
|
+
* - 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.
|
|
6118
|
+
* 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
6119
|
*
|
|
6080
6120
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6081
6121
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6125,10 +6165,13 @@ export default class Client extends OpenApi {
|
|
|
6125
6165
|
* Retrieves the verification status of a phone number.
|
|
6126
6166
|
*
|
|
6127
6167
|
* @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
|
|
6168
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
6169
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6170
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
6171
|
+
* - 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.
|
|
6172
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
6173
|
+
* - 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.
|
|
6174
|
+
* 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
6175
|
*
|
|
6133
6176
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6134
6177
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -6249,7 +6292,7 @@ export default class Client extends OpenApi {
|
|
|
6249
6292
|
}
|
|
6250
6293
|
|
|
6251
6294
|
/**
|
|
6252
|
-
*
|
|
6295
|
+
* Queries an application form by request number.
|
|
6253
6296
|
*
|
|
6254
6297
|
* @param request - GetViberByRequestNoRequest
|
|
6255
6298
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6296,7 +6339,7 @@ export default class Client extends OpenApi {
|
|
|
6296
6339
|
}
|
|
6297
6340
|
|
|
6298
6341
|
/**
|
|
6299
|
-
*
|
|
6342
|
+
* Queries an application form by request number.
|
|
6300
6343
|
*
|
|
6301
6344
|
* @param request - GetViberByRequestNoRequest
|
|
6302
6345
|
* @returns GetViberByRequestNoResponse
|
|
@@ -6307,7 +6350,7 @@ export default class Client extends OpenApi {
|
|
|
6307
6350
|
}
|
|
6308
6351
|
|
|
6309
6352
|
/**
|
|
6310
|
-
*
|
|
6353
|
+
* Queries the number of times that a pause can be requested.
|
|
6311
6354
|
*
|
|
6312
6355
|
* @param request - GetViberPauseTimesRequest
|
|
6313
6356
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6350,7 +6393,7 @@ export default class Client extends OpenApi {
|
|
|
6350
6393
|
}
|
|
6351
6394
|
|
|
6352
6395
|
/**
|
|
6353
|
-
*
|
|
6396
|
+
* Queries the number of times that a pause can be requested.
|
|
6354
6397
|
*
|
|
6355
6398
|
* @param request - GetViberPauseTimesRequest
|
|
6356
6399
|
* @returns GetViberPauseTimesResponse
|
|
@@ -6425,7 +6468,7 @@ export default class Client extends OpenApi {
|
|
|
6425
6468
|
}
|
|
6426
6469
|
|
|
6427
6470
|
/**
|
|
6428
|
-
*
|
|
6471
|
+
* Retrieves the embedded authorization page.
|
|
6429
6472
|
*
|
|
6430
6473
|
* @param request - GetWhatsappConversionApiRequest
|
|
6431
6474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6468,7 +6511,7 @@ export default class Client extends OpenApi {
|
|
|
6468
6511
|
}
|
|
6469
6512
|
|
|
6470
6513
|
/**
|
|
6471
|
-
*
|
|
6514
|
+
* Retrieves the embedded authorization page.
|
|
6472
6515
|
*
|
|
6473
6516
|
* @param request - GetWhatsappConversionApiRequest
|
|
6474
6517
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -6723,7 +6766,7 @@ export default class Client extends OpenApi {
|
|
|
6723
6766
|
}
|
|
6724
6767
|
|
|
6725
6768
|
/**
|
|
6726
|
-
*
|
|
6769
|
+
* Queries a list of groups.
|
|
6727
6770
|
*
|
|
6728
6771
|
* @param tmpReq - ListAllGroupsRequest
|
|
6729
6772
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6776,7 +6819,7 @@ export default class Client extends OpenApi {
|
|
|
6776
6819
|
}
|
|
6777
6820
|
|
|
6778
6821
|
/**
|
|
6779
|
-
*
|
|
6822
|
+
* Queries a list of groups.
|
|
6780
6823
|
*
|
|
6781
6824
|
* @param request - ListAllGroupsRequest
|
|
6782
6825
|
* @returns ListAllGroupsResponse
|
|
@@ -6787,7 +6830,7 @@ export default class Client extends OpenApi {
|
|
|
6787
6830
|
}
|
|
6788
6831
|
|
|
6789
6832
|
/**
|
|
6790
|
-
*
|
|
6833
|
+
* Queries the bound DM account.
|
|
6791
6834
|
*
|
|
6792
6835
|
* @param request - ListBindDmAccountRequest
|
|
6793
6836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6830,7 +6873,7 @@ export default class Client extends OpenApi {
|
|
|
6830
6873
|
}
|
|
6831
6874
|
|
|
6832
6875
|
/**
|
|
6833
|
-
*
|
|
6876
|
+
* Queries the bound DM account.
|
|
6834
6877
|
*
|
|
6835
6878
|
* @param request - ListBindDmAccountRequest
|
|
6836
6879
|
* @returns ListBindDmAccountResponse
|
|
@@ -6841,12 +6884,12 @@ export default class Client extends OpenApi {
|
|
|
6841
6884
|
}
|
|
6842
6885
|
|
|
6843
6886
|
/**
|
|
6844
|
-
* Queries the phone numbers or business account IDs
|
|
6887
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6845
6888
|
*
|
|
6846
6889
|
* @remarks
|
|
6847
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6848
|
-
* - Before
|
|
6849
|
-
* - If
|
|
6890
|
+
* - 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**.
|
|
6891
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6892
|
+
* - 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
6893
|
*
|
|
6851
6894
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6852
6895
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6893,12 +6936,12 @@ export default class Client extends OpenApi {
|
|
|
6893
6936
|
}
|
|
6894
6937
|
|
|
6895
6938
|
/**
|
|
6896
|
-
* Queries the phone numbers or business account IDs
|
|
6939
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6897
6940
|
*
|
|
6898
6941
|
* @remarks
|
|
6899
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6900
|
-
* - Before
|
|
6901
|
-
* - If
|
|
6942
|
+
* - 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**.
|
|
6943
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6944
|
+
* - 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
6945
|
*
|
|
6903
6946
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6904
6947
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6914,8 +6957,8 @@ export default class Client extends OpenApi {
|
|
|
6914
6957
|
* @remarks
|
|
6915
6958
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6916
6959
|
* - 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
|
|
6960
|
+
* - 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.
|
|
6961
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6919
6962
|
*
|
|
6920
6963
|
* @param tmpReq - ListChatFlowRequest
|
|
6921
6964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6938,6 +6981,14 @@ export default class Client extends OpenApi {
|
|
|
6938
6981
|
query["BizExtend"] = request.bizExtendShrink;
|
|
6939
6982
|
}
|
|
6940
6983
|
|
|
6984
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6985
|
+
query["FlowCode"] = request.flowCode;
|
|
6986
|
+
}
|
|
6987
|
+
|
|
6988
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6989
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6990
|
+
}
|
|
6991
|
+
|
|
6941
6992
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
6942
6993
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
6943
6994
|
}
|
|
@@ -6958,6 +7009,10 @@ export default class Client extends OpenApi {
|
|
|
6958
7009
|
query["PageSize"] = request.pageSize;
|
|
6959
7010
|
}
|
|
6960
7011
|
|
|
7012
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
7013
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
7014
|
+
}
|
|
7015
|
+
|
|
6961
7016
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6962
7017
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6963
7018
|
}
|
|
@@ -6974,6 +7029,10 @@ export default class Client extends OpenApi {
|
|
|
6974
7029
|
query["Status"] = request.status;
|
|
6975
7030
|
}
|
|
6976
7031
|
|
|
7032
|
+
if (!$dara.isNull(request.title)) {
|
|
7033
|
+
query["Title"] = request.title;
|
|
7034
|
+
}
|
|
7035
|
+
|
|
6977
7036
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6978
7037
|
query: OpenApiUtil.query(query),
|
|
6979
7038
|
});
|
|
@@ -6997,8 +7056,8 @@ export default class Client extends OpenApi {
|
|
|
6997
7056
|
* @remarks
|
|
6998
7057
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6999
7058
|
* - 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
|
|
7059
|
+
* - 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.
|
|
7060
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
7002
7061
|
*
|
|
7003
7062
|
* @param request - ListChatFlowRequest
|
|
7004
7063
|
* @returns ListChatFlowResponse
|
|
@@ -7012,8 +7071,8 @@ export default class Client extends OpenApi {
|
|
|
7012
7071
|
* Lists flow templates.
|
|
7013
7072
|
*
|
|
7014
7073
|
* @remarks
|
|
7015
|
-
* - You can call this operation to
|
|
7016
|
-
* -
|
|
7074
|
+
* - 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.
|
|
7075
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
7017
7076
|
*
|
|
7018
7077
|
* @param request - ListChatFlowTemplateRequest
|
|
7019
7078
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7075,8 +7134,8 @@ export default class Client extends OpenApi {
|
|
|
7075
7134
|
* Lists flow templates.
|
|
7076
7135
|
*
|
|
7077
7136
|
* @remarks
|
|
7078
|
-
* - You can call this operation to
|
|
7079
|
-
* -
|
|
7137
|
+
* - 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.
|
|
7138
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
7080
7139
|
*
|
|
7081
7140
|
* @param request - ListChatFlowTemplateRequest
|
|
7082
7141
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -7187,13 +7246,12 @@ export default class Client extends OpenApi {
|
|
|
7187
7246
|
}
|
|
7188
7247
|
|
|
7189
7248
|
/**
|
|
7190
|
-
*
|
|
7249
|
+
* Retrieves the member list of an IM group.
|
|
7191
7250
|
*
|
|
7192
7251
|
* @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.
|
|
7252
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7253
|
+
* - 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.
|
|
7254
|
+
* - 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
7255
|
*
|
|
7198
7256
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
7199
7257
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7258,13 +7316,12 @@ export default class Client extends OpenApi {
|
|
|
7258
7316
|
}
|
|
7259
7317
|
|
|
7260
7318
|
/**
|
|
7261
|
-
*
|
|
7319
|
+
* Retrieves the member list of an IM group.
|
|
7262
7320
|
*
|
|
7263
7321
|
* @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.
|
|
7322
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
7323
|
+
* - 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.
|
|
7324
|
+
* - 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
7325
|
*
|
|
7269
7326
|
* @param request - ListChatGroupParticipantsRequest
|
|
7270
7327
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -7279,7 +7336,7 @@ export default class Client extends OpenApi {
|
|
|
7279
7336
|
*
|
|
7280
7337
|
* @remarks
|
|
7281
7338
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7282
|
-
* - This operation
|
|
7339
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
7283
7340
|
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
7284
7341
|
*
|
|
7285
7342
|
* @param tmpReq - ListChatappMessageRequest
|
|
@@ -7385,7 +7442,7 @@ export default class Client extends OpenApi {
|
|
|
7385
7442
|
*
|
|
7386
7443
|
* @remarks
|
|
7387
7444
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
7388
|
-
* - This operation
|
|
7445
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
7389
7446
|
* - Before calling this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, bound a phone number or merchant account ID, created a template that has passed the review, and sent messages through the channel.
|
|
7390
7447
|
*
|
|
7391
7448
|
* @param request - ListChatappMessageRequest
|
|
@@ -7397,11 +7454,11 @@ export default class Client extends OpenApi {
|
|
|
7397
7454
|
}
|
|
7398
7455
|
|
|
7399
7456
|
/**
|
|
7400
|
-
*
|
|
7457
|
+
* Retrieves a list of message templates.
|
|
7401
7458
|
*
|
|
7402
7459
|
* @remarks
|
|
7403
7460
|
* ### QPS limit
|
|
7404
|
-
*
|
|
7461
|
+
* The QPS limit for this operation is 5 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
7405
7462
|
*
|
|
7406
7463
|
* @param tmpReq - ListChatappTemplateRequest
|
|
7407
7464
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7486,11 +7543,11 @@ export default class Client extends OpenApi {
|
|
|
7486
7543
|
}
|
|
7487
7544
|
|
|
7488
7545
|
/**
|
|
7489
|
-
*
|
|
7546
|
+
* Retrieves a list of message templates.
|
|
7490
7547
|
*
|
|
7491
7548
|
* @remarks
|
|
7492
7549
|
* ### QPS limit
|
|
7493
|
-
*
|
|
7550
|
+
* The QPS limit for this operation is 5 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
7494
7551
|
*
|
|
7495
7552
|
* @param request - ListChatappTemplateRequest
|
|
7496
7553
|
* @returns ListChatappTemplateResponse
|
|
@@ -7501,7 +7558,7 @@ export default class Client extends OpenApi {
|
|
|
7501
7558
|
}
|
|
7502
7559
|
|
|
7503
7560
|
/**
|
|
7504
|
-
* Queries a
|
|
7561
|
+
* Queries a custom audience list.
|
|
7505
7562
|
*
|
|
7506
7563
|
* @param tmpReq - ListCustomAudienceRequest
|
|
7507
7564
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7574,7 +7631,7 @@ export default class Client extends OpenApi {
|
|
|
7574
7631
|
}
|
|
7575
7632
|
|
|
7576
7633
|
/**
|
|
7577
|
-
* Queries a
|
|
7634
|
+
* Queries a custom audience list.
|
|
7578
7635
|
*
|
|
7579
7636
|
* @param request - ListCustomAudienceRequest
|
|
7580
7637
|
* @returns ListCustomAudienceResponse
|
|
@@ -7585,7 +7642,7 @@ export default class Client extends OpenApi {
|
|
|
7585
7642
|
}
|
|
7586
7643
|
|
|
7587
7644
|
/**
|
|
7588
|
-
* Queries the DirectMail accounts under your
|
|
7645
|
+
* Queries the DirectMail accounts under your account.
|
|
7589
7646
|
*
|
|
7590
7647
|
* @param request - ListDmAccountRequest
|
|
7591
7648
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7640,7 +7697,7 @@ export default class Client extends OpenApi {
|
|
|
7640
7697
|
}
|
|
7641
7698
|
|
|
7642
7699
|
/**
|
|
7643
|
-
* Queries the DirectMail accounts under your
|
|
7700
|
+
* Queries the DirectMail accounts under your account.
|
|
7644
7701
|
*
|
|
7645
7702
|
* @param request - ListDmAccountRequest
|
|
7646
7703
|
* @returns ListDmAccountResponse
|
|
@@ -7651,7 +7708,7 @@ export default class Client extends OpenApi {
|
|
|
7651
7708
|
}
|
|
7652
7709
|
|
|
7653
7710
|
/**
|
|
7654
|
-
*
|
|
7711
|
+
* Queries the tags of DM.
|
|
7655
7712
|
*
|
|
7656
7713
|
* @param request - ListDmTagRequest
|
|
7657
7714
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7702,7 +7759,7 @@ export default class Client extends OpenApi {
|
|
|
7702
7759
|
}
|
|
7703
7760
|
|
|
7704
7761
|
/**
|
|
7705
|
-
*
|
|
7762
|
+
* Queries the tags of DM.
|
|
7706
7763
|
*
|
|
7707
7764
|
* @param request - ListDmTagRequest
|
|
7708
7765
|
* @returns ListDmTagResponse
|
|
@@ -7767,10 +7824,10 @@ export default class Client extends OpenApi {
|
|
|
7767
7824
|
}
|
|
7768
7825
|
|
|
7769
7826
|
/**
|
|
7770
|
-
*
|
|
7827
|
+
* Queries the list of Flows.
|
|
7771
7828
|
*
|
|
7772
7829
|
* @remarks
|
|
7773
|
-
*
|
|
7830
|
+
* 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
7831
|
*
|
|
7775
7832
|
* @param tmpReq - ListFlowRequest
|
|
7776
7833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7827,10 +7884,10 @@ export default class Client extends OpenApi {
|
|
|
7827
7884
|
}
|
|
7828
7885
|
|
|
7829
7886
|
/**
|
|
7830
|
-
*
|
|
7887
|
+
* Queries the list of Flows.
|
|
7831
7888
|
*
|
|
7832
7889
|
* @remarks
|
|
7833
|
-
*
|
|
7890
|
+
* 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
7891
|
*
|
|
7835
7892
|
* @param request - ListFlowRequest
|
|
7836
7893
|
* @returns ListFlowResponse
|
|
@@ -7902,8 +7959,8 @@ export default class Client extends OpenApi {
|
|
|
7902
7959
|
* Lists flow component prototypes.
|
|
7903
7960
|
*
|
|
7904
7961
|
* @remarks
|
|
7905
|
-
* - You can call this
|
|
7906
|
-
* -
|
|
7962
|
+
* - 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.
|
|
7963
|
+
* - 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
7964
|
*
|
|
7908
7965
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7909
7966
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7965,8 +8022,8 @@ export default class Client extends OpenApi {
|
|
|
7965
8022
|
* Lists flow component prototypes.
|
|
7966
8023
|
*
|
|
7967
8024
|
* @remarks
|
|
7968
|
-
* - You can call this
|
|
7969
|
-
* -
|
|
8025
|
+
* - 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.
|
|
8026
|
+
* - 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
8027
|
*
|
|
7971
8028
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7972
8029
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7980,10 +8037,10 @@ export default class Client extends OpenApi {
|
|
|
7980
8037
|
* Lists flow versions.
|
|
7981
8038
|
*
|
|
7982
8039
|
* @remarks
|
|
7983
|
-
* - You can call this
|
|
7984
|
-
* - Before calling this
|
|
7985
|
-
* - If you
|
|
7986
|
-
* - The optional parameters
|
|
8040
|
+
* - 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.
|
|
8041
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8042
|
+
* - 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.
|
|
8043
|
+
* - 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
8044
|
*
|
|
7988
8045
|
* @param tmpReq - ListFlowVersionRequest
|
|
7989
8046
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8055,10 +8112,10 @@ export default class Client extends OpenApi {
|
|
|
8055
8112
|
* Lists flow versions.
|
|
8056
8113
|
*
|
|
8057
8114
|
* @remarks
|
|
8058
|
-
* - You can call this
|
|
8059
|
-
* - Before calling this
|
|
8060
|
-
* - If you
|
|
8061
|
-
* - The optional parameters
|
|
8115
|
+
* - 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.
|
|
8116
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
8117
|
+
* - 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.
|
|
8118
|
+
* - 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
8119
|
*
|
|
8063
8120
|
* @param request - ListFlowVersionRequest
|
|
8064
8121
|
* @returns ListFlowVersionResponse
|
|
@@ -8123,7 +8180,7 @@ export default class Client extends OpenApi {
|
|
|
8123
8180
|
}
|
|
8124
8181
|
|
|
8125
8182
|
/**
|
|
8126
|
-
*
|
|
8183
|
+
* Queries the list of Instagram posts.
|
|
8127
8184
|
*
|
|
8128
8185
|
* @param request - ListInstagramPostsRequest
|
|
8129
8186
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8166,7 +8223,7 @@ export default class Client extends OpenApi {
|
|
|
8166
8223
|
}
|
|
8167
8224
|
|
|
8168
8225
|
/**
|
|
8169
|
-
*
|
|
8226
|
+
* Queries the list of Instagram posts.
|
|
8170
8227
|
*
|
|
8171
8228
|
* @param request - ListInstagramPostsRequest
|
|
8172
8229
|
* @returns ListInstagramPostsResponse
|
|
@@ -8177,7 +8234,7 @@ export default class Client extends OpenApi {
|
|
|
8177
8234
|
}
|
|
8178
8235
|
|
|
8179
8236
|
/**
|
|
8180
|
-
*
|
|
8237
|
+
* Queries a list of instances.
|
|
8181
8238
|
*
|
|
8182
8239
|
* @param request - ListInstanceRequest
|
|
8183
8240
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8186,6 +8243,10 @@ export default class Client extends OpenApi {
|
|
|
8186
8243
|
async listInstanceWithOptions(request: $_model.ListInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListInstanceResponse> {
|
|
8187
8244
|
request.validate();
|
|
8188
8245
|
let query = { };
|
|
8246
|
+
if (!$dara.isNull(request.bindId)) {
|
|
8247
|
+
query["BindId"] = request.bindId;
|
|
8248
|
+
}
|
|
8249
|
+
|
|
8189
8250
|
if (!$dara.isNull(request.channelType)) {
|
|
8190
8251
|
query["ChannelType"] = request.channelType;
|
|
8191
8252
|
}
|
|
@@ -8202,6 +8263,10 @@ export default class Client extends OpenApi {
|
|
|
8202
8263
|
query["InstanceName"] = request.instanceName;
|
|
8203
8264
|
}
|
|
8204
8265
|
|
|
8266
|
+
if (!$dara.isNull(request.isBind)) {
|
|
8267
|
+
query["IsBind"] = request.isBind;
|
|
8268
|
+
}
|
|
8269
|
+
|
|
8205
8270
|
if (!$dara.isNull(request.pageIndex)) {
|
|
8206
8271
|
query["PageIndex"] = request.pageIndex;
|
|
8207
8272
|
}
|
|
@@ -8236,7 +8301,7 @@ export default class Client extends OpenApi {
|
|
|
8236
8301
|
}
|
|
8237
8302
|
|
|
8238
8303
|
/**
|
|
8239
|
-
*
|
|
8304
|
+
* Queries a list of instances.
|
|
8240
8305
|
*
|
|
8241
8306
|
* @param request - ListInstanceRequest
|
|
8242
8307
|
* @returns ListInstanceResponse
|
|
@@ -8247,7 +8312,7 @@ export default class Client extends OpenApi {
|
|
|
8247
8312
|
}
|
|
8248
8313
|
|
|
8249
8314
|
/**
|
|
8250
|
-
* Queries a list of
|
|
8315
|
+
* Queries a list of campaigns.
|
|
8251
8316
|
*
|
|
8252
8317
|
* @param tmpReq - ListMarketingFlowRequest
|
|
8253
8318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8328,7 +8393,7 @@ export default class Client extends OpenApi {
|
|
|
8328
8393
|
}
|
|
8329
8394
|
|
|
8330
8395
|
/**
|
|
8331
|
-
* Queries a list of
|
|
8396
|
+
* Queries a list of campaigns.
|
|
8332
8397
|
*
|
|
8333
8398
|
* @param request - ListMarketingFlowRequest
|
|
8334
8399
|
* @returns ListMarketingFlowResponse
|
|
@@ -8339,7 +8404,7 @@ export default class Client extends OpenApi {
|
|
|
8339
8404
|
}
|
|
8340
8405
|
|
|
8341
8406
|
/**
|
|
8342
|
-
*
|
|
8407
|
+
* Queries the budget list.
|
|
8343
8408
|
*
|
|
8344
8409
|
* @param tmpReq - ListMessageCampaignRequest
|
|
8345
8410
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8412,7 +8477,7 @@ export default class Client extends OpenApi {
|
|
|
8412
8477
|
}
|
|
8413
8478
|
|
|
8414
8479
|
/**
|
|
8415
|
-
*
|
|
8480
|
+
* Queries the budget list.
|
|
8416
8481
|
*
|
|
8417
8482
|
* @param request - ListMessageCampaignRequest
|
|
8418
8483
|
* @returns ListMessageCampaignResponse
|
|
@@ -8558,7 +8623,7 @@ export default class Client extends OpenApi {
|
|
|
8558
8623
|
* Queries the list of message QR codes.
|
|
8559
8624
|
*
|
|
8560
8625
|
* @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
|
|
8626
|
+
* 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
8627
|
*
|
|
8563
8628
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8564
8629
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8608,7 +8673,7 @@ export default class Client extends OpenApi {
|
|
|
8608
8673
|
* Queries the list of message QR codes.
|
|
8609
8674
|
*
|
|
8610
8675
|
* @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
|
|
8676
|
+
* 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
8677
|
*
|
|
8613
8678
|
* @param request - ListPhoneMessageQrdlRequest
|
|
8614
8679
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -8703,10 +8768,10 @@ export default class Client extends OpenApi {
|
|
|
8703
8768
|
}
|
|
8704
8769
|
|
|
8705
8770
|
/**
|
|
8706
|
-
* Queries the
|
|
8771
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
8707
8772
|
*
|
|
8708
8773
|
* @remarks
|
|
8709
|
-
* The
|
|
8774
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
8710
8775
|
*
|
|
8711
8776
|
* @param request - ListProductCatalogRequest
|
|
8712
8777
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8769,10 +8834,10 @@ export default class Client extends OpenApi {
|
|
|
8769
8834
|
}
|
|
8770
8835
|
|
|
8771
8836
|
/**
|
|
8772
|
-
* Queries the
|
|
8837
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
8773
8838
|
*
|
|
8774
8839
|
* @remarks
|
|
8775
|
-
* The
|
|
8840
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable frequency.
|
|
8776
8841
|
*
|
|
8777
8842
|
* @param request - ListProductCatalogRequest
|
|
8778
8843
|
* @returns ListProductCatalogResponse
|
|
@@ -8783,7 +8848,7 @@ export default class Client extends OpenApi {
|
|
|
8783
8848
|
}
|
|
8784
8849
|
|
|
8785
8850
|
/**
|
|
8786
|
-
*
|
|
8851
|
+
* Displays the Viber service number card for an application form.
|
|
8787
8852
|
*
|
|
8788
8853
|
* @param request - ListViberServiceMessageRequest
|
|
8789
8854
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8826,7 +8891,7 @@ export default class Client extends OpenApi {
|
|
|
8826
8891
|
}
|
|
8827
8892
|
|
|
8828
8893
|
/**
|
|
8829
|
-
*
|
|
8894
|
+
* Displays the Viber service number card for an application form.
|
|
8830
8895
|
*
|
|
8831
8896
|
* @param request - ListViberServiceMessageRequest
|
|
8832
8897
|
* @returns ListViberServiceMessageResponse
|
|
@@ -8837,7 +8902,7 @@ export default class Client extends OpenApi {
|
|
|
8837
8902
|
}
|
|
8838
8903
|
|
|
8839
8904
|
/**
|
|
8840
|
-
*
|
|
8905
|
+
* Queries a list of templates.
|
|
8841
8906
|
*
|
|
8842
8907
|
* @param request - ListWhatAppTemplateRequest
|
|
8843
8908
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8872,7 +8937,7 @@ export default class Client extends OpenApi {
|
|
|
8872
8937
|
}
|
|
8873
8938
|
|
|
8874
8939
|
/**
|
|
8875
|
-
*
|
|
8940
|
+
* Queries a list of templates.
|
|
8876
8941
|
*
|
|
8877
8942
|
* @param request - ListWhatAppTemplateRequest
|
|
8878
8943
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -8883,13 +8948,13 @@ export default class Client extends OpenApi {
|
|
|
8883
8948
|
}
|
|
8884
8949
|
|
|
8885
8950
|
/**
|
|
8886
|
-
* Modifies a message template. Only templates that
|
|
8951
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
8887
8952
|
*
|
|
8888
8953
|
* @remarks
|
|
8889
8954
|
* ### QPS limit
|
|
8890
|
-
* The
|
|
8955
|
+
* The queries per second (QPS) limit per user for this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
8891
8956
|
* ### Status changes
|
|
8892
|
-
*
|
|
8957
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8893
8958
|
*
|
|
8894
8959
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8895
8960
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8907,57 +8972,61 @@ export default class Client extends OpenApi {
|
|
|
8907
8972
|
request.exampleShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
8908
8973
|
}
|
|
8909
8974
|
|
|
8910
|
-
let
|
|
8975
|
+
let query = { };
|
|
8911
8976
|
if (!$dara.isNull(request.category)) {
|
|
8912
|
-
|
|
8977
|
+
query["Category"] = request.category;
|
|
8913
8978
|
}
|
|
8914
8979
|
|
|
8915
8980
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
8916
|
-
|
|
8981
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
8917
8982
|
}
|
|
8918
8983
|
|
|
8919
8984
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
8920
|
-
|
|
8985
|
+
query["Components"] = request.componentsShrink;
|
|
8921
8986
|
}
|
|
8922
8987
|
|
|
8923
8988
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
8924
|
-
|
|
8989
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
8925
8990
|
}
|
|
8926
8991
|
|
|
8927
8992
|
if (!$dara.isNull(request.custWabaId)) {
|
|
8928
|
-
|
|
8993
|
+
query["CustWabaId"] = request.custWabaId;
|
|
8929
8994
|
}
|
|
8930
8995
|
|
|
8931
8996
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
8932
|
-
|
|
8997
|
+
query["Example"] = request.exampleShrink;
|
|
8933
8998
|
}
|
|
8934
8999
|
|
|
8935
9000
|
if (!$dara.isNull(request.isvCode)) {
|
|
8936
|
-
|
|
9001
|
+
query["IsvCode"] = request.isvCode;
|
|
8937
9002
|
}
|
|
8938
9003
|
|
|
8939
9004
|
if (!$dara.isNull(request.language)) {
|
|
8940
|
-
|
|
9005
|
+
query["Language"] = request.language;
|
|
8941
9006
|
}
|
|
8942
9007
|
|
|
8943
9008
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
8944
|
-
|
|
9009
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
9010
|
+
}
|
|
9011
|
+
|
|
9012
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
9013
|
+
query["ProductSetId"] = request.productSetId;
|
|
8945
9014
|
}
|
|
8946
9015
|
|
|
8947
9016
|
if (!$dara.isNull(request.templateCode)) {
|
|
8948
|
-
|
|
9017
|
+
query["TemplateCode"] = request.templateCode;
|
|
8949
9018
|
}
|
|
8950
9019
|
|
|
8951
9020
|
if (!$dara.isNull(request.templateName)) {
|
|
8952
|
-
|
|
9021
|
+
query["TemplateName"] = request.templateName;
|
|
8953
9022
|
}
|
|
8954
9023
|
|
|
8955
9024
|
if (!$dara.isNull(request.templateType)) {
|
|
8956
|
-
|
|
9025
|
+
query["TemplateType"] = request.templateType;
|
|
8957
9026
|
}
|
|
8958
9027
|
|
|
8959
9028
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
8960
|
-
|
|
9029
|
+
query: OpenApiUtil.query(query),
|
|
8961
9030
|
});
|
|
8962
9031
|
let params = new $OpenApiUtil.Params({
|
|
8963
9032
|
action: "ModifyChatappTemplate",
|
|
@@ -8974,13 +9043,13 @@ export default class Client extends OpenApi {
|
|
|
8974
9043
|
}
|
|
8975
9044
|
|
|
8976
9045
|
/**
|
|
8977
|
-
* Modifies a message template. Only templates that
|
|
9046
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
8978
9047
|
*
|
|
8979
9048
|
* @remarks
|
|
8980
9049
|
* ### QPS limit
|
|
8981
|
-
* The
|
|
9050
|
+
* The queries per second (QPS) limit per user for this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
8982
9051
|
* ### Status changes
|
|
8983
|
-
*
|
|
9052
|
+
* You can listen for template status and quality changes by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
8984
9053
|
*
|
|
8985
9054
|
* @param request - ModifyChatappTemplateRequest
|
|
8986
9055
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -9245,7 +9314,7 @@ export default class Client extends OpenApi {
|
|
|
9245
9314
|
}
|
|
9246
9315
|
|
|
9247
9316
|
/**
|
|
9248
|
-
*
|
|
9317
|
+
* Modifies the group associations of contacts.
|
|
9249
9318
|
*
|
|
9250
9319
|
* @param tmpReq - MoveContactToGroupRequest
|
|
9251
9320
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9310,7 +9379,7 @@ export default class Client extends OpenApi {
|
|
|
9310
9379
|
}
|
|
9311
9380
|
|
|
9312
9381
|
/**
|
|
9313
|
-
*
|
|
9382
|
+
* Modifies the group associations of contacts.
|
|
9314
9383
|
*
|
|
9315
9384
|
* @param request - MoveContactToGroupRequest
|
|
9316
9385
|
* @returns MoveContactToGroupResponse
|
|
@@ -9321,13 +9390,13 @@ export default class Client extends OpenApi {
|
|
|
9321
9390
|
}
|
|
9322
9391
|
|
|
9323
9392
|
/**
|
|
9324
|
-
*
|
|
9393
|
+
* Takes a flow version offline.
|
|
9325
9394
|
*
|
|
9326
9395
|
* @remarks
|
|
9327
|
-
* - You can call this operation to
|
|
9328
|
-
* - Before calling this operation, make sure that the flow is
|
|
9329
|
-
* - If
|
|
9330
|
-
* - After a flow version is
|
|
9396
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9397
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
9398
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
9399
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9331
9400
|
*
|
|
9332
9401
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
9333
9402
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9392,13 +9461,13 @@ export default class Client extends OpenApi {
|
|
|
9392
9461
|
}
|
|
9393
9462
|
|
|
9394
9463
|
/**
|
|
9395
|
-
*
|
|
9464
|
+
* Takes a flow version offline.
|
|
9396
9465
|
*
|
|
9397
9466
|
* @remarks
|
|
9398
|
-
* - You can call this operation to
|
|
9399
|
-
* - Before calling this operation, make sure that the flow is
|
|
9400
|
-
* - If
|
|
9401
|
-
* - After a flow version is
|
|
9467
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9468
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
9469
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
9470
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9402
9471
|
*
|
|
9403
9472
|
* @param request - OfflineFlowVersionRequest
|
|
9404
9473
|
* @returns OfflineFlowVersionResponse
|
|
@@ -9412,10 +9481,10 @@ export default class Client extends OpenApi {
|
|
|
9412
9481
|
* Publishes a flow version.
|
|
9413
9482
|
*
|
|
9414
9483
|
* @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,
|
|
9484
|
+
* - 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.
|
|
9485
|
+
* - 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.
|
|
9486
|
+
* - 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.
|
|
9487
|
+
* - 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
9488
|
*
|
|
9420
9489
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
9421
9490
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9483,10 +9552,10 @@ export default class Client extends OpenApi {
|
|
|
9483
9552
|
* Publishes a flow version.
|
|
9484
9553
|
*
|
|
9485
9554
|
* @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,
|
|
9555
|
+
* - 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.
|
|
9556
|
+
* - 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.
|
|
9557
|
+
* - 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.
|
|
9558
|
+
* - 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
9559
|
*
|
|
9491
9560
|
* @param request - OnlineFlowVersionRequest
|
|
9492
9561
|
* @returns OnlineFlowVersionResponse
|
|
@@ -9497,7 +9566,7 @@ export default class Client extends OpenApi {
|
|
|
9497
9566
|
}
|
|
9498
9567
|
|
|
9499
9568
|
/**
|
|
9500
|
-
*
|
|
9569
|
+
* Activates the Chat App Message Service.
|
|
9501
9570
|
*
|
|
9502
9571
|
* @param request - OpenChatappServiceRequest
|
|
9503
9572
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9536,7 +9605,7 @@ export default class Client extends OpenApi {
|
|
|
9536
9605
|
}
|
|
9537
9606
|
|
|
9538
9607
|
/**
|
|
9539
|
-
*
|
|
9608
|
+
* Activates the Chat App Message Service.
|
|
9540
9609
|
*
|
|
9541
9610
|
* @param request - OpenChatappServiceRequest
|
|
9542
9611
|
* @returns OpenChatappServiceResponse
|
|
@@ -9547,7 +9616,7 @@ export default class Client extends OpenApi {
|
|
|
9547
9616
|
}
|
|
9548
9617
|
|
|
9549
9618
|
/**
|
|
9550
|
-
*
|
|
9619
|
+
* Pauses a service.
|
|
9551
9620
|
*
|
|
9552
9621
|
* @param request - PauseMarketingFLowRequest
|
|
9553
9622
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9594,7 +9663,7 @@ export default class Client extends OpenApi {
|
|
|
9594
9663
|
}
|
|
9595
9664
|
|
|
9596
9665
|
/**
|
|
9597
|
-
*
|
|
9666
|
+
* Pauses a service.
|
|
9598
9667
|
*
|
|
9599
9668
|
* @param request - PauseMarketingFLowRequest
|
|
9600
9669
|
* @returns PauseMarketingFLowResponse
|
|
@@ -9675,10 +9744,10 @@ export default class Client extends OpenApi {
|
|
|
9675
9744
|
}
|
|
9676
9745
|
|
|
9677
9746
|
/**
|
|
9678
|
-
* Queries the
|
|
9747
|
+
* Queries the WABA bound to a customer.
|
|
9679
9748
|
*
|
|
9680
9749
|
* @remarks
|
|
9681
|
-
*
|
|
9750
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.
|
|
9682
9751
|
*
|
|
9683
9752
|
* @param request - QueryChatappBindWabaRequest
|
|
9684
9753
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9725,10 +9794,10 @@ export default class Client extends OpenApi {
|
|
|
9725
9794
|
}
|
|
9726
9795
|
|
|
9727
9796
|
/**
|
|
9728
|
-
* Queries the
|
|
9797
|
+
* Queries the WABA bound to a customer.
|
|
9729
9798
|
*
|
|
9730
9799
|
* @remarks
|
|
9731
|
-
*
|
|
9800
|
+
* The single-user QPS limit for this operation is 10 calls per second. If the limit is exceeded, API calls are throttled. This may affect your business. Call this operation at a reasonable rate.
|
|
9732
9801
|
*
|
|
9733
9802
|
* @param request - QueryChatappBindWabaRequest
|
|
9734
9803
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -9739,10 +9808,10 @@ export default class Client extends OpenApi {
|
|
|
9739
9808
|
}
|
|
9740
9809
|
|
|
9741
9810
|
/**
|
|
9742
|
-
* Queries all phone numbers
|
|
9811
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
9743
9812
|
*
|
|
9744
9813
|
* @remarks
|
|
9745
|
-
*
|
|
9814
|
+
* The throttling limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
9746
9815
|
*
|
|
9747
9816
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9748
9817
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9793,10 +9862,10 @@ export default class Client extends OpenApi {
|
|
|
9793
9862
|
}
|
|
9794
9863
|
|
|
9795
9864
|
/**
|
|
9796
|
-
* Queries all phone numbers
|
|
9865
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
9797
9866
|
*
|
|
9798
9867
|
* @remarks
|
|
9799
|
-
*
|
|
9868
|
+
* The throttling limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
9800
9869
|
*
|
|
9801
9870
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9802
9871
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -9849,7 +9918,7 @@ export default class Client extends OpenApi {
|
|
|
9849
9918
|
}
|
|
9850
9919
|
|
|
9851
9920
|
/**
|
|
9852
|
-
*
|
|
9921
|
+
* Queries whether a marketing message is effective.
|
|
9853
9922
|
*
|
|
9854
9923
|
* @param request - QueryMMLActiveRequest
|
|
9855
9924
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9892,7 +9961,7 @@ export default class Client extends OpenApi {
|
|
|
9892
9961
|
}
|
|
9893
9962
|
|
|
9894
9963
|
/**
|
|
9895
|
-
*
|
|
9964
|
+
* Queries whether a marketing message is effective.
|
|
9896
9965
|
*
|
|
9897
9966
|
* @param request - QueryMMLActiveRequest
|
|
9898
9967
|
* @returns QueryMMLActiveResponse
|
|
@@ -9906,7 +9975,7 @@ export default class Client extends OpenApi {
|
|
|
9906
9975
|
* Queries the business information of a phone number.
|
|
9907
9976
|
*
|
|
9908
9977
|
* @remarks
|
|
9909
|
-
* The queries per second (QPS) limit
|
|
9978
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
9910
9979
|
*
|
|
9911
9980
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9912
9981
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9956,7 +10025,7 @@ export default class Client extends OpenApi {
|
|
|
9956
10025
|
* Queries the business information of a phone number.
|
|
9957
10026
|
*
|
|
9958
10027
|
* @remarks
|
|
9959
|
-
* The queries per second (QPS) limit
|
|
10028
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
9960
10029
|
*
|
|
9961
10030
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9962
10031
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -10034,9 +10103,9 @@ export default class Client extends OpenApi {
|
|
|
10034
10103
|
* Retrieves the details of a flow.
|
|
10035
10104
|
*
|
|
10036
10105
|
* @remarks
|
|
10037
|
-
* - You can call this
|
|
10038
|
-
* - Before
|
|
10039
|
-
* - If you
|
|
10106
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10107
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10108
|
+
* - 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
10109
|
*
|
|
10041
10110
|
* @param tmpReq - ReadChatFlowRequest
|
|
10042
10111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10096,9 +10165,9 @@ export default class Client extends OpenApi {
|
|
|
10096
10165
|
* Retrieves the details of a flow.
|
|
10097
10166
|
*
|
|
10098
10167
|
* @remarks
|
|
10099
|
-
* - You can call this
|
|
10100
|
-
* - Before
|
|
10101
|
-
* - If you
|
|
10168
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10169
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
10170
|
+
* - 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
10171
|
*
|
|
10103
10172
|
* @param request - ReadChatFlowRequest
|
|
10104
10173
|
* @returns ReadChatFlowResponse
|
|
@@ -10109,12 +10178,12 @@ export default class Client extends OpenApi {
|
|
|
10109
10178
|
}
|
|
10110
10179
|
|
|
10111
10180
|
/**
|
|
10112
|
-
*
|
|
10181
|
+
* Queries the flow log settings.
|
|
10113
10182
|
*
|
|
10114
10183
|
* @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.
|
|
10184
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10185
|
+
* - 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.
|
|
10186
|
+
* - 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
10187
|
*
|
|
10119
10188
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10120
10189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10157,12 +10226,12 @@ export default class Client extends OpenApi {
|
|
|
10157
10226
|
}
|
|
10158
10227
|
|
|
10159
10228
|
/**
|
|
10160
|
-
*
|
|
10229
|
+
* Queries the flow log settings.
|
|
10161
10230
|
*
|
|
10162
10231
|
* @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.
|
|
10232
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
10233
|
+
* - 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.
|
|
10234
|
+
* - 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
10235
|
*
|
|
10167
10236
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10168
10237
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -10201,6 +10270,10 @@ export default class Client extends OpenApi {
|
|
|
10201
10270
|
query["BizExtend"] = request.bizExtendShrink;
|
|
10202
10271
|
}
|
|
10203
10272
|
|
|
10273
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
10274
|
+
query["DraftVersion"] = request.draftVersion;
|
|
10275
|
+
}
|
|
10276
|
+
|
|
10204
10277
|
if (!$dara.isNull(request.flowCode)) {
|
|
10205
10278
|
query["FlowCode"] = request.flowCode;
|
|
10206
10279
|
}
|
|
@@ -10259,7 +10332,7 @@ export default class Client extends OpenApi {
|
|
|
10259
10332
|
}
|
|
10260
10333
|
|
|
10261
10334
|
/**
|
|
10262
|
-
*
|
|
10335
|
+
* Removes a single contact from the current group.
|
|
10263
10336
|
*
|
|
10264
10337
|
* @param request - RemoveContactByIdRequest
|
|
10265
10338
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10306,7 +10379,7 @@ export default class Client extends OpenApi {
|
|
|
10306
10379
|
}
|
|
10307
10380
|
|
|
10308
10381
|
/**
|
|
10309
|
-
*
|
|
10382
|
+
* Removes a single contact from the current group.
|
|
10310
10383
|
*
|
|
10311
10384
|
* @param request - RemoveContactByIdRequest
|
|
10312
10385
|
* @returns RemoveContactByIdResponse
|
|
@@ -10394,17 +10467,17 @@ export default class Client extends OpenApi {
|
|
|
10394
10467
|
* Sends Chat App messages in batches.
|
|
10395
10468
|
*
|
|
10396
10469
|
* @remarks
|
|
10397
|
-
* - You can call this operation to send messages in batches
|
|
10470
|
+
* - You can call this operation to send messages in batches, or manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending** page.
|
|
10398
10471
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10399
|
-
* - For WhatsApp
|
|
10400
|
-
* - For Messenger
|
|
10401
|
-
* - For Instagram
|
|
10402
|
-
* <props="intl">- For Viber
|
|
10403
|
-
* ### QPS
|
|
10404
|
-
* - The
|
|
10405
|
-
* - A maximum of 1,000 phone numbers
|
|
10472
|
+
* - For the WhatsApp channel type, complete [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10473
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10474
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10475
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
10476
|
+
* ### QPS limits
|
|
10477
|
+
* - The QPS limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
10478
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
10406
10479
|
* ### Status changes
|
|
10407
|
-
* You can monitor message
|
|
10480
|
+
* You can monitor message delivery status changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10408
10481
|
*
|
|
10409
10482
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
10410
10483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10520,17 +10593,17 @@ export default class Client extends OpenApi {
|
|
|
10520
10593
|
* Sends Chat App messages in batches.
|
|
10521
10594
|
*
|
|
10522
10595
|
* @remarks
|
|
10523
|
-
* - You can call this operation to send messages in batches
|
|
10596
|
+
* - You can call this operation to send messages in batches, or manually send messages in batches on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Manage** > **Message Sending** page.
|
|
10524
10597
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
10525
|
-
* - For WhatsApp
|
|
10526
|
-
* - For Messenger
|
|
10527
|
-
* - For Instagram
|
|
10528
|
-
* <props="intl">- For Viber
|
|
10529
|
-
* ### QPS
|
|
10530
|
-
* - The
|
|
10531
|
-
* - A maximum of 1,000 phone numbers
|
|
10598
|
+
* - For the WhatsApp channel type, complete [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [add a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
10599
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10600
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10601
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
10602
|
+
* ### QPS limits
|
|
10603
|
+
* - The QPS limit for this operation is 10 calls per second per user. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable rate.
|
|
10604
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
10532
10605
|
* ### Status changes
|
|
10533
|
-
* You can monitor message
|
|
10606
|
+
* You can monitor message delivery status changes through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
10534
10607
|
*
|
|
10535
10608
|
* @param request - SendChatappMassMessageRequest
|
|
10536
10609
|
* @returns SendChatappMassMessageResponse
|
|
@@ -10546,12 +10619,12 @@ export default class Client extends OpenApi {
|
|
|
10546
10619
|
* @remarks
|
|
10547
10620
|
* - 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
10621
|
* - 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
|
|
10622
|
+
* - 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).
|
|
10623
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10624
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10625
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10553
10626
|
* ### QPS limit
|
|
10554
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
10627
|
+
* 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
10628
|
* ### Status changes
|
|
10556
10629
|
* 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
10630
|
*
|
|
@@ -10739,12 +10812,12 @@ export default class Client extends OpenApi {
|
|
|
10739
10812
|
* @remarks
|
|
10740
10813
|
* - 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
10814
|
* - 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
|
|
10815
|
+
* - 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).
|
|
10816
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
10817
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
10818
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
10746
10819
|
* ### QPS limit
|
|
10747
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
10820
|
+
* 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
10821
|
* ### Status changes
|
|
10749
10822
|
* 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
10823
|
*
|
|
@@ -10757,7 +10830,7 @@ export default class Client extends OpenApi {
|
|
|
10757
10830
|
}
|
|
10758
10831
|
|
|
10759
10832
|
/**
|
|
10760
|
-
* Submits the
|
|
10833
|
+
* Submits the verification code validation result.
|
|
10761
10834
|
*
|
|
10762
10835
|
* @param request - SubmitVerifyCodeResultRequest
|
|
10763
10836
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10796,7 +10869,7 @@ export default class Client extends OpenApi {
|
|
|
10796
10869
|
}
|
|
10797
10870
|
|
|
10798
10871
|
/**
|
|
10799
|
-
* Submits the
|
|
10872
|
+
* Submits the verification code validation result.
|
|
10800
10873
|
*
|
|
10801
10874
|
* @param request - SubmitVerifyCodeResultRequest
|
|
10802
10875
|
* @returns SubmitVerifyCodeResultResponse
|
|
@@ -10873,7 +10946,7 @@ export default class Client extends OpenApi {
|
|
|
10873
10946
|
}
|
|
10874
10947
|
|
|
10875
10948
|
/**
|
|
10876
|
-
*
|
|
10949
|
+
* Syncs a WhatsApp flow.
|
|
10877
10950
|
*
|
|
10878
10951
|
* @param request - SyncFlowRequest
|
|
10879
10952
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10916,7 +10989,7 @@ export default class Client extends OpenApi {
|
|
|
10916
10989
|
}
|
|
10917
10990
|
|
|
10918
10991
|
/**
|
|
10919
|
-
*
|
|
10992
|
+
* Syncs a WhatsApp flow.
|
|
10920
10993
|
*
|
|
10921
10994
|
* @param request - SyncFlowRequest
|
|
10922
10995
|
* @returns SyncFlowResponse
|
|
@@ -11143,7 +11216,7 @@ export default class Client extends OpenApi {
|
|
|
11143
11216
|
}
|
|
11144
11217
|
|
|
11145
11218
|
/**
|
|
11146
|
-
*
|
|
11219
|
+
* Unbinds an email account.
|
|
11147
11220
|
*
|
|
11148
11221
|
* @param request - UnbindDmAccountRequest
|
|
11149
11222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11186,7 +11259,7 @@ export default class Client extends OpenApi {
|
|
|
11186
11259
|
}
|
|
11187
11260
|
|
|
11188
11261
|
/**
|
|
11189
|
-
*
|
|
11262
|
+
* Unbinds an email account.
|
|
11190
11263
|
*
|
|
11191
11264
|
* @param request - UnbindDmAccountRequest
|
|
11192
11265
|
* @returns UnbindDmAccountResponse
|
|
@@ -11269,7 +11342,7 @@ export default class Client extends OpenApi {
|
|
|
11269
11342
|
}
|
|
11270
11343
|
|
|
11271
11344
|
/**
|
|
11272
|
-
*
|
|
11345
|
+
* Updates a Viber application form.
|
|
11273
11346
|
*
|
|
11274
11347
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
11275
11348
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11330,7 +11403,7 @@ export default class Client extends OpenApi {
|
|
|
11330
11403
|
}
|
|
11331
11404
|
|
|
11332
11405
|
/**
|
|
11333
|
-
*
|
|
11406
|
+
* Updates a Viber application form.
|
|
11334
11407
|
*
|
|
11335
11408
|
* @param request - UpdateAuditRequestRequest
|
|
11336
11409
|
* @returns UpdateAuditRequestResponse
|
|
@@ -11344,9 +11417,9 @@ export default class Client extends OpenApi {
|
|
|
11344
11417
|
* Updates the basic information of a flow based on the flow code.
|
|
11345
11418
|
*
|
|
11346
11419
|
* @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
|
|
11420
|
+
* - 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**.
|
|
11421
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11422
|
+
* - 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
11423
|
*
|
|
11351
11424
|
* @param tmpReq - UpdateChatFlowRequest
|
|
11352
11425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11414,9 +11487,9 @@ export default class Client extends OpenApi {
|
|
|
11414
11487
|
* Updates the basic information of a flow based on the flow code.
|
|
11415
11488
|
*
|
|
11416
11489
|
* @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
|
|
11490
|
+
* - 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**.
|
|
11491
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
11492
|
+
* - 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
11493
|
*
|
|
11421
11494
|
* @param request - UpdateChatFlowRequest
|
|
11422
11495
|
* @returns UpdateChatFlowResponse
|
|
@@ -11663,7 +11736,7 @@ export default class Client extends OpenApi {
|
|
|
11663
11736
|
}
|
|
11664
11737
|
|
|
11665
11738
|
/**
|
|
11666
|
-
*
|
|
11739
|
+
* Modifies a contact.
|
|
11667
11740
|
*
|
|
11668
11741
|
* @param tmpReq - UpdateContactByIdRequest
|
|
11669
11742
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11740,7 +11813,7 @@ export default class Client extends OpenApi {
|
|
|
11740
11813
|
}
|
|
11741
11814
|
|
|
11742
11815
|
/**
|
|
11743
|
-
*
|
|
11816
|
+
* Modifies a contact.
|
|
11744
11817
|
*
|
|
11745
11818
|
* @param request - UpdateContactByIdRequest
|
|
11746
11819
|
* @returns UpdateContactByIdResponse
|
|
@@ -11844,7 +11917,7 @@ export default class Client extends OpenApi {
|
|
|
11844
11917
|
* Updates the content of a flow by using JSON.
|
|
11845
11918
|
*
|
|
11846
11919
|
* @remarks
|
|
11847
|
-
* The
|
|
11920
|
+
* The queries per second (QPS) limit per user is 5. If the number of API calls exceeds this limit, throttling is triggered, which may affect your business. Make API calls at a reasonable rate.
|
|
11848
11921
|
*
|
|
11849
11922
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11850
11923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11898,7 +11971,7 @@ export default class Client extends OpenApi {
|
|
|
11898
11971
|
* Updates the content of a flow by using JSON.
|
|
11899
11972
|
*
|
|
11900
11973
|
* @remarks
|
|
11901
|
-
* The
|
|
11974
|
+
* The queries per second (QPS) limit per user is 5. If the number of API calls exceeds this limit, throttling is triggered, which may affect your business. Make API calls at a reasonable rate.
|
|
11902
11975
|
*
|
|
11903
11976
|
* @param request - UpdateFlowJSONAssetRequest
|
|
11904
11977
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -11909,12 +11982,12 @@ export default class Client extends OpenApi {
|
|
|
11909
11982
|
}
|
|
11910
11983
|
|
|
11911
11984
|
/**
|
|
11912
|
-
* Updates the
|
|
11985
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
11913
11986
|
*
|
|
11914
11987
|
* @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
|
|
11988
|
+
* - 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.
|
|
11989
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
11990
|
+
* - 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
11991
|
*
|
|
11919
11992
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11920
11993
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11965,6 +12038,10 @@ export default class Client extends OpenApi {
|
|
|
11965
12038
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
11966
12039
|
}
|
|
11967
12040
|
|
|
12041
|
+
if (!$dara.isNull(request.type)) {
|
|
12042
|
+
query["Type"] = request.type;
|
|
12043
|
+
}
|
|
12044
|
+
|
|
11968
12045
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11969
12046
|
query: OpenApiUtil.query(query),
|
|
11970
12047
|
});
|
|
@@ -11983,12 +12060,12 @@ export default class Client extends OpenApi {
|
|
|
11983
12060
|
}
|
|
11984
12061
|
|
|
11985
12062
|
/**
|
|
11986
|
-
* Updates the
|
|
12063
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
11987
12064
|
*
|
|
11988
12065
|
* @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
|
|
12066
|
+
* - 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.
|
|
12067
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
12068
|
+
* - 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
12069
|
*
|
|
11993
12070
|
* @param request - UpdateFlowVersionRequest
|
|
11994
12071
|
* @returns UpdateFlowVersionResponse
|
|
@@ -11999,7 +12076,7 @@ export default class Client extends OpenApi {
|
|
|
11999
12076
|
}
|
|
12000
12077
|
|
|
12001
12078
|
/**
|
|
12002
|
-
*
|
|
12079
|
+
* Renames a group.
|
|
12003
12080
|
*
|
|
12004
12081
|
* @param request - UpdateGroupNameRequest
|
|
12005
12082
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12046,7 +12123,7 @@ export default class Client extends OpenApi {
|
|
|
12046
12123
|
}
|
|
12047
12124
|
|
|
12048
12125
|
/**
|
|
12049
|
-
*
|
|
12126
|
+
* Renames a group.
|
|
12050
12127
|
*
|
|
12051
12128
|
* @param request - UpdateGroupNameRequest
|
|
12052
12129
|
* @returns UpdateGroupNameResponse
|
|
@@ -12131,7 +12208,7 @@ export default class Client extends OpenApi {
|
|
|
12131
12208
|
}
|
|
12132
12209
|
|
|
12133
12210
|
/**
|
|
12134
|
-
* Modifies
|
|
12211
|
+
* Modifies the information of a marketing campaign.
|
|
12135
12212
|
*
|
|
12136
12213
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
12137
12214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12228,7 +12305,7 @@ export default class Client extends OpenApi {
|
|
|
12228
12305
|
}
|
|
12229
12306
|
|
|
12230
12307
|
/**
|
|
12231
|
-
* Modifies
|
|
12308
|
+
* Modifies the information of a marketing campaign.
|
|
12232
12309
|
*
|
|
12233
12310
|
* @param request - UpdateMarketingFLowRequest
|
|
12234
12311
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -12397,10 +12474,10 @@ export default class Client extends OpenApi {
|
|
|
12397
12474
|
}
|
|
12398
12475
|
|
|
12399
12476
|
/**
|
|
12400
|
-
*
|
|
12477
|
+
* Updates the callback URL information for a phone number.
|
|
12401
12478
|
*
|
|
12402
12479
|
* @remarks
|
|
12403
|
-
* The per
|
|
12480
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
12404
12481
|
*
|
|
12405
12482
|
* @param request - UpdatePhoneWebhookRequest
|
|
12406
12483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12463,10 +12540,10 @@ export default class Client extends OpenApi {
|
|
|
12463
12540
|
}
|
|
12464
12541
|
|
|
12465
12542
|
/**
|
|
12466
|
-
*
|
|
12543
|
+
* Updates the callback URL information for a phone number.
|
|
12467
12544
|
*
|
|
12468
12545
|
* @remarks
|
|
12469
|
-
* The per
|
|
12546
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
12470
12547
|
*
|
|
12471
12548
|
* @param request - UpdatePhoneWebhookRequest
|
|
12472
12549
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -12593,7 +12670,7 @@ export default class Client extends OpenApi {
|
|
|
12593
12670
|
}
|
|
12594
12671
|
|
|
12595
12672
|
/**
|
|
12596
|
-
*
|
|
12673
|
+
* 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
12674
|
*
|
|
12598
12675
|
* @param tmpReq - WhatsappCallRequest
|
|
12599
12676
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12662,7 +12739,7 @@ export default class Client extends OpenApi {
|
|
|
12662
12739
|
}
|
|
12663
12740
|
|
|
12664
12741
|
/**
|
|
12665
|
-
*
|
|
12742
|
+
* 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
12743
|
*
|
|
12667
12744
|
* @param request - WhatsappCallRequest
|
|
12668
12745
|
* @returns WhatsappCallResponse
|