@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/dist/client.d.ts +18 -0
- package/dist/client.js +47 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +72 -0
package/dist/client.d.ts
CHANGED
|
@@ -4350,6 +4350,7 @@ export declare class RunStyleWritingResponse extends $dara.Model {
|
|
|
4350
4350
|
});
|
|
4351
4351
|
}
|
|
4352
4352
|
export declare class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
4353
|
+
apiKey?: string;
|
|
4353
4354
|
/**
|
|
4354
4355
|
* @example
|
|
4355
4356
|
* clueMining
|
|
@@ -4396,6 +4397,7 @@ export declare class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
|
4396
4397
|
});
|
|
4397
4398
|
}
|
|
4398
4399
|
export declare class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
|
|
4400
|
+
apiKey?: string;
|
|
4399
4401
|
/**
|
|
4400
4402
|
* @example
|
|
4401
4403
|
* clueMining
|
|
@@ -4481,6 +4483,7 @@ export declare class RunTagMiningAnalysisResponse extends $dara.Model {
|
|
|
4481
4483
|
});
|
|
4482
4484
|
}
|
|
4483
4485
|
export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
4486
|
+
excludeGenerateOptions?: string[];
|
|
4484
4487
|
faceIdentitySimilarityMinScore?: number;
|
|
4485
4488
|
frameSampleMethod?: RunVideoAnalysisRequestFrameSampleMethod;
|
|
4486
4489
|
generateOptions?: string[];
|
|
@@ -4543,6 +4546,7 @@ export declare class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
4543
4546
|
});
|
|
4544
4547
|
}
|
|
4545
4548
|
export declare class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
4549
|
+
excludeGenerateOptionsShrink?: string;
|
|
4546
4550
|
faceIdentitySimilarityMinScore?: number;
|
|
4547
4551
|
frameSampleMethodShrink?: string;
|
|
4548
4552
|
generateOptionsShrink?: string;
|
|
@@ -4641,6 +4645,7 @@ export declare class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
4641
4645
|
});
|
|
4642
4646
|
}
|
|
4643
4647
|
export declare class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
4648
|
+
apiKey?: string;
|
|
4644
4649
|
/**
|
|
4645
4650
|
* @example
|
|
4646
4651
|
* clueMining
|
|
@@ -4685,6 +4690,7 @@ export declare class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
|
4685
4690
|
});
|
|
4686
4691
|
}
|
|
4687
4692
|
export declare class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
4693
|
+
apiKey?: string;
|
|
4688
4694
|
/**
|
|
4689
4695
|
* @example
|
|
4690
4696
|
* clueMining
|
|
@@ -4787,6 +4793,12 @@ export declare class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
|
4787
4793
|
});
|
|
4788
4794
|
}
|
|
4789
4795
|
export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
4796
|
+
/**
|
|
4797
|
+
* @example
|
|
4798
|
+
* 1
|
|
4799
|
+
*/
|
|
4800
|
+
deduplicationId?: string;
|
|
4801
|
+
excludeGenerateOptions?: string[];
|
|
4790
4802
|
faceIdentitySimilarityMinScore?: number;
|
|
4791
4803
|
frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
|
|
4792
4804
|
generateOptions?: string[];
|
|
@@ -4846,6 +4858,12 @@ export declare class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
4846
4858
|
});
|
|
4847
4859
|
}
|
|
4848
4860
|
export declare class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
4861
|
+
/**
|
|
4862
|
+
* @example
|
|
4863
|
+
* 1
|
|
4864
|
+
*/
|
|
4865
|
+
deduplicationId?: string;
|
|
4866
|
+
excludeGenerateOptionsShrink?: string;
|
|
4849
4867
|
faceIdentitySimilarityMinScore?: number;
|
|
4850
4868
|
frameSampleMethodShrink?: string;
|
|
4851
4869
|
generateOptionsShrink?: string;
|
package/dist/client.js
CHANGED
|
@@ -4883,6 +4883,7 @@ exports.RunStyleWritingResponse = RunStyleWritingResponse;
|
|
|
4883
4883
|
class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
4884
4884
|
static names() {
|
|
4885
4885
|
return {
|
|
4886
|
+
apiKey: 'apiKey',
|
|
4886
4887
|
businessType: 'businessType',
|
|
4887
4888
|
content: 'content',
|
|
4888
4889
|
extraInfo: 'extraInfo',
|
|
@@ -4894,6 +4895,7 @@ class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
|
4894
4895
|
}
|
|
4895
4896
|
static types() {
|
|
4896
4897
|
return {
|
|
4898
|
+
apiKey: 'string',
|
|
4897
4899
|
businessType: 'string',
|
|
4898
4900
|
content: 'string',
|
|
4899
4901
|
extraInfo: 'string',
|
|
@@ -4917,6 +4919,7 @@ exports.RunTagMiningAnalysisRequest = RunTagMiningAnalysisRequest;
|
|
|
4917
4919
|
class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
|
|
4918
4920
|
static names() {
|
|
4919
4921
|
return {
|
|
4922
|
+
apiKey: 'apiKey',
|
|
4920
4923
|
businessType: 'businessType',
|
|
4921
4924
|
content: 'content',
|
|
4922
4925
|
extraInfo: 'extraInfo',
|
|
@@ -4928,6 +4931,7 @@ class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
|
|
|
4928
4931
|
}
|
|
4929
4932
|
static types() {
|
|
4930
4933
|
return {
|
|
4934
|
+
apiKey: 'string',
|
|
4931
4935
|
businessType: 'string',
|
|
4932
4936
|
content: 'string',
|
|
4933
4937
|
extraInfo: 'string',
|
|
@@ -5006,6 +5010,7 @@ exports.RunTagMiningAnalysisResponse = RunTagMiningAnalysisResponse;
|
|
|
5006
5010
|
class RunVideoAnalysisRequest extends $dara.Model {
|
|
5007
5011
|
static names() {
|
|
5008
5012
|
return {
|
|
5013
|
+
excludeGenerateOptions: 'excludeGenerateOptions',
|
|
5009
5014
|
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
5010
5015
|
frameSampleMethod: 'frameSampleMethod',
|
|
5011
5016
|
generateOptions: 'generateOptions',
|
|
@@ -5028,6 +5033,7 @@ class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
5028
5033
|
}
|
|
5029
5034
|
static types() {
|
|
5030
5035
|
return {
|
|
5036
|
+
excludeGenerateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
5031
5037
|
faceIdentitySimilarityMinScore: 'number',
|
|
5032
5038
|
frameSampleMethod: RunVideoAnalysisRequestFrameSampleMethod,
|
|
5033
5039
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -5049,6 +5055,9 @@ class RunVideoAnalysisRequest extends $dara.Model {
|
|
|
5049
5055
|
};
|
|
5050
5056
|
}
|
|
5051
5057
|
validate() {
|
|
5058
|
+
if (Array.isArray(this.excludeGenerateOptions)) {
|
|
5059
|
+
$dara.Model.validateArray(this.excludeGenerateOptions);
|
|
5060
|
+
}
|
|
5052
5061
|
if (this.frameSampleMethod && typeof this.frameSampleMethod.validate === 'function') {
|
|
5053
5062
|
this.frameSampleMethod.validate();
|
|
5054
5063
|
}
|
|
@@ -5071,6 +5080,7 @@ exports.RunVideoAnalysisRequest = RunVideoAnalysisRequest;
|
|
|
5071
5080
|
class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
5072
5081
|
static names() {
|
|
5073
5082
|
return {
|
|
5083
|
+
excludeGenerateOptionsShrink: 'excludeGenerateOptions',
|
|
5074
5084
|
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
5075
5085
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
5076
5086
|
generateOptionsShrink: 'generateOptions',
|
|
@@ -5093,6 +5103,7 @@ class RunVideoAnalysisShrinkRequest extends $dara.Model {
|
|
|
5093
5103
|
}
|
|
5094
5104
|
static types() {
|
|
5095
5105
|
return {
|
|
5106
|
+
excludeGenerateOptionsShrink: 'string',
|
|
5096
5107
|
faceIdentitySimilarityMinScore: 'number',
|
|
5097
5108
|
frameSampleMethodShrink: 'string',
|
|
5098
5109
|
generateOptionsShrink: 'string',
|
|
@@ -5182,6 +5193,7 @@ exports.RunVideoAnalysisResponse = RunVideoAnalysisResponse;
|
|
|
5182
5193
|
class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
5183
5194
|
static names() {
|
|
5184
5195
|
return {
|
|
5196
|
+
apiKey: 'apiKey',
|
|
5185
5197
|
businessType: 'businessType',
|
|
5186
5198
|
contents: 'contents',
|
|
5187
5199
|
extraInfo: 'extraInfo',
|
|
@@ -5194,6 +5206,7 @@ class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
|
5194
5206
|
}
|
|
5195
5207
|
static types() {
|
|
5196
5208
|
return {
|
|
5209
|
+
apiKey: 'string',
|
|
5197
5210
|
businessType: 'string',
|
|
5198
5211
|
contents: { 'type': 'array', 'itemType': 'string' },
|
|
5199
5212
|
extraInfo: 'string',
|
|
@@ -5221,6 +5234,7 @@ exports.SubmitTagMiningAnalysisTaskRequest = SubmitTagMiningAnalysisTaskRequest;
|
|
|
5221
5234
|
class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
5222
5235
|
static names() {
|
|
5223
5236
|
return {
|
|
5237
|
+
apiKey: 'apiKey',
|
|
5224
5238
|
businessType: 'businessType',
|
|
5225
5239
|
contentsShrink: 'contents',
|
|
5226
5240
|
extraInfo: 'extraInfo',
|
|
@@ -5233,6 +5247,7 @@ class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
5233
5247
|
}
|
|
5234
5248
|
static types() {
|
|
5235
5249
|
return {
|
|
5250
|
+
apiKey: 'string',
|
|
5236
5251
|
businessType: 'string',
|
|
5237
5252
|
contentsShrink: 'string',
|
|
5238
5253
|
extraInfo: 'string',
|
|
@@ -5315,6 +5330,8 @@ exports.SubmitTagMiningAnalysisTaskResponse = SubmitTagMiningAnalysisTaskRespons
|
|
|
5315
5330
|
class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
5316
5331
|
static names() {
|
|
5317
5332
|
return {
|
|
5333
|
+
deduplicationId: 'deduplicationId',
|
|
5334
|
+
excludeGenerateOptions: 'excludeGenerateOptions',
|
|
5318
5335
|
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
5319
5336
|
frameSampleMethod: 'frameSampleMethod',
|
|
5320
5337
|
generateOptions: 'generateOptions',
|
|
@@ -5335,6 +5352,8 @@ class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
5335
5352
|
}
|
|
5336
5353
|
static types() {
|
|
5337
5354
|
return {
|
|
5355
|
+
deduplicationId: 'string',
|
|
5356
|
+
excludeGenerateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
5338
5357
|
faceIdentitySimilarityMinScore: 'number',
|
|
5339
5358
|
frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
|
|
5340
5359
|
generateOptions: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -5354,6 +5373,9 @@ class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
|
5354
5373
|
};
|
|
5355
5374
|
}
|
|
5356
5375
|
validate() {
|
|
5376
|
+
if (Array.isArray(this.excludeGenerateOptions)) {
|
|
5377
|
+
$dara.Model.validateArray(this.excludeGenerateOptions);
|
|
5378
|
+
}
|
|
5357
5379
|
if (this.frameSampleMethod && typeof this.frameSampleMethod.validate === 'function') {
|
|
5358
5380
|
this.frameSampleMethod.validate();
|
|
5359
5381
|
}
|
|
@@ -5376,6 +5398,8 @@ exports.SubmitVideoAnalysisTaskRequest = SubmitVideoAnalysisTaskRequest;
|
|
|
5376
5398
|
class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
5377
5399
|
static names() {
|
|
5378
5400
|
return {
|
|
5401
|
+
deduplicationId: 'deduplicationId',
|
|
5402
|
+
excludeGenerateOptionsShrink: 'excludeGenerateOptions',
|
|
5379
5403
|
faceIdentitySimilarityMinScore: 'faceIdentitySimilarityMinScore',
|
|
5380
5404
|
frameSampleMethodShrink: 'frameSampleMethod',
|
|
5381
5405
|
generateOptionsShrink: 'generateOptions',
|
|
@@ -5396,6 +5420,8 @@ class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
5396
5420
|
}
|
|
5397
5421
|
static types() {
|
|
5398
5422
|
return {
|
|
5423
|
+
deduplicationId: 'string',
|
|
5424
|
+
excludeGenerateOptionsShrink: 'string',
|
|
5399
5425
|
faceIdentitySimilarityMinScore: 'number',
|
|
5400
5426
|
frameSampleMethodShrink: 'string',
|
|
5401
5427
|
generateOptionsShrink: 'string',
|
|
@@ -6528,6 +6554,9 @@ class Client extends openapi_core_1.default {
|
|
|
6528
6554
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6529
6555
|
}
|
|
6530
6556
|
let body = {};
|
|
6557
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
6558
|
+
body["apiKey"] = request.apiKey;
|
|
6559
|
+
}
|
|
6531
6560
|
if (!$dara.isNull(request.businessType)) {
|
|
6532
6561
|
body["businessType"] = request.businessType;
|
|
6533
6562
|
}
|
|
@@ -6594,6 +6623,9 @@ class Client extends openapi_core_1.default {
|
|
|
6594
6623
|
tmpReq.validate();
|
|
6595
6624
|
let request = new RunVideoAnalysisShrinkRequest({});
|
|
6596
6625
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6626
|
+
if (!$dara.isNull(tmpReq.excludeGenerateOptions)) {
|
|
6627
|
+
request.excludeGenerateOptionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.excludeGenerateOptions, "excludeGenerateOptions", "json");
|
|
6628
|
+
}
|
|
6597
6629
|
if (!$dara.isNull(tmpReq.frameSampleMethod)) {
|
|
6598
6630
|
request.frameSampleMethodShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.frameSampleMethod, "frameSampleMethod", "json");
|
|
6599
6631
|
}
|
|
@@ -6607,6 +6639,9 @@ class Client extends openapi_core_1.default {
|
|
|
6607
6639
|
request.videoRolesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
6608
6640
|
}
|
|
6609
6641
|
let body = {};
|
|
6642
|
+
if (!$dara.isNull(request.excludeGenerateOptionsShrink)) {
|
|
6643
|
+
body["excludeGenerateOptions"] = request.excludeGenerateOptionsShrink;
|
|
6644
|
+
}
|
|
6610
6645
|
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
6611
6646
|
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
6612
6647
|
}
|
|
@@ -6713,6 +6748,9 @@ class Client extends openapi_core_1.default {
|
|
|
6713
6748
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6714
6749
|
}
|
|
6715
6750
|
let body = {};
|
|
6751
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
6752
|
+
body["apiKey"] = request.apiKey;
|
|
6753
|
+
}
|
|
6716
6754
|
if (!$dara.isNull(request.businessType)) {
|
|
6717
6755
|
body["businessType"] = request.businessType;
|
|
6718
6756
|
}
|
|
@@ -6782,6 +6820,9 @@ class Client extends openapi_core_1.default {
|
|
|
6782
6820
|
tmpReq.validate();
|
|
6783
6821
|
let request = new SubmitVideoAnalysisTaskShrinkRequest({});
|
|
6784
6822
|
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6823
|
+
if (!$dara.isNull(tmpReq.excludeGenerateOptions)) {
|
|
6824
|
+
request.excludeGenerateOptionsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.excludeGenerateOptions, "excludeGenerateOptions", "json");
|
|
6825
|
+
}
|
|
6785
6826
|
if (!$dara.isNull(tmpReq.frameSampleMethod)) {
|
|
6786
6827
|
request.frameSampleMethodShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.frameSampleMethod, "frameSampleMethod", "json");
|
|
6787
6828
|
}
|
|
@@ -6795,6 +6836,12 @@ class Client extends openapi_core_1.default {
|
|
|
6795
6836
|
request.videoRolesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.videoRoles, "videoRoles", "json");
|
|
6796
6837
|
}
|
|
6797
6838
|
let body = {};
|
|
6839
|
+
if (!$dara.isNull(request.deduplicationId)) {
|
|
6840
|
+
body["deduplicationId"] = request.deduplicationId;
|
|
6841
|
+
}
|
|
6842
|
+
if (!$dara.isNull(request.excludeGenerateOptionsShrink)) {
|
|
6843
|
+
body["excludeGenerateOptions"] = request.excludeGenerateOptionsShrink;
|
|
6844
|
+
}
|
|
6798
6845
|
if (!$dara.isNull(request.faceIdentitySimilarityMinScore)) {
|
|
6799
6846
|
body["faceIdentitySimilarityMinScore"] = request.faceIdentitySimilarityMinScore;
|
|
6800
6847
|
}
|