@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/quanmiaolightapp20240801",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -6738,27 +6738,19 @@ export class RunScriptRefineResponse extends $dara.Model {
6738
6738
  }
6739
6739
 
6740
6740
  export class RunStyleWritingRequest extends $dara.Model {
6741
- /**
6742
- * @remarks
6743
- * This parameter is required.
6744
- */
6745
6741
  learningSamples?: string[];
6746
- /**
6747
- * @remarks
6748
- * This parameter is required.
6749
- */
6742
+ processStage?: string;
6750
6743
  referenceMaterials?: string[];
6751
6744
  styleFeature?: string;
6752
- /**
6753
- * @remarks
6754
- * This parameter is required.
6755
- */
6745
+ useSearch?: boolean;
6756
6746
  writingTheme?: string;
6757
6747
  static names(): { [key: string]: string } {
6758
6748
  return {
6759
6749
  learningSamples: 'learningSamples',
6750
+ processStage: 'processStage',
6760
6751
  referenceMaterials: 'referenceMaterials',
6761
6752
  styleFeature: 'styleFeature',
6753
+ useSearch: 'useSearch',
6762
6754
  writingTheme: 'writingTheme',
6763
6755
  };
6764
6756
  }
@@ -6766,8 +6758,10 @@ export class RunStyleWritingRequest extends $dara.Model {
6766
6758
  static types(): { [key: string]: any } {
6767
6759
  return {
6768
6760
  learningSamples: { 'type': 'array', 'itemType': 'string' },
6761
+ processStage: 'string',
6769
6762
  referenceMaterials: { 'type': 'array', 'itemType': 'string' },
6770
6763
  styleFeature: 'string',
6764
+ useSearch: 'boolean',
6771
6765
  writingTheme: 'string',
6772
6766
  };
6773
6767
  }
@@ -6788,27 +6782,19 @@ export class RunStyleWritingRequest extends $dara.Model {
6788
6782
  }
6789
6783
 
6790
6784
  export class RunStyleWritingShrinkRequest extends $dara.Model {
6791
- /**
6792
- * @remarks
6793
- * This parameter is required.
6794
- */
6795
6785
  learningSamplesShrink?: string;
6796
- /**
6797
- * @remarks
6798
- * This parameter is required.
6799
- */
6786
+ processStage?: string;
6800
6787
  referenceMaterialsShrink?: string;
6801
6788
  styleFeature?: string;
6802
- /**
6803
- * @remarks
6804
- * This parameter is required.
6805
- */
6789
+ useSearch?: boolean;
6806
6790
  writingTheme?: string;
6807
6791
  static names(): { [key: string]: string } {
6808
6792
  return {
6809
6793
  learningSamplesShrink: 'learningSamples',
6794
+ processStage: 'processStage',
6810
6795
  referenceMaterialsShrink: 'referenceMaterials',
6811
6796
  styleFeature: 'styleFeature',
6797
+ useSearch: 'useSearch',
6812
6798
  writingTheme: 'writingTheme',
6813
6799
  };
6814
6800
  }
@@ -6816,8 +6802,10 @@ export class RunStyleWritingShrinkRequest extends $dara.Model {
6816
6802
  static types(): { [key: string]: any } {
6817
6803
  return {
6818
6804
  learningSamplesShrink: 'string',
6805
+ processStage: 'string',
6819
6806
  referenceMaterialsShrink: 'string',
6820
6807
  styleFeature: 'string',
6808
+ useSearch: 'boolean',
6821
6809
  writingTheme: 'string',
6822
6810
  };
6823
6811
  }
@@ -7835,7 +7823,12 @@ export default class Client extends OpenApi {
7835
7823
  reqBodyType: "formData",
7836
7824
  bodyType: "json",
7837
7825
  });
7838
- return $dara.cast<GenerateBroadcastNewsResponse>(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
7826
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7827
+ return $dara.cast<GenerateBroadcastNewsResponse>(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
7828
+ } else {
7829
+ return $dara.cast<GenerateBroadcastNewsResponse>(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
7830
+ }
7831
+
7839
7832
  }
7840
7833
 
7841
7834
  /**
@@ -7902,7 +7895,12 @@ export default class Client extends OpenApi {
7902
7895
  reqBodyType: "formData",
7903
7896
  bodyType: "json",
7904
7897
  });
7905
- return $dara.cast<GenerateOutputFormatResponse>(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
7898
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7899
+ return $dara.cast<GenerateOutputFormatResponse>(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
7900
+ } else {
7901
+ return $dara.cast<GenerateOutputFormatResponse>(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
7902
+ }
7903
+
7906
7904
  }
7907
7905
 
7908
7906
  /**
@@ -7939,7 +7937,12 @@ export default class Client extends OpenApi {
7939
7937
  reqBodyType: "json",
7940
7938
  bodyType: "json",
7941
7939
  });
7942
- return $dara.cast<GetVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
7940
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7941
+ return $dara.cast<GetVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
7942
+ } else {
7943
+ return $dara.cast<GetVideoAnalysisConfigResponse>(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
7944
+ }
7945
+
7943
7946
  }
7944
7947
 
7945
7948
  /**
@@ -7982,7 +7985,12 @@ export default class Client extends OpenApi {
7982
7985
  reqBodyType: "json",
7983
7986
  bodyType: "json",
7984
7987
  });
7985
- return $dara.cast<GetVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
7988
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
7989
+ return $dara.cast<GetVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
7990
+ } else {
7991
+ return $dara.cast<GetVideoAnalysisTaskResponse>(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
7992
+ }
7993
+
7986
7994
  }
7987
7995
 
7988
7996
  /**
@@ -8043,7 +8051,12 @@ export default class Client extends OpenApi {
8043
8051
  reqBodyType: "formData",
8044
8052
  bodyType: "json",
8045
8053
  });
8046
- return $dara.cast<ListHotTopicSummariesResponse>(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
8054
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8055
+ return $dara.cast<ListHotTopicSummariesResponse>(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
8056
+ } else {
8057
+ return $dara.cast<ListHotTopicSummariesResponse>(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
8058
+ }
8059
+
8047
8060
  }
8048
8061
 
8049
8062
  /**
@@ -8150,7 +8163,12 @@ export default class Client extends OpenApi {
8150
8163
  reqBodyType: "formData",
8151
8164
  bodyType: "json",
8152
8165
  });
8153
- return $dara.cast<RunHotTopicChatResponse>(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
8166
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8167
+ return $dara.cast<RunHotTopicChatResponse>(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
8168
+ } else {
8169
+ return $dara.cast<RunHotTopicChatResponse>(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
8170
+ }
8171
+
8154
8172
  }
8155
8173
 
8156
8174
  /**
@@ -8213,7 +8231,12 @@ export default class Client extends OpenApi {
8213
8231
  reqBodyType: "formData",
8214
8232
  bodyType: "json",
8215
8233
  });
8216
- return $dara.cast<RunHotTopicSummaryResponse>(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
8234
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8235
+ return $dara.cast<RunHotTopicSummaryResponse>(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
8236
+ } else {
8237
+ return $dara.cast<RunHotTopicSummaryResponse>(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
8238
+ }
8239
+
8217
8240
  }
8218
8241
 
8219
8242
  /**
@@ -8276,7 +8299,12 @@ export default class Client extends OpenApi {
8276
8299
  reqBodyType: "formData",
8277
8300
  bodyType: "json",
8278
8301
  });
8279
- return $dara.cast<RunMarketingInformationExtractResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
8302
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8303
+ return $dara.cast<RunMarketingInformationExtractResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
8304
+ } else {
8305
+ return $dara.cast<RunMarketingInformationExtractResponse>(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
8306
+ }
8307
+
8280
8308
  }
8281
8309
 
8282
8310
  /**
@@ -8345,7 +8373,12 @@ export default class Client extends OpenApi {
8345
8373
  reqBodyType: "formData",
8346
8374
  bodyType: "json",
8347
8375
  });
8348
- return $dara.cast<RunMarketingInformationWritingResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
8376
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8377
+ return $dara.cast<RunMarketingInformationWritingResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
8378
+ } else {
8379
+ return $dara.cast<RunMarketingInformationWritingResponse>(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
8380
+ }
8381
+
8349
8382
  }
8350
8383
 
8351
8384
  /**
@@ -8420,7 +8453,12 @@ export default class Client extends OpenApi {
8420
8453
  reqBodyType: "formData",
8421
8454
  bodyType: "json",
8422
8455
  });
8423
- return $dara.cast<RunNetworkContentAuditResponse>(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
8456
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8457
+ return $dara.cast<RunNetworkContentAuditResponse>(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
8458
+ } else {
8459
+ return $dara.cast<RunNetworkContentAuditResponse>(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
8460
+ }
8461
+
8424
8462
  }
8425
8463
 
8426
8464
  /**
@@ -8469,7 +8507,12 @@ export default class Client extends OpenApi {
8469
8507
  reqBodyType: "formData",
8470
8508
  bodyType: "json",
8471
8509
  });
8472
- return $dara.cast<RunScriptChatResponse>(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
8510
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8511
+ return $dara.cast<RunScriptChatResponse>(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
8512
+ } else {
8513
+ return $dara.cast<RunScriptChatResponse>(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
8514
+ }
8515
+
8473
8516
  }
8474
8517
 
8475
8518
  /**
@@ -8522,7 +8565,12 @@ export default class Client extends OpenApi {
8522
8565
  reqBodyType: "formData",
8523
8566
  bodyType: "json",
8524
8567
  });
8525
- return $dara.cast<RunScriptContinueResponse>(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
8568
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8569
+ return $dara.cast<RunScriptContinueResponse>(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
8570
+ } else {
8571
+ return $dara.cast<RunScriptContinueResponse>(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
8572
+ }
8573
+
8526
8574
  }
8527
8575
 
8528
8576
  /**
@@ -8591,7 +8639,12 @@ export default class Client extends OpenApi {
8591
8639
  reqBodyType: "formData",
8592
8640
  bodyType: "json",
8593
8641
  });
8594
- return $dara.cast<RunScriptPlanningResponse>(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
8642
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8643
+ return $dara.cast<RunScriptPlanningResponse>(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
8644
+ } else {
8645
+ return $dara.cast<RunScriptPlanningResponse>(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
8646
+ }
8647
+
8595
8648
  }
8596
8649
 
8597
8650
  /**
@@ -8636,7 +8689,12 @@ export default class Client extends OpenApi {
8636
8689
  reqBodyType: "formData",
8637
8690
  bodyType: "json",
8638
8691
  });
8639
- return $dara.cast<RunScriptRefineResponse>(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
8692
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8693
+ return $dara.cast<RunScriptRefineResponse>(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
8694
+ } else {
8695
+ return $dara.cast<RunScriptRefineResponse>(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
8696
+ }
8697
+
8640
8698
  }
8641
8699
 
8642
8700
  /**
@@ -8676,6 +8734,10 @@ export default class Client extends OpenApi {
8676
8734
  body["learningSamples"] = request.learningSamplesShrink;
8677
8735
  }
8678
8736
 
8737
+ if (!$dara.isNull(request.processStage)) {
8738
+ body["processStage"] = request.processStage;
8739
+ }
8740
+
8679
8741
  if (!$dara.isNull(request.referenceMaterialsShrink)) {
8680
8742
  body["referenceMaterials"] = request.referenceMaterialsShrink;
8681
8743
  }
@@ -8684,6 +8746,10 @@ export default class Client extends OpenApi {
8684
8746
  body["styleFeature"] = request.styleFeature;
8685
8747
  }
8686
8748
 
8749
+ if (!$dara.isNull(request.useSearch)) {
8750
+ body["useSearch"] = request.useSearch;
8751
+ }
8752
+
8687
8753
  if (!$dara.isNull(request.writingTheme)) {
8688
8754
  body["writingTheme"] = request.writingTheme;
8689
8755
  }
@@ -8703,7 +8769,12 @@ export default class Client extends OpenApi {
8703
8769
  reqBodyType: "formData",
8704
8770
  bodyType: "json",
8705
8771
  });
8706
- return $dara.cast<RunStyleWritingResponse>(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
8772
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8773
+ return $dara.cast<RunStyleWritingResponse>(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
8774
+ } else {
8775
+ return $dara.cast<RunStyleWritingResponse>(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
8776
+ }
8777
+
8707
8778
  }
8708
8779
 
8709
8780
  /**
@@ -8778,7 +8849,12 @@ export default class Client extends OpenApi {
8778
8849
  reqBodyType: "formData",
8779
8850
  bodyType: "json",
8780
8851
  });
8781
- return $dara.cast<RunTagMiningAnalysisResponse>(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
8852
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8853
+ return $dara.cast<RunTagMiningAnalysisResponse>(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
8854
+ } else {
8855
+ return $dara.cast<RunTagMiningAnalysisResponse>(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
8856
+ }
8857
+
8782
8858
  }
8783
8859
 
8784
8860
  /**
@@ -8889,7 +8965,12 @@ export default class Client extends OpenApi {
8889
8965
  reqBodyType: "formData",
8890
8966
  bodyType: "json",
8891
8967
  });
8892
- return $dara.cast<RunVideoAnalysisResponse>(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
8968
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8969
+ return $dara.cast<RunVideoAnalysisResponse>(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
8970
+ } else {
8971
+ return $dara.cast<RunVideoAnalysisResponse>(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
8972
+ }
8973
+
8893
8974
  }
8894
8975
 
8895
8976
  /**
@@ -8992,7 +9073,12 @@ export default class Client extends OpenApi {
8992
9073
  reqBodyType: "formData",
8993
9074
  bodyType: "json",
8994
9075
  });
8995
- return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9076
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9077
+ return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9078
+ } else {
9079
+ return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9080
+ }
9081
+
8996
9082
  }
8997
9083
 
8998
9084
  /**
@@ -9037,7 +9123,12 @@ export default class Client extends OpenApi {
9037
9123
  reqBodyType: "formData",
9038
9124
  bodyType: "json",
9039
9125
  });
9040
- return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9126
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9127
+ return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9128
+ } else {
9129
+ return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9130
+ }
9131
+
9041
9132
  }
9042
9133
 
9043
9134
  /**