@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/src/client.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import GatewayClient from '@alicloud/gateway-pop';
|
|
3
4
|
import OpenApi from '@alicloud/openapi-core';
|
|
4
5
|
import { OpenApiUtil, $OpenApiUtil }from '@alicloud/openapi-core';
|
|
5
6
|
|
|
@@ -11,6 +12,9 @@ export default class Client extends OpenApi {
|
|
|
11
12
|
|
|
12
13
|
constructor(config: $OpenApiUtil.Config) {
|
|
13
14
|
super(config);
|
|
15
|
+
this._productId = "cams";
|
|
16
|
+
let gatewayClient = new GatewayClient();
|
|
17
|
+
this._spi = gatewayClient;
|
|
14
18
|
this._endpointRule = "regional";
|
|
15
19
|
this.checkConfig(config);
|
|
16
20
|
this._endpoint = this.getEndpoint("cams", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -30,7 +34,7 @@ export default class Client extends OpenApi {
|
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
/**
|
|
33
|
-
*
|
|
37
|
+
* Applies for a destination change, resumption, or suspension.
|
|
34
38
|
*
|
|
35
39
|
* @param tmpReq - AddAddressRecoverSuspendRequest
|
|
36
40
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -87,7 +91,7 @@ export default class Client extends OpenApi {
|
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
/**
|
|
90
|
-
*
|
|
94
|
+
* Applies for a destination change, resumption, or suspension.
|
|
91
95
|
*
|
|
92
96
|
* @param request - AddAddressRecoverSuspendRequest
|
|
93
97
|
* @returns AddAddressRecoverSuspendResponse
|
|
@@ -98,7 +102,7 @@ export default class Client extends OpenApi {
|
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
/**
|
|
101
|
-
* Registers a Viber account and
|
|
105
|
+
* Registers a Viber account and opens an account.
|
|
102
106
|
*
|
|
103
107
|
* @param tmpReq - AddAuditViberOpenRequest
|
|
104
108
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -155,7 +159,7 @@ export default class Client extends OpenApi {
|
|
|
155
159
|
}
|
|
156
160
|
|
|
157
161
|
/**
|
|
158
|
-
* Registers a Viber account and
|
|
162
|
+
* Registers a Viber account and opens an account.
|
|
159
163
|
*
|
|
160
164
|
* @param request - AddAuditViberOpenRequest
|
|
161
165
|
* @returns AddAuditViberOpenResponse
|
|
@@ -169,10 +173,11 @@ export default class Client extends OpenApi {
|
|
|
169
173
|
* Creates an IM group.
|
|
170
174
|
*
|
|
171
175
|
* @remarks
|
|
172
|
-
* >
|
|
173
|
-
* - You can
|
|
174
|
-
* -
|
|
175
|
-
* -
|
|
176
|
+
* <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>
|
|
177
|
+
* - You can obtain your OBA information from the [Meta official documentation](https://developers.facebook.com/documentation/business-messaging/whatsapp/groups).
|
|
178
|
+
* - You can call this operation to create an IM group. Currently, you can create an IM group only by calling API operations.
|
|
179
|
+
* - 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.
|
|
180
|
+
* - For a group whose channel type is WhatsApp, the maximum number of members is 8.
|
|
176
181
|
*
|
|
177
182
|
* @param request - AddChatGroupRequest
|
|
178
183
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -238,10 +243,11 @@ export default class Client extends OpenApi {
|
|
|
238
243
|
* Creates an IM group.
|
|
239
244
|
*
|
|
240
245
|
* @remarks
|
|
241
|
-
* >
|
|
242
|
-
* - You can
|
|
243
|
-
* -
|
|
244
|
-
* -
|
|
246
|
+
* <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>
|
|
247
|
+
* - You can obtain your OBA information from the [Meta official documentation](https://developers.facebook.com/documentation/business-messaging/whatsapp/groups).
|
|
248
|
+
* - You can call this operation to create an IM group. Currently, you can create an IM group only by calling API operations.
|
|
249
|
+
* - 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.
|
|
250
|
+
* - For a group whose channel type is WhatsApp, the maximum number of members is 8.
|
|
245
251
|
*
|
|
246
252
|
* @param request - AddChatGroupRequest
|
|
247
253
|
* @returns AddChatGroupResponse
|
|
@@ -252,14 +258,14 @@ export default class Client extends OpenApi {
|
|
|
252
258
|
}
|
|
253
259
|
|
|
254
260
|
/**
|
|
255
|
-
*
|
|
261
|
+
* Creates an IM group invitation link.
|
|
256
262
|
*
|
|
257
263
|
* @remarks
|
|
258
|
-
* <notice>The feature
|
|
264
|
+
* <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>
|
|
259
265
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
260
|
-
* - If you
|
|
261
|
-
* - After
|
|
262
|
-
* - Currently, members can only join an IM group by using an
|
|
266
|
+
* - 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.
|
|
267
|
+
* - 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.
|
|
268
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
263
269
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
264
270
|
*
|
|
265
271
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -315,14 +321,14 @@ export default class Client extends OpenApi {
|
|
|
315
321
|
}
|
|
316
322
|
|
|
317
323
|
/**
|
|
318
|
-
*
|
|
324
|
+
* Creates an IM group invitation link.
|
|
319
325
|
*
|
|
320
326
|
* @remarks
|
|
321
|
-
* <notice>The feature
|
|
327
|
+
* <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>
|
|
322
328
|
* - Before calling this API operation, make sure that you have created an IM group.
|
|
323
|
-
* - If you
|
|
324
|
-
* - After
|
|
325
|
-
* - Currently, members can only join an IM group by using an
|
|
329
|
+
* - 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.
|
|
330
|
+
* - 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.
|
|
331
|
+
* - Currently, members can only join an IM group by using an invitation link.
|
|
326
332
|
* - The maximum number of members in a group with the WhatsApp channel type is 8.
|
|
327
333
|
*
|
|
328
334
|
* @param request - AddChatGroupInviteLinkRequest
|
|
@@ -509,7 +515,7 @@ export default class Client extends OpenApi {
|
|
|
509
515
|
* Adds a custom audience.
|
|
510
516
|
*
|
|
511
517
|
* @remarks
|
|
512
|
-
* After
|
|
518
|
+
* 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.
|
|
513
519
|
*
|
|
514
520
|
* @param tmpReq - AddCustomAudienceUserRequest
|
|
515
521
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -585,7 +591,7 @@ export default class Client extends OpenApi {
|
|
|
585
591
|
* Adds a custom audience.
|
|
586
592
|
*
|
|
587
593
|
* @remarks
|
|
588
|
-
* After
|
|
594
|
+
* 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.
|
|
589
595
|
*
|
|
590
596
|
* @param request - AddCustomAudienceUserRequest
|
|
591
597
|
* @returns AddCustomAudienceUserResponse
|
|
@@ -688,7 +694,7 @@ export default class Client extends OpenApi {
|
|
|
688
694
|
}
|
|
689
695
|
|
|
690
696
|
/**
|
|
691
|
-
* Creates a campaign.
|
|
697
|
+
* Creates a marketing campaign.
|
|
692
698
|
*
|
|
693
699
|
* @param tmpReq - AddMarketingFlowRequest
|
|
694
700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -789,7 +795,7 @@ export default class Client extends OpenApi {
|
|
|
789
795
|
}
|
|
790
796
|
|
|
791
797
|
/**
|
|
792
|
-
* Creates a campaign.
|
|
798
|
+
* Creates a marketing campaign.
|
|
793
799
|
*
|
|
794
800
|
* @param request - AddMarketingFlowRequest
|
|
795
801
|
* @returns AddMarketingFlowResponse
|
|
@@ -860,7 +866,7 @@ export default class Client extends OpenApi {
|
|
|
860
866
|
}
|
|
861
867
|
|
|
862
868
|
/**
|
|
863
|
-
*
|
|
869
|
+
* Associates a DM account.
|
|
864
870
|
*
|
|
865
871
|
* @param tmpReq - BindDmAccountRequest
|
|
866
872
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -917,7 +923,7 @@ export default class Client extends OpenApi {
|
|
|
917
923
|
}
|
|
918
924
|
|
|
919
925
|
/**
|
|
920
|
-
*
|
|
926
|
+
* Associates a DM account.
|
|
921
927
|
*
|
|
922
928
|
* @param request - BindDmAccountRequest
|
|
923
929
|
* @returns BindDmAccountResponse
|
|
@@ -928,7 +934,7 @@ export default class Client extends OpenApi {
|
|
|
928
934
|
}
|
|
929
935
|
|
|
930
936
|
/**
|
|
931
|
-
*
|
|
937
|
+
* Binds a page to an instance.
|
|
932
938
|
*
|
|
933
939
|
* @param request - BindInstagramPageRequest
|
|
934
940
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -979,7 +985,7 @@ export default class Client extends OpenApi {
|
|
|
979
985
|
}
|
|
980
986
|
|
|
981
987
|
/**
|
|
982
|
-
*
|
|
988
|
+
* Binds a page to an instance.
|
|
983
989
|
*
|
|
984
990
|
* @param request - BindInstagramPageRequest
|
|
985
991
|
* @returns BindInstagramPageResponse
|
|
@@ -1052,7 +1058,7 @@ export default class Client extends OpenApi {
|
|
|
1052
1058
|
}
|
|
1053
1059
|
|
|
1054
1060
|
/**
|
|
1055
|
-
* Transfers
|
|
1061
|
+
* Transfers resources to another resource group.
|
|
1056
1062
|
*
|
|
1057
1063
|
* @param request - ChangeResourceGroupRequest
|
|
1058
1064
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1091,7 +1097,7 @@ export default class Client extends OpenApi {
|
|
|
1091
1097
|
}
|
|
1092
1098
|
|
|
1093
1099
|
/**
|
|
1094
|
-
* Transfers
|
|
1100
|
+
* Transfers resources to another resource group.
|
|
1095
1101
|
*
|
|
1096
1102
|
* @param request - ChangeResourceGroupRequest
|
|
1097
1103
|
* @returns ChangeResourceGroupResponse
|
|
@@ -1105,7 +1111,7 @@ export default class Client extends OpenApi {
|
|
|
1105
1111
|
* Binds a WABA to the northbound interface.
|
|
1106
1112
|
*
|
|
1107
1113
|
* @remarks
|
|
1108
|
-
* The queries per second (QPS)
|
|
1114
|
+
* 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.
|
|
1109
1115
|
*
|
|
1110
1116
|
* @param request - ChatappBindWabaRequest
|
|
1111
1117
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1114,6 +1120,10 @@ export default class Client extends OpenApi {
|
|
|
1114
1120
|
async chatappBindWabaWithOptions(request: $_model.ChatappBindWabaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ChatappBindWabaResponse> {
|
|
1115
1121
|
request.validate();
|
|
1116
1122
|
let query = { };
|
|
1123
|
+
if (!$dara.isNull(request.currency)) {
|
|
1124
|
+
query["Currency"] = request.currency;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1117
1127
|
if (!$dara.isNull(request.ownerId)) {
|
|
1118
1128
|
query["OwnerId"] = request.ownerId;
|
|
1119
1129
|
}
|
|
@@ -1151,7 +1161,7 @@ export default class Client extends OpenApi {
|
|
|
1151
1161
|
* Binds a WABA to the northbound interface.
|
|
1152
1162
|
*
|
|
1153
1163
|
* @remarks
|
|
1154
|
-
* The queries per second (QPS)
|
|
1164
|
+
* 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.
|
|
1155
1165
|
*
|
|
1156
1166
|
* @param request - ChatappBindWabaRequest
|
|
1157
1167
|
* @returns ChatappBindWabaResponse
|
|
@@ -1165,7 +1175,7 @@ export default class Client extends OpenApi {
|
|
|
1165
1175
|
* Migrates a phone number registration.
|
|
1166
1176
|
*
|
|
1167
1177
|
* @remarks
|
|
1168
|
-
* The queries per second (QPS) limit for
|
|
1178
|
+
* 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.
|
|
1169
1179
|
*
|
|
1170
1180
|
* @param request - ChatappMigrationRegisterRequest
|
|
1171
1181
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1215,7 +1225,7 @@ export default class Client extends OpenApi {
|
|
|
1215
1225
|
* Migrates a phone number registration.
|
|
1216
1226
|
*
|
|
1217
1227
|
* @remarks
|
|
1218
|
-
* The queries per second (QPS) limit for
|
|
1228
|
+
* 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.
|
|
1219
1229
|
*
|
|
1220
1230
|
* @param request - ChatappMigrationRegisterRequest
|
|
1221
1231
|
* @returns ChatappMigrationRegisterResponse
|
|
@@ -1425,7 +1435,7 @@ export default class Client extends OpenApi {
|
|
|
1425
1435
|
* Synchronizes phone number information.
|
|
1426
1436
|
*
|
|
1427
1437
|
* @remarks
|
|
1428
|
-
* The
|
|
1438
|
+
* 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.
|
|
1429
1439
|
*
|
|
1430
1440
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1431
1441
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1471,7 +1481,7 @@ export default class Client extends OpenApi {
|
|
|
1471
1481
|
* Synchronizes phone number information.
|
|
1472
1482
|
*
|
|
1473
1483
|
* @remarks
|
|
1474
|
-
* The
|
|
1484
|
+
* 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.
|
|
1475
1485
|
*
|
|
1476
1486
|
* @param request - ChatappSyncPhoneNumberRequest
|
|
1477
1487
|
* @returns ChatappSyncPhoneNumberResponse
|
|
@@ -1683,8 +1693,8 @@ export default class Client extends OpenApi {
|
|
|
1683
1693
|
* Creates a flow.
|
|
1684
1694
|
*
|
|
1685
1695
|
* @remarks
|
|
1686
|
-
* - You can
|
|
1687
|
-
* - After
|
|
1696
|
+
* - 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.
|
|
1697
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1688
1698
|
*
|
|
1689
1699
|
* @param tmpReq - CreateChatFlowRequest
|
|
1690
1700
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1776,8 +1786,8 @@ export default class Client extends OpenApi {
|
|
|
1776
1786
|
* Creates a flow.
|
|
1777
1787
|
*
|
|
1778
1788
|
* @remarks
|
|
1779
|
-
* - You can
|
|
1780
|
-
* - After
|
|
1789
|
+
* - 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.
|
|
1790
|
+
* - After creating a flow, refer to [Flow Editor component description](https://help.aliyun.com/document_detail/2836818.html) for canvas orchestration.
|
|
1781
1791
|
*
|
|
1782
1792
|
* @param request - CreateChatFlowRequest
|
|
1783
1793
|
* @returns CreateChatFlowResponse
|
|
@@ -1791,9 +1801,9 @@ export default class Client extends OpenApi {
|
|
|
1791
1801
|
* Creates and imports a flow.
|
|
1792
1802
|
*
|
|
1793
1803
|
* @remarks
|
|
1794
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1795
|
-
* - Before calling this operation,
|
|
1796
|
-
* - If you do not have exported flow DSL data,
|
|
1804
|
+
* - 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).
|
|
1805
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1806
|
+
* - 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.
|
|
1797
1807
|
*
|
|
1798
1808
|
* @param tmpReq - CreateChatFlowByImportRequest
|
|
1799
1809
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1861,9 +1871,9 @@ export default class Client extends OpenApi {
|
|
|
1861
1871
|
* Creates and imports a flow.
|
|
1862
1872
|
*
|
|
1863
1873
|
* @remarks
|
|
1864
|
-
* - You can call this operation to create and import a flow, or manually create and import a flow in the [
|
|
1865
|
-
* - Before calling this operation,
|
|
1866
|
-
* - If you do not have exported flow DSL data,
|
|
1874
|
+
* - 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).
|
|
1875
|
+
* - Before calling this operation, ensure that you have the exported flow DSL data.
|
|
1876
|
+
* - 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.
|
|
1867
1877
|
*
|
|
1868
1878
|
* @param request - CreateChatFlowByImportRequest
|
|
1869
1879
|
* @returns CreateChatFlowByImportResponse
|
|
@@ -1874,13 +1884,13 @@ export default class Client extends OpenApi {
|
|
|
1874
1884
|
}
|
|
1875
1885
|
|
|
1876
1886
|
/**
|
|
1877
|
-
* Creates
|
|
1887
|
+
* Creates chat flow log settings.
|
|
1878
1888
|
*
|
|
1879
1889
|
* @remarks
|
|
1880
|
-
* - To update
|
|
1881
|
-
* - If you do not need to update
|
|
1882
|
-
* - Before
|
|
1883
|
-
* - If
|
|
1890
|
+
* - 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.
|
|
1891
|
+
* - 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).
|
|
1892
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1893
|
+
* - 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.
|
|
1884
1894
|
*
|
|
1885
1895
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1886
1896
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1923,13 +1933,13 @@ export default class Client extends OpenApi {
|
|
|
1923
1933
|
}
|
|
1924
1934
|
|
|
1925
1935
|
/**
|
|
1926
|
-
* Creates
|
|
1936
|
+
* Creates chat flow log settings.
|
|
1927
1937
|
*
|
|
1928
1938
|
* @remarks
|
|
1929
|
-
* - To update
|
|
1930
|
-
* - If you do not need to update
|
|
1931
|
-
* - Before
|
|
1932
|
-
* - If
|
|
1939
|
+
* - 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.
|
|
1940
|
+
* - 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).
|
|
1941
|
+
* - Before you call this operation, make sure that a chat flow is created.
|
|
1942
|
+
* - 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.
|
|
1933
1943
|
*
|
|
1934
1944
|
* @param request - CreateChatFlowLogSettingRequest
|
|
1935
1945
|
* @returns CreateChatFlowLogSettingResponse
|
|
@@ -2008,11 +2018,11 @@ export default class Client extends OpenApi {
|
|
|
2008
2018
|
}
|
|
2009
2019
|
|
|
2010
2020
|
/**
|
|
2011
|
-
* Creates a message template.
|
|
2021
|
+
* Creates a message template. Messages can be sent after the template is approved.
|
|
2012
2022
|
*
|
|
2013
2023
|
* @remarks
|
|
2014
2024
|
* ### QPS limit
|
|
2015
|
-
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2025
|
+
* 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.
|
|
2016
2026
|
* ### Status changes
|
|
2017
2027
|
* 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).
|
|
2018
2028
|
*
|
|
@@ -2103,11 +2113,11 @@ export default class Client extends OpenApi {
|
|
|
2103
2113
|
}
|
|
2104
2114
|
|
|
2105
2115
|
/**
|
|
2106
|
-
* Creates a message template.
|
|
2116
|
+
* Creates a message template. Messages can be sent after the template is approved.
|
|
2107
2117
|
*
|
|
2108
2118
|
* @remarks
|
|
2109
2119
|
* ### QPS limit
|
|
2110
|
-
* The QPS limit for a single user calling this API operation is 50. If the limit is exceeded, API calls are throttled, which may affect your business. Call this API operation at a reasonable rate.
|
|
2120
|
+
* 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.
|
|
2111
2121
|
* ### Status changes
|
|
2112
2122
|
* 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).
|
|
2113
2123
|
*
|
|
@@ -2279,9 +2289,9 @@ export default class Client extends OpenApi {
|
|
|
2279
2289
|
* Creates a new flow version by copying an existing flow version.
|
|
2280
2290
|
*
|
|
2281
2291
|
* @remarks
|
|
2282
|
-
* - You can call this operation to create a new flow version,
|
|
2283
|
-
* - Before calling this operation,
|
|
2284
|
-
* - If you
|
|
2292
|
+
* - 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.
|
|
2293
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2294
|
+
* - 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.
|
|
2285
2295
|
*
|
|
2286
2296
|
* @param tmpReq - CreateFlowVersionRequest
|
|
2287
2297
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2349,9 +2359,9 @@ export default class Client extends OpenApi {
|
|
|
2349
2359
|
* Creates a new flow version by copying an existing flow version.
|
|
2350
2360
|
*
|
|
2351
2361
|
* @remarks
|
|
2352
|
-
* - You can call this operation to create a new flow version,
|
|
2353
|
-
* - Before calling this operation,
|
|
2354
|
-
* - If you
|
|
2362
|
+
* - 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.
|
|
2363
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
2364
|
+
* - 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.
|
|
2355
2365
|
*
|
|
2356
2366
|
* @param request - CreateFlowVersionRequest
|
|
2357
2367
|
* @returns CreateFlowVersionResponse
|
|
@@ -2514,7 +2524,7 @@ export default class Client extends OpenApi {
|
|
|
2514
2524
|
}
|
|
2515
2525
|
|
|
2516
2526
|
/**
|
|
2517
|
-
* Authorizes an embedded
|
|
2527
|
+
* Authorizes an embedded Messenger.
|
|
2518
2528
|
*
|
|
2519
2529
|
* @param tmpReq - CreateMessengerPageRequest
|
|
2520
2530
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2579,7 +2589,7 @@ export default class Client extends OpenApi {
|
|
|
2579
2589
|
}
|
|
2580
2590
|
|
|
2581
2591
|
/**
|
|
2582
|
-
* Authorizes an embedded
|
|
2592
|
+
* Authorizes an embedded Messenger.
|
|
2583
2593
|
*
|
|
2584
2594
|
* @param request - CreateMessengerPageRequest
|
|
2585
2595
|
* @returns CreateMessengerPageResponse
|
|
@@ -2676,7 +2686,7 @@ export default class Client extends OpenApi {
|
|
|
2676
2686
|
}
|
|
2677
2687
|
|
|
2678
2688
|
/**
|
|
2679
|
-
* Retrieves
|
|
2689
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2680
2690
|
*
|
|
2681
2691
|
* @param tmpReq - CreateWhatsappConversionApiRequest
|
|
2682
2692
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2733,7 +2743,7 @@ export default class Client extends OpenApi {
|
|
|
2733
2743
|
}
|
|
2734
2744
|
|
|
2735
2745
|
/**
|
|
2736
|
-
* Retrieves
|
|
2746
|
+
* Retrieves the page ID based on the embedded code and stores it in the database.
|
|
2737
2747
|
*
|
|
2738
2748
|
* @param request - CreateWhatsappConversionApiRequest
|
|
2739
2749
|
* @returns CreateWhatsappConversionApiResponse
|
|
@@ -2747,8 +2757,8 @@ export default class Client extends OpenApi {
|
|
|
2747
2757
|
* Deletes a flow.
|
|
2748
2758
|
*
|
|
2749
2759
|
* @remarks
|
|
2750
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2751
|
-
* - Before deleting a flow, make sure the flow
|
|
2760
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2761
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2752
2762
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2753
2763
|
*
|
|
2754
2764
|
* @param tmpReq - DeleteChatFlowRequest
|
|
@@ -2809,8 +2819,8 @@ export default class Client extends OpenApi {
|
|
|
2809
2819
|
* Deletes a flow.
|
|
2810
2820
|
*
|
|
2811
2821
|
* @remarks
|
|
2812
|
-
* - You can call this operation to delete a flow, or manually delete
|
|
2813
|
-
* - Before deleting a flow, make sure the flow
|
|
2822
|
+
* - You can call this operation to delete a flow, or manually delete it in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
2823
|
+
* - Before deleting a flow, make sure that the flow is offline.
|
|
2814
2824
|
* - A deleted flow cannot be recovered. Proceed with caution.
|
|
2815
2825
|
*
|
|
2816
2826
|
* @param request - DeleteChatFlowRequest
|
|
@@ -2822,13 +2832,13 @@ export default class Client extends OpenApi {
|
|
|
2822
2832
|
}
|
|
2823
2833
|
|
|
2824
2834
|
/**
|
|
2825
|
-
* Deletes
|
|
2835
|
+
* Deletes an existing IM group.
|
|
2826
2836
|
*
|
|
2827
2837
|
* @remarks
|
|
2828
|
-
* >
|
|
2829
|
-
* - Before calling this operation, make sure that you have
|
|
2830
|
-
* - If you do not have
|
|
2831
|
-
* -
|
|
2838
|
+
* <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>
|
|
2839
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2840
|
+
* - 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.
|
|
2841
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2832
2842
|
*
|
|
2833
2843
|
* @param request - DeleteChatGroupRequest
|
|
2834
2844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2883,13 +2893,13 @@ export default class Client extends OpenApi {
|
|
|
2883
2893
|
}
|
|
2884
2894
|
|
|
2885
2895
|
/**
|
|
2886
|
-
* Deletes
|
|
2896
|
+
* Deletes an existing IM group.
|
|
2887
2897
|
*
|
|
2888
2898
|
* @remarks
|
|
2889
|
-
* >
|
|
2890
|
-
* - Before calling this operation, make sure that you have
|
|
2891
|
-
* - If you do not have
|
|
2892
|
-
* -
|
|
2899
|
+
* <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>
|
|
2900
|
+
* - Before calling this operation, make sure that you have created an IM group.
|
|
2901
|
+
* - 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.
|
|
2902
|
+
* - An IM group cannot be recovered after it is deleted. Proceed with caution.
|
|
2893
2903
|
*
|
|
2894
2904
|
* @param request - DeleteChatGroupRequest
|
|
2895
2905
|
* @returns DeleteChatGroupResponse
|
|
@@ -2900,13 +2910,13 @@ export default class Client extends OpenApi {
|
|
|
2900
2910
|
}
|
|
2901
2911
|
|
|
2902
2912
|
/**
|
|
2903
|
-
* Deletes an IM group
|
|
2913
|
+
* Deletes an IM group invite link.
|
|
2904
2914
|
*
|
|
2905
2915
|
* @remarks
|
|
2906
|
-
* >Notice: The
|
|
2907
|
-
* - Before
|
|
2908
|
-
* - If you do not have
|
|
2909
|
-
* - After
|
|
2916
|
+
* >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>
|
|
2917
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2918
|
+
* - 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.
|
|
2919
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2910
2920
|
*
|
|
2911
2921
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2912
2922
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2961,13 +2971,13 @@ export default class Client extends OpenApi {
|
|
|
2961
2971
|
}
|
|
2962
2972
|
|
|
2963
2973
|
/**
|
|
2964
|
-
* Deletes an IM group
|
|
2974
|
+
* Deletes an IM group invite link.
|
|
2965
2975
|
*
|
|
2966
2976
|
* @remarks
|
|
2967
|
-
* >Notice: The
|
|
2968
|
-
* - Before
|
|
2969
|
-
* - If you do not have
|
|
2970
|
-
* - After
|
|
2977
|
+
* >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>
|
|
2978
|
+
* - Before you call this operation, make sure that an IM group invite link has been added to the IM group you created.
|
|
2979
|
+
* - 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.
|
|
2980
|
+
* - After the IM group invite link is deleted, the IM group cannot invite members. Proceed with caution.
|
|
2971
2981
|
*
|
|
2972
2982
|
* @param request - DeleteChatGroupInviteLinkRequest
|
|
2973
2983
|
* @returns DeleteChatGroupInviteLinkResponse
|
|
@@ -2981,11 +2991,10 @@ export default class Client extends OpenApi {
|
|
|
2981
2991
|
* Removes members from an IM group.
|
|
2982
2992
|
*
|
|
2983
2993
|
* @remarks
|
|
2984
|
-
* >Notice:
|
|
2985
|
-
*
|
|
2986
|
-
* -
|
|
2987
|
-
* -
|
|
2988
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
2994
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
2995
|
+
* - 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.
|
|
2996
|
+
* - 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.
|
|
2997
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
2989
2998
|
*
|
|
2990
2999
|
* @param tmpReq - DeleteChatGroupParticipantsRequest
|
|
2991
3000
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3053,11 +3062,10 @@ export default class Client extends OpenApi {
|
|
|
3053
3062
|
* Removes members from an IM group.
|
|
3054
3063
|
*
|
|
3055
3064
|
* @remarks
|
|
3056
|
-
* >Notice:
|
|
3057
|
-
*
|
|
3058
|
-
* -
|
|
3059
|
-
* -
|
|
3060
|
-
* - Removed members no longer receive messages from the group. Use this operation with caution.
|
|
3065
|
+
* >Notice: The feature of removing IM group members through the API is a Meta beta feature. Contact your account manager to request whitelist access.
|
|
3066
|
+
* - 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.
|
|
3067
|
+
* - 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.
|
|
3068
|
+
* - After a member is removed from an IM group, the member no longer receives any messages from the group. Proceed with caution.
|
|
3061
3069
|
*
|
|
3062
3070
|
* @param request - DeleteChatGroupParticipantsRequest
|
|
3063
3071
|
* @returns DeleteChatGroupParticipantsResponse
|
|
@@ -3234,7 +3242,7 @@ export default class Client extends OpenApi {
|
|
|
3234
3242
|
}
|
|
3235
3243
|
|
|
3236
3244
|
/**
|
|
3237
|
-
* Deletes contacts
|
|
3245
|
+
* Deletes contacts.
|
|
3238
3246
|
*
|
|
3239
3247
|
* @param request - DeleteContactsByIdsRequest
|
|
3240
3248
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3277,7 +3285,7 @@ export default class Client extends OpenApi {
|
|
|
3277
3285
|
}
|
|
3278
3286
|
|
|
3279
3287
|
/**
|
|
3280
|
-
* Deletes contacts
|
|
3288
|
+
* Deletes contacts.
|
|
3281
3289
|
*
|
|
3282
3290
|
* @param request - DeleteContactsByIdsRequest
|
|
3283
3291
|
* @returns DeleteContactsByIdsResponse
|
|
@@ -3288,10 +3296,10 @@ export default class Client extends OpenApi {
|
|
|
3288
3296
|
}
|
|
3289
3297
|
|
|
3290
3298
|
/**
|
|
3291
|
-
* Deletes a
|
|
3299
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
3292
3300
|
*
|
|
3293
3301
|
* @remarks
|
|
3294
|
-
* The
|
|
3302
|
+
* 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.
|
|
3295
3303
|
*
|
|
3296
3304
|
* @param request - DeleteFlowRequest
|
|
3297
3305
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3338,10 +3346,10 @@ export default class Client extends OpenApi {
|
|
|
3338
3346
|
}
|
|
3339
3347
|
|
|
3340
3348
|
/**
|
|
3341
|
-
* Deletes a
|
|
3349
|
+
* Deletes a flow. Only flows in the DRAFT state can be deleted.
|
|
3342
3350
|
*
|
|
3343
3351
|
* @remarks
|
|
3344
|
-
* The
|
|
3352
|
+
* 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.
|
|
3345
3353
|
*
|
|
3346
3354
|
* @param request - DeleteFlowRequest
|
|
3347
3355
|
* @returns DeleteFlowResponse
|
|
@@ -3355,10 +3363,10 @@ export default class Client extends OpenApi {
|
|
|
3355
3363
|
* Deletes a flow version.
|
|
3356
3364
|
*
|
|
3357
3365
|
* @remarks
|
|
3358
|
-
* - You can call this operation to delete a flow version, or click
|
|
3359
|
-
* - Before calling this operation,
|
|
3360
|
-
* - If
|
|
3361
|
-
* - After a flow version is deleted, the canvas flow
|
|
3366
|
+
* - 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.
|
|
3367
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
3368
|
+
* - 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.
|
|
3369
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
3362
3370
|
*
|
|
3363
3371
|
* @param tmpReq - DeleteFlowVersionRequest
|
|
3364
3372
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3422,10 +3430,10 @@ export default class Client extends OpenApi {
|
|
|
3422
3430
|
* Deletes a flow version.
|
|
3423
3431
|
*
|
|
3424
3432
|
* @remarks
|
|
3425
|
-
* - You can call this operation to delete a flow version, or click
|
|
3426
|
-
* - Before calling this operation,
|
|
3427
|
-
* - If
|
|
3428
|
-
* - After a flow version is deleted, the canvas flow
|
|
3433
|
+
* - 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.
|
|
3434
|
+
* - Before calling this operation, ensure that the flow version is offline and that at least two flow versions are available.
|
|
3435
|
+
* - 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.
|
|
3436
|
+
* - After a flow version is deleted, the orchestrated canvas flow cannot be recovered. Proceed with caution.
|
|
3429
3437
|
*
|
|
3430
3438
|
* @param request - DeleteFlowVersionRequest
|
|
3431
3439
|
* @returns DeleteFlowVersionResponse
|
|
@@ -3490,7 +3498,7 @@ export default class Client extends OpenApi {
|
|
|
3490
3498
|
}
|
|
3491
3499
|
|
|
3492
3500
|
/**
|
|
3493
|
-
* Deletes a page
|
|
3501
|
+
* Deletes a page of an instance.
|
|
3494
3502
|
*
|
|
3495
3503
|
* @param request - DeleteInstagramPageRequest
|
|
3496
3504
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3537,7 +3545,7 @@ export default class Client extends OpenApi {
|
|
|
3537
3545
|
}
|
|
3538
3546
|
|
|
3539
3547
|
/**
|
|
3540
|
-
* Deletes a page
|
|
3548
|
+
* Deletes a page of an instance.
|
|
3541
3549
|
*
|
|
3542
3550
|
* @param request - DeleteInstagramPageRequest
|
|
3543
3551
|
* @returns DeleteInstagramPageResponse
|
|
@@ -3548,7 +3556,7 @@ export default class Client extends OpenApi {
|
|
|
3548
3556
|
}
|
|
3549
3557
|
|
|
3550
3558
|
/**
|
|
3551
|
-
* Deletes
|
|
3559
|
+
* Deletes an instance.
|
|
3552
3560
|
*
|
|
3553
3561
|
* @param request - DeleteInstanceRequest
|
|
3554
3562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3579,7 +3587,7 @@ export default class Client extends OpenApi {
|
|
|
3579
3587
|
}
|
|
3580
3588
|
|
|
3581
3589
|
/**
|
|
3582
|
-
* Deletes
|
|
3590
|
+
* Deletes an instance.
|
|
3583
3591
|
*
|
|
3584
3592
|
* @param request - DeleteInstanceRequest
|
|
3585
3593
|
* @returns DeleteInstanceResponse
|
|
@@ -3648,7 +3656,7 @@ export default class Client extends OpenApi {
|
|
|
3648
3656
|
}
|
|
3649
3657
|
|
|
3650
3658
|
/**
|
|
3651
|
-
* Deletes the budget for
|
|
3659
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3652
3660
|
*
|
|
3653
3661
|
* @param request - DeleteMessageCampaignRequest
|
|
3654
3662
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3703,7 +3711,7 @@ export default class Client extends OpenApi {
|
|
|
3703
3711
|
}
|
|
3704
3712
|
|
|
3705
3713
|
/**
|
|
3706
|
-
* Deletes the budget for
|
|
3714
|
+
* Deletes the campaign budget created for sending Messenger messages.
|
|
3707
3715
|
*
|
|
3708
3716
|
* @param request - DeleteMessageCampaignRequest
|
|
3709
3717
|
* @returns DeleteMessageCampaignResponse
|
|
@@ -3714,7 +3722,7 @@ export default class Client extends OpenApi {
|
|
|
3714
3722
|
}
|
|
3715
3723
|
|
|
3716
3724
|
/**
|
|
3717
|
-
* Deletes
|
|
3725
|
+
* Deletes a Messenger page.
|
|
3718
3726
|
*
|
|
3719
3727
|
* @param request - DeleteMessengerPageRequest
|
|
3720
3728
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3761,7 +3769,7 @@ export default class Client extends OpenApi {
|
|
|
3761
3769
|
}
|
|
3762
3770
|
|
|
3763
3771
|
/**
|
|
3764
|
-
* Deletes
|
|
3772
|
+
* Deletes a Messenger page.
|
|
3765
3773
|
*
|
|
3766
3774
|
* @param request - DeleteMessengerPageRequest
|
|
3767
3775
|
* @returns DeleteMessengerPageResponse
|
|
@@ -4030,15 +4038,15 @@ export default class Client extends OpenApi {
|
|
|
4030
4038
|
}
|
|
4031
4039
|
|
|
4032
4040
|
/**
|
|
4033
|
-
*
|
|
4041
|
+
* Associates a phone number or business account ID with a flow.
|
|
4034
4042
|
*
|
|
4035
4043
|
* @remarks
|
|
4036
|
-
* - You can call this operation to
|
|
4037
|
-
* - Before
|
|
4038
|
-
* - For the WhatsApp channel type,
|
|
4039
|
-
* - For the Messenger channel type,
|
|
4040
|
-
* - For the Instagram channel type,
|
|
4041
|
-
* <props="intl">- For the Viber channel type,
|
|
4044
|
+
* - 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).
|
|
4045
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
4046
|
+
* - 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).
|
|
4047
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4048
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4049
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
4042
4050
|
*
|
|
4043
4051
|
* @param tmpReq - FlowBindPhoneRequest
|
|
4044
4052
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4115,15 +4123,15 @@ export default class Client extends OpenApi {
|
|
|
4115
4123
|
}
|
|
4116
4124
|
|
|
4117
4125
|
/**
|
|
4118
|
-
*
|
|
4126
|
+
* Associates a phone number or business account ID with a flow.
|
|
4119
4127
|
*
|
|
4120
4128
|
* @remarks
|
|
4121
|
-
* - You can call this operation to
|
|
4122
|
-
* - Before
|
|
4123
|
-
* - For the WhatsApp channel type,
|
|
4124
|
-
* - For the Messenger channel type,
|
|
4125
|
-
* - For the Instagram channel type,
|
|
4126
|
-
* <props="intl">- For the Viber channel type,
|
|
4129
|
+
* - 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).
|
|
4130
|
+
* - Before you call this operation, ensure that you have created a flow and a message channel of the corresponding flow type.
|
|
4131
|
+
* - 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).
|
|
4132
|
+
* - For the Messenger channel type, you must have [connected a Page account](https://help.aliyun.com/document_detail/2837713.html).
|
|
4133
|
+
* - For the Instagram channel type, you must have [connected a professional account](https://help.aliyun.com/document_detail/2837720.html).
|
|
4134
|
+
* <props="intl">- For the Viber channel type, you must have [applied for a service account](https://help.aliyun.com/document_detail/2807995.html).
|
|
4127
4135
|
*
|
|
4128
4136
|
* @param request - FlowBindPhoneRequest
|
|
4129
4137
|
* @returns FlowBindPhoneResponse
|
|
@@ -4134,12 +4142,12 @@ export default class Client extends OpenApi {
|
|
|
4134
4142
|
}
|
|
4135
4143
|
|
|
4136
4144
|
/**
|
|
4137
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
4145
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
4138
4146
|
*
|
|
4139
4147
|
* @remarks
|
|
4140
|
-
* -
|
|
4141
|
-
* - Before calling this operation,
|
|
4142
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
4148
|
+
* - 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).
|
|
4149
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
4150
|
+
* - 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.
|
|
4143
4151
|
*
|
|
4144
4152
|
* @param tmpReq - FlowRebindPhoneRequest
|
|
4145
4153
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4216,12 +4224,12 @@ export default class Client extends OpenApi {
|
|
|
4216
4224
|
}
|
|
4217
4225
|
|
|
4218
4226
|
/**
|
|
4219
|
-
* Rebinds a phone number or merchant account ID to a flow.
|
|
4227
|
+
* Rebinds a phone number or a merchant account ID to a flow.
|
|
4220
4228
|
*
|
|
4221
4229
|
* @remarks
|
|
4222
|
-
* -
|
|
4223
|
-
* - Before calling this operation,
|
|
4224
|
-
* - If you are binding a phone number or merchant account ID to a flow for the first time,
|
|
4230
|
+
* - 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).
|
|
4231
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or a merchant account ID.
|
|
4232
|
+
* - 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.
|
|
4225
4233
|
*
|
|
4226
4234
|
* @param request - FlowRebindPhoneRequest
|
|
4227
4235
|
* @returns FlowRebindPhoneResponse
|
|
@@ -4235,11 +4243,11 @@ export default class Client extends OpenApi {
|
|
|
4235
4243
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
4236
4244
|
*
|
|
4237
4245
|
* @remarks
|
|
4238
|
-
* - Before you call this operation,
|
|
4246
|
+
* - 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.
|
|
4239
4247
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4240
|
-
* - Before you call this operation,
|
|
4241
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation
|
|
4242
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
4248
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
4249
|
+
* - 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.
|
|
4250
|
+
* - 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.
|
|
4243
4251
|
*
|
|
4244
4252
|
* @param tmpReq - FlowUnbindPhoneRequest
|
|
4245
4253
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4303,11 +4311,11 @@ export default class Client extends OpenApi {
|
|
|
4303
4311
|
* Dissociates a phone number or merchant account ID from a flow.
|
|
4304
4312
|
*
|
|
4305
4313
|
* @remarks
|
|
4306
|
-
* - Before you call this operation,
|
|
4314
|
+
* - 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.
|
|
4307
4315
|
* - You can call this operation to dissociate a phone number or merchant account ID from a flow, or manually dissociate it on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder).
|
|
4308
|
-
* - Before you call this operation,
|
|
4309
|
-
* - If no phone number or merchant account ID is associated, you can manually associate one on the **Settings** page in the [**Flow Editor**](https://chatapp.console.aliyun.com/ChatFlowBuilder) or call the [FlowBindPhone](https://help.aliyun.com/document_detail/2937190.html) operation
|
|
4310
|
-
* - After a phone number or merchant account ID is dissociated from a flow, the flow cannot be taken online. You must
|
|
4316
|
+
* - Before you call this operation, ensure that a phone number or merchant account ID is associated with the flow you created.
|
|
4317
|
+
* - 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.
|
|
4318
|
+
* - 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.
|
|
4311
4319
|
*
|
|
4312
4320
|
* @param request - FlowUnbindPhoneRequest
|
|
4313
4321
|
* @returns FlowUnbindPhoneResponse
|
|
@@ -4372,7 +4380,7 @@ export default class Client extends OpenApi {
|
|
|
4372
4380
|
}
|
|
4373
4381
|
|
|
4374
4382
|
/**
|
|
4375
|
-
* Queries pending review
|
|
4383
|
+
* Queries personal pending review requests by type.
|
|
4376
4384
|
*
|
|
4377
4385
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4378
4386
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4419,7 +4427,7 @@ export default class Client extends OpenApi {
|
|
|
4419
4427
|
}
|
|
4420
4428
|
|
|
4421
4429
|
/**
|
|
4422
|
-
* Queries pending review
|
|
4430
|
+
* Queries personal pending review requests by type.
|
|
4423
4431
|
*
|
|
4424
4432
|
* @param request - GetAuditRequestByTypeUnAuditRequest
|
|
4425
4433
|
* @returns GetAuditRequestByTypeUnAuditResponse
|
|
@@ -4483,10 +4491,10 @@ export default class Client extends OpenApi {
|
|
|
4483
4491
|
* Retrieves ChatFlow runtime data.
|
|
4484
4492
|
*
|
|
4485
4493
|
* @remarks
|
|
4486
|
-
* - Before calling this operation,
|
|
4487
|
-
* - If your flow is not online,
|
|
4488
|
-
* - For flows with a manual trigger
|
|
4489
|
-
* -
|
|
4494
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
4495
|
+
* - 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.
|
|
4496
|
+
* - 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.
|
|
4497
|
+
* - 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.
|
|
4490
4498
|
*
|
|
4491
4499
|
* @param tmpReq - GetChatFlowMetricRequest
|
|
4492
4500
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4570,10 +4578,10 @@ export default class Client extends OpenApi {
|
|
|
4570
4578
|
* Retrieves ChatFlow runtime data.
|
|
4571
4579
|
*
|
|
4572
4580
|
* @remarks
|
|
4573
|
-
* - Before calling this operation,
|
|
4574
|
-
* - If your flow is not online,
|
|
4575
|
-
* - For flows with a manual trigger
|
|
4576
|
-
* -
|
|
4581
|
+
* - Before calling this operation, ensure that the flow you created is online and has been triggered.
|
|
4582
|
+
* - 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.
|
|
4583
|
+
* - 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.
|
|
4584
|
+
* - 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.
|
|
4577
4585
|
*
|
|
4578
4586
|
* @param request - GetChatFlowMetricRequest
|
|
4579
4587
|
* @returns GetChatFlowMetricResponse
|
|
@@ -4587,8 +4595,8 @@ export default class Client extends OpenApi {
|
|
|
4587
4595
|
* Queries the details of a flow template.
|
|
4588
4596
|
*
|
|
4589
4597
|
* @remarks
|
|
4590
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4591
|
-
* - After you view template details by clicking the template name on the **
|
|
4598
|
+
* - 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.
|
|
4599
|
+
* - 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.
|
|
4592
4600
|
*
|
|
4593
4601
|
* @param request - GetChatFlowTemplateRequest
|
|
4594
4602
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4638,8 +4646,8 @@ export default class Client extends OpenApi {
|
|
|
4638
4646
|
* Queries the details of a flow template.
|
|
4639
4647
|
*
|
|
4640
4648
|
* @remarks
|
|
4641
|
-
* - You can call this operation to query the details of a flow template. You can also
|
|
4642
|
-
* - After you view template details by clicking the template name on the **
|
|
4649
|
+
* - 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.
|
|
4650
|
+
* - 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.
|
|
4643
4651
|
*
|
|
4644
4652
|
* @param request - GetChatFlowTemplateRequest
|
|
4645
4653
|
* @returns GetChatFlowTemplateResponse
|
|
@@ -4790,7 +4798,7 @@ export default class Client extends OpenApi {
|
|
|
4790
4798
|
}
|
|
4791
4799
|
|
|
4792
4800
|
/**
|
|
4793
|
-
* Retrieves other
|
|
4801
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4794
4802
|
*
|
|
4795
4803
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4796
4804
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4837,7 +4845,7 @@ export default class Client extends OpenApi {
|
|
|
4837
4845
|
}
|
|
4838
4846
|
|
|
4839
4847
|
/**
|
|
4840
|
-
* Retrieves other
|
|
4848
|
+
* Retrieves other control settings for a Chatapp phone number.
|
|
4841
4849
|
*
|
|
4842
4850
|
* @param request - GetChatappPhoneNumberSettingRequest
|
|
4843
4851
|
* @returns GetChatappPhoneNumberSettingResponse
|
|
@@ -4851,8 +4859,8 @@ export default class Client extends OpenApi {
|
|
|
4851
4859
|
* Retrieves the details of a Chat App message template.
|
|
4852
4860
|
*
|
|
4853
4861
|
* @remarks
|
|
4854
|
-
* ###
|
|
4855
|
-
* The queries per second (QPS)
|
|
4862
|
+
* ### Rate limit
|
|
4863
|
+
* 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.
|
|
4856
4864
|
*
|
|
4857
4865
|
* @param request - GetChatappTemplateDetailRequest
|
|
4858
4866
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4910,8 +4918,8 @@ export default class Client extends OpenApi {
|
|
|
4910
4918
|
* Retrieves the details of a Chat App message template.
|
|
4911
4919
|
*
|
|
4912
4920
|
* @remarks
|
|
4913
|
-
* ###
|
|
4914
|
-
* The queries per second (QPS)
|
|
4921
|
+
* ### Rate limit
|
|
4922
|
+
* 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.
|
|
4915
4923
|
*
|
|
4916
4924
|
* @param request - GetChatappTemplateDetailRequest
|
|
4917
4925
|
* @returns GetChatappTemplateDetailResponse
|
|
@@ -5282,7 +5290,7 @@ export default class Client extends OpenApi {
|
|
|
5282
5290
|
}
|
|
5283
5291
|
|
|
5284
5292
|
/**
|
|
5285
|
-
* Queries the source site of
|
|
5293
|
+
* Queries the source site of the customer.
|
|
5286
5294
|
*
|
|
5287
5295
|
* @param request - GetCustomerSiteRequest
|
|
5288
5296
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5321,7 +5329,7 @@ export default class Client extends OpenApi {
|
|
|
5321
5329
|
}
|
|
5322
5330
|
|
|
5323
5331
|
/**
|
|
5324
|
-
* Queries the source site of
|
|
5332
|
+
* Queries the source site of the customer.
|
|
5325
5333
|
*
|
|
5326
5334
|
* @param request - GetCustomerSiteRequest
|
|
5327
5335
|
* @returns GetCustomerSiteResponse
|
|
@@ -5428,7 +5436,7 @@ export default class Client extends OpenApi {
|
|
|
5428
5436
|
}
|
|
5429
5437
|
|
|
5430
5438
|
/**
|
|
5431
|
-
* Retrieves
|
|
5439
|
+
* Retrieves a list of Instagram pages.
|
|
5432
5440
|
*
|
|
5433
5441
|
* @param request - GetFbInstagramPagesRequest
|
|
5434
5442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5475,7 +5483,7 @@ export default class Client extends OpenApi {
|
|
|
5475
5483
|
}
|
|
5476
5484
|
|
|
5477
5485
|
/**
|
|
5478
|
-
* Retrieves
|
|
5486
|
+
* Retrieves a list of Instagram pages.
|
|
5479
5487
|
*
|
|
5480
5488
|
* @param request - GetFbInstagramPagesRequest
|
|
5481
5489
|
* @returns GetFbInstagramPagesResponse
|
|
@@ -5756,7 +5764,7 @@ export default class Client extends OpenApi {
|
|
|
5756
5764
|
}
|
|
5757
5765
|
|
|
5758
5766
|
/**
|
|
5759
|
-
*
|
|
5767
|
+
* Checks whether a group name is duplicated.
|
|
5760
5768
|
*
|
|
5761
5769
|
* @param tmpReq - GetGroupExistRequest
|
|
5762
5770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5813,7 +5821,7 @@ export default class Client extends OpenApi {
|
|
|
5813
5821
|
}
|
|
5814
5822
|
|
|
5815
5823
|
/**
|
|
5816
|
-
*
|
|
5824
|
+
* Checks whether a group name is duplicated.
|
|
5817
5825
|
*
|
|
5818
5826
|
* @param request - GetGroupExistRequest
|
|
5819
5827
|
* @returns GetGroupExistResponse
|
|
@@ -5823,6 +5831,52 @@ export default class Client extends OpenApi {
|
|
|
5823
5831
|
return await this.getGroupExistWithOptions(request, runtime);
|
|
5824
5832
|
}
|
|
5825
5833
|
|
|
5834
|
+
/**
|
|
5835
|
+
* Queries Instagram user information.
|
|
5836
|
+
*
|
|
5837
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5838
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5839
|
+
* @returns GetInstagramUserInfoResponse
|
|
5840
|
+
*/
|
|
5841
|
+
async getInstagramUserInfoWithOptions(request: $_model.GetInstagramUserInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetInstagramUserInfoResponse> {
|
|
5842
|
+
request.validate();
|
|
5843
|
+
let query = { };
|
|
5844
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5845
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5848
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5849
|
+
query["QueryId"] = request.queryId;
|
|
5850
|
+
}
|
|
5851
|
+
|
|
5852
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5853
|
+
query: OpenApiUtil.query(query),
|
|
5854
|
+
});
|
|
5855
|
+
let params = new $OpenApiUtil.Params({
|
|
5856
|
+
action: "GetInstagramUserInfo",
|
|
5857
|
+
version: "2020-06-06",
|
|
5858
|
+
protocol: "HTTPS",
|
|
5859
|
+
pathname: "/",
|
|
5860
|
+
method: "POST",
|
|
5861
|
+
authType: "AK",
|
|
5862
|
+
style: "RPC",
|
|
5863
|
+
reqBodyType: "formData",
|
|
5864
|
+
bodyType: "json",
|
|
5865
|
+
});
|
|
5866
|
+
return $dara.cast<$_model.GetInstagramUserInfoResponse>(await this.callApi(params, req, runtime), new $_model.GetInstagramUserInfoResponse({}));
|
|
5867
|
+
}
|
|
5868
|
+
|
|
5869
|
+
/**
|
|
5870
|
+
* Queries Instagram user information.
|
|
5871
|
+
*
|
|
5872
|
+
* @param request - GetInstagramUserInfoRequest
|
|
5873
|
+
* @returns GetInstagramUserInfoResponse
|
|
5874
|
+
*/
|
|
5875
|
+
async getInstagramUserInfo(request: $_model.GetInstagramUserInfoRequest): Promise<$_model.GetInstagramUserInfoResponse> {
|
|
5876
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5877
|
+
return await this.getInstagramUserInfoWithOptions(request, runtime);
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5826
5880
|
/**
|
|
5827
5881
|
* Queries budget metrics.
|
|
5828
5882
|
*
|
|
@@ -5889,6 +5943,52 @@ export default class Client extends OpenApi {
|
|
|
5889
5943
|
return await this.getMessageCampaignInsightsWithOptions(request, runtime);
|
|
5890
5944
|
}
|
|
5891
5945
|
|
|
5946
|
+
/**
|
|
5947
|
+
* Queries Messenger user information.
|
|
5948
|
+
*
|
|
5949
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5950
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5951
|
+
* @returns GetMessengerUserInfoResponse
|
|
5952
|
+
*/
|
|
5953
|
+
async getMessengerUserInfoWithOptions(request: $_model.GetMessengerUserInfoRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetMessengerUserInfoResponse> {
|
|
5954
|
+
request.validate();
|
|
5955
|
+
let query = { };
|
|
5956
|
+
if (!$dara.isNull(request.custSpaceId)) {
|
|
5957
|
+
query["CustSpaceId"] = request.custSpaceId;
|
|
5958
|
+
}
|
|
5959
|
+
|
|
5960
|
+
if (!$dara.isNull(request.queryId)) {
|
|
5961
|
+
query["QueryId"] = request.queryId;
|
|
5962
|
+
}
|
|
5963
|
+
|
|
5964
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5965
|
+
query: OpenApiUtil.query(query),
|
|
5966
|
+
});
|
|
5967
|
+
let params = new $OpenApiUtil.Params({
|
|
5968
|
+
action: "GetMessengerUserInfo",
|
|
5969
|
+
version: "2020-06-06",
|
|
5970
|
+
protocol: "HTTPS",
|
|
5971
|
+
pathname: "/",
|
|
5972
|
+
method: "POST",
|
|
5973
|
+
authType: "AK",
|
|
5974
|
+
style: "RPC",
|
|
5975
|
+
reqBodyType: "formData",
|
|
5976
|
+
bodyType: "json",
|
|
5977
|
+
});
|
|
5978
|
+
return $dara.cast<$_model.GetMessengerUserInfoResponse>(await this.callApi(params, req, runtime), new $_model.GetMessengerUserInfoResponse({}));
|
|
5979
|
+
}
|
|
5980
|
+
|
|
5981
|
+
/**
|
|
5982
|
+
* Queries Messenger user information.
|
|
5983
|
+
*
|
|
5984
|
+
* @param request - GetMessengerUserInfoRequest
|
|
5985
|
+
* @returns GetMessengerUserInfoResponse
|
|
5986
|
+
*/
|
|
5987
|
+
async getMessengerUserInfo(request: $_model.GetMessengerUserInfoRequest): Promise<$_model.GetMessengerUserInfoResponse> {
|
|
5988
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5989
|
+
return await this.getMessengerUserInfoWithOptions(request, runtime);
|
|
5990
|
+
}
|
|
5991
|
+
|
|
5892
5992
|
/**
|
|
5893
5993
|
* Retrieves the verification code for a migration phone number.
|
|
5894
5994
|
*
|
|
@@ -6039,10 +6139,10 @@ export default class Client extends OpenApi {
|
|
|
6039
6139
|
* Retrieves the encryption public key of a phone number.
|
|
6040
6140
|
*
|
|
6041
6141
|
* @remarks
|
|
6042
|
-
* - Before calling this operation, make sure that a phone number has been added
|
|
6043
|
-
* - If no phone number has been added
|
|
6142
|
+
* - 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.
|
|
6143
|
+
* - 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.
|
|
6044
6144
|
* #### QPS limit
|
|
6045
|
-
* The
|
|
6145
|
+
* 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.
|
|
6046
6146
|
*
|
|
6047
6147
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
6048
6148
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6092,10 +6192,10 @@ export default class Client extends OpenApi {
|
|
|
6092
6192
|
* Retrieves the encryption public key of a phone number.
|
|
6093
6193
|
*
|
|
6094
6194
|
* @remarks
|
|
6095
|
-
* - Before calling this operation, make sure that a phone number has been added
|
|
6096
|
-
* - If no phone number has been added
|
|
6195
|
+
* - 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.
|
|
6196
|
+
* - 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.
|
|
6097
6197
|
* #### QPS limit
|
|
6098
|
-
* The
|
|
6198
|
+
* 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.
|
|
6099
6199
|
*
|
|
6100
6200
|
* @param request - GetPhoneEncryptionPublicKeyRequest
|
|
6101
6201
|
* @returns GetPhoneEncryptionPublicKeyResponse
|
|
@@ -6109,13 +6209,13 @@ export default class Client extends OpenApi {
|
|
|
6109
6209
|
* Retrieves the verification status of a phone number.
|
|
6110
6210
|
*
|
|
6111
6211
|
* @remarks
|
|
6112
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
6212
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
6113
6213
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6114
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
6115
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
6116
|
-
* - Before calling this operation, make sure that a phone number
|
|
6117
|
-
* - If a phone number
|
|
6118
|
-
* The queries per second (QPS) limit
|
|
6214
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
6215
|
+
* - 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.
|
|
6216
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
6217
|
+
* - 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.
|
|
6218
|
+
* 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.
|
|
6119
6219
|
*
|
|
6120
6220
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6121
6221
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6165,13 +6265,13 @@ export default class Client extends OpenApi {
|
|
|
6165
6265
|
* Retrieves the verification status of a phone number.
|
|
6166
6266
|
*
|
|
6167
6267
|
* @remarks
|
|
6168
|
-
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status
|
|
6268
|
+
* - You can call this operation to retrieve the verification status of a phone number. You can also view the verification status on the
|
|
6169
6269
|
* <props="china">[Channel Management](https://chatapp.console.aliyun.com/ChannelsManagement)
|
|
6170
|
-
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList)> **
|
|
6171
|
-
* - This operation only queries the verification status of a phone number. If the phone number
|
|
6172
|
-
* - Before calling this operation, make sure that a phone number
|
|
6173
|
-
* - If a phone number
|
|
6174
|
-
* The queries per second (QPS) limit
|
|
6270
|
+
* <props="intl">[**Channel Management**](https://chatapp.console.alibabacloud.com/CustomerList) > **Management** > **WABA Management** > **Number Management** page.
|
|
6271
|
+
* - 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.
|
|
6272
|
+
* - Before calling this operation, make sure that you have added a phone number to your WABA and submitted it for verification.
|
|
6273
|
+
* - 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.
|
|
6274
|
+
* 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.
|
|
6175
6275
|
*
|
|
6176
6276
|
* @param request - GetPhoneNumberVerificationStatusRequest
|
|
6177
6277
|
* @returns GetPhoneNumberVerificationStatusResponse
|
|
@@ -6292,7 +6392,7 @@ export default class Client extends OpenApi {
|
|
|
6292
6392
|
}
|
|
6293
6393
|
|
|
6294
6394
|
/**
|
|
6295
|
-
* Queries an application
|
|
6395
|
+
* Queries an application by request number.
|
|
6296
6396
|
*
|
|
6297
6397
|
* @param request - GetViberByRequestNoRequest
|
|
6298
6398
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6339,7 +6439,7 @@ export default class Client extends OpenApi {
|
|
|
6339
6439
|
}
|
|
6340
6440
|
|
|
6341
6441
|
/**
|
|
6342
|
-
* Queries an application
|
|
6442
|
+
* Queries an application by request number.
|
|
6343
6443
|
*
|
|
6344
6444
|
* @param request - GetViberByRequestNoRequest
|
|
6345
6445
|
* @returns GetViberByRequestNoResponse
|
|
@@ -6350,7 +6450,7 @@ export default class Client extends OpenApi {
|
|
|
6350
6450
|
}
|
|
6351
6451
|
|
|
6352
6452
|
/**
|
|
6353
|
-
* Queries the number of
|
|
6453
|
+
* Queries the number of allowed pause requests.
|
|
6354
6454
|
*
|
|
6355
6455
|
* @param request - GetViberPauseTimesRequest
|
|
6356
6456
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6393,7 +6493,7 @@ export default class Client extends OpenApi {
|
|
|
6393
6493
|
}
|
|
6394
6494
|
|
|
6395
6495
|
/**
|
|
6396
|
-
* Queries the number of
|
|
6496
|
+
* Queries the number of allowed pause requests.
|
|
6397
6497
|
*
|
|
6398
6498
|
* @param request - GetViberPauseTimesRequest
|
|
6399
6499
|
* @returns GetViberPauseTimesResponse
|
|
@@ -6522,12 +6622,12 @@ export default class Client extends OpenApi {
|
|
|
6522
6622
|
}
|
|
6523
6623
|
|
|
6524
6624
|
/**
|
|
6525
|
-
*
|
|
6625
|
+
* Retrieves the message sending health status for different node types.
|
|
6526
6626
|
*
|
|
6527
6627
|
* @remarks
|
|
6528
|
-
* ###
|
|
6529
|
-
*
|
|
6530
|
-
* This
|
|
6628
|
+
* ### QPS limits
|
|
6629
|
+
* 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.
|
|
6630
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
6531
6631
|
*
|
|
6532
6632
|
* @param request - GetWhatsappHealthStatusRequest
|
|
6533
6633
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6590,12 +6690,12 @@ export default class Client extends OpenApi {
|
|
|
6590
6690
|
}
|
|
6591
6691
|
|
|
6592
6692
|
/**
|
|
6593
|
-
*
|
|
6693
|
+
* Retrieves the message sending health status for different node types.
|
|
6594
6694
|
*
|
|
6595
6695
|
* @remarks
|
|
6596
|
-
* ###
|
|
6597
|
-
*
|
|
6598
|
-
* This
|
|
6696
|
+
* ### QPS limits
|
|
6697
|
+
* 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.
|
|
6698
|
+
* This API directly retrieves data from Facebook. The total number of Facebook API calls is limited. Use this API as needed.
|
|
6599
6699
|
*
|
|
6600
6700
|
* @param request - GetWhatsappHealthStatusRequest
|
|
6601
6701
|
* @returns GetWhatsappHealthStatusResponse
|
|
@@ -6884,12 +6984,12 @@ export default class Client extends OpenApi {
|
|
|
6884
6984
|
}
|
|
6885
6985
|
|
|
6886
6986
|
/**
|
|
6887
|
-
* Queries the list of phone numbers or
|
|
6987
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6888
6988
|
*
|
|
6889
6989
|
* @remarks
|
|
6890
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6891
|
-
* - Before calling this operation,
|
|
6892
|
-
* - If
|
|
6990
|
+
* - 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).
|
|
6991
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
6992
|
+
* - 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.
|
|
6893
6993
|
*
|
|
6894
6994
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6895
6995
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6936,12 +7036,12 @@ export default class Client extends OpenApi {
|
|
|
6936
7036
|
}
|
|
6937
7037
|
|
|
6938
7038
|
/**
|
|
6939
|
-
* Queries the list of phone numbers or
|
|
7039
|
+
* Queries the list of phone numbers or merchant account IDs bound to a flow based on the flow code.
|
|
6940
7040
|
*
|
|
6941
7041
|
* @remarks
|
|
6942
|
-
* - You can call this operation to query the list of phone numbers or
|
|
6943
|
-
* - Before calling this operation,
|
|
6944
|
-
* - If
|
|
7042
|
+
* - 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).
|
|
7043
|
+
* - Before calling this operation, ensure that the flow you created is bound to a phone number or merchant account ID.
|
|
7044
|
+
* - 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.
|
|
6945
7045
|
*
|
|
6946
7046
|
* @param request - ListBindingRelationsForFlowVersionRequest
|
|
6947
7047
|
* @returns ListBindingRelationsForFlowVersionResponse
|
|
@@ -6955,10 +7055,10 @@ export default class Client extends OpenApi {
|
|
|
6955
7055
|
* Lists flows.
|
|
6956
7056
|
*
|
|
6957
7057
|
* @remarks
|
|
6958
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
6959
|
-
* - Before
|
|
6960
|
-
* - If you
|
|
6961
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
7058
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
7059
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
7060
|
+
* - 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.
|
|
7061
|
+
* - 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.
|
|
6962
7062
|
*
|
|
6963
7063
|
* @param tmpReq - ListChatFlowRequest
|
|
6964
7064
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7054,10 +7154,10 @@ export default class Client extends OpenApi {
|
|
|
7054
7154
|
* Lists flows.
|
|
7055
7155
|
*
|
|
7056
7156
|
* @remarks
|
|
7057
|
-
* - You can call this operation to query flows, or manually query flows in the [Flow
|
|
7058
|
-
* - Before
|
|
7059
|
-
* - If you
|
|
7060
|
-
* - The optional parameters in this operation are filter conditions for querying flows. If you do not specify
|
|
7157
|
+
* - You can call this operation to query flows, or manually query flows in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) console.
|
|
7158
|
+
* - Before you call this operation, make sure that you have created at least one flow.
|
|
7159
|
+
* - 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.
|
|
7160
|
+
* - 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.
|
|
7061
7161
|
*
|
|
7062
7162
|
* @param request - ListChatFlowRequest
|
|
7063
7163
|
* @returns ListChatFlowResponse
|
|
@@ -7071,8 +7171,8 @@ export default class Client extends OpenApi {
|
|
|
7071
7171
|
* Lists flow templates.
|
|
7072
7172
|
*
|
|
7073
7173
|
* @remarks
|
|
7074
|
-
* - You can call this operation to view the template list
|
|
7075
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
7174
|
+
* - 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).
|
|
7175
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
7076
7176
|
*
|
|
7077
7177
|
* @param request - ListChatFlowTemplateRequest
|
|
7078
7178
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7134,8 +7234,8 @@ export default class Client extends OpenApi {
|
|
|
7134
7234
|
* Lists flow templates.
|
|
7135
7235
|
*
|
|
7136
7236
|
* @remarks
|
|
7137
|
-
* - You can call this operation to view the template list
|
|
7138
|
-
* - The optional parameters in this operation are filter conditions for the template list. If not
|
|
7237
|
+
* - 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).
|
|
7238
|
+
* - The optional parameters in this operation are filter conditions for the template list. If you do not specify these parameters, all templates are queried.
|
|
7139
7239
|
*
|
|
7140
7240
|
* @param request - ListChatFlowTemplateRequest
|
|
7141
7241
|
* @returns ListChatFlowTemplateResponse
|
|
@@ -7146,13 +7246,13 @@ export default class Client extends OpenApi {
|
|
|
7146
7246
|
}
|
|
7147
7247
|
|
|
7148
7248
|
/**
|
|
7149
|
-
*
|
|
7249
|
+
* Queries the list of IM groups.
|
|
7150
7250
|
*
|
|
7151
7251
|
* @remarks
|
|
7152
|
-
* >Notice: The feature of
|
|
7153
|
-
* - Before calling this operation, make sure you have
|
|
7154
|
-
* - If you
|
|
7155
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
7252
|
+
* >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>
|
|
7253
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
7254
|
+
* - 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.
|
|
7255
|
+
* - 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.
|
|
7156
7256
|
*
|
|
7157
7257
|
* @param tmpReq - ListChatGroupRequest
|
|
7158
7258
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7229,13 +7329,13 @@ export default class Client extends OpenApi {
|
|
|
7229
7329
|
}
|
|
7230
7330
|
|
|
7231
7331
|
/**
|
|
7232
|
-
*
|
|
7332
|
+
* Queries the list of IM groups.
|
|
7233
7333
|
*
|
|
7234
7334
|
* @remarks
|
|
7235
|
-
* >Notice: The feature of
|
|
7236
|
-
* - Before calling this operation, make sure you have
|
|
7237
|
-
* - If you
|
|
7238
|
-
* - The optional parameters of this operation are filter conditions for the IM group list. If you do not specify
|
|
7335
|
+
* >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>
|
|
7336
|
+
* - Before calling this API operation, make sure that you have created an IM group.
|
|
7337
|
+
* - 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.
|
|
7338
|
+
* - 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.
|
|
7239
7339
|
*
|
|
7240
7340
|
* @param request - ListChatGroupRequest
|
|
7241
7341
|
* @returns ListChatGroupResponse
|
|
@@ -7249,9 +7349,9 @@ export default class Client extends OpenApi {
|
|
|
7249
7349
|
* Retrieves the member list of an IM group.
|
|
7250
7350
|
*
|
|
7251
7351
|
* @remarks
|
|
7252
|
-
* >
|
|
7253
|
-
* - Before
|
|
7254
|
-
* - If you do not have a created IM group,
|
|
7352
|
+
* <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>
|
|
7353
|
+
* - 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.
|
|
7354
|
+
* - 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.
|
|
7255
7355
|
*
|
|
7256
7356
|
* @param tmpReq - ListChatGroupParticipantsRequest
|
|
7257
7357
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7319,9 +7419,9 @@ export default class Client extends OpenApi {
|
|
|
7319
7419
|
* Retrieves the member list of an IM group.
|
|
7320
7420
|
*
|
|
7321
7421
|
* @remarks
|
|
7322
|
-
* >
|
|
7323
|
-
* - Before
|
|
7324
|
-
* - If you do not have a created IM group,
|
|
7422
|
+
* <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>
|
|
7423
|
+
* - 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.
|
|
7424
|
+
* - 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.
|
|
7325
7425
|
*
|
|
7326
7426
|
* @param request - ListChatGroupParticipantsRequest
|
|
7327
7427
|
* @returns ListChatGroupParticipantsResponse
|
|
@@ -7335,9 +7435,9 @@ export default class Client extends OpenApi {
|
|
|
7335
7435
|
* Queries the message list.
|
|
7336
7436
|
*
|
|
7337
7437
|
* @remarks
|
|
7338
|
-
* - You can call this operation to query the message list
|
|
7339
|
-
* - This
|
|
7340
|
-
* - Before
|
|
7438
|
+
* - 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.
|
|
7439
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
7440
|
+
* - 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.
|
|
7341
7441
|
*
|
|
7342
7442
|
* @param tmpReq - ListChatappMessageRequest
|
|
7343
7443
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7384,6 +7484,10 @@ export default class Client extends OpenApi {
|
|
|
7384
7484
|
query["GroupMessageId"] = request.groupMessageId;
|
|
7385
7485
|
}
|
|
7386
7486
|
|
|
7487
|
+
if (!$dara.isNull(request.messageItem)) {
|
|
7488
|
+
query["MessageItem"] = request.messageItem;
|
|
7489
|
+
}
|
|
7490
|
+
|
|
7387
7491
|
if (!$dara.isNull(request.messageStatus)) {
|
|
7388
7492
|
query["MessageStatus"] = request.messageStatus;
|
|
7389
7493
|
}
|
|
@@ -7441,9 +7545,9 @@ export default class Client extends OpenApi {
|
|
|
7441
7545
|
* Queries the message list.
|
|
7442
7546
|
*
|
|
7443
7547
|
* @remarks
|
|
7444
|
-
* - You can call this operation to query the message list
|
|
7445
|
-
* - This
|
|
7446
|
-
* - Before
|
|
7548
|
+
* - 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.
|
|
7549
|
+
* - This operation only supports querying the message list for WhatsApp<props="intl"> and Viber channels.
|
|
7550
|
+
* - 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.
|
|
7447
7551
|
*
|
|
7448
7552
|
* @param request - ListChatappMessageRequest
|
|
7449
7553
|
* @returns ListChatappMessageResponse
|
|
@@ -7454,11 +7558,11 @@ export default class Client extends OpenApi {
|
|
|
7454
7558
|
}
|
|
7455
7559
|
|
|
7456
7560
|
/**
|
|
7457
|
-
* Retrieves
|
|
7561
|
+
* Retrieves the list of message templates.
|
|
7458
7562
|
*
|
|
7459
7563
|
* @remarks
|
|
7460
|
-
* ###
|
|
7461
|
-
* The
|
|
7564
|
+
* ### Rate limits
|
|
7565
|
+
* 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.
|
|
7462
7566
|
*
|
|
7463
7567
|
* @param tmpReq - ListChatappTemplateRequest
|
|
7464
7568
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7543,11 +7647,11 @@ export default class Client extends OpenApi {
|
|
|
7543
7647
|
}
|
|
7544
7648
|
|
|
7545
7649
|
/**
|
|
7546
|
-
* Retrieves
|
|
7650
|
+
* Retrieves the list of message templates.
|
|
7547
7651
|
*
|
|
7548
7652
|
* @remarks
|
|
7549
|
-
* ###
|
|
7550
|
-
* The
|
|
7653
|
+
* ### Rate limits
|
|
7654
|
+
* 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.
|
|
7551
7655
|
*
|
|
7552
7656
|
* @param request - ListChatappTemplateRequest
|
|
7553
7657
|
* @returns ListChatappTemplateResponse
|
|
@@ -7558,7 +7662,7 @@ export default class Client extends OpenApi {
|
|
|
7558
7662
|
}
|
|
7559
7663
|
|
|
7560
7664
|
/**
|
|
7561
|
-
* Queries a custom
|
|
7665
|
+
* Queries a list of custom audiences.
|
|
7562
7666
|
*
|
|
7563
7667
|
* @param tmpReq - ListCustomAudienceRequest
|
|
7564
7668
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7631,7 +7735,7 @@ export default class Client extends OpenApi {
|
|
|
7631
7735
|
}
|
|
7632
7736
|
|
|
7633
7737
|
/**
|
|
7634
|
-
* Queries a custom
|
|
7738
|
+
* Queries a list of custom audiences.
|
|
7635
7739
|
*
|
|
7636
7740
|
* @param request - ListCustomAudienceRequest
|
|
7637
7741
|
* @returns ListCustomAudienceResponse
|
|
@@ -7642,7 +7746,7 @@ export default class Client extends OpenApi {
|
|
|
7642
7746
|
}
|
|
7643
7747
|
|
|
7644
7748
|
/**
|
|
7645
|
-
* Queries the
|
|
7749
|
+
* Queries the Direct Mail accounts under the account.
|
|
7646
7750
|
*
|
|
7647
7751
|
* @param request - ListDmAccountRequest
|
|
7648
7752
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7697,7 +7801,7 @@ export default class Client extends OpenApi {
|
|
|
7697
7801
|
}
|
|
7698
7802
|
|
|
7699
7803
|
/**
|
|
7700
|
-
* Queries the
|
|
7804
|
+
* Queries the Direct Mail accounts under the account.
|
|
7701
7805
|
*
|
|
7702
7806
|
* @param request - ListDmAccountRequest
|
|
7703
7807
|
* @returns ListDmAccountResponse
|
|
@@ -7708,7 +7812,7 @@ export default class Client extends OpenApi {
|
|
|
7708
7812
|
}
|
|
7709
7813
|
|
|
7710
7814
|
/**
|
|
7711
|
-
* Queries
|
|
7815
|
+
* Queries DM tags.
|
|
7712
7816
|
*
|
|
7713
7817
|
* @param request - ListDmTagRequest
|
|
7714
7818
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7759,7 +7863,7 @@ export default class Client extends OpenApi {
|
|
|
7759
7863
|
}
|
|
7760
7864
|
|
|
7761
7865
|
/**
|
|
7762
|
-
* Queries
|
|
7866
|
+
* Queries DM tags.
|
|
7763
7867
|
*
|
|
7764
7868
|
* @param request - ListDmTagRequest
|
|
7765
7869
|
* @returns ListDmTagResponse
|
|
@@ -7770,7 +7874,7 @@ export default class Client extends OpenApi {
|
|
|
7770
7874
|
}
|
|
7771
7875
|
|
|
7772
7876
|
/**
|
|
7773
|
-
* Queries
|
|
7877
|
+
* Queries a list of Facebook posts.
|
|
7774
7878
|
*
|
|
7775
7879
|
* @param request - ListFacebookPostsRequest
|
|
7776
7880
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7813,7 +7917,7 @@ export default class Client extends OpenApi {
|
|
|
7813
7917
|
}
|
|
7814
7918
|
|
|
7815
7919
|
/**
|
|
7816
|
-
* Queries
|
|
7920
|
+
* Queries a list of Facebook posts.
|
|
7817
7921
|
*
|
|
7818
7922
|
* @param request - ListFacebookPostsRequest
|
|
7819
7923
|
* @returns ListFacebookPostsResponse
|
|
@@ -7959,8 +8063,8 @@ export default class Client extends OpenApi {
|
|
|
7959
8063
|
* Lists flow component prototypes.
|
|
7960
8064
|
*
|
|
7961
8065
|
* @remarks
|
|
7962
|
-
* - You can call this operation to query flow component prototypes.
|
|
7963
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
8066
|
+
* - 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.
|
|
8067
|
+
* - 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.
|
|
7964
8068
|
*
|
|
7965
8069
|
* @param request - ListFlowNodePrototypeV2Request
|
|
7966
8070
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8022,8 +8126,8 @@ export default class Client extends OpenApi {
|
|
|
8022
8126
|
* Lists flow component prototypes.
|
|
8023
8127
|
*
|
|
8024
8128
|
* @remarks
|
|
8025
|
-
* - You can call this operation to query flow component prototypes.
|
|
8026
|
-
* - The optional parameters in this operation are filter conditions for flow component prototypes. If you do not specify
|
|
8129
|
+
* - 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.
|
|
8130
|
+
* - 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.
|
|
8027
8131
|
*
|
|
8028
8132
|
* @param request - ListFlowNodePrototypeV2Request
|
|
8029
8133
|
* @returns ListFlowNodePrototypeV2Response
|
|
@@ -8037,10 +8141,10 @@ export default class Client extends OpenApi {
|
|
|
8037
8141
|
* Lists flow versions.
|
|
8038
8142
|
*
|
|
8039
8143
|
* @remarks
|
|
8040
|
-
* - You can call this operation to query flow versions
|
|
8041
|
-
* - Before calling this operation, make sure that you have a
|
|
8042
|
-
* - If you
|
|
8043
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
8144
|
+
* - 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.
|
|
8145
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
8146
|
+
* - 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.
|
|
8147
|
+
* - 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.
|
|
8044
8148
|
*
|
|
8045
8149
|
* @param tmpReq - ListFlowVersionRequest
|
|
8046
8150
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8112,10 +8216,10 @@ export default class Client extends OpenApi {
|
|
|
8112
8216
|
* Lists flow versions.
|
|
8113
8217
|
*
|
|
8114
8218
|
* @remarks
|
|
8115
|
-
* - You can call this operation to query flow versions
|
|
8116
|
-
* - Before calling this operation, make sure that you have a
|
|
8117
|
-
* - If you
|
|
8118
|
-
* - The optional parameters in this operation are filter conditions for querying flow versions. If you do not specify
|
|
8219
|
+
* - 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.
|
|
8220
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
8221
|
+
* - 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.
|
|
8222
|
+
* - 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.
|
|
8119
8223
|
*
|
|
8120
8224
|
* @param request - ListFlowVersionRequest
|
|
8121
8225
|
* @returns ListFlowVersionResponse
|
|
@@ -8126,7 +8230,7 @@ export default class Client extends OpenApi {
|
|
|
8126
8230
|
}
|
|
8127
8231
|
|
|
8128
8232
|
/**
|
|
8129
|
-
* Retrieves
|
|
8233
|
+
* Retrieves Instagram pages.
|
|
8130
8234
|
*
|
|
8131
8235
|
* @param request - ListInstagramPageRequest
|
|
8132
8236
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8169,7 +8273,7 @@ export default class Client extends OpenApi {
|
|
|
8169
8273
|
}
|
|
8170
8274
|
|
|
8171
8275
|
/**
|
|
8172
|
-
* Retrieves
|
|
8276
|
+
* Retrieves Instagram pages.
|
|
8173
8277
|
*
|
|
8174
8278
|
* @param request - ListInstagramPageRequest
|
|
8175
8279
|
* @returns ListInstagramPageResponse
|
|
@@ -8180,7 +8284,7 @@ export default class Client extends OpenApi {
|
|
|
8180
8284
|
}
|
|
8181
8285
|
|
|
8182
8286
|
/**
|
|
8183
|
-
* Queries
|
|
8287
|
+
* Queries a list of Instagram posts.
|
|
8184
8288
|
*
|
|
8185
8289
|
* @param request - ListInstagramPostsRequest
|
|
8186
8290
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8223,7 +8327,7 @@ export default class Client extends OpenApi {
|
|
|
8223
8327
|
}
|
|
8224
8328
|
|
|
8225
8329
|
/**
|
|
8226
|
-
* Queries
|
|
8330
|
+
* Queries a list of Instagram posts.
|
|
8227
8331
|
*
|
|
8228
8332
|
* @param request - ListInstagramPostsRequest
|
|
8229
8333
|
* @returns ListInstagramPostsResponse
|
|
@@ -8234,7 +8338,7 @@ export default class Client extends OpenApi {
|
|
|
8234
8338
|
}
|
|
8235
8339
|
|
|
8236
8340
|
/**
|
|
8237
|
-
* Queries
|
|
8341
|
+
* Queries the list of instances.
|
|
8238
8342
|
*
|
|
8239
8343
|
* @param request - ListInstanceRequest
|
|
8240
8344
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8301,7 +8405,7 @@ export default class Client extends OpenApi {
|
|
|
8301
8405
|
}
|
|
8302
8406
|
|
|
8303
8407
|
/**
|
|
8304
|
-
* Queries
|
|
8408
|
+
* Queries the list of instances.
|
|
8305
8409
|
*
|
|
8306
8410
|
* @param request - ListInstanceRequest
|
|
8307
8411
|
* @returns ListInstanceResponse
|
|
@@ -8312,7 +8416,7 @@ export default class Client extends OpenApi {
|
|
|
8312
8416
|
}
|
|
8313
8417
|
|
|
8314
8418
|
/**
|
|
8315
|
-
* Queries
|
|
8419
|
+
* Queries the list of operational activities.
|
|
8316
8420
|
*
|
|
8317
8421
|
* @param tmpReq - ListMarketingFlowRequest
|
|
8318
8422
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8393,7 +8497,7 @@ export default class Client extends OpenApi {
|
|
|
8393
8497
|
}
|
|
8394
8498
|
|
|
8395
8499
|
/**
|
|
8396
|
-
* Queries
|
|
8500
|
+
* Queries the list of operational activities.
|
|
8397
8501
|
*
|
|
8398
8502
|
* @param request - ListMarketingFlowRequest
|
|
8399
8503
|
* @returns ListMarketingFlowResponse
|
|
@@ -8562,7 +8666,7 @@ export default class Client extends OpenApi {
|
|
|
8562
8666
|
}
|
|
8563
8667
|
|
|
8564
8668
|
/**
|
|
8565
|
-
* Queries the
|
|
8669
|
+
* Queries the ad accounts bound to a page.
|
|
8566
8670
|
*
|
|
8567
8671
|
* @param request - ListPageAdAccountRequest
|
|
8568
8672
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8609,7 +8713,7 @@ export default class Client extends OpenApi {
|
|
|
8609
8713
|
}
|
|
8610
8714
|
|
|
8611
8715
|
/**
|
|
8612
|
-
* Queries the
|
|
8716
|
+
* Queries the ad accounts bound to a page.
|
|
8613
8717
|
*
|
|
8614
8718
|
* @param request - ListPageAdAccountRequest
|
|
8615
8719
|
* @returns ListPageAdAccountResponse
|
|
@@ -8848,7 +8952,7 @@ export default class Client extends OpenApi {
|
|
|
8848
8952
|
}
|
|
8849
8953
|
|
|
8850
8954
|
/**
|
|
8851
|
-
*
|
|
8955
|
+
* Retrieves the Viber service account card of an application.
|
|
8852
8956
|
*
|
|
8853
8957
|
* @param request - ListViberServiceMessageRequest
|
|
8854
8958
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8891,7 +8995,7 @@ export default class Client extends OpenApi {
|
|
|
8891
8995
|
}
|
|
8892
8996
|
|
|
8893
8997
|
/**
|
|
8894
|
-
*
|
|
8998
|
+
* Retrieves the Viber service account card of an application.
|
|
8895
8999
|
*
|
|
8896
9000
|
* @param request - ListViberServiceMessageRequest
|
|
8897
9001
|
* @returns ListViberServiceMessageResponse
|
|
@@ -8948,13 +9052,13 @@ export default class Client extends OpenApi {
|
|
|
8948
9052
|
}
|
|
8949
9053
|
|
|
8950
9054
|
/**
|
|
8951
|
-
* Modifies a message template.
|
|
9055
|
+
* Modifies a message template. You can only modify templates that are pending review or have failed the review.
|
|
8952
9056
|
*
|
|
8953
9057
|
* @remarks
|
|
8954
9058
|
* ### QPS limit
|
|
8955
|
-
* The
|
|
9059
|
+
* 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.
|
|
8956
9060
|
* ### Status changes
|
|
8957
|
-
* You can listen for template status and quality
|
|
9061
|
+
* 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).
|
|
8958
9062
|
*
|
|
8959
9063
|
* @param tmpReq - ModifyChatappTemplateRequest
|
|
8960
9064
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9043,13 +9147,13 @@ export default class Client extends OpenApi {
|
|
|
9043
9147
|
}
|
|
9044
9148
|
|
|
9045
9149
|
/**
|
|
9046
|
-
* Modifies a message template.
|
|
9150
|
+
* Modifies a message template. You can only modify templates that are pending review or have failed the review.
|
|
9047
9151
|
*
|
|
9048
9152
|
* @remarks
|
|
9049
9153
|
* ### QPS limit
|
|
9050
|
-
* The
|
|
9154
|
+
* 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.
|
|
9051
9155
|
* ### Status changes
|
|
9052
|
-
* You can listen for template status and quality
|
|
9156
|
+
* 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).
|
|
9053
9157
|
*
|
|
9054
9158
|
* @param request - ModifyChatappTemplateRequest
|
|
9055
9159
|
* @returns ModifyChatappTemplateResponse
|
|
@@ -9060,7 +9164,7 @@ export default class Client extends OpenApi {
|
|
|
9060
9164
|
}
|
|
9061
9165
|
|
|
9062
9166
|
/**
|
|
9063
|
-
* Modifies
|
|
9167
|
+
* Modifies specific attributes of a template.
|
|
9064
9168
|
*
|
|
9065
9169
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
9066
9170
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9123,7 +9227,7 @@ export default class Client extends OpenApi {
|
|
|
9123
9227
|
}
|
|
9124
9228
|
|
|
9125
9229
|
/**
|
|
9126
|
-
* Modifies
|
|
9230
|
+
* Modifies specific attributes of a template.
|
|
9127
9231
|
*
|
|
9128
9232
|
* @param request - ModifyChatappTemplatePropertiesRequest
|
|
9129
9233
|
* @returns ModifyChatappTemplatePropertiesResponse
|
|
@@ -9216,10 +9320,10 @@ export default class Client extends OpenApi {
|
|
|
9216
9320
|
}
|
|
9217
9321
|
|
|
9218
9322
|
/**
|
|
9219
|
-
*
|
|
9323
|
+
* Updates the business information of a phone number.
|
|
9220
9324
|
*
|
|
9221
9325
|
* @remarks
|
|
9222
|
-
* The
|
|
9326
|
+
* 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.
|
|
9223
9327
|
*
|
|
9224
9328
|
* @param tmpReq - ModifyPhoneBusinessProfileRequest
|
|
9225
9329
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9300,10 +9404,10 @@ export default class Client extends OpenApi {
|
|
|
9300
9404
|
}
|
|
9301
9405
|
|
|
9302
9406
|
/**
|
|
9303
|
-
*
|
|
9407
|
+
* Updates the business information of a phone number.
|
|
9304
9408
|
*
|
|
9305
9409
|
* @remarks
|
|
9306
|
-
* The
|
|
9410
|
+
* 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.
|
|
9307
9411
|
*
|
|
9308
9412
|
* @param request - ModifyPhoneBusinessProfileRequest
|
|
9309
9413
|
* @returns ModifyPhoneBusinessProfileResponse
|
|
@@ -9314,7 +9418,7 @@ export default class Client extends OpenApi {
|
|
|
9314
9418
|
}
|
|
9315
9419
|
|
|
9316
9420
|
/**
|
|
9317
|
-
* Modifies the
|
|
9421
|
+
* Modifies the groups of contacts.
|
|
9318
9422
|
*
|
|
9319
9423
|
* @param tmpReq - MoveContactToGroupRequest
|
|
9320
9424
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9379,7 +9483,7 @@ export default class Client extends OpenApi {
|
|
|
9379
9483
|
}
|
|
9380
9484
|
|
|
9381
9485
|
/**
|
|
9382
|
-
* Modifies the
|
|
9486
|
+
* Modifies the groups of contacts.
|
|
9383
9487
|
*
|
|
9384
9488
|
* @param request - MoveContactToGroupRequest
|
|
9385
9489
|
* @returns MoveContactToGroupResponse
|
|
@@ -9395,7 +9499,7 @@ export default class Client extends OpenApi {
|
|
|
9395
9499
|
* @remarks
|
|
9396
9500
|
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9397
9501
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
9398
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
9502
|
+
* - 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.
|
|
9399
9503
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9400
9504
|
*
|
|
9401
9505
|
* @param tmpReq - OfflineFlowVersionRequest
|
|
@@ -9466,7 +9570,7 @@ export default class Client extends OpenApi {
|
|
|
9466
9570
|
* @remarks
|
|
9467
9571
|
* - You can call this operation to take a flow version offline, or click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually take the flow version offline.
|
|
9468
9572
|
* - Before calling this operation, make sure that the flow you created is online.
|
|
9469
|
-
* - If the flow you created is not online, you can click the flow name in the [Flow Editor](https://chatapp.console.aliyun.com/ChatFlowBuilder) to go to the canvas orchestration page and manually
|
|
9573
|
+
* - 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.
|
|
9470
9574
|
* - After a flow version is taken offline, the orchestrated flow stops running. This may affect your business. Proceed with caution.
|
|
9471
9575
|
*
|
|
9472
9576
|
* @param request - OfflineFlowVersionRequest
|
|
@@ -9481,10 +9585,10 @@ export default class Client extends OpenApi {
|
|
|
9481
9585
|
* Publishes a flow version.
|
|
9482
9586
|
*
|
|
9483
9587
|
* @remarks
|
|
9484
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
9485
|
-
* - Before
|
|
9486
|
-
* - If you do not have a
|
|
9487
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
9588
|
+
* - 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.
|
|
9589
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
9590
|
+
* - 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.
|
|
9591
|
+
* - 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.
|
|
9488
9592
|
*
|
|
9489
9593
|
* @param tmpReq - OnlineFlowVersionRequest
|
|
9490
9594
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9552,10 +9656,10 @@ export default class Client extends OpenApi {
|
|
|
9552
9656
|
* Publishes a flow version.
|
|
9553
9657
|
*
|
|
9554
9658
|
* @remarks
|
|
9555
|
-
* - You can call this operation to publish a flow version. You can also click
|
|
9556
|
-
* - Before
|
|
9557
|
-
* - If you do not have a
|
|
9558
|
-
* - After a flow with a non-manual trigger type is published, the flow is triggered when the bound phone number or merchant account sends a message to the merchant. If your flow contains components that incur fees for corresponding cloud services, such as message sending
|
|
9659
|
+
* - 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.
|
|
9660
|
+
* - Before you call this operation, make sure that you have created a flow and bound a phone number or merchant account ID to it.
|
|
9661
|
+
* - 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.
|
|
9662
|
+
* - 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.
|
|
9559
9663
|
*
|
|
9560
9664
|
* @param request - OnlineFlowVersionRequest
|
|
9561
9665
|
* @returns OnlineFlowVersionResponse
|
|
@@ -9744,10 +9848,10 @@ export default class Client extends OpenApi {
|
|
|
9744
9848
|
}
|
|
9745
9849
|
|
|
9746
9850
|
/**
|
|
9747
|
-
* Queries the WABA
|
|
9851
|
+
* Queries the WABA associated with a customer.
|
|
9748
9852
|
*
|
|
9749
9853
|
* @remarks
|
|
9750
|
-
* The
|
|
9854
|
+
* 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.
|
|
9751
9855
|
*
|
|
9752
9856
|
* @param request - QueryChatappBindWabaRequest
|
|
9753
9857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9794,10 +9898,10 @@ export default class Client extends OpenApi {
|
|
|
9794
9898
|
}
|
|
9795
9899
|
|
|
9796
9900
|
/**
|
|
9797
|
-
* Queries the WABA
|
|
9901
|
+
* Queries the WABA associated with a customer.
|
|
9798
9902
|
*
|
|
9799
9903
|
* @remarks
|
|
9800
|
-
* The
|
|
9904
|
+
* 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.
|
|
9801
9905
|
*
|
|
9802
9906
|
* @param request - QueryChatappBindWabaRequest
|
|
9803
9907
|
* @returns QueryChatappBindWabaResponse
|
|
@@ -9808,10 +9912,10 @@ export default class Client extends OpenApi {
|
|
|
9808
9912
|
}
|
|
9809
9913
|
|
|
9810
9914
|
/**
|
|
9811
|
-
* Queries all
|
|
9915
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
9812
9916
|
*
|
|
9813
9917
|
* @remarks
|
|
9814
|
-
* The
|
|
9918
|
+
* 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.
|
|
9815
9919
|
*
|
|
9816
9920
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9817
9921
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9862,10 +9966,10 @@ export default class Client extends OpenApi {
|
|
|
9862
9966
|
}
|
|
9863
9967
|
|
|
9864
9968
|
/**
|
|
9865
|
-
* Queries all
|
|
9969
|
+
* Queries all sender phone numbers and their statuses for a customer.
|
|
9866
9970
|
*
|
|
9867
9971
|
* @remarks
|
|
9868
|
-
* The
|
|
9972
|
+
* 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.
|
|
9869
9973
|
*
|
|
9870
9974
|
* @param request - QueryChatappPhoneNumbersRequest
|
|
9871
9975
|
* @returns QueryChatappPhoneNumbersResponse
|
|
@@ -9876,7 +9980,7 @@ export default class Client extends OpenApi {
|
|
|
9876
9980
|
}
|
|
9877
9981
|
|
|
9878
9982
|
/**
|
|
9879
|
-
*
|
|
9983
|
+
* Queries an instance.
|
|
9880
9984
|
*
|
|
9881
9985
|
* @param request - QueryInstanceRequest
|
|
9882
9986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9907,7 +10011,7 @@ export default class Client extends OpenApi {
|
|
|
9907
10011
|
}
|
|
9908
10012
|
|
|
9909
10013
|
/**
|
|
9910
|
-
*
|
|
10014
|
+
* Queries an instance.
|
|
9911
10015
|
*
|
|
9912
10016
|
* @param request - QueryInstanceRequest
|
|
9913
10017
|
* @returns QueryInstanceResponse
|
|
@@ -9918,7 +10022,7 @@ export default class Client extends OpenApi {
|
|
|
9918
10022
|
}
|
|
9919
10023
|
|
|
9920
10024
|
/**
|
|
9921
|
-
* Queries whether a marketing message
|
|
10025
|
+
* Queries whether a marketing message takes effect.
|
|
9922
10026
|
*
|
|
9923
10027
|
* @param request - QueryMMLActiveRequest
|
|
9924
10028
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9961,7 +10065,7 @@ export default class Client extends OpenApi {
|
|
|
9961
10065
|
}
|
|
9962
10066
|
|
|
9963
10067
|
/**
|
|
9964
|
-
* Queries whether a marketing message
|
|
10068
|
+
* Queries whether a marketing message takes effect.
|
|
9965
10069
|
*
|
|
9966
10070
|
* @param request - QueryMMLActiveRequest
|
|
9967
10071
|
* @returns QueryMMLActiveResponse
|
|
@@ -9975,7 +10079,7 @@ export default class Client extends OpenApi {
|
|
|
9975
10079
|
* Queries the business information of a phone number.
|
|
9976
10080
|
*
|
|
9977
10081
|
* @remarks
|
|
9978
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
10082
|
+
* 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.
|
|
9979
10083
|
*
|
|
9980
10084
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
9981
10085
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10025,7 +10129,7 @@ export default class Client extends OpenApi {
|
|
|
10025
10129
|
* Queries the business information of a phone number.
|
|
10026
10130
|
*
|
|
10027
10131
|
* @remarks
|
|
10028
|
-
* The queries per second (QPS) limit per user is 10. If this limit is exceeded, API calls are throttled, which may affect your services.
|
|
10132
|
+
* 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.
|
|
10029
10133
|
*
|
|
10030
10134
|
* @param request - QueryPhoneBusinessProfileRequest
|
|
10031
10135
|
* @returns QueryPhoneBusinessProfileResponse
|
|
@@ -10103,9 +10207,9 @@ export default class Client extends OpenApi {
|
|
|
10103
10207
|
* Retrieves the details of a flow.
|
|
10104
10208
|
*
|
|
10105
10209
|
* @remarks
|
|
10106
|
-
* - You can call this operation to retrieve flow details
|
|
10107
|
-
* - Before calling this operation, ensure that you have
|
|
10108
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
10210
|
+
* - 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).
|
|
10211
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
10212
|
+
* - 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.
|
|
10109
10213
|
*
|
|
10110
10214
|
* @param tmpReq - ReadChatFlowRequest
|
|
10111
10215
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10165,9 +10269,9 @@ export default class Client extends OpenApi {
|
|
|
10165
10269
|
* Retrieves the details of a flow.
|
|
10166
10270
|
*
|
|
10167
10271
|
* @remarks
|
|
10168
|
-
* - You can call this operation to retrieve flow details
|
|
10169
|
-
* - Before calling this operation, ensure that you have
|
|
10170
|
-
* - If you do not have a successfully created flow, you can manually create a flow in the [
|
|
10272
|
+
* - 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).
|
|
10273
|
+
* - Before calling this operation, ensure that you have successfully created a flow.
|
|
10274
|
+
* - 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.
|
|
10171
10275
|
*
|
|
10172
10276
|
* @param request - ReadChatFlowRequest
|
|
10173
10277
|
* @returns ReadChatFlowResponse
|
|
@@ -10181,9 +10285,9 @@ export default class Client extends OpenApi {
|
|
|
10181
10285
|
* Queries the flow log settings.
|
|
10182
10286
|
*
|
|
10183
10287
|
* @remarks
|
|
10184
|
-
* - Before calling this operation, make sure that flow log settings
|
|
10185
|
-
* - If flow log settings
|
|
10186
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
10288
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
10289
|
+
* - 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.
|
|
10290
|
+
* - 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.
|
|
10187
10291
|
*
|
|
10188
10292
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10189
10293
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10229,9 +10333,9 @@ export default class Client extends OpenApi {
|
|
|
10229
10333
|
* Queries the flow log settings.
|
|
10230
10334
|
*
|
|
10231
10335
|
* @remarks
|
|
10232
|
-
* - Before calling this operation, make sure that flow log settings
|
|
10233
|
-
* - If flow log settings
|
|
10234
|
-
* - You can use the unique ID returned by this operation to call the [UpdateChatFlowLogSetting](https://help.aliyun.com/document_detail/2937210.html) operation to update the flow log settings.
|
|
10336
|
+
* - Before calling this operation, make sure that flow log settings are created for your flow.
|
|
10337
|
+
* - 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.
|
|
10338
|
+
* - 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.
|
|
10235
10339
|
*
|
|
10236
10340
|
* @param request - ReadChatFlowLogSettingRequest
|
|
10237
10341
|
* @returns ReadChatFlowLogSettingResponse
|
|
@@ -10242,12 +10346,12 @@ export default class Client extends OpenApi {
|
|
|
10242
10346
|
}
|
|
10243
10347
|
|
|
10244
10348
|
/**
|
|
10245
|
-
* Retrieves
|
|
10349
|
+
* Retrieves the flow version.
|
|
10246
10350
|
*
|
|
10247
10351
|
* @remarks
|
|
10248
|
-
* - You can call this operation to query
|
|
10249
|
-
* - Before calling this operation, make sure that you have
|
|
10250
|
-
* - If you do not have a
|
|
10352
|
+
* - 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.
|
|
10353
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
10354
|
+
* - 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.
|
|
10251
10355
|
*
|
|
10252
10356
|
* @param tmpReq - ReadFlowVersionRequest
|
|
10253
10357
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10316,12 +10420,12 @@ export default class Client extends OpenApi {
|
|
|
10316
10420
|
}
|
|
10317
10421
|
|
|
10318
10422
|
/**
|
|
10319
|
-
* Retrieves
|
|
10423
|
+
* Retrieves the flow version.
|
|
10320
10424
|
*
|
|
10321
10425
|
* @remarks
|
|
10322
|
-
* - You can call this operation to query
|
|
10323
|
-
* - Before calling this operation, make sure that you have
|
|
10324
|
-
* - If you do not have a
|
|
10426
|
+
* - 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.
|
|
10427
|
+
* - Before calling this operation, make sure that you have created a flow.
|
|
10428
|
+
* - 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.
|
|
10325
10429
|
*
|
|
10326
10430
|
* @param request - ReadFlowVersionRequest
|
|
10327
10431
|
* @returns ReadFlowVersionResponse
|
|
@@ -10390,10 +10494,10 @@ export default class Client extends OpenApi {
|
|
|
10390
10494
|
}
|
|
10391
10495
|
|
|
10392
10496
|
/**
|
|
10393
|
-
*
|
|
10497
|
+
* Calls the WhatsApp Conversion API.
|
|
10394
10498
|
*
|
|
10395
10499
|
* @remarks
|
|
10396
|
-
* The
|
|
10500
|
+
* 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.
|
|
10397
10501
|
*
|
|
10398
10502
|
* @param tmpReq - RequestWhatsappConversionApiRequest
|
|
10399
10503
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10450,10 +10554,10 @@ export default class Client extends OpenApi {
|
|
|
10450
10554
|
}
|
|
10451
10555
|
|
|
10452
10556
|
/**
|
|
10453
|
-
*
|
|
10557
|
+
* Calls the WhatsApp Conversion API.
|
|
10454
10558
|
*
|
|
10455
10559
|
* @remarks
|
|
10456
|
-
* The
|
|
10560
|
+
* 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.
|
|
10457
10561
|
*
|
|
10458
10562
|
* @param request - RequestWhatsappConversionApiRequest
|
|
10459
10563
|
* @returns RequestWhatsappConversionApiResponse
|
|
@@ -10880,11 +10984,11 @@ export default class Client extends OpenApi {
|
|
|
10880
10984
|
}
|
|
10881
10985
|
|
|
10882
10986
|
/**
|
|
10883
|
-
* Synchronizes business app
|
|
10987
|
+
* Synchronizes the history records of a business app.
|
|
10884
10988
|
*
|
|
10885
10989
|
* @remarks
|
|
10886
|
-
* - Before calling this operation, configure
|
|
10887
|
-
* - This operation takes effect only once.
|
|
10990
|
+
* - 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.
|
|
10991
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
10888
10992
|
*
|
|
10889
10993
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10890
10994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10931,11 +11035,11 @@ export default class Client extends OpenApi {
|
|
|
10931
11035
|
}
|
|
10932
11036
|
|
|
10933
11037
|
/**
|
|
10934
|
-
* Synchronizes business app
|
|
11038
|
+
* Synchronizes the history records of a business app.
|
|
10935
11039
|
*
|
|
10936
11040
|
* @remarks
|
|
10937
|
-
* - Before calling this operation, configure
|
|
10938
|
-
* - This operation takes effect only once.
|
|
11041
|
+
* - 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.
|
|
11042
|
+
* - This operation takes effect only once. Subsequent calls do not push history messages again.
|
|
10939
11043
|
*
|
|
10940
11044
|
* @param request - SyncBusinessAppHistoryRequest
|
|
10941
11045
|
* @returns SyncBusinessAppHistoryResponse
|
|
@@ -10946,7 +11050,7 @@ export default class Client extends OpenApi {
|
|
|
10946
11050
|
}
|
|
10947
11051
|
|
|
10948
11052
|
/**
|
|
10949
|
-
*
|
|
11053
|
+
* Synchronizes a flow.
|
|
10950
11054
|
*
|
|
10951
11055
|
* @param request - SyncFlowRequest
|
|
10952
11056
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10989,7 +11093,7 @@ export default class Client extends OpenApi {
|
|
|
10989
11093
|
}
|
|
10990
11094
|
|
|
10991
11095
|
/**
|
|
10992
|
-
*
|
|
11096
|
+
* Synchronizes a flow.
|
|
10993
11097
|
*
|
|
10994
11098
|
* @param request - SyncFlowRequest
|
|
10995
11099
|
* @returns SyncFlowResponse
|
|
@@ -11000,7 +11104,7 @@ export default class Client extends OpenApi {
|
|
|
11000
11104
|
}
|
|
11001
11105
|
|
|
11002
11106
|
/**
|
|
11003
|
-
*
|
|
11107
|
+
* Queries the budget synchronously.
|
|
11004
11108
|
*
|
|
11005
11109
|
* @param request - SyncMessageCampaignRequest
|
|
11006
11110
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11047,7 +11151,7 @@ export default class Client extends OpenApi {
|
|
|
11047
11151
|
}
|
|
11048
11152
|
|
|
11049
11153
|
/**
|
|
11050
|
-
*
|
|
11154
|
+
* Queries the budget synchronously.
|
|
11051
11155
|
*
|
|
11052
11156
|
* @param request - SyncMessageCampaignRequest
|
|
11053
11157
|
* @returns SyncMessageCampaignResponse
|
|
@@ -11124,13 +11228,13 @@ export default class Client extends OpenApi {
|
|
|
11124
11228
|
}
|
|
11125
11229
|
|
|
11126
11230
|
/**
|
|
11127
|
-
* Triggers an online
|
|
11231
|
+
* Triggers an online flow version whose trigger type is manual.
|
|
11128
11232
|
*
|
|
11129
11233
|
* @remarks
|
|
11130
|
-
* - You can call this operation to trigger
|
|
11131
|
-
* - Before
|
|
11132
|
-
* - If
|
|
11133
|
-
* -
|
|
11234
|
+
* - 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.
|
|
11235
|
+
* - Before calling this operation, ensure that the flow you created has a manual trigger and is online.
|
|
11236
|
+
* - 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.
|
|
11237
|
+
* - 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.
|
|
11134
11238
|
*
|
|
11135
11239
|
* @param tmpReq - TriggerChatFlowRequest
|
|
11136
11240
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11199,13 +11303,13 @@ export default class Client extends OpenApi {
|
|
|
11199
11303
|
}
|
|
11200
11304
|
|
|
11201
11305
|
/**
|
|
11202
|
-
* Triggers an online
|
|
11306
|
+
* Triggers an online flow version whose trigger type is manual.
|
|
11203
11307
|
*
|
|
11204
11308
|
* @remarks
|
|
11205
|
-
* - You can call this operation to trigger
|
|
11206
|
-
* - Before
|
|
11207
|
-
* - If
|
|
11208
|
-
* -
|
|
11309
|
+
* - 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.
|
|
11310
|
+
* - Before calling this operation, ensure that the flow you created has a manual trigger and is online.
|
|
11311
|
+
* - 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.
|
|
11312
|
+
* - 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.
|
|
11209
11313
|
*
|
|
11210
11314
|
* @param request - TriggerChatFlowRequest
|
|
11211
11315
|
* @returns TriggerChatFlowResponse
|
|
@@ -11216,7 +11320,7 @@ export default class Client extends OpenApi {
|
|
|
11216
11320
|
}
|
|
11217
11321
|
|
|
11218
11322
|
/**
|
|
11219
|
-
*
|
|
11323
|
+
* Disassociates an email account.
|
|
11220
11324
|
*
|
|
11221
11325
|
* @param request - UnbindDmAccountRequest
|
|
11222
11326
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11259,7 +11363,7 @@ export default class Client extends OpenApi {
|
|
|
11259
11363
|
}
|
|
11260
11364
|
|
|
11261
11365
|
/**
|
|
11262
|
-
*
|
|
11366
|
+
* Disassociates an email account.
|
|
11263
11367
|
*
|
|
11264
11368
|
* @param request - UnbindDmAccountRequest
|
|
11265
11369
|
* @returns UnbindDmAccountResponse
|
|
@@ -11417,9 +11521,9 @@ export default class Client extends OpenApi {
|
|
|
11417
11521
|
* Updates the basic information of a flow based on the flow code.
|
|
11418
11522
|
*
|
|
11419
11523
|
* @remarks
|
|
11420
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
11421
|
-
* - Before calling this operation,
|
|
11422
|
-
* - If you do not have a
|
|
11524
|
+
* - 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).
|
|
11525
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
11526
|
+
* - 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.
|
|
11423
11527
|
*
|
|
11424
11528
|
* @param tmpReq - UpdateChatFlowRequest
|
|
11425
11529
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11487,9 +11591,9 @@ export default class Client extends OpenApi {
|
|
|
11487
11591
|
* Updates the basic information of a flow based on the flow code.
|
|
11488
11592
|
*
|
|
11489
11593
|
* @remarks
|
|
11490
|
-
* - You can call this operation to update the basic information of a flow, or manually update it in [**Flow
|
|
11491
|
-
* - Before calling this operation,
|
|
11492
|
-
* - If you do not have a
|
|
11594
|
+
* - 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).
|
|
11595
|
+
* - Before calling this operation, ensure that you have created a flow.
|
|
11596
|
+
* - 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.
|
|
11493
11597
|
*
|
|
11494
11598
|
* @param request - UpdateChatFlowRequest
|
|
11495
11599
|
* @returns UpdateChatFlowResponse
|
|
@@ -11503,10 +11607,10 @@ export default class Client extends OpenApi {
|
|
|
11503
11607
|
* Updates the flow log settings.
|
|
11504
11608
|
*
|
|
11505
11609
|
* @remarks
|
|
11506
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
11507
|
-
* - Before
|
|
11508
|
-
* - If you have not created flow log settings for the flow,
|
|
11509
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
11610
|
+
* - 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).
|
|
11611
|
+
* - 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.
|
|
11612
|
+
* - 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.
|
|
11613
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
11510
11614
|
*
|
|
11511
11615
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
11512
11616
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11560,10 +11664,10 @@ export default class Client extends OpenApi {
|
|
|
11560
11664
|
* Updates the flow log settings.
|
|
11561
11665
|
*
|
|
11562
11666
|
* @remarks
|
|
11563
|
-
* - You can call this operation to update flow log settings, or manually update them in [**Flow
|
|
11564
|
-
* - Before
|
|
11565
|
-
* - If you have not created flow log settings for the flow,
|
|
11566
|
-
* - Updating flow log settings may affect your business. Proceed with caution.
|
|
11667
|
+
* - 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).
|
|
11668
|
+
* - 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.
|
|
11669
|
+
* - 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.
|
|
11670
|
+
* - Updating the flow log settings may affect your business. Proceed with caution.
|
|
11567
11671
|
*
|
|
11568
11672
|
* @param request - UpdateChatFlowLogSettingRequest
|
|
11569
11673
|
* @returns UpdateChatFlowLogSettingResponse
|
|
@@ -11577,10 +11681,10 @@ export default class Client extends OpenApi {
|
|
|
11577
11681
|
* Modifies the information of an IM group.
|
|
11578
11682
|
*
|
|
11579
11683
|
* @remarks
|
|
11580
|
-
* >
|
|
11581
|
-
* -
|
|
11582
|
-
* - Before
|
|
11583
|
-
* - If you do not have
|
|
11684
|
+
* <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>
|
|
11685
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
11686
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
11687
|
+
* - 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.
|
|
11584
11688
|
*
|
|
11585
11689
|
* @param request - UpdateChatGroupRequest
|
|
11586
11690
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11650,10 +11754,10 @@ export default class Client extends OpenApi {
|
|
|
11650
11754
|
* Modifies the information of an IM group.
|
|
11651
11755
|
*
|
|
11652
11756
|
* @remarks
|
|
11653
|
-
* >
|
|
11654
|
-
* -
|
|
11655
|
-
* - Before
|
|
11656
|
-
* - If you do not have
|
|
11757
|
+
* <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>
|
|
11758
|
+
* - The feature to create WhatsApp groups through the API is in the Meta closed beta. Contact your account manager to apply for whitelist access.
|
|
11759
|
+
* - Before you call this operation, make sure that you have created an IM group.
|
|
11760
|
+
* - 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.
|
|
11657
11761
|
*
|
|
11658
11762
|
* @param request - UpdateChatGroupRequest
|
|
11659
11763
|
* @returns UpdateChatGroupResponse
|
|
@@ -11736,7 +11840,7 @@ export default class Client extends OpenApi {
|
|
|
11736
11840
|
}
|
|
11737
11841
|
|
|
11738
11842
|
/**
|
|
11739
|
-
*
|
|
11843
|
+
* Updates a contact.
|
|
11740
11844
|
*
|
|
11741
11845
|
* @param tmpReq - UpdateContactByIdRequest
|
|
11742
11846
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11813,7 +11917,7 @@ export default class Client extends OpenApi {
|
|
|
11813
11917
|
}
|
|
11814
11918
|
|
|
11815
11919
|
/**
|
|
11816
|
-
*
|
|
11920
|
+
* Updates a contact.
|
|
11817
11921
|
*
|
|
11818
11922
|
* @param request - UpdateContactByIdRequest
|
|
11819
11923
|
* @returns UpdateContactByIdResponse
|
|
@@ -11824,12 +11928,12 @@ export default class Client extends OpenApi {
|
|
|
11824
11928
|
}
|
|
11825
11929
|
|
|
11826
11930
|
/**
|
|
11827
|
-
* Modifies the welcome message,
|
|
11931
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
11828
11932
|
*
|
|
11829
11933
|
* @remarks
|
|
11830
|
-
* ### QPS
|
|
11831
|
-
* The
|
|
11832
|
-
* This
|
|
11934
|
+
* ### QPS limits
|
|
11935
|
+
* 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.
|
|
11936
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
11833
11937
|
*
|
|
11834
11938
|
* @param tmpReq - UpdateConversationalAutomationRequest
|
|
11835
11939
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11898,12 +12002,12 @@ export default class Client extends OpenApi {
|
|
|
11898
12002
|
}
|
|
11899
12003
|
|
|
11900
12004
|
/**
|
|
11901
|
-
* Modifies the welcome message,
|
|
12005
|
+
* Modifies the welcome message, prompts, and commands for a phone number.
|
|
11902
12006
|
*
|
|
11903
12007
|
* @remarks
|
|
11904
|
-
* ### QPS
|
|
11905
|
-
* The
|
|
11906
|
-
* This
|
|
12008
|
+
* ### QPS limits
|
|
12009
|
+
* 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.
|
|
12010
|
+
* This operation directly pulls data from Facebook. The total number of Facebook API calls is limited. Use this operation reasonably.
|
|
11907
12011
|
*
|
|
11908
12012
|
* @param request - UpdateConversationalAutomationRequest
|
|
11909
12013
|
* @returns UpdateConversationalAutomationResponse
|
|
@@ -11982,12 +12086,12 @@ export default class Client extends OpenApi {
|
|
|
11982
12086
|
}
|
|
11983
12087
|
|
|
11984
12088
|
/**
|
|
11985
|
-
* Updates the DSL data of a flow version
|
|
12089
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
11986
12090
|
*
|
|
11987
12091
|
* @remarks
|
|
11988
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
11989
|
-
* - Before calling this operation,
|
|
11990
|
-
* - If you have not created a flow, you can manually create
|
|
12092
|
+
* - 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.
|
|
12093
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
12094
|
+
* - 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.
|
|
11991
12095
|
*
|
|
11992
12096
|
* @param tmpReq - UpdateFlowVersionRequest
|
|
11993
12097
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12060,12 +12164,12 @@ export default class Client extends OpenApi {
|
|
|
12060
12164
|
}
|
|
12061
12165
|
|
|
12062
12166
|
/**
|
|
12063
|
-
* Updates the DSL data of a flow version
|
|
12167
|
+
* Updates the DSL data of a flow version for updating the flow version on the canvas.
|
|
12064
12168
|
*
|
|
12065
12169
|
* @remarks
|
|
12066
|
-
* - You can call this operation to update the DSL data of a flow version,
|
|
12067
|
-
* - Before calling this operation,
|
|
12068
|
-
* - If you have not created a flow, you can manually create
|
|
12170
|
+
* - 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.
|
|
12171
|
+
* - Before calling this operation, ensure that you have created a flow and the flow is offline.
|
|
12172
|
+
* - 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.
|
|
12069
12173
|
*
|
|
12070
12174
|
* @param request - UpdateFlowVersionRequest
|
|
12071
12175
|
* @returns UpdateFlowVersionResponse
|
|
@@ -12134,7 +12238,7 @@ export default class Client extends OpenApi {
|
|
|
12134
12238
|
}
|
|
12135
12239
|
|
|
12136
12240
|
/**
|
|
12137
|
-
*
|
|
12241
|
+
* Modifies an instance.
|
|
12138
12242
|
*
|
|
12139
12243
|
* @param request - UpdateInstanceRequest
|
|
12140
12244
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12197,7 +12301,7 @@ export default class Client extends OpenApi {
|
|
|
12197
12301
|
}
|
|
12198
12302
|
|
|
12199
12303
|
/**
|
|
12200
|
-
*
|
|
12304
|
+
* Modifies an instance.
|
|
12201
12305
|
*
|
|
12202
12306
|
* @param request - UpdateInstanceRequest
|
|
12203
12307
|
* @returns UpdateInstanceResponse
|
|
@@ -12208,7 +12312,7 @@ export default class Client extends OpenApi {
|
|
|
12208
12312
|
}
|
|
12209
12313
|
|
|
12210
12314
|
/**
|
|
12211
|
-
*
|
|
12315
|
+
* Updates the marketing campaign information.
|
|
12212
12316
|
*
|
|
12213
12317
|
* @param tmpReq - UpdateMarketingFLowRequest
|
|
12214
12318
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12305,7 +12409,7 @@ export default class Client extends OpenApi {
|
|
|
12305
12409
|
}
|
|
12306
12410
|
|
|
12307
12411
|
/**
|
|
12308
|
-
*
|
|
12412
|
+
* Updates the marketing campaign information.
|
|
12309
12413
|
*
|
|
12310
12414
|
* @param request - UpdateMarketingFLowRequest
|
|
12311
12415
|
* @returns UpdateMarketingFLowResponse
|
|
@@ -12319,10 +12423,10 @@ export default class Client extends OpenApi {
|
|
|
12319
12423
|
* Updates the encryption public key of a phone number.
|
|
12320
12424
|
*
|
|
12321
12425
|
* @remarks
|
|
12322
|
-
* - Before
|
|
12323
|
-
* - If no phone number has been added
|
|
12426
|
+
* - 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.
|
|
12427
|
+
* - 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.
|
|
12324
12428
|
* #### QPS limit
|
|
12325
|
-
* The
|
|
12429
|
+
* 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.
|
|
12326
12430
|
*
|
|
12327
12431
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
12328
12432
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12376,10 +12480,10 @@ export default class Client extends OpenApi {
|
|
|
12376
12480
|
* Updates the encryption public key of a phone number.
|
|
12377
12481
|
*
|
|
12378
12482
|
* @remarks
|
|
12379
|
-
* - Before
|
|
12380
|
-
* - If no phone number has been added
|
|
12483
|
+
* - 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.
|
|
12484
|
+
* - 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.
|
|
12381
12485
|
* #### QPS limit
|
|
12382
|
-
* The
|
|
12486
|
+
* 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.
|
|
12383
12487
|
*
|
|
12384
12488
|
* @param request - UpdatePhoneEncryptionPublicKeyRequest
|
|
12385
12489
|
* @returns UpdatePhoneEncryptionPublicKeyResponse
|
|
@@ -12670,7 +12774,7 @@ export default class Client extends OpenApi {
|
|
|
12670
12774
|
}
|
|
12671
12775
|
|
|
12672
12776
|
/**
|
|
12673
|
-
*
|
|
12777
|
+
* 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.
|
|
12674
12778
|
*
|
|
12675
12779
|
* @param tmpReq - WhatsappCallRequest
|
|
12676
12780
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12705,6 +12809,10 @@ export default class Client extends OpenApi {
|
|
|
12705
12809
|
query["OwnerId"] = request.ownerId;
|
|
12706
12810
|
}
|
|
12707
12811
|
|
|
12812
|
+
if (!$dara.isNull(request.recipientType)) {
|
|
12813
|
+
query["RecipientType"] = request.recipientType;
|
|
12814
|
+
}
|
|
12815
|
+
|
|
12708
12816
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
12709
12817
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12710
12818
|
}
|
|
@@ -12739,7 +12847,7 @@ export default class Client extends OpenApi {
|
|
|
12739
12847
|
}
|
|
12740
12848
|
|
|
12741
12849
|
/**
|
|
12742
|
-
*
|
|
12850
|
+
* 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.
|
|
12743
12851
|
*
|
|
12744
12852
|
* @param request - WhatsappCallRequest
|
|
12745
12853
|
* @returns WhatsappCallResponse
|