@alicloud/cams20200606 5.3.2 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +460 -430
- package/dist/client.js +527 -430
- package/dist/client.js.map +1 -1
- package/dist/models/AddAddressRecoverSuspendRequest.d.ts +8 -8
- package/dist/models/AddAddressRecoverSuspendResponseBody.d.ts +7 -7
- package/dist/models/AddAddressRecoverSuspendShrinkRequest.d.ts +2 -2
- package/dist/models/AddAuditViberOpenRequest.d.ts +7 -7
- package/dist/models/AddAuditViberOpenResponseBody.d.ts +3 -3
- package/dist/models/AddAuditViberOpenShrinkRequest.d.ts +1 -1
- package/dist/models/AddChatGroupInviteLinkRequest.d.ts +4 -4
- package/dist/models/AddChatGroupInviteLinkResponseBody.d.ts +6 -6
- package/dist/models/AddChatGroupRequest.d.ts +3 -3
- package/dist/models/AddChatGroupResponseBody.d.ts +4 -4
- package/dist/models/AddContactsRequest.d.ts +5 -5
- package/dist/models/AddContactsResponseBody.d.ts +3 -3
- package/dist/models/AddContactsShrinkRequest.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserRequest.d.ts +5 -5
- package/dist/models/AddCustomAudienceUserResponseBody.d.ts +3 -3
- package/dist/models/AddCustomAudienceUserShrinkRequest.d.ts +5 -5
- package/dist/models/AddGroupResponseBody.d.ts +5 -5
- package/dist/models/AddMarketingFlowRequest.d.ts +15 -15
- package/dist/models/AddMarketingFlowResponseBody.d.ts +6 -6
- package/dist/models/AddMarketingFlowShrinkRequest.d.ts +15 -15
- package/dist/models/BindDmAccountResponseBody.d.ts +3 -3
- package/dist/models/BindInstagramPageResponseBody.d.ts +2 -2
- package/dist/models/BindMessengerPageResponseBody.d.ts +1 -1
- package/dist/models/ChatappBindWabaRequest.d.ts +8 -0
- package/dist/models/ChatappBindWabaRequest.js +2 -0
- package/dist/models/ChatappBindWabaRequest.js.map +1 -1
- package/dist/models/ChatappBindWabaResponseBody.d.ts +3 -3
- package/dist/models/ChatappMigrationRegisterRequest.d.ts +1 -1
- package/dist/models/ChatappMigrationRegisterResponseBody.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/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 +5 -2
- package/dist/models/CreateChatFlowByImportResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowByImportShrinkRequest.d.ts +5 -5
- package/dist/models/CreateChatFlowLogSettingRequest.d.ts +1 -1
- package/dist/models/CreateChatFlowLogSettingResponseBody.d.ts +7 -4
- package/dist/models/CreateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowRequest.d.ts +9 -9
- package/dist/models/CreateChatFlowResponseBody.d.ts +7 -1
- package/dist/models/CreateChatFlowResponseBody.js.map +1 -1
- package/dist/models/CreateChatFlowShrinkRequest.d.ts +9 -9
- package/dist/models/CreateChatappTemplateRequest.d.ts +99 -183
- package/dist/models/CreateChatappTemplateRequest.js.map +1 -1
- package/dist/models/CreateChatappTemplateResponseBody.d.ts +7 -5
- package/dist/models/CreateChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/CreateChatappTemplateShrinkRequest.d.ts +35 -36
- package/dist/models/CreateChatappTemplateShrinkRequest.js.map +1 -1
- 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 +5 -2
- package/dist/models/CreateFlowVersionResponseBody.js.map +1 -1
- package/dist/models/CreateFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateInstanceRequest.d.ts +2 -2
- 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 +6 -3
- package/dist/models/DeleteChatFlowResponseBody.js.map +1 -1
- 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 +1 -1
- package/dist/models/DeleteContactsResponseBody.d.ts +5 -5
- package/dist/models/DeleteContactsShrinkRequest.d.ts +1 -1
- 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/DeleteMessengerPageResponseBody.d.ts +4 -4
- 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 +1 -1
- package/dist/models/FlowUnbindPhoneResponseBody.d.ts +2 -2
- package/dist/models/FlowUnbindPhoneShrinkRequest.d.ts +1 -1
- 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/GetAutoGeneratedTemplateRequest.d.ts +1 -1
- package/dist/models/GetChatFlowMetricRequest.d.ts +11 -11
- package/dist/models/GetChatFlowMetricResponseBody.d.ts +8 -5
- package/dist/models/GetChatFlowMetricResponseBody.js.map +1 -1
- package/dist/models/GetChatFlowMetricShrinkRequest.d.ts +11 -11
- package/dist/models/GetChatFlowTemplateRequest.d.ts +1 -1
- package/dist/models/GetChatFlowTemplateResponseBody.d.ts +6 -3
- package/dist/models/GetChatFlowTemplateResponseBody.js.map +1 -1
- package/dist/models/GetChatappOpenStatusResponseBody.d.ts +2 -2
- package/dist/models/GetChatappPhoneNumberSettingResponseBody.d.ts +5 -5
- package/dist/models/GetChatappTemplateDetailRequest.d.ts +4 -6
- package/dist/models/GetChatappTemplateDetailRequest.js.map +1 -1
- package/dist/models/GetChatappTemplateDetailResponseBody.d.ts +37 -36
- package/dist/models/GetChatappTemplateDetailResponseBody.js.map +1 -1
- package/dist/models/GetCustomerSiteResponseBody.d.ts +4 -4
- package/dist/models/GetDownloadExcelListRequest.d.ts +6 -6
- package/dist/models/GetDownloadExcelListResponseBody.d.ts +8 -8
- package/dist/models/GetDownloadExcelListShrinkRequest.d.ts +6 -6
- 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 +2 -2
- package/dist/models/GetMessageCampaignInsightsResponseBody.d.ts +13 -13
- 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/GetPhoneEncryptionPublicKeyRequest.d.ts +2 -7
- package/dist/models/GetPhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.d.ts +8 -4
- package/dist/models/GetPhoneEncryptionPublicKeyResponseBody.js.map +1 -1
- 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 +24 -24
- package/dist/models/GetViberPauseTimesResponseBody.d.ts +5 -5
- package/dist/models/GetWhatsappConversionApiResponseBody.d.ts +3 -3
- 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/ListAllGroupsResponseBody.d.ts +4 -4
- 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 +7 -4
- package/dist/models/ListChatFlowResponseBody.js.map +1 -1
- package/dist/models/ListChatFlowShrinkRequest.d.ts +6 -6
- package/dist/models/ListChatFlowTemplateRequest.d.ts +2 -2
- package/dist/models/ListChatFlowTemplateResponseBody.d.ts +7 -4
- package/dist/models/ListChatFlowTemplateResponseBody.js.map +1 -1
- 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 +20 -15
- package/dist/models/ListChatappMessageRequest.js +2 -0
- package/dist/models/ListChatappMessageRequest.js.map +1 -1
- package/dist/models/ListChatappMessageResponseBody.d.ts +13 -13
- package/dist/models/ListChatappMessageShrinkRequest.d.ts +20 -15
- package/dist/models/ListChatappMessageShrinkRequest.js +2 -0
- package/dist/models/ListChatappMessageShrinkRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateRequest.d.ts +12 -15
- package/dist/models/ListChatappTemplateRequest.js.map +1 -1
- package/dist/models/ListChatappTemplateResponseBody.d.ts +20 -20
- package/dist/models/ListChatappTemplateShrinkRequest.d.ts +11 -14
- package/dist/models/ListChatappTemplateShrinkRequest.js.map +1 -1
- package/dist/models/ListCustomAudienceRequest.d.ts +5 -5
- package/dist/models/ListCustomAudienceResponseBody.d.ts +10 -10
- package/dist/models/ListCustomAudienceShrinkRequest.d.ts +4 -4
- package/dist/models/ListDmAccountRequest.d.ts +1 -1
- package/dist/models/ListDmAccountResponseBody.d.ts +7 -7
- package/dist/models/ListDmTagRequest.d.ts +1 -1
- package/dist/models/ListDmTagResponseBody.d.ts +8 -8
- package/dist/models/ListFacebookPostsRequest.d.ts +1 -1
- package/dist/models/ListFacebookPostsResponseBody.d.ts +11 -11
- 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 +12 -12
- package/dist/models/ListFlowVersionRequest.d.ts +8 -8
- package/dist/models/ListFlowVersionResponseBody.d.ts +8 -5
- package/dist/models/ListFlowVersionResponseBody.js.map +1 -1
- 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 -10
- package/dist/models/ListInstagramPostsResponseBody.js.map +1 -1
- package/dist/models/ListInstanceRequest.d.ts +8 -5
- 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 +27 -29
- package/dist/models/ListMarketingFlowResponseBody.js.map +1 -1
- package/dist/models/ListMarketingFlowShrinkRequest.d.ts +4 -4
- package/dist/models/ListMessageCampaignRequest.d.ts +1 -1
- package/dist/models/ListMessageCampaignResponseBody.d.ts +6 -6
- package/dist/models/ListMessageCampaignShrinkRequest.d.ts +1 -1
- package/dist/models/ListMessengerSubscriptionTokenRequest.d.ts +3 -3
- package/dist/models/ListMessengerSubscriptionTokenResponseBody.d.ts +9 -9
- package/dist/models/ListViberServiceMessageRequest.d.ts +1 -1
- package/dist/models/ListViberServiceMessageResponseBody.d.ts +9 -9
- package/dist/models/ListWhatAppTemplateResponseBody.d.ts +1 -1
- 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 +36 -27
- package/dist/models/ModifyChatappTemplateRequest.js.map +1 -1
- package/dist/models/ModifyChatappTemplateResponseBody.d.ts +5 -7
- package/dist/models/ModifyChatappTemplateResponseBody.js.map +1 -1
- package/dist/models/ModifyChatappTemplateShrinkRequest.d.ts +19 -10
- 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 +12 -9
- package/dist/models/MoveContactToGroupResponseBody.js.map +1 -1
- package/dist/models/MoveContactToGroupShrinkRequest.d.ts +4 -4
- package/dist/models/OfflineFlowVersionRequest.d.ts +2 -2
- package/dist/models/OfflineFlowVersionResponseBody.d.ts +5 -2
- package/dist/models/OfflineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OfflineFlowVersionShrinkRequest.d.ts +2 -2
- package/dist/models/OnlineFlowVersionRequest.d.ts +4 -4
- package/dist/models/OnlineFlowVersionResponseBody.d.ts +6 -3
- package/dist/models/OnlineFlowVersionResponseBody.js.map +1 -1
- package/dist/models/OnlineFlowVersionShrinkRequest.d.ts +4 -4
- package/dist/models/QueryChatappBindWabaRequest.d.ts +1 -1
- package/dist/models/QueryChatappBindWabaResponseBody.d.ts +24 -13
- package/dist/models/QueryChatappBindWabaResponseBody.js +2 -0
- package/dist/models/QueryChatappBindWabaResponseBody.js.map +1 -1
- package/dist/models/QueryChatappPhoneNumbersRequest.d.ts +1 -1
- package/dist/models/QueryChatappPhoneNumbersResponseBody.d.ts +22 -22
- 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/QueryPhoneBusinessProfileRequest.d.ts +1 -1
- package/dist/models/QueryPhoneBusinessProfileResponseBody.d.ts +2 -2
- package/dist/models/ReadChatFlowLogSettingResponseBody.d.ts +4 -1
- package/dist/models/ReadChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowRequest.d.ts +2 -2
- package/dist/models/ReadChatFlowResponseBody.d.ts +6 -3
- package/dist/models/ReadChatFlowResponseBody.js.map +1 -1
- package/dist/models/ReadChatFlowShrinkRequest.d.ts +2 -2
- package/dist/models/ReadFlowVersionRequest.d.ts +8 -8
- package/dist/models/ReadFlowVersionResponseBody.d.ts +8 -5
- package/dist/models/ReadFlowVersionResponseBody.js.map +1 -1
- 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 +15 -4
- package/dist/models/SendChatappMassMessageRequest.js.map +1 -1
- package/dist/models/SendChatappMassMessageShrinkRequest.d.ts +1 -1
- 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/SyncBusinessAppHistoryRequest.d.ts +1 -1
- package/dist/models/SyncBusinessAppHistoryResponseBody.d.ts +4 -4
- package/dist/models/SyncFlowResponseBody.d.ts +8 -8
- package/dist/models/SyncMessageCampaignResponseBody.d.ts +2 -2
- 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 +4 -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/UpdateChatFlowLogSettingRequest.d.ts +4 -4
- package/dist/models/UpdateChatFlowLogSettingResponseBody.d.ts +6 -3
- package/dist/models/UpdateChatFlowLogSettingResponseBody.js.map +1 -1
- package/dist/models/UpdateChatFlowRequest.d.ts +5 -5
- package/dist/models/UpdateChatFlowResponseBody.d.ts +8 -5
- package/dist/models/UpdateChatFlowResponseBody.js.map +1 -1
- 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/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 +4 -4
- package/dist/models/UpdateMarketingFlowResponseBody.d.ts +9 -9
- package/dist/models/UpdateMarketingFlowShrinkRequest.d.ts +4 -4
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.d.ts +8 -4
- package/dist/models/UpdatePhoneEncryptionPublicKeyRequest.js.map +1 -1
- package/dist/models/UpdateWabaMmlStatusRequest.d.ts +5 -5
- package/dist/models/UpdateWabaMmlStatusResponseBody.d.ts +8 -8
- package/dist/models/WhatsappCallRequest.d.ts +10 -2
- package/dist/models/WhatsappCallRequest.js +2 -0
- package/dist/models/WhatsappCallRequest.js.map +1 -1
- package/dist/models/WhatsappCallResponseBody.d.ts +5 -5
- package/dist/models/WhatsappCallShrinkRequest.d.ts +9 -1
- package/dist/models/WhatsappCallShrinkRequest.js +2 -0
- package/dist/models/WhatsappCallShrinkRequest.js.map +1 -1
- 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 +3 -2
- package/src/client.ts +538 -430
- package/src/models/AddAddressRecoverSuspendRequest.ts +8 -8
- package/src/models/AddAddressRecoverSuspendResponseBody.ts +7 -7
- package/src/models/AddAddressRecoverSuspendShrinkRequest.ts +2 -2
- package/src/models/AddAuditViberOpenRequest.ts +7 -7
- package/src/models/AddAuditViberOpenResponseBody.ts +3 -3
- package/src/models/AddAuditViberOpenShrinkRequest.ts +1 -1
- package/src/models/AddChatGroupInviteLinkRequest.ts +4 -4
- package/src/models/AddChatGroupInviteLinkResponseBody.ts +6 -6
- package/src/models/AddChatGroupRequest.ts +3 -3
- package/src/models/AddChatGroupResponseBody.ts +4 -4
- package/src/models/AddContactsRequest.ts +5 -5
- package/src/models/AddContactsResponseBody.ts +3 -3
- package/src/models/AddContactsShrinkRequest.ts +5 -5
- package/src/models/AddCustomAudienceUserRequest.ts +5 -5
- package/src/models/AddCustomAudienceUserResponseBody.ts +3 -3
- package/src/models/AddCustomAudienceUserShrinkRequest.ts +5 -5
- package/src/models/AddGroupResponseBody.ts +5 -5
- package/src/models/AddMarketingFlowRequest.ts +15 -15
- package/src/models/AddMarketingFlowResponseBody.ts +6 -6
- package/src/models/AddMarketingFlowShrinkRequest.ts +15 -15
- package/src/models/BindDmAccountResponseBody.ts +3 -3
- package/src/models/BindInstagramPageResponseBody.ts +2 -2
- package/src/models/BindMessengerPageResponseBody.ts +1 -1
- package/src/models/ChatappBindWabaRequest.ts +10 -0
- package/src/models/ChatappBindWabaResponseBody.ts +3 -3
- package/src/models/ChatappMigrationRegisterRequest.ts +1 -1
- package/src/models/ChatappMigrationRegisterResponseBody.ts +2 -2
- package/src/models/ChatappSyncPhoneNumberRequest.ts +1 -1
- package/src/models/ChatappSyncPhoneNumberResponseBody.ts +70 -16
- 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 +5 -2
- package/src/models/CreateChatFlowByImportShrinkRequest.ts +5 -5
- package/src/models/CreateChatFlowLogSettingRequest.ts +1 -1
- package/src/models/CreateChatFlowLogSettingResponseBody.ts +7 -4
- package/src/models/CreateChatFlowRequest.ts +9 -9
- package/src/models/CreateChatFlowResponseBody.ts +7 -1
- package/src/models/CreateChatFlowShrinkRequest.ts +9 -9
- package/src/models/CreateChatappTemplateRequest.ts +101 -185
- package/src/models/CreateChatappTemplateResponseBody.ts +7 -5
- package/src/models/CreateChatappTemplateShrinkRequest.ts +37 -38
- 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 +5 -2
- package/src/models/CreateFlowVersionShrinkRequest.ts +4 -4
- package/src/models/CreateInstanceRequest.ts +2 -2
- 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 +6 -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 +1 -1
- package/src/models/DeleteContactsResponseBody.ts +5 -5
- package/src/models/DeleteContactsShrinkRequest.ts +1 -1
- 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/DeleteMessengerPageResponseBody.ts +4 -4
- 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 +1 -1
- package/src/models/FlowUnbindPhoneResponseBody.ts +2 -2
- package/src/models/FlowUnbindPhoneShrinkRequest.ts +1 -1
- package/src/models/GeneratePresignedUrlResponseBody.ts +7 -7
- package/src/models/GetAuditRequestByTypeUnAuditRequest.ts +1 -1
- package/src/models/GetAuditRequestByTypeUnAuditResponseBody.ts +26 -26
- package/src/models/GetAutoGeneratedTemplateRequest.ts +1 -1
- package/src/models/GetChatFlowMetricRequest.ts +11 -11
- package/src/models/GetChatFlowMetricResponseBody.ts +8 -5
- package/src/models/GetChatFlowMetricShrinkRequest.ts +11 -11
- package/src/models/GetChatFlowTemplateRequest.ts +1 -1
- package/src/models/GetChatFlowTemplateResponseBody.ts +6 -3
- package/src/models/GetChatappOpenStatusResponseBody.ts +2 -2
- package/src/models/GetChatappPhoneNumberSettingResponseBody.ts +5 -5
- package/src/models/GetChatappTemplateDetailRequest.ts +4 -6
- package/src/models/GetChatappTemplateDetailResponseBody.ts +37 -36
- package/src/models/GetCustomerSiteResponseBody.ts +4 -4
- package/src/models/GetDownloadExcelListRequest.ts +6 -6
- package/src/models/GetDownloadExcelListResponseBody.ts +8 -8
- package/src/models/GetDownloadExcelListShrinkRequest.ts +6 -6
- 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 +2 -2
- package/src/models/GetMessageCampaignInsightsResponseBody.ts +13 -13
- package/src/models/GetMessengerUserInfoRequest.ts +48 -0
- package/src/models/GetMessengerUserInfoResponse.ts +40 -0
- package/src/models/GetMessengerUserInfoResponseBody.ts +148 -0
- package/src/models/GetPhoneEncryptionPublicKeyRequest.ts +2 -7
- package/src/models/GetPhoneEncryptionPublicKeyResponseBody.ts +8 -4
- 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 +24 -24
- package/src/models/GetViberPauseTimesResponseBody.ts +5 -5
- package/src/models/GetWhatsappConversionApiResponseBody.ts +3 -3
- package/src/models/GetWhatsappHealthStatusRequest.ts +3 -11
- package/src/models/GetWhatsappHealthStatusResponseBody.ts +20 -22
- package/src/models/ListAllGroupsResponseBody.ts +4 -4
- 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 +7 -4
- package/src/models/ListChatFlowShrinkRequest.ts +6 -6
- package/src/models/ListChatFlowTemplateRequest.ts +2 -2
- package/src/models/ListChatFlowTemplateResponseBody.ts +7 -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 +22 -15
- package/src/models/ListChatappMessageResponseBody.ts +13 -13
- package/src/models/ListChatappMessageShrinkRequest.ts +22 -15
- package/src/models/ListChatappTemplateRequest.ts +12 -15
- package/src/models/ListChatappTemplateResponseBody.ts +20 -20
- package/src/models/ListChatappTemplateShrinkRequest.ts +11 -14
- package/src/models/ListCustomAudienceRequest.ts +5 -5
- package/src/models/ListCustomAudienceResponseBody.ts +10 -10
- package/src/models/ListCustomAudienceShrinkRequest.ts +4 -4
- package/src/models/ListDmAccountRequest.ts +1 -1
- package/src/models/ListDmAccountResponseBody.ts +7 -7
- package/src/models/ListDmTagRequest.ts +1 -1
- package/src/models/ListDmTagResponseBody.ts +8 -8
- package/src/models/ListFacebookPostsRequest.ts +1 -1
- package/src/models/ListFacebookPostsResponseBody.ts +11 -11
- 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 +12 -12
- package/src/models/ListFlowVersionRequest.ts +8 -8
- package/src/models/ListFlowVersionResponseBody.ts +8 -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 -10
- package/src/models/ListInstanceRequest.ts +8 -5
- package/src/models/ListInstanceResponseBody.ts +10 -10
- package/src/models/ListMarketingFlowRequest.ts +4 -4
- package/src/models/ListMarketingFlowResponseBody.ts +27 -29
- package/src/models/ListMarketingFlowShrinkRequest.ts +4 -4
- package/src/models/ListMessageCampaignRequest.ts +1 -1
- package/src/models/ListMessageCampaignResponseBody.ts +6 -6
- package/src/models/ListMessageCampaignShrinkRequest.ts +1 -1
- package/src/models/ListMessengerSubscriptionTokenRequest.ts +3 -3
- package/src/models/ListMessengerSubscriptionTokenResponseBody.ts +9 -9
- package/src/models/ListViberServiceMessageRequest.ts +1 -1
- package/src/models/ListViberServiceMessageResponseBody.ts +9 -9
- package/src/models/ListWhatAppTemplateResponseBody.ts +1 -1
- package/src/models/ModifyChatappTemplatePropertiesRequest.ts +2 -2
- package/src/models/ModifyChatappTemplatePropertiesResponseBody.ts +4 -6
- package/src/models/ModifyChatappTemplateRequest.ts +36 -27
- package/src/models/ModifyChatappTemplateResponseBody.ts +5 -7
- package/src/models/ModifyChatappTemplateShrinkRequest.ts +19 -10
- 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 +12 -9
- package/src/models/MoveContactToGroupShrinkRequest.ts +4 -4
- package/src/models/OfflineFlowVersionRequest.ts +2 -2
- package/src/models/OfflineFlowVersionResponseBody.ts +5 -2
- package/src/models/OfflineFlowVersionShrinkRequest.ts +2 -2
- package/src/models/OnlineFlowVersionRequest.ts +4 -4
- package/src/models/OnlineFlowVersionResponseBody.ts +6 -3
- package/src/models/OnlineFlowVersionShrinkRequest.ts +4 -4
- package/src/models/QueryChatappBindWabaRequest.ts +1 -1
- package/src/models/QueryChatappBindWabaResponseBody.ts +26 -13
- package/src/models/QueryChatappPhoneNumbersRequest.ts +1 -1
- package/src/models/QueryChatappPhoneNumbersResponseBody.ts +22 -22
- 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/QueryPhoneBusinessProfileRequest.ts +1 -1
- package/src/models/QueryPhoneBusinessProfileResponseBody.ts +2 -2
- package/src/models/ReadChatFlowLogSettingResponseBody.ts +4 -1
- package/src/models/ReadChatFlowRequest.ts +2 -2
- package/src/models/ReadChatFlowResponseBody.ts +6 -3
- package/src/models/ReadChatFlowShrinkRequest.ts +2 -2
- package/src/models/ReadFlowVersionRequest.ts +8 -8
- package/src/models/ReadFlowVersionResponseBody.ts +8 -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 +15 -4
- package/src/models/SendChatappMassMessageShrinkRequest.ts +1 -1
- package/src/models/SendChatappMessageRequest.ts +11 -0
- package/src/models/SendChatappMessageShrinkRequest.ts +6 -0
- package/src/models/SyncBusinessAppHistoryRequest.ts +1 -1
- package/src/models/SyncBusinessAppHistoryResponseBody.ts +4 -4
- package/src/models/SyncFlowResponseBody.ts +8 -8
- package/src/models/SyncMessageCampaignResponseBody.ts +2 -2
- 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 +4 -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/UpdateChatFlowLogSettingRequest.ts +4 -4
- package/src/models/UpdateChatFlowLogSettingResponseBody.ts +6 -3
- package/src/models/UpdateChatFlowRequest.ts +5 -5
- package/src/models/UpdateChatFlowResponseBody.ts +8 -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/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 +4 -4
- package/src/models/UpdateMarketingFlowResponseBody.ts +9 -9
- package/src/models/UpdateMarketingFlowShrinkRequest.ts +4 -4
- package/src/models/UpdatePhoneEncryptionPublicKeyRequest.ts +8 -4
- package/src/models/UpdateWabaMmlStatusRequest.ts +5 -5
- package/src/models/UpdateWabaMmlStatusResponseBody.ts +8 -8
- package/src/models/WhatsappCallRequest.ts +12 -2
- package/src/models/WhatsappCallResponseBody.ts +5 -5
- package/src/models/WhatsappCallShrinkRequest.ts +11 -1
- 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,6 +49,9 @@ __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
56
|
this.checkConfig(config);
|
|
53
57
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -62,7 +66,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
66
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
67
|
}
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
69
|
+
* Applies for a destination change, resumption, or suspension.
|
|
66
70
|
*
|
|
67
71
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
68
72
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -111,7 +115,7 @@ class Client extends openapi_core_1.default {
|
|
|
111
115
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAddressRecoverSuspendResponse({}));
|
|
112
116
|
}
|
|
113
117
|
/**
|
|
114
|
-
*
|
|
118
|
+
* Applies for a destination change, resumption, or suspension.
|
|
115
119
|
*
|
|
116
120
|
* @param request - AddAddressRecoverSuspendRequest
|
|
117
121
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -121,7 +125,7 @@ class Client extends openapi_core_1.default {
|
|
|
121
125
|
return await this.addAddressRecoverSuspendWithOptions(request, runtime);
|
|
122
126
|
}
|
|
123
127
|
/**
|
|
124
|
-
* Registers a Viber account and
|
|
128
|
+
* Registers a Viber account and opens an account.
|
|
125
129
|
*
|
|
126
130
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
127
131
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -170,7 +174,7 @@ class Client extends openapi_core_1.default {
|
|
|
170
174
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditViberOpenResponse({}));
|
|
171
175
|
}
|
|
172
176
|
/**
|
|
173
|
-
* Registers a Viber account and
|
|
177
|
+
* Registers a Viber account and opens an account.
|
|
174
178
|
*
|
|
175
179
|
* @param request - AddAuditViberOpenRequest
|
|
176
180
|
* @returns AddAuditViberOpenResponse
|
|
@@ -183,10 +187,11 @@ class Client extends openapi_core_1.default {
|
|
|
183
187
|
* Creates an IM group.
|
|
184
188
|
*
|
|
185
189
|
* @remarks
|
|
186
|
-
* >
|
|
187
|
-
* - You can
|
|
188
|
-
* -
|
|
189
|
-
* -
|
|
190
|
+
* <notice>The feature to create an IM group by calling API operations is available only to customers with an official Meta business account (OBA).</notice>
|
|
191
|
+
* - You can obtain your OBA information from the [Meta official documentation](https://developers.facebook.com/documentation/business-messaging/whatsapp/groups).
|
|
192
|
+
* - You can call this operation to create an IM group. Currently, you can create an IM group only by calling API operations.
|
|
193
|
+
* - 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.
|
|
194
|
+
* - For a group whose channel type is WhatsApp, the maximum number of members is 8.
|
|
190
195
|
*
|
|
191
196
|
* @param request - AddChatGroupRequest
|
|
192
197
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -242,10 +247,11 @@ class Client extends openapi_core_1.default {
|
|
|
242
247
|
* Creates an IM group.
|
|
243
248
|
*
|
|
244
249
|
* @remarks
|
|
245
|
-
* >
|
|
246
|
-
* - You can
|
|
247
|
-
* -
|
|
248
|
-
* -
|
|
250
|
+
* <notice>The feature to create an IM group by calling API operations is available only to customers with an official Meta business account (OBA).</notice>
|
|
251
|
+
* - You can obtain your OBA information from the [Meta official documentation](https://developers.facebook.com/documentation/business-messaging/whatsapp/groups).
|
|
252
|
+
* - You can call this operation to create an IM group. Currently, you can create an IM group only by calling API operations.
|
|
253
|
+
* - 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.
|
|
254
|
+
* - For a group whose channel type is WhatsApp, the maximum number of members is 8.
|
|
249
255
|
*
|
|
250
256
|
* @param request - AddChatGroupRequest
|
|
251
257
|
* @returns AddChatGroupResponse
|
|
@@ -255,14 +261,14 @@ class Client extends openapi_core_1.default {
|
|
|
255
261
|
return await this.addChatGroupWithOptions(request, runtime);
|
|
256
262
|
}
|
|
257
263
|
/**
|
|
258
|
-
*
|
|
264
|
+
* Creates an IM group invitation link.
|
|
259
265
|
*
|
|
260
266
|
* @remarks
|
|
261
|
-
* <notice>The feature
|
|
267
|
+
* <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>
|
|
262
268
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
263
|
-
* - If you
|
|
264
|
-
* - After
|
|
265
|
-
* - Currently, members can only join an IM group by using an
|
|
269
|
+
* - 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.
|
|
270
|
+
* - 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.
|
|
271
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
266
272
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
267
273
|
*
|
|
268
274
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -310,14 +316,14 @@ class Client extends openapi_core_1.default {
|
|
|
310
316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddChatGroupInviteLinkResponse({}));
|
|
311
317
|
}
|
|
312
318
|
/**
|
|
313
|
-
*
|
|
319
|
+
* Creates an IM group invitation link.
|
|
314
320
|
*
|
|
315
321
|
* @remarks
|
|
316
|
-
* <notice>The feature
|
|
322
|
+
* <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>
|
|
317
323
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
318
|
-
* - If you
|
|
319
|
-
* - After
|
|
320
|
-
* - Currently, members can only join an IM group by using an
|
|
324
|
+
* - 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.
|
|
325
|
+
* - 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.
|
|
326
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
321
327
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
322
328
|
*
|
|
323
329
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -477,7 +483,7 @@ class Client extends openapi_core_1.default {
|
|
|
477
483
|
* Adds a custom audience.
|
|
478
484
|
*
|
|
479
485
|
* @remarks
|
|
480
|
-
* After
|
|
486
|
+
* 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.
|
|
481
487
|
*
|
|
482
488
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
483
489
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -541,7 +547,7 @@ class Client extends openapi_core_1.default {
|
|
|
541
547
|
* Adds a custom audience.
|
|
542
548
|
*
|
|
543
549
|
* @remarks
|
|
544
|
-
* After
|
|
550
|
+
* 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.
|
|
545
551
|
*
|
|
546
552
|
* @param request - AddCustomAudienceUserRequest
|
|
547
553
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -628,7 +634,7 @@ class Client extends openapi_core_1.default {
|
|
|
628
634
|
return await this.addGroupWithOptions(request, runtime);
|
|
629
635
|
}
|
|
630
636
|
/**
|
|
631
|
-
* Creates a campaign.
|
|
637
|
+
* Creates a marketing campaign.
|
|
632
638
|
*
|
|
633
639
|
* @param tmpReq - AddMarketingFlowRequest
|
|
634
640
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -710,7 +716,7 @@ class Client extends openapi_core_1.default {
|
|
|
710
716
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddMarketingFlowResponse({}));
|
|
711
717
|
}
|
|
712
718
|
/**
|
|
713
|
-
* Creates a campaign.
|
|
719
|
+
* Creates a marketing campaign.
|
|
714
720
|
*
|
|
715
721
|
* @param request - AddMarketingFlowRequest
|
|
716
722
|
* @returns AddMarketingFlowResponse
|
|
@@ -773,7 +779,7 @@ class Client extends openapi_core_1.default {
|
|
|
773
779
|
return await this.archiveChatappTemplateWithOptions(request, runtime);
|
|
774
780
|
}
|
|
775
781
|
/**
|
|
776
|
-
*
|
|
782
|
+
* Associates a DM account.
|
|
777
783
|
*
|
|
778
784
|
* @param tmpReq - BindDmAccountRequest
|
|
779
785
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -822,7 +828,7 @@ class Client extends openapi_core_1.default {
|
|
|
822
828
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindDmAccountResponse({}));
|
|
823
829
|
}
|
|
824
830
|
/**
|
|
825
|
-
*
|
|
831
|
+
* Associates a DM account.
|
|
826
832
|
*
|
|
827
833
|
* @param request - BindDmAccountRequest
|
|
828
834
|
* @returns BindDmAccountResponse
|
|
@@ -832,7 +838,7 @@ class Client extends openapi_core_1.default {
|
|
|
832
838
|
return await this.bindDmAccountWithOptions(request, runtime);
|
|
833
839
|
}
|
|
834
840
|
/**
|
|
835
|
-
*
|
|
841
|
+
* Binds a page to an instance.
|
|
836
842
|
*
|
|
837
843
|
* @param request - BindInstagramPageRequest
|
|
838
844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -876,7 +882,7 @@ class Client extends openapi_core_1.default {
|
|
|
876
882
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindInstagramPageResponse({}));
|
|
877
883
|
}
|
|
878
884
|
/**
|
|
879
|
-
*
|
|
885
|
+
* Binds a page to an instance.
|
|
880
886
|
*
|
|
881
887
|
* @param request - BindInstagramPageRequest
|
|
882
888
|
* @returns BindInstagramPageResponse
|
|
@@ -940,7 +946,7 @@ class Client extends openapi_core_1.default {
|
|
|
940
946
|
return await this.bindMessengerPageWithOptions(request, runtime);
|
|
941
947
|
}
|
|
942
948
|
/**
|
|
943
|
-
* Transfers
|
|
949
|
+
* Transfers resources to another resource group.
|
|
944
950
|
*
|
|
945
951
|
* @param request - ChangeResourceGroupRequest
|
|
946
952
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -975,7 +981,7 @@ class Client extends openapi_core_1.default {
|
|
|
975
981
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ChangeResourceGroupResponse({}));
|
|
976
982
|
}
|
|
977
983
|
/**
|
|
978
|
-
* Transfers
|
|
984
|
+
* Transfers resources to another resource group.
|
|
979
985
|
*
|
|
980
986
|
* @param request - ChangeResourceGroupRequest
|
|
981
987
|
* @returns ChangeResourceGroupResponse
|
|
@@ -988,7 +994,7 @@ class Client extends openapi_core_1.default {
|
|
|
988
994
|
* Binds a WABA to the northbound interface.
|
|
989
995
|
*
|
|
990
996
|
* @remarks
|
|
991
|
-
* The queries per second (QPS)
|
|
997
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. Exceeding this limit triggers throttling, which may affect your services. Call this API operation at a reasonable frequency.
|
|
992
998
|
*
|
|
993
999
|
* @param request - ChatappBindWabaRequest
|
|
994
1000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -997,6 +1003,9 @@ class Client extends openapi_core_1.default {
|
|
|
997
1003
|
async chatappBindWabaWithOptions(request, runtime) {
|
|
998
1004
|
request.validate();
|
|
999
1005
|
let query = {};
|
|
1006
|
+
if (!$dara.isNull(request.currency)) {
|
|
1007
|
+
query["Currency"] = request.currency;
|
|
1008
|
+
}
|
|
1000
1009
|
if (!$dara.isNull(request.ownerId)) {
|
|
1001
1010
|
query["OwnerId"] = request.ownerId;
|
|
1002
1011
|
}
|
|
@@ -1029,7 +1038,7 @@ class Client extends openapi_core_1.default {
|
|
|
1029
1038
|
* Binds a WABA to the northbound interface.
|
|
1030
1039
|
*
|
|
1031
1040
|
* @remarks
|
|
1032
|
-
* The queries per second (QPS)
|
|
1041
|
+
* The rate limit for this API operation is 10 queries per second (QPS) per user. Exceeding this limit triggers throttling, which may affect your services. Call this API operation at a reasonable frequency.
|
|
1033
1042
|
*
|
|
1034
1043
|
* @param request - ChatappBindWabaRequest
|
|
1035
1044
|
* @returns ChatappBindWabaResponse
|
|
@@ -1042,7 +1051,7 @@ class Client extends openapi_core_1.default {
|
|
|
1042
1051
|
* Migrates a phone number registration.
|
|
1043
1052
|
*
|
|
1044
1053
|
* @remarks
|
|
1045
|
-
* The queries per second (QPS) limit for
|
|
1054
|
+
* 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.
|
|
1046
1055
|
*
|
|
1047
1056
|
* @param request - ChatappMigrationRegisterRequest
|
|
1048
1057
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1086,7 +1095,7 @@ class Client extends openapi_core_1.default {
|
|
|
1086
1095
|
* Migrates a phone number registration.
|
|
1087
1096
|
*
|
|
1088
1097
|
* @remarks
|
|
1089
|
-
* The queries per second (QPS) limit for
|
|
1098
|
+
* 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.
|
|
1090
1099
|
*
|
|
1091
1100
|
* @param request - ChatappMigrationRegisterRequest
|
|
1092
1101
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1273,7 +1282,7 @@ class Client extends openapi_core_1.default {
|
|
|
1273
1282
|
* Synchronizes phone number information.
|
|
1274
1283
|
*
|
|
1275
1284
|
* @remarks
|
|
1276
|
-
* The
|
|
1285
|
+
* 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.
|
|
1277
1286
|
*
|
|
1278
1287
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1279
1288
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1314,7 +1323,7 @@ class Client extends openapi_core_1.default {
|
|
|
1314
1323
|
* Synchronizes phone number information.
|
|
1315
1324
|
*
|
|
1316
1325
|
* @remarks
|
|
1317
|
-
* The
|
|
1326
|
+
* 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.
|
|
1318
1327
|
*
|
|
1319
1328
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1320
1329
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1500,8 +1509,8 @@ class Client extends openapi_core_1.default {
|
|
|
1500
1509
|
* Creates a flow.
|
|
1501
1510
|
*
|
|
1502
1511
|
* @remarks
|
|
1503
|
-
* - You can
|
|
1504
|
-
* - After
|
|
1512
|
+
* - 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.
|
|
1513
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1505
1514
|
*
|
|
1506
1515
|
* @param tmpReq - CreateChatFlowRequest
|
|
1507
1516
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1577,8 +1586,8 @@ class Client extends openapi_core_1.default {
|
|
|
1577
1586
|
* Creates a flow.
|
|
1578
1587
|
*
|
|
1579
1588
|
* @remarks
|
|
1580
|
-
* - You can
|
|
1581
|
-
* - After
|
|
1589
|
+
* - 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.
|
|
1590
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1582
1591
|
*
|
|
1583
1592
|
* @param request - CreateChatFlowRequest
|
|
1584
1593
|
* @returns CreateChatFlowResponse
|
|
@@ -1591,9 +1600,9 @@ class Client extends openapi_core_1.default {
|
|
|
1591
1600
|
* Creates and imports a flow.
|
|
1592
1601
|
*
|
|
1593
1602
|
* @remarks
|
|
1594
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1595
|
-
* - Before calling this operation,
|
|
1596
|
-
* - If you do not have exported flow DSL data,
|
|
1603
|
+
* - 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).
|
|
1604
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1605
|
+
* - 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.
|
|
1597
1606
|
*
|
|
1598
1607
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1599
1608
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1651,9 +1660,9 @@ class Client extends openapi_core_1.default {
|
|
|
1651
1660
|
* Creates and imports a flow.
|
|
1652
1661
|
*
|
|
1653
1662
|
* @remarks
|
|
1654
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1655
|
-
* - Before calling this operation,
|
|
1656
|
-
* - If you do not have exported flow DSL data,
|
|
1663
|
+
* - 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).
|
|
1664
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1665
|
+
* - 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.
|
|
1657
1666
|
*
|
|
1658
1667
|
* @param request - CreateChatFlowByImportRequest
|
|
1659
1668
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1663,13 +1672,13 @@ class Client extends openapi_core_1.default {
|
|
|
1663
1672
|
return await this.createChatFlowByImportWithOptions(request, runtime);
|
|
1664
1673
|
}
|
|
1665
1674
|
/**
|
|
1666
|
-
* Creates
|
|
1675
|
+
* Creates chat flow log settings.
|
|
1667
1676
|
*
|
|
1668
1677
|
* @remarks
|
|
1669
|
-
* - To update
|
|
1670
|
-
* - If you do not need to update
|
|
1671
|
-
* - Before
|
|
1672
|
-
* - If
|
|
1678
|
+
* - 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.
|
|
1679
|
+
* - 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).
|
|
1680
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1681
|
+
* - 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.
|
|
1673
1682
|
*
|
|
1674
1683
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1675
1684
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1707,13 +1716,13 @@ class Client extends openapi_core_1.default {
|
|
|
1707
1716
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatFlowLogSettingResponse({}));
|
|
1708
1717
|
}
|
|
1709
1718
|
/**
|
|
1710
|
-
* Creates
|
|
1719
|
+
* Creates chat flow log settings.
|
|
1711
1720
|
*
|
|
1712
1721
|
* @remarks
|
|
1713
|
-
* - To update
|
|
1714
|
-
* - If you do not need to update
|
|
1715
|
-
* - Before
|
|
1716
|
-
* - If
|
|
1722
|
+
* - 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.
|
|
1723
|
+
* - 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).
|
|
1724
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1725
|
+
* - 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.
|
|
1717
1726
|
*
|
|
1718
1727
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1719
1728
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -1783,11 +1792,11 @@ class Client extends openapi_core_1.default {
|
|
|
1783
1792
|
return await this.createChatappMigrationInitiateWithOptions(request, runtime);
|
|
1784
1793
|
}
|
|
1785
1794
|
/**
|
|
1786
|
-
* Creates a message template.
|
|
1795
|
+
* Creates a message template. Messages can be sent after the template is approved.
|
|
1787
1796
|
*
|
|
1788
1797
|
* @remarks
|
|
1789
1798
|
* ### QPS limit
|
|
1790
|
-
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
1799
|
+
* The QPS limit for a single user calling this API operation is 50 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
1791
1800
|
* ### Status changes
|
|
1792
1801
|
* 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).
|
|
1793
1802
|
*
|
|
@@ -1862,11 +1871,11 @@ class Client extends openapi_core_1.default {
|
|
|
1862
1871
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateChatappTemplateResponse({}));
|
|
1863
1872
|
}
|
|
1864
1873
|
/**
|
|
1865
|
-
* Creates a message template.
|
|
1874
|
+
* Creates a message template. Messages can be sent after the template is approved.
|
|
1866
1875
|
*
|
|
1867
1876
|
* @remarks
|
|
1868
1877
|
* ### QPS limit
|
|
1869
|
-
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
1878
|
+
* The QPS limit for a single user calling this API operation is 50 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
1870
1879
|
* ### Status changes
|
|
1871
1880
|
* 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).
|
|
1872
1881
|
*
|
|
@@ -2015,9 +2024,9 @@ class Client extends openapi_core_1.default {
|
|
|
2015
2024
|
* Creates a new flow version by copying an existing flow version.
|
|
2016
2025
|
*
|
|
2017
2026
|
* @remarks
|
|
2018
|
-
* - You can call this operation to create a new flow version,
|
|
2019
|
-
* - Before calling this operation,
|
|
2020
|
-
* - If you
|
|
2027
|
+
* - 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.
|
|
2028
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2029
|
+
* - 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.
|
|
2021
2030
|
*
|
|
2022
2031
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2023
2032
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2075,9 +2084,9 @@ class Client extends openapi_core_1.default {
|
|
|
2075
2084
|
* Creates a new flow version by copying an existing flow version.
|
|
2076
2085
|
*
|
|
2077
2086
|
* @remarks
|
|
2078
|
-
* - You can call this operation to create a new flow version,
|
|
2079
|
-
* - Before calling this operation,
|
|
2080
|
-
* - If you
|
|
2087
|
+
* - 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.
|
|
2088
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2089
|
+
* - 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.
|
|
2081
2090
|
*
|
|
2082
2091
|
* @param request - CreateFlowVersionRequest
|
|
2083
2092
|
* @returns CreateFlowVersionResponse
|
|
@@ -2216,7 +2225,7 @@ class Client extends openapi_core_1.default {
|
|
|
2216
2225
|
return await this.createMessageCampaignWithOptions(request, runtime);
|
|
2217
2226
|
}
|
|
2218
2227
|
/**
|
|
2219
|
-
* Authorizes an embedded
|
|
2228
|
+
* Authorizes an embedded Messenger.
|
|
2220
2229
|
*
|
|
2221
2230
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2222
2231
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2271,7 +2280,7 @@ class Client extends openapi_core_1.default {
|
|
|
2271
2280
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateMessengerPageResponse({}));
|
|
2272
2281
|
}
|
|
2273
2282
|
/**
|
|
2274
|
-
* Authorizes an embedded
|
|
2283
|
+
* Authorizes an embedded Messenger.
|
|
2275
2284
|
*
|
|
2276
2285
|
* @param request - CreateMessengerPageRequest
|
|
2277
2286
|
* @returns CreateMessengerPageResponse
|
|
@@ -2358,7 +2367,7 @@ class Client extends openapi_core_1.default {
|
|
|
2358
2367
|
return await this.createPhoneMessageQrdlWithOptions(request, runtime);
|
|
2359
2368
|
}
|
|
2360
2369
|
/**
|
|
2361
|
-
* Retrieves
|
|
2370
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2362
2371
|
*
|
|
2363
2372
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2364
2373
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2407,7 +2416,7 @@ class Client extends openapi_core_1.default {
|
|
|
2407
2416
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateWhatsappConversionApiResponse({}));
|
|
2408
2417
|
}
|
|
2409
2418
|
/**
|
|
2410
|
-
* Retrieves
|
|
2419
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2411
2420
|
*
|
|
2412
2421
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2413
2422
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2420,8 +2429,8 @@ class Client extends openapi_core_1.default {
|
|
|
2420
2429
|
* Deletes a flow.
|
|
2421
2430
|
*
|
|
2422
2431
|
* @remarks
|
|
2423
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2424
|
-
* - Before deleting a flow, make sure the flow
|
|
2432
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2433
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2425
2434
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2426
2435
|
*
|
|
2427
2436
|
* @param tmpReq - DeleteChatFlowRequest
|
|
@@ -2474,8 +2483,8 @@ class Client extends openapi_core_1.default {
|
|
|
2474
2483
|
* Deletes a flow.
|
|
2475
2484
|
*
|
|
2476
2485
|
* @remarks
|
|
2477
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2478
|
-
* - Before deleting a flow, make sure the flow
|
|
2486
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2487
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2479
2488
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2480
2489
|
*
|
|
2481
2490
|
* @param request - DeleteChatFlowRequest
|
|
@@ -2486,13 +2495,13 @@ class Client extends openapi_core_1.default {
|
|
|
2486
2495
|
return await this.deleteChatFlowWithOptions(request, runtime);
|
|
2487
2496
|
}
|
|
2488
2497
|
/**
|
|
2489
|
-
* Deletes
|
|
2498
|
+
* Deletes an existing IM group.
|
|
2490
2499
|
*
|
|
2491
2500
|
* @remarks
|
|
2492
|
-
* >
|
|
2493
|
-
* - Before calling this operation, make sure that you have
|
|
2494
|
-
* - If you do not have
|
|
2495
|
-
* -
|
|
2501
|
+
* <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>
|
|
2502
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2503
|
+
* - 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.
|
|
2504
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2496
2505
|
*
|
|
2497
2506
|
* @param request - DeleteChatGroupRequest
|
|
2498
2507
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2539,13 +2548,13 @@ class Client extends openapi_core_1.default {
|
|
|
2539
2548
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupResponse({}));
|
|
2540
2549
|
}
|
|
2541
2550
|
/**
|
|
2542
|
-
* Deletes
|
|
2551
|
+
* Deletes an existing IM group.
|
|
2543
2552
|
*
|
|
2544
2553
|
* @remarks
|
|
2545
|
-
* >
|
|
2546
|
-
* - Before calling this operation, make sure that you have
|
|
2547
|
-
* - If you do not have
|
|
2548
|
-
* -
|
|
2554
|
+
* <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>
|
|
2555
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2556
|
+
* - 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.
|
|
2557
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2549
2558
|
*
|
|
2550
2559
|
* @param request - DeleteChatGroupRequest
|
|
2551
2560
|
* @returns DeleteChatGroupResponse
|
|
@@ -2555,13 +2564,13 @@ class Client extends openapi_core_1.default {
|
|
|
2555
2564
|
return await this.deleteChatGroupWithOptions(request, runtime);
|
|
2556
2565
|
}
|
|
2557
2566
|
/**
|
|
2558
|
-
* Deletes an IM group
|
|
2567
|
+
* Deletes an IM group invite link.
|
|
2559
2568
|
*
|
|
2560
2569
|
* @remarks
|
|
2561
|
-
* >Notice: The
|
|
2562
|
-
* - Before
|
|
2563
|
-
* - If you do not have
|
|
2564
|
-
* - After
|
|
2570
|
+
* >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>
|
|
2571
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2572
|
+
* - 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.
|
|
2573
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2565
2574
|
*
|
|
2566
2575
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2567
2576
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2608,13 +2617,13 @@ class Client extends openapi_core_1.default {
|
|
|
2608
2617
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteChatGroupInviteLinkResponse({}));
|
|
2609
2618
|
}
|
|
2610
2619
|
/**
|
|
2611
|
-
* Deletes an IM group
|
|
2620
|
+
* Deletes an IM group invite link.
|
|
2612
2621
|
*
|
|
2613
2622
|
* @remarks
|
|
2614
|
-
* >Notice: The
|
|
2615
|
-
* - Before
|
|
2616
|
-
* - If you do not have
|
|
2617
|
-
* - After
|
|
2623
|
+
* >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>
|
|
2624
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2625
|
+
* - 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.
|
|
2626
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2618
2627
|
*
|
|
2619
2628
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2620
2629
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2627,11 +2636,10 @@ class Client extends openapi_core_1.default {
|
|
|
2627
2636
|
* Removes members from an IM group.
|
|
2628
2637
|
*
|
|
2629
2638
|
* @remarks
|
|
2630
|
-
* >Notice:
|
|
2631
|
-
*
|
|
2632
|
-
* -
|
|
2633
|
-
* -
|
|
2634
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2639
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2640
|
+
* - 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.
|
|
2641
|
+
* - 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.
|
|
2642
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2635
2643
|
*
|
|
2636
2644
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2637
2645
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2689,11 +2697,10 @@ class Client extends openapi_core_1.default {
|
|
|
2689
2697
|
* Removes members from an IM group.
|
|
2690
2698
|
*
|
|
2691
2699
|
* @remarks
|
|
2692
|
-
* >Notice:
|
|
2693
|
-
*
|
|
2694
|
-
* -
|
|
2695
|
-
* -
|
|
2696
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2700
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2701
|
+
* - 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.
|
|
2702
|
+
* - 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.
|
|
2703
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2697
2704
|
*
|
|
2698
2705
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
2699
2706
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -2845,7 +2852,7 @@ class Client extends openapi_core_1.default {
|
|
|
2845
2852
|
return await this.deleteContactsWithOptions(request, runtime);
|
|
2846
2853
|
}
|
|
2847
2854
|
/**
|
|
2848
|
-
* Deletes contacts
|
|
2855
|
+
* Deletes contacts.
|
|
2849
2856
|
*
|
|
2850
2857
|
* @param request - DeleteContactsByIdsRequest
|
|
2851
2858
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2883,7 +2890,7 @@ class Client extends openapi_core_1.default {
|
|
|
2883
2890
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteContactsByIdsResponse({}));
|
|
2884
2891
|
}
|
|
2885
2892
|
/**
|
|
2886
|
-
* Deletes contacts
|
|
2893
|
+
* Deletes contacts.
|
|
2887
2894
|
*
|
|
2888
2895
|
* @param request - DeleteContactsByIdsRequest
|
|
2889
2896
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -2893,10 +2900,10 @@ class Client extends openapi_core_1.default {
|
|
|
2893
2900
|
return await this.deleteContactsByIdsWithOptions(request, runtime);
|
|
2894
2901
|
}
|
|
2895
2902
|
/**
|
|
2896
|
-
* Deletes a
|
|
2903
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2897
2904
|
*
|
|
2898
2905
|
* @remarks
|
|
2899
|
-
* The
|
|
2906
|
+
* 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.
|
|
2900
2907
|
*
|
|
2901
2908
|
* @param request - DeleteFlowRequest
|
|
2902
2909
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2937,10 +2944,10 @@ class Client extends openapi_core_1.default {
|
|
|
2937
2944
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteFlowResponse({}));
|
|
2938
2945
|
}
|
|
2939
2946
|
/**
|
|
2940
|
-
* Deletes a
|
|
2947
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
2941
2948
|
*
|
|
2942
2949
|
* @remarks
|
|
2943
|
-
* The
|
|
2950
|
+
* 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.
|
|
2944
2951
|
*
|
|
2945
2952
|
* @param request - DeleteFlowRequest
|
|
2946
2953
|
* @returns DeleteFlowResponse
|
|
@@ -2953,10 +2960,10 @@ class Client extends openapi_core_1.default {
|
|
|
2953
2960
|
* Deletes a flow version.
|
|
2954
2961
|
*
|
|
2955
2962
|
* @remarks
|
|
2956
|
-
* - You can call this operation to delete a flow version, or click
|
|
2957
|
-
* - Before calling this operation,
|
|
2958
|
-
* - If
|
|
2959
|
-
* - After a flow version is deleted, the canvas flow
|
|
2963
|
+
* - 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.
|
|
2964
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
2965
|
+
* - 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.
|
|
2966
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
2960
2967
|
*
|
|
2961
2968
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
2962
2969
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3011,10 +3018,10 @@ class Client extends openapi_core_1.default {
|
|
|
3011
3018
|
* Deletes a flow version.
|
|
3012
3019
|
*
|
|
3013
3020
|
* @remarks
|
|
3014
|
-
* - You can call this operation to delete a flow version, or click
|
|
3015
|
-
* - Before calling this operation,
|
|
3016
|
-
* - If
|
|
3017
|
-
* - After a flow version is deleted, the canvas flow
|
|
3021
|
+
* - 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.
|
|
3022
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
3023
|
+
* - 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.
|
|
3024
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
3018
3025
|
*
|
|
3019
3026
|
* @param request - DeleteFlowVersionRequest
|
|
3020
3027
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3072,7 +3079,7 @@ class Client extends openapi_core_1.default {
|
|
|
3072
3079
|
return await this.deleteGroupByIdWithOptions(request, runtime);
|
|
3073
3080
|
}
|
|
3074
3081
|
/**
|
|
3075
|
-
* Deletes a page
|
|
3082
|
+
* Deletes a page of an instance.
|
|
3076
3083
|
*
|
|
3077
3084
|
* @param request - DeleteInstagramPageRequest
|
|
3078
3085
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3113,7 +3120,7 @@ class Client extends openapi_core_1.default {
|
|
|
3113
3120
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstagramPageResponse({}));
|
|
3114
3121
|
}
|
|
3115
3122
|
/**
|
|
3116
|
-
* Deletes a page
|
|
3123
|
+
* Deletes a page of an instance.
|
|
3117
3124
|
*
|
|
3118
3125
|
* @param request - DeleteInstagramPageRequest
|
|
3119
3126
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3123,7 +3130,7 @@ class Client extends openapi_core_1.default {
|
|
|
3123
3130
|
return await this.deleteInstagramPageWithOptions(request, runtime);
|
|
3124
3131
|
}
|
|
3125
3132
|
/**
|
|
3126
|
-
* Deletes
|
|
3133
|
+
* Deletes an instance.
|
|
3127
3134
|
*
|
|
3128
3135
|
* @param request - DeleteInstanceRequest
|
|
3129
3136
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3152,7 +3159,7 @@ class Client extends openapi_core_1.default {
|
|
|
3152
3159
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteInstanceResponse({}));
|
|
3153
3160
|
}
|
|
3154
3161
|
/**
|
|
3155
|
-
* Deletes
|
|
3162
|
+
* Deletes an instance.
|
|
3156
3163
|
*
|
|
3157
3164
|
* @param request - DeleteInstanceRequest
|
|
3158
3165
|
* @returns DeleteInstanceResponse
|
|
@@ -3213,7 +3220,7 @@ class Client extends openapi_core_1.default {
|
|
|
3213
3220
|
return await this.deleteMarketingFlowWithOptions(request, runtime);
|
|
3214
3221
|
}
|
|
3215
3222
|
/**
|
|
3216
|
-
* Deletes the budget for
|
|
3223
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3217
3224
|
*
|
|
3218
3225
|
* @param request - DeleteMessageCampaignRequest
|
|
3219
3226
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3260,7 +3267,7 @@ class Client extends openapi_core_1.default {
|
|
|
3260
3267
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessageCampaignResponse({}));
|
|
3261
3268
|
}
|
|
3262
3269
|
/**
|
|
3263
|
-
* Deletes the budget for
|
|
3270
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3264
3271
|
*
|
|
3265
3272
|
* @param request - DeleteMessageCampaignRequest
|
|
3266
3273
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3270,7 +3277,7 @@ class Client extends openapi_core_1.default {
|
|
|
3270
3277
|
return await this.deleteMessageCampaignWithOptions(request, runtime);
|
|
3271
3278
|
}
|
|
3272
3279
|
/**
|
|
3273
|
-
* Deletes
|
|
3280
|
+
* Deletes a Messenger page.
|
|
3274
3281
|
*
|
|
3275
3282
|
* @param request - DeleteMessengerPageRequest
|
|
3276
3283
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3311,7 +3318,7 @@ class Client extends openapi_core_1.default {
|
|
|
3311
3318
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteMessengerPageResponse({}));
|
|
3312
3319
|
}
|
|
3313
3320
|
/**
|
|
3314
|
-
* Deletes
|
|
3321
|
+
* Deletes a Messenger page.
|
|
3315
3322
|
*
|
|
3316
3323
|
* @param request - DeleteMessengerPageRequest
|
|
3317
3324
|
* @returns DeleteMessengerPageResponse
|
|
@@ -3553,15 +3560,15 @@ class Client extends openapi_core_1.default {
|
|
|
3553
3560
|
return await this.enableWhatsappROIMetricWithOptions(request, runtime);
|
|
3554
3561
|
}
|
|
3555
3562
|
/**
|
|
3556
|
-
*
|
|
3563
|
+
* Associates a phone number or business account ID with a flow.
|
|
3557
3564
|
*
|
|
3558
3565
|
* @remarks
|
|
3559
|
-
* - You can call this operation to
|
|
3560
|
-
* - Before
|
|
3561
|
-
* - For the WhatsApp channel type,
|
|
3562
|
-
* - For the Messenger channel type,
|
|
3563
|
-
* - For the Instagram channel type,
|
|
3564
|
-
* <props="intl">- For the Viber channel type,
|
|
3566
|
+
* - 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).
|
|
3567
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3568
|
+
* - 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).
|
|
3569
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3570
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3571
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3565
3572
|
*
|
|
3566
3573
|
* @param tmpReq - FlowBindPhoneRequest
|
|
3567
3574
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3625,15 +3632,15 @@ class Client extends openapi_core_1.default {
|
|
|
3625
3632
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowBindPhoneResponse({}));
|
|
3626
3633
|
}
|
|
3627
3634
|
/**
|
|
3628
|
-
*
|
|
3635
|
+
* Associates a phone number or business account ID with a flow.
|
|
3629
3636
|
*
|
|
3630
3637
|
* @remarks
|
|
3631
|
-
* - You can call this operation to
|
|
3632
|
-
* - Before
|
|
3633
|
-
* - For the WhatsApp channel type,
|
|
3634
|
-
* - For the Messenger channel type,
|
|
3635
|
-
* - For the Instagram channel type,
|
|
3636
|
-
* <props="intl">- For the Viber channel type,
|
|
3638
|
+
* - 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).
|
|
3639
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
3640
|
+
* - 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).
|
|
3641
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
3642
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
3643
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
3637
3644
|
*
|
|
3638
3645
|
* @param request - FlowBindPhoneRequest
|
|
3639
3646
|
* @returns FlowBindPhoneResponse
|
|
@@ -3643,12 +3650,12 @@ class Client extends openapi_core_1.default {
|
|
|
3643
3650
|
return await this.flowBindPhoneWithOptions(request, runtime);
|
|
3644
3651
|
}
|
|
3645
3652
|
/**
|
|
3646
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3653
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3647
3654
|
*
|
|
3648
3655
|
* @remarks
|
|
3649
|
-
* -
|
|
3650
|
-
* - Before calling this operation,
|
|
3651
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3656
|
+
* - 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).
|
|
3657
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3658
|
+
* - 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.
|
|
3652
3659
|
*
|
|
3653
3660
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
3654
3661
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3712,12 +3719,12 @@ class Client extends openapi_core_1.default {
|
|
|
3712
3719
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.FlowRebindPhoneResponse({}));
|
|
3713
3720
|
}
|
|
3714
3721
|
/**
|
|
3715
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
3722
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
3716
3723
|
*
|
|
3717
3724
|
* @remarks
|
|
3718
|
-
* -
|
|
3719
|
-
* - Before calling this operation,
|
|
3720
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
3725
|
+
* - 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).
|
|
3726
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
3727
|
+
* - 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.
|
|
3721
3728
|
*
|
|
3722
3729
|
* @param request - FlowRebindPhoneRequest
|
|
3723
3730
|
* @returns FlowRebindPhoneResponse
|
|
@@ -3730,11 +3737,11 @@ class Client extends openapi_core_1.default {
|
|
|
3730
3737
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3731
3738
|
*
|
|
3732
3739
|
* @remarks
|
|
3733
|
-
* - Before you call this operation,
|
|
3740
|
+
* - 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.
|
|
3734
3741
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3735
|
-
* - Before you call this operation,
|
|
3736
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation
|
|
3737
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
3742
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3743
|
+
* - 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.
|
|
3744
|
+
* - 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.
|
|
3738
3745
|
*
|
|
3739
3746
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
3740
3747
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3789,11 +3796,11 @@ class Client extends openapi_core_1.default {
|
|
|
3789
3796
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
3790
3797
|
*
|
|
3791
3798
|
* @remarks
|
|
3792
|
-
* - Before you call this operation,
|
|
3799
|
+
* - 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.
|
|
3793
3800
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
3794
|
-
* - Before you call this operation,
|
|
3795
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation
|
|
3796
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
3801
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
3802
|
+
* - 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.
|
|
3803
|
+
* - 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.
|
|
3797
3804
|
*
|
|
3798
3805
|
* @param request - FlowUnbindPhoneRequest
|
|
3799
3806
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -3851,7 +3858,7 @@ class Client extends openapi_core_1.default {
|
|
|
3851
3858
|
return await this.generatePresignedUrlWithOptions(request, runtime);
|
|
3852
3859
|
}
|
|
3853
3860
|
/**
|
|
3854
|
-
* Queries pending review
|
|
3861
|
+
* Queries personal pending review requests by type.
|
|
3855
3862
|
*
|
|
3856
3863
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3857
3864
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3892,7 +3899,7 @@ class Client extends openapi_core_1.default {
|
|
|
3892
3899
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditRequestByTypeUnAuditResponse({}));
|
|
3893
3900
|
}
|
|
3894
3901
|
/**
|
|
3895
|
-
* Queries pending review
|
|
3902
|
+
* Queries personal pending review requests by type.
|
|
3896
3903
|
*
|
|
3897
3904
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
3898
3905
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -3950,10 +3957,10 @@ class Client extends openapi_core_1.default {
|
|
|
3950
3957
|
* Retrieves ChatFlow runtime data.
|
|
3951
3958
|
*
|
|
3952
3959
|
* @remarks
|
|
3953
|
-
* - Before calling this operation,
|
|
3954
|
-
* - If your flow is not online,
|
|
3955
|
-
* - For flows with a manual trigger
|
|
3956
|
-
* -
|
|
3960
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
3961
|
+
* - 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.
|
|
3962
|
+
* - 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.
|
|
3963
|
+
* - 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.
|
|
3957
3964
|
*
|
|
3958
3965
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
3959
3966
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4023,10 +4030,10 @@ class Client extends openapi_core_1.default {
|
|
|
4023
4030
|
* Retrieves ChatFlow runtime data.
|
|
4024
4031
|
*
|
|
4025
4032
|
* @remarks
|
|
4026
|
-
* - Before calling this operation,
|
|
4027
|
-
* - If your flow is not online,
|
|
4028
|
-
* - For flows with a manual trigger
|
|
4029
|
-
* -
|
|
4033
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
4034
|
+
* - 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.
|
|
4035
|
+
* - 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.
|
|
4036
|
+
* - 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.
|
|
4030
4037
|
*
|
|
4031
4038
|
* @param request - GetChatFlowMetricRequest
|
|
4032
4039
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4039,8 +4046,8 @@ class Client extends openapi_core_1.default {
|
|
|
4039
4046
|
* Queries the details of a flow template.
|
|
4040
4047
|
*
|
|
4041
4048
|
* @remarks
|
|
4042
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4043
|
-
* - After you view template details by clicking the template name on the **
|
|
4049
|
+
* - 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.
|
|
4050
|
+
* - 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.
|
|
4044
4051
|
*
|
|
4045
4052
|
* @param request - GetChatFlowTemplateRequest
|
|
4046
4053
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4084,8 +4091,8 @@ class Client extends openapi_core_1.default {
|
|
|
4084
4091
|
* Queries the details of a flow template.
|
|
4085
4092
|
*
|
|
4086
4093
|
* @remarks
|
|
4087
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4088
|
-
* - After you view template details by clicking the template name on the **
|
|
4094
|
+
* - 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.
|
|
4095
|
+
* - 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.
|
|
4089
4096
|
*
|
|
4090
4097
|
* @param request - GetChatFlowTemplateRequest
|
|
4091
4098
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4219,7 +4226,7 @@ class Client extends openapi_core_1.default {
|
|
|
4219
4226
|
return await this.getChatappPhoneNumberMetricWithOptions(request, runtime);
|
|
4220
4227
|
}
|
|
4221
4228
|
/**
|
|
4222
|
-
* Retrieves other
|
|
4229
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4223
4230
|
*
|
|
4224
4231
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4225
4232
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4260,7 +4267,7 @@ class Client extends openapi_core_1.default {
|
|
|
4260
4267
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetChatappPhoneNumberSettingResponse({}));
|
|
4261
4268
|
}
|
|
4262
4269
|
/**
|
|
4263
|
-
* Retrieves other
|
|
4270
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4264
4271
|
*
|
|
4265
4272
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4266
4273
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4273,8 +4280,8 @@ class Client extends openapi_core_1.default {
|
|
|
4273
4280
|
* Retrieves the details of a Chat App message template.
|
|
4274
4281
|
*
|
|
4275
4282
|
* @remarks
|
|
4276
|
-
* ###
|
|
4277
|
-
* The queries per second (QPS)
|
|
4283
|
+
* ### Rate limit
|
|
4284
|
+
* 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.
|
|
4278
4285
|
*
|
|
4279
4286
|
* @param request - GetChatappTemplateDetailRequest
|
|
4280
4287
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4324,8 +4331,8 @@ class Client extends openapi_core_1.default {
|
|
|
4324
4331
|
* Retrieves the details of a Chat App message template.
|
|
4325
4332
|
*
|
|
4326
4333
|
* @remarks
|
|
4327
|
-
* ###
|
|
4328
|
-
* The queries per second (QPS)
|
|
4334
|
+
* ### Rate limit
|
|
4335
|
+
* 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.
|
|
4329
4336
|
*
|
|
4330
4337
|
* @param request - GetChatappTemplateDetailRequest
|
|
4331
4338
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -4653,7 +4660,7 @@ class Client extends openapi_core_1.default {
|
|
|
4653
4660
|
return await this.getConversationalAutomationWithOptions(request, runtime);
|
|
4654
4661
|
}
|
|
4655
4662
|
/**
|
|
4656
|
-
* Queries the source site of
|
|
4663
|
+
* Queries the source site of the customer.
|
|
4657
4664
|
*
|
|
4658
4665
|
* @param request - GetCustomerSiteRequest
|
|
4659
4666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4688,7 +4695,7 @@ class Client extends openapi_core_1.default {
|
|
|
4688
4695
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCustomerSiteResponse({}));
|
|
4689
4696
|
}
|
|
4690
4697
|
/**
|
|
4691
|
-
* Queries the source site of
|
|
4698
|
+
* Queries the source site of the customer.
|
|
4692
4699
|
*
|
|
4693
4700
|
* @param request - GetCustomerSiteRequest
|
|
4694
4701
|
* @returns GetCustomerSiteResponse
|
|
@@ -4778,7 +4785,7 @@ class Client extends openapi_core_1.default {
|
|
|
4778
4785
|
return await this.getDownloadExcelListWithOptions(request, runtime);
|
|
4779
4786
|
}
|
|
4780
4787
|
/**
|
|
4781
|
-
* Retrieves
|
|
4788
|
+
* Retrieves a list of Instagram pages.
|
|
4782
4789
|
*
|
|
4783
4790
|
* @param request - GetFbInstagramPagesRequest
|
|
4784
4791
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4819,7 +4826,7 @@ class Client extends openapi_core_1.default {
|
|
|
4819
4826
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetFbInstagramPagesResponse({}));
|
|
4820
4827
|
}
|
|
4821
4828
|
/**
|
|
4822
|
-
* Retrieves
|
|
4829
|
+
* Retrieves a list of Instagram pages.
|
|
4823
4830
|
*
|
|
4824
4831
|
* @param request - GetFbInstagramPagesRequest
|
|
4825
4832
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5071,7 +5078,7 @@ class Client extends openapi_core_1.default {
|
|
|
5071
5078
|
return await this.getFlowPreviewUrlWithOptions(request, runtime);
|
|
5072
5079
|
}
|
|
5073
5080
|
/**
|
|
5074
|
-
*
|
|
5081
|
+
* Checks whether a group name is duplicated.
|
|
5075
5082
|
*
|
|
5076
5083
|
* @param tmpReq - GetGroupExistRequest
|
|
5077
5084
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5120,7 +5127,7 @@ class Client extends openapi_core_1.default {
|
|
|
5120
5127
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetGroupExistResponse({}));
|
|
5121
5128
|
}
|
|
5122
5129
|
/**
|
|
5123
|
-
*
|
|
5130
|
+
* Checks whether a group name is duplicated.
|
|
5124
5131
|
*
|
|
5125
5132
|
* @param request - GetGroupExistRequest
|
|
5126
5133
|
* @returns GetGroupExistResponse
|
|
@@ -5129,6 +5136,48 @@ class Client extends openapi_core_1.default {
|
|
|
5129
5136
|
let runtime = new $dara.RuntimeOptions({});
|
|
5130
5137
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5131
5138
|
}
|
|
5139
|
+
/**
|
|
5140
|
+
* Queries Instagram user information.
|
|
5141
|
+
*
|
|
5142
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5143
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5144
|
+
* @returns GetInstagramUserInfoResponse
|
|
5145
|
+
*/
|
|
5146
|
+
async getInstagramUserInfoWithOptions(request, runtime) {
|
|
5147
|
+
request.validate();
|
|
5148
|
+
let query = {};
|
|
5149
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5150
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5151
|
+
}
|
|
5152
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5153
|
+
query["QueryId"] = request.queryId;
|
|
5154
|
+
}
|
|
5155
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5156
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5157
|
+
});
|
|
5158
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5159
|
+
action: "GetInstagramUserInfo",
|
|
5160
|
+
version: "2020-06-06",
|
|
5161
|
+
protocol: "HTTPS",
|
|
5162
|
+
pathname: "/",
|
|
5163
|
+
method: "POST",
|
|
5164
|
+
authType: "AK",
|
|
5165
|
+
style: "RPC",
|
|
5166
|
+
reqBodyType: "formData",
|
|
5167
|
+
bodyType: "json",
|
|
5168
|
+
});
|
|
5169
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetInstagramUserInfoResponse({}));
|
|
5170
|
+
}
|
|
5171
|
+
/**
|
|
5172
|
+
* Queries Instagram user information.
|
|
5173
|
+
*
|
|
5174
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5175
|
+
* @returns GetInstagramUserInfoResponse
|
|
5176
|
+
*/
|
|
5177
|
+
async getInstagramUserInfo(request) {
|
|
5178
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5179
|
+
return await this.getInstagramUserInfoWithOptions(request, runtime);
|
|
5180
|
+
}
|
|
5132
5181
|
/**
|
|
5133
5182
|
* Queries budget metrics.
|
|
5134
5183
|
*
|
|
@@ -5186,6 +5235,48 @@ class Client extends openapi_core_1.default {
|
|
|
5186
5235
|
let runtime = new $dara.RuntimeOptions({});
|
|
5187
5236
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
5188
5237
|
}
|
|
5238
|
+
/**
|
|
5239
|
+
* Queries Messenger user information.
|
|
5240
|
+
*
|
|
5241
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5242
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5243
|
+
* @returns GetMessengerUserInfoResponse
|
|
5244
|
+
*/
|
|
5245
|
+
async getMessengerUserInfoWithOptions(request, runtime) {
|
|
5246
|
+
request.validate();
|
|
5247
|
+
let query = {};
|
|
5248
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5249
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5250
|
+
}
|
|
5251
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5252
|
+
query["QueryId"] = request.queryId;
|
|
5253
|
+
}
|
|
5254
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5255
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5256
|
+
});
|
|
5257
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5258
|
+
action: "GetMessengerUserInfo",
|
|
5259
|
+
version: "2020-06-06",
|
|
5260
|
+
protocol: "HTTPS",
|
|
5261
|
+
pathname: "/",
|
|
5262
|
+
method: "POST",
|
|
5263
|
+
authType: "AK",
|
|
5264
|
+
style: "RPC",
|
|
5265
|
+
reqBodyType: "formData",
|
|
5266
|
+
bodyType: "json",
|
|
5267
|
+
});
|
|
5268
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMessengerUserInfoResponse({}));
|
|
5269
|
+
}
|
|
5270
|
+
/**
|
|
5271
|
+
* Queries Messenger user information.
|
|
5272
|
+
*
|
|
5273
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5274
|
+
* @returns GetMessengerUserInfoResponse
|
|
5275
|
+
*/
|
|
5276
|
+
async getMessengerUserInfo(request) {
|
|
5277
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5278
|
+
return await this.getMessengerUserInfoWithOptions(request, runtime);
|
|
5279
|
+
}
|
|
5189
5280
|
/**
|
|
5190
5281
|
* Retrieves the verification code for a migration phone number.
|
|
5191
5282
|
*
|
|
@@ -5318,10 +5409,10 @@ class Client extends openapi_core_1.default {
|
|
|
5318
5409
|
* Retrieves the encryption public key of a phone number.
|
|
5319
5410
|
*
|
|
5320
5411
|
* @remarks
|
|
5321
|
-
* - Before calling this operation, make sure that a phone number has been added
|
|
5322
|
-
* - If no phone number has been added
|
|
5412
|
+
* - Before calling this operation, make sure that a phone number has been added to your WhatsApp Business Account (WABA) and has passed phone number verification.
|
|
5413
|
+
* - If no phone number has been added to your WABA, 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 code, and register the phone number.
|
|
5323
5414
|
* #### QPS limit
|
|
5324
|
-
* The
|
|
5415
|
+
* The Queries Per Second (QPS) limit per user for this operation is 5. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5325
5416
|
*
|
|
5326
5417
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5327
5418
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5365,10 +5456,10 @@ class Client extends openapi_core_1.default {
|
|
|
5365
5456
|
* Retrieves the encryption public key of a phone number.
|
|
5366
5457
|
*
|
|
5367
5458
|
* @remarks
|
|
5368
|
-
* - Before calling this operation, make sure that a phone number has been added
|
|
5369
|
-
* - If no phone number has been added
|
|
5459
|
+
* - Before calling this operation, make sure that a phone number has been added to your WhatsApp Business Account (WABA) and has passed phone number verification.
|
|
5460
|
+
* - If no phone number has been added to your WABA, 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 code, and register the phone number.
|
|
5370
5461
|
* #### QPS limit
|
|
5371
|
-
* The
|
|
5462
|
+
* The Queries Per Second (QPS) limit per user for this operation is 5. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
5372
5463
|
*
|
|
5373
5464
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
5374
5465
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -5381,13 +5472,13 @@ class Client extends openapi_core_1.default {
|
|
|
5381
5472
|
* Retrieves the verification status of a phone number.
|
|
5382
5473
|
*
|
|
5383
5474
|
* @remarks
|
|
5384
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5475
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5385
5476
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5386
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5387
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5388
|
-
* - Before calling this operation, make sure that a phone number
|
|
5389
|
-
* - If a phone number
|
|
5390
|
-
* The queries per second (QPS) limit
|
|
5477
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5478
|
+
* - 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.
|
|
5479
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5480
|
+
* - 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.
|
|
5481
|
+
* 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.
|
|
5391
5482
|
*
|
|
5392
5483
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5393
5484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5431,13 +5522,13 @@ class Client extends openapi_core_1.default {
|
|
|
5431
5522
|
* Retrieves the verification status of a phone number.
|
|
5432
5523
|
*
|
|
5433
5524
|
* @remarks
|
|
5434
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
5525
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
5435
5526
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
5436
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
5437
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
5438
|
-
* - Before calling this operation, make sure that a phone number
|
|
5439
|
-
* - If a phone number
|
|
5440
|
-
* The queries per second (QPS) limit
|
|
5527
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
5528
|
+
* - 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.
|
|
5529
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
5530
|
+
* - 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.
|
|
5531
|
+
* 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.
|
|
5441
5532
|
*
|
|
5442
5533
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
5443
5534
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -5546,7 +5637,7 @@ class Client extends openapi_core_1.default {
|
|
|
5546
5637
|
return await this.getPreValidatePhoneIdWithOptions(request, runtime);
|
|
5547
5638
|
}
|
|
5548
5639
|
/**
|
|
5549
|
-
* Queries an application
|
|
5640
|
+
* Queries an application by request number.
|
|
5550
5641
|
*
|
|
5551
5642
|
* @param request - GetViberByRequestNoRequest
|
|
5552
5643
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5587,7 +5678,7 @@ class Client extends openapi_core_1.default {
|
|
|
5587
5678
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberByRequestNoResponse({}));
|
|
5588
5679
|
}
|
|
5589
5680
|
/**
|
|
5590
|
-
* Queries an application
|
|
5681
|
+
* Queries an application by request number.
|
|
5591
5682
|
*
|
|
5592
5683
|
* @param request - GetViberByRequestNoRequest
|
|
5593
5684
|
* @returns GetViberByRequestNoResponse
|
|
@@ -5597,7 +5688,7 @@ class Client extends openapi_core_1.default {
|
|
|
5597
5688
|
return await this.getViberByRequestNoWithOptions(request, runtime);
|
|
5598
5689
|
}
|
|
5599
5690
|
/**
|
|
5600
|
-
* Queries the number of
|
|
5691
|
+
* Queries the number of allowed pause requests.
|
|
5601
5692
|
*
|
|
5602
5693
|
* @param request - GetViberPauseTimesRequest
|
|
5603
5694
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5635,7 +5726,7 @@ class Client extends openapi_core_1.default {
|
|
|
5635
5726
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetViberPauseTimesResponse({}));
|
|
5636
5727
|
}
|
|
5637
5728
|
/**
|
|
5638
|
-
* Queries the number of
|
|
5729
|
+
* Queries the number of allowed pause requests.
|
|
5639
5730
|
*
|
|
5640
5731
|
* @param request - GetViberPauseTimesRequest
|
|
5641
5732
|
* @returns GetViberPauseTimesResponse
|
|
@@ -5750,12 +5841,12 @@ class Client extends openapi_core_1.default {
|
|
|
5750
5841
|
return await this.getWhatsappConversionApiWithOptions(request, runtime);
|
|
5751
5842
|
}
|
|
5752
5843
|
/**
|
|
5753
|
-
*
|
|
5844
|
+
* Retrieves the message sending health status for different node types.
|
|
5754
5845
|
*
|
|
5755
5846
|
* @remarks
|
|
5756
|
-
* ###
|
|
5757
|
-
*
|
|
5758
|
-
* This
|
|
5847
|
+
* ### QPS limits
|
|
5848
|
+
* 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.
|
|
5849
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5759
5850
|
*
|
|
5760
5851
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5761
5852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5808,12 +5899,12 @@ class Client extends openapi_core_1.default {
|
|
|
5808
5899
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWhatsappHealthStatusResponse({}));
|
|
5809
5900
|
}
|
|
5810
5901
|
/**
|
|
5811
|
-
*
|
|
5902
|
+
* Retrieves the message sending health status for different node types.
|
|
5812
5903
|
*
|
|
5813
5904
|
* @remarks
|
|
5814
|
-
* ###
|
|
5815
|
-
*
|
|
5816
|
-
* This
|
|
5905
|
+
* ### QPS limits
|
|
5906
|
+
* 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.
|
|
5907
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
5817
5908
|
*
|
|
5818
5909
|
* @param request - GetWhatsappHealthStatusRequest
|
|
5819
5910
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -6071,12 +6162,12 @@ class Client extends openapi_core_1.default {
|
|
|
6071
6162
|
return await this.listBindDmAccountWithOptions(request, runtime);
|
|
6072
6163
|
}
|
|
6073
6164
|
/**
|
|
6074
|
-
* Queries the list of phone numbers or
|
|
6165
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6075
6166
|
*
|
|
6076
6167
|
* @remarks
|
|
6077
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6078
|
-
* - Before calling this operation,
|
|
6079
|
-
* - If
|
|
6168
|
+
* - 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).
|
|
6169
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6170
|
+
* - 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.
|
|
6080
6171
|
*
|
|
6081
6172
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6082
6173
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6117,12 +6208,12 @@ class Client extends openapi_core_1.default {
|
|
|
6117
6208
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListBindingRelationsForFlowVersionResponse({}));
|
|
6118
6209
|
}
|
|
6119
6210
|
/**
|
|
6120
|
-
* Queries the list of phone numbers or
|
|
6211
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6121
6212
|
*
|
|
6122
6213
|
* @remarks
|
|
6123
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6124
|
-
* - Before calling this operation,
|
|
6125
|
-
* - If
|
|
6214
|
+
* - 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).
|
|
6215
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6216
|
+
* - 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.
|
|
6126
6217
|
*
|
|
6127
6218
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6128
6219
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6135,10 +6226,10 @@ class Client extends openapi_core_1.default {
|
|
|
6135
6226
|
* Lists flows.
|
|
6136
6227
|
*
|
|
6137
6228
|
* @remarks
|
|
6138
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6139
|
-
* - Before
|
|
6140
|
-
* - If you
|
|
6141
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6229
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6230
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6231
|
+
* - 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.
|
|
6232
|
+
* - 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.
|
|
6142
6233
|
*
|
|
6143
6234
|
* @param tmpReq - ListChatFlowRequest
|
|
6144
6235
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6217,10 +6308,10 @@ class Client extends openapi_core_1.default {
|
|
|
6217
6308
|
* Lists flows.
|
|
6218
6309
|
*
|
|
6219
6310
|
* @remarks
|
|
6220
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6221
|
-
* - Before
|
|
6222
|
-
* - If you
|
|
6223
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
6311
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
6312
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
6313
|
+
* - 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.
|
|
6314
|
+
* - 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.
|
|
6224
6315
|
*
|
|
6225
6316
|
* @param request - ListChatFlowRequest
|
|
6226
6317
|
* @returns ListChatFlowResponse
|
|
@@ -6233,8 +6324,8 @@ class Client extends openapi_core_1.default {
|
|
|
6233
6324
|
* Lists flow templates.
|
|
6234
6325
|
*
|
|
6235
6326
|
* @remarks
|
|
6236
|
-
* - You can call this operation to view the template list
|
|
6237
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6327
|
+
* - 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).
|
|
6328
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6238
6329
|
*
|
|
6239
6330
|
* @param request - ListChatFlowTemplateRequest
|
|
6240
6331
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6287,8 +6378,8 @@ class Client extends openapi_core_1.default {
|
|
|
6287
6378
|
* Lists flow templates.
|
|
6288
6379
|
*
|
|
6289
6380
|
* @remarks
|
|
6290
|
-
* - You can call this operation to view the template list
|
|
6291
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
6381
|
+
* - 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).
|
|
6382
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
6292
6383
|
*
|
|
6293
6384
|
* @param request - ListChatFlowTemplateRequest
|
|
6294
6385
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -6298,13 +6389,13 @@ class Client extends openapi_core_1.default {
|
|
|
6298
6389
|
return await this.listChatFlowTemplateWithOptions(request, runtime);
|
|
6299
6390
|
}
|
|
6300
6391
|
/**
|
|
6301
|
-
*
|
|
6392
|
+
* Queries the list of IM groups.
|
|
6302
6393
|
*
|
|
6303
6394
|
* @remarks
|
|
6304
|
-
* >Notice: The feature of
|
|
6305
|
-
* - Before calling this operation, make sure you have
|
|
6306
|
-
* - If you
|
|
6307
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6395
|
+
* >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>
|
|
6396
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6397
|
+
* - 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.
|
|
6398
|
+
* - 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.
|
|
6308
6399
|
*
|
|
6309
6400
|
* @param tmpReq - ListChatGroupRequest
|
|
6310
6401
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6368,13 +6459,13 @@ class Client extends openapi_core_1.default {
|
|
|
6368
6459
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatGroupResponse({}));
|
|
6369
6460
|
}
|
|
6370
6461
|
/**
|
|
6371
|
-
*
|
|
6462
|
+
* Queries the list of IM groups.
|
|
6372
6463
|
*
|
|
6373
6464
|
* @remarks
|
|
6374
|
-
* >Notice: The feature of
|
|
6375
|
-
* - Before calling this operation, make sure you have
|
|
6376
|
-
* - If you
|
|
6377
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
6465
|
+
* >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>
|
|
6466
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
6467
|
+
* - 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.
|
|
6468
|
+
* - 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.
|
|
6378
6469
|
*
|
|
6379
6470
|
* @param request - ListChatGroupRequest
|
|
6380
6471
|
* @returns ListChatGroupResponse
|
|
@@ -6387,9 +6478,9 @@ class Client extends openapi_core_1.default {
|
|
|
6387
6478
|
* Retrieves the member list of an IM group.
|
|
6388
6479
|
*
|
|
6389
6480
|
* @remarks
|
|
6390
|
-
* >
|
|
6391
|
-
* - Before
|
|
6392
|
-
* - If you do not have a created IM group,
|
|
6481
|
+
* <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>
|
|
6482
|
+
* - 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.
|
|
6483
|
+
* - 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.
|
|
6393
6484
|
*
|
|
6394
6485
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
6395
6486
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6447,9 +6538,9 @@ class Client extends openapi_core_1.default {
|
|
|
6447
6538
|
* Retrieves the member list of an IM group.
|
|
6448
6539
|
*
|
|
6449
6540
|
* @remarks
|
|
6450
|
-
* >
|
|
6451
|
-
* - Before
|
|
6452
|
-
* - If you do not have a created IM group,
|
|
6541
|
+
* <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>
|
|
6542
|
+
* - 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.
|
|
6543
|
+
* - 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.
|
|
6453
6544
|
*
|
|
6454
6545
|
* @param request - ListChatGroupParticipantsRequest
|
|
6455
6546
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -6462,9 +6553,9 @@ class Client extends openapi_core_1.default {
|
|
|
6462
6553
|
* Queries the message list.
|
|
6463
6554
|
*
|
|
6464
6555
|
* @remarks
|
|
6465
|
-
* - You can call this operation to query the message list
|
|
6466
|
-
* - This
|
|
6467
|
-
* - Before
|
|
6556
|
+
* - 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.
|
|
6557
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6558
|
+
* - 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.
|
|
6468
6559
|
*
|
|
6469
6560
|
* @param tmpReq - ListChatappMessageRequest
|
|
6470
6561
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6502,6 +6593,9 @@ class Client extends openapi_core_1.default {
|
|
|
6502
6593
|
if (!$dara.isNull(request.groupMessageId)) {
|
|
6503
6594
|
query["GroupMessageId"] = request.groupMessageId;
|
|
6504
6595
|
}
|
|
6596
|
+
if (!$dara.isNull(request.messageItem)) {
|
|
6597
|
+
query["MessageItem"] = request.messageItem;
|
|
6598
|
+
}
|
|
6505
6599
|
if (!$dara.isNull(request.messageStatus)) {
|
|
6506
6600
|
query["MessageStatus"] = request.messageStatus;
|
|
6507
6601
|
}
|
|
@@ -6549,9 +6643,9 @@ class Client extends openapi_core_1.default {
|
|
|
6549
6643
|
* Queries the message list.
|
|
6550
6644
|
*
|
|
6551
6645
|
* @remarks
|
|
6552
|
-
* - You can call this operation to query the message list
|
|
6553
|
-
* - This
|
|
6554
|
-
* - Before
|
|
6646
|
+
* - 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.
|
|
6647
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
6648
|
+
* - 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.
|
|
6555
6649
|
*
|
|
6556
6650
|
* @param request - ListChatappMessageRequest
|
|
6557
6651
|
* @returns ListChatappMessageResponse
|
|
@@ -6561,11 +6655,11 @@ class Client extends openapi_core_1.default {
|
|
|
6561
6655
|
return await this.listChatappMessageWithOptions(request, runtime);
|
|
6562
6656
|
}
|
|
6563
6657
|
/**
|
|
6564
|
-
* Retrieves
|
|
6658
|
+
* Retrieves the list of message templates.
|
|
6565
6659
|
*
|
|
6566
6660
|
* @remarks
|
|
6567
|
-
* ###
|
|
6568
|
-
* The
|
|
6661
|
+
* ### Rate limits
|
|
6662
|
+
* 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.
|
|
6569
6663
|
*
|
|
6570
6664
|
* @param tmpReq - ListChatappTemplateRequest
|
|
6571
6665
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6635,11 +6729,11 @@ class Client extends openapi_core_1.default {
|
|
|
6635
6729
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListChatappTemplateResponse({}));
|
|
6636
6730
|
}
|
|
6637
6731
|
/**
|
|
6638
|
-
* Retrieves
|
|
6732
|
+
* Retrieves the list of message templates.
|
|
6639
6733
|
*
|
|
6640
6734
|
* @remarks
|
|
6641
|
-
* ###
|
|
6642
|
-
* The
|
|
6735
|
+
* ### Rate limits
|
|
6736
|
+
* 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.
|
|
6643
6737
|
*
|
|
6644
6738
|
* @param request - ListChatappTemplateRequest
|
|
6645
6739
|
* @returns ListChatappTemplateResponse
|
|
@@ -6649,7 +6743,7 @@ class Client extends openapi_core_1.default {
|
|
|
6649
6743
|
return await this.listChatappTemplateWithOptions(request, runtime);
|
|
6650
6744
|
}
|
|
6651
6745
|
/**
|
|
6652
|
-
* Queries a custom
|
|
6746
|
+
* Queries a list of custom audiences.
|
|
6653
6747
|
*
|
|
6654
6748
|
* @param tmpReq - ListCustomAudienceRequest
|
|
6655
6749
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6710,7 +6804,7 @@ class Client extends openapi_core_1.default {
|
|
|
6710
6804
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAudienceResponse({}));
|
|
6711
6805
|
}
|
|
6712
6806
|
/**
|
|
6713
|
-
* Queries a custom
|
|
6807
|
+
* Queries a list of custom audiences.
|
|
6714
6808
|
*
|
|
6715
6809
|
* @param request - ListCustomAudienceRequest
|
|
6716
6810
|
* @returns ListCustomAudienceResponse
|
|
@@ -6720,7 +6814,7 @@ class Client extends openapi_core_1.default {
|
|
|
6720
6814
|
return await this.listCustomAudienceWithOptions(request, runtime);
|
|
6721
6815
|
}
|
|
6722
6816
|
/**
|
|
6723
|
-
* Queries the
|
|
6817
|
+
* Queries the Direct Mail accounts under the account.
|
|
6724
6818
|
*
|
|
6725
6819
|
* @param request - ListDmAccountRequest
|
|
6726
6820
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6767,7 +6861,7 @@ class Client extends openapi_core_1.default {
|
|
|
6767
6861
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmAccountResponse({}));
|
|
6768
6862
|
}
|
|
6769
6863
|
/**
|
|
6770
|
-
* Queries the
|
|
6864
|
+
* Queries the Direct Mail accounts under the account.
|
|
6771
6865
|
*
|
|
6772
6866
|
* @param request - ListDmAccountRequest
|
|
6773
6867
|
* @returns ListDmAccountResponse
|
|
@@ -6777,7 +6871,7 @@ class Client extends openapi_core_1.default {
|
|
|
6777
6871
|
return await this.listDmAccountWithOptions(request, runtime);
|
|
6778
6872
|
}
|
|
6779
6873
|
/**
|
|
6780
|
-
* Queries
|
|
6874
|
+
* Queries DM tags.
|
|
6781
6875
|
*
|
|
6782
6876
|
* @param request - ListDmTagRequest
|
|
6783
6877
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6821,7 +6915,7 @@ class Client extends openapi_core_1.default {
|
|
|
6821
6915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDmTagResponse({}));
|
|
6822
6916
|
}
|
|
6823
6917
|
/**
|
|
6824
|
-
* Queries
|
|
6918
|
+
* Queries DM tags.
|
|
6825
6919
|
*
|
|
6826
6920
|
* @param request - ListDmTagRequest
|
|
6827
6921
|
* @returns ListDmTagResponse
|
|
@@ -6831,7 +6925,7 @@ class Client extends openapi_core_1.default {
|
|
|
6831
6925
|
return await this.listDmTagWithOptions(request, runtime);
|
|
6832
6926
|
}
|
|
6833
6927
|
/**
|
|
6834
|
-
* Queries
|
|
6928
|
+
* Queries a list of Facebook posts.
|
|
6835
6929
|
*
|
|
6836
6930
|
* @param request - ListFacebookPostsRequest
|
|
6837
6931
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6869,7 +6963,7 @@ class Client extends openapi_core_1.default {
|
|
|
6869
6963
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListFacebookPostsResponse({}));
|
|
6870
6964
|
}
|
|
6871
6965
|
/**
|
|
6872
|
-
* Queries
|
|
6966
|
+
* Queries a list of Facebook posts.
|
|
6873
6967
|
*
|
|
6874
6968
|
* @param request - ListFacebookPostsRequest
|
|
6875
6969
|
* @returns ListFacebookPostsResponse
|
|
@@ -6998,8 +7092,8 @@ class Client extends openapi_core_1.default {
|
|
|
6998
7092
|
* Lists flow component prototypes.
|
|
6999
7093
|
*
|
|
7000
7094
|
* @remarks
|
|
7001
|
-
* - You can call this operation to query flow component prototypes.
|
|
7002
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7095
|
+
* - 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.
|
|
7096
|
+
* - 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.
|
|
7003
7097
|
*
|
|
7004
7098
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7005
7099
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7052,8 +7146,8 @@ class Client extends openapi_core_1.default {
|
|
|
7052
7146
|
* Lists flow component prototypes.
|
|
7053
7147
|
*
|
|
7054
7148
|
* @remarks
|
|
7055
|
-
* - You can call this operation to query flow component prototypes.
|
|
7056
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
7149
|
+
* - 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.
|
|
7150
|
+
* - 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.
|
|
7057
7151
|
*
|
|
7058
7152
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7059
7153
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -7066,10 +7160,10 @@ class Client extends openapi_core_1.default {
|
|
|
7066
7160
|
* Lists flow versions.
|
|
7067
7161
|
*
|
|
7068
7162
|
* @remarks
|
|
7069
|
-
* - You can call this operation to query flow versions
|
|
7070
|
-
* - Before calling this operation, make sure that you have a
|
|
7071
|
-
* - If you
|
|
7072
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7163
|
+
* - 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.
|
|
7164
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7165
|
+
* - 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.
|
|
7166
|
+
* - 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.
|
|
7073
7167
|
*
|
|
7074
7168
|
* @param tmpReq - ListFlowVersionRequest
|
|
7075
7169
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7130,10 +7224,10 @@ class Client extends openapi_core_1.default {
|
|
|
7130
7224
|
* Lists flow versions.
|
|
7131
7225
|
*
|
|
7132
7226
|
* @remarks
|
|
7133
|
-
* - You can call this operation to query flow versions
|
|
7134
|
-
* - Before calling this operation, make sure that you have a
|
|
7135
|
-
* - If you
|
|
7136
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
7227
|
+
* - 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.
|
|
7228
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
7229
|
+
* - 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.
|
|
7230
|
+
* - 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.
|
|
7137
7231
|
*
|
|
7138
7232
|
* @param request - ListFlowVersionRequest
|
|
7139
7233
|
* @returns ListFlowVersionResponse
|
|
@@ -7143,7 +7237,7 @@ class Client extends openapi_core_1.default {
|
|
|
7143
7237
|
return await this.listFlowVersionWithOptions(request, runtime);
|
|
7144
7238
|
}
|
|
7145
7239
|
/**
|
|
7146
|
-
* Retrieves
|
|
7240
|
+
* Retrieves Instagram pages.
|
|
7147
7241
|
*
|
|
7148
7242
|
* @param request - ListInstagramPageRequest
|
|
7149
7243
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7181,7 +7275,7 @@ class Client extends openapi_core_1.default {
|
|
|
7181
7275
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPageResponse({}));
|
|
7182
7276
|
}
|
|
7183
7277
|
/**
|
|
7184
|
-
* Retrieves
|
|
7278
|
+
* Retrieves Instagram pages.
|
|
7185
7279
|
*
|
|
7186
7280
|
* @param request - ListInstagramPageRequest
|
|
7187
7281
|
* @returns ListInstagramPageResponse
|
|
@@ -7191,7 +7285,7 @@ class Client extends openapi_core_1.default {
|
|
|
7191
7285
|
return await this.listInstagramPageWithOptions(request, runtime);
|
|
7192
7286
|
}
|
|
7193
7287
|
/**
|
|
7194
|
-
* Queries
|
|
7288
|
+
* Queries a list of Instagram posts.
|
|
7195
7289
|
*
|
|
7196
7290
|
* @param request - ListInstagramPostsRequest
|
|
7197
7291
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7229,7 +7323,7 @@ class Client extends openapi_core_1.default {
|
|
|
7229
7323
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstagramPostsResponse({}));
|
|
7230
7324
|
}
|
|
7231
7325
|
/**
|
|
7232
|
-
* Queries
|
|
7326
|
+
* Queries a list of Instagram posts.
|
|
7233
7327
|
*
|
|
7234
7328
|
* @param request - ListInstagramPostsRequest
|
|
7235
7329
|
* @returns ListInstagramPostsResponse
|
|
@@ -7239,7 +7333,7 @@ class Client extends openapi_core_1.default {
|
|
|
7239
7333
|
return await this.listInstagramPostsWithOptions(request, runtime);
|
|
7240
7334
|
}
|
|
7241
7335
|
/**
|
|
7242
|
-
* Queries
|
|
7336
|
+
* Queries the list of instances.
|
|
7243
7337
|
*
|
|
7244
7338
|
* @param request - ListInstanceRequest
|
|
7245
7339
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7295,7 +7389,7 @@ class Client extends openapi_core_1.default {
|
|
|
7295
7389
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListInstanceResponse({}));
|
|
7296
7390
|
}
|
|
7297
7391
|
/**
|
|
7298
|
-
* Queries
|
|
7392
|
+
* Queries the list of instances.
|
|
7299
7393
|
*
|
|
7300
7394
|
* @param request - ListInstanceRequest
|
|
7301
7395
|
* @returns ListInstanceResponse
|
|
@@ -7305,7 +7399,7 @@ class Client extends openapi_core_1.default {
|
|
|
7305
7399
|
return await this.listInstanceWithOptions(request, runtime);
|
|
7306
7400
|
}
|
|
7307
7401
|
/**
|
|
7308
|
-
* Queries
|
|
7402
|
+
* Queries the list of operational activities.
|
|
7309
7403
|
*
|
|
7310
7404
|
* @param tmpReq - ListMarketingFlowRequest
|
|
7311
7405
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7372,7 +7466,7 @@ class Client extends openapi_core_1.default {
|
|
|
7372
7466
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMarketingFlowResponse({}));
|
|
7373
7467
|
}
|
|
7374
7468
|
/**
|
|
7375
|
-
* Queries
|
|
7469
|
+
* Queries the list of operational activities.
|
|
7376
7470
|
*
|
|
7377
7471
|
* @param request - ListMarketingFlowRequest
|
|
7378
7472
|
* @returns ListMarketingFlowResponse
|
|
@@ -7516,7 +7610,7 @@ class Client extends openapi_core_1.default {
|
|
|
7516
7610
|
return await this.listMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
7517
7611
|
}
|
|
7518
7612
|
/**
|
|
7519
|
-
* Queries the
|
|
7613
|
+
* Queries the ad accounts bound to a page.
|
|
7520
7614
|
*
|
|
7521
7615
|
* @param request - ListPageAdAccountRequest
|
|
7522
7616
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7557,7 +7651,7 @@ class Client extends openapi_core_1.default {
|
|
|
7557
7651
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPageAdAccountResponse({}));
|
|
7558
7652
|
}
|
|
7559
7653
|
/**
|
|
7560
|
-
* Queries the
|
|
7654
|
+
* Queries the ad accounts bound to a page.
|
|
7561
7655
|
*
|
|
7562
7656
|
* @param request - ListPageAdAccountRequest
|
|
7563
7657
|
* @returns ListPageAdAccountResponse
|
|
@@ -7765,7 +7859,7 @@ class Client extends openapi_core_1.default {
|
|
|
7765
7859
|
return await this.listProductCatalogWithOptions(request, runtime);
|
|
7766
7860
|
}
|
|
7767
7861
|
/**
|
|
7768
|
-
*
|
|
7862
|
+
* Retrieves the Viber service account card of an application.
|
|
7769
7863
|
*
|
|
7770
7864
|
* @param request - ListViberServiceMessageRequest
|
|
7771
7865
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7803,7 +7897,7 @@ class Client extends openapi_core_1.default {
|
|
|
7803
7897
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListViberServiceMessageResponse({}));
|
|
7804
7898
|
}
|
|
7805
7899
|
/**
|
|
7806
|
-
*
|
|
7900
|
+
* Retrieves the Viber service account card of an application.
|
|
7807
7901
|
*
|
|
7808
7902
|
* @param request - ListViberServiceMessageRequest
|
|
7809
7903
|
* @returns ListViberServiceMessageResponse
|
|
@@ -7855,13 +7949,13 @@ class Client extends openapi_core_1.default {
|
|
|
7855
7949
|
return await this.listWhatAppTemplateWithOptions(request, runtime);
|
|
7856
7950
|
}
|
|
7857
7951
|
/**
|
|
7858
|
-
* Modifies a message template.
|
|
7952
|
+
* Modifies a message template. You can only modify templates that are pending review or have failed the review.
|
|
7859
7953
|
*
|
|
7860
7954
|
* @remarks
|
|
7861
7955
|
* ### QPS limit
|
|
7862
|
-
* The
|
|
7956
|
+
* The QPS limit for a single user is 50 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
7863
7957
|
* ### Status changes
|
|
7864
|
-
* You can listen for template status and quality
|
|
7958
|
+
* You can listen for changes in template status and quality by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7865
7959
|
*
|
|
7866
7960
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
7867
7961
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7934,13 +8028,13 @@ class Client extends openapi_core_1.default {
|
|
|
7934
8028
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplateResponse({}));
|
|
7935
8029
|
}
|
|
7936
8030
|
/**
|
|
7937
|
-
* Modifies a message template.
|
|
8031
|
+
* Modifies a message template. You can only modify templates that are pending review or have failed the review.
|
|
7938
8032
|
*
|
|
7939
8033
|
* @remarks
|
|
7940
8034
|
* ### QPS limit
|
|
7941
|
-
* The
|
|
8035
|
+
* The QPS limit for a single user is 50 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate.
|
|
7942
8036
|
* ### Status changes
|
|
7943
|
-
* You can listen for template status and quality
|
|
8037
|
+
* You can listen for changes in template status and quality by using MNS or HTTP. For more information, see [Receipt messages](https://help.aliyun.com/document_detail/421545.html).
|
|
7944
8038
|
*
|
|
7945
8039
|
* @param request - ModifyChatappTemplateRequest
|
|
7946
8040
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -7950,7 +8044,7 @@ class Client extends openapi_core_1.default {
|
|
|
7950
8044
|
return await this.modifyChatappTemplateWithOptions(request, runtime);
|
|
7951
8045
|
}
|
|
7952
8046
|
/**
|
|
7953
|
-
* Modifies
|
|
8047
|
+
* Modifies specific attributes of a template.
|
|
7954
8048
|
*
|
|
7955
8049
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
7956
8050
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8003,7 +8097,7 @@ class Client extends openapi_core_1.default {
|
|
|
8003
8097
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyChatappTemplatePropertiesResponse({}));
|
|
8004
8098
|
}
|
|
8005
8099
|
/**
|
|
8006
|
-
* Modifies
|
|
8100
|
+
* Modifies specific attributes of a template.
|
|
8007
8101
|
*
|
|
8008
8102
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
8009
8103
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -8084,10 +8178,10 @@ class Client extends openapi_core_1.default {
|
|
|
8084
8178
|
return await this.modifyFlowWithOptions(request, runtime);
|
|
8085
8179
|
}
|
|
8086
8180
|
/**
|
|
8087
|
-
*
|
|
8181
|
+
* Updates the business information of a phone number.
|
|
8088
8182
|
*
|
|
8089
8183
|
* @remarks
|
|
8090
|
-
* The
|
|
8184
|
+
* 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.
|
|
8091
8185
|
*
|
|
8092
8186
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
8093
8187
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8154,10 +8248,10 @@ class Client extends openapi_core_1.default {
|
|
|
8154
8248
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyPhoneBusinessProfileResponse({}));
|
|
8155
8249
|
}
|
|
8156
8250
|
/**
|
|
8157
|
-
*
|
|
8251
|
+
* Updates the business information of a phone number.
|
|
8158
8252
|
*
|
|
8159
8253
|
* @remarks
|
|
8160
|
-
* The
|
|
8254
|
+
* 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.
|
|
8161
8255
|
*
|
|
8162
8256
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
8163
8257
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -8167,7 +8261,7 @@ class Client extends openapi_core_1.default {
|
|
|
8167
8261
|
return await this.modifyPhoneBusinessProfileWithOptions(request, runtime);
|
|
8168
8262
|
}
|
|
8169
8263
|
/**
|
|
8170
|
-
* Modifies the
|
|
8264
|
+
* Modifies the groups of contacts.
|
|
8171
8265
|
*
|
|
8172
8266
|
* @param tmpReq - MoveContactToGroupRequest
|
|
8173
8267
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8222,7 +8316,7 @@ class Client extends openapi_core_1.default {
|
|
|
8222
8316
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MoveContactToGroupResponse({}));
|
|
8223
8317
|
}
|
|
8224
8318
|
/**
|
|
8225
|
-
* Modifies the
|
|
8319
|
+
* Modifies the groups of contacts.
|
|
8226
8320
|
*
|
|
8227
8321
|
* @param request - MoveContactToGroupRequest
|
|
8228
8322
|
* @returns MoveContactToGroupResponse
|
|
@@ -8237,7 +8331,7 @@ class Client extends openapi_core_1.default {
|
|
|
8237
8331
|
* @remarks
|
|
8238
8332
|
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8239
8333
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
8240
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
8334
|
+
* - 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.
|
|
8241
8335
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8242
8336
|
*
|
|
8243
8337
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
@@ -8298,7 +8392,7 @@ class Client extends openapi_core_1.default {
|
|
|
8298
8392
|
* @remarks
|
|
8299
8393
|
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
8300
8394
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
8301
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
8395
|
+
* - 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.
|
|
8302
8396
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
8303
8397
|
*
|
|
8304
8398
|
* @param request - OfflineFlowVersionRequest
|
|
@@ -8312,10 +8406,10 @@ class Client extends openapi_core_1.default {
|
|
|
8312
8406
|
* Publishes a flow version.
|
|
8313
8407
|
*
|
|
8314
8408
|
* @remarks
|
|
8315
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8316
|
-
* - Before
|
|
8317
|
-
* - If you do not have a
|
|
8318
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8409
|
+
* - 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.
|
|
8410
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8411
|
+
* - 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.
|
|
8412
|
+
* - 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.
|
|
8319
8413
|
*
|
|
8320
8414
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
8321
8415
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8373,10 +8467,10 @@ class Client extends openapi_core_1.default {
|
|
|
8373
8467
|
* Publishes a flow version.
|
|
8374
8468
|
*
|
|
8375
8469
|
* @remarks
|
|
8376
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
8377
|
-
* - Before
|
|
8378
|
-
* - If you do not have a
|
|
8379
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
8470
|
+
* - 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.
|
|
8471
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
8472
|
+
* - 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.
|
|
8473
|
+
* - 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.
|
|
8380
8474
|
*
|
|
8381
8475
|
* @param request - OnlineFlowVersionRequest
|
|
8382
8476
|
* @returns OnlineFlowVersionResponse
|
|
@@ -8545,10 +8639,10 @@ class Client extends openapi_core_1.default {
|
|
|
8545
8639
|
return await this.publishFlowWithOptions(request, runtime);
|
|
8546
8640
|
}
|
|
8547
8641
|
/**
|
|
8548
|
-
* Queries the WABA
|
|
8642
|
+
* Queries the WABA associated with a customer.
|
|
8549
8643
|
*
|
|
8550
8644
|
* @remarks
|
|
8551
|
-
* The
|
|
8645
|
+
* 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. Call this API operation at a reasonable frequency.
|
|
8552
8646
|
*
|
|
8553
8647
|
* @param request - QueryChatappBindWabaRequest
|
|
8554
8648
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8589,10 +8683,10 @@ class Client extends openapi_core_1.default {
|
|
|
8589
8683
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappBindWabaResponse({}));
|
|
8590
8684
|
}
|
|
8591
8685
|
/**
|
|
8592
|
-
* Queries the WABA
|
|
8686
|
+
* Queries the WABA associated with a customer.
|
|
8593
8687
|
*
|
|
8594
8688
|
* @remarks
|
|
8595
|
-
* The
|
|
8689
|
+
* 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. Call this API operation at a reasonable frequency.
|
|
8596
8690
|
*
|
|
8597
8691
|
* @param request - QueryChatappBindWabaRequest
|
|
8598
8692
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -8602,10 +8696,10 @@ class Client extends openapi_core_1.default {
|
|
|
8602
8696
|
return await this.queryChatappBindWabaWithOptions(request, runtime);
|
|
8603
8697
|
}
|
|
8604
8698
|
/**
|
|
8605
|
-
* Queries all
|
|
8699
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8606
8700
|
*
|
|
8607
8701
|
* @remarks
|
|
8608
|
-
* The
|
|
8702
|
+
* 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.
|
|
8609
8703
|
*
|
|
8610
8704
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8611
8705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8649,10 +8743,10 @@ class Client extends openapi_core_1.default {
|
|
|
8649
8743
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryChatappPhoneNumbersResponse({}));
|
|
8650
8744
|
}
|
|
8651
8745
|
/**
|
|
8652
|
-
* Queries all
|
|
8746
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
8653
8747
|
*
|
|
8654
8748
|
* @remarks
|
|
8655
|
-
* The
|
|
8749
|
+
* 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.
|
|
8656
8750
|
*
|
|
8657
8751
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
8658
8752
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -8662,7 +8756,7 @@ class Client extends openapi_core_1.default {
|
|
|
8662
8756
|
return await this.queryChatappPhoneNumbersWithOptions(request, runtime);
|
|
8663
8757
|
}
|
|
8664
8758
|
/**
|
|
8665
|
-
*
|
|
8759
|
+
* Queries an instance.
|
|
8666
8760
|
*
|
|
8667
8761
|
* @param request - QueryInstanceRequest
|
|
8668
8762
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8691,7 +8785,7 @@ class Client extends openapi_core_1.default {
|
|
|
8691
8785
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryInstanceResponse({}));
|
|
8692
8786
|
}
|
|
8693
8787
|
/**
|
|
8694
|
-
*
|
|
8788
|
+
* Queries an instance.
|
|
8695
8789
|
*
|
|
8696
8790
|
* @param request - QueryInstanceRequest
|
|
8697
8791
|
* @returns QueryInstanceResponse
|
|
@@ -8701,7 +8795,7 @@ class Client extends openapi_core_1.default {
|
|
|
8701
8795
|
return await this.queryInstanceWithOptions(request, runtime);
|
|
8702
8796
|
}
|
|
8703
8797
|
/**
|
|
8704
|
-
* Queries whether a marketing message
|
|
8798
|
+
* Queries whether a marketing message takes effect.
|
|
8705
8799
|
*
|
|
8706
8800
|
* @param request - QueryMMLActiveRequest
|
|
8707
8801
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8739,7 +8833,7 @@ class Client extends openapi_core_1.default {
|
|
|
8739
8833
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryMMLActiveResponse({}));
|
|
8740
8834
|
}
|
|
8741
8835
|
/**
|
|
8742
|
-
* Queries whether a marketing message
|
|
8836
|
+
* Queries whether a marketing message takes effect.
|
|
8743
8837
|
*
|
|
8744
8838
|
* @param request - QueryMMLActiveRequest
|
|
8745
8839
|
* @returns QueryMMLActiveResponse
|
|
@@ -8752,7 +8846,7 @@ class Client extends openapi_core_1.default {
|
|
|
8752
8846
|
* Queries the business information of a phone number.
|
|
8753
8847
|
*
|
|
8754
8848
|
* @remarks
|
|
8755
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
8849
|
+
* 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.
|
|
8756
8850
|
*
|
|
8757
8851
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8758
8852
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8796,7 +8890,7 @@ class Client extends openapi_core_1.default {
|
|
|
8796
8890
|
* Queries the business information of a phone number.
|
|
8797
8891
|
*
|
|
8798
8892
|
* @remarks
|
|
8799
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
8893
|
+
* 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.
|
|
8800
8894
|
*
|
|
8801
8895
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
8802
8896
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -8866,9 +8960,9 @@ class Client extends openapi_core_1.default {
|
|
|
8866
8960
|
* Retrieves the details of a flow.
|
|
8867
8961
|
*
|
|
8868
8962
|
* @remarks
|
|
8869
|
-
* - You can call this operation to retrieve flow details
|
|
8870
|
-
* - Before calling this operation, ensure that you have
|
|
8871
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
8963
|
+
* - 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).
|
|
8964
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
8965
|
+
* - 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.
|
|
8872
8966
|
*
|
|
8873
8967
|
* @param tmpReq - ReadChatFlowRequest
|
|
8874
8968
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8920,9 +9014,9 @@ class Client extends openapi_core_1.default {
|
|
|
8920
9014
|
* Retrieves the details of a flow.
|
|
8921
9015
|
*
|
|
8922
9016
|
* @remarks
|
|
8923
|
-
* - You can call this operation to retrieve flow details
|
|
8924
|
-
* - Before calling this operation, ensure that you have
|
|
8925
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
9017
|
+
* - 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).
|
|
9018
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
9019
|
+
* - 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.
|
|
8926
9020
|
*
|
|
8927
9021
|
* @param request - ReadChatFlowRequest
|
|
8928
9022
|
* @returns ReadChatFlowResponse
|
|
@@ -8935,9 +9029,9 @@ class Client extends openapi_core_1.default {
|
|
|
8935
9029
|
* Queries the flow log settings.
|
|
8936
9030
|
*
|
|
8937
9031
|
* @remarks
|
|
8938
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8939
|
-
* - If flow log settings
|
|
8940
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9032
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9033
|
+
* - 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.
|
|
9034
|
+
* - 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.
|
|
8941
9035
|
*
|
|
8942
9036
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8943
9037
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8978,9 +9072,9 @@ class Client extends openapi_core_1.default {
|
|
|
8978
9072
|
* Queries the flow log settings.
|
|
8979
9073
|
*
|
|
8980
9074
|
* @remarks
|
|
8981
|
-
* - Before calling this operation, make sure that flow log settings
|
|
8982
|
-
* - If flow log settings
|
|
8983
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
9075
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
9076
|
+
* - 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.
|
|
9077
|
+
* - 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.
|
|
8984
9078
|
*
|
|
8985
9079
|
* @param request - ReadChatFlowLogSettingRequest
|
|
8986
9080
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -8990,12 +9084,12 @@ class Client extends openapi_core_1.default {
|
|
|
8990
9084
|
return await this.readChatFlowLogSettingWithOptions(request, runtime);
|
|
8991
9085
|
}
|
|
8992
9086
|
/**
|
|
8993
|
-
* Retrieves
|
|
9087
|
+
* Retrieves the flow version.
|
|
8994
9088
|
*
|
|
8995
9089
|
* @remarks
|
|
8996
|
-
* - You can call this operation to query
|
|
8997
|
-
* - Before calling this operation, make sure that you have
|
|
8998
|
-
* - If you do not have a
|
|
9090
|
+
* - 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.
|
|
9091
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9092
|
+
* - 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.
|
|
8999
9093
|
*
|
|
9000
9094
|
* @param tmpReq - ReadFlowVersionRequest
|
|
9001
9095
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9053,12 +9147,12 @@ class Client extends openapi_core_1.default {
|
|
|
9053
9147
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReadFlowVersionResponse({}));
|
|
9054
9148
|
}
|
|
9055
9149
|
/**
|
|
9056
|
-
* Retrieves
|
|
9150
|
+
* Retrieves the flow version.
|
|
9057
9151
|
*
|
|
9058
9152
|
* @remarks
|
|
9059
|
-
* - You can call this operation to query
|
|
9060
|
-
* - Before calling this operation, make sure that you have
|
|
9061
|
-
* - If you do not have a
|
|
9153
|
+
* - 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.
|
|
9154
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
9155
|
+
* - 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.
|
|
9062
9156
|
*
|
|
9063
9157
|
* @param request - ReadFlowVersionRequest
|
|
9064
9158
|
* @returns ReadFlowVersionResponse
|
|
@@ -9119,10 +9213,10 @@ class Client extends openapi_core_1.default {
|
|
|
9119
9213
|
return await this.removeContactByIdWithOptions(request, runtime);
|
|
9120
9214
|
}
|
|
9121
9215
|
/**
|
|
9122
|
-
*
|
|
9216
|
+
* Calls the WhatsApp Conversion API.
|
|
9123
9217
|
*
|
|
9124
9218
|
* @remarks
|
|
9125
|
-
* The
|
|
9219
|
+
* 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.
|
|
9126
9220
|
*
|
|
9127
9221
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
9128
9222
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9171,10 +9265,10 @@ class Client extends openapi_core_1.default {
|
|
|
9171
9265
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RequestWhatsappConversionApiResponse({}));
|
|
9172
9266
|
}
|
|
9173
9267
|
/**
|
|
9174
|
-
*
|
|
9268
|
+
* Calls the WhatsApp Conversion API.
|
|
9175
9269
|
*
|
|
9176
9270
|
* @remarks
|
|
9177
|
-
* The
|
|
9271
|
+
* 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.
|
|
9178
9272
|
*
|
|
9179
9273
|
* @param request - RequestWhatsappConversionApiRequest
|
|
9180
9274
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -9532,11 +9626,11 @@ class Client extends openapi_core_1.default {
|
|
|
9532
9626
|
return await this.submitVerifyCodeResultWithOptions(request, runtime);
|
|
9533
9627
|
}
|
|
9534
9628
|
/**
|
|
9535
|
-
* Synchronizes business app
|
|
9629
|
+
* Synchronizes the history records of a business app.
|
|
9536
9630
|
*
|
|
9537
9631
|
* @remarks
|
|
9538
|
-
* - Before calling this operation, configure
|
|
9539
|
-
* - This operation takes effect only once.
|
|
9632
|
+
* - 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.
|
|
9633
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9540
9634
|
*
|
|
9541
9635
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9542
9636
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9577,11 +9671,11 @@ class Client extends openapi_core_1.default {
|
|
|
9577
9671
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncBusinessAppHistoryResponse({}));
|
|
9578
9672
|
}
|
|
9579
9673
|
/**
|
|
9580
|
-
* Synchronizes business app
|
|
9674
|
+
* Synchronizes the history records of a business app.
|
|
9581
9675
|
*
|
|
9582
9676
|
* @remarks
|
|
9583
|
-
* - Before calling this operation, configure
|
|
9584
|
-
* - This operation takes effect only once.
|
|
9677
|
+
* - 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.
|
|
9678
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
9585
9679
|
*
|
|
9586
9680
|
* @param request - SyncBusinessAppHistoryRequest
|
|
9587
9681
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -9591,7 +9685,7 @@ class Client extends openapi_core_1.default {
|
|
|
9591
9685
|
return await this.syncBusinessAppHistoryWithOptions(request, runtime);
|
|
9592
9686
|
}
|
|
9593
9687
|
/**
|
|
9594
|
-
*
|
|
9688
|
+
* Synchronizes a flow.
|
|
9595
9689
|
*
|
|
9596
9690
|
* @param request - SyncFlowRequest
|
|
9597
9691
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9629,7 +9723,7 @@ class Client extends openapi_core_1.default {
|
|
|
9629
9723
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncFlowResponse({}));
|
|
9630
9724
|
}
|
|
9631
9725
|
/**
|
|
9632
|
-
*
|
|
9726
|
+
* Synchronizes a flow.
|
|
9633
9727
|
*
|
|
9634
9728
|
* @param request - SyncFlowRequest
|
|
9635
9729
|
* @returns SyncFlowResponse
|
|
@@ -9639,7 +9733,7 @@ class Client extends openapi_core_1.default {
|
|
|
9639
9733
|
return await this.syncFlowWithOptions(request, runtime);
|
|
9640
9734
|
}
|
|
9641
9735
|
/**
|
|
9642
|
-
*
|
|
9736
|
+
* Queries the budget synchronously.
|
|
9643
9737
|
*
|
|
9644
9738
|
* @param request - SyncMessageCampaignRequest
|
|
9645
9739
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9680,7 +9774,7 @@ class Client extends openapi_core_1.default {
|
|
|
9680
9774
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SyncMessageCampaignResponse({}));
|
|
9681
9775
|
}
|
|
9682
9776
|
/**
|
|
9683
|
-
*
|
|
9777
|
+
* Queries the budget synchronously.
|
|
9684
9778
|
*
|
|
9685
9779
|
* @param request - SyncMessageCampaignRequest
|
|
9686
9780
|
* @returns SyncMessageCampaignResponse
|
|
@@ -9747,13 +9841,13 @@ class Client extends openapi_core_1.default {
|
|
|
9747
9841
|
return await this.syncMessengerSubscriptionTokenWithOptions(request, runtime);
|
|
9748
9842
|
}
|
|
9749
9843
|
/**
|
|
9750
|
-
* Triggers an online
|
|
9844
|
+
* Triggers an online flow version whose trigger type is manual.
|
|
9751
9845
|
*
|
|
9752
9846
|
* @remarks
|
|
9753
|
-
* - You can call this operation to trigger
|
|
9754
|
-
* - Before
|
|
9755
|
-
* - If
|
|
9756
|
-
* -
|
|
9847
|
+
* - You can call this operation to trigger an online flow version whose trigger type is manual. 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.
|
|
9848
|
+
* - Before calling this operation, ensure that the flow you created has a manual trigger and is online.
|
|
9849
|
+
* - 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 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.
|
|
9850
|
+
* - After you trigger an online flow, if the flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, ensure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
9757
9851
|
*
|
|
9758
9852
|
* @param tmpReq - TriggerChatFlowRequest
|
|
9759
9853
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9811,13 +9905,13 @@ class Client extends openapi_core_1.default {
|
|
|
9811
9905
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TriggerChatFlowResponse({}));
|
|
9812
9906
|
}
|
|
9813
9907
|
/**
|
|
9814
|
-
* Triggers an online
|
|
9908
|
+
* Triggers an online flow version whose trigger type is manual.
|
|
9815
9909
|
*
|
|
9816
9910
|
* @remarks
|
|
9817
|
-
* - You can call this operation to trigger
|
|
9818
|
-
* - Before
|
|
9819
|
-
* - If
|
|
9820
|
-
* -
|
|
9911
|
+
* - You can call this operation to trigger an online flow version whose trigger type is manual. 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.
|
|
9912
|
+
* - Before calling this operation, ensure that the flow you created has a manual trigger and is online.
|
|
9913
|
+
* - 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 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.
|
|
9914
|
+
* - After you trigger an online flow, if the flow contains components that incur fees for corresponding cloud services, such as message sending and function calling, ensure that you fully understand the billing methods and pricing of the related services before you use this operation.
|
|
9821
9915
|
*
|
|
9822
9916
|
* @param request - TriggerChatFlowRequest
|
|
9823
9917
|
* @returns TriggerChatFlowResponse
|
|
@@ -9827,7 +9921,7 @@ class Client extends openapi_core_1.default {
|
|
|
9827
9921
|
return await this.triggerChatFlowWithOptions(request, runtime);
|
|
9828
9922
|
}
|
|
9829
9923
|
/**
|
|
9830
|
-
*
|
|
9924
|
+
* Disassociates an email account.
|
|
9831
9925
|
*
|
|
9832
9926
|
* @param request - UnbindDmAccountRequest
|
|
9833
9927
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9865,7 +9959,7 @@ class Client extends openapi_core_1.default {
|
|
|
9865
9959
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UnbindDmAccountResponse({}));
|
|
9866
9960
|
}
|
|
9867
9961
|
/**
|
|
9868
|
-
*
|
|
9962
|
+
* Disassociates an email account.
|
|
9869
9963
|
*
|
|
9870
9964
|
* @param request - UnbindDmAccountRequest
|
|
9871
9965
|
* @returns UnbindDmAccountResponse
|
|
@@ -10003,9 +10097,9 @@ class Client extends openapi_core_1.default {
|
|
|
10003
10097
|
* Updates the basic information of a flow based on the flow code.
|
|
10004
10098
|
*
|
|
10005
10099
|
* @remarks
|
|
10006
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10007
|
-
* - Before calling this operation,
|
|
10008
|
-
* - If you do not have a
|
|
10100
|
+
* - 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).
|
|
10101
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10102
|
+
* - 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.
|
|
10009
10103
|
*
|
|
10010
10104
|
* @param tmpReq - UpdateChatFlowRequest
|
|
10011
10105
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10063,9 +10157,9 @@ class Client extends openapi_core_1.default {
|
|
|
10063
10157
|
* Updates the basic information of a flow based on the flow code.
|
|
10064
10158
|
*
|
|
10065
10159
|
* @remarks
|
|
10066
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
10067
|
-
* - Before calling this operation,
|
|
10068
|
-
* - If you do not have a
|
|
10160
|
+
* - 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).
|
|
10161
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
10162
|
+
* - 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.
|
|
10069
10163
|
*
|
|
10070
10164
|
* @param request - UpdateChatFlowRequest
|
|
10071
10165
|
* @returns UpdateChatFlowResponse
|
|
@@ -10078,10 +10172,10 @@ class Client extends openapi_core_1.default {
|
|
|
10078
10172
|
* Updates the flow log settings.
|
|
10079
10173
|
*
|
|
10080
10174
|
* @remarks
|
|
10081
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10082
|
-
* - Before
|
|
10083
|
-
* - If you have not created flow log settings for the flow,
|
|
10084
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10175
|
+
* - 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).
|
|
10176
|
+
* - 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.
|
|
10177
|
+
* - 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.
|
|
10178
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10085
10179
|
*
|
|
10086
10180
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10087
10181
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10128,10 +10222,10 @@ class Client extends openapi_core_1.default {
|
|
|
10128
10222
|
* Updates the flow log settings.
|
|
10129
10223
|
*
|
|
10130
10224
|
* @remarks
|
|
10131
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
10132
|
-
* - Before
|
|
10133
|
-
* - If you have not created flow log settings for the flow,
|
|
10134
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
10225
|
+
* - 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).
|
|
10226
|
+
* - 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.
|
|
10227
|
+
* - 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.
|
|
10228
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
10135
10229
|
*
|
|
10136
10230
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
10137
10231
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -10144,10 +10238,10 @@ class Client extends openapi_core_1.default {
|
|
|
10144
10238
|
* Modifies the information of an IM group.
|
|
10145
10239
|
*
|
|
10146
10240
|
* @remarks
|
|
10147
|
-
* >
|
|
10148
|
-
* -
|
|
10149
|
-
* - Before
|
|
10150
|
-
* - If you do not have
|
|
10241
|
+
* <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>
|
|
10242
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10243
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10244
|
+
* - 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.
|
|
10151
10245
|
*
|
|
10152
10246
|
* @param request - UpdateChatGroupRequest
|
|
10153
10247
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10206,10 +10300,10 @@ class Client extends openapi_core_1.default {
|
|
|
10206
10300
|
* Modifies the information of an IM group.
|
|
10207
10301
|
*
|
|
10208
10302
|
* @remarks
|
|
10209
|
-
* >
|
|
10210
|
-
* -
|
|
10211
|
-
* - Before
|
|
10212
|
-
* - If you do not have
|
|
10303
|
+
* <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>
|
|
10304
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
10305
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
10306
|
+
* - 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.
|
|
10213
10307
|
*
|
|
10214
10308
|
* @param request - UpdateChatGroupRequest
|
|
10215
10309
|
* @returns UpdateChatGroupResponse
|
|
@@ -10282,7 +10376,7 @@ class Client extends openapi_core_1.default {
|
|
|
10282
10376
|
return await this.updateCommerceSettingWithOptions(request, runtime);
|
|
10283
10377
|
}
|
|
10284
10378
|
/**
|
|
10285
|
-
*
|
|
10379
|
+
* Updates a contact.
|
|
10286
10380
|
*
|
|
10287
10381
|
* @param tmpReq - UpdateContactByIdRequest
|
|
10288
10382
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10346,7 +10440,7 @@ class Client extends openapi_core_1.default {
|
|
|
10346
10440
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContactByIdResponse({}));
|
|
10347
10441
|
}
|
|
10348
10442
|
/**
|
|
10349
|
-
*
|
|
10443
|
+
* Updates a contact.
|
|
10350
10444
|
*
|
|
10351
10445
|
* @param request - UpdateContactByIdRequest
|
|
10352
10446
|
* @returns UpdateContactByIdResponse
|
|
@@ -10356,12 +10450,12 @@ class Client extends openapi_core_1.default {
|
|
|
10356
10450
|
return await this.updateContactByIdWithOptions(request, runtime);
|
|
10357
10451
|
}
|
|
10358
10452
|
/**
|
|
10359
|
-
* Modifies the welcome message,
|
|
10453
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10360
10454
|
*
|
|
10361
10455
|
* @remarks
|
|
10362
|
-
* ### QPS
|
|
10363
|
-
* The
|
|
10364
|
-
* This
|
|
10456
|
+
* ### QPS limits
|
|
10457
|
+
* 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.
|
|
10458
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10365
10459
|
*
|
|
10366
10460
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
10367
10461
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10419,12 +10513,12 @@ class Client extends openapi_core_1.default {
|
|
|
10419
10513
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConversationalAutomationResponse({}));
|
|
10420
10514
|
}
|
|
10421
10515
|
/**
|
|
10422
|
-
* Modifies the welcome message,
|
|
10516
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
10423
10517
|
*
|
|
10424
10518
|
* @remarks
|
|
10425
|
-
* ### QPS
|
|
10426
|
-
* The
|
|
10427
|
-
* This
|
|
10519
|
+
* ### QPS limits
|
|
10520
|
+
* 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.
|
|
10521
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
10428
10522
|
*
|
|
10429
10523
|
* @param request - UpdateConversationalAutomationRequest
|
|
10430
10524
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -10494,12 +10588,12 @@ class Client extends openapi_core_1.default {
|
|
|
10494
10588
|
return await this.updateFlowJSONAssetWithOptions(request, runtime);
|
|
10495
10589
|
}
|
|
10496
10590
|
/**
|
|
10497
|
-
* Updates the DSL data of a flow version
|
|
10591
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10498
10592
|
*
|
|
10499
10593
|
* @remarks
|
|
10500
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10501
|
-
* - Before calling this operation,
|
|
10502
|
-
* - If you have not created a flow, you can manually create
|
|
10594
|
+
* - 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.
|
|
10595
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10596
|
+
* - 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.
|
|
10503
10597
|
*
|
|
10504
10598
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
10505
10599
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10560,12 +10654,12 @@ class Client extends openapi_core_1.default {
|
|
|
10560
10654
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateFlowVersionResponse({}));
|
|
10561
10655
|
}
|
|
10562
10656
|
/**
|
|
10563
|
-
* Updates the DSL data of a flow version
|
|
10657
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
10564
10658
|
*
|
|
10565
10659
|
* @remarks
|
|
10566
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
10567
|
-
* - Before calling this operation,
|
|
10568
|
-
* - If you have not created a flow, you can manually create
|
|
10660
|
+
* - 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.
|
|
10661
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
10662
|
+
* - 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.
|
|
10569
10663
|
*
|
|
10570
10664
|
* @param request - UpdateFlowVersionRequest
|
|
10571
10665
|
* @returns UpdateFlowVersionResponse
|
|
@@ -10626,7 +10720,7 @@ class Client extends openapi_core_1.default {
|
|
|
10626
10720
|
return await this.updateGroupNameWithOptions(request, runtime);
|
|
10627
10721
|
}
|
|
10628
10722
|
/**
|
|
10629
|
-
*
|
|
10723
|
+
* Modifies an instance.
|
|
10630
10724
|
*
|
|
10631
10725
|
* @param request - UpdateInstanceRequest
|
|
10632
10726
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10679,7 +10773,7 @@ class Client extends openapi_core_1.default {
|
|
|
10679
10773
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateInstanceResponse({}));
|
|
10680
10774
|
}
|
|
10681
10775
|
/**
|
|
10682
|
-
*
|
|
10776
|
+
* Modifies an instance.
|
|
10683
10777
|
*
|
|
10684
10778
|
* @param request - UpdateInstanceRequest
|
|
10685
10779
|
* @returns UpdateInstanceResponse
|
|
@@ -10689,7 +10783,7 @@ class Client extends openapi_core_1.default {
|
|
|
10689
10783
|
return await this.updateInstanceWithOptions(request, runtime);
|
|
10690
10784
|
}
|
|
10691
10785
|
/**
|
|
10692
|
-
*
|
|
10786
|
+
* Updates the marketing campaign information.
|
|
10693
10787
|
*
|
|
10694
10788
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
10695
10789
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10768,7 +10862,7 @@ class Client extends openapi_core_1.default {
|
|
|
10768
10862
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMarketingFLowResponse({}));
|
|
10769
10863
|
}
|
|
10770
10864
|
/**
|
|
10771
|
-
*
|
|
10865
|
+
* Updates the marketing campaign information.
|
|
10772
10866
|
*
|
|
10773
10867
|
* @param request - UpdateMarketingFLowRequest
|
|
10774
10868
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -10781,10 +10875,10 @@ class Client extends openapi_core_1.default {
|
|
|
10781
10875
|
* Updates the encryption public key of a phone number.
|
|
10782
10876
|
*
|
|
10783
10877
|
* @remarks
|
|
10784
|
-
* - Before
|
|
10785
|
-
* - If no phone number has been added
|
|
10878
|
+
* - Before you call this operation, make sure that a phone number has been added to your WhatsApp Business Account (WABA) and has passed phone number verification.
|
|
10879
|
+
* - If no phone number has been added to your WABA, 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 code, and register the phone number.
|
|
10786
10880
|
* #### QPS limit
|
|
10787
|
-
* The
|
|
10881
|
+
* The queries per second (QPS) limit per user is 5. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
10788
10882
|
*
|
|
10789
10883
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10790
10884
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10831,10 +10925,10 @@ class Client extends openapi_core_1.default {
|
|
|
10831
10925
|
* Updates the encryption public key of a phone number.
|
|
10832
10926
|
*
|
|
10833
10927
|
* @remarks
|
|
10834
|
-
* - Before
|
|
10835
|
-
* - If no phone number has been added
|
|
10928
|
+
* - Before you call this operation, make sure that a phone number has been added to your WhatsApp Business Account (WABA) and has passed phone number verification.
|
|
10929
|
+
* - If no phone number has been added to your WABA, 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 code, and register the phone number.
|
|
10836
10930
|
* #### QPS limit
|
|
10837
|
-
* The
|
|
10931
|
+
* The queries per second (QPS) limit per user is 5. If the limit is exceeded, API calls are throttled, which may affect your business. Call this operation at a reasonable frequency.
|
|
10838
10932
|
*
|
|
10839
10933
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
10840
10934
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -11089,7 +11183,7 @@ class Client extends openapi_core_1.default {
|
|
|
11089
11183
|
return await this.updateWhatsappUserNameWithOptions(request, runtime);
|
|
11090
11184
|
}
|
|
11091
11185
|
/**
|
|
11092
|
-
*
|
|
11186
|
+
* Initiates, answers, or hangs up WhatsApp voice calls. The WhatsApp voice call feature is currently available by invitation only. To use this feature, contact your account manager or customer service representative to request whitelist access. The feature is unavailable without whitelist access.
|
|
11093
11187
|
*
|
|
11094
11188
|
* @param tmpReq - WhatsappCallRequest
|
|
11095
11189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11118,6 +11212,9 @@ class Client extends openapi_core_1.default {
|
|
|
11118
11212
|
if (!$dara.isNull(request.ownerId)) {
|
|
11119
11213
|
query["OwnerId"] = request.ownerId;
|
|
11120
11214
|
}
|
|
11215
|
+
if (!$dara.isNull(request.recipientType)) {
|
|
11216
|
+
query["RecipientType"] = request.recipientType;
|
|
11217
|
+
}
|
|
11121
11218
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
11122
11219
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11123
11220
|
}
|
|
@@ -11147,7 +11244,7 @@ class Client extends openapi_core_1.default {
|
|
|
11147
11244
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.WhatsappCallResponse({}));
|
|
11148
11245
|
}
|
|
11149
11246
|
/**
|
|
11150
|
-
*
|
|
11247
|
+
* Initiates, answers, or hangs up WhatsApp voice calls. The WhatsApp voice call feature is currently available by invitation only. To use this feature, contact your account manager or customer service representative to request whitelist access. The feature is unavailable without whitelist access.
|
|
11151
11248
|
*
|
|
11152
11249
|
* @param request - WhatsappCallRequest
|
|
11153
11250
|
* @returns WhatsappCallResponse
|