@alicloud/quanmiaolightapp20240801 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +437 -0
- package/dist/client.js +449 -2
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +736 -10
package/dist/client.js
CHANGED
|
@@ -36,8 +36,9 @@ 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.
|
|
39
|
+
exports.ListHotTopicSummariesResponseBodyDataNewsComments = exports.GenerateOutputFormatResponseBodyData = exports.GenerateOutputFormatRequestTags = exports.GenerateBroadcastNewsResponseBodyData = exports.GenerateBroadcastNewsResponseBodyDataUsage = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummaries = exports.GenerateBroadcastNewsResponseBodyDataHotTopicSummariesImages = 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.RunScriptPlanningResponse = exports.RunScriptPlanningResponseBody = exports.RunScriptPlanningRequest = exports.RunScriptContinueResponse = exports.RunScriptContinueResponseBody = exports.RunScriptContinueRequest = 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.GenerateOutputFormatResponse = exports.GenerateOutputFormatResponseBody = exports.GenerateOutputFormatShrinkRequest = exports.GenerateOutputFormatRequest = exports.GenerateBroadcastNewsResponse = exports.GenerateBroadcastNewsResponseBody = exports.GenerateBroadcastNewsRequest = void 0;
|
|
40
|
+
exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultVideoShotAnalysisResults = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoAnalysisResultUsage = exports.RunVideoAnalysisResponseBodyHeader = exports.RunTagMiningAnalysisResponseBodyPayload = exports.RunTagMiningAnalysisResponseBodyPayloadUsage = exports.RunTagMiningAnalysisResponseBodyPayloadOutput = exports.RunTagMiningAnalysisResponseBodyHeader = exports.RunTagMiningAnalysisRequestTags = exports.RunStyleWritingResponseBodyPayload = exports.RunStyleWritingResponseBodyPayloadUsage = exports.RunStyleWritingResponseBodyPayloadOutput = exports.RunStyleWritingResponseBodyHeader = exports.RunScriptPlanningResponseBodyPayload = exports.RunScriptPlanningResponseBodyPayloadUsage = exports.RunScriptPlanningResponseBodyPayloadOutput = exports.RunScriptPlanningResponseBodyHeader = exports.RunScriptContinueResponseBodyPayload = exports.RunScriptContinueResponseBodyPayloadUsage = exports.RunScriptContinueResponseBodyPayloadOutput = exports.RunScriptContinueResponseBodyHeader = 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.ListHotTopicSummariesResponseBodyData = exports.ListHotTopicSummariesResponseBodyDataSummary = exports.ListHotTopicSummariesResponseBodyDataSummarySummaries = exports.ListHotTopicSummariesResponseBodyDataNews = void 0;
|
|
41
|
+
exports.RunVideoAnalysisResponseBodyPayload = exports.RunVideoAnalysisResponseBodyPayloadUsage = exports.RunVideoAnalysisResponseBodyPayloadOutput = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoTitleGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappings = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultVideoMindMappingsChildNodesChildNodes = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoMindMappingGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoGenerateResultUsage = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResult = exports.RunVideoAnalysisResponseBodyPayloadOutputVideoCaptionResultVideoCaptions = void 0;
|
|
41
42
|
// This file is auto-generated, don't edit it
|
|
42
43
|
/**
|
|
43
44
|
*/
|
|
@@ -108,6 +109,100 @@ class GenerateBroadcastNewsResponse extends $tea.Model {
|
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
exports.GenerateBroadcastNewsResponse = GenerateBroadcastNewsResponse;
|
|
112
|
+
class GenerateOutputFormatRequest extends $tea.Model {
|
|
113
|
+
static names() {
|
|
114
|
+
return {
|
|
115
|
+
businessType: 'businessType',
|
|
116
|
+
content: 'content',
|
|
117
|
+
extraInfo: 'extraInfo',
|
|
118
|
+
tags: 'tags',
|
|
119
|
+
taskDescription: 'taskDescription',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
static types() {
|
|
123
|
+
return {
|
|
124
|
+
businessType: 'string',
|
|
125
|
+
content: 'string',
|
|
126
|
+
extraInfo: 'string',
|
|
127
|
+
tags: { 'type': 'array', 'itemType': GenerateOutputFormatRequestTags },
|
|
128
|
+
taskDescription: 'string',
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
constructor(map) {
|
|
132
|
+
super(map);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
exports.GenerateOutputFormatRequest = GenerateOutputFormatRequest;
|
|
136
|
+
class GenerateOutputFormatShrinkRequest extends $tea.Model {
|
|
137
|
+
static names() {
|
|
138
|
+
return {
|
|
139
|
+
businessType: 'businessType',
|
|
140
|
+
content: 'content',
|
|
141
|
+
extraInfo: 'extraInfo',
|
|
142
|
+
tagsShrink: 'tags',
|
|
143
|
+
taskDescription: 'taskDescription',
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
static types() {
|
|
147
|
+
return {
|
|
148
|
+
businessType: 'string',
|
|
149
|
+
content: 'string',
|
|
150
|
+
extraInfo: 'string',
|
|
151
|
+
tagsShrink: 'string',
|
|
152
|
+
taskDescription: 'string',
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
constructor(map) {
|
|
156
|
+
super(map);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
exports.GenerateOutputFormatShrinkRequest = GenerateOutputFormatShrinkRequest;
|
|
160
|
+
class GenerateOutputFormatResponseBody extends $tea.Model {
|
|
161
|
+
static names() {
|
|
162
|
+
return {
|
|
163
|
+
code: 'code',
|
|
164
|
+
data: 'data',
|
|
165
|
+
httpStatusCode: 'httpStatusCode',
|
|
166
|
+
message: 'message',
|
|
167
|
+
requestId: 'requestId',
|
|
168
|
+
success: 'success',
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
static types() {
|
|
172
|
+
return {
|
|
173
|
+
code: 'string',
|
|
174
|
+
data: GenerateOutputFormatResponseBodyData,
|
|
175
|
+
httpStatusCode: 'number',
|
|
176
|
+
message: 'string',
|
|
177
|
+
requestId: 'string',
|
|
178
|
+
success: 'boolean',
|
|
179
|
+
};
|
|
180
|
+
}
|
|
181
|
+
constructor(map) {
|
|
182
|
+
super(map);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
exports.GenerateOutputFormatResponseBody = GenerateOutputFormatResponseBody;
|
|
186
|
+
class GenerateOutputFormatResponse extends $tea.Model {
|
|
187
|
+
static names() {
|
|
188
|
+
return {
|
|
189
|
+
headers: 'headers',
|
|
190
|
+
statusCode: 'statusCode',
|
|
191
|
+
body: 'body',
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
static types() {
|
|
195
|
+
return {
|
|
196
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
197
|
+
statusCode: 'number',
|
|
198
|
+
body: GenerateOutputFormatResponseBody,
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
constructor(map) {
|
|
202
|
+
super(map);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
exports.GenerateOutputFormatResponse = GenerateOutputFormatResponse;
|
|
111
206
|
class ListHotTopicSummariesRequest extends $tea.Model {
|
|
112
207
|
static names() {
|
|
113
208
|
return {
|
|
@@ -744,6 +839,102 @@ class RunStyleWritingResponse extends $tea.Model {
|
|
|
744
839
|
}
|
|
745
840
|
}
|
|
746
841
|
exports.RunStyleWritingResponse = RunStyleWritingResponse;
|
|
842
|
+
class RunTagMiningAnalysisRequest extends $tea.Model {
|
|
843
|
+
static names() {
|
|
844
|
+
return {
|
|
845
|
+
businessType: 'businessType',
|
|
846
|
+
content: 'content',
|
|
847
|
+
extraInfo: 'extraInfo',
|
|
848
|
+
modelId: 'modelId',
|
|
849
|
+
outputFormat: 'outputFormat',
|
|
850
|
+
tags: 'tags',
|
|
851
|
+
taskDescription: 'taskDescription',
|
|
852
|
+
};
|
|
853
|
+
}
|
|
854
|
+
static types() {
|
|
855
|
+
return {
|
|
856
|
+
businessType: 'string',
|
|
857
|
+
content: 'string',
|
|
858
|
+
extraInfo: 'string',
|
|
859
|
+
modelId: 'string',
|
|
860
|
+
outputFormat: 'string',
|
|
861
|
+
tags: { 'type': 'array', 'itemType': RunTagMiningAnalysisRequestTags },
|
|
862
|
+
taskDescription: 'string',
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
constructor(map) {
|
|
866
|
+
super(map);
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
exports.RunTagMiningAnalysisRequest = RunTagMiningAnalysisRequest;
|
|
870
|
+
class RunTagMiningAnalysisShrinkRequest extends $tea.Model {
|
|
871
|
+
static names() {
|
|
872
|
+
return {
|
|
873
|
+
businessType: 'businessType',
|
|
874
|
+
content: 'content',
|
|
875
|
+
extraInfo: 'extraInfo',
|
|
876
|
+
modelId: 'modelId',
|
|
877
|
+
outputFormat: 'outputFormat',
|
|
878
|
+
tagsShrink: 'tags',
|
|
879
|
+
taskDescription: 'taskDescription',
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
static types() {
|
|
883
|
+
return {
|
|
884
|
+
businessType: 'string',
|
|
885
|
+
content: 'string',
|
|
886
|
+
extraInfo: 'string',
|
|
887
|
+
modelId: 'string',
|
|
888
|
+
outputFormat: 'string',
|
|
889
|
+
tagsShrink: 'string',
|
|
890
|
+
taskDescription: 'string',
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
constructor(map) {
|
|
894
|
+
super(map);
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
exports.RunTagMiningAnalysisShrinkRequest = RunTagMiningAnalysisShrinkRequest;
|
|
898
|
+
class RunTagMiningAnalysisResponseBody extends $tea.Model {
|
|
899
|
+
static names() {
|
|
900
|
+
return {
|
|
901
|
+
header: 'header',
|
|
902
|
+
payload: 'payload',
|
|
903
|
+
requestId: 'requestId',
|
|
904
|
+
};
|
|
905
|
+
}
|
|
906
|
+
static types() {
|
|
907
|
+
return {
|
|
908
|
+
header: RunTagMiningAnalysisResponseBodyHeader,
|
|
909
|
+
payload: RunTagMiningAnalysisResponseBodyPayload,
|
|
910
|
+
requestId: 'string',
|
|
911
|
+
};
|
|
912
|
+
}
|
|
913
|
+
constructor(map) {
|
|
914
|
+
super(map);
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
exports.RunTagMiningAnalysisResponseBody = RunTagMiningAnalysisResponseBody;
|
|
918
|
+
class RunTagMiningAnalysisResponse extends $tea.Model {
|
|
919
|
+
static names() {
|
|
920
|
+
return {
|
|
921
|
+
headers: 'headers',
|
|
922
|
+
statusCode: 'statusCode',
|
|
923
|
+
body: 'body',
|
|
924
|
+
};
|
|
925
|
+
}
|
|
926
|
+
static types() {
|
|
927
|
+
return {
|
|
928
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
929
|
+
statusCode: 'number',
|
|
930
|
+
body: RunTagMiningAnalysisResponseBody,
|
|
931
|
+
};
|
|
932
|
+
}
|
|
933
|
+
constructor(map) {
|
|
934
|
+
super(map);
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
exports.RunTagMiningAnalysisResponse = RunTagMiningAnalysisResponse;
|
|
747
938
|
class RunVideoAnalysisRequest extends $tea.Model {
|
|
748
939
|
static names() {
|
|
749
940
|
return {
|
|
@@ -944,6 +1135,40 @@ class GenerateBroadcastNewsResponseBodyData extends $tea.Model {
|
|
|
944
1135
|
}
|
|
945
1136
|
}
|
|
946
1137
|
exports.GenerateBroadcastNewsResponseBodyData = GenerateBroadcastNewsResponseBodyData;
|
|
1138
|
+
class GenerateOutputFormatRequestTags extends $tea.Model {
|
|
1139
|
+
static names() {
|
|
1140
|
+
return {
|
|
1141
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
1142
|
+
tagName: 'tagName',
|
|
1143
|
+
};
|
|
1144
|
+
}
|
|
1145
|
+
static types() {
|
|
1146
|
+
return {
|
|
1147
|
+
tagDefinePrompt: 'string',
|
|
1148
|
+
tagName: 'string',
|
|
1149
|
+
};
|
|
1150
|
+
}
|
|
1151
|
+
constructor(map) {
|
|
1152
|
+
super(map);
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
exports.GenerateOutputFormatRequestTags = GenerateOutputFormatRequestTags;
|
|
1156
|
+
class GenerateOutputFormatResponseBodyData extends $tea.Model {
|
|
1157
|
+
static names() {
|
|
1158
|
+
return {
|
|
1159
|
+
outputFormat: 'outputFormat',
|
|
1160
|
+
};
|
|
1161
|
+
}
|
|
1162
|
+
static types() {
|
|
1163
|
+
return {
|
|
1164
|
+
outputFormat: 'string',
|
|
1165
|
+
};
|
|
1166
|
+
}
|
|
1167
|
+
constructor(map) {
|
|
1168
|
+
super(map);
|
|
1169
|
+
}
|
|
1170
|
+
}
|
|
1171
|
+
exports.GenerateOutputFormatResponseBodyData = GenerateOutputFormatResponseBodyData;
|
|
947
1172
|
class ListHotTopicSummariesResponseBodyDataNewsComments extends $tea.Model {
|
|
948
1173
|
static names() {
|
|
949
1174
|
return {
|
|
@@ -1826,6 +2051,104 @@ class RunStyleWritingResponseBodyPayload extends $tea.Model {
|
|
|
1826
2051
|
}
|
|
1827
2052
|
}
|
|
1828
2053
|
exports.RunStyleWritingResponseBodyPayload = RunStyleWritingResponseBodyPayload;
|
|
2054
|
+
class RunTagMiningAnalysisRequestTags extends $tea.Model {
|
|
2055
|
+
static names() {
|
|
2056
|
+
return {
|
|
2057
|
+
tagDefinePrompt: 'tagDefinePrompt',
|
|
2058
|
+
tagName: 'tagName',
|
|
2059
|
+
};
|
|
2060
|
+
}
|
|
2061
|
+
static types() {
|
|
2062
|
+
return {
|
|
2063
|
+
tagDefinePrompt: 'string',
|
|
2064
|
+
tagName: 'string',
|
|
2065
|
+
};
|
|
2066
|
+
}
|
|
2067
|
+
constructor(map) {
|
|
2068
|
+
super(map);
|
|
2069
|
+
}
|
|
2070
|
+
}
|
|
2071
|
+
exports.RunTagMiningAnalysisRequestTags = RunTagMiningAnalysisRequestTags;
|
|
2072
|
+
class RunTagMiningAnalysisResponseBodyHeader extends $tea.Model {
|
|
2073
|
+
static names() {
|
|
2074
|
+
return {
|
|
2075
|
+
errorCode: 'errorCode',
|
|
2076
|
+
errorMessage: 'errorMessage',
|
|
2077
|
+
event: 'event',
|
|
2078
|
+
sessionId: 'sessionId',
|
|
2079
|
+
taskId: 'taskId',
|
|
2080
|
+
traceId: 'traceId',
|
|
2081
|
+
};
|
|
2082
|
+
}
|
|
2083
|
+
static types() {
|
|
2084
|
+
return {
|
|
2085
|
+
errorCode: 'string',
|
|
2086
|
+
errorMessage: 'string',
|
|
2087
|
+
event: 'string',
|
|
2088
|
+
sessionId: 'string',
|
|
2089
|
+
taskId: 'string',
|
|
2090
|
+
traceId: 'string',
|
|
2091
|
+
};
|
|
2092
|
+
}
|
|
2093
|
+
constructor(map) {
|
|
2094
|
+
super(map);
|
|
2095
|
+
}
|
|
2096
|
+
}
|
|
2097
|
+
exports.RunTagMiningAnalysisResponseBodyHeader = RunTagMiningAnalysisResponseBodyHeader;
|
|
2098
|
+
class RunTagMiningAnalysisResponseBodyPayloadOutput extends $tea.Model {
|
|
2099
|
+
static names() {
|
|
2100
|
+
return {
|
|
2101
|
+
text: 'text',
|
|
2102
|
+
};
|
|
2103
|
+
}
|
|
2104
|
+
static types() {
|
|
2105
|
+
return {
|
|
2106
|
+
text: 'string',
|
|
2107
|
+
};
|
|
2108
|
+
}
|
|
2109
|
+
constructor(map) {
|
|
2110
|
+
super(map);
|
|
2111
|
+
}
|
|
2112
|
+
}
|
|
2113
|
+
exports.RunTagMiningAnalysisResponseBodyPayloadOutput = RunTagMiningAnalysisResponseBodyPayloadOutput;
|
|
2114
|
+
class RunTagMiningAnalysisResponseBodyPayloadUsage extends $tea.Model {
|
|
2115
|
+
static names() {
|
|
2116
|
+
return {
|
|
2117
|
+
inputTokens: 'inputTokens',
|
|
2118
|
+
outputTokens: 'outputTokens',
|
|
2119
|
+
totalTokens: 'totalTokens',
|
|
2120
|
+
};
|
|
2121
|
+
}
|
|
2122
|
+
static types() {
|
|
2123
|
+
return {
|
|
2124
|
+
inputTokens: 'number',
|
|
2125
|
+
outputTokens: 'number',
|
|
2126
|
+
totalTokens: 'number',
|
|
2127
|
+
};
|
|
2128
|
+
}
|
|
2129
|
+
constructor(map) {
|
|
2130
|
+
super(map);
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
exports.RunTagMiningAnalysisResponseBodyPayloadUsage = RunTagMiningAnalysisResponseBodyPayloadUsage;
|
|
2134
|
+
class RunTagMiningAnalysisResponseBodyPayload extends $tea.Model {
|
|
2135
|
+
static names() {
|
|
2136
|
+
return {
|
|
2137
|
+
output: 'output',
|
|
2138
|
+
usage: 'usage',
|
|
2139
|
+
};
|
|
2140
|
+
}
|
|
2141
|
+
static types() {
|
|
2142
|
+
return {
|
|
2143
|
+
output: RunTagMiningAnalysisResponseBodyPayloadOutput,
|
|
2144
|
+
usage: RunTagMiningAnalysisResponseBodyPayloadUsage,
|
|
2145
|
+
};
|
|
2146
|
+
}
|
|
2147
|
+
constructor(map) {
|
|
2148
|
+
super(map);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
exports.RunTagMiningAnalysisResponseBodyPayload = RunTagMiningAnalysisResponseBodyPayload;
|
|
1829
2152
|
class RunVideoAnalysisResponseBodyHeader extends $tea.Model {
|
|
1830
2153
|
static names() {
|
|
1831
2154
|
return {
|
|
@@ -2252,6 +2575,65 @@ class Client extends openapi_client_1.default {
|
|
|
2252
2575
|
let headers = {};
|
|
2253
2576
|
return await this.generateBroadcastNewsWithOptions(workspaceId, request, headers, runtime);
|
|
2254
2577
|
}
|
|
2578
|
+
/**
|
|
2579
|
+
* 轻应用-标签挖掘-获取示例输出格式
|
|
2580
|
+
*
|
|
2581
|
+
* @param tmpReq - GenerateOutputFormatRequest
|
|
2582
|
+
* @param headers - map
|
|
2583
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2584
|
+
* @returns GenerateOutputFormatResponse
|
|
2585
|
+
*/
|
|
2586
|
+
async generateOutputFormatWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
2587
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
2588
|
+
let request = new GenerateOutputFormatShrinkRequest({});
|
|
2589
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
2590
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
2591
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
2592
|
+
}
|
|
2593
|
+
let body = {};
|
|
2594
|
+
if (!tea_util_1.default.isUnset(request.businessType)) {
|
|
2595
|
+
body["businessType"] = request.businessType;
|
|
2596
|
+
}
|
|
2597
|
+
if (!tea_util_1.default.isUnset(request.content)) {
|
|
2598
|
+
body["content"] = request.content;
|
|
2599
|
+
}
|
|
2600
|
+
if (!tea_util_1.default.isUnset(request.extraInfo)) {
|
|
2601
|
+
body["extraInfo"] = request.extraInfo;
|
|
2602
|
+
}
|
|
2603
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
2604
|
+
body["tags"] = request.tagsShrink;
|
|
2605
|
+
}
|
|
2606
|
+
if (!tea_util_1.default.isUnset(request.taskDescription)) {
|
|
2607
|
+
body["taskDescription"] = request.taskDescription;
|
|
2608
|
+
}
|
|
2609
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
2610
|
+
headers: headers,
|
|
2611
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
2612
|
+
});
|
|
2613
|
+
let params = new $OpenApi.Params({
|
|
2614
|
+
action: "GenerateOutputFormat",
|
|
2615
|
+
version: "2024-08-01",
|
|
2616
|
+
protocol: "HTTPS",
|
|
2617
|
+
pathname: `/${openapi_util_1.default.getEncodeParam(workspaceId)}/quanmiao/lightapp/generateOutputFormat`,
|
|
2618
|
+
method: "POST",
|
|
2619
|
+
authType: "AK",
|
|
2620
|
+
style: "ROA",
|
|
2621
|
+
reqBodyType: "formData",
|
|
2622
|
+
bodyType: "json",
|
|
2623
|
+
});
|
|
2624
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GenerateOutputFormatResponse({}));
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* 轻应用-标签挖掘-获取示例输出格式
|
|
2628
|
+
*
|
|
2629
|
+
* @param request - GenerateOutputFormatRequest
|
|
2630
|
+
* @returns GenerateOutputFormatResponse
|
|
2631
|
+
*/
|
|
2632
|
+
async generateOutputFormat(workspaceId, request) {
|
|
2633
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
2634
|
+
let headers = {};
|
|
2635
|
+
return await this.generateOutputFormatWithOptions(workspaceId, request, headers, runtime);
|
|
2636
|
+
}
|
|
2255
2637
|
/**
|
|
2256
2638
|
* 轻应用-新闻播报-获取热点话题摘要列表
|
|
2257
2639
|
*
|
|
@@ -2734,6 +3116,71 @@ class Client extends openapi_client_1.default {
|
|
|
2734
3116
|
let headers = {};
|
|
2735
3117
|
return await this.runStyleWritingWithOptions(workspaceId, request, headers, runtime);
|
|
2736
3118
|
}
|
|
3119
|
+
/**
|
|
3120
|
+
* 轻应用-标签挖掘
|
|
3121
|
+
*
|
|
3122
|
+
* @param tmpReq - RunTagMiningAnalysisRequest
|
|
3123
|
+
* @param headers - map
|
|
3124
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3125
|
+
* @returns RunTagMiningAnalysisResponse
|
|
3126
|
+
*/
|
|
3127
|
+
async runTagMiningAnalysisWithOptions(workspaceId, tmpReq, headers, runtime) {
|
|
3128
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
3129
|
+
let request = new RunTagMiningAnalysisShrinkRequest({});
|
|
3130
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
3131
|
+
if (!tea_util_1.default.isUnset(tmpReq.tags)) {
|
|
3132
|
+
request.tagsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.tags, "tags", "json");
|
|
3133
|
+
}
|
|
3134
|
+
let body = {};
|
|
3135
|
+
if (!tea_util_1.default.isUnset(request.businessType)) {
|
|
3136
|
+
body["businessType"] = request.businessType;
|
|
3137
|
+
}
|
|
3138
|
+
if (!tea_util_1.default.isUnset(request.content)) {
|
|
3139
|
+
body["content"] = request.content;
|
|
3140
|
+
}
|
|
3141
|
+
if (!tea_util_1.default.isUnset(request.extraInfo)) {
|
|
3142
|
+
body["extraInfo"] = request.extraInfo;
|
|
3143
|
+
}
|
|
3144
|
+
if (!tea_util_1.default.isUnset(request.modelId)) {
|
|
3145
|
+
body["modelId"] = request.modelId;
|
|
3146
|
+
}
|
|
3147
|
+
if (!tea_util_1.default.isUnset(request.outputFormat)) {
|
|
3148
|
+
body["outputFormat"] = request.outputFormat;
|
|
3149
|
+
}
|
|
3150
|
+
if (!tea_util_1.default.isUnset(request.tagsShrink)) {
|
|
3151
|
+
body["tags"] = request.tagsShrink;
|
|
3152
|
+
}
|
|
3153
|
+
if (!tea_util_1.default.isUnset(request.taskDescription)) {
|
|
3154
|
+
body["taskDescription"] = request.taskDescription;
|
|
3155
|
+
}
|
|
3156
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
3157
|
+
headers: headers,
|
|
3158
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
3159
|
+
});
|
|
3160
|
+
let params = new $OpenApi.Params({
|
|
3161
|
+
action: "RunTagMiningAnalysis",
|
|
3162
|
+
version: "2024-08-01",
|
|
3163
|
+
protocol: "HTTPS",
|
|
3164
|
+
pathname: `/${openapi_util_1.default.getEncodeParam(workspaceId)}/quanmiao/lightapp/runTagMiningAnalysis`,
|
|
3165
|
+
method: "POST",
|
|
3166
|
+
authType: "AK",
|
|
3167
|
+
style: "ROA",
|
|
3168
|
+
reqBodyType: "formData",
|
|
3169
|
+
bodyType: "json",
|
|
3170
|
+
});
|
|
3171
|
+
return $tea.cast(await this.callApi(params, req, runtime), new RunTagMiningAnalysisResponse({}));
|
|
3172
|
+
}
|
|
3173
|
+
/**
|
|
3174
|
+
* 轻应用-标签挖掘
|
|
3175
|
+
*
|
|
3176
|
+
* @param request - RunTagMiningAnalysisRequest
|
|
3177
|
+
* @returns RunTagMiningAnalysisResponse
|
|
3178
|
+
*/
|
|
3179
|
+
async runTagMiningAnalysis(workspaceId, request) {
|
|
3180
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
3181
|
+
let headers = {};
|
|
3182
|
+
return await this.runTagMiningAnalysisWithOptions(workspaceId, request, headers, runtime);
|
|
3183
|
+
}
|
|
2737
3184
|
/**
|
|
2738
3185
|
* 轻应用-视频理解
|
|
2739
3186
|
*
|