@alicloud/quanmiaolightapp20240801 2.11.1 → 2.12.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 +116 -0
- package/dist/client.js +444 -0
- package/dist/client.js.map +1 -1
- package/dist/models/GetVideoDetectShotConfigResponse.d.ts +19 -0
- package/dist/models/GetVideoDetectShotConfigResponse.js +69 -0
- package/dist/models/GetVideoDetectShotConfigResponse.js.map +1 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.d.ts +62 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.js +90 -0
- package/dist/models/GetVideoDetectShotConfigResponseBody.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskRequest.d.ts +21 -0
- package/dist/models/GetVideoDetectShotTaskRequest.js +58 -0
- package/dist/models/GetVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/GetVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/GetVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.d.ts +258 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.js +291 -0
- package/dist/models/GetVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/RunVideoDetectShotRequest.d.ts +86 -0
- package/dist/models/RunVideoDetectShotRequest.js +90 -0
- package/dist/models/RunVideoDetectShotRequest.js.map +1 -0
- package/dist/models/RunVideoDetectShotResponse.d.ts +19 -0
- package/dist/models/RunVideoDetectShotResponse.js +69 -0
- package/dist/models/RunVideoDetectShotResponse.js.map +1 -0
- package/dist/models/RunVideoDetectShotResponseBody.d.ts +183 -0
- package/dist/models/RunVideoDetectShotResponseBody.js +229 -0
- package/dist/models/RunVideoDetectShotResponseBody.js.map +1 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.d.ts +86 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.js +84 -0
- package/dist/models/RunVideoDetectShotShrinkRequest.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskRequest.d.ts +83 -0
- package/dist/models/SubmitVideoDetectShotTaskRequest.js +92 -0
- package/dist/models/SubmitVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/SubmitVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.d.ts +59 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.js +90 -0
- package/dist/models/SubmitVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.d.ts +83 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.js +86 -0
- package/dist/models/SubmitVideoDetectShotTaskShrinkRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.d.ts +21 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.js +58 -0
- package/dist/models/UpdateVideoDetectShotConfigRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.d.ts +19 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.js +69 -0
- package/dist/models/UpdateVideoDetectShotConfigResponse.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.d.ts +41 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.js +66 -0
- package/dist/models/UpdateVideoDetectShotConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.d.ts +29 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.js +60 -0
- package/dist/models/UpdateVideoDetectShotTaskRequest.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.d.ts +19 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.js +69 -0
- package/dist/models/UpdateVideoDetectShotTaskResponse.js.map +1 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.d.ts +69 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.js +94 -0
- package/dist/models/UpdateVideoDetectShotTaskResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +36 -0
- package/dist/models/model.js +79 -6
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +500 -0
- package/src/models/GetVideoDetectShotConfigResponse.ts +40 -0
- package/src/models/GetVideoDetectShotConfigResponseBody.ts +98 -0
- package/src/models/GetVideoDetectShotTaskRequest.ts +34 -0
- package/src/models/GetVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/GetVideoDetectShotTaskResponseBody.ts +430 -0
- package/src/models/RunVideoDetectShotRequest.ts +131 -0
- package/src/models/RunVideoDetectShotResponse.ts +40 -0
- package/src/models/RunVideoDetectShotResponseBody.ts +311 -0
- package/src/models/RunVideoDetectShotShrinkRequest.ts +125 -0
- package/src/models/SubmitVideoDetectShotTaskRequest.ts +130 -0
- package/src/models/SubmitVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/SubmitVideoDetectShotTaskResponseBody.ts +95 -0
- package/src/models/SubmitVideoDetectShotTaskShrinkRequest.ts +124 -0
- package/src/models/UpdateVideoDetectShotConfigRequest.ts +34 -0
- package/src/models/UpdateVideoDetectShotConfigResponse.ts +40 -0
- package/src/models/UpdateVideoDetectShotConfigResponseBody.ts +62 -0
- package/src/models/UpdateVideoDetectShotTaskRequest.ts +44 -0
- package/src/models/UpdateVideoDetectShotTaskResponse.ts +40 -0
- package/src/models/UpdateVideoDetectShotTaskResponseBody.ts +109 -0
- package/src/models/model.ts +36 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetVideoDetectShotTaskResponseBody } from "./GetVideoDetectShotTaskResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetVideoDetectShotTaskResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetVideoDetectShotTaskResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: GetVideoDetectShotTaskResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetVideoDetectShotTaskResponseBodyDataHeader extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* success
|
|
9
|
+
*/
|
|
10
|
+
errorCode?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* Deduct task already success,Please do not resubmit.token \\"369e8f2c-d283-424a-96c4-c83efe08c89e\\"
|
|
14
|
+
*/
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* TIMEOUT_CLOSE_ORDER
|
|
19
|
+
*/
|
|
20
|
+
event?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* xxx
|
|
24
|
+
*/
|
|
25
|
+
eventInfo?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* d5c38cf6-a4bf-4a57-a697-9f449926f0c9
|
|
29
|
+
*/
|
|
30
|
+
sessionId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 6e223291-729b-4e84-9271-c13ada1a776b
|
|
34
|
+
*/
|
|
35
|
+
taskId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 215045f817272303448235204efdef
|
|
39
|
+
*/
|
|
40
|
+
traceId?: string;
|
|
41
|
+
static names(): { [key: string]: string } {
|
|
42
|
+
return {
|
|
43
|
+
errorCode: 'errorCode',
|
|
44
|
+
errorMessage: 'errorMessage',
|
|
45
|
+
event: 'event',
|
|
46
|
+
eventInfo: 'eventInfo',
|
|
47
|
+
sessionId: 'sessionId',
|
|
48
|
+
taskId: 'taskId',
|
|
49
|
+
traceId: 'traceId',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
errorCode: 'string',
|
|
56
|
+
errorMessage: 'string',
|
|
57
|
+
event: 'string',
|
|
58
|
+
eventInfo: 'string',
|
|
59
|
+
sessionId: 'string',
|
|
60
|
+
taskId: 'string',
|
|
61
|
+
traceId: 'string',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
validate() {
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export class GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResultVideoRecognitionResult extends $dara.Model {
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* xxx
|
|
78
|
+
*/
|
|
79
|
+
asr?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* 1748483740000
|
|
83
|
+
*/
|
|
84
|
+
endTime?: number;
|
|
85
|
+
/**
|
|
86
|
+
* @example
|
|
87
|
+
* xxx
|
|
88
|
+
*/
|
|
89
|
+
ocr?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @example
|
|
92
|
+
* 1758108425000
|
|
93
|
+
*/
|
|
94
|
+
startTime?: number;
|
|
95
|
+
/**
|
|
96
|
+
* @example
|
|
97
|
+
* xxx
|
|
98
|
+
*/
|
|
99
|
+
vl?: string;
|
|
100
|
+
static names(): { [key: string]: string } {
|
|
101
|
+
return {
|
|
102
|
+
asr: 'asr',
|
|
103
|
+
endTime: 'endTime',
|
|
104
|
+
ocr: 'ocr',
|
|
105
|
+
startTime: 'startTime',
|
|
106
|
+
vl: 'vl',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static types(): { [key: string]: any } {
|
|
111
|
+
return {
|
|
112
|
+
asr: 'string',
|
|
113
|
+
endTime: 'number',
|
|
114
|
+
ocr: 'string',
|
|
115
|
+
startTime: 'number',
|
|
116
|
+
vl: 'string',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
validate() {
|
|
121
|
+
super.validate();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
constructor(map?: { [key: string]: any }) {
|
|
125
|
+
super(map);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export class GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResult extends $dara.Model {
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* xxx
|
|
133
|
+
*/
|
|
134
|
+
reasonText?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* xxx
|
|
138
|
+
*/
|
|
139
|
+
text?: string;
|
|
140
|
+
videoParts?: { [key: string]: string }[];
|
|
141
|
+
videoRecognitionResult?: GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResultVideoRecognitionResult[];
|
|
142
|
+
static names(): { [key: string]: string } {
|
|
143
|
+
return {
|
|
144
|
+
reasonText: 'reasonText',
|
|
145
|
+
text: 'text',
|
|
146
|
+
videoParts: 'videoParts',
|
|
147
|
+
videoRecognitionResult: 'videoRecognitionResult',
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static types(): { [key: string]: any } {
|
|
152
|
+
return {
|
|
153
|
+
reasonText: 'string',
|
|
154
|
+
text: 'string',
|
|
155
|
+
videoParts: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': 'string' } },
|
|
156
|
+
videoRecognitionResult: { 'type': 'array', 'itemType': GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResultVideoRecognitionResult },
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
validate() {
|
|
161
|
+
if(Array.isArray(this.videoParts)) {
|
|
162
|
+
$dara.Model.validateArray(this.videoParts);
|
|
163
|
+
}
|
|
164
|
+
if(Array.isArray(this.videoRecognitionResult)) {
|
|
165
|
+
$dara.Model.validateArray(this.videoRecognitionResult);
|
|
166
|
+
}
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export class GetVideoDetectShotTaskResponseBodyDataPayloadOutput extends $dara.Model {
|
|
176
|
+
videoSplitResult?: GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResult;
|
|
177
|
+
static names(): { [key: string]: string } {
|
|
178
|
+
return {
|
|
179
|
+
videoSplitResult: 'videoSplitResult',
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
static types(): { [key: string]: any } {
|
|
184
|
+
return {
|
|
185
|
+
videoSplitResult: GetVideoDetectShotTaskResponseBodyDataPayloadOutputVideoSplitResult,
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
validate() {
|
|
190
|
+
if(this.videoSplitResult && typeof (this.videoSplitResult as any).validate === 'function') {
|
|
191
|
+
(this.videoSplitResult as any).validate();
|
|
192
|
+
}
|
|
193
|
+
super.validate();
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
constructor(map?: { [key: string]: any }) {
|
|
197
|
+
super(map);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export class GetVideoDetectShotTaskResponseBodyDataPayloadUsage extends $dara.Model {
|
|
202
|
+
/**
|
|
203
|
+
* @example
|
|
204
|
+
* 36
|
|
205
|
+
*/
|
|
206
|
+
inputTokens?: number;
|
|
207
|
+
/**
|
|
208
|
+
* @example
|
|
209
|
+
* 13
|
|
210
|
+
*/
|
|
211
|
+
outputTokens?: number;
|
|
212
|
+
/**
|
|
213
|
+
* @example
|
|
214
|
+
* 49
|
|
215
|
+
*/
|
|
216
|
+
totalTokens?: number;
|
|
217
|
+
static names(): { [key: string]: string } {
|
|
218
|
+
return {
|
|
219
|
+
inputTokens: 'inputTokens',
|
|
220
|
+
outputTokens: 'outputTokens',
|
|
221
|
+
totalTokens: 'totalTokens',
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
static types(): { [key: string]: any } {
|
|
226
|
+
return {
|
|
227
|
+
inputTokens: 'number',
|
|
228
|
+
outputTokens: 'number',
|
|
229
|
+
totalTokens: 'number',
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
validate() {
|
|
234
|
+
super.validate();
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
constructor(map?: { [key: string]: any }) {
|
|
238
|
+
super(map);
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export class GetVideoDetectShotTaskResponseBodyDataPayload extends $dara.Model {
|
|
243
|
+
output?: GetVideoDetectShotTaskResponseBodyDataPayloadOutput;
|
|
244
|
+
usage?: GetVideoDetectShotTaskResponseBodyDataPayloadUsage;
|
|
245
|
+
static names(): { [key: string]: string } {
|
|
246
|
+
return {
|
|
247
|
+
output: 'output',
|
|
248
|
+
usage: 'usage',
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
static types(): { [key: string]: any } {
|
|
253
|
+
return {
|
|
254
|
+
output: GetVideoDetectShotTaskResponseBodyDataPayloadOutput,
|
|
255
|
+
usage: GetVideoDetectShotTaskResponseBodyDataPayloadUsage,
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
validate() {
|
|
260
|
+
if(this.output && typeof (this.output as any).validate === 'function') {
|
|
261
|
+
(this.output as any).validate();
|
|
262
|
+
}
|
|
263
|
+
if(this.usage && typeof (this.usage as any).validate === 'function') {
|
|
264
|
+
(this.usage as any).validate();
|
|
265
|
+
}
|
|
266
|
+
super.validate();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
constructor(map?: { [key: string]: any }) {
|
|
270
|
+
super(map);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export class GetVideoDetectShotTaskResponseBodyDataTaskRunInfo extends $dara.Model {
|
|
275
|
+
/**
|
|
276
|
+
* @example
|
|
277
|
+
* true
|
|
278
|
+
*/
|
|
279
|
+
concurrentChargeEnable?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* @example
|
|
282
|
+
* 1000
|
|
283
|
+
*/
|
|
284
|
+
responseTime?: number;
|
|
285
|
+
static names(): { [key: string]: string } {
|
|
286
|
+
return {
|
|
287
|
+
concurrentChargeEnable: 'concurrentChargeEnable',
|
|
288
|
+
responseTime: 'responseTime',
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
static types(): { [key: string]: any } {
|
|
293
|
+
return {
|
|
294
|
+
concurrentChargeEnable: 'boolean',
|
|
295
|
+
responseTime: 'number',
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
validate() {
|
|
300
|
+
super.validate();
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
constructor(map?: { [key: string]: any }) {
|
|
304
|
+
super(map);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export class GetVideoDetectShotTaskResponseBodyData extends $dara.Model {
|
|
309
|
+
/**
|
|
310
|
+
* @example
|
|
311
|
+
* Failed to proxy flink ui request, message: An error occurred: Invalid UUID string: jobsn.
|
|
312
|
+
*/
|
|
313
|
+
errorMessage?: string;
|
|
314
|
+
header?: GetVideoDetectShotTaskResponseBodyDataHeader;
|
|
315
|
+
payload?: GetVideoDetectShotTaskResponseBodyDataPayload;
|
|
316
|
+
/**
|
|
317
|
+
* @example
|
|
318
|
+
* 3feb69ed02d9b1a17d0f1a942675d300
|
|
319
|
+
*/
|
|
320
|
+
taskId?: string;
|
|
321
|
+
taskRunInfo?: GetVideoDetectShotTaskResponseBodyDataTaskRunInfo;
|
|
322
|
+
/**
|
|
323
|
+
* @example
|
|
324
|
+
* SUCCESSED
|
|
325
|
+
*/
|
|
326
|
+
taskStatus?: string;
|
|
327
|
+
static names(): { [key: string]: string } {
|
|
328
|
+
return {
|
|
329
|
+
errorMessage: 'errorMessage',
|
|
330
|
+
header: 'header',
|
|
331
|
+
payload: 'payload',
|
|
332
|
+
taskId: 'taskId',
|
|
333
|
+
taskRunInfo: 'taskRunInfo',
|
|
334
|
+
taskStatus: 'taskStatus',
|
|
335
|
+
};
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
static types(): { [key: string]: any } {
|
|
339
|
+
return {
|
|
340
|
+
errorMessage: 'string',
|
|
341
|
+
header: GetVideoDetectShotTaskResponseBodyDataHeader,
|
|
342
|
+
payload: GetVideoDetectShotTaskResponseBodyDataPayload,
|
|
343
|
+
taskId: 'string',
|
|
344
|
+
taskRunInfo: GetVideoDetectShotTaskResponseBodyDataTaskRunInfo,
|
|
345
|
+
taskStatus: 'string',
|
|
346
|
+
};
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
validate() {
|
|
350
|
+
if(this.header && typeof (this.header as any).validate === 'function') {
|
|
351
|
+
(this.header as any).validate();
|
|
352
|
+
}
|
|
353
|
+
if(this.payload && typeof (this.payload as any).validate === 'function') {
|
|
354
|
+
(this.payload as any).validate();
|
|
355
|
+
}
|
|
356
|
+
if(this.taskRunInfo && typeof (this.taskRunInfo as any).validate === 'function') {
|
|
357
|
+
(this.taskRunInfo as any).validate();
|
|
358
|
+
}
|
|
359
|
+
super.validate();
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
constructor(map?: { [key: string]: any }) {
|
|
363
|
+
super(map);
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export class GetVideoDetectShotTaskResponseBody extends $dara.Model {
|
|
368
|
+
/**
|
|
369
|
+
* @example
|
|
370
|
+
* successful
|
|
371
|
+
*/
|
|
372
|
+
code?: string;
|
|
373
|
+
data?: GetVideoDetectShotTaskResponseBodyData;
|
|
374
|
+
/**
|
|
375
|
+
* @example
|
|
376
|
+
* 200
|
|
377
|
+
*/
|
|
378
|
+
httpStatusCode?: number;
|
|
379
|
+
/**
|
|
380
|
+
* @example
|
|
381
|
+
* successful
|
|
382
|
+
*/
|
|
383
|
+
message?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* Id of the request
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* 117F5ABE-CF02-5502-9A3F-E56BC9081A64
|
|
390
|
+
*/
|
|
391
|
+
requestId?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @example
|
|
394
|
+
* True
|
|
395
|
+
*/
|
|
396
|
+
success?: boolean;
|
|
397
|
+
static names(): { [key: string]: string } {
|
|
398
|
+
return {
|
|
399
|
+
code: 'code',
|
|
400
|
+
data: 'data',
|
|
401
|
+
httpStatusCode: 'httpStatusCode',
|
|
402
|
+
message: 'message',
|
|
403
|
+
requestId: 'requestId',
|
|
404
|
+
success: 'success',
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
static types(): { [key: string]: any } {
|
|
409
|
+
return {
|
|
410
|
+
code: 'string',
|
|
411
|
+
data: GetVideoDetectShotTaskResponseBodyData,
|
|
412
|
+
httpStatusCode: 'number',
|
|
413
|
+
message: 'string',
|
|
414
|
+
requestId: 'string',
|
|
415
|
+
success: 'boolean',
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
validate() {
|
|
420
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
421
|
+
(this.data as any).validate();
|
|
422
|
+
}
|
|
423
|
+
super.validate();
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
constructor(map?: { [key: string]: any }) {
|
|
427
|
+
super(map);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class RunVideoDetectShotRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* xxx
|
|
9
|
+
*/
|
|
10
|
+
intelliSimpPrompt?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* intelliSimpShowPrompt
|
|
14
|
+
*/
|
|
15
|
+
intelliSimpPromptTemplateId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* chinese
|
|
19
|
+
*/
|
|
20
|
+
language?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* videoDetectShotShowPrompt
|
|
24
|
+
*/
|
|
25
|
+
modelCustomPromptTemplateId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* deepseek-r1
|
|
29
|
+
*/
|
|
30
|
+
modelId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* videoDetectShotVlShowPrompt
|
|
34
|
+
*/
|
|
35
|
+
modelVlCustomPromptTemplateId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*/
|
|
40
|
+
options?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5ax
|
|
44
|
+
*/
|
|
45
|
+
originalSessionId?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* deepseek-v3.1
|
|
49
|
+
*/
|
|
50
|
+
preModelId?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* xxx
|
|
54
|
+
*/
|
|
55
|
+
prompt?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* This parameter is required.
|
|
59
|
+
*/
|
|
60
|
+
recognitionOptions?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* a3d1c2ac-f086-4a21-9069-f5631542f5a2
|
|
64
|
+
*/
|
|
65
|
+
taskId?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* This parameter is required.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* https://xxx.mp4
|
|
72
|
+
*/
|
|
73
|
+
videoUrl?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* xxx
|
|
77
|
+
*/
|
|
78
|
+
vlPrompt?: string;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
intelliSimpPrompt: 'intelliSimpPrompt',
|
|
82
|
+
intelliSimpPromptTemplateId: 'intelliSimpPromptTemplateId',
|
|
83
|
+
language: 'language',
|
|
84
|
+
modelCustomPromptTemplateId: 'modelCustomPromptTemplateId',
|
|
85
|
+
modelId: 'modelId',
|
|
86
|
+
modelVlCustomPromptTemplateId: 'modelVlCustomPromptTemplateId',
|
|
87
|
+
options: 'options',
|
|
88
|
+
originalSessionId: 'originalSessionId',
|
|
89
|
+
preModelId: 'preModelId',
|
|
90
|
+
prompt: 'prompt',
|
|
91
|
+
recognitionOptions: 'recognitionOptions',
|
|
92
|
+
taskId: 'taskId',
|
|
93
|
+
videoUrl: 'videoUrl',
|
|
94
|
+
vlPrompt: 'vlPrompt',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
intelliSimpPrompt: 'string',
|
|
101
|
+
intelliSimpPromptTemplateId: 'string',
|
|
102
|
+
language: 'string',
|
|
103
|
+
modelCustomPromptTemplateId: 'string',
|
|
104
|
+
modelId: 'string',
|
|
105
|
+
modelVlCustomPromptTemplateId: 'string',
|
|
106
|
+
options: { 'type': 'array', 'itemType': 'string' },
|
|
107
|
+
originalSessionId: 'string',
|
|
108
|
+
preModelId: 'string',
|
|
109
|
+
prompt: 'string',
|
|
110
|
+
recognitionOptions: { 'type': 'array', 'itemType': 'string' },
|
|
111
|
+
taskId: 'string',
|
|
112
|
+
videoUrl: 'string',
|
|
113
|
+
vlPrompt: 'string',
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
validate() {
|
|
118
|
+
if(Array.isArray(this.options)) {
|
|
119
|
+
$dara.Model.validateArray(this.options);
|
|
120
|
+
}
|
|
121
|
+
if(Array.isArray(this.recognitionOptions)) {
|
|
122
|
+
$dara.Model.validateArray(this.recognitionOptions);
|
|
123
|
+
}
|
|
124
|
+
super.validate();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
constructor(map?: { [key: string]: any }) {
|
|
128
|
+
super(map);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RunVideoDetectShotResponseBody } from "./RunVideoDetectShotResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RunVideoDetectShotResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: RunVideoDetectShotResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: RunVideoDetectShotResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|