@alicloud/cams20200606 5.3.1 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +522 -496
- package/dist/client.js +586 -499
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +9 -9
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +7 -9
- package/dist/models/AddAddressRecoverSuspendResponseBody.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendShrinkRequest.d.ts +2 -2
- package/dist/models/AddAuditViberOpenRequest.d.ts +19 -19
- 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 +4 -4
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +3 -3
- package/dist/models/AddChatGroupRequest.d.ts +8 -7
- 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 +7 -5
- package/dist/models/AddCustomAudienceUserRequest.js.map +1 -1
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +7 -7
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +7 -5
- package/dist/models/AddCustomAudienceUserShrinkRequest.js.map +1 -1
- package/dist/models/AddGroupRequest.d.ts +2 -2
- package/dist/models/AddGroupResponseBody.d.ts +7 -7
- package/dist/models/AddGroupShrinkRequest.d.ts +2 -2
- package/dist/models/AddMarketingFlowRequest.d.ts +16 -16
- package/dist/models/AddMarketingFlowResponseBody.d.ts +6 -6
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +16 -16
- 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 +7 -7
- package/dist/models/BindDmAccountShrinkRequest.d.ts +3 -3
- package/dist/models/BindInstagramPageRequest.d.ts +2 -2
- package/dist/models/BindInstagramPageResponseBody.d.ts +4 -4
- package/dist/models/BindMessengerPageRequest.d.ts +2 -2
- package/dist/models/BindMessengerPageResponseBody.d.ts +2 -2
- package/dist/models/ChangeResourceGroupRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +5 -5
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappMigrationRegisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappPhoneNumberDeregisterResponseBody.d.ts +4 -4
- package/dist/models/ChatappPhoneNumberRegisterResponseBody.d.ts +2 -2
- package/dist/models/ChatappSyncPhoneNumberRequest.d.ts +1 -1
- package/dist/models/ChatappSyncPhoneNumberResponseBody.d.ts +70 -16
- package/dist/models/ChatappSyncPhoneNumberResponseBody.js.map +1 -1
- package/dist/models/ChatappVerifyAndRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappVerifyAndRegisterResponseBody.d.ts +6 -6
- package/dist/models/CheckDirectSendMessageSampleRequest.d.ts +3 -0
- package/dist/models/CheckDirectSendMessageSampleRequest.js.map +1 -1
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.d.ts +3 -0
- package/dist/models/CheckDirectSendMessageSampleShrinkRequest.js.map +1 -1
- package/dist/models/CopyTemplateRequest.d.ts +3 -3
- package/dist/models/CopyTemplateResponseBody.d.ts +8 -8
- package/dist/models/CreateChatFlowByImportRequest.d.ts +5 -5
- package/dist/models/CreateChatFlowByImportResponseBody.d.ts +2 -2
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +5 -5
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +4 -4
- package/dist/models/CreateChatFlowRequest.d.ts +15 -6
- package/dist/models/CreateChatFlowRequest.js +5 -0
- package/dist/models/CreateChatFlowRequest.js.map +1 -1
- package/dist/models/CreateChatFlowResponseBody.d.ts +2 -2
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +13 -6
- package/dist/models/CreateChatFlowShrinkRequest.js +2 -0
- package/dist/models/CreateChatFlowShrinkRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateRequest.d.ts +99 -91
- package/dist/models/CreateChatappTemplateRequest.js +2 -0
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +2 -2
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +21 -21
- package/dist/models/CreateCustomAudienceRequest.d.ts +3 -5
- package/dist/models/CreateCustomAudienceRequest.js.map +1 -1
- package/dist/models/CreateCustomAudienceResponseBody.d.ts +4 -6
- package/dist/models/CreateCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/CreateFlowVersionRequest.d.ts +4 -4
- package/dist/models/CreateFlowVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateInstanceRequest.d.ts +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/CreateMessageCampaignRequest.d.ts +3 -3
- package/dist/models/CreateMessageCampaignResponseBody.d.ts +4 -6
- package/dist/models/CreateMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/CreateMessengerPageRequest.d.ts +4 -4
- package/dist/models/CreateMessengerPageResponseBody.d.ts +7 -7
- package/dist/models/CreateMessengerPageShrinkRequest.d.ts +4 -4
- package/dist/models/CreateWhatsappConversionApiResponseBody.d.ts +8 -8
- package/dist/models/DeleteChatFlowRequest.d.ts +2 -2
- package/dist/models/DeleteChatFlowResponseBody.d.ts +3 -3
- package/dist/models/DeleteChatFlowShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteChatGroupInviteLinkRequest.d.ts +4 -4
- package/dist/models/DeleteChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/DeleteChatGroupParticipantsRequest.d.ts +7 -7
- package/dist/models/DeleteChatGroupParticipantsResponseBody.d.ts +7 -9
- package/dist/models/DeleteChatGroupParticipantsResponseBody.js.map +1 -1
- package/dist/models/DeleteChatGroupParticipantsShrinkRequest.d.ts +6 -6
- package/dist/models/DeleteChatGroupRequest.d.ts +3 -3
- package/dist/models/DeleteChatGroupResponseBody.d.ts +3 -3
- package/dist/models/DeleteContactsByIdsRequest.d.ts +2 -2
- package/dist/models/DeleteContactsByIdsResponseBody.d.ts +5 -5
- package/dist/models/DeleteContactsRequest.d.ts +2 -2
- package/dist/models/DeleteContactsResponseBody.d.ts +3 -3
- package/dist/models/DeleteContactsShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteFlowRequest.d.ts +2 -2
- package/dist/models/DeleteFlowResponseBody.d.ts +4 -4
- package/dist/models/DeleteFlowVersionRequest.d.ts +2 -2
- package/dist/models/DeleteFlowVersionResponseBody.d.ts +3 -3
- package/dist/models/DeleteFlowVersionShrinkRequest.d.ts +2 -2
- package/dist/models/DeleteGroupByIdResponseBody.d.ts +7 -7
- package/dist/models/DeleteInstagramPageRequest.d.ts +2 -2
- package/dist/models/DeleteInstagramPageResponseBody.d.ts +6 -6
- package/dist/models/DeleteInstanceRequest.d.ts +1 -1
- package/dist/models/DeleteInstanceResponseBody.d.ts +7 -7
- package/dist/models/DeleteMarketingFlowRequest.d.ts +3 -3
- package/dist/models/DeleteMarketingFlowResponseBody.d.ts +7 -7
- package/dist/models/DeleteMessageCampaignRequest.d.ts +3 -3
- package/dist/models/DeleteMessageCampaignResponseBody.d.ts +5 -7
- package/dist/models/DeleteMessageCampaignResponseBody.js.map +1 -1
- package/dist/models/DeleteMessengerPageRequest.d.ts +1 -1
- package/dist/models/DeleteMessengerPageResponseBody.d.ts +6 -6
- package/dist/models/FlowBindPhoneRequest.d.ts +11 -11
- package/dist/models/FlowBindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowBindPhoneShrinkRequest.d.ts +8 -8
- package/dist/models/FlowRebindPhoneRequest.d.ts +11 -11
- package/dist/models/FlowRebindPhoneResponseBody.d.ts +5 -5
- package/dist/models/FlowRebindPhoneShrinkRequest.d.ts +8 -8
- package/dist/models/FlowUnbindPhoneRequest.d.ts +3 -3
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +13 -6
- package/dist/models/FlowUnbindPhoneResponseBody.js.map +1 -1
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +3 -3
- package/dist/models/GeneratePresignedUrlResponseBody.d.ts +7 -7
- package/dist/models/GetAuditRequestByTypeUnAuditRequest.d.ts +1 -1
- package/dist/models/GetAuditRequestByTypeUnAuditResponseBody.d.ts +26 -26
- package/dist/models/GetChatFlowMetricRequest.d.ts +11 -11
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +5 -5
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +11 -11
- package/dist/models/GetChatFlowTemplateRequest.d.ts +1 -1
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +3 -3
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +3 -3
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +5 -5
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +4 -4
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +95 -83
- package/dist/models/GetChatappTemplateDetailResponseBody.js +2 -0
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCustomerSiteResponseBody.d.ts +4 -4
- package/dist/models/GetDownloadExcelListRequest.d.ts +3 -3
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +8 -8
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +3 -3
- package/dist/models/GetFbInstagramPagesRequest.d.ts +2 -3
- package/dist/models/GetFbInstagramPagesRequest.js.map +1 -1
- package/dist/models/GetFbInstagramPagesResponseBody.d.ts +15 -15
- package/dist/models/GetFbMessengerPagesRequest.d.ts +1 -1
- package/dist/models/GetFbMessengerPagesResponseBody.d.ts +9 -9
- package/dist/models/GetGroupExistRequest.d.ts +1 -1
- package/dist/models/GetGroupExistResponseBody.d.ts +2 -2
- package/dist/models/GetGroupExistShrinkRequest.d.ts +1 -1
- package/dist/models/GetInstagramUserInfoRequest.d.ts +33 -0
- package/dist/models/GetInstagramUserInfoRequest.js +60 -0
- package/dist/models/GetInstagramUserInfoRequest.js.map +1 -0
- package/dist/models/GetInstagramUserInfoResponse.d.ts +19 -0
- package/dist/models/GetInstagramUserInfoResponse.js +69 -0
- package/dist/models/GetInstagramUserInfoResponse.js.map +1 -0
- package/dist/models/GetInstagramUserInfoResponseBody.d.ts +103 -0
- package/dist/models/GetInstagramUserInfoResponseBody.js +94 -0
- package/dist/models/GetInstagramUserInfoResponseBody.js.map +1 -0
- package/dist/models/GetMessageCampaignInsightsRequest.d.ts +3 -3
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +14 -14
- package/dist/models/GetMessengerUserInfoRequest.d.ts +33 -0
- package/dist/models/GetMessengerUserInfoRequest.js +60 -0
- package/dist/models/GetMessengerUserInfoRequest.js.map +1 -0
- package/dist/models/GetMessengerUserInfoResponse.d.ts +19 -0
- package/dist/models/GetMessengerUserInfoResponse.js +69 -0
- package/dist/models/GetMessengerUserInfoResponse.js.map +1 -0
- package/dist/models/GetMessengerUserInfoResponseBody.d.ts +107 -0
- package/dist/models/GetMessengerUserInfoResponseBody.js +97 -0
- package/dist/models/GetMessengerUserInfoResponseBody.js.map +1 -0
- package/dist/models/GetPhoneNumberVerificationStatusRequest.d.ts +4 -5
- package/dist/models/GetPhoneNumberVerificationStatusRequest.js.map +1 -1
- package/dist/models/GetPhoneNumberVerificationStatusResponseBody.d.ts +2 -2
- package/dist/models/GetPledgeTemplateAddressRequest.d.ts +1 -1
- package/dist/models/GetPledgeTemplateAddressResponseBody.d.ts +5 -5
- package/dist/models/GetViberByRequestNoRequest.d.ts +2 -2
- package/dist/models/GetViberByRequestNoResponseBody.d.ts +46 -46
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +5 -5
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +6 -6
- package/dist/models/GetWhatsappHealthStatusRequest.d.ts +3 -11
- package/dist/models/GetWhatsappHealthStatusRequest.js.map +1 -1
- package/dist/models/GetWhatsappHealthStatusResponseBody.d.ts +20 -22
- package/dist/models/GetWhatsappHealthStatusResponseBody.js.map +1 -1
- package/dist/models/ListAllGroupsRequest.d.ts +1 -1
- package/dist/models/ListAllGroupsResponseBody.d.ts +7 -7
- package/dist/models/ListAllGroupsShrinkRequest.d.ts +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionRequest.d.ts +1 -1
- package/dist/models/ListBindingRelationsForFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ListChatFlowRequest.d.ts +6 -6
- package/dist/models/ListChatFlowResponseBody.d.ts +4 -4
- package/dist/models/ListChatFlowShrinkRequest.d.ts +6 -6
- package/dist/models/ListChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +4 -4
- package/dist/models/ListChatGroupParticipantsRequest.d.ts +4 -4
- package/dist/models/ListChatGroupParticipantsResponseBody.d.ts +3 -3
- package/dist/models/ListChatGroupParticipantsShrinkRequest.d.ts +4 -4
- package/dist/models/ListChatGroupRequest.d.ts +9 -9
- package/dist/models/ListChatGroupResponseBody.d.ts +7 -7
- package/dist/models/ListChatGroupShrinkRequest.d.ts +9 -9
- package/dist/models/ListChatappMessageRequest.d.ts +19 -13
- package/dist/models/ListChatappMessageRequest.js.map +1 -1
- package/dist/models/ListChatappMessageResponseBody.d.ts +16 -16
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +19 -13
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateRequest.d.ts +7 -10
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +17 -17
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +6 -9
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceRequest.d.ts +3 -3
- package/dist/models/ListCustomAudienceResponseBody.d.ts +9 -11
- package/dist/models/ListCustomAudienceResponseBody.js.map +1 -1
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +3 -3
- package/dist/models/ListDmAccountRequest.d.ts +1 -1
- package/dist/models/ListDmAccountResponseBody.d.ts +9 -9
- package/dist/models/ListDmTagResponseBody.d.ts +7 -7
- package/dist/models/ListFacebookPostsRequest.d.ts +1 -1
- package/dist/models/ListFacebookPostsResponseBody.d.ts +6 -6
- package/dist/models/ListFlowNodeGroupRequest.d.ts +1 -1
- package/dist/models/ListFlowNodeGroupResponseBody.d.ts +7 -7
- package/dist/models/ListFlowNodePrototypeV2request.d.ts +6 -6
- package/dist/models/ListFlowNodePrototypeV2responseBody.d.ts +11 -11
- package/dist/models/ListFlowVersionRequest.d.ts +8 -8
- package/dist/models/ListFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ListFlowVersionShrinkRequest.d.ts +8 -8
- package/dist/models/ListInstagramPageResponseBody.d.ts +20 -20
- package/dist/models/ListInstagramPostsRequest.d.ts +1 -1
- package/dist/models/ListInstagramPostsResponseBody.d.ts +8 -8
- package/dist/models/ListInstanceRequest.d.ts +12 -4
- package/dist/models/ListInstanceRequest.js.map +1 -1
- package/dist/models/ListInstanceResponseBody.d.ts +10 -10
- package/dist/models/ListMarketingFlowRequest.d.ts +4 -4
- package/dist/models/ListMarketingFlowResponseBody.d.ts +26 -28
- package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +4 -4
- 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 +16 -16
- package/dist/models/ListPageAdAccountRequest.d.ts +1 -1
- package/dist/models/ListPageAdAccountResponseBody.d.ts +6 -6
- 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 +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +9 -9
- package/dist/models/ListWhatAppTemplateRequest.d.ts +1 -1
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +6 -6
- package/dist/models/ModifyChatappTemplatePropertiesRequest.d.ts +2 -2
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.d.ts +4 -6
- package/dist/models/ModifyChatappTemplatePropertiesResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateRequest.d.ts +99 -164
- package/dist/models/ModifyChatappTemplateRequest.js +2 -0
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +6 -3
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +16 -22
- package/dist/models/ModifyChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ModifyPhoneBusinessProfileRequest.d.ts +2 -2
- package/dist/models/ModifyPhoneBusinessProfileResponseBody.d.ts +7 -7
- package/dist/models/ModifyPhoneBusinessProfileShrinkRequest.d.ts +2 -2
- package/dist/models/MoveContactToGroupRequest.d.ts +4 -4
- package/dist/models/MoveContactToGroupResponseBody.d.ts +9 -9
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +4 -4
- package/dist/models/OfflineFlowVersionRequest.d.ts +4 -4
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +2 -2
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/OnlineFlowVersionRequest.d.ts +4 -4
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +3 -3
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/QueryChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +20 -20
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +3 -3
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +83 -13
- package/dist/models/QueryChatappPhoneNumbersResponseBody.js.map +1 -1
- package/dist/models/QueryInstanceRequest.d.ts +1 -1
- package/dist/models/QueryInstanceResponseBody.d.ts +17 -19
- package/dist/models/QueryInstanceResponseBody.js.map +1 -1
- package/dist/models/QueryMmlactiveRequest.d.ts +1 -1
- package/dist/models/QueryMmlactiveResponseBody.d.ts +7 -7
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +6 -6
- package/dist/models/QueryWabaBusinessInfoResponseBody.d.ts +1 -1
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +1 -1
- package/dist/models/ReadChatFlowRequest.d.ts +2 -2
- package/dist/models/ReadChatFlowResponseBody.d.ts +3 -3
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +2 -2
- package/dist/models/ReadFlowVersionRequest.d.ts +8 -8
- package/dist/models/ReadFlowVersionResponseBody.d.ts +5 -5
- package/dist/models/ReadFlowVersionShrinkRequest.d.ts +8 -8
- package/dist/models/RemoveContactByIdRequest.d.ts +1 -1
- package/dist/models/RemoveContactByIdResponseBody.d.ts +7 -7
- package/dist/models/RequestWhatsappConversionApiRequest.d.ts +26 -30
- package/dist/models/RequestWhatsappConversionApiRequest.js.map +1 -1
- package/dist/models/RequestWhatsappConversionApiResponseBody.d.ts +6 -6
- package/dist/models/RequestWhatsappConversionApiShrinkRequest.d.ts +2 -2
- package/dist/models/SendChatappMassMessageRequest.d.ts +46 -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 +11 -0
- package/dist/models/SendChatappMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMessageShrinkRequest.d.ts +6 -0
- package/dist/models/SendChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/SubmitVerifyCodeResultRequest.d.ts +1 -1
- package/dist/models/SubmitVerifyCodeResultResponseBody.d.ts +6 -6
- package/dist/models/SyncBusinessAppHistoryRequest.d.ts +1 -1
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +4 -4
- package/dist/models/SyncFlowResponseBody.d.ts +8 -8
- package/dist/models/SyncMessageCampaignRequest.d.ts +2 -2
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +9 -9
- package/dist/models/SyncMessengerSubscriptionTokenRequest.d.ts +1 -1
- package/dist/models/SyncMessengerSubscriptionTokenResponseBody.d.ts +2 -2
- package/dist/models/TriggerChatFlowRequest.d.ts +6 -6
- package/dist/models/TriggerChatFlowResponseBody.d.ts +7 -6
- package/dist/models/TriggerChatFlowResponseBody.js.map +1 -1
- package/dist/models/TriggerChatFlowShrinkRequest.d.ts +6 -6
- package/dist/models/UnbindDmAccountRequest.d.ts +1 -1
- package/dist/models/UnbindDmAccountResponseBody.d.ts +3 -3
- package/dist/models/UpdateAuditRequestRequest.d.ts +39 -39
- package/dist/models/UpdateAuditRequestResponseBody.d.ts +8 -8
- package/dist/models/UpdateAuditRequestShrinkRequest.d.ts +3 -3
- package/dist/models/UpdateChatFlowLogSettingRequest.d.ts +4 -4
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +3 -3
- package/dist/models/UpdateChatFlowRequest.d.ts +5 -5
- package/dist/models/UpdateChatFlowResponseBody.d.ts +5 -5
- package/dist/models/UpdateChatFlowShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateChatGroupRequest.d.ts +9 -9
- package/dist/models/UpdateChatGroupResponseBody.d.ts +3 -3
- package/dist/models/UpdateContactByIdRequest.d.ts +7 -7
- package/dist/models/UpdateContactByIdResponseBody.d.ts +8 -8
- package/dist/models/UpdateContactByIdShrinkRequest.d.ts +7 -7
- package/dist/models/UpdateConversationalAutomationRequest.d.ts +4 -4
- package/dist/models/UpdateConversationalAutomationResponseBody.d.ts +6 -6
- package/dist/models/UpdateConversationalAutomationShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateFlowJsonassetResponseBody.d.ts +2 -2
- package/dist/models/UpdateFlowVersionRequest.d.ts +6 -6
- package/dist/models/UpdateFlowVersionResponseBody.d.ts +4 -4
- package/dist/models/UpdateFlowVersionShrinkRequest.d.ts +6 -6
- package/dist/models/UpdateGroupNameRequest.d.ts +2 -2
- package/dist/models/UpdateGroupNameResponseBody.d.ts +9 -9
- package/dist/models/UpdateInstanceRequest.d.ts +8 -8
- package/dist/models/UpdateInstanceResponseBody.d.ts +14 -16
- package/dist/models/UpdateInstanceResponseBody.js.map +1 -1
- package/dist/models/UpdateMarketingFlowRequest.d.ts +12 -12
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +5 -5
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +12 -12
- package/dist/models/UpdatePhoneWebhookRequest.d.ts +3 -3
- package/dist/models/UpdatePhoneWebhookResponseBody.d.ts +4 -4
- package/dist/models/UpdateWabaMmlStatusRequest.d.ts +5 -5
- package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +8 -8
- package/dist/models/model.d.ts +8 -0
- package/dist/models/model.js +30 -14
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +596 -499
- package/src/models/AddAddressRecoverSuspendRequest.ts +9 -9
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +7 -9
- package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +2 -2
- package/src/models/AddAuditViberOpenRequest.ts +19 -19
- package/src/models/AddAuditViberOpenResponseBody.ts +10 -12
- package/src/models/AddAuditViberOpenShrinkRequest.ts +1 -1
- package/src/models/AddChatGroupInviteLinkRequest.ts +4 -4
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +3 -3
- package/src/models/AddChatGroupRequest.ts +8 -7
- 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 +7 -5
- package/src/models/AddCustomAudienceUserResponseBody.ts +7 -7
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +7 -5
- package/src/models/AddGroupRequest.ts +2 -2
- package/src/models/AddGroupResponseBody.ts +7 -7
- package/src/models/AddGroupShrinkRequest.ts +2 -2
- package/src/models/AddMarketingFlowRequest.ts +16 -16
- package/src/models/AddMarketingFlowResponseBody.ts +6 -6
- package/src/models/AddMarketingFlowShrinkRequest.ts +16 -16
- 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 +7 -7
- package/src/models/BindDmAccountShrinkRequest.ts +3 -3
- package/src/models/BindInstagramPageRequest.ts +2 -2
- package/src/models/BindInstagramPageResponseBody.ts +4 -4
- package/src/models/BindMessengerPageRequest.ts +2 -2
- package/src/models/BindMessengerPageResponseBody.ts +2 -2
- package/src/models/ChangeResourceGroupRequest.ts +1 -1
- package/src/models/ChatappBindWabaRequest.ts +1 -1
- package/src/models/ChatappBindWabaResponseBody.ts +5 -5
- package/src/models/ChatappMigrationRegisterRequest.ts +1 -1
- package/src/models/ChatappMigrationRegisterResponseBody.ts +2 -2
- package/src/models/ChatappPhoneNumberDeregisterResponseBody.ts +4 -4
- package/src/models/ChatappPhoneNumberRegisterResponseBody.ts +2 -2
- package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +70 -16
- package/src/models/ChatappVerifyAndRegisterRequest.ts +1 -1
- package/src/models/ChatappVerifyAndRegisterResponseBody.ts +6 -6
- package/src/models/CheckDirectSendMessageSampleRequest.ts +3 -0
- package/src/models/CheckDirectSendMessageSampleShrinkRequest.ts +3 -0
- package/src/models/CopyTemplateRequest.ts +3 -3
- package/src/models/CopyTemplateResponseBody.ts +8 -8
- package/src/models/CreateChatFlowByImportRequest.ts +5 -5
- package/src/models/CreateChatFlowByImportResponseBody.ts +2 -2
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +5 -5
- package/src/models/CreateChatFlowLogSettingRequest.ts +1 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +4 -4
- package/src/models/CreateChatFlowRequest.ts +18 -6
- package/src/models/CreateChatFlowResponseBody.ts +2 -2
- package/src/models/CreateChatFlowShrinkRequest.ts +15 -6
- package/src/models/CreateChatappTemplateRequest.ts +101 -91
- package/src/models/CreateChatappTemplateResponseBody.ts +2 -2
- package/src/models/CreateChatappTemplateShrinkRequest.ts +21 -21
- package/src/models/CreateCustomAudienceRequest.ts +3 -5
- package/src/models/CreateCustomAudienceResponseBody.ts +4 -6
- package/src/models/CreateFlowVersionRequest.ts +4 -4
- package/src/models/CreateFlowVersionResponseBody.ts +2 -2
- package/src/models/CreateFlowVersionShrinkRequest.ts +4 -4
- package/src/models/CreateInstanceRequest.ts +8 -7
- package/src/models/CreateInstanceResponseBody.ts +13 -11
- package/src/models/CreateMessageCampaignRequest.ts +3 -3
- package/src/models/CreateMessageCampaignResponseBody.ts +4 -6
- package/src/models/CreateMessengerPageRequest.ts +4 -4
- package/src/models/CreateMessengerPageResponseBody.ts +7 -7
- package/src/models/CreateMessengerPageShrinkRequest.ts +4 -4
- package/src/models/CreateWhatsappConversionApiResponseBody.ts +8 -8
- package/src/models/DeleteChatFlowRequest.ts +2 -2
- package/src/models/DeleteChatFlowResponseBody.ts +3 -3
- package/src/models/DeleteChatFlowShrinkRequest.ts +2 -2
- package/src/models/DeleteChatGroupInviteLinkRequest.ts +4 -4
- package/src/models/DeleteChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/DeleteChatGroupParticipantsRequest.ts +7 -7
- package/src/models/DeleteChatGroupParticipantsResponseBody.ts +7 -9
- package/src/models/DeleteChatGroupParticipantsShrinkRequest.ts +6 -6
- package/src/models/DeleteChatGroupRequest.ts +3 -3
- package/src/models/DeleteChatGroupResponseBody.ts +3 -3
- package/src/models/DeleteContactsByIdsRequest.ts +2 -2
- package/src/models/DeleteContactsByIdsResponseBody.ts +5 -5
- package/src/models/DeleteContactsRequest.ts +2 -2
- package/src/models/DeleteContactsResponseBody.ts +3 -3
- package/src/models/DeleteContactsShrinkRequest.ts +2 -2
- package/src/models/DeleteFlowRequest.ts +2 -2
- package/src/models/DeleteFlowResponseBody.ts +4 -4
- package/src/models/DeleteFlowVersionRequest.ts +2 -2
- package/src/models/DeleteFlowVersionResponseBody.ts +3 -3
- package/src/models/DeleteFlowVersionShrinkRequest.ts +2 -2
- package/src/models/DeleteGroupByIdResponseBody.ts +7 -7
- package/src/models/DeleteInstagramPageRequest.ts +2 -2
- package/src/models/DeleteInstagramPageResponseBody.ts +6 -6
- package/src/models/DeleteInstanceRequest.ts +1 -1
- package/src/models/DeleteInstanceResponseBody.ts +7 -7
- package/src/models/DeleteMarketingFlowRequest.ts +3 -3
- package/src/models/DeleteMarketingFlowResponseBody.ts +7 -7
- package/src/models/DeleteMessageCampaignRequest.ts +3 -3
- package/src/models/DeleteMessageCampaignResponseBody.ts +5 -7
- package/src/models/DeleteMessengerPageRequest.ts +1 -1
- package/src/models/DeleteMessengerPageResponseBody.ts +6 -6
- package/src/models/FlowBindPhoneRequest.ts +11 -11
- package/src/models/FlowBindPhoneResponseBody.ts +5 -5
- package/src/models/FlowBindPhoneShrinkRequest.ts +8 -8
- package/src/models/FlowRebindPhoneRequest.ts +11 -11
- package/src/models/FlowRebindPhoneResponseBody.ts +5 -5
- package/src/models/FlowRebindPhoneShrinkRequest.ts +8 -8
- package/src/models/FlowUnbindPhoneRequest.ts +3 -3
- package/src/models/FlowUnbindPhoneResponseBody.ts +13 -6
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +3 -3
- package/src/models/GeneratePresignedUrlResponseBody.ts +7 -7
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +1 -1
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +26 -26
- package/src/models/GetChatFlowMetricRequest.ts +11 -11
- package/src/models/GetChatFlowMetricResponseBody.ts +5 -5
- package/src/models/GetChatFlowMetricShrinkRequest.ts +11 -11
- package/src/models/GetChatFlowTemplateRequest.ts +1 -1
- package/src/models/GetChatFlowTemplateResponseBody.ts +3 -3
- package/src/models/GetChatappOpenStatusResponseBody.ts +3 -3
- package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +5 -5
- package/src/models/GetChatappTemplateDetailRequest.ts +4 -4
- package/src/models/GetChatappTemplateDetailResponseBody.ts +97 -83
- package/src/models/GetCustomerSiteResponseBody.ts +4 -4
- package/src/models/GetDownloadExcelListRequest.ts +3 -3
- package/src/models/GetDownloadExcelListResponseBody.ts +8 -8
- package/src/models/GetDownloadExcelListShrinkRequest.ts +3 -3
- package/src/models/GetFbInstagramPagesRequest.ts +2 -3
- package/src/models/GetFbInstagramPagesResponseBody.ts +15 -15
- package/src/models/GetFbMessengerPagesRequest.ts +1 -1
- package/src/models/GetFbMessengerPagesResponseBody.ts +9 -9
- package/src/models/GetGroupExistRequest.ts +1 -1
- package/src/models/GetGroupExistResponseBody.ts +2 -2
- package/src/models/GetGroupExistShrinkRequest.ts +1 -1
- package/src/models/GetInstagramUserInfoRequest.ts +48 -0
- package/src/models/GetInstagramUserInfoResponse.ts +40 -0
- package/src/models/GetInstagramUserInfoResponseBody.ts +143 -0
- package/src/models/GetMessageCampaignInsightsRequest.ts +3 -3
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +14 -14
- package/src/models/GetMessengerUserInfoRequest.ts +48 -0
- package/src/models/GetMessengerUserInfoResponse.ts +40 -0
- package/src/models/GetMessengerUserInfoResponseBody.ts +148 -0
- package/src/models/GetPhoneNumberVerificationStatusRequest.ts +4 -5
- package/src/models/GetPhoneNumberVerificationStatusResponseBody.ts +2 -2
- package/src/models/GetPledgeTemplateAddressRequest.ts +1 -1
- package/src/models/GetPledgeTemplateAddressResponseBody.ts +5 -5
- package/src/models/GetViberByRequestNoRequest.ts +2 -2
- package/src/models/GetViberByRequestNoResponseBody.ts +46 -46
- package/src/models/GetViberPauseTimesResponseBody.ts +5 -5
- package/src/models/GetWhatsappConversionApiResponseBody.ts +6 -6
- package/src/models/GetWhatsappHealthStatusRequest.ts +3 -11
- package/src/models/GetWhatsappHealthStatusResponseBody.ts +20 -22
- package/src/models/ListAllGroupsRequest.ts +1 -1
- package/src/models/ListAllGroupsResponseBody.ts +7 -7
- package/src/models/ListAllGroupsShrinkRequest.ts +1 -1
- package/src/models/ListBindingRelationsForFlowVersionRequest.ts +1 -1
- package/src/models/ListBindingRelationsForFlowVersionResponseBody.ts +5 -5
- package/src/models/ListChatFlowRequest.ts +6 -6
- package/src/models/ListChatFlowResponseBody.ts +4 -4
- package/src/models/ListChatFlowShrinkRequest.ts +6 -6
- package/src/models/ListChatFlowTemplateRequest.ts +2 -2
- package/src/models/ListChatFlowTemplateResponseBody.ts +4 -4
- package/src/models/ListChatGroupParticipantsRequest.ts +4 -4
- package/src/models/ListChatGroupParticipantsResponseBody.ts +3 -3
- package/src/models/ListChatGroupParticipantsShrinkRequest.ts +4 -4
- package/src/models/ListChatGroupRequest.ts +9 -9
- package/src/models/ListChatGroupResponseBody.ts +7 -7
- package/src/models/ListChatGroupShrinkRequest.ts +9 -9
- package/src/models/ListChatappMessageRequest.ts +19 -13
- package/src/models/ListChatappMessageResponseBody.ts +16 -16
- package/src/models/ListChatappMessageShrinkRequest.ts +19 -13
- package/src/models/ListChatappTemplateRequest.ts +7 -10
- package/src/models/ListChatappTemplateResponseBody.ts +17 -17
- package/src/models/ListChatappTemplateShrinkRequest.ts +6 -9
- package/src/models/ListCustomAudienceRequest.ts +3 -3
- package/src/models/ListCustomAudienceResponseBody.ts +9 -11
- package/src/models/ListCustomAudienceShrinkRequest.ts +3 -3
- package/src/models/ListDmAccountRequest.ts +1 -1
- package/src/models/ListDmAccountResponseBody.ts +9 -9
- package/src/models/ListDmTagResponseBody.ts +7 -7
- package/src/models/ListFacebookPostsRequest.ts +1 -1
- package/src/models/ListFacebookPostsResponseBody.ts +6 -6
- package/src/models/ListFlowNodeGroupRequest.ts +1 -1
- package/src/models/ListFlowNodeGroupResponseBody.ts +7 -7
- package/src/models/ListFlowNodePrototypeV2request.ts +6 -6
- package/src/models/ListFlowNodePrototypeV2responseBody.ts +11 -11
- package/src/models/ListFlowVersionRequest.ts +8 -8
- package/src/models/ListFlowVersionResponseBody.ts +5 -5
- package/src/models/ListFlowVersionShrinkRequest.ts +8 -8
- package/src/models/ListInstagramPageResponseBody.ts +20 -20
- package/src/models/ListInstagramPostsRequest.ts +1 -1
- package/src/models/ListInstagramPostsResponseBody.ts +8 -8
- package/src/models/ListInstanceRequest.ts +12 -4
- package/src/models/ListInstanceResponseBody.ts +10 -10
- package/src/models/ListMarketingFlowRequest.ts +4 -4
- package/src/models/ListMarketingFlowResponseBody.ts +26 -28
- package/src/models/ListMarketingFlowShrinkRequest.ts +4 -4
- 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 +16 -16
- package/src/models/ListPageAdAccountRequest.ts +1 -1
- package/src/models/ListPageAdAccountResponseBody.ts +6 -6
- package/src/models/ListProductCatalogRequest.ts +2 -3
- package/src/models/ListProductCatalogResponseBody.ts +5 -5
- package/src/models/ListViberServiceMessageRequest.ts +1 -1
- package/src/models/ListViberServiceMessageResponseBody.ts +9 -9
- package/src/models/ListWhatAppTemplateRequest.ts +1 -1
- package/src/models/ListWhatAppTemplateResponseBody.ts +6 -6
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +2 -2
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +4 -6
- package/src/models/ModifyChatappTemplateRequest.ts +101 -164
- package/src/models/ModifyChatappTemplateResponseBody.ts +6 -3
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +16 -22
- package/src/models/ModifyPhoneBusinessProfileRequest.ts +2 -2
- package/src/models/ModifyPhoneBusinessProfileResponseBody.ts +7 -7
- package/src/models/ModifyPhoneBusinessProfileShrinkRequest.ts +2 -2
- package/src/models/MoveContactToGroupRequest.ts +4 -4
- package/src/models/MoveContactToGroupResponseBody.ts +9 -9
- package/src/models/MoveContactToGroupShrinkRequest.ts +4 -4
- package/src/models/OfflineFlowVersionRequest.ts +4 -4
- package/src/models/OfflineFlowVersionResponseBody.ts +2 -2
- package/src/models/OfflineFlowVersionShrinkRequest.ts +4 -4
- package/src/models/OnlineFlowVersionRequest.ts +4 -4
- package/src/models/OnlineFlowVersionResponseBody.ts +3 -3
- package/src/models/OnlineFlowVersionShrinkRequest.ts +4 -4
- package/src/models/QueryChatappBindWabaRequest.ts +1 -1
- package/src/models/QueryChatappBindWabaResponseBody.ts +20 -20
- package/src/models/QueryChatappPhoneNumbersRequest.ts +3 -3
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +83 -13
- package/src/models/QueryInstanceRequest.ts +1 -1
- package/src/models/QueryInstanceResponseBody.ts +17 -19
- package/src/models/QueryMmlactiveRequest.ts +1 -1
- package/src/models/QueryMmlactiveResponseBody.ts +7 -7
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +6 -6
- package/src/models/QueryWabaBusinessInfoResponseBody.ts +1 -1
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +1 -1
- package/src/models/ReadChatFlowRequest.ts +2 -2
- package/src/models/ReadChatFlowResponseBody.ts +3 -3
- package/src/models/ReadChatFlowShrinkRequest.ts +2 -2
- package/src/models/ReadFlowVersionRequest.ts +8 -8
- package/src/models/ReadFlowVersionResponseBody.ts +5 -5
- package/src/models/ReadFlowVersionShrinkRequest.ts +8 -8
- package/src/models/RemoveContactByIdRequest.ts +1 -1
- package/src/models/RemoveContactByIdResponseBody.ts +7 -7
- package/src/models/RequestWhatsappConversionApiRequest.ts +26 -30
- package/src/models/RequestWhatsappConversionApiResponseBody.ts +6 -6
- package/src/models/RequestWhatsappConversionApiShrinkRequest.ts +2 -2
- package/src/models/SendChatappMassMessageRequest.ts +46 -32
- package/src/models/SendChatappMassMessageResponseBody.ts +3 -3
- package/src/models/SendChatappMassMessageShrinkRequest.ts +20 -20
- package/src/models/SendChatappMessageRequest.ts +11 -0
- package/src/models/SendChatappMessageShrinkRequest.ts +6 -0
- package/src/models/SubmitVerifyCodeResultRequest.ts +1 -1
- package/src/models/SubmitVerifyCodeResultResponseBody.ts +6 -6
- package/src/models/SyncBusinessAppHistoryRequest.ts +1 -1
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +4 -4
- package/src/models/SyncFlowResponseBody.ts +8 -8
- package/src/models/SyncMessageCampaignRequest.ts +2 -2
- package/src/models/SyncMessageCampaignResponseBody.ts +9 -9
- package/src/models/SyncMessengerSubscriptionTokenRequest.ts +1 -1
- package/src/models/SyncMessengerSubscriptionTokenResponseBody.ts +2 -2
- package/src/models/TriggerChatFlowRequest.ts +6 -6
- package/src/models/TriggerChatFlowResponseBody.ts +7 -6
- package/src/models/TriggerChatFlowShrinkRequest.ts +6 -6
- package/src/models/UnbindDmAccountRequest.ts +1 -1
- package/src/models/UnbindDmAccountResponseBody.ts +3 -3
- package/src/models/UpdateAuditRequestRequest.ts +39 -39
- package/src/models/UpdateAuditRequestResponseBody.ts +8 -8
- package/src/models/UpdateAuditRequestShrinkRequest.ts +3 -3
- package/src/models/UpdateChatFlowLogSettingRequest.ts +4 -4
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +3 -3
- package/src/models/UpdateChatFlowRequest.ts +5 -5
- package/src/models/UpdateChatFlowResponseBody.ts +5 -5
- package/src/models/UpdateChatFlowShrinkRequest.ts +5 -5
- package/src/models/UpdateChatGroupRequest.ts +9 -9
- package/src/models/UpdateChatGroupResponseBody.ts +3 -3
- package/src/models/UpdateContactByIdRequest.ts +7 -7
- package/src/models/UpdateContactByIdResponseBody.ts +8 -8
- package/src/models/UpdateContactByIdShrinkRequest.ts +7 -7
- package/src/models/UpdateConversationalAutomationRequest.ts +4 -4
- package/src/models/UpdateConversationalAutomationResponseBody.ts +6 -6
- package/src/models/UpdateConversationalAutomationShrinkRequest.ts +2 -2
- package/src/models/UpdateFlowJsonassetResponseBody.ts +2 -2
- package/src/models/UpdateFlowVersionRequest.ts +6 -6
- package/src/models/UpdateFlowVersionResponseBody.ts +4 -4
- package/src/models/UpdateFlowVersionShrinkRequest.ts +6 -6
- package/src/models/UpdateGroupNameRequest.ts +2 -2
- package/src/models/UpdateGroupNameResponseBody.ts +9 -9
- package/src/models/UpdateInstanceRequest.ts +8 -8
- package/src/models/UpdateInstanceResponseBody.ts +14 -16
- package/src/models/UpdateMarketingFlowRequest.ts +12 -12
- package/src/models/UpdateMarketingFlowResponseBody.ts +5 -5
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +12 -12
- package/src/models/UpdatePhoneWebhookRequest.ts +3 -3
- package/src/models/UpdatePhoneWebhookResponseBody.ts +4 -4
- package/src/models/UpdateWabaMmlStatusRequest.ts +5 -5
- package/src/models/UpdateWabaMmlStatusResponseBody.ts +8 -8
- package/src/models/model.ts +8 -0
package/dist/client.js
CHANGED
|
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
41
41
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
42
|
// This file is auto-generated, don't edit it
|
|
43
43
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
44
|
+
const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
|
|
44
45
|
const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
|
|
45
46
|
const openapi_core_2 = require("@alicloud/openapi-core");
|
|
46
47
|
const $_model = __importStar(require("./models/model"));
|
|
@@ -48,10 +49,10 @@ __exportStar(require("./models/model"), exports);
|
|
|
48
49
|
class Client extends openapi_core_1.default {
|
|
49
50
|
constructor(config) {
|
|
50
51
|
super(config);
|
|
52
|
+
this._productId = "cams";
|
|
53
|
+
let gatewayClient = new gateway_pop_1.default();
|
|
54
|
+
this._spi = gatewayClient;
|
|
51
55
|
this._endpointRule = "regional";
|
|
52
|
-
this._endpointMap = {
|
|
53
|
-
'ap-southeast-1': "cams.ap-southeast-1.aliyuncs.com",
|
|
54
|
-
};
|
|
55
56
|
this.checkConfig(config);
|
|
56
57
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
57
58
|
}
|
|
@@ -65,7 +66,7 @@ class Client extends openapi_core_1.default {
|
|
|
65
66
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
+
* Applies for a destination change, resumption, or suspension.
|
|
69
70
|
*
|
|
70
71
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
71
72
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -114,7 +115,7 @@ class Client extends openapi_core_1.default {
|
|
|
114
115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
115
116
|
}
|
|
116
117
|
/**
|
|
117
|
-
*
|
|
118
|
+
* Applies for a destination change, resumption, or suspension.
|
|
118
119
|
*
|
|
119
120
|
* @param request - AddAddressRecoverSuspendRequest
|
|
120
121
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -124,7 +125,7 @@ class Client extends openapi_core_1.default {
|
|
|
124
125
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
125
126
|
}
|
|
126
127
|
/**
|
|
127
|
-
*
|
|
128
|
+
* Registers a Viber account and opens an account.
|
|
128
129
|
*
|
|
129
130
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
130
131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -173,7 +174,7 @@ class Client extends openapi_core_1.default {
|
|
|
173
174
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
174
175
|
}
|
|
175
176
|
/**
|
|
176
|
-
*
|
|
177
|
+
* Registers a Viber account and opens an account.
|
|
177
178
|
*
|
|
178
179
|
* @param request - AddAuditViberOpenRequest
|
|
179
180
|
* @returns AddAuditViberOpenResponse
|
|
@@ -186,11 +187,10 @@ class Client extends openapi_core_1.default {
|
|
|
186
187
|
* Creates an IM group.
|
|
187
188
|
*
|
|
188
189
|
* @remarks
|
|
189
|
-
* >Notice:
|
|
190
|
-
*
|
|
191
|
-
* -
|
|
192
|
-
* -
|
|
193
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
190
|
+
* >Notice: Creating IM groups by calling API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.
|
|
191
|
+
* - You can call this operation to create an IM group. Currently, you can create IM groups only by calling API operations.
|
|
192
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to join the IM group.
|
|
193
|
+
* - The maximum number of members in a group whose channel type is WhatsApp is 8.
|
|
194
194
|
*
|
|
195
195
|
* @param request - AddChatGroupRequest
|
|
196
196
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -246,11 +246,10 @@ class Client extends openapi_core_1.default {
|
|
|
246
246
|
* Creates an IM group.
|
|
247
247
|
*
|
|
248
248
|
* @remarks
|
|
249
|
-
* >Notice:
|
|
250
|
-
*
|
|
251
|
-
* -
|
|
252
|
-
* -
|
|
253
|
-
* - For the WhatsApp channel type, an IM group is limited to eight members.
|
|
249
|
+
* >Notice: Creating IM groups by calling API operations is a Meta closed beta feature. Contact your account manager to apply for whitelist access.
|
|
250
|
+
* - You can call this operation to create an IM group. Currently, you can create IM groups only by calling API operations.
|
|
251
|
+
* - After the group is created, you can call the [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operation to add an invitation link and invite members to join the IM group.
|
|
252
|
+
* - The maximum number of members in a group whose channel type is WhatsApp is 8.
|
|
254
253
|
*
|
|
255
254
|
* @param request - AddChatGroupRequest
|
|
256
255
|
* @returns AddChatGroupResponse
|
|
@@ -260,15 +259,15 @@ class Client extends openapi_core_1.default {
|
|
|
260
259
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
261
260
|
}
|
|
262
261
|
/**
|
|
263
|
-
*
|
|
262
|
+
* Creates an IM group invitation link.
|
|
264
263
|
*
|
|
265
264
|
* @remarks
|
|
266
|
-
* >
|
|
267
|
-
* - Before calling this operation, make sure that you have
|
|
268
|
-
* - If you do not have
|
|
269
|
-
* - After you call this operation to
|
|
270
|
-
* - Currently, members can join an IM group
|
|
271
|
-
* - The maximum number of members in a WhatsApp
|
|
265
|
+
* <notice>The feature of adding an IM group invitation link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
266
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
267
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation to create one.
|
|
268
|
+
* - After you call this API operation to generate an IM group invitation link, you can use the link to invite members to the IM group.
|
|
269
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
270
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
272
271
|
*
|
|
273
272
|
* @param request - AddChatGroupInviteLinkRequest
|
|
274
273
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -315,15 +314,15 @@ class Client extends openapi_core_1.default {
|
|
|
315
314
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
316
315
|
}
|
|
317
316
|
/**
|
|
318
|
-
*
|
|
317
|
+
* Creates an IM group invitation link.
|
|
319
318
|
*
|
|
320
319
|
* @remarks
|
|
321
|
-
* >
|
|
322
|
-
* - Before calling this operation, make sure that you have
|
|
323
|
-
* - If you do not have
|
|
324
|
-
* - After you call this operation to
|
|
325
|
-
* - Currently, members can join an IM group
|
|
326
|
-
* - The maximum number of members in a WhatsApp
|
|
320
|
+
* <notice>The feature of adding an IM group invitation link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
321
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
322
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation to create one.
|
|
323
|
+
* - After you call this API operation to generate an IM group invitation link, you can use the link to invite members to the IM group.
|
|
324
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
325
|
+
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
327
326
|
*
|
|
328
327
|
* @param request - AddChatGroupInviteLinkRequest
|
|
329
328
|
* @returns AddChatGroupInviteLinkResponse
|
|
@@ -333,10 +332,10 @@ class Client extends openapi_core_1.default {
|
|
|
333
332
|
return await this.addChatGroupInviteLinkWithOptions(request, runtime);
|
|
334
333
|
}
|
|
335
334
|
/**
|
|
336
|
-
* Adds a phone number to
|
|
335
|
+
* Adds a phone number to WABA.
|
|
337
336
|
*
|
|
338
337
|
* @remarks
|
|
339
|
-
* The
|
|
338
|
+
* 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
339
|
*
|
|
341
340
|
* @param request - AddChatappPhoneNumberRequest
|
|
342
341
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -386,10 +385,10 @@ class Client extends openapi_core_1.default {
|
|
|
386
385
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatappPhoneNumberResponse({}));
|
|
387
386
|
}
|
|
388
387
|
/**
|
|
389
|
-
* Adds a phone number to
|
|
388
|
+
* Adds a phone number to WABA.
|
|
390
389
|
*
|
|
391
390
|
* @remarks
|
|
392
|
-
* The
|
|
391
|
+
* 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
392
|
*
|
|
394
393
|
* @param request - AddChatappPhoneNumberRequest
|
|
395
394
|
* @returns AddChatappPhoneNumberResponse
|
|
@@ -479,10 +478,10 @@ class Client extends openapi_core_1.default {
|
|
|
479
478
|
return await this.addContactsWithOptions(request, runtime);
|
|
480
479
|
}
|
|
481
480
|
/**
|
|
482
|
-
* Adds
|
|
481
|
+
* Adds a custom audience.
|
|
483
482
|
*
|
|
484
483
|
* @remarks
|
|
485
|
-
* After users are submitted to
|
|
484
|
+
* After the users in the added custom audience are submitted to Meta, Meta discards the matching data if the number of successfully matched users is less than 100. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user data records at a time in a single request.
|
|
486
485
|
*
|
|
487
486
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
488
487
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -543,10 +542,10 @@ class Client extends openapi_core_1.default {
|
|
|
543
542
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddCustomAudienceUserResponse({}));
|
|
544
543
|
}
|
|
545
544
|
/**
|
|
546
|
-
* Adds
|
|
545
|
+
* Adds a custom audience.
|
|
547
546
|
*
|
|
548
547
|
* @remarks
|
|
549
|
-
* After users are submitted to
|
|
548
|
+
* After the users in the added custom audience are submitted to Meta, Meta discards the matching data if the number of successfully matched users is less than 100. This prevents the submitted phone numbers from being compared with tokens to establish direct relationships. You can pass up to 10,000 user data records at a time in a single request.
|
|
550
549
|
*
|
|
551
550
|
* @param request - AddCustomAudienceUserRequest
|
|
552
551
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -633,7 +632,7 @@ class Client extends openapi_core_1.default {
|
|
|
633
632
|
return await this.addGroupWithOptions(request, runtime);
|
|
634
633
|
}
|
|
635
634
|
/**
|
|
636
|
-
* Creates a campaign.
|
|
635
|
+
* Creates a marketing campaign.
|
|
637
636
|
*
|
|
638
637
|
* @param tmpReq - AddMarketingFlowRequest
|
|
639
638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -715,7 +714,7 @@ class Client extends openapi_core_1.default {
|
|
|
715
714
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
716
715
|
}
|
|
717
716
|
/**
|
|
718
|
-
* Creates a campaign.
|
|
717
|
+
* Creates a marketing campaign.
|
|
719
718
|
*
|
|
720
719
|
* @param request - AddMarketingFlowRequest
|
|
721
720
|
* @returns AddMarketingFlowResponse
|
|
@@ -725,7 +724,7 @@ class Client extends openapi_core_1.default {
|
|
|
725
724
|
return await this.addMarketingFlowWithOptions(request, runtime);
|
|
726
725
|
}
|
|
727
726
|
/**
|
|
728
|
-
* Archives
|
|
727
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
729
728
|
*
|
|
730
729
|
* @param tmpReq - ArchiveChatappTemplateRequest
|
|
731
730
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -768,7 +767,7 @@ class Client extends openapi_core_1.default {
|
|
|
768
767
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ArchiveChatappTemplateResponse({}));
|
|
769
768
|
}
|
|
770
769
|
/**
|
|
771
|
-
* Archives
|
|
770
|
+
* Archives Chat App templates. Currently, only WhatsApp templates support archiving.
|
|
772
771
|
*
|
|
773
772
|
* @param request - ArchiveChatappTemplateRequest
|
|
774
773
|
* @returns ArchiveChatappTemplateResponse
|
|
@@ -837,7 +836,7 @@ class Client extends openapi_core_1.default {
|
|
|
837
836
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
838
837
|
}
|
|
839
838
|
/**
|
|
840
|
-
*
|
|
839
|
+
* Binds a page to an instance.
|
|
841
840
|
*
|
|
842
841
|
* @param request - BindInstagramPageRequest
|
|
843
842
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -881,7 +880,7 @@ class Client extends openapi_core_1.default {
|
|
|
881
880
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
882
881
|
}
|
|
883
882
|
/**
|
|
884
|
-
*
|
|
883
|
+
* Binds a page to an instance.
|
|
885
884
|
*
|
|
886
885
|
* @param request - BindInstagramPageRequest
|
|
887
886
|
* @returns BindInstagramPageResponse
|
|
@@ -891,7 +890,7 @@ class Client extends openapi_core_1.default {
|
|
|
891
890
|
return await this.bindInstagramPageWithOptions(request, runtime);
|
|
892
891
|
}
|
|
893
892
|
/**
|
|
894
|
-
* Binds the selected
|
|
893
|
+
* Binds the selected page ID.
|
|
895
894
|
*
|
|
896
895
|
* @param request - BindMessengerPageRequest
|
|
897
896
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -935,7 +934,7 @@ class Client extends openapi_core_1.default {
|
|
|
935
934
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindMessengerPageResponse({}));
|
|
936
935
|
}
|
|
937
936
|
/**
|
|
938
|
-
* Binds the selected
|
|
937
|
+
* Binds the selected page ID.
|
|
939
938
|
*
|
|
940
939
|
* @param request - BindMessengerPageRequest
|
|
941
940
|
* @returns BindMessengerPageResponse
|
|
@@ -945,7 +944,7 @@ class Client extends openapi_core_1.default {
|
|
|
945
944
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
946
945
|
}
|
|
947
946
|
/**
|
|
948
|
-
*
|
|
947
|
+
* Transfers resources to another resource group.
|
|
949
948
|
*
|
|
950
949
|
* @param request - ChangeResourceGroupRequest
|
|
951
950
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -980,7 +979,7 @@ class Client extends openapi_core_1.default {
|
|
|
980
979
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
981
980
|
}
|
|
982
981
|
/**
|
|
983
|
-
*
|
|
982
|
+
* Transfers resources to another resource group.
|
|
984
983
|
*
|
|
985
984
|
* @param request - ChangeResourceGroupRequest
|
|
986
985
|
* @returns ChangeResourceGroupResponse
|
|
@@ -990,10 +989,10 @@ class Client extends openapi_core_1.default {
|
|
|
990
989
|
return await this.changeResourceGroupWithOptions(request, runtime);
|
|
991
990
|
}
|
|
992
991
|
/**
|
|
993
|
-
* Binds a
|
|
992
|
+
* Binds a WABA to the northbound interface.
|
|
994
993
|
*
|
|
995
994
|
* @remarks
|
|
996
|
-
* The per
|
|
995
|
+
* 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
996
|
*
|
|
998
997
|
* @param request - ChatappBindWabaRequest
|
|
999
998
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1031,10 +1030,10 @@ class Client extends openapi_core_1.default {
|
|
|
1031
1030
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappBindWabaResponse({}));
|
|
1032
1031
|
}
|
|
1033
1032
|
/**
|
|
1034
|
-
* Binds a
|
|
1033
|
+
* Binds a WABA to the northbound interface.
|
|
1035
1034
|
*
|
|
1036
1035
|
* @remarks
|
|
1037
|
-
* The per
|
|
1036
|
+
* 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
1037
|
*
|
|
1039
1038
|
* @param request - ChatappBindWabaRequest
|
|
1040
1039
|
* @returns ChatappBindWabaResponse
|
|
@@ -1047,7 +1046,7 @@ class Client extends openapi_core_1.default {
|
|
|
1047
1046
|
* Migrates a phone number registration.
|
|
1048
1047
|
*
|
|
1049
1048
|
* @remarks
|
|
1050
|
-
* The queries per second (QPS) limit for
|
|
1049
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1051
1050
|
*
|
|
1052
1051
|
* @param request - ChatappMigrationRegisterRequest
|
|
1053
1052
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1091,7 +1090,7 @@ class Client extends openapi_core_1.default {
|
|
|
1091
1090
|
* Migrates a phone number registration.
|
|
1092
1091
|
*
|
|
1093
1092
|
* @remarks
|
|
1094
|
-
* The queries per second (QPS) limit for
|
|
1093
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Make API calls at a reasonable rate.
|
|
1095
1094
|
*
|
|
1096
1095
|
* @param request - ChatappMigrationRegisterRequest
|
|
1097
1096
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1161,10 +1160,10 @@ class Client extends openapi_core_1.default {
|
|
|
1161
1160
|
return await this.chatappMigrationVerifiedWithOptions(request, runtime);
|
|
1162
1161
|
}
|
|
1163
1162
|
/**
|
|
1164
|
-
*
|
|
1163
|
+
* Unregisters a phone number from WABA.
|
|
1165
1164
|
*
|
|
1166
1165
|
* @remarks
|
|
1167
|
-
* The
|
|
1166
|
+
* 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
1167
|
*
|
|
1169
1168
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1170
1169
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1205,10 +1204,10 @@ class Client extends openapi_core_1.default {
|
|
|
1205
1204
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberDeregisterResponse({}));
|
|
1206
1205
|
}
|
|
1207
1206
|
/**
|
|
1208
|
-
*
|
|
1207
|
+
* Unregisters a phone number from WABA.
|
|
1209
1208
|
*
|
|
1210
1209
|
* @remarks
|
|
1211
|
-
* The
|
|
1210
|
+
* 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
1211
|
*
|
|
1213
1212
|
* @param request - ChatappPhoneNumberDeregisterRequest
|
|
1214
1213
|
* @returns ChatappPhoneNumberDeregisterResponse
|
|
@@ -1218,10 +1217,10 @@ class Client extends openapi_core_1.default {
|
|
|
1218
1217
|
return await this.chatappPhoneNumberDeregisterWithOptions(request, runtime);
|
|
1219
1218
|
}
|
|
1220
1219
|
/**
|
|
1221
|
-
* Registers a phone number
|
|
1220
|
+
* Registers a phone number.
|
|
1222
1221
|
*
|
|
1223
1222
|
* @remarks
|
|
1224
|
-
* The
|
|
1223
|
+
* 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
1224
|
*
|
|
1226
1225
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1227
1226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1262,10 +1261,10 @@ class Client extends openapi_core_1.default {
|
|
|
1262
1261
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappPhoneNumberRegisterResponse({}));
|
|
1263
1262
|
}
|
|
1264
1263
|
/**
|
|
1265
|
-
* Registers a phone number
|
|
1264
|
+
* Registers a phone number.
|
|
1266
1265
|
*
|
|
1267
1266
|
* @remarks
|
|
1268
|
-
* The
|
|
1267
|
+
* 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
1268
|
*
|
|
1270
1269
|
* @param request - ChatappPhoneNumberRegisterRequest
|
|
1271
1270
|
* @returns ChatappPhoneNumberRegisterResponse
|
|
@@ -1278,7 +1277,7 @@ class Client extends openapi_core_1.default {
|
|
|
1278
1277
|
* Synchronizes phone number information.
|
|
1279
1278
|
*
|
|
1280
1279
|
* @remarks
|
|
1281
|
-
* The
|
|
1280
|
+
* The single-user QPS limit for this API operation is 10 requests per second. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
1282
1281
|
*
|
|
1283
1282
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1284
1283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1319,7 +1318,7 @@ class Client extends openapi_core_1.default {
|
|
|
1319
1318
|
* Synchronizes phone number information.
|
|
1320
1319
|
*
|
|
1321
1320
|
* @remarks
|
|
1322
|
-
* The
|
|
1321
|
+
* The single-user QPS limit for this API operation is 10 requests per second. If you exceed the limit, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
1323
1322
|
*
|
|
1324
1323
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1325
1324
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1329,10 +1328,10 @@ class Client extends openapi_core_1.default {
|
|
|
1329
1328
|
return await this.chatappSyncPhoneNumberWithOptions(request, runtime);
|
|
1330
1329
|
}
|
|
1331
1330
|
/**
|
|
1332
|
-
* Verifies
|
|
1331
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1333
1332
|
*
|
|
1334
1333
|
* @remarks
|
|
1335
|
-
* The
|
|
1334
|
+
* 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
1335
|
*
|
|
1337
1336
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1338
1337
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1376,10 +1375,10 @@ class Client extends openapi_core_1.default {
|
|
|
1376
1375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChatappVerifyAndRegisterResponse({}));
|
|
1377
1376
|
}
|
|
1378
1377
|
/**
|
|
1379
|
-
* Verifies
|
|
1378
|
+
* Verifies the verification code and registers a user through the northbound API.
|
|
1380
1379
|
*
|
|
1381
1380
|
* @remarks
|
|
1382
|
-
* The
|
|
1381
|
+
* 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
1382
|
*
|
|
1384
1383
|
* @param request - ChatappVerifyAndRegisterRequest
|
|
1385
1384
|
* @returns ChatappVerifyAndRegisterResponse
|
|
@@ -1505,8 +1504,8 @@ class Client extends openapi_core_1.default {
|
|
|
1505
1504
|
* Creates a flow.
|
|
1506
1505
|
*
|
|
1507
1506
|
* @remarks
|
|
1508
|
-
* - You can create a flow
|
|
1509
|
-
* - After creating a flow, refer to [Flow
|
|
1507
|
+
* - You can use this operation to create a flow, or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1508
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1510
1509
|
*
|
|
1511
1510
|
* @param tmpReq - CreateChatFlowRequest
|
|
1512
1511
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1522,6 +1521,9 @@ class Client extends openapi_core_1.default {
|
|
|
1522
1521
|
if (!$dara.isNull(tmpReq.lifeCycleExtendData)) {
|
|
1523
1522
|
request.lifeCycleExtendDataShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendData, "LifeCycleExtendData", "json");
|
|
1524
1523
|
}
|
|
1524
|
+
if (!$dara.isNull(tmpReq.lifeCycleExtendDataV2)) {
|
|
1525
|
+
request.lifeCycleExtendDataV2Shrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.lifeCycleExtendDataV2, "LifeCycleExtendDataV2", "json");
|
|
1526
|
+
}
|
|
1525
1527
|
let query = {};
|
|
1526
1528
|
if (!$dara.isNull(request.bizCode)) {
|
|
1527
1529
|
query["BizCode"] = request.bizCode;
|
|
@@ -1541,6 +1543,9 @@ class Client extends openapi_core_1.default {
|
|
|
1541
1543
|
if (!$dara.isNull(request.lifeCycleExtendDataShrink)) {
|
|
1542
1544
|
query["LifeCycleExtendData"] = request.lifeCycleExtendDataShrink;
|
|
1543
1545
|
}
|
|
1546
|
+
if (!$dara.isNull(request.lifeCycleExtendDataV2Shrink)) {
|
|
1547
|
+
query["LifeCycleExtendDataV2"] = request.lifeCycleExtendDataV2Shrink;
|
|
1548
|
+
}
|
|
1544
1549
|
if (!$dara.isNull(request.ownerId)) {
|
|
1545
1550
|
query["OwnerId"] = request.ownerId;
|
|
1546
1551
|
}
|
|
@@ -1576,8 +1581,8 @@ class Client extends openapi_core_1.default {
|
|
|
1576
1581
|
* Creates a flow.
|
|
1577
1582
|
*
|
|
1578
1583
|
* @remarks
|
|
1579
|
-
* - You can create a flow
|
|
1580
|
-
* - After creating a flow, refer to [Flow
|
|
1584
|
+
* - You can use this operation to create a flow, or manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) interface.
|
|
1585
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1581
1586
|
*
|
|
1582
1587
|
* @param request - CreateChatFlowRequest
|
|
1583
1588
|
* @returns CreateChatFlowResponse
|
|
@@ -1590,9 +1595,9 @@ class Client extends openapi_core_1.default {
|
|
|
1590
1595
|
* Creates and imports a flow.
|
|
1591
1596
|
*
|
|
1592
1597
|
* @remarks
|
|
1593
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1594
|
-
* - Before calling this operation,
|
|
1595
|
-
* - If you do not have exported flow DSL data,
|
|
1598
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1599
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1600
|
+
* - If you do not have the exported flow DSL data, click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration interface, orchestrate the canvas components, save the flow, and then export it as a JSON data file.
|
|
1596
1601
|
*
|
|
1597
1602
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1598
1603
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1650,9 +1655,9 @@ class Client extends openapi_core_1.default {
|
|
|
1650
1655
|
* Creates and imports a flow.
|
|
1651
1656
|
*
|
|
1652
1657
|
* @remarks
|
|
1653
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1654
|
-
* - Before calling this operation,
|
|
1655
|
-
* - If you do not have exported flow DSL data,
|
|
1658
|
+
* - You can call this operation to create and import a flow, or manually create and import a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1659
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1660
|
+
* - If you do not have the exported flow DSL data, click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration interface, orchestrate the canvas components, save the flow, and then export it as a JSON data file.
|
|
1656
1661
|
*
|
|
1657
1662
|
* @param request - CreateChatFlowByImportRequest
|
|
1658
1663
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1662,13 +1667,13 @@ class Client extends openapi_core_1.default {
|
|
|
1662
1667
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1663
1668
|
}
|
|
1664
1669
|
/**
|
|
1665
|
-
* Creates
|
|
1670
|
+
* Creates chat flow log settings.
|
|
1666
1671
|
*
|
|
1667
1672
|
* @remarks
|
|
1668
|
-
* - To update
|
|
1669
|
-
* - If you do not need to update
|
|
1670
|
-
* - Before
|
|
1671
|
-
* - If
|
|
1673
|
+
* - To update chat flow log settings by calling API operations, you must first create the log settings. After the log settings are created, you can call the [ReadChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/ReadChatFlowLogSetting) operation to query the log settings, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
1674
|
+
* - If you do not need to update chat flow log settings by calling API operations, you can manually update the log settings by choosing **Settings** > **Log** in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1675
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1676
|
+
* - If no chat flow is created, you can manually create a chat flow in [Chat Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a chat flow.
|
|
1672
1677
|
*
|
|
1673
1678
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1674
1679
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1706,13 +1711,13 @@ class Client extends openapi_core_1.default {
|
|
|
1706
1711
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1707
1712
|
}
|
|
1708
1713
|
/**
|
|
1709
|
-
* Creates
|
|
1714
|
+
* Creates chat flow log settings.
|
|
1710
1715
|
*
|
|
1711
1716
|
* @remarks
|
|
1712
|
-
* - To update
|
|
1713
|
-
* - If you do not need to update
|
|
1714
|
-
* - Before
|
|
1715
|
-
* - If
|
|
1717
|
+
* - To update chat flow log settings by calling API operations, you must first create the log settings. After the log settings are created, you can call the [ReadChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/ReadChatFlowLogSetting) operation to query the log settings, and then call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the log settings.
|
|
1718
|
+
* - If you do not need to update chat flow log settings by calling API operations, you can manually update the log settings by choosing **Settings** > **Log** in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
1719
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1720
|
+
* - If no chat flow is created, you can manually create a chat flow in [Chat Flow Builder](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://help.aliyun.com/document_detail/2937204.html) operation to create a chat flow.
|
|
1716
1721
|
*
|
|
1717
1722
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1718
1723
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1782,13 +1787,13 @@ class Client extends openapi_core_1.default {
|
|
|
1782
1787
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1783
1788
|
}
|
|
1784
1789
|
/**
|
|
1785
|
-
* Creates a message template.
|
|
1790
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1786
1791
|
*
|
|
1787
1792
|
* @remarks
|
|
1788
1793
|
* ### QPS limit
|
|
1789
|
-
* The
|
|
1794
|
+
* 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.
|
|
1790
1795
|
* ### Status changes
|
|
1791
|
-
* You can
|
|
1796
|
+
* 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).
|
|
1792
1797
|
*
|
|
1793
1798
|
* @param tmpReq - CreateChatappTemplateRequest
|
|
1794
1799
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1861,13 +1866,13 @@ class Client extends openapi_core_1.default {
|
|
|
1861
1866
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1862
1867
|
}
|
|
1863
1868
|
/**
|
|
1864
|
-
* Creates a message template.
|
|
1869
|
+
* Creates a message template. You can send messages after the template is approved.
|
|
1865
1870
|
*
|
|
1866
1871
|
* @remarks
|
|
1867
1872
|
* ### QPS limit
|
|
1868
|
-
* The
|
|
1873
|
+
* 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.
|
|
1869
1874
|
* ### Status changes
|
|
1870
|
-
* You can
|
|
1875
|
+
* 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).
|
|
1871
1876
|
*
|
|
1872
1877
|
* @param request - CreateChatappTemplateRequest
|
|
1873
1878
|
* @returns CreateChatappTemplateResponse
|
|
@@ -2014,9 +2019,9 @@ class Client extends openapi_core_1.default {
|
|
|
2014
2019
|
* Creates a new flow version by copying an existing flow version.
|
|
2015
2020
|
*
|
|
2016
2021
|
* @remarks
|
|
2017
|
-
* - You can call this operation to create a new flow version,
|
|
2018
|
-
* - Before calling this operation,
|
|
2019
|
-
* - If you
|
|
2022
|
+
* - You can call this operation to create a new flow version. Alternatively, you can go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to go to the canvas orchestration page, and manually copy a new flow version.
|
|
2023
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2024
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation.
|
|
2020
2025
|
*
|
|
2021
2026
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2022
2027
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2074,9 +2079,9 @@ class Client extends openapi_core_1.default {
|
|
|
2074
2079
|
* Creates a new flow version by copying an existing flow version.
|
|
2075
2080
|
*
|
|
2076
2081
|
* @remarks
|
|
2077
|
-
* - You can call this operation to create a new flow version,
|
|
2078
|
-
* - Before calling this operation,
|
|
2079
|
-
* - If you
|
|
2082
|
+
* - You can call this operation to create a new flow version. Alternatively, you can go to the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page, click the flow name to go to the canvas orchestration page, and manually copy a new flow version.
|
|
2083
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2084
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation.
|
|
2080
2085
|
*
|
|
2081
2086
|
* @param request - CreateFlowVersionRequest
|
|
2082
2087
|
* @returns CreateFlowVersionResponse
|
|
@@ -2215,7 +2220,7 @@ class Client extends openapi_core_1.default {
|
|
|
2215
2220
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2216
2221
|
}
|
|
2217
2222
|
/**
|
|
2218
|
-
* Authorizes an embedded
|
|
2223
|
+
* Authorizes an embedded Messenger.
|
|
2219
2224
|
*
|
|
2220
2225
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2221
2226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2270,7 +2275,7 @@ class Client extends openapi_core_1.default {
|
|
|
2270
2275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2271
2276
|
}
|
|
2272
2277
|
/**
|
|
2273
|
-
* Authorizes an embedded
|
|
2278
|
+
* Authorizes an embedded Messenger.
|
|
2274
2279
|
*
|
|
2275
2280
|
* @param request - CreateMessengerPageRequest
|
|
2276
2281
|
* @returns CreateMessengerPageResponse
|
|
@@ -2357,7 +2362,7 @@ class Client extends openapi_core_1.default {
|
|
|
2357
2362
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2358
2363
|
}
|
|
2359
2364
|
/**
|
|
2360
|
-
* Retrieves
|
|
2365
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2361
2366
|
*
|
|
2362
2367
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2363
2368
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2406,7 +2411,7 @@ class Client extends openapi_core_1.default {
|
|
|
2406
2411
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2407
2412
|
}
|
|
2408
2413
|
/**
|
|
2409
|
-
* Retrieves
|
|
2414
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2410
2415
|
*
|
|
2411
2416
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2412
2417
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2419,8 +2424,8 @@ class Client extends openapi_core_1.default {
|
|
|
2419
2424
|
* Deletes a flow.
|
|
2420
2425
|
*
|
|
2421
2426
|
* @remarks
|
|
2422
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2423
|
-
* - Before deleting a flow, make sure the flow
|
|
2427
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2428
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2424
2429
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2425
2430
|
*
|
|
2426
2431
|
* @param tmpReq - DeleteChatFlowRequest
|
|
@@ -2473,8 +2478,8 @@ class Client extends openapi_core_1.default {
|
|
|
2473
2478
|
* Deletes a flow.
|
|
2474
2479
|
*
|
|
2475
2480
|
* @remarks
|
|
2476
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2477
|
-
* - Before deleting a flow, make sure the flow
|
|
2481
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2482
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2478
2483
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2479
2484
|
*
|
|
2480
2485
|
* @param request - DeleteChatFlowRequest
|
|
@@ -2485,13 +2490,13 @@ class Client extends openapi_core_1.default {
|
|
|
2485
2490
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2486
2491
|
}
|
|
2487
2492
|
/**
|
|
2488
|
-
* Deletes
|
|
2493
|
+
* Deletes an existing IM group.
|
|
2489
2494
|
*
|
|
2490
2495
|
* @remarks
|
|
2491
|
-
* >
|
|
2492
|
-
* - Before calling this operation, make sure that you have
|
|
2493
|
-
* - If you do not have
|
|
2494
|
-
* -
|
|
2496
|
+
* <notice>The feature to delete an IM group by calling an API operation is in the closed beta phase of Meta. Contact your account manager to apply for whitelist access.</notice>
|
|
2497
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2498
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2499
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2495
2500
|
*
|
|
2496
2501
|
* @param request - DeleteChatGroupRequest
|
|
2497
2502
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2538,13 +2543,13 @@ class Client extends openapi_core_1.default {
|
|
|
2538
2543
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2539
2544
|
}
|
|
2540
2545
|
/**
|
|
2541
|
-
* Deletes
|
|
2546
|
+
* Deletes an existing IM group.
|
|
2542
2547
|
*
|
|
2543
2548
|
* @remarks
|
|
2544
|
-
* >
|
|
2545
|
-
* - Before calling this operation, make sure that you have
|
|
2546
|
-
* - If you do not have
|
|
2547
|
-
* -
|
|
2549
|
+
* <notice>The feature to delete an IM group by calling an API operation is in the closed beta phase of Meta. Contact your account manager to apply for whitelist access.</notice>
|
|
2550
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2551
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
2552
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2548
2553
|
*
|
|
2549
2554
|
* @param request - DeleteChatGroupRequest
|
|
2550
2555
|
* @returns DeleteChatGroupResponse
|
|
@@ -2554,13 +2559,13 @@ class Client extends openapi_core_1.default {
|
|
|
2554
2559
|
return await this.deleteChatGroupWithOptions(request, runtime);
|
|
2555
2560
|
}
|
|
2556
2561
|
/**
|
|
2557
|
-
* Deletes an IM group
|
|
2562
|
+
* Deletes an IM group invite link.
|
|
2558
2563
|
*
|
|
2559
2564
|
* @remarks
|
|
2560
|
-
* >Notice: The
|
|
2561
|
-
* - Before
|
|
2562
|
-
* - If you do not have
|
|
2563
|
-
* - After
|
|
2565
|
+
* >Notice: The feature to delete an IM group invite link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
2566
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2567
|
+
* - If you do not have a successfully created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
2568
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2564
2569
|
*
|
|
2565
2570
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2566
2571
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2607,13 +2612,13 @@ class Client extends openapi_core_1.default {
|
|
|
2607
2612
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupInviteLinkResponse({}));
|
|
2608
2613
|
}
|
|
2609
2614
|
/**
|
|
2610
|
-
* Deletes an IM group
|
|
2615
|
+
* Deletes an IM group invite link.
|
|
2611
2616
|
*
|
|
2612
2617
|
* @remarks
|
|
2613
|
-
* >Notice: The
|
|
2614
|
-
* - Before
|
|
2615
|
-
* - If you do not have
|
|
2616
|
-
* - After
|
|
2618
|
+
* >Notice: The feature to delete an IM group invite link through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
2619
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2620
|
+
* - If you do not have a successfully created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
2621
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2617
2622
|
*
|
|
2618
2623
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2619
2624
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2626,11 +2631,10 @@ class Client extends openapi_core_1.default {
|
|
|
2626
2631
|
* Removes members from an IM group.
|
|
2627
2632
|
*
|
|
2628
2633
|
* @remarks
|
|
2629
|
-
* >Notice:
|
|
2630
|
-
*
|
|
2631
|
-
* -
|
|
2632
|
-
* -
|
|
2633
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2634
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2635
|
+
* - Before calling this API operation, make sure that an IM group invite link has been added to the created IM group and members have joined the group through the link.
|
|
2636
|
+
* - If you do not have a created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
2637
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2634
2638
|
*
|
|
2635
2639
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2636
2640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2688,11 +2692,10 @@ class Client extends openapi_core_1.default {
|
|
|
2688
2692
|
* Removes members from an IM group.
|
|
2689
2693
|
*
|
|
2690
2694
|
* @remarks
|
|
2691
|
-
* >Notice:
|
|
2692
|
-
*
|
|
2693
|
-
* -
|
|
2694
|
-
* -
|
|
2695
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2695
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2696
|
+
* - Before calling this API operation, make sure that an IM group invite link has been added to the created IM group and members have joined the group through the link.
|
|
2697
|
+
* - If you do not have a created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
2698
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2696
2699
|
*
|
|
2697
2700
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
2698
2701
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -2776,7 +2779,7 @@ class Client extends openapi_core_1.default {
|
|
|
2776
2779
|
return await this.deleteChatappTemplateWithOptions(request, runtime);
|
|
2777
2780
|
}
|
|
2778
2781
|
/**
|
|
2779
|
-
* Deletes a contact
|
|
2782
|
+
* Deletes a contact.
|
|
2780
2783
|
*
|
|
2781
2784
|
* @param tmpReq - DeleteContactsRequest
|
|
2782
2785
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2834,7 +2837,7 @@ class Client extends openapi_core_1.default {
|
|
|
2834
2837
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsResponse({}));
|
|
2835
2838
|
}
|
|
2836
2839
|
/**
|
|
2837
|
-
* Deletes a contact
|
|
2840
|
+
* Deletes a contact.
|
|
2838
2841
|
*
|
|
2839
2842
|
* @param request - DeleteContactsRequest
|
|
2840
2843
|
* @returns DeleteContactsResponse
|
|
@@ -2844,7 +2847,7 @@ class Client extends openapi_core_1.default {
|
|
|
2844
2847
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2845
2848
|
}
|
|
2846
2849
|
/**
|
|
2847
|
-
* Deletes contacts
|
|
2850
|
+
* Deletes contacts.
|
|
2848
2851
|
*
|
|
2849
2852
|
* @param request - DeleteContactsByIdsRequest
|
|
2850
2853
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2882,7 +2885,7 @@ class Client extends openapi_core_1.default {
|
|
|
2882
2885
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2883
2886
|
}
|
|
2884
2887
|
/**
|
|
2885
|
-
* Deletes contacts
|
|
2888
|
+
* Deletes contacts.
|
|
2886
2889
|
*
|
|
2887
2890
|
* @param request - DeleteContactsByIdsRequest
|
|
2888
2891
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2892,10 +2895,10 @@ class Client extends openapi_core_1.default {
|
|
|
2892
2895
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2893
2896
|
}
|
|
2894
2897
|
/**
|
|
2895
|
-
* Deletes a
|
|
2898
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2896
2899
|
*
|
|
2897
2900
|
* @remarks
|
|
2898
|
-
* The
|
|
2901
|
+
* The queries per second (QPS) limit per user for this API operation is 5. If you exceed this limit, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2899
2902
|
*
|
|
2900
2903
|
* @param request - DeleteFlowRequest
|
|
2901
2904
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2936,10 +2939,10 @@ class Client extends openapi_core_1.default {
|
|
|
2936
2939
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2937
2940
|
}
|
|
2938
2941
|
/**
|
|
2939
|
-
* Deletes a
|
|
2942
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2940
2943
|
*
|
|
2941
2944
|
* @remarks
|
|
2942
|
-
* The
|
|
2945
|
+
* The queries per second (QPS) limit per user for this API operation is 5. If you exceed this limit, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2943
2946
|
*
|
|
2944
2947
|
* @param request - DeleteFlowRequest
|
|
2945
2948
|
* @returns DeleteFlowResponse
|
|
@@ -2952,10 +2955,10 @@ class Client extends openapi_core_1.default {
|
|
|
2952
2955
|
* Deletes a flow version.
|
|
2953
2956
|
*
|
|
2954
2957
|
* @remarks
|
|
2955
|
-
* - You can call this operation to delete a flow version, or click
|
|
2956
|
-
* - Before calling this operation,
|
|
2957
|
-
* - If
|
|
2958
|
-
* - After a flow version is deleted, the canvas flow
|
|
2958
|
+
* - You can call this operation to delete a flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
2959
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
2960
|
+
* - If your flow version is online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow version offline.
|
|
2961
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
2959
2962
|
*
|
|
2960
2963
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2961
2964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3010,10 +3013,10 @@ class Client extends openapi_core_1.default {
|
|
|
3010
3013
|
* Deletes a flow version.
|
|
3011
3014
|
*
|
|
3012
3015
|
* @remarks
|
|
3013
|
-
* - You can call this operation to delete a flow version, or click
|
|
3014
|
-
* - Before calling this operation,
|
|
3015
|
-
* - If
|
|
3016
|
-
* - After a flow version is deleted, the canvas flow
|
|
3016
|
+
* - You can call this operation to delete a flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually delete the flow version.
|
|
3017
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
3018
|
+
* - If your flow version is online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow version offline.
|
|
3019
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
3017
3020
|
*
|
|
3018
3021
|
* @param request - DeleteFlowVersionRequest
|
|
3019
3022
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3071,7 +3074,7 @@ class Client extends openapi_core_1.default {
|
|
|
3071
3074
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
3072
3075
|
}
|
|
3073
3076
|
/**
|
|
3074
|
-
* Deletes a page
|
|
3077
|
+
* Deletes a page of an instance.
|
|
3075
3078
|
*
|
|
3076
3079
|
* @param request - DeleteInstagramPageRequest
|
|
3077
3080
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3112,7 +3115,7 @@ class Client extends openapi_core_1.default {
|
|
|
3112
3115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
3113
3116
|
}
|
|
3114
3117
|
/**
|
|
3115
|
-
* Deletes a page
|
|
3118
|
+
* Deletes a page of an instance.
|
|
3116
3119
|
*
|
|
3117
3120
|
* @param request - DeleteInstagramPageRequest
|
|
3118
3121
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3122,7 +3125,7 @@ class Client extends openapi_core_1.default {
|
|
|
3122
3125
|
return await this.deleteInstagramPageWithOptions(request, runtime);
|
|
3123
3126
|
}
|
|
3124
3127
|
/**
|
|
3125
|
-
* Deletes
|
|
3128
|
+
* Deletes an instance.
|
|
3126
3129
|
*
|
|
3127
3130
|
* @param request - DeleteInstanceRequest
|
|
3128
3131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3151,7 +3154,7 @@ class Client extends openapi_core_1.default {
|
|
|
3151
3154
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
3152
3155
|
}
|
|
3153
3156
|
/**
|
|
3154
|
-
* Deletes
|
|
3157
|
+
* Deletes an instance.
|
|
3155
3158
|
*
|
|
3156
3159
|
* @param request - DeleteInstanceRequest
|
|
3157
3160
|
* @returns DeleteInstanceResponse
|
|
@@ -3212,7 +3215,7 @@ class Client extends openapi_core_1.default {
|
|
|
3212
3215
|
return await this.deleteMarketingFlowWithOptions(request, runtime);
|
|
3213
3216
|
}
|
|
3214
3217
|
/**
|
|
3215
|
-
* Deletes the budget for
|
|
3218
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3216
3219
|
*
|
|
3217
3220
|
* @param request - DeleteMessageCampaignRequest
|
|
3218
3221
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3259,7 +3262,7 @@ class Client extends openapi_core_1.default {
|
|
|
3259
3262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessageCampaignResponse({}));
|
|
3260
3263
|
}
|
|
3261
3264
|
/**
|
|
3262
|
-
* Deletes the budget for
|
|
3265
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3263
3266
|
*
|
|
3264
3267
|
* @param request - DeleteMessageCampaignRequest
|
|
3265
3268
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3552,15 +3555,15 @@ class Client extends openapi_core_1.default {
|
|
|
3552
3555
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3553
3556
|
}
|
|
3554
3557
|
/**
|
|
3555
|
-
*
|
|
3558
|
+
* Associates a phone number or business account ID with a flow.
|
|
3556
3559
|
*
|
|
3557
3560
|
* @remarks
|
|
3558
|
-
* - You can call this operation to
|
|
3559
|
-
* - Before
|
|
3560
|
-
* - For the WhatsApp channel type,
|
|
3561
|
-
* - For the Messenger channel type,
|
|
3562
|
-
* - For the Instagram channel type,
|
|
3563
|
-
* <props="intl">- For the Viber channel type,
|
|
3561
|
+
* - You can call this operation to associate a phone number or business account ID with a flow. You can also manually bind them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3562
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3563
|
+
* - For the WhatsApp channel type, you must have completed [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3564
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3565
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3566
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3564
3567
|
*
|
|
3565
3568
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3566
3569
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3624,15 +3627,15 @@ class Client extends openapi_core_1.default {
|
|
|
3624
3627
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3625
3628
|
}
|
|
3626
3629
|
/**
|
|
3627
|
-
*
|
|
3630
|
+
* Associates a phone number or business account ID with a flow.
|
|
3628
3631
|
*
|
|
3629
3632
|
* @remarks
|
|
3630
|
-
* - You can call this operation to
|
|
3631
|
-
* - Before
|
|
3632
|
-
* - For the WhatsApp channel type,
|
|
3633
|
-
* - For the Messenger channel type,
|
|
3634
|
-
* - For the Instagram channel type,
|
|
3635
|
-
* <props="intl">- For the Viber channel type,
|
|
3633
|
+
* - You can call this operation to associate a phone number or business account ID with a flow. You can also manually bind them on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3634
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3635
|
+
* - For the WhatsApp channel type, you must have completed [WABA registration and binding](https://help.aliyun.com/document_detail/172335.html) and [added a phone number](https://help.aliyun.com/document_detail/2656131.html).
|
|
3636
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3637
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3638
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3636
3639
|
*
|
|
3637
3640
|
* @param request - FlowBindPhoneRequest
|
|
3638
3641
|
* @returns FlowBindPhoneResponse
|
|
@@ -3642,12 +3645,12 @@ class Client extends openapi_core_1.default {
|
|
|
3642
3645
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3643
3646
|
}
|
|
3644
3647
|
/**
|
|
3645
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3648
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3646
3649
|
*
|
|
3647
3650
|
* @remarks
|
|
3648
|
-
* -
|
|
3649
|
-
* - Before calling this operation,
|
|
3650
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3651
|
+
* - You can call this operation to rebind a phone number or a merchant account ID to a bound flow. You can also manually rebind it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3652
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3653
|
+
* - If you are binding a phone number or a merchant account ID to a flow for the first time, you can call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation.
|
|
3651
3654
|
*
|
|
3652
3655
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3653
3656
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3711,12 +3714,12 @@ class Client extends openapi_core_1.default {
|
|
|
3711
3714
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3712
3715
|
}
|
|
3713
3716
|
/**
|
|
3714
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3717
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3715
3718
|
*
|
|
3716
3719
|
* @remarks
|
|
3717
|
-
* -
|
|
3718
|
-
* - Before calling this operation,
|
|
3719
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3720
|
+
* - You can call this operation to rebind a phone number or a merchant account ID to a bound flow. You can also manually rebind it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3721
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3722
|
+
* - If you are binding a phone number or a merchant account ID to a flow for the first time, you can call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation.
|
|
3720
3723
|
*
|
|
3721
3724
|
* @param request - FlowRebindPhoneRequest
|
|
3722
3725
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3729,11 +3732,11 @@ class Client extends openapi_core_1.default {
|
|
|
3729
3732
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3730
3733
|
*
|
|
3731
3734
|
* @remarks
|
|
3732
|
-
* - Before
|
|
3733
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
3734
|
-
* - Before
|
|
3735
|
-
* - If
|
|
3736
|
-
* - After
|
|
3735
|
+
* - Before you call this operation, ensure that your flow is offline. If your flow is online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow offline.
|
|
3736
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3737
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3738
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3739
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must associate a phone number or merchant account ID again before the flow can be taken online.
|
|
3737
3740
|
*
|
|
3738
3741
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3739
3742
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3788,11 +3791,11 @@ class Client extends openapi_core_1.default {
|
|
|
3788
3791
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3789
3792
|
*
|
|
3790
3793
|
* @remarks
|
|
3791
|
-
* - Before
|
|
3792
|
-
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate
|
|
3793
|
-
* - Before
|
|
3794
|
-
* - If
|
|
3795
|
-
* - After
|
|
3794
|
+
* - Before you call this operation, ensure that your flow is offline. If your flow is online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually take it offline, or call the [OfflineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OfflineFlowVersion) operation to take the flow offline.
|
|
3795
|
+
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3796
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3797
|
+
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation.
|
|
3798
|
+
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must associate a phone number or merchant account ID again before the flow can be taken online.
|
|
3796
3799
|
*
|
|
3797
3800
|
* @param request - FlowUnbindPhoneRequest
|
|
3798
3801
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3850,7 +3853,7 @@ class Client extends openapi_core_1.default {
|
|
|
3850
3853
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3851
3854
|
}
|
|
3852
3855
|
/**
|
|
3853
|
-
* Queries pending review
|
|
3856
|
+
* Queries personal pending review requests by type.
|
|
3854
3857
|
*
|
|
3855
3858
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3856
3859
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3891,7 +3894,7 @@ class Client extends openapi_core_1.default {
|
|
|
3891
3894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3892
3895
|
}
|
|
3893
3896
|
/**
|
|
3894
|
-
* Queries pending review
|
|
3897
|
+
* Queries personal pending review requests by type.
|
|
3895
3898
|
*
|
|
3896
3899
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3897
3900
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3949,10 +3952,10 @@ class Client extends openapi_core_1.default {
|
|
|
3949
3952
|
* Retrieves ChatFlow runtime data.
|
|
3950
3953
|
*
|
|
3951
3954
|
* @remarks
|
|
3952
|
-
* - Before calling this operation,
|
|
3953
|
-
* - If your flow is not online,
|
|
3954
|
-
* - For flows with a manual trigger
|
|
3955
|
-
* -
|
|
3955
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
3956
|
+
* - If your flow is not online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually bring the flow online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow online.
|
|
3957
|
+
* - For flows with a manual trigger, trigger the flow by calling the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation or by associating a marketing campaign on the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page.
|
|
3958
|
+
* - Flows with a non-manual trigger do not require manual triggering. The flow is automatically triggered after a message is sent to the merchant from the associated bound merchant account.
|
|
3956
3959
|
*
|
|
3957
3960
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3958
3961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4022,10 +4025,10 @@ class Client extends openapi_core_1.default {
|
|
|
4022
4025
|
* Retrieves ChatFlow runtime data.
|
|
4023
4026
|
*
|
|
4024
4027
|
* @remarks
|
|
4025
|
-
* - Before calling this operation,
|
|
4026
|
-
* - If your flow is not online,
|
|
4027
|
-
* - For flows with a manual trigger
|
|
4028
|
-
* -
|
|
4028
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
4029
|
+
* - If your flow is not online, click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and manually bring the flow online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow online.
|
|
4030
|
+
* - For flows with a manual trigger, trigger the flow by calling the [TriggerChatFlow](https://help.aliyun.com/document_detail/2859101.html) operation or by associating a marketing campaign on the [Marketing Campaign Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) page.
|
|
4031
|
+
* - Flows with a non-manual trigger do not require manual triggering. The flow is automatically triggered after a message is sent to the merchant from the associated bound merchant account.
|
|
4029
4032
|
*
|
|
4030
4033
|
* @param request - GetChatFlowMetricRequest
|
|
4031
4034
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4038,8 +4041,8 @@ class Client extends openapi_core_1.default {
|
|
|
4038
4041
|
* Queries the details of a flow template.
|
|
4039
4042
|
*
|
|
4040
4043
|
* @remarks
|
|
4041
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4042
|
-
* - After you view template details by clicking the template name on the **
|
|
4044
|
+
* - You can call this operation to query the details of a flow template. You can also click the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to view the template details.
|
|
4045
|
+
* - After you view the template details by clicking the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4043
4046
|
*
|
|
4044
4047
|
* @param request - GetChatFlowTemplateRequest
|
|
4045
4048
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4083,8 +4086,8 @@ class Client extends openapi_core_1.default {
|
|
|
4083
4086
|
* Queries the details of a flow template.
|
|
4084
4087
|
*
|
|
4085
4088
|
* @remarks
|
|
4086
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4087
|
-
* - After you view template details by clicking the template name on the **
|
|
4089
|
+
* - You can call this operation to query the details of a flow template. You can also click the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to view the template details.
|
|
4090
|
+
* - After you view the template details by clicking the template name on the **View Templates** page in [**Chat Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder), you can directly use the template to create a flow.
|
|
4088
4091
|
*
|
|
4089
4092
|
* @param request - GetChatFlowTemplateRequest
|
|
4090
4093
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4218,7 +4221,7 @@ class Client extends openapi_core_1.default {
|
|
|
4218
4221
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
4219
4222
|
}
|
|
4220
4223
|
/**
|
|
4221
|
-
* Retrieves other
|
|
4224
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4222
4225
|
*
|
|
4223
4226
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4224
4227
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4259,7 +4262,7 @@ class Client extends openapi_core_1.default {
|
|
|
4259
4262
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
4260
4263
|
}
|
|
4261
4264
|
/**
|
|
4262
|
-
* Retrieves other
|
|
4265
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4263
4266
|
*
|
|
4264
4267
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4265
4268
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4269,11 +4272,11 @@ class Client extends openapi_core_1.default {
|
|
|
4269
4272
|
return await this.getChatappPhoneNumberSettingWithOptions(request, runtime);
|
|
4270
4273
|
}
|
|
4271
4274
|
/**
|
|
4272
|
-
* Retrieves the details of a Chat App
|
|
4275
|
+
* Retrieves the details of a Chat App message template.
|
|
4273
4276
|
*
|
|
4274
4277
|
* @remarks
|
|
4275
|
-
* ###
|
|
4276
|
-
* The
|
|
4278
|
+
* ### Rate limit
|
|
4279
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4277
4280
|
*
|
|
4278
4281
|
* @param request - GetChatappTemplateDetailRequest
|
|
4279
4282
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4320,11 +4323,11 @@ class Client extends openapi_core_1.default {
|
|
|
4320
4323
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappTemplateDetailResponse({}));
|
|
4321
4324
|
}
|
|
4322
4325
|
/**
|
|
4323
|
-
* Retrieves the details of a Chat App
|
|
4326
|
+
* Retrieves the details of a Chat App message template.
|
|
4324
4327
|
*
|
|
4325
4328
|
* @remarks
|
|
4326
|
-
* ###
|
|
4327
|
-
* The
|
|
4329
|
+
* ### Rate limit
|
|
4330
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
4328
4331
|
*
|
|
4329
4332
|
* @param request - GetChatappTemplateDetailRequest
|
|
4330
4333
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4652,7 +4655,7 @@ class Client extends openapi_core_1.default {
|
|
|
4652
4655
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4653
4656
|
}
|
|
4654
4657
|
/**
|
|
4655
|
-
* Queries the source site of
|
|
4658
|
+
* Queries the source site of the customer.
|
|
4656
4659
|
*
|
|
4657
4660
|
* @param request - GetCustomerSiteRequest
|
|
4658
4661
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4687,7 +4690,7 @@ class Client extends openapi_core_1.default {
|
|
|
4687
4690
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4688
4691
|
}
|
|
4689
4692
|
/**
|
|
4690
|
-
* Queries the source site of
|
|
4693
|
+
* Queries the source site of the customer.
|
|
4691
4694
|
*
|
|
4692
4695
|
* @param request - GetCustomerSiteRequest
|
|
4693
4696
|
* @returns GetCustomerSiteResponse
|
|
@@ -4777,7 +4780,7 @@ class Client extends openapi_core_1.default {
|
|
|
4777
4780
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4778
4781
|
}
|
|
4779
4782
|
/**
|
|
4780
|
-
* Retrieves
|
|
4783
|
+
* Retrieves a list of Instagram pages.
|
|
4781
4784
|
*
|
|
4782
4785
|
* @param request - GetFbInstagramPagesRequest
|
|
4783
4786
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4818,7 +4821,7 @@ class Client extends openapi_core_1.default {
|
|
|
4818
4821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4819
4822
|
}
|
|
4820
4823
|
/**
|
|
4821
|
-
* Retrieves
|
|
4824
|
+
* Retrieves a list of Instagram pages.
|
|
4822
4825
|
*
|
|
4823
4826
|
* @param request - GetFbInstagramPagesRequest
|
|
4824
4827
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5070,7 +5073,7 @@ class Client extends openapi_core_1.default {
|
|
|
5070
5073
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5071
5074
|
}
|
|
5072
5075
|
/**
|
|
5073
|
-
*
|
|
5076
|
+
* Checks whether a group name is duplicated.
|
|
5074
5077
|
*
|
|
5075
5078
|
* @param tmpReq - GetGroupExistRequest
|
|
5076
5079
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5119,7 +5122,7 @@ class Client extends openapi_core_1.default {
|
|
|
5119
5122
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
5120
5123
|
}
|
|
5121
5124
|
/**
|
|
5122
|
-
*
|
|
5125
|
+
* Checks whether a group name is duplicated.
|
|
5123
5126
|
*
|
|
5124
5127
|
* @param request - GetGroupExistRequest
|
|
5125
5128
|
* @returns GetGroupExistResponse
|
|
@@ -5129,7 +5132,49 @@ class Client extends openapi_core_1.default {
|
|
|
5129
5132
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5130
5133
|
}
|
|
5131
5134
|
/**
|
|
5132
|
-
*
|
|
5135
|
+
* Queries Instagram user information.
|
|
5136
|
+
*
|
|
5137
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5138
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5139
|
+
* @returns GetInstagramUserInfoResponse
|
|
5140
|
+
*/
|
|
5141
|
+
async getInstagramUserInfoWithOptions(request, runtime) {
|
|
5142
|
+
request.validate();
|
|
5143
|
+
let query = {};
|
|
5144
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5145
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5146
|
+
}
|
|
5147
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5148
|
+
query["QueryId"] = request.queryId;
|
|
5149
|
+
}
|
|
5150
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5151
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5152
|
+
});
|
|
5153
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5154
|
+
action: "GetInstagramUserInfo",
|
|
5155
|
+
version: "2020-06-06",
|
|
5156
|
+
protocol: "HTTPS",
|
|
5157
|
+
pathname: "/",
|
|
5158
|
+
method: "POST",
|
|
5159
|
+
authType: "AK",
|
|
5160
|
+
style: "RPC",
|
|
5161
|
+
reqBodyType: "formData",
|
|
5162
|
+
bodyType: "json",
|
|
5163
|
+
});
|
|
5164
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstagramUserInfoResponse({}));
|
|
5165
|
+
}
|
|
5166
|
+
/**
|
|
5167
|
+
* Queries Instagram user information.
|
|
5168
|
+
*
|
|
5169
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5170
|
+
* @returns GetInstagramUserInfoResponse
|
|
5171
|
+
*/
|
|
5172
|
+
async getInstagramUserInfo(request) {
|
|
5173
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5174
|
+
return await this.getInstagramUserInfoWithOptions(request, runtime);
|
|
5175
|
+
}
|
|
5176
|
+
/**
|
|
5177
|
+
* Queries budget metrics.
|
|
5133
5178
|
*
|
|
5134
5179
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5135
5180
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5176,7 +5221,7 @@ class Client extends openapi_core_1.default {
|
|
|
5176
5221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessageCampaignInsightsResponse({}));
|
|
5177
5222
|
}
|
|
5178
5223
|
/**
|
|
5179
|
-
*
|
|
5224
|
+
* Queries budget metrics.
|
|
5180
5225
|
*
|
|
5181
5226
|
* @param request - GetMessageCampaignInsightsRequest
|
|
5182
5227
|
* @returns GetMessageCampaignInsightsResponse
|
|
@@ -5185,6 +5230,48 @@ class Client extends openapi_core_1.default {
|
|
|
5185
5230
|
let runtime = new $dara.RuntimeOptions({});
|
|
5186
5231
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
5187
5232
|
}
|
|
5233
|
+
/**
|
|
5234
|
+
* Queries Messenger user information.
|
|
5235
|
+
*
|
|
5236
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5237
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5238
|
+
* @returns GetMessengerUserInfoResponse
|
|
5239
|
+
*/
|
|
5240
|
+
async getMessengerUserInfoWithOptions(request, runtime) {
|
|
5241
|
+
request.validate();
|
|
5242
|
+
let query = {};
|
|
5243
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5244
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5245
|
+
}
|
|
5246
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5247
|
+
query["QueryId"] = request.queryId;
|
|
5248
|
+
}
|
|
5249
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5250
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5251
|
+
});
|
|
5252
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5253
|
+
action: "GetMessengerUserInfo",
|
|
5254
|
+
version: "2020-06-06",
|
|
5255
|
+
protocol: "HTTPS",
|
|
5256
|
+
pathname: "/",
|
|
5257
|
+
method: "POST",
|
|
5258
|
+
authType: "AK",
|
|
5259
|
+
style: "RPC",
|
|
5260
|
+
reqBodyType: "formData",
|
|
5261
|
+
bodyType: "json",
|
|
5262
|
+
});
|
|
5263
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessengerUserInfoResponse({}));
|
|
5264
|
+
}
|
|
5265
|
+
/**
|
|
5266
|
+
* Queries Messenger user information.
|
|
5267
|
+
*
|
|
5268
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5269
|
+
* @returns GetMessengerUserInfoResponse
|
|
5270
|
+
*/
|
|
5271
|
+
async getMessengerUserInfo(request) {
|
|
5272
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5273
|
+
return await this.getMessengerUserInfoWithOptions(request, runtime);
|
|
5274
|
+
}
|
|
5188
5275
|
/**
|
|
5189
5276
|
* Retrieves the verification code for a migration phone number.
|
|
5190
5277
|
*
|
|
@@ -5380,13 +5467,13 @@ class Client extends openapi_core_1.default {
|
|
|
5380
5467
|
* Retrieves the verification status of a phone number.
|
|
5381
5468
|
*
|
|
5382
5469
|
* @remarks
|
|
5383
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5470
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5384
5471
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5385
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5386
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5387
|
-
* - Before calling this operation, make sure that a phone number
|
|
5388
|
-
* - If a phone number
|
|
5389
|
-
* The queries per second (QPS) limit
|
|
5472
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5473
|
+
* - This operation only queries the verification status of a phone number. If the phone number is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5474
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5475
|
+
* - If you have a new phone number in your WABA that needs to be registered, but its verification status is unverified or the verification has expired, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code, verify the phone number, and register it.
|
|
5476
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation within the limit.
|
|
5390
5477
|
*
|
|
5391
5478
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5392
5479
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5430,13 +5517,13 @@ class Client extends openapi_core_1.default {
|
|
|
5430
5517
|
* Retrieves the verification status of a phone number.
|
|
5431
5518
|
*
|
|
5432
5519
|
* @remarks
|
|
5433
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5520
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5434
5521
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5435
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5436
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5437
|
-
* - Before calling this operation, make sure that a phone number
|
|
5438
|
-
* - If a phone number
|
|
5439
|
-
* The queries per second (QPS) limit
|
|
5522
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5523
|
+
* - This operation only queries the verification status of a phone number. If the phone number is verified, you can directly call the registration operation to register the phone number without obtaining a new verification code.
|
|
5524
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5525
|
+
* - If you have a new phone number in your WABA that needs to be registered, but its verification status is unverified or the verification has expired, call the [GetChatappVerifyCode](https://help.aliyun.com/document_detail/600746.html) and [ChatappVerifyAndRegister](https://help.aliyun.com/document_detail/600770.html) operations to obtain a verification code, verify the phone number, and register it.
|
|
5526
|
+
* The queries per second (QPS) limit per user for this operation is 10. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation within the limit.
|
|
5440
5527
|
*
|
|
5441
5528
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5442
5529
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5545,7 +5632,7 @@ class Client extends openapi_core_1.default {
|
|
|
5545
5632
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5546
5633
|
}
|
|
5547
5634
|
/**
|
|
5548
|
-
*
|
|
5635
|
+
* Queries an application by request number.
|
|
5549
5636
|
*
|
|
5550
5637
|
* @param request - GetViberByRequestNoRequest
|
|
5551
5638
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5586,7 +5673,7 @@ class Client extends openapi_core_1.default {
|
|
|
5586
5673
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5587
5674
|
}
|
|
5588
5675
|
/**
|
|
5589
|
-
*
|
|
5676
|
+
* Queries an application by request number.
|
|
5590
5677
|
*
|
|
5591
5678
|
* @param request - GetViberByRequestNoRequest
|
|
5592
5679
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5596,7 +5683,7 @@ class Client extends openapi_core_1.default {
|
|
|
5596
5683
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5597
5684
|
}
|
|
5598
5685
|
/**
|
|
5599
|
-
* Queries the number of
|
|
5686
|
+
* Queries the number of allowed pause requests.
|
|
5600
5687
|
*
|
|
5601
5688
|
* @param request - GetViberPauseTimesRequest
|
|
5602
5689
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5634,7 +5721,7 @@ class Client extends openapi_core_1.default {
|
|
|
5634
5721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5635
5722
|
}
|
|
5636
5723
|
/**
|
|
5637
|
-
* Queries the number of
|
|
5724
|
+
* Queries the number of allowed pause requests.
|
|
5638
5725
|
*
|
|
5639
5726
|
* @param request - GetViberPauseTimesRequest
|
|
5640
5727
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5749,12 +5836,12 @@ class Client extends openapi_core_1.default {
|
|
|
5749
5836
|
return await this.getWhatsappConversionApiWithOptions(request, runtime);
|
|
5750
5837
|
}
|
|
5751
5838
|
/**
|
|
5752
|
-
*
|
|
5839
|
+
* Retrieves the message sending health status for different node types.
|
|
5753
5840
|
*
|
|
5754
5841
|
* @remarks
|
|
5755
|
-
* ###
|
|
5756
|
-
*
|
|
5757
|
-
* This
|
|
5842
|
+
* ### QPS limits
|
|
5843
|
+
* The QPS limit per user is 5 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5844
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5758
5845
|
*
|
|
5759
5846
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5760
5847
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5807,12 +5894,12 @@ class Client extends openapi_core_1.default {
|
|
|
5807
5894
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappHealthStatusResponse({}));
|
|
5808
5895
|
}
|
|
5809
5896
|
/**
|
|
5810
|
-
*
|
|
5897
|
+
* Retrieves the message sending health status for different node types.
|
|
5811
5898
|
*
|
|
5812
5899
|
* @remarks
|
|
5813
|
-
* ###
|
|
5814
|
-
*
|
|
5815
|
-
* This
|
|
5900
|
+
* ### QPS limits
|
|
5901
|
+
* The QPS limit per user is 5 calls per second. If you exceed this limit, API calls are throttled, which may affect your business. Call this API at a reasonable frequency.
|
|
5902
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5816
5903
|
*
|
|
5817
5904
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5818
5905
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -5966,7 +6053,7 @@ class Client extends openapi_core_1.default {
|
|
|
5966
6053
|
return await this.isvGetAppIdWithOptions(request, runtime);
|
|
5967
6054
|
}
|
|
5968
6055
|
/**
|
|
5969
|
-
* Queries
|
|
6056
|
+
* Queries a list of groups.
|
|
5970
6057
|
*
|
|
5971
6058
|
* @param tmpReq - ListAllGroupsRequest
|
|
5972
6059
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6012,7 +6099,7 @@ class Client extends openapi_core_1.default {
|
|
|
6012
6099
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAllGroupsResponse({}));
|
|
6013
6100
|
}
|
|
6014
6101
|
/**
|
|
6015
|
-
* Queries
|
|
6102
|
+
* Queries a list of groups.
|
|
6016
6103
|
*
|
|
6017
6104
|
* @param request - ListAllGroupsRequest
|
|
6018
6105
|
* @returns ListAllGroupsResponse
|
|
@@ -6070,12 +6157,12 @@ class Client extends openapi_core_1.default {
|
|
|
6070
6157
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
6071
6158
|
}
|
|
6072
6159
|
/**
|
|
6073
|
-
* Queries the list of phone numbers or
|
|
6160
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6074
6161
|
*
|
|
6075
6162
|
* @remarks
|
|
6076
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6077
|
-
* - Before calling this operation,
|
|
6078
|
-
* - If
|
|
6163
|
+
* - You can call this operation to query the list of phone numbers or merchant account IDs bound to a flow. You can also view the list on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6164
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6165
|
+
* - If the flow you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation to bind a phone number or merchant account ID.
|
|
6079
6166
|
*
|
|
6080
6167
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6081
6168
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6116,12 +6203,12 @@ class Client extends openapi_core_1.default {
|
|
|
6116
6203
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
6117
6204
|
}
|
|
6118
6205
|
/**
|
|
6119
|
-
* Queries the list of phone numbers or
|
|
6206
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6120
6207
|
*
|
|
6121
6208
|
* @remarks
|
|
6122
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6123
|
-
* - Before calling this operation,
|
|
6124
|
-
* - If
|
|
6209
|
+
* - You can call this operation to query the list of phone numbers or merchant account IDs bound to a flow. You can also view the list on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6210
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6211
|
+
* - If the flow you created is not bound to a phone number or merchant account ID, you can manually bind a phone number or merchant account ID on the **Settings** page of the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [FlowBindPhone](https://api.aliyun.com/document/cams/2020-06-06/FlowBindPhone) operation to bind a phone number or merchant account ID.
|
|
6125
6212
|
*
|
|
6126
6213
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6127
6214
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6134,10 +6221,10 @@ class Client extends openapi_core_1.default {
|
|
|
6134
6221
|
* Lists flows.
|
|
6135
6222
|
*
|
|
6136
6223
|
* @remarks
|
|
6137
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6138
|
-
* - Before
|
|
6139
|
-
* - If you
|
|
6140
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6224
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6225
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6226
|
+
* - If you have not created any flows, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
6227
|
+
* - The optional parameters in this operation are used as filter conditions for querying flows. If you do not specify these parameters, all flows are queried.
|
|
6141
6228
|
*
|
|
6142
6229
|
* @param tmpReq - ListChatFlowRequest
|
|
6143
6230
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6216,10 +6303,10 @@ class Client extends openapi_core_1.default {
|
|
|
6216
6303
|
* Lists flows.
|
|
6217
6304
|
*
|
|
6218
6305
|
* @remarks
|
|
6219
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6220
|
-
* - Before
|
|
6221
|
-
* - If you
|
|
6222
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6306
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6307
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6308
|
+
* - If you have not created any flows, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
6309
|
+
* - The optional parameters in this operation are used as filter conditions for querying flows. If you do not specify these parameters, all flows are queried.
|
|
6223
6310
|
*
|
|
6224
6311
|
* @param request - ListChatFlowRequest
|
|
6225
6312
|
* @returns ListChatFlowResponse
|
|
@@ -6232,8 +6319,8 @@ class Client extends openapi_core_1.default {
|
|
|
6232
6319
|
* Lists flow templates.
|
|
6233
6320
|
*
|
|
6234
6321
|
* @remarks
|
|
6235
|
-
* - You can call this operation to view the template list
|
|
6236
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6322
|
+
* - You can call this operation to view the template list. You can also view the template list on the **View Templates** page in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6323
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6237
6324
|
*
|
|
6238
6325
|
* @param request - ListChatFlowTemplateRequest
|
|
6239
6326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6286,8 +6373,8 @@ class Client extends openapi_core_1.default {
|
|
|
6286
6373
|
* Lists flow templates.
|
|
6287
6374
|
*
|
|
6288
6375
|
* @remarks
|
|
6289
|
-
* - You can call this operation to view the template list
|
|
6290
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6376
|
+
* - You can call this operation to view the template list. You can also view the template list on the **View Templates** page in the [**Flow Builder**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
6377
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6291
6378
|
*
|
|
6292
6379
|
* @param request - ListChatFlowTemplateRequest
|
|
6293
6380
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6297,13 +6384,13 @@ class Client extends openapi_core_1.default {
|
|
|
6297
6384
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
6298
6385
|
}
|
|
6299
6386
|
/**
|
|
6300
|
-
*
|
|
6387
|
+
* Queries the list of IM groups.
|
|
6301
6388
|
*
|
|
6302
6389
|
* @remarks
|
|
6303
|
-
* >Notice: The feature of
|
|
6304
|
-
* - Before calling this operation, make sure you have
|
|
6305
|
-
* - If you
|
|
6306
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6390
|
+
* >Notice: The feature to query the list of IM groups through the API is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6391
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6392
|
+
* - If you have not created an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation.
|
|
6393
|
+
* - The optional parameters of this API operation are filter conditions for the IM group list. If you do not specify these parameters, all IM groups are queried.
|
|
6307
6394
|
*
|
|
6308
6395
|
* @param tmpReq - ListChatGroupRequest
|
|
6309
6396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6367,13 +6454,13 @@ class Client extends openapi_core_1.default {
|
|
|
6367
6454
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
6368
6455
|
}
|
|
6369
6456
|
/**
|
|
6370
|
-
*
|
|
6457
|
+
* Queries the list of IM groups.
|
|
6371
6458
|
*
|
|
6372
6459
|
* @remarks
|
|
6373
|
-
* >Notice: The feature of
|
|
6374
|
-
* - Before calling this operation, make sure you have
|
|
6375
|
-
* - If you
|
|
6376
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6460
|
+
* >Notice: The feature to query the list of IM groups through the API is a Meta closed beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6461
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6462
|
+
* - If you have not created an IM group, you can only create one by calling the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) API operation.
|
|
6463
|
+
* - The optional parameters of this API operation are filter conditions for the IM group list. If you do not specify these parameters, all IM groups are queried.
|
|
6377
6464
|
*
|
|
6378
6465
|
* @param request - ListChatGroupRequest
|
|
6379
6466
|
* @returns ListChatGroupResponse
|
|
@@ -6386,9 +6473,9 @@ class Client extends openapi_core_1.default {
|
|
|
6386
6473
|
* Retrieves the member list of an IM group.
|
|
6387
6474
|
*
|
|
6388
6475
|
* @remarks
|
|
6389
|
-
* >
|
|
6390
|
-
* - Before
|
|
6391
|
-
* - If you do not have a created IM group,
|
|
6476
|
+
* <notice>The feature to retrieve the IM group member list through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6477
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the created IM group and that members have joined the group through the link.
|
|
6478
|
+
* - If you do not have a created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
6392
6479
|
*
|
|
6393
6480
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6394
6481
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6446,9 +6533,9 @@ class Client extends openapi_core_1.default {
|
|
|
6446
6533
|
* Retrieves the member list of an IM group.
|
|
6447
6534
|
*
|
|
6448
6535
|
* @remarks
|
|
6449
|
-
* >
|
|
6450
|
-
* - Before
|
|
6451
|
-
* - If you do not have a created IM group,
|
|
6536
|
+
* <notice>The feature to retrieve the IM group member list through the API is a Meta beta feature. Contact your account manager to apply for whitelist access.</notice>
|
|
6537
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the created IM group and that members have joined the group through the link.
|
|
6538
|
+
* - If you do not have a created IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) and [AddChatGroupInviteLink](https://help.aliyun.com/document_detail/3019211.html) operations to create an IM group and add an invite link.
|
|
6452
6539
|
*
|
|
6453
6540
|
* @param request - ListChatGroupParticipantsRequest
|
|
6454
6541
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6461,9 +6548,9 @@ class Client extends openapi_core_1.default {
|
|
|
6461
6548
|
* Queries the message list.
|
|
6462
6549
|
*
|
|
6463
6550
|
* @remarks
|
|
6464
|
-
* - You can call this operation to query the message list
|
|
6465
|
-
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber
|
|
6466
|
-
* - Before
|
|
6551
|
+
* - You can call this operation to query the message list, or view it on the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** page.
|
|
6552
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6553
|
+
* - Before you call this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, associated a phone number or business account ID, created and approved a template, and sent messages by using the channel.
|
|
6467
6554
|
*
|
|
6468
6555
|
* @param tmpReq - ListChatappMessageRequest
|
|
6469
6556
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6548,9 +6635,9 @@ class Client extends openapi_core_1.default {
|
|
|
6548
6635
|
* Queries the message list.
|
|
6549
6636
|
*
|
|
6550
6637
|
* @remarks
|
|
6551
|
-
* - You can call this operation to query the message list
|
|
6552
|
-
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber
|
|
6553
|
-
* - Before
|
|
6638
|
+
* - You can call this operation to query the message list, or view it on the [**Channel Management**](https://chatapp.console.aliyun.com/CustomerList) > **Management** > **Message List** page.
|
|
6639
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6640
|
+
* - Before you call this operation, make sure that you have created a WhatsApp<props="intl"> or Viber channel, associated a phone number or business account ID, created and approved a template, and sent messages by using the channel.
|
|
6554
6641
|
*
|
|
6555
6642
|
* @param request - ListChatappMessageRequest
|
|
6556
6643
|
* @returns ListChatappMessageResponse
|
|
@@ -6560,11 +6647,11 @@ class Client extends openapi_core_1.default {
|
|
|
6560
6647
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6561
6648
|
}
|
|
6562
6649
|
/**
|
|
6563
|
-
* Retrieves
|
|
6650
|
+
* Retrieves the list of message templates.
|
|
6564
6651
|
*
|
|
6565
6652
|
* @remarks
|
|
6566
|
-
* ###
|
|
6567
|
-
* The
|
|
6653
|
+
* ### Rate limits
|
|
6654
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
6568
6655
|
*
|
|
6569
6656
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6570
6657
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6634,11 +6721,11 @@ class Client extends openapi_core_1.default {
|
|
|
6634
6721
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6635
6722
|
}
|
|
6636
6723
|
/**
|
|
6637
|
-
* Retrieves
|
|
6724
|
+
* Retrieves the list of message templates.
|
|
6638
6725
|
*
|
|
6639
6726
|
* @remarks
|
|
6640
|
-
* ###
|
|
6641
|
-
* The
|
|
6727
|
+
* ### Rate limits
|
|
6728
|
+
* The rate limit for this API operation is 5 queries per second (QPS) per user. If you exceed the limit, API calls are throttled, which may affect your services. Make API calls at a reasonable frequency.
|
|
6642
6729
|
*
|
|
6643
6730
|
* @param request - ListChatappTemplateRequest
|
|
6644
6731
|
* @returns ListChatappTemplateResponse
|
|
@@ -6719,7 +6806,7 @@ class Client extends openapi_core_1.default {
|
|
|
6719
6806
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6720
6807
|
}
|
|
6721
6808
|
/**
|
|
6722
|
-
* Queries the
|
|
6809
|
+
* Queries the Direct Mail accounts under the account.
|
|
6723
6810
|
*
|
|
6724
6811
|
* @param request - ListDmAccountRequest
|
|
6725
6812
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6766,7 +6853,7 @@ class Client extends openapi_core_1.default {
|
|
|
6766
6853
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6767
6854
|
}
|
|
6768
6855
|
/**
|
|
6769
|
-
* Queries the
|
|
6856
|
+
* Queries the Direct Mail accounts under the account.
|
|
6770
6857
|
*
|
|
6771
6858
|
* @param request - ListDmAccountRequest
|
|
6772
6859
|
* @returns ListDmAccountResponse
|
|
@@ -6776,7 +6863,7 @@ class Client extends openapi_core_1.default {
|
|
|
6776
6863
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6777
6864
|
}
|
|
6778
6865
|
/**
|
|
6779
|
-
* Queries
|
|
6866
|
+
* Queries DM tags.
|
|
6780
6867
|
*
|
|
6781
6868
|
* @param request - ListDmTagRequest
|
|
6782
6869
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6820,7 +6907,7 @@ class Client extends openapi_core_1.default {
|
|
|
6820
6907
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6821
6908
|
}
|
|
6822
6909
|
/**
|
|
6823
|
-
* Queries
|
|
6910
|
+
* Queries DM tags.
|
|
6824
6911
|
*
|
|
6825
6912
|
* @param request - ListDmTagRequest
|
|
6826
6913
|
* @returns ListDmTagResponse
|
|
@@ -6830,7 +6917,7 @@ class Client extends openapi_core_1.default {
|
|
|
6830
6917
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6831
6918
|
}
|
|
6832
6919
|
/**
|
|
6833
|
-
* Queries
|
|
6920
|
+
* Queries a list of Facebook posts.
|
|
6834
6921
|
*
|
|
6835
6922
|
* @param request - ListFacebookPostsRequest
|
|
6836
6923
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6868,7 +6955,7 @@ class Client extends openapi_core_1.default {
|
|
|
6868
6955
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6869
6956
|
}
|
|
6870
6957
|
/**
|
|
6871
|
-
* Queries
|
|
6958
|
+
* Queries a list of Facebook posts.
|
|
6872
6959
|
*
|
|
6873
6960
|
* @param request - ListFacebookPostsRequest
|
|
6874
6961
|
* @returns ListFacebookPostsResponse
|
|
@@ -6997,8 +7084,8 @@ class Client extends openapi_core_1.default {
|
|
|
6997
7084
|
* Lists flow component prototypes.
|
|
6998
7085
|
*
|
|
6999
7086
|
* @remarks
|
|
7000
|
-
* - You can call this operation to query flow component prototypes.
|
|
7001
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7087
|
+
* - You can call this operation to query flow component prototypes. Alternatively, you can click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow component prototypes.
|
|
7088
|
+
* - The optional parameters in this operation are used as filter conditions for flow component prototypes. If you do not specify these parameters, all flow component prototypes are queried.
|
|
7002
7089
|
*
|
|
7003
7090
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7004
7091
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7051,8 +7138,8 @@ class Client extends openapi_core_1.default {
|
|
|
7051
7138
|
* Lists flow component prototypes.
|
|
7052
7139
|
*
|
|
7053
7140
|
* @remarks
|
|
7054
|
-
* - You can call this operation to query flow component prototypes.
|
|
7055
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7141
|
+
* - You can call this operation to query flow component prototypes. Alternatively, you can click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow component prototypes.
|
|
7142
|
+
* - The optional parameters in this operation are used as filter conditions for flow component prototypes. If you do not specify these parameters, all flow component prototypes are queried.
|
|
7056
7143
|
*
|
|
7057
7144
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7058
7145
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7065,10 +7152,10 @@ class Client extends openapi_core_1.default {
|
|
|
7065
7152
|
* Lists flow versions.
|
|
7066
7153
|
*
|
|
7067
7154
|
* @remarks
|
|
7068
|
-
* - You can call this operation to query flow versions
|
|
7069
|
-
* - Before calling this operation, make sure that you have a
|
|
7070
|
-
* - If you
|
|
7071
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7155
|
+
* - You can call this operation to query flow versions, or click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow versions.
|
|
7156
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7157
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
7158
|
+
* - The optional parameters in this operation are used as filter conditions for querying flow versions. If you do not specify these parameters, all flow versions are queried.
|
|
7072
7159
|
*
|
|
7073
7160
|
* @param tmpReq - ListFlowVersionRequest
|
|
7074
7161
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7129,10 +7216,10 @@ class Client extends openapi_core_1.default {
|
|
|
7129
7216
|
* Lists flow versions.
|
|
7130
7217
|
*
|
|
7131
7218
|
* @remarks
|
|
7132
|
-
* - You can call this operation to query flow versions
|
|
7133
|
-
* - Before calling this operation, make sure that you have a
|
|
7134
|
-
* - If you
|
|
7135
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7219
|
+
* - You can call this operation to query flow versions, or click a flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow versions.
|
|
7220
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7221
|
+
* - If you have not created a flow, you can manually create one in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
7222
|
+
* - The optional parameters in this operation are used as filter conditions for querying flow versions. If you do not specify these parameters, all flow versions are queried.
|
|
7136
7223
|
*
|
|
7137
7224
|
* @param request - ListFlowVersionRequest
|
|
7138
7225
|
* @returns ListFlowVersionResponse
|
|
@@ -7142,7 +7229,7 @@ class Client extends openapi_core_1.default {
|
|
|
7142
7229
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
7143
7230
|
}
|
|
7144
7231
|
/**
|
|
7145
|
-
* Retrieves
|
|
7232
|
+
* Retrieves Instagram pages.
|
|
7146
7233
|
*
|
|
7147
7234
|
* @param request - ListInstagramPageRequest
|
|
7148
7235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7180,7 +7267,7 @@ class Client extends openapi_core_1.default {
|
|
|
7180
7267
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
7181
7268
|
}
|
|
7182
7269
|
/**
|
|
7183
|
-
* Retrieves
|
|
7270
|
+
* Retrieves Instagram pages.
|
|
7184
7271
|
*
|
|
7185
7272
|
* @param request - ListInstagramPageRequest
|
|
7186
7273
|
* @returns ListInstagramPageResponse
|
|
@@ -7190,7 +7277,7 @@ class Client extends openapi_core_1.default {
|
|
|
7190
7277
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
7191
7278
|
}
|
|
7192
7279
|
/**
|
|
7193
|
-
* Queries
|
|
7280
|
+
* Queries a list of Instagram posts.
|
|
7194
7281
|
*
|
|
7195
7282
|
* @param request - ListInstagramPostsRequest
|
|
7196
7283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7228,7 +7315,7 @@ class Client extends openapi_core_1.default {
|
|
|
7228
7315
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
7229
7316
|
}
|
|
7230
7317
|
/**
|
|
7231
|
-
* Queries
|
|
7318
|
+
* Queries a list of Instagram posts.
|
|
7232
7319
|
*
|
|
7233
7320
|
* @param request - ListInstagramPostsRequest
|
|
7234
7321
|
* @returns ListInstagramPostsResponse
|
|
@@ -7238,7 +7325,7 @@ class Client extends openapi_core_1.default {
|
|
|
7238
7325
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
7239
7326
|
}
|
|
7240
7327
|
/**
|
|
7241
|
-
* Queries
|
|
7328
|
+
* Queries the list of instances.
|
|
7242
7329
|
*
|
|
7243
7330
|
* @param request - ListInstanceRequest
|
|
7244
7331
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7294,7 +7381,7 @@ class Client extends openapi_core_1.default {
|
|
|
7294
7381
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
7295
7382
|
}
|
|
7296
7383
|
/**
|
|
7297
|
-
* Queries
|
|
7384
|
+
* Queries the list of instances.
|
|
7298
7385
|
*
|
|
7299
7386
|
* @param request - ListInstanceRequest
|
|
7300
7387
|
* @returns ListInstanceResponse
|
|
@@ -7304,7 +7391,7 @@ class Client extends openapi_core_1.default {
|
|
|
7304
7391
|
return await this.listInstanceWithOptions(request, runtime);
|
|
7305
7392
|
}
|
|
7306
7393
|
/**
|
|
7307
|
-
* Queries
|
|
7394
|
+
* Queries the list of operational activities.
|
|
7308
7395
|
*
|
|
7309
7396
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7310
7397
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7371,7 +7458,7 @@ class Client extends openapi_core_1.default {
|
|
|
7371
7458
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
7372
7459
|
}
|
|
7373
7460
|
/**
|
|
7374
|
-
* Queries
|
|
7461
|
+
* Queries the list of operational activities.
|
|
7375
7462
|
*
|
|
7376
7463
|
* @param request - ListMarketingFlowRequest
|
|
7377
7464
|
* @returns ListMarketingFlowResponse
|
|
@@ -7381,7 +7468,7 @@ class Client extends openapi_core_1.default {
|
|
|
7381
7468
|
return await this.listMarketingFlowWithOptions(request, runtime);
|
|
7382
7469
|
}
|
|
7383
7470
|
/**
|
|
7384
|
-
*
|
|
7471
|
+
* Queries the budget list.
|
|
7385
7472
|
*
|
|
7386
7473
|
* @param tmpReq - ListMessageCampaignRequest
|
|
7387
7474
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7442,7 +7529,7 @@ class Client extends openapi_core_1.default {
|
|
|
7442
7529
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMessageCampaignResponse({}));
|
|
7443
7530
|
}
|
|
7444
7531
|
/**
|
|
7445
|
-
*
|
|
7532
|
+
* Queries the budget list.
|
|
7446
7533
|
*
|
|
7447
7534
|
* @param request - ListMessageCampaignRequest
|
|
7448
7535
|
* @returns ListMessageCampaignResponse
|
|
@@ -7515,7 +7602,7 @@ class Client extends openapi_core_1.default {
|
|
|
7515
7602
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
7516
7603
|
}
|
|
7517
7604
|
/**
|
|
7518
|
-
* Queries the
|
|
7605
|
+
* Queries the ad accounts bound to a page.
|
|
7519
7606
|
*
|
|
7520
7607
|
* @param request - ListPageAdAccountRequest
|
|
7521
7608
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7556,7 +7643,7 @@ class Client extends openapi_core_1.default {
|
|
|
7556
7643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
7557
7644
|
}
|
|
7558
7645
|
/**
|
|
7559
|
-
* Queries the
|
|
7646
|
+
* Queries the ad accounts bound to a page.
|
|
7560
7647
|
*
|
|
7561
7648
|
* @param request - ListPageAdAccountRequest
|
|
7562
7649
|
* @returns ListPageAdAccountResponse
|
|
@@ -7695,10 +7782,10 @@ class Client extends openapi_core_1.default {
|
|
|
7695
7782
|
return await this.listProductWithOptions(request, runtime);
|
|
7696
7783
|
}
|
|
7697
7784
|
/**
|
|
7698
|
-
* Queries the
|
|
7785
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7699
7786
|
*
|
|
7700
7787
|
* @remarks
|
|
7701
|
-
* The
|
|
7788
|
+
* 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.
|
|
7702
7789
|
*
|
|
7703
7790
|
* @param request - ListProductCatalogRequest
|
|
7704
7791
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7751,10 +7838,10 @@ class Client extends openapi_core_1.default {
|
|
|
7751
7838
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListProductCatalogResponse({}));
|
|
7752
7839
|
}
|
|
7753
7840
|
/**
|
|
7754
|
-
* Queries the
|
|
7841
|
+
* Queries the list of catalogs on the Meta Business platform.
|
|
7755
7842
|
*
|
|
7756
7843
|
* @remarks
|
|
7757
|
-
* The
|
|
7844
|
+
* 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.
|
|
7758
7845
|
*
|
|
7759
7846
|
* @param request - ListProductCatalogRequest
|
|
7760
7847
|
* @returns ListProductCatalogResponse
|
|
@@ -7764,7 +7851,7 @@ class Client extends openapi_core_1.default {
|
|
|
7764
7851
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7765
7852
|
}
|
|
7766
7853
|
/**
|
|
7767
|
-
*
|
|
7854
|
+
* Retrieves the Viber service account card of an application.
|
|
7768
7855
|
*
|
|
7769
7856
|
* @param request - ListViberServiceMessageRequest
|
|
7770
7857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7802,7 +7889,7 @@ class Client extends openapi_core_1.default {
|
|
|
7802
7889
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7803
7890
|
}
|
|
7804
7891
|
/**
|
|
7805
|
-
*
|
|
7892
|
+
* Retrieves the Viber service account card of an application.
|
|
7806
7893
|
*
|
|
7807
7894
|
* @param request - ListViberServiceMessageRequest
|
|
7808
7895
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7812,7 +7899,7 @@ class Client extends openapi_core_1.default {
|
|
|
7812
7899
|
return await this.listViberServiceMessageWithOptions(request, runtime);
|
|
7813
7900
|
}
|
|
7814
7901
|
/**
|
|
7815
|
-
*
|
|
7902
|
+
* Queries a list of templates.
|
|
7816
7903
|
*
|
|
7817
7904
|
* @param request - ListWhatAppTemplateRequest
|
|
7818
7905
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7844,7 +7931,7 @@ class Client extends openapi_core_1.default {
|
|
|
7844
7931
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWhatAppTemplateResponse({}));
|
|
7845
7932
|
}
|
|
7846
7933
|
/**
|
|
7847
|
-
*
|
|
7934
|
+
* Queries a list of templates.
|
|
7848
7935
|
*
|
|
7849
7936
|
* @param request - ListWhatAppTemplateRequest
|
|
7850
7937
|
* @returns ListWhatAppTemplateResponse
|
|
@@ -7854,13 +7941,13 @@ class Client extends openapi_core_1.default {
|
|
|
7854
7941
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7855
7942
|
}
|
|
7856
7943
|
/**
|
|
7857
|
-
* Modifies a message template. Only templates that
|
|
7944
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7858
7945
|
*
|
|
7859
7946
|
* @remarks
|
|
7860
7947
|
* ### QPS limit
|
|
7861
|
-
* The
|
|
7948
|
+
* 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.
|
|
7862
7949
|
* ### Status changes
|
|
7863
|
-
* You can
|
|
7950
|
+
* 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).
|
|
7864
7951
|
*
|
|
7865
7952
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7866
7953
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7933,13 +8020,13 @@ class Client extends openapi_core_1.default {
|
|
|
7933
8020
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7934
8021
|
}
|
|
7935
8022
|
/**
|
|
7936
|
-
* Modifies a message template. Only templates that
|
|
8023
|
+
* Modifies a message template. Only templates that are pending review or have failed the review can be modified.
|
|
7937
8024
|
*
|
|
7938
8025
|
* @remarks
|
|
7939
8026
|
* ### QPS limit
|
|
7940
|
-
* The
|
|
8027
|
+
* 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.
|
|
7941
8028
|
* ### Status changes
|
|
7942
|
-
* You can
|
|
8029
|
+
* 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).
|
|
7943
8030
|
*
|
|
7944
8031
|
* @param request - ModifyChatappTemplateRequest
|
|
7945
8032
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -7949,7 +8036,7 @@ class Client extends openapi_core_1.default {
|
|
|
7949
8036
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7950
8037
|
}
|
|
7951
8038
|
/**
|
|
7952
|
-
* Modifies
|
|
8039
|
+
* Modifies specific attributes of a template.
|
|
7953
8040
|
*
|
|
7954
8041
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7955
8042
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8002,7 +8089,7 @@ class Client extends openapi_core_1.default {
|
|
|
8002
8089
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
8003
8090
|
}
|
|
8004
8091
|
/**
|
|
8005
|
-
* Modifies
|
|
8092
|
+
* Modifies specific attributes of a template.
|
|
8006
8093
|
*
|
|
8007
8094
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8008
8095
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8083,10 +8170,10 @@ class Client extends openapi_core_1.default {
|
|
|
8083
8170
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8084
8171
|
}
|
|
8085
8172
|
/**
|
|
8086
|
-
*
|
|
8173
|
+
* Updates the business information of a phone number.
|
|
8087
8174
|
*
|
|
8088
8175
|
* @remarks
|
|
8089
|
-
* The
|
|
8176
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
8090
8177
|
*
|
|
8091
8178
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8092
8179
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8153,10 +8240,10 @@ class Client extends openapi_core_1.default {
|
|
|
8153
8240
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
8154
8241
|
}
|
|
8155
8242
|
/**
|
|
8156
|
-
*
|
|
8243
|
+
* Updates the business information of a phone number.
|
|
8157
8244
|
*
|
|
8158
8245
|
* @remarks
|
|
8159
|
-
* The
|
|
8246
|
+
* The queries per second (QPS) limit for a single user is 10. If the limit is exceeded, API calls are throttled, which may affect your services. Call this API at a reasonable rate.
|
|
8160
8247
|
*
|
|
8161
8248
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8162
8249
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8166,7 +8253,7 @@ class Client extends openapi_core_1.default {
|
|
|
8166
8253
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8167
8254
|
}
|
|
8168
8255
|
/**
|
|
8169
|
-
* Modifies the
|
|
8256
|
+
* Modifies the groups of contacts.
|
|
8170
8257
|
*
|
|
8171
8258
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8172
8259
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8221,7 +8308,7 @@ class Client extends openapi_core_1.default {
|
|
|
8221
8308
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
8222
8309
|
}
|
|
8223
8310
|
/**
|
|
8224
|
-
* Modifies the
|
|
8311
|
+
* Modifies the groups of contacts.
|
|
8225
8312
|
*
|
|
8226
8313
|
* @param request - MoveContactToGroupRequest
|
|
8227
8314
|
* @returns MoveContactToGroupResponse
|
|
@@ -8231,13 +8318,13 @@ class Client extends openapi_core_1.default {
|
|
|
8231
8318
|
return await this.moveContactToGroupWithOptions(request, runtime);
|
|
8232
8319
|
}
|
|
8233
8320
|
/**
|
|
8234
|
-
*
|
|
8321
|
+
* Takes a flow version offline.
|
|
8235
8322
|
*
|
|
8236
8323
|
* @remarks
|
|
8237
|
-
* - You can call this operation to
|
|
8238
|
-
* - Before calling this operation, make sure the flow you created is
|
|
8239
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
8240
|
-
* - After
|
|
8324
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8325
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8326
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow version online.
|
|
8327
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8241
8328
|
*
|
|
8242
8329
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
8243
8330
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8292,13 +8379,13 @@ class Client extends openapi_core_1.default {
|
|
|
8292
8379
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.OfflineFlowVersionResponse({}));
|
|
8293
8380
|
}
|
|
8294
8381
|
/**
|
|
8295
|
-
*
|
|
8382
|
+
* Takes a flow version offline.
|
|
8296
8383
|
*
|
|
8297
8384
|
* @remarks
|
|
8298
|
-
* - You can call this operation to
|
|
8299
|
-
* - Before calling this operation, make sure the flow you created is
|
|
8300
|
-
* - If the flow you created is not online, click the flow name in the [
|
|
8301
|
-
* - After
|
|
8385
|
+
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8386
|
+
* - Before calling this operation, make sure that the flow you created is online.
|
|
8387
|
+
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually bring the flow version online, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to bring the flow version online.
|
|
8388
|
+
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8302
8389
|
*
|
|
8303
8390
|
* @param request - OfflineFlowVersionRequest
|
|
8304
8391
|
* @returns OfflineFlowVersionResponse
|
|
@@ -8311,10 +8398,10 @@ class Client extends openapi_core_1.default {
|
|
|
8311
8398
|
* Publishes a flow version.
|
|
8312
8399
|
*
|
|
8313
8400
|
* @remarks
|
|
8314
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8315
|
-
* - Before
|
|
8316
|
-
* - If you do not have a
|
|
8317
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8401
|
+
* - You can call this operation to publish a flow version. You can also click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually publish the flow version.
|
|
8402
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8403
|
+
* - If you do not have a created flow, you can manually create a flow and bind a phone number or merchant account ID to it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind a phone number or merchant account ID to it.
|
|
8404
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
8318
8405
|
*
|
|
8319
8406
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8320
8407
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8372,10 +8459,10 @@ class Client extends openapi_core_1.default {
|
|
|
8372
8459
|
* Publishes a flow version.
|
|
8373
8460
|
*
|
|
8374
8461
|
* @remarks
|
|
8375
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8376
|
-
* - Before
|
|
8377
|
-
* - If you do not have a
|
|
8378
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8462
|
+
* - You can call this operation to publish a flow version. You can also click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually publish the flow version.
|
|
8463
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8464
|
+
* - If you do not have a created flow, you can manually create a flow and bind a phone number or merchant account ID to it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder), or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) and [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operations to create a flow and bind a phone number or merchant account ID to it.
|
|
8465
|
+
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
8379
8466
|
*
|
|
8380
8467
|
* @param request - OnlineFlowVersionRequest
|
|
8381
8468
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8544,10 +8631,10 @@ class Client extends openapi_core_1.default {
|
|
|
8544
8631
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8545
8632
|
}
|
|
8546
8633
|
/**
|
|
8547
|
-
* Queries the
|
|
8634
|
+
* Queries the WABA bound to a customer.
|
|
8548
8635
|
*
|
|
8549
8636
|
* @remarks
|
|
8550
|
-
*
|
|
8637
|
+
* 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.
|
|
8551
8638
|
*
|
|
8552
8639
|
* @param request - QueryChatappBindWabaRequest
|
|
8553
8640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8588,10 +8675,10 @@ class Client extends openapi_core_1.default {
|
|
|
8588
8675
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappBindWabaResponse({}));
|
|
8589
8676
|
}
|
|
8590
8677
|
/**
|
|
8591
|
-
* Queries the
|
|
8678
|
+
* Queries the WABA bound to a customer.
|
|
8592
8679
|
*
|
|
8593
8680
|
* @remarks
|
|
8594
|
-
*
|
|
8681
|
+
* 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.
|
|
8595
8682
|
*
|
|
8596
8683
|
* @param request - QueryChatappBindWabaRequest
|
|
8597
8684
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -8601,10 +8688,10 @@ class Client extends openapi_core_1.default {
|
|
|
8601
8688
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8602
8689
|
}
|
|
8603
8690
|
/**
|
|
8604
|
-
* Queries all phone numbers
|
|
8691
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8605
8692
|
*
|
|
8606
8693
|
* @remarks
|
|
8607
|
-
*
|
|
8694
|
+
* The queries per second (QPS) limit per user for this API operation is 10. If you exceed this limit, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
8608
8695
|
*
|
|
8609
8696
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8610
8697
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8648,10 +8735,10 @@ class Client extends openapi_core_1.default {
|
|
|
8648
8735
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
8649
8736
|
}
|
|
8650
8737
|
/**
|
|
8651
|
-
* Queries all phone numbers
|
|
8738
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8652
8739
|
*
|
|
8653
8740
|
* @remarks
|
|
8654
|
-
*
|
|
8741
|
+
* The queries per second (QPS) limit per user for this API operation is 10. If you exceed this limit, API calls are throttled, which may affect your business. Make API calls at a reasonable frequency.
|
|
8655
8742
|
*
|
|
8656
8743
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8657
8744
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -8661,7 +8748,7 @@ class Client extends openapi_core_1.default {
|
|
|
8661
8748
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8662
8749
|
}
|
|
8663
8750
|
/**
|
|
8664
|
-
*
|
|
8751
|
+
* Queries an instance.
|
|
8665
8752
|
*
|
|
8666
8753
|
* @param request - QueryInstanceRequest
|
|
8667
8754
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8690,7 +8777,7 @@ class Client extends openapi_core_1.default {
|
|
|
8690
8777
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryInstanceResponse({}));
|
|
8691
8778
|
}
|
|
8692
8779
|
/**
|
|
8693
|
-
*
|
|
8780
|
+
* Queries an instance.
|
|
8694
8781
|
*
|
|
8695
8782
|
* @param request - QueryInstanceRequest
|
|
8696
8783
|
* @returns QueryInstanceResponse
|
|
@@ -8700,7 +8787,7 @@ class Client extends openapi_core_1.default {
|
|
|
8700
8787
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8701
8788
|
}
|
|
8702
8789
|
/**
|
|
8703
|
-
* Queries whether a marketing message
|
|
8790
|
+
* Queries whether a marketing message takes effect.
|
|
8704
8791
|
*
|
|
8705
8792
|
* @param request - QueryMMLActiveRequest
|
|
8706
8793
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8738,7 +8825,7 @@ class Client extends openapi_core_1.default {
|
|
|
8738
8825
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8739
8826
|
}
|
|
8740
8827
|
/**
|
|
8741
|
-
* Queries whether a marketing message
|
|
8828
|
+
* Queries whether a marketing message takes effect.
|
|
8742
8829
|
*
|
|
8743
8830
|
* @param request - QueryMMLActiveRequest
|
|
8744
8831
|
* @returns QueryMMLActiveResponse
|
|
@@ -8751,7 +8838,7 @@ class Client extends openapi_core_1.default {
|
|
|
8751
8838
|
* Queries the business information of a phone number.
|
|
8752
8839
|
*
|
|
8753
8840
|
* @remarks
|
|
8754
|
-
* The queries per second (QPS) limit
|
|
8841
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
8755
8842
|
*
|
|
8756
8843
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8757
8844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8795,7 +8882,7 @@ class Client extends openapi_core_1.default {
|
|
|
8795
8882
|
* Queries the business information of a phone number.
|
|
8796
8883
|
*
|
|
8797
8884
|
* @remarks
|
|
8798
|
-
* The queries per second (QPS) limit
|
|
8885
|
+
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services. Call the API at a reasonable frequency.
|
|
8799
8886
|
*
|
|
8800
8887
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8801
8888
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8865,9 +8952,9 @@ class Client extends openapi_core_1.default {
|
|
|
8865
8952
|
* Retrieves the details of a flow.
|
|
8866
8953
|
*
|
|
8867
8954
|
* @remarks
|
|
8868
|
-
* - You can call this operation to retrieve flow details
|
|
8869
|
-
* - Before calling this operation, ensure that you have
|
|
8870
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
8955
|
+
* - You can call this operation to retrieve flow details or manually view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
8956
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
8957
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create one.
|
|
8871
8958
|
*
|
|
8872
8959
|
* @param tmpReq - ReadChatFlowRequest
|
|
8873
8960
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8919,9 +9006,9 @@ class Client extends openapi_core_1.default {
|
|
|
8919
9006
|
* Retrieves the details of a flow.
|
|
8920
9007
|
*
|
|
8921
9008
|
* @remarks
|
|
8922
|
-
* - You can call this operation to retrieve flow details
|
|
8923
|
-
* - Before calling this operation, ensure that you have
|
|
8924
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
9009
|
+
* - You can call this operation to retrieve flow details or manually view the flow details in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
9010
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
9011
|
+
* - If you do not have a successfully created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create one.
|
|
8925
9012
|
*
|
|
8926
9013
|
* @param request - ReadChatFlowRequest
|
|
8927
9014
|
* @returns ReadChatFlowResponse
|
|
@@ -8934,9 +9021,9 @@ class Client extends openapi_core_1.default {
|
|
|
8934
9021
|
* Queries the flow log settings.
|
|
8935
9022
|
*
|
|
8936
9023
|
* @remarks
|
|
8937
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8938
|
-
* - If flow log settings
|
|
8939
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9024
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9025
|
+
* - If flow log settings are not created for your flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
9026
|
+
* - You can use the unique ID of the settings returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8940
9027
|
*
|
|
8941
9028
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8942
9029
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8977,9 +9064,9 @@ class Client extends openapi_core_1.default {
|
|
|
8977
9064
|
* Queries the flow log settings.
|
|
8978
9065
|
*
|
|
8979
9066
|
* @remarks
|
|
8980
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8981
|
-
* - If flow log settings
|
|
8982
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9067
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9068
|
+
* - If flow log settings are not created for your flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
9069
|
+
* - You can use the unique ID of the settings returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
8983
9070
|
*
|
|
8984
9071
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8985
9072
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8989,12 +9076,12 @@ class Client extends openapi_core_1.default {
|
|
|
8989
9076
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8990
9077
|
}
|
|
8991
9078
|
/**
|
|
8992
|
-
* Retrieves
|
|
9079
|
+
* Retrieves the flow version.
|
|
8993
9080
|
*
|
|
8994
9081
|
* @remarks
|
|
8995
|
-
* - You can call this operation to query
|
|
8996
|
-
* - Before calling this operation, make sure that you have
|
|
8997
|
-
* - If you do not have a
|
|
9082
|
+
* - You can call this operation to query the flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow version.
|
|
9083
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9084
|
+
* - If you do not have a created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
8998
9085
|
*
|
|
8999
9086
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9000
9087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9052,12 +9139,12 @@ class Client extends openapi_core_1.default {
|
|
|
9052
9139
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
9053
9140
|
}
|
|
9054
9141
|
/**
|
|
9055
|
-
* Retrieves
|
|
9142
|
+
* Retrieves the flow version.
|
|
9056
9143
|
*
|
|
9057
9144
|
* @remarks
|
|
9058
|
-
* - You can call this operation to query
|
|
9059
|
-
* - Before calling this operation, make sure that you have
|
|
9060
|
-
* - If you do not have a
|
|
9145
|
+
* - You can call this operation to query the flow version, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and view the flow version.
|
|
9146
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9147
|
+
* - If you do not have a created flow, you can manually create a flow in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
9061
9148
|
*
|
|
9062
9149
|
* @param request - ReadFlowVersionRequest
|
|
9063
9150
|
* @returns ReadFlowVersionResponse
|
|
@@ -9118,10 +9205,10 @@ class Client extends openapi_core_1.default {
|
|
|
9118
9205
|
return await this.removeContactByIdWithOptions(request, runtime);
|
|
9119
9206
|
}
|
|
9120
9207
|
/**
|
|
9121
|
-
*
|
|
9208
|
+
* Calls the WhatsApp Conversion API.
|
|
9122
9209
|
*
|
|
9123
9210
|
* @remarks
|
|
9124
|
-
* The
|
|
9211
|
+
* The queries per second (QPS) limit per user is 100. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
9125
9212
|
*
|
|
9126
9213
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
9127
9214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9170,10 +9257,10 @@ class Client extends openapi_core_1.default {
|
|
|
9170
9257
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RequestWhatsappConversionApiResponse({}));
|
|
9171
9258
|
}
|
|
9172
9259
|
/**
|
|
9173
|
-
*
|
|
9260
|
+
* Calls the WhatsApp Conversion API.
|
|
9174
9261
|
*
|
|
9175
9262
|
* @remarks
|
|
9176
|
-
* The
|
|
9263
|
+
* The queries per second (QPS) limit per user is 100. If this limit is exceeded, API calls are throttled, which may affect your services. Call this API operation at a reasonable frequency.
|
|
9177
9264
|
*
|
|
9178
9265
|
* @param request - RequestWhatsappConversionApiRequest
|
|
9179
9266
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -9186,17 +9273,17 @@ class Client extends openapi_core_1.default {
|
|
|
9186
9273
|
* Sends Chat App messages in batches.
|
|
9187
9274
|
*
|
|
9188
9275
|
* @remarks
|
|
9189
|
-
* - You can call this operation to send messages in batches
|
|
9276
|
+
* - 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.
|
|
9190
9277
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9191
|
-
* - For WhatsApp
|
|
9192
|
-
* - For Messenger
|
|
9193
|
-
* - For Instagram
|
|
9194
|
-
* <props="intl">- For Viber
|
|
9195
|
-
* ### QPS
|
|
9196
|
-
* - The
|
|
9197
|
-
* - A maximum of 1,000 phone numbers
|
|
9278
|
+
* - 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).
|
|
9279
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9280
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9281
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9282
|
+
* ### QPS limits
|
|
9283
|
+
* - 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.
|
|
9284
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9198
9285
|
* ### Status changes
|
|
9199
|
-
* You can monitor message
|
|
9286
|
+
* 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).
|
|
9200
9287
|
*
|
|
9201
9288
|
* @param tmpReq - SendChatappMassMessageRequest
|
|
9202
9289
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9290,17 +9377,17 @@ class Client extends openapi_core_1.default {
|
|
|
9290
9377
|
* Sends Chat App messages in batches.
|
|
9291
9378
|
*
|
|
9292
9379
|
* @remarks
|
|
9293
|
-
* - You can call this operation to send messages in batches
|
|
9380
|
+
* - 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.
|
|
9294
9381
|
* - Before calling this operation, make sure that you have created a channel and have an approved template.
|
|
9295
|
-
* - For WhatsApp
|
|
9296
|
-
* - For Messenger
|
|
9297
|
-
* - For Instagram
|
|
9298
|
-
* <props="intl">- For Viber
|
|
9299
|
-
* ### QPS
|
|
9300
|
-
* - The
|
|
9301
|
-
* - A maximum of 1,000 phone numbers
|
|
9382
|
+
* - 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).
|
|
9383
|
+
* - For the Messenger channel type, complete [connecting a public page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
9384
|
+
* - For the Instagram channel type, complete [connecting a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
9385
|
+
* <props="intl">- For the Viber channel type, complete [applying for a service number](https://help.aliyun.com/document_detail/2807995.html).
|
|
9386
|
+
* ### QPS limits
|
|
9387
|
+
* - 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.
|
|
9388
|
+
* - A single request supports a maximum of 1,000 phone numbers.
|
|
9302
9389
|
* ### Status changes
|
|
9303
|
-
* You can monitor message
|
|
9390
|
+
* 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).
|
|
9304
9391
|
*
|
|
9305
9392
|
* @param request - SendChatappMassMessageRequest
|
|
9306
9393
|
* @returns SendChatappMassMessageResponse
|
|
@@ -9486,7 +9573,7 @@ class Client extends openapi_core_1.default {
|
|
|
9486
9573
|
return await this.sendChatappMessageWithOptions(request, runtime);
|
|
9487
9574
|
}
|
|
9488
9575
|
/**
|
|
9489
|
-
* Submits the
|
|
9576
|
+
* Submits the verification code validation result.
|
|
9490
9577
|
*
|
|
9491
9578
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9492
9579
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9521,7 +9608,7 @@ class Client extends openapi_core_1.default {
|
|
|
9521
9608
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitVerifyCodeResultResponse({}));
|
|
9522
9609
|
}
|
|
9523
9610
|
/**
|
|
9524
|
-
* Submits the
|
|
9611
|
+
* Submits the verification code validation result.
|
|
9525
9612
|
*
|
|
9526
9613
|
* @param request - SubmitVerifyCodeResultRequest
|
|
9527
9614
|
* @returns SubmitVerifyCodeResultResponse
|
|
@@ -9531,11 +9618,11 @@ class Client extends openapi_core_1.default {
|
|
|
9531
9618
|
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9532
9619
|
}
|
|
9533
9620
|
/**
|
|
9534
|
-
* Synchronizes business app
|
|
9621
|
+
* Synchronizes the history records of a business app.
|
|
9535
9622
|
*
|
|
9536
9623
|
* @remarks
|
|
9537
|
-
* - Before calling this operation, configure
|
|
9538
|
-
* - This operation takes effect only once.
|
|
9624
|
+
* - Before calling this operation, configure webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the system cannot find the configured webhook URLs during history message synchronization, which causes the synchronization to fail.
|
|
9625
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9539
9626
|
*
|
|
9540
9627
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9541
9628
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9576,11 +9663,11 @@ class Client extends openapi_core_1.default {
|
|
|
9576
9663
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
9577
9664
|
}
|
|
9578
9665
|
/**
|
|
9579
|
-
* Synchronizes business app
|
|
9666
|
+
* Synchronizes the history records of a business app.
|
|
9580
9667
|
*
|
|
9581
9668
|
* @remarks
|
|
9582
|
-
* - Before calling this operation, configure
|
|
9583
|
-
* - This operation takes effect only once.
|
|
9669
|
+
* - Before calling this operation, configure webhooks for messages and receipts by using [UpdatePhoneWebhook](https://help.aliyun.com/document_detail/600763.html) and [UpdateAccountWebhook](https://help.aliyun.com/document_detail/600765.html). Otherwise, the system cannot find the configured webhook URLs during history message synchronization, which causes the synchronization to fail.
|
|
9670
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9584
9671
|
*
|
|
9585
9672
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9586
9673
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -9590,7 +9677,7 @@ class Client extends openapi_core_1.default {
|
|
|
9590
9677
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9591
9678
|
}
|
|
9592
9679
|
/**
|
|
9593
|
-
*
|
|
9680
|
+
* Synchronizes a flow.
|
|
9594
9681
|
*
|
|
9595
9682
|
* @param request - SyncFlowRequest
|
|
9596
9683
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9628,7 +9715,7 @@ class Client extends openapi_core_1.default {
|
|
|
9628
9715
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9629
9716
|
}
|
|
9630
9717
|
/**
|
|
9631
|
-
*
|
|
9718
|
+
* Synchronizes a flow.
|
|
9632
9719
|
*
|
|
9633
9720
|
* @param request - SyncFlowRequest
|
|
9634
9721
|
* @returns SyncFlowResponse
|
|
@@ -9638,7 +9725,7 @@ class Client extends openapi_core_1.default {
|
|
|
9638
9725
|
return await this.syncFlowWithOptions(request, runtime);
|
|
9639
9726
|
}
|
|
9640
9727
|
/**
|
|
9641
|
-
*
|
|
9728
|
+
* Queries the budget synchronously.
|
|
9642
9729
|
*
|
|
9643
9730
|
* @param request - SyncMessageCampaignRequest
|
|
9644
9731
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9679,7 +9766,7 @@ class Client extends openapi_core_1.default {
|
|
|
9679
9766
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessageCampaignResponse({}));
|
|
9680
9767
|
}
|
|
9681
9768
|
/**
|
|
9682
|
-
*
|
|
9769
|
+
* Queries the budget synchronously.
|
|
9683
9770
|
*
|
|
9684
9771
|
* @param request - SyncMessageCampaignRequest
|
|
9685
9772
|
* @returns SyncMessageCampaignResponse
|
|
@@ -9746,13 +9833,13 @@ class Client extends openapi_core_1.default {
|
|
|
9746
9833
|
return await this.syncMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
9747
9834
|
}
|
|
9748
9835
|
/**
|
|
9749
|
-
* Triggers an online
|
|
9836
|
+
* Triggers an online flow version with a manual trigger.
|
|
9750
9837
|
*
|
|
9751
9838
|
* @remarks
|
|
9752
|
-
* - You can call this operation to trigger
|
|
9753
|
-
* - Before
|
|
9754
|
-
* - If
|
|
9755
|
-
* -
|
|
9839
|
+
* - You can call this operation to trigger an online flow version with a manual trigger. You can also trigger the flow in the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) console by using a flow with a manual trigger that is associated with a marketing activity.
|
|
9840
|
+
* - Before calling this operation, make sure that the flow you created has a manual trigger and is online.
|
|
9841
|
+
* - If the flow with a manual trigger that you created does not have an online version, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page and manually publish the flow version, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to publish the flow version.
|
|
9842
|
+
* - After triggering an online flow, if your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9756
9843
|
*
|
|
9757
9844
|
* @param tmpReq - TriggerChatFlowRequest
|
|
9758
9845
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9810,13 +9897,13 @@ class Client extends openapi_core_1.default {
|
|
|
9810
9897
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerChatFlowResponse({}));
|
|
9811
9898
|
}
|
|
9812
9899
|
/**
|
|
9813
|
-
* Triggers an online
|
|
9900
|
+
* Triggers an online flow version with a manual trigger.
|
|
9814
9901
|
*
|
|
9815
9902
|
* @remarks
|
|
9816
|
-
* - You can call this operation to trigger
|
|
9817
|
-
* - Before
|
|
9818
|
-
* - If
|
|
9819
|
-
* -
|
|
9903
|
+
* - You can call this operation to trigger an online flow version with a manual trigger. You can also trigger the flow in the [Marketing Activity Management](https://chatapp.console.aliyun.com/MarketingActivityManagement) console by using a flow with a manual trigger that is associated with a marketing activity.
|
|
9904
|
+
* - Before calling this operation, make sure that the flow you created has a manual trigger and is online.
|
|
9905
|
+
* - If the flow with a manual trigger that you created does not have an online version, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console to go to the canvas orchestration page and manually publish the flow version, or call the [OnlineFlowVersion](https://api.aliyun.com/document/cams/2020-06-06/OnlineFlowVersion) operation to publish the flow version.
|
|
9906
|
+
* - After triggering an online flow, if your flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, make sure that you fully understand the billing methods and pricing of the related services before using this operation.
|
|
9820
9907
|
*
|
|
9821
9908
|
* @param request - TriggerChatFlowRequest
|
|
9822
9909
|
* @returns TriggerChatFlowResponse
|
|
@@ -9826,7 +9913,7 @@ class Client extends openapi_core_1.default {
|
|
|
9826
9913
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9827
9914
|
}
|
|
9828
9915
|
/**
|
|
9829
|
-
*
|
|
9916
|
+
* Disassociates an email account.
|
|
9830
9917
|
*
|
|
9831
9918
|
* @param request - UnbindDmAccountRequest
|
|
9832
9919
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9864,7 +9951,7 @@ class Client extends openapi_core_1.default {
|
|
|
9864
9951
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9865
9952
|
}
|
|
9866
9953
|
/**
|
|
9867
|
-
*
|
|
9954
|
+
* Disassociates an email account.
|
|
9868
9955
|
*
|
|
9869
9956
|
* @param request - UnbindDmAccountRequest
|
|
9870
9957
|
* @returns UnbindDmAccountResponse
|
|
@@ -9937,7 +10024,7 @@ class Client extends openapi_core_1.default {
|
|
|
9937
10024
|
return await this.updateAccountWebhookWithOptions(request, runtime);
|
|
9938
10025
|
}
|
|
9939
10026
|
/**
|
|
9940
|
-
*
|
|
10027
|
+
* Updates a Viber application form.
|
|
9941
10028
|
*
|
|
9942
10029
|
* @param tmpReq - UpdateAuditRequestRequest
|
|
9943
10030
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9989,7 +10076,7 @@ class Client extends openapi_core_1.default {
|
|
|
9989
10076
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateAuditRequestResponse({}));
|
|
9990
10077
|
}
|
|
9991
10078
|
/**
|
|
9992
|
-
*
|
|
10079
|
+
* Updates a Viber application form.
|
|
9993
10080
|
*
|
|
9994
10081
|
* @param request - UpdateAuditRequestRequest
|
|
9995
10082
|
* @returns UpdateAuditRequestResponse
|
|
@@ -10002,9 +10089,9 @@ class Client extends openapi_core_1.default {
|
|
|
10002
10089
|
* Updates the basic information of a flow based on the flow code.
|
|
10003
10090
|
*
|
|
10004
10091
|
* @remarks
|
|
10005
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10006
|
-
* - Before calling this operation,
|
|
10007
|
-
* - If you do not have a
|
|
10092
|
+
* - You can call this operation to update the basic information of a flow, or manually update it on the **Basic Information** page by choosing **Settings** > **Basic Information** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10093
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10094
|
+
* - If you do not have a created flow, you can click **Create Flow** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10008
10095
|
*
|
|
10009
10096
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10010
10097
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10062,9 +10149,9 @@ class Client extends openapi_core_1.default {
|
|
|
10062
10149
|
* Updates the basic information of a flow based on the flow code.
|
|
10063
10150
|
*
|
|
10064
10151
|
* @remarks
|
|
10065
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10066
|
-
* - Before calling this operation,
|
|
10067
|
-
* - If you do not have a
|
|
10152
|
+
* - You can call this operation to update the basic information of a flow, or manually update it on the **Basic Information** page by choosing **Settings** > **Basic Information** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10153
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10154
|
+
* - If you do not have a created flow, you can click **Create Flow** in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) to manually create one.
|
|
10068
10155
|
*
|
|
10069
10156
|
* @param request - UpdateChatFlowRequest
|
|
10070
10157
|
* @returns UpdateChatFlowResponse
|
|
@@ -10077,10 +10164,10 @@ class Client extends openapi_core_1.default {
|
|
|
10077
10164
|
* Updates the flow log settings.
|
|
10078
10165
|
*
|
|
10079
10166
|
* @remarks
|
|
10080
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10081
|
-
* - Before
|
|
10082
|
-
* - If you have not created flow log settings for the flow,
|
|
10083
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10167
|
+
* - You can call this operation to update the flow log settings, or manually update them on the **Logs** tab of the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10168
|
+
* - Before you call this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10169
|
+
* - If you have not created flow log settings for the flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
10170
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10084
10171
|
*
|
|
10085
10172
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10086
10173
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10127,10 +10214,10 @@ class Client extends openapi_core_1.default {
|
|
|
10127
10214
|
* Updates the flow log settings.
|
|
10128
10215
|
*
|
|
10129
10216
|
* @remarks
|
|
10130
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10131
|
-
* - Before
|
|
10132
|
-
* - If you have not created flow log settings for the flow,
|
|
10133
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10217
|
+
* - You can call this operation to update the flow log settings, or manually update them on the **Logs** tab of the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
10218
|
+
* - Before you call this operation, make sure that you have activated [Simple Log Service](https://sls.console.aliyun.com/lognext/open) and created flow log settings.
|
|
10219
|
+
* - If you have not created flow log settings for the flow, call the [CreateChatFlowLogSetting](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlowLogSetting) operation to create flow log settings first.
|
|
10220
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10134
10221
|
*
|
|
10135
10222
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10136
10223
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -10143,10 +10230,10 @@ class Client extends openapi_core_1.default {
|
|
|
10143
10230
|
* Modifies the information of an IM group.
|
|
10144
10231
|
*
|
|
10145
10232
|
* @remarks
|
|
10146
|
-
* >
|
|
10147
|
-
* -
|
|
10148
|
-
* - Before
|
|
10149
|
-
* - If you do not have
|
|
10233
|
+
* <notice>The feature to modify IM groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.</notice>
|
|
10234
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10235
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10236
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
10150
10237
|
*
|
|
10151
10238
|
* @param request - UpdateChatGroupRequest
|
|
10152
10239
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10205,10 +10292,10 @@ class Client extends openapi_core_1.default {
|
|
|
10205
10292
|
* Modifies the information of an IM group.
|
|
10206
10293
|
*
|
|
10207
10294
|
* @remarks
|
|
10208
|
-
* >
|
|
10209
|
-
* -
|
|
10210
|
-
* - Before
|
|
10211
|
-
* - If you do not have
|
|
10295
|
+
* <notice>The feature to modify IM groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.</notice>
|
|
10296
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10297
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10298
|
+
* - If you do not have an IM group, you can call the [AddChatGroup](https://help.aliyun.com/document_detail/2998429.html) operation to create one.
|
|
10212
10299
|
*
|
|
10213
10300
|
* @param request - UpdateChatGroupRequest
|
|
10214
10301
|
* @returns UpdateChatGroupResponse
|
|
@@ -10281,7 +10368,7 @@ class Client extends openapi_core_1.default {
|
|
|
10281
10368
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10282
10369
|
}
|
|
10283
10370
|
/**
|
|
10284
|
-
*
|
|
10371
|
+
* Updates a contact.
|
|
10285
10372
|
*
|
|
10286
10373
|
* @param tmpReq - UpdateContactByIdRequest
|
|
10287
10374
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10345,7 +10432,7 @@ class Client extends openapi_core_1.default {
|
|
|
10345
10432
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
10346
10433
|
}
|
|
10347
10434
|
/**
|
|
10348
|
-
*
|
|
10435
|
+
* Updates a contact.
|
|
10349
10436
|
*
|
|
10350
10437
|
* @param request - UpdateContactByIdRequest
|
|
10351
10438
|
* @returns UpdateContactByIdResponse
|
|
@@ -10355,12 +10442,12 @@ class Client extends openapi_core_1.default {
|
|
|
10355
10442
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
10356
10443
|
}
|
|
10357
10444
|
/**
|
|
10358
|
-
* Modifies the welcome message,
|
|
10445
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10359
10446
|
*
|
|
10360
10447
|
* @remarks
|
|
10361
|
-
* ### QPS
|
|
10362
|
-
* The
|
|
10363
|
-
* This
|
|
10448
|
+
* ### QPS limits
|
|
10449
|
+
* The QPS limit per user is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
10450
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10364
10451
|
*
|
|
10365
10452
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
10366
10453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10418,12 +10505,12 @@ class Client extends openapi_core_1.default {
|
|
|
10418
10505
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
10419
10506
|
}
|
|
10420
10507
|
/**
|
|
10421
|
-
* Modifies the welcome message,
|
|
10508
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10422
10509
|
*
|
|
10423
10510
|
* @remarks
|
|
10424
|
-
* ### QPS
|
|
10425
|
-
* The
|
|
10426
|
-
* This
|
|
10511
|
+
* ### QPS limits
|
|
10512
|
+
* The QPS limit per user is 5 calls per second. If this limit is exceeded, API calls are throttled, which may affect your services. Call this operation at a reasonable frequency.
|
|
10513
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10427
10514
|
*
|
|
10428
10515
|
* @param request - UpdateConversationalAutomationRequest
|
|
10429
10516
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -10436,7 +10523,7 @@ class Client extends openapi_core_1.default {
|
|
|
10436
10523
|
* Updates the content of a flow by using JSON.
|
|
10437
10524
|
*
|
|
10438
10525
|
* @remarks
|
|
10439
|
-
* The
|
|
10526
|
+
* 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.
|
|
10440
10527
|
*
|
|
10441
10528
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10442
10529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10483,7 +10570,7 @@ class Client extends openapi_core_1.default {
|
|
|
10483
10570
|
* Updates the content of a flow by using JSON.
|
|
10484
10571
|
*
|
|
10485
10572
|
* @remarks
|
|
10486
|
-
* The
|
|
10573
|
+
* 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.
|
|
10487
10574
|
*
|
|
10488
10575
|
* @param request - UpdateFlowJSONAssetRequest
|
|
10489
10576
|
* @returns UpdateFlowJSONAssetResponse
|
|
@@ -10493,12 +10580,12 @@ class Client extends openapi_core_1.default {
|
|
|
10493
10580
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10494
10581
|
}
|
|
10495
10582
|
/**
|
|
10496
|
-
* Updates the DSL data of a flow version
|
|
10583
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10497
10584
|
*
|
|
10498
10585
|
* @remarks
|
|
10499
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10500
|
-
* - Before calling this operation,
|
|
10501
|
-
* - If you have not created a flow, you can manually create
|
|
10586
|
+
* - You can call this operation to update the DSL data of a flow version. Alternatively, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10587
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10588
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
10502
10589
|
*
|
|
10503
10590
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10504
10591
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10559,12 +10646,12 @@ class Client extends openapi_core_1.default {
|
|
|
10559
10646
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10560
10647
|
}
|
|
10561
10648
|
/**
|
|
10562
|
-
* Updates the DSL data of a flow version
|
|
10649
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10563
10650
|
*
|
|
10564
10651
|
* @remarks
|
|
10565
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10566
|
-
* - Before calling this operation,
|
|
10567
|
-
* - If you have not created a flow, you can manually create
|
|
10652
|
+
* - You can call this operation to update the DSL data of a flow version. Alternatively, you can click the flow name on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page to go to the canvas orchestration page and update the DSL data of the flow version.
|
|
10653
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10654
|
+
* - If you have not created a flow, you can manually create one on the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) page or call the [CreateChatFlow](https://api.aliyun.com/document/cams/2020-06-06/CreateChatFlow) operation to create a flow.
|
|
10568
10655
|
*
|
|
10569
10656
|
* @param request - UpdateFlowVersionRequest
|
|
10570
10657
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10625,7 +10712,7 @@ class Client extends openapi_core_1.default {
|
|
|
10625
10712
|
return await this.updateGroupNameWithOptions(request, runtime);
|
|
10626
10713
|
}
|
|
10627
10714
|
/**
|
|
10628
|
-
*
|
|
10715
|
+
* Modifies an instance.
|
|
10629
10716
|
*
|
|
10630
10717
|
* @param request - UpdateInstanceRequest
|
|
10631
10718
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10678,7 +10765,7 @@ class Client extends openapi_core_1.default {
|
|
|
10678
10765
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
10679
10766
|
}
|
|
10680
10767
|
/**
|
|
10681
|
-
*
|
|
10768
|
+
* Modifies an instance.
|
|
10682
10769
|
*
|
|
10683
10770
|
* @param request - UpdateInstanceRequest
|
|
10684
10771
|
* @returns UpdateInstanceResponse
|
|
@@ -10688,7 +10775,7 @@ class Client extends openapi_core_1.default {
|
|
|
10688
10775
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10689
10776
|
}
|
|
10690
10777
|
/**
|
|
10691
|
-
*
|
|
10778
|
+
* Updates the marketing campaign information.
|
|
10692
10779
|
*
|
|
10693
10780
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10694
10781
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10767,7 +10854,7 @@ class Client extends openapi_core_1.default {
|
|
|
10767
10854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10768
10855
|
}
|
|
10769
10856
|
/**
|
|
10770
|
-
*
|
|
10857
|
+
* Updates the marketing campaign information.
|
|
10771
10858
|
*
|
|
10772
10859
|
* @param request - UpdateMarketingFLowRequest
|
|
10773
10860
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10917,10 +11004,10 @@ class Client extends openapi_core_1.default {
|
|
|
10917
11004
|
return await this.updatePhoneMessageQrdlWithOptions(request, runtime);
|
|
10918
11005
|
}
|
|
10919
11006
|
/**
|
|
10920
|
-
*
|
|
11007
|
+
* Updates the callback URL information for a phone number.
|
|
10921
11008
|
*
|
|
10922
11009
|
* @remarks
|
|
10923
|
-
* The per
|
|
11010
|
+
* 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
11011
|
*
|
|
10925
11012
|
* @param request - UpdatePhoneWebhookRequest
|
|
10926
11013
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10973,10 +11060,10 @@ class Client extends openapi_core_1.default {
|
|
|
10973
11060
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePhoneWebhookResponse({}));
|
|
10974
11061
|
}
|
|
10975
11062
|
/**
|
|
10976
|
-
*
|
|
11063
|
+
* Updates the callback URL information for a phone number.
|
|
10977
11064
|
*
|
|
10978
11065
|
* @remarks
|
|
10979
|
-
* The per
|
|
11066
|
+
* 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.
|
|
10980
11067
|
*
|
|
10981
11068
|
* @param request - UpdatePhoneWebhookRequest
|
|
10982
11069
|
* @returns UpdatePhoneWebhookResponse
|