@huaweicloud/huaweicloud-sdk-metastudio 3.1.112 → 3.1.114
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 +53 -14
- package/v1/MetaStudioClient.d.ts.map +1 -1
- package/v1/MetaStudioClient.js +143 -16
- package/v1/MetaStudioClient.js.map +1 -1
- package/v1/model/ActionTagInfo.d.ts +20 -0
- package/v1/model/ActionTagInfo.d.ts.map +1 -0
- package/v1/model/ActionTagInfo.js +49 -0
- package/v1/model/ActionTagInfo.js.map +1 -0
- package/v1/model/ConfirmFileUploadRequestBody.d.ts +4 -0
- package/v1/model/ConfirmFileUploadRequestBody.d.ts.map +1 -1
- package/v1/model/ConfirmFileUploadRequestBody.js +10 -0
- package/v1/model/ConfirmFileUploadRequestBody.js.map +1 -1
- package/v1/model/CreateDigitalAssetRequestBody.d.ts +9 -0
- package/v1/model/CreateDigitalAssetRequestBody.d.ts.map +1 -1
- package/v1/model/CreateDigitalAssetRequestBody.js +20 -0
- package/v1/model/CreateDigitalAssetRequestBody.js.map +1 -1
- package/v1/model/CreateRobotReq.d.ts +5 -0
- package/v1/model/CreateRobotReq.d.ts.map +1 -1
- package/v1/model/CreateRobotReq.js +10 -0
- package/v1/model/CreateRobotReq.js.map +1 -1
- package/v1/model/CreateSmartLiveRoomReq.d.ts +4 -0
- package/v1/model/CreateSmartLiveRoomReq.d.ts.map +1 -1
- package/v1/model/CreateSmartLiveRoomReq.js +10 -0
- package/v1/model/CreateSmartLiveRoomReq.js.map +1 -1
- package/v1/model/CreateTrainingJobReq.d.ts +4 -0
- package/v1/model/CreateTrainingJobReq.d.ts.map +1 -1
- package/v1/model/CreateTrainingJobReq.js +10 -0
- package/v1/model/CreateTrainingJobReq.js.map +1 -1
- package/v1/model/DigitalAssetInfo.d.ts +9 -0
- package/v1/model/DigitalAssetInfo.d.ts.map +1 -1
- package/v1/model/DigitalAssetInfo.js +20 -0
- package/v1/model/DigitalAssetInfo.js.map +1 -1
- package/v1/model/ExternalVoiceAssetMeta.d.ts +1 -1
- package/v1/model/ExternalVoiceAssetMeta.d.ts.map +1 -1
- package/v1/model/ExternalVoiceAssetMeta.js +1 -1
- package/v1/model/ExternalVoiceAssetMeta.js.map +1 -1
- package/v1/model/HumanModel2DAssetMeta.d.ts +13 -0
- package/v1/model/HumanModel2DAssetMeta.d.ts.map +1 -1
- package/v1/model/HumanModel2DAssetMeta.js +30 -0
- package/v1/model/HumanModel2DAssetMeta.js.map +1 -1
- package/v1/model/ListAssetsRequest.d.ts +33 -0
- package/v1/model/ListAssetsRequest.d.ts.map +1 -1
- package/v1/model/ListAssetsRequest.js +60 -1
- package/v1/model/ListAssetsRequest.js.map +1 -1
- package/v1/model/ListDigitalHumanVideoRequest.d.ts +4 -0
- package/v1/model/ListDigitalHumanVideoRequest.d.ts.map +1 -1
- package/v1/model/ListDigitalHumanVideoRequest.js +10 -0
- package/v1/model/ListDigitalHumanVideoRequest.js.map +1 -1
- package/v1/model/ListJobOperationLogRequest.d.ts +12 -0
- package/v1/model/ListJobOperationLogRequest.d.ts.map +1 -0
- package/v1/model/ListJobOperationLogRequest.js +28 -0
- package/v1/model/ListJobOperationLogRequest.js.map +1 -0
- package/v1/model/ListJobOperationLogResponse.d.ts +9 -0
- package/v1/model/ListJobOperationLogResponse.d.ts.map +1 -0
- package/v1/model/ListJobOperationLogResponse.js +19 -0
- package/v1/model/ListJobOperationLogResponse.js.map +1 -0
- package/v1/model/ListRobotRequest.d.ts +12 -0
- package/v1/model/ListRobotRequest.d.ts.map +1 -1
- package/v1/model/ListRobotRequest.js +20 -1
- package/v1/model/ListRobotRequest.js.map +1 -1
- package/v1/model/ListVoiceTrainingJobRequest.d.ts +4 -0
- package/v1/model/ListVoiceTrainingJobRequest.d.ts.map +1 -1
- package/v1/model/ListVoiceTrainingJobRequest.js +10 -0
- package/v1/model/ListVoiceTrainingJobRequest.js.map +1 -1
- package/v1/model/OpExternalInfo.d.ts +8 -0
- package/v1/model/OpExternalInfo.d.ts.map +1 -0
- package/v1/model/OpExternalInfo.js +19 -0
- package/v1/model/OpExternalInfo.js.map +1 -0
- package/v1/model/ReplicationAssetInfo.d.ts +4 -0
- package/v1/model/ReplicationAssetInfo.d.ts.map +1 -1
- package/v1/model/ReplicationAssetInfo.js +10 -0
- package/v1/model/ReplicationAssetInfo.js.map +1 -1
- package/v1/model/ResetActiveCodeReq.d.ts +8 -0
- package/v1/model/ResetActiveCodeReq.d.ts.map +1 -0
- package/v1/model/ResetActiveCodeReq.js +19 -0
- package/v1/model/ResetActiveCodeReq.js.map +1 -0
- package/v1/model/ResetActiveCodeRequest.d.ts +3 -0
- package/v1/model/ResetActiveCodeRequest.d.ts.map +1 -1
- package/v1/model/ResetActiveCodeRequest.js +4 -0
- package/v1/model/ResetActiveCodeRequest.js.map +1 -1
- package/v1/model/RobotInfo.d.ts +5 -0
- package/v1/model/RobotInfo.d.ts.map +1 -1
- package/v1/model/RobotInfo.js +10 -0
- package/v1/model/RobotInfo.js.map +1 -1
- package/v1/model/RobotTypeEnum.d.ts +4 -0
- package/v1/model/RobotTypeEnum.d.ts.map +1 -0
- package/v1/model/RobotTypeEnum.js +9 -0
- package/v1/model/RobotTypeEnum.js.map +1 -0
- package/v1/model/ShootScriptShowItem.d.ts +5 -0
- package/v1/model/ShootScriptShowItem.d.ts.map +1 -1
- package/v1/model/ShootScriptShowItem.js +10 -0
- package/v1/model/ShootScriptShowItem.js.map +1 -1
- package/v1/model/ShowAssetReplicationInfoResponse.d.ts +4 -0
- package/v1/model/ShowAssetReplicationInfoResponse.d.ts.map +1 -1
- package/v1/model/ShowAssetReplicationInfoResponse.js +10 -0
- package/v1/model/ShowAssetReplicationInfoResponse.js.map +1 -1
- package/v1/model/ShowAssetResponse.d.ts +9 -0
- package/v1/model/ShowAssetResponse.d.ts.map +1 -1
- package/v1/model/ShowAssetResponse.js +20 -0
- package/v1/model/ShowAssetResponse.js.map +1 -1
- package/v1/model/ShowRobotResponse.d.ts +5 -0
- package/v1/model/ShowRobotResponse.d.ts.map +1 -1
- package/v1/model/ShowRobotResponse.js +10 -0
- package/v1/model/ShowRobotResponse.js.map +1 -1
- package/v1/model/ShowSmartChatJobResponse.d.ts +23 -8
- package/v1/model/ShowSmartChatJobResponse.d.ts.map +1 -1
- package/v1/model/ShowSmartChatJobResponse.js +34 -0
- package/v1/model/ShowSmartChatJobResponse.js.map +1 -1
- package/v1/model/ShowSmartLiveRoomResponse.d.ts +4 -0
- package/v1/model/ShowSmartLiveRoomResponse.d.ts.map +1 -1
- package/v1/model/ShowSmartLiveRoomResponse.js +10 -0
- package/v1/model/ShowSmartLiveRoomResponse.js.map +1 -1
- package/v1/model/ShowVoiceTrainingJobResponse.d.ts +4 -0
- package/v1/model/ShowVoiceTrainingJobResponse.d.ts.map +1 -1
- package/v1/model/ShowVoiceTrainingJobResponse.js +10 -0
- package/v1/model/ShowVoiceTrainingJobResponse.js.map +1 -1
- package/v1/model/SmartChatJobsReq.d.ts +8 -0
- package/v1/model/SmartChatJobsReq.d.ts.map +1 -0
- package/v1/model/SmartChatJobsReq.js +19 -0
- package/v1/model/SmartChatJobsReq.js.map +1 -0
- package/v1/model/SmartChatSubtitleConfig.d.ts +12 -0
- package/v1/model/SmartChatSubtitleConfig.d.ts.map +1 -0
- package/v1/model/SmartChatSubtitleConfig.js +25 -0
- package/v1/model/SmartChatSubtitleConfig.js.map +1 -0
- package/v1/model/SmartChatVideoConfig.d.ts +8 -0
- package/v1/model/SmartChatVideoConfig.d.ts.map +1 -0
- package/v1/model/{ChatVideoConfigRsp.js → SmartChatVideoConfig.js} +4 -4
- package/v1/model/SmartChatVideoConfig.js.map +1 -0
- package/v1/model/SmartLiveRoomBaseInfo.d.ts +4 -0
- package/v1/model/SmartLiveRoomBaseInfo.d.ts.map +1 -1
- package/v1/model/SmartLiveRoomBaseInfo.js +10 -0
- package/v1/model/SmartLiveRoomBaseInfo.js.map +1 -1
- package/v1/model/StartSmartChatJobRequest.d.ts +3 -0
- package/v1/model/StartSmartChatJobRequest.d.ts.map +1 -1
- package/v1/model/StartSmartChatJobRequest.js +4 -0
- package/v1/model/StartSmartChatJobRequest.js.map +1 -1
- package/v1/model/StartSmartChatJobResponse.d.ts +21 -8
- package/v1/model/StartSmartChatJobResponse.d.ts.map +1 -1
- package/v1/model/StartSmartChatJobResponse.js +28 -0
- package/v1/model/StartSmartChatJobResponse.js.map +1 -1
- package/v1/model/SubtitleFileInfo.d.ts +29 -0
- package/v1/model/SubtitleFileInfo.d.ts.map +1 -0
- package/v1/model/SubtitleFileInfo.js +59 -0
- package/v1/model/SubtitleFileInfo.js.map +1 -0
- package/v1/model/SupportedServiceEnum.d.ts +4 -0
- package/v1/model/SupportedServiceEnum.d.ts.map +1 -0
- package/v1/model/SupportedServiceEnum.js +9 -0
- package/v1/model/SupportedServiceEnum.js.map +1 -0
- package/v1/model/SystemProperty.d.ts +1 -0
- package/v1/model/SystemProperty.d.ts.map +1 -1
- package/v1/model/SystemProperty.js +1 -0
- package/v1/model/SystemProperty.js.map +1 -1
- package/v1/model/TrainingJobInfo.d.ts +4 -0
- package/v1/model/TrainingJobInfo.d.ts.map +1 -1
- package/v1/model/TrainingJobInfo.js +10 -0
- package/v1/model/TrainingJobInfo.js.map +1 -1
- package/v1/model/UpdateDigitalAssetRequestBody.d.ts +9 -0
- package/v1/model/UpdateDigitalAssetRequestBody.d.ts.map +1 -1
- package/v1/model/UpdateDigitalAssetRequestBody.js +20 -0
- package/v1/model/UpdateDigitalAssetRequestBody.js.map +1 -1
- package/v1/model/UpdateDigitalAssetResponse.d.ts +9 -0
- package/v1/model/UpdateDigitalAssetResponse.d.ts.map +1 -1
- package/v1/model/UpdateDigitalAssetResponse.js +20 -0
- package/v1/model/UpdateDigitalAssetResponse.js.map +1 -1
- package/v1/model/UpdateRobotReq.d.ts +5 -0
- package/v1/model/UpdateRobotReq.d.ts.map +1 -1
- package/v1/model/UpdateRobotReq.js +10 -0
- package/v1/model/UpdateRobotReq.js.map +1 -1
- package/v1/model/UpdateSmartLiveRoomResponse.d.ts +4 -0
- package/v1/model/UpdateSmartLiveRoomResponse.d.ts.map +1 -1
- package/v1/model/UpdateSmartLiveRoomResponse.js +10 -0
- package/v1/model/UpdateSmartLiveRoomResponse.js.map +1 -1
- package/v1/model/VideoAssetMeta.d.ts +14 -0
- package/v1/model/VideoAssetMeta.d.ts.map +1 -1
- package/v1/model/VideoAssetMeta.js +22 -1
- package/v1/model/VideoAssetMeta.js.map +1 -1
- package/v1/model/VoiceCapability.d.ts +4 -0
- package/v1/model/VoiceCapability.d.ts.map +1 -1
- package/v1/model/VoiceCapability.js +10 -0
- package/v1/model/VoiceCapability.js.map +1 -1
- package/v1/model/VoiceModelAssetMeta.d.ts +8 -0
- package/v1/model/VoiceModelAssetMeta.d.ts.map +1 -1
- package/v1/model/VoiceModelAssetMeta.js +20 -0
- package/v1/model/VoiceModelAssetMeta.js.map +1 -1
- package/v1/public-api.d.ts +11 -1
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +11 -1
- package/v1/public-api.js.map +1 -1
- package/v1/model/ChatVideoConfigRsp.d.ts +0 -8
- package/v1/model/ChatVideoConfigRsp.d.ts.map +0 -1
- package/v1/model/ChatVideoConfigRsp.js.map +0 -1
package/v1/MetaStudioClient.js
CHANGED
|
@@ -82,6 +82,7 @@ const ListFacialAnimationsDataRequest_1 = require("./model/ListFacialAnimationsD
|
|
|
82
82
|
const ListHotQuestionRequest_1 = require("./model/ListHotQuestionRequest");
|
|
83
83
|
const ListHotWordsRequest_1 = require("./model/ListHotWordsRequest");
|
|
84
84
|
const ListInteractionRuleGroupsRequest_1 = require("./model/ListInteractionRuleGroupsRequest");
|
|
85
|
+
const ListJobOperationLogRequest_1 = require("./model/ListJobOperationLogRequest");
|
|
85
86
|
const ListKnowledgeIntentRequest_1 = require("./model/ListKnowledgeIntentRequest");
|
|
86
87
|
const ListKnowledgeQuestionRequest_1 = require("./model/ListKnowledgeQuestionRequest");
|
|
87
88
|
const ListKnowledgeSkillRequest_1 = require("./model/ListKnowledgeSkillRequest");
|
|
@@ -241,6 +242,7 @@ class MetaStudioClient {
|
|
|
241
242
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
|
|
242
243
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
243
244
|
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
245
|
+
* @param {ResetActiveCodeReq} [resetActiveCodeRequestBody] 重置激活码请求。
|
|
244
246
|
* @param {*} [options] Override http request option.
|
|
245
247
|
* @throws {RequiredError}
|
|
246
248
|
*/
|
|
@@ -297,7 +299,7 @@ class MetaStudioClient {
|
|
|
297
299
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
298
300
|
*
|
|
299
301
|
* @summary 创建委托
|
|
300
|
-
* @param {'CBS' | 'SIS'} roleType 委托授权类型 * CBS
|
|
302
|
+
* @param {'CBS' | 'SIS'} roleType 委托授权类型 * CBS:对话机器人服务(CBS)访客 * SIS:语音交互服务(SIS)调用
|
|
301
303
|
* @param {*} [options] Override http request option.
|
|
302
304
|
* @throws {RequiredError}
|
|
303
305
|
*/
|
|
@@ -313,7 +315,7 @@ class MetaStudioClient {
|
|
|
313
315
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
314
316
|
*
|
|
315
317
|
* @summary 删除委托
|
|
316
|
-
* @param {'CBS' | 'SIS'} roleType 委托授权类型 * CBS
|
|
318
|
+
* @param {'CBS' | 'SIS'} roleType 委托授权类型 * CBS:对话机器人服务(CBS)访客 * SIS:语音交互服务(SIS)调用
|
|
317
319
|
* @param {*} [options] Override http request option.
|
|
318
320
|
* @throws {RequiredError}
|
|
319
321
|
*/
|
|
@@ -329,7 +331,7 @@ class MetaStudioClient {
|
|
|
329
331
|
* Please refer to HUAWEI cloud API Explorer for details.
|
|
330
332
|
*
|
|
331
333
|
* @summary 查询委托
|
|
332
|
-
* @param {'CBS' | 'SIS'} [roleType] 委托授权类型 * CBS
|
|
334
|
+
* @param {'CBS' | 'SIS'} [roleType] 委托授权类型 * CBS:对话机器人服务(CBS)访客 * SIS:语音交互服务(SIS)调用
|
|
333
335
|
* @param {*} [options] Override http request option.
|
|
334
336
|
* @throws {RequiredError}
|
|
335
337
|
*/
|
|
@@ -392,6 +394,7 @@ class MetaStudioClient {
|
|
|
392
394
|
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。
|
|
393
395
|
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
394
396
|
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
397
|
+
* @param {SmartChatJobsReq} [startSmartChatJobRequestBody] 启动智能交互任务请求。
|
|
395
398
|
* @param {*} [options] Override http request option.
|
|
396
399
|
* @throws {RequiredError}
|
|
397
400
|
*/
|
|
@@ -534,20 +537,23 @@ class MetaStudioClient {
|
|
|
534
537
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
535
538
|
* @param {string} [name] 按名称模糊查询。
|
|
536
539
|
* @param {string} [tag] 按标签模糊查询。
|
|
537
|
-
* @param {
|
|
538
|
-
* @param {string} [
|
|
540
|
+
* @param {'INTERSECTION' | 'UNION_SET'} [tagCombinationType] 标签查询组合方式 INTERSECTION:交集 UNION_SET:并集
|
|
541
|
+
* @param {string} [startTime] 最近直播任务起始时间。格式遵循:RFC 3339 如\"2021-01-10T08:43:17Z\"。
|
|
542
|
+
* @param {string} [endTime] 最近直播任务结束时间。格式遵循:RFC 3339 如\"2021-01-10T10:43:17Z\"。
|
|
539
543
|
* @param {string} [assetType] 资产类型。多个类型使用英文逗号分割。 * HUMAN_MODEL:数字人模型 * VOICE_MODEL:音色模型(仅系统管理员可上传) * SCENE:场景模型 * ANIMATION:动作动画 * VIDEO:视频文件 * IMAGE:图片文件 * PPT:幻灯片文件 * MATERIAL:风格化素材 * HUMAN_MODEL_2D: 2D数字人网络模型 * BUSINESS_CARD_TEMPLET: 数字人名片模板 * MUSIC: 音乐 * AUDIO: 音频
|
|
540
|
-
* @param {string} [sortKey]
|
|
544
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
541
545
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
542
546
|
* @param {'SYSTEM' | 'CUSTOMIZATION' | 'ALL'} [assetSource] 资产来源。 * SYSTEM:系统资产 * CUSTOMIZATION:租户资产 * ALL:所有资产 默认查询租户资产。
|
|
543
547
|
* @param {string} [assetState] 资产状态。多个资产状态使用英文逗号分割。 * CREATING:资产创建中,主文件尚未上传 * FAILED:主文件上传失败 * UNACTIVED:主文件上传成功,资产未激活,资产不可用于其他业务(用户可更新状态) * ACTIVED:主文件上传成功,资产激活,资产可用于其他业务(用户可更新状态) * DELETING:资产删除中,资产不可用,资产可恢复 * DELETED:资产文件已删除,资产不可用,资产不可恢复 * BLOCK:资产被冻结,资产不可用,不可查看文件。 默认查询所有状态的资产。
|
|
544
548
|
* @param {string} [styleId] 基于风格化ID查询关联资产。 * system_male_001:男性风格01 * system_female_001:女性风格01 * system_male_002:男性风格02 * system_female_002:女性风格02
|
|
549
|
+
* @param {Array<string>} [accurateQueryField] 使用精确查询的字段
|
|
545
550
|
* @param {string} [renderEngine] 可用引擎。 * UE:UE引擎 * MetaEngine:MetaEngine引擎 > 该字段当前只对MetaEngine白名单用户生效
|
|
546
551
|
* @param {Array<string>} [assetId] 资产id
|
|
547
552
|
* @param {string} [sex] 性别。多选使用英文逗号分隔。
|
|
548
553
|
* @param {string} [language] 语言。多选使用英文逗号分隔。
|
|
549
554
|
* @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(竖屏)
|
|
550
555
|
* @param {boolean} [actionEditable] 动作是否可编辑。仅在分身数字人模型查询时有效。
|
|
556
|
+
* @param {boolean} [isWithActionLibrary] 分身数字人是否带原子动作库。 > * 带原子动作库的分身数字人可做动作编排。
|
|
551
557
|
* @param {boolean} [isMovable] 分身数字人是否支持走动。仅在分身数字人模型查询时有效。
|
|
552
558
|
* @param {string} [voiceProvider] 取值:HUAWEI_METASTUDIO、MOBVOI。 HUAWEI_METASTUDIO:MetaStudio自研音色 MOBVOI:出门问问音色
|
|
553
559
|
* @param {'SHARER' | 'SHAREE'} [role] 角色。 SHARER:共享方,SHAREE:被共享方
|
|
@@ -555,6 +561,7 @@ class MetaStudioClient {
|
|
|
555
561
|
* @param {string} [humanModel2dVersion] 模型版本
|
|
556
562
|
* @param {string} [includeDeviceName] 资产已执行的任务名称
|
|
557
563
|
* @param {string} [excludeDeviceName] 资产已执行的任务名称
|
|
564
|
+
* @param {'VIDEO_2D' | 'LIVE_2D' | 'CHAT_2D'} [supportedService] 资产支持的业务类型。默认查询所有资产。 * VIDEO_2D:分身数字人视频制作 * LIVE_2D:分身数字人直播 * CHAT_2D:分身数字人智能交互
|
|
558
565
|
* @param {*} [options] Override http request option.
|
|
559
566
|
* @throws {RequiredError}
|
|
560
567
|
*/
|
|
@@ -694,7 +701,7 @@ class MetaStudioClient {
|
|
|
694
701
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
695
702
|
* @param {number} [limit] 每页显示的条目数量。
|
|
696
703
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
697
|
-
* @param {string} [sortKey]
|
|
704
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
698
705
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
699
706
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
700
707
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
@@ -762,10 +769,11 @@ class MetaStudioClient {
|
|
|
762
769
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
763
770
|
* @param {number} [limit] 每页显示的条目数量。
|
|
764
771
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
765
|
-
* @param {string} [sortKey]
|
|
772
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
766
773
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
767
774
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
768
775
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
776
|
+
* @param {Array<string>} [fuzzyQueryField] 使用模糊查询的字段
|
|
769
777
|
* @param {string} [scriptId] 剧本ID。
|
|
770
778
|
* @param {string} [assetName] 输出视频资产名称。
|
|
771
779
|
* @param {string} [jobType] 任务类型。 * 2D_DIGITAL_HUMAN_VIDEO: 分身数字人视频制作任务 * PHOTO_DIGITAL_HUMAN_VIDEO: 照片数字人视频制作任务
|
|
@@ -1732,7 +1740,7 @@ class MetaStudioClient {
|
|
|
1732
1740
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
1733
1741
|
* @param {number} [limit] 每页显示的条目数量。
|
|
1734
1742
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
1735
|
-
* @param {string} [sortKey]
|
|
1743
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
1736
1744
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
1737
1745
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
1738
1746
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
@@ -1817,7 +1825,7 @@ class MetaStudioClient {
|
|
|
1817
1825
|
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
1818
1826
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
1819
1827
|
* @param {number} [limit] 每页显示的条目数量。
|
|
1820
|
-
* @param {string} [sortKey]
|
|
1828
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
1821
1829
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
1822
1830
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
1823
1831
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
@@ -1948,6 +1956,7 @@ class MetaStudioClient {
|
|
|
1948
1956
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
1949
1957
|
* @param {number} [limit] 每页显示的条目数量。
|
|
1950
1958
|
* @param {string} [roomId] 智能交互对话房间ID。
|
|
1959
|
+
* @param {'LIVE' | 'CHAT'} [robotType] 交互对接类型 * LIVE:直播交互 * CHAT:智能交互
|
|
1951
1960
|
* @param {*} [options] Override http request option.
|
|
1952
1961
|
* @throws {RequiredError}
|
|
1953
1962
|
*/
|
|
@@ -2140,7 +2149,7 @@ class MetaStudioClient {
|
|
|
2140
2149
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
2141
2150
|
* @param {number} [limit] 每页显示的条目数量。
|
|
2142
2151
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
2143
|
-
* @param {string} [sortKey]
|
|
2152
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
2144
2153
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
2145
2154
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
2146
2155
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
@@ -2166,7 +2175,7 @@ class MetaStudioClient {
|
|
|
2166
2175
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
2167
2176
|
* @param {number} [limit] 每页显示的条目数量。
|
|
2168
2177
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
2169
|
-
* @param {string} [sortKey]
|
|
2178
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
2170
2179
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
2171
2180
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
2172
2181
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
@@ -2476,7 +2485,7 @@ class MetaStudioClient {
|
|
|
2476
2485
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
2477
2486
|
* @param {number} [limit] 每页显示的条目数量。
|
|
2478
2487
|
* @param {string} [state] 任务状态,默认所有状态。 可多个状态查询,使用英文逗号分隔。 如state=CREATING,PUBLISHED
|
|
2479
|
-
* @param {string} [sortKey]
|
|
2488
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
2480
2489
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
2481
2490
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
2482
2491
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
@@ -2620,6 +2629,24 @@ class MetaStudioClient {
|
|
|
2620
2629
|
options['responseHeaders'] = [''];
|
|
2621
2630
|
return this.hcClient.sendRequest(options);
|
|
2622
2631
|
}
|
|
2632
|
+
/**
|
|
2633
|
+
* 查询任务操作日志
|
|
2634
|
+
*
|
|
2635
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
2636
|
+
*
|
|
2637
|
+
* @summary 查询任务操作日志
|
|
2638
|
+
* @param {string} jobId 任务id
|
|
2639
|
+
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
2640
|
+
* @param {number} [limit] 每页显示的条目数量。
|
|
2641
|
+
* @param {*} [options] Override http request option.
|
|
2642
|
+
* @throws {RequiredError}
|
|
2643
|
+
*/
|
|
2644
|
+
listJobOperationLog(listJobOperationLogRequest) {
|
|
2645
|
+
const options = (0, exports.ParamCreater)().listJobOperationLog(listJobOperationLogRequest);
|
|
2646
|
+
// @ts-ignore
|
|
2647
|
+
options['responseHeaders'] = [''];
|
|
2648
|
+
return this.hcClient.sendRequest(options);
|
|
2649
|
+
}
|
|
2623
2650
|
/**
|
|
2624
2651
|
* 查询语音训练任务列表
|
|
2625
2652
|
*
|
|
@@ -2635,6 +2662,7 @@ class MetaStudioClient {
|
|
|
2635
2662
|
* @param {string} [jobId] 任务id。
|
|
2636
2663
|
* @param {string} [voiceName] 声音名称。
|
|
2637
2664
|
* @param {string} [tag] 任务标签。
|
|
2665
|
+
* @param {string} [jobType] 训练类型。 * BASIC: 基础版(20句话) * MIDDLE: 进阶版(100句话) * ADVANCE: 高级版 * THIRD_PARTY: 第三方出门问问训练版 * THIRD_PARTY_LJZN: 第三方逻辑智能训练版 * FLEXUS: Flexus版---用的是大模型特征提取
|
|
2638
2666
|
* @param {*} [options] Override http request option.
|
|
2639
2667
|
* @throws {RequiredError}
|
|
2640
2668
|
*/
|
|
@@ -2786,7 +2814,7 @@ class MetaStudioClient {
|
|
|
2786
2814
|
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
2787
2815
|
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
2788
2816
|
* @param {number} [limit] 每页显示的条目数量。
|
|
2789
|
-
* @param {string} [sortKey]
|
|
2817
|
+
* @param {string} [sortKey] 排序字段,支持的排序方式有: - 按创建时间排序:create_time - 按更新时间排序:update_time - 按资产排序:asset_order
|
|
2790
2818
|
* @param {string} [sortDir] 排序方式。 * asc:升序 * desc:降序 默认asc升序。
|
|
2791
2819
|
* @param {string} [createUntil] 过滤创建时间<=输入时间的记录。
|
|
2792
2820
|
* @param {string} [createSince] 过滤创建时间>=输入时间的记录。
|
|
@@ -3555,9 +3583,11 @@ const ParamCreater = function () {
|
|
|
3555
3583
|
contentType: "application/json",
|
|
3556
3584
|
queryParams: {},
|
|
3557
3585
|
pathParams: {},
|
|
3558
|
-
headers: {}
|
|
3586
|
+
headers: {},
|
|
3587
|
+
data: {}
|
|
3559
3588
|
};
|
|
3560
3589
|
const localVarHeaderParameter = {};
|
|
3590
|
+
let body;
|
|
3561
3591
|
let activeCodeId;
|
|
3562
3592
|
let authorization;
|
|
3563
3593
|
let xSdkDate;
|
|
@@ -3570,6 +3600,7 @@ const ParamCreater = function () {
|
|
|
3570
3600
|
xSdkDate = resetActiveCodeRequest.xSdkDate;
|
|
3571
3601
|
xProjectId = resetActiveCodeRequest.xProjectId;
|
|
3572
3602
|
xAppUserId = resetActiveCodeRequest.xAppUserId;
|
|
3603
|
+
body = resetActiveCodeRequest.body;
|
|
3573
3604
|
}
|
|
3574
3605
|
else {
|
|
3575
3606
|
activeCodeId = resetActiveCodeRequest['active_code_id'];
|
|
@@ -3577,6 +3608,7 @@ const ParamCreater = function () {
|
|
|
3577
3608
|
xSdkDate = resetActiveCodeRequest['X-Sdk-Date'];
|
|
3578
3609
|
xProjectId = resetActiveCodeRequest['X-Project-Id'];
|
|
3579
3610
|
xAppUserId = resetActiveCodeRequest['X-App-UserId'];
|
|
3611
|
+
body = resetActiveCodeRequest['body'];
|
|
3580
3612
|
}
|
|
3581
3613
|
}
|
|
3582
3614
|
if (activeCodeId === null || activeCodeId === undefined) {
|
|
@@ -3594,6 +3626,8 @@ const ParamCreater = function () {
|
|
|
3594
3626
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3595
3627
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3596
3628
|
}
|
|
3629
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3630
|
+
options.data = body !== undefined ? body : {};
|
|
3597
3631
|
options.pathParams = { 'active_code_id': activeCodeId, };
|
|
3598
3632
|
options.headers = localVarHeaderParameter;
|
|
3599
3633
|
return options;
|
|
@@ -3941,10 +3975,12 @@ const ParamCreater = function () {
|
|
|
3941
3975
|
contentType: "application/json",
|
|
3942
3976
|
queryParams: {},
|
|
3943
3977
|
pathParams: {},
|
|
3944
|
-
headers: {}
|
|
3978
|
+
headers: {},
|
|
3979
|
+
data: {}
|
|
3945
3980
|
};
|
|
3946
3981
|
const localVarHeaderParameter = {};
|
|
3947
3982
|
const localVarQueryParameter = {};
|
|
3983
|
+
let body;
|
|
3948
3984
|
let roomId;
|
|
3949
3985
|
let robotId;
|
|
3950
3986
|
let authorization;
|
|
@@ -3959,6 +3995,7 @@ const ParamCreater = function () {
|
|
|
3959
3995
|
xSdkDate = startSmartChatJobRequest.xSdkDate;
|
|
3960
3996
|
xProjectId = startSmartChatJobRequest.xProjectId;
|
|
3961
3997
|
xAppUserId = startSmartChatJobRequest.xAppUserId;
|
|
3998
|
+
body = startSmartChatJobRequest.body;
|
|
3962
3999
|
}
|
|
3963
4000
|
else {
|
|
3964
4001
|
roomId = startSmartChatJobRequest['room_id'];
|
|
@@ -3967,6 +4004,7 @@ const ParamCreater = function () {
|
|
|
3967
4004
|
xSdkDate = startSmartChatJobRequest['X-Sdk-Date'];
|
|
3968
4005
|
xProjectId = startSmartChatJobRequest['X-Project-Id'];
|
|
3969
4006
|
xAppUserId = startSmartChatJobRequest['X-App-UserId'];
|
|
4007
|
+
body = startSmartChatJobRequest['body'];
|
|
3970
4008
|
}
|
|
3971
4009
|
}
|
|
3972
4010
|
if (roomId === null || roomId === undefined) {
|
|
@@ -3990,6 +4028,8 @@ const ParamCreater = function () {
|
|
|
3990
4028
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
3991
4029
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
3992
4030
|
}
|
|
4031
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4032
|
+
options.data = body !== undefined ? body : {};
|
|
3993
4033
|
options.queryParams = localVarQueryParameter;
|
|
3994
4034
|
options.pathParams = { 'room_id': roomId, };
|
|
3995
4035
|
options.headers = localVarHeaderParameter;
|
|
@@ -4340,6 +4380,7 @@ const ParamCreater = function () {
|
|
|
4340
4380
|
let offset;
|
|
4341
4381
|
let name;
|
|
4342
4382
|
let tag;
|
|
4383
|
+
let tagCombinationType;
|
|
4343
4384
|
let startTime;
|
|
4344
4385
|
let endTime;
|
|
4345
4386
|
let assetType;
|
|
@@ -4348,12 +4389,14 @@ const ParamCreater = function () {
|
|
|
4348
4389
|
let assetSource;
|
|
4349
4390
|
let assetState;
|
|
4350
4391
|
let styleId;
|
|
4392
|
+
let accurateQueryField;
|
|
4351
4393
|
let renderEngine;
|
|
4352
4394
|
let assetId;
|
|
4353
4395
|
let sex;
|
|
4354
4396
|
let language;
|
|
4355
4397
|
let systemProperty;
|
|
4356
4398
|
let actionEditable;
|
|
4399
|
+
let isWithActionLibrary;
|
|
4357
4400
|
let isMovable;
|
|
4358
4401
|
let voiceProvider;
|
|
4359
4402
|
let role;
|
|
@@ -4361,6 +4404,7 @@ const ParamCreater = function () {
|
|
|
4361
4404
|
let humanModel2dVersion;
|
|
4362
4405
|
let includeDeviceName;
|
|
4363
4406
|
let excludeDeviceName;
|
|
4407
|
+
let supportedService;
|
|
4364
4408
|
if (listAssetsRequest !== null && listAssetsRequest !== undefined) {
|
|
4365
4409
|
if (listAssetsRequest instanceof ListAssetsRequest_1.ListAssetsRequest) {
|
|
4366
4410
|
authorization = listAssetsRequest.authorization;
|
|
@@ -4370,6 +4414,7 @@ const ParamCreater = function () {
|
|
|
4370
4414
|
offset = listAssetsRequest.offset;
|
|
4371
4415
|
name = listAssetsRequest.name;
|
|
4372
4416
|
tag = listAssetsRequest.tag;
|
|
4417
|
+
tagCombinationType = listAssetsRequest.tagCombinationType;
|
|
4373
4418
|
startTime = listAssetsRequest.startTime;
|
|
4374
4419
|
endTime = listAssetsRequest.endTime;
|
|
4375
4420
|
assetType = listAssetsRequest.assetType;
|
|
@@ -4378,12 +4423,14 @@ const ParamCreater = function () {
|
|
|
4378
4423
|
assetSource = listAssetsRequest.assetSource;
|
|
4379
4424
|
assetState = listAssetsRequest.assetState;
|
|
4380
4425
|
styleId = listAssetsRequest.styleId;
|
|
4426
|
+
accurateQueryField = listAssetsRequest.accurateQueryField;
|
|
4381
4427
|
renderEngine = listAssetsRequest.renderEngine;
|
|
4382
4428
|
assetId = listAssetsRequest.assetId;
|
|
4383
4429
|
sex = listAssetsRequest.sex;
|
|
4384
4430
|
language = listAssetsRequest.language;
|
|
4385
4431
|
systemProperty = listAssetsRequest.systemProperty;
|
|
4386
4432
|
actionEditable = listAssetsRequest.actionEditable;
|
|
4433
|
+
isWithActionLibrary = listAssetsRequest.isWithActionLibrary;
|
|
4387
4434
|
isMovable = listAssetsRequest.isMovable;
|
|
4388
4435
|
voiceProvider = listAssetsRequest.voiceProvider;
|
|
4389
4436
|
role = listAssetsRequest.role;
|
|
@@ -4391,6 +4438,7 @@ const ParamCreater = function () {
|
|
|
4391
4438
|
humanModel2dVersion = listAssetsRequest.humanModel2dVersion;
|
|
4392
4439
|
includeDeviceName = listAssetsRequest.includeDeviceName;
|
|
4393
4440
|
excludeDeviceName = listAssetsRequest.excludeDeviceName;
|
|
4441
|
+
supportedService = listAssetsRequest.supportedService;
|
|
4394
4442
|
}
|
|
4395
4443
|
else {
|
|
4396
4444
|
authorization = listAssetsRequest['Authorization'];
|
|
@@ -4400,6 +4448,7 @@ const ParamCreater = function () {
|
|
|
4400
4448
|
offset = listAssetsRequest['offset'];
|
|
4401
4449
|
name = listAssetsRequest['name'];
|
|
4402
4450
|
tag = listAssetsRequest['tag'];
|
|
4451
|
+
tagCombinationType = listAssetsRequest['tag_combination_type'];
|
|
4403
4452
|
startTime = listAssetsRequest['start_time'];
|
|
4404
4453
|
endTime = listAssetsRequest['end_time'];
|
|
4405
4454
|
assetType = listAssetsRequest['asset_type'];
|
|
@@ -4408,12 +4457,14 @@ const ParamCreater = function () {
|
|
|
4408
4457
|
assetSource = listAssetsRequest['asset_source'];
|
|
4409
4458
|
assetState = listAssetsRequest['asset_state'];
|
|
4410
4459
|
styleId = listAssetsRequest['style_id'];
|
|
4460
|
+
accurateQueryField = listAssetsRequest['accurate_query_field'];
|
|
4411
4461
|
renderEngine = listAssetsRequest['render_engine'];
|
|
4412
4462
|
assetId = listAssetsRequest['asset_id'];
|
|
4413
4463
|
sex = listAssetsRequest['sex'];
|
|
4414
4464
|
language = listAssetsRequest['language'];
|
|
4415
4465
|
systemProperty = listAssetsRequest['system_property'];
|
|
4416
4466
|
actionEditable = listAssetsRequest['action_editable'];
|
|
4467
|
+
isWithActionLibrary = listAssetsRequest['is_with_action_library'];
|
|
4417
4468
|
isMovable = listAssetsRequest['is_movable'];
|
|
4418
4469
|
voiceProvider = listAssetsRequest['voice_provider'];
|
|
4419
4470
|
role = listAssetsRequest['role'];
|
|
@@ -4421,6 +4472,7 @@ const ParamCreater = function () {
|
|
|
4421
4472
|
humanModel2dVersion = listAssetsRequest['human_model_2d_version'];
|
|
4422
4473
|
includeDeviceName = listAssetsRequest['include_device_name'];
|
|
4423
4474
|
excludeDeviceName = listAssetsRequest['exclude_device_name'];
|
|
4475
|
+
supportedService = listAssetsRequest['supported_service'];
|
|
4424
4476
|
}
|
|
4425
4477
|
}
|
|
4426
4478
|
if (limit !== null && limit !== undefined) {
|
|
@@ -4435,6 +4487,9 @@ const ParamCreater = function () {
|
|
|
4435
4487
|
if (tag !== null && tag !== undefined) {
|
|
4436
4488
|
localVarQueryParameter['tag'] = tag;
|
|
4437
4489
|
}
|
|
4490
|
+
if (tagCombinationType !== null && tagCombinationType !== undefined) {
|
|
4491
|
+
localVarQueryParameter['tag_combination_type'] = tagCombinationType;
|
|
4492
|
+
}
|
|
4438
4493
|
if (startTime !== null && startTime !== undefined) {
|
|
4439
4494
|
localVarQueryParameter['start_time'] = startTime;
|
|
4440
4495
|
}
|
|
@@ -4459,6 +4514,9 @@ const ParamCreater = function () {
|
|
|
4459
4514
|
if (styleId !== null && styleId !== undefined) {
|
|
4460
4515
|
localVarQueryParameter['style_id'] = styleId;
|
|
4461
4516
|
}
|
|
4517
|
+
if (accurateQueryField !== null && accurateQueryField !== undefined) {
|
|
4518
|
+
localVarQueryParameter['accurate_query_field'] = accurateQueryField;
|
|
4519
|
+
}
|
|
4462
4520
|
if (renderEngine !== null && renderEngine !== undefined) {
|
|
4463
4521
|
localVarQueryParameter['render_engine'] = renderEngine;
|
|
4464
4522
|
}
|
|
@@ -4477,6 +4535,9 @@ const ParamCreater = function () {
|
|
|
4477
4535
|
if (actionEditable !== null && actionEditable !== undefined) {
|
|
4478
4536
|
localVarQueryParameter['action_editable'] = actionEditable;
|
|
4479
4537
|
}
|
|
4538
|
+
if (isWithActionLibrary !== null && isWithActionLibrary !== undefined) {
|
|
4539
|
+
localVarQueryParameter['is_with_action_library'] = isWithActionLibrary;
|
|
4540
|
+
}
|
|
4480
4541
|
if (isMovable !== null && isMovable !== undefined) {
|
|
4481
4542
|
localVarQueryParameter['is_movable'] = isMovable;
|
|
4482
4543
|
}
|
|
@@ -4498,6 +4559,9 @@ const ParamCreater = function () {
|
|
|
4498
4559
|
if (excludeDeviceName !== null && excludeDeviceName !== undefined) {
|
|
4499
4560
|
localVarQueryParameter['exclude_device_name'] = excludeDeviceName;
|
|
4500
4561
|
}
|
|
4562
|
+
if (supportedService !== null && supportedService !== undefined) {
|
|
4563
|
+
localVarQueryParameter['supported_service'] = supportedService;
|
|
4564
|
+
}
|
|
4501
4565
|
if (authorization !== undefined && authorization !== null) {
|
|
4502
4566
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
4503
4567
|
}
|
|
@@ -5072,6 +5136,7 @@ const ParamCreater = function () {
|
|
|
5072
5136
|
let sortDir;
|
|
5073
5137
|
let createUntil;
|
|
5074
5138
|
let createSince;
|
|
5139
|
+
let fuzzyQueryField;
|
|
5075
5140
|
let scriptId;
|
|
5076
5141
|
let assetName;
|
|
5077
5142
|
let jobType;
|
|
@@ -5089,6 +5154,7 @@ const ParamCreater = function () {
|
|
|
5089
5154
|
sortDir = listDigitalHumanVideoRequest.sortDir;
|
|
5090
5155
|
createUntil = listDigitalHumanVideoRequest.createUntil;
|
|
5091
5156
|
createSince = listDigitalHumanVideoRequest.createSince;
|
|
5157
|
+
fuzzyQueryField = listDigitalHumanVideoRequest.fuzzyQueryField;
|
|
5092
5158
|
scriptId = listDigitalHumanVideoRequest.scriptId;
|
|
5093
5159
|
assetName = listDigitalHumanVideoRequest.assetName;
|
|
5094
5160
|
jobType = listDigitalHumanVideoRequest.jobType;
|
|
@@ -5106,6 +5172,7 @@ const ParamCreater = function () {
|
|
|
5106
5172
|
sortDir = listDigitalHumanVideoRequest['sort_dir'];
|
|
5107
5173
|
createUntil = listDigitalHumanVideoRequest['create_until'];
|
|
5108
5174
|
createSince = listDigitalHumanVideoRequest['create_since'];
|
|
5175
|
+
fuzzyQueryField = listDigitalHumanVideoRequest['fuzzy_query_field'];
|
|
5109
5176
|
scriptId = listDigitalHumanVideoRequest['script_id'];
|
|
5110
5177
|
assetName = listDigitalHumanVideoRequest['asset_name'];
|
|
5111
5178
|
jobType = listDigitalHumanVideoRequest['job_type'];
|
|
@@ -5133,6 +5200,9 @@ const ParamCreater = function () {
|
|
|
5133
5200
|
if (createSince !== null && createSince !== undefined) {
|
|
5134
5201
|
localVarQueryParameter['create_since'] = createSince;
|
|
5135
5202
|
}
|
|
5203
|
+
if (fuzzyQueryField !== null && fuzzyQueryField !== undefined) {
|
|
5204
|
+
localVarQueryParameter['fuzzy_query_field'] = fuzzyQueryField;
|
|
5205
|
+
}
|
|
5136
5206
|
if (scriptId !== null && scriptId !== undefined) {
|
|
5137
5207
|
localVarQueryParameter['script_id'] = scriptId;
|
|
5138
5208
|
}
|
|
@@ -8588,6 +8658,7 @@ const ParamCreater = function () {
|
|
|
8588
8658
|
let offset;
|
|
8589
8659
|
let limit;
|
|
8590
8660
|
let roomId;
|
|
8661
|
+
let robotType;
|
|
8591
8662
|
if (listRobotRequest !== null && listRobotRequest !== undefined) {
|
|
8592
8663
|
if (listRobotRequest instanceof ListRobotRequest_1.ListRobotRequest) {
|
|
8593
8664
|
authorization = listRobotRequest.authorization;
|
|
@@ -8597,6 +8668,7 @@ const ParamCreater = function () {
|
|
|
8597
8668
|
offset = listRobotRequest.offset;
|
|
8598
8669
|
limit = listRobotRequest.limit;
|
|
8599
8670
|
roomId = listRobotRequest.roomId;
|
|
8671
|
+
robotType = listRobotRequest.robotType;
|
|
8600
8672
|
}
|
|
8601
8673
|
else {
|
|
8602
8674
|
authorization = listRobotRequest['Authorization'];
|
|
@@ -8606,6 +8678,7 @@ const ParamCreater = function () {
|
|
|
8606
8678
|
offset = listRobotRequest['offset'];
|
|
8607
8679
|
limit = listRobotRequest['limit'];
|
|
8608
8680
|
roomId = listRobotRequest['room_id'];
|
|
8681
|
+
robotType = listRobotRequest['robot_type'];
|
|
8609
8682
|
}
|
|
8610
8683
|
}
|
|
8611
8684
|
if (offset !== null && offset !== undefined) {
|
|
@@ -8617,6 +8690,9 @@ const ParamCreater = function () {
|
|
|
8617
8690
|
if (roomId !== null && roomId !== undefined) {
|
|
8618
8691
|
localVarQueryParameter['room_id'] = roomId;
|
|
8619
8692
|
}
|
|
8693
|
+
if (robotType !== null && robotType !== undefined) {
|
|
8694
|
+
localVarQueryParameter['robot_type'] = robotType;
|
|
8695
|
+
}
|
|
8620
8696
|
if (authorization !== undefined && authorization !== null) {
|
|
8621
8697
|
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
8622
8698
|
}
|
|
@@ -10630,6 +10706,51 @@ const ParamCreater = function () {
|
|
|
10630
10706
|
options.headers = localVarHeaderParameter;
|
|
10631
10707
|
return options;
|
|
10632
10708
|
},
|
|
10709
|
+
/**
|
|
10710
|
+
* 查询任务操作日志
|
|
10711
|
+
*
|
|
10712
|
+
* Please refer to HUAWEI cloud API Explorer for details.
|
|
10713
|
+
*/
|
|
10714
|
+
listJobOperationLog(listJobOperationLogRequest) {
|
|
10715
|
+
const options = {
|
|
10716
|
+
method: "GET",
|
|
10717
|
+
url: "/v1/{project_id}/voice-training-manage/user/jobs/{job_id}/op-logs",
|
|
10718
|
+
contentType: "application/json",
|
|
10719
|
+
queryParams: {},
|
|
10720
|
+
pathParams: {},
|
|
10721
|
+
headers: {}
|
|
10722
|
+
};
|
|
10723
|
+
const localVarHeaderParameter = {};
|
|
10724
|
+
const localVarQueryParameter = {};
|
|
10725
|
+
let jobId;
|
|
10726
|
+
let offset;
|
|
10727
|
+
let limit;
|
|
10728
|
+
if (listJobOperationLogRequest !== null && listJobOperationLogRequest !== undefined) {
|
|
10729
|
+
if (listJobOperationLogRequest instanceof ListJobOperationLogRequest_1.ListJobOperationLogRequest) {
|
|
10730
|
+
jobId = listJobOperationLogRequest.jobId;
|
|
10731
|
+
offset = listJobOperationLogRequest.offset;
|
|
10732
|
+
limit = listJobOperationLogRequest.limit;
|
|
10733
|
+
}
|
|
10734
|
+
else {
|
|
10735
|
+
jobId = listJobOperationLogRequest['job_id'];
|
|
10736
|
+
offset = listJobOperationLogRequest['offset'];
|
|
10737
|
+
limit = listJobOperationLogRequest['limit'];
|
|
10738
|
+
}
|
|
10739
|
+
}
|
|
10740
|
+
if (jobId === null || jobId === undefined) {
|
|
10741
|
+
throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling listJobOperationLog.');
|
|
10742
|
+
}
|
|
10743
|
+
if (offset !== null && offset !== undefined) {
|
|
10744
|
+
localVarQueryParameter['offset'] = offset;
|
|
10745
|
+
}
|
|
10746
|
+
if (limit !== null && limit !== undefined) {
|
|
10747
|
+
localVarQueryParameter['limit'] = limit;
|
|
10748
|
+
}
|
|
10749
|
+
options.queryParams = localVarQueryParameter;
|
|
10750
|
+
options.pathParams = { 'job_id': jobId, };
|
|
10751
|
+
options.headers = localVarHeaderParameter;
|
|
10752
|
+
return options;
|
|
10753
|
+
},
|
|
10633
10754
|
/**
|
|
10634
10755
|
* 查询语音训练任务列表
|
|
10635
10756
|
*
|
|
@@ -10655,6 +10776,7 @@ const ParamCreater = function () {
|
|
|
10655
10776
|
let jobId;
|
|
10656
10777
|
let voiceName;
|
|
10657
10778
|
let tag;
|
|
10779
|
+
let jobType;
|
|
10658
10780
|
if (listVoiceTrainingJobRequest !== null && listVoiceTrainingJobRequest !== undefined) {
|
|
10659
10781
|
if (listVoiceTrainingJobRequest instanceof ListVoiceTrainingJobRequest_1.ListVoiceTrainingJobRequest) {
|
|
10660
10782
|
offset = listVoiceTrainingJobRequest.offset;
|
|
@@ -10666,6 +10788,7 @@ const ParamCreater = function () {
|
|
|
10666
10788
|
jobId = listVoiceTrainingJobRequest.jobId;
|
|
10667
10789
|
voiceName = listVoiceTrainingJobRequest.voiceName;
|
|
10668
10790
|
tag = listVoiceTrainingJobRequest.tag;
|
|
10791
|
+
jobType = listVoiceTrainingJobRequest.jobType;
|
|
10669
10792
|
}
|
|
10670
10793
|
else {
|
|
10671
10794
|
offset = listVoiceTrainingJobRequest['offset'];
|
|
@@ -10677,6 +10800,7 @@ const ParamCreater = function () {
|
|
|
10677
10800
|
jobId = listVoiceTrainingJobRequest['job_id'];
|
|
10678
10801
|
voiceName = listVoiceTrainingJobRequest['voice_name'];
|
|
10679
10802
|
tag = listVoiceTrainingJobRequest['tag'];
|
|
10803
|
+
jobType = listVoiceTrainingJobRequest['job_type'];
|
|
10680
10804
|
}
|
|
10681
10805
|
}
|
|
10682
10806
|
if (offset !== null && offset !== undefined) {
|
|
@@ -10703,6 +10827,9 @@ const ParamCreater = function () {
|
|
|
10703
10827
|
if (tag !== null && tag !== undefined) {
|
|
10704
10828
|
localVarQueryParameter['tag'] = tag;
|
|
10705
10829
|
}
|
|
10830
|
+
if (jobType !== null && jobType !== undefined) {
|
|
10831
|
+
localVarQueryParameter['job_type'] = jobType;
|
|
10832
|
+
}
|
|
10706
10833
|
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
10707
10834
|
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
10708
10835
|
}
|