@huaweicloud/huaweicloud-sdk-metastudio 3.1.177 → 3.1.179
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 +0 -155
- package/v1/MetaStudioClient.d.ts.map +1 -1
- package/v1/MetaStudioClient.js +0 -407
- package/v1/MetaStudioClient.js.map +1 -1
- package/v1/model/CreateLlmConfigReq.d.ts +2 -0
- package/v1/model/CreateLlmConfigReq.d.ts.map +1 -1
- package/v1/model/CreateLlmConfigReq.js +4 -0
- package/v1/model/CreateLlmConfigReq.js.map +1 -1
- package/v1/model/LlmConfigInfo.d.ts +2 -0
- package/v1/model/LlmConfigInfo.d.ts.map +1 -1
- package/v1/model/LlmConfigInfo.js +4 -0
- package/v1/model/LlmConfigInfo.js.map +1 -1
- package/v1/model/ShowLlmConfigResponse.d.ts +2 -0
- package/v1/model/ShowLlmConfigResponse.d.ts.map +1 -1
- package/v1/model/ShowLlmConfigResponse.js +4 -0
- package/v1/model/ShowLlmConfigResponse.js.map +1 -1
- package/v1/model/UpdateLlmConfigReq.d.ts +2 -0
- package/v1/model/UpdateLlmConfigReq.d.ts.map +1 -1
- package/v1/model/UpdateLlmConfigReq.js +4 -0
- package/v1/model/UpdateLlmConfigReq.js.map +1 -1
- package/v1/public-api.d.ts +0 -15
- package/v1/public-api.d.ts.map +1 -1
- package/v1/public-api.js +0 -15
- package/v1/public-api.js.map +1 -1
- package/v1/model/ControlDigitalHumanLiveReq.d.ts +0 -20
- package/v1/model/ControlDigitalHumanLiveReq.d.ts.map +0 -1
- package/v1/model/ControlDigitalHumanLiveReq.js +0 -31
- package/v1/model/ControlDigitalHumanLiveReq.js.map +0 -1
- package/v1/model/CreateVideoMotionCaptureJobRequest.d.ts +0 -27
- package/v1/model/CreateVideoMotionCaptureJobRequest.d.ts.map +0 -1
- package/v1/model/CreateVideoMotionCaptureJobRequest.js +0 -63
- package/v1/model/CreateVideoMotionCaptureJobRequest.js.map +0 -1
- package/v1/model/CreateVideoMotionCaptureJobResponse.d.ts +0 -18
- package/v1/model/CreateVideoMotionCaptureJobResponse.d.ts.map +0 -1
- package/v1/model/CreateVideoMotionCaptureJobResponse.js +0 -41
- package/v1/model/CreateVideoMotionCaptureJobResponse.js.map +0 -1
- package/v1/model/ExecuteVideoMotionCaptureCommandRequest.d.ts +0 -27
- package/v1/model/ExecuteVideoMotionCaptureCommandRequest.d.ts.map +0 -1
- package/v1/model/ExecuteVideoMotionCaptureCommandRequest.js +0 -64
- package/v1/model/ExecuteVideoMotionCaptureCommandRequest.js.map +0 -1
- package/v1/model/ExecuteVideoMotionCaptureCommandResponse.d.ts +0 -9
- package/v1/model/ExecuteVideoMotionCaptureCommandResponse.d.ts.map +0 -1
- package/v1/model/ExecuteVideoMotionCaptureCommandResponse.js +0 -21
- package/v1/model/ExecuteVideoMotionCaptureCommandResponse.js.map +0 -1
- package/v1/model/InputInfo.d.ts +0 -9
- package/v1/model/InputInfo.d.ts.map +0 -1
- package/v1/model/InputInfo.js +0 -19
- package/v1/model/InputInfo.js.map +0 -1
- package/v1/model/ListVideoMotionCaptureJobsRequest.d.ts +0 -24
- package/v1/model/ListVideoMotionCaptureJobsRequest.d.ts.map +0 -1
- package/v1/model/ListVideoMotionCaptureJobsRequest.js +0 -57
- package/v1/model/ListVideoMotionCaptureJobsRequest.js.map +0 -1
- package/v1/model/ListVideoMotionCaptureJobsResponse.d.ts +0 -16
- package/v1/model/ListVideoMotionCaptureJobsResponse.d.ts.map +0 -1
- package/v1/model/ListVideoMotionCaptureJobsResponse.js +0 -35
- package/v1/model/ListVideoMotionCaptureJobsResponse.js.map +0 -1
- package/v1/model/OutputInfo.d.ts +0 -24
- package/v1/model/OutputInfo.d.ts.map +0 -1
- package/v1/model/OutputInfo.js +0 -59
- package/v1/model/OutputInfo.js.map +0 -1
- package/v1/model/ShowVideoMotionCaptureJobRequest.d.ts +0 -24
- package/v1/model/ShowVideoMotionCaptureJobRequest.d.ts.map +0 -1
- package/v1/model/ShowVideoMotionCaptureJobRequest.js +0 -60
- package/v1/model/ShowVideoMotionCaptureJobRequest.js.map +0 -1
- package/v1/model/ShowVideoMotionCaptureJobResponse.d.ts +0 -57
- package/v1/model/ShowVideoMotionCaptureJobResponse.d.ts.map +0 -1
- package/v1/model/ShowVideoMotionCaptureJobResponse.js +0 -107
- package/v1/model/ShowVideoMotionCaptureJobResponse.js.map +0 -1
- package/v1/model/StopVideoMotionCaptureJobRequest.d.ts +0 -24
- package/v1/model/StopVideoMotionCaptureJobRequest.d.ts.map +0 -1
- package/v1/model/StopVideoMotionCaptureJobRequest.js +0 -60
- package/v1/model/StopVideoMotionCaptureJobRequest.js.map +0 -1
- package/v1/model/StopVideoMotionCaptureJobResponse.d.ts +0 -9
- package/v1/model/StopVideoMotionCaptureJobResponse.d.ts.map +0 -1
- package/v1/model/StopVideoMotionCaptureJobResponse.js +0 -21
- package/v1/model/StopVideoMotionCaptureJobResponse.js.map +0 -1
- package/v1/model/VideoMotionCaptureInfo.d.ts +0 -52
- package/v1/model/VideoMotionCaptureInfo.d.ts.map +0 -1
- package/v1/model/VideoMotionCaptureInfo.js +0 -95
- package/v1/model/VideoMotionCaptureInfo.js.map +0 -1
- package/v1/model/VideoMotionCaptureJobReq.d.ts +0 -28
- package/v1/model/VideoMotionCaptureJobReq.d.ts.map +0 -1
- package/v1/model/VideoMotionCaptureJobReq.js +0 -50
- package/v1/model/VideoMotionCaptureJobReq.js.map +0 -1
package/v1/MetaStudioClient.js
CHANGED
|
@@ -76,7 +76,6 @@ const CreateTtsOnceCodeRequest_1 = require("./model/CreateTtsOnceCodeRequest");
|
|
|
76
76
|
const CreateTtscVocabularyConfigsRequest_1 = require("./model/CreateTtscVocabularyConfigsRequest");
|
|
77
77
|
const CreateTtscVocabularyGroupsRequest_1 = require("./model/CreateTtscVocabularyGroupsRequest");
|
|
78
78
|
const CreateUserQuotasRequest_1 = require("./model/CreateUserQuotasRequest");
|
|
79
|
-
const CreateVideoMotionCaptureJobRequest_1 = require("./model/CreateVideoMotionCaptureJobRequest");
|
|
80
79
|
const CreateVideoScriptsRequest_1 = require("./model/CreateVideoScriptsRequest");
|
|
81
80
|
const CreateWelcomeSpeechRequest_1 = require("./model/CreateWelcomeSpeechRequest");
|
|
82
81
|
const Delete2dModelTrainingJobRequest_1 = require("./model/Delete2dModelTrainingJobRequest");
|
|
@@ -124,7 +123,6 @@ const DownloadTemplateRequest_1 = require("./model/DownloadTemplateRequest");
|
|
|
124
123
|
const Execute2dModelTrainingCommandByUserRequest_1 = require("./model/Execute2dModelTrainingCommandByUserRequest");
|
|
125
124
|
const ExecuteSmartLiveCommandRequest_1 = require("./model/ExecuteSmartLiveCommandRequest");
|
|
126
125
|
const ExecuteTransferAssetActionRequest_1 = require("./model/ExecuteTransferAssetActionRequest");
|
|
127
|
-
const ExecuteVideoMotionCaptureCommandRequest_1 = require("./model/ExecuteVideoMotionCaptureCommandRequest");
|
|
128
126
|
const ExportKnowledgeSkillRequest_1 = require("./model/ExportKnowledgeSkillRequest");
|
|
129
127
|
const ExportResourceRequest_1 = require("./model/ExportResourceRequest");
|
|
130
128
|
const ImportResourceRequest_1 = require("./model/ImportResourceRequest");
|
|
@@ -172,7 +170,6 @@ const ListTransferAssetJobsRequest_1 = require("./model/ListTransferAssetJobsReq
|
|
|
172
170
|
const ListTtscVocabularyConfigsRequest_1 = require("./model/ListTtscVocabularyConfigsRequest");
|
|
173
171
|
const ListTtscVocabularyGroupsRequest_1 = require("./model/ListTtscVocabularyGroupsRequest");
|
|
174
172
|
const ListUserQuotasRequest_1 = require("./model/ListUserQuotasRequest");
|
|
175
|
-
const ListVideoMotionCaptureJobsRequest_1 = require("./model/ListVideoMotionCaptureJobsRequest");
|
|
176
173
|
const ListVideoScriptsRequest_1 = require("./model/ListVideoScriptsRequest");
|
|
177
174
|
const ListVoiceTrainingJobRequest_1 = require("./model/ListVoiceTrainingJobRequest");
|
|
178
175
|
const ListWelcomeSpeechRequest_1 = require("./model/ListWelcomeSpeechRequest");
|
|
@@ -251,7 +248,6 @@ const ShowTtsJobRequest_1 = require("./model/ShowTtsJobRequest");
|
|
|
251
248
|
const ShowTtsPhoneticSymbolRequest_1 = require("./model/ShowTtsPhoneticSymbolRequest");
|
|
252
249
|
const ShowUsageDataRequest_1 = require("./model/ShowUsageDataRequest");
|
|
253
250
|
const ShowUserReviewAttachmentUploadingAddressRequest_1 = require("./model/ShowUserReviewAttachmentUploadingAddressRequest");
|
|
254
|
-
const ShowVideoMotionCaptureJobRequest_1 = require("./model/ShowVideoMotionCaptureJobRequest");
|
|
255
251
|
const ShowVideoScriptRequest_1 = require("./model/ShowVideoScriptRequest");
|
|
256
252
|
const ShowVocabularySwitchConfigsRequest_1 = require("./model/ShowVocabularySwitchConfigsRequest");
|
|
257
253
|
const ShowVoiceTrainingJobRequest_1 = require("./model/ShowVoiceTrainingJobRequest");
|
|
@@ -265,7 +261,6 @@ const StartSmartChatJobRequest_1 = require("./model/StartSmartChatJobRequest");
|
|
|
265
261
|
const StartSmartLiveRequest_1 = require("./model/StartSmartLiveRequest");
|
|
266
262
|
const StopSmartChatJobRequest_1 = require("./model/StopSmartChatJobRequest");
|
|
267
263
|
const StopSmartLiveRequest_1 = require("./model/StopSmartLiveRequest");
|
|
268
|
-
const StopVideoMotionCaptureJobRequest_1 = require("./model/StopVideoMotionCaptureJobRequest");
|
|
269
264
|
const TransferAssetRequest_1 = require("./model/TransferAssetRequest");
|
|
270
265
|
const Update2dModelTrainingJobRequest_1 = require("./model/Update2dModelTrainingJobRequest");
|
|
271
266
|
const UpdateActiveCodeRequest_1 = require("./model/UpdateActiveCodeRequest");
|
|
@@ -6325,109 +6320,6 @@ class MetaStudioClient {
|
|
|
6325
6320
|
options['responseHeaders'] = [''];
|
|
6326
6321
|
return this.hcClient.sendRequest(options);
|
|
6327
6322
|
}
|
|
6328
|
-
/**
|
|
6329
|
-
* 该接口用于创建视频驱动任务。
|
|
6330
|
-
*
|
|
6331
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6332
|
-
*
|
|
6333
|
-
* @summary 创建视频驱动任务
|
|
6334
|
-
* @param {VideoMotionCaptureJobReq} createVideoMotionCaptureJobRequestBody 视频驱动任务创建请求。
|
|
6335
|
-
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
6336
|
-
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
6337
|
-
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
6338
|
-
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
6339
|
-
* @param {string} [xUserPrivilege] 测试用户判断。
|
|
6340
|
-
* @param {*} [options] Override http request option.
|
|
6341
|
-
* @throws {RequiredError}
|
|
6342
|
-
*/
|
|
6343
|
-
createVideoMotionCaptureJob(createVideoMotionCaptureJobRequest) {
|
|
6344
|
-
const options = (0, exports.ParamCreater)().createVideoMotionCaptureJob(createVideoMotionCaptureJobRequest);
|
|
6345
|
-
// @ts-ignore
|
|
6346
|
-
options['responseHeaders'] = ['X-Request-Id'];
|
|
6347
|
-
return this.hcClient.sendRequest(options);
|
|
6348
|
-
}
|
|
6349
|
-
/**
|
|
6350
|
-
* 该接口用于控制数字人驱动。
|
|
6351
|
-
*
|
|
6352
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6353
|
-
*
|
|
6354
|
-
* @summary 控制数字人驱动
|
|
6355
|
-
* @param {string} jobId 任务ID。
|
|
6356
|
-
* @param {ControlDigitalHumanLiveReq} executeVideoMotionCaptureCommandRequestBody 控制数字人驱动。
|
|
6357
|
-
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
6358
|
-
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
6359
|
-
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
6360
|
-
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
6361
|
-
* @param {*} [options] Override http request option.
|
|
6362
|
-
* @throws {RequiredError}
|
|
6363
|
-
*/
|
|
6364
|
-
executeVideoMotionCaptureCommand(executeVideoMotionCaptureCommandRequest) {
|
|
6365
|
-
const options = (0, exports.ParamCreater)().executeVideoMotionCaptureCommand(executeVideoMotionCaptureCommandRequest);
|
|
6366
|
-
// @ts-ignore
|
|
6367
|
-
options['responseHeaders'] = ['X-Request-Id'];
|
|
6368
|
-
return this.hcClient.sendRequest(options);
|
|
6369
|
-
}
|
|
6370
|
-
/**
|
|
6371
|
-
* 该接口用于查询视频驱动任务列表。
|
|
6372
|
-
*
|
|
6373
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6374
|
-
*
|
|
6375
|
-
* @summary 查询视频驱动任务列表
|
|
6376
|
-
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
6377
|
-
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
6378
|
-
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
6379
|
-
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
6380
|
-
* @param {number} [offset] 偏移量,表示从此偏移量开始查询。
|
|
6381
|
-
* @param {number} [limit] 每页显示的条目数量。
|
|
6382
|
-
* @param {*} [options] Override http request option.
|
|
6383
|
-
* @throws {RequiredError}
|
|
6384
|
-
*/
|
|
6385
|
-
listVideoMotionCaptureJobs(listVideoMotionCaptureJobsRequest) {
|
|
6386
|
-
const options = (0, exports.ParamCreater)().listVideoMotionCaptureJobs(listVideoMotionCaptureJobsRequest);
|
|
6387
|
-
// @ts-ignore
|
|
6388
|
-
options['responseHeaders'] = ['X-Request-Id'];
|
|
6389
|
-
return this.hcClient.sendRequest(options);
|
|
6390
|
-
}
|
|
6391
|
-
/**
|
|
6392
|
-
* 该接口用于查询视频驱动任务详情。
|
|
6393
|
-
*
|
|
6394
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6395
|
-
*
|
|
6396
|
-
* @summary 查询视频驱动任务详情
|
|
6397
|
-
* @param {string} jobId 任务ID。
|
|
6398
|
-
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
6399
|
-
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
6400
|
-
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
6401
|
-
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
6402
|
-
* @param {*} [options] Override http request option.
|
|
6403
|
-
* @throws {RequiredError}
|
|
6404
|
-
*/
|
|
6405
|
-
showVideoMotionCaptureJob(showVideoMotionCaptureJobRequest) {
|
|
6406
|
-
const options = (0, exports.ParamCreater)().showVideoMotionCaptureJob(showVideoMotionCaptureJobRequest);
|
|
6407
|
-
// @ts-ignore
|
|
6408
|
-
options['responseHeaders'] = ['X-Request-Id'];
|
|
6409
|
-
return this.hcClient.sendRequest(options);
|
|
6410
|
-
}
|
|
6411
|
-
/**
|
|
6412
|
-
* 该接口用于停止视频驱动任务。
|
|
6413
|
-
*
|
|
6414
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
6415
|
-
*
|
|
6416
|
-
* @summary 停止视频驱动任务
|
|
6417
|
-
* @param {string} jobId 任务ID。
|
|
6418
|
-
* @param {string} [authorization] 使用AK/SK方式认证时必选,携带的鉴权信息。
|
|
6419
|
-
* @param {string} [xSdkDate] 使用AK/SK方式认证时必选,请求的发生时间。 格式为(YYYYMMDD\'T\'HHMMSS\'Z\')。
|
|
6420
|
-
* @param {string} [xProjectId] 使用AK/SK方式认证时必选,携带项目ID信息。
|
|
6421
|
-
* @param {string} [xAppUserId] 第三方用户ID。不允许输入中文。
|
|
6422
|
-
* @param {*} [options] Override http request option.
|
|
6423
|
-
* @throws {RequiredError}
|
|
6424
|
-
*/
|
|
6425
|
-
stopVideoMotionCaptureJob(stopVideoMotionCaptureJobRequest) {
|
|
6426
|
-
const options = (0, exports.ParamCreater)().stopVideoMotionCaptureJob(stopVideoMotionCaptureJobRequest);
|
|
6427
|
-
// @ts-ignore
|
|
6428
|
-
options['responseHeaders'] = ['X-Request-Id'];
|
|
6429
|
-
return this.hcClient.sendRequest(options);
|
|
6430
|
-
}
|
|
6431
6323
|
/**
|
|
6432
6324
|
* 该接口用于复制视频制作剧本。
|
|
6433
6325
|
* > - 复制的剧本不包含预览字幕信息。
|
|
@@ -24443,305 +24335,6 @@ const ParamCreater = function () {
|
|
|
24443
24335
|
options.headers = localVarHeaderParameter;
|
|
24444
24336
|
return options;
|
|
24445
24337
|
},
|
|
24446
|
-
/**
|
|
24447
|
-
* 该接口用于创建视频驱动任务。
|
|
24448
|
-
*
|
|
24449
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
24450
|
-
*/
|
|
24451
|
-
createVideoMotionCaptureJob(createVideoMotionCaptureJobRequest) {
|
|
24452
|
-
const options = {
|
|
24453
|
-
method: "POST",
|
|
24454
|
-
url: "/v1/{project_id}/video-motion-capture-jobs",
|
|
24455
|
-
contentType: "application/json",
|
|
24456
|
-
queryParams: {},
|
|
24457
|
-
pathParams: {},
|
|
24458
|
-
headers: {},
|
|
24459
|
-
data: {}
|
|
24460
|
-
};
|
|
24461
|
-
const localVarHeaderParameter = {};
|
|
24462
|
-
let body;
|
|
24463
|
-
let authorization;
|
|
24464
|
-
let xSdkDate;
|
|
24465
|
-
let xProjectId;
|
|
24466
|
-
let xAppUserId;
|
|
24467
|
-
let xUserPrivilege;
|
|
24468
|
-
if (createVideoMotionCaptureJobRequest !== null && createVideoMotionCaptureJobRequest !== undefined) {
|
|
24469
|
-
if (createVideoMotionCaptureJobRequest instanceof CreateVideoMotionCaptureJobRequest_1.CreateVideoMotionCaptureJobRequest) {
|
|
24470
|
-
body = createVideoMotionCaptureJobRequest.body;
|
|
24471
|
-
authorization = createVideoMotionCaptureJobRequest.authorization;
|
|
24472
|
-
xSdkDate = createVideoMotionCaptureJobRequest.xSdkDate;
|
|
24473
|
-
xProjectId = createVideoMotionCaptureJobRequest.xProjectId;
|
|
24474
|
-
xAppUserId = createVideoMotionCaptureJobRequest.xAppUserId;
|
|
24475
|
-
xUserPrivilege = createVideoMotionCaptureJobRequest.xUserPrivilege;
|
|
24476
|
-
}
|
|
24477
|
-
else {
|
|
24478
|
-
body = createVideoMotionCaptureJobRequest['body'];
|
|
24479
|
-
authorization = createVideoMotionCaptureJobRequest['Authorization'];
|
|
24480
|
-
xSdkDate = createVideoMotionCaptureJobRequest['X-Sdk-Date'];
|
|
24481
|
-
xProjectId = createVideoMotionCaptureJobRequest['X-Project-Id'];
|
|
24482
|
-
xAppUserId = createVideoMotionCaptureJobRequest['X-App-UserId'];
|
|
24483
|
-
xUserPrivilege = createVideoMotionCaptureJobRequest['X-User-Privilege'];
|
|
24484
|
-
}
|
|
24485
|
-
}
|
|
24486
|
-
if (body === null || body === undefined) {
|
|
24487
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
24488
|
-
}
|
|
24489
|
-
if (authorization !== undefined && authorization !== null) {
|
|
24490
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
24491
|
-
}
|
|
24492
|
-
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
24493
|
-
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
24494
|
-
}
|
|
24495
|
-
if (xProjectId !== undefined && xProjectId !== null) {
|
|
24496
|
-
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
24497
|
-
}
|
|
24498
|
-
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
24499
|
-
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
24500
|
-
}
|
|
24501
|
-
if (xUserPrivilege !== undefined && xUserPrivilege !== null) {
|
|
24502
|
-
localVarHeaderParameter['X-User-Privilege'] = String(xUserPrivilege);
|
|
24503
|
-
}
|
|
24504
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24505
|
-
options.data = body !== undefined ? body : {};
|
|
24506
|
-
options.headers = localVarHeaderParameter;
|
|
24507
|
-
return options;
|
|
24508
|
-
},
|
|
24509
|
-
/**
|
|
24510
|
-
* 该接口用于控制数字人驱动。
|
|
24511
|
-
*
|
|
24512
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
24513
|
-
*/
|
|
24514
|
-
executeVideoMotionCaptureCommand(executeVideoMotionCaptureCommandRequest) {
|
|
24515
|
-
const options = {
|
|
24516
|
-
method: "POST",
|
|
24517
|
-
url: "/v1/{project_id}/video-motion-capture-jobs/{job_id}/command",
|
|
24518
|
-
contentType: "application/json",
|
|
24519
|
-
queryParams: {},
|
|
24520
|
-
pathParams: {},
|
|
24521
|
-
headers: {},
|
|
24522
|
-
data: {}
|
|
24523
|
-
};
|
|
24524
|
-
const localVarHeaderParameter = {};
|
|
24525
|
-
let body;
|
|
24526
|
-
let jobId;
|
|
24527
|
-
let authorization;
|
|
24528
|
-
let xSdkDate;
|
|
24529
|
-
let xProjectId;
|
|
24530
|
-
let xAppUserId;
|
|
24531
|
-
if (executeVideoMotionCaptureCommandRequest !== null && executeVideoMotionCaptureCommandRequest !== undefined) {
|
|
24532
|
-
if (executeVideoMotionCaptureCommandRequest instanceof ExecuteVideoMotionCaptureCommandRequest_1.ExecuteVideoMotionCaptureCommandRequest) {
|
|
24533
|
-
jobId = executeVideoMotionCaptureCommandRequest.jobId;
|
|
24534
|
-
body = executeVideoMotionCaptureCommandRequest.body;
|
|
24535
|
-
authorization = executeVideoMotionCaptureCommandRequest.authorization;
|
|
24536
|
-
xSdkDate = executeVideoMotionCaptureCommandRequest.xSdkDate;
|
|
24537
|
-
xProjectId = executeVideoMotionCaptureCommandRequest.xProjectId;
|
|
24538
|
-
xAppUserId = executeVideoMotionCaptureCommandRequest.xAppUserId;
|
|
24539
|
-
}
|
|
24540
|
-
else {
|
|
24541
|
-
jobId = executeVideoMotionCaptureCommandRequest['job_id'];
|
|
24542
|
-
body = executeVideoMotionCaptureCommandRequest['body'];
|
|
24543
|
-
authorization = executeVideoMotionCaptureCommandRequest['Authorization'];
|
|
24544
|
-
xSdkDate = executeVideoMotionCaptureCommandRequest['X-Sdk-Date'];
|
|
24545
|
-
xProjectId = executeVideoMotionCaptureCommandRequest['X-Project-Id'];
|
|
24546
|
-
xAppUserId = executeVideoMotionCaptureCommandRequest['X-App-UserId'];
|
|
24547
|
-
}
|
|
24548
|
-
}
|
|
24549
|
-
if (jobId === null || jobId === undefined) {
|
|
24550
|
-
throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling executeVideoMotionCaptureCommand.');
|
|
24551
|
-
}
|
|
24552
|
-
if (body === null || body === undefined) {
|
|
24553
|
-
throw new RequiredError('body', 'Required parameter body was null or undefined when calling body.');
|
|
24554
|
-
}
|
|
24555
|
-
if (authorization !== undefined && authorization !== null) {
|
|
24556
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
24557
|
-
}
|
|
24558
|
-
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
24559
|
-
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
24560
|
-
}
|
|
24561
|
-
if (xProjectId !== undefined && xProjectId !== null) {
|
|
24562
|
-
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
24563
|
-
}
|
|
24564
|
-
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
24565
|
-
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
24566
|
-
}
|
|
24567
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24568
|
-
options.data = body !== undefined ? body : {};
|
|
24569
|
-
options.pathParams = { 'job_id': jobId, };
|
|
24570
|
-
options.headers = localVarHeaderParameter;
|
|
24571
|
-
return options;
|
|
24572
|
-
},
|
|
24573
|
-
/**
|
|
24574
|
-
* 该接口用于查询视频驱动任务列表。
|
|
24575
|
-
*
|
|
24576
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
24577
|
-
*/
|
|
24578
|
-
listVideoMotionCaptureJobs(listVideoMotionCaptureJobsRequest) {
|
|
24579
|
-
const options = {
|
|
24580
|
-
method: "GET",
|
|
24581
|
-
url: "/v1/{project_id}/video-motion-capture-jobs",
|
|
24582
|
-
contentType: "application/json",
|
|
24583
|
-
queryParams: {},
|
|
24584
|
-
pathParams: {},
|
|
24585
|
-
headers: {}
|
|
24586
|
-
};
|
|
24587
|
-
const localVarHeaderParameter = {};
|
|
24588
|
-
const localVarQueryParameter = {};
|
|
24589
|
-
let authorization;
|
|
24590
|
-
let xSdkDate;
|
|
24591
|
-
let xProjectId;
|
|
24592
|
-
let xAppUserId;
|
|
24593
|
-
let offset;
|
|
24594
|
-
let limit;
|
|
24595
|
-
if (listVideoMotionCaptureJobsRequest !== null && listVideoMotionCaptureJobsRequest !== undefined) {
|
|
24596
|
-
if (listVideoMotionCaptureJobsRequest instanceof ListVideoMotionCaptureJobsRequest_1.ListVideoMotionCaptureJobsRequest) {
|
|
24597
|
-
authorization = listVideoMotionCaptureJobsRequest.authorization;
|
|
24598
|
-
xSdkDate = listVideoMotionCaptureJobsRequest.xSdkDate;
|
|
24599
|
-
xProjectId = listVideoMotionCaptureJobsRequest.xProjectId;
|
|
24600
|
-
xAppUserId = listVideoMotionCaptureJobsRequest.xAppUserId;
|
|
24601
|
-
offset = listVideoMotionCaptureJobsRequest.offset;
|
|
24602
|
-
limit = listVideoMotionCaptureJobsRequest.limit;
|
|
24603
|
-
}
|
|
24604
|
-
else {
|
|
24605
|
-
authorization = listVideoMotionCaptureJobsRequest['Authorization'];
|
|
24606
|
-
xSdkDate = listVideoMotionCaptureJobsRequest['X-Sdk-Date'];
|
|
24607
|
-
xProjectId = listVideoMotionCaptureJobsRequest['X-Project-Id'];
|
|
24608
|
-
xAppUserId = listVideoMotionCaptureJobsRequest['X-App-UserId'];
|
|
24609
|
-
offset = listVideoMotionCaptureJobsRequest['offset'];
|
|
24610
|
-
limit = listVideoMotionCaptureJobsRequest['limit'];
|
|
24611
|
-
}
|
|
24612
|
-
}
|
|
24613
|
-
if (offset !== null && offset !== undefined) {
|
|
24614
|
-
localVarQueryParameter['offset'] = offset;
|
|
24615
|
-
}
|
|
24616
|
-
if (limit !== null && limit !== undefined) {
|
|
24617
|
-
localVarQueryParameter['limit'] = limit;
|
|
24618
|
-
}
|
|
24619
|
-
if (authorization !== undefined && authorization !== null) {
|
|
24620
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
24621
|
-
}
|
|
24622
|
-
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
24623
|
-
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
24624
|
-
}
|
|
24625
|
-
if (xProjectId !== undefined && xProjectId !== null) {
|
|
24626
|
-
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
24627
|
-
}
|
|
24628
|
-
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
24629
|
-
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
24630
|
-
}
|
|
24631
|
-
options.queryParams = localVarQueryParameter;
|
|
24632
|
-
options.headers = localVarHeaderParameter;
|
|
24633
|
-
return options;
|
|
24634
|
-
},
|
|
24635
|
-
/**
|
|
24636
|
-
* 该接口用于查询视频驱动任务详情。
|
|
24637
|
-
*
|
|
24638
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
24639
|
-
*/
|
|
24640
|
-
showVideoMotionCaptureJob(showVideoMotionCaptureJobRequest) {
|
|
24641
|
-
const options = {
|
|
24642
|
-
method: "GET",
|
|
24643
|
-
url: "/v1/{project_id}/video-motion-capture-jobs/{job_id}",
|
|
24644
|
-
contentType: "application/json",
|
|
24645
|
-
queryParams: {},
|
|
24646
|
-
pathParams: {},
|
|
24647
|
-
headers: {}
|
|
24648
|
-
};
|
|
24649
|
-
const localVarHeaderParameter = {};
|
|
24650
|
-
let jobId;
|
|
24651
|
-
let authorization;
|
|
24652
|
-
let xSdkDate;
|
|
24653
|
-
let xProjectId;
|
|
24654
|
-
let xAppUserId;
|
|
24655
|
-
if (showVideoMotionCaptureJobRequest !== null && showVideoMotionCaptureJobRequest !== undefined) {
|
|
24656
|
-
if (showVideoMotionCaptureJobRequest instanceof ShowVideoMotionCaptureJobRequest_1.ShowVideoMotionCaptureJobRequest) {
|
|
24657
|
-
jobId = showVideoMotionCaptureJobRequest.jobId;
|
|
24658
|
-
authorization = showVideoMotionCaptureJobRequest.authorization;
|
|
24659
|
-
xSdkDate = showVideoMotionCaptureJobRequest.xSdkDate;
|
|
24660
|
-
xProjectId = showVideoMotionCaptureJobRequest.xProjectId;
|
|
24661
|
-
xAppUserId = showVideoMotionCaptureJobRequest.xAppUserId;
|
|
24662
|
-
}
|
|
24663
|
-
else {
|
|
24664
|
-
jobId = showVideoMotionCaptureJobRequest['job_id'];
|
|
24665
|
-
authorization = showVideoMotionCaptureJobRequest['Authorization'];
|
|
24666
|
-
xSdkDate = showVideoMotionCaptureJobRequest['X-Sdk-Date'];
|
|
24667
|
-
xProjectId = showVideoMotionCaptureJobRequest['X-Project-Id'];
|
|
24668
|
-
xAppUserId = showVideoMotionCaptureJobRequest['X-App-UserId'];
|
|
24669
|
-
}
|
|
24670
|
-
}
|
|
24671
|
-
if (jobId === null || jobId === undefined) {
|
|
24672
|
-
throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling showVideoMotionCaptureJob.');
|
|
24673
|
-
}
|
|
24674
|
-
if (authorization !== undefined && authorization !== null) {
|
|
24675
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
24676
|
-
}
|
|
24677
|
-
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
24678
|
-
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
24679
|
-
}
|
|
24680
|
-
if (xProjectId !== undefined && xProjectId !== null) {
|
|
24681
|
-
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
24682
|
-
}
|
|
24683
|
-
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
24684
|
-
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
24685
|
-
}
|
|
24686
|
-
options.pathParams = { 'job_id': jobId, };
|
|
24687
|
-
options.headers = localVarHeaderParameter;
|
|
24688
|
-
return options;
|
|
24689
|
-
},
|
|
24690
|
-
/**
|
|
24691
|
-
* 该接口用于停止视频驱动任务。
|
|
24692
|
-
*
|
|
24693
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
|
24694
|
-
*/
|
|
24695
|
-
stopVideoMotionCaptureJob(stopVideoMotionCaptureJobRequest) {
|
|
24696
|
-
const options = {
|
|
24697
|
-
method: "POST",
|
|
24698
|
-
url: "/v1/{project_id}/video-motion-capture-jobs/{job_id}/finish",
|
|
24699
|
-
contentType: "application/json",
|
|
24700
|
-
queryParams: {},
|
|
24701
|
-
pathParams: {},
|
|
24702
|
-
headers: {}
|
|
24703
|
-
};
|
|
24704
|
-
const localVarHeaderParameter = {};
|
|
24705
|
-
let jobId;
|
|
24706
|
-
let authorization;
|
|
24707
|
-
let xSdkDate;
|
|
24708
|
-
let xProjectId;
|
|
24709
|
-
let xAppUserId;
|
|
24710
|
-
if (stopVideoMotionCaptureJobRequest !== null && stopVideoMotionCaptureJobRequest !== undefined) {
|
|
24711
|
-
if (stopVideoMotionCaptureJobRequest instanceof StopVideoMotionCaptureJobRequest_1.StopVideoMotionCaptureJobRequest) {
|
|
24712
|
-
jobId = stopVideoMotionCaptureJobRequest.jobId;
|
|
24713
|
-
authorization = stopVideoMotionCaptureJobRequest.authorization;
|
|
24714
|
-
xSdkDate = stopVideoMotionCaptureJobRequest.xSdkDate;
|
|
24715
|
-
xProjectId = stopVideoMotionCaptureJobRequest.xProjectId;
|
|
24716
|
-
xAppUserId = stopVideoMotionCaptureJobRequest.xAppUserId;
|
|
24717
|
-
}
|
|
24718
|
-
else {
|
|
24719
|
-
jobId = stopVideoMotionCaptureJobRequest['job_id'];
|
|
24720
|
-
authorization = stopVideoMotionCaptureJobRequest['Authorization'];
|
|
24721
|
-
xSdkDate = stopVideoMotionCaptureJobRequest['X-Sdk-Date'];
|
|
24722
|
-
xProjectId = stopVideoMotionCaptureJobRequest['X-Project-Id'];
|
|
24723
|
-
xAppUserId = stopVideoMotionCaptureJobRequest['X-App-UserId'];
|
|
24724
|
-
}
|
|
24725
|
-
}
|
|
24726
|
-
if (jobId === null || jobId === undefined) {
|
|
24727
|
-
throw new RequiredError('jobId', 'Required parameter jobId was null or undefined when calling stopVideoMotionCaptureJob.');
|
|
24728
|
-
}
|
|
24729
|
-
if (authorization !== undefined && authorization !== null) {
|
|
24730
|
-
localVarHeaderParameter['Authorization'] = String(authorization);
|
|
24731
|
-
}
|
|
24732
|
-
if (xSdkDate !== undefined && xSdkDate !== null) {
|
|
24733
|
-
localVarHeaderParameter['X-Sdk-Date'] = String(xSdkDate);
|
|
24734
|
-
}
|
|
24735
|
-
if (xProjectId !== undefined && xProjectId !== null) {
|
|
24736
|
-
localVarHeaderParameter['X-Project-Id'] = String(xProjectId);
|
|
24737
|
-
}
|
|
24738
|
-
if (xAppUserId !== undefined && xAppUserId !== null) {
|
|
24739
|
-
localVarHeaderParameter['X-App-UserId'] = String(xAppUserId);
|
|
24740
|
-
}
|
|
24741
|
-
options.pathParams = { 'job_id': jobId, };
|
|
24742
|
-
options.headers = localVarHeaderParameter;
|
|
24743
|
-
return options;
|
|
24744
|
-
},
|
|
24745
24338
|
/**
|
|
24746
24339
|
* 该接口用于复制视频制作剧本。
|
|
24747
24340
|
* > - 复制的剧本不包含预览字幕信息。
|