@huaweicloud/huaweicloud-sdk-metastudio 3.1.71 → 3.1.72
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/package.json +2 -2
- package/v1/MetaStudioClient.d.ts +312 -62
- package/v1/MetaStudioClient.d.ts.map +1 -1
- package/v1/MetaStudioClient.js +735 -113
- package/v1/MetaStudioClient.js.map +1 -1
- package/v1/model/AssetFileInfo.d.ts +18 -0
- package/v1/model/AssetFileInfo.d.ts.map +1 -1
- package/v1/model/AssetFileInfo.js +24 -1
- package/v1/model/AssetFileInfo.js.map +1 -1
- package/v1/model/CallBackConfig.d.ts +22 -0
- package/v1/model/CallBackConfig.d.ts.map +1 -0
- package/v1/model/CallBackConfig.js +43 -0
- package/v1/model/CallBackConfig.js.map +1 -0
- package/v1/model/CheckTextLanguageRequest.d.ts +7 -0
- package/v1/model/CheckTextLanguageRequest.d.ts.map +1 -0
- package/v1/model/CheckTextLanguageRequest.js +13 -0
- package/v1/model/CheckTextLanguageRequest.js.map +1 -0
- package/v1/model/CheckTextLanguageResponse.d.ts +15 -0
- package/v1/model/CheckTextLanguageResponse.d.ts.map +1 -0
- package/v1/model/CheckTextLanguageResponse.js +24 -0
- package/v1/model/CheckTextLanguageResponse.js.map +1 -0
- package/v1/model/ControlSmartLiveReq.d.ts +7 -1
- package/v1/model/ControlSmartLiveReq.d.ts.map +1 -1
- package/v1/model/ControlSmartLiveReq.js +11 -0
- package/v1/model/ControlSmartLiveReq.js.map +1 -1
- package/v1/model/Create2DDigitalHumanVideoReq.d.ts +10 -0
- package/v1/model/Create2DDigitalHumanVideoReq.d.ts.map +1 -1
- package/v1/model/Create2DDigitalHumanVideoReq.js +20 -0
- package/v1/model/Create2DDigitalHumanVideoReq.js.map +1 -1
- package/v1/model/CreateDigitalAssetRequestBody.d.ts +11 -1
- package/v1/model/CreateDigitalAssetRequestBody.d.ts.map +1 -1
- package/v1/model/CreateDigitalAssetRequestBody.js +21 -0
- package/v1/model/CreateDigitalAssetRequestBody.js.map +1 -1
- package/v1/model/CreateDigitalHumanBusinessCardReq.d.ts +22 -1
- package/v1/model/CreateDigitalHumanBusinessCardReq.d.ts.map +1 -1
- package/v1/model/CreateDigitalHumanBusinessCardReq.js +41 -4
- package/v1/model/CreateDigitalHumanBusinessCardReq.js.map +1 -1
- package/v1/model/CreateFASReq.d.ts +12 -0
- package/v1/model/CreateFASReq.d.ts.map +1 -0
- package/v1/model/CreateFASReq.js +31 -0
- package/v1/model/CreateFASReq.js.map +1 -0
- package/v1/model/CreateFacialAnimationsRequest.d.ts +7 -0
- package/v1/model/CreateFacialAnimationsRequest.d.ts.map +1 -0
- package/v1/model/CreateFacialAnimationsRequest.js +13 -0
- package/v1/model/CreateFacialAnimationsRequest.js.map +1 -0
- package/v1/model/CreateFacialAnimationsResponse.d.ts +13 -0
- package/v1/model/CreateFacialAnimationsResponse.d.ts.map +1 -0
- package/v1/model/CreateFacialAnimationsResponse.js +31 -0
- package/v1/model/CreateFacialAnimationsResponse.js.map +1 -0
- package/v1/model/CreateInteractionRuleGroupRequest.d.ts +23 -0
- package/v1/model/CreateInteractionRuleGroupRequest.d.ts.map +1 -0
- package/v1/model/CreateInteractionRuleGroupRequest.js +53 -0
- package/v1/model/CreateInteractionRuleGroupRequest.js.map +1 -0
- package/v1/model/CreateInteractionRuleGroupResponse.d.ts +13 -0
- package/v1/model/CreateInteractionRuleGroupResponse.d.ts.map +1 -0
- package/v1/model/CreateInteractionRuleGroupResponse.js +31 -0
- package/v1/model/CreateInteractionRuleGroupResponse.js.map +1 -0
- package/v1/model/CreatePhotoDigitalHumanVideoReq.d.ts +5 -0
- package/v1/model/CreatePhotoDigitalHumanVideoReq.d.ts.map +1 -1
- package/v1/model/CreatePhotoDigitalHumanVideoReq.js +10 -0
- package/v1/model/CreatePhotoDigitalHumanVideoReq.js.map +1 -1
- package/v1/model/CreatePictureModelingByUrlJobRequest.d.ts +0 -4
- package/v1/model/CreatePictureModelingByUrlJobRequest.d.ts.map +1 -1
- package/v1/model/CreatePictureModelingByUrlJobRequest.js +0 -10
- package/v1/model/CreatePictureModelingByUrlJobRequest.js.map +1 -1
- package/v1/model/CreatePictureModelingJobRequest.d.ts +0 -4
- package/v1/model/CreatePictureModelingJobRequest.d.ts.map +1 -1
- package/v1/model/CreatePictureModelingJobRequest.js +0 -10
- package/v1/model/CreatePictureModelingJobRequest.js.map +1 -1
- package/v1/model/CreateSmartLiveRoomReq.d.ts +25 -1
- package/v1/model/CreateSmartLiveRoomReq.d.ts.map +1 -1
- package/v1/model/CreateSmartLiveRoomReq.js +51 -0
- package/v1/model/CreateSmartLiveRoomReq.js.map +1 -1
- package/v1/model/CreateTTSAReq.d.ts +29 -9
- package/v1/model/CreateTTSAReq.d.ts.map +1 -1
- package/v1/model/CreateTTSAReq.js +51 -23
- package/v1/model/CreateTTSAReq.js.map +1 -1
- package/v1/model/CreateTtsaRequest.d.ts +0 -4
- package/v1/model/CreateTtsaRequest.d.ts.map +1 -1
- package/v1/model/CreateTtsaRequest.js +0 -10
- package/v1/model/CreateTtsaRequest.js.map +1 -1
- package/v1/model/CreateVideoScriptsReq.d.ts +10 -21
- package/v1/model/CreateVideoScriptsReq.d.ts.map +1 -1
- package/v1/model/CreateVideoScriptsReq.js +22 -44
- package/v1/model/CreateVideoScriptsReq.js.map +1 -1
- package/v1/model/DeleteInteractionRuleGroupRequest.d.ts +24 -0
- package/v1/model/DeleteInteractionRuleGroupRequest.d.ts.map +1 -0
- package/v1/model/DeleteInteractionRuleGroupRequest.js +60 -0
- package/v1/model/DeleteInteractionRuleGroupRequest.js.map +1 -0
- package/v1/model/DeleteInteractionRuleGroupResponse.d.ts +9 -0
- package/v1/model/DeleteInteractionRuleGroupResponse.d.ts.map +1 -0
- package/v1/model/DeleteInteractionRuleGroupResponse.js +21 -0
- package/v1/model/DeleteInteractionRuleGroupResponse.js.map +1 -0
- package/v1/model/DigitalAssetInfo.d.ts +20 -1
- package/v1/model/DigitalAssetInfo.d.ts.map +1 -1
- package/v1/model/DigitalAssetInfo.js +35 -1
- package/v1/model/DigitalAssetInfo.js.map +1 -1
- package/v1/model/DigitalAssetSummary.d.ts +2 -1
- package/v1/model/DigitalAssetSummary.d.ts.map +1 -1
- package/v1/model/DigitalAssetSummary.js +1 -0
- package/v1/model/DigitalAssetSummary.js.map +1 -1
- package/v1/model/HumanModel2DAssetMeta.d.ts +4 -4
- package/v1/model/HumanModel2DAssetMeta.d.ts.map +1 -1
- package/v1/model/HumanModel2DAssetMeta.js +10 -10
- package/v1/model/HumanModel2DAssetMeta.js.map +1 -1
- package/v1/model/InteractionRuleDetailInfo.d.ts +43 -0
- package/v1/model/InteractionRuleDetailInfo.d.ts.map +1 -0
- package/v1/model/InteractionRuleDetailInfo.js +97 -0
- package/v1/model/InteractionRuleDetailInfo.js.map +1 -0
- package/v1/model/InteractionRuleGroup.d.ts +13 -0
- package/v1/model/InteractionRuleGroup.d.ts.map +1 -0
- package/v1/model/InteractionRuleGroup.js +30 -0
- package/v1/model/InteractionRuleGroup.js.map +1 -0
- package/v1/model/InteractionRuleGroupDetail.d.ts +25 -0
- package/v1/model/InteractionRuleGroupDetail.d.ts.map +1 -0
- package/v1/model/InteractionRuleGroupDetail.js +60 -0
- package/v1/model/InteractionRuleGroupDetail.js.map +1 -0
- package/v1/model/InteractionRuleInfo.d.ts +9 -0
- package/v1/model/InteractionRuleInfo.d.ts.map +1 -1
- package/v1/model/InteractionRuleInfo.js +20 -0
- package/v1/model/InteractionRuleInfo.js.map +1 -1
- package/v1/model/LanguageCheckInfoReq.d.ts +13 -0
- package/v1/model/LanguageCheckInfoReq.d.ts.map +1 -0
- package/v1/model/LanguageCheckInfoReq.js +31 -0
- package/v1/model/LanguageCheckInfoReq.js.map +1 -0
- package/v1/model/LayerConfig.d.ts +6 -1
- package/v1/model/LayerConfig.d.ts.map +1 -1
- package/v1/model/LayerConfig.js +11 -0
- package/v1/model/LayerConfig.js.map +1 -1
- package/v1/model/ListAssetsRequest.d.ts +0 -22
- package/v1/model/ListAssetsRequest.d.ts.map +1 -1
- package/v1/model/ListAssetsRequest.js +1 -36
- package/v1/model/ListAssetsRequest.js.map +1 -1
- package/v1/model/ListDigitalHumanVideoRequest.d.ts +50 -0
- package/v1/model/ListDigitalHumanVideoRequest.d.ts.map +1 -0
- package/v1/model/ListDigitalHumanVideoRequest.js +121 -0
- package/v1/model/ListDigitalHumanVideoRequest.js.map +1 -0
- package/v1/model/ListDigitalHumanVideoResponse.d.ts +14 -0
- package/v1/model/ListDigitalHumanVideoResponse.d.ts.map +1 -0
- package/v1/model/ListDigitalHumanVideoResponse.js +29 -0
- package/v1/model/ListDigitalHumanVideoResponse.js.map +1 -0
- package/v1/model/ListFacialAnimationsDataRequest.d.ts +8 -0
- package/v1/model/ListFacialAnimationsDataRequest.d.ts.map +1 -0
- package/v1/model/ListFacialAnimationsDataRequest.js +20 -0
- package/v1/model/ListFacialAnimationsDataRequest.js.map +1 -0
- package/v1/model/ListFacialAnimationsDataResponse.d.ts +24 -0
- package/v1/model/ListFacialAnimationsDataResponse.d.ts.map +1 -0
- package/v1/model/ListFacialAnimationsDataResponse.js +45 -0
- package/v1/model/ListFacialAnimationsDataResponse.js.map +1 -0
- package/v1/model/ListInteractionRuleGroupsRequest.d.ts +36 -0
- package/v1/model/ListInteractionRuleGroupsRequest.d.ts.map +1 -0
- package/v1/model/ListInteractionRuleGroupsRequest.js +87 -0
- package/v1/model/ListInteractionRuleGroupsRequest.js.map +1 -0
- package/v1/model/ListInteractionRuleGroupsResponse.d.ts +16 -0
- package/v1/model/ListInteractionRuleGroupsResponse.d.ts.map +1 -0
- package/v1/model/ListInteractionRuleGroupsResponse.js +35 -0
- package/v1/model/ListInteractionRuleGroupsResponse.js.map +1 -0
- package/v1/model/ListSmartLiveRequest.d.ts +4 -4
- package/v1/model/ListSmartLiveRequest.js +10 -10
- package/v1/model/ListSmartLiveRoomsRequest.d.ts +4 -0
- package/v1/model/ListSmartLiveRoomsRequest.d.ts.map +1 -1
- package/v1/model/ListSmartLiveRoomsRequest.js +10 -0
- package/v1/model/ListSmartLiveRoomsRequest.js.map +1 -1
- package/v1/model/ListTtsaDataResponse.d.ts +12 -0
- package/v1/model/ListTtsaDataResponse.d.ts.map +1 -1
- package/v1/model/ListTtsaDataResponse.js +30 -0
- package/v1/model/ListTtsaDataResponse.js.map +1 -1
- package/v1/model/ListTtsaJobsRequest.d.ts +3 -3
- package/v1/model/ListTtsaJobsRequest.d.ts.map +1 -1
- package/v1/model/ListTtsaJobsRequest.js +8 -8
- package/v1/model/ListTtsaJobsRequest.js.map +1 -1
- package/v1/model/ListVideoScriptsRequest.d.ts +26 -0
- package/v1/model/ListVideoScriptsRequest.d.ts.map +1 -1
- package/v1/model/ListVideoScriptsRequest.js +43 -1
- package/v1/model/ListVideoScriptsRequest.js.map +1 -1
- package/v1/model/LiveEventCallBackConfig.d.ts +26 -0
- package/v1/model/LiveEventCallBackConfig.d.ts.map +1 -0
- package/v1/model/LiveEventCallBackConfig.js +52 -0
- package/v1/model/LiveEventCallBackConfig.js.map +1 -0
- package/v1/model/LiveVideoScriptInfo.d.ts +1 -1
- package/v1/model/LiveVideoScriptInfo.d.ts.map +1 -1
- package/v1/model/LiveVideoScriptInfo.js +2 -1
- package/v1/model/LiveVideoScriptInfo.js.map +1 -1
- package/v1/model/LiveWarningItem.d.ts +19 -0
- package/v1/model/LiveWarningItem.d.ts.map +1 -0
- package/v1/model/LiveWarningItem.js +31 -0
- package/v1/model/LiveWarningItem.js.map +1 -0
- package/v1/model/ModelInfo.d.ts +4 -0
- package/v1/model/ModelInfo.d.ts.map +1 -1
- package/v1/model/ModelInfo.js +10 -0
- package/v1/model/ModelInfo.js.map +1 -1
- package/v1/model/PPTAssetMeta.d.ts +5 -0
- package/v1/model/PPTAssetMeta.d.ts.map +1 -1
- package/v1/model/PPTAssetMeta.js +10 -0
- package/v1/model/PPTAssetMeta.js.map +1 -1
- package/v1/model/PhotoVideoConfig.d.ts +0 -4
- package/v1/model/PhotoVideoConfig.d.ts.map +1 -1
- package/v1/model/PhotoVideoConfig.js +0 -10
- package/v1/model/PhotoVideoConfig.js.map +1 -1
- package/v1/model/PlayPolicy.d.ts +14 -0
- package/v1/model/PlayPolicy.d.ts.map +1 -1
- package/v1/model/PlayPolicy.js +22 -1
- package/v1/model/PlayPolicy.js.map +1 -1
- package/v1/model/RTCUserInfo.d.ts +3 -1
- package/v1/model/RTCUserInfo.d.ts.map +1 -1
- package/v1/model/RTCUserInfo.js +2 -0
- package/v1/model/RTCUserInfo.js.map +1 -1
- package/v1/model/ReplyAudioInfo.d.ts +12 -0
- package/v1/model/ReplyAudioInfo.d.ts.map +1 -0
- package/v1/model/ReplyAudioInfo.js +29 -0
- package/v1/model/ReplyAudioInfo.js.map +1 -0
- package/v1/model/ReportLiveEventReq.d.ts +5 -0
- package/v1/model/ReportLiveEventReq.d.ts.map +1 -1
- package/v1/model/ReportLiveEventReq.js +10 -0
- package/v1/model/ReportLiveEventReq.js.map +1 -1
- package/v1/model/ReviewConfig.d.ts +8 -0
- package/v1/model/ReviewConfig.d.ts.map +1 -0
- package/v1/model/ReviewConfig.js +19 -0
- package/v1/model/ReviewConfig.js.map +1 -0
- package/v1/model/SharedConfig.d.ts +38 -0
- package/v1/model/SharedConfig.d.ts.map +1 -0
- package/v1/model/SharedConfig.js +69 -0
- package/v1/model/SharedConfig.js.map +1 -0
- package/v1/model/ShootScriptDetail.d.ts +45 -0
- package/v1/model/ShootScriptDetail.d.ts.map +1 -0
- package/v1/model/ShootScriptDetail.js +88 -0
- package/v1/model/ShootScriptDetail.js.map +1 -0
- package/v1/model/ShootScriptItem.d.ts +1 -9
- package/v1/model/ShootScriptItem.d.ts.map +1 -1
- package/v1/model/ShootScriptItem.js +1 -22
- package/v1/model/ShootScriptItem.js.map +1 -1
- package/v1/model/ShootScriptItemBaseInfo.d.ts +8 -0
- package/v1/model/ShootScriptItemBaseInfo.d.ts.map +1 -0
- package/v1/model/ShootScriptItemBaseInfo.js +19 -0
- package/v1/model/ShootScriptItemBaseInfo.js.map +1 -0
- package/v1/model/ShootScriptShowItem.d.ts +13 -0
- package/v1/model/ShootScriptShowItem.d.ts.map +1 -0
- package/v1/model/ShootScriptShowItem.js +29 -0
- package/v1/model/ShootScriptShowItem.js.map +1 -0
- package/v1/model/ShowAssetResponse.d.ts +20 -1
- package/v1/model/ShowAssetResponse.d.ts.map +1 -1
- package/v1/model/ShowAssetResponse.js +35 -1
- package/v1/model/ShowAssetResponse.js.map +1 -1
- package/v1/model/ShowDigitalHumanBusinessCardResponse.d.ts +16 -0
- package/v1/model/ShowDigitalHumanBusinessCardResponse.d.ts.map +1 -1
- package/v1/model/ShowDigitalHumanBusinessCardResponse.js +30 -1
- package/v1/model/ShowDigitalHumanBusinessCardResponse.js.map +1 -1
- package/v1/model/ShowSmartLiveResponse.d.ts +15 -1
- package/v1/model/ShowSmartLiveResponse.d.ts.map +1 -1
- package/v1/model/ShowSmartLiveResponse.js +31 -0
- package/v1/model/ShowSmartLiveResponse.js.map +1 -1
- package/v1/model/ShowSmartLiveRoomResponse.d.ts +43 -1
- package/v1/model/ShowSmartLiveRoomResponse.d.ts.map +1 -1
- package/v1/model/ShowSmartLiveRoomResponse.js +82 -1
- package/v1/model/ShowSmartLiveRoomResponse.js.map +1 -1
- package/v1/model/ShowVideoScriptResponse.d.ts +15 -22
- package/v1/model/ShowVideoScriptResponse.d.ts.map +1 -1
- package/v1/model/ShowVideoScriptResponse.js +32 -44
- package/v1/model/ShowVideoScriptResponse.js.map +1 -1
- package/v1/model/SmartImageLayerConfig.d.ts +12 -0
- package/v1/model/SmartImageLayerConfig.d.ts.map +1 -0
- package/v1/model/SmartImageLayerConfig.js +30 -0
- package/v1/model/SmartImageLayerConfig.js.map +1 -0
- package/v1/model/SmartLayerConfig.d.ts +32 -0
- package/v1/model/SmartLayerConfig.d.ts.map +1 -0
- package/v1/model/SmartLayerConfig.js +58 -0
- package/v1/model/SmartLayerConfig.js.map +1 -0
- package/v1/model/SmartLiveJob.d.ts +15 -1
- package/v1/model/SmartLiveJob.d.ts.map +1 -1
- package/v1/model/SmartLiveJob.js +31 -0
- package/v1/model/SmartLiveJob.js.map +1 -1
- package/v1/model/SmartLiveRoomBaseInfo.d.ts +31 -0
- package/v1/model/SmartLiveRoomBaseInfo.d.ts.map +1 -1
- package/v1/model/SmartLiveRoomBaseInfo.js +51 -1
- package/v1/model/SmartLiveRoomBaseInfo.js.map +1 -1
- package/v1/model/SmartVideoLayerConfig.d.ts +16 -0
- package/v1/model/SmartVideoLayerConfig.d.ts.map +1 -0
- package/v1/model/SmartVideoLayerConfig.js +40 -0
- package/v1/model/SmartVideoLayerConfig.js.map +1 -0
- package/v1/model/StartSmartLiveReq.d.ts +13 -0
- package/v1/model/StartSmartLiveReq.d.ts.map +1 -1
- package/v1/model/StartSmartLiveReq.js +30 -0
- package/v1/model/StartSmartLiveReq.js.map +1 -1
- package/v1/model/StartSmartLiveResponse.d.ts +10 -0
- package/v1/model/StartSmartLiveResponse.d.ts.map +1 -1
- package/v1/model/StartSmartLiveResponse.js +20 -0
- package/v1/model/StartSmartLiveResponse.js.map +1 -1
- package/v1/model/StyleExtraMeta.d.ts +0 -44
- package/v1/model/StyleExtraMeta.d.ts.map +1 -1
- package/v1/model/StyleExtraMeta.js +0 -40
- package/v1/model/StyleExtraMeta.js.map +1 -1
- package/v1/model/SubtitleConfig.d.ts +20 -0
- package/v1/model/SubtitleConfig.d.ts.map +1 -0
- package/v1/model/SubtitleConfig.js +45 -0
- package/v1/model/SubtitleConfig.js.map +1 -0
- package/v1/model/SystemProperty.d.ts +5 -1
- package/v1/model/SystemProperty.d.ts.map +1 -1
- package/v1/model/SystemProperty.js +4 -0
- package/v1/model/SystemProperty.js.map +1 -1
- package/v1/model/TTSAJob.d.ts +12 -0
- package/v1/model/TTSAJob.d.ts.map +1 -1
- package/v1/model/TTSAJob.js +20 -1
- package/v1/model/TTSAJob.js.map +1 -1
- package/v1/model/TriggerProcess.d.ts +13 -1
- package/v1/model/TriggerProcess.d.ts.map +1 -1
- package/v1/model/TriggerProcess.js +22 -0
- package/v1/model/TriggerProcess.js.map +1 -1
- package/v1/model/UpdateDigitalAssetRequestBody.d.ts +11 -1
- package/v1/model/UpdateDigitalAssetRequestBody.d.ts.map +1 -1
- package/v1/model/UpdateDigitalAssetRequestBody.js +21 -0
- package/v1/model/UpdateDigitalAssetRequestBody.js.map +1 -1
- package/v1/model/UpdateDigitalAssetResponse.d.ts +20 -1
- package/v1/model/UpdateDigitalAssetResponse.d.ts.map +1 -1
- package/v1/model/UpdateDigitalAssetResponse.js +35 -1
- package/v1/model/UpdateDigitalAssetResponse.js.map +1 -1
- package/v1/model/UpdateInteractionRuleGroupRequest.d.ts +27 -0
- package/v1/model/UpdateInteractionRuleGroupRequest.d.ts.map +1 -0
- package/v1/model/UpdateInteractionRuleGroupRequest.js +64 -0
- package/v1/model/UpdateInteractionRuleGroupRequest.js.map +1 -0
- package/v1/model/UpdateInteractionRuleGroupResponse.d.ts +30 -0
- package/v1/model/UpdateInteractionRuleGroupResponse.d.ts.map +1 -0
- package/v1/model/UpdateInteractionRuleGroupResponse.js +71 -0
- package/v1/model/UpdateInteractionRuleGroupResponse.js.map +1 -0
- package/v1/model/UpdateSmartLiveRoomResponse.d.ts +43 -1
- package/v1/model/UpdateSmartLiveRoomResponse.d.ts.map +1 -1
- package/v1/model/UpdateSmartLiveRoomResponse.js +82 -1
- package/v1/model/UpdateSmartLiveRoomResponse.js.map +1 -1
- package/v1/model/UpdateVideoScriptsReq.d.ts +13 -24
- package/v1/model/UpdateVideoScriptsReq.d.ts.map +1 -1
- package/v1/model/UpdateVideoScriptsReq.js +27 -46
- package/v1/model/UpdateVideoScriptsReq.js.map +1 -1
- package/v1/model/VideoConfig.d.ts +7 -5
- package/v1/model/VideoConfig.d.ts.map +1 -1
- package/v1/model/VideoConfig.js +7 -6
- package/v1/model/VideoConfig.js.map +1 -1
- package/v1/model/VideoScriptBaseInfo.d.ts +10 -16
- package/v1/model/VideoScriptBaseInfo.d.ts.map +1 -1
- package/v1/model/VideoScriptBaseInfo.js +25 -30
- package/v1/model/VideoScriptBaseInfo.js.map +1 -1
- package/v1/model/VideoScriptsCreateInfo.d.ts +61 -0
- package/v1/model/VideoScriptsCreateInfo.d.ts.map +1 -0
- package/v1/model/VideoScriptsCreateInfo.js +128 -0
- package/v1/model/VideoScriptsCreateInfo.js.map +1 -0
- package/v1/model/VideoScriptsShowInfo.d.ts +61 -0
- package/v1/model/VideoScriptsShowInfo.d.ts.map +1 -0
- package/v1/model/VideoScriptsShowInfo.js +128 -0
- package/v1/model/VideoScriptsShowInfo.js.map +1 -0
- package/v1/model/VideoScriptsSimpleInfo.d.ts +56 -0
- package/v1/model/VideoScriptsSimpleInfo.d.ts.map +1 -0
- package/v1/model/VideoScriptsSimpleInfo.js +118 -0
- package/v1/model/VideoScriptsSimpleInfo.js.map +1 -0
- package/v1/model/VoiceModelAssetMeta.d.ts +33 -19
- package/v1/model/VoiceModelAssetMeta.d.ts.map +1 -1
- package/v1/model/VoiceModelAssetMeta.js +37 -23
- package/v1/model/VoiceModelAssetMeta.js.map +1 -1
- package/v1/public-api.d.ts +37 -10
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +37 -10
- package/v1/public-api.js.map +1 -1
- package/v1/model/EngineAssetInfo.d.ts +0 -12
- package/v1/model/EngineAssetInfo.d.ts.map +0 -1
- package/v1/model/EngineAssetInfo.js +0 -29
- package/v1/model/EngineAssetInfo.js.map +0 -1
- package/v1/model/ExternalVoiceAssetMeta.d.ts +0 -24
- package/v1/model/ExternalVoiceAssetMeta.d.ts.map +0 -1
- package/v1/model/ExternalVoiceAssetMeta.js +0 -43
- package/v1/model/ExternalVoiceAssetMeta.js.map +0 -1
- package/v1/model/HuaweiEIVoiceAssetMeta.d.ts +0 -14
- package/v1/model/HuaweiEIVoiceAssetMeta.d.ts.map +0 -1
- package/v1/model/HuaweiEIVoiceAssetMeta.js +0 -34
- package/v1/model/HuaweiEIVoiceAssetMeta.js.map +0 -1
- package/v1/model/StyleExtraMetaAdditionalProperties.d.ts +0 -39
- package/v1/model/StyleExtraMetaAdditionalProperties.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaAdditionalProperties.js +0 -67
- package/v1/model/StyleExtraMetaAdditionalProperties.js.map +0 -1
- package/v1/model/StyleExtraMetaAdditionalProperties1.d.ts +0 -22
- package/v1/model/StyleExtraMetaAdditionalProperties1.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaAdditionalProperties1.js +0 -38
- package/v1/model/StyleExtraMetaAdditionalProperties1.js.map +0 -1
- package/v1/model/StyleExtraMetaEditColorItems.d.ts +0 -18
- package/v1/model/StyleExtraMetaEditColorItems.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaEditColorItems.js +0 -33
- package/v1/model/StyleExtraMetaEditColorItems.js.map +0 -1
- package/v1/model/StyleExtraMetaEditComponents.d.ts +0 -7
- package/v1/model/StyleExtraMetaEditComponents.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaEditComponents.js +0 -13
- package/v1/model/StyleExtraMetaEditComponents.js.map +0 -1
- package/v1/model/StyleExtraMetaEditValueItems.d.ts +0 -18
- package/v1/model/StyleExtraMetaEditValueItems.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaEditValueItems.js +0 -33
- package/v1/model/StyleExtraMetaEditValueItems.js.map +0 -1
- package/v1/model/StyleExtraMetaModellingAlgorithm.d.ts +0 -7
- package/v1/model/StyleExtraMetaModellingAlgorithm.d.ts.map +0 -1
- package/v1/model/StyleExtraMetaModellingAlgorithm.js +0 -13
- package/v1/model/StyleExtraMetaModellingAlgorithm.js.map +0 -1
- package/v1/model/XimalayaVoiceAssetMeta.d.ts +0 -14
- package/v1/model/XimalayaVoiceAssetMeta.d.ts.map +0 -1
- package/v1/model/XimalayaVoiceAssetMeta.js +0 -36
- package/v1/model/XimalayaVoiceAssetMeta.js.map +0 -1
package/v1/MetaStudioClient.js
CHANGED
|
@@ -8,11 +8,14 @@ const ClientBuilder_1 = require("@huaweicloud/huaweicloud-sdk-core/ClientBuilder
|
|
|
8
8
|
const form_data_1 = __importDefault(require("form-data"));
|
|
9
9
|
const Cancel2DDigitalHumanVideoRequest_1 = require("./model/Cancel2DDigitalHumanVideoRequest");
|
|
10
10
|
const CancelPhotoDigitalHumanVideoRequest_1 = require("./model/CancelPhotoDigitalHumanVideoRequest");
|
|
11
|
+
const CheckTextLanguageRequest_1 = require("./model/CheckTextLanguageRequest");
|
|
11
12
|
const ConfirmFileUploadRequest_1 = require("./model/ConfirmFileUploadRequest");
|
|
12
13
|
const Create2DDigitalHumanVideoRequest_1 = require("./model/Create2DDigitalHumanVideoRequest");
|
|
13
14
|
const CreateDigitalAssetRequest_1 = require("./model/CreateDigitalAssetRequest");
|
|
14
15
|
const CreateDigitalHumanBusinessCardRequest_1 = require("./model/CreateDigitalHumanBusinessCardRequest");
|
|
16
|
+
const CreateFacialAnimationsRequest_1 = require("./model/CreateFacialAnimationsRequest");
|
|
15
17
|
const CreateFileRequest_1 = require("./model/CreateFileRequest");
|
|
18
|
+
const CreateInteractionRuleGroupRequest_1 = require("./model/CreateInteractionRuleGroupRequest");
|
|
16
19
|
const CreatePhotoDetectionRequest_1 = require("./model/CreatePhotoDetectionRequest");
|
|
17
20
|
const CreatePhotoDigitalHumanVideoRequest_1 = require("./model/CreatePhotoDigitalHumanVideoRequest");
|
|
18
21
|
const CreatePictureModelingByUrlJobRequest_1 = require("./model/CreatePictureModelingByUrlJobRequest");
|
|
@@ -24,6 +27,7 @@ const CreateVideoScriptsRequest_1 = require("./model/CreateVideoScriptsRequest")
|
|
|
24
27
|
const DeleteAssetRequest_1 = require("./model/DeleteAssetRequest");
|
|
25
28
|
const DeleteDigitalHumanBusinessCardRequest_1 = require("./model/DeleteDigitalHumanBusinessCardRequest");
|
|
26
29
|
const DeleteFileRequest_1 = require("./model/DeleteFileRequest");
|
|
30
|
+
const DeleteInteractionRuleGroupRequest_1 = require("./model/DeleteInteractionRuleGroupRequest");
|
|
27
31
|
const DeleteSmartLiveRoomRequest_1 = require("./model/DeleteSmartLiveRoomRequest");
|
|
28
32
|
const DeleteVideoScriptRequest_1 = require("./model/DeleteVideoScriptRequest");
|
|
29
33
|
const ExecuteSmartLiveCommandRequest_1 = require("./model/ExecuteSmartLiveCommandRequest");
|
|
@@ -31,6 +35,9 @@ const ExecuteVideoMotionCaptureCommandRequest_1 = require("./model/ExecuteVideoM
|
|
|
31
35
|
const ListAssetSummaryRequest_1 = require("./model/ListAssetSummaryRequest");
|
|
32
36
|
const ListAssetsRequest_1 = require("./model/ListAssetsRequest");
|
|
33
37
|
const ListDigitalHumanBusinessCardRequest_1 = require("./model/ListDigitalHumanBusinessCardRequest");
|
|
38
|
+
const ListDigitalHumanVideoRequest_1 = require("./model/ListDigitalHumanVideoRequest");
|
|
39
|
+
const ListFacialAnimationsDataRequest_1 = require("./model/ListFacialAnimationsDataRequest");
|
|
40
|
+
const ListInteractionRuleGroupsRequest_1 = require("./model/ListInteractionRuleGroupsRequest");
|
|
34
41
|
const ListPictureModelingJobsRequest_1 = require("./model/ListPictureModelingJobsRequest");
|
|
35
42
|
const ListSmartLiveRequest_1 = require("./model/ListSmartLiveRequest");
|
|
36
43
|
const ListSmartLiveRoomsRequest_1 = require("./model/ListSmartLiveRoomsRequest");
|
|
@@ -56,6 +63,7 @@ const StopSmartLiveRequest_1 = require("./model/StopSmartLiveRequest");
|
|
|
56
63
|
const StopVideoMotionCaptureJobRequest_1 = require("./model/StopVideoMotionCaptureJobRequest");
|
|
57
64
|
const UpdateDigitalAssetRequest_1 = require("./model/UpdateDigitalAssetRequest");
|
|
58
65
|
const UpdateDigitalHumanBusinessCardRequest_1 = require("./model/UpdateDigitalHumanBusinessCardRequest");
|
|
66
|
+
const UpdateInteractionRuleGroupRequest_1 = require("./model/UpdateInteractionRuleGroupRequest");
|
|
59
67
|
const UpdateSmartLiveRoomRequest_1 = require("./model/UpdateSmartLiveRoomRequest");
|
|
60
68
|
const UpdateVideoScriptRequest_1 = require("./model/UpdateVideoScriptRequest");
|
|
61
69
|
class MetaStudioClient {
|
|
@@ -69,7 +77,10 @@ class MetaStudioClient {
|
|
|
69
77
|
return __dirname;
|
|
70
78
|
}
|
|
71
79
|
/**
|
|
72
|
-
*
|
|
80
|
+
* 该接口用于在资产库中添加上传新的媒体资产。可上传的资产类型包括:分身数字人模型、背景图片、素材图片、素材视频、PPT等。
|
|
81
|
+
* * > 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。
|
|
82
|
+
* * > 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。
|
|
83
|
+
* * > MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。
|
|
73
84
|
*
|
|
74
85
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
75
86
|
*
|
|
@@ -77,7 +88,7 @@ class MetaStudioClient {
|
|
|
77
88
|
* @param {CreateDigitalAssetRequestBody} createDigitalAssetRequestBody 创建资产
|
|
78
89
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
79
90
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
80
|
-
* @param {string} [xAppUserId]
|
|
91
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
81
92
|
* @param {*} [options] Override http request option.
|
|
82
93
|
* @throws {RequiredError}
|
|
83
94
|
*/
|
|
@@ -96,7 +107,7 @@ class MetaStudioClient {
|
|
|
96
107
|
* @param {string} assetId 资产ID。
|
|
97
108
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
98
109
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
99
|
-
* @param {string} [xAppUserId]
|
|
110
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
100
111
|
* @param {string} [mode] 删除模式
|
|
101
112
|
* @param {*} [options] Override http request option.
|
|
102
113
|
* @throws {RequiredError}
|
|
@@ -133,25 +144,23 @@ class MetaStudioClient {
|
|
|
133
144
|
* @summary 查询资产列表
|
|
134
145
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
135
146
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
136
|
-
* @param {string} [xAppUserId]
|
|
147
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
137
148
|
* @param {number} [limit] 每页显示的条目数量。
|
|
138
149
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
139
150
|
* @param {string} [name] 按名称模糊查询。
|
|
140
151
|
* @param {string} [tag] 按标签模糊查询。
|
|
141
152
|
* @param {string} [startTime] 起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。
|
|
142
153
|
* @param {string} [endTime] 结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。
|
|
143
|
-
* @param {string} [assetType] 资产类型。多个类型使用英文逗号分割。 * HUMAN_MODEL:数字人模型 * VOICE_MODEL:音色模型(仅系统管理员可上传) * SCENE:场景模型 * ANIMATION:动作动画 * VIDEO:视频文件 * IMAGE:图片文件 * PPT:幻灯片文件 * MATERIAL:风格化素材 * HUMAN_MODEL_2D: 2D数字人网络模型 * BUSINESS_CARD_TEMPLET: 数字人名片模板 * MUSIC: 音乐
|
|
154
|
+
* @param {string} [assetType] 资产类型。多个类型使用英文逗号分割。 * HUMAN_MODEL:数字人模型 * VOICE_MODEL:音色模型(仅系统管理员可上传) * SCENE:场景模型 * ANIMATION:动作动画 * VIDEO:视频文件 * IMAGE:图片文件 * PPT:幻灯片文件 * MATERIAL:风格化素材 * HUMAN_MODEL_2D: 2D数字人网络模型 * BUSINESS_CARD_TEMPLET: 数字人名片模板 * MUSIC: 音乐 * AUDIO: 音频
|
|
144
155
|
* @param {string} [sortKey] 排序字段,目前只支持create_time。
|
|
145
156
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
146
157
|
* @param {'SYSTEM' | 'CUSTOMIZATION' | 'ALL'} [assetSource] 资产来源。 * SYSTEM:系统资产 * CUSTOMIZATION:租户资产 * ALL:所有资产 默认查询租户资产。
|
|
147
|
-
* @param {'UPLOAD' | 'UPLOADED' | 'UPLOADING' | 'UPLOAD_FAILED' | 'DOWNLOAD' | 'COLLECTIO' | 'DRAFT' | 'RECYCLE'} [assetManageType] 资产管理分类。 * UPLOAD:我的上传 * UPLOADED:已上传 * UPLOADING:UPLOADING * UPLOAD_FAILED:上传失败 * DOWNLOAD:我的下载 * COLLECTION:我的收藏 * DRAFT:草稿箱 * RECYCLE:回收站
|
|
148
158
|
* @param {string} [assetState] 资产状态。多个资产状态使用英文逗号分割。 * CREATING:资产创建中,主文件尚未上传 * FAILED:主文件上传失败 * UNACTIVED:主文件上传成功,资产未激活,资产不可用于其他业务(用户可更新状态) * ACTIVED:主文件上传成功,资产激活,资产可用于其他业务(用户可更新状态) * DELETING:资产删除中,资产不可用,资产可恢复 * DELETED:资产文件已删除,资产不可用,资产不可恢复 * BLOCK:资产被冻结,资产不可用,不可查看文件。 默认查询所有状态的资产。
|
|
149
159
|
* @param {string} [styleId] 基于风格化ID查询关联资产。 * system_male_001:男性风格01 * system_female_001:女性风格01 * system_male_002:男性风格02 * system_female_002:女性风格02
|
|
150
|
-
* @param {string} [xUserMePrivilege] 玄天引擎测试用户字段。
|
|
151
160
|
* @param {string} [renderEngine] 可用引擎。 * UE:UE引擎 * MetaEngine:MetaEngine引擎 > 该字段当前只对MetaEngine白名单用户生效
|
|
152
161
|
* @param {string} [sex] 性别。多选使用英文逗号分隔。
|
|
153
162
|
* @param {string} [language] 语言。多选使用英文逗号分隔。
|
|
154
|
-
* @param {string} [systemProperty] 系统属性。 key和value间用\":\"分隔,多个key之间用\",\"分隔。 如system_property=BACKGROUND_IMG:Yes,RENDER_ENGINE:MetaEngine。 不同Key对应Value取值如下: * STYLE_ID:风格Id * RENDER_ENGINE:引擎类型,可取值UE或MetaEngine *
|
|
163
|
+
* @param {string} [systemProperty] 系统属性。 key和value间用\":\"分隔,多个key之间用\",\"分隔。 如system_property=BACKGROUND_IMG:Yes,RENDER_ENGINE:MetaEngine。 不同Key对应Value取值如下: 公共资产属性: * BACKGROUND_IMG:视频制作的2D背景图片,可取值Yes * CREATED_BY_PLATFORM:是否平台生成,可取值Yes 分身数字人资产属性: * MATERIAL_IMG:素材图片,用作前景。可取值Yes * MATERIAL_VIDEO:素材视频,用作前景。可取值Yes * TO_BE_TRANSLATED_VIDEO: 视频翻译的源视频。可取值Yes 3D数字人资产属性: * STYLE_ID:风格Id * RENDER_ENGINE:引擎类型,可取值UE或MetaEngine * BACKGROUND_SCENE:视频制作的2D背景场景,可取值Horizontal(横屏)或者Vertical(竖屏)
|
|
155
164
|
* @param {boolean} [actionEditable] 动作是否可编辑。仅在分身数字人模型查询时有效。
|
|
156
165
|
* @param {*} [options] Override http request option.
|
|
157
166
|
* @throws {RequiredError}
|
|
@@ -171,7 +180,7 @@ class MetaStudioClient {
|
|
|
171
180
|
* @param {string} assetId 资产ID。
|
|
172
181
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
173
182
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
174
|
-
* @param {string} [xAppUserId]
|
|
183
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
175
184
|
* @param {*} [options] Override http request option.
|
|
176
185
|
* @throws {RequiredError}
|
|
177
186
|
*/
|
|
@@ -190,7 +199,7 @@ class MetaStudioClient {
|
|
|
190
199
|
* @param {string} assetId 资产ID。
|
|
191
200
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
192
201
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
193
|
-
* @param {string} [xAppUserId]
|
|
202
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
194
203
|
* @param {*} [options] Override http request option.
|
|
195
204
|
* @throws {RequiredError}
|
|
196
205
|
*/
|
|
@@ -210,7 +219,7 @@ class MetaStudioClient {
|
|
|
210
219
|
* @param {UpdateDigitalAssetRequestBody} updateDigitalAssetRequestBody 创建资产
|
|
211
220
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
212
221
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
213
|
-
* @param {string} [xAppUserId]
|
|
222
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
214
223
|
* @param {*} [options] Override http request option.
|
|
215
224
|
* @throws {RequiredError}
|
|
216
225
|
*/
|
|
@@ -230,7 +239,7 @@ class MetaStudioClient {
|
|
|
230
239
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
231
240
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
232
241
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
233
|
-
* @param {string} [xAppUserId]
|
|
242
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
234
243
|
* @param {*} [options] Override http request option.
|
|
235
244
|
* @throws {RequiredError}
|
|
236
245
|
*/
|
|
@@ -250,7 +259,7 @@ class MetaStudioClient {
|
|
|
250
259
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
251
260
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
252
261
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
253
|
-
* @param {string} [xAppUserId]
|
|
262
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
254
263
|
* @param {*} [options] Override http request option.
|
|
255
264
|
* @throws {RequiredError}
|
|
256
265
|
*/
|
|
@@ -269,7 +278,7 @@ class MetaStudioClient {
|
|
|
269
278
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
270
279
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
271
280
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
272
|
-
* @param {string} [xAppUserId]
|
|
281
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
273
282
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
274
283
|
* @param {number} [limit] 每页显示的条目数量。
|
|
275
284
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
@@ -297,7 +306,7 @@ class MetaStudioClient {
|
|
|
297
306
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
298
307
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
299
308
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
300
|
-
* @param {string} [xAppUserId]
|
|
309
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
301
310
|
* @param {*} [options] Override http request option.
|
|
302
311
|
* @throws {RequiredError}
|
|
303
312
|
*/
|
|
@@ -318,7 +327,7 @@ class MetaStudioClient {
|
|
|
318
327
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
319
328
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
320
329
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
321
|
-
* @param {string} [xAppUserId]
|
|
330
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
322
331
|
* @param {*} [options] Override http request option.
|
|
323
332
|
* @throws {RequiredError}
|
|
324
333
|
*/
|
|
@@ -328,6 +337,34 @@ class MetaStudioClient {
|
|
|
328
337
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
329
338
|
return this.hcClient.sendRequest(options);
|
|
330
339
|
}
|
|
340
|
+
/**
|
|
341
|
+
* 该接口用于查询视频制作任务列表。可查询分身数字人视频制作列表,照片数字人视频制作列表等。
|
|
342
|
+
*
|
|
343
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
344
|
+
*
|
|
345
|
+
* @summary 查询视频制作任务列表
|
|
346
|
+
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
347
|
+
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
348
|
+
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
349
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
350
|
+
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
351
|
+
* @param {number} [limit] 每页显示的条目数量。
|
|
352
|
+
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
353
|
+
* @param {string} [sortKey] 排序字段,目前只支持create_time。
|
|
354
|
+
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
355
|
+
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
356
|
+
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
357
|
+
* @param {string} [scriptId] 剧本ID。
|
|
358
|
+
* @param {string} [assetName] 输出视频资产名称。
|
|
359
|
+
* @param {*} [options] Override http request option.
|
|
360
|
+
* @throws {RequiredError}
|
|
361
|
+
*/
|
|
362
|
+
listDigitalHumanVideo(listDigitalHumanVideoRequest) {
|
|
363
|
+
const options = (0, exports.ParamCreater)().listDigitalHumanVideo(listDigitalHumanVideoRequest);
|
|
364
|
+
// @ts-ignore
|
|
365
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
366
|
+
return this.hcClient.sendRequest(options);
|
|
367
|
+
}
|
|
331
368
|
/**
|
|
332
369
|
* 该接口用于取消等待中的分身数字人视频制作任务。
|
|
333
370
|
*
|
|
@@ -338,7 +375,7 @@ class MetaStudioClient {
|
|
|
338
375
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
339
376
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
340
377
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
341
|
-
* @param {string} [xAppUserId]
|
|
378
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
342
379
|
* @param {*} [options] Override http request option.
|
|
343
380
|
* @throws {RequiredError}
|
|
344
381
|
*/
|
|
@@ -358,7 +395,7 @@ class MetaStudioClient {
|
|
|
358
395
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
359
396
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
360
397
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
361
|
-
* @param {string} [xAppUserId]
|
|
398
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
362
399
|
* @param {*} [options] Override http request option.
|
|
363
400
|
* @throws {RequiredError}
|
|
364
401
|
*/
|
|
@@ -378,7 +415,7 @@ class MetaStudioClient {
|
|
|
378
415
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
379
416
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
380
417
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
381
|
-
* @param {string} [xAppUserId]
|
|
418
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
382
419
|
* @param {boolean} [showScript] 是否需要返回剧本参数配置。
|
|
383
420
|
* @param {*} [options] Override http request option.
|
|
384
421
|
* @throws {RequiredError}
|
|
@@ -399,7 +436,7 @@ class MetaStudioClient {
|
|
|
399
436
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
400
437
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
401
438
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
402
|
-
* @param {string} [xAppUserId]
|
|
439
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
403
440
|
* @param {*} [options] Override http request option.
|
|
404
441
|
* @throws {RequiredError}
|
|
405
442
|
*/
|
|
@@ -419,7 +456,7 @@ class MetaStudioClient {
|
|
|
419
456
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
420
457
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
421
458
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
422
|
-
* @param {string} [xAppUserId]
|
|
459
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
423
460
|
* @param {*} [options] Override http request option.
|
|
424
461
|
* @throws {RequiredError}
|
|
425
462
|
*/
|
|
@@ -435,11 +472,11 @@ class MetaStudioClient {
|
|
|
435
472
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
436
473
|
*
|
|
437
474
|
* @summary 创建照片分身数字人视频制作任务
|
|
438
|
-
* @param {CreatePhotoDigitalHumanVideoReq} createPhotoDigitalHumanVideoRequestBody
|
|
475
|
+
* @param {CreatePhotoDigitalHumanVideoReq} createPhotoDigitalHumanVideoRequestBody 照片数字人制作创建请求。其中background_music_config无需传入。
|
|
439
476
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
440
477
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
441
478
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
442
|
-
* @param {string} [xAppUserId]
|
|
479
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
443
480
|
* @param {*} [options] Override http request option.
|
|
444
481
|
* @throws {RequiredError}
|
|
445
482
|
*/
|
|
@@ -459,7 +496,7 @@ class MetaStudioClient {
|
|
|
459
496
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
460
497
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
461
498
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
462
|
-
* @param {string} [xAppUserId]
|
|
499
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
463
500
|
* @param {*} [options] Override http request option.
|
|
464
501
|
* @throws {RequiredError}
|
|
465
502
|
*/
|
|
@@ -479,7 +516,7 @@ class MetaStudioClient {
|
|
|
479
516
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
480
517
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
481
518
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
482
|
-
* @param {string} [xAppUserId]
|
|
519
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
483
520
|
* @param {boolean} [showScript] 是否需要返回剧本参数配置。
|
|
484
521
|
* @param {*} [options] Override http request option.
|
|
485
522
|
* @throws {RequiredError}
|
|
@@ -500,7 +537,7 @@ class MetaStudioClient {
|
|
|
500
537
|
* @param {ConfirmFileUploadRequestBody} confirmFileUploadRequestBody 确认媒资上传
|
|
501
538
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
502
539
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
503
|
-
* @param {string} [xAppUserId]
|
|
540
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
504
541
|
* @param {*} [options] Override http request option.
|
|
505
542
|
* @throws {RequiredError}
|
|
506
543
|
*/
|
|
@@ -519,7 +556,7 @@ class MetaStudioClient {
|
|
|
519
556
|
* @param {FilesCreateReq} createFileRequestBody 创建文件请求。
|
|
520
557
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
521
558
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
522
|
-
* @param {string} [xAppUserId]
|
|
559
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
523
560
|
* @param {*} [options] Override http request option.
|
|
524
561
|
* @throws {RequiredError}
|
|
525
562
|
*/
|
|
@@ -538,7 +575,7 @@ class MetaStudioClient {
|
|
|
538
575
|
* @param {string} fileId 文件ID。
|
|
539
576
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
540
577
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
541
|
-
* @param {string} [xAppUserId]
|
|
578
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
542
579
|
* @param {*} [options] Override http request option.
|
|
543
580
|
* @throws {RequiredError}
|
|
544
581
|
*/
|
|
@@ -558,8 +595,7 @@ class MetaStudioClient {
|
|
|
558
595
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
559
596
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
560
597
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
561
|
-
* @param {string} [xAppUserId]
|
|
562
|
-
* @param {string} [xUserPrivilege] 测试用户判断。
|
|
598
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
563
599
|
* @param {*} [options] Override http request option.
|
|
564
600
|
* @throws {RequiredError}
|
|
565
601
|
*/
|
|
@@ -581,8 +617,7 @@ class MetaStudioClient {
|
|
|
581
617
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
582
618
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
583
619
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
584
|
-
* @param {string} [xAppUserId]
|
|
585
|
-
* @param {string} [xUserPrivilege] 测试用户判断。
|
|
620
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
586
621
|
* @param {string} [notifyUrl] 照片建模任务结束的回调地址。
|
|
587
622
|
* @param {*} [options] Override http request option.
|
|
588
623
|
* @throws {RequiredError}
|
|
@@ -602,7 +637,7 @@ class MetaStudioClient {
|
|
|
602
637
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
603
638
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
604
639
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
605
|
-
* @param {string} [xAppUserId]
|
|
640
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
606
641
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
607
642
|
* @param {number} [limit] 每页显示的条目数量。
|
|
608
643
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
@@ -629,7 +664,7 @@ class MetaStudioClient {
|
|
|
629
664
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
630
665
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
631
666
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
632
|
-
* @param {string} [xAppUserId]
|
|
667
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
633
668
|
* @param {*} [options] Override http request option.
|
|
634
669
|
* @throws {RequiredError}
|
|
635
670
|
*/
|
|
@@ -651,7 +686,7 @@ class MetaStudioClient {
|
|
|
651
686
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
652
687
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
653
688
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
654
|
-
* @param {string} [xAppUserId]
|
|
689
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
655
690
|
* @param {*} [options] Override http request option.
|
|
656
691
|
* @throws {RequiredError}
|
|
657
692
|
*/
|
|
@@ -671,14 +706,14 @@ class MetaStudioClient {
|
|
|
671
706
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
672
707
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
673
708
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
674
|
-
* @param {string} [xAppUserId]
|
|
709
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
675
710
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
676
711
|
* @param {number} [limit] 每页显示的条目数量。
|
|
677
712
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
678
713
|
* @param {string} [sortKey] 排序字段,目前只支持create_time。
|
|
679
714
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
680
|
-
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
681
715
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
716
|
+
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
682
717
|
* @param {*} [options] Override http request option.
|
|
683
718
|
* @throws {RequiredError}
|
|
684
719
|
*/
|
|
@@ -700,7 +735,7 @@ class MetaStudioClient {
|
|
|
700
735
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
701
736
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
702
737
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
703
|
-
* @param {string} [xAppUserId]
|
|
738
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
704
739
|
* @param {string} [authKey] 鉴权Key。通过HmacSHA256生成的鉴权key
|
|
705
740
|
* @param {number} [expiresTime] 鉴权key过期时间。从1970年1月1日(UTC/GMT的午夜)开始所经过的豪秒数。
|
|
706
741
|
* @param {boolean} [refreshUrl] 是否刷新URL
|
|
@@ -724,7 +759,7 @@ class MetaStudioClient {
|
|
|
724
759
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
725
760
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
726
761
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
727
|
-
* @param {string} [xAppUserId]
|
|
762
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
728
763
|
* @param {*} [options] Override http request option.
|
|
729
764
|
* @throws {RequiredError}
|
|
730
765
|
*/
|
|
@@ -745,7 +780,7 @@ class MetaStudioClient {
|
|
|
745
780
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
746
781
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
747
782
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
748
|
-
* @param {string} [xAppUserId]
|
|
783
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
749
784
|
* @param {*} [options] Override http request option.
|
|
750
785
|
* @throws {RequiredError}
|
|
751
786
|
*/
|
|
@@ -766,7 +801,7 @@ class MetaStudioClient {
|
|
|
766
801
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
767
802
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
768
803
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
769
|
-
* @param {string} [xAppUserId]
|
|
804
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
770
805
|
* @param {*} [options] Override http request option.
|
|
771
806
|
* @throws {RequiredError}
|
|
772
807
|
*/
|
|
@@ -776,6 +811,42 @@ class MetaStudioClient {
|
|
|
776
811
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
777
812
|
return this.hcClient.sendRequest(options);
|
|
778
813
|
}
|
|
814
|
+
/**
|
|
815
|
+
* 检测音色与文本的语言一致性,音色与文本不一致会导致报错
|
|
816
|
+
*
|
|
817
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
818
|
+
*
|
|
819
|
+
* @summary 检测音色与文本的语言一致性
|
|
820
|
+
* @param {LanguageCheckInfoReq} checkTextLanguageRequestBody 上传的音色语言信息和文本信息
|
|
821
|
+
* @param {*} [options] Override http request option.
|
|
822
|
+
* @throws {RequiredError}
|
|
823
|
+
*/
|
|
824
|
+
checkTextLanguage(checkTextLanguageRequest) {
|
|
825
|
+
const options = (0, exports.ParamCreater)().checkTextLanguage(checkTextLanguageRequest);
|
|
826
|
+
// @ts-ignore
|
|
827
|
+
options['responseHeaders'] = [''];
|
|
828
|
+
return this.hcClient.sendRequest(options);
|
|
829
|
+
}
|
|
830
|
+
/**
|
|
831
|
+
* 该接口用于创建智能直播间互动规则库。
|
|
832
|
+
*
|
|
833
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
834
|
+
*
|
|
835
|
+
* @summary 创建智能直播间互动规则库
|
|
836
|
+
* @param {InteractionRuleGroup} createInteractionRuleGroupRequestBody 创建智能直播间互动规则。
|
|
837
|
+
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
838
|
+
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
839
|
+
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
840
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
841
|
+
* @param {*} [options] Override http request option.
|
|
842
|
+
* @throws {RequiredError}
|
|
843
|
+
*/
|
|
844
|
+
createInteractionRuleGroup(createInteractionRuleGroupRequest) {
|
|
845
|
+
const options = (0, exports.ParamCreater)().createInteractionRuleGroup(createInteractionRuleGroupRequest);
|
|
846
|
+
// @ts-ignore
|
|
847
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
848
|
+
return this.hcClient.sendRequest(options);
|
|
849
|
+
}
|
|
779
850
|
/**
|
|
780
851
|
* 该接口用于创建智能直播间。
|
|
781
852
|
*
|
|
@@ -786,7 +857,7 @@ class MetaStudioClient {
|
|
|
786
857
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
787
858
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
788
859
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
789
|
-
* @param {string} [xAppUserId]
|
|
860
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
790
861
|
* @param {*} [options] Override http request option.
|
|
791
862
|
* @throws {RequiredError}
|
|
792
863
|
*/
|
|
@@ -796,6 +867,26 @@ class MetaStudioClient {
|
|
|
796
867
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
797
868
|
return this.hcClient.sendRequest(options);
|
|
798
869
|
}
|
|
870
|
+
/**
|
|
871
|
+
* 该接口用于删除智能直播间互动规则库。
|
|
872
|
+
*
|
|
873
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
874
|
+
*
|
|
875
|
+
* @summary 删除智能直播间互动规则库
|
|
876
|
+
* @param {string} groupId 互动规则库ID。
|
|
877
|
+
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
878
|
+
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
879
|
+
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
880
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
881
|
+
* @param {*} [options] Override http request option.
|
|
882
|
+
* @throws {RequiredError}
|
|
883
|
+
*/
|
|
884
|
+
deleteInteractionRuleGroup(deleteInteractionRuleGroupRequest) {
|
|
885
|
+
const options = (0, exports.ParamCreater)().deleteInteractionRuleGroup(deleteInteractionRuleGroupRequest);
|
|
886
|
+
// @ts-ignore
|
|
887
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
888
|
+
return this.hcClient.sendRequest(options);
|
|
889
|
+
}
|
|
799
890
|
/**
|
|
800
891
|
* 该接口用于删除智能直播间。
|
|
801
892
|
*
|
|
@@ -806,7 +897,7 @@ class MetaStudioClient {
|
|
|
806
897
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
807
898
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
808
899
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
809
|
-
* @param {string} [xAppUserId]
|
|
900
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
810
901
|
* @param {*} [options] Override http request option.
|
|
811
902
|
* @throws {RequiredError}
|
|
812
903
|
*/
|
|
@@ -816,6 +907,30 @@ class MetaStudioClient {
|
|
|
816
907
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
817
908
|
return this.hcClient.sendRequest(options);
|
|
818
909
|
}
|
|
910
|
+
/**
|
|
911
|
+
* 该接口用于智能直播间互动规则库列表。
|
|
912
|
+
*
|
|
913
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
914
|
+
*
|
|
915
|
+
* @summary 查询智能直播间互动规则库列表
|
|
916
|
+
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
917
|
+
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
918
|
+
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
919
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
920
|
+
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
921
|
+
* @param {number} [limit] 每页显示的条目数量。
|
|
922
|
+
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
923
|
+
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
924
|
+
* @param {string} [groupName] 规则库名称
|
|
925
|
+
* @param {*} [options] Override http request option.
|
|
926
|
+
* @throws {RequiredError}
|
|
927
|
+
*/
|
|
928
|
+
listInteractionRuleGroups(listInteractionRuleGroupsRequest) {
|
|
929
|
+
const options = (0, exports.ParamCreater)().listInteractionRuleGroups(listInteractionRuleGroupsRequest);
|
|
930
|
+
// @ts-ignore
|
|
931
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
932
|
+
return this.hcClient.sendRequest(options);
|
|
933
|
+
}
|
|
819
934
|
/**
|
|
820
935
|
* 该接口用于智能直播间列表。
|
|
821
936
|
*
|
|
@@ -825,15 +940,16 @@ class MetaStudioClient {
|
|
|
825
940
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
826
941
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
827
942
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
828
|
-
* @param {string} [xAppUserId]
|
|
943
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
829
944
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
830
945
|
* @param {number} [limit] 每页显示的条目数量。
|
|
831
946
|
* @param {string} [roomName] 按直播间名称模糊查询。
|
|
832
947
|
* @param {string} [dhId] 按数字人形象ID查询。
|
|
833
948
|
* @param {string} [modelName] 按形象名称模糊查询。
|
|
834
|
-
* @param {string} [liveState] 当前直播间直播状态。 WAITING,PROCESSING,SUCCESS,FAILED对应直播任务状态 NULL 对应没有直播任务 可多个状态查询,使用英文逗号分隔。
|
|
949
|
+
* @param {string} [liveState] 当前直播间直播状态。 WAITING,PROCESSING,SUCCESS,FAILED,CANCELED对应直播任务状态 NULL 对应没有直播任务 可多个状态查询,使用英文逗号分隔。
|
|
835
950
|
* @param {string} [startTime] 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。
|
|
836
951
|
* @param {string} [endTime] 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。
|
|
952
|
+
* @param {string} [roomType] 按直播间类型查询。直播间类型。 * NORMAL: 普通直播间,直播间一直存在,可以反复开播 * TEMP: 临时直播间,直播任务结束后自动清理直播间。 * TEMPLATE: 直播间模板。
|
|
837
953
|
* @param {*} [options] Override http request option.
|
|
838
954
|
* @throws {RequiredError}
|
|
839
955
|
*/
|
|
@@ -853,7 +969,7 @@ class MetaStudioClient {
|
|
|
853
969
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
854
970
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
855
971
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
856
|
-
* @param {string} [xAppUserId]
|
|
972
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
857
973
|
* @param {*} [options] Override http request option.
|
|
858
974
|
* @throws {RequiredError}
|
|
859
975
|
*/
|
|
@@ -863,6 +979,27 @@ class MetaStudioClient {
|
|
|
863
979
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
864
980
|
return this.hcClient.sendRequest(options);
|
|
865
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* 该接口用于更新智能直播间互动规则库。
|
|
984
|
+
*
|
|
985
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
986
|
+
*
|
|
987
|
+
* @summary 更新智能直播间互动规则库
|
|
988
|
+
* @param {string} groupId 互动规则库ID。
|
|
989
|
+
* @param {InteractionRuleGroup} updateInteractionRuleGroupRequestBody 创建智能直播间互动规则。
|
|
990
|
+
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
991
|
+
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
992
|
+
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
993
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
994
|
+
* @param {*} [options] Override http request option.
|
|
995
|
+
* @throws {RequiredError}
|
|
996
|
+
*/
|
|
997
|
+
updateInteractionRuleGroup(updateInteractionRuleGroupRequest) {
|
|
998
|
+
const options = (0, exports.ParamCreater)().updateInteractionRuleGroup(updateInteractionRuleGroupRequest);
|
|
999
|
+
// @ts-ignore
|
|
1000
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
1001
|
+
return this.hcClient.sendRequest(options);
|
|
1002
|
+
}
|
|
866
1003
|
/**
|
|
867
1004
|
* 该接口用于智能直播间信息。
|
|
868
1005
|
*
|
|
@@ -874,7 +1011,7 @@ class MetaStudioClient {
|
|
|
874
1011
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
875
1012
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
876
1013
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
877
|
-
* @param {string} [xAppUserId]
|
|
1014
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
878
1015
|
* @param {*} [options] Override http request option.
|
|
879
1016
|
* @throws {RequiredError}
|
|
880
1017
|
*/
|
|
@@ -893,7 +1030,7 @@ class MetaStudioClient {
|
|
|
893
1030
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
894
1031
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
895
1032
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
896
|
-
* @param {string} [xAppUserId]
|
|
1033
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
897
1034
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
898
1035
|
* @param {number} [limit] 每页显示的条目数量。
|
|
899
1036
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
@@ -910,6 +1047,22 @@ class MetaStudioClient {
|
|
|
910
1047
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
911
1048
|
return this.hcClient.sendRequest(options);
|
|
912
1049
|
}
|
|
1050
|
+
/**
|
|
1051
|
+
* 该接口用于创建驱动数字人表情的任务。
|
|
1052
|
+
*
|
|
1053
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1054
|
+
*
|
|
1055
|
+
* @summary 创建语音驱动表情动画任务
|
|
1056
|
+
* @param {CreateFASReq} [createFacialAnimationsRequestBody] 数字人语音驱动表情任务创建请求。
|
|
1057
|
+
* @param {*} [options] Override http request option.
|
|
1058
|
+
* @throws {RequiredError}
|
|
1059
|
+
*/
|
|
1060
|
+
createFacialAnimations(createFacialAnimationsRequest) {
|
|
1061
|
+
const options = (0, exports.ParamCreater)().createFacialAnimations(createFacialAnimationsRequest);
|
|
1062
|
+
// @ts-ignore
|
|
1063
|
+
options['responseHeaders'] = ['X-Request-Id'];
|
|
1064
|
+
return this.hcClient.sendRequest(options);
|
|
1065
|
+
}
|
|
913
1066
|
/**
|
|
914
1067
|
* 该接口用于创建驱动数字人表情、动作及语音的任务。
|
|
915
1068
|
*
|
|
@@ -920,8 +1073,7 @@ class MetaStudioClient {
|
|
|
920
1073
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
921
1074
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
922
1075
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
923
|
-
* @param {string} [xAppUserId]
|
|
924
|
-
* @param {string} [xUserPrivilege] 账号类型(INTERNAL_TEST:测试账号)
|
|
1076
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
925
1077
|
* @param {*} [options] Override http request option.
|
|
926
1078
|
* @throws {RequiredError}
|
|
927
1079
|
*/
|
|
@@ -931,6 +1083,22 @@ class MetaStudioClient {
|
|
|
931
1083
|
options['responseHeaders'] = ['X-Request-Id'];
|
|
932
1084
|
return this.hcClient.sendRequest(options);
|
|
933
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* 该接口用于获取生成的数字人表情驱动数据
|
|
1088
|
+
*
|
|
1089
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1090
|
+
*
|
|
1091
|
+
* @summary 获取语音驱动表情数据
|
|
1092
|
+
* @param {string} jobId 表情驱动任务ID
|
|
1093
|
+
* @param {*} [options] Override http request option.
|
|
1094
|
+
* @throws {RequiredError}
|
|
1095
|
+
*/
|
|
1096
|
+
listFacialAnimationsData(listFacialAnimationsDataRequest) {
|
|
1097
|
+
const options = (0, exports.ParamCreater)().listFacialAnimationsData(listFacialAnimationsDataRequest);
|
|
1098
|
+
// @ts-ignore
|
|
1099
|
+
options['responseHeaders'] = [''];
|
|
1100
|
+
return this.hcClient.sendRequest(options);
|
|
1101
|
+
}
|
|
934
1102
|
/**
|
|
935
1103
|
* 该接口用于获取生成的数字人驱动数据,包括语音、表情、动作等。
|
|
936
1104
|
*
|
|
@@ -960,9 +1128,9 @@ class MetaStudioClient {
|
|
|
960
1128
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
961
1129
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
962
1130
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1131
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
963
1132
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
964
1133
|
* @param {number} [limit] 每页显示的条目数量。
|
|
965
|
-
* @param {string} [xAppUserId] 开发者应用作为资产权属的可选字段。
|
|
966
1134
|
* @param {*} [options] Override http request option.
|
|
967
1135
|
* @throws {RequiredError}
|
|
968
1136
|
*/
|
|
@@ -982,7 +1150,7 @@ class MetaStudioClient {
|
|
|
982
1150
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
983
1151
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
984
1152
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
985
|
-
* @param {string} [xAppUserId]
|
|
1153
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
986
1154
|
* @param {string} [xUserPrivilege] 测试用户判断。
|
|
987
1155
|
* @param {*} [options] Override http request option.
|
|
988
1156
|
* @throws {RequiredError}
|
|
@@ -1004,7 +1172,7 @@ class MetaStudioClient {
|
|
|
1004
1172
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1005
1173
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1006
1174
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1007
|
-
* @param {string} [xAppUserId]
|
|
1175
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1008
1176
|
* @param {*} [options] Override http request option.
|
|
1009
1177
|
* @throws {RequiredError}
|
|
1010
1178
|
*/
|
|
@@ -1023,7 +1191,7 @@ class MetaStudioClient {
|
|
|
1023
1191
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1024
1192
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1025
1193
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1026
|
-
* @param {string} [xAppUserId]
|
|
1194
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1027
1195
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
1028
1196
|
* @param {number} [limit] 每页显示的条目数量。
|
|
1029
1197
|
* @param {*} [options] Override http request option.
|
|
@@ -1045,7 +1213,7 @@ class MetaStudioClient {
|
|
|
1045
1213
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1046
1214
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1047
1215
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1048
|
-
* @param {string} [xAppUserId]
|
|
1216
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1049
1217
|
* @param {*} [options] Override http request option.
|
|
1050
1218
|
* @throws {RequiredError}
|
|
1051
1219
|
*/
|
|
@@ -1065,7 +1233,7 @@ class MetaStudioClient {
|
|
|
1065
1233
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1066
1234
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1067
1235
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1068
|
-
* @param {string} [xAppUserId]
|
|
1236
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1069
1237
|
* @param {*} [options] Override http request option.
|
|
1070
1238
|
* @throws {RequiredError}
|
|
1071
1239
|
*/
|
|
@@ -1085,7 +1253,7 @@ class MetaStudioClient {
|
|
|
1085
1253
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1086
1254
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1087
1255
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1088
|
-
* @param {string} [xAppUserId]
|
|
1256
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1089
1257
|
* @param {*} [options] Override http request option.
|
|
1090
1258
|
* @throws {RequiredError}
|
|
1091
1259
|
*/
|
|
@@ -1105,7 +1273,7 @@ class MetaStudioClient {
|
|
|
1105
1273
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1106
1274
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1107
1275
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1108
|
-
* @param {string} [xAppUserId]
|
|
1276
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1109
1277
|
* @param {*} [options] Override http request option.
|
|
1110
1278
|
* @throws {RequiredError}
|
|
1111
1279
|
*/
|
|
@@ -1124,9 +1292,12 @@ class MetaStudioClient {
|
|
|
1124
1292
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1125
1293
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1126
1294
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1127
|
-
* @param {string} [xAppUserId]
|
|
1295
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1128
1296
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
1129
1297
|
* @param {number} [limit] 每页显示的条目数量。
|
|
1298
|
+
* @param {string} [name] 按名称模糊查询。
|
|
1299
|
+
* @param {'VIDEO_DRAFT' | 'SYSTEM_VIDEO_TEMPLET'} [scriptCatalog] 剧本类型。默认查询VIDEO_DRAFT。 * VIDEO_DRAFT:视频草稿。 * SYSTEM_VIDEO_TEMPLET: 系统视频模板。
|
|
1300
|
+
* @param {'LANDSCAPE' | 'VERTICAL'} [viewMode] 横竖屏类型(内部参数,不对外开放)。默认值是LANDSCAPE。 * LANDSCAPE:横屏。 * VERTICAL: 竖屏。
|
|
1130
1301
|
* @param {*} [options] Override http request option.
|
|
1131
1302
|
* @throws {RequiredError}
|
|
1132
1303
|
*/
|
|
@@ -1146,7 +1317,7 @@ class MetaStudioClient {
|
|
|
1146
1317
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1147
1318
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1148
1319
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1149
|
-
* @param {string} [xAppUserId]
|
|
1320
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1150
1321
|
* @param {*} [options] Override http request option.
|
|
1151
1322
|
* @throws {RequiredError}
|
|
1152
1323
|
*/
|
|
@@ -1167,7 +1338,7 @@ class MetaStudioClient {
|
|
|
1167
1338
|
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
1168
1339
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
1169
1340
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
1170
|
-
* @param {string} [xAppUserId]
|
|
1341
|
+
* @param {string} [xAppUserId] 第三方用户ID。 > *不允许输入中文。
|
|
1171
1342
|
* @param {*} [options] Override http request option.
|
|
1172
1343
|
* @throws {RequiredError}
|
|
1173
1344
|
*/
|
|
@@ -1182,7 +1353,10 @@ exports.MetaStudioClient = MetaStudioClient;
|
|
|
1182
1353
|
const ParamCreater = function () {
|
|
1183
1354
|
return {
|
|
1184
1355
|
/**
|
|
1185
|
-
*
|
|
1356
|
+
* 该接口用于在资产库中添加上传新的媒体资产。可上传的资产类型包括:分身数字人模型、背景图片、素材图片、素材视频、PPT等。
|
|
1357
|
+
* * > 资产类型是IMAGE时,通过system_properties来区分背景图片(BACKGROUND_IMG)、素材图片(MATERIAL_IMG)。
|
|
1358
|
+
* * > 资产类型是VIDEO时,通过system_properties来区分素材视频(MATERIAL_VIDEO)、名片视频(BUSSINESS_CARD_VIDEO)。
|
|
1359
|
+
* * > MetaStudio平台生成的视频,system_properties带CREATED_BY_PLATFORM。
|
|
1186
1360
|
*
|
|
1187
1361
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
1188
1362
|
*/
|
|
@@ -1363,10 +1537,8 @@ const ParamCreater = function () {
|
|
|
1363
1537
|
let sortKey;
|
|
1364
1538
|
let sortDir;
|
|
1365
1539
|
let assetSource;
|
|
1366
|
-
let assetManageType;
|
|
1367
1540
|
let assetState;
|
|
1368
1541
|
let styleId;
|
|
1369
|
-
let xUserMePrivilege;
|
|
1370
1542
|
let renderEngine;
|
|
1371
1543
|
let sex;
|
|
1372
1544
|
let language;
|
|
@@ -1387,10 +1559,8 @@ const ParamCreater = function () {
|
|
|
1387
1559
|
sortKey = listAssetsRequest.sortKey;
|
|
1388
1560
|
sortDir = listAssetsRequest.sortDir;
|
|
1389
1561
|
assetSource = listAssetsRequest.assetSource;
|
|
1390
|
-
assetManageType = listAssetsRequest.assetManageType;
|
|
1391
1562
|
assetState = listAssetsRequest.assetState;
|
|
1392
1563
|
styleId = listAssetsRequest.styleId;
|
|
1393
|
-
xUserMePrivilege = listAssetsRequest.xUserMePrivilege;
|
|
1394
1564
|
renderEngine = listAssetsRequest.renderEngine;
|
|
1395
1565
|
sex = listAssetsRequest.sex;
|
|
1396
1566
|
language = listAssetsRequest.language;
|
|
@@ -1411,10 +1581,8 @@ const ParamCreater = function () {
|
|
|
1411
1581
|
sortKey = listAssetsRequest['sort_key'];
|
|
1412
1582
|
sortDir = listAssetsRequest['sort_dir'];
|
|
1413
1583
|
assetSource = listAssetsRequest['asset_source'];
|
|
1414
|
-
assetManageType = listAssetsRequest['asset_manage_type'];
|
|
1415
1584
|
assetState = listAssetsRequest['asset_state'];
|
|
1416
1585
|
styleId = listAssetsRequest['style_id'];
|
|
1417
|
-
xUserMePrivilege = listAssetsRequest['X-User-MePrivilege'];
|
|
1418
1586
|
renderEngine = listAssetsRequest['render_engine'];
|
|
1419
1587
|
sex = listAssetsRequest['sex'];
|
|
1420
1588
|
language = listAssetsRequest['language'];
|
|
@@ -1452,9 +1620,6 @@ const ParamCreater = function () {
|
|
|
1452
1620
|
if (assetSource !== null && assetSource !== undefined) {
|
|
1453
1621
|
localVarQueryParameter['asset_source'] = assetSource;
|
|
1454
1622
|
}
|
|
1455
|
-
if (assetManageType !== null && assetManageType !== undefined) {
|
|
1456
|
-
localVarQueryParameter['asset_manage_type'] = assetManageType;
|
|
1457
|
-
}
|
|
1458
1623
|
if (assetState !== null && assetState !== undefined) {
|
|
1459
1624
|
localVarQueryParameter['asset_state'] = assetState;
|
|
1460
1625
|
}
|
|
@@ -1485,9 +1650,6 @@ const ParamCreater = function () {
|
|
|
1485
1650
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
1486
1651
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
1487
1652
|
}
|
|
1488
|
-
if (xUserMePrivilege !== undefined && xUserMePrivilege !== null) {
|
|
1489
|
-
localVarHeaderParameter['X-User-MePrivilege'] = String(xUserMePrivilege);
|
|
1490
|
-
}
|
|
1491
1653
|
options.queryParams = localVarQueryParameter;
|
|
1492
1654
|
options.headers = localVarHeaderParameter;
|
|
1493
1655
|
return options;
|
|
@@ -1977,6 +2139,110 @@ const ParamCreater = function () {
|
|
|
1977
2139
|
options.headers = localVarHeaderParameter;
|
|
1978
2140
|
return options;
|
|
1979
2141
|
},
|
|
2142
|
+
/**
|
|
2143
|
+
* 该接口用于查询视频制作任务列表。可查询分身数字人视频制作列表,照片数字人视频制作列表等。
|
|
2144
|
+
*
|
|
2145
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2146
|
+
*/
|
|
2147
|
+
listDigitalHumanVideo(listDigitalHumanVideoRequest) {
|
|
2148
|
+
const options = {
|
|
2149
|
+
method: "GET",
|
|
2150
|
+
url: "/v1/{project_id}/digital-human-videos",
|
|
2151
|
+
contentType: "application/json",
|
|
2152
|
+
queryParams: {},
|
|
2153
|
+
pathParams: {},
|
|
2154
|
+
headers: {}
|
|
2155
|
+
};
|
|
2156
|
+
const localVarHeaderParameter = {};
|
|
2157
|
+
const localVarQueryParameter = {};
|
|
2158
|
+
let authorization;
|
|
2159
|
+
let xSdkDate;
|
|
2160
|
+
let xProjectId;
|
|
2161
|
+
let xAppUserId;
|
|
2162
|
+
let offset;
|
|
2163
|
+
let limit;
|
|
2164
|
+
let state;
|
|
2165
|
+
let sortKey;
|
|
2166
|
+
let sortDir;
|
|
2167
|
+
let createUntil;
|
|
2168
|
+
let createSince;
|
|
2169
|
+
let scriptId;
|
|
2170
|
+
let assetName;
|
|
2171
|
+
if (listDigitalHumanVideoRequest !== null && listDigitalHumanVideoRequest !== undefined) {
|
|
2172
|
+
if (listDigitalHumanVideoRequest instanceof ListDigitalHumanVideoRequest_1.ListDigitalHumanVideoRequest) {
|
|
2173
|
+
authorization = listDigitalHumanVideoRequest.authorization;
|
|
2174
|
+
xSdkDate = listDigitalHumanVideoRequest.xSdkDate;
|
|
2175
|
+
xProjectId = listDigitalHumanVideoRequest.xProjectId;
|
|
2176
|
+
xAppUserId = listDigitalHumanVideoRequest.xAppUserId;
|
|
2177
|
+
offset = listDigitalHumanVideoRequest.offset;
|
|
2178
|
+
limit = listDigitalHumanVideoRequest.limit;
|
|
2179
|
+
state = listDigitalHumanVideoRequest.state;
|
|
2180
|
+
sortKey = listDigitalHumanVideoRequest.sortKey;
|
|
2181
|
+
sortDir = listDigitalHumanVideoRequest.sortDir;
|
|
2182
|
+
createUntil = listDigitalHumanVideoRequest.createUntil;
|
|
2183
|
+
createSince = listDigitalHumanVideoRequest.createSince;
|
|
2184
|
+
scriptId = listDigitalHumanVideoRequest.scriptId;
|
|
2185
|
+
assetName = listDigitalHumanVideoRequest.assetName;
|
|
2186
|
+
}
|
|
2187
|
+
else {
|
|
2188
|
+
authorization = listDigitalHumanVideoRequest['Authorization'];
|
|
2189
|
+
xSdkDate = listDigitalHumanVideoRequest['X-Sdk-Date'];
|
|
2190
|
+
xProjectId = listDigitalHumanVideoRequest['X-Project-Id'];
|
|
2191
|
+
xAppUserId = listDigitalHumanVideoRequest['X-App-UserId'];
|
|
2192
|
+
offset = listDigitalHumanVideoRequest['offset'];
|
|
2193
|
+
limit = listDigitalHumanVideoRequest['limit'];
|
|
2194
|
+
state = listDigitalHumanVideoRequest['state'];
|
|
2195
|
+
sortKey = listDigitalHumanVideoRequest['sort_key'];
|
|
2196
|
+
sortDir = listDigitalHumanVideoRequest['sort_dir'];
|
|
2197
|
+
createUntil = listDigitalHumanVideoRequest['create_until'];
|
|
2198
|
+
createSince = listDigitalHumanVideoRequest['create_since'];
|
|
2199
|
+
scriptId = listDigitalHumanVideoRequest['script_id'];
|
|
2200
|
+
assetName = listDigitalHumanVideoRequest['asset_name'];
|
|
2201
|
+
}
|
|
2202
|
+
}
|
|
2203
|
+
if (offset !== null && offset !== undefined) {
|
|
2204
|
+
localVarQueryParameter['offset'] = offset;
|
|
2205
|
+
}
|
|
2206
|
+
if (limit !== null && limit !== undefined) {
|
|
2207
|
+
localVarQueryParameter['limit'] = limit;
|
|
2208
|
+
}
|
|
2209
|
+
if (state !== null && state !== undefined) {
|
|
2210
|
+
localVarQueryParameter['state'] = state;
|
|
2211
|
+
}
|
|
2212
|
+
if (sortKey !== null && sortKey !== undefined) {
|
|
2213
|
+
localVarQueryParameter['sort_key'] = sortKey;
|
|
2214
|
+
}
|
|
2215
|
+
if (sortDir !== null && sortDir !== undefined) {
|
|
2216
|
+
localVarQueryParameter['sort_dir'] = sortDir;
|
|
2217
|
+
}
|
|
2218
|
+
if (createUntil !== null && createUntil !== undefined) {
|
|
2219
|
+
localVarQueryParameter['create_until'] = createUntil;
|
|
2220
|
+
}
|
|
2221
|
+
if (createSince !== null && createSince !== undefined) {
|
|
2222
|
+
localVarQueryParameter['create_since'] = createSince;
|
|
2223
|
+
}
|
|
2224
|
+
if (scriptId !== null && scriptId !== undefined) {
|
|
2225
|
+
localVarQueryParameter['script_id'] = scriptId;
|
|
2226
|
+
}
|
|
2227
|
+
if (assetName !== null && assetName !== undefined) {
|
|
2228
|
+
localVarQueryParameter['asset_name'] = assetName;
|
|
2229
|
+
}
|
|
2230
|
+
if (authorization !== undefined && authorization !== null) {
|
|
2231
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
2232
|
+
}
|
|
2233
|
+
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
2234
|
+
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
2235
|
+
}
|
|
2236
|
+
if (xProjectId !== undefined && xProjectId !== null) {
|
|
2237
|
+
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
2238
|
+
}
|
|
2239
|
+
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2240
|
+
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2241
|
+
}
|
|
2242
|
+
options.queryParams = localVarQueryParameter;
|
|
2243
|
+
options.headers = localVarHeaderParameter;
|
|
2244
|
+
return options;
|
|
2245
|
+
},
|
|
1980
2246
|
/**
|
|
1981
2247
|
* 该接口用于取消等待中的分身数字人视频制作任务。
|
|
1982
2248
|
*
|
|
@@ -2041,7 +2307,7 @@ const ParamCreater = function () {
|
|
|
2041
2307
|
const options = {
|
|
2042
2308
|
method: "POST",
|
|
2043
2309
|
url: "/v1/{project_id}/2d-digital-human-videos",
|
|
2044
|
-
contentType: "application/json",
|
|
2310
|
+
contentType: "application/json;charset=utf-8",
|
|
2045
2311
|
queryParams: {},
|
|
2046
2312
|
pathParams: {},
|
|
2047
2313
|
headers: {},
|
|
@@ -2084,7 +2350,7 @@ const ParamCreater = function () {
|
|
|
2084
2350
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2085
2351
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2086
2352
|
}
|
|
2087
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2353
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
2088
2354
|
options.data = body !== undefined ? body : {};
|
|
2089
2355
|
options.headers = localVarHeaderParameter;
|
|
2090
2356
|
return options;
|
|
@@ -2216,7 +2482,7 @@ const ParamCreater = function () {
|
|
|
2216
2482
|
const options = {
|
|
2217
2483
|
method: "POST",
|
|
2218
2484
|
url: "/v1/{project_id}/photo-detection",
|
|
2219
|
-
contentType: "application/json",
|
|
2485
|
+
contentType: "application/json;charset=utf-8",
|
|
2220
2486
|
queryParams: {},
|
|
2221
2487
|
pathParams: {},
|
|
2222
2488
|
headers: {},
|
|
@@ -2259,7 +2525,7 @@ const ParamCreater = function () {
|
|
|
2259
2525
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2260
2526
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2261
2527
|
}
|
|
2262
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
2263
2529
|
options.data = body !== undefined ? body : {};
|
|
2264
2530
|
options.headers = localVarHeaderParameter;
|
|
2265
2531
|
return options;
|
|
@@ -2273,7 +2539,7 @@ const ParamCreater = function () {
|
|
|
2273
2539
|
const options = {
|
|
2274
2540
|
method: "POST",
|
|
2275
2541
|
url: "/v1/{project_id}/photo-digital-human-videos",
|
|
2276
|
-
contentType: "application/json",
|
|
2542
|
+
contentType: "application/json;charset=utf-8",
|
|
2277
2543
|
queryParams: {},
|
|
2278
2544
|
pathParams: {},
|
|
2279
2545
|
headers: {},
|
|
@@ -2316,7 +2582,7 @@ const ParamCreater = function () {
|
|
|
2316
2582
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2317
2583
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2318
2584
|
}
|
|
2319
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2585
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
2320
2586
|
options.data = body !== undefined ? body : {};
|
|
2321
2587
|
options.headers = localVarHeaderParameter;
|
|
2322
2588
|
return options;
|
|
@@ -2448,7 +2714,7 @@ const ParamCreater = function () {
|
|
|
2448
2714
|
const options = {
|
|
2449
2715
|
method: "POST",
|
|
2450
2716
|
url: "/v1/{project_id}/files/{file_id}/complete",
|
|
2451
|
-
contentType: "application/json",
|
|
2717
|
+
contentType: "application/json;charset=utf-8",
|
|
2452
2718
|
queryParams: {},
|
|
2453
2719
|
pathParams: {},
|
|
2454
2720
|
headers: {},
|
|
@@ -2491,7 +2757,7 @@ const ParamCreater = function () {
|
|
|
2491
2757
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2492
2758
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2493
2759
|
}
|
|
2494
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2760
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
2495
2761
|
options.data = body !== undefined ? body : {};
|
|
2496
2762
|
options.pathParams = { 'file_id': fileId, };
|
|
2497
2763
|
options.headers = localVarHeaderParameter;
|
|
@@ -2506,7 +2772,7 @@ const ParamCreater = function () {
|
|
|
2506
2772
|
const options = {
|
|
2507
2773
|
method: "POST",
|
|
2508
2774
|
url: "/v1/{project_id}/files",
|
|
2509
|
-
contentType: "application/json",
|
|
2775
|
+
contentType: "application/json;charset=utf-8",
|
|
2510
2776
|
queryParams: {},
|
|
2511
2777
|
pathParams: {},
|
|
2512
2778
|
headers: {},
|
|
@@ -2543,7 +2809,7 @@ const ParamCreater = function () {
|
|
|
2543
2809
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2544
2810
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2545
2811
|
}
|
|
2546
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2812
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
2547
2813
|
options.data = body !== undefined ? body : {};
|
|
2548
2814
|
options.headers = localVarHeaderParameter;
|
|
2549
2815
|
return options;
|
|
@@ -2618,7 +2884,6 @@ const ParamCreater = function () {
|
|
|
2618
2884
|
let xSdkDate;
|
|
2619
2885
|
let xProjectId;
|
|
2620
2886
|
let xAppUserId;
|
|
2621
|
-
let xUserPrivilege;
|
|
2622
2887
|
if (createPictureModelingByUrlJobRequest !== null && createPictureModelingByUrlJobRequest !== undefined) {
|
|
2623
2888
|
if (createPictureModelingByUrlJobRequest instanceof CreatePictureModelingByUrlJobRequest_1.CreatePictureModelingByUrlJobRequest) {
|
|
2624
2889
|
body = createPictureModelingByUrlJobRequest.body;
|
|
@@ -2626,7 +2891,6 @@ const ParamCreater = function () {
|
|
|
2626
2891
|
xSdkDate = createPictureModelingByUrlJobRequest.xSdkDate;
|
|
2627
2892
|
xProjectId = createPictureModelingByUrlJobRequest.xProjectId;
|
|
2628
2893
|
xAppUserId = createPictureModelingByUrlJobRequest.xAppUserId;
|
|
2629
|
-
xUserPrivilege = createPictureModelingByUrlJobRequest.xUserPrivilege;
|
|
2630
2894
|
}
|
|
2631
2895
|
else {
|
|
2632
2896
|
body = createPictureModelingByUrlJobRequest['body'];
|
|
@@ -2634,7 +2898,6 @@ const ParamCreater = function () {
|
|
|
2634
2898
|
xSdkDate = createPictureModelingByUrlJobRequest['X-Sdk-Date'];
|
|
2635
2899
|
xProjectId = createPictureModelingByUrlJobRequest['X-Project-Id'];
|
|
2636
2900
|
xAppUserId = createPictureModelingByUrlJobRequest['X-App-UserId'];
|
|
2637
|
-
xUserPrivilege = createPictureModelingByUrlJobRequest['X-User-Privilege'];
|
|
2638
2901
|
}
|
|
2639
2902
|
}
|
|
2640
2903
|
if (body === null || body === undefined) {
|
|
@@ -2652,9 +2915,6 @@ const ParamCreater = function () {
|
|
|
2652
2915
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2653
2916
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2654
2917
|
}
|
|
2655
|
-
if (xUserPrivilege !== undefined && xUserPrivilege !== null) {
|
|
2656
|
-
localVarHeaderParameter['X-User-Privilege'] = String(xUserPrivilege);
|
|
2657
|
-
}
|
|
2658
2918
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2659
2919
|
options.data = body !== undefined ? body : {};
|
|
2660
2920
|
options.headers = localVarHeaderParameter;
|
|
@@ -2685,7 +2945,6 @@ const ParamCreater = function () {
|
|
|
2685
2945
|
let xSdkDate;
|
|
2686
2946
|
let xProjectId;
|
|
2687
2947
|
let xAppUserId;
|
|
2688
|
-
let xUserPrivilege;
|
|
2689
2948
|
let notifyUrl;
|
|
2690
2949
|
if (createPictureModelingJobRequest !== null && createPictureModelingJobRequest !== undefined) {
|
|
2691
2950
|
if (createPictureModelingJobRequest instanceof CreatePictureModelingJobRequest_1.CreatePictureModelingJobRequest) {
|
|
@@ -2696,7 +2955,6 @@ const ParamCreater = function () {
|
|
|
2696
2955
|
xSdkDate = createPictureModelingJobRequest.xSdkDate;
|
|
2697
2956
|
xProjectId = createPictureModelingJobRequest.xProjectId;
|
|
2698
2957
|
xAppUserId = createPictureModelingJobRequest.xAppUserId;
|
|
2699
|
-
xUserPrivilege = createPictureModelingJobRequest.xUserPrivilege;
|
|
2700
2958
|
notifyUrl = (_d = createPictureModelingJobRequest.body) === null || _d === void 0 ? void 0 : _d.notifyUrl;
|
|
2701
2959
|
}
|
|
2702
2960
|
else {
|
|
@@ -2707,7 +2965,6 @@ const ParamCreater = function () {
|
|
|
2707
2965
|
xSdkDate = createPictureModelingJobRequest['X-Sdk-Date'];
|
|
2708
2966
|
xProjectId = createPictureModelingJobRequest['X-Project-Id'];
|
|
2709
2967
|
xAppUserId = createPictureModelingJobRequest['X-App-UserId'];
|
|
2710
|
-
xUserPrivilege = createPictureModelingJobRequest['X-User-Privilege'];
|
|
2711
2968
|
notifyUrl = createPictureModelingJobRequest['body']['notifyUrl'];
|
|
2712
2969
|
}
|
|
2713
2970
|
}
|
|
@@ -2744,9 +3001,6 @@ const ParamCreater = function () {
|
|
|
2744
3001
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
2745
3002
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
2746
3003
|
}
|
|
2747
|
-
if (xUserPrivilege !== undefined && xUserPrivilege !== null) {
|
|
2748
|
-
localVarHeaderParameter['X-User-Privilege'] = String(xUserPrivilege);
|
|
2749
|
-
}
|
|
2750
3004
|
localVarHeaderParameter['Content-Type'] = 'application/x-www-form-urlencoded';
|
|
2751
3005
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2752
3006
|
options.data = localVarFormParams;
|
|
@@ -2996,8 +3250,8 @@ const ParamCreater = function () {
|
|
|
2996
3250
|
let state;
|
|
2997
3251
|
let sortKey;
|
|
2998
3252
|
let sortDir;
|
|
2999
|
-
let createUntil;
|
|
3000
3253
|
let createSince;
|
|
3254
|
+
let createUntil;
|
|
3001
3255
|
if (listSmartLiveRequest !== null && listSmartLiveRequest !== undefined) {
|
|
3002
3256
|
if (listSmartLiveRequest instanceof ListSmartLiveRequest_1.ListSmartLiveRequest) {
|
|
3003
3257
|
roomId = listSmartLiveRequest.roomId;
|
|
@@ -3010,8 +3264,8 @@ const ParamCreater = function () {
|
|
|
3010
3264
|
state = listSmartLiveRequest.state;
|
|
3011
3265
|
sortKey = listSmartLiveRequest.sortKey;
|
|
3012
3266
|
sortDir = listSmartLiveRequest.sortDir;
|
|
3013
|
-
createUntil = listSmartLiveRequest.createUntil;
|
|
3014
3267
|
createSince = listSmartLiveRequest.createSince;
|
|
3268
|
+
createUntil = listSmartLiveRequest.createUntil;
|
|
3015
3269
|
}
|
|
3016
3270
|
else {
|
|
3017
3271
|
roomId = listSmartLiveRequest['room_id'];
|
|
@@ -3024,8 +3278,8 @@ const ParamCreater = function () {
|
|
|
3024
3278
|
state = listSmartLiveRequest['state'];
|
|
3025
3279
|
sortKey = listSmartLiveRequest['sort_key'];
|
|
3026
3280
|
sortDir = listSmartLiveRequest['sort_dir'];
|
|
3027
|
-
createUntil = listSmartLiveRequest['create_until'];
|
|
3028
3281
|
createSince = listSmartLiveRequest['create_since'];
|
|
3282
|
+
createUntil = listSmartLiveRequest['create_until'];
|
|
3029
3283
|
}
|
|
3030
3284
|
}
|
|
3031
3285
|
if (roomId === null || roomId === undefined) {
|
|
@@ -3046,12 +3300,12 @@ const ParamCreater = function () {
|
|
|
3046
3300
|
if (sortDir !== null && sortDir !== undefined) {
|
|
3047
3301
|
localVarQueryParameter['sort_dir'] = sortDir;
|
|
3048
3302
|
}
|
|
3049
|
-
if (createUntil !== null && createUntil !== undefined) {
|
|
3050
|
-
localVarQueryParameter['create_until'] = createUntil;
|
|
3051
|
-
}
|
|
3052
3303
|
if (createSince !== null && createSince !== undefined) {
|
|
3053
3304
|
localVarQueryParameter['create_since'] = createSince;
|
|
3054
3305
|
}
|
|
3306
|
+
if (createUntil !== null && createUntil !== undefined) {
|
|
3307
|
+
localVarQueryParameter['create_until'] = createUntil;
|
|
3308
|
+
}
|
|
3055
3309
|
if (authorization !== undefined && authorization !== null) {
|
|
3056
3310
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3057
3311
|
}
|
|
@@ -3345,6 +3599,96 @@ const ParamCreater = function () {
|
|
|
3345
3599
|
options.headers = localVarHeaderParameter;
|
|
3346
3600
|
return options;
|
|
3347
3601
|
},
|
|
3602
|
+
/**
|
|
3603
|
+
* 检测音色与文本的语言一致性,音色与文本不一致会导致报错
|
|
3604
|
+
*
|
|
3605
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3606
|
+
*/
|
|
3607
|
+
checkTextLanguage(checkTextLanguageRequest) {
|
|
3608
|
+
const options = {
|
|
3609
|
+
method: "POST",
|
|
3610
|
+
url: "/v1/{project_id}/smart-live-rooms-scripts/language-check",
|
|
3611
|
+
contentType: "application/json",
|
|
3612
|
+
queryParams: {},
|
|
3613
|
+
pathParams: {},
|
|
3614
|
+
headers: {},
|
|
3615
|
+
data: {}
|
|
3616
|
+
};
|
|
3617
|
+
const localVarHeaderParameter = {};
|
|
3618
|
+
let body;
|
|
3619
|
+
if (checkTextLanguageRequest !== null && checkTextLanguageRequest !== undefined) {
|
|
3620
|
+
if (checkTextLanguageRequest instanceof CheckTextLanguageRequest_1.CheckTextLanguageRequest) {
|
|
3621
|
+
body = checkTextLanguageRequest.body;
|
|
3622
|
+
}
|
|
3623
|
+
else {
|
|
3624
|
+
body = checkTextLanguageRequest['body'];
|
|
3625
|
+
}
|
|
3626
|
+
}
|
|
3627
|
+
if (body === null || body === undefined) {
|
|
3628
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
3629
|
+
}
|
|
3630
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3631
|
+
options.data = body !== undefined ? body : {};
|
|
3632
|
+
options.headers = localVarHeaderParameter;
|
|
3633
|
+
return options;
|
|
3634
|
+
},
|
|
3635
|
+
/**
|
|
3636
|
+
* 该接口用于创建智能直播间互动规则库。
|
|
3637
|
+
*
|
|
3638
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3639
|
+
*/
|
|
3640
|
+
createInteractionRuleGroup(createInteractionRuleGroupRequest) {
|
|
3641
|
+
const options = {
|
|
3642
|
+
method: "POST",
|
|
3643
|
+
url: "/v1/{project_id}/smart-live-interaction-rule-groups",
|
|
3644
|
+
contentType: "application/json",
|
|
3645
|
+
queryParams: {},
|
|
3646
|
+
pathParams: {},
|
|
3647
|
+
headers: {},
|
|
3648
|
+
data: {}
|
|
3649
|
+
};
|
|
3650
|
+
const localVarHeaderParameter = {};
|
|
3651
|
+
let body;
|
|
3652
|
+
let authorization;
|
|
3653
|
+
let xSdkDate;
|
|
3654
|
+
let xProjectId;
|
|
3655
|
+
let xAppUserId;
|
|
3656
|
+
if (createInteractionRuleGroupRequest !== null && createInteractionRuleGroupRequest !== undefined) {
|
|
3657
|
+
if (createInteractionRuleGroupRequest instanceof CreateInteractionRuleGroupRequest_1.CreateInteractionRuleGroupRequest) {
|
|
3658
|
+
body = createInteractionRuleGroupRequest.body;
|
|
3659
|
+
authorization = createInteractionRuleGroupRequest.authorization;
|
|
3660
|
+
xSdkDate = createInteractionRuleGroupRequest.xSdkDate;
|
|
3661
|
+
xProjectId = createInteractionRuleGroupRequest.xProjectId;
|
|
3662
|
+
xAppUserId = createInteractionRuleGroupRequest.xAppUserId;
|
|
3663
|
+
}
|
|
3664
|
+
else {
|
|
3665
|
+
body = createInteractionRuleGroupRequest['body'];
|
|
3666
|
+
authorization = createInteractionRuleGroupRequest['Authorization'];
|
|
3667
|
+
xSdkDate = createInteractionRuleGroupRequest['X-Sdk-Date'];
|
|
3668
|
+
xProjectId = createInteractionRuleGroupRequest['X-Project-Id'];
|
|
3669
|
+
xAppUserId = createInteractionRuleGroupRequest['X-App-UserId'];
|
|
3670
|
+
}
|
|
3671
|
+
}
|
|
3672
|
+
if (body === null || body === undefined) {
|
|
3673
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
3674
|
+
}
|
|
3675
|
+
if (authorization !== undefined && authorization !== null) {
|
|
3676
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3677
|
+
}
|
|
3678
|
+
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
3679
|
+
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
3680
|
+
}
|
|
3681
|
+
if (xProjectId !== undefined && xProjectId !== null) {
|
|
3682
|
+
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
3683
|
+
}
|
|
3684
|
+
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3685
|
+
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3686
|
+
}
|
|
3687
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3688
|
+
options.data = body !== undefined ? body : {};
|
|
3689
|
+
options.headers = localVarHeaderParameter;
|
|
3690
|
+
return options;
|
|
3691
|
+
},
|
|
3348
3692
|
/**
|
|
3349
3693
|
* 该接口用于创建智能直播间。
|
|
3350
3694
|
*
|
|
@@ -3402,6 +3746,61 @@ const ParamCreater = function () {
|
|
|
3402
3746
|
options.headers = localVarHeaderParameter;
|
|
3403
3747
|
return options;
|
|
3404
3748
|
},
|
|
3749
|
+
/**
|
|
3750
|
+
* 该接口用于删除智能直播间互动规则库。
|
|
3751
|
+
*
|
|
3752
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3753
|
+
*/
|
|
3754
|
+
deleteInteractionRuleGroup(deleteInteractionRuleGroupRequest) {
|
|
3755
|
+
const options = {
|
|
3756
|
+
method: "DELETE",
|
|
3757
|
+
url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}",
|
|
3758
|
+
contentType: "application/json",
|
|
3759
|
+
queryParams: {},
|
|
3760
|
+
pathParams: {},
|
|
3761
|
+
headers: {}
|
|
3762
|
+
};
|
|
3763
|
+
const localVarHeaderParameter = {};
|
|
3764
|
+
let groupId;
|
|
3765
|
+
let authorization;
|
|
3766
|
+
let xSdkDate;
|
|
3767
|
+
let xProjectId;
|
|
3768
|
+
let xAppUserId;
|
|
3769
|
+
if (deleteInteractionRuleGroupRequest !== null && deleteInteractionRuleGroupRequest !== undefined) {
|
|
3770
|
+
if (deleteInteractionRuleGroupRequest instanceof DeleteInteractionRuleGroupRequest_1.DeleteInteractionRuleGroupRequest) {
|
|
3771
|
+
groupId = deleteInteractionRuleGroupRequest.groupId;
|
|
3772
|
+
authorization = deleteInteractionRuleGroupRequest.authorization;
|
|
3773
|
+
xSdkDate = deleteInteractionRuleGroupRequest.xSdkDate;
|
|
3774
|
+
xProjectId = deleteInteractionRuleGroupRequest.xProjectId;
|
|
3775
|
+
xAppUserId = deleteInteractionRuleGroupRequest.xAppUserId;
|
|
3776
|
+
}
|
|
3777
|
+
else {
|
|
3778
|
+
groupId = deleteInteractionRuleGroupRequest['group_id'];
|
|
3779
|
+
authorization = deleteInteractionRuleGroupRequest['Authorization'];
|
|
3780
|
+
xSdkDate = deleteInteractionRuleGroupRequest['X-Sdk-Date'];
|
|
3781
|
+
xProjectId = deleteInteractionRuleGroupRequest['X-Project-Id'];
|
|
3782
|
+
xAppUserId = deleteInteractionRuleGroupRequest['X-App-UserId'];
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
if (groupId === null || groupId === undefined) {
|
|
3786
|
+
throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling deleteInteractionRuleGroup.');
|
|
3787
|
+
}
|
|
3788
|
+
if (authorization !== undefined && authorization !== null) {
|
|
3789
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3790
|
+
}
|
|
3791
|
+
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
3792
|
+
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
3793
|
+
}
|
|
3794
|
+
if (xProjectId !== undefined && xProjectId !== null) {
|
|
3795
|
+
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
3796
|
+
}
|
|
3797
|
+
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3798
|
+
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3799
|
+
}
|
|
3800
|
+
options.pathParams = { 'group_id': groupId, };
|
|
3801
|
+
options.headers = localVarHeaderParameter;
|
|
3802
|
+
return options;
|
|
3803
|
+
},
|
|
3405
3804
|
/**
|
|
3406
3805
|
* 该接口用于删除智能直播间。
|
|
3407
3806
|
*
|
|
@@ -3457,6 +3856,86 @@ const ParamCreater = function () {
|
|
|
3457
3856
|
options.headers = localVarHeaderParameter;
|
|
3458
3857
|
return options;
|
|
3459
3858
|
},
|
|
3859
|
+
/**
|
|
3860
|
+
* 该接口用于智能直播间互动规则库列表。
|
|
3861
|
+
*
|
|
3862
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
3863
|
+
*/
|
|
3864
|
+
listInteractionRuleGroups(listInteractionRuleGroupsRequest) {
|
|
3865
|
+
const options = {
|
|
3866
|
+
method: "GET",
|
|
3867
|
+
url: "/v1/{project_id}/smart-live-interaction-rule-groups",
|
|
3868
|
+
contentType: "application/json",
|
|
3869
|
+
queryParams: {},
|
|
3870
|
+
pathParams: {},
|
|
3871
|
+
headers: {}
|
|
3872
|
+
};
|
|
3873
|
+
const localVarHeaderParameter = {};
|
|
3874
|
+
const localVarQueryParameter = {};
|
|
3875
|
+
let authorization;
|
|
3876
|
+
let xSdkDate;
|
|
3877
|
+
let xProjectId;
|
|
3878
|
+
let xAppUserId;
|
|
3879
|
+
let offset;
|
|
3880
|
+
let limit;
|
|
3881
|
+
let createSince;
|
|
3882
|
+
let createUntil;
|
|
3883
|
+
let groupName;
|
|
3884
|
+
if (listInteractionRuleGroupsRequest !== null && listInteractionRuleGroupsRequest !== undefined) {
|
|
3885
|
+
if (listInteractionRuleGroupsRequest instanceof ListInteractionRuleGroupsRequest_1.ListInteractionRuleGroupsRequest) {
|
|
3886
|
+
authorization = listInteractionRuleGroupsRequest.authorization;
|
|
3887
|
+
xSdkDate = listInteractionRuleGroupsRequest.xSdkDate;
|
|
3888
|
+
xProjectId = listInteractionRuleGroupsRequest.xProjectId;
|
|
3889
|
+
xAppUserId = listInteractionRuleGroupsRequest.xAppUserId;
|
|
3890
|
+
offset = listInteractionRuleGroupsRequest.offset;
|
|
3891
|
+
limit = listInteractionRuleGroupsRequest.limit;
|
|
3892
|
+
createSince = listInteractionRuleGroupsRequest.createSince;
|
|
3893
|
+
createUntil = listInteractionRuleGroupsRequest.createUntil;
|
|
3894
|
+
groupName = listInteractionRuleGroupsRequest.groupName;
|
|
3895
|
+
}
|
|
3896
|
+
else {
|
|
3897
|
+
authorization = listInteractionRuleGroupsRequest['Authorization'];
|
|
3898
|
+
xSdkDate = listInteractionRuleGroupsRequest['X-Sdk-Date'];
|
|
3899
|
+
xProjectId = listInteractionRuleGroupsRequest['X-Project-Id'];
|
|
3900
|
+
xAppUserId = listInteractionRuleGroupsRequest['X-App-UserId'];
|
|
3901
|
+
offset = listInteractionRuleGroupsRequest['offset'];
|
|
3902
|
+
limit = listInteractionRuleGroupsRequest['limit'];
|
|
3903
|
+
createSince = listInteractionRuleGroupsRequest['create_since'];
|
|
3904
|
+
createUntil = listInteractionRuleGroupsRequest['create_until'];
|
|
3905
|
+
groupName = listInteractionRuleGroupsRequest['group_name'];
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
if (offset !== null && offset !== undefined) {
|
|
3909
|
+
localVarQueryParameter['offset'] = offset;
|
|
3910
|
+
}
|
|
3911
|
+
if (limit !== null && limit !== undefined) {
|
|
3912
|
+
localVarQueryParameter['limit'] = limit;
|
|
3913
|
+
}
|
|
3914
|
+
if (createSince !== null && createSince !== undefined) {
|
|
3915
|
+
localVarQueryParameter['create_since'] = createSince;
|
|
3916
|
+
}
|
|
3917
|
+
if (createUntil !== null && createUntil !== undefined) {
|
|
3918
|
+
localVarQueryParameter['create_until'] = createUntil;
|
|
3919
|
+
}
|
|
3920
|
+
if (groupName !== null && groupName !== undefined) {
|
|
3921
|
+
localVarQueryParameter['group_name'] = groupName;
|
|
3922
|
+
}
|
|
3923
|
+
if (authorization !== undefined && authorization !== null) {
|
|
3924
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3925
|
+
}
|
|
3926
|
+
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
3927
|
+
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
3928
|
+
}
|
|
3929
|
+
if (xProjectId !== undefined && xProjectId !== null) {
|
|
3930
|
+
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
3931
|
+
}
|
|
3932
|
+
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3933
|
+
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3934
|
+
}
|
|
3935
|
+
options.queryParams = localVarQueryParameter;
|
|
3936
|
+
options.headers = localVarHeaderParameter;
|
|
3937
|
+
return options;
|
|
3938
|
+
},
|
|
3460
3939
|
/**
|
|
3461
3940
|
* 该接口用于智能直播间列表。
|
|
3462
3941
|
*
|
|
@@ -3485,6 +3964,7 @@ const ParamCreater = function () {
|
|
|
3485
3964
|
let liveState;
|
|
3486
3965
|
let startTime;
|
|
3487
3966
|
let endTime;
|
|
3967
|
+
let roomType;
|
|
3488
3968
|
if (listSmartLiveRoomsRequest !== null && listSmartLiveRoomsRequest !== undefined) {
|
|
3489
3969
|
if (listSmartLiveRoomsRequest instanceof ListSmartLiveRoomsRequest_1.ListSmartLiveRoomsRequest) {
|
|
3490
3970
|
authorization = listSmartLiveRoomsRequest.authorization;
|
|
@@ -3499,6 +3979,7 @@ const ParamCreater = function () {
|
|
|
3499
3979
|
liveState = listSmartLiveRoomsRequest.liveState;
|
|
3500
3980
|
startTime = listSmartLiveRoomsRequest.startTime;
|
|
3501
3981
|
endTime = listSmartLiveRoomsRequest.endTime;
|
|
3982
|
+
roomType = listSmartLiveRoomsRequest.roomType;
|
|
3502
3983
|
}
|
|
3503
3984
|
else {
|
|
3504
3985
|
authorization = listSmartLiveRoomsRequest['Authorization'];
|
|
@@ -3513,6 +3994,7 @@ const ParamCreater = function () {
|
|
|
3513
3994
|
liveState = listSmartLiveRoomsRequest['live_state'];
|
|
3514
3995
|
startTime = listSmartLiveRoomsRequest['start_time'];
|
|
3515
3996
|
endTime = listSmartLiveRoomsRequest['end_time'];
|
|
3997
|
+
roomType = listSmartLiveRoomsRequest['room_type'];
|
|
3516
3998
|
}
|
|
3517
3999
|
}
|
|
3518
4000
|
if (offset !== null && offset !== undefined) {
|
|
@@ -3539,6 +4021,9 @@ const ParamCreater = function () {
|
|
|
3539
4021
|
if (endTime !== null && endTime !== undefined) {
|
|
3540
4022
|
localVarQueryParameter['end_time'] = endTime;
|
|
3541
4023
|
}
|
|
4024
|
+
if (roomType !== null && roomType !== undefined) {
|
|
4025
|
+
localVarQueryParameter['room_type'] = roomType;
|
|
4026
|
+
}
|
|
3542
4027
|
if (authorization !== undefined && authorization !== null) {
|
|
3543
4028
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
3544
4029
|
}
|
|
@@ -3610,6 +4095,70 @@ const ParamCreater = function () {
|
|
|
3610
4095
|
options.headers = localVarHeaderParameter;
|
|
3611
4096
|
return options;
|
|
3612
4097
|
},
|
|
4098
|
+
/**
|
|
4099
|
+
* 该接口用于更新智能直播间互动规则库。
|
|
4100
|
+
*
|
|
4101
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4102
|
+
*/
|
|
4103
|
+
updateInteractionRuleGroup(updateInteractionRuleGroupRequest) {
|
|
4104
|
+
const options = {
|
|
4105
|
+
method: "PUT",
|
|
4106
|
+
url: "/v1/{project_id}/smart-live-interaction-rule-groups/{group_id}",
|
|
4107
|
+
contentType: "application/json",
|
|
4108
|
+
queryParams: {},
|
|
4109
|
+
pathParams: {},
|
|
4110
|
+
headers: {},
|
|
4111
|
+
data: {}
|
|
4112
|
+
};
|
|
4113
|
+
const localVarHeaderParameter = {};
|
|
4114
|
+
let body;
|
|
4115
|
+
let groupId;
|
|
4116
|
+
let authorization;
|
|
4117
|
+
let xSdkDate;
|
|
4118
|
+
let xProjectId;
|
|
4119
|
+
let xAppUserId;
|
|
4120
|
+
if (updateInteractionRuleGroupRequest !== null && updateInteractionRuleGroupRequest !== undefined) {
|
|
4121
|
+
if (updateInteractionRuleGroupRequest instanceof UpdateInteractionRuleGroupRequest_1.UpdateInteractionRuleGroupRequest) {
|
|
4122
|
+
groupId = updateInteractionRuleGroupRequest.groupId;
|
|
4123
|
+
body = updateInteractionRuleGroupRequest.body;
|
|
4124
|
+
authorization = updateInteractionRuleGroupRequest.authorization;
|
|
4125
|
+
xSdkDate = updateInteractionRuleGroupRequest.xSdkDate;
|
|
4126
|
+
xProjectId = updateInteractionRuleGroupRequest.xProjectId;
|
|
4127
|
+
xAppUserId = updateInteractionRuleGroupRequest.xAppUserId;
|
|
4128
|
+
}
|
|
4129
|
+
else {
|
|
4130
|
+
groupId = updateInteractionRuleGroupRequest['group_id'];
|
|
4131
|
+
body = updateInteractionRuleGroupRequest['body'];
|
|
4132
|
+
authorization = updateInteractionRuleGroupRequest['Authorization'];
|
|
4133
|
+
xSdkDate = updateInteractionRuleGroupRequest['X-Sdk-Date'];
|
|
4134
|
+
xProjectId = updateInteractionRuleGroupRequest['X-Project-Id'];
|
|
4135
|
+
xAppUserId = updateInteractionRuleGroupRequest['X-App-UserId'];
|
|
4136
|
+
}
|
|
4137
|
+
}
|
|
4138
|
+
if (groupId === null || groupId === undefined) {
|
|
4139
|
+
throw new RequiredError('groupId', 'Required parameter groupId was null or undefined when calling updateInteractionRuleGroup.');
|
|
4140
|
+
}
|
|
4141
|
+
if (body === null || body === undefined) {
|
|
4142
|
+
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
4143
|
+
}
|
|
4144
|
+
if (authorization !== undefined && authorization !== null) {
|
|
4145
|
+
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4146
|
+
}
|
|
4147
|
+
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
4148
|
+
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
4149
|
+
}
|
|
4150
|
+
if (xProjectId !== undefined && xProjectId !== null) {
|
|
4151
|
+
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
4152
|
+
}
|
|
4153
|
+
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
4154
|
+
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
4155
|
+
}
|
|
4156
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4157
|
+
options.data = body !== undefined ? body : {};
|
|
4158
|
+
options.pathParams = { 'group_id': groupId, };
|
|
4159
|
+
options.headers = localVarHeaderParameter;
|
|
4160
|
+
return options;
|
|
4161
|
+
},
|
|
3613
4162
|
/**
|
|
3614
4163
|
* 该接口用于智能直播间信息。
|
|
3615
4164
|
*
|
|
@@ -3766,6 +4315,36 @@ const ParamCreater = function () {
|
|
|
3766
4315
|
options.headers = localVarHeaderParameter;
|
|
3767
4316
|
return options;
|
|
3768
4317
|
},
|
|
4318
|
+
/**
|
|
4319
|
+
* 该接口用于创建驱动数字人表情的任务。
|
|
4320
|
+
*
|
|
4321
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4322
|
+
*/
|
|
4323
|
+
createFacialAnimations(createFacialAnimationsRequest) {
|
|
4324
|
+
const options = {
|
|
4325
|
+
method: "POST",
|
|
4326
|
+
url: "/v1/{project_id}/ttsa/fas",
|
|
4327
|
+
contentType: "application/json;charset=utf-8",
|
|
4328
|
+
queryParams: {},
|
|
4329
|
+
pathParams: {},
|
|
4330
|
+
headers: {},
|
|
4331
|
+
data: {}
|
|
4332
|
+
};
|
|
4333
|
+
const localVarHeaderParameter = {};
|
|
4334
|
+
let body;
|
|
4335
|
+
if (createFacialAnimationsRequest !== null && createFacialAnimationsRequest !== undefined) {
|
|
4336
|
+
if (createFacialAnimationsRequest instanceof CreateFacialAnimationsRequest_1.CreateFacialAnimationsRequest) {
|
|
4337
|
+
body = createFacialAnimationsRequest.body;
|
|
4338
|
+
}
|
|
4339
|
+
else {
|
|
4340
|
+
body = createFacialAnimationsRequest['body'];
|
|
4341
|
+
}
|
|
4342
|
+
}
|
|
4343
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
4344
|
+
options.data = body !== undefined ? body : {};
|
|
4345
|
+
options.headers = localVarHeaderParameter;
|
|
4346
|
+
return options;
|
|
4347
|
+
},
|
|
3769
4348
|
/**
|
|
3770
4349
|
* 该接口用于创建驱动数字人表情、动作及语音的任务。
|
|
3771
4350
|
*
|
|
@@ -3787,7 +4366,6 @@ const ParamCreater = function () {
|
|
|
3787
4366
|
let xSdkDate;
|
|
3788
4367
|
let xProjectId;
|
|
3789
4368
|
let xAppUserId;
|
|
3790
|
-
let xUserPrivilege;
|
|
3791
4369
|
if (createTtsaRequest !== null && createTtsaRequest !== undefined) {
|
|
3792
4370
|
if (createTtsaRequest instanceof CreateTtsaRequest_1.CreateTtsaRequest) {
|
|
3793
4371
|
body = createTtsaRequest.body;
|
|
@@ -3795,7 +4373,6 @@ const ParamCreater = function () {
|
|
|
3795
4373
|
xSdkDate = createTtsaRequest.xSdkDate;
|
|
3796
4374
|
xProjectId = createTtsaRequest.xProjectId;
|
|
3797
4375
|
xAppUserId = createTtsaRequest.xAppUserId;
|
|
3798
|
-
xUserPrivilege = createTtsaRequest.xUserPrivilege;
|
|
3799
4376
|
}
|
|
3800
4377
|
else {
|
|
3801
4378
|
body = createTtsaRequest['body'];
|
|
@@ -3803,7 +4380,6 @@ const ParamCreater = function () {
|
|
|
3803
4380
|
xSdkDate = createTtsaRequest['X-Sdk-Date'];
|
|
3804
4381
|
xProjectId = createTtsaRequest['X-Project-Id'];
|
|
3805
4382
|
xAppUserId = createTtsaRequest['X-App-UserId'];
|
|
3806
|
-
xUserPrivilege = createTtsaRequest['X-User-Privilege'];
|
|
3807
4383
|
}
|
|
3808
4384
|
}
|
|
3809
4385
|
if (body === null || body === undefined) {
|
|
@@ -3821,14 +4397,42 @@ const ParamCreater = function () {
|
|
|
3821
4397
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3822
4398
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3823
4399
|
}
|
|
3824
|
-
if (xUserPrivilege !== undefined && xUserPrivilege !== null) {
|
|
3825
|
-
localVarHeaderParameter['X-User-Privilege'] = String(xUserPrivilege);
|
|
3826
|
-
}
|
|
3827
4400
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3828
4401
|
options.data = body !== undefined ? body : {};
|
|
3829
4402
|
options.headers = localVarHeaderParameter;
|
|
3830
4403
|
return options;
|
|
3831
4404
|
},
|
|
4405
|
+
/**
|
|
4406
|
+
* 该接口用于获取生成的数字人表情驱动数据
|
|
4407
|
+
*
|
|
4408
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
4409
|
+
*/
|
|
4410
|
+
listFacialAnimationsData(listFacialAnimationsDataRequest) {
|
|
4411
|
+
const options = {
|
|
4412
|
+
method: "GET",
|
|
4413
|
+
url: "/v1/{project_id}/fas-jobs/{job_id}",
|
|
4414
|
+
contentType: "application/json",
|
|
4415
|
+
queryParams: {},
|
|
4416
|
+
pathParams: {},
|
|
4417
|
+
headers: {}
|
|
4418
|
+
};
|
|
4419
|
+
const localVarHeaderParameter = {};
|
|
4420
|
+
let jobId;
|
|
4421
|
+
if (listFacialAnimationsDataRequest !== null && listFacialAnimationsDataRequest !== undefined) {
|
|
4422
|
+
if (listFacialAnimationsDataRequest instanceof ListFacialAnimationsDataRequest_1.ListFacialAnimationsDataRequest) {
|
|
4423
|
+
jobId = listFacialAnimationsDataRequest.jobId;
|
|
4424
|
+
}
|
|
4425
|
+
else {
|
|
4426
|
+
jobId = listFacialAnimationsDataRequest['job_id'];
|
|
4427
|
+
}
|
|
4428
|
+
}
|
|
4429
|
+
if (jobId === null || jobId === undefined) {
|
|
4430
|
+
throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling listFacialAnimationsData.');
|
|
4431
|
+
}
|
|
4432
|
+
options.pathParams = { 'job_id': jobId, };
|
|
4433
|
+
options.headers = localVarHeaderParameter;
|
|
4434
|
+
return options;
|
|
4435
|
+
},
|
|
3832
4436
|
/**
|
|
3833
4437
|
* 该接口用于获取生成的数字人驱动数据,包括语音、表情、动作等。
|
|
3834
4438
|
*
|
|
@@ -3905,25 +4509,25 @@ const ParamCreater = function () {
|
|
|
3905
4509
|
let authorization;
|
|
3906
4510
|
let xSdkDate;
|
|
3907
4511
|
let xProjectId;
|
|
4512
|
+
let xAppUserId;
|
|
3908
4513
|
let offset;
|
|
3909
4514
|
let limit;
|
|
3910
|
-
let xAppUserId;
|
|
3911
4515
|
if (listTtsaJobsRequest !== null && listTtsaJobsRequest !== undefined) {
|
|
3912
4516
|
if (listTtsaJobsRequest instanceof ListTtsaJobsRequest_1.ListTtsaJobsRequest) {
|
|
3913
4517
|
authorization = listTtsaJobsRequest.authorization;
|
|
3914
4518
|
xSdkDate = listTtsaJobsRequest.xSdkDate;
|
|
3915
4519
|
xProjectId = listTtsaJobsRequest.xProjectId;
|
|
4520
|
+
xAppUserId = listTtsaJobsRequest.xAppUserId;
|
|
3916
4521
|
offset = listTtsaJobsRequest.offset;
|
|
3917
4522
|
limit = listTtsaJobsRequest.limit;
|
|
3918
|
-
xAppUserId = listTtsaJobsRequest.xAppUserId;
|
|
3919
4523
|
}
|
|
3920
4524
|
else {
|
|
3921
4525
|
authorization = listTtsaJobsRequest['Authorization'];
|
|
3922
4526
|
xSdkDate = listTtsaJobsRequest['X-Sdk-Date'];
|
|
3923
4527
|
xProjectId = listTtsaJobsRequest['X-Project-Id'];
|
|
4528
|
+
xAppUserId = listTtsaJobsRequest['X-App-UserId'];
|
|
3924
4529
|
offset = listTtsaJobsRequest['offset'];
|
|
3925
4530
|
limit = listTtsaJobsRequest['limit'];
|
|
3926
|
-
xAppUserId = listTtsaJobsRequest['X-App-UserId'];
|
|
3927
4531
|
}
|
|
3928
4532
|
}
|
|
3929
4533
|
if (offset !== null && offset !== undefined) {
|
|
@@ -4020,7 +4624,7 @@ const ParamCreater = function () {
|
|
|
4020
4624
|
const options = {
|
|
4021
4625
|
method: "POST",
|
|
4022
4626
|
url: "/v1/{project_id}/video-motion-capture-jobs/{job_id}/command",
|
|
4023
|
-
contentType: "application/json",
|
|
4627
|
+
contentType: "application/json;charset=utf-8",
|
|
4024
4628
|
queryParams: {},
|
|
4025
4629
|
pathParams: {},
|
|
4026
4630
|
headers: {},
|
|
@@ -4069,7 +4673,7 @@ const ParamCreater = function () {
|
|
|
4069
4673
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
4070
4674
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
4071
4675
|
}
|
|
4072
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4676
|
+
localVarHeaderParameter['Content-Type'] = 'application/json;charset=utf-8';
|
|
4073
4677
|
options.data = body !== undefined ? body : {};
|
|
4074
4678
|
options.pathParams = { 'job_id': jobId, };
|
|
4075
4679
|
options.headers = localVarHeaderParameter;
|
|
@@ -4381,6 +4985,9 @@ const ParamCreater = function () {
|
|
|
4381
4985
|
let xAppUserId;
|
|
4382
4986
|
let offset;
|
|
4383
4987
|
let limit;
|
|
4988
|
+
let name;
|
|
4989
|
+
let scriptCatalog;
|
|
4990
|
+
let viewMode;
|
|
4384
4991
|
if (listVideoScriptsRequest !== null && listVideoScriptsRequest !== undefined) {
|
|
4385
4992
|
if (listVideoScriptsRequest instanceof ListVideoScriptsRequest_1.ListVideoScriptsRequest) {
|
|
4386
4993
|
authorization = listVideoScriptsRequest.authorization;
|
|
@@ -4389,6 +4996,9 @@ const ParamCreater = function () {
|
|
|
4389
4996
|
xAppUserId = listVideoScriptsRequest.xAppUserId;
|
|
4390
4997
|
offset = listVideoScriptsRequest.offset;
|
|
4391
4998
|
limit = listVideoScriptsRequest.limit;
|
|
4999
|
+
name = listVideoScriptsRequest.name;
|
|
5000
|
+
scriptCatalog = listVideoScriptsRequest.scriptCatalog;
|
|
5001
|
+
viewMode = listVideoScriptsRequest.viewMode;
|
|
4392
5002
|
}
|
|
4393
5003
|
else {
|
|
4394
5004
|
authorization = listVideoScriptsRequest['Authorization'];
|
|
@@ -4397,6 +5007,9 @@ const ParamCreater = function () {
|
|
|
4397
5007
|
xAppUserId = listVideoScriptsRequest['X-App-UserId'];
|
|
4398
5008
|
offset = listVideoScriptsRequest['offset'];
|
|
4399
5009
|
limit = listVideoScriptsRequest['limit'];
|
|
5010
|
+
name = listVideoScriptsRequest['name'];
|
|
5011
|
+
scriptCatalog = listVideoScriptsRequest['script_catalog'];
|
|
5012
|
+
viewMode = listVideoScriptsRequest['view_mode'];
|
|
4400
5013
|
}
|
|
4401
5014
|
}
|
|
4402
5015
|
if (offset !== null && offset !== undefined) {
|
|
@@ -4405,6 +5018,15 @@ const ParamCreater = function () {
|
|
|
4405
5018
|
if (limit !== null && limit !== undefined) {
|
|
4406
5019
|
localVarQueryParameter['limit'] = limit;
|
|
4407
5020
|
}
|
|
5021
|
+
if (name !== null && name !== undefined) {
|
|
5022
|
+
localVarQueryParameter['name'] = name;
|
|
5023
|
+
}
|
|
5024
|
+
if (scriptCatalog !== null && scriptCatalog !== undefined) {
|
|
5025
|
+
localVarQueryParameter['script_catalog'] = scriptCatalog;
|
|
5026
|
+
}
|
|
5027
|
+
if (viewMode !== null && viewMode !== undefined) {
|
|
5028
|
+
localVarQueryParameter['view_mode'] = viewMode;
|
|
5029
|
+
}
|
|
4408
5030
|
if (authorization !== undefined && authorization !== null) {
|
|
4409
5031
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4410
5032
|
}
|