@alicloud/quanmiaolightapp20240801 2.3.1 → 2.4.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 +275 -24
- package/dist/client.js +437 -21
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +646 -68
package/dist/client.js
CHANGED
|
@@ -37,9 +37,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
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.ListHotTopicSummariesResponseBodyData = exports.ListHotTopicSummariesResponseBodyDataSummary = exports.ListHotTopicSummariesResponseBodyDataSummarySummaries = exports.ListHotTopicSummariesResponseBodyDataNews = exports.ListHotTopicSummariesResponseBodyDataNewsComments = exports.GetVideoAnalysisTaskResponseBodyData = exports.GetVideoAnalysisTaskResponseBodyDataTaskRunInfo = exports.GetVideoAnalysisTaskResponseBodyDataPayload = exports.GetVideoAnalysisTaskResponseBodyDataPayloadUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutput = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoTitleGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappings = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodes = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodesChildNodes = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoMindMappingGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoGenerateResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoCaptionResultVideoCaptions = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResult = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.GetVideoAnalysisTaskResponseBodyDataPayloadOutputVideoAnalysisResultUsage = exports.GetVideoAnalysisTaskResponseBodyDataHeader = exports.GetVideoAnalysisConfigResponseBodyData = exports.GenerateOutputFormatResponseBodyData = exports.GenerateOutputFormatRequestTags = exports.GenerateBroadcastNewsResponseBodyData = exports.GenerateBroadcastNewsResponseBodyDataUsage = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummaries = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages = void 0;
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.UpdateVideoAnalysisConfigResponse = exports.UpdateVideoAnalysisConfigResponseBody = exports.UpdateVideoAnalysisConfigRequest = exports.SubmitVideoAnalysisTaskResponse = exports.SubmitVideoAnalysisTaskResponseBody = exports.SubmitVideoAnalysisTaskShrinkRequest = exports.SubmitVideoAnalysisTaskRequest = exports.RunVideoAnalysisResponse = exports.RunVideoAnalysisResponseBody = exports.RunVideoAnalysisShrinkRequest = exports.RunVideoAnalysisRequest = exports.RunTagMiningAnalysisResponse = exports.RunTagMiningAnalysisResponseBody = exports.RunTagMiningAnalysisShrinkRequest = exports.RunTagMiningAnalysisRequest = exports.RunStyleWritingResponse = exports.RunStyleWritingResponseBody = exports.RunStyleWritingShrinkRequest = exports.RunStyleWritingRequest = void 0;
|
|
40
|
+
exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodesChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResultVideoCaptions = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultUsage = exports.RunVideoAnalysisResponseBodyHeader = exports.RunVideoAnalysisRequestVideoRoles = exports.RunVideoAnalysisRequestFrameSampleMethod = exports.RunTagMiningAnalysisResponseBodyPayload = exports.RunTagMiningAnalysisResponseBodyPayloadUsage = exports.RunTagMiningAnalysisResponseBodyPayloadOutput = exports.RunTagMiningAnalysisResponseBodyHeader = exports.RunTagMiningAnalysisRequestTags = exports.RunStyleWritingResponseBodyPayload = exports.RunStyleWritingResponseBodyPayloadUsage = exports.RunStyleWritingResponseBodyPayloadOutput = exports.RunStyleWritingResponseBodyHeader = exports.RunScriptRefineResponseBodyPayload = exports.RunScriptRefineResponseBodyPayloadUsage = exports.RunScriptRefineResponseBodyPayloadOutput = exports.RunScriptRefineResponseBodyHeader = exports.RunScriptPlanningResponseBodyPayload = exports.RunScriptPlanningResponseBodyPayloadUsage = exports.RunScriptPlanningResponseBodyPayloadOutput = exports.RunScriptPlanningResponseBodyHeader = exports.RunScriptContinueResponseBodyPayload = exports.RunScriptContinueResponseBodyPayloadUsage = exports.RunScriptContinueResponseBodyPayloadOutput = exports.RunScriptContinueResponseBodyHeader = exports.RunScriptChatResponseBodyPayload = exports.RunScriptChatResponseBodyPayloadUsage = exports.RunScriptChatResponseBodyPayloadOutput = exports.RunScriptChatResponseBodyHeader = exports.RunNetworkContentAuditResponseBodyPayload = exports.RunNetworkContentAuditResponseBodyPayloadUsage = exports.RunNetworkContentAuditResponseBodyPayloadOutput = exports.RunNetworkContentAuditResponseBodyHeader = exports.RunNetworkContentAuditRequestTags = exports.RunMarketingInformationWritingResponseBodyPayload = exports.RunMarketingInformationWritingResponseBodyPayloadUsage = exports.RunMarketingInformationWritingResponseBodyPayloadOutput = exports.RunMarketingInformationWritingResponseBodyHeader = exports.RunMarketingInformationExtractResponseBodyPayload = exports.RunMarketingInformationExtractResponseBodyPayloadUsage = exports.RunMarketingInformationExtractResponseBodyPayloadOutput = void 0;
|
|
41
|
+
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.ListHotTopicSummariesResponse = exports.ListHotTopicSummariesResponseBody = exports.ListHotTopicSummariesRequest = exports.GetVideoAnalysisTaskResponse = exports.GetVideoAnalysisTaskResponseBody = exports.GetVideoAnalysisTaskRequest = exports.GetVideoAnalysisConfigResponse = exports.GetVideoAnalysisConfigResponseBody = exports.GenerateOutputFormatResponse = exports.GenerateOutputFormatResponseBody = exports.GenerateOutputFormatShrinkRequest = exports.GenerateOutputFormatRequest = exports.GenerateBroadcastNewsResponse = exports.GenerateBroadcastNewsResponseBody = exports.GenerateBroadcastNewsRequest = exports.SubmitVideoAnalysisTaskResponseBodyData = exports.SubmitVideoAnalysisTaskRequestVideoRoles = exports.SubmitVideoAnalysisTaskRequestFrameSampleMethod = exports.RunVideoAnalysisResponseBodyPayload = exports.RunVideoAnalysisResponseBodyPayloadUsage = exports.RunVideoAnalysisResponseBodyPayloadOutput = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResultVideoShots = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoShotSnapshotResultVideoShotsVideoSnapshots = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappings = void 0;
|
|
42
|
+
exports.UpdateVideoAnalysisConfigResponse = exports.UpdateVideoAnalysisConfigResponseBody = exports.UpdateVideoAnalysisConfigRequest = exports.SubmitVideoAnalysisTaskResponse = exports.SubmitVideoAnalysisTaskResponseBody = exports.SubmitVideoAnalysisTaskShrinkRequest = exports.SubmitVideoAnalysisTaskRequest = exports.RunVideoAnalysisResponse = exports.RunVideoAnalysisResponseBody = exports.RunVideoAnalysisShrinkRequest = exports.RunVideoAnalysisRequest = exports.RunTagMiningAnalysisResponse = exports.RunTagMiningAnalysisResponseBody = exports.RunTagMiningAnalysisShrinkRequest = exports.RunTagMiningAnalysisRequest = exports.RunStyleWritingResponse = exports.RunStyleWritingResponseBody = exports.RunStyleWritingShrinkRequest = exports.RunStyleWritingRequest = exports.RunScriptRefineResponse = exports.RunScriptRefineResponseBody = exports.RunScriptRefineRequest = exports.RunScriptPlanningResponse = exports.RunScriptPlanningResponseBody = exports.RunScriptPlanningRequest = exports.RunScriptContinueResponse = exports.RunScriptContinueResponseBody = exports.RunScriptContinueRequest = void 0;
|
|
43
43
|
// This file is auto-generated, don't edit it
|
|
44
44
|
/**
|
|
45
45
|
*/
|
|
@@ -1525,6 +1525,125 @@ class RunMarketingInformationWritingResponseBodyPayload extends $dara.Model {
|
|
|
1525
1525
|
}
|
|
1526
1526
|
}
|
|
1527
1527
|
exports.RunMarketingInformationWritingResponseBodyPayload = RunMarketingInformationWritingResponseBodyPayload;
|
|
1528
|
+
class RunNetworkContentAuditRequestTags extends $dara.Model {
|
|
1529
|
+
static names() {
|
|
1530
|
+
return {
|
|
1531
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
1532
|
+
tagName: 'tagName',
|
|
1533
|
+
};
|
|
1534
|
+
}
|
|
1535
|
+
static types() {
|
|
1536
|
+
return {
|
|
1537
|
+
tagDefinePrompt: 'string',
|
|
1538
|
+
tagName: 'string',
|
|
1539
|
+
};
|
|
1540
|
+
}
|
|
1541
|
+
validate() {
|
|
1542
|
+
super.validate();
|
|
1543
|
+
}
|
|
1544
|
+
constructor(map) {
|
|
1545
|
+
super(map);
|
|
1546
|
+
}
|
|
1547
|
+
}
|
|
1548
|
+
exports.RunNetworkContentAuditRequestTags = RunNetworkContentAuditRequestTags;
|
|
1549
|
+
class RunNetworkContentAuditResponseBodyHeader extends $dara.Model {
|
|
1550
|
+
static names() {
|
|
1551
|
+
return {
|
|
1552
|
+
errorCode: 'errorCode',
|
|
1553
|
+
errorMessage: 'errorMessage',
|
|
1554
|
+
event: 'event',
|
|
1555
|
+
sessionId: 'sessionId',
|
|
1556
|
+
taskId: 'taskId',
|
|
1557
|
+
traceId: 'traceId',
|
|
1558
|
+
};
|
|
1559
|
+
}
|
|
1560
|
+
static types() {
|
|
1561
|
+
return {
|
|
1562
|
+
errorCode: 'string',
|
|
1563
|
+
errorMessage: 'string',
|
|
1564
|
+
event: 'string',
|
|
1565
|
+
sessionId: 'string',
|
|
1566
|
+
taskId: 'string',
|
|
1567
|
+
traceId: 'string',
|
|
1568
|
+
};
|
|
1569
|
+
}
|
|
1570
|
+
validate() {
|
|
1571
|
+
super.validate();
|
|
1572
|
+
}
|
|
1573
|
+
constructor(map) {
|
|
1574
|
+
super(map);
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
exports.RunNetworkContentAuditResponseBodyHeader = RunNetworkContentAuditResponseBodyHeader;
|
|
1578
|
+
class RunNetworkContentAuditResponseBodyPayloadOutput extends $dara.Model {
|
|
1579
|
+
static names() {
|
|
1580
|
+
return {
|
|
1581
|
+
text: 'text',
|
|
1582
|
+
};
|
|
1583
|
+
}
|
|
1584
|
+
static types() {
|
|
1585
|
+
return {
|
|
1586
|
+
text: 'string',
|
|
1587
|
+
};
|
|
1588
|
+
}
|
|
1589
|
+
validate() {
|
|
1590
|
+
super.validate();
|
|
1591
|
+
}
|
|
1592
|
+
constructor(map) {
|
|
1593
|
+
super(map);
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
exports.RunNetworkContentAuditResponseBodyPayloadOutput = RunNetworkContentAuditResponseBodyPayloadOutput;
|
|
1597
|
+
class RunNetworkContentAuditResponseBodyPayloadUsage extends $dara.Model {
|
|
1598
|
+
static names() {
|
|
1599
|
+
return {
|
|
1600
|
+
inputTokens: 'inputTokens',
|
|
1601
|
+
outputTokens: 'outputTokens',
|
|
1602
|
+
totalTokens: 'totalTokens',
|
|
1603
|
+
};
|
|
1604
|
+
}
|
|
1605
|
+
static types() {
|
|
1606
|
+
return {
|
|
1607
|
+
inputTokens: 'number',
|
|
1608
|
+
outputTokens: 'number',
|
|
1609
|
+
totalTokens: 'number',
|
|
1610
|
+
};
|
|
1611
|
+
}
|
|
1612
|
+
validate() {
|
|
1613
|
+
super.validate();
|
|
1614
|
+
}
|
|
1615
|
+
constructor(map) {
|
|
1616
|
+
super(map);
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
exports.RunNetworkContentAuditResponseBodyPayloadUsage = RunNetworkContentAuditResponseBodyPayloadUsage;
|
|
1620
|
+
class RunNetworkContentAuditResponseBodyPayload extends $dara.Model {
|
|
1621
|
+
static names() {
|
|
1622
|
+
return {
|
|
1623
|
+
output: 'output',
|
|
1624
|
+
usage: 'usage',
|
|
1625
|
+
};
|
|
1626
|
+
}
|
|
1627
|
+
static types() {
|
|
1628
|
+
return {
|
|
1629
|
+
output: RunNetworkContentAuditResponseBodyPayloadOutput,
|
|
1630
|
+
usage: RunNetworkContentAuditResponseBodyPayloadUsage,
|
|
1631
|
+
};
|
|
1632
|
+
}
|
|
1633
|
+
validate() {
|
|
1634
|
+
if (this.output && typeof this.output.validate === 'function') {
|
|
1635
|
+
this.output.validate();
|
|
1636
|
+
}
|
|
1637
|
+
if (this.usage && typeof this.usage.validate === 'function') {
|
|
1638
|
+
this.usage.validate();
|
|
1639
|
+
}
|
|
1640
|
+
super.validate();
|
|
1641
|
+
}
|
|
1642
|
+
constructor(map) {
|
|
1643
|
+
super(map);
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
exports.RunNetworkContentAuditResponseBodyPayload = RunNetworkContentAuditResponseBodyPayload;
|
|
1528
1647
|
class RunScriptChatResponseBodyHeader extends $dara.Model {
|
|
1529
1648
|
static names() {
|
|
1530
1649
|
return {
|
|
@@ -3741,6 +3860,129 @@ class RunMarketingInformationWritingResponse extends $dara.Model {
|
|
|
3741
3860
|
}
|
|
3742
3861
|
}
|
|
3743
3862
|
exports.RunMarketingInformationWritingResponse = RunMarketingInformationWritingResponse;
|
|
3863
|
+
class RunNetworkContentAuditRequest extends $dara.Model {
|
|
3864
|
+
static names() {
|
|
3865
|
+
return {
|
|
3866
|
+
businessType: 'businessType',
|
|
3867
|
+
content: 'content',
|
|
3868
|
+
extraInfo: 'extraInfo',
|
|
3869
|
+
modelId: 'modelId',
|
|
3870
|
+
outputFormat: 'outputFormat',
|
|
3871
|
+
tags: 'tags',
|
|
3872
|
+
taskDescription: 'taskDescription',
|
|
3873
|
+
};
|
|
3874
|
+
}
|
|
3875
|
+
static types() {
|
|
3876
|
+
return {
|
|
3877
|
+
businessType: 'string',
|
|
3878
|
+
content: 'string',
|
|
3879
|
+
extraInfo: 'string',
|
|
3880
|
+
modelId: 'string',
|
|
3881
|
+
outputFormat: 'string',
|
|
3882
|
+
tags: { 'type': 'array', 'itemType': RunNetworkContentAuditRequestTags },
|
|
3883
|
+
taskDescription: 'string',
|
|
3884
|
+
};
|
|
3885
|
+
}
|
|
3886
|
+
validate() {
|
|
3887
|
+
if (Array.isArray(this.tags)) {
|
|
3888
|
+
$dara.Model.validateArray(this.tags);
|
|
3889
|
+
}
|
|
3890
|
+
super.validate();
|
|
3891
|
+
}
|
|
3892
|
+
constructor(map) {
|
|
3893
|
+
super(map);
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
exports.RunNetworkContentAuditRequest = RunNetworkContentAuditRequest;
|
|
3897
|
+
class RunNetworkContentAuditShrinkRequest extends $dara.Model {
|
|
3898
|
+
static names() {
|
|
3899
|
+
return {
|
|
3900
|
+
businessType: 'businessType',
|
|
3901
|
+
content: 'content',
|
|
3902
|
+
extraInfo: 'extraInfo',
|
|
3903
|
+
modelId: 'modelId',
|
|
3904
|
+
outputFormat: 'outputFormat',
|
|
3905
|
+
tagsShrink: 'tags',
|
|
3906
|
+
taskDescription: 'taskDescription',
|
|
3907
|
+
};
|
|
3908
|
+
}
|
|
3909
|
+
static types() {
|
|
3910
|
+
return {
|
|
3911
|
+
businessType: 'string',
|
|
3912
|
+
content: 'string',
|
|
3913
|
+
extraInfo: 'string',
|
|
3914
|
+
modelId: 'string',
|
|
3915
|
+
outputFormat: 'string',
|
|
3916
|
+
tagsShrink: 'string',
|
|
3917
|
+
taskDescription: 'string',
|
|
3918
|
+
};
|
|
3919
|
+
}
|
|
3920
|
+
validate() {
|
|
3921
|
+
super.validate();
|
|
3922
|
+
}
|
|
3923
|
+
constructor(map) {
|
|
3924
|
+
super(map);
|
|
3925
|
+
}
|
|
3926
|
+
}
|
|
3927
|
+
exports.RunNetworkContentAuditShrinkRequest = RunNetworkContentAuditShrinkRequest;
|
|
3928
|
+
class RunNetworkContentAuditResponseBody extends $dara.Model {
|
|
3929
|
+
static names() {
|
|
3930
|
+
return {
|
|
3931
|
+
header: 'header',
|
|
3932
|
+
payload: 'payload',
|
|
3933
|
+
requestId: 'requestId',
|
|
3934
|
+
};
|
|
3935
|
+
}
|
|
3936
|
+
static types() {
|
|
3937
|
+
return {
|
|
3938
|
+
header: RunNetworkContentAuditResponseBodyHeader,
|
|
3939
|
+
payload: RunNetworkContentAuditResponseBodyPayload,
|
|
3940
|
+
requestId: 'string',
|
|
3941
|
+
};
|
|
3942
|
+
}
|
|
3943
|
+
validate() {
|
|
3944
|
+
if (this.header && typeof this.header.validate === 'function') {
|
|
3945
|
+
this.header.validate();
|
|
3946
|
+
}
|
|
3947
|
+
if (this.payload && typeof this.payload.validate === 'function') {
|
|
3948
|
+
this.payload.validate();
|
|
3949
|
+
}
|
|
3950
|
+
super.validate();
|
|
3951
|
+
}
|
|
3952
|
+
constructor(map) {
|
|
3953
|
+
super(map);
|
|
3954
|
+
}
|
|
3955
|
+
}
|
|
3956
|
+
exports.RunNetworkContentAuditResponseBody = RunNetworkContentAuditResponseBody;
|
|
3957
|
+
class RunNetworkContentAuditResponse extends $dara.Model {
|
|
3958
|
+
static names() {
|
|
3959
|
+
return {
|
|
3960
|
+
headers: 'headers',
|
|
3961
|
+
statusCode: 'statusCode',
|
|
3962
|
+
body: 'body',
|
|
3963
|
+
};
|
|
3964
|
+
}
|
|
3965
|
+
static types() {
|
|
3966
|
+
return {
|
|
3967
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3968
|
+
statusCode: 'number',
|
|
3969
|
+
body: RunNetworkContentAuditResponseBody,
|
|
3970
|
+
};
|
|
3971
|
+
}
|
|
3972
|
+
validate() {
|
|
3973
|
+
if (this.headers) {
|
|
3974
|
+
$dara.Model.validateMap(this.headers);
|
|
3975
|
+
}
|
|
3976
|
+
if (this.body && typeof this.body.validate === 'function') {
|
|
3977
|
+
this.body.validate();
|
|
3978
|
+
}
|
|
3979
|
+
super.validate();
|
|
3980
|
+
}
|
|
3981
|
+
constructor(map) {
|
|
3982
|
+
super(map);
|
|
3983
|
+
}
|
|
3984
|
+
}
|
|
3985
|
+
exports.RunNetworkContentAuditResponse = RunNetworkContentAuditResponse;
|
|
3744
3986
|
class RunScriptChatRequest extends $dara.Model {
|
|
3745
3987
|
static names() {
|
|
3746
3988
|
return {
|
|
@@ -4071,16 +4313,20 @@ class RunStyleWritingRequest extends $dara.Model {
|
|
|
4071
4313
|
static names() {
|
|
4072
4314
|
return {
|
|
4073
4315
|
learningSamples: 'learningSamples',
|
|
4316
|
+
processStage: 'processStage',
|
|
4074
4317
|
referenceMaterials: 'referenceMaterials',
|
|
4075
4318
|
styleFeature: 'styleFeature',
|
|
4319
|
+
useSearch: 'useSearch',
|
|
4076
4320
|
writingTheme: 'writingTheme',
|
|
4077
4321
|
};
|
|
4078
4322
|
}
|
|
4079
4323
|
static types() {
|
|
4080
4324
|
return {
|
|
4081
4325
|
learningSamples: { 'type': 'array', 'itemType': 'string' },
|
|
4326
|
+
processStage: 'string',
|
|
4082
4327
|
referenceMaterials: { 'type': 'array', 'itemType': 'string' },
|
|
4083
4328
|
styleFeature: 'string',
|
|
4329
|
+
useSearch: 'boolean',
|
|
4084
4330
|
writingTheme: 'string',
|
|
4085
4331
|
};
|
|
4086
4332
|
}
|
|
@@ -4102,16 +4348,20 @@ class RunStyleWritingShrinkRequest extends $dara.Model {
|
|
|
4102
4348
|
static names() {
|
|
4103
4349
|
return {
|
|
4104
4350
|
learningSamplesShrink: 'learningSamples',
|
|
4351
|
+
processStage: 'processStage',
|
|
4105
4352
|
referenceMaterialsShrink: 'referenceMaterials',
|
|
4106
4353
|
styleFeature: 'styleFeature',
|
|
4354
|
+
useSearch: 'useSearch',
|
|
4107
4355
|
writingTheme: 'writingTheme',
|
|
4108
4356
|
};
|
|
4109
4357
|
}
|
|
4110
4358
|
static types() {
|
|
4111
4359
|
return {
|
|
4112
4360
|
learningSamplesShrink: 'string',
|
|
4361
|
+
processStage: 'string',
|
|
4113
4362
|
referenceMaterialsShrink: 'string',
|
|
4114
4363
|
styleFeature: 'string',
|
|
4364
|
+
useSearch: 'boolean',
|
|
4115
4365
|
writingTheme: 'string',
|
|
4116
4366
|
};
|
|
4117
4367
|
}
|
|
@@ -4733,7 +4983,12 @@ class Client extends openapi_core_1.default {
|
|
|
4733
4983
|
reqBodyType: "formData",
|
|
4734
4984
|
bodyType: "json",
|
|
4735
4985
|
});
|
|
4736
|
-
|
|
4986
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
4987
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
4988
|
+
}
|
|
4989
|
+
else {
|
|
4990
|
+
return $dara.cast(await this.execute(params, req, runtime), new GenerateBroadcastNewsResponse({}));
|
|
4991
|
+
}
|
|
4737
4992
|
}
|
|
4738
4993
|
/**
|
|
4739
4994
|
* 新闻播报-抽取分类获取播报热点
|
|
@@ -4792,7 +5047,12 @@ class Client extends openapi_core_1.default {
|
|
|
4792
5047
|
reqBodyType: "formData",
|
|
4793
5048
|
bodyType: "json",
|
|
4794
5049
|
});
|
|
4795
|
-
|
|
5050
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5051
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5052
|
+
}
|
|
5053
|
+
else {
|
|
5054
|
+
return $dara.cast(await this.execute(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
5055
|
+
}
|
|
4796
5056
|
}
|
|
4797
5057
|
/**
|
|
4798
5058
|
* 轻应用-标签挖掘-获取示例输出格式
|
|
@@ -4827,7 +5087,12 @@ class Client extends openapi_core_1.default {
|
|
|
4827
5087
|
reqBodyType: "json",
|
|
4828
5088
|
bodyType: "json",
|
|
4829
5089
|
});
|
|
4830
|
-
|
|
5090
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5091
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5092
|
+
}
|
|
5093
|
+
else {
|
|
5094
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisConfigResponse({}));
|
|
5095
|
+
}
|
|
4831
5096
|
}
|
|
4832
5097
|
/**
|
|
4833
5098
|
* 视频理解-获取配置
|
|
@@ -4867,7 +5132,12 @@ class Client extends openapi_core_1.default {
|
|
|
4867
5132
|
reqBodyType: "json",
|
|
4868
5133
|
bodyType: "json",
|
|
4869
5134
|
});
|
|
4870
|
-
|
|
5135
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5136
|
+
return $dara.cast(await this.callApi(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5137
|
+
}
|
|
5138
|
+
else {
|
|
5139
|
+
return $dara.cast(await this.execute(params, req, runtime), new GetVideoAnalysisTaskResponse({}));
|
|
5140
|
+
}
|
|
4871
5141
|
}
|
|
4872
5142
|
/**
|
|
4873
5143
|
* 轻应用-获取视频理解异步任务结果
|
|
@@ -4921,7 +5191,12 @@ class Client extends openapi_core_1.default {
|
|
|
4921
5191
|
reqBodyType: "formData",
|
|
4922
5192
|
bodyType: "json",
|
|
4923
5193
|
});
|
|
4924
|
-
|
|
5194
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5195
|
+
return $dara.cast(await this.callApi(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5196
|
+
}
|
|
5197
|
+
else {
|
|
5198
|
+
return $dara.cast(await this.execute(params, req, runtime), new ListHotTopicSummariesResponse({}));
|
|
5199
|
+
}
|
|
4925
5200
|
}
|
|
4926
5201
|
/**
|
|
4927
5202
|
* 轻应用-新闻播报-获取热点话题摘要列表
|
|
@@ -5010,7 +5285,12 @@ class Client extends openapi_core_1.default {
|
|
|
5010
5285
|
reqBodyType: "formData",
|
|
5011
5286
|
bodyType: "json",
|
|
5012
5287
|
});
|
|
5013
|
-
|
|
5288
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5289
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5290
|
+
}
|
|
5291
|
+
else {
|
|
5292
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicChatResponse({}));
|
|
5293
|
+
}
|
|
5014
5294
|
}
|
|
5015
5295
|
/**
|
|
5016
5296
|
* 轻应用-热点播报-问答
|
|
@@ -5066,7 +5346,12 @@ class Client extends openapi_core_1.default {
|
|
|
5066
5346
|
reqBodyType: "formData",
|
|
5067
5347
|
bodyType: "json",
|
|
5068
5348
|
});
|
|
5069
|
-
|
|
5349
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5350
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
5351
|
+
}
|
|
5352
|
+
else {
|
|
5353
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunHotTopicSummaryResponse({}));
|
|
5354
|
+
}
|
|
5070
5355
|
}
|
|
5071
5356
|
/**
|
|
5072
5357
|
* 轻应用-热点播报-热点摘要生成
|
|
@@ -5122,7 +5407,12 @@ class Client extends openapi_core_1.default {
|
|
|
5122
5407
|
reqBodyType: "formData",
|
|
5123
5408
|
bodyType: "json",
|
|
5124
5409
|
});
|
|
5125
|
-
|
|
5410
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5411
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
5412
|
+
}
|
|
5413
|
+
else {
|
|
5414
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationExtractResponse({}));
|
|
5415
|
+
}
|
|
5126
5416
|
}
|
|
5127
5417
|
/**
|
|
5128
5418
|
* 营销信息抽取服务
|
|
@@ -5182,7 +5472,12 @@ class Client extends openapi_core_1.default {
|
|
|
5182
5472
|
reqBodyType: "formData",
|
|
5183
5473
|
bodyType: "json",
|
|
5184
5474
|
});
|
|
5185
|
-
|
|
5475
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5476
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
5477
|
+
}
|
|
5478
|
+
else {
|
|
5479
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunMarketingInformationWritingResponse({}));
|
|
5480
|
+
}
|
|
5186
5481
|
}
|
|
5187
5482
|
/**
|
|
5188
5483
|
* 营销文案写作服务
|
|
@@ -5195,6 +5490,76 @@ class Client extends openapi_core_1.default {
|
|
|
5195
5490
|
let headers = {};
|
|
5196
5491
|
return await this.runMarketingInformationWritingWithOptions(workspaceId, request, headers, runtime);
|
|
5197
5492
|
}
|
|
5493
|
+
/**
|
|
5494
|
+
* 轻应用-网络内容审核
|
|
5495
|
+
*
|
|
5496
|
+
* @param tmpReq - RunNetworkContentAuditRequest
|
|
5497
|
+
* @param headers - map
|
|
5498
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5499
|
+
* @returns RunNetworkContentAuditResponse
|
|
5500
|
+
*/
|
|
5501
|
+
async runNetworkContentAuditWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
5502
|
+
tmpReq.validate();
|
|
5503
|
+
let request = new RunNetworkContentAuditShrinkRequest({});
|
|
5504
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5505
|
+
if (!$dara.isNull(tmpReq.tags)) {
|
|
5506
|
+
request.tagsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
5507
|
+
}
|
|
5508
|
+
let body = {};
|
|
5509
|
+
if (!$dara.isNull(request.businessType)) {
|
|
5510
|
+
body["businessType"] = request.businessType;
|
|
5511
|
+
}
|
|
5512
|
+
if (!$dara.isNull(request.content)) {
|
|
5513
|
+
body["content"] = request.content;
|
|
5514
|
+
}
|
|
5515
|
+
if (!$dara.isNull(request.extraInfo)) {
|
|
5516
|
+
body["extraInfo"] = request.extraInfo;
|
|
5517
|
+
}
|
|
5518
|
+
if (!$dara.isNull(request.modelId)) {
|
|
5519
|
+
body["modelId"] = request.modelId;
|
|
5520
|
+
}
|
|
5521
|
+
if (!$dara.isNull(request.outputFormat)) {
|
|
5522
|
+
body["outputFormat"] = request.outputFormat;
|
|
5523
|
+
}
|
|
5524
|
+
if (!$dara.isNull(request.tagsShrink)) {
|
|
5525
|
+
body["tags"] = request.tagsShrink;
|
|
5526
|
+
}
|
|
5527
|
+
if (!$dara.isNull(request.taskDescription)) {
|
|
5528
|
+
body["taskDescription"] = request.taskDescription;
|
|
5529
|
+
}
|
|
5530
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5531
|
+
headers: headers,
|
|
5532
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5533
|
+
});
|
|
5534
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5535
|
+
action: "RunNetworkContentAudit",
|
|
5536
|
+
version: "2024-08-01",
|
|
5537
|
+
protocol: "HTTPS",
|
|
5538
|
+
pathname: `/${$dara.URL.percentEncode(workspaceId)}/quanmiao/lightapp/runNetworkContentAudit`,
|
|
5539
|
+
method: "POST",
|
|
5540
|
+
authType: "AK",
|
|
5541
|
+
style: "ROA",
|
|
5542
|
+
reqBodyType: "formData",
|
|
5543
|
+
bodyType: "json",
|
|
5544
|
+
});
|
|
5545
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5546
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
5547
|
+
}
|
|
5548
|
+
else {
|
|
5549
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunNetworkContentAuditResponse({}));
|
|
5550
|
+
}
|
|
5551
|
+
}
|
|
5552
|
+
/**
|
|
5553
|
+
* 轻应用-网络内容审核
|
|
5554
|
+
*
|
|
5555
|
+
* @param request - RunNetworkContentAuditRequest
|
|
5556
|
+
* @returns RunNetworkContentAuditResponse
|
|
5557
|
+
*/
|
|
5558
|
+
async runNetworkContentAudit(workspaceId, request) {
|
|
5559
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5560
|
+
let headers = {};
|
|
5561
|
+
return await this.runNetworkContentAuditWithOptions(workspaceId, request, headers, runtime);
|
|
5562
|
+
}
|
|
5198
5563
|
/**
|
|
5199
5564
|
* 长剧本创作
|
|
5200
5565
|
*
|
|
@@ -5227,7 +5592,12 @@ class Client extends openapi_core_1.default {
|
|
|
5227
5592
|
reqBodyType: "formData",
|
|
5228
5593
|
bodyType: "json",
|
|
5229
5594
|
});
|
|
5230
|
-
|
|
5595
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5596
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptChatResponse({}));
|
|
5597
|
+
}
|
|
5598
|
+
else {
|
|
5599
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptChatResponse({}));
|
|
5600
|
+
}
|
|
5231
5601
|
}
|
|
5232
5602
|
/**
|
|
5233
5603
|
* 长剧本创作
|
|
@@ -5275,7 +5645,12 @@ class Client extends openapi_core_1.default {
|
|
|
5275
5645
|
reqBodyType: "formData",
|
|
5276
5646
|
bodyType: "json",
|
|
5277
5647
|
});
|
|
5278
|
-
|
|
5648
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5649
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptContinueResponse({}));
|
|
5650
|
+
}
|
|
5651
|
+
else {
|
|
5652
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptContinueResponse({}));
|
|
5653
|
+
}
|
|
5279
5654
|
}
|
|
5280
5655
|
/**
|
|
5281
5656
|
* 剧本续写
|
|
@@ -5335,7 +5710,12 @@ class Client extends openapi_core_1.default {
|
|
|
5335
5710
|
reqBodyType: "formData",
|
|
5336
5711
|
bodyType: "json",
|
|
5337
5712
|
});
|
|
5338
|
-
|
|
5713
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5714
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
5715
|
+
}
|
|
5716
|
+
else {
|
|
5717
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptPlanningResponse({}));
|
|
5718
|
+
}
|
|
5339
5719
|
}
|
|
5340
5720
|
/**
|
|
5341
5721
|
* 剧本策划
|
|
@@ -5377,7 +5757,12 @@ class Client extends openapi_core_1.default {
|
|
|
5377
5757
|
reqBodyType: "formData",
|
|
5378
5758
|
bodyType: "json",
|
|
5379
5759
|
});
|
|
5380
|
-
|
|
5760
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5761
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunScriptRefineResponse({}));
|
|
5762
|
+
}
|
|
5763
|
+
else {
|
|
5764
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunScriptRefineResponse({}));
|
|
5765
|
+
}
|
|
5381
5766
|
}
|
|
5382
5767
|
/**
|
|
5383
5768
|
* 剧本对话内容的整理
|
|
@@ -5412,12 +5797,18 @@ class Client extends openapi_core_1.default {
|
|
|
5412
5797
|
if (!$dara.isNull(request.learningSamplesShrink)) {
|
|
5413
5798
|
body["learningSamples"] = request.learningSamplesShrink;
|
|
5414
5799
|
}
|
|
5800
|
+
if (!$dara.isNull(request.processStage)) {
|
|
5801
|
+
body["processStage"] = request.processStage;
|
|
5802
|
+
}
|
|
5415
5803
|
if (!$dara.isNull(request.referenceMaterialsShrink)) {
|
|
5416
5804
|
body["referenceMaterials"] = request.referenceMaterialsShrink;
|
|
5417
5805
|
}
|
|
5418
5806
|
if (!$dara.isNull(request.styleFeature)) {
|
|
5419
5807
|
body["styleFeature"] = request.styleFeature;
|
|
5420
5808
|
}
|
|
5809
|
+
if (!$dara.isNull(request.useSearch)) {
|
|
5810
|
+
body["useSearch"] = request.useSearch;
|
|
5811
|
+
}
|
|
5421
5812
|
if (!$dara.isNull(request.writingTheme)) {
|
|
5422
5813
|
body["writingTheme"] = request.writingTheme;
|
|
5423
5814
|
}
|
|
@@ -5436,7 +5827,12 @@ class Client extends openapi_core_1.default {
|
|
|
5436
5827
|
reqBodyType: "formData",
|
|
5437
5828
|
bodyType: "json",
|
|
5438
5829
|
});
|
|
5439
|
-
|
|
5830
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5831
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunStyleWritingResponse({}));
|
|
5832
|
+
}
|
|
5833
|
+
else {
|
|
5834
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunStyleWritingResponse({}));
|
|
5835
|
+
}
|
|
5440
5836
|
}
|
|
5441
5837
|
/**
|
|
5442
5838
|
* 文体学习和写作推理服务
|
|
@@ -5501,7 +5897,12 @@ class Client extends openapi_core_1.default {
|
|
|
5501
5897
|
reqBodyType: "formData",
|
|
5502
5898
|
bodyType: "json",
|
|
5503
5899
|
});
|
|
5504
|
-
|
|
5900
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5901
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
5902
|
+
}
|
|
5903
|
+
else {
|
|
5904
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
5905
|
+
}
|
|
5505
5906
|
}
|
|
5506
5907
|
/**
|
|
5507
5908
|
* 轻应用-标签挖掘
|
|
@@ -5593,7 +5994,12 @@ class Client extends openapi_core_1.default {
|
|
|
5593
5994
|
reqBodyType: "formData",
|
|
5594
5995
|
bodyType: "json",
|
|
5595
5996
|
});
|
|
5596
|
-
|
|
5997
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
5998
|
+
return $dara.cast(await this.callApi(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
5999
|
+
}
|
|
6000
|
+
else {
|
|
6001
|
+
return $dara.cast(await this.execute(params, req, runtime), new RunVideoAnalysisResponse({}));
|
|
6002
|
+
}
|
|
5597
6003
|
}
|
|
5598
6004
|
/**
|
|
5599
6005
|
* 轻应用-视频理解
|
|
@@ -5679,7 +6085,12 @@ class Client extends openapi_core_1.default {
|
|
|
5679
6085
|
reqBodyType: "formData",
|
|
5680
6086
|
bodyType: "json",
|
|
5681
6087
|
});
|
|
5682
|
-
|
|
6088
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6089
|
+
return $dara.cast(await this.callApi(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6090
|
+
}
|
|
6091
|
+
else {
|
|
6092
|
+
return $dara.cast(await this.execute(params, req, runtime), new SubmitVideoAnalysisTaskResponse({}));
|
|
6093
|
+
}
|
|
5683
6094
|
}
|
|
5684
6095
|
/**
|
|
5685
6096
|
* 轻应用-提交视频理解任务
|
|
@@ -5721,7 +6132,12 @@ class Client extends openapi_core_1.default {
|
|
|
5721
6132
|
reqBodyType: "formData",
|
|
5722
6133
|
bodyType: "json",
|
|
5723
6134
|
});
|
|
5724
|
-
|
|
6135
|
+
if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
|
|
6136
|
+
return $dara.cast(await this.callApi(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6137
|
+
}
|
|
6138
|
+
else {
|
|
6139
|
+
return $dara.cast(await this.execute(params, req, runtime), new UpdateVideoAnalysisConfigResponse({}));
|
|
6140
|
+
}
|
|
5725
6141
|
}
|
|
5726
6142
|
/**
|
|
5727
6143
|
* 视频理解-更新配置
|