@alicloud/quanmiaolightapp20240801 2.5.3 → 2.5.5

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.5.3",
3
+ "version": "2.5.5",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -7532,6 +7532,7 @@ export class RunStyleWritingResponse extends $dara.Model {
7532
7532
  }
7533
7533
 
7534
7534
  export class RunTagMiningAnalysisRequest extends $dara.Model {
7535
+ apiKey?: string;
7535
7536
  /**
7536
7537
  * @example
7537
7538
  * clueMining
@@ -7568,6 +7569,7 @@ export class RunTagMiningAnalysisRequest extends $dara.Model {
7568
7569
  taskDescription?: string;
7569
7570
  static names(): { [key: string]: string } {
7570
7571
  return {
7572
+ apiKey: 'apiKey',
7571
7573
  businessType: 'businessType',
7572
7574
  content: 'content',
7573
7575
  extraInfo: 'extraInfo',
@@ -7580,6 +7582,7 @@ export class RunTagMiningAnalysisRequest extends $dara.Model {
7580
7582
 
7581
7583
  static types(): { [key: string]: any } {
7582
7584
  return {
7585
+ apiKey: 'string',
7583
7586
  businessType: 'string',
7584
7587
  content: 'string',
7585
7588
  extraInfo: 'string',
@@ -7603,6 +7606,7 @@ export class RunTagMiningAnalysisRequest extends $dara.Model {
7603
7606
  }
7604
7607
 
7605
7608
  export class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
7609
+ apiKey?: string;
7606
7610
  /**
7607
7611
  * @example
7608
7612
  * clueMining
@@ -7639,6 +7643,7 @@ export class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
7639
7643
  taskDescription?: string;
7640
7644
  static names(): { [key: string]: string } {
7641
7645
  return {
7646
+ apiKey: 'apiKey',
7642
7647
  businessType: 'businessType',
7643
7648
  content: 'content',
7644
7649
  extraInfo: 'extraInfo',
@@ -7651,6 +7656,7 @@ export class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
7651
7656
 
7652
7657
  static types(): { [key: string]: any } {
7653
7658
  return {
7659
+ apiKey: 'string',
7654
7660
  businessType: 'string',
7655
7661
  content: 'string',
7656
7662
  extraInfo: 'string',
@@ -7748,6 +7754,7 @@ export class RunTagMiningAnalysisResponse extends $dara.Model {
7748
7754
  }
7749
7755
 
7750
7756
  export class RunVideoAnalysisRequest extends $dara.Model {
7757
+ excludeGenerateOptions?: string[];
7751
7758
  faceIdentitySimilarityMinScore?: number;
7752
7759
  frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
7753
7760
  generateOptions?: string[];
@@ -7800,6 +7807,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7800
7807
  videoUrl?: string;
7801
7808
  static names(): { [key: string]: string } {
7802
7809
  return {
7810
+ excludeGenerateOptions: 'excludeGenerateOptions',
7803
7811
  faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7804
7812
  frameSampleMethod: 'frameSampleMethod',
7805
7813
  generateOptions: 'generateOptions',
@@ -7823,6 +7831,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7823
7831
 
7824
7832
  static types(): { [key: string]: any } {
7825
7833
  return {
7834
+ excludeGenerateOptions: { 'type': 'array', 'itemType': 'string' },
7826
7835
  faceIdentitySimilarityMinScore: 'number',
7827
7836
  frameSampleMethod: RunVideoAnalysisRequestFrameSampleMethod,
7828
7837
  generateOptions: { 'type': 'array', 'itemType': 'string' },
@@ -7845,6 +7854,9 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7845
7854
  }
7846
7855
 
7847
7856
  validate() {
7857
+ if(Array.isArray(this.excludeGenerateOptions)) {
7858
+ $dara.Model.validateArray(this.excludeGenerateOptions);
7859
+ }
7848
7860
  if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
7849
7861
  (this.frameSampleMethod as any).validate();
7850
7862
  }
@@ -7866,6 +7878,7 @@ export class RunVideoAnalysisRequest extends $dara.Model {
7866
7878
  }
7867
7879
 
7868
7880
  export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7881
+ excludeGenerateOptionsShrink?: string;
7869
7882
  faceIdentitySimilarityMinScore?: number;
7870
7883
  frameSampleMethodShrink?: string;
7871
7884
  generateOptionsShrink?: string;
@@ -7918,6 +7931,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7918
7931
  videoUrl?: string;
7919
7932
  static names(): { [key: string]: string } {
7920
7933
  return {
7934
+ excludeGenerateOptionsShrink: 'excludeGenerateOptions',
7921
7935
  faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
7922
7936
  frameSampleMethodShrink: 'frameSampleMethod',
7923
7937
  generateOptionsShrink: 'generateOptions',
@@ -7941,6 +7955,7 @@ export class RunVideoAnalysisShrinkRequest extends $dara.Model {
7941
7955
 
7942
7956
  static types(): { [key: string]: any } {
7943
7957
  return {
7958
+ excludeGenerateOptionsShrink: 'string',
7944
7959
  faceIdentitySimilarityMinScore: 'number',
7945
7960
  frameSampleMethodShrink: 'string',
7946
7961
  generateOptionsShrink: 'string',
@@ -8046,6 +8061,7 @@ export class RunVideoAnalysisResponse extends $dara.Model {
8046
8061
  }
8047
8062
 
8048
8063
  export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
8064
+ apiKey?: string;
8049
8065
  /**
8050
8066
  * @example
8051
8067
  * clueMining
@@ -8080,6 +8096,7 @@ export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
8080
8096
  url?: string;
8081
8097
  static names(): { [key: string]: string } {
8082
8098
  return {
8099
+ apiKey: 'apiKey',
8083
8100
  businessType: 'businessType',
8084
8101
  contents: 'contents',
8085
8102
  extraInfo: 'extraInfo',
@@ -8093,6 +8110,7 @@ export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
8093
8110
 
8094
8111
  static types(): { [key: string]: any } {
8095
8112
  return {
8113
+ apiKey: 'string',
8096
8114
  businessType: 'string',
8097
8115
  contents: { 'type': 'array', 'itemType': 'string' },
8098
8116
  extraInfo: 'string',
@@ -8120,6 +8138,7 @@ export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
8120
8138
  }
8121
8139
 
8122
8140
  export class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
8141
+ apiKey?: string;
8123
8142
  /**
8124
8143
  * @example
8125
8144
  * clueMining
@@ -8154,6 +8173,7 @@ export class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
8154
8173
  url?: string;
8155
8174
  static names(): { [key: string]: string } {
8156
8175
  return {
8176
+ apiKey: 'apiKey',
8157
8177
  businessType: 'businessType',
8158
8178
  contentsShrink: 'contents',
8159
8179
  extraInfo: 'extraInfo',
@@ -8167,6 +8187,7 @@ export class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
8167
8187
 
8168
8188
  static types(): { [key: string]: any } {
8169
8189
  return {
8190
+ apiKey: 'string',
8170
8191
  businessType: 'string',
8171
8192
  contentsShrink: 'string',
8172
8193
  extraInfo: 'string',
@@ -8287,6 +8308,12 @@ export class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
8287
8308
  }
8288
8309
 
8289
8310
  export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8311
+ /**
8312
+ * @example
8313
+ * 1
8314
+ */
8315
+ deduplicationId?: string;
8316
+ excludeGenerateOptions?: string[];
8290
8317
  faceIdentitySimilarityMinScore?: number;
8291
8318
  frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
8292
8319
  generateOptions?: string[];
@@ -8336,6 +8363,8 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8336
8363
  videoUrl?: string;
8337
8364
  static names(): { [key: string]: string } {
8338
8365
  return {
8366
+ deduplicationId: 'deduplicationId',
8367
+ excludeGenerateOptions: 'excludeGenerateOptions',
8339
8368
  faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
8340
8369
  frameSampleMethod: 'frameSampleMethod',
8341
8370
  generateOptions: 'generateOptions',
@@ -8357,6 +8386,8 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8357
8386
 
8358
8387
  static types(): { [key: string]: any } {
8359
8388
  return {
8389
+ deduplicationId: 'string',
8390
+ excludeGenerateOptions: { 'type': 'array', 'itemType': 'string' },
8360
8391
  faceIdentitySimilarityMinScore: 'number',
8361
8392
  frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
8362
8393
  generateOptions: { 'type': 'array', 'itemType': 'string' },
@@ -8377,6 +8408,9 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8377
8408
  }
8378
8409
 
8379
8410
  validate() {
8411
+ if(Array.isArray(this.excludeGenerateOptions)) {
8412
+ $dara.Model.validateArray(this.excludeGenerateOptions);
8413
+ }
8380
8414
  if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
8381
8415
  (this.frameSampleMethod as any).validate();
8382
8416
  }
@@ -8398,6 +8432,12 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8398
8432
  }
8399
8433
 
8400
8434
  export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
8435
+ /**
8436
+ * @example
8437
+ * 1
8438
+ */
8439
+ deduplicationId?: string;
8440
+ excludeGenerateOptionsShrink?: string;
8401
8441
  faceIdentitySimilarityMinScore?: number;
8402
8442
  frameSampleMethodShrink?: string;
8403
8443
  generateOptionsShrink?: string;
@@ -8447,6 +8487,8 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
8447
8487
  videoUrl?: string;
8448
8488
  static names(): { [key: string]: string } {
8449
8489
  return {
8490
+ deduplicationId: 'deduplicationId',
8491
+ excludeGenerateOptionsShrink: 'excludeGenerateOptions',
8450
8492
  faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
8451
8493
  frameSampleMethodShrink: 'frameSampleMethod',
8452
8494
  generateOptionsShrink: 'generateOptions',
@@ -8468,6 +8510,8 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
8468
8510
 
8469
8511
  static types(): { [key: string]: any } {
8470
8512
  return {
8513
+ deduplicationId: 'string',
8514
+ excludeGenerateOptionsShrink: 'string',
8471
8515
  faceIdentitySimilarityMinScore: 'number',
8472
8516
  frameSampleMethodShrink: 'string',
8473
8517
  generateOptionsShrink: 'string',
@@ -9801,6 +9845,10 @@ export default class Client extends OpenApi {
9801
9845
  }
9802
9846
 
9803
9847
  let body : {[key: string ]: any} = { };
9848
+ if (!$dara.isNull(request.apiKey)) {
9849
+ body["apiKey"] = request.apiKey;
9850
+ }
9851
+
9804
9852
  if (!$dara.isNull(request.businessType)) {
9805
9853
  body["businessType"] = request.businessType;
9806
9854
  }
@@ -9876,6 +9924,10 @@ export default class Client extends OpenApi {
9876
9924
  tmpReq.validate();
9877
9925
  let request = new RunVideoAnalysisShrinkRequest({ });
9878
9926
  OpenApiUtil.convert(tmpReq, request);
9927
+ if (!$dara.isNull(tmpReq.excludeGenerateOptions)) {
9928
+ request.excludeGenerateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.excludeGenerateOptions, "excludeGenerateOptions", "json");
9929
+ }
9930
+
9879
9931
  if (!$dara.isNull(tmpReq.frameSampleMethod)) {
9880
9932
  request.frameSampleMethodShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.frameSampleMethod, "frameSampleMethod", "json");
9881
9933
  }
@@ -9893,6 +9945,10 @@ export default class Client extends OpenApi {
9893
9945
  }
9894
9946
 
9895
9947
  let body : {[key: string ]: any} = { };
9948
+ if (!$dara.isNull(request.excludeGenerateOptionsShrink)) {
9949
+ body["excludeGenerateOptions"] = request.excludeGenerateOptionsShrink;
9950
+ }
9951
+
9896
9952
  if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
9897
9953
  body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
9898
9954
  }
@@ -10021,6 +10077,10 @@ export default class Client extends OpenApi {
10021
10077
  }
10022
10078
 
10023
10079
  let body : {[key: string ]: any} = { };
10080
+ if (!$dara.isNull(request.apiKey)) {
10081
+ body["apiKey"] = request.apiKey;
10082
+ }
10083
+
10024
10084
  if (!$dara.isNull(request.businessType)) {
10025
10085
  body["businessType"] = request.businessType;
10026
10086
  }
@@ -10100,6 +10160,10 @@ export default class Client extends OpenApi {
10100
10160
  tmpReq.validate();
10101
10161
  let request = new SubmitVideoAnalysisTaskShrinkRequest({ });
10102
10162
  OpenApiUtil.convert(tmpReq, request);
10163
+ if (!$dara.isNull(tmpReq.excludeGenerateOptions)) {
10164
+ request.excludeGenerateOptionsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.excludeGenerateOptions, "excludeGenerateOptions", "json");
10165
+ }
10166
+
10103
10167
  if (!$dara.isNull(tmpReq.frameSampleMethod)) {
10104
10168
  request.frameSampleMethodShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.frameSampleMethod, "frameSampleMethod", "json");
10105
10169
  }
@@ -10117,6 +10181,14 @@ export default class Client extends OpenApi {
10117
10181
  }
10118
10182
 
10119
10183
  let body : {[key: string ]: any} = { };
10184
+ if (!$dara.isNull(request.deduplicationId)) {
10185
+ body["deduplicationId"] = request.deduplicationId;
10186
+ }
10187
+
10188
+ if (!$dara.isNull(request.excludeGenerateOptionsShrink)) {
10189
+ body["excludeGenerateOptions"] = request.excludeGenerateOptionsShrink;
10190
+ }
10191
+
10120
10192
  if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
10121
10193
  body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
10122
10194
  }