@alicloud/quanmiaolightapp20240801 2.4.0 → 2.5.0

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/src/client.ts CHANGED
@@ -239,6 +239,228 @@ export class GenerateOutputFormatResponseBodyData extends $dara.Model {
239
239
  }
240
240
  }
241
241
 
242
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsHeader extends $dara.Model {
243
+ /**
244
+ * @example
245
+ * DataNotExists
246
+ */
247
+ errorCode?: string;
248
+ errorMessage?: string;
249
+ /**
250
+ * @example
251
+ * task-finished
252
+ */
253
+ event?: string;
254
+ /**
255
+ * @example
256
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
257
+ */
258
+ requestId?: string;
259
+ static names(): { [key: string]: string } {
260
+ return {
261
+ errorCode: 'errorCode',
262
+ errorMessage: 'errorMessage',
263
+ event: 'event',
264
+ requestId: 'requestId',
265
+ };
266
+ }
267
+
268
+ static types(): { [key: string]: any } {
269
+ return {
270
+ errorCode: 'string',
271
+ errorMessage: 'string',
272
+ event: 'string',
273
+ requestId: 'string',
274
+ };
275
+ }
276
+
277
+ validate() {
278
+ super.validate();
279
+ }
280
+
281
+ constructor(map?: { [key: string]: any }) {
282
+ super(map);
283
+ }
284
+ }
285
+
286
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput extends $dara.Model {
287
+ /**
288
+ * @example
289
+ * xxxx
290
+ */
291
+ text?: string;
292
+ static names(): { [key: string]: string } {
293
+ return {
294
+ text: 'text',
295
+ };
296
+ }
297
+
298
+ static types(): { [key: string]: any } {
299
+ return {
300
+ text: 'string',
301
+ };
302
+ }
303
+
304
+ validate() {
305
+ super.validate();
306
+ }
307
+
308
+ constructor(map?: { [key: string]: any }) {
309
+ super(map);
310
+ }
311
+ }
312
+
313
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage extends $dara.Model {
314
+ /**
315
+ * @example
316
+ * 100
317
+ */
318
+ inputToken?: number;
319
+ /**
320
+ * @example
321
+ * 200
322
+ */
323
+ outputToken?: number;
324
+ /**
325
+ * @example
326
+ * 300
327
+ */
328
+ totalToken?: number;
329
+ static names(): { [key: string]: string } {
330
+ return {
331
+ inputToken: 'inputToken',
332
+ outputToken: 'outputToken',
333
+ totalToken: 'totalToken',
334
+ };
335
+ }
336
+
337
+ static types(): { [key: string]: any } {
338
+ return {
339
+ inputToken: 'number',
340
+ outputToken: 'number',
341
+ totalToken: 'number',
342
+ };
343
+ }
344
+
345
+ validate() {
346
+ super.validate();
347
+ }
348
+
349
+ constructor(map?: { [key: string]: any }) {
350
+ super(map);
351
+ }
352
+ }
353
+
354
+ export class GetTagMiningAnalysisTaskResponseBodyDataResultsPayload extends $dara.Model {
355
+ output?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput;
356
+ usage?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage;
357
+ static names(): { [key: string]: string } {
358
+ return {
359
+ output: 'output',
360
+ usage: 'usage',
361
+ };
362
+ }
363
+
364
+ static types(): { [key: string]: any } {
365
+ return {
366
+ output: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput,
367
+ usage: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage,
368
+ };
369
+ }
370
+
371
+ validate() {
372
+ if(this.output && typeof (this.output as any).validate === 'function') {
373
+ (this.output as any).validate();
374
+ }
375
+ if(this.usage && typeof (this.usage as any).validate === 'function') {
376
+ (this.usage as any).validate();
377
+ }
378
+ super.validate();
379
+ }
380
+
381
+ constructor(map?: { [key: string]: any }) {
382
+ super(map);
383
+ }
384
+ }
385
+
386
+ export class GetTagMiningAnalysisTaskResponseBodyDataResults extends $dara.Model {
387
+ /**
388
+ * @example
389
+ * 1
390
+ */
391
+ customId?: string;
392
+ header?: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader;
393
+ payload?: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload;
394
+ static names(): { [key: string]: string } {
395
+ return {
396
+ customId: 'customId',
397
+ header: 'header',
398
+ payload: 'payload',
399
+ };
400
+ }
401
+
402
+ static types(): { [key: string]: any } {
403
+ return {
404
+ customId: 'string',
405
+ header: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader,
406
+ payload: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload,
407
+ };
408
+ }
409
+
410
+ validate() {
411
+ if(this.header && typeof (this.header as any).validate === 'function') {
412
+ (this.header as any).validate();
413
+ }
414
+ if(this.payload && typeof (this.payload as any).validate === 'function') {
415
+ (this.payload as any).validate();
416
+ }
417
+ super.validate();
418
+ }
419
+
420
+ constructor(map?: { [key: string]: any }) {
421
+ super(map);
422
+ }
423
+ }
424
+
425
+ export class GetTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
426
+ errorCode?: string;
427
+ errorMessage?: string;
428
+ results?: GetTagMiningAnalysisTaskResponseBodyDataResults[];
429
+ /**
430
+ * @example
431
+ * RUNNIN
432
+ */
433
+ status?: string;
434
+ static names(): { [key: string]: string } {
435
+ return {
436
+ errorCode: 'errorCode',
437
+ errorMessage: 'errorMessage',
438
+ results: 'results',
439
+ status: 'status',
440
+ };
441
+ }
442
+
443
+ static types(): { [key: string]: any } {
444
+ return {
445
+ errorCode: 'string',
446
+ errorMessage: 'string',
447
+ results: { 'type': 'array', 'itemType': GetTagMiningAnalysisTaskResponseBodyDataResults },
448
+ status: 'string',
449
+ };
450
+ }
451
+
452
+ validate() {
453
+ if(Array.isArray(this.results)) {
454
+ $dara.Model.validateArray(this.results);
455
+ }
456
+ super.validate();
457
+ }
458
+
459
+ constructor(map?: { [key: string]: any }) {
460
+ super(map);
461
+ }
462
+ }
463
+
242
464
  export class GetVideoAnalysisConfigResponseBodyData extends $dara.Model {
243
465
  /**
244
466
  * @example
@@ -4539,6 +4761,67 @@ export class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
4539
4761
  }
4540
4762
  }
4541
4763
 
4764
+ export class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
4765
+ /**
4766
+ * @example
4767
+ * xxxx
4768
+ */
4769
+ tagDefinePrompt?: string;
4770
+ /**
4771
+ * @example
4772
+ * xxxx
4773
+ */
4774
+ tagName?: string;
4775
+ static names(): { [key: string]: string } {
4776
+ return {
4777
+ tagDefinePrompt: 'tagDefinePrompt',
4778
+ tagName: 'tagName',
4779
+ };
4780
+ }
4781
+
4782
+ static types(): { [key: string]: any } {
4783
+ return {
4784
+ tagDefinePrompt: 'string',
4785
+ tagName: 'string',
4786
+ };
4787
+ }
4788
+
4789
+ validate() {
4790
+ super.validate();
4791
+ }
4792
+
4793
+ constructor(map?: { [key: string]: any }) {
4794
+ super(map);
4795
+ }
4796
+ }
4797
+
4798
+ export class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
4799
+ /**
4800
+ * @example
4801
+ * 3feb69ed02d9b1a17d0f1a942675d300
4802
+ */
4803
+ taskId?: string;
4804
+ static names(): { [key: string]: string } {
4805
+ return {
4806
+ taskId: 'taskId',
4807
+ };
4808
+ }
4809
+
4810
+ static types(): { [key: string]: any } {
4811
+ return {
4812
+ taskId: 'string',
4813
+ };
4814
+ }
4815
+
4816
+ validate() {
4817
+ super.validate();
4818
+ }
4819
+
4820
+ constructor(map?: { [key: string]: any }) {
4821
+ super(map);
4822
+ }
4823
+ }
4824
+
4542
4825
  export class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model {
4543
4826
  /**
4544
4827
  * @example
@@ -4974,20 +5257,146 @@ export class GenerateOutputFormatResponse extends $dara.Model {
4974
5257
  }
4975
5258
  }
4976
5259
 
4977
- export class GetVideoAnalysisConfigResponseBody extends $dara.Model {
4978
- /**
4979
- * @example
4980
- * xx
4981
- */
4982
- code?: string;
4983
- data?: GetVideoAnalysisConfigResponseBodyData;
5260
+ export class GetTagMiningAnalysisTaskRequest extends $dara.Model {
4984
5261
  /**
4985
5262
  * @example
4986
- * 200
5263
+ * a3d1c2ac-f086-4a21-9069-f5631542f5a2
4987
5264
  */
4988
- httpStatusCode?: number;
4989
- /**
4990
- * @example
5265
+ taskId?: string;
5266
+ static names(): { [key: string]: string } {
5267
+ return {
5268
+ taskId: 'taskId',
5269
+ };
5270
+ }
5271
+
5272
+ static types(): { [key: string]: any } {
5273
+ return {
5274
+ taskId: 'string',
5275
+ };
5276
+ }
5277
+
5278
+ validate() {
5279
+ super.validate();
5280
+ }
5281
+
5282
+ constructor(map?: { [key: string]: any }) {
5283
+ super(map);
5284
+ }
5285
+ }
5286
+
5287
+ export class GetTagMiningAnalysisTaskResponseBody extends $dara.Model {
5288
+ /**
5289
+ * @example
5290
+ * successful
5291
+ */
5292
+ code?: string;
5293
+ data?: GetTagMiningAnalysisTaskResponseBodyData;
5294
+ /**
5295
+ * @example
5296
+ * 200
5297
+ */
5298
+ httpStatusCode?: string;
5299
+ /**
5300
+ * @example
5301
+ * DataNotExists
5302
+ */
5303
+ message?: string;
5304
+ /**
5305
+ * @remarks
5306
+ * requestId
5307
+ *
5308
+ * @example
5309
+ * 085BE2D2-BB7E-59A6-B688-F2CB32124E7F
5310
+ */
5311
+ requestId?: string;
5312
+ /**
5313
+ * @example
5314
+ * true
5315
+ */
5316
+ success?: boolean;
5317
+ static names(): { [key: string]: string } {
5318
+ return {
5319
+ code: 'code',
5320
+ data: 'data',
5321
+ httpStatusCode: 'httpStatusCode',
5322
+ message: 'message',
5323
+ requestId: 'requestId',
5324
+ success: 'success',
5325
+ };
5326
+ }
5327
+
5328
+ static types(): { [key: string]: any } {
5329
+ return {
5330
+ code: 'string',
5331
+ data: GetTagMiningAnalysisTaskResponseBodyData,
5332
+ httpStatusCode: 'string',
5333
+ message: 'string',
5334
+ requestId: 'string',
5335
+ success: 'boolean',
5336
+ };
5337
+ }
5338
+
5339
+ validate() {
5340
+ if(this.data && typeof (this.data as any).validate === 'function') {
5341
+ (this.data as any).validate();
5342
+ }
5343
+ super.validate();
5344
+ }
5345
+
5346
+ constructor(map?: { [key: string]: any }) {
5347
+ super(map);
5348
+ }
5349
+ }
5350
+
5351
+ export class GetTagMiningAnalysisTaskResponse extends $dara.Model {
5352
+ headers?: { [key: string]: string };
5353
+ statusCode?: number;
5354
+ body?: GetTagMiningAnalysisTaskResponseBody;
5355
+ static names(): { [key: string]: string } {
5356
+ return {
5357
+ headers: 'headers',
5358
+ statusCode: 'statusCode',
5359
+ body: 'body',
5360
+ };
5361
+ }
5362
+
5363
+ static types(): { [key: string]: any } {
5364
+ return {
5365
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5366
+ statusCode: 'number',
5367
+ body: GetTagMiningAnalysisTaskResponseBody,
5368
+ };
5369
+ }
5370
+
5371
+ validate() {
5372
+ if(this.headers) {
5373
+ $dara.Model.validateMap(this.headers);
5374
+ }
5375
+ if(this.body && typeof (this.body as any).validate === 'function') {
5376
+ (this.body as any).validate();
5377
+ }
5378
+ super.validate();
5379
+ }
5380
+
5381
+ constructor(map?: { [key: string]: any }) {
5382
+ super(map);
5383
+ }
5384
+ }
5385
+
5386
+ export class GetVideoAnalysisConfigResponseBody extends $dara.Model {
5387
+ /**
5388
+ * @example
5389
+ * xx
5390
+ */
5391
+ code?: string;
5392
+ data?: GetVideoAnalysisConfigResponseBodyData;
5393
+ /**
5394
+ * @example
5395
+ * 200
5396
+ */
5397
+ httpStatusCode?: number;
5398
+ /**
5399
+ * @example
4991
5400
  * ok
4992
5401
  */
4993
5402
  message?: string;
@@ -6738,27 +7147,19 @@ export class RunScriptRefineResponse extends $dara.Model {
6738
7147
  }
6739
7148
 
6740
7149
  export class RunStyleWritingRequest extends $dara.Model {
6741
- /**
6742
- * @remarks
6743
- * This parameter is required.
6744
- */
6745
7150
  learningSamples?: string[];
6746
- /**
6747
- * @remarks
6748
- * This parameter is required.
6749
- */
7151
+ processStage?: string;
6750
7152
  referenceMaterials?: string[];
6751
7153
  styleFeature?: string;
6752
- /**
6753
- * @remarks
6754
- * This parameter is required.
6755
- */
7154
+ useSearch?: boolean;
6756
7155
  writingTheme?: string;
6757
7156
  static names(): { [key: string]: string } {
6758
7157
  return {
6759
7158
  learningSamples: 'learningSamples',
7159
+ processStage: 'processStage',
6760
7160
  referenceMaterials: 'referenceMaterials',
6761
7161
  styleFeature: 'styleFeature',
7162
+ useSearch: 'useSearch',
6762
7163
  writingTheme: 'writingTheme',
6763
7164
  };
6764
7165
  }
@@ -6766,8 +7167,10 @@ export class RunStyleWritingRequest extends $dara.Model {
6766
7167
  static types(): { [key: string]: any } {
6767
7168
  return {
6768
7169
  learningSamples: { 'type': 'array', 'itemType': 'string' },
7170
+ processStage: 'string',
6769
7171
  referenceMaterials: { 'type': 'array', 'itemType': 'string' },
6770
7172
  styleFeature: 'string',
7173
+ useSearch: 'boolean',
6771
7174
  writingTheme: 'string',
6772
7175
  };
6773
7176
  }
@@ -6788,27 +7191,19 @@ export class RunStyleWritingRequest extends $dara.Model {
6788
7191
  }
6789
7192
 
6790
7193
  export class RunStyleWritingShrinkRequest extends $dara.Model {
6791
- /**
6792
- * @remarks
6793
- * This parameter is required.
6794
- */
6795
7194
  learningSamplesShrink?: string;
6796
- /**
6797
- * @remarks
6798
- * This parameter is required.
6799
- */
7195
+ processStage?: string;
6800
7196
  referenceMaterialsShrink?: string;
6801
7197
  styleFeature?: string;
6802
- /**
6803
- * @remarks
6804
- * This parameter is required.
6805
- */
7198
+ useSearch?: boolean;
6806
7199
  writingTheme?: string;
6807
7200
  static names(): { [key: string]: string } {
6808
7201
  return {
6809
7202
  learningSamplesShrink: 'learningSamples',
7203
+ processStage: 'processStage',
6810
7204
  referenceMaterialsShrink: 'referenceMaterials',
6811
7205
  styleFeature: 'styleFeature',
7206
+ useSearch: 'useSearch',
6812
7207
  writingTheme: 'writingTheme',
6813
7208
  };
6814
7209
  }
@@ -6816,8 +7211,10 @@ export class RunStyleWritingShrinkRequest extends $dara.Model {
6816
7211
  static types(): { [key: string]: any } {
6817
7212
  return {
6818
7213
  learningSamplesShrink: 'string',
7214
+ processStage: 'string',
6819
7215
  referenceMaterialsShrink: 'string',
6820
7216
  styleFeature: 'string',
7217
+ useSearch: 'boolean',
6821
7218
  writingTheme: 'string',
6822
7219
  };
6823
7220
  }
@@ -7388,20 +7785,18 @@ export class RunVideoAnalysisResponse extends $dara.Model {
7388
7785
  }
7389
7786
  }
7390
7787
 
7391
- export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7392
- frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
7393
- generateOptions?: string[];
7788
+ export class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
7394
7789
  /**
7395
7790
  * @example
7396
- * chinese
7791
+ * clueMining
7397
7792
  */
7398
- language?: string;
7399
- modelCustomPromptTemplate?: string;
7793
+ businessType?: string;
7794
+ contents?: string[];
7400
7795
  /**
7401
7796
  * @example
7402
- * PlotDetail
7797
+ * 额外信息
7403
7798
  */
7404
- modelCustomPromptTemplateId?: string;
7799
+ extraInfo?: string;
7405
7800
  /**
7406
7801
  * @example
7407
7802
  * qwen-max
@@ -7409,68 +7804,52 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7409
7804
  modelId?: string;
7410
7805
  /**
7411
7806
  * @example
7412
- * 2
7807
+ * 请返回如下JSON格式,{"key1":"","key2":""}
7413
7808
  */
7414
- snapshotInterval?: number;
7415
- videoExtraInfo?: string;
7416
- videoModelCustomPromptTemplate?: string;
7809
+ outputFormat?: string;
7810
+ tags?: SubmitTagMiningAnalysisTaskRequestTags[];
7417
7811
  /**
7418
7812
  * @example
7419
- * qwen-vl-max-latest
7813
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
7420
7814
  */
7421
- videoModelId?: string;
7422
- videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
7815
+ taskDescription?: string;
7423
7816
  /**
7424
- * @remarks
7425
- * This parameter is required.
7426
- *
7427
7817
  * @example
7428
- * http://xxxx.mp4
7818
+ * http://www.example.com/xxxx.txt
7429
7819
  */
7430
- videoUrl?: string;
7820
+ url?: string;
7431
7821
  static names(): { [key: string]: string } {
7432
7822
  return {
7433
- frameSampleMethod: 'frameSampleMethod',
7434
- generateOptions: 'generateOptions',
7435
- language: 'language',
7436
- modelCustomPromptTemplate: 'modelCustomPromptTemplate',
7437
- modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
7823
+ businessType: 'businessType',
7824
+ contents: 'contents',
7825
+ extraInfo: 'extraInfo',
7438
7826
  modelId: 'modelId',
7439
- snapshotInterval: 'snapshotInterval',
7440
- videoExtraInfo: 'videoExtraInfo',
7441
- videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
7442
- videoModelId: 'videoModelId',
7443
- videoRoles: 'videoRoles',
7444
- videoUrl: 'videoUrl',
7827
+ outputFormat: 'outputFormat',
7828
+ tags: 'tags',
7829
+ taskDescription: 'taskDescription',
7830
+ url: 'url',
7445
7831
  };
7446
7832
  }
7447
7833
 
7448
7834
  static types(): { [key: string]: any } {
7449
7835
  return {
7450
- frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
7451
- generateOptions: { 'type': 'array', 'itemType': 'string' },
7452
- language: 'string',
7453
- modelCustomPromptTemplate: 'string',
7454
- modelCustomPromptTemplateId: 'string',
7836
+ businessType: 'string',
7837
+ contents: { 'type': 'array', 'itemType': 'string' },
7838
+ extraInfo: 'string',
7455
7839
  modelId: 'string',
7456
- snapshotInterval: 'number',
7457
- videoExtraInfo: 'string',
7458
- videoModelCustomPromptTemplate: 'string',
7459
- videoModelId: 'string',
7460
- videoRoles: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestVideoRoles },
7461
- videoUrl: 'string',
7840
+ outputFormat: 'string',
7841
+ tags: { 'type': 'array', 'itemType': SubmitTagMiningAnalysisTaskRequestTags },
7842
+ taskDescription: 'string',
7843
+ url: 'string',
7462
7844
  };
7463
7845
  }
7464
7846
 
7465
7847
  validate() {
7466
- if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
7467
- (this.frameSampleMethod as any).validate();
7468
- }
7469
- if(Array.isArray(this.generateOptions)) {
7470
- $dara.Model.validateArray(this.generateOptions);
7848
+ if(Array.isArray(this.contents)) {
7849
+ $dara.Model.validateArray(this.contents);
7471
7850
  }
7472
- if(Array.isArray(this.videoRoles)) {
7473
- $dara.Model.validateArray(this.videoRoles);
7851
+ if(Array.isArray(this.tags)) {
7852
+ $dara.Model.validateArray(this.tags);
7474
7853
  }
7475
7854
  super.validate();
7476
7855
  }
@@ -7480,20 +7859,18 @@ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
7480
7859
  }
7481
7860
  }
7482
7861
 
7483
- export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7484
- frameSampleMethodShrink?: string;
7485
- generateOptionsShrink?: string;
7862
+ export class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
7486
7863
  /**
7487
7864
  * @example
7488
- * chinese
7865
+ * clueMining
7489
7866
  */
7490
- language?: string;
7491
- modelCustomPromptTemplate?: string;
7867
+ businessType?: string;
7868
+ contentsShrink?: string;
7492
7869
  /**
7493
7870
  * @example
7494
- * PlotDetail
7871
+ * 额外信息
7495
7872
  */
7496
- modelCustomPromptTemplateId?: string;
7873
+ extraInfo?: string;
7497
7874
  /**
7498
7875
  * @example
7499
7876
  * qwen-max
@@ -7501,33 +7878,294 @@ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
7501
7878
  modelId?: string;
7502
7879
  /**
7503
7880
  * @example
7504
- * 2
7881
+ * 请返回如下JSON格式,{"key1":"","key2":""}
7505
7882
  */
7506
- snapshotInterval?: number;
7507
- videoExtraInfo?: string;
7508
- videoModelCustomPromptTemplate?: string;
7883
+ outputFormat?: string;
7884
+ tagsShrink?: string;
7509
7885
  /**
7510
7886
  * @example
7511
- * qwen-vl-max-latest
7887
+ * 给你一条待分析文本数据,请你按照标签体系来对数据进行打标。
7512
7888
  */
7513
- videoModelId?: string;
7514
- videoRolesShrink?: string;
7889
+ taskDescription?: string;
7515
7890
  /**
7516
- * @remarks
7517
- * This parameter is required.
7518
- *
7519
7891
  * @example
7520
- * http://xxxx.mp4
7892
+ * http://www.example.com/xxxx.txt
7521
7893
  */
7522
- videoUrl?: string;
7894
+ url?: string;
7523
7895
  static names(): { [key: string]: string } {
7524
7896
  return {
7525
- frameSampleMethodShrink: 'frameSampleMethod',
7526
- generateOptionsShrink: 'generateOptions',
7527
- language: 'language',
7528
- modelCustomPromptTemplate: 'modelCustomPromptTemplate',
7529
- modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
7530
- modelId: 'modelId',
7897
+ businessType: 'businessType',
7898
+ contentsShrink: 'contents',
7899
+ extraInfo: 'extraInfo',
7900
+ modelId: 'modelId',
7901
+ outputFormat: 'outputFormat',
7902
+ tagsShrink: 'tags',
7903
+ taskDescription: 'taskDescription',
7904
+ url: 'url',
7905
+ };
7906
+ }
7907
+
7908
+ static types(): { [key: string]: any } {
7909
+ return {
7910
+ businessType: 'string',
7911
+ contentsShrink: 'string',
7912
+ extraInfo: 'string',
7913
+ modelId: 'string',
7914
+ outputFormat: 'string',
7915
+ tagsShrink: 'string',
7916
+ taskDescription: 'string',
7917
+ url: 'string',
7918
+ };
7919
+ }
7920
+
7921
+ validate() {
7922
+ super.validate();
7923
+ }
7924
+
7925
+ constructor(map?: { [key: string]: any }) {
7926
+ super(map);
7927
+ }
7928
+ }
7929
+
7930
+ export class SubmitTagMiningAnalysisTaskResponseBody extends $dara.Model {
7931
+ /**
7932
+ * @example
7933
+ * successful
7934
+ */
7935
+ code?: string;
7936
+ data?: SubmitTagMiningAnalysisTaskResponseBodyData;
7937
+ /**
7938
+ * @example
7939
+ * 200
7940
+ */
7941
+ httpStatusCode?: number;
7942
+ /**
7943
+ * @example
7944
+ * ok
7945
+ */
7946
+ message?: string;
7947
+ /**
7948
+ * @remarks
7949
+ * Id of the request
7950
+ *
7951
+ * @example
7952
+ * 117F5ABE-CF02-5502-9A3F-E56BC9081A64
7953
+ */
7954
+ requestId?: string;
7955
+ /**
7956
+ * @example
7957
+ * true
7958
+ */
7959
+ success?: boolean;
7960
+ static names(): { [key: string]: string } {
7961
+ return {
7962
+ code: 'code',
7963
+ data: 'data',
7964
+ httpStatusCode: 'httpStatusCode',
7965
+ message: 'message',
7966
+ requestId: 'requestId',
7967
+ success: 'success',
7968
+ };
7969
+ }
7970
+
7971
+ static types(): { [key: string]: any } {
7972
+ return {
7973
+ code: 'string',
7974
+ data: SubmitTagMiningAnalysisTaskResponseBodyData,
7975
+ httpStatusCode: 'number',
7976
+ message: 'string',
7977
+ requestId: 'string',
7978
+ success: 'boolean',
7979
+ };
7980
+ }
7981
+
7982
+ validate() {
7983
+ if(this.data && typeof (this.data as any).validate === 'function') {
7984
+ (this.data as any).validate();
7985
+ }
7986
+ super.validate();
7987
+ }
7988
+
7989
+ constructor(map?: { [key: string]: any }) {
7990
+ super(map);
7991
+ }
7992
+ }
7993
+
7994
+ export class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
7995
+ headers?: { [key: string]: string };
7996
+ statusCode?: number;
7997
+ body?: SubmitTagMiningAnalysisTaskResponseBody;
7998
+ static names(): { [key: string]: string } {
7999
+ return {
8000
+ headers: 'headers',
8001
+ statusCode: 'statusCode',
8002
+ body: 'body',
8003
+ };
8004
+ }
8005
+
8006
+ static types(): { [key: string]: any } {
8007
+ return {
8008
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8009
+ statusCode: 'number',
8010
+ body: SubmitTagMiningAnalysisTaskResponseBody,
8011
+ };
8012
+ }
8013
+
8014
+ validate() {
8015
+ if(this.headers) {
8016
+ $dara.Model.validateMap(this.headers);
8017
+ }
8018
+ if(this.body && typeof (this.body as any).validate === 'function') {
8019
+ (this.body as any).validate();
8020
+ }
8021
+ super.validate();
8022
+ }
8023
+
8024
+ constructor(map?: { [key: string]: any }) {
8025
+ super(map);
8026
+ }
8027
+ }
8028
+
8029
+ export class SubmitVideoAnalysisTaskRequest extends $dara.Model {
8030
+ frameSampleMethod?: SubmitVideoAnalysisTaskRequestFrameSampleMethod;
8031
+ generateOptions?: string[];
8032
+ /**
8033
+ * @example
8034
+ * chinese
8035
+ */
8036
+ language?: string;
8037
+ modelCustomPromptTemplate?: string;
8038
+ /**
8039
+ * @example
8040
+ * PlotDetail
8041
+ */
8042
+ modelCustomPromptTemplateId?: string;
8043
+ /**
8044
+ * @example
8045
+ * qwen-max
8046
+ */
8047
+ modelId?: string;
8048
+ /**
8049
+ * @example
8050
+ * 2
8051
+ */
8052
+ snapshotInterval?: number;
8053
+ videoExtraInfo?: string;
8054
+ videoModelCustomPromptTemplate?: string;
8055
+ /**
8056
+ * @example
8057
+ * qwen-vl-max-latest
8058
+ */
8059
+ videoModelId?: string;
8060
+ videoRoles?: SubmitVideoAnalysisTaskRequestVideoRoles[];
8061
+ /**
8062
+ * @remarks
8063
+ * This parameter is required.
8064
+ *
8065
+ * @example
8066
+ * http://xxxx.mp4
8067
+ */
8068
+ videoUrl?: string;
8069
+ static names(): { [key: string]: string } {
8070
+ return {
8071
+ frameSampleMethod: 'frameSampleMethod',
8072
+ generateOptions: 'generateOptions',
8073
+ language: 'language',
8074
+ modelCustomPromptTemplate: 'modelCustomPromptTemplate',
8075
+ modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
8076
+ modelId: 'modelId',
8077
+ snapshotInterval: 'snapshotInterval',
8078
+ videoExtraInfo: 'videoExtraInfo',
8079
+ videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
8080
+ videoModelId: 'videoModelId',
8081
+ videoRoles: 'videoRoles',
8082
+ videoUrl: 'videoUrl',
8083
+ };
8084
+ }
8085
+
8086
+ static types(): { [key: string]: any } {
8087
+ return {
8088
+ frameSampleMethod: SubmitVideoAnalysisTaskRequestFrameSampleMethod,
8089
+ generateOptions: { 'type': 'array', 'itemType': 'string' },
8090
+ language: 'string',
8091
+ modelCustomPromptTemplate: 'string',
8092
+ modelCustomPromptTemplateId: 'string',
8093
+ modelId: 'string',
8094
+ snapshotInterval: 'number',
8095
+ videoExtraInfo: 'string',
8096
+ videoModelCustomPromptTemplate: 'string',
8097
+ videoModelId: 'string',
8098
+ videoRoles: { 'type': 'array', 'itemType': SubmitVideoAnalysisTaskRequestVideoRoles },
8099
+ videoUrl: 'string',
8100
+ };
8101
+ }
8102
+
8103
+ validate() {
8104
+ if(this.frameSampleMethod && typeof (this.frameSampleMethod as any).validate === 'function') {
8105
+ (this.frameSampleMethod as any).validate();
8106
+ }
8107
+ if(Array.isArray(this.generateOptions)) {
8108
+ $dara.Model.validateArray(this.generateOptions);
8109
+ }
8110
+ if(Array.isArray(this.videoRoles)) {
8111
+ $dara.Model.validateArray(this.videoRoles);
8112
+ }
8113
+ super.validate();
8114
+ }
8115
+
8116
+ constructor(map?: { [key: string]: any }) {
8117
+ super(map);
8118
+ }
8119
+ }
8120
+
8121
+ export class SubmitVideoAnalysisTaskShrinkRequest extends $dara.Model {
8122
+ frameSampleMethodShrink?: string;
8123
+ generateOptionsShrink?: string;
8124
+ /**
8125
+ * @example
8126
+ * chinese
8127
+ */
8128
+ language?: string;
8129
+ modelCustomPromptTemplate?: string;
8130
+ /**
8131
+ * @example
8132
+ * PlotDetail
8133
+ */
8134
+ modelCustomPromptTemplateId?: string;
8135
+ /**
8136
+ * @example
8137
+ * qwen-max
8138
+ */
8139
+ modelId?: string;
8140
+ /**
8141
+ * @example
8142
+ * 2
8143
+ */
8144
+ snapshotInterval?: number;
8145
+ videoExtraInfo?: string;
8146
+ videoModelCustomPromptTemplate?: string;
8147
+ /**
8148
+ * @example
8149
+ * qwen-vl-max-latest
8150
+ */
8151
+ videoModelId?: string;
8152
+ videoRolesShrink?: string;
8153
+ /**
8154
+ * @remarks
8155
+ * This parameter is required.
8156
+ *
8157
+ * @example
8158
+ * http://xxxx.mp4
8159
+ */
8160
+ videoUrl?: string;
8161
+ static names(): { [key: string]: string } {
8162
+ return {
8163
+ frameSampleMethodShrink: 'frameSampleMethod',
8164
+ generateOptionsShrink: 'generateOptions',
8165
+ language: 'language',
8166
+ modelCustomPromptTemplate: 'modelCustomPromptTemplate',
8167
+ modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
8168
+ modelId: 'modelId',
7531
8169
  snapshotInterval: 'snapshotInterval',
7532
8170
  videoExtraInfo: 'videoExtraInfo',
7533
8171
  videoModelCustomPromptTemplate: 'videoModelCustomPromptTemplate',
@@ -7835,7 +8473,12 @@ export default class Client extends OpenApi {
7835
8473
  reqBodyType: "formData",
7836
8474
  bodyType: "json",
7837
8475
  });
7838
- return $dara.cast<GenerateBroadcastNewsResponse>(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
8476
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8477
+ return $dara.cast<GenerateBroadcastNewsResponse>(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
8478
+ } else {
8479
+ return $dara.cast<GenerateBroadcastNewsResponse>(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
8480
+ }
8481
+
7839
8482
  }
7840
8483
 
7841
8484
  /**
@@ -7902,7 +8545,12 @@ export default class Client extends OpenApi {
7902
8545
  reqBodyType: "formData",
7903
8546
  bodyType: "json",
7904
8547
  });
7905
- return $dara.cast<GenerateOutputFormatResponse>(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
8548
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8549
+ return $dara.cast<GenerateOutputFormatResponse>(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
8550
+ } else {
8551
+ return $dara.cast<GenerateOutputFormatResponse>(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
8552
+ }
8553
+
7906
8554
  }
7907
8555
 
7908
8556
  /**
@@ -7917,6 +8565,56 @@ export default class Client extends OpenApi {
7917
8565
  return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
7918
8566
  }
7919
8567
 
8568
+ /**
8569
+ * 获取挖掘分析任务结果
8570
+ *
8571
+ * @param request - GetTagMiningAnalysisTaskRequest
8572
+ * @param headers - map
8573
+ * @param runtime - runtime options for this request RuntimeOptions
8574
+ * @returns GetTagMiningAnalysisTaskResponse
8575
+ */
8576
+ async getTagMiningAnalysisTaskWithOptions(workspaceId: string, request: GetTagMiningAnalysisTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<GetTagMiningAnalysisTaskResponse> {
8577
+ request.validate();
8578
+ let query : {[key: string ]: any} = { };
8579
+ if (!$dara.isNull(request.taskId)) {
8580
+ query["taskId"] = request.taskId;
8581
+ }
8582
+
8583
+ let req = new $OpenApiUtil.OpenApiRequest({
8584
+ headers: headers,
8585
+ query: OpenApiUtil.query(query),
8586
+ });
8587
+ let params = new $OpenApiUtil.Params({
8588
+ action: "GetTagMiningAnalysisTask",
8589
+ version: "2024-08-01",
8590
+ protocol: "HTTPS",
8591
+ pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/getTagMiningAnalysisTask`,
8592
+ method: "GET",
8593
+ authType: "AK",
8594
+ style: "ROA",
8595
+ reqBodyType: "json",
8596
+ bodyType: "json",
8597
+ });
8598
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8599
+ return $dara.cast<GetTagMiningAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
8600
+ } else {
8601
+ return $dara.cast<GetTagMiningAnalysisTaskResponse>(await this.execute(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
8602
+ }
8603
+
8604
+ }
8605
+
8606
+ /**
8607
+ * 获取挖掘分析任务结果
8608
+ *
8609
+ * @param request - GetTagMiningAnalysisTaskRequest
8610
+ * @returns GetTagMiningAnalysisTaskResponse
8611
+ */
8612
+ async getTagMiningAnalysisTask(workspaceId: string, request: GetTagMiningAnalysisTaskRequest): Promise<GetTagMiningAnalysisTaskResponse> {
8613
+ let runtime = new $dara.RuntimeOptions({ });
8614
+ let headers : {[key: string ]: string} = { };
8615
+ return await this.getTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
8616
+ }
8617
+
7920
8618
  /**
7921
8619
  * 视频理解-获取配置
7922
8620
  *
@@ -7939,7 +8637,12 @@ export default class Client extends OpenApi {
7939
8637
  reqBodyType: "json",
7940
8638
  bodyType: "json",
7941
8639
  });
7942
- return $dara.cast<GetVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
8640
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8641
+ return $dara.cast<GetVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
8642
+ } else {
8643
+ return $dara.cast<GetVideoAnalysisConfigResponse>(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
8644
+ }
8645
+
7943
8646
  }
7944
8647
 
7945
8648
  /**
@@ -7982,7 +8685,12 @@ export default class Client extends OpenApi {
7982
8685
  reqBodyType: "json",
7983
8686
  bodyType: "json",
7984
8687
  });
7985
- return $dara.cast<GetVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
8688
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8689
+ return $dara.cast<GetVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
8690
+ } else {
8691
+ return $dara.cast<GetVideoAnalysisTaskResponse>(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
8692
+ }
8693
+
7986
8694
  }
7987
8695
 
7988
8696
  /**
@@ -8043,7 +8751,12 @@ export default class Client extends OpenApi {
8043
8751
  reqBodyType: "formData",
8044
8752
  bodyType: "json",
8045
8753
  });
8046
- return $dara.cast<ListHotTopicSummariesResponse>(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
8754
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8755
+ return $dara.cast<ListHotTopicSummariesResponse>(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
8756
+ } else {
8757
+ return $dara.cast<ListHotTopicSummariesResponse>(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
8758
+ }
8759
+
8047
8760
  }
8048
8761
 
8049
8762
  /**
@@ -8150,7 +8863,12 @@ export default class Client extends OpenApi {
8150
8863
  reqBodyType: "formData",
8151
8864
  bodyType: "json",
8152
8865
  });
8153
- return $dara.cast<RunHotTopicChatResponse>(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
8866
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8867
+ return $dara.cast<RunHotTopicChatResponse>(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
8868
+ } else {
8869
+ return $dara.cast<RunHotTopicChatResponse>(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
8870
+ }
8871
+
8154
8872
  }
8155
8873
 
8156
8874
  /**
@@ -8213,7 +8931,12 @@ export default class Client extends OpenApi {
8213
8931
  reqBodyType: "formData",
8214
8932
  bodyType: "json",
8215
8933
  });
8216
- return $dara.cast<RunHotTopicSummaryResponse>(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
8934
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
8935
+ return $dara.cast<RunHotTopicSummaryResponse>(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
8936
+ } else {
8937
+ return $dara.cast<RunHotTopicSummaryResponse>(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
8938
+ }
8939
+
8217
8940
  }
8218
8941
 
8219
8942
  /**
@@ -8276,7 +8999,12 @@ export default class Client extends OpenApi {
8276
8999
  reqBodyType: "formData",
8277
9000
  bodyType: "json",
8278
9001
  });
8279
- return $dara.cast<RunMarketingInformationExtractResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
9002
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9003
+ return $dara.cast<RunMarketingInformationExtractResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
9004
+ } else {
9005
+ return $dara.cast<RunMarketingInformationExtractResponse>(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
9006
+ }
9007
+
8280
9008
  }
8281
9009
 
8282
9010
  /**
@@ -8345,7 +9073,12 @@ export default class Client extends OpenApi {
8345
9073
  reqBodyType: "formData",
8346
9074
  bodyType: "json",
8347
9075
  });
8348
- return $dara.cast<RunMarketingInformationWritingResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
9076
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9077
+ return $dara.cast<RunMarketingInformationWritingResponse>(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
9078
+ } else {
9079
+ return $dara.cast<RunMarketingInformationWritingResponse>(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
9080
+ }
9081
+
8349
9082
  }
8350
9083
 
8351
9084
  /**
@@ -8420,7 +9153,12 @@ export default class Client extends OpenApi {
8420
9153
  reqBodyType: "formData",
8421
9154
  bodyType: "json",
8422
9155
  });
8423
- return $dara.cast<RunNetworkContentAuditResponse>(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
9156
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9157
+ return $dara.cast<RunNetworkContentAuditResponse>(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
9158
+ } else {
9159
+ return $dara.cast<RunNetworkContentAuditResponse>(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
9160
+ }
9161
+
8424
9162
  }
8425
9163
 
8426
9164
  /**
@@ -8469,7 +9207,12 @@ export default class Client extends OpenApi {
8469
9207
  reqBodyType: "formData",
8470
9208
  bodyType: "json",
8471
9209
  });
8472
- return $dara.cast<RunScriptChatResponse>(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
9210
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9211
+ return $dara.cast<RunScriptChatResponse>(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
9212
+ } else {
9213
+ return $dara.cast<RunScriptChatResponse>(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
9214
+ }
9215
+
8473
9216
  }
8474
9217
 
8475
9218
  /**
@@ -8522,7 +9265,12 @@ export default class Client extends OpenApi {
8522
9265
  reqBodyType: "formData",
8523
9266
  bodyType: "json",
8524
9267
  });
8525
- return $dara.cast<RunScriptContinueResponse>(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
9268
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9269
+ return $dara.cast<RunScriptContinueResponse>(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
9270
+ } else {
9271
+ return $dara.cast<RunScriptContinueResponse>(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
9272
+ }
9273
+
8526
9274
  }
8527
9275
 
8528
9276
  /**
@@ -8591,7 +9339,12 @@ export default class Client extends OpenApi {
8591
9339
  reqBodyType: "formData",
8592
9340
  bodyType: "json",
8593
9341
  });
8594
- return $dara.cast<RunScriptPlanningResponse>(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
9342
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9343
+ return $dara.cast<RunScriptPlanningResponse>(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
9344
+ } else {
9345
+ return $dara.cast<RunScriptPlanningResponse>(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
9346
+ }
9347
+
8595
9348
  }
8596
9349
 
8597
9350
  /**
@@ -8636,7 +9389,12 @@ export default class Client extends OpenApi {
8636
9389
  reqBodyType: "formData",
8637
9390
  bodyType: "json",
8638
9391
  });
8639
- return $dara.cast<RunScriptRefineResponse>(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
9392
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9393
+ return $dara.cast<RunScriptRefineResponse>(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
9394
+ } else {
9395
+ return $dara.cast<RunScriptRefineResponse>(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
9396
+ }
9397
+
8640
9398
  }
8641
9399
 
8642
9400
  /**
@@ -8676,6 +9434,10 @@ export default class Client extends OpenApi {
8676
9434
  body["learningSamples"] = request.learningSamplesShrink;
8677
9435
  }
8678
9436
 
9437
+ if (!$dara.isNull(request.processStage)) {
9438
+ body["processStage"] = request.processStage;
9439
+ }
9440
+
8679
9441
  if (!$dara.isNull(request.referenceMaterialsShrink)) {
8680
9442
  body["referenceMaterials"] = request.referenceMaterialsShrink;
8681
9443
  }
@@ -8684,6 +9446,10 @@ export default class Client extends OpenApi {
8684
9446
  body["styleFeature"] = request.styleFeature;
8685
9447
  }
8686
9448
 
9449
+ if (!$dara.isNull(request.useSearch)) {
9450
+ body["useSearch"] = request.useSearch;
9451
+ }
9452
+
8687
9453
  if (!$dara.isNull(request.writingTheme)) {
8688
9454
  body["writingTheme"] = request.writingTheme;
8689
9455
  }
@@ -8703,7 +9469,12 @@ export default class Client extends OpenApi {
8703
9469
  reqBodyType: "formData",
8704
9470
  bodyType: "json",
8705
9471
  });
8706
- return $dara.cast<RunStyleWritingResponse>(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
9472
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9473
+ return $dara.cast<RunStyleWritingResponse>(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
9474
+ } else {
9475
+ return $dara.cast<RunStyleWritingResponse>(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
9476
+ }
9477
+
8707
9478
  }
8708
9479
 
8709
9480
  /**
@@ -8778,7 +9549,12 @@ export default class Client extends OpenApi {
8778
9549
  reqBodyType: "formData",
8779
9550
  bodyType: "json",
8780
9551
  });
8781
- return $dara.cast<RunTagMiningAnalysisResponse>(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
9552
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9553
+ return $dara.cast<RunTagMiningAnalysisResponse>(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
9554
+ } else {
9555
+ return $dara.cast<RunTagMiningAnalysisResponse>(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
9556
+ }
9557
+
8782
9558
  }
8783
9559
 
8784
9560
  /**
@@ -8889,7 +9665,12 @@ export default class Client extends OpenApi {
8889
9665
  reqBodyType: "formData",
8890
9666
  bodyType: "json",
8891
9667
  });
8892
- return $dara.cast<RunVideoAnalysisResponse>(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
9668
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9669
+ return $dara.cast<RunVideoAnalysisResponse>(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
9670
+ } else {
9671
+ return $dara.cast<RunVideoAnalysisResponse>(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
9672
+ }
9673
+
8893
9674
  }
8894
9675
 
8895
9676
  /**
@@ -8904,6 +9685,94 @@ export default class Client extends OpenApi {
8904
9685
  return await this.runVideoAnalysisWithOptions(workspaceId, request, headers, runtime);
8905
9686
  }
8906
9687
 
9688
+ /**
9689
+ * 轻应用-标签挖掘
9690
+ *
9691
+ * @param tmpReq - SubmitTagMiningAnalysisTaskRequest
9692
+ * @param headers - map
9693
+ * @param runtime - runtime options for this request RuntimeOptions
9694
+ * @returns SubmitTagMiningAnalysisTaskResponse
9695
+ */
9696
+ async submitTagMiningAnalysisTaskWithOptions(workspaceId: string, tmpReq: SubmitTagMiningAnalysisTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<SubmitTagMiningAnalysisTaskResponse> {
9697
+ tmpReq.validate();
9698
+ let request = new SubmitTagMiningAnalysisTaskShrinkRequest({ });
9699
+ OpenApiUtil.convert(tmpReq, request);
9700
+ if (!$dara.isNull(tmpReq.contents)) {
9701
+ request.contentsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contents, "contents", "json");
9702
+ }
9703
+
9704
+ if (!$dara.isNull(tmpReq.tags)) {
9705
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
9706
+ }
9707
+
9708
+ let body : {[key: string ]: any} = { };
9709
+ if (!$dara.isNull(request.businessType)) {
9710
+ body["businessType"] = request.businessType;
9711
+ }
9712
+
9713
+ if (!$dara.isNull(request.contentsShrink)) {
9714
+ body["contents"] = request.contentsShrink;
9715
+ }
9716
+
9717
+ if (!$dara.isNull(request.extraInfo)) {
9718
+ body["extraInfo"] = request.extraInfo;
9719
+ }
9720
+
9721
+ if (!$dara.isNull(request.modelId)) {
9722
+ body["modelId"] = request.modelId;
9723
+ }
9724
+
9725
+ if (!$dara.isNull(request.outputFormat)) {
9726
+ body["outputFormat"] = request.outputFormat;
9727
+ }
9728
+
9729
+ if (!$dara.isNull(request.tagsShrink)) {
9730
+ body["tags"] = request.tagsShrink;
9731
+ }
9732
+
9733
+ if (!$dara.isNull(request.taskDescription)) {
9734
+ body["taskDescription"] = request.taskDescription;
9735
+ }
9736
+
9737
+ if (!$dara.isNull(request.url)) {
9738
+ body["url"] = request.url;
9739
+ }
9740
+
9741
+ let req = new $OpenApiUtil.OpenApiRequest({
9742
+ headers: headers,
9743
+ body: OpenApiUtil.parseToMap(body),
9744
+ });
9745
+ let params = new $OpenApiUtil.Params({
9746
+ action: "SubmitTagMiningAnalysisTask",
9747
+ version: "2024-08-01",
9748
+ protocol: "HTTPS",
9749
+ pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/submitTagMiningAnalysisTask`,
9750
+ method: "POST",
9751
+ authType: "AK",
9752
+ style: "ROA",
9753
+ reqBodyType: "formData",
9754
+ bodyType: "json",
9755
+ });
9756
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9757
+ return $dara.cast<SubmitTagMiningAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
9758
+ } else {
9759
+ return $dara.cast<SubmitTagMiningAnalysisTaskResponse>(await this.execute(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
9760
+ }
9761
+
9762
+ }
9763
+
9764
+ /**
9765
+ * 轻应用-标签挖掘
9766
+ *
9767
+ * @param request - SubmitTagMiningAnalysisTaskRequest
9768
+ * @returns SubmitTagMiningAnalysisTaskResponse
9769
+ */
9770
+ async submitTagMiningAnalysisTask(workspaceId: string, request: SubmitTagMiningAnalysisTaskRequest): Promise<SubmitTagMiningAnalysisTaskResponse> {
9771
+ let runtime = new $dara.RuntimeOptions({ });
9772
+ let headers : {[key: string ]: string} = { };
9773
+ return await this.submitTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
9774
+ }
9775
+
8907
9776
  /**
8908
9777
  * 轻应用-提交视频理解任务
8909
9778
  *
@@ -8992,7 +9861,12 @@ export default class Client extends OpenApi {
8992
9861
  reqBodyType: "formData",
8993
9862
  bodyType: "json",
8994
9863
  });
8995
- return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9864
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9865
+ return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9866
+ } else {
9867
+ return $dara.cast<SubmitVideoAnalysisTaskResponse>(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
9868
+ }
9869
+
8996
9870
  }
8997
9871
 
8998
9872
  /**
@@ -9037,7 +9911,12 @@ export default class Client extends OpenApi {
9037
9911
  reqBodyType: "formData",
9038
9912
  bodyType: "json",
9039
9913
  });
9040
- return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9914
+ if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
9915
+ return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9916
+ } else {
9917
+ return $dara.cast<UpdateVideoAnalysisConfigResponse>(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
9918
+ }
9919
+
9041
9920
  }
9042
9921
 
9043
9922
  /**