@alicloud/aimiaobi20230801 1.31.1 → 1.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.js CHANGED
@@ -243,6 +243,15 @@ class Client extends openapi_core_1.default {
243
243
  async asyncCreateClipsTimeLineWithOptions(request, runtime) {
244
244
  request.validate();
245
245
  let body = {};
246
+ if (!$dara.isNull(request.additionalContent)) {
247
+ body["AdditionalContent"] = request.additionalContent;
248
+ }
249
+ if (!$dara.isNull(request.customContent)) {
250
+ body["CustomContent"] = request.customContent;
251
+ }
252
+ if (!$dara.isNull(request.noRefVideo)) {
253
+ body["NoRefVideo"] = request.noRefVideo;
254
+ }
246
255
  if (!$dara.isNull(request.processPrompt)) {
247
256
  body["ProcessPrompt"] = request.processPrompt;
248
257
  }
@@ -342,6 +351,9 @@ class Client extends openapi_core_1.default {
342
351
  tmpReq.validate();
343
352
  let request = new $_model.AsyncUploadVideoShrinkRequest({});
344
353
  openapi_core_2.OpenApiUtil.convert(tmpReq, request);
354
+ if (!$dara.isNull(tmpReq.referenceVideo)) {
355
+ request.referenceVideoShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.referenceVideo, "ReferenceVideo", "json");
356
+ }
345
357
  if (!$dara.isNull(tmpReq.sourceVideos)) {
346
358
  request.sourceVideosShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.sourceVideos, "SourceVideos", "json");
347
359
  }
@@ -349,9 +361,15 @@ class Client extends openapi_core_1.default {
349
361
  if (!$dara.isNull(request.anlysisPrompt)) {
350
362
  body["AnlysisPrompt"] = request.anlysisPrompt;
351
363
  }
364
+ if (!$dara.isNull(request.referenceVideoShrink)) {
365
+ body["ReferenceVideo"] = request.referenceVideoShrink;
366
+ }
352
367
  if (!$dara.isNull(request.sourceVideosShrink)) {
353
368
  body["SourceVideos"] = request.sourceVideosShrink;
354
369
  }
370
+ if (!$dara.isNull(request.splitInterval)) {
371
+ body["SplitInterval"] = request.splitInterval;
372
+ }
355
373
  if (!$dara.isNull(request.workspaceId)) {
356
374
  body["WorkspaceId"] = request.workspaceId;
357
375
  }