@alicloud/quanmiaolightapp20240801 2.4.0 → 2.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -3934,21 +3934,11 @@ export declare class RunScriptRefineResponse extends $dara.Model {
3934
3934
  });
3935
3935
  }
3936
3936
  export declare class RunStyleWritingRequest extends $dara.Model {
3937
- /**
3938
- * @remarks
3939
- * This parameter is required.
3940
- */
3941
3937
  learningSamples?: string[];
3942
- /**
3943
- * @remarks
3944
- * This parameter is required.
3945
- */
3938
+ processStage?: string;
3946
3939
  referenceMaterials?: string[];
3947
3940
  styleFeature?: string;
3948
- /**
3949
- * @remarks
3950
- * This parameter is required.
3951
- */
3941
+ useSearch?: boolean;
3952
3942
  writingTheme?: string;
3953
3943
  static names(): {
3954
3944
  [key: string]: string;
@@ -3962,21 +3952,11 @@ export declare class RunStyleWritingRequest extends $dara.Model {
3962
3952
  });
3963
3953
  }
3964
3954
  export declare class RunStyleWritingShrinkRequest extends $dara.Model {
3965
- /**
3966
- * @remarks
3967
- * This parameter is required.
3968
- */
3969
3955
  learningSamplesShrink?: string;
3970
- /**
3971
- * @remarks
3972
- * This parameter is required.
3973
- */
3956
+ processStage?: string;
3974
3957
  referenceMaterialsShrink?: string;
3975
3958
  styleFeature?: string;
3976
- /**
3977
- * @remarks
3978
- * This parameter is required.
3979
- */
3959
+ useSearch?: boolean;
3980
3960
  writingTheme?: string;
3981
3961
  static names(): {
3982
3962
  [key: string]: string;
package/dist/client.js CHANGED
@@ -4313,16 +4313,20 @@ class RunStyleWritingRequest extends $dara.Model {
4313
4313
  static names() {
4314
4314
  return {
4315
4315
  learningSamples: 'learningSamples',
4316
+ processStage: 'processStage',
4316
4317
  referenceMaterials: 'referenceMaterials',
4317
4318
  styleFeature: 'styleFeature',
4319
+ useSearch: 'useSearch',
4318
4320
  writingTheme: 'writingTheme',
4319
4321
  };
4320
4322
  }
4321
4323
  static types() {
4322
4324
  return {
4323
4325
  learningSamples: { 'type': 'array', 'itemType': 'string' },
4326
+ processStage: 'string',
4324
4327
  referenceMaterials: { 'type': 'array', 'itemType': 'string' },
4325
4328
  styleFeature: 'string',
4329
+ useSearch: 'boolean',
4326
4330
  writingTheme: 'string',
4327
4331
  };
4328
4332
  }
@@ -4344,16 +4348,20 @@ class RunStyleWritingShrinkRequest extends $dara.Model {
4344
4348
  static names() {
4345
4349
  return {
4346
4350
  learningSamplesShrink: 'learningSamples',
4351
+ processStage: 'processStage',
4347
4352
  referenceMaterialsShrink: 'referenceMaterials',
4348
4353
  styleFeature: 'styleFeature',
4354
+ useSearch: 'useSearch',
4349
4355
  writingTheme: 'writingTheme',
4350
4356
  };
4351
4357
  }
4352
4358
  static types() {
4353
4359
  return {
4354
4360
  learningSamplesShrink: 'string',
4361
+ processStage: 'string',
4355
4362
  referenceMaterialsShrink: 'string',
4356
4363
  styleFeature: 'string',
4364
+ useSearch: 'boolean',
4357
4365
  writingTheme: 'string',
4358
4366
  };
4359
4367
  }
@@ -4975,7 +4983,12 @@ class Client extends openapi_core_1.default {
4975
4983
  reqBodyType: "formData",
4976
4984
  bodyType: "json",
4977
4985
  });
4978
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
4986
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
4987
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
4988
+ }
4989
+ else {
4990
+ return $dara.cast(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
4991
+ }
4979
4992
  }
4980
4993
  /**
4981
4994
  * 新闻播报-抽取分类获取播报热点
@@ -5034,7 +5047,12 @@ class Client extends openapi_core_1.default {
5034
5047
  reqBodyType: "formData",
5035
5048
  bodyType: "json",
5036
5049
  });
5037
- return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
5050
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5051
+ return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
5052
+ }
5053
+ else {
5054
+ return $dara.cast(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
5055
+ }
5038
5056
  }
5039
5057
  /**
5040
5058
  * 轻应用-标签挖掘-获取示例输出格式
@@ -5069,7 +5087,12 @@ class Client extends openapi_core_1.default {
5069
5087
  reqBodyType: "json",
5070
5088
  bodyType: "json",
5071
5089
  });
5072
- return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
5090
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5091
+ return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
5092
+ }
5093
+ else {
5094
+ return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
5095
+ }
5073
5096
  }
5074
5097
  /**
5075
5098
  * 视频理解-获取配置
@@ -5109,7 +5132,12 @@ class Client extends openapi_core_1.default {
5109
5132
  reqBodyType: "json",
5110
5133
  bodyType: "json",
5111
5134
  });
5112
- return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
5135
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5136
+ return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
5137
+ }
5138
+ else {
5139
+ return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
5140
+ }
5113
5141
  }
5114
5142
  /**
5115
5143
  * 轻应用-获取视频理解异步任务结果
@@ -5163,7 +5191,12 @@ class Client extends openapi_core_1.default {
5163
5191
  reqBodyType: "formData",
5164
5192
  bodyType: "json",
5165
5193
  });
5166
- return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
5194
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5195
+ return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
5196
+ }
5197
+ else {
5198
+ return $dara.cast(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
5199
+ }
5167
5200
  }
5168
5201
  /**
5169
5202
  * 轻应用-新闻播报-获取热点话题摘要列表
@@ -5252,7 +5285,12 @@ class Client extends openapi_core_1.default {
5252
5285
  reqBodyType: "formData",
5253
5286
  bodyType: "json",
5254
5287
  });
5255
- return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
5288
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5289
+ return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
5290
+ }
5291
+ else {
5292
+ return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
5293
+ }
5256
5294
  }
5257
5295
  /**
5258
5296
  * 轻应用-热点播报-问答
@@ -5308,7 +5346,12 @@ class Client extends openapi_core_1.default {
5308
5346
  reqBodyType: "formData",
5309
5347
  bodyType: "json",
5310
5348
  });
5311
- return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
5349
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5350
+ return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
5351
+ }
5352
+ else {
5353
+ return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
5354
+ }
5312
5355
  }
5313
5356
  /**
5314
5357
  * 轻应用-热点播报-热点摘要生成
@@ -5364,7 +5407,12 @@ class Client extends openapi_core_1.default {
5364
5407
  reqBodyType: "formData",
5365
5408
  bodyType: "json",
5366
5409
  });
5367
- return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
5410
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5411
+ return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
5412
+ }
5413
+ else {
5414
+ return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
5415
+ }
5368
5416
  }
5369
5417
  /**
5370
5418
  * 营销信息抽取服务
@@ -5424,7 +5472,12 @@ class Client extends openapi_core_1.default {
5424
5472
  reqBodyType: "formData",
5425
5473
  bodyType: "json",
5426
5474
  });
5427
- return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
5475
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5476
+ return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
5477
+ }
5478
+ else {
5479
+ return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
5480
+ }
5428
5481
  }
5429
5482
  /**
5430
5483
  * 营销文案写作服务
@@ -5489,7 +5542,12 @@ class Client extends openapi_core_1.default {
5489
5542
  reqBodyType: "formData",
5490
5543
  bodyType: "json",
5491
5544
  });
5492
- return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
5545
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5546
+ return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
5547
+ }
5548
+ else {
5549
+ return $dara.cast(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
5550
+ }
5493
5551
  }
5494
5552
  /**
5495
5553
  * 轻应用-网络内容审核
@@ -5534,7 +5592,12 @@ class Client extends openapi_core_1.default {
5534
5592
  reqBodyType: "formData",
5535
5593
  bodyType: "json",
5536
5594
  });
5537
- return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
5595
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5596
+ return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
5597
+ }
5598
+ else {
5599
+ return $dara.cast(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
5600
+ }
5538
5601
  }
5539
5602
  /**
5540
5603
  * 长剧本创作
@@ -5582,7 +5645,12 @@ class Client extends openapi_core_1.default {
5582
5645
  reqBodyType: "formData",
5583
5646
  bodyType: "json",
5584
5647
  });
5585
- return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
5648
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5649
+ return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
5650
+ }
5651
+ else {
5652
+ return $dara.cast(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
5653
+ }
5586
5654
  }
5587
5655
  /**
5588
5656
  * 剧本续写
@@ -5642,7 +5710,12 @@ class Client extends openapi_core_1.default {
5642
5710
  reqBodyType: "formData",
5643
5711
  bodyType: "json",
5644
5712
  });
5645
- return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
5713
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5714
+ return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
5715
+ }
5716
+ else {
5717
+ return $dara.cast(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
5718
+ }
5646
5719
  }
5647
5720
  /**
5648
5721
  * 剧本策划
@@ -5684,7 +5757,12 @@ class Client extends openapi_core_1.default {
5684
5757
  reqBodyType: "formData",
5685
5758
  bodyType: "json",
5686
5759
  });
5687
- return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
5760
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5761
+ return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
5762
+ }
5763
+ else {
5764
+ return $dara.cast(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
5765
+ }
5688
5766
  }
5689
5767
  /**
5690
5768
  * 剧本对话内容的整理
@@ -5719,12 +5797,18 @@ class Client extends openapi_core_1.default {
5719
5797
  if (!$dara.isNull(request.learningSamplesShrink)) {
5720
5798
  body["learningSamples"] = request.learningSamplesShrink;
5721
5799
  }
5800
+ if (!$dara.isNull(request.processStage)) {
5801
+ body["processStage"] = request.processStage;
5802
+ }
5722
5803
  if (!$dara.isNull(request.referenceMaterialsShrink)) {
5723
5804
  body["referenceMaterials"] = request.referenceMaterialsShrink;
5724
5805
  }
5725
5806
  if (!$dara.isNull(request.styleFeature)) {
5726
5807
  body["styleFeature"] = request.styleFeature;
5727
5808
  }
5809
+ if (!$dara.isNull(request.useSearch)) {
5810
+ body["useSearch"] = request.useSearch;
5811
+ }
5728
5812
  if (!$dara.isNull(request.writingTheme)) {
5729
5813
  body["writingTheme"] = request.writingTheme;
5730
5814
  }
@@ -5743,7 +5827,12 @@ class Client extends openapi_core_1.default {
5743
5827
  reqBodyType: "formData",
5744
5828
  bodyType: "json",
5745
5829
  });
5746
- return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
5830
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5831
+ return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
5832
+ }
5833
+ else {
5834
+ return $dara.cast(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
5835
+ }
5747
5836
  }
5748
5837
  /**
5749
5838
  * 文体学习和写作推理服务
@@ -5808,7 +5897,12 @@ class Client extends openapi_core_1.default {
5808
5897
  reqBodyType: "formData",
5809
5898
  bodyType: "json",
5810
5899
  });
5811
- return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
5900
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5901
+ return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
5902
+ }
5903
+ else {
5904
+ return $dara.cast(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
5905
+ }
5812
5906
  }
5813
5907
  /**
5814
5908
  * 轻应用-标签挖掘
@@ -5900,7 +5994,12 @@ class Client extends openapi_core_1.default {
5900
5994
  reqBodyType: "formData",
5901
5995
  bodyType: "json",
5902
5996
  });
5903
- return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
5997
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
5998
+ return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
5999
+ }
6000
+ else {
6001
+ return $dara.cast(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
6002
+ }
5904
6003
  }
5905
6004
  /**
5906
6005
  * 轻应用-视频理解
@@ -5986,7 +6085,12 @@ class Client extends openapi_core_1.default {
5986
6085
  reqBodyType: "formData",
5987
6086
  bodyType: "json",
5988
6087
  });
5989
- return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
6088
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
6089
+ return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
6090
+ }
6091
+ else {
6092
+ return $dara.cast(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
6093
+ }
5990
6094
  }
5991
6095
  /**
5992
6096
  * 轻应用-提交视频理解任务
@@ -6028,7 +6132,12 @@ class Client extends openapi_core_1.default {
6028
6132
  reqBodyType: "formData",
6029
6133
  bodyType: "json",
6030
6134
  });
6031
- return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
6135
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
6136
+ return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
6137
+ }
6138
+ else {
6139
+ return $dara.cast(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
6140
+ }
6032
6141
  }
6033
6142
  /**
6034
6143
  * 视频理解-更新配置