@alicloud/quanmiaolightapp20240801 2.5.4 → 2.6.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 +1129 -130
- package/dist/client.js +1432 -269
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3023 -1256
package/dist/client.js
CHANGED
|
@@ -36,10 +36,11 @@ 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.
|
|
39
|
+
exports.RunEnterpriseVocAnalysisResponseBodyHeader = exports.RunEnterpriseVocAnalysisRequestTags = exports.RunEnterpriseVocAnalysisRequestFilterTags = 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.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResults = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultsUsage = 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.GetEnterpriseVocAnalysisTaskResponseBodyData = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataUsage = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverview = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatistics = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatisticsTagValueCountStatistic = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatistics = exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatisticsTagValueCountStatistic = exports.GenerateOutputFormatResponseBodyData = exports.GenerateOutputFormatRequestTags = exports.GenerateBroadcastNewsResponseBodyData = exports.GenerateBroadcastNewsResponseBodyDataUsage = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummaries = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages = void 0;
|
|
40
|
+
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 = 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.RunEnterpriseVocAnalysisResponseBodyPayload = exports.RunEnterpriseVocAnalysisResponseBodyPayloadUsage = exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutput = exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResult = exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResultFilterResults = void 0;
|
|
41
|
+
exports.ExportAnalysisTagDetailByTaskIdRequest = exports.CancelAsyncTaskResponse = exports.CancelAsyncTaskResponseBody = exports.CancelAsyncTaskRequest = exports.SubmitVideoAnalysisTaskResponseBodyData = exports.SubmitVideoAnalysisTaskRequestVideoRoles = exports.SubmitVideoAnalysisTaskRequestTextProcessTasks = exports.SubmitVideoAnalysisTaskRequestFrameSampleMethod = exports.SubmitTagMiningAnalysisTaskResponseBodyData = exports.SubmitTagMiningAnalysisTaskRequestTags = exports.SubmitEnterpriseVocAnalysisTaskResponseBodyData = exports.SubmitEnterpriseVocAnalysisTaskRequestTags = exports.SubmitEnterpriseVocAnalysisTaskRequestFilterTags = exports.SubmitEnterpriseVocAnalysisTaskRequestContents = 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.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResults = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultsUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResultVideoCaptions = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultUsage = exports.RunVideoAnalysisResponseBodyHeader = exports.RunVideoAnalysisRequestVideoRoles = exports.RunVideoAnalysisRequestTextProcessTasks = exports.RunVideoAnalysisRequestFrameSampleMethod = exports.RunTagMiningAnalysisResponseBodyPayload = exports.RunTagMiningAnalysisResponseBodyPayloadUsage = exports.RunTagMiningAnalysisResponseBodyPayloadOutput = exports.RunTagMiningAnalysisResponseBodyHeader = exports.RunTagMiningAnalysisRequestTags = exports.RunStyleWritingResponseBodyPayload = exports.RunStyleWritingResponseBodyPayloadUsage = exports.RunStyleWritingResponseBodyPayloadOutput = exports.RunStyleWritingResponseBodyHeader = exports.RunScriptRefineResponseBodyPayload = void 0;
|
|
42
|
+
exports.RunScriptChatResponse = exports.RunScriptChatResponseBody = exports.RunScriptChatRequest = exports.RunNetworkContentAuditResponse = exports.RunNetworkContentAuditResponseBody = exports.RunNetworkContentAuditShrinkRequest = exports.RunNetworkContentAuditRequest = exports.RunMarketingInformationWritingResponse = exports.RunMarketingInformationWritingResponseBody = exports.RunMarketingInformationWritingRequest = exports.RunMarketingInformationExtractResponse = exports.RunMarketingInformationExtractResponseBody = exports.RunMarketingInformationExtractShrinkRequest = exports.RunMarketingInformationExtractRequest = exports.RunHotTopicSummaryResponse = exports.RunHotTopicSummaryResponseBody = exports.RunHotTopicSummaryShrinkRequest = exports.RunHotTopicSummaryRequest = exports.RunHotTopicChatResponse = exports.RunHotTopicChatResponseBody = exports.RunHotTopicChatShrinkRequest = exports.RunHotTopicChatRequest = exports.RunEnterpriseVocAnalysisResponse = exports.RunEnterpriseVocAnalysisResponseBody = exports.RunEnterpriseVocAnalysisShrinkRequest = exports.RunEnterpriseVocAnalysisRequest = exports.ListHotTopicSummariesResponse = exports.ListHotTopicSummariesResponseBody = exports.ListHotTopicSummariesRequest = exports.GetVideoAnalysisTaskResponse = exports.GetVideoAnalysisTaskResponseBody = exports.GetVideoAnalysisTaskRequest = exports.GetVideoAnalysisConfigResponse = exports.GetVideoAnalysisConfigResponseBody = exports.GetTagMiningAnalysisTaskResponse = exports.GetTagMiningAnalysisTaskResponseBody = exports.GetTagMiningAnalysisTaskRequest = exports.GetEnterpriseVocAnalysisTaskResponse = exports.GetEnterpriseVocAnalysisTaskResponseBody = exports.GetEnterpriseVocAnalysisTaskRequest = exports.GenerateOutputFormatResponse = exports.GenerateOutputFormatResponseBody = exports.GenerateOutputFormatShrinkRequest = exports.GenerateOutputFormatRequest = exports.GenerateBroadcastNewsResponse = exports.GenerateBroadcastNewsResponseBody = exports.GenerateBroadcastNewsRequest = exports.ExportAnalysisTagDetailByTaskIdResponse = exports.ExportAnalysisTagDetailByTaskIdResponseBody = exports.ExportAnalysisTagDetailByTaskIdShrinkRequest = void 0;
|
|
43
|
+
exports.UpdateVideoAnalysisConfigResponse = exports.UpdateVideoAnalysisConfigResponseBody = exports.UpdateVideoAnalysisConfigRequest = exports.SubmitVideoAnalysisTaskResponse = exports.SubmitVideoAnalysisTaskResponseBody = exports.SubmitVideoAnalysisTaskShrinkRequest = exports.SubmitVideoAnalysisTaskRequest = exports.SubmitTagMiningAnalysisTaskResponse = exports.SubmitTagMiningAnalysisTaskResponseBody = exports.SubmitTagMiningAnalysisTaskShrinkRequest = exports.SubmitTagMiningAnalysisTaskRequest = exports.SubmitEnterpriseVocAnalysisTaskResponse = exports.SubmitEnterpriseVocAnalysisTaskResponseBody = exports.SubmitEnterpriseVocAnalysisTaskShrinkRequest = exports.SubmitEnterpriseVocAnalysisTaskRequest = 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;
|
|
43
44
|
// This file is auto-generated, don't edit it
|
|
44
45
|
/**
|
|
45
46
|
*/
|
|
@@ -195,6 +196,177 @@ class GenerateOutputFormatResponseBodyData extends $dara.Model {
|
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
198
|
exports.GenerateOutputFormatResponseBodyData = GenerateOutputFormatResponseBodyData;
|
|
199
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatisticsTagValueCountStatistic extends $dara.Model {
|
|
200
|
+
static names() {
|
|
201
|
+
return {
|
|
202
|
+
tagName: 'tagName',
|
|
203
|
+
valueCount: 'valueCount',
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
static types() {
|
|
207
|
+
return {
|
|
208
|
+
tagName: 'string',
|
|
209
|
+
valueCount: 'number',
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
validate() {
|
|
213
|
+
super.validate();
|
|
214
|
+
}
|
|
215
|
+
constructor(map) {
|
|
216
|
+
super(map);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatisticsTagValueCountStatistic = GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatisticsTagValueCountStatistic;
|
|
220
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatistics extends $dara.Model {
|
|
221
|
+
static names() {
|
|
222
|
+
return {
|
|
223
|
+
tagValueCountStatistic: 'tagValueCountStatistic',
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
static types() {
|
|
227
|
+
return {
|
|
228
|
+
tagValueCountStatistic: { 'type': 'array', 'itemType': GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatisticsTagValueCountStatistic },
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
validate() {
|
|
232
|
+
if (Array.isArray(this.tagValueCountStatistic)) {
|
|
233
|
+
$dara.Model.validateArray(this.tagValueCountStatistic);
|
|
234
|
+
}
|
|
235
|
+
super.validate();
|
|
236
|
+
}
|
|
237
|
+
constructor(map) {
|
|
238
|
+
super(map);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatistics = GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatistics;
|
|
242
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatisticsTagValueCountStatistic extends $dara.Model {
|
|
243
|
+
static names() {
|
|
244
|
+
return {
|
|
245
|
+
tagName: 'tagName',
|
|
246
|
+
valueCount: 'valueCount',
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
static types() {
|
|
250
|
+
return {
|
|
251
|
+
tagName: 'string',
|
|
252
|
+
valueCount: 'number',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
validate() {
|
|
256
|
+
super.validate();
|
|
257
|
+
}
|
|
258
|
+
constructor(map) {
|
|
259
|
+
super(map);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatisticsTagValueCountStatistic = GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatisticsTagValueCountStatistic;
|
|
263
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatistics extends $dara.Model {
|
|
264
|
+
static names() {
|
|
265
|
+
return {
|
|
266
|
+
tagValueCountStatistic: 'tagValueCountStatistic',
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
static types() {
|
|
270
|
+
return {
|
|
271
|
+
tagValueCountStatistic: { 'type': 'array', 'itemType': GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatisticsTagValueCountStatistic },
|
|
272
|
+
};
|
|
273
|
+
}
|
|
274
|
+
validate() {
|
|
275
|
+
if (Array.isArray(this.tagValueCountStatistic)) {
|
|
276
|
+
$dara.Model.validateArray(this.tagValueCountStatistic);
|
|
277
|
+
}
|
|
278
|
+
super.validate();
|
|
279
|
+
}
|
|
280
|
+
constructor(map) {
|
|
281
|
+
super(map);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatistics = GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatistics;
|
|
285
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverview extends $dara.Model {
|
|
286
|
+
static names() {
|
|
287
|
+
return {
|
|
288
|
+
count: 'count',
|
|
289
|
+
filterDimensionStatistics: 'filterDimensionStatistics',
|
|
290
|
+
tagDimensionStatistics: 'tagDimensionStatistics',
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
static types() {
|
|
294
|
+
return {
|
|
295
|
+
count: 'number',
|
|
296
|
+
filterDimensionStatistics: GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewFilterDimensionStatistics,
|
|
297
|
+
tagDimensionStatistics: GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverviewTagDimensionStatistics,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
validate() {
|
|
301
|
+
if (this.filterDimensionStatistics && typeof this.filterDimensionStatistics.validate === 'function') {
|
|
302
|
+
this.filterDimensionStatistics.validate();
|
|
303
|
+
}
|
|
304
|
+
if (this.tagDimensionStatistics && typeof this.tagDimensionStatistics.validate === 'function') {
|
|
305
|
+
this.tagDimensionStatistics.validate();
|
|
306
|
+
}
|
|
307
|
+
super.validate();
|
|
308
|
+
}
|
|
309
|
+
constructor(map) {
|
|
310
|
+
super(map);
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverview = GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverview;
|
|
314
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyDataUsage extends $dara.Model {
|
|
315
|
+
static names() {
|
|
316
|
+
return {
|
|
317
|
+
inputTokens: 'inputTokens',
|
|
318
|
+
outputTokens: 'outputTokens',
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
static types() {
|
|
322
|
+
return {
|
|
323
|
+
inputTokens: 'number',
|
|
324
|
+
outputTokens: 'number',
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
validate() {
|
|
328
|
+
super.validate();
|
|
329
|
+
}
|
|
330
|
+
constructor(map) {
|
|
331
|
+
super(map);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyDataUsage = GetEnterpriseVocAnalysisTaskResponseBodyDataUsage;
|
|
335
|
+
class GetEnterpriseVocAnalysisTaskResponseBodyData extends $dara.Model {
|
|
336
|
+
static names() {
|
|
337
|
+
return {
|
|
338
|
+
errorMessage: 'errorMessage',
|
|
339
|
+
modelId: 'modelId',
|
|
340
|
+
modelName: 'modelName',
|
|
341
|
+
statisticsOverview: 'statisticsOverview',
|
|
342
|
+
status: 'status',
|
|
343
|
+
usage: 'usage',
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
static types() {
|
|
347
|
+
return {
|
|
348
|
+
errorMessage: 'string',
|
|
349
|
+
modelId: 'string',
|
|
350
|
+
modelName: 'string',
|
|
351
|
+
statisticsOverview: GetEnterpriseVocAnalysisTaskResponseBodyDataStatisticsOverview,
|
|
352
|
+
status: 'string',
|
|
353
|
+
usage: GetEnterpriseVocAnalysisTaskResponseBodyDataUsage,
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
validate() {
|
|
357
|
+
if (this.statisticsOverview && typeof this.statisticsOverview.validate === 'function') {
|
|
358
|
+
this.statisticsOverview.validate();
|
|
359
|
+
}
|
|
360
|
+
if (this.usage && typeof this.usage.validate === 'function') {
|
|
361
|
+
this.usage.validate();
|
|
362
|
+
}
|
|
363
|
+
super.validate();
|
|
364
|
+
}
|
|
365
|
+
constructor(map) {
|
|
366
|
+
super(map);
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBodyData = GetEnterpriseVocAnalysisTaskResponseBodyData;
|
|
198
370
|
class GetTagMiningAnalysisTaskResponseBodyDataResultsHeader extends $dara.Model {
|
|
199
371
|
static names() {
|
|
200
372
|
return {
|
|
@@ -1095,40 +1267,17 @@ class ListHotTopicSummariesResponseBodyData extends $dara.Model {
|
|
|
1095
1267
|
}
|
|
1096
1268
|
}
|
|
1097
1269
|
exports.ListHotTopicSummariesResponseBodyData = ListHotTopicSummariesResponseBodyData;
|
|
1098
|
-
class
|
|
1099
|
-
static names() {
|
|
1100
|
-
return {
|
|
1101
|
-
content: 'content',
|
|
1102
|
-
createTime: 'createTime',
|
|
1103
|
-
role: 'role',
|
|
1104
|
-
};
|
|
1105
|
-
}
|
|
1106
|
-
static types() {
|
|
1107
|
-
return {
|
|
1108
|
-
content: 'string',
|
|
1109
|
-
createTime: 'string',
|
|
1110
|
-
role: 'string',
|
|
1111
|
-
};
|
|
1112
|
-
}
|
|
1113
|
-
validate() {
|
|
1114
|
-
super.validate();
|
|
1115
|
-
}
|
|
1116
|
-
constructor(map) {
|
|
1117
|
-
super(map);
|
|
1118
|
-
}
|
|
1119
|
-
}
|
|
1120
|
-
exports.RunHotTopicChatRequestMessages = RunHotTopicChatRequestMessages;
|
|
1121
|
-
class RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights extends $dara.Model {
|
|
1270
|
+
class RunEnterpriseVocAnalysisRequestFilterTags extends $dara.Model {
|
|
1122
1271
|
static names() {
|
|
1123
1272
|
return {
|
|
1124
|
-
|
|
1125
|
-
|
|
1273
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
1274
|
+
tagName: 'tagName',
|
|
1126
1275
|
};
|
|
1127
1276
|
}
|
|
1128
1277
|
static types() {
|
|
1129
1278
|
return {
|
|
1130
|
-
|
|
1131
|
-
|
|
1279
|
+
tagDefinePrompt: 'string',
|
|
1280
|
+
tagName: 'string',
|
|
1132
1281
|
};
|
|
1133
1282
|
}
|
|
1134
1283
|
validate() {
|
|
@@ -1138,43 +1287,34 @@ class RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights e
|
|
|
1138
1287
|
super(map);
|
|
1139
1288
|
}
|
|
1140
1289
|
}
|
|
1141
|
-
exports.
|
|
1142
|
-
class
|
|
1290
|
+
exports.RunEnterpriseVocAnalysisRequestFilterTags = RunEnterpriseVocAnalysisRequestFilterTags;
|
|
1291
|
+
class RunEnterpriseVocAnalysisRequestTags extends $dara.Model {
|
|
1143
1292
|
static names() {
|
|
1144
1293
|
return {
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
topicCount: 'topicCount',
|
|
1294
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
1295
|
+
tagName: 'tagName',
|
|
1148
1296
|
};
|
|
1149
1297
|
}
|
|
1150
1298
|
static types() {
|
|
1151
1299
|
return {
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
topicCount: 'number',
|
|
1300
|
+
tagDefinePrompt: 'string',
|
|
1301
|
+
tagName: 'string',
|
|
1155
1302
|
};
|
|
1156
1303
|
}
|
|
1157
1304
|
validate() {
|
|
1158
|
-
if (Array.isArray(this.categories)) {
|
|
1159
|
-
$dara.Model.validateArray(this.categories);
|
|
1160
|
-
}
|
|
1161
|
-
if (Array.isArray(this.customHotValueWeights)) {
|
|
1162
|
-
$dara.Model.validateArray(this.customHotValueWeights);
|
|
1163
|
-
}
|
|
1164
1305
|
super.validate();
|
|
1165
1306
|
}
|
|
1166
1307
|
constructor(map) {
|
|
1167
1308
|
super(map);
|
|
1168
1309
|
}
|
|
1169
1310
|
}
|
|
1170
|
-
exports.
|
|
1171
|
-
class
|
|
1311
|
+
exports.RunEnterpriseVocAnalysisRequestTags = RunEnterpriseVocAnalysisRequestTags;
|
|
1312
|
+
class RunEnterpriseVocAnalysisResponseBodyHeader extends $dara.Model {
|
|
1172
1313
|
static names() {
|
|
1173
1314
|
return {
|
|
1174
1315
|
errorCode: 'errorCode',
|
|
1175
1316
|
errorMessage: 'errorMessage',
|
|
1176
1317
|
event: 'event',
|
|
1177
|
-
eventInfo: 'eventInfo',
|
|
1178
1318
|
sessionId: 'sessionId',
|
|
1179
1319
|
taskId: 'taskId',
|
|
1180
1320
|
traceId: 'traceId',
|
|
@@ -1185,7 +1325,6 @@ class RunHotTopicChatResponseBodyHeader extends $dara.Model {
|
|
|
1185
1325
|
errorCode: 'string',
|
|
1186
1326
|
errorMessage: 'string',
|
|
1187
1327
|
event: 'string',
|
|
1188
|
-
eventInfo: 'string',
|
|
1189
1328
|
sessionId: 'string',
|
|
1190
1329
|
taskId: 'string',
|
|
1191
1330
|
traceId: 'string',
|
|
@@ -1198,30 +1337,20 @@ class RunHotTopicChatResponseBodyHeader extends $dara.Model {
|
|
|
1198
1337
|
super(map);
|
|
1199
1338
|
}
|
|
1200
1339
|
}
|
|
1201
|
-
exports.
|
|
1202
|
-
class
|
|
1340
|
+
exports.RunEnterpriseVocAnalysisResponseBodyHeader = RunEnterpriseVocAnalysisResponseBodyHeader;
|
|
1341
|
+
class RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResultFilterResults extends $dara.Model {
|
|
1203
1342
|
static names() {
|
|
1204
1343
|
return {
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
searchSourceName: 'searchSourceName',
|
|
1209
|
-
select: 'select',
|
|
1210
|
-
summary: 'summary',
|
|
1211
|
-
title: 'title',
|
|
1212
|
-
url: 'url',
|
|
1344
|
+
hit: 'hit',
|
|
1345
|
+
tagName: 'tagName',
|
|
1346
|
+
tagValue: 'tagValue',
|
|
1213
1347
|
};
|
|
1214
1348
|
}
|
|
1215
1349
|
static types() {
|
|
1216
1350
|
return {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
searchSourceName: 'string',
|
|
1221
|
-
select: 'boolean',
|
|
1222
|
-
summary: 'string',
|
|
1223
|
-
title: 'string',
|
|
1224
|
-
url: 'string',
|
|
1351
|
+
hit: 'boolean',
|
|
1352
|
+
tagName: 'string',
|
|
1353
|
+
tagValue: 'string',
|
|
1225
1354
|
};
|
|
1226
1355
|
}
|
|
1227
1356
|
validate() {
|
|
@@ -1231,99 +1360,332 @@ class RunHotTopicChatResponseBodyPayloadOutputArticles extends $dara.Model {
|
|
|
1231
1360
|
super(map);
|
|
1232
1361
|
}
|
|
1233
1362
|
}
|
|
1234
|
-
exports.
|
|
1235
|
-
class
|
|
1363
|
+
exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResultFilterResults = RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResultFilterResults;
|
|
1364
|
+
class RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResult extends $dara.Model {
|
|
1236
1365
|
static names() {
|
|
1237
1366
|
return {
|
|
1238
|
-
|
|
1367
|
+
filterResults: 'filterResults',
|
|
1239
1368
|
};
|
|
1240
1369
|
}
|
|
1241
1370
|
static types() {
|
|
1242
1371
|
return {
|
|
1243
|
-
|
|
1372
|
+
filterResults: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResultFilterResults },
|
|
1244
1373
|
};
|
|
1245
1374
|
}
|
|
1246
1375
|
validate() {
|
|
1376
|
+
if (Array.isArray(this.filterResults)) {
|
|
1377
|
+
$dara.Model.validateArray(this.filterResults);
|
|
1378
|
+
}
|
|
1247
1379
|
super.validate();
|
|
1248
1380
|
}
|
|
1249
1381
|
constructor(map) {
|
|
1250
1382
|
super(map);
|
|
1251
1383
|
}
|
|
1252
1384
|
}
|
|
1253
|
-
exports.
|
|
1254
|
-
class
|
|
1385
|
+
exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResult = RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResult;
|
|
1386
|
+
class RunEnterpriseVocAnalysisResponseBodyPayloadOutput extends $dara.Model {
|
|
1255
1387
|
static names() {
|
|
1256
1388
|
return {
|
|
1257
|
-
|
|
1258
|
-
|
|
1389
|
+
filterResult: 'filterResult',
|
|
1390
|
+
text: 'text',
|
|
1259
1391
|
};
|
|
1260
1392
|
}
|
|
1261
1393
|
static types() {
|
|
1262
1394
|
return {
|
|
1263
|
-
|
|
1264
|
-
|
|
1395
|
+
filterResult: RunEnterpriseVocAnalysisResponseBodyPayloadOutputFilterResult,
|
|
1396
|
+
text: 'string',
|
|
1265
1397
|
};
|
|
1266
1398
|
}
|
|
1267
1399
|
validate() {
|
|
1400
|
+
if (this.filterResult && typeof this.filterResult.validate === 'function') {
|
|
1401
|
+
this.filterResult.validate();
|
|
1402
|
+
}
|
|
1268
1403
|
super.validate();
|
|
1269
1404
|
}
|
|
1270
1405
|
constructor(map) {
|
|
1271
1406
|
super(map);
|
|
1272
1407
|
}
|
|
1273
1408
|
}
|
|
1274
|
-
exports.
|
|
1275
|
-
class
|
|
1409
|
+
exports.RunEnterpriseVocAnalysisResponseBodyPayloadOutput = RunEnterpriseVocAnalysisResponseBodyPayloadOutput;
|
|
1410
|
+
class RunEnterpriseVocAnalysisResponseBodyPayloadUsage extends $dara.Model {
|
|
1276
1411
|
static names() {
|
|
1277
1412
|
return {
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
hotTopicVersion: 'hotTopicVersion',
|
|
1282
|
-
hotValue: 'hotValue',
|
|
1283
|
-
images: 'images',
|
|
1284
|
-
news: 'news',
|
|
1285
|
-
textSummary: 'textSummary',
|
|
1413
|
+
inputTokens: 'inputTokens',
|
|
1414
|
+
outputTokens: 'outputTokens',
|
|
1415
|
+
totalTokens: 'totalTokens',
|
|
1286
1416
|
};
|
|
1287
1417
|
}
|
|
1288
1418
|
static types() {
|
|
1289
1419
|
return {
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
hotTopicVersion: 'string',
|
|
1294
|
-
hotValue: 'number',
|
|
1295
|
-
images: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages },
|
|
1296
|
-
news: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews },
|
|
1297
|
-
textSummary: 'string',
|
|
1420
|
+
inputTokens: 'number',
|
|
1421
|
+
outputTokens: 'number',
|
|
1422
|
+
totalTokens: 'number',
|
|
1298
1423
|
};
|
|
1299
1424
|
}
|
|
1300
1425
|
validate() {
|
|
1301
|
-
if (Array.isArray(this.images)) {
|
|
1302
|
-
$dara.Model.validateArray(this.images);
|
|
1303
|
-
}
|
|
1304
|
-
if (Array.isArray(this.news)) {
|
|
1305
|
-
$dara.Model.validateArray(this.news);
|
|
1306
|
-
}
|
|
1307
1426
|
super.validate();
|
|
1308
1427
|
}
|
|
1309
1428
|
constructor(map) {
|
|
1310
1429
|
super(map);
|
|
1311
1430
|
}
|
|
1312
1431
|
}
|
|
1313
|
-
exports.
|
|
1314
|
-
class
|
|
1432
|
+
exports.RunEnterpriseVocAnalysisResponseBodyPayloadUsage = RunEnterpriseVocAnalysisResponseBodyPayloadUsage;
|
|
1433
|
+
class RunEnterpriseVocAnalysisResponseBodyPayload extends $dara.Model {
|
|
1315
1434
|
static names() {
|
|
1316
1435
|
return {
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
sortScore: 'sortScore',
|
|
1436
|
+
output: 'output',
|
|
1437
|
+
usage: 'usage',
|
|
1320
1438
|
};
|
|
1321
1439
|
}
|
|
1322
1440
|
static types() {
|
|
1323
1441
|
return {
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1442
|
+
output: RunEnterpriseVocAnalysisResponseBodyPayloadOutput,
|
|
1443
|
+
usage: RunEnterpriseVocAnalysisResponseBodyPayloadUsage,
|
|
1444
|
+
};
|
|
1445
|
+
}
|
|
1446
|
+
validate() {
|
|
1447
|
+
if (this.output && typeof this.output.validate === 'function') {
|
|
1448
|
+
this.output.validate();
|
|
1449
|
+
}
|
|
1450
|
+
if (this.usage && typeof this.usage.validate === 'function') {
|
|
1451
|
+
this.usage.validate();
|
|
1452
|
+
}
|
|
1453
|
+
super.validate();
|
|
1454
|
+
}
|
|
1455
|
+
constructor(map) {
|
|
1456
|
+
super(map);
|
|
1457
|
+
}
|
|
1458
|
+
}
|
|
1459
|
+
exports.RunEnterpriseVocAnalysisResponseBodyPayload = RunEnterpriseVocAnalysisResponseBodyPayload;
|
|
1460
|
+
class RunHotTopicChatRequestMessages extends $dara.Model {
|
|
1461
|
+
static names() {
|
|
1462
|
+
return {
|
|
1463
|
+
content: 'content',
|
|
1464
|
+
createTime: 'createTime',
|
|
1465
|
+
role: 'role',
|
|
1466
|
+
};
|
|
1467
|
+
}
|
|
1468
|
+
static types() {
|
|
1469
|
+
return {
|
|
1470
|
+
content: 'string',
|
|
1471
|
+
createTime: 'string',
|
|
1472
|
+
role: 'string',
|
|
1473
|
+
};
|
|
1474
|
+
}
|
|
1475
|
+
validate() {
|
|
1476
|
+
super.validate();
|
|
1477
|
+
}
|
|
1478
|
+
constructor(map) {
|
|
1479
|
+
super(map);
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
exports.RunHotTopicChatRequestMessages = RunHotTopicChatRequestMessages;
|
|
1483
|
+
class RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights extends $dara.Model {
|
|
1484
|
+
static names() {
|
|
1485
|
+
return {
|
|
1486
|
+
dimension: 'dimension',
|
|
1487
|
+
weight: 'weight',
|
|
1488
|
+
};
|
|
1489
|
+
}
|
|
1490
|
+
static types() {
|
|
1491
|
+
return {
|
|
1492
|
+
dimension: 'string',
|
|
1493
|
+
weight: 'number',
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
validate() {
|
|
1497
|
+
super.validate();
|
|
1498
|
+
}
|
|
1499
|
+
constructor(map) {
|
|
1500
|
+
super(map);
|
|
1501
|
+
}
|
|
1502
|
+
}
|
|
1503
|
+
exports.RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights = RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights;
|
|
1504
|
+
class RunHotTopicChatRequestStepForBroadcastContentConfig extends $dara.Model {
|
|
1505
|
+
static names() {
|
|
1506
|
+
return {
|
|
1507
|
+
categories: 'categories',
|
|
1508
|
+
customHotValueWeights: 'customHotValueWeights',
|
|
1509
|
+
topicCount: 'topicCount',
|
|
1510
|
+
};
|
|
1511
|
+
}
|
|
1512
|
+
static types() {
|
|
1513
|
+
return {
|
|
1514
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
1515
|
+
customHotValueWeights: { 'type': 'array', 'itemType': RunHotTopicChatRequestStepForBroadcastContentConfigCustomHotValueWeights },
|
|
1516
|
+
topicCount: 'number',
|
|
1517
|
+
};
|
|
1518
|
+
}
|
|
1519
|
+
validate() {
|
|
1520
|
+
if (Array.isArray(this.categories)) {
|
|
1521
|
+
$dara.Model.validateArray(this.categories);
|
|
1522
|
+
}
|
|
1523
|
+
if (Array.isArray(this.customHotValueWeights)) {
|
|
1524
|
+
$dara.Model.validateArray(this.customHotValueWeights);
|
|
1525
|
+
}
|
|
1526
|
+
super.validate();
|
|
1527
|
+
}
|
|
1528
|
+
constructor(map) {
|
|
1529
|
+
super(map);
|
|
1530
|
+
}
|
|
1531
|
+
}
|
|
1532
|
+
exports.RunHotTopicChatRequestStepForBroadcastContentConfig = RunHotTopicChatRequestStepForBroadcastContentConfig;
|
|
1533
|
+
class RunHotTopicChatResponseBodyHeader extends $dara.Model {
|
|
1534
|
+
static names() {
|
|
1535
|
+
return {
|
|
1536
|
+
errorCode: 'errorCode',
|
|
1537
|
+
errorMessage: 'errorMessage',
|
|
1538
|
+
event: 'event',
|
|
1539
|
+
eventInfo: 'eventInfo',
|
|
1540
|
+
sessionId: 'sessionId',
|
|
1541
|
+
taskId: 'taskId',
|
|
1542
|
+
traceId: 'traceId',
|
|
1543
|
+
};
|
|
1544
|
+
}
|
|
1545
|
+
static types() {
|
|
1546
|
+
return {
|
|
1547
|
+
errorCode: 'string',
|
|
1548
|
+
errorMessage: 'string',
|
|
1549
|
+
event: 'string',
|
|
1550
|
+
eventInfo: 'string',
|
|
1551
|
+
sessionId: 'string',
|
|
1552
|
+
taskId: 'string',
|
|
1553
|
+
traceId: 'string',
|
|
1554
|
+
};
|
|
1555
|
+
}
|
|
1556
|
+
validate() {
|
|
1557
|
+
super.validate();
|
|
1558
|
+
}
|
|
1559
|
+
constructor(map) {
|
|
1560
|
+
super(map);
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
exports.RunHotTopicChatResponseBodyHeader = RunHotTopicChatResponseBodyHeader;
|
|
1564
|
+
class RunHotTopicChatResponseBodyPayloadOutputArticles extends $dara.Model {
|
|
1565
|
+
static names() {
|
|
1566
|
+
return {
|
|
1567
|
+
content: 'content',
|
|
1568
|
+
pubTime: 'pubTime',
|
|
1569
|
+
score: 'score',
|
|
1570
|
+
searchSourceName: 'searchSourceName',
|
|
1571
|
+
select: 'select',
|
|
1572
|
+
summary: 'summary',
|
|
1573
|
+
title: 'title',
|
|
1574
|
+
url: 'url',
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
static types() {
|
|
1578
|
+
return {
|
|
1579
|
+
content: 'string',
|
|
1580
|
+
pubTime: 'string',
|
|
1581
|
+
score: 'number',
|
|
1582
|
+
searchSourceName: 'string',
|
|
1583
|
+
select: 'boolean',
|
|
1584
|
+
summary: 'string',
|
|
1585
|
+
title: 'string',
|
|
1586
|
+
url: 'string',
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
validate() {
|
|
1590
|
+
super.validate();
|
|
1591
|
+
}
|
|
1592
|
+
constructor(map) {
|
|
1593
|
+
super(map);
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
exports.RunHotTopicChatResponseBodyPayloadOutputArticles = RunHotTopicChatResponseBodyPayloadOutputArticles;
|
|
1597
|
+
class RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages extends $dara.Model {
|
|
1598
|
+
static names() {
|
|
1599
|
+
return {
|
|
1600
|
+
url: 'url',
|
|
1601
|
+
};
|
|
1602
|
+
}
|
|
1603
|
+
static types() {
|
|
1604
|
+
return {
|
|
1605
|
+
url: 'string',
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
validate() {
|
|
1609
|
+
super.validate();
|
|
1610
|
+
}
|
|
1611
|
+
constructor(map) {
|
|
1612
|
+
super(map);
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages = RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages;
|
|
1616
|
+
class RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews extends $dara.Model {
|
|
1617
|
+
static names() {
|
|
1618
|
+
return {
|
|
1619
|
+
title: 'title',
|
|
1620
|
+
url: 'url',
|
|
1621
|
+
};
|
|
1622
|
+
}
|
|
1623
|
+
static types() {
|
|
1624
|
+
return {
|
|
1625
|
+
title: 'string',
|
|
1626
|
+
url: 'string',
|
|
1627
|
+
};
|
|
1628
|
+
}
|
|
1629
|
+
validate() {
|
|
1630
|
+
super.validate();
|
|
1631
|
+
}
|
|
1632
|
+
constructor(map) {
|
|
1633
|
+
super(map);
|
|
1634
|
+
}
|
|
1635
|
+
}
|
|
1636
|
+
exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews = RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews;
|
|
1637
|
+
class RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries extends $dara.Model {
|
|
1638
|
+
static names() {
|
|
1639
|
+
return {
|
|
1640
|
+
customHotValue: 'customHotValue',
|
|
1641
|
+
customTextSummary: 'customTextSummary',
|
|
1642
|
+
hotTopic: 'hotTopic',
|
|
1643
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
1644
|
+
hotValue: 'hotValue',
|
|
1645
|
+
images: 'images',
|
|
1646
|
+
news: 'news',
|
|
1647
|
+
textSummary: 'textSummary',
|
|
1648
|
+
};
|
|
1649
|
+
}
|
|
1650
|
+
static types() {
|
|
1651
|
+
return {
|
|
1652
|
+
customHotValue: 'number',
|
|
1653
|
+
customTextSummary: 'string',
|
|
1654
|
+
hotTopic: 'string',
|
|
1655
|
+
hotTopicVersion: 'string',
|
|
1656
|
+
hotValue: 'number',
|
|
1657
|
+
images: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesImages },
|
|
1658
|
+
news: { 'type': 'array', 'itemType': RunHotTopicChatResponseBodyPayloadOutputHotTopicSummariesNews },
|
|
1659
|
+
textSummary: 'string',
|
|
1660
|
+
};
|
|
1661
|
+
}
|
|
1662
|
+
validate() {
|
|
1663
|
+
if (Array.isArray(this.images)) {
|
|
1664
|
+
$dara.Model.validateArray(this.images);
|
|
1665
|
+
}
|
|
1666
|
+
if (Array.isArray(this.news)) {
|
|
1667
|
+
$dara.Model.validateArray(this.news);
|
|
1668
|
+
}
|
|
1669
|
+
super.validate();
|
|
1670
|
+
}
|
|
1671
|
+
constructor(map) {
|
|
1672
|
+
super(map);
|
|
1673
|
+
}
|
|
1674
|
+
}
|
|
1675
|
+
exports.RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries = RunHotTopicChatResponseBodyPayloadOutputHotTopicSummaries;
|
|
1676
|
+
class RunHotTopicChatResponseBodyPayloadOutputMultimodalMedias extends $dara.Model {
|
|
1677
|
+
static names() {
|
|
1678
|
+
return {
|
|
1679
|
+
fileUrl: 'fileUrl',
|
|
1680
|
+
mediaType: 'mediaType',
|
|
1681
|
+
sortScore: 'sortScore',
|
|
1682
|
+
};
|
|
1683
|
+
}
|
|
1684
|
+
static types() {
|
|
1685
|
+
return {
|
|
1686
|
+
fileUrl: 'string',
|
|
1687
|
+
mediaType: 'string',
|
|
1688
|
+
sortScore: 'number',
|
|
1327
1689
|
};
|
|
1328
1690
|
}
|
|
1329
1691
|
validate() {
|
|
@@ -3203,17 +3565,17 @@ class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
|
|
|
3203
3565
|
}
|
|
3204
3566
|
}
|
|
3205
3567
|
exports.RunVideoAnalysisResponseBodyPayload = RunVideoAnalysisResponseBodyPayload;
|
|
3206
|
-
class
|
|
3568
|
+
class SubmitEnterpriseVocAnalysisTaskRequestContents extends $dara.Model {
|
|
3207
3569
|
static names() {
|
|
3208
3570
|
return {
|
|
3209
|
-
|
|
3210
|
-
|
|
3571
|
+
id: 'id',
|
|
3572
|
+
text: 'text',
|
|
3211
3573
|
};
|
|
3212
3574
|
}
|
|
3213
3575
|
static types() {
|
|
3214
3576
|
return {
|
|
3215
|
-
|
|
3216
|
-
|
|
3577
|
+
id: 'string',
|
|
3578
|
+
text: 'string',
|
|
3217
3579
|
};
|
|
3218
3580
|
}
|
|
3219
3581
|
validate() {
|
|
@@ -3223,11 +3585,93 @@ class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
|
|
|
3223
3585
|
super(map);
|
|
3224
3586
|
}
|
|
3225
3587
|
}
|
|
3226
|
-
exports.
|
|
3227
|
-
class
|
|
3588
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestContents = SubmitEnterpriseVocAnalysisTaskRequestContents;
|
|
3589
|
+
class SubmitEnterpriseVocAnalysisTaskRequestFilterTags extends $dara.Model {
|
|
3228
3590
|
static names() {
|
|
3229
3591
|
return {
|
|
3230
|
-
|
|
3592
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3593
|
+
tagName: 'tagName',
|
|
3594
|
+
};
|
|
3595
|
+
}
|
|
3596
|
+
static types() {
|
|
3597
|
+
return {
|
|
3598
|
+
tagDefinePrompt: 'string',
|
|
3599
|
+
tagName: 'string',
|
|
3600
|
+
};
|
|
3601
|
+
}
|
|
3602
|
+
validate() {
|
|
3603
|
+
super.validate();
|
|
3604
|
+
}
|
|
3605
|
+
constructor(map) {
|
|
3606
|
+
super(map);
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestFilterTags = SubmitEnterpriseVocAnalysisTaskRequestFilterTags;
|
|
3610
|
+
class SubmitEnterpriseVocAnalysisTaskRequestTags extends $dara.Model {
|
|
3611
|
+
static names() {
|
|
3612
|
+
return {
|
|
3613
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3614
|
+
tagName: 'tagName',
|
|
3615
|
+
};
|
|
3616
|
+
}
|
|
3617
|
+
static types() {
|
|
3618
|
+
return {
|
|
3619
|
+
tagDefinePrompt: 'string',
|
|
3620
|
+
tagName: 'string',
|
|
3621
|
+
};
|
|
3622
|
+
}
|
|
3623
|
+
validate() {
|
|
3624
|
+
super.validate();
|
|
3625
|
+
}
|
|
3626
|
+
constructor(map) {
|
|
3627
|
+
super(map);
|
|
3628
|
+
}
|
|
3629
|
+
}
|
|
3630
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestTags = SubmitEnterpriseVocAnalysisTaskRequestTags;
|
|
3631
|
+
class SubmitEnterpriseVocAnalysisTaskResponseBodyData extends $dara.Model {
|
|
3632
|
+
static names() {
|
|
3633
|
+
return {
|
|
3634
|
+
taskId: 'taskId',
|
|
3635
|
+
};
|
|
3636
|
+
}
|
|
3637
|
+
static types() {
|
|
3638
|
+
return {
|
|
3639
|
+
taskId: 'string',
|
|
3640
|
+
};
|
|
3641
|
+
}
|
|
3642
|
+
validate() {
|
|
3643
|
+
super.validate();
|
|
3644
|
+
}
|
|
3645
|
+
constructor(map) {
|
|
3646
|
+
super(map);
|
|
3647
|
+
}
|
|
3648
|
+
}
|
|
3649
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponseBodyData = SubmitEnterpriseVocAnalysisTaskResponseBodyData;
|
|
3650
|
+
class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
|
|
3651
|
+
static names() {
|
|
3652
|
+
return {
|
|
3653
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3654
|
+
tagName: 'tagName',
|
|
3655
|
+
};
|
|
3656
|
+
}
|
|
3657
|
+
static types() {
|
|
3658
|
+
return {
|
|
3659
|
+
tagDefinePrompt: 'string',
|
|
3660
|
+
tagName: 'string',
|
|
3661
|
+
};
|
|
3662
|
+
}
|
|
3663
|
+
validate() {
|
|
3664
|
+
super.validate();
|
|
3665
|
+
}
|
|
3666
|
+
constructor(map) {
|
|
3667
|
+
super(map);
|
|
3668
|
+
}
|
|
3669
|
+
}
|
|
3670
|
+
exports.SubmitTagMiningAnalysisTaskRequestTags = SubmitTagMiningAnalysisTaskRequestTags;
|
|
3671
|
+
class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
|
|
3672
|
+
static names() {
|
|
3673
|
+
return {
|
|
3674
|
+
taskId: 'taskId',
|
|
3231
3675
|
};
|
|
3232
3676
|
}
|
|
3233
3677
|
static types() {
|
|
@@ -3334,6 +3778,188 @@ class SubmitVideoAnalysisTaskResponseBodyData extends $dara.Model {
|
|
|
3334
3778
|
}
|
|
3335
3779
|
}
|
|
3336
3780
|
exports.SubmitVideoAnalysisTaskResponseBodyData = SubmitVideoAnalysisTaskResponseBodyData;
|
|
3781
|
+
class CancelAsyncTaskRequest extends $dara.Model {
|
|
3782
|
+
static names() {
|
|
3783
|
+
return {
|
|
3784
|
+
taskId: 'taskId',
|
|
3785
|
+
};
|
|
3786
|
+
}
|
|
3787
|
+
static types() {
|
|
3788
|
+
return {
|
|
3789
|
+
taskId: 'string',
|
|
3790
|
+
};
|
|
3791
|
+
}
|
|
3792
|
+
validate() {
|
|
3793
|
+
super.validate();
|
|
3794
|
+
}
|
|
3795
|
+
constructor(map) {
|
|
3796
|
+
super(map);
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
exports.CancelAsyncTaskRequest = CancelAsyncTaskRequest;
|
|
3800
|
+
class CancelAsyncTaskResponseBody extends $dara.Model {
|
|
3801
|
+
static names() {
|
|
3802
|
+
return {
|
|
3803
|
+
code: 'code',
|
|
3804
|
+
data: 'data',
|
|
3805
|
+
httpStatusCode: 'httpStatusCode',
|
|
3806
|
+
message: 'message',
|
|
3807
|
+
requestId: 'requestId',
|
|
3808
|
+
success: 'success',
|
|
3809
|
+
};
|
|
3810
|
+
}
|
|
3811
|
+
static types() {
|
|
3812
|
+
return {
|
|
3813
|
+
code: 'string',
|
|
3814
|
+
data: 'boolean',
|
|
3815
|
+
httpStatusCode: 'number',
|
|
3816
|
+
message: 'string',
|
|
3817
|
+
requestId: 'string',
|
|
3818
|
+
success: 'boolean',
|
|
3819
|
+
};
|
|
3820
|
+
}
|
|
3821
|
+
validate() {
|
|
3822
|
+
super.validate();
|
|
3823
|
+
}
|
|
3824
|
+
constructor(map) {
|
|
3825
|
+
super(map);
|
|
3826
|
+
}
|
|
3827
|
+
}
|
|
3828
|
+
exports.CancelAsyncTaskResponseBody = CancelAsyncTaskResponseBody;
|
|
3829
|
+
class CancelAsyncTaskResponse extends $dara.Model {
|
|
3830
|
+
static names() {
|
|
3831
|
+
return {
|
|
3832
|
+
headers: 'headers',
|
|
3833
|
+
statusCode: 'statusCode',
|
|
3834
|
+
body: 'body',
|
|
3835
|
+
};
|
|
3836
|
+
}
|
|
3837
|
+
static types() {
|
|
3838
|
+
return {
|
|
3839
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3840
|
+
statusCode: 'number',
|
|
3841
|
+
body: CancelAsyncTaskResponseBody,
|
|
3842
|
+
};
|
|
3843
|
+
}
|
|
3844
|
+
validate() {
|
|
3845
|
+
if (this.headers) {
|
|
3846
|
+
$dara.Model.validateMap(this.headers);
|
|
3847
|
+
}
|
|
3848
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3849
|
+
this.body.validate();
|
|
3850
|
+
}
|
|
3851
|
+
super.validate();
|
|
3852
|
+
}
|
|
3853
|
+
constructor(map) {
|
|
3854
|
+
super(map);
|
|
3855
|
+
}
|
|
3856
|
+
}
|
|
3857
|
+
exports.CancelAsyncTaskResponse = CancelAsyncTaskResponse;
|
|
3858
|
+
class ExportAnalysisTagDetailByTaskIdRequest extends $dara.Model {
|
|
3859
|
+
static names() {
|
|
3860
|
+
return {
|
|
3861
|
+
categories: 'categories',
|
|
3862
|
+
category: 'category',
|
|
3863
|
+
taskId: 'taskId',
|
|
3864
|
+
};
|
|
3865
|
+
}
|
|
3866
|
+
static types() {
|
|
3867
|
+
return {
|
|
3868
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
3869
|
+
category: 'string',
|
|
3870
|
+
taskId: 'string',
|
|
3871
|
+
};
|
|
3872
|
+
}
|
|
3873
|
+
validate() {
|
|
3874
|
+
if (Array.isArray(this.categories)) {
|
|
3875
|
+
$dara.Model.validateArray(this.categories);
|
|
3876
|
+
}
|
|
3877
|
+
super.validate();
|
|
3878
|
+
}
|
|
3879
|
+
constructor(map) {
|
|
3880
|
+
super(map);
|
|
3881
|
+
}
|
|
3882
|
+
}
|
|
3883
|
+
exports.ExportAnalysisTagDetailByTaskIdRequest = ExportAnalysisTagDetailByTaskIdRequest;
|
|
3884
|
+
class ExportAnalysisTagDetailByTaskIdShrinkRequest extends $dara.Model {
|
|
3885
|
+
static names() {
|
|
3886
|
+
return {
|
|
3887
|
+
categoriesShrink: 'categories',
|
|
3888
|
+
category: 'category',
|
|
3889
|
+
taskId: 'taskId',
|
|
3890
|
+
};
|
|
3891
|
+
}
|
|
3892
|
+
static types() {
|
|
3893
|
+
return {
|
|
3894
|
+
categoriesShrink: 'string',
|
|
3895
|
+
category: 'string',
|
|
3896
|
+
taskId: 'string',
|
|
3897
|
+
};
|
|
3898
|
+
}
|
|
3899
|
+
validate() {
|
|
3900
|
+
super.validate();
|
|
3901
|
+
}
|
|
3902
|
+
constructor(map) {
|
|
3903
|
+
super(map);
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
exports.ExportAnalysisTagDetailByTaskIdShrinkRequest = ExportAnalysisTagDetailByTaskIdShrinkRequest;
|
|
3907
|
+
class ExportAnalysisTagDetailByTaskIdResponseBody extends $dara.Model {
|
|
3908
|
+
static names() {
|
|
3909
|
+
return {
|
|
3910
|
+
code: 'code',
|
|
3911
|
+
data: 'data',
|
|
3912
|
+
httpStatusCode: 'httpStatusCode',
|
|
3913
|
+
message: 'message',
|
|
3914
|
+
requestId: 'requestId',
|
|
3915
|
+
};
|
|
3916
|
+
}
|
|
3917
|
+
static types() {
|
|
3918
|
+
return {
|
|
3919
|
+
code: 'string',
|
|
3920
|
+
data: 'string',
|
|
3921
|
+
httpStatusCode: 'number',
|
|
3922
|
+
message: 'string',
|
|
3923
|
+
requestId: 'string',
|
|
3924
|
+
};
|
|
3925
|
+
}
|
|
3926
|
+
validate() {
|
|
3927
|
+
super.validate();
|
|
3928
|
+
}
|
|
3929
|
+
constructor(map) {
|
|
3930
|
+
super(map);
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
exports.ExportAnalysisTagDetailByTaskIdResponseBody = ExportAnalysisTagDetailByTaskIdResponseBody;
|
|
3934
|
+
class ExportAnalysisTagDetailByTaskIdResponse extends $dara.Model {
|
|
3935
|
+
static names() {
|
|
3936
|
+
return {
|
|
3937
|
+
headers: 'headers',
|
|
3938
|
+
statusCode: 'statusCode',
|
|
3939
|
+
body: 'body',
|
|
3940
|
+
};
|
|
3941
|
+
}
|
|
3942
|
+
static types() {
|
|
3943
|
+
return {
|
|
3944
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3945
|
+
statusCode: 'number',
|
|
3946
|
+
body: ExportAnalysisTagDetailByTaskIdResponseBody,
|
|
3947
|
+
};
|
|
3948
|
+
}
|
|
3949
|
+
validate() {
|
|
3950
|
+
if (this.headers) {
|
|
3951
|
+
$dara.Model.validateMap(this.headers);
|
|
3952
|
+
}
|
|
3953
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3954
|
+
this.body.validate();
|
|
3955
|
+
}
|
|
3956
|
+
super.validate();
|
|
3957
|
+
}
|
|
3958
|
+
constructor(map) {
|
|
3959
|
+
super(map);
|
|
3960
|
+
}
|
|
3961
|
+
}
|
|
3962
|
+
exports.ExportAnalysisTagDetailByTaskIdResponse = ExportAnalysisTagDetailByTaskIdResponse;
|
|
3337
3963
|
class GenerateBroadcastNewsRequest extends $dara.Model {
|
|
3338
3964
|
static names() {
|
|
3339
3965
|
return {
|
|
@@ -3434,8 +4060,96 @@ class GenerateOutputFormatRequest extends $dara.Model {
|
|
|
3434
4060
|
};
|
|
3435
4061
|
}
|
|
3436
4062
|
validate() {
|
|
3437
|
-
if (Array.isArray(this.tags)) {
|
|
3438
|
-
$dara.Model.validateArray(this.tags);
|
|
4063
|
+
if (Array.isArray(this.tags)) {
|
|
4064
|
+
$dara.Model.validateArray(this.tags);
|
|
4065
|
+
}
|
|
4066
|
+
super.validate();
|
|
4067
|
+
}
|
|
4068
|
+
constructor(map) {
|
|
4069
|
+
super(map);
|
|
4070
|
+
}
|
|
4071
|
+
}
|
|
4072
|
+
exports.GenerateOutputFormatRequest = GenerateOutputFormatRequest;
|
|
4073
|
+
class GenerateOutputFormatShrinkRequest extends $dara.Model {
|
|
4074
|
+
static names() {
|
|
4075
|
+
return {
|
|
4076
|
+
businessType: 'businessType',
|
|
4077
|
+
content: 'content',
|
|
4078
|
+
extraInfo: 'extraInfo',
|
|
4079
|
+
tagsShrink: 'tags',
|
|
4080
|
+
taskDescription: 'taskDescription',
|
|
4081
|
+
};
|
|
4082
|
+
}
|
|
4083
|
+
static types() {
|
|
4084
|
+
return {
|
|
4085
|
+
businessType: 'string',
|
|
4086
|
+
content: 'string',
|
|
4087
|
+
extraInfo: 'string',
|
|
4088
|
+
tagsShrink: 'string',
|
|
4089
|
+
taskDescription: 'string',
|
|
4090
|
+
};
|
|
4091
|
+
}
|
|
4092
|
+
validate() {
|
|
4093
|
+
super.validate();
|
|
4094
|
+
}
|
|
4095
|
+
constructor(map) {
|
|
4096
|
+
super(map);
|
|
4097
|
+
}
|
|
4098
|
+
}
|
|
4099
|
+
exports.GenerateOutputFormatShrinkRequest = GenerateOutputFormatShrinkRequest;
|
|
4100
|
+
class GenerateOutputFormatResponseBody extends $dara.Model {
|
|
4101
|
+
static names() {
|
|
4102
|
+
return {
|
|
4103
|
+
code: 'code',
|
|
4104
|
+
data: 'data',
|
|
4105
|
+
httpStatusCode: 'httpStatusCode',
|
|
4106
|
+
message: 'message',
|
|
4107
|
+
requestId: 'requestId',
|
|
4108
|
+
success: 'success',
|
|
4109
|
+
};
|
|
4110
|
+
}
|
|
4111
|
+
static types() {
|
|
4112
|
+
return {
|
|
4113
|
+
code: 'string',
|
|
4114
|
+
data: GenerateOutputFormatResponseBodyData,
|
|
4115
|
+
httpStatusCode: 'number',
|
|
4116
|
+
message: 'string',
|
|
4117
|
+
requestId: 'string',
|
|
4118
|
+
success: 'boolean',
|
|
4119
|
+
};
|
|
4120
|
+
}
|
|
4121
|
+
validate() {
|
|
4122
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
4123
|
+
this.data.validate();
|
|
4124
|
+
}
|
|
4125
|
+
super.validate();
|
|
4126
|
+
}
|
|
4127
|
+
constructor(map) {
|
|
4128
|
+
super(map);
|
|
4129
|
+
}
|
|
4130
|
+
}
|
|
4131
|
+
exports.GenerateOutputFormatResponseBody = GenerateOutputFormatResponseBody;
|
|
4132
|
+
class GenerateOutputFormatResponse extends $dara.Model {
|
|
4133
|
+
static names() {
|
|
4134
|
+
return {
|
|
4135
|
+
headers: 'headers',
|
|
4136
|
+
statusCode: 'statusCode',
|
|
4137
|
+
body: 'body',
|
|
4138
|
+
};
|
|
4139
|
+
}
|
|
4140
|
+
static types() {
|
|
4141
|
+
return {
|
|
4142
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4143
|
+
statusCode: 'number',
|
|
4144
|
+
body: GenerateOutputFormatResponseBody,
|
|
4145
|
+
};
|
|
4146
|
+
}
|
|
4147
|
+
validate() {
|
|
4148
|
+
if (this.headers) {
|
|
4149
|
+
$dara.Model.validateMap(this.headers);
|
|
4150
|
+
}
|
|
4151
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
4152
|
+
this.body.validate();
|
|
3439
4153
|
}
|
|
3440
4154
|
super.validate();
|
|
3441
4155
|
}
|
|
@@ -3443,24 +4157,16 @@ class GenerateOutputFormatRequest extends $dara.Model {
|
|
|
3443
4157
|
super(map);
|
|
3444
4158
|
}
|
|
3445
4159
|
}
|
|
3446
|
-
exports.
|
|
3447
|
-
class
|
|
4160
|
+
exports.GenerateOutputFormatResponse = GenerateOutputFormatResponse;
|
|
4161
|
+
class GetEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
3448
4162
|
static names() {
|
|
3449
4163
|
return {
|
|
3450
|
-
|
|
3451
|
-
content: 'content',
|
|
3452
|
-
extraInfo: 'extraInfo',
|
|
3453
|
-
tagsShrink: 'tags',
|
|
3454
|
-
taskDescription: 'taskDescription',
|
|
4164
|
+
taskId: 'taskId',
|
|
3455
4165
|
};
|
|
3456
4166
|
}
|
|
3457
4167
|
static types() {
|
|
3458
4168
|
return {
|
|
3459
|
-
|
|
3460
|
-
content: 'string',
|
|
3461
|
-
extraInfo: 'string',
|
|
3462
|
-
tagsShrink: 'string',
|
|
3463
|
-
taskDescription: 'string',
|
|
4169
|
+
taskId: 'string',
|
|
3464
4170
|
};
|
|
3465
4171
|
}
|
|
3466
4172
|
validate() {
|
|
@@ -3470,8 +4176,8 @@ class GenerateOutputFormatShrinkRequest extends $dara.Model {
|
|
|
3470
4176
|
super(map);
|
|
3471
4177
|
}
|
|
3472
4178
|
}
|
|
3473
|
-
exports.
|
|
3474
|
-
class
|
|
4179
|
+
exports.GetEnterpriseVocAnalysisTaskRequest = GetEnterpriseVocAnalysisTaskRequest;
|
|
4180
|
+
class GetEnterpriseVocAnalysisTaskResponseBody extends $dara.Model {
|
|
3475
4181
|
static names() {
|
|
3476
4182
|
return {
|
|
3477
4183
|
code: 'code',
|
|
@@ -3485,7 +4191,7 @@ class GenerateOutputFormatResponseBody extends $dara.Model {
|
|
|
3485
4191
|
static types() {
|
|
3486
4192
|
return {
|
|
3487
4193
|
code: 'string',
|
|
3488
|
-
data:
|
|
4194
|
+
data: GetEnterpriseVocAnalysisTaskResponseBodyData,
|
|
3489
4195
|
httpStatusCode: 'number',
|
|
3490
4196
|
message: 'string',
|
|
3491
4197
|
requestId: 'string',
|
|
@@ -3502,8 +4208,8 @@ class GenerateOutputFormatResponseBody extends $dara.Model {
|
|
|
3502
4208
|
super(map);
|
|
3503
4209
|
}
|
|
3504
4210
|
}
|
|
3505
|
-
exports.
|
|
3506
|
-
class
|
|
4211
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBody = GetEnterpriseVocAnalysisTaskResponseBody;
|
|
4212
|
+
class GetEnterpriseVocAnalysisTaskResponse extends $dara.Model {
|
|
3507
4213
|
static names() {
|
|
3508
4214
|
return {
|
|
3509
4215
|
headers: 'headers',
|
|
@@ -3515,7 +4221,7 @@ class GenerateOutputFormatResponse extends $dara.Model {
|
|
|
3515
4221
|
return {
|
|
3516
4222
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3517
4223
|
statusCode: 'number',
|
|
3518
|
-
body:
|
|
4224
|
+
body: GetEnterpriseVocAnalysisTaskResponseBody,
|
|
3519
4225
|
};
|
|
3520
4226
|
}
|
|
3521
4227
|
validate() {
|
|
@@ -3531,7 +4237,7 @@ class GenerateOutputFormatResponse extends $dara.Model {
|
|
|
3531
4237
|
super(map);
|
|
3532
4238
|
}
|
|
3533
4239
|
}
|
|
3534
|
-
exports.
|
|
4240
|
+
exports.GetEnterpriseVocAnalysisTaskResponse = GetEnterpriseVocAnalysisTaskResponse;
|
|
3535
4241
|
class GetTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
3536
4242
|
static names() {
|
|
3537
4243
|
return {
|
|
@@ -3847,6 +4553,132 @@ class ListHotTopicSummariesResponse extends $dara.Model {
|
|
|
3847
4553
|
}
|
|
3848
4554
|
}
|
|
3849
4555
|
exports.ListHotTopicSummariesResponse = ListHotTopicSummariesResponse;
|
|
4556
|
+
class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
4557
|
+
static names() {
|
|
4558
|
+
return {
|
|
4559
|
+
content: 'content',
|
|
4560
|
+
extraInfo: 'extraInfo',
|
|
4561
|
+
filterTags: 'filterTags',
|
|
4562
|
+
modelId: 'modelId',
|
|
4563
|
+
outputFormat: 'outputFormat',
|
|
4564
|
+
tags: 'tags',
|
|
4565
|
+
taskDescription: 'taskDescription',
|
|
4566
|
+
};
|
|
4567
|
+
}
|
|
4568
|
+
static types() {
|
|
4569
|
+
return {
|
|
4570
|
+
content: 'string',
|
|
4571
|
+
extraInfo: 'string',
|
|
4572
|
+
filterTags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestFilterTags },
|
|
4573
|
+
modelId: 'string',
|
|
4574
|
+
outputFormat: 'string',
|
|
4575
|
+
tags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestTags },
|
|
4576
|
+
taskDescription: 'string',
|
|
4577
|
+
};
|
|
4578
|
+
}
|
|
4579
|
+
validate() {
|
|
4580
|
+
if (Array.isArray(this.filterTags)) {
|
|
4581
|
+
$dara.Model.validateArray(this.filterTags);
|
|
4582
|
+
}
|
|
4583
|
+
if (Array.isArray(this.tags)) {
|
|
4584
|
+
$dara.Model.validateArray(this.tags);
|
|
4585
|
+
}
|
|
4586
|
+
super.validate();
|
|
4587
|
+
}
|
|
4588
|
+
constructor(map) {
|
|
4589
|
+
super(map);
|
|
4590
|
+
}
|
|
4591
|
+
}
|
|
4592
|
+
exports.RunEnterpriseVocAnalysisRequest = RunEnterpriseVocAnalysisRequest;
|
|
4593
|
+
class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
4594
|
+
static names() {
|
|
4595
|
+
return {
|
|
4596
|
+
content: 'content',
|
|
4597
|
+
extraInfo: 'extraInfo',
|
|
4598
|
+
filterTagsShrink: 'filterTags',
|
|
4599
|
+
modelId: 'modelId',
|
|
4600
|
+
outputFormat: 'outputFormat',
|
|
4601
|
+
tagsShrink: 'tags',
|
|
4602
|
+
taskDescription: 'taskDescription',
|
|
4603
|
+
};
|
|
4604
|
+
}
|
|
4605
|
+
static types() {
|
|
4606
|
+
return {
|
|
4607
|
+
content: 'string',
|
|
4608
|
+
extraInfo: 'string',
|
|
4609
|
+
filterTagsShrink: 'string',
|
|
4610
|
+
modelId: 'string',
|
|
4611
|
+
outputFormat: 'string',
|
|
4612
|
+
tagsShrink: 'string',
|
|
4613
|
+
taskDescription: 'string',
|
|
4614
|
+
};
|
|
4615
|
+
}
|
|
4616
|
+
validate() {
|
|
4617
|
+
super.validate();
|
|
4618
|
+
}
|
|
4619
|
+
constructor(map) {
|
|
4620
|
+
super(map);
|
|
4621
|
+
}
|
|
4622
|
+
}
|
|
4623
|
+
exports.RunEnterpriseVocAnalysisShrinkRequest = RunEnterpriseVocAnalysisShrinkRequest;
|
|
4624
|
+
class RunEnterpriseVocAnalysisResponseBody extends $dara.Model {
|
|
4625
|
+
static names() {
|
|
4626
|
+
return {
|
|
4627
|
+
header: 'header',
|
|
4628
|
+
payload: 'payload',
|
|
4629
|
+
requestId: 'requestId',
|
|
4630
|
+
};
|
|
4631
|
+
}
|
|
4632
|
+
static types() {
|
|
4633
|
+
return {
|
|
4634
|
+
header: RunEnterpriseVocAnalysisResponseBodyHeader,
|
|
4635
|
+
payload: RunEnterpriseVocAnalysisResponseBodyPayload,
|
|
4636
|
+
requestId: 'string',
|
|
4637
|
+
};
|
|
4638
|
+
}
|
|
4639
|
+
validate() {
|
|
4640
|
+
if (this.header && typeof this.header.validate === 'function') {
|
|
4641
|
+
this.header.validate();
|
|
4642
|
+
}
|
|
4643
|
+
if (this.payload && typeof this.payload.validate === 'function') {
|
|
4644
|
+
this.payload.validate();
|
|
4645
|
+
}
|
|
4646
|
+
super.validate();
|
|
4647
|
+
}
|
|
4648
|
+
constructor(map) {
|
|
4649
|
+
super(map);
|
|
4650
|
+
}
|
|
4651
|
+
}
|
|
4652
|
+
exports.RunEnterpriseVocAnalysisResponseBody = RunEnterpriseVocAnalysisResponseBody;
|
|
4653
|
+
class RunEnterpriseVocAnalysisResponse extends $dara.Model {
|
|
4654
|
+
static names() {
|
|
4655
|
+
return {
|
|
4656
|
+
headers: 'headers',
|
|
4657
|
+
statusCode: 'statusCode',
|
|
4658
|
+
body: 'body',
|
|
4659
|
+
};
|
|
4660
|
+
}
|
|
4661
|
+
static types() {
|
|
4662
|
+
return {
|
|
4663
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4664
|
+
statusCode: 'number',
|
|
4665
|
+
body: RunEnterpriseVocAnalysisResponseBody,
|
|
4666
|
+
};
|
|
4667
|
+
}
|
|
4668
|
+
validate() {
|
|
4669
|
+
if (this.headers) {
|
|
4670
|
+
$dara.Model.validateMap(this.headers);
|
|
4671
|
+
}
|
|
4672
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
4673
|
+
this.body.validate();
|
|
4674
|
+
}
|
|
4675
|
+
super.validate();
|
|
4676
|
+
}
|
|
4677
|
+
constructor(map) {
|
|
4678
|
+
super(map);
|
|
4679
|
+
}
|
|
4680
|
+
}
|
|
4681
|
+
exports.RunEnterpriseVocAnalysisResponse = RunEnterpriseVocAnalysisResponse;
|
|
3850
4682
|
class RunHotTopicChatRequest extends $dara.Model {
|
|
3851
4683
|
static names() {
|
|
3852
4684
|
return {
|
|
@@ -4883,6 +5715,7 @@ exports.RunStyleWritingResponse = RunStyleWritingResponse;
|
|
|
4883
5715
|
class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
4884
5716
|
static names() {
|
|
4885
5717
|
return {
|
|
5718
|
+
apiKey: 'apiKey',
|
|
4886
5719
|
businessType: 'businessType',
|
|
4887
5720
|
content: 'content',
|
|
4888
5721
|
extraInfo: 'extraInfo',
|
|
@@ -4894,6 +5727,7 @@ class RunTagMiningAnalysisRequest extends $dara.Model {
|
|
|
4894
5727
|
}
|
|
4895
5728
|
static types() {
|
|
4896
5729
|
return {
|
|
5730
|
+
apiKey: 'string',
|
|
4897
5731
|
businessType: 'string',
|
|
4898
5732
|
content: 'string',
|
|
4899
5733
|
extraInfo: 'string',
|
|
@@ -4917,6 +5751,7 @@ exports.RunTagMiningAnalysisRequest = RunTagMiningAnalysisRequest;
|
|
|
4917
5751
|
class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
|
|
4918
5752
|
static names() {
|
|
4919
5753
|
return {
|
|
5754
|
+
apiKey: 'apiKey',
|
|
4920
5755
|
businessType: 'businessType',
|
|
4921
5756
|
content: 'content',
|
|
4922
5757
|
extraInfo: 'extraInfo',
|
|
@@ -4928,6 +5763,7 @@ class RunTagMiningAnalysisShrinkRequest extends $dara.Model {
|
|
|
4928
5763
|
}
|
|
4929
5764
|
static types() {
|
|
4930
5765
|
return {
|
|
5766
|
+
apiKey: 'string',
|
|
4931
5767
|
businessType: 'string',
|
|
4932
5768
|
content: 'string',
|
|
4933
5769
|
extraInfo: 'string',
|
|
@@ -5156,8 +5992,148 @@ class RunVideoAnalysisResponseBody extends $dara.Model {
|
|
|
5156
5992
|
super(map);
|
|
5157
5993
|
}
|
|
5158
5994
|
}
|
|
5159
|
-
exports.RunVideoAnalysisResponseBody = RunVideoAnalysisResponseBody;
|
|
5160
|
-
class RunVideoAnalysisResponse extends $dara.Model {
|
|
5995
|
+
exports.RunVideoAnalysisResponseBody = RunVideoAnalysisResponseBody;
|
|
5996
|
+
class RunVideoAnalysisResponse extends $dara.Model {
|
|
5997
|
+
static names() {
|
|
5998
|
+
return {
|
|
5999
|
+
headers: 'headers',
|
|
6000
|
+
statusCode: 'statusCode',
|
|
6001
|
+
body: 'body',
|
|
6002
|
+
};
|
|
6003
|
+
}
|
|
6004
|
+
static types() {
|
|
6005
|
+
return {
|
|
6006
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6007
|
+
statusCode: 'number',
|
|
6008
|
+
body: RunVideoAnalysisResponseBody,
|
|
6009
|
+
};
|
|
6010
|
+
}
|
|
6011
|
+
validate() {
|
|
6012
|
+
if (this.headers) {
|
|
6013
|
+
$dara.Model.validateMap(this.headers);
|
|
6014
|
+
}
|
|
6015
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
6016
|
+
this.body.validate();
|
|
6017
|
+
}
|
|
6018
|
+
super.validate();
|
|
6019
|
+
}
|
|
6020
|
+
constructor(map) {
|
|
6021
|
+
super(map);
|
|
6022
|
+
}
|
|
6023
|
+
}
|
|
6024
|
+
exports.RunVideoAnalysisResponse = RunVideoAnalysisResponse;
|
|
6025
|
+
class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
6026
|
+
static names() {
|
|
6027
|
+
return {
|
|
6028
|
+
contents: 'contents',
|
|
6029
|
+
extraInfo: 'extraInfo',
|
|
6030
|
+
fileKey: 'fileKey',
|
|
6031
|
+
filterTags: 'filterTags',
|
|
6032
|
+
modelId: 'modelId',
|
|
6033
|
+
outputFormat: 'outputFormat',
|
|
6034
|
+
tags: 'tags',
|
|
6035
|
+
taskDescription: 'taskDescription',
|
|
6036
|
+
url: 'url',
|
|
6037
|
+
};
|
|
6038
|
+
}
|
|
6039
|
+
static types() {
|
|
6040
|
+
return {
|
|
6041
|
+
contents: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestContents },
|
|
6042
|
+
extraInfo: 'string',
|
|
6043
|
+
fileKey: 'string',
|
|
6044
|
+
filterTags: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestFilterTags },
|
|
6045
|
+
modelId: 'string',
|
|
6046
|
+
outputFormat: 'string',
|
|
6047
|
+
tags: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestTags },
|
|
6048
|
+
taskDescription: 'string',
|
|
6049
|
+
url: 'string',
|
|
6050
|
+
};
|
|
6051
|
+
}
|
|
6052
|
+
validate() {
|
|
6053
|
+
if (Array.isArray(this.contents)) {
|
|
6054
|
+
$dara.Model.validateArray(this.contents);
|
|
6055
|
+
}
|
|
6056
|
+
if (Array.isArray(this.filterTags)) {
|
|
6057
|
+
$dara.Model.validateArray(this.filterTags);
|
|
6058
|
+
}
|
|
6059
|
+
if (Array.isArray(this.tags)) {
|
|
6060
|
+
$dara.Model.validateArray(this.tags);
|
|
6061
|
+
}
|
|
6062
|
+
super.validate();
|
|
6063
|
+
}
|
|
6064
|
+
constructor(map) {
|
|
6065
|
+
super(map);
|
|
6066
|
+
}
|
|
6067
|
+
}
|
|
6068
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequest = SubmitEnterpriseVocAnalysisTaskRequest;
|
|
6069
|
+
class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
6070
|
+
static names() {
|
|
6071
|
+
return {
|
|
6072
|
+
contentsShrink: 'contents',
|
|
6073
|
+
extraInfo: 'extraInfo',
|
|
6074
|
+
fileKey: 'fileKey',
|
|
6075
|
+
filterTagsShrink: 'filterTags',
|
|
6076
|
+
modelId: 'modelId',
|
|
6077
|
+
outputFormat: 'outputFormat',
|
|
6078
|
+
tagsShrink: 'tags',
|
|
6079
|
+
taskDescription: 'taskDescription',
|
|
6080
|
+
url: 'url',
|
|
6081
|
+
};
|
|
6082
|
+
}
|
|
6083
|
+
static types() {
|
|
6084
|
+
return {
|
|
6085
|
+
contentsShrink: 'string',
|
|
6086
|
+
extraInfo: 'string',
|
|
6087
|
+
fileKey: 'string',
|
|
6088
|
+
filterTagsShrink: 'string',
|
|
6089
|
+
modelId: 'string',
|
|
6090
|
+
outputFormat: 'string',
|
|
6091
|
+
tagsShrink: 'string',
|
|
6092
|
+
taskDescription: 'string',
|
|
6093
|
+
url: 'string',
|
|
6094
|
+
};
|
|
6095
|
+
}
|
|
6096
|
+
validate() {
|
|
6097
|
+
super.validate();
|
|
6098
|
+
}
|
|
6099
|
+
constructor(map) {
|
|
6100
|
+
super(map);
|
|
6101
|
+
}
|
|
6102
|
+
}
|
|
6103
|
+
exports.SubmitEnterpriseVocAnalysisTaskShrinkRequest = SubmitEnterpriseVocAnalysisTaskShrinkRequest;
|
|
6104
|
+
class SubmitEnterpriseVocAnalysisTaskResponseBody extends $dara.Model {
|
|
6105
|
+
static names() {
|
|
6106
|
+
return {
|
|
6107
|
+
code: 'code',
|
|
6108
|
+
data: 'data',
|
|
6109
|
+
httpStatusCode: 'httpStatusCode',
|
|
6110
|
+
message: 'message',
|
|
6111
|
+
requestId: 'requestId',
|
|
6112
|
+
success: 'success',
|
|
6113
|
+
};
|
|
6114
|
+
}
|
|
6115
|
+
static types() {
|
|
6116
|
+
return {
|
|
6117
|
+
code: 'string',
|
|
6118
|
+
data: SubmitEnterpriseVocAnalysisTaskResponseBodyData,
|
|
6119
|
+
httpStatusCode: 'number',
|
|
6120
|
+
message: 'string',
|
|
6121
|
+
requestId: 'string',
|
|
6122
|
+
success: 'boolean',
|
|
6123
|
+
};
|
|
6124
|
+
}
|
|
6125
|
+
validate() {
|
|
6126
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
6127
|
+
this.data.validate();
|
|
6128
|
+
}
|
|
6129
|
+
super.validate();
|
|
6130
|
+
}
|
|
6131
|
+
constructor(map) {
|
|
6132
|
+
super(map);
|
|
6133
|
+
}
|
|
6134
|
+
}
|
|
6135
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponseBody = SubmitEnterpriseVocAnalysisTaskResponseBody;
|
|
6136
|
+
class SubmitEnterpriseVocAnalysisTaskResponse extends $dara.Model {
|
|
5161
6137
|
static names() {
|
|
5162
6138
|
return {
|
|
5163
6139
|
headers: 'headers',
|
|
@@ -5169,7 +6145,7 @@ class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
5169
6145
|
return {
|
|
5170
6146
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5171
6147
|
statusCode: 'number',
|
|
5172
|
-
body:
|
|
6148
|
+
body: SubmitEnterpriseVocAnalysisTaskResponseBody,
|
|
5173
6149
|
};
|
|
5174
6150
|
}
|
|
5175
6151
|
validate() {
|
|
@@ -5185,10 +6161,11 @@ class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
5185
6161
|
super(map);
|
|
5186
6162
|
}
|
|
5187
6163
|
}
|
|
5188
|
-
exports.
|
|
6164
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponse = SubmitEnterpriseVocAnalysisTaskResponse;
|
|
5189
6165
|
class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
5190
6166
|
static names() {
|
|
5191
6167
|
return {
|
|
6168
|
+
apiKey: 'apiKey',
|
|
5192
6169
|
businessType: 'businessType',
|
|
5193
6170
|
contents: 'contents',
|
|
5194
6171
|
extraInfo: 'extraInfo',
|
|
@@ -5201,6 +6178,7 @@ class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
|
5201
6178
|
}
|
|
5202
6179
|
static types() {
|
|
5203
6180
|
return {
|
|
6181
|
+
apiKey: 'string',
|
|
5204
6182
|
businessType: 'string',
|
|
5205
6183
|
contents: { 'type': 'array', 'itemType': 'string' },
|
|
5206
6184
|
extraInfo: 'string',
|
|
@@ -5228,6 +6206,7 @@ exports.SubmitTagMiningAnalysisTaskRequest = SubmitTagMiningAnalysisTaskRequest;
|
|
|
5228
6206
|
class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
5229
6207
|
static names() {
|
|
5230
6208
|
return {
|
|
6209
|
+
apiKey: 'apiKey',
|
|
5231
6210
|
businessType: 'businessType',
|
|
5232
6211
|
contentsShrink: 'contents',
|
|
5233
6212
|
extraInfo: 'extraInfo',
|
|
@@ -5240,6 +6219,7 @@ class SubmitTagMiningAnalysisTaskShrinkRequest extends $dara.Model {
|
|
|
5240
6219
|
}
|
|
5241
6220
|
static types() {
|
|
5242
6221
|
return {
|
|
6222
|
+
apiKey: 'string',
|
|
5243
6223
|
businessType: 'string',
|
|
5244
6224
|
contentsShrink: 'string',
|
|
5245
6225
|
extraInfo: 'string',
|
|
@@ -5592,6 +6572,101 @@ class Client extends openapi_core_1.default {
|
|
|
5592
6572
|
}
|
|
5593
6573
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
5594
6574
|
}
|
|
6575
|
+
/**
|
|
6576
|
+
* 取消异步任务
|
|
6577
|
+
*
|
|
6578
|
+
* @param request - CancelAsyncTaskRequest
|
|
6579
|
+
* @param headers - map
|
|
6580
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6581
|
+
* @returns CancelAsyncTaskResponse
|
|
6582
|
+
*/
|
|
6583
|
+
async cancelAsyncTaskWithOptions(workspaceId, request, headers, runtime) {
|
|
6584
|
+
request.validate();
|
|
6585
|
+
let body = {};
|
|
6586
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6587
|
+
body["taskId"] = request.taskId;
|
|
6588
|
+
}
|
|
6589
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6590
|
+
headers: headers,
|
|
6591
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6592
|
+
});
|
|
6593
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6594
|
+
action: "CancelAsyncTask",
|
|
6595
|
+
version: "2024-08-01",
|
|
6596
|
+
protocol: "HTTPS",
|
|
6597
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/cancelAsyncTask`,
|
|
6598
|
+
method: "POST",
|
|
6599
|
+
authType: "AK",
|
|
6600
|
+
style: "ROA",
|
|
6601
|
+
reqBodyType: "formData",
|
|
6602
|
+
bodyType: "json",
|
|
6603
|
+
});
|
|
6604
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelAsyncTaskResponse({}));
|
|
6605
|
+
}
|
|
6606
|
+
/**
|
|
6607
|
+
* 取消异步任务
|
|
6608
|
+
*
|
|
6609
|
+
* @param request - CancelAsyncTaskRequest
|
|
6610
|
+
* @returns CancelAsyncTaskResponse
|
|
6611
|
+
*/
|
|
6612
|
+
async cancelAsyncTask(workspaceId, request) {
|
|
6613
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6614
|
+
let headers = {};
|
|
6615
|
+
return await this.cancelAsyncTaskWithOptions(workspaceId, request, headers, runtime);
|
|
6616
|
+
}
|
|
6617
|
+
/**
|
|
6618
|
+
* 导出挖掘任务明细
|
|
6619
|
+
*
|
|
6620
|
+
* @param tmpReq - ExportAnalysisTagDetailByTaskIdRequest
|
|
6621
|
+
* @param headers - map
|
|
6622
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6623
|
+
* @returns ExportAnalysisTagDetailByTaskIdResponse
|
|
6624
|
+
*/
|
|
6625
|
+
async exportAnalysisTagDetailByTaskIdWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
6626
|
+
tmpReq.validate();
|
|
6627
|
+
let request = new ExportAnalysisTagDetailByTaskIdShrinkRequest({});
|
|
6628
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6629
|
+
if (!$dara.isNull(tmpReq.categories)) {
|
|
6630
|
+
request.categoriesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "categories", "json");
|
|
6631
|
+
}
|
|
6632
|
+
let body = {};
|
|
6633
|
+
if (!$dara.isNull(request.categoriesShrink)) {
|
|
6634
|
+
body["categories"] = request.categoriesShrink;
|
|
6635
|
+
}
|
|
6636
|
+
if (!$dara.isNull(request.category)) {
|
|
6637
|
+
body["category"] = request.category;
|
|
6638
|
+
}
|
|
6639
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6640
|
+
body["taskId"] = request.taskId;
|
|
6641
|
+
}
|
|
6642
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6643
|
+
headers: headers,
|
|
6644
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6645
|
+
});
|
|
6646
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6647
|
+
action: "ExportAnalysisTagDetailByTaskId",
|
|
6648
|
+
version: "2024-08-01",
|
|
6649
|
+
protocol: "HTTPS",
|
|
6650
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/exportAnalysisTagDetailByTaskId`,
|
|
6651
|
+
method: "POST",
|
|
6652
|
+
authType: "AK",
|
|
6653
|
+
style: "ROA",
|
|
6654
|
+
reqBodyType: "formData",
|
|
6655
|
+
bodyType: "json",
|
|
6656
|
+
});
|
|
6657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ExportAnalysisTagDetailByTaskIdResponse({}));
|
|
6658
|
+
}
|
|
6659
|
+
/**
|
|
6660
|
+
* 导出挖掘任务明细
|
|
6661
|
+
*
|
|
6662
|
+
* @param request - ExportAnalysisTagDetailByTaskIdRequest
|
|
6663
|
+
* @returns ExportAnalysisTagDetailByTaskIdResponse
|
|
6664
|
+
*/
|
|
6665
|
+
async exportAnalysisTagDetailByTaskId(workspaceId, request) {
|
|
6666
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6667
|
+
let headers = {};
|
|
6668
|
+
return await this.exportAnalysisTagDetailByTaskIdWithOptions(workspaceId, request, headers, runtime);
|
|
6669
|
+
}
|
|
5595
6670
|
/**
|
|
5596
6671
|
* 新闻播报-抽取分类获取播报热点
|
|
5597
6672
|
*
|
|
@@ -5621,12 +6696,7 @@ class Client extends openapi_core_1.default {
|
|
|
5621
6696
|
reqBodyType: "formData",
|
|
5622
6697
|
bodyType: "json",
|
|
5623
6698
|
});
|
|
5624
|
-
|
|
5625
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5626
|
-
}
|
|
5627
|
-
else {
|
|
5628
|
-
return $dara.cast(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5629
|
-
}
|
|
6699
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5630
6700
|
}
|
|
5631
6701
|
/**
|
|
5632
6702
|
* 新闻播报-抽取分类获取播报热点
|
|
@@ -5685,12 +6755,7 @@ class Client extends openapi_core_1.default {
|
|
|
5685
6755
|
reqBodyType: "formData",
|
|
5686
6756
|
bodyType: "json",
|
|
5687
6757
|
});
|
|
5688
|
-
|
|
5689
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5690
|
-
}
|
|
5691
|
-
else {
|
|
5692
|
-
return $dara.cast(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5693
|
-
}
|
|
6758
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5694
6759
|
}
|
|
5695
6760
|
/**
|
|
5696
6761
|
* 轻应用-标签挖掘-获取示例输出格式
|
|
@@ -5703,6 +6768,48 @@ class Client extends openapi_core_1.default {
|
|
|
5703
6768
|
let headers = {};
|
|
5704
6769
|
return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
|
|
5705
6770
|
}
|
|
6771
|
+
/**
|
|
6772
|
+
* 获取企业VOC分析任务结果
|
|
6773
|
+
*
|
|
6774
|
+
* @param request - GetEnterpriseVocAnalysisTaskRequest
|
|
6775
|
+
* @param headers - map
|
|
6776
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6777
|
+
* @returns GetEnterpriseVocAnalysisTaskResponse
|
|
6778
|
+
*/
|
|
6779
|
+
async getEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime) {
|
|
6780
|
+
request.validate();
|
|
6781
|
+
let query = {};
|
|
6782
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6783
|
+
query["taskId"] = request.taskId;
|
|
6784
|
+
}
|
|
6785
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6786
|
+
headers: headers,
|
|
6787
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6788
|
+
});
|
|
6789
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6790
|
+
action: "GetEnterpriseVocAnalysisTask",
|
|
6791
|
+
version: "2024-08-01",
|
|
6792
|
+
protocol: "HTTPS",
|
|
6793
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/getEnterpriseVocAnalysisTask`,
|
|
6794
|
+
method: "GET",
|
|
6795
|
+
authType: "AK",
|
|
6796
|
+
style: "ROA",
|
|
6797
|
+
reqBodyType: "json",
|
|
6798
|
+
bodyType: "json",
|
|
6799
|
+
});
|
|
6800
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetEnterpriseVocAnalysisTaskResponse({}));
|
|
6801
|
+
}
|
|
6802
|
+
/**
|
|
6803
|
+
* 获取企业VOC分析任务结果
|
|
6804
|
+
*
|
|
6805
|
+
* @param request - GetEnterpriseVocAnalysisTaskRequest
|
|
6806
|
+
* @returns GetEnterpriseVocAnalysisTaskResponse
|
|
6807
|
+
*/
|
|
6808
|
+
async getEnterpriseVocAnalysisTask(workspaceId, request) {
|
|
6809
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6810
|
+
let headers = {};
|
|
6811
|
+
return await this.getEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
6812
|
+
}
|
|
5706
6813
|
/**
|
|
5707
6814
|
* 获取挖掘分析任务结果
|
|
5708
6815
|
*
|
|
@@ -5732,12 +6839,7 @@ class Client extends openapi_core_1.default {
|
|
|
5732
6839
|
reqBodyType: "json",
|
|
5733
6840
|
bodyType: "json",
|
|
5734
6841
|
});
|
|
5735
|
-
|
|
5736
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5737
|
-
}
|
|
5738
|
-
else {
|
|
5739
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5740
|
-
}
|
|
6842
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5741
6843
|
}
|
|
5742
6844
|
/**
|
|
5743
6845
|
* 获取挖掘分析任务结果
|
|
@@ -5772,12 +6874,7 @@ class Client extends openapi_core_1.default {
|
|
|
5772
6874
|
reqBodyType: "json",
|
|
5773
6875
|
bodyType: "json",
|
|
5774
6876
|
});
|
|
5775
|
-
|
|
5776
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5777
|
-
}
|
|
5778
|
-
else {
|
|
5779
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5780
|
-
}
|
|
6877
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5781
6878
|
}
|
|
5782
6879
|
/**
|
|
5783
6880
|
* 视频理解-获取配置
|
|
@@ -5817,12 +6914,7 @@ class Client extends openapi_core_1.default {
|
|
|
5817
6914
|
reqBodyType: "json",
|
|
5818
6915
|
bodyType: "json",
|
|
5819
6916
|
});
|
|
5820
|
-
|
|
5821
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5822
|
-
}
|
|
5823
|
-
else {
|
|
5824
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5825
|
-
}
|
|
6917
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5826
6918
|
}
|
|
5827
6919
|
/**
|
|
5828
6920
|
* 轻应用-获取视频理解异步任务结果
|
|
@@ -5876,12 +6968,7 @@ class Client extends openapi_core_1.default {
|
|
|
5876
6968
|
reqBodyType: "formData",
|
|
5877
6969
|
bodyType: "json",
|
|
5878
6970
|
});
|
|
5879
|
-
|
|
5880
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5881
|
-
}
|
|
5882
|
-
else {
|
|
5883
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5884
|
-
}
|
|
6971
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5885
6972
|
}
|
|
5886
6973
|
/**
|
|
5887
6974
|
* 轻应用-新闻播报-获取热点话题摘要列表
|
|
@@ -5894,6 +6981,74 @@ class Client extends openapi_core_1.default {
|
|
|
5894
6981
|
let headers = {};
|
|
5895
6982
|
return await this.listHotTopicSummariesWithOptions(workspaceId, request, headers, runtime);
|
|
5896
6983
|
}
|
|
6984
|
+
/**
|
|
6985
|
+
* 企业VOC分析
|
|
6986
|
+
*
|
|
6987
|
+
* @param tmpReq - RunEnterpriseVocAnalysisRequest
|
|
6988
|
+
* @param headers - map
|
|
6989
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6990
|
+
* @returns RunEnterpriseVocAnalysisResponse
|
|
6991
|
+
*/
|
|
6992
|
+
async runEnterpriseVocAnalysisWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
6993
|
+
tmpReq.validate();
|
|
6994
|
+
let request = new RunEnterpriseVocAnalysisShrinkRequest({});
|
|
6995
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6996
|
+
if (!$dara.isNull(tmpReq.filterTags)) {
|
|
6997
|
+
request.filterTagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filterTags, "filterTags", "json");
|
|
6998
|
+
}
|
|
6999
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
7000
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7001
|
+
}
|
|
7002
|
+
let body = {};
|
|
7003
|
+
if (!$dara.isNull(request.content)) {
|
|
7004
|
+
body["content"] = request.content;
|
|
7005
|
+
}
|
|
7006
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
7007
|
+
body["extraInfo"] = request.extraInfo;
|
|
7008
|
+
}
|
|
7009
|
+
if (!$dara.isNull(request.filterTagsShrink)) {
|
|
7010
|
+
body["filterTags"] = request.filterTagsShrink;
|
|
7011
|
+
}
|
|
7012
|
+
if (!$dara.isNull(request.modelId)) {
|
|
7013
|
+
body["modelId"] = request.modelId;
|
|
7014
|
+
}
|
|
7015
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
7016
|
+
body["outputFormat"] = request.outputFormat;
|
|
7017
|
+
}
|
|
7018
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
7019
|
+
body["tags"] = request.tagsShrink;
|
|
7020
|
+
}
|
|
7021
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
7022
|
+
body["taskDescription"] = request.taskDescription;
|
|
7023
|
+
}
|
|
7024
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7025
|
+
headers: headers,
|
|
7026
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7027
|
+
});
|
|
7028
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7029
|
+
action: "RunEnterpriseVocAnalysis",
|
|
7030
|
+
version: "2024-08-01",
|
|
7031
|
+
protocol: "HTTPS",
|
|
7032
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/runEnterpriseVocAnalysis`,
|
|
7033
|
+
method: "POST",
|
|
7034
|
+
authType: "AK",
|
|
7035
|
+
style: "ROA",
|
|
7036
|
+
reqBodyType: "formData",
|
|
7037
|
+
bodyType: "json",
|
|
7038
|
+
});
|
|
7039
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunEnterpriseVocAnalysisResponse({}));
|
|
7040
|
+
}
|
|
7041
|
+
/**
|
|
7042
|
+
* 企业VOC分析
|
|
7043
|
+
*
|
|
7044
|
+
* @param request - RunEnterpriseVocAnalysisRequest
|
|
7045
|
+
* @returns RunEnterpriseVocAnalysisResponse
|
|
7046
|
+
*/
|
|
7047
|
+
async runEnterpriseVocAnalysis(workspaceId, request) {
|
|
7048
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7049
|
+
let headers = {};
|
|
7050
|
+
return await this.runEnterpriseVocAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
7051
|
+
}
|
|
5897
7052
|
/**
|
|
5898
7053
|
* 轻应用-热点播报-问答
|
|
5899
7054
|
*
|
|
@@ -5970,12 +7125,7 @@ class Client extends openapi_core_1.default {
|
|
|
5970
7125
|
reqBodyType: "formData",
|
|
5971
7126
|
bodyType: "json",
|
|
5972
7127
|
});
|
|
5973
|
-
|
|
5974
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5975
|
-
}
|
|
5976
|
-
else {
|
|
5977
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5978
|
-
}
|
|
7128
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5979
7129
|
}
|
|
5980
7130
|
/**
|
|
5981
7131
|
* 轻应用-热点播报-问答
|
|
@@ -6031,12 +7181,7 @@ class Client extends openapi_core_1.default {
|
|
|
6031
7181
|
reqBodyType: "formData",
|
|
6032
7182
|
bodyType: "json",
|
|
6033
7183
|
});
|
|
6034
|
-
|
|
6035
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6036
|
-
}
|
|
6037
|
-
else {
|
|
6038
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6039
|
-
}
|
|
7184
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6040
7185
|
}
|
|
6041
7186
|
/**
|
|
6042
7187
|
* 轻应用-热点播报-热点摘要生成
|
|
@@ -6092,12 +7237,7 @@ class Client extends openapi_core_1.default {
|
|
|
6092
7237
|
reqBodyType: "formData",
|
|
6093
7238
|
bodyType: "json",
|
|
6094
7239
|
});
|
|
6095
|
-
|
|
6096
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6097
|
-
}
|
|
6098
|
-
else {
|
|
6099
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6100
|
-
}
|
|
7240
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6101
7241
|
}
|
|
6102
7242
|
/**
|
|
6103
7243
|
* 营销信息抽取服务
|
|
@@ -6157,12 +7297,7 @@ class Client extends openapi_core_1.default {
|
|
|
6157
7297
|
reqBodyType: "formData",
|
|
6158
7298
|
bodyType: "json",
|
|
6159
7299
|
});
|
|
6160
|
-
|
|
6161
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6162
|
-
}
|
|
6163
|
-
else {
|
|
6164
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6165
|
-
}
|
|
7300
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6166
7301
|
}
|
|
6167
7302
|
/**
|
|
6168
7303
|
* 营销文案写作服务
|
|
@@ -6227,12 +7362,7 @@ class Client extends openapi_core_1.default {
|
|
|
6227
7362
|
reqBodyType: "formData",
|
|
6228
7363
|
bodyType: "json",
|
|
6229
7364
|
});
|
|
6230
|
-
|
|
6231
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6232
|
-
}
|
|
6233
|
-
else {
|
|
6234
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6235
|
-
}
|
|
7365
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6236
7366
|
}
|
|
6237
7367
|
/**
|
|
6238
7368
|
* 轻应用-网络内容审核
|
|
@@ -6277,12 +7407,7 @@ class Client extends openapi_core_1.default {
|
|
|
6277
7407
|
reqBodyType: "formData",
|
|
6278
7408
|
bodyType: "json",
|
|
6279
7409
|
});
|
|
6280
|
-
|
|
6281
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
6282
|
-
}
|
|
6283
|
-
else {
|
|
6284
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
|
|
6285
|
-
}
|
|
7410
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
6286
7411
|
}
|
|
6287
7412
|
/**
|
|
6288
7413
|
* 长剧本创作
|
|
@@ -6330,12 +7455,7 @@ class Client extends openapi_core_1.default {
|
|
|
6330
7455
|
reqBodyType: "formData",
|
|
6331
7456
|
bodyType: "json",
|
|
6332
7457
|
});
|
|
6333
|
-
|
|
6334
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6335
|
-
}
|
|
6336
|
-
else {
|
|
6337
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6338
|
-
}
|
|
7458
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6339
7459
|
}
|
|
6340
7460
|
/**
|
|
6341
7461
|
* 剧本续写
|
|
@@ -6395,12 +7515,7 @@ class Client extends openapi_core_1.default {
|
|
|
6395
7515
|
reqBodyType: "formData",
|
|
6396
7516
|
bodyType: "json",
|
|
6397
7517
|
});
|
|
6398
|
-
|
|
6399
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6400
|
-
}
|
|
6401
|
-
else {
|
|
6402
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6403
|
-
}
|
|
7518
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6404
7519
|
}
|
|
6405
7520
|
/**
|
|
6406
7521
|
* 剧本策划
|
|
@@ -6442,12 +7557,7 @@ class Client extends openapi_core_1.default {
|
|
|
6442
7557
|
reqBodyType: "formData",
|
|
6443
7558
|
bodyType: "json",
|
|
6444
7559
|
});
|
|
6445
|
-
|
|
6446
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6447
|
-
}
|
|
6448
|
-
else {
|
|
6449
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6450
|
-
}
|
|
7560
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6451
7561
|
}
|
|
6452
7562
|
/**
|
|
6453
7563
|
* 剧本对话内容的整理
|
|
@@ -6512,12 +7622,7 @@ class Client extends openapi_core_1.default {
|
|
|
6512
7622
|
reqBodyType: "formData",
|
|
6513
7623
|
bodyType: "json",
|
|
6514
7624
|
});
|
|
6515
|
-
|
|
6516
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6517
|
-
}
|
|
6518
|
-
else {
|
|
6519
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6520
|
-
}
|
|
7625
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6521
7626
|
}
|
|
6522
7627
|
/**
|
|
6523
7628
|
* 文体学习和写作推理服务
|
|
@@ -6546,6 +7651,9 @@ class Client extends openapi_core_1.default {
|
|
|
6546
7651
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6547
7652
|
}
|
|
6548
7653
|
let body = {};
|
|
7654
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7655
|
+
body["apiKey"] = request.apiKey;
|
|
7656
|
+
}
|
|
6549
7657
|
if (!$dara.isNull(request.businessType)) {
|
|
6550
7658
|
body["businessType"] = request.businessType;
|
|
6551
7659
|
}
|
|
@@ -6582,12 +7690,7 @@ class Client extends openapi_core_1.default {
|
|
|
6582
7690
|
reqBodyType: "formData",
|
|
6583
7691
|
bodyType: "json",
|
|
6584
7692
|
});
|
|
6585
|
-
|
|
6586
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6587
|
-
}
|
|
6588
|
-
else {
|
|
6589
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6590
|
-
}
|
|
7693
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6591
7694
|
}
|
|
6592
7695
|
/**
|
|
6593
7696
|
* 轻应用-标签挖掘
|
|
@@ -6700,12 +7803,7 @@ class Client extends openapi_core_1.default {
|
|
|
6700
7803
|
reqBodyType: "formData",
|
|
6701
7804
|
bodyType: "json",
|
|
6702
7805
|
});
|
|
6703
|
-
|
|
6704
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6705
|
-
}
|
|
6706
|
-
else {
|
|
6707
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6708
|
-
}
|
|
7806
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6709
7807
|
}
|
|
6710
7808
|
/**
|
|
6711
7809
|
* 轻应用-视频理解
|
|
@@ -6718,6 +7816,83 @@ class Client extends openapi_core_1.default {
|
|
|
6718
7816
|
let headers = {};
|
|
6719
7817
|
return await this.runVideoAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
6720
7818
|
}
|
|
7819
|
+
/**
|
|
7820
|
+
* 提交企业VOC异步任务
|
|
7821
|
+
*
|
|
7822
|
+
* @param tmpReq - SubmitEnterpriseVocAnalysisTaskRequest
|
|
7823
|
+
* @param headers - map
|
|
7824
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7825
|
+
* @returns SubmitEnterpriseVocAnalysisTaskResponse
|
|
7826
|
+
*/
|
|
7827
|
+
async submitEnterpriseVocAnalysisTaskWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
7828
|
+
tmpReq.validate();
|
|
7829
|
+
let request = new SubmitEnterpriseVocAnalysisTaskShrinkRequest({});
|
|
7830
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
7831
|
+
if (!$dara.isNull(tmpReq.contents)) {
|
|
7832
|
+
request.contentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contents, "contents", "json");
|
|
7833
|
+
}
|
|
7834
|
+
if (!$dara.isNull(tmpReq.filterTags)) {
|
|
7835
|
+
request.filterTagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filterTags, "filterTags", "json");
|
|
7836
|
+
}
|
|
7837
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
7838
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7839
|
+
}
|
|
7840
|
+
let body = {};
|
|
7841
|
+
if (!$dara.isNull(request.contentsShrink)) {
|
|
7842
|
+
body["contents"] = request.contentsShrink;
|
|
7843
|
+
}
|
|
7844
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
7845
|
+
body["extraInfo"] = request.extraInfo;
|
|
7846
|
+
}
|
|
7847
|
+
if (!$dara.isNull(request.fileKey)) {
|
|
7848
|
+
body["fileKey"] = request.fileKey;
|
|
7849
|
+
}
|
|
7850
|
+
if (!$dara.isNull(request.filterTagsShrink)) {
|
|
7851
|
+
body["filterTags"] = request.filterTagsShrink;
|
|
7852
|
+
}
|
|
7853
|
+
if (!$dara.isNull(request.modelId)) {
|
|
7854
|
+
body["modelId"] = request.modelId;
|
|
7855
|
+
}
|
|
7856
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
7857
|
+
body["outputFormat"] = request.outputFormat;
|
|
7858
|
+
}
|
|
7859
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
7860
|
+
body["tags"] = request.tagsShrink;
|
|
7861
|
+
}
|
|
7862
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
7863
|
+
body["taskDescription"] = request.taskDescription;
|
|
7864
|
+
}
|
|
7865
|
+
if (!$dara.isNull(request.url)) {
|
|
7866
|
+
body["url"] = request.url;
|
|
7867
|
+
}
|
|
7868
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7869
|
+
headers: headers,
|
|
7870
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7871
|
+
});
|
|
7872
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7873
|
+
action: "SubmitEnterpriseVocAnalysisTask",
|
|
7874
|
+
version: "2024-08-01",
|
|
7875
|
+
protocol: "HTTPS",
|
|
7876
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/submitEnterpriseVocAnalysisTask`,
|
|
7877
|
+
method: "POST",
|
|
7878
|
+
authType: "AK",
|
|
7879
|
+
style: "ROA",
|
|
7880
|
+
reqBodyType: "formData",
|
|
7881
|
+
bodyType: "json",
|
|
7882
|
+
});
|
|
7883
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitEnterpriseVocAnalysisTaskResponse({}));
|
|
7884
|
+
}
|
|
7885
|
+
/**
|
|
7886
|
+
* 提交企业VOC异步任务
|
|
7887
|
+
*
|
|
7888
|
+
* @param request - SubmitEnterpriseVocAnalysisTaskRequest
|
|
7889
|
+
* @returns SubmitEnterpriseVocAnalysisTaskResponse
|
|
7890
|
+
*/
|
|
7891
|
+
async submitEnterpriseVocAnalysisTask(workspaceId, request) {
|
|
7892
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7893
|
+
let headers = {};
|
|
7894
|
+
return await this.submitEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
7895
|
+
}
|
|
6721
7896
|
/**
|
|
6722
7897
|
* 轻应用-标签挖掘
|
|
6723
7898
|
*
|
|
@@ -6737,6 +7912,9 @@ class Client extends openapi_core_1.default {
|
|
|
6737
7912
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6738
7913
|
}
|
|
6739
7914
|
let body = {};
|
|
7915
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7916
|
+
body["apiKey"] = request.apiKey;
|
|
7917
|
+
}
|
|
6740
7918
|
if (!$dara.isNull(request.businessType)) {
|
|
6741
7919
|
body["businessType"] = request.businessType;
|
|
6742
7920
|
}
|
|
@@ -6776,12 +7954,7 @@ class Client extends openapi_core_1.default {
|
|
|
6776
7954
|
reqBodyType: "formData",
|
|
6777
7955
|
bodyType: "json",
|
|
6778
7956
|
});
|
|
6779
|
-
|
|
6780
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6781
|
-
}
|
|
6782
|
-
else {
|
|
6783
|
-
return $dara.cast(await this.execute(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6784
|
-
}
|
|
7957
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6785
7958
|
}
|
|
6786
7959
|
/**
|
|
6787
7960
|
* 轻应用-标签挖掘
|
|
@@ -6891,12 +8064,7 @@ class Client extends openapi_core_1.default {
|
|
|
6891
8064
|
reqBodyType: "formData",
|
|
6892
8065
|
bodyType: "json",
|
|
6893
8066
|
});
|
|
6894
|
-
|
|
6895
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6896
|
-
}
|
|
6897
|
-
else {
|
|
6898
|
-
return $dara.cast(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6899
|
-
}
|
|
8067
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6900
8068
|
}
|
|
6901
8069
|
/**
|
|
6902
8070
|
* 轻应用-提交视频理解任务
|
|
@@ -6938,12 +8106,7 @@ class Client extends openapi_core_1.default {
|
|
|
6938
8106
|
reqBodyType: "formData",
|
|
6939
8107
|
bodyType: "json",
|
|
6940
8108
|
});
|
|
6941
|
-
|
|
6942
|
-
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6943
|
-
}
|
|
6944
|
-
else {
|
|
6945
|
-
return $dara.cast(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6946
|
-
}
|
|
8109
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6947
8110
|
}
|
|
6948
8111
|
/**
|
|
6949
8112
|
* 视频理解-更新配置
|