@alicloud/quanmiaolightapp20240801 2.5.5 → 2.6.1
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 +1133 -128
- package/dist/client.js +1494 -310
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +3059 -1262
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() {
|
|
@@ -1649,6 +2011,7 @@ exports.RunMarketingInformationExtractResponseBodyPayload = RunMarketingInformat
|
|
|
1649
2011
|
class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
1650
2012
|
static names() {
|
|
1651
2013
|
return {
|
|
2014
|
+
errorMessage: 'errorMessage',
|
|
1652
2015
|
event: 'event',
|
|
1653
2016
|
eventInfo: 'eventInfo',
|
|
1654
2017
|
requestId: 'requestId',
|
|
@@ -1659,6 +2022,7 @@ class RunMarketingInformationWritingResponseBodyHeader extends $dara.Model {
|
|
|
1659
2022
|
}
|
|
1660
2023
|
static types() {
|
|
1661
2024
|
return {
|
|
2025
|
+
errorMessage: 'string',
|
|
1662
2026
|
event: 'string',
|
|
1663
2027
|
eventInfo: 'string',
|
|
1664
2028
|
requestId: 'string',
|
|
@@ -3203,17 +3567,17 @@ class RunVideoAnalysisResponseBodyPayload extends $dara.Model {
|
|
|
3203
3567
|
}
|
|
3204
3568
|
}
|
|
3205
3569
|
exports.RunVideoAnalysisResponseBodyPayload = RunVideoAnalysisResponseBodyPayload;
|
|
3206
|
-
class
|
|
3570
|
+
class SubmitEnterpriseVocAnalysisTaskRequestContents extends $dara.Model {
|
|
3207
3571
|
static names() {
|
|
3208
3572
|
return {
|
|
3209
|
-
|
|
3210
|
-
|
|
3573
|
+
id: 'id',
|
|
3574
|
+
text: 'text',
|
|
3211
3575
|
};
|
|
3212
3576
|
}
|
|
3213
3577
|
static types() {
|
|
3214
3578
|
return {
|
|
3215
|
-
|
|
3216
|
-
|
|
3579
|
+
id: 'string',
|
|
3580
|
+
text: 'string',
|
|
3217
3581
|
};
|
|
3218
3582
|
}
|
|
3219
3583
|
validate() {
|
|
@@ -3223,7 +3587,89 @@ class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
|
|
|
3223
3587
|
super(map);
|
|
3224
3588
|
}
|
|
3225
3589
|
}
|
|
3226
|
-
exports.
|
|
3590
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestContents = SubmitEnterpriseVocAnalysisTaskRequestContents;
|
|
3591
|
+
class SubmitEnterpriseVocAnalysisTaskRequestFilterTags extends $dara.Model {
|
|
3592
|
+
static names() {
|
|
3593
|
+
return {
|
|
3594
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3595
|
+
tagName: 'tagName',
|
|
3596
|
+
};
|
|
3597
|
+
}
|
|
3598
|
+
static types() {
|
|
3599
|
+
return {
|
|
3600
|
+
tagDefinePrompt: 'string',
|
|
3601
|
+
tagName: 'string',
|
|
3602
|
+
};
|
|
3603
|
+
}
|
|
3604
|
+
validate() {
|
|
3605
|
+
super.validate();
|
|
3606
|
+
}
|
|
3607
|
+
constructor(map) {
|
|
3608
|
+
super(map);
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestFilterTags = SubmitEnterpriseVocAnalysisTaskRequestFilterTags;
|
|
3612
|
+
class SubmitEnterpriseVocAnalysisTaskRequestTags extends $dara.Model {
|
|
3613
|
+
static names() {
|
|
3614
|
+
return {
|
|
3615
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3616
|
+
tagName: 'tagName',
|
|
3617
|
+
};
|
|
3618
|
+
}
|
|
3619
|
+
static types() {
|
|
3620
|
+
return {
|
|
3621
|
+
tagDefinePrompt: 'string',
|
|
3622
|
+
tagName: 'string',
|
|
3623
|
+
};
|
|
3624
|
+
}
|
|
3625
|
+
validate() {
|
|
3626
|
+
super.validate();
|
|
3627
|
+
}
|
|
3628
|
+
constructor(map) {
|
|
3629
|
+
super(map);
|
|
3630
|
+
}
|
|
3631
|
+
}
|
|
3632
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequestTags = SubmitEnterpriseVocAnalysisTaskRequestTags;
|
|
3633
|
+
class SubmitEnterpriseVocAnalysisTaskResponseBodyData extends $dara.Model {
|
|
3634
|
+
static names() {
|
|
3635
|
+
return {
|
|
3636
|
+
taskId: 'taskId',
|
|
3637
|
+
};
|
|
3638
|
+
}
|
|
3639
|
+
static types() {
|
|
3640
|
+
return {
|
|
3641
|
+
taskId: 'string',
|
|
3642
|
+
};
|
|
3643
|
+
}
|
|
3644
|
+
validate() {
|
|
3645
|
+
super.validate();
|
|
3646
|
+
}
|
|
3647
|
+
constructor(map) {
|
|
3648
|
+
super(map);
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponseBodyData = SubmitEnterpriseVocAnalysisTaskResponseBodyData;
|
|
3652
|
+
class SubmitTagMiningAnalysisTaskRequestTags extends $dara.Model {
|
|
3653
|
+
static names() {
|
|
3654
|
+
return {
|
|
3655
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
3656
|
+
tagName: 'tagName',
|
|
3657
|
+
};
|
|
3658
|
+
}
|
|
3659
|
+
static types() {
|
|
3660
|
+
return {
|
|
3661
|
+
tagDefinePrompt: 'string',
|
|
3662
|
+
tagName: 'string',
|
|
3663
|
+
};
|
|
3664
|
+
}
|
|
3665
|
+
validate() {
|
|
3666
|
+
super.validate();
|
|
3667
|
+
}
|
|
3668
|
+
constructor(map) {
|
|
3669
|
+
super(map);
|
|
3670
|
+
}
|
|
3671
|
+
}
|
|
3672
|
+
exports.SubmitTagMiningAnalysisTaskRequestTags = SubmitTagMiningAnalysisTaskRequestTags;
|
|
3227
3673
|
class SubmitTagMiningAnalysisTaskResponseBodyData extends $dara.Model {
|
|
3228
3674
|
static names() {
|
|
3229
3675
|
return {
|
|
@@ -3334,6 +3780,188 @@ class SubmitVideoAnalysisTaskResponseBodyData extends $dara.Model {
|
|
|
3334
3780
|
}
|
|
3335
3781
|
}
|
|
3336
3782
|
exports.SubmitVideoAnalysisTaskResponseBodyData = SubmitVideoAnalysisTaskResponseBodyData;
|
|
3783
|
+
class CancelAsyncTaskRequest extends $dara.Model {
|
|
3784
|
+
static names() {
|
|
3785
|
+
return {
|
|
3786
|
+
taskId: 'taskId',
|
|
3787
|
+
};
|
|
3788
|
+
}
|
|
3789
|
+
static types() {
|
|
3790
|
+
return {
|
|
3791
|
+
taskId: 'string',
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
validate() {
|
|
3795
|
+
super.validate();
|
|
3796
|
+
}
|
|
3797
|
+
constructor(map) {
|
|
3798
|
+
super(map);
|
|
3799
|
+
}
|
|
3800
|
+
}
|
|
3801
|
+
exports.CancelAsyncTaskRequest = CancelAsyncTaskRequest;
|
|
3802
|
+
class CancelAsyncTaskResponseBody extends $dara.Model {
|
|
3803
|
+
static names() {
|
|
3804
|
+
return {
|
|
3805
|
+
code: 'code',
|
|
3806
|
+
data: 'data',
|
|
3807
|
+
httpStatusCode: 'httpStatusCode',
|
|
3808
|
+
message: 'message',
|
|
3809
|
+
requestId: 'requestId',
|
|
3810
|
+
success: 'success',
|
|
3811
|
+
};
|
|
3812
|
+
}
|
|
3813
|
+
static types() {
|
|
3814
|
+
return {
|
|
3815
|
+
code: 'string',
|
|
3816
|
+
data: 'boolean',
|
|
3817
|
+
httpStatusCode: 'number',
|
|
3818
|
+
message: 'string',
|
|
3819
|
+
requestId: 'string',
|
|
3820
|
+
success: 'boolean',
|
|
3821
|
+
};
|
|
3822
|
+
}
|
|
3823
|
+
validate() {
|
|
3824
|
+
super.validate();
|
|
3825
|
+
}
|
|
3826
|
+
constructor(map) {
|
|
3827
|
+
super(map);
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3830
|
+
exports.CancelAsyncTaskResponseBody = CancelAsyncTaskResponseBody;
|
|
3831
|
+
class CancelAsyncTaskResponse extends $dara.Model {
|
|
3832
|
+
static names() {
|
|
3833
|
+
return {
|
|
3834
|
+
headers: 'headers',
|
|
3835
|
+
statusCode: 'statusCode',
|
|
3836
|
+
body: 'body',
|
|
3837
|
+
};
|
|
3838
|
+
}
|
|
3839
|
+
static types() {
|
|
3840
|
+
return {
|
|
3841
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3842
|
+
statusCode: 'number',
|
|
3843
|
+
body: CancelAsyncTaskResponseBody,
|
|
3844
|
+
};
|
|
3845
|
+
}
|
|
3846
|
+
validate() {
|
|
3847
|
+
if (this.headers) {
|
|
3848
|
+
$dara.Model.validateMap(this.headers);
|
|
3849
|
+
}
|
|
3850
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3851
|
+
this.body.validate();
|
|
3852
|
+
}
|
|
3853
|
+
super.validate();
|
|
3854
|
+
}
|
|
3855
|
+
constructor(map) {
|
|
3856
|
+
super(map);
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
exports.CancelAsyncTaskResponse = CancelAsyncTaskResponse;
|
|
3860
|
+
class ExportAnalysisTagDetailByTaskIdRequest extends $dara.Model {
|
|
3861
|
+
static names() {
|
|
3862
|
+
return {
|
|
3863
|
+
categories: 'categories',
|
|
3864
|
+
category: 'category',
|
|
3865
|
+
taskId: 'taskId',
|
|
3866
|
+
};
|
|
3867
|
+
}
|
|
3868
|
+
static types() {
|
|
3869
|
+
return {
|
|
3870
|
+
categories: { 'type': 'array', 'itemType': 'string' },
|
|
3871
|
+
category: 'string',
|
|
3872
|
+
taskId: 'string',
|
|
3873
|
+
};
|
|
3874
|
+
}
|
|
3875
|
+
validate() {
|
|
3876
|
+
if (Array.isArray(this.categories)) {
|
|
3877
|
+
$dara.Model.validateArray(this.categories);
|
|
3878
|
+
}
|
|
3879
|
+
super.validate();
|
|
3880
|
+
}
|
|
3881
|
+
constructor(map) {
|
|
3882
|
+
super(map);
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
exports.ExportAnalysisTagDetailByTaskIdRequest = ExportAnalysisTagDetailByTaskIdRequest;
|
|
3886
|
+
class ExportAnalysisTagDetailByTaskIdShrinkRequest extends $dara.Model {
|
|
3887
|
+
static names() {
|
|
3888
|
+
return {
|
|
3889
|
+
categoriesShrink: 'categories',
|
|
3890
|
+
category: 'category',
|
|
3891
|
+
taskId: 'taskId',
|
|
3892
|
+
};
|
|
3893
|
+
}
|
|
3894
|
+
static types() {
|
|
3895
|
+
return {
|
|
3896
|
+
categoriesShrink: 'string',
|
|
3897
|
+
category: 'string',
|
|
3898
|
+
taskId: 'string',
|
|
3899
|
+
};
|
|
3900
|
+
}
|
|
3901
|
+
validate() {
|
|
3902
|
+
super.validate();
|
|
3903
|
+
}
|
|
3904
|
+
constructor(map) {
|
|
3905
|
+
super(map);
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
exports.ExportAnalysisTagDetailByTaskIdShrinkRequest = ExportAnalysisTagDetailByTaskIdShrinkRequest;
|
|
3909
|
+
class ExportAnalysisTagDetailByTaskIdResponseBody extends $dara.Model {
|
|
3910
|
+
static names() {
|
|
3911
|
+
return {
|
|
3912
|
+
code: 'code',
|
|
3913
|
+
data: 'data',
|
|
3914
|
+
httpStatusCode: 'httpStatusCode',
|
|
3915
|
+
message: 'message',
|
|
3916
|
+
requestId: 'requestId',
|
|
3917
|
+
};
|
|
3918
|
+
}
|
|
3919
|
+
static types() {
|
|
3920
|
+
return {
|
|
3921
|
+
code: 'string',
|
|
3922
|
+
data: 'string',
|
|
3923
|
+
httpStatusCode: 'number',
|
|
3924
|
+
message: 'string',
|
|
3925
|
+
requestId: 'string',
|
|
3926
|
+
};
|
|
3927
|
+
}
|
|
3928
|
+
validate() {
|
|
3929
|
+
super.validate();
|
|
3930
|
+
}
|
|
3931
|
+
constructor(map) {
|
|
3932
|
+
super(map);
|
|
3933
|
+
}
|
|
3934
|
+
}
|
|
3935
|
+
exports.ExportAnalysisTagDetailByTaskIdResponseBody = ExportAnalysisTagDetailByTaskIdResponseBody;
|
|
3936
|
+
class ExportAnalysisTagDetailByTaskIdResponse extends $dara.Model {
|
|
3937
|
+
static names() {
|
|
3938
|
+
return {
|
|
3939
|
+
headers: 'headers',
|
|
3940
|
+
statusCode: 'statusCode',
|
|
3941
|
+
body: 'body',
|
|
3942
|
+
};
|
|
3943
|
+
}
|
|
3944
|
+
static types() {
|
|
3945
|
+
return {
|
|
3946
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3947
|
+
statusCode: 'number',
|
|
3948
|
+
body: ExportAnalysisTagDetailByTaskIdResponseBody,
|
|
3949
|
+
};
|
|
3950
|
+
}
|
|
3951
|
+
validate() {
|
|
3952
|
+
if (this.headers) {
|
|
3953
|
+
$dara.Model.validateMap(this.headers);
|
|
3954
|
+
}
|
|
3955
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3956
|
+
this.body.validate();
|
|
3957
|
+
}
|
|
3958
|
+
super.validate();
|
|
3959
|
+
}
|
|
3960
|
+
constructor(map) {
|
|
3961
|
+
super(map);
|
|
3962
|
+
}
|
|
3963
|
+
}
|
|
3964
|
+
exports.ExportAnalysisTagDetailByTaskIdResponse = ExportAnalysisTagDetailByTaskIdResponse;
|
|
3337
3965
|
class GenerateBroadcastNewsRequest extends $dara.Model {
|
|
3338
3966
|
static names() {
|
|
3339
3967
|
return {
|
|
@@ -3532,6 +4160,86 @@ class GenerateOutputFormatResponse extends $dara.Model {
|
|
|
3532
4160
|
}
|
|
3533
4161
|
}
|
|
3534
4162
|
exports.GenerateOutputFormatResponse = GenerateOutputFormatResponse;
|
|
4163
|
+
class GetEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
4164
|
+
static names() {
|
|
4165
|
+
return {
|
|
4166
|
+
taskId: 'taskId',
|
|
4167
|
+
};
|
|
4168
|
+
}
|
|
4169
|
+
static types() {
|
|
4170
|
+
return {
|
|
4171
|
+
taskId: 'string',
|
|
4172
|
+
};
|
|
4173
|
+
}
|
|
4174
|
+
validate() {
|
|
4175
|
+
super.validate();
|
|
4176
|
+
}
|
|
4177
|
+
constructor(map) {
|
|
4178
|
+
super(map);
|
|
4179
|
+
}
|
|
4180
|
+
}
|
|
4181
|
+
exports.GetEnterpriseVocAnalysisTaskRequest = GetEnterpriseVocAnalysisTaskRequest;
|
|
4182
|
+
class GetEnterpriseVocAnalysisTaskResponseBody extends $dara.Model {
|
|
4183
|
+
static names() {
|
|
4184
|
+
return {
|
|
4185
|
+
code: 'code',
|
|
4186
|
+
data: 'data',
|
|
4187
|
+
httpStatusCode: 'httpStatusCode',
|
|
4188
|
+
message: 'message',
|
|
4189
|
+
requestId: 'requestId',
|
|
4190
|
+
success: 'success',
|
|
4191
|
+
};
|
|
4192
|
+
}
|
|
4193
|
+
static types() {
|
|
4194
|
+
return {
|
|
4195
|
+
code: 'string',
|
|
4196
|
+
data: GetEnterpriseVocAnalysisTaskResponseBodyData,
|
|
4197
|
+
httpStatusCode: 'number',
|
|
4198
|
+
message: 'string',
|
|
4199
|
+
requestId: 'string',
|
|
4200
|
+
success: 'boolean',
|
|
4201
|
+
};
|
|
4202
|
+
}
|
|
4203
|
+
validate() {
|
|
4204
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
4205
|
+
this.data.validate();
|
|
4206
|
+
}
|
|
4207
|
+
super.validate();
|
|
4208
|
+
}
|
|
4209
|
+
constructor(map) {
|
|
4210
|
+
super(map);
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4213
|
+
exports.GetEnterpriseVocAnalysisTaskResponseBody = GetEnterpriseVocAnalysisTaskResponseBody;
|
|
4214
|
+
class GetEnterpriseVocAnalysisTaskResponse extends $dara.Model {
|
|
4215
|
+
static names() {
|
|
4216
|
+
return {
|
|
4217
|
+
headers: 'headers',
|
|
4218
|
+
statusCode: 'statusCode',
|
|
4219
|
+
body: 'body',
|
|
4220
|
+
};
|
|
4221
|
+
}
|
|
4222
|
+
static types() {
|
|
4223
|
+
return {
|
|
4224
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4225
|
+
statusCode: 'number',
|
|
4226
|
+
body: GetEnterpriseVocAnalysisTaskResponseBody,
|
|
4227
|
+
};
|
|
4228
|
+
}
|
|
4229
|
+
validate() {
|
|
4230
|
+
if (this.headers) {
|
|
4231
|
+
$dara.Model.validateMap(this.headers);
|
|
4232
|
+
}
|
|
4233
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
4234
|
+
this.body.validate();
|
|
4235
|
+
}
|
|
4236
|
+
super.validate();
|
|
4237
|
+
}
|
|
4238
|
+
constructor(map) {
|
|
4239
|
+
super(map);
|
|
4240
|
+
}
|
|
4241
|
+
}
|
|
4242
|
+
exports.GetEnterpriseVocAnalysisTaskResponse = GetEnterpriseVocAnalysisTaskResponse;
|
|
3535
4243
|
class GetTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
3536
4244
|
static names() {
|
|
3537
4245
|
return {
|
|
@@ -3734,17 +4442,152 @@ class GetVideoAnalysisTaskResponse extends $dara.Model {
|
|
|
3734
4442
|
}
|
|
3735
4443
|
static types() {
|
|
3736
4444
|
return {
|
|
3737
|
-
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3738
|
-
statusCode: 'number',
|
|
3739
|
-
body: GetVideoAnalysisTaskResponseBody,
|
|
4445
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4446
|
+
statusCode: 'number',
|
|
4447
|
+
body: GetVideoAnalysisTaskResponseBody,
|
|
4448
|
+
};
|
|
4449
|
+
}
|
|
4450
|
+
validate() {
|
|
4451
|
+
if (this.headers) {
|
|
4452
|
+
$dara.Model.validateMap(this.headers);
|
|
4453
|
+
}
|
|
4454
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
4455
|
+
this.body.validate();
|
|
4456
|
+
}
|
|
4457
|
+
super.validate();
|
|
4458
|
+
}
|
|
4459
|
+
constructor(map) {
|
|
4460
|
+
super(map);
|
|
4461
|
+
}
|
|
4462
|
+
}
|
|
4463
|
+
exports.GetVideoAnalysisTaskResponse = GetVideoAnalysisTaskResponse;
|
|
4464
|
+
class ListHotTopicSummariesRequest extends $dara.Model {
|
|
4465
|
+
static names() {
|
|
4466
|
+
return {
|
|
4467
|
+
category: 'category',
|
|
4468
|
+
hotTopic: 'hotTopic',
|
|
4469
|
+
hotTopicVersion: 'hotTopicVersion',
|
|
4470
|
+
maxResults: 'maxResults',
|
|
4471
|
+
nextToken: 'nextToken',
|
|
4472
|
+
};
|
|
4473
|
+
}
|
|
4474
|
+
static types() {
|
|
4475
|
+
return {
|
|
4476
|
+
category: 'string',
|
|
4477
|
+
hotTopic: 'string',
|
|
4478
|
+
hotTopicVersion: 'string',
|
|
4479
|
+
maxResults: 'number',
|
|
4480
|
+
nextToken: 'string',
|
|
4481
|
+
};
|
|
4482
|
+
}
|
|
4483
|
+
validate() {
|
|
4484
|
+
super.validate();
|
|
4485
|
+
}
|
|
4486
|
+
constructor(map) {
|
|
4487
|
+
super(map);
|
|
4488
|
+
}
|
|
4489
|
+
}
|
|
4490
|
+
exports.ListHotTopicSummariesRequest = ListHotTopicSummariesRequest;
|
|
4491
|
+
class ListHotTopicSummariesResponseBody extends $dara.Model {
|
|
4492
|
+
static names() {
|
|
4493
|
+
return {
|
|
4494
|
+
code: 'code',
|
|
4495
|
+
data: 'data',
|
|
4496
|
+
httpStatusCode: 'httpStatusCode',
|
|
4497
|
+
maxResults: 'maxResults',
|
|
4498
|
+
message: 'message',
|
|
4499
|
+
nextToken: 'nextToken',
|
|
4500
|
+
requestId: 'requestId',
|
|
4501
|
+
success: 'success',
|
|
4502
|
+
totalCount: 'totalCount',
|
|
4503
|
+
};
|
|
4504
|
+
}
|
|
4505
|
+
static types() {
|
|
4506
|
+
return {
|
|
4507
|
+
code: 'string',
|
|
4508
|
+
data: { 'type': 'array', 'itemType': ListHotTopicSummariesResponseBodyData },
|
|
4509
|
+
httpStatusCode: 'number',
|
|
4510
|
+
maxResults: 'number',
|
|
4511
|
+
message: 'string',
|
|
4512
|
+
nextToken: 'string',
|
|
4513
|
+
requestId: 'string',
|
|
4514
|
+
success: 'boolean',
|
|
4515
|
+
totalCount: 'number',
|
|
4516
|
+
};
|
|
4517
|
+
}
|
|
4518
|
+
validate() {
|
|
4519
|
+
if (Array.isArray(this.data)) {
|
|
4520
|
+
$dara.Model.validateArray(this.data);
|
|
4521
|
+
}
|
|
4522
|
+
super.validate();
|
|
4523
|
+
}
|
|
4524
|
+
constructor(map) {
|
|
4525
|
+
super(map);
|
|
4526
|
+
}
|
|
4527
|
+
}
|
|
4528
|
+
exports.ListHotTopicSummariesResponseBody = ListHotTopicSummariesResponseBody;
|
|
4529
|
+
class ListHotTopicSummariesResponse extends $dara.Model {
|
|
4530
|
+
static names() {
|
|
4531
|
+
return {
|
|
4532
|
+
headers: 'headers',
|
|
4533
|
+
statusCode: 'statusCode',
|
|
4534
|
+
body: 'body',
|
|
4535
|
+
};
|
|
4536
|
+
}
|
|
4537
|
+
static types() {
|
|
4538
|
+
return {
|
|
4539
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4540
|
+
statusCode: 'number',
|
|
4541
|
+
body: ListHotTopicSummariesResponseBody,
|
|
4542
|
+
};
|
|
4543
|
+
}
|
|
4544
|
+
validate() {
|
|
4545
|
+
if (this.headers) {
|
|
4546
|
+
$dara.Model.validateMap(this.headers);
|
|
4547
|
+
}
|
|
4548
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
4549
|
+
this.body.validate();
|
|
4550
|
+
}
|
|
4551
|
+
super.validate();
|
|
4552
|
+
}
|
|
4553
|
+
constructor(map) {
|
|
4554
|
+
super(map);
|
|
4555
|
+
}
|
|
4556
|
+
}
|
|
4557
|
+
exports.ListHotTopicSummariesResponse = ListHotTopicSummariesResponse;
|
|
4558
|
+
class RunEnterpriseVocAnalysisRequest extends $dara.Model {
|
|
4559
|
+
static names() {
|
|
4560
|
+
return {
|
|
4561
|
+
akProxy: 'akProxy',
|
|
4562
|
+
apiKey: 'apiKey',
|
|
4563
|
+
content: 'content',
|
|
4564
|
+
extraInfo: 'extraInfo',
|
|
4565
|
+
filterTags: 'filterTags',
|
|
4566
|
+
modelId: 'modelId',
|
|
4567
|
+
outputFormat: 'outputFormat',
|
|
4568
|
+
tags: 'tags',
|
|
4569
|
+
taskDescription: 'taskDescription',
|
|
4570
|
+
};
|
|
4571
|
+
}
|
|
4572
|
+
static types() {
|
|
4573
|
+
return {
|
|
4574
|
+
akProxy: 'string',
|
|
4575
|
+
apiKey: 'string',
|
|
4576
|
+
content: 'string',
|
|
4577
|
+
extraInfo: 'string',
|
|
4578
|
+
filterTags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestFilterTags },
|
|
4579
|
+
modelId: 'string',
|
|
4580
|
+
outputFormat: 'string',
|
|
4581
|
+
tags: { 'type': 'array', 'itemType': RunEnterpriseVocAnalysisRequestTags },
|
|
4582
|
+
taskDescription: 'string',
|
|
3740
4583
|
};
|
|
3741
4584
|
}
|
|
3742
4585
|
validate() {
|
|
3743
|
-
if (this.
|
|
3744
|
-
$dara.Model.
|
|
4586
|
+
if (Array.isArray(this.filterTags)) {
|
|
4587
|
+
$dara.Model.validateArray(this.filterTags);
|
|
3745
4588
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
|
|
4589
|
+
if (Array.isArray(this.tags)) {
|
|
4590
|
+
$dara.Model.validateArray(this.tags);
|
|
3748
4591
|
}
|
|
3749
4592
|
super.validate();
|
|
3750
4593
|
}
|
|
@@ -3752,24 +4595,32 @@ class GetVideoAnalysisTaskResponse extends $dara.Model {
|
|
|
3752
4595
|
super(map);
|
|
3753
4596
|
}
|
|
3754
4597
|
}
|
|
3755
|
-
exports.
|
|
3756
|
-
class
|
|
4598
|
+
exports.RunEnterpriseVocAnalysisRequest = RunEnterpriseVocAnalysisRequest;
|
|
4599
|
+
class RunEnterpriseVocAnalysisShrinkRequest extends $dara.Model {
|
|
3757
4600
|
static names() {
|
|
3758
4601
|
return {
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
4602
|
+
akProxy: 'akProxy',
|
|
4603
|
+
apiKey: 'apiKey',
|
|
4604
|
+
content: 'content',
|
|
4605
|
+
extraInfo: 'extraInfo',
|
|
4606
|
+
filterTagsShrink: 'filterTags',
|
|
4607
|
+
modelId: 'modelId',
|
|
4608
|
+
outputFormat: 'outputFormat',
|
|
4609
|
+
tagsShrink: 'tags',
|
|
4610
|
+
taskDescription: 'taskDescription',
|
|
3764
4611
|
};
|
|
3765
4612
|
}
|
|
3766
4613
|
static types() {
|
|
3767
4614
|
return {
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
4615
|
+
akProxy: 'string',
|
|
4616
|
+
apiKey: 'string',
|
|
4617
|
+
content: 'string',
|
|
4618
|
+
extraInfo: 'string',
|
|
4619
|
+
filterTagsShrink: 'string',
|
|
4620
|
+
modelId: 'string',
|
|
4621
|
+
outputFormat: 'string',
|
|
4622
|
+
tagsShrink: 'string',
|
|
4623
|
+
taskDescription: 'string',
|
|
3773
4624
|
};
|
|
3774
4625
|
}
|
|
3775
4626
|
validate() {
|
|
@@ -3779,37 +4630,28 @@ class ListHotTopicSummariesRequest extends $dara.Model {
|
|
|
3779
4630
|
super(map);
|
|
3780
4631
|
}
|
|
3781
4632
|
}
|
|
3782
|
-
exports.
|
|
3783
|
-
class
|
|
4633
|
+
exports.RunEnterpriseVocAnalysisShrinkRequest = RunEnterpriseVocAnalysisShrinkRequest;
|
|
4634
|
+
class RunEnterpriseVocAnalysisResponseBody extends $dara.Model {
|
|
3784
4635
|
static names() {
|
|
3785
4636
|
return {
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
httpStatusCode: 'httpStatusCode',
|
|
3789
|
-
maxResults: 'maxResults',
|
|
3790
|
-
message: 'message',
|
|
3791
|
-
nextToken: 'nextToken',
|
|
4637
|
+
header: 'header',
|
|
4638
|
+
payload: 'payload',
|
|
3792
4639
|
requestId: 'requestId',
|
|
3793
|
-
success: 'success',
|
|
3794
|
-
totalCount: 'totalCount',
|
|
3795
4640
|
};
|
|
3796
4641
|
}
|
|
3797
4642
|
static types() {
|
|
3798
4643
|
return {
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
httpStatusCode: 'number',
|
|
3802
|
-
maxResults: 'number',
|
|
3803
|
-
message: 'string',
|
|
3804
|
-
nextToken: 'string',
|
|
4644
|
+
header: RunEnterpriseVocAnalysisResponseBodyHeader,
|
|
4645
|
+
payload: RunEnterpriseVocAnalysisResponseBodyPayload,
|
|
3805
4646
|
requestId: 'string',
|
|
3806
|
-
success: 'boolean',
|
|
3807
|
-
totalCount: 'number',
|
|
3808
4647
|
};
|
|
3809
4648
|
}
|
|
3810
4649
|
validate() {
|
|
3811
|
-
if (
|
|
3812
|
-
|
|
4650
|
+
if (this.header && typeof this.header.validate === 'function') {
|
|
4651
|
+
this.header.validate();
|
|
4652
|
+
}
|
|
4653
|
+
if (this.payload && typeof this.payload.validate === 'function') {
|
|
4654
|
+
this.payload.validate();
|
|
3813
4655
|
}
|
|
3814
4656
|
super.validate();
|
|
3815
4657
|
}
|
|
@@ -3817,8 +4659,8 @@ class ListHotTopicSummariesResponseBody extends $dara.Model {
|
|
|
3817
4659
|
super(map);
|
|
3818
4660
|
}
|
|
3819
4661
|
}
|
|
3820
|
-
exports.
|
|
3821
|
-
class
|
|
4662
|
+
exports.RunEnterpriseVocAnalysisResponseBody = RunEnterpriseVocAnalysisResponseBody;
|
|
4663
|
+
class RunEnterpriseVocAnalysisResponse extends $dara.Model {
|
|
3822
4664
|
static names() {
|
|
3823
4665
|
return {
|
|
3824
4666
|
headers: 'headers',
|
|
@@ -3830,7 +4672,7 @@ class ListHotTopicSummariesResponse extends $dara.Model {
|
|
|
3830
4672
|
return {
|
|
3831
4673
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3832
4674
|
statusCode: 'number',
|
|
3833
|
-
body:
|
|
4675
|
+
body: RunEnterpriseVocAnalysisResponseBody,
|
|
3834
4676
|
};
|
|
3835
4677
|
}
|
|
3836
4678
|
validate() {
|
|
@@ -3846,7 +4688,7 @@ class ListHotTopicSummariesResponse extends $dara.Model {
|
|
|
3846
4688
|
super(map);
|
|
3847
4689
|
}
|
|
3848
4690
|
}
|
|
3849
|
-
exports.
|
|
4691
|
+
exports.RunEnterpriseVocAnalysisResponse = RunEnterpriseVocAnalysisResponse;
|
|
3850
4692
|
class RunHotTopicChatRequest extends $dara.Model {
|
|
3851
4693
|
static names() {
|
|
3852
4694
|
return {
|
|
@@ -4223,6 +5065,7 @@ exports.RunMarketingInformationExtractResponse = RunMarketingInformationExtractR
|
|
|
4223
5065
|
class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
4224
5066
|
static names() {
|
|
4225
5067
|
return {
|
|
5068
|
+
apiKey: 'apiKey',
|
|
4226
5069
|
customLimitation: 'customLimitation',
|
|
4227
5070
|
customPrompt: 'customPrompt',
|
|
4228
5071
|
inputExample: 'inputExample',
|
|
@@ -4234,6 +5077,7 @@ class RunMarketingInformationWritingRequest extends $dara.Model {
|
|
|
4234
5077
|
}
|
|
4235
5078
|
static types() {
|
|
4236
5079
|
return {
|
|
5080
|
+
apiKey: 'string',
|
|
4237
5081
|
customLimitation: 'string',
|
|
4238
5082
|
customPrompt: 'string',
|
|
4239
5083
|
inputExample: 'string',
|
|
@@ -4312,6 +5156,7 @@ exports.RunMarketingInformationWritingResponse = RunMarketingInformationWritingR
|
|
|
4312
5156
|
class RunNetworkContentAuditRequest extends $dara.Model {
|
|
4313
5157
|
static names() {
|
|
4314
5158
|
return {
|
|
5159
|
+
apiKey: 'apiKey',
|
|
4315
5160
|
businessType: 'businessType',
|
|
4316
5161
|
content: 'content',
|
|
4317
5162
|
extraInfo: 'extraInfo',
|
|
@@ -4323,6 +5168,7 @@ class RunNetworkContentAuditRequest extends $dara.Model {
|
|
|
4323
5168
|
}
|
|
4324
5169
|
static types() {
|
|
4325
5170
|
return {
|
|
5171
|
+
apiKey: 'string',
|
|
4326
5172
|
businessType: 'string',
|
|
4327
5173
|
content: 'string',
|
|
4328
5174
|
extraInfo: 'string',
|
|
@@ -4346,6 +5192,7 @@ exports.RunNetworkContentAuditRequest = RunNetworkContentAuditRequest;
|
|
|
4346
5192
|
class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
4347
5193
|
static names() {
|
|
4348
5194
|
return {
|
|
5195
|
+
apiKey: 'apiKey',
|
|
4349
5196
|
businessType: 'businessType',
|
|
4350
5197
|
content: 'content',
|
|
4351
5198
|
extraInfo: 'extraInfo',
|
|
@@ -4357,6 +5204,7 @@ class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
|
4357
5204
|
}
|
|
4358
5205
|
static types() {
|
|
4359
5206
|
return {
|
|
5207
|
+
apiKey: 'string',
|
|
4360
5208
|
businessType: 'string',
|
|
4361
5209
|
content: 'string',
|
|
4362
5210
|
extraInfo: 'string',
|
|
@@ -5190,6 +6038,150 @@ class RunVideoAnalysisResponse extends $dara.Model {
|
|
|
5190
6038
|
}
|
|
5191
6039
|
}
|
|
5192
6040
|
exports.RunVideoAnalysisResponse = RunVideoAnalysisResponse;
|
|
6041
|
+
class SubmitEnterpriseVocAnalysisTaskRequest extends $dara.Model {
|
|
6042
|
+
static names() {
|
|
6043
|
+
return {
|
|
6044
|
+
apiKey: 'apiKey',
|
|
6045
|
+
contents: 'contents',
|
|
6046
|
+
extraInfo: 'extraInfo',
|
|
6047
|
+
fileKey: 'fileKey',
|
|
6048
|
+
filterTags: 'filterTags',
|
|
6049
|
+
modelId: 'modelId',
|
|
6050
|
+
outputFormat: 'outputFormat',
|
|
6051
|
+
tags: 'tags',
|
|
6052
|
+
taskDescription: 'taskDescription',
|
|
6053
|
+
url: 'url',
|
|
6054
|
+
};
|
|
6055
|
+
}
|
|
6056
|
+
static types() {
|
|
6057
|
+
return {
|
|
6058
|
+
apiKey: 'string',
|
|
6059
|
+
contents: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestContents },
|
|
6060
|
+
extraInfo: 'string',
|
|
6061
|
+
fileKey: 'string',
|
|
6062
|
+
filterTags: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestFilterTags },
|
|
6063
|
+
modelId: 'string',
|
|
6064
|
+
outputFormat: 'string',
|
|
6065
|
+
tags: { 'type': 'array', 'itemType': SubmitEnterpriseVocAnalysisTaskRequestTags },
|
|
6066
|
+
taskDescription: 'string',
|
|
6067
|
+
url: 'string',
|
|
6068
|
+
};
|
|
6069
|
+
}
|
|
6070
|
+
validate() {
|
|
6071
|
+
if (Array.isArray(this.contents)) {
|
|
6072
|
+
$dara.Model.validateArray(this.contents);
|
|
6073
|
+
}
|
|
6074
|
+
if (Array.isArray(this.filterTags)) {
|
|
6075
|
+
$dara.Model.validateArray(this.filterTags);
|
|
6076
|
+
}
|
|
6077
|
+
if (Array.isArray(this.tags)) {
|
|
6078
|
+
$dara.Model.validateArray(this.tags);
|
|
6079
|
+
}
|
|
6080
|
+
super.validate();
|
|
6081
|
+
}
|
|
6082
|
+
constructor(map) {
|
|
6083
|
+
super(map);
|
|
6084
|
+
}
|
|
6085
|
+
}
|
|
6086
|
+
exports.SubmitEnterpriseVocAnalysisTaskRequest = SubmitEnterpriseVocAnalysisTaskRequest;
|
|
6087
|
+
class SubmitEnterpriseVocAnalysisTaskShrinkRequest extends $dara.Model {
|
|
6088
|
+
static names() {
|
|
6089
|
+
return {
|
|
6090
|
+
apiKey: 'apiKey',
|
|
6091
|
+
contentsShrink: 'contents',
|
|
6092
|
+
extraInfo: 'extraInfo',
|
|
6093
|
+
fileKey: 'fileKey',
|
|
6094
|
+
filterTagsShrink: 'filterTags',
|
|
6095
|
+
modelId: 'modelId',
|
|
6096
|
+
outputFormat: 'outputFormat',
|
|
6097
|
+
tagsShrink: 'tags',
|
|
6098
|
+
taskDescription: 'taskDescription',
|
|
6099
|
+
url: 'url',
|
|
6100
|
+
};
|
|
6101
|
+
}
|
|
6102
|
+
static types() {
|
|
6103
|
+
return {
|
|
6104
|
+
apiKey: 'string',
|
|
6105
|
+
contentsShrink: 'string',
|
|
6106
|
+
extraInfo: 'string',
|
|
6107
|
+
fileKey: 'string',
|
|
6108
|
+
filterTagsShrink: 'string',
|
|
6109
|
+
modelId: 'string',
|
|
6110
|
+
outputFormat: 'string',
|
|
6111
|
+
tagsShrink: 'string',
|
|
6112
|
+
taskDescription: 'string',
|
|
6113
|
+
url: 'string',
|
|
6114
|
+
};
|
|
6115
|
+
}
|
|
6116
|
+
validate() {
|
|
6117
|
+
super.validate();
|
|
6118
|
+
}
|
|
6119
|
+
constructor(map) {
|
|
6120
|
+
super(map);
|
|
6121
|
+
}
|
|
6122
|
+
}
|
|
6123
|
+
exports.SubmitEnterpriseVocAnalysisTaskShrinkRequest = SubmitEnterpriseVocAnalysisTaskShrinkRequest;
|
|
6124
|
+
class SubmitEnterpriseVocAnalysisTaskResponseBody extends $dara.Model {
|
|
6125
|
+
static names() {
|
|
6126
|
+
return {
|
|
6127
|
+
code: 'code',
|
|
6128
|
+
data: 'data',
|
|
6129
|
+
httpStatusCode: 'httpStatusCode',
|
|
6130
|
+
message: 'message',
|
|
6131
|
+
requestId: 'requestId',
|
|
6132
|
+
success: 'success',
|
|
6133
|
+
};
|
|
6134
|
+
}
|
|
6135
|
+
static types() {
|
|
6136
|
+
return {
|
|
6137
|
+
code: 'string',
|
|
6138
|
+
data: SubmitEnterpriseVocAnalysisTaskResponseBodyData,
|
|
6139
|
+
httpStatusCode: 'number',
|
|
6140
|
+
message: 'string',
|
|
6141
|
+
requestId: 'string',
|
|
6142
|
+
success: 'boolean',
|
|
6143
|
+
};
|
|
6144
|
+
}
|
|
6145
|
+
validate() {
|
|
6146
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
6147
|
+
this.data.validate();
|
|
6148
|
+
}
|
|
6149
|
+
super.validate();
|
|
6150
|
+
}
|
|
6151
|
+
constructor(map) {
|
|
6152
|
+
super(map);
|
|
6153
|
+
}
|
|
6154
|
+
}
|
|
6155
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponseBody = SubmitEnterpriseVocAnalysisTaskResponseBody;
|
|
6156
|
+
class SubmitEnterpriseVocAnalysisTaskResponse extends $dara.Model {
|
|
6157
|
+
static names() {
|
|
6158
|
+
return {
|
|
6159
|
+
headers: 'headers',
|
|
6160
|
+
statusCode: 'statusCode',
|
|
6161
|
+
body: 'body',
|
|
6162
|
+
};
|
|
6163
|
+
}
|
|
6164
|
+
static types() {
|
|
6165
|
+
return {
|
|
6166
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6167
|
+
statusCode: 'number',
|
|
6168
|
+
body: SubmitEnterpriseVocAnalysisTaskResponseBody,
|
|
6169
|
+
};
|
|
6170
|
+
}
|
|
6171
|
+
validate() {
|
|
6172
|
+
if (this.headers) {
|
|
6173
|
+
$dara.Model.validateMap(this.headers);
|
|
6174
|
+
}
|
|
6175
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
6176
|
+
this.body.validate();
|
|
6177
|
+
}
|
|
6178
|
+
super.validate();
|
|
6179
|
+
}
|
|
6180
|
+
constructor(map) {
|
|
6181
|
+
super(map);
|
|
6182
|
+
}
|
|
6183
|
+
}
|
|
6184
|
+
exports.SubmitEnterpriseVocAnalysisTaskResponse = SubmitEnterpriseVocAnalysisTaskResponse;
|
|
5193
6185
|
class SubmitTagMiningAnalysisTaskRequest extends $dara.Model {
|
|
5194
6186
|
static names() {
|
|
5195
6187
|
return {
|
|
@@ -5570,35 +6562,130 @@ class UpdateVideoAnalysisConfigResponse extends $dara.Model {
|
|
|
5570
6562
|
body: UpdateVideoAnalysisConfigResponseBody,
|
|
5571
6563
|
};
|
|
5572
6564
|
}
|
|
5573
|
-
validate() {
|
|
5574
|
-
if (this.headers) {
|
|
5575
|
-
$dara.Model.validateMap(this.headers);
|
|
6565
|
+
validate() {
|
|
6566
|
+
if (this.headers) {
|
|
6567
|
+
$dara.Model.validateMap(this.headers);
|
|
6568
|
+
}
|
|
6569
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
6570
|
+
this.body.validate();
|
|
6571
|
+
}
|
|
6572
|
+
super.validate();
|
|
6573
|
+
}
|
|
6574
|
+
constructor(map) {
|
|
6575
|
+
super(map);
|
|
6576
|
+
}
|
|
6577
|
+
}
|
|
6578
|
+
exports.UpdateVideoAnalysisConfigResponse = UpdateVideoAnalysisConfigResponse;
|
|
6579
|
+
class Client extends openapi_core_1.default {
|
|
6580
|
+
constructor(config) {
|
|
6581
|
+
super(config);
|
|
6582
|
+
this._endpointRule = "";
|
|
6583
|
+
this.checkConfig(config);
|
|
6584
|
+
this._endpoint = this.getEndpoint("quanmiaolightapp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
6585
|
+
}
|
|
6586
|
+
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
6587
|
+
if (!$dara.isNull(endpoint)) {
|
|
6588
|
+
return endpoint;
|
|
6589
|
+
}
|
|
6590
|
+
if (!$dara.isNull(endpointMap) && !$dara.isNull(endpointMap[regionId])) {
|
|
6591
|
+
return endpointMap[regionId];
|
|
6592
|
+
}
|
|
6593
|
+
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
6594
|
+
}
|
|
6595
|
+
/**
|
|
6596
|
+
* 取消异步任务
|
|
6597
|
+
*
|
|
6598
|
+
* @param request - CancelAsyncTaskRequest
|
|
6599
|
+
* @param headers - map
|
|
6600
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6601
|
+
* @returns CancelAsyncTaskResponse
|
|
6602
|
+
*/
|
|
6603
|
+
async cancelAsyncTaskWithOptions(workspaceId, request, headers, runtime) {
|
|
6604
|
+
request.validate();
|
|
6605
|
+
let body = {};
|
|
6606
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6607
|
+
body["taskId"] = request.taskId;
|
|
6608
|
+
}
|
|
6609
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6610
|
+
headers: headers,
|
|
6611
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6612
|
+
});
|
|
6613
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6614
|
+
action: "CancelAsyncTask",
|
|
6615
|
+
version: "2024-08-01",
|
|
6616
|
+
protocol: "HTTPS",
|
|
6617
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/cancelAsyncTask`,
|
|
6618
|
+
method: "POST",
|
|
6619
|
+
authType: "AK",
|
|
6620
|
+
style: "ROA",
|
|
6621
|
+
reqBodyType: "formData",
|
|
6622
|
+
bodyType: "json",
|
|
6623
|
+
});
|
|
6624
|
+
return $dara.cast(await this.callApi(params, req, runtime), new CancelAsyncTaskResponse({}));
|
|
6625
|
+
}
|
|
6626
|
+
/**
|
|
6627
|
+
* 取消异步任务
|
|
6628
|
+
*
|
|
6629
|
+
* @param request - CancelAsyncTaskRequest
|
|
6630
|
+
* @returns CancelAsyncTaskResponse
|
|
6631
|
+
*/
|
|
6632
|
+
async cancelAsyncTask(workspaceId, request) {
|
|
6633
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6634
|
+
let headers = {};
|
|
6635
|
+
return await this.cancelAsyncTaskWithOptions(workspaceId, request, headers, runtime);
|
|
6636
|
+
}
|
|
6637
|
+
/**
|
|
6638
|
+
* 导出挖掘任务明细
|
|
6639
|
+
*
|
|
6640
|
+
* @param tmpReq - ExportAnalysisTagDetailByTaskIdRequest
|
|
6641
|
+
* @param headers - map
|
|
6642
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6643
|
+
* @returns ExportAnalysisTagDetailByTaskIdResponse
|
|
6644
|
+
*/
|
|
6645
|
+
async exportAnalysisTagDetailByTaskIdWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
6646
|
+
tmpReq.validate();
|
|
6647
|
+
let request = new ExportAnalysisTagDetailByTaskIdShrinkRequest({});
|
|
6648
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
6649
|
+
if (!$dara.isNull(tmpReq.categories)) {
|
|
6650
|
+
request.categoriesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.categories, "categories", "json");
|
|
5576
6651
|
}
|
|
5577
|
-
|
|
5578
|
-
|
|
6652
|
+
let body = {};
|
|
6653
|
+
if (!$dara.isNull(request.categoriesShrink)) {
|
|
6654
|
+
body["categories"] = request.categoriesShrink;
|
|
5579
6655
|
}
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
constructor(map) {
|
|
5583
|
-
super(map);
|
|
5584
|
-
}
|
|
5585
|
-
}
|
|
5586
|
-
exports.UpdateVideoAnalysisConfigResponse = UpdateVideoAnalysisConfigResponse;
|
|
5587
|
-
class Client extends openapi_core_1.default {
|
|
5588
|
-
constructor(config) {
|
|
5589
|
-
super(config);
|
|
5590
|
-
this._endpointRule = "";
|
|
5591
|
-
this.checkConfig(config);
|
|
5592
|
-
this._endpoint = this.getEndpoint("quanmiaolightapp", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
5593
|
-
}
|
|
5594
|
-
getEndpoint(productId, regionId, endpointRule, network, suffix, endpointMap, endpoint) {
|
|
5595
|
-
if (!$dara.isNull(endpoint)) {
|
|
5596
|
-
return endpoint;
|
|
6656
|
+
if (!$dara.isNull(request.category)) {
|
|
6657
|
+
body["category"] = request.category;
|
|
5597
6658
|
}
|
|
5598
|
-
if (!$dara.isNull(
|
|
5599
|
-
|
|
6659
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6660
|
+
body["taskId"] = request.taskId;
|
|
5600
6661
|
}
|
|
5601
|
-
|
|
6662
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6663
|
+
headers: headers,
|
|
6664
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
6665
|
+
});
|
|
6666
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6667
|
+
action: "ExportAnalysisTagDetailByTaskId",
|
|
6668
|
+
version: "2024-08-01",
|
|
6669
|
+
protocol: "HTTPS",
|
|
6670
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/exportAnalysisTagDetailByTaskId`,
|
|
6671
|
+
method: "POST",
|
|
6672
|
+
authType: "AK",
|
|
6673
|
+
style: "ROA",
|
|
6674
|
+
reqBodyType: "formData",
|
|
6675
|
+
bodyType: "json",
|
|
6676
|
+
});
|
|
6677
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ExportAnalysisTagDetailByTaskIdResponse({}));
|
|
6678
|
+
}
|
|
6679
|
+
/**
|
|
6680
|
+
* 导出挖掘任务明细
|
|
6681
|
+
*
|
|
6682
|
+
* @param request - ExportAnalysisTagDetailByTaskIdRequest
|
|
6683
|
+
* @returns ExportAnalysisTagDetailByTaskIdResponse
|
|
6684
|
+
*/
|
|
6685
|
+
async exportAnalysisTagDetailByTaskId(workspaceId, request) {
|
|
6686
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6687
|
+
let headers = {};
|
|
6688
|
+
return await this.exportAnalysisTagDetailByTaskIdWithOptions(workspaceId, request, headers, runtime);
|
|
5602
6689
|
}
|
|
5603
6690
|
/**
|
|
5604
6691
|
* 新闻播报-抽取分类获取播报热点
|
|
@@ -5629,12 +6716,7 @@ class Client extends openapi_core_1.default {
|
|
|
5629
6716
|
reqBodyType: "formData",
|
|
5630
6717
|
bodyType: "json",
|
|
5631
6718
|
});
|
|
5632
|
-
|
|
5633
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5634
|
-
}
|
|
5635
|
-
else {
|
|
5636
|
-
return $dara.cast(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5637
|
-
}
|
|
6719
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
5638
6720
|
}
|
|
5639
6721
|
/**
|
|
5640
6722
|
* 新闻播报-抽取分类获取播报热点
|
|
@@ -5693,12 +6775,7 @@ class Client extends openapi_core_1.default {
|
|
|
5693
6775
|
reqBodyType: "formData",
|
|
5694
6776
|
bodyType: "json",
|
|
5695
6777
|
});
|
|
5696
|
-
|
|
5697
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5698
|
-
}
|
|
5699
|
-
else {
|
|
5700
|
-
return $dara.cast(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5701
|
-
}
|
|
6778
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5702
6779
|
}
|
|
5703
6780
|
/**
|
|
5704
6781
|
* 轻应用-标签挖掘-获取示例输出格式
|
|
@@ -5711,6 +6788,48 @@ class Client extends openapi_core_1.default {
|
|
|
5711
6788
|
let headers = {};
|
|
5712
6789
|
return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
|
|
5713
6790
|
}
|
|
6791
|
+
/**
|
|
6792
|
+
* 获取企业VOC分析任务结果
|
|
6793
|
+
*
|
|
6794
|
+
* @param request - GetEnterpriseVocAnalysisTaskRequest
|
|
6795
|
+
* @param headers - map
|
|
6796
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6797
|
+
* @returns GetEnterpriseVocAnalysisTaskResponse
|
|
6798
|
+
*/
|
|
6799
|
+
async getEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime) {
|
|
6800
|
+
request.validate();
|
|
6801
|
+
let query = {};
|
|
6802
|
+
if (!$dara.isNull(request.taskId)) {
|
|
6803
|
+
query["taskId"] = request.taskId;
|
|
6804
|
+
}
|
|
6805
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
6806
|
+
headers: headers,
|
|
6807
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
6808
|
+
});
|
|
6809
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
6810
|
+
action: "GetEnterpriseVocAnalysisTask",
|
|
6811
|
+
version: "2024-08-01",
|
|
6812
|
+
protocol: "HTTPS",
|
|
6813
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/getEnterpriseVocAnalysisTask`,
|
|
6814
|
+
method: "GET",
|
|
6815
|
+
authType: "AK",
|
|
6816
|
+
style: "ROA",
|
|
6817
|
+
reqBodyType: "json",
|
|
6818
|
+
bodyType: "json",
|
|
6819
|
+
});
|
|
6820
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetEnterpriseVocAnalysisTaskResponse({}));
|
|
6821
|
+
}
|
|
6822
|
+
/**
|
|
6823
|
+
* 获取企业VOC分析任务结果
|
|
6824
|
+
*
|
|
6825
|
+
* @param request - GetEnterpriseVocAnalysisTaskRequest
|
|
6826
|
+
* @returns GetEnterpriseVocAnalysisTaskResponse
|
|
6827
|
+
*/
|
|
6828
|
+
async getEnterpriseVocAnalysisTask(workspaceId, request) {
|
|
6829
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
6830
|
+
let headers = {};
|
|
6831
|
+
return await this.getEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
6832
|
+
}
|
|
5714
6833
|
/**
|
|
5715
6834
|
* 获取挖掘分析任务结果
|
|
5716
6835
|
*
|
|
@@ -5740,12 +6859,7 @@ class Client extends openapi_core_1.default {
|
|
|
5740
6859
|
reqBodyType: "json",
|
|
5741
6860
|
bodyType: "json",
|
|
5742
6861
|
});
|
|
5743
|
-
|
|
5744
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5745
|
-
}
|
|
5746
|
-
else {
|
|
5747
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5748
|
-
}
|
|
6862
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetTagMiningAnalysisTaskResponse({}));
|
|
5749
6863
|
}
|
|
5750
6864
|
/**
|
|
5751
6865
|
* 获取挖掘分析任务结果
|
|
@@ -5780,12 +6894,7 @@ class Client extends openapi_core_1.default {
|
|
|
5780
6894
|
reqBodyType: "json",
|
|
5781
6895
|
bodyType: "json",
|
|
5782
6896
|
});
|
|
5783
|
-
|
|
5784
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5785
|
-
}
|
|
5786
|
-
else {
|
|
5787
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5788
|
-
}
|
|
6897
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5789
6898
|
}
|
|
5790
6899
|
/**
|
|
5791
6900
|
* 视频理解-获取配置
|
|
@@ -5825,12 +6934,7 @@ class Client extends openapi_core_1.default {
|
|
|
5825
6934
|
reqBodyType: "json",
|
|
5826
6935
|
bodyType: "json",
|
|
5827
6936
|
});
|
|
5828
|
-
|
|
5829
|
-
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5830
|
-
}
|
|
5831
|
-
else {
|
|
5832
|
-
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5833
|
-
}
|
|
6937
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5834
6938
|
}
|
|
5835
6939
|
/**
|
|
5836
6940
|
* 轻应用-获取视频理解异步任务结果
|
|
@@ -5884,12 +6988,7 @@ class Client extends openapi_core_1.default {
|
|
|
5884
6988
|
reqBodyType: "formData",
|
|
5885
6989
|
bodyType: "json",
|
|
5886
6990
|
});
|
|
5887
|
-
|
|
5888
|
-
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5889
|
-
}
|
|
5890
|
-
else {
|
|
5891
|
-
return $dara.cast(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5892
|
-
}
|
|
6991
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5893
6992
|
}
|
|
5894
6993
|
/**
|
|
5895
6994
|
* 轻应用-新闻播报-获取热点话题摘要列表
|
|
@@ -5902,6 +7001,80 @@ class Client extends openapi_core_1.default {
|
|
|
5902
7001
|
let headers = {};
|
|
5903
7002
|
return await this.listHotTopicSummariesWithOptions(workspaceId, request, headers, runtime);
|
|
5904
7003
|
}
|
|
7004
|
+
/**
|
|
7005
|
+
* 企业VOC分析
|
|
7006
|
+
*
|
|
7007
|
+
* @param tmpReq - RunEnterpriseVocAnalysisRequest
|
|
7008
|
+
* @param headers - map
|
|
7009
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7010
|
+
* @returns RunEnterpriseVocAnalysisResponse
|
|
7011
|
+
*/
|
|
7012
|
+
async runEnterpriseVocAnalysisWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
7013
|
+
tmpReq.validate();
|
|
7014
|
+
let request = new RunEnterpriseVocAnalysisShrinkRequest({});
|
|
7015
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
7016
|
+
if (!$dara.isNull(tmpReq.filterTags)) {
|
|
7017
|
+
request.filterTagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filterTags, "filterTags", "json");
|
|
7018
|
+
}
|
|
7019
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
7020
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7021
|
+
}
|
|
7022
|
+
let body = {};
|
|
7023
|
+
if (!$dara.isNull(request.akProxy)) {
|
|
7024
|
+
body["akProxy"] = request.akProxy;
|
|
7025
|
+
}
|
|
7026
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7027
|
+
body["apiKey"] = request.apiKey;
|
|
7028
|
+
}
|
|
7029
|
+
if (!$dara.isNull(request.content)) {
|
|
7030
|
+
body["content"] = request.content;
|
|
7031
|
+
}
|
|
7032
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
7033
|
+
body["extraInfo"] = request.extraInfo;
|
|
7034
|
+
}
|
|
7035
|
+
if (!$dara.isNull(request.filterTagsShrink)) {
|
|
7036
|
+
body["filterTags"] = request.filterTagsShrink;
|
|
7037
|
+
}
|
|
7038
|
+
if (!$dara.isNull(request.modelId)) {
|
|
7039
|
+
body["modelId"] = request.modelId;
|
|
7040
|
+
}
|
|
7041
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
7042
|
+
body["outputFormat"] = request.outputFormat;
|
|
7043
|
+
}
|
|
7044
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
7045
|
+
body["tags"] = request.tagsShrink;
|
|
7046
|
+
}
|
|
7047
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
7048
|
+
body["taskDescription"] = request.taskDescription;
|
|
7049
|
+
}
|
|
7050
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7051
|
+
headers: headers,
|
|
7052
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7053
|
+
});
|
|
7054
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7055
|
+
action: "RunEnterpriseVocAnalysis",
|
|
7056
|
+
version: "2024-08-01",
|
|
7057
|
+
protocol: "HTTPS",
|
|
7058
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/runEnterpriseVocAnalysis`,
|
|
7059
|
+
method: "POST",
|
|
7060
|
+
authType: "AK",
|
|
7061
|
+
style: "ROA",
|
|
7062
|
+
reqBodyType: "formData",
|
|
7063
|
+
bodyType: "json",
|
|
7064
|
+
});
|
|
7065
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunEnterpriseVocAnalysisResponse({}));
|
|
7066
|
+
}
|
|
7067
|
+
/**
|
|
7068
|
+
* 企业VOC分析
|
|
7069
|
+
*
|
|
7070
|
+
* @param request - RunEnterpriseVocAnalysisRequest
|
|
7071
|
+
* @returns RunEnterpriseVocAnalysisResponse
|
|
7072
|
+
*/
|
|
7073
|
+
async runEnterpriseVocAnalysis(workspaceId, request) {
|
|
7074
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7075
|
+
let headers = {};
|
|
7076
|
+
return await this.runEnterpriseVocAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
7077
|
+
}
|
|
5905
7078
|
/**
|
|
5906
7079
|
* 轻应用-热点播报-问答
|
|
5907
7080
|
*
|
|
@@ -5978,12 +7151,7 @@ class Client extends openapi_core_1.default {
|
|
|
5978
7151
|
reqBodyType: "formData",
|
|
5979
7152
|
bodyType: "json",
|
|
5980
7153
|
});
|
|
5981
|
-
|
|
5982
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5983
|
-
}
|
|
5984
|
-
else {
|
|
5985
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5986
|
-
}
|
|
7154
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5987
7155
|
}
|
|
5988
7156
|
/**
|
|
5989
7157
|
* 轻应用-热点播报-问答
|
|
@@ -6039,12 +7207,7 @@ class Client extends openapi_core_1.default {
|
|
|
6039
7207
|
reqBodyType: "formData",
|
|
6040
7208
|
bodyType: "json",
|
|
6041
7209
|
});
|
|
6042
|
-
|
|
6043
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6044
|
-
}
|
|
6045
|
-
else {
|
|
6046
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6047
|
-
}
|
|
7210
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
6048
7211
|
}
|
|
6049
7212
|
/**
|
|
6050
7213
|
* 轻应用-热点播报-热点摘要生成
|
|
@@ -6100,12 +7263,7 @@ class Client extends openapi_core_1.default {
|
|
|
6100
7263
|
reqBodyType: "formData",
|
|
6101
7264
|
bodyType: "json",
|
|
6102
7265
|
});
|
|
6103
|
-
|
|
6104
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6105
|
-
}
|
|
6106
|
-
else {
|
|
6107
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6108
|
-
}
|
|
7266
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
6109
7267
|
}
|
|
6110
7268
|
/**
|
|
6111
7269
|
* 营销信息抽取服务
|
|
@@ -6129,6 +7287,9 @@ class Client extends openapi_core_1.default {
|
|
|
6129
7287
|
async runMarketingInformationWritingWithOptions(workspaceId, request, headers, runtime) {
|
|
6130
7288
|
request.validate();
|
|
6131
7289
|
let body = {};
|
|
7290
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7291
|
+
body["apiKey"] = request.apiKey;
|
|
7292
|
+
}
|
|
6132
7293
|
if (!$dara.isNull(request.customLimitation)) {
|
|
6133
7294
|
body["customLimitation"] = request.customLimitation;
|
|
6134
7295
|
}
|
|
@@ -6165,12 +7326,7 @@ class Client extends openapi_core_1.default {
|
|
|
6165
7326
|
reqBodyType: "formData",
|
|
6166
7327
|
bodyType: "json",
|
|
6167
7328
|
});
|
|
6168
|
-
|
|
6169
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6170
|
-
}
|
|
6171
|
-
else {
|
|
6172
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6173
|
-
}
|
|
7329
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
6174
7330
|
}
|
|
6175
7331
|
/**
|
|
6176
7332
|
* 营销文案写作服务
|
|
@@ -6199,6 +7355,9 @@ class Client extends openapi_core_1.default {
|
|
|
6199
7355
|
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
6200
7356
|
}
|
|
6201
7357
|
let body = {};
|
|
7358
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7359
|
+
body["apiKey"] = request.apiKey;
|
|
7360
|
+
}
|
|
6202
7361
|
if (!$dara.isNull(request.businessType)) {
|
|
6203
7362
|
body["businessType"] = request.businessType;
|
|
6204
7363
|
}
|
|
@@ -6235,12 +7394,7 @@ class Client extends openapi_core_1.default {
|
|
|
6235
7394
|
reqBodyType: "formData",
|
|
6236
7395
|
bodyType: "json",
|
|
6237
7396
|
});
|
|
6238
|
-
|
|
6239
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6240
|
-
}
|
|
6241
|
-
else {
|
|
6242
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6243
|
-
}
|
|
7397
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
6244
7398
|
}
|
|
6245
7399
|
/**
|
|
6246
7400
|
* 轻应用-网络内容审核
|
|
@@ -6285,12 +7439,7 @@ class Client extends openapi_core_1.default {
|
|
|
6285
7439
|
reqBodyType: "formData",
|
|
6286
7440
|
bodyType: "json",
|
|
6287
7441
|
});
|
|
6288
|
-
|
|
6289
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
6290
|
-
}
|
|
6291
|
-
else {
|
|
6292
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
|
|
6293
|
-
}
|
|
7442
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
6294
7443
|
}
|
|
6295
7444
|
/**
|
|
6296
7445
|
* 长剧本创作
|
|
@@ -6338,12 +7487,7 @@ class Client extends openapi_core_1.default {
|
|
|
6338
7487
|
reqBodyType: "formData",
|
|
6339
7488
|
bodyType: "json",
|
|
6340
7489
|
});
|
|
6341
|
-
|
|
6342
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6343
|
-
}
|
|
6344
|
-
else {
|
|
6345
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6346
|
-
}
|
|
7490
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
6347
7491
|
}
|
|
6348
7492
|
/**
|
|
6349
7493
|
* 剧本续写
|
|
@@ -6403,12 +7547,7 @@ class Client extends openapi_core_1.default {
|
|
|
6403
7547
|
reqBodyType: "formData",
|
|
6404
7548
|
bodyType: "json",
|
|
6405
7549
|
});
|
|
6406
|
-
|
|
6407
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6408
|
-
}
|
|
6409
|
-
else {
|
|
6410
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6411
|
-
}
|
|
7550
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
6412
7551
|
}
|
|
6413
7552
|
/**
|
|
6414
7553
|
* 剧本策划
|
|
@@ -6450,12 +7589,7 @@ class Client extends openapi_core_1.default {
|
|
|
6450
7589
|
reqBodyType: "formData",
|
|
6451
7590
|
bodyType: "json",
|
|
6452
7591
|
});
|
|
6453
|
-
|
|
6454
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6455
|
-
}
|
|
6456
|
-
else {
|
|
6457
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6458
|
-
}
|
|
7592
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
6459
7593
|
}
|
|
6460
7594
|
/**
|
|
6461
7595
|
* 剧本对话内容的整理
|
|
@@ -6520,12 +7654,7 @@ class Client extends openapi_core_1.default {
|
|
|
6520
7654
|
reqBodyType: "formData",
|
|
6521
7655
|
bodyType: "json",
|
|
6522
7656
|
});
|
|
6523
|
-
|
|
6524
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6525
|
-
}
|
|
6526
|
-
else {
|
|
6527
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6528
|
-
}
|
|
7657
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
6529
7658
|
}
|
|
6530
7659
|
/**
|
|
6531
7660
|
* 文体学习和写作推理服务
|
|
@@ -6593,12 +7722,7 @@ class Client extends openapi_core_1.default {
|
|
|
6593
7722
|
reqBodyType: "formData",
|
|
6594
7723
|
bodyType: "json",
|
|
6595
7724
|
});
|
|
6596
|
-
|
|
6597
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6598
|
-
}
|
|
6599
|
-
else {
|
|
6600
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6601
|
-
}
|
|
7725
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
6602
7726
|
}
|
|
6603
7727
|
/**
|
|
6604
7728
|
* 轻应用-标签挖掘
|
|
@@ -6711,12 +7835,7 @@ class Client extends openapi_core_1.default {
|
|
|
6711
7835
|
reqBodyType: "formData",
|
|
6712
7836
|
bodyType: "json",
|
|
6713
7837
|
});
|
|
6714
|
-
|
|
6715
|
-
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6716
|
-
}
|
|
6717
|
-
else {
|
|
6718
|
-
return $dara.cast(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6719
|
-
}
|
|
7838
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6720
7839
|
}
|
|
6721
7840
|
/**
|
|
6722
7841
|
* 轻应用-视频理解
|
|
@@ -6729,6 +7848,86 @@ class Client extends openapi_core_1.default {
|
|
|
6729
7848
|
let headers = {};
|
|
6730
7849
|
return await this.runVideoAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
6731
7850
|
}
|
|
7851
|
+
/**
|
|
7852
|
+
* 提交企业VOC异步任务
|
|
7853
|
+
*
|
|
7854
|
+
* @param tmpReq - SubmitEnterpriseVocAnalysisTaskRequest
|
|
7855
|
+
* @param headers - map
|
|
7856
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7857
|
+
* @returns SubmitEnterpriseVocAnalysisTaskResponse
|
|
7858
|
+
*/
|
|
7859
|
+
async submitEnterpriseVocAnalysisTaskWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
7860
|
+
tmpReq.validate();
|
|
7861
|
+
let request = new SubmitEnterpriseVocAnalysisTaskShrinkRequest({});
|
|
7862
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
7863
|
+
if (!$dara.isNull(tmpReq.contents)) {
|
|
7864
|
+
request.contentsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.contents, "contents", "json");
|
|
7865
|
+
}
|
|
7866
|
+
if (!$dara.isNull(tmpReq.filterTags)) {
|
|
7867
|
+
request.filterTagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.filterTags, "filterTags", "json");
|
|
7868
|
+
}
|
|
7869
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
7870
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
7871
|
+
}
|
|
7872
|
+
let body = {};
|
|
7873
|
+
if (!$dara.isNull(request.apiKey)) {
|
|
7874
|
+
body["apiKey"] = request.apiKey;
|
|
7875
|
+
}
|
|
7876
|
+
if (!$dara.isNull(request.contentsShrink)) {
|
|
7877
|
+
body["contents"] = request.contentsShrink;
|
|
7878
|
+
}
|
|
7879
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
7880
|
+
body["extraInfo"] = request.extraInfo;
|
|
7881
|
+
}
|
|
7882
|
+
if (!$dara.isNull(request.fileKey)) {
|
|
7883
|
+
body["fileKey"] = request.fileKey;
|
|
7884
|
+
}
|
|
7885
|
+
if (!$dara.isNull(request.filterTagsShrink)) {
|
|
7886
|
+
body["filterTags"] = request.filterTagsShrink;
|
|
7887
|
+
}
|
|
7888
|
+
if (!$dara.isNull(request.modelId)) {
|
|
7889
|
+
body["modelId"] = request.modelId;
|
|
7890
|
+
}
|
|
7891
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
7892
|
+
body["outputFormat"] = request.outputFormat;
|
|
7893
|
+
}
|
|
7894
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
7895
|
+
body["tags"] = request.tagsShrink;
|
|
7896
|
+
}
|
|
7897
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
7898
|
+
body["taskDescription"] = request.taskDescription;
|
|
7899
|
+
}
|
|
7900
|
+
if (!$dara.isNull(request.url)) {
|
|
7901
|
+
body["url"] = request.url;
|
|
7902
|
+
}
|
|
7903
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
7904
|
+
headers: headers,
|
|
7905
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
7906
|
+
});
|
|
7907
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
7908
|
+
action: "SubmitEnterpriseVocAnalysisTask",
|
|
7909
|
+
version: "2024-08-01",
|
|
7910
|
+
protocol: "HTTPS",
|
|
7911
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/submitEnterpriseVocAnalysisTask`,
|
|
7912
|
+
method: "POST",
|
|
7913
|
+
authType: "AK",
|
|
7914
|
+
style: "ROA",
|
|
7915
|
+
reqBodyType: "formData",
|
|
7916
|
+
bodyType: "json",
|
|
7917
|
+
});
|
|
7918
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitEnterpriseVocAnalysisTaskResponse({}));
|
|
7919
|
+
}
|
|
7920
|
+
/**
|
|
7921
|
+
* 提交企业VOC异步任务
|
|
7922
|
+
*
|
|
7923
|
+
* @param request - SubmitEnterpriseVocAnalysisTaskRequest
|
|
7924
|
+
* @returns SubmitEnterpriseVocAnalysisTaskResponse
|
|
7925
|
+
*/
|
|
7926
|
+
async submitEnterpriseVocAnalysisTask(workspaceId, request) {
|
|
7927
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
7928
|
+
let headers = {};
|
|
7929
|
+
return await this.submitEnterpriseVocAnalysisTaskWithOptions(workspaceId, request, headers, runtime);
|
|
7930
|
+
}
|
|
6732
7931
|
/**
|
|
6733
7932
|
* 轻应用-标签挖掘
|
|
6734
7933
|
*
|
|
@@ -6790,12 +7989,7 @@ class Client extends openapi_core_1.default {
|
|
|
6790
7989
|
reqBodyType: "formData",
|
|
6791
7990
|
bodyType: "json",
|
|
6792
7991
|
});
|
|
6793
|
-
|
|
6794
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6795
|
-
}
|
|
6796
|
-
else {
|
|
6797
|
-
return $dara.cast(await this.execute(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6798
|
-
}
|
|
7992
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitTagMiningAnalysisTaskResponse({}));
|
|
6799
7993
|
}
|
|
6800
7994
|
/**
|
|
6801
7995
|
* 轻应用-标签挖掘
|
|
@@ -6905,12 +8099,7 @@ class Client extends openapi_core_1.default {
|
|
|
6905
8099
|
reqBodyType: "formData",
|
|
6906
8100
|
bodyType: "json",
|
|
6907
8101
|
});
|
|
6908
|
-
|
|
6909
|
-
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6910
|
-
}
|
|
6911
|
-
else {
|
|
6912
|
-
return $dara.cast(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6913
|
-
}
|
|
8102
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6914
8103
|
}
|
|
6915
8104
|
/**
|
|
6916
8105
|
* 轻应用-提交视频理解任务
|
|
@@ -6952,12 +8141,7 @@ class Client extends openapi_core_1.default {
|
|
|
6952
8141
|
reqBodyType: "formData",
|
|
6953
8142
|
bodyType: "json",
|
|
6954
8143
|
});
|
|
6955
|
-
|
|
6956
|
-
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6957
|
-
}
|
|
6958
|
-
else {
|
|
6959
|
-
return $dara.cast(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6960
|
-
}
|
|
8144
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6961
8145
|
}
|
|
6962
8146
|
/**
|
|
6963
8147
|
* 视频理解-更新配置
|