@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/dist/client.js
CHANGED
|
@@ -49,9 +49,6 @@ class Client extends openapi_core_1.default {
|
|
|
49
49
|
constructor(config) {
|
|
50
50
|
super(config);
|
|
51
51
|
this._endpointRule = "regional";
|
|
52
|
-
this._endpointMap = {
|
|
53
|
-
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
54
|
-
};
|
|
55
52
|
this.checkConfig(config);
|
|
56
53
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
57
54
|
}
|
|
@@ -124,7 +121,7 @@ class Client extends openapi_core_1.default {
|
|
|
124
121
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
125
122
|
}
|
|
126
123
|
/**
|
|
127
|
-
*
|
|
124
|
+
* Registers a Viber account and creates an account.
|
|
128
125
|
*
|
|
129
126
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
130
127
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -173,7 +170,7 @@ class Client extends openapi_core_1.default {
|
|
|
173
170
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
174
171
|
}
|
|
175
172
|
/**
|
|
176
|
-
*
|
|
173
|
+
* Registers a Viber account and creates an account.
|
|
177
174
|
*
|
|
178
175
|
* @param request - AddAuditViberOpenRequest
|
|
179
176
|
* @returns AddAuditViberOpenResponse
|
|
@@ -186,11 +183,10 @@ class Client extends openapi_core_1.default {
|
|
|
186
183
|
* Creates an IM group.
|
|
187
184
|
*
|
|
188
185
|
* @remarks
|
|
189
|
-
* >Notice:
|
|
190
|
-
*
|
|
191
|
-
* -
|
|
192
|
-
* -
|
|
193
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
186
|
+
* >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>
|
|
187
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
188
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
189
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
194
190
|
*
|
|
195
191
|
* @param request - AddChatGroupRequest
|
|
196
192
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -246,11 +242,10 @@ class Client extends openapi_core_1.default {
|
|
|
246
242
|
* Creates an IM group.
|
|
247
243
|
*
|
|
248
244
|
* @remarks
|
|
249
|
-
* >Notice:
|
|
250
|
-
*
|
|
251
|
-
* -
|
|
252
|
-
* -
|
|
253
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
245
|
+
* >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>
|
|
246
|
+
* - You can call this operation to create an IM group. Currently, you can only create IM groups by calling API operations.
|
|
247
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to the IM group.
|
|
248
|
+
* - For groups whose channel type is WhatsApp, the maximum number of members is 8.
|
|
254
249
|
*
|
|
255
250
|
* @param request - AddChatGroupRequest
|
|
256
251
|
* @returns AddChatGroupResponse
|
|
@@ -260,15 +255,15 @@ class Client extends openapi_core_1.default {
|
|
|
260
255
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
261
256
|
}
|
|
262
257
|
/**
|
|
263
|
-
* Adds an invite link
|
|
258
|
+
* Adds an IM group invite link.
|
|
264
259
|
*
|
|
265
260
|
* @remarks
|
|
266
|
-
* >
|
|
267
|
-
* - Before calling this operation, make sure that you have
|
|
268
|
-
* - If you
|
|
269
|
-
* - After
|
|
270
|
-
* - Currently, members can join an IM group
|
|
271
|
-
* - The maximum number of members in a WhatsApp
|
|
261
|
+
* <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>
|
|
262
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
263
|
+
* - 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.
|
|
264
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
265
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
266
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
272
267
|
*
|
|
273
268
|
* @param request - AddChatGroupInviteLinkRequest
|
|
274
269
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -315,15 +310,15 @@ class Client extends openapi_core_1.default {
|
|
|
315
310
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
316
311
|
}
|
|
317
312
|
/**
|
|
318
|
-
* Adds an invite link
|
|
313
|
+
* Adds an IM group invite link.
|
|
319
314
|
*
|
|
320
315
|
* @remarks
|
|
321
|
-
* >
|
|
322
|
-
* - Before calling this operation, make sure that you have
|
|
323
|
-
* - If you
|
|
324
|
-
* - After
|
|
325
|
-
* - Currently, members can join an IM group
|
|
326
|
-
* - The maximum number of members in a WhatsApp
|
|
316
|
+
* <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>
|
|
317
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
318
|
+
* - 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.
|
|
319
|
+
* - After calling this API operation to add an IM group invite link, you can use the link to invite members to the IM group.
|
|
320
|
+
* - Currently, members can only join an IM group by using an invite link.
|
|
321
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
327
322
|
*
|
|
328
323
|
* @param request - AddChatGroupInviteLinkRequest
|
|
329
324
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -333,10 +328,10 @@ class Client extends openapi_core_1.default {
|
|
|
333
328
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
334
329
|
}
|
|
335
330
|
/**
|
|
336
|
-
* Adds a phone number to
|
|
331
|
+
* Adds a phone number to WABA.
|
|
337
332
|
*
|
|
338
333
|
* @remarks
|
|
339
|
-
* The
|
|
334
|
+
* 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.
|
|
340
335
|
*
|
|
341
336
|
* @param request - AddChatappPhoneNumberRequest
|
|
342
337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -386,10 +381,10 @@ class Client extends openapi_core_1.default {
|
|
|
386
381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
387
382
|
}
|
|
388
383
|
/**
|
|
389
|
-
* Adds a phone number to
|
|
384
|
+
* Adds a phone number to WABA.
|
|
390
385
|
*
|
|
391
386
|
* @remarks
|
|
392
|
-
* The
|
|
387
|
+
* 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.
|
|
393
388
|
*
|
|
394
389
|
* @param request - AddChatappPhoneNumberRequest
|
|
395
390
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -479,10 +474,10 @@ class Client extends openapi_core_1.default {
|
|
|
479
474
|
return await this.addContactsWithOptions(request, runtime);
|
|
480
475
|
}
|
|
481
476
|
/**
|
|
482
|
-
* Adds
|
|
477
|
+
* Adds a custom audience.
|
|
483
478
|
*
|
|
484
479
|
* @remarks
|
|
485
|
-
* After
|
|
480
|
+
* 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.
|
|
486
481
|
*
|
|
487
482
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
488
483
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -543,10 +538,10 @@ class Client extends openapi_core_1.default {
|
|
|
543
538
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCustomAudienceUserResponse({}));
|
|
544
539
|
}
|
|
545
540
|
/**
|
|
546
|
-
* Adds
|
|
541
|
+
* Adds a custom audience.
|
|
547
542
|
*
|
|
548
543
|
* @remarks
|
|
549
|
-
* After
|
|
544
|
+
* 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.
|
|
550
545
|
*
|
|
551
546
|
* @param request - AddCustomAudienceUserRequest
|
|
552
547
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -633,7 +628,7 @@ class Client extends openapi_core_1.default {
|
|
|
633
628
|
return await this.addGroupWithOptions(request, runtime);
|
|
634
629
|
}
|
|
635
630
|
/**
|
|
636
|
-
*
|
|
631
|
+
* Creates a campaign.
|
|
637
632
|
*
|
|
638
633
|
* @param tmpReq - AddMarketingFlowRequest
|
|
639
634
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -715,7 +710,7 @@ class Client extends openapi_core_1.default {
|
|
|
715
710
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
716
711
|
}
|
|
717
712
|
/**
|
|
718
|
-
*
|
|
713
|
+
* Creates a campaign.
|
|
719
714
|
*
|
|
720
715
|
* @param request - AddMarketingFlowRequest
|
|
721
716
|
* @returns AddMarketingFlowResponse
|
|
@@ -725,7 +720,7 @@ class Client extends openapi_core_1.default {
|
|
|
725
720
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
726
721
|
}
|
|
727
722
|
/**
|
|
728
|
-
* Archives
|
|
723
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
729
724
|
*
|
|
730
725
|
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -768,7 +763,7 @@ class Client extends openapi_core_1.default {
|
|
|
768
763
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
764
|
}
|
|
770
765
|
/**
|
|
771
|
-
* Archives
|
|
766
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
772
767
|
*
|
|
773
768
|
* @param request - ArchiveChatappTemplateRequest
|
|
774
769
|
* @returns ArchiveChatappTemplateResponse
|
|
@@ -778,7 +773,7 @@ class Client extends openapi_core_1.default {
|
|
|
778
773
|
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
779
774
|
}
|
|
780
775
|
/**
|
|
781
|
-
*
|
|
776
|
+
* Binds a DM account.
|
|
782
777
|
*
|
|
783
778
|
* @param tmpReq - BindDmAccountRequest
|
|
784
779
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -827,7 +822,7 @@ class Client extends openapi_core_1.default {
|
|
|
827
822
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
828
823
|
}
|
|
829
824
|
/**
|
|
830
|
-
*
|
|
825
|
+
* Binds a DM account.
|
|
831
826
|
*
|
|
832
827
|
* @param request - BindDmAccountRequest
|
|
833
828
|
* @returns BindDmAccountResponse
|
|
@@ -891,7 +886,7 @@ class Client extends openapi_core_1.default {
|
|
|
891
886
|
return await this.bindInstagramPageWithOptions(request, runtime);
|
|
892
887
|
}
|
|
893
888
|
/**
|
|
894
|
-
*
|
|
889
|
+
* Binds the selected page ID.
|
|
895
890
|
*
|
|
896
891
|
* @param request - BindMessengerPageRequest
|
|
897
892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -935,7 +930,7 @@ class Client extends openapi_core_1.default {
|
|
|
935
930
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindMessengerPageResponse({}));
|
|
936
931
|
}
|
|
937
932
|
/**
|
|
938
|
-
*
|
|
933
|
+
* Binds the selected page ID.
|
|
939
934
|
*
|
|
940
935
|
* @param request - BindMessengerPageRequest
|
|
941
936
|
* @returns BindMessengerPageResponse
|
|
@@ -945,7 +940,7 @@ class Client extends openapi_core_1.default {
|
|
|
945
940
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
946
941
|
}
|
|
947
942
|
/**
|
|
948
|
-
*
|
|
943
|
+
* Transfers a resource to another resource group.
|
|
949
944
|
*
|
|
950
945
|
* @param request - ChangeResourceGroupRequest
|
|
951
946
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,7 +975,7 @@ class Client extends openapi_core_1.default {
|
|
|
980
975
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
981
976
|
}
|
|
982
977
|
/**
|
|
983
|
-
*
|
|
978
|
+
* Transfers a resource to another resource group.
|
|
984
979
|
*
|
|
985
980
|
* @param request - ChangeResourceGroupRequest
|
|
986
981
|
* @returns ChangeResourceGroupResponse
|
|
@@ -990,10 +985,10 @@ class Client extends openapi_core_1.default {
|
|
|
990
985
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
991
986
|
}
|
|
992
987
|
/**
|
|
993
|
-
* Binds a
|
|
988
|
+
* Binds a WABA to the northbound interface.
|
|
994
989
|
*
|
|
995
990
|
* @remarks
|
|
996
|
-
* The per
|
|
991
|
+
* 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.
|
|
997
992
|
*
|
|
998
993
|
* @param request - ChatappBindWabaRequest
|
|
999
994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1031,10 +1026,10 @@ class Client extends openapi_core_1.default {
|
|
|
1031
1026
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
1032
1027
|
}
|
|
1033
1028
|
/**
|
|
1034
|
-
* Binds a
|
|
1029
|
+
* Binds a WABA to the northbound interface.
|
|
1035
1030
|
*
|
|
1036
1031
|
* @remarks
|
|
1037
|
-
* The per
|
|
1032
|
+
* 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.
|
|
1038
1033
|
*
|
|
1039
1034
|
* @param request - ChatappBindWabaRequest
|
|
1040
1035
|
* @returns ChatappBindWabaResponse
|
|
@@ -1161,10 +1156,10 @@ class Client extends openapi_core_1.default {
|
|
|
1161
1156
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1162
1157
|
}
|
|
1163
1158
|
/**
|
|
1164
|
-
*
|
|
1159
|
+
* Unregisters a phone number from WABA.
|
|
1165
1160
|
*
|
|
1166
1161
|
* @remarks
|
|
1167
|
-
* The
|
|
1162
|
+
* 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.
|
|
1168
1163
|
*
|
|
1169
1164
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1170
1165
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1205,10 +1200,10 @@ class Client extends openapi_core_1.default {
|
|
|
1205
1200
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1206
1201
|
}
|
|
1207
1202
|
/**
|
|
1208
|
-
*
|
|
1203
|
+
* Unregisters a phone number from WABA.
|
|
1209
1204
|
*
|
|
1210
1205
|
* @remarks
|
|
1211
|
-
* The
|
|
1206
|
+
* 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.
|
|
1212
1207
|
*
|
|
1213
1208
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1214
1209
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1218,10 +1213,10 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1213
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1219
1214
|
}
|
|
1220
1215
|
/**
|
|
1221
|
-
* Registers a phone number
|
|
1216
|
+
* Registers a phone number.
|
|
1222
1217
|
*
|
|
1223
1218
|
* @remarks
|
|
1224
|
-
* The
|
|
1219
|
+
* 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.
|
|
1225
1220
|
*
|
|
1226
1221
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1227
1222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1262,10 +1257,10 @@ class Client extends openapi_core_1.default {
|
|
|
1262
1257
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1263
1258
|
}
|
|
1264
1259
|
/**
|
|
1265
|
-
* Registers a phone number
|
|
1260
|
+
* Registers a phone number.
|
|
1266
1261
|
*
|
|
1267
1262
|
* @remarks
|
|
1268
|
-
* The
|
|
1263
|
+
* 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.
|
|
1269
1264
|
*
|
|
1270
1265
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1271
1266
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1329,10 +1324,10 @@ class Client extends openapi_core_1.default {
|
|
|
1329
1324
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1330
1325
|
}
|
|
1331
1326
|
/**
|
|
1332
|
-
* Verifies
|
|
1327
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1333
1328
|
*
|
|
1334
1329
|
* @remarks
|
|
1335
|
-
* The
|
|
1330
|
+
* 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.
|
|
1336
1331
|
*
|
|
1337
1332
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1338
1333
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1376,10 +1371,10 @@ class Client extends openapi_core_1.default {
|
|
|
1376
1371
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1377
1372
|
}
|
|
1378
1373
|
/**
|
|
1379
|
-
* Verifies
|
|
1374
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1380
1375
|
*
|
|
1381
1376
|
* @remarks
|
|
1382
|
-
* The
|
|
1377
|
+
* 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.
|
|
1383
1378
|
*
|
|
1384
1379
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1385
1380
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1505,8 +1500,8 @@ class Client extends openapi_core_1.default {
|
|
|
1505
1500
|
* Creates a flow.
|
|
1506
1501
|
*
|
|
1507
1502
|
* @remarks
|
|
1508
|
-
* -
|
|
1509
|
-
* - After you create a flow, you can
|
|
1503
|
+
* - 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.
|
|
1504
|
+
* - 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.
|
|
1510
1505
|
*
|
|
1511
1506
|
* @param tmpReq - CreateChatFlowRequest
|
|
1512
1507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1519,6 +1514,12 @@ class Client extends openapi_core_1.default {
|
|
|
1519
1514
|
if (!$dara.isNull(tmpReq.bizExtend)) {
|
|
1520
1515
|
request.bizExtendShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.bizExtend, "BizExtend", "json");
|
|
1521
1516
|
}
|
|
1517
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1518
|
+
request.lifeCycleExtendDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1519
|
+
}
|
|
1520
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendDataV2)) {
|
|
1521
|
+
request.lifeCycleExtendDataV2Shrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendDataV2, "LifeCycleExtendDataV2", "json");
|
|
1522
|
+
}
|
|
1522
1523
|
let query = {};
|
|
1523
1524
|
if (!$dara.isNull(request.bizCode)) {
|
|
1524
1525
|
query["BizCode"] = request.bizCode;
|
|
@@ -1526,9 +1527,21 @@ class Client extends openapi_core_1.default {
|
|
|
1526
1527
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
1527
1528
|
query["BizExtend"] = request.bizExtendShrink;
|
|
1528
1529
|
}
|
|
1530
|
+
if (!$dara.isNull(request.createFromFlowCode)) {
|
|
1531
|
+
query["CreateFromFlowCode"] = request.createFromFlowCode;
|
|
1532
|
+
}
|
|
1533
|
+
if (!$dara.isNull(request.createFromFlowVersion)) {
|
|
1534
|
+
query["CreateFromFlowVersion"] = request.createFromFlowVersion;
|
|
1535
|
+
}
|
|
1529
1536
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
1530
1537
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
1531
1538
|
}
|
|
1539
|
+
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1540
|
+
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1541
|
+
}
|
|
1542
|
+
if (!$dara.isNull(request.lifeCycleExtendDataV2Shrink)) {
|
|
1543
|
+
query["LifeCycleExtendDataV2"] = request.lifeCycleExtendDataV2Shrink;
|
|
1544
|
+
}
|
|
1532
1545
|
if (!$dara.isNull(request.ownerId)) {
|
|
1533
1546
|
query["OwnerId"] = request.ownerId;
|
|
1534
1547
|
}
|
|
@@ -1564,8 +1577,8 @@ class Client extends openapi_core_1.default {
|
|
|
1564
1577
|
* Creates a flow.
|
|
1565
1578
|
*
|
|
1566
1579
|
* @remarks
|
|
1567
|
-
* -
|
|
1568
|
-
* - After you create a flow, you can
|
|
1580
|
+
* - 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.
|
|
1581
|
+
* - 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.
|
|
1569
1582
|
*
|
|
1570
1583
|
* @param request - CreateChatFlowRequest
|
|
1571
1584
|
* @returns CreateChatFlowResponse
|
|
@@ -1578,9 +1591,9 @@ class Client extends openapi_core_1.default {
|
|
|
1578
1591
|
* Creates and imports a flow.
|
|
1579
1592
|
*
|
|
1580
1593
|
* @remarks
|
|
1581
|
-
* - You can call this operation to create and import a flow
|
|
1582
|
-
* - Before
|
|
1583
|
-
* - If you do not have
|
|
1594
|
+
* - 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.
|
|
1595
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1596
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1584
1597
|
*
|
|
1585
1598
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1586
1599
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1638,9 +1651,9 @@ class Client extends openapi_core_1.default {
|
|
|
1638
1651
|
* Creates and imports a flow.
|
|
1639
1652
|
*
|
|
1640
1653
|
* @remarks
|
|
1641
|
-
* - You can call this operation to create and import a flow
|
|
1642
|
-
* - Before
|
|
1643
|
-
* - If you do not have
|
|
1654
|
+
* - 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.
|
|
1655
|
+
* - Before calling this operation, make sure you have exported flow DSL data.
|
|
1656
|
+
* - If you do not have exported flow DSL data, go to the [flow orchestration](https://chatapp.console.aliyun.com/ChatFlowBuilder) console, click a flow name to open the canvas orchestration page, arrange canvas components, save the flow, and export it as a JSON data file.
|
|
1644
1657
|
*
|
|
1645
1658
|
* @param request - CreateChatFlowByImportRequest
|
|
1646
1659
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1650,13 +1663,13 @@ class Client extends openapi_core_1.default {
|
|
|
1650
1663
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1651
1664
|
}
|
|
1652
1665
|
/**
|
|
1653
|
-
* Creates
|
|
1666
|
+
* Creates a flow log setting.
|
|
1654
1667
|
*
|
|
1655
1668
|
* @remarks
|
|
1656
|
-
* - To update
|
|
1657
|
-
* - If you do not need to update the log
|
|
1658
|
-
* - Before
|
|
1659
|
-
* - If you do not have a successfully created flow, you can create
|
|
1669
|
+
* - 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.
|
|
1670
|
+
* - 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.
|
|
1671
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1672
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1660
1673
|
*
|
|
1661
1674
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1662
1675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1694,13 +1707,13 @@ class Client extends openapi_core_1.default {
|
|
|
1694
1707
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1695
1708
|
}
|
|
1696
1709
|
/**
|
|
1697
|
-
* Creates
|
|
1710
|
+
* Creates a flow log setting.
|
|
1698
1711
|
*
|
|
1699
1712
|
* @remarks
|
|
1700
|
-
* - To update
|
|
1701
|
-
* - If you do not need to update the log
|
|
1702
|
-
* - Before
|
|
1703
|
-
* - If you do not have a successfully created flow, you can create
|
|
1713
|
+
* - 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.
|
|
1714
|
+
* - 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.
|
|
1715
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
1716
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a flow.
|
|
1704
1717
|
*
|
|
1705
1718
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1706
1719
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1770,13 +1783,13 @@ class Client extends openapi_core_1.default {
|
|
|
1770
1783
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1771
1784
|
}
|
|
1772
1785
|
/**
|
|
1773
|
-
* Creates a message template.
|
|
1786
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1774
1787
|
*
|
|
1775
1788
|
* @remarks
|
|
1776
1789
|
* ### QPS limit
|
|
1777
|
-
* The
|
|
1778
|
-
* ### Status
|
|
1779
|
-
* You can
|
|
1790
|
+
* 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.
|
|
1791
|
+
* ### Status changes
|
|
1792
|
+
* 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).
|
|
1780
1793
|
*
|
|
1781
1794
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1782
1795
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1792,45 +1805,48 @@ class Client extends openapi_core_1.default {
|
|
|
1792
1805
|
if (!$dara.isNull(tmpReq.example)) {
|
|
1793
1806
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
1794
1807
|
}
|
|
1795
|
-
let
|
|
1808
|
+
let query = {};
|
|
1796
1809
|
if (!$dara.isNull(request.allowCategoryChange)) {
|
|
1797
|
-
|
|
1810
|
+
query["AllowCategoryChange"] = request.allowCategoryChange;
|
|
1798
1811
|
}
|
|
1799
1812
|
if (!$dara.isNull(request.category)) {
|
|
1800
|
-
|
|
1813
|
+
query["Category"] = request.category;
|
|
1801
1814
|
}
|
|
1802
1815
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
1803
|
-
|
|
1816
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
1804
1817
|
}
|
|
1805
1818
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
1806
|
-
|
|
1819
|
+
query["Components"] = request.componentsShrink;
|
|
1807
1820
|
}
|
|
1808
1821
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
1809
|
-
|
|
1822
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
1810
1823
|
}
|
|
1811
1824
|
if (!$dara.isNull(request.custWabaId)) {
|
|
1812
|
-
|
|
1825
|
+
query["CustWabaId"] = request.custWabaId;
|
|
1813
1826
|
}
|
|
1814
1827
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
1815
|
-
|
|
1828
|
+
query["Example"] = request.exampleShrink;
|
|
1816
1829
|
}
|
|
1817
1830
|
if (!$dara.isNull(request.isvCode)) {
|
|
1818
|
-
|
|
1831
|
+
query["IsvCode"] = request.isvCode;
|
|
1819
1832
|
}
|
|
1820
1833
|
if (!$dara.isNull(request.language)) {
|
|
1821
|
-
|
|
1834
|
+
query["Language"] = request.language;
|
|
1822
1835
|
}
|
|
1823
1836
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
1824
|
-
|
|
1837
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
1825
1838
|
}
|
|
1826
1839
|
if (!$dara.isNull(request.name)) {
|
|
1827
|
-
|
|
1840
|
+
query["Name"] = request.name;
|
|
1841
|
+
}
|
|
1842
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
1843
|
+
query["ProductSetId"] = request.productSetId;
|
|
1828
1844
|
}
|
|
1829
1845
|
if (!$dara.isNull(request.templateType)) {
|
|
1830
|
-
|
|
1846
|
+
query["TemplateType"] = request.templateType;
|
|
1831
1847
|
}
|
|
1832
1848
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1833
|
-
|
|
1849
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
1834
1850
|
});
|
|
1835
1851
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1836
1852
|
action: "CreateChatappTemplate",
|
|
@@ -1846,13 +1862,13 @@ class Client extends openapi_core_1.default {
|
|
|
1846
1862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1847
1863
|
}
|
|
1848
1864
|
/**
|
|
1849
|
-
* Creates a message template.
|
|
1865
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1850
1866
|
*
|
|
1851
1867
|
* @remarks
|
|
1852
1868
|
* ### QPS limit
|
|
1853
|
-
* The
|
|
1854
|
-
* ### Status
|
|
1855
|
-
* You can
|
|
1869
|
+
* 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.
|
|
1870
|
+
* ### Status changes
|
|
1871
|
+
* 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).
|
|
1856
1872
|
*
|
|
1857
1873
|
* @param request - CreateChatappTemplateRequest
|
|
1858
1874
|
* @returns CreateChatappTemplateResponse
|
|
@@ -1996,12 +2012,12 @@ class Client extends openapi_core_1.default {
|
|
|
1996
2012
|
return await this.createFlowWithOptions(request, runtime);
|
|
1997
2013
|
}
|
|
1998
2014
|
/**
|
|
1999
|
-
* Creates a new version
|
|
2015
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2000
2016
|
*
|
|
2001
2017
|
* @remarks
|
|
2002
|
-
* - You can call this operation to create a new flow version
|
|
2003
|
-
* - Before
|
|
2004
|
-
* - If you
|
|
2018
|
+
* - 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.
|
|
2019
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2020
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2005
2021
|
*
|
|
2006
2022
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2007
2023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2056,12 +2072,12 @@ class Client extends openapi_core_1.default {
|
|
|
2056
2072
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateFlowVersionResponse({}));
|
|
2057
2073
|
}
|
|
2058
2074
|
/**
|
|
2059
|
-
* Creates a new version
|
|
2075
|
+
* Creates a new flow version by copying an existing flow version.
|
|
2060
2076
|
*
|
|
2061
2077
|
* @remarks
|
|
2062
|
-
* - You can call this operation to create a new flow version
|
|
2063
|
-
* - Before
|
|
2064
|
-
* - If you
|
|
2078
|
+
* - 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.
|
|
2079
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
2080
|
+
* - If you do not have a successfully created flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
2065
2081
|
*
|
|
2066
2082
|
* @param request - CreateFlowVersionRequest
|
|
2067
2083
|
* @returns CreateFlowVersionResponse
|
|
@@ -2200,7 +2216,7 @@ class Client extends openapi_core_1.default {
|
|
|
2200
2216
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2201
2217
|
}
|
|
2202
2218
|
/**
|
|
2203
|
-
*
|
|
2219
|
+
* Authorizes an embedded messenger.
|
|
2204
2220
|
*
|
|
2205
2221
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2206
2222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2255,7 +2271,7 @@ class Client extends openapi_core_1.default {
|
|
|
2255
2271
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2256
2272
|
}
|
|
2257
2273
|
/**
|
|
2258
|
-
*
|
|
2274
|
+
* Authorizes an embedded messenger.
|
|
2259
2275
|
*
|
|
2260
2276
|
* @param request - CreateMessengerPageRequest
|
|
2261
2277
|
* @returns CreateMessengerPageResponse
|
|
@@ -2270,12 +2286,12 @@ class Client extends openapi_core_1.default {
|
|
|
2270
2286
|
* @remarks
|
|
2271
2287
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2272
2288
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2273
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2289
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2274
2290
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2275
2291
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2276
2292
|
* page.
|
|
2277
2293
|
* #### QPS limit
|
|
2278
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2294
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2279
2295
|
*
|
|
2280
2296
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2281
2297
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2327,12 +2343,12 @@ class Client extends openapi_core_1.default {
|
|
|
2327
2343
|
* @remarks
|
|
2328
2344
|
* - After the QR code is created, users can scan it with WhatsApp to quickly open the corresponding business phone number.
|
|
2329
2345
|
* - Before calling this operation, make sure that you have a successfully created WhatsApp message channel.
|
|
2330
|
-
* - If you do not have a successfully created WhatsApp message channel, manually create one on the
|
|
2346
|
+
* - If you do not have a successfully created WhatsApp message channel, you can manually create one on the
|
|
2331
2347
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
2332
2348
|
* <props="intl">[Channel Management](https://chatapp.console.alibabacloud.com/CustomerList)
|
|
2333
2349
|
* page.
|
|
2334
2350
|
* #### QPS limit
|
|
2335
|
-
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2351
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
2336
2352
|
*
|
|
2337
2353
|
* @param request - CreatePhoneMessageQrdlRequest
|
|
2338
2354
|
* @returns CreatePhoneMessageQrdlResponse
|
|
@@ -2342,7 +2358,7 @@ class Client extends openapi_core_1.default {
|
|
|
2342
2358
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2343
2359
|
}
|
|
2344
2360
|
/**
|
|
2345
|
-
*
|
|
2361
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2346
2362
|
*
|
|
2347
2363
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2348
2364
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2391,7 +2407,7 @@ class Client extends openapi_core_1.default {
|
|
|
2391
2407
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2392
2408
|
}
|
|
2393
2409
|
/**
|
|
2394
|
-
*
|
|
2410
|
+
* Retrieves and stores the pageId based on the embedded code.
|
|
2395
2411
|
*
|
|
2396
2412
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2397
2413
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2404,9 +2420,9 @@ class Client extends openapi_core_1.default {
|
|
|
2404
2420
|
* Deletes a flow.
|
|
2405
2421
|
*
|
|
2406
2422
|
* @remarks
|
|
2407
|
-
* - You can call this operation to delete a flow
|
|
2408
|
-
* - Before
|
|
2409
|
-
* -
|
|
2423
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2424
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2425
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2410
2426
|
*
|
|
2411
2427
|
* @param tmpReq - DeleteChatFlowRequest
|
|
2412
2428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2458,9 +2474,9 @@ class Client extends openapi_core_1.default {
|
|
|
2458
2474
|
* Deletes a flow.
|
|
2459
2475
|
*
|
|
2460
2476
|
* @remarks
|
|
2461
|
-
* - You can call this operation to delete a flow
|
|
2462
|
-
* - Before
|
|
2463
|
-
* -
|
|
2477
|
+
* - You can call this operation to delete a flow, or manually delete a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2478
|
+
* - Before deleting a flow, make sure the flow status is offline.
|
|
2479
|
+
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2464
2480
|
*
|
|
2465
2481
|
* @param request - DeleteChatFlowRequest
|
|
2466
2482
|
* @returns DeleteChatFlowResponse
|
|
@@ -2761,7 +2777,7 @@ class Client extends openapi_core_1.default {
|
|
|
2761
2777
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
2762
2778
|
}
|
|
2763
2779
|
/**
|
|
2764
|
-
*
|
|
2780
|
+
* Deletes a contact.
|
|
2765
2781
|
*
|
|
2766
2782
|
* @param tmpReq - DeleteContactsRequest
|
|
2767
2783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2819,7 +2835,7 @@ class Client extends openapi_core_1.default {
|
|
|
2819
2835
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsResponse({}));
|
|
2820
2836
|
}
|
|
2821
2837
|
/**
|
|
2822
|
-
*
|
|
2838
|
+
* Deletes a contact.
|
|
2823
2839
|
*
|
|
2824
2840
|
* @param request - DeleteContactsRequest
|
|
2825
2841
|
* @returns DeleteContactsResponse
|
|
@@ -3008,7 +3024,7 @@ class Client extends openapi_core_1.default {
|
|
|
3008
3024
|
return await this.deleteFlowVersionWithOptions(request, runtime);
|
|
3009
3025
|
}
|
|
3010
3026
|
/**
|
|
3011
|
-
*
|
|
3027
|
+
* Deletes a group.
|
|
3012
3028
|
*
|
|
3013
3029
|
* @param request - DeleteGroupByIdRequest
|
|
3014
3030
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3046,7 +3062,7 @@ class Client extends openapi_core_1.default {
|
|
|
3046
3062
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteGroupByIdResponse({}));
|
|
3047
3063
|
}
|
|
3048
3064
|
/**
|
|
3049
|
-
*
|
|
3065
|
+
* Deletes a group.
|
|
3050
3066
|
*
|
|
3051
3067
|
* @param request - DeleteGroupByIdRequest
|
|
3052
3068
|
* @returns DeleteGroupByIdResponse
|
|
@@ -3056,7 +3072,7 @@ class Client extends openapi_core_1.default {
|
|
|
3056
3072
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
3057
3073
|
}
|
|
3058
3074
|
/**
|
|
3059
|
-
*
|
|
3075
|
+
* Deletes a page from an Instagram instance.
|
|
3060
3076
|
*
|
|
3061
3077
|
* @param request - DeleteInstagramPageRequest
|
|
3062
3078
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3097,7 +3113,7 @@ class Client extends openapi_core_1.default {
|
|
|
3097
3113
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
3098
3114
|
}
|
|
3099
3115
|
/**
|
|
3100
|
-
*
|
|
3116
|
+
* Deletes a page from an Instagram instance.
|
|
3101
3117
|
*
|
|
3102
3118
|
* @param request - DeleteInstagramPageRequest
|
|
3103
3119
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3254,7 +3270,7 @@ class Client extends openapi_core_1.default {
|
|
|
3254
3270
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3255
3271
|
}
|
|
3256
3272
|
/**
|
|
3257
|
-
*
|
|
3273
|
+
* Deletes the Messenger page.
|
|
3258
3274
|
*
|
|
3259
3275
|
* @param request - DeleteMessengerPageRequest
|
|
3260
3276
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3295,7 +3311,7 @@ class Client extends openapi_core_1.default {
|
|
|
3295
3311
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3296
3312
|
}
|
|
3297
3313
|
/**
|
|
3298
|
-
*
|
|
3314
|
+
* Deletes the Messenger page.
|
|
3299
3315
|
*
|
|
3300
3316
|
* @param request - DeleteMessengerPageRequest
|
|
3301
3317
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3415,10 +3431,10 @@ class Client extends openapi_core_1.default {
|
|
|
3415
3431
|
return await this.deleteWhatsappUserNameWithOptions(request, runtime);
|
|
3416
3432
|
}
|
|
3417
3433
|
/**
|
|
3418
|
-
* Deprecates a
|
|
3434
|
+
* Deprecates a Flow.
|
|
3419
3435
|
*
|
|
3420
3436
|
* @remarks
|
|
3421
|
-
*
|
|
3437
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
3422
3438
|
*
|
|
3423
3439
|
* @param request - DeprecateFlowRequest
|
|
3424
3440
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3459,10 +3475,10 @@ class Client extends openapi_core_1.default {
|
|
|
3459
3475
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeprecateFlowResponse({}));
|
|
3460
3476
|
}
|
|
3461
3477
|
/**
|
|
3462
|
-
* Deprecates a
|
|
3478
|
+
* Deprecates a Flow.
|
|
3463
3479
|
*
|
|
3464
3480
|
* @remarks
|
|
3465
|
-
*
|
|
3481
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
3466
3482
|
*
|
|
3467
3483
|
* @param request - DeprecateFlowRequest
|
|
3468
3484
|
* @returns DeprecateFlowResponse
|
|
@@ -3537,16 +3553,15 @@ class Client extends openapi_core_1.default {
|
|
|
3537
3553
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3538
3554
|
}
|
|
3539
3555
|
/**
|
|
3540
|
-
*
|
|
3556
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3541
3557
|
*
|
|
3542
3558
|
* @remarks
|
|
3543
|
-
* -
|
|
3544
|
-
* - Before
|
|
3545
|
-
* - For
|
|
3546
|
-
* - For
|
|
3547
|
-
* - For
|
|
3548
|
-
* <props="intl"
|
|
3549
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3559
|
+
* - 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.
|
|
3560
|
+
* - 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.
|
|
3561
|
+
* - 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).
|
|
3562
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3563
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3564
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3550
3565
|
*
|
|
3551
3566
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3552
3567
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3556,6 +3571,9 @@ class Client extends openapi_core_1.default {
|
|
|
3556
3571
|
tmpReq.validate();
|
|
3557
3572
|
let request = new $_model.FlowBindPhoneShrinkRequest({});
|
|
3558
3573
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3574
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3575
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3576
|
+
}
|
|
3559
3577
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3560
3578
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3561
3579
|
}
|
|
@@ -3572,6 +3590,9 @@ class Client extends openapi_core_1.default {
|
|
|
3572
3590
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3573
3591
|
query["FlowVersion"] = request.flowVersion;
|
|
3574
3592
|
}
|
|
3593
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3594
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3595
|
+
}
|
|
3575
3596
|
if (!$dara.isNull(request.ownerId)) {
|
|
3576
3597
|
query["OwnerId"] = request.ownerId;
|
|
3577
3598
|
}
|
|
@@ -3604,16 +3625,15 @@ class Client extends openapi_core_1.default {
|
|
|
3604
3625
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3605
3626
|
}
|
|
3606
3627
|
/**
|
|
3607
|
-
*
|
|
3628
|
+
* Binds a phone number or merchant account ID to a flow.
|
|
3608
3629
|
*
|
|
3609
3630
|
* @remarks
|
|
3610
|
-
* -
|
|
3611
|
-
* - Before
|
|
3612
|
-
* - For
|
|
3613
|
-
* - For
|
|
3614
|
-
* - For
|
|
3615
|
-
* <props="intl"
|
|
3616
|
-
* - For a Viber channel, you must have [requested a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
3631
|
+
* - 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.
|
|
3632
|
+
* - 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.
|
|
3633
|
+
* - 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).
|
|
3634
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3635
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3636
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
3617
3637
|
*
|
|
3618
3638
|
* @param request - FlowBindPhoneRequest
|
|
3619
3639
|
* @returns FlowBindPhoneResponse
|
|
@@ -3626,7 +3646,7 @@ class Client extends openapi_core_1.default {
|
|
|
3626
3646
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
3627
3647
|
*
|
|
3628
3648
|
* @remarks
|
|
3629
|
-
* -
|
|
3649
|
+
* - Call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
3630
3650
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3631
3651
|
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3632
3652
|
*
|
|
@@ -3638,6 +3658,9 @@ class Client extends openapi_core_1.default {
|
|
|
3638
3658
|
tmpReq.validate();
|
|
3639
3659
|
let request = new $_model.FlowRebindPhoneShrinkRequest({});
|
|
3640
3660
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
3661
|
+
if (!$dara.isNull(tmpReq.multiWabaPhoneNumbers)) {
|
|
3662
|
+
request.multiWabaPhoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.multiWabaPhoneNumbers, "MultiWabaPhoneNumbers", "json");
|
|
3663
|
+
}
|
|
3641
3664
|
if (!$dara.isNull(tmpReq.phoneNumbers)) {
|
|
3642
3665
|
request.phoneNumbersShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.phoneNumbers, "PhoneNumbers", "json");
|
|
3643
3666
|
}
|
|
@@ -3654,6 +3677,9 @@ class Client extends openapi_core_1.default {
|
|
|
3654
3677
|
if (!$dara.isNull(request.flowVersion)) {
|
|
3655
3678
|
query["FlowVersion"] = request.flowVersion;
|
|
3656
3679
|
}
|
|
3680
|
+
if (!$dara.isNull(request.multiWabaPhoneNumbersShrink)) {
|
|
3681
|
+
query["MultiWabaPhoneNumbers"] = request.multiWabaPhoneNumbersShrink;
|
|
3682
|
+
}
|
|
3657
3683
|
if (!$dara.isNull(request.ownerId)) {
|
|
3658
3684
|
query["OwnerId"] = request.ownerId;
|
|
3659
3685
|
}
|
|
@@ -3689,7 +3715,7 @@ class Client extends openapi_core_1.default {
|
|
|
3689
3715
|
* Rebinds a phone number or merchant account ID to a flow.
|
|
3690
3716
|
*
|
|
3691
3717
|
* @remarks
|
|
3692
|
-
* -
|
|
3718
|
+
* - Call this operation to rebind a phone number or merchant account ID to a flow that already has a binding. You can also manually rebind in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**.
|
|
3693
3719
|
* - Before calling this operation, make sure that your flow already has a phone number or merchant account ID bound to it.
|
|
3694
3720
|
* - If you are binding a phone number or merchant account ID to a flow for the first time, use the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3695
3721
|
*
|
|
@@ -3701,14 +3727,14 @@ class Client extends openapi_core_1.default {
|
|
|
3701
3727
|
return await this.flowRebindPhoneWithOptions(request, runtime);
|
|
3702
3728
|
}
|
|
3703
3729
|
/**
|
|
3704
|
-
*
|
|
3730
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3705
3731
|
*
|
|
3706
3732
|
* @remarks
|
|
3707
|
-
* - Before you call this operation,
|
|
3708
|
-
* - You can call this operation to
|
|
3709
|
-
* - Before you call this operation,
|
|
3710
|
-
* - If no phone number or
|
|
3711
|
-
* - After a phone number or
|
|
3733
|
+
* - 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.
|
|
3734
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3735
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
3736
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
3737
|
+
* - 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.
|
|
3712
3738
|
*
|
|
3713
3739
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3714
3740
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3760,14 +3786,14 @@ class Client extends openapi_core_1.default {
|
|
|
3760
3786
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowUnbindPhoneResponse({}));
|
|
3761
3787
|
}
|
|
3762
3788
|
/**
|
|
3763
|
-
*
|
|
3789
|
+
* Dissociates a phone number or merchant account ID from a flow.
|
|
3764
3790
|
*
|
|
3765
3791
|
* @remarks
|
|
3766
|
-
* - Before you call this operation,
|
|
3767
|
-
* - You can call this operation to
|
|
3768
|
-
* - Before you call this operation,
|
|
3769
|
-
* - If no phone number or
|
|
3770
|
-
* - After a phone number or
|
|
3792
|
+
* - 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.
|
|
3793
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3794
|
+
* - Before you call this operation, make sure that a phone number or merchant account ID is associated with the flow you created.
|
|
3795
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to associate one.
|
|
3796
|
+
* - 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.
|
|
3771
3797
|
*
|
|
3772
3798
|
* @param request - FlowUnbindPhoneRequest
|
|
3773
3799
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3825,7 +3851,7 @@ class Client extends openapi_core_1.default {
|
|
|
3825
3851
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3826
3852
|
}
|
|
3827
3853
|
/**
|
|
3828
|
-
*
|
|
3854
|
+
* Queries pending review orders for an individual by type.
|
|
3829
3855
|
*
|
|
3830
3856
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3831
3857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3866,7 +3892,7 @@ class Client extends openapi_core_1.default {
|
|
|
3866
3892
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3867
3893
|
}
|
|
3868
3894
|
/**
|
|
3869
|
-
*
|
|
3895
|
+
* Queries pending review orders for an individual by type.
|
|
3870
3896
|
*
|
|
3871
3897
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3872
3898
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3925,9 +3951,9 @@ class Client extends openapi_core_1.default {
|
|
|
3925
3951
|
*
|
|
3926
3952
|
* @remarks
|
|
3927
3953
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
3928
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
3929
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
3930
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
3954
|
+
* - 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.
|
|
3955
|
+
* - 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.
|
|
3956
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
3931
3957
|
*
|
|
3932
3958
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3933
3959
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3998,9 +4024,9 @@ class Client extends openapi_core_1.default {
|
|
|
3998
4024
|
*
|
|
3999
4025
|
* @remarks
|
|
4000
4026
|
* - Before calling this operation, make sure that the flow you created is online and has been triggered.
|
|
4001
|
-
* - If your flow is not online, go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to
|
|
4002
|
-
* - For flows with a manual trigger type, call the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation to trigger the flow, or go to the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page and trigger the flow by associating it with a
|
|
4003
|
-
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is
|
|
4027
|
+
* - 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.
|
|
4028
|
+
* - 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.
|
|
4029
|
+
* - For flows with a non-manual trigger type, you do not need to manually trigger the flow. The flow is triggered when a message is sent to the business account bound to the flow.
|
|
4004
4030
|
*
|
|
4005
4031
|
* @param request - GetChatFlowMetricRequest
|
|
4006
4032
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4013,8 +4039,8 @@ class Client extends openapi_core_1.default {
|
|
|
4013
4039
|
* Queries the details of a flow template.
|
|
4014
4040
|
*
|
|
4015
4041
|
* @remarks
|
|
4016
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4017
|
-
* - After you view
|
|
4042
|
+
* - 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).
|
|
4043
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4018
4044
|
*
|
|
4019
4045
|
* @param request - GetChatFlowTemplateRequest
|
|
4020
4046
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4058,8 +4084,8 @@ class Client extends openapi_core_1.default {
|
|
|
4058
4084
|
* Queries the details of a flow template.
|
|
4059
4085
|
*
|
|
4060
4086
|
* @remarks
|
|
4061
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4062
|
-
* - After you view
|
|
4087
|
+
* - 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).
|
|
4088
|
+
* - After you view template details by clicking the template name on the **Template View** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4063
4089
|
*
|
|
4064
4090
|
* @param request - GetChatFlowTemplateRequest
|
|
4065
4091
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4244,11 +4270,11 @@ class Client extends openapi_core_1.default {
|
|
|
4244
4270
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
4245
4271
|
}
|
|
4246
4272
|
/**
|
|
4247
|
-
* Retrieves the details of a Chat App
|
|
4273
|
+
* Retrieves the details of a Chat App message template.
|
|
4248
4274
|
*
|
|
4249
4275
|
* @remarks
|
|
4250
4276
|
* ### QPS limit
|
|
4251
|
-
* The
|
|
4277
|
+
* 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.
|
|
4252
4278
|
*
|
|
4253
4279
|
* @param request - GetChatappTemplateDetailRequest
|
|
4254
4280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4295,11 +4321,11 @@ class Client extends openapi_core_1.default {
|
|
|
4295
4321
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
4296
4322
|
}
|
|
4297
4323
|
/**
|
|
4298
|
-
* Retrieves the details of a Chat App
|
|
4324
|
+
* Retrieves the details of a Chat App message template.
|
|
4299
4325
|
*
|
|
4300
4326
|
* @remarks
|
|
4301
4327
|
* ### QPS limit
|
|
4302
|
-
* The
|
|
4328
|
+
* 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.
|
|
4303
4329
|
*
|
|
4304
4330
|
* @param request - GetChatappTemplateDetailRequest
|
|
4305
4331
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4672,7 +4698,7 @@ class Client extends openapi_core_1.default {
|
|
|
4672
4698
|
return await this.getCustomerSiteWithOptions(request, runtime);
|
|
4673
4699
|
}
|
|
4674
4700
|
/**
|
|
4675
|
-
*
|
|
4701
|
+
* Downloads Excel data.
|
|
4676
4702
|
*
|
|
4677
4703
|
* @param tmpReq - GetDownloadExcelListRequest
|
|
4678
4704
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4742,7 +4768,7 @@ class Client extends openapi_core_1.default {
|
|
|
4742
4768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetDownloadExcelListResponse({}));
|
|
4743
4769
|
}
|
|
4744
4770
|
/**
|
|
4745
|
-
*
|
|
4771
|
+
* Downloads Excel data.
|
|
4746
4772
|
*
|
|
4747
4773
|
* @param request - GetDownloadExcelListRequest
|
|
4748
4774
|
* @returns GetDownloadExcelListResponse
|
|
@@ -4752,7 +4778,7 @@ class Client extends openapi_core_1.default {
|
|
|
4752
4778
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4753
4779
|
}
|
|
4754
4780
|
/**
|
|
4755
|
-
*
|
|
4781
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4756
4782
|
*
|
|
4757
4783
|
* @param request - GetFbInstagramPagesRequest
|
|
4758
4784
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4793,7 +4819,7 @@ class Client extends openapi_core_1.default {
|
|
|
4793
4819
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4794
4820
|
}
|
|
4795
4821
|
/**
|
|
4796
|
-
*
|
|
4822
|
+
* Retrieves the list of Instagram pages for an instance.
|
|
4797
4823
|
*
|
|
4798
4824
|
* @param request - GetFbInstagramPagesRequest
|
|
4799
4825
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -4803,7 +4829,7 @@ class Client extends openapi_core_1.default {
|
|
|
4803
4829
|
return await this.getFbInstagramPagesWithOptions(request, runtime);
|
|
4804
4830
|
}
|
|
4805
4831
|
/**
|
|
4806
|
-
*
|
|
4832
|
+
* Retrieves the list of Facebook page IDs.
|
|
4807
4833
|
*
|
|
4808
4834
|
* @param request - GetFbMessengerPagesRequest
|
|
4809
4835
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4844,7 +4870,7 @@ class Client extends openapi_core_1.default {
|
|
|
4844
4870
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbMessengerPagesResponse({}));
|
|
4845
4871
|
}
|
|
4846
4872
|
/**
|
|
4847
|
-
*
|
|
4873
|
+
* Retrieves the list of Facebook page IDs.
|
|
4848
4874
|
*
|
|
4849
4875
|
* @param request - GetFbMessengerPagesRequest
|
|
4850
4876
|
* @returns GetFbMessengerPagesResponse
|
|
@@ -4854,13 +4880,13 @@ class Client extends openapi_core_1.default {
|
|
|
4854
4880
|
return await this.getFbMessengerPagesWithOptions(request, runtime);
|
|
4855
4881
|
}
|
|
4856
4882
|
/**
|
|
4857
|
-
*
|
|
4883
|
+
* Retrieves the details of a Flow.
|
|
4858
4884
|
*
|
|
4859
4885
|
* @remarks
|
|
4860
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4861
|
-
* - If you
|
|
4886
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4887
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4862
4888
|
* #### QPS limit
|
|
4863
|
-
*
|
|
4889
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
4864
4890
|
*
|
|
4865
4891
|
* @param request - GetFlowRequest
|
|
4866
4892
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4901,13 +4927,13 @@ class Client extends openapi_core_1.default {
|
|
|
4901
4927
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowResponse({}));
|
|
4902
4928
|
}
|
|
4903
4929
|
/**
|
|
4904
|
-
*
|
|
4930
|
+
* Retrieves the details of a Flow.
|
|
4905
4931
|
*
|
|
4906
4932
|
* @remarks
|
|
4907
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4908
|
-
* - If you
|
|
4933
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4934
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4909
4935
|
* #### QPS limit
|
|
4910
|
-
*
|
|
4936
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as appropriate.
|
|
4911
4937
|
*
|
|
4912
4938
|
* @param request - GetFlowRequest
|
|
4913
4939
|
* @returns GetFlowResponse
|
|
@@ -4917,13 +4943,13 @@ class Client extends openapi_core_1.default {
|
|
|
4917
4943
|
return await this.getFlowWithOptions(request, runtime);
|
|
4918
4944
|
}
|
|
4919
4945
|
/**
|
|
4920
|
-
*
|
|
4946
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4921
4947
|
*
|
|
4922
4948
|
* @remarks
|
|
4923
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4924
|
-
* - If you
|
|
4949
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4950
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
4925
4951
|
* #### QPS limit
|
|
4926
|
-
*
|
|
4952
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4927
4953
|
*
|
|
4928
4954
|
* @param request - GetFlowJSONAssestRequest
|
|
4929
4955
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4964,13 +4990,13 @@ class Client extends openapi_core_1.default {
|
|
|
4964
4990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowJSONAssestResponse({}));
|
|
4965
4991
|
}
|
|
4966
4992
|
/**
|
|
4967
|
-
*
|
|
4993
|
+
* Retrieves the JSON-formatted content of a Flow.
|
|
4968
4994
|
*
|
|
4969
4995
|
* @remarks
|
|
4970
|
-
* - Before calling this operation, make sure that you have created a WhatsApp
|
|
4971
|
-
* - If you
|
|
4996
|
+
* - Before calling this operation, make sure that you have successfully created a WhatsApp Flow.
|
|
4997
|
+
* - If you do not have a successfully created WhatsApp Flow, create one by calling the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation.
|
|
4972
4998
|
* #### QPS limit
|
|
4973
|
-
*
|
|
4999
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4974
5000
|
*
|
|
4975
5001
|
* @param request - GetFlowJSONAssestRequest
|
|
4976
5002
|
* @returns GetFlowJSONAssestResponse
|
|
@@ -4980,14 +5006,14 @@ class Client extends openapi_core_1.default {
|
|
|
4980
5006
|
return await this.getFlowJSONAssestWithOptions(request, runtime);
|
|
4981
5007
|
}
|
|
4982
5008
|
/**
|
|
4983
|
-
*
|
|
5009
|
+
* Retrieves the preview URL of a Flow.
|
|
4984
5010
|
*
|
|
4985
5011
|
* @remarks
|
|
4986
|
-
* - After
|
|
4987
|
-
* - Before
|
|
4988
|
-
* - If you do not have a WhatsApp
|
|
5012
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5013
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5014
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
4989
5015
|
* #### QPS limit
|
|
4990
|
-
*
|
|
5016
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
4991
5017
|
*
|
|
4992
5018
|
* @param request - GetFlowPreviewUrlRequest
|
|
4993
5019
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5028,14 +5054,14 @@ class Client extends openapi_core_1.default {
|
|
|
5028
5054
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFlowPreviewUrlResponse({}));
|
|
5029
5055
|
}
|
|
5030
5056
|
/**
|
|
5031
|
-
*
|
|
5057
|
+
* Retrieves the preview URL of a Flow.
|
|
5032
5058
|
*
|
|
5033
5059
|
* @remarks
|
|
5034
|
-
* - After
|
|
5035
|
-
* - Before
|
|
5036
|
-
* - If you do not have a WhatsApp
|
|
5060
|
+
* - After creating a WhatsApp Flow, you can call this operation to retrieve the Flow preview URL to preview your Flow.
|
|
5061
|
+
* - Before calling this operation, make sure you have a successfully created WhatsApp Flow.
|
|
5062
|
+
* - If you do not have a successfully created WhatsApp Flow, call the [CreateFlow](https://help.aliyun.com/document_detail/2638742.html) operation to create one.
|
|
5037
5063
|
* #### QPS limit
|
|
5038
|
-
*
|
|
5064
|
+
* The single-user QPS limit for this operation is 5 calls per second. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5039
5065
|
*
|
|
5040
5066
|
* @param request - GetFlowPreviewUrlRequest
|
|
5041
5067
|
* @returns GetFlowPreviewUrlResponse
|
|
@@ -5045,7 +5071,7 @@ class Client extends openapi_core_1.default {
|
|
|
5045
5071
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5046
5072
|
}
|
|
5047
5073
|
/**
|
|
5048
|
-
*
|
|
5074
|
+
* Queries whether a group name already exists.
|
|
5049
5075
|
*
|
|
5050
5076
|
* @param tmpReq - GetGroupExistRequest
|
|
5051
5077
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5094,7 +5120,7 @@ class Client extends openapi_core_1.default {
|
|
|
5094
5120
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
5095
5121
|
}
|
|
5096
5122
|
/**
|
|
5097
|
-
*
|
|
5123
|
+
* Queries whether a group name already exists.
|
|
5098
5124
|
*
|
|
5099
5125
|
* @param request - GetGroupExistRequest
|
|
5100
5126
|
* @returns GetGroupExistResponse
|
|
@@ -5104,7 +5130,7 @@ class Client extends openapi_core_1.default {
|
|
|
5104
5130
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5105
5131
|
}
|
|
5106
5132
|
/**
|
|
5107
|
-
*
|
|
5133
|
+
* Queries budget metrics.
|
|
5108
5134
|
*
|
|
5109
5135
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5110
5136
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5151,7 +5177,7 @@ class Client extends openapi_core_1.default {
|
|
|
5151
5177
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessageCampaignInsightsResponse({}));
|
|
5152
5178
|
}
|
|
5153
5179
|
/**
|
|
5154
|
-
*
|
|
5180
|
+
* Queries budget metrics.
|
|
5155
5181
|
*
|
|
5156
5182
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5157
5183
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -5355,10 +5381,13 @@ class Client extends openapi_core_1.default {
|
|
|
5355
5381
|
* Retrieves the verification status of a phone number.
|
|
5356
5382
|
*
|
|
5357
5383
|
* @remarks
|
|
5358
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5359
|
-
*
|
|
5360
|
-
*
|
|
5361
|
-
* This operation
|
|
5384
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5385
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5386
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5387
|
+
* - 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.
|
|
5388
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5389
|
+
* - 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.
|
|
5390
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5362
5391
|
*
|
|
5363
5392
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5364
5393
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5402,10 +5431,13 @@ class Client extends openapi_core_1.default {
|
|
|
5402
5431
|
* Retrieves the verification status of a phone number.
|
|
5403
5432
|
*
|
|
5404
5433
|
* @remarks
|
|
5405
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the status
|
|
5406
|
-
*
|
|
5407
|
-
*
|
|
5408
|
-
* This operation
|
|
5434
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status in the
|
|
5435
|
+
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5436
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **Manage** > **WABA Management** > **Phone Number Management** page.
|
|
5437
|
+
* - 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.
|
|
5438
|
+
* - Before calling this operation, make sure that a phone number has been added to your WABA and that phone number verification has been submitted.
|
|
5439
|
+
* - 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.
|
|
5440
|
+
* The queries per second (QPS) limit for a single user on this operation is 10. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
5409
5441
|
*
|
|
5410
5442
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5411
5443
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5514,7 +5546,7 @@ class Client extends openapi_core_1.default {
|
|
|
5514
5546
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5515
5547
|
}
|
|
5516
5548
|
/**
|
|
5517
|
-
*
|
|
5549
|
+
* Queries an application form by request number.
|
|
5518
5550
|
*
|
|
5519
5551
|
* @param request - GetViberByRequestNoRequest
|
|
5520
5552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5555,7 +5587,7 @@ class Client extends openapi_core_1.default {
|
|
|
5555
5587
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5556
5588
|
}
|
|
5557
5589
|
/**
|
|
5558
|
-
*
|
|
5590
|
+
* Queries an application form by request number.
|
|
5559
5591
|
*
|
|
5560
5592
|
* @param request - GetViberByRequestNoRequest
|
|
5561
5593
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5565,7 +5597,7 @@ class Client extends openapi_core_1.default {
|
|
|
5565
5597
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5566
5598
|
}
|
|
5567
5599
|
/**
|
|
5568
|
-
*
|
|
5600
|
+
* Queries the number of times that a pause can be requested.
|
|
5569
5601
|
*
|
|
5570
5602
|
* @param request - GetViberPauseTimesRequest
|
|
5571
5603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5603,7 +5635,7 @@ class Client extends openapi_core_1.default {
|
|
|
5603
5635
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5604
5636
|
}
|
|
5605
5637
|
/**
|
|
5606
|
-
*
|
|
5638
|
+
* Queries the number of times that a pause can be requested.
|
|
5607
5639
|
*
|
|
5608
5640
|
* @param request - GetViberPauseTimesRequest
|
|
5609
5641
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5670,7 +5702,7 @@ class Client extends openapi_core_1.default {
|
|
|
5670
5702
|
return await this.getWhatsappConnectionCatalogWithOptions(request, runtime);
|
|
5671
5703
|
}
|
|
5672
5704
|
/**
|
|
5673
|
-
*
|
|
5705
|
+
* Retrieves the embedded authorization page.
|
|
5674
5706
|
*
|
|
5675
5707
|
* @param request - GetWhatsappConversionApiRequest
|
|
5676
5708
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5708,7 +5740,7 @@ class Client extends openapi_core_1.default {
|
|
|
5708
5740
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappConversionApiResponse({}));
|
|
5709
5741
|
}
|
|
5710
5742
|
/**
|
|
5711
|
-
*
|
|
5743
|
+
* Retrieves the embedded authorization page.
|
|
5712
5744
|
*
|
|
5713
5745
|
* @param request - GetWhatsappConversionApiRequest
|
|
5714
5746
|
* @returns GetWhatsappConversionApiResponse
|
|
@@ -5935,7 +5967,7 @@ class Client extends openapi_core_1.default {
|
|
|
5935
5967
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
5936
5968
|
}
|
|
5937
5969
|
/**
|
|
5938
|
-
*
|
|
5970
|
+
* Queries a list of groups.
|
|
5939
5971
|
*
|
|
5940
5972
|
* @param tmpReq - ListAllGroupsRequest
|
|
5941
5973
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5981,7 +6013,7 @@ class Client extends openapi_core_1.default {
|
|
|
5981
6013
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllGroupsResponse({}));
|
|
5982
6014
|
}
|
|
5983
6015
|
/**
|
|
5984
|
-
*
|
|
6016
|
+
* Queries a list of groups.
|
|
5985
6017
|
*
|
|
5986
6018
|
* @param request - ListAllGroupsRequest
|
|
5987
6019
|
* @returns ListAllGroupsResponse
|
|
@@ -5991,7 +6023,7 @@ class Client extends openapi_core_1.default {
|
|
|
5991
6023
|
return await this.listAllGroupsWithOptions(request, runtime);
|
|
5992
6024
|
}
|
|
5993
6025
|
/**
|
|
5994
|
-
*
|
|
6026
|
+
* Queries the bound DM account.
|
|
5995
6027
|
*
|
|
5996
6028
|
* @param request - ListBindDmAccountRequest
|
|
5997
6029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6029,7 +6061,7 @@ class Client extends openapi_core_1.default {
|
|
|
6029
6061
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindDmAccountResponse({}));
|
|
6030
6062
|
}
|
|
6031
6063
|
/**
|
|
6032
|
-
*
|
|
6064
|
+
* Queries the bound DM account.
|
|
6033
6065
|
*
|
|
6034
6066
|
* @param request - ListBindDmAccountRequest
|
|
6035
6067
|
* @returns ListBindDmAccountResponse
|
|
@@ -6039,12 +6071,12 @@ class Client extends openapi_core_1.default {
|
|
|
6039
6071
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
6040
6072
|
}
|
|
6041
6073
|
/**
|
|
6042
|
-
* Queries the phone numbers or business account IDs
|
|
6074
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6043
6075
|
*
|
|
6044
6076
|
* @remarks
|
|
6045
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6046
|
-
* - Before
|
|
6047
|
-
* - If
|
|
6077
|
+
* - 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**.
|
|
6078
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6079
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6048
6080
|
*
|
|
6049
6081
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6050
6082
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6085,12 +6117,12 @@ class Client extends openapi_core_1.default {
|
|
|
6085
6117
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
6086
6118
|
}
|
|
6087
6119
|
/**
|
|
6088
|
-
* Queries the phone numbers or business account IDs
|
|
6120
|
+
* Queries the list of phone numbers or business account IDs bound to a flow based on the flow code.
|
|
6089
6121
|
*
|
|
6090
6122
|
* @remarks
|
|
6091
|
-
* - You can call this operation to query the phone numbers or business account IDs
|
|
6092
|
-
* - Before
|
|
6093
|
-
* - If
|
|
6123
|
+
* - 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**.
|
|
6124
|
+
* - Before calling this operation, make sure that your flow is already bound to phone numbers or business account IDs.
|
|
6125
|
+
* - If your flow is not bound to phone numbers or business account IDs, manually bind them in [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) > **Settings**, or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation to bind them.
|
|
6094
6126
|
*
|
|
6095
6127
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6096
6128
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6105,8 +6137,8 @@ class Client extends openapi_core_1.default {
|
|
|
6105
6137
|
* @remarks
|
|
6106
6138
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6107
6139
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6108
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
6109
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6140
|
+
* - 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.
|
|
6141
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6110
6142
|
*
|
|
6111
6143
|
* @param tmpReq - ListChatFlowRequest
|
|
6112
6144
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6126,6 +6158,12 @@ class Client extends openapi_core_1.default {
|
|
|
6126
6158
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
6127
6159
|
query["BizExtend"] = request.bizExtendShrink;
|
|
6128
6160
|
}
|
|
6161
|
+
if (!$dara.isNull(request.flowCode)) {
|
|
6162
|
+
query["FlowCode"] = request.flowCode;
|
|
6163
|
+
}
|
|
6164
|
+
if (!$dara.isNull(request.flowStatus)) {
|
|
6165
|
+
query["FlowStatus"] = request.flowStatus;
|
|
6166
|
+
}
|
|
6129
6167
|
if (!$dara.isNull(request.flowTriggerType)) {
|
|
6130
6168
|
query["FlowTriggerType"] = request.flowTriggerType;
|
|
6131
6169
|
}
|
|
@@ -6141,6 +6179,9 @@ class Client extends openapi_core_1.default {
|
|
|
6141
6179
|
if (!$dara.isNull(request.pageSize)) {
|
|
6142
6180
|
query["PageSize"] = request.pageSize;
|
|
6143
6181
|
}
|
|
6182
|
+
if (!$dara.isNull(request.phoneNumber)) {
|
|
6183
|
+
query["PhoneNumber"] = request.phoneNumber;
|
|
6184
|
+
}
|
|
6144
6185
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
6145
6186
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
6146
6187
|
}
|
|
@@ -6153,6 +6194,9 @@ class Client extends openapi_core_1.default {
|
|
|
6153
6194
|
if (!$dara.isNull(request.status)) {
|
|
6154
6195
|
query["Status"] = request.status;
|
|
6155
6196
|
}
|
|
6197
|
+
if (!$dara.isNull(request.title)) {
|
|
6198
|
+
query["Title"] = request.title;
|
|
6199
|
+
}
|
|
6156
6200
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6157
6201
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6158
6202
|
});
|
|
@@ -6175,8 +6219,8 @@ class Client extends openapi_core_1.default {
|
|
|
6175
6219
|
* @remarks
|
|
6176
6220
|
* - You can call this operation to query flows, or manually query flows in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6177
6221
|
* - Before calling this operation, make sure that you have successfully created flows.
|
|
6178
|
-
* - If you do not have any successfully created flows, manually create a flow in the [Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or
|
|
6179
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6222
|
+
* - 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.
|
|
6223
|
+
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify them, all flows are queried.
|
|
6180
6224
|
*
|
|
6181
6225
|
* @param request - ListChatFlowRequest
|
|
6182
6226
|
* @returns ListChatFlowResponse
|
|
@@ -6189,8 +6233,8 @@ class Client extends openapi_core_1.default {
|
|
|
6189
6233
|
* Lists flow templates.
|
|
6190
6234
|
*
|
|
6191
6235
|
* @remarks
|
|
6192
|
-
* - You can call this operation to
|
|
6193
|
-
* -
|
|
6236
|
+
* - 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.
|
|
6237
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6194
6238
|
*
|
|
6195
6239
|
* @param request - ListChatFlowTemplateRequest
|
|
6196
6240
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6243,8 +6287,8 @@ class Client extends openapi_core_1.default {
|
|
|
6243
6287
|
* Lists flow templates.
|
|
6244
6288
|
*
|
|
6245
6289
|
* @remarks
|
|
6246
|
-
* - You can call this operation to
|
|
6247
|
-
* -
|
|
6290
|
+
* - 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.
|
|
6291
|
+
* - The optional parameters in this operation are filter conditions for the template list. If not specified, all templates are queried.
|
|
6248
6292
|
*
|
|
6249
6293
|
* @param request - ListChatFlowTemplateRequest
|
|
6250
6294
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6340,13 +6384,12 @@ class Client extends openapi_core_1.default {
|
|
|
6340
6384
|
return await this.listChatGroupWithOptions(request, runtime);
|
|
6341
6385
|
}
|
|
6342
6386
|
/**
|
|
6343
|
-
*
|
|
6387
|
+
* Retrieves the member list of an IM group.
|
|
6344
6388
|
*
|
|
6345
6389
|
* @remarks
|
|
6346
|
-
* >Notice:
|
|
6347
|
-
*
|
|
6348
|
-
* -
|
|
6349
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
6390
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6391
|
+
* - 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.
|
|
6392
|
+
* - If you do not have a created IM group, use the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
6350
6393
|
*
|
|
6351
6394
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6352
6395
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6401,13 +6444,12 @@ class Client extends openapi_core_1.default {
|
|
|
6401
6444
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupParticipantsResponse({}));
|
|
6402
6445
|
}
|
|
6403
6446
|
/**
|
|
6404
|
-
*
|
|
6447
|
+
* Retrieves the member list of an IM group.
|
|
6405
6448
|
*
|
|
6406
6449
|
* @remarks
|
|
6407
|
-
* >Notice:
|
|
6408
|
-
*
|
|
6409
|
-
* -
|
|
6410
|
-
* - To create an IM group and add an invitation link, call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations.
|
|
6450
|
+
* >Notice: The feature of retrieving IM group member lists through API is a Meta beta feature. Contact your account manager to apply for access.
|
|
6451
|
+
* - 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.
|
|
6452
|
+
* - If you do not have a created IM group, use the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invitation link.
|
|
6411
6453
|
*
|
|
6412
6454
|
* @param request - ListChatGroupParticipantsRequest
|
|
6413
6455
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6421,7 +6463,7 @@ class Client extends openapi_core_1.default {
|
|
|
6421
6463
|
*
|
|
6422
6464
|
* @remarks
|
|
6423
6465
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6424
|
-
* - This operation
|
|
6466
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
6425
6467
|
* - 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.
|
|
6426
6468
|
*
|
|
6427
6469
|
* @param tmpReq - ListChatappMessageRequest
|
|
@@ -6508,7 +6550,7 @@ class Client extends openapi_core_1.default {
|
|
|
6508
6550
|
*
|
|
6509
6551
|
* @remarks
|
|
6510
6552
|
* - You can call this operation to query the message list. You can also view the message list in the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** console.
|
|
6511
|
-
* - This operation
|
|
6553
|
+
* - This API operation supports querying the message list only for WhatsApp<props="intl"> and Viber channels.
|
|
6512
6554
|
* - 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.
|
|
6513
6555
|
*
|
|
6514
6556
|
* @param request - ListChatappMessageRequest
|
|
@@ -6519,11 +6561,11 @@ class Client extends openapi_core_1.default {
|
|
|
6519
6561
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6520
6562
|
}
|
|
6521
6563
|
/**
|
|
6522
|
-
*
|
|
6564
|
+
* Retrieves a list of message templates.
|
|
6523
6565
|
*
|
|
6524
6566
|
* @remarks
|
|
6525
6567
|
* ### QPS limit
|
|
6526
|
-
*
|
|
6568
|
+
* 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.
|
|
6527
6569
|
*
|
|
6528
6570
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6529
6571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6593,11 +6635,11 @@ class Client extends openapi_core_1.default {
|
|
|
6593
6635
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6594
6636
|
}
|
|
6595
6637
|
/**
|
|
6596
|
-
*
|
|
6638
|
+
* Retrieves a list of message templates.
|
|
6597
6639
|
*
|
|
6598
6640
|
* @remarks
|
|
6599
6641
|
* ### QPS limit
|
|
6600
|
-
*
|
|
6642
|
+
* 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.
|
|
6601
6643
|
*
|
|
6602
6644
|
* @param request - ListChatappTemplateRequest
|
|
6603
6645
|
* @returns ListChatappTemplateResponse
|
|
@@ -6607,7 +6649,7 @@ class Client extends openapi_core_1.default {
|
|
|
6607
6649
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
6608
6650
|
}
|
|
6609
6651
|
/**
|
|
6610
|
-
* Queries a
|
|
6652
|
+
* Queries a custom audience list.
|
|
6611
6653
|
*
|
|
6612
6654
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6613
6655
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6668,7 +6710,7 @@ class Client extends openapi_core_1.default {
|
|
|
6668
6710
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAudienceResponse({}));
|
|
6669
6711
|
}
|
|
6670
6712
|
/**
|
|
6671
|
-
* Queries a
|
|
6713
|
+
* Queries a custom audience list.
|
|
6672
6714
|
*
|
|
6673
6715
|
* @param request - ListCustomAudienceRequest
|
|
6674
6716
|
* @returns ListCustomAudienceResponse
|
|
@@ -6678,7 +6720,7 @@ class Client extends openapi_core_1.default {
|
|
|
6678
6720
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6679
6721
|
}
|
|
6680
6722
|
/**
|
|
6681
|
-
* Queries the DirectMail accounts under your
|
|
6723
|
+
* Queries the DirectMail accounts under your account.
|
|
6682
6724
|
*
|
|
6683
6725
|
* @param request - ListDmAccountRequest
|
|
6684
6726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6725,7 +6767,7 @@ class Client extends openapi_core_1.default {
|
|
|
6725
6767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6726
6768
|
}
|
|
6727
6769
|
/**
|
|
6728
|
-
* Queries the DirectMail accounts under your
|
|
6770
|
+
* Queries the DirectMail accounts under your account.
|
|
6729
6771
|
*
|
|
6730
6772
|
* @param request - ListDmAccountRequest
|
|
6731
6773
|
* @returns ListDmAccountResponse
|
|
@@ -6735,7 +6777,7 @@ class Client extends openapi_core_1.default {
|
|
|
6735
6777
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6736
6778
|
}
|
|
6737
6779
|
/**
|
|
6738
|
-
*
|
|
6780
|
+
* Queries the tags of DM.
|
|
6739
6781
|
*
|
|
6740
6782
|
* @param request - ListDmTagRequest
|
|
6741
6783
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6779,7 +6821,7 @@ class Client extends openapi_core_1.default {
|
|
|
6779
6821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6780
6822
|
}
|
|
6781
6823
|
/**
|
|
6782
|
-
*
|
|
6824
|
+
* Queries the tags of DM.
|
|
6783
6825
|
*
|
|
6784
6826
|
* @param request - ListDmTagRequest
|
|
6785
6827
|
* @returns ListDmTagResponse
|
|
@@ -6837,10 +6879,10 @@ class Client extends openapi_core_1.default {
|
|
|
6837
6879
|
return await this.listFacebookPostsWithOptions(request, runtime);
|
|
6838
6880
|
}
|
|
6839
6881
|
/**
|
|
6840
|
-
*
|
|
6882
|
+
* Queries the list of Flows.
|
|
6841
6883
|
*
|
|
6842
6884
|
* @remarks
|
|
6843
|
-
*
|
|
6885
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6844
6886
|
*
|
|
6845
6887
|
* @param tmpReq - ListFlowRequest
|
|
6846
6888
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6889,10 +6931,10 @@ class Client extends openapi_core_1.default {
|
|
|
6889
6931
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFlowResponse({}));
|
|
6890
6932
|
}
|
|
6891
6933
|
/**
|
|
6892
|
-
*
|
|
6934
|
+
* Queries the list of Flows.
|
|
6893
6935
|
*
|
|
6894
6936
|
* @remarks
|
|
6895
|
-
*
|
|
6937
|
+
* The China Message Service API has a single-user QPS limit of 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
6896
6938
|
*
|
|
6897
6939
|
* @param request - ListFlowRequest
|
|
6898
6940
|
* @returns ListFlowResponse
|
|
@@ -6956,8 +6998,8 @@ class Client extends openapi_core_1.default {
|
|
|
6956
6998
|
* Lists flow component prototypes.
|
|
6957
6999
|
*
|
|
6958
7000
|
* @remarks
|
|
6959
|
-
* - You can call this
|
|
6960
|
-
* -
|
|
7001
|
+
* - 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.
|
|
7002
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
6961
7003
|
*
|
|
6962
7004
|
* @param request - ListFlowNodePrototypeV2Request
|
|
6963
7005
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7010,8 +7052,8 @@ class Client extends openapi_core_1.default {
|
|
|
7010
7052
|
* Lists flow component prototypes.
|
|
7011
7053
|
*
|
|
7012
7054
|
* @remarks
|
|
7013
|
-
* - You can call this
|
|
7014
|
-
* -
|
|
7055
|
+
* - 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.
|
|
7056
|
+
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify them, all flow component prototypes are queried.
|
|
7015
7057
|
*
|
|
7016
7058
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7017
7059
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7024,10 +7066,10 @@ class Client extends openapi_core_1.default {
|
|
|
7024
7066
|
* Lists flow versions.
|
|
7025
7067
|
*
|
|
7026
7068
|
* @remarks
|
|
7027
|
-
* - You can call this
|
|
7028
|
-
* - Before calling this
|
|
7029
|
-
* - If you
|
|
7030
|
-
* - The optional parameters
|
|
7069
|
+
* - 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.
|
|
7070
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7071
|
+
* - 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.
|
|
7072
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7031
7073
|
*
|
|
7032
7074
|
* @param tmpReq - ListFlowVersionRequest
|
|
7033
7075
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7088,10 +7130,10 @@ class Client extends openapi_core_1.default {
|
|
|
7088
7130
|
* Lists flow versions.
|
|
7089
7131
|
*
|
|
7090
7132
|
* @remarks
|
|
7091
|
-
* - You can call this
|
|
7092
|
-
* - Before calling this
|
|
7093
|
-
* - If you
|
|
7094
|
-
* - The optional parameters
|
|
7133
|
+
* - 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.
|
|
7134
|
+
* - Before calling this operation, make sure that you have a successfully created flow.
|
|
7135
|
+
* - 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.
|
|
7136
|
+
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify them, all flow versions are queried.
|
|
7095
7137
|
*
|
|
7096
7138
|
* @param request - ListFlowVersionRequest
|
|
7097
7139
|
* @returns ListFlowVersionResponse
|
|
@@ -7149,7 +7191,7 @@ class Client extends openapi_core_1.default {
|
|
|
7149
7191
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
7150
7192
|
}
|
|
7151
7193
|
/**
|
|
7152
|
-
*
|
|
7194
|
+
* Queries the list of Instagram posts.
|
|
7153
7195
|
*
|
|
7154
7196
|
* @param request - ListInstagramPostsRequest
|
|
7155
7197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7187,7 +7229,7 @@ class Client extends openapi_core_1.default {
|
|
|
7187
7229
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
7188
7230
|
}
|
|
7189
7231
|
/**
|
|
7190
|
-
*
|
|
7232
|
+
* Queries the list of Instagram posts.
|
|
7191
7233
|
*
|
|
7192
7234
|
* @param request - ListInstagramPostsRequest
|
|
7193
7235
|
* @returns ListInstagramPostsResponse
|
|
@@ -7197,7 +7239,7 @@ class Client extends openapi_core_1.default {
|
|
|
7197
7239
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
7198
7240
|
}
|
|
7199
7241
|
/**
|
|
7200
|
-
*
|
|
7242
|
+
* Queries a list of instances.
|
|
7201
7243
|
*
|
|
7202
7244
|
* @param request - ListInstanceRequest
|
|
7203
7245
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7206,6 +7248,9 @@ class Client extends openapi_core_1.default {
|
|
|
7206
7248
|
async listInstanceWithOptions(request, runtime) {
|
|
7207
7249
|
request.validate();
|
|
7208
7250
|
let query = {};
|
|
7251
|
+
if (!$dara.isNull(request.bindId)) {
|
|
7252
|
+
query["BindId"] = request.bindId;
|
|
7253
|
+
}
|
|
7209
7254
|
if (!$dara.isNull(request.channelType)) {
|
|
7210
7255
|
query["ChannelType"] = request.channelType;
|
|
7211
7256
|
}
|
|
@@ -7218,6 +7263,9 @@ class Client extends openapi_core_1.default {
|
|
|
7218
7263
|
if (!$dara.isNull(request.instanceName)) {
|
|
7219
7264
|
query["InstanceName"] = request.instanceName;
|
|
7220
7265
|
}
|
|
7266
|
+
if (!$dara.isNull(request.isBind)) {
|
|
7267
|
+
query["IsBind"] = request.isBind;
|
|
7268
|
+
}
|
|
7221
7269
|
if (!$dara.isNull(request.pageIndex)) {
|
|
7222
7270
|
query["PageIndex"] = request.pageIndex;
|
|
7223
7271
|
}
|
|
@@ -7247,7 +7295,7 @@ class Client extends openapi_core_1.default {
|
|
|
7247
7295
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
7248
7296
|
}
|
|
7249
7297
|
/**
|
|
7250
|
-
*
|
|
7298
|
+
* Queries a list of instances.
|
|
7251
7299
|
*
|
|
7252
7300
|
* @param request - ListInstanceRequest
|
|
7253
7301
|
* @returns ListInstanceResponse
|
|
@@ -7257,7 +7305,7 @@ class Client extends openapi_core_1.default {
|
|
|
7257
7305
|
return await this.listInstanceWithOptions(request, runtime);
|
|
7258
7306
|
}
|
|
7259
7307
|
/**
|
|
7260
|
-
* Queries a list of
|
|
7308
|
+
* Queries a list of campaigns.
|
|
7261
7309
|
*
|
|
7262
7310
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7263
7311
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7324,7 +7372,7 @@ class Client extends openapi_core_1.default {
|
|
|
7324
7372
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
7325
7373
|
}
|
|
7326
7374
|
/**
|
|
7327
|
-
* Queries a list of
|
|
7375
|
+
* Queries a list of campaigns.
|
|
7328
7376
|
*
|
|
7329
7377
|
* @param request - ListMarketingFlowRequest
|
|
7330
7378
|
* @returns ListMarketingFlowResponse
|
|
@@ -7334,7 +7382,7 @@ class Client extends openapi_core_1.default {
|
|
|
7334
7382
|
return await this.listMarketingFlowWithOptions(request, runtime);
|
|
7335
7383
|
}
|
|
7336
7384
|
/**
|
|
7337
|
-
*
|
|
7385
|
+
* Queries the budget list.
|
|
7338
7386
|
*
|
|
7339
7387
|
* @param tmpReq - ListMessageCampaignRequest
|
|
7340
7388
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7395,7 +7443,7 @@ class Client extends openapi_core_1.default {
|
|
|
7395
7443
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMessageCampaignResponse({}));
|
|
7396
7444
|
}
|
|
7397
7445
|
/**
|
|
7398
|
-
*
|
|
7446
|
+
* Queries the budget list.
|
|
7399
7447
|
*
|
|
7400
7448
|
* @param request - ListMessageCampaignRequest
|
|
7401
7449
|
* @returns ListMessageCampaignResponse
|
|
@@ -7522,7 +7570,7 @@ class Client extends openapi_core_1.default {
|
|
|
7522
7570
|
* Queries the list of message QR codes.
|
|
7523
7571
|
*
|
|
7524
7572
|
* @remarks
|
|
7525
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
7573
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7526
7574
|
*
|
|
7527
7575
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7528
7576
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7566,7 +7614,7 @@ class Client extends openapi_core_1.default {
|
|
|
7566
7614
|
* Queries the list of message QR codes.
|
|
7567
7615
|
*
|
|
7568
7616
|
* @remarks
|
|
7569
|
-
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation as
|
|
7617
|
+
* The queries per second (QPS) limit for this operation is 5 per user. If this limit is exceeded, the API calls are throttled, which may affect your business. Call this operation as needed.
|
|
7570
7618
|
*
|
|
7571
7619
|
* @param request - ListPhoneMessageQrdlRequest
|
|
7572
7620
|
* @returns ListPhoneMessageQrdlResponse
|
|
@@ -7648,10 +7696,10 @@ class Client extends openapi_core_1.default {
|
|
|
7648
7696
|
return await this.listProductWithOptions(request, runtime);
|
|
7649
7697
|
}
|
|
7650
7698
|
/**
|
|
7651
|
-
* Queries the
|
|
7699
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7652
7700
|
*
|
|
7653
7701
|
* @remarks
|
|
7654
|
-
* The
|
|
7702
|
+
* 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.
|
|
7655
7703
|
*
|
|
7656
7704
|
* @param request - ListProductCatalogRequest
|
|
7657
7705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7704,10 +7752,10 @@ class Client extends openapi_core_1.default {
|
|
|
7704
7752
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7705
7753
|
}
|
|
7706
7754
|
/**
|
|
7707
|
-
* Queries the
|
|
7755
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7708
7756
|
*
|
|
7709
7757
|
* @remarks
|
|
7710
|
-
* The
|
|
7758
|
+
* 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.
|
|
7711
7759
|
*
|
|
7712
7760
|
* @param request - ListProductCatalogRequest
|
|
7713
7761
|
* @returns ListProductCatalogResponse
|
|
@@ -7717,7 +7765,7 @@ class Client extends openapi_core_1.default {
|
|
|
7717
7765
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7718
7766
|
}
|
|
7719
7767
|
/**
|
|
7720
|
-
*
|
|
7768
|
+
* Displays the Viber service number card for an application form.
|
|
7721
7769
|
*
|
|
7722
7770
|
* @param request - ListViberServiceMessageRequest
|
|
7723
7771
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7755,7 +7803,7 @@ class Client extends openapi_core_1.default {
|
|
|
7755
7803
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7756
7804
|
}
|
|
7757
7805
|
/**
|
|
7758
|
-
*
|
|
7806
|
+
* Displays the Viber service number card for an application form.
|
|
7759
7807
|
*
|
|
7760
7808
|
* @param request - ListViberServiceMessageRequest
|
|
7761
7809
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7765,7 +7813,7 @@ class Client extends openapi_core_1.default {
|
|
|
7765
7813
|
return await this.listViberServiceMessageWithOptions(request, runtime);
|
|
7766
7814
|
}
|
|
7767
7815
|
/**
|
|
7768
|
-
*
|
|
7816
|
+
* Queries a list of templates.
|
|
7769
7817
|
*
|
|
7770
7818
|
* @param request - ListWhatAppTemplateRequest
|
|
7771
7819
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7797,7 +7845,7 @@ class Client extends openapi_core_1.default {
|
|
|
7797
7845
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWhatAppTemplateResponse({}));
|
|
7798
7846
|
}
|
|
7799
7847
|
/**
|
|
7800
|
-
*
|
|
7848
|
+
* Queries a list of templates.
|
|
7801
7849
|
*
|
|
7802
7850
|
* @param request - ListWhatAppTemplateRequest
|
|
7803
7851
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -7807,13 +7855,13 @@ class Client extends openapi_core_1.default {
|
|
|
7807
7855
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7808
7856
|
}
|
|
7809
7857
|
/**
|
|
7810
|
-
* Modifies a message template. Only templates that
|
|
7858
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7811
7859
|
*
|
|
7812
7860
|
* @remarks
|
|
7813
7861
|
* ### QPS limit
|
|
7814
|
-
* The
|
|
7862
|
+
* 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.
|
|
7815
7863
|
* ### Status changes
|
|
7816
|
-
*
|
|
7864
|
+
* 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).
|
|
7817
7865
|
*
|
|
7818
7866
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7819
7867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7829,45 +7877,48 @@ class Client extends openapi_core_1.default {
|
|
|
7829
7877
|
if (!$dara.isNull(tmpReq.example)) {
|
|
7830
7878
|
request.exampleShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.example, "Example", "json");
|
|
7831
7879
|
}
|
|
7832
|
-
let
|
|
7880
|
+
let query = {};
|
|
7833
7881
|
if (!$dara.isNull(request.category)) {
|
|
7834
|
-
|
|
7882
|
+
query["Category"] = request.category;
|
|
7835
7883
|
}
|
|
7836
7884
|
if (!$dara.isNull(request.categoryChangePaused)) {
|
|
7837
|
-
|
|
7885
|
+
query["CategoryChangePaused"] = request.categoryChangePaused;
|
|
7838
7886
|
}
|
|
7839
7887
|
if (!$dara.isNull(request.componentsShrink)) {
|
|
7840
|
-
|
|
7888
|
+
query["Components"] = request.componentsShrink;
|
|
7841
7889
|
}
|
|
7842
7890
|
if (!$dara.isNull(request.custSpaceId)) {
|
|
7843
|
-
|
|
7891
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
7844
7892
|
}
|
|
7845
7893
|
if (!$dara.isNull(request.custWabaId)) {
|
|
7846
|
-
|
|
7894
|
+
query["CustWabaId"] = request.custWabaId;
|
|
7847
7895
|
}
|
|
7848
7896
|
if (!$dara.isNull(request.exampleShrink)) {
|
|
7849
|
-
|
|
7897
|
+
query["Example"] = request.exampleShrink;
|
|
7850
7898
|
}
|
|
7851
7899
|
if (!$dara.isNull(request.isvCode)) {
|
|
7852
|
-
|
|
7900
|
+
query["IsvCode"] = request.isvCode;
|
|
7853
7901
|
}
|
|
7854
7902
|
if (!$dara.isNull(request.language)) {
|
|
7855
|
-
|
|
7903
|
+
query["Language"] = request.language;
|
|
7856
7904
|
}
|
|
7857
7905
|
if (!$dara.isNull(request.messageSendTtlSeconds)) {
|
|
7858
|
-
|
|
7906
|
+
query["MessageSendTtlSeconds"] = request.messageSendTtlSeconds;
|
|
7907
|
+
}
|
|
7908
|
+
if (!$dara.isNull(request.productSetId)) {
|
|
7909
|
+
query["ProductSetId"] = request.productSetId;
|
|
7859
7910
|
}
|
|
7860
7911
|
if (!$dara.isNull(request.templateCode)) {
|
|
7861
|
-
|
|
7912
|
+
query["TemplateCode"] = request.templateCode;
|
|
7862
7913
|
}
|
|
7863
7914
|
if (!$dara.isNull(request.templateName)) {
|
|
7864
|
-
|
|
7915
|
+
query["TemplateName"] = request.templateName;
|
|
7865
7916
|
}
|
|
7866
7917
|
if (!$dara.isNull(request.templateType)) {
|
|
7867
|
-
|
|
7918
|
+
query["TemplateType"] = request.templateType;
|
|
7868
7919
|
}
|
|
7869
7920
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7870
|
-
|
|
7921
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
7871
7922
|
});
|
|
7872
7923
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7873
7924
|
action: "ModifyChatappTemplate",
|
|
@@ -7883,13 +7934,13 @@ class Client extends openapi_core_1.default {
|
|
|
7883
7934
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7884
7935
|
}
|
|
7885
7936
|
/**
|
|
7886
|
-
* Modifies a message template. Only templates that
|
|
7937
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7887
7938
|
*
|
|
7888
7939
|
* @remarks
|
|
7889
7940
|
* ### QPS limit
|
|
7890
|
-
* The
|
|
7941
|
+
* 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.
|
|
7891
7942
|
* ### Status changes
|
|
7892
|
-
*
|
|
7943
|
+
* 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).
|
|
7893
7944
|
*
|
|
7894
7945
|
* @param request - ModifyChatappTemplateRequest
|
|
7895
7946
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -8116,7 +8167,7 @@ class Client extends openapi_core_1.default {
|
|
|
8116
8167
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8117
8168
|
}
|
|
8118
8169
|
/**
|
|
8119
|
-
*
|
|
8170
|
+
* Modifies the group associations of contacts.
|
|
8120
8171
|
*
|
|
8121
8172
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8122
8173
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8171,7 +8222,7 @@ class Client extends openapi_core_1.default {
|
|
|
8171
8222
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
8172
8223
|
}
|
|
8173
8224
|
/**
|
|
8174
|
-
*
|
|
8225
|
+
* Modifies the group associations of contacts.
|
|
8175
8226
|
*
|
|
8176
8227
|
* @param request - MoveContactToGroupRequest
|
|
8177
8228
|
* @returns MoveContactToGroupResponse
|
|
@@ -8181,13 +8232,13 @@ class Client extends openapi_core_1.default {
|
|
|
8181
8232
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
8182
8233
|
}
|
|
8183
8234
|
/**
|
|
8184
|
-
*
|
|
8235
|
+
* Takes a flow version offline.
|
|
8185
8236
|
*
|
|
8186
8237
|
* @remarks
|
|
8187
|
-
* - You can call this operation to
|
|
8188
|
-
* - Before calling this operation, make sure that the flow is
|
|
8189
|
-
* - If
|
|
8190
|
-
* - After a flow version is
|
|
8238
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8239
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8240
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
8241
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8191
8242
|
*
|
|
8192
8243
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8193
8244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8242,13 +8293,13 @@ class Client extends openapi_core_1.default {
|
|
|
8242
8293
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
8243
8294
|
}
|
|
8244
8295
|
/**
|
|
8245
|
-
*
|
|
8296
|
+
* Takes a flow version offline.
|
|
8246
8297
|
*
|
|
8247
8298
|
* @remarks
|
|
8248
|
-
* - You can call this operation to
|
|
8249
|
-
* - Before calling this operation, make sure that the flow is
|
|
8250
|
-
* - If
|
|
8251
|
-
* - After a flow version is
|
|
8299
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8300
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8301
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version online, or call the [OnlineFlowVersion](https://help.aliyun.com/document_detail/2937203.html) operation to take the flow version online.
|
|
8302
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8252
8303
|
*
|
|
8253
8304
|
* @param request - OfflineFlowVersionRequest
|
|
8254
8305
|
* @returns OfflineFlowVersionResponse
|
|
@@ -8261,10 +8312,10 @@ class Client extends openapi_core_1.default {
|
|
|
8261
8312
|
* Publishes a flow version.
|
|
8262
8313
|
*
|
|
8263
8314
|
* @remarks
|
|
8264
|
-
* - You can call this operation to publish a flow version. You can also
|
|
8265
|
-
* - Before
|
|
8266
|
-
* - If you
|
|
8267
|
-
* - After a flow with a non-manual trigger is published,
|
|
8315
|
+
* - 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.
|
|
8316
|
+
* - 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.
|
|
8317
|
+
* - 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.
|
|
8318
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
8268
8319
|
*
|
|
8269
8320
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8270
8321
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8322,10 +8373,10 @@ class Client extends openapi_core_1.default {
|
|
|
8322
8373
|
* Publishes a flow version.
|
|
8323
8374
|
*
|
|
8324
8375
|
* @remarks
|
|
8325
|
-
* - You can call this operation to publish a flow version. You can also
|
|
8326
|
-
* - Before
|
|
8327
|
-
* - If you
|
|
8328
|
-
* - After a flow with a non-manual trigger is published,
|
|
8376
|
+
* - 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.
|
|
8377
|
+
* - 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.
|
|
8378
|
+
* - 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.
|
|
8379
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending or function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
8329
8380
|
*
|
|
8330
8381
|
* @param request - OnlineFlowVersionRequest
|
|
8331
8382
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8335,7 +8386,7 @@ class Client extends openapi_core_1.default {
|
|
|
8335
8386
|
return await this.onlineFlowVersionWithOptions(request, runtime);
|
|
8336
8387
|
}
|
|
8337
8388
|
/**
|
|
8338
|
-
*
|
|
8389
|
+
* Activates the Chat App Message Service.
|
|
8339
8390
|
*
|
|
8340
8391
|
* @param request - OpenChatappServiceRequest
|
|
8341
8392
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8370,7 +8421,7 @@ class Client extends openapi_core_1.default {
|
|
|
8370
8421
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OpenChatappServiceResponse({}));
|
|
8371
8422
|
}
|
|
8372
8423
|
/**
|
|
8373
|
-
*
|
|
8424
|
+
* Activates the Chat App Message Service.
|
|
8374
8425
|
*
|
|
8375
8426
|
* @param request - OpenChatappServiceRequest
|
|
8376
8427
|
* @returns OpenChatappServiceResponse
|
|
@@ -8380,7 +8431,7 @@ class Client extends openapi_core_1.default {
|
|
|
8380
8431
|
return await this.openChatappServiceWithOptions(request, runtime);
|
|
8381
8432
|
}
|
|
8382
8433
|
/**
|
|
8383
|
-
*
|
|
8434
|
+
* Pauses a service.
|
|
8384
8435
|
*
|
|
8385
8436
|
* @param request - PauseMarketingFLowRequest
|
|
8386
8437
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8421,7 +8472,7 @@ class Client extends openapi_core_1.default {
|
|
|
8421
8472
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PauseMarketingFLowResponse({}));
|
|
8422
8473
|
}
|
|
8423
8474
|
/**
|
|
8424
|
-
*
|
|
8475
|
+
* Pauses a service.
|
|
8425
8476
|
*
|
|
8426
8477
|
* @param request - PauseMarketingFLowRequest
|
|
8427
8478
|
* @returns PauseMarketingFLowResponse
|
|
@@ -8494,10 +8545,10 @@ class Client extends openapi_core_1.default {
|
|
|
8494
8545
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8495
8546
|
}
|
|
8496
8547
|
/**
|
|
8497
|
-
* Queries the
|
|
8548
|
+
* Queries the WABA bound to a customer.
|
|
8498
8549
|
*
|
|
8499
8550
|
* @remarks
|
|
8500
|
-
*
|
|
8551
|
+
* 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.
|
|
8501
8552
|
*
|
|
8502
8553
|
* @param request - QueryChatappBindWabaRequest
|
|
8503
8554
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8538,10 +8589,10 @@ class Client extends openapi_core_1.default {
|
|
|
8538
8589
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappBindWabaResponse({}));
|
|
8539
8590
|
}
|
|
8540
8591
|
/**
|
|
8541
|
-
* Queries the
|
|
8592
|
+
* Queries the WABA bound to a customer.
|
|
8542
8593
|
*
|
|
8543
8594
|
* @remarks
|
|
8544
|
-
*
|
|
8595
|
+
* 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.
|
|
8545
8596
|
*
|
|
8546
8597
|
* @param request - QueryChatappBindWabaRequest
|
|
8547
8598
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -8551,10 +8602,10 @@ class Client extends openapi_core_1.default {
|
|
|
8551
8602
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8552
8603
|
}
|
|
8553
8604
|
/**
|
|
8554
|
-
* Queries all phone numbers
|
|
8605
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
8555
8606
|
*
|
|
8556
8607
|
* @remarks
|
|
8557
|
-
*
|
|
8608
|
+
* 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.
|
|
8558
8609
|
*
|
|
8559
8610
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8560
8611
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8598,10 +8649,10 @@ class Client extends openapi_core_1.default {
|
|
|
8598
8649
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
8599
8650
|
}
|
|
8600
8651
|
/**
|
|
8601
|
-
* Queries all phone numbers
|
|
8652
|
+
* Queries all sending phone numbers and their statuses under a customer account.
|
|
8602
8653
|
*
|
|
8603
8654
|
* @remarks
|
|
8604
|
-
*
|
|
8655
|
+
* 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.
|
|
8605
8656
|
*
|
|
8606
8657
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8607
8658
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -8650,7 +8701,7 @@ class Client extends openapi_core_1.default {
|
|
|
8650
8701
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8651
8702
|
}
|
|
8652
8703
|
/**
|
|
8653
|
-
*
|
|
8704
|
+
* Queries whether a marketing message is effective.
|
|
8654
8705
|
*
|
|
8655
8706
|
* @param request - QueryMMLActiveRequest
|
|
8656
8707
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8688,7 +8739,7 @@ class Client extends openapi_core_1.default {
|
|
|
8688
8739
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8689
8740
|
}
|
|
8690
8741
|
/**
|
|
8691
|
-
*
|
|
8742
|
+
* Queries whether a marketing message is effective.
|
|
8692
8743
|
*
|
|
8693
8744
|
* @param request - QueryMMLActiveRequest
|
|
8694
8745
|
* @returns QueryMMLActiveResponse
|
|
@@ -8701,7 +8752,7 @@ class Client extends openapi_core_1.default {
|
|
|
8701
8752
|
* Queries the business information of a phone number.
|
|
8702
8753
|
*
|
|
8703
8754
|
* @remarks
|
|
8704
|
-
* The queries per second (QPS) limit
|
|
8755
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
8705
8756
|
*
|
|
8706
8757
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8707
8758
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8745,7 +8796,7 @@ class Client extends openapi_core_1.default {
|
|
|
8745
8796
|
* Queries the business information of a phone number.
|
|
8746
8797
|
*
|
|
8747
8798
|
* @remarks
|
|
8748
|
-
* The queries per second (QPS) limit
|
|
8799
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
8749
8800
|
*
|
|
8750
8801
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8751
8802
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8815,9 +8866,9 @@ class Client extends openapi_core_1.default {
|
|
|
8815
8866
|
* Retrieves the details of a flow.
|
|
8816
8867
|
*
|
|
8817
8868
|
* @remarks
|
|
8818
|
-
* - You can call this
|
|
8819
|
-
* - Before
|
|
8820
|
-
* - If you
|
|
8869
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8870
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8871
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8821
8872
|
*
|
|
8822
8873
|
* @param tmpReq - ReadChatFlowRequest
|
|
8823
8874
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8869,9 +8920,9 @@ class Client extends openapi_core_1.default {
|
|
|
8869
8920
|
* Retrieves the details of a flow.
|
|
8870
8921
|
*
|
|
8871
8922
|
* @remarks
|
|
8872
|
-
* - You can call this
|
|
8873
|
-
* - Before
|
|
8874
|
-
* - If you
|
|
8923
|
+
* - You can call this operation to retrieve flow details, or manually view flow details in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8924
|
+
* - Before calling this operation, ensure that you have a successfully created flow.
|
|
8925
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
8875
8926
|
*
|
|
8876
8927
|
* @param request - ReadChatFlowRequest
|
|
8877
8928
|
* @returns ReadChatFlowResponse
|
|
@@ -8881,12 +8932,12 @@ class Client extends openapi_core_1.default {
|
|
|
8881
8932
|
return await this.readChatFlowWithOptions(request, runtime);
|
|
8882
8933
|
}
|
|
8883
8934
|
/**
|
|
8884
|
-
*
|
|
8935
|
+
* Queries the flow log settings.
|
|
8885
8936
|
*
|
|
8886
8937
|
* @remarks
|
|
8887
|
-
* - Before
|
|
8888
|
-
* - If log settings
|
|
8889
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8938
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8939
|
+
* - 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.
|
|
8940
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8890
8941
|
*
|
|
8891
8942
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8892
8943
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8924,12 +8975,12 @@ class Client extends openapi_core_1.default {
|
|
|
8924
8975
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadChatFlowLogSettingResponse({}));
|
|
8925
8976
|
}
|
|
8926
8977
|
/**
|
|
8927
|
-
*
|
|
8978
|
+
* Queries the flow log settings.
|
|
8928
8979
|
*
|
|
8929
8980
|
* @remarks
|
|
8930
|
-
* - Before
|
|
8931
|
-
* - If log settings
|
|
8932
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
8981
|
+
* - Before calling this operation, make sure that flow log settings have been created for your flow.
|
|
8982
|
+
* - 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.
|
|
8983
|
+
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8933
8984
|
*
|
|
8934
8985
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8935
8986
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8964,6 +9015,9 @@ class Client extends openapi_core_1.default {
|
|
|
8964
9015
|
if (!$dara.isNull(request.bizExtendShrink)) {
|
|
8965
9016
|
query["BizExtend"] = request.bizExtendShrink;
|
|
8966
9017
|
}
|
|
9018
|
+
if (!$dara.isNull(request.draftVersion)) {
|
|
9019
|
+
query["DraftVersion"] = request.draftVersion;
|
|
9020
|
+
}
|
|
8967
9021
|
if (!$dara.isNull(request.flowCode)) {
|
|
8968
9022
|
query["FlowCode"] = request.flowCode;
|
|
8969
9023
|
}
|
|
@@ -9014,7 +9068,7 @@ class Client extends openapi_core_1.default {
|
|
|
9014
9068
|
return await this.readFlowVersionWithOptions(request, runtime);
|
|
9015
9069
|
}
|
|
9016
9070
|
/**
|
|
9017
|
-
*
|
|
9071
|
+
* Removes a single contact from the current group.
|
|
9018
9072
|
*
|
|
9019
9073
|
* @param request - RemoveContactByIdRequest
|
|
9020
9074
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9055,7 +9109,7 @@ class Client extends openapi_core_1.default {
|
|
|
9055
9109
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveContactByIdResponse({}));
|
|
9056
9110
|
}
|
|
9057
9111
|
/**
|
|
9058
|
-
*
|
|
9112
|
+
* Removes a single contact from the current group.
|
|
9059
9113
|
*
|
|
9060
9114
|
* @param request - RemoveContactByIdRequest
|
|
9061
9115
|
* @returns RemoveContactByIdResponse
|
|
@@ -9133,17 +9187,17 @@ class Client extends openapi_core_1.default {
|
|
|
9133
9187
|
* Sends Chat App messages in batches.
|
|
9134
9188
|
*
|
|
9135
9189
|
* @remarks
|
|
9136
|
-
* - You can call this operation to send messages in batches
|
|
9190
|
+
* - 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.
|
|
9137
9191
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9138
|
-
* - For WhatsApp
|
|
9139
|
-
* - For Messenger
|
|
9140
|
-
* - For Instagram
|
|
9141
|
-
* <props="intl">- For Viber
|
|
9142
|
-
* ### QPS
|
|
9143
|
-
* - The
|
|
9144
|
-
* - A maximum of 1,000 phone numbers
|
|
9192
|
+
* - 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).
|
|
9193
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9194
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9195
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9196
|
+
* ### QPS limits
|
|
9197
|
+
* - 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.
|
|
9198
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9145
9199
|
* ### Status changes
|
|
9146
|
-
* You can monitor message
|
|
9200
|
+
* 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).
|
|
9147
9201
|
*
|
|
9148
9202
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9149
9203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9237,17 +9291,17 @@ class Client extends openapi_core_1.default {
|
|
|
9237
9291
|
* Sends Chat App messages in batches.
|
|
9238
9292
|
*
|
|
9239
9293
|
* @remarks
|
|
9240
|
-
* - You can call this operation to send messages in batches
|
|
9294
|
+
* - 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.
|
|
9241
9295
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9242
|
-
* - For WhatsApp
|
|
9243
|
-
* - For Messenger
|
|
9244
|
-
* - For Instagram
|
|
9245
|
-
* <props="intl">- For Viber
|
|
9246
|
-
* ### QPS
|
|
9247
|
-
* - The
|
|
9248
|
-
* - A maximum of 1,000 phone numbers
|
|
9296
|
+
* - 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).
|
|
9297
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9298
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9299
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9300
|
+
* ### QPS limits
|
|
9301
|
+
* - 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.
|
|
9302
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9249
9303
|
* ### Status changes
|
|
9250
|
-
* You can monitor message
|
|
9304
|
+
* 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).
|
|
9251
9305
|
*
|
|
9252
9306
|
* @param request - SendChatappMassMessageRequest
|
|
9253
9307
|
* @returns SendChatappMassMessageResponse
|
|
@@ -9262,12 +9316,12 @@ class Client extends openapi_core_1.default {
|
|
|
9262
9316
|
* @remarks
|
|
9263
9317
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9264
9318
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9265
|
-
* - For
|
|
9266
|
-
* - For
|
|
9267
|
-
* - For
|
|
9268
|
-
* <props="intl">- For
|
|
9319
|
+
* - 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).
|
|
9320
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9321
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9322
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9269
9323
|
* ### QPS limit
|
|
9270
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
9324
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
9271
9325
|
* ### Status changes
|
|
9272
9326
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9273
9327
|
*
|
|
@@ -9416,12 +9470,12 @@ class Client extends openapi_core_1.default {
|
|
|
9416
9470
|
* @remarks
|
|
9417
9471
|
* - You can call this operation to send a message, or manually send a message on the <props="china">[**Channel Management**](https://chatapp.console.aliyun.com/ChannelsManagement)<props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **Send Message** page.
|
|
9418
9472
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9419
|
-
* - For
|
|
9420
|
-
* - For
|
|
9421
|
-
* - For
|
|
9422
|
-
* <props="intl">- For
|
|
9473
|
+
* - 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).
|
|
9474
|
+
* - For Messenger channels, you must complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9475
|
+
* - For Instagram channels, you must complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9476
|
+
* <props="intl">- For Viber channels, you must complete [applying for a service ID](https://help.aliyun.com/document_detail/2807995.html).
|
|
9423
9477
|
* ### QPS limit
|
|
9424
|
-
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded,
|
|
9478
|
+
* The single-user QPS limit for this operation is 250 calls per second. If this limit is exceeded, API calls are throttled, which may affect your business. Call this operation appropriately.
|
|
9425
9479
|
* ### Status changes
|
|
9426
9480
|
* You can monitor message delivery status through MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
9427
9481
|
*
|
|
@@ -9433,7 +9487,7 @@ class Client extends openapi_core_1.default {
|
|
|
9433
9487
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
9434
9488
|
}
|
|
9435
9489
|
/**
|
|
9436
|
-
* Submits the
|
|
9490
|
+
* Submits the verification code validation result.
|
|
9437
9491
|
*
|
|
9438
9492
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9439
9493
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9468,7 +9522,7 @@ class Client extends openapi_core_1.default {
|
|
|
9468
9522
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitVerifyCodeResultResponse({}));
|
|
9469
9523
|
}
|
|
9470
9524
|
/**
|
|
9471
|
-
* Submits the
|
|
9525
|
+
* Submits the verification code validation result.
|
|
9472
9526
|
*
|
|
9473
9527
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9474
9528
|
* @returns SubmitVerifyCodeResultResponse
|
|
@@ -9537,7 +9591,7 @@ class Client extends openapi_core_1.default {
|
|
|
9537
9591
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9538
9592
|
}
|
|
9539
9593
|
/**
|
|
9540
|
-
*
|
|
9594
|
+
* Syncs a WhatsApp flow.
|
|
9541
9595
|
*
|
|
9542
9596
|
* @param request - SyncFlowRequest
|
|
9543
9597
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9575,7 +9629,7 @@ class Client extends openapi_core_1.default {
|
|
|
9575
9629
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9576
9630
|
}
|
|
9577
9631
|
/**
|
|
9578
|
-
*
|
|
9632
|
+
* Syncs a WhatsApp flow.
|
|
9579
9633
|
*
|
|
9580
9634
|
* @param request - SyncFlowRequest
|
|
9581
9635
|
* @returns SyncFlowResponse
|
|
@@ -9773,7 +9827,7 @@ class Client extends openapi_core_1.default {
|
|
|
9773
9827
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9774
9828
|
}
|
|
9775
9829
|
/**
|
|
9776
|
-
*
|
|
9830
|
+
* Unbinds an email account.
|
|
9777
9831
|
*
|
|
9778
9832
|
* @param request - UnbindDmAccountRequest
|
|
9779
9833
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9811,7 +9865,7 @@ class Client extends openapi_core_1.default {
|
|
|
9811
9865
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9812
9866
|
}
|
|
9813
9867
|
/**
|
|
9814
|
-
*
|
|
9868
|
+
* Unbinds an email account.
|
|
9815
9869
|
*
|
|
9816
9870
|
* @param request - UnbindDmAccountRequest
|
|
9817
9871
|
* @returns UnbindDmAccountResponse
|
|
@@ -9884,7 +9938,7 @@ class Client extends openapi_core_1.default {
|
|
|
9884
9938
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9885
9939
|
}
|
|
9886
9940
|
/**
|
|
9887
|
-
*
|
|
9941
|
+
* Updates a Viber application form.
|
|
9888
9942
|
*
|
|
9889
9943
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
9890
9944
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9936,7 +9990,7 @@ class Client extends openapi_core_1.default {
|
|
|
9936
9990
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAuditRequestResponse({}));
|
|
9937
9991
|
}
|
|
9938
9992
|
/**
|
|
9939
|
-
*
|
|
9993
|
+
* Updates a Viber application form.
|
|
9940
9994
|
*
|
|
9941
9995
|
* @param request - UpdateAuditRequestRequest
|
|
9942
9996
|
* @returns UpdateAuditRequestResponse
|
|
@@ -9949,9 +10003,9 @@ class Client extends openapi_core_1.default {
|
|
|
9949
10003
|
* Updates the basic information of a flow based on the flow code.
|
|
9950
10004
|
*
|
|
9951
10005
|
* @remarks
|
|
9952
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
9953
|
-
* - Before calling this operation, make sure
|
|
9954
|
-
* - If you
|
|
10006
|
+
* - 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**.
|
|
10007
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10008
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
9955
10009
|
*
|
|
9956
10010
|
* @param tmpReq - UpdateChatFlowRequest
|
|
9957
10011
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10009,9 +10063,9 @@ class Client extends openapi_core_1.default {
|
|
|
10009
10063
|
* Updates the basic information of a flow based on the flow code.
|
|
10010
10064
|
*
|
|
10011
10065
|
* @remarks
|
|
10012
|
-
* - You can call this operation to update the basic information of a flow, or update it
|
|
10013
|
-
* - Before calling this operation, make sure
|
|
10014
|
-
* - If you
|
|
10066
|
+
* - 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**.
|
|
10067
|
+
* - Before calling this operation, make sure you have a successfully created flow.
|
|
10068
|
+
* - If you do not have a successfully created flow, click **Create Flow** in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10015
10069
|
*
|
|
10016
10070
|
* @param request - UpdateChatFlowRequest
|
|
10017
10071
|
* @returns UpdateChatFlowResponse
|
|
@@ -10228,7 +10282,7 @@ class Client extends openapi_core_1.default {
|
|
|
10228
10282
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10229
10283
|
}
|
|
10230
10284
|
/**
|
|
10231
|
-
*
|
|
10285
|
+
* Modifies a contact.
|
|
10232
10286
|
*
|
|
10233
10287
|
* @param tmpReq - UpdateContactByIdRequest
|
|
10234
10288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10292,7 +10346,7 @@ class Client extends openapi_core_1.default {
|
|
|
10292
10346
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
10293
10347
|
}
|
|
10294
10348
|
/**
|
|
10295
|
-
*
|
|
10349
|
+
* Modifies a contact.
|
|
10296
10350
|
*
|
|
10297
10351
|
* @param request - UpdateContactByIdRequest
|
|
10298
10352
|
* @returns UpdateContactByIdResponse
|
|
@@ -10383,7 +10437,7 @@ class Client extends openapi_core_1.default {
|
|
|
10383
10437
|
* Updates the content of a flow by using JSON.
|
|
10384
10438
|
*
|
|
10385
10439
|
* @remarks
|
|
10386
|
-
* The
|
|
10440
|
+
* 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.
|
|
10387
10441
|
*
|
|
10388
10442
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10389
10443
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10430,7 +10484,7 @@ class Client extends openapi_core_1.default {
|
|
|
10430
10484
|
* Updates the content of a flow by using JSON.
|
|
10431
10485
|
*
|
|
10432
10486
|
* @remarks
|
|
10433
|
-
* The
|
|
10487
|
+
* 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.
|
|
10434
10488
|
*
|
|
10435
10489
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10436
10490
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -10440,12 +10494,12 @@ class Client extends openapi_core_1.default {
|
|
|
10440
10494
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10441
10495
|
}
|
|
10442
10496
|
/**
|
|
10443
|
-
* Updates the
|
|
10497
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10444
10498
|
*
|
|
10445
10499
|
* @remarks
|
|
10446
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
10447
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
10448
|
-
* - If you have not created a flow, you can manually create
|
|
10500
|
+
* - 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.
|
|
10501
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10502
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10449
10503
|
*
|
|
10450
10504
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10451
10505
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10486,6 +10540,9 @@ class Client extends openapi_core_1.default {
|
|
|
10486
10540
|
if (!$dara.isNull(request.resourceOwnerId)) {
|
|
10487
10541
|
query["ResourceOwnerId"] = request.resourceOwnerId;
|
|
10488
10542
|
}
|
|
10543
|
+
if (!$dara.isNull(request.type)) {
|
|
10544
|
+
query["Type"] = request.type;
|
|
10545
|
+
}
|
|
10489
10546
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10490
10547
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10491
10548
|
});
|
|
@@ -10503,12 +10560,12 @@ class Client extends openapi_core_1.default {
|
|
|
10503
10560
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10504
10561
|
}
|
|
10505
10562
|
/**
|
|
10506
|
-
* Updates the
|
|
10563
|
+
* Updates the DSL data of a flow version, used for updating the flow version on the canvas.
|
|
10507
10564
|
*
|
|
10508
10565
|
* @remarks
|
|
10509
|
-
* - You can call this operation to update the DSL data of a flow version
|
|
10510
|
-
* - Before calling this operation, make sure that you have created a flow and
|
|
10511
|
-
* - If you have not created a flow, you can manually create
|
|
10566
|
+
* - 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.
|
|
10567
|
+
* - Before calling this operation, make sure that you have created a flow and the flow status is offline.
|
|
10568
|
+
* - If you have not created a flow, you can manually create a flow on the [flow editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or create a flow by calling the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation.
|
|
10512
10569
|
*
|
|
10513
10570
|
* @param request - UpdateFlowVersionRequest
|
|
10514
10571
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10518,7 +10575,7 @@ class Client extends openapi_core_1.default {
|
|
|
10518
10575
|
return await this.updateFlowVersionWithOptions(request, runtime);
|
|
10519
10576
|
}
|
|
10520
10577
|
/**
|
|
10521
|
-
*
|
|
10578
|
+
* Renames a group.
|
|
10522
10579
|
*
|
|
10523
10580
|
* @param request - UpdateGroupNameRequest
|
|
10524
10581
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10559,7 +10616,7 @@ class Client extends openapi_core_1.default {
|
|
|
10559
10616
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateGroupNameResponse({}));
|
|
10560
10617
|
}
|
|
10561
10618
|
/**
|
|
10562
|
-
*
|
|
10619
|
+
* Renames a group.
|
|
10563
10620
|
*
|
|
10564
10621
|
* @param request - UpdateGroupNameRequest
|
|
10565
10622
|
* @returns UpdateGroupNameResponse
|
|
@@ -10632,7 +10689,7 @@ class Client extends openapi_core_1.default {
|
|
|
10632
10689
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10633
10690
|
}
|
|
10634
10691
|
/**
|
|
10635
|
-
* Modifies
|
|
10692
|
+
* Modifies the information of a marketing campaign.
|
|
10636
10693
|
*
|
|
10637
10694
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10638
10695
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10711,7 +10768,7 @@ class Client extends openapi_core_1.default {
|
|
|
10711
10768
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10712
10769
|
}
|
|
10713
10770
|
/**
|
|
10714
|
-
* Modifies
|
|
10771
|
+
* Modifies the information of a marketing campaign.
|
|
10715
10772
|
*
|
|
10716
10773
|
* @param request - UpdateMarketingFLowRequest
|
|
10717
10774
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10861,10 +10918,10 @@ class Client extends openapi_core_1.default {
|
|
|
10861
10918
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10862
10919
|
}
|
|
10863
10920
|
/**
|
|
10864
|
-
*
|
|
10921
|
+
* Updates the callback URL information for a phone number.
|
|
10865
10922
|
*
|
|
10866
10923
|
* @remarks
|
|
10867
|
-
* The per
|
|
10924
|
+
* 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.
|
|
10868
10925
|
*
|
|
10869
10926
|
* @param request - UpdatePhoneWebhookRequest
|
|
10870
10927
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10917,10 +10974,10 @@ class Client extends openapi_core_1.default {
|
|
|
10917
10974
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10918
10975
|
}
|
|
10919
10976
|
/**
|
|
10920
|
-
*
|
|
10977
|
+
* Updates the callback URL information for a phone number.
|
|
10921
10978
|
*
|
|
10922
10979
|
* @remarks
|
|
10923
|
-
* The per
|
|
10980
|
+
* 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.
|
|
10924
10981
|
*
|
|
10925
10982
|
* @param request - UpdatePhoneWebhookRequest
|
|
10926
10983
|
* @returns UpdatePhoneWebhookResponse
|
|
@@ -11032,7 +11089,7 @@ class Client extends openapi_core_1.default {
|
|
|
11032
11089
|
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11033
11090
|
}
|
|
11034
11091
|
/**
|
|
11035
|
-
*
|
|
11092
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
11036
11093
|
*
|
|
11037
11094
|
* @param tmpReq - WhatsappCallRequest
|
|
11038
11095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11090,7 +11147,7 @@ class Client extends openapi_core_1.default {
|
|
|
11090
11147
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WhatsappCallResponse({}));
|
|
11091
11148
|
}
|
|
11092
11149
|
/**
|
|
11093
|
-
*
|
|
11150
|
+
* Calls, answers, or hangs up a WhatsApp voice call. The WhatsApp voice call feature is currently in an invite-only phase. To use this feature, contact your account manager or customer service representative to request allowlisting. This feature cannot be used without allowlisting.
|
|
11094
11151
|
*
|
|
11095
11152
|
* @param request - WhatsappCallRequest
|
|
11096
11153
|
* @returns WhatsappCallResponse
|