@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/dist/client.d.ts +425 -24
- package/dist/client.js +659 -23
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1008 -129
package/dist/client.js
CHANGED
|
@@ -36,10 +36,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
36
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.UpdateVideoAnalysisConfigResponse = exports.UpdateVideoAnalysisConfigResponseBody = exports.UpdateVideoAnalysisConfigRequest = exports.SubmitVideoAnalysisTaskResponse = exports.SubmitVideoAnalysisTaskResponseBody = exports.SubmitVideoAnalysisTaskShrinkRequest = exports.SubmitVideoAnalysisTaskRequest = exports.RunVideoAnalysisResponse = exports.RunVideoAnalysisResponseBody = exports.RunVideoAnalysisShrinkRequest = exports.RunVideoAnalysisRequest = exports.RunTagMiningAnalysisResponse = exports.RunTagMiningAnalysisResponseBody = exports.RunTagMiningAnalysisShrinkRequest = exports.RunTagMiningAnalysisRequest = exports.RunStyleWritingResponse = exports.RunStyleWritingResponseBody = exports.RunStyleWritingShrinkRequest = exports.RunStyleWritingRequest = exports.RunScriptRefineResponse = exports.RunScriptRefineResponseBody = exports.RunScriptRefineRequest = exports.RunScriptPlanningResponse = exports.RunScriptPlanningResponseBody = exports.RunScriptPlanningRequest = exports.RunScriptContinueResponse = exports.RunScriptContinueResponseBody = exports.RunScriptContinueRequest = void 0;
|
|
39
|
+
exports.RunHotTopicChatResponseBodyPayload = exports.RunHotTopicChatResponseBodyPayloadUsage = exports.RunHotTopicChatResponseBodyPayloadOutput = exports.RunHotTopicChatResponseBodyPayloadOutputMultimodalMedias = exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries = exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews = exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages = exports.RunHotTopicChatResponseBodyPayloadOutputArticles = exports.RunHotTopicChatResponseBodyHeader = exports.RunHotTopicChatRequestStepForBroadcastContentConfig = exports.RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights = exports.RunHotTopicChatRequestMessages = exports.ListHotTopicSummariesResponseBodyData = exports.ListHotTopicSummariesResponseBodyDataSummary = exports.ListHotTopicSummariesResponseBodyDataSummarySummaries = exports.ListHotTopicSummariesResponseBodyDataNews = exports.ListHotTopicSummariesResponseBodyDataNewsComments = exports.GetVideoAnalysisTaskResponseBodyData = exports.GetVideoAnalysisTaskResponseBodyDataTaskRunInfo = exports.GetVideoAnalysisTaskResponseBodyDataPayload = exports.GetVideoAnalysisTaskResponseBodyDataPayloadUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutput = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappings = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodes = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodesChildNodes = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResultVideoCaptions = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataHeader = exports.GetVideoAnalysisConfigResponseBodyData = exports.GetTagMiningAnalysisTaskResponseBodyData = exports.GetTagMiningAnalysisTaskResponseBodyDataResults = exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayload = exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage = exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput = exports.GetTagMiningAnalysisTaskResponseBodyDataResultsHeader = exports.GenerateOutputFormatResponseBodyData = exports.GenerateOutputFormatRequestTags = exports.GenerateBroadcastNewsResponseBodyData = exports.GenerateBroadcastNewsResponseBodyDataUsage = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummaries = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages = void 0;
|
|
40
|
+
exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResultVideoCaptions = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultUsage = exports.RunVideoAnalysisResponseBodyHeader = exports.RunVideoAnalysisRequestVideoRoles = exports.RunVideoAnalysisRequestFrameSampleMethod = exports.RunTagMiningAnalysisResponseBodyPayload = exports.RunTagMiningAnalysisResponseBodyPayloadUsage = exports.RunTagMiningAnalysisResponseBodyPayloadOutput = exports.RunTagMiningAnalysisResponseBodyHeader = exports.RunTagMiningAnalysisRequestTags = exports.RunStyleWritingResponseBodyPayload = exports.RunStyleWritingResponseBodyPayloadUsage = exports.RunStyleWritingResponseBodyPayloadOutput = exports.RunStyleWritingResponseBodyHeader = exports.RunScriptRefineResponseBodyPayload = exports.RunScriptRefineResponseBodyPayloadUsage = exports.RunScriptRefineResponseBodyPayloadOutput = exports.RunScriptRefineResponseBodyHeader = exports.RunScriptPlanningResponseBodyPayload = exports.RunScriptPlanningResponseBodyPayloadUsage = exports.RunScriptPlanningResponseBodyPayloadOutput = exports.RunScriptPlanningResponseBodyHeader = exports.RunScriptContinueResponseBodyPayload = exports.RunScriptContinueResponseBodyPayloadUsage = exports.RunScriptContinueResponseBodyPayloadOutput = exports.RunScriptContinueResponseBodyHeader = exports.RunScriptChatResponseBodyPayload = exports.RunScriptChatResponseBodyPayloadUsage = exports.RunScriptChatResponseBodyPayloadOutput = exports.RunScriptChatResponseBodyHeader = exports.RunNetworkContentAuditResponseBodyPayload = exports.RunNetworkContentAuditResponseBodyPayloadUsage = exports.RunNetworkContentAuditResponseBodyPayloadOutput = exports.RunNetworkContentAuditResponseBodyHeader = exports.RunNetworkContentAuditRequestTags = exports.RunMarketingInformationWritingResponseBodyPayload = exports.RunMarketingInformationWritingResponseBodyPayloadUsage = exports.RunMarketingInformationWritingResponseBodyPayloadOutput = exports.RunMarketingInformationWritingResponseBodyHeader = exports.RunMarketingInformationExtractResponseBodyPayload = exports.RunMarketingInformationExtractResponseBodyPayloadUsage = exports.RunMarketingInformationExtractResponseBodyPayloadOutput = exports.RunMarketingInformationExtractResponseBodyHeader = exports.RunHotTopicSummaryResponseBodyPayload = exports.RunHotTopicSummaryResponseBodyPayloadUsage = exports.RunHotTopicSummaryResponseBodyPayloadOutput = exports.RunHotTopicSummaryResponseBodyHeader = exports.RunHotTopicSummaryRequestStepForCustomSummaryStyleConfig = void 0;
|
|
41
|
+
exports.RunMarketingInformationExtractResponseBody = exports.RunMarketingInformationExtractShrinkRequest = exports.RunMarketingInformationExtractRequest = exports.RunHotTopicSummaryResponse = exports.RunHotTopicSummaryResponseBody = exports.RunHotTopicSummaryShrinkRequest = exports.RunHotTopicSummaryRequest = exports.RunHotTopicChatResponse = exports.RunHotTopicChatResponseBody = exports.RunHotTopicChatShrinkRequest = exports.RunHotTopicChatRequest = exports.ListHotTopicSummariesResponse = exports.ListHotTopicSummariesResponseBody = exports.ListHotTopicSummariesRequest = exports.GetVideoAnalysisTaskResponse = exports.GetVideoAnalysisTaskResponseBody = exports.GetVideoAnalysisTaskRequest = exports.GetVideoAnalysisConfigResponse = exports.GetVideoAnalysisConfigResponseBody = exports.GetTagMiningAnalysisTaskResponse = exports.GetTagMiningAnalysisTaskResponseBody = exports.GetTagMiningAnalysisTaskRequest = exports.GenerateOutputFormatResponse = exports.GenerateOutputFormatResponseBody = exports.GenerateOutputFormatShrinkRequest = exports.GenerateOutputFormatRequest = exports.GenerateBroadcastNewsResponse = exports.GenerateBroadcastNewsResponseBody = exports.GenerateBroadcastNewsRequest = exports.SubmitVideoAnalysisTaskResponseBodyData = exports.SubmitVideoAnalysisTaskRequestVideoRoles = exports.SubmitVideoAnalysisTaskRequestFrameSampleMethod = exports.SubmitTagMiningAnalysisTaskResponseBodyData = exports.SubmitTagMiningAnalysisTaskRequestTags = exports.RunVideoAnalysisResponseBodyPayload = exports.RunVideoAnalysisResponseBodyPayloadUsage = exports.RunVideoAnalysisResponseBodyPayloadOutput = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResultVideoShots = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResultVideoShotsVideoSnapshots = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappings = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodesChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult = void 0;
|
|
42
|
+
exports.UpdateVideoAnalysisConfigResponse = exports.UpdateVideoAnalysisConfigResponseBody = exports.UpdateVideoAnalysisConfigRequest = exports.SubmitVideoAnalysisTaskResponse = exports.SubmitVideoAnalysisTaskResponseBody = exports.SubmitVideoAnalysisTaskShrinkRequest = exports.SubmitVideoAnalysisTaskRequest = exports.SubmitTagMiningAnalysisTaskResponse = exports.SubmitTagMiningAnalysisTaskResponseBody = exports.SubmitTagMiningAnalysisTaskShrinkRequest = exports.SubmitTagMiningAnalysisTaskRequest = exports.RunVideoAnalysisResponse = exports.RunVideoAnalysisResponseBody = exports.RunVideoAnalysisShrinkRequest = exports.RunVideoAnalysisRequest = exports.RunTagMiningAnalysisResponse = exports.RunTagMiningAnalysisResponseBody = exports.RunTagMiningAnalysisShrinkRequest = exports.RunTagMiningAnalysisRequest = exports.RunStyleWritingResponse = exports.RunStyleWritingResponseBody = exports.RunStyleWritingShrinkRequest = exports.RunStyleWritingRequest = exports.RunScriptRefineResponse = exports.RunScriptRefineResponseBody = exports.RunScriptRefineRequest = exports.RunScriptPlanningResponse = exports.RunScriptPlanningResponseBody = exports.RunScriptPlanningRequest = exports.RunScriptContinueResponse = exports.RunScriptContinueResponseBody = exports.RunScriptContinueRequest = exports.RunScriptChatResponse = exports.RunScriptChatResponseBody = exports.RunScriptChatRequest = exports.RunNetworkContentAuditResponse = exports.RunNetworkContentAuditResponseBody = exports.RunNetworkContentAuditShrinkRequest = exports.RunNetworkContentAuditRequest = exports.RunMarketingInformationWritingResponse = exports.RunMarketingInformationWritingResponseBody = exports.RunMarketingInformationWritingRequest = exports.RunMarketingInformationExtractResponse = void 0;
|
|
43
43
|
// This file is auto-generated, don't edit it
|
|
44
44
|
/**
|
|
45
45
|
*/
|
|
@@ -195,6 +195,157 @@ class GenerateOutputFormatResponseBodyData extends $dara.Model {
|
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
exports.GenerateOutputFormatResponseBodyData = GenerateOutputFormatResponseBodyData;
|
|
198
|
+
class GetTagMiningAnalysisTaskResponseBodyDataResultsHeader extends $dara.Model {
|
|
199
|
+
static names() {
|
|
200
|
+
return {
|
|
201
|
+
errorCode: 'errorCode',
|
|
202
|
+
errorMessage: 'errorMessage',
|
|
203
|
+
event: 'event',
|
|
204
|
+
requestId: 'requestId',
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
static types() {
|
|
208
|
+
return {
|
|
209
|
+
errorCode: 'string',
|
|
210
|
+
errorMessage: 'string',
|
|
211
|
+
event: 'string',
|
|
212
|
+
requestId: 'string',
|
|
213
|
+
};
|
|
214
|
+
}
|
|
215
|
+
validate() {
|
|
216
|
+
super.validate();
|
|
217
|
+
}
|
|
218
|
+
constructor(map) {
|
|
219
|
+
super(map);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
exports.GetTagMiningAnalysisTaskResponseBodyDataResultsHeader = GetTagMiningAnalysisTaskResponseBodyDataResultsHeader;
|
|
223
|
+
class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput extends $dara.Model {
|
|
224
|
+
static names() {
|
|
225
|
+
return {
|
|
226
|
+
text: 'text',
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
static types() {
|
|
230
|
+
return {
|
|
231
|
+
text: 'string',
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
validate() {
|
|
235
|
+
super.validate();
|
|
236
|
+
}
|
|
237
|
+
constructor(map) {
|
|
238
|
+
super(map);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput = GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput;
|
|
242
|
+
class GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage extends $dara.Model {
|
|
243
|
+
static names() {
|
|
244
|
+
return {
|
|
245
|
+
inputToken: 'inputToken',
|
|
246
|
+
outputToken: 'outputToken',
|
|
247
|
+
totalToken: 'totalToken',
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
static types() {
|
|
251
|
+
return {
|
|
252
|
+
inputToken: 'number',
|
|
253
|
+
outputToken: 'number',
|
|
254
|
+
totalToken: 'number',
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
validate() {
|
|
258
|
+
super.validate();
|
|
259
|
+
}
|
|
260
|
+
constructor(map) {
|
|
261
|
+
super(map);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage = GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage;
|
|
265
|
+
class GetTagMiningAnalysisTaskResponseBodyDataResultsPayload extends $dara.Model {
|
|
266
|
+
static names() {
|
|
267
|
+
return {
|
|
268
|
+
output: 'output',
|
|
269
|
+
usage: 'usage',
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
static types() {
|
|
273
|
+
return {
|
|
274
|
+
output: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadOutput,
|
|
275
|
+
usage: GetTagMiningAnalysisTaskResponseBodyDataResultsPayloadUsage,
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
validate() {
|
|
279
|
+
if (this.output && typeof this.output.validate === 'function') {
|
|
280
|
+
this.output.validate();
|
|
281
|
+
}
|
|
282
|
+
if (this.usage && typeof this.usage.validate === 'function') {
|
|
283
|
+
this.usage.validate();
|
|
284
|
+
}
|
|
285
|
+
super.validate();
|
|
286
|
+
}
|
|
287
|
+
constructor(map) {
|
|
288
|
+
super(map);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
exports.GetTagMiningAnalysisTaskResponseBodyDataResultsPayload = GetTagMiningAnalysisTaskResponseBodyDataResultsPayload;
|
|
292
|
+
class GetTagMiningAnalysisTaskResponseBodyDataResults extends $dara.Model {
|
|
293
|
+
static names() {
|
|
294
|
+
return {
|
|
295
|
+
customId: 'customId',
|
|
296
|
+
header: 'header',
|
|
297
|
+
payload: 'payload',
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
static types() {
|
|
301
|
+
return {
|
|
302
|
+
customId: 'string',
|
|
303
|
+
header: GetTagMiningAnalysisTaskResponseBodyDataResultsHeader,
|
|
304
|
+
payload: GetTagMiningAnalysisTaskResponseBodyDataResultsPayload,
|
|
305
|
+
};
|
|
306
|
+
}
|
|
307
|
+
validate() {
|
|
308
|
+
if (this.header && typeof this.header.validate === 'function') {
|
|
309
|
+
this.header.validate();
|
|
310
|
+
}
|
|
311
|
+
if (this.payload && typeof this.payload.validate === 'function') {
|
|
312
|
+
this.payload.validate();
|
|
313
|
+
}
|
|
314
|
+
super.validate();
|
|
315
|
+
}
|
|
316
|
+
constructor(map) {
|
|
317
|
+
super(map);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
exports.GetTagMiningAnalysisTaskResponseBodyDataResults = GetTagMiningAnalysisTaskResponseBodyDataResults;
|
|
321
|
+
class GetTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
|
|
322
|
+
static names() {
|
|
323
|
+
return {
|
|
324
|
+
errorCode: 'errorCode',
|
|
325
|
+
errorMessage: 'errorMessage',
|
|
326
|
+
results: 'results',
|
|
327
|
+
status: 'status',
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
static types() {
|
|
331
|
+
return {
|
|
332
|
+
errorCode: 'string',
|
|
333
|
+
errorMessage: 'string',
|
|
334
|
+
results: { 'type': 'array', 'itemType': GetTagMiningAnalysisTaskResponseBodyDataResults },
|
|
335
|
+
status: 'string',
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
validate() {
|
|
339
|
+
if (Array.isArray(this.results)) {
|
|
340
|
+
$dara.Model.validateArray(this.results);
|
|
341
|
+
}
|
|
342
|
+
super.validate();
|
|
343
|
+
}
|
|
344
|
+
constructor(map) {
|
|
345
|
+
super(map);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
exports.GetTagMiningAnalysisTaskResponseBodyData = GetTagMiningAnalysisTaskResponseBodyData;
|
|
198
349
|
class GetVideoAnalysisConfigResponseBodyData extends $dara.Model {
|
|
199
350
|
static names() {
|
|
200
351
|
return {
|
|
@@ -2897,6 +3048,46 @@ class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
|
|
|
2897
3048
|
}
|
|
2898
3049
|
}
|
|
2899
3050
|
exports.RunVideoAnalysisResponseBodyPayload = RunVideoAnalysisResponseBodyPayload;
|
|
3051
|
+
class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
|
|
3052
|
+
static names() {
|
|
3053
|
+
return {
|
|
3054
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3055
|
+
tagName: 'tagName',
|
|
3056
|
+
};
|
|
3057
|
+
}
|
|
3058
|
+
static types() {
|
|
3059
|
+
return {
|
|
3060
|
+
tagDefinePrompt: 'string',
|
|
3061
|
+
tagName: 'string',
|
|
3062
|
+
};
|
|
3063
|
+
}
|
|
3064
|
+
validate() {
|
|
3065
|
+
super.validate();
|
|
3066
|
+
}
|
|
3067
|
+
constructor(map) {
|
|
3068
|
+
super(map);
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
exports.SubmitTagMiningAnalysisTaskRequestTags = SubmitTagMiningAnalysisTaskRequestTags;
|
|
3072
|
+
class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
|
|
3073
|
+
static names() {
|
|
3074
|
+
return {
|
|
3075
|
+
taskId: 'taskId',
|
|
3076
|
+
};
|
|
3077
|
+
}
|
|
3078
|
+
static types() {
|
|
3079
|
+
return {
|
|
3080
|
+
taskId: 'string',
|
|
3081
|
+
};
|
|
3082
|
+
}
|
|
3083
|
+
validate() {
|
|
3084
|
+
super.validate();
|
|
3085
|
+
}
|
|
3086
|
+
constructor(map) {
|
|
3087
|
+
super(map);
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
exports.SubmitTagMiningAnalysisTaskResponseBodyData = SubmitTagMiningAnalysisTaskResponseBodyData;
|
|
2900
3091
|
class SubmitVideoAnalysisTaskRequestFrameSampleMethod extends $dara.Model {
|
|
2901
3092
|
static names() {
|
|
2902
3093
|
return {
|
|
@@ -3163,6 +3354,86 @@ class GenerateOutputFormatResponse extends $dara.Model {
|
|
|
3163
3354
|
}
|
|
3164
3355
|
}
|
|
3165
3356
|
exports.GenerateOutputFormatResponse = GenerateOutputFormatResponse;
|
|
3357
|
+
class GetTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
3358
|
+
static names() {
|
|
3359
|
+
return {
|
|
3360
|
+
taskId: 'taskId',
|
|
3361
|
+
};
|
|
3362
|
+
}
|
|
3363
|
+
static types() {
|
|
3364
|
+
return {
|
|
3365
|
+
taskId: 'string',
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
validate() {
|
|
3369
|
+
super.validate();
|
|
3370
|
+
}
|
|
3371
|
+
constructor(map) {
|
|
3372
|
+
super(map);
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
exports.GetTagMiningAnalysisTaskRequest = GetTagMiningAnalysisTaskRequest;
|
|
3376
|
+
class GetTagMiningAnalysisTaskResponseBody extends $dara.Model {
|
|
3377
|
+
static names() {
|
|
3378
|
+
return {
|
|
3379
|
+
code: 'code',
|
|
3380
|
+
data: 'data',
|
|
3381
|
+
httpStatusCode: 'httpStatusCode',
|
|
3382
|
+
message: 'message',
|
|
3383
|
+
requestId: 'requestId',
|
|
3384
|
+
success: 'success',
|
|
3385
|
+
};
|
|
3386
|
+
}
|
|
3387
|
+
static types() {
|
|
3388
|
+
return {
|
|
3389
|
+
code: 'string',
|
|
3390
|
+
data: GetTagMiningAnalysisTaskResponseBodyData,
|
|
3391
|
+
httpStatusCode: 'string',
|
|
3392
|
+
message: 'string',
|
|
3393
|
+
requestId: 'string',
|
|
3394
|
+
success: 'boolean',
|
|
3395
|
+
};
|
|
3396
|
+
}
|
|
3397
|
+
validate() {
|
|
3398
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
3399
|
+
this.data.validate();
|
|
3400
|
+
}
|
|
3401
|
+
super.validate();
|
|
3402
|
+
}
|
|
3403
|
+
constructor(map) {
|
|
3404
|
+
super(map);
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
exports.GetTagMiningAnalysisTaskResponseBody = GetTagMiningAnalysisTaskResponseBody;
|
|
3408
|
+
class GetTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
3409
|
+
static names() {
|
|
3410
|
+
return {
|
|
3411
|
+
headers: 'headers',
|
|
3412
|
+
statusCode: 'statusCode',
|
|
3413
|
+
body: 'body',
|
|
3414
|
+
};
|
|
3415
|
+
}
|
|
3416
|
+
static types() {
|
|
3417
|
+
return {
|
|
3418
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3419
|
+
statusCode: 'number',
|
|
3420
|
+
body: GetTagMiningAnalysisTaskResponseBody,
|
|
3421
|
+
};
|
|
3422
|
+
}
|
|
3423
|
+
validate() {
|
|
3424
|
+
if (this.headers) {
|
|
3425
|
+
$dara.Model.validateMap(this.headers);
|
|
3426
|
+
}
|
|
3427
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3428
|
+
this.body.validate();
|
|
3429
|
+
}
|
|
3430
|
+
super.validate();
|
|
3431
|
+
}
|
|
3432
|
+
constructor(map) {
|
|
3433
|
+
super(map);
|
|
3434
|
+
}
|
|
3435
|
+
}
|
|
3436
|
+
exports.GetTagMiningAnalysisTaskResponse = GetTagMiningAnalysisTaskResponse;
|
|
3166
3437
|
class GetVideoAnalysisConfigResponseBody extends $dara.Model {
|
|
3167
3438
|
static names() {
|
|
3168
3439
|
return {
|
|
@@ -4313,16 +4584,20 @@ class RunStyleWritingRequest extends $dara.Model {
|
|
|
4313
4584
|
static names() {
|
|
4314
4585
|
return {
|
|
4315
4586
|
learningSamples: 'learningSamples',
|
|
4587
|
+
processStage: 'processStage',
|
|
4316
4588
|
referenceMaterials: 'referenceMaterials',
|
|
4317
4589
|
styleFeature: 'styleFeature',
|
|
4590
|
+
useSearch: 'useSearch',
|
|
4318
4591
|
writingTheme: 'writingTheme',
|
|
4319
4592
|
};
|
|
4320
4593
|
}
|
|
4321
4594
|
static types() {
|
|
4322
4595
|
return {
|
|
4323
4596
|
learningSamples: { 'type': 'array', 'itemType': 'string' },
|
|
4597
|
+
processStage: 'string',
|
|
4324
4598
|
referenceMaterials: { 'type': 'array', 'itemType': 'string' },
|
|
4325
4599
|
styleFeature: 'string',
|
|
4600
|
+
useSearch: 'boolean',
|
|
4326
4601
|
writingTheme: 'string',
|
|
4327
4602
|
};
|
|
4328
4603
|
}
|
|
@@ -4344,16 +4619,20 @@ class RunStyleWritingShrinkRequest extends $dara.Model {
|
|
|
4344
4619
|
static names() {
|
|
4345
4620
|
return {
|
|
4346
4621
|
learningSamplesShrink: 'learningSamples',
|
|
4622
|
+
processStage: 'processStage',
|
|
4347
4623
|
referenceMaterialsShrink: 'referenceMaterials',
|
|
4348
4624
|
styleFeature: 'styleFeature',
|
|
4625
|
+
useSearch: 'useSearch',
|
|
4349
4626
|
writingTheme: 'writingTheme',
|
|
4350
4627
|
};
|
|
4351
4628
|
}
|
|
4352
4629
|
static types() {
|
|
4353
4630
|
return {
|
|
4354
4631
|
learningSamplesShrink: 'string',
|
|
4632
|
+
processStage: 'string',
|
|
4355
4633
|
referenceMaterialsShrink: 'string',
|
|
4356
4634
|
styleFeature: 'string',
|
|
4635
|
+
useSearch: 'boolean',
|
|
4357
4636
|
writingTheme: 'string',
|
|
4358
4637
|
};
|
|
4359
4638
|
}
|
|
@@ -4703,6 +4982,139 @@ class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
4703
4982
|
}
|
|
4704
4983
|
}
|
|
4705
4984
|
exports.RunVideoAnalysisResponse = RunVideoAnalysisResponse;
|
|
4985
|
+
class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
4986
|
+
static names() {
|
|
4987
|
+
return {
|
|
4988
|
+
businessType: 'businessType',
|
|
4989
|
+
contents: 'contents',
|
|
4990
|
+
extraInfo: 'extraInfo',
|
|
4991
|
+
modelId: 'modelId',
|
|
4992
|
+
outputFormat: 'outputFormat',
|
|
4993
|
+
tags: 'tags',
|
|
4994
|
+
taskDescription: 'taskDescription',
|
|
4995
|
+
url: 'url',
|
|
4996
|
+
};
|
|
4997
|
+
}
|
|
4998
|
+
static types() {
|
|
4999
|
+
return {
|
|
5000
|
+
businessType: 'string',
|
|
5001
|
+
contents: { 'type': 'array', 'itemType': 'string' },
|
|
5002
|
+
extraInfo: 'string',
|
|
5003
|
+
modelId: 'string',
|
|
5004
|
+
outputFormat: 'string',
|
|
5005
|
+
tags: { 'type': 'array', 'itemType': SubmitTagMiningAnalysisTaskRequestTags },
|
|
5006
|
+
taskDescription: 'string',
|
|
5007
|
+
url: 'string',
|
|
5008
|
+
};
|
|
5009
|
+
}
|
|
5010
|
+
validate() {
|
|
5011
|
+
if (Array.isArray(this.contents)) {
|
|
5012
|
+
$dara.Model.validateArray(this.contents);
|
|
5013
|
+
}
|
|
5014
|
+
if (Array.isArray(this.tags)) {
|
|
5015
|
+
$dara.Model.validateArray(this.tags);
|
|
5016
|
+
}
|
|
5017
|
+
super.validate();
|
|
5018
|
+
}
|
|
5019
|
+
constructor(map) {
|
|
5020
|
+
super(map);
|
|
5021
|
+
}
|
|
5022
|
+
}
|
|
5023
|
+
exports.SubmitTagMiningAnalysisTaskRequest = SubmitTagMiningAnalysisTaskRequest;
|
|
5024
|
+
class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
5025
|
+
static names() {
|
|
5026
|
+
return {
|
|
5027
|
+
businessType: 'businessType',
|
|
5028
|
+
contentsShrink: 'contents',
|
|
5029
|
+
extraInfo: 'extraInfo',
|
|
5030
|
+
modelId: 'modelId',
|
|
5031
|
+
outputFormat: 'outputFormat',
|
|
5032
|
+
tagsShrink: 'tags',
|
|
5033
|
+
taskDescription: 'taskDescription',
|
|
5034
|
+
url: 'url',
|
|
5035
|
+
};
|
|
5036
|
+
}
|
|
5037
|
+
static types() {
|
|
5038
|
+
return {
|
|
5039
|
+
businessType: 'string',
|
|
5040
|
+
contentsShrink: 'string',
|
|
5041
|
+
extraInfo: 'string',
|
|
5042
|
+
modelId: 'string',
|
|
5043
|
+
outputFormat: 'string',
|
|
5044
|
+
tagsShrink: 'string',
|
|
5045
|
+
taskDescription: 'string',
|
|
5046
|
+
url: 'string',
|
|
5047
|
+
};
|
|
5048
|
+
}
|
|
5049
|
+
validate() {
|
|
5050
|
+
super.validate();
|
|
5051
|
+
}
|
|
5052
|
+
constructor(map) {
|
|
5053
|
+
super(map);
|
|
5054
|
+
}
|
|
5055
|
+
}
|
|
5056
|
+
exports.SubmitTagMiningAnalysisTaskShrinkRequest = SubmitTagMiningAnalysisTaskShrinkRequest;
|
|
5057
|
+
class SubmitTagMiningAnalysisTaskResponseBody extends $dara.Model {
|
|
5058
|
+
static names() {
|
|
5059
|
+
return {
|
|
5060
|
+
code: 'code',
|
|
5061
|
+
data: 'data',
|
|
5062
|
+
httpStatusCode: 'httpStatusCode',
|
|
5063
|
+
message: 'message',
|
|
5064
|
+
requestId: 'requestId',
|
|
5065
|
+
success: 'success',
|
|
5066
|
+
};
|
|
5067
|
+
}
|
|
5068
|
+
static types() {
|
|
5069
|
+
return {
|
|
5070
|
+
code: 'string',
|
|
5071
|
+
data: SubmitTagMiningAnalysisTaskResponseBodyData,
|
|
5072
|
+
httpStatusCode: 'number',
|
|
5073
|
+
message: 'string',
|
|
5074
|
+
requestId: 'string',
|
|
5075
|
+
success: 'boolean',
|
|
5076
|
+
};
|
|
5077
|
+
}
|
|
5078
|
+
validate() {
|
|
5079
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
5080
|
+
this.data.validate();
|
|
5081
|
+
}
|
|
5082
|
+
super.validate();
|
|
5083
|
+
}
|
|
5084
|
+
constructor(map) {
|
|
5085
|
+
super(map);
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
5088
|
+
exports.SubmitTagMiningAnalysisTaskResponseBody = SubmitTagMiningAnalysisTaskResponseBody;
|
|
5089
|
+
class SubmitTagMiningAnalysisTaskResponse extends $dara.Model {
|
|
5090
|
+
static names() {
|
|
5091
|
+
return {
|
|
5092
|
+
headers: 'headers',
|
|
5093
|
+
statusCode: 'statusCode',
|
|
5094
|
+
body: 'body',
|
|
5095
|
+
};
|
|
5096
|
+
}
|
|
5097
|
+
static types() {
|
|
5098
|
+
return {
|
|
5099
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5100
|
+
statusCode: 'number',
|
|
5101
|
+
body: SubmitTagMiningAnalysisTaskResponseBody,
|
|
5102
|
+
};
|
|
5103
|
+
}
|
|
5104
|
+
validate() {
|
|
5105
|
+
if (this.headers) {
|
|
5106
|
+
$dara.Model.validateMap(this.headers);
|
|
5107
|
+
}
|
|
5108
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
5109
|
+
this.body.validate();
|
|
5110
|
+
}
|
|
5111
|
+
super.validate();
|
|
5112
|
+
}
|
|
5113
|
+
constructor(map) {
|
|
5114
|
+
super(map);
|
|
5115
|
+
}
|
|
5116
|
+
}
|
|
5117
|
+
exports.SubmitTagMiningAnalysisTaskResponse = SubmitTagMiningAnalysisTaskResponse;
|
|
4706
5118
|
class SubmitVideoAnalysisTaskRequest extends $dara.Model {
|
|
4707
5119
|
static names() {
|
|
4708
5120
|
return {
|
|
@@ -4975,7 +5387,12 @@ class Client extends openapi_core_1.default {
|
|
|
4975
5387
|
reqBodyType: "formData",
|
|
4976
5388
|
bodyType: "json",
|
|
4977
5389
|
});
|
|
4978
|
-
|
|
5390
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5391
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5392
|
+
}
|
|
5393
|
+
else {
|
|
5394
|
+
return $dara.cast(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5395
|
+
}
|
|
4979
5396
|
}
|
|
4980
5397
|
/**
|
|
4981
5398
|
* 新闻播报-抽取分类获取播报热点
|
|
@@ -5034,7 +5451,12 @@ class Client extends openapi_core_1.default {
|
|
|
5034
5451
|
reqBodyType: "formData",
|
|
5035
5452
|
bodyType: "json",
|
|
5036
5453
|
});
|
|
5037
|
-
|
|
5454
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5455
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5456
|
+
}
|
|
5457
|
+
else {
|
|
5458
|
+
return $dara.cast(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5459
|
+
}
|
|
5038
5460
|
}
|
|
5039
5461
|
/**
|
|
5040
5462
|
* 轻应用-标签挖掘-获取示例输出格式
|
|
@@ -5047,6 +5469,53 @@ class Client extends openapi_core_1.default {
|
|
|
5047
5469
|
let headers = {};
|
|
5048
5470
|
return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
|
|
5049
5471
|
}
|
|
5472
|
+
/**
|
|
5473
|
+
* 获取挖掘分析任务结果
|
|
5474
|
+
*
|
|
5475
|
+
* @param request - GetTagMiningAnalysisTaskRequest
|
|
5476
|
+
* @param headers - map
|
|
5477
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5478
|
+
* @returns GetTagMiningAnalysisTaskResponse
|
|
5479
|
+
*/
|
|
5480
|
+
async getTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime) {
|
|
5481
|
+
request.validate();
|
|
5482
|
+
let query = {};
|
|
5483
|
+
if (!$dara.isNull(request.taskId)) {
|
|
5484
|
+
query["taskId"] = request.taskId;
|
|
5485
|
+
}
|
|
5486
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5487
|
+
headers: headers,
|
|
5488
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5489
|
+
});
|
|
5490
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5491
|
+
action: "GetTagMiningAnalysisTask",
|
|
5492
|
+
version: "2024-08-01",
|
|
5493
|
+
protocol: "HTTPS",
|
|
5494
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/getTagMiningAnalysisTask`,
|
|
5495
|
+
method: "GET",
|
|
5496
|
+
authType: "AK",
|
|
5497
|
+
style: "ROA",
|
|
5498
|
+
reqBodyType: "json",
|
|
5499
|
+
bodyType: "json",
|
|
5500
|
+
});
|
|
5501
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5502
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5503
|
+
}
|
|
5504
|
+
else {
|
|
5505
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5508
|
+
/**
|
|
5509
|
+
* 获取挖掘分析任务结果
|
|
5510
|
+
*
|
|
5511
|
+
* @param request - GetTagMiningAnalysisTaskRequest
|
|
5512
|
+
* @returns GetTagMiningAnalysisTaskResponse
|
|
5513
|
+
*/
|
|
5514
|
+
async getTagMiningAnalysisTask(workspaceId, request) {
|
|
5515
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5516
|
+
let headers = {};
|
|
5517
|
+
return await this.getTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
5518
|
+
}
|
|
5050
5519
|
/**
|
|
5051
5520
|
* 视频理解-获取配置
|
|
5052
5521
|
*
|
|
@@ -5069,7 +5538,12 @@ class Client extends openapi_core_1.default {
|
|
|
5069
5538
|
reqBodyType: "json",
|
|
5070
5539
|
bodyType: "json",
|
|
5071
5540
|
});
|
|
5072
|
-
|
|
5541
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5542
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5543
|
+
}
|
|
5544
|
+
else {
|
|
5545
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5546
|
+
}
|
|
5073
5547
|
}
|
|
5074
5548
|
/**
|
|
5075
5549
|
* 视频理解-获取配置
|
|
@@ -5109,7 +5583,12 @@ class Client extends openapi_core_1.default {
|
|
|
5109
5583
|
reqBodyType: "json",
|
|
5110
5584
|
bodyType: "json",
|
|
5111
5585
|
});
|
|
5112
|
-
|
|
5586
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5587
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5588
|
+
}
|
|
5589
|
+
else {
|
|
5590
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5591
|
+
}
|
|
5113
5592
|
}
|
|
5114
5593
|
/**
|
|
5115
5594
|
* 轻应用-获取视频理解异步任务结果
|
|
@@ -5163,7 +5642,12 @@ class Client extends openapi_core_1.default {
|
|
|
5163
5642
|
reqBodyType: "formData",
|
|
5164
5643
|
bodyType: "json",
|
|
5165
5644
|
});
|
|
5166
|
-
|
|
5645
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5646
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5647
|
+
}
|
|
5648
|
+
else {
|
|
5649
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5650
|
+
}
|
|
5167
5651
|
}
|
|
5168
5652
|
/**
|
|
5169
5653
|
* 轻应用-新闻播报-获取热点话题摘要列表
|
|
@@ -5252,7 +5736,12 @@ class Client extends openapi_core_1.default {
|
|
|
5252
5736
|
reqBodyType: "formData",
|
|
5253
5737
|
bodyType: "json",
|
|
5254
5738
|
});
|
|
5255
|
-
|
|
5739
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5740
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5741
|
+
}
|
|
5742
|
+
else {
|
|
5743
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5744
|
+
}
|
|
5256
5745
|
}
|
|
5257
5746
|
/**
|
|
5258
5747
|
* 轻应用-热点播报-问答
|
|
@@ -5308,7 +5797,12 @@ class Client extends openapi_core_1.default {
|
|
|
5308
5797
|
reqBodyType: "formData",
|
|
5309
5798
|
bodyType: "json",
|
|
5310
5799
|
});
|
|
5311
|
-
|
|
5800
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5801
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
5802
|
+
}
|
|
5803
|
+
else {
|
|
5804
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
5805
|
+
}
|
|
5312
5806
|
}
|
|
5313
5807
|
/**
|
|
5314
5808
|
* 轻应用-热点播报-热点摘要生成
|
|
@@ -5364,7 +5858,12 @@ class Client extends openapi_core_1.default {
|
|
|
5364
5858
|
reqBodyType: "formData",
|
|
5365
5859
|
bodyType: "json",
|
|
5366
5860
|
});
|
|
5367
|
-
|
|
5861
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5862
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
5863
|
+
}
|
|
5864
|
+
else {
|
|
5865
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
5866
|
+
}
|
|
5368
5867
|
}
|
|
5369
5868
|
/**
|
|
5370
5869
|
* 营销信息抽取服务
|
|
@@ -5424,7 +5923,12 @@ class Client extends openapi_core_1.default {
|
|
|
5424
5923
|
reqBodyType: "formData",
|
|
5425
5924
|
bodyType: "json",
|
|
5426
5925
|
});
|
|
5427
|
-
|
|
5926
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5927
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
5928
|
+
}
|
|
5929
|
+
else {
|
|
5930
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
5931
|
+
}
|
|
5428
5932
|
}
|
|
5429
5933
|
/**
|
|
5430
5934
|
* 营销文案写作服务
|
|
@@ -5489,7 +5993,12 @@ class Client extends openapi_core_1.default {
|
|
|
5489
5993
|
reqBodyType: "formData",
|
|
5490
5994
|
bodyType: "json",
|
|
5491
5995
|
});
|
|
5492
|
-
|
|
5996
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5997
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
5998
|
+
}
|
|
5999
|
+
else {
|
|
6000
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6001
|
+
}
|
|
5493
6002
|
}
|
|
5494
6003
|
/**
|
|
5495
6004
|
* 轻应用-网络内容审核
|
|
@@ -5534,7 +6043,12 @@ class Client extends openapi_core_1.default {
|
|
|
5534
6043
|
reqBodyType: "formData",
|
|
5535
6044
|
bodyType: "json",
|
|
5536
6045
|
});
|
|
5537
|
-
|
|
6046
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6047
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
6048
|
+
}
|
|
6049
|
+
else {
|
|
6050
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
|
|
6051
|
+
}
|
|
5538
6052
|
}
|
|
5539
6053
|
/**
|
|
5540
6054
|
* 长剧本创作
|
|
@@ -5582,7 +6096,12 @@ class Client extends openapi_core_1.default {
|
|
|
5582
6096
|
reqBodyType: "formData",
|
|
5583
6097
|
bodyType: "json",
|
|
5584
6098
|
});
|
|
5585
|
-
|
|
6099
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6100
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6101
|
+
}
|
|
6102
|
+
else {
|
|
6103
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6104
|
+
}
|
|
5586
6105
|
}
|
|
5587
6106
|
/**
|
|
5588
6107
|
* 剧本续写
|
|
@@ -5642,7 +6161,12 @@ class Client extends openapi_core_1.default {
|
|
|
5642
6161
|
reqBodyType: "formData",
|
|
5643
6162
|
bodyType: "json",
|
|
5644
6163
|
});
|
|
5645
|
-
|
|
6164
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6165
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6166
|
+
}
|
|
6167
|
+
else {
|
|
6168
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6169
|
+
}
|
|
5646
6170
|
}
|
|
5647
6171
|
/**
|
|
5648
6172
|
* 剧本策划
|
|
@@ -5684,7 +6208,12 @@ class Client extends openapi_core_1.default {
|
|
|
5684
6208
|
reqBodyType: "formData",
|
|
5685
6209
|
bodyType: "json",
|
|
5686
6210
|
});
|
|
5687
|
-
|
|
6211
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6212
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6213
|
+
}
|
|
6214
|
+
else {
|
|
6215
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6216
|
+
}
|
|
5688
6217
|
}
|
|
5689
6218
|
/**
|
|
5690
6219
|
* 剧本对话内容的整理
|
|
@@ -5719,12 +6248,18 @@ class Client extends openapi_core_1.default {
|
|
|
5719
6248
|
if (!$dara.isNull(request.learningSamplesShrink)) {
|
|
5720
6249
|
body["learningSamples"] = request.learningSamplesShrink;
|
|
5721
6250
|
}
|
|
6251
|
+
if (!$dara.isNull(request.processStage)) {
|
|
6252
|
+
body["processStage"] = request.processStage;
|
|
6253
|
+
}
|
|
5722
6254
|
if (!$dara.isNull(request.referenceMaterialsShrink)) {
|
|
5723
6255
|
body["referenceMaterials"] = request.referenceMaterialsShrink;
|
|
5724
6256
|
}
|
|
5725
6257
|
if (!$dara.isNull(request.styleFeature)) {
|
|
5726
6258
|
body["styleFeature"] = request.styleFeature;
|
|
5727
6259
|
}
|
|
6260
|
+
if (!$dara.isNull(request.useSearch)) {
|
|
6261
|
+
body["useSearch"] = request.useSearch;
|
|
6262
|
+
}
|
|
5728
6263
|
if (!$dara.isNull(request.writingTheme)) {
|
|
5729
6264
|
body["writingTheme"] = request.writingTheme;
|
|
5730
6265
|
}
|
|
@@ -5743,7 +6278,12 @@ class Client extends openapi_core_1.default {
|
|
|
5743
6278
|
reqBodyType: "formData",
|
|
5744
6279
|
bodyType: "json",
|
|
5745
6280
|
});
|
|
5746
|
-
|
|
6281
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6282
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6283
|
+
}
|
|
6284
|
+
else {
|
|
6285
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6286
|
+
}
|
|
5747
6287
|
}
|
|
5748
6288
|
/**
|
|
5749
6289
|
* 文体学习和写作推理服务
|
|
@@ -5808,7 +6348,12 @@ class Client extends openapi_core_1.default {
|
|
|
5808
6348
|
reqBodyType: "formData",
|
|
5809
6349
|
bodyType: "json",
|
|
5810
6350
|
});
|
|
5811
|
-
|
|
6351
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6352
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6353
|
+
}
|
|
6354
|
+
else {
|
|
6355
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6356
|
+
}
|
|
5812
6357
|
}
|
|
5813
6358
|
/**
|
|
5814
6359
|
* 轻应用-标签挖掘
|
|
@@ -5900,7 +6445,12 @@ class Client extends openapi_core_1.default {
|
|
|
5900
6445
|
reqBodyType: "formData",
|
|
5901
6446
|
bodyType: "json",
|
|
5902
6447
|
});
|
|
5903
|
-
|
|
6448
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6449
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6450
|
+
}
|
|
6451
|
+
else {
|
|
6452
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6453
|
+
}
|
|
5904
6454
|
}
|
|
5905
6455
|
/**
|
|
5906
6456
|
* 轻应用-视频理解
|
|
@@ -5913,6 +6463,82 @@ class Client extends openapi_core_1.default {
|
|
|
5913
6463
|
let headers = {};
|
|
5914
6464
|
return await this.runVideoAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
5915
6465
|
}
|
|
6466
|
+
/**
|
|
6467
|
+
* 轻应用-标签挖掘
|
|
6468
|
+
*
|
|
6469
|
+
* @param tmpReq - SubmitTagMiningAnalysisTaskRequest
|
|
6470
|
+
* @param headers - map
|
|
6471
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6472
|
+
* @returns SubmitTagMiningAnalysisTaskResponse
|
|
6473
|
+
*/
|
|
6474
|
+
async submitTagMiningAnalysisTaskWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
6475
|
+
tmpReq.validate();
|
|
6476
|
+
let request = new SubmitTagMiningAnalysisTaskShrinkRequest({});
|
|
6477
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6478
|
+
if (!$dara.isNull(tmpReq.contents)) {
|
|
6479
|
+
request.contentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contents, "contents", "json");
|
|
6480
|
+
}
|
|
6481
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
6482
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6483
|
+
}
|
|
6484
|
+
let body = {};
|
|
6485
|
+
if (!$dara.isNull(request.businessType)) {
|
|
6486
|
+
body["businessType"] = request.businessType;
|
|
6487
|
+
}
|
|
6488
|
+
if (!$dara.isNull(request.contentsShrink)) {
|
|
6489
|
+
body["contents"] = request.contentsShrink;
|
|
6490
|
+
}
|
|
6491
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
6492
|
+
body["extraInfo"] = request.extraInfo;
|
|
6493
|
+
}
|
|
6494
|
+
if (!$dara.isNull(request.modelId)) {
|
|
6495
|
+
body["modelId"] = request.modelId;
|
|
6496
|
+
}
|
|
6497
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
6498
|
+
body["outputFormat"] = request.outputFormat;
|
|
6499
|
+
}
|
|
6500
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
6501
|
+
body["tags"] = request.tagsShrink;
|
|
6502
|
+
}
|
|
6503
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
6504
|
+
body["taskDescription"] = request.taskDescription;
|
|
6505
|
+
}
|
|
6506
|
+
if (!$dara.isNull(request.url)) {
|
|
6507
|
+
body["url"] = request.url;
|
|
6508
|
+
}
|
|
6509
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6510
|
+
headers: headers,
|
|
6511
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6512
|
+
});
|
|
6513
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6514
|
+
action: "SubmitTagMiningAnalysisTask",
|
|
6515
|
+
version: "2024-08-01",
|
|
6516
|
+
protocol: "HTTPS",
|
|
6517
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/submitTagMiningAnalysisTask`,
|
|
6518
|
+
method: "POST",
|
|
6519
|
+
authType: "AK",
|
|
6520
|
+
style: "ROA",
|
|
6521
|
+
reqBodyType: "formData",
|
|
6522
|
+
bodyType: "json",
|
|
6523
|
+
});
|
|
6524
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6525
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6526
|
+
}
|
|
6527
|
+
else {
|
|
6528
|
+
return $dara.cast(await this.execute(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6529
|
+
}
|
|
6530
|
+
}
|
|
6531
|
+
/**
|
|
6532
|
+
* 轻应用-标签挖掘
|
|
6533
|
+
*
|
|
6534
|
+
* @param request - SubmitTagMiningAnalysisTaskRequest
|
|
6535
|
+
* @returns SubmitTagMiningAnalysisTaskResponse
|
|
6536
|
+
*/
|
|
6537
|
+
async submitTagMiningAnalysisTask(workspaceId, request) {
|
|
6538
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6539
|
+
let headers = {};
|
|
6540
|
+
return await this.submitTagMiningAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
6541
|
+
}
|
|
5916
6542
|
/**
|
|
5917
6543
|
* 轻应用-提交视频理解任务
|
|
5918
6544
|
*
|
|
@@ -5986,7 +6612,12 @@ class Client extends openapi_core_1.default {
|
|
|
5986
6612
|
reqBodyType: "formData",
|
|
5987
6613
|
bodyType: "json",
|
|
5988
6614
|
});
|
|
5989
|
-
|
|
6615
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6616
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6617
|
+
}
|
|
6618
|
+
else {
|
|
6619
|
+
return $dara.cast(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6620
|
+
}
|
|
5990
6621
|
}
|
|
5991
6622
|
/**
|
|
5992
6623
|
* 轻应用-提交视频理解任务
|
|
@@ -6028,7 +6659,12 @@ class Client extends openapi_core_1.default {
|
|
|
6028
6659
|
reqBodyType: "formData",
|
|
6029
6660
|
bodyType: "json",
|
|
6030
6661
|
});
|
|
6031
|
-
|
|
6662
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6663
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6664
|
+
}
|
|
6665
|
+
else {
|
|
6666
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6667
|
+
}
|
|
6032
6668
|
}
|
|
6033
6669
|
/**
|
|
6034
6670
|
* 视频理解-更新配置
|