ffmpeglab-sdk 0.3.20 → 0.3.25
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/.openapi-generator/FILES +20 -0
- package/dist/apis/FilesApi.d.ts +115 -0
- package/dist/apis/FilesApi.js +179 -0
- package/dist/apis/PipelinesApi.d.ts +147 -0
- package/dist/apis/PipelinesApi.js +209 -0
- package/dist/apis/RendersApi.d.ts +77 -0
- package/dist/apis/RendersApi.js +109 -1
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/FilesApi.d.ts +115 -0
- package/dist/esm/apis/FilesApi.js +175 -0
- package/dist/esm/apis/PipelinesApi.d.ts +147 -0
- package/dist/esm/apis/PipelinesApi.js +205 -0
- package/dist/esm/apis/RendersApi.d.ts +77 -0
- package/dist/esm/apis/RendersApi.js +108 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/CreatePipelineDto.d.ts +50 -0
- package/dist/esm/models/CreatePipelineDto.js +55 -0
- package/dist/esm/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/esm/models/EditorProjectConfiguration.js +3 -1
- package/dist/esm/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/esm/models/EncoderProjectEncoding.js +3 -1
- package/dist/esm/models/FileListDto.d.ts +33 -0
- package/dist/esm/models/FileListDto.js +44 -0
- package/dist/esm/models/FileObject.d.ts +50 -0
- package/dist/esm/models/FileObject.js +55 -0
- package/dist/esm/models/FileResponseDto.d.ts +32 -0
- package/dist/esm/models/FileResponseDto.js +43 -0
- package/dist/esm/models/LogPiece.d.ts +56 -0
- package/dist/esm/models/LogPiece.js +59 -0
- package/dist/esm/models/LogsResponse.d.ts +33 -0
- package/dist/esm/models/LogsResponse.js +44 -0
- package/dist/esm/models/Pipeline.d.ts +80 -0
- package/dist/esm/models/Pipeline.js +75 -0
- package/dist/esm/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/esm/models/UpdatePipelineDto.js +59 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/models/CreatePipelineDto.d.ts +50 -0
- package/dist/models/CreatePipelineDto.js +62 -0
- package/dist/models/EditorProjectConfiguration.d.ts +2 -0
- package/dist/models/EditorProjectConfiguration.js +3 -1
- package/dist/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/models/EncoderProjectEncoding.js +3 -1
- package/dist/models/FileListDto.d.ts +33 -0
- package/dist/models/FileListDto.js +51 -0
- package/dist/models/FileObject.d.ts +50 -0
- package/dist/models/FileObject.js +62 -0
- package/dist/models/FileResponseDto.d.ts +32 -0
- package/dist/models/FileResponseDto.js +50 -0
- package/dist/models/LogPiece.d.ts +56 -0
- package/dist/models/LogPiece.js +66 -0
- package/dist/models/LogsResponse.d.ts +33 -0
- package/dist/models/LogsResponse.js +51 -0
- package/dist/models/Pipeline.d.ts +80 -0
- package/dist/models/Pipeline.js +82 -0
- package/dist/models/UpdatePipelineDto.d.ts +56 -0
- package/dist/models/UpdatePipelineDto.js +66 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/docs/CreatePipelineDto.md +40 -0
- package/docs/FileListDto.md +34 -0
- package/docs/FileObject.md +40 -0
- package/docs/FileResponseDto.md +34 -0
- package/docs/FilesApi.md +210 -0
- package/docs/LogPiece.md +42 -0
- package/docs/LogsResponse.md +34 -0
- package/docs/Pipeline.md +50 -0
- package/docs/PipelinesApi.md +280 -0
- package/docs/RendersApi.md +146 -0
- package/docs/UpdatePipelineDto.md +42 -0
- package/package.json +1 -1
- package/src/apis/FilesApi.ts +274 -0
- package/src/apis/PipelinesApi.ts +340 -0
- package/src/apis/RendersApi.ts +194 -0
- package/src/apis/index.ts +2 -0
- package/src/models/CreatePipelineDto.ts +93 -0
- package/src/models/EditorProjectConfiguration.ts +3 -1
- package/src/models/EncoderProjectEncoding.ts +3 -1
- package/src/models/FileListDto.ts +74 -0
- package/src/models/FileObject.ts +93 -0
- package/src/models/FileResponseDto.ts +66 -0
- package/src/models/LogPiece.ts +102 -0
- package/src/models/LogsResponse.ts +74 -0
- package/src/models/Pipeline.ts +138 -0
- package/src/models/UpdatePipelineDto.ts +102 -0
- package/src/models/index.ts +8 -0
package/src/apis/RendersApi.ts
CHANGED
|
@@ -13,6 +13,11 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import * as runtime from '../runtime';
|
|
16
|
+
import {
|
|
17
|
+
type LogsResponse,
|
|
18
|
+
LogsResponseFromJSON,
|
|
19
|
+
LogsResponseToJSON,
|
|
20
|
+
} from '../models/LogsResponse';
|
|
16
21
|
import {
|
|
17
22
|
type RenderDto,
|
|
18
23
|
RenderDtoFromJSON,
|
|
@@ -33,10 +38,20 @@ export interface RendersControllerCreateRequest {
|
|
|
33
38
|
renderDto: RenderDto;
|
|
34
39
|
}
|
|
35
40
|
|
|
41
|
+
export interface RendersControllerFindAllRendersForProjectRequest {
|
|
42
|
+
id: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
36
45
|
export interface RendersControllerFindOneRequest {
|
|
37
46
|
id: string;
|
|
38
47
|
}
|
|
39
48
|
|
|
49
|
+
export interface RendersControllerRenderLogsRequest {
|
|
50
|
+
direction: RendersControllerRenderLogsDirectionEnum;
|
|
51
|
+
from: string;
|
|
52
|
+
id: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
40
55
|
export interface RendersControllerRunRenderRequest {
|
|
41
56
|
runDto: RunDto;
|
|
42
57
|
}
|
|
@@ -88,6 +103,27 @@ export interface RendersApiInterface {
|
|
|
88
103
|
*/
|
|
89
104
|
rendersControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RenderResponse>>;
|
|
90
105
|
|
|
106
|
+
/**
|
|
107
|
+
* Creates request options for rendersControllerFindAllRendersForProject without sending the request
|
|
108
|
+
* @param {string} id The ID of the render
|
|
109
|
+
* @throws {RequiredError}
|
|
110
|
+
* @memberof RendersApiInterface
|
|
111
|
+
*/
|
|
112
|
+
rendersControllerFindAllRendersForProjectRequestOpts(requestParameters: RendersControllerFindAllRendersForProjectRequest): Promise<runtime.RequestOpts>;
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @param {string} id The ID of the render
|
|
117
|
+
* @param {*} [options] Override http request option.
|
|
118
|
+
* @throws {RequiredError}
|
|
119
|
+
* @memberof RendersApiInterface
|
|
120
|
+
*/
|
|
121
|
+
rendersControllerFindAllRendersForProjectRaw(requestParameters: RendersControllerFindAllRendersForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RenderResponse>>>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
*/
|
|
125
|
+
rendersControllerFindAllRendersForProject(requestParameters: RendersControllerFindAllRendersForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RenderResponse>>;
|
|
126
|
+
|
|
91
127
|
/**
|
|
92
128
|
* Creates request options for rendersControllerFindOne without sending the request
|
|
93
129
|
* @param {string} id The ID of the render
|
|
@@ -109,6 +145,31 @@ export interface RendersApiInterface {
|
|
|
109
145
|
*/
|
|
110
146
|
rendersControllerFindOne(requestParameters: RendersControllerFindOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RenderResponse>;
|
|
111
147
|
|
|
148
|
+
/**
|
|
149
|
+
* Creates request options for rendersControllerRenderLogs without sending the request
|
|
150
|
+
* @param {'ASC' | 'DESC'} direction Order by direction
|
|
151
|
+
* @param {string} from The date from which to start filtering the logs
|
|
152
|
+
* @param {string} id The ID of the render
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
* @memberof RendersApiInterface
|
|
155
|
+
*/
|
|
156
|
+
rendersControllerRenderLogsRequestOpts(requestParameters: RendersControllerRenderLogsRequest): Promise<runtime.RequestOpts>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @param {'ASC' | 'DESC'} direction Order by direction
|
|
161
|
+
* @param {string} from The date from which to start filtering the logs
|
|
162
|
+
* @param {string} id The ID of the render
|
|
163
|
+
* @param {*} [options] Override http request option.
|
|
164
|
+
* @throws {RequiredError}
|
|
165
|
+
* @memberof RendersApiInterface
|
|
166
|
+
*/
|
|
167
|
+
rendersControllerRenderLogsRaw(requestParameters: RendersControllerRenderLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LogsResponse>>;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
*/
|
|
171
|
+
rendersControllerRenderLogs(requestParameters: RendersControllerRenderLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LogsResponse>;
|
|
172
|
+
|
|
112
173
|
/**
|
|
113
174
|
* Creates request options for rendersControllerRunRender without sending the request
|
|
114
175
|
* @param {RunDto} runDto
|
|
@@ -233,6 +294,57 @@ export class RendersApi extends runtime.BaseAPI implements RendersApiInterface {
|
|
|
233
294
|
return await response.value();
|
|
234
295
|
}
|
|
235
296
|
|
|
297
|
+
/**
|
|
298
|
+
* Creates request options for rendersControllerFindAllRendersForProject without sending the request
|
|
299
|
+
*/
|
|
300
|
+
async rendersControllerFindAllRendersForProjectRequestOpts(requestParameters: RendersControllerFindAllRendersForProjectRequest): Promise<runtime.RequestOpts> {
|
|
301
|
+
if (requestParameters['id'] == null) {
|
|
302
|
+
throw new runtime.RequiredError(
|
|
303
|
+
'id',
|
|
304
|
+
'Required parameter "id" was null or undefined when calling rendersControllerFindAllRendersForProject().'
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
const queryParameters: any = {};
|
|
309
|
+
|
|
310
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
311
|
+
|
|
312
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
313
|
+
const token = this.configuration.accessToken;
|
|
314
|
+
const tokenString = await token("bearer", []);
|
|
315
|
+
|
|
316
|
+
if (tokenString) {
|
|
317
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
let urlPath = `/renders/project/{id}`;
|
|
322
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
323
|
+
|
|
324
|
+
return {
|
|
325
|
+
path: urlPath,
|
|
326
|
+
method: 'GET',
|
|
327
|
+
headers: headerParameters,
|
|
328
|
+
query: queryParameters,
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
*/
|
|
334
|
+
async rendersControllerFindAllRendersForProjectRaw(requestParameters: RendersControllerFindAllRendersForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<RenderResponse>>> {
|
|
335
|
+
const requestOptions = await this.rendersControllerFindAllRendersForProjectRequestOpts(requestParameters);
|
|
336
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
337
|
+
|
|
338
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(RenderResponseFromJSON));
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
*/
|
|
343
|
+
async rendersControllerFindAllRendersForProject(requestParameters: RendersControllerFindAllRendersForProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<RenderResponse>> {
|
|
344
|
+
const response = await this.rendersControllerFindAllRendersForProjectRaw(requestParameters, initOverrides);
|
|
345
|
+
return await response.value();
|
|
346
|
+
}
|
|
347
|
+
|
|
236
348
|
/**
|
|
237
349
|
* Creates request options for rendersControllerFindOne without sending the request
|
|
238
350
|
*/
|
|
@@ -284,6 +396,79 @@ export class RendersApi extends runtime.BaseAPI implements RendersApiInterface {
|
|
|
284
396
|
return await response.value();
|
|
285
397
|
}
|
|
286
398
|
|
|
399
|
+
/**
|
|
400
|
+
* Creates request options for rendersControllerRenderLogs without sending the request
|
|
401
|
+
*/
|
|
402
|
+
async rendersControllerRenderLogsRequestOpts(requestParameters: RendersControllerRenderLogsRequest): Promise<runtime.RequestOpts> {
|
|
403
|
+
if (requestParameters['direction'] == null) {
|
|
404
|
+
throw new runtime.RequiredError(
|
|
405
|
+
'direction',
|
|
406
|
+
'Required parameter "direction" was null or undefined when calling rendersControllerRenderLogs().'
|
|
407
|
+
);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (requestParameters['from'] == null) {
|
|
411
|
+
throw new runtime.RequiredError(
|
|
412
|
+
'from',
|
|
413
|
+
'Required parameter "from" was null or undefined when calling rendersControllerRenderLogs().'
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
if (requestParameters['id'] == null) {
|
|
418
|
+
throw new runtime.RequiredError(
|
|
419
|
+
'id',
|
|
420
|
+
'Required parameter "id" was null or undefined when calling rendersControllerRenderLogs().'
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
const queryParameters: any = {};
|
|
425
|
+
|
|
426
|
+
if (requestParameters['direction'] != null) {
|
|
427
|
+
queryParameters['direction'] = requestParameters['direction'];
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
if (requestParameters['from'] != null) {
|
|
431
|
+
queryParameters['from'] = requestParameters['from'];
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
435
|
+
|
|
436
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
437
|
+
const token = this.configuration.accessToken;
|
|
438
|
+
const tokenString = await token("bearer", []);
|
|
439
|
+
|
|
440
|
+
if (tokenString) {
|
|
441
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
let urlPath = `/renders/logs/{id}`;
|
|
446
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
447
|
+
|
|
448
|
+
return {
|
|
449
|
+
path: urlPath,
|
|
450
|
+
method: 'GET',
|
|
451
|
+
headers: headerParameters,
|
|
452
|
+
query: queryParameters,
|
|
453
|
+
};
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
*/
|
|
458
|
+
async rendersControllerRenderLogsRaw(requestParameters: RendersControllerRenderLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<LogsResponse>> {
|
|
459
|
+
const requestOptions = await this.rendersControllerRenderLogsRequestOpts(requestParameters);
|
|
460
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
461
|
+
|
|
462
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => LogsResponseFromJSON(jsonValue));
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
*/
|
|
467
|
+
async rendersControllerRenderLogs(requestParameters: RendersControllerRenderLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<LogsResponse> {
|
|
468
|
+
const response = await this.rendersControllerRenderLogsRaw(requestParameters, initOverrides);
|
|
469
|
+
return await response.value();
|
|
470
|
+
}
|
|
471
|
+
|
|
287
472
|
/**
|
|
288
473
|
* Creates request options for rendersControllerRunRender without sending the request
|
|
289
474
|
*/
|
|
@@ -337,3 +522,12 @@ export class RendersApi extends runtime.BaseAPI implements RendersApiInterface {
|
|
|
337
522
|
}
|
|
338
523
|
|
|
339
524
|
}
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* @export
|
|
528
|
+
*/
|
|
529
|
+
export const RendersControllerRenderLogsDirectionEnum = {
|
|
530
|
+
Asc: 'ASC',
|
|
531
|
+
Desc: 'DESC'
|
|
532
|
+
} as const;
|
|
533
|
+
export type RendersControllerRenderLogsDirectionEnum = typeof RendersControllerRenderLogsDirectionEnum[keyof typeof RendersControllerRenderLogsDirectionEnum];
|
package/src/apis/index.ts
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FFmpeglab
|
|
5
|
+
* FFmpeglab API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface CreatePipelineDto
|
|
20
|
+
*/
|
|
21
|
+
export interface CreatePipelineDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof CreatePipelineDto
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof CreatePipelineDto
|
|
32
|
+
*/
|
|
33
|
+
downsql: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof CreatePipelineDto
|
|
38
|
+
*/
|
|
39
|
+
upsql: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof CreatePipelineDto
|
|
44
|
+
*/
|
|
45
|
+
yml: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the CreatePipelineDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfCreatePipelineDto(value: object): value is CreatePipelineDto {
|
|
52
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
53
|
+
if (!('downsql' in value) || value['downsql'] === undefined) return false;
|
|
54
|
+
if (!('upsql' in value) || value['upsql'] === undefined) return false;
|
|
55
|
+
if (!('yml' in value) || value['yml'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function CreatePipelineDtoFromJSON(json: any): CreatePipelineDto {
|
|
60
|
+
return CreatePipelineDtoFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function CreatePipelineDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePipelineDto {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'title': json['title'],
|
|
70
|
+
'downsql': json['downsql'],
|
|
71
|
+
'upsql': json['upsql'],
|
|
72
|
+
'yml': json['yml'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function CreatePipelineDtoToJSON(json: any): CreatePipelineDto {
|
|
77
|
+
return CreatePipelineDtoToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function CreatePipelineDtoToJSONTyped(value?: CreatePipelineDto | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'title': value['title'],
|
|
88
|
+
'downsql': value['downsql'],
|
|
89
|
+
'upsql': value['upsql'],
|
|
90
|
+
'yml': value['yml'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -137,7 +137,9 @@ export const EditorProjectConfigurationOutputEnum = {
|
|
|
137
137
|
Mp3: 'mp3',
|
|
138
138
|
Mov: 'mov',
|
|
139
139
|
Avi: 'avi',
|
|
140
|
-
Mkv: 'mkv'
|
|
140
|
+
Mkv: 'mkv',
|
|
141
|
+
Png: 'png',
|
|
142
|
+
Jpg: 'jpg'
|
|
141
143
|
} as const;
|
|
142
144
|
export type EditorProjectConfigurationOutputEnum = typeof EditorProjectConfigurationOutputEnum[keyof typeof EditorProjectConfigurationOutputEnum];
|
|
143
145
|
|
|
@@ -213,7 +213,9 @@ export const EncoderProjectEncodingOutputEnum = {
|
|
|
213
213
|
Mp3: 'mp3',
|
|
214
214
|
Mov: 'mov',
|
|
215
215
|
Avi: 'avi',
|
|
216
|
-
Mkv: 'mkv'
|
|
216
|
+
Mkv: 'mkv',
|
|
217
|
+
Png: 'png',
|
|
218
|
+
Jpg: 'jpg'
|
|
217
219
|
} as const;
|
|
218
220
|
export type EncoderProjectEncodingOutputEnum = typeof EncoderProjectEncodingOutputEnum[keyof typeof EncoderProjectEncodingOutputEnum];
|
|
219
221
|
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FFmpeglab
|
|
5
|
+
* FFmpeglab API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { FileObject } from './FileObject';
|
|
17
|
+
import {
|
|
18
|
+
FileObjectFromJSON,
|
|
19
|
+
FileObjectFromJSONTyped,
|
|
20
|
+
FileObjectToJSON,
|
|
21
|
+
FileObjectToJSONTyped,
|
|
22
|
+
} from './FileObject';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface FileListDto
|
|
28
|
+
*/
|
|
29
|
+
export interface FileListDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<FileObject>}
|
|
33
|
+
* @memberof FileListDto
|
|
34
|
+
*/
|
|
35
|
+
list: Array<FileObject>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FileListDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfFileListDto(value: object): value is FileListDto {
|
|
42
|
+
if (!('list' in value) || value['list'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function FileListDtoFromJSON(json: any): FileListDto {
|
|
47
|
+
return FileListDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function FileListDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileListDto {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'list': ((json['list'] as Array<any>).map(FileObjectFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FileListDtoToJSON(json: any): FileListDto {
|
|
61
|
+
return FileListDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function FileListDtoToJSONTyped(value?: FileListDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'list': ((value['list'] as Array<any>).map(FileObjectToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FFmpeglab
|
|
5
|
+
* FFmpeglab API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FileObject
|
|
20
|
+
*/
|
|
21
|
+
export interface FileObject {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FileObject
|
|
26
|
+
*/
|
|
27
|
+
key: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof FileObject
|
|
32
|
+
*/
|
|
33
|
+
lastModified: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof FileObject
|
|
38
|
+
*/
|
|
39
|
+
eTag: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof FileObject
|
|
44
|
+
*/
|
|
45
|
+
size: number;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the FileObject interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfFileObject(value: object): value is FileObject {
|
|
52
|
+
if ((!('key' in (value as Record<string, any>)) && !('Key' in (value as Record<string, any>))) || ((value as Record<string, any>)['key'] === undefined && (value as Record<string, any>)['Key'] === undefined)) return false;
|
|
53
|
+
if ((!('lastModified' in (value as Record<string, any>)) && !('LastModified' in (value as Record<string, any>))) || ((value as Record<string, any>)['lastModified'] === undefined && (value as Record<string, any>)['LastModified'] === undefined)) return false;
|
|
54
|
+
if ((!('eTag' in (value as Record<string, any>)) && !('ETag' in (value as Record<string, any>))) || ((value as Record<string, any>)['eTag'] === undefined && (value as Record<string, any>)['ETag'] === undefined)) return false;
|
|
55
|
+
if ((!('size' in (value as Record<string, any>)) && !('Size' in (value as Record<string, any>))) || ((value as Record<string, any>)['size'] === undefined && (value as Record<string, any>)['Size'] === undefined)) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function FileObjectFromJSON(json: any): FileObject {
|
|
60
|
+
return FileObjectFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function FileObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileObject {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'key': json['Key'],
|
|
70
|
+
'lastModified': (new Date(json['LastModified'])),
|
|
71
|
+
'eTag': json['ETag'],
|
|
72
|
+
'size': json['Size'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function FileObjectToJSON(json: any): FileObject {
|
|
77
|
+
return FileObjectToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function FileObjectToJSONTyped(value?: FileObject | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'Key': value['key'],
|
|
88
|
+
'LastModified': value['lastModified'].toISOString(),
|
|
89
|
+
'ETag': value['eTag'],
|
|
90
|
+
'Size': value['size'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FFmpeglab
|
|
5
|
+
* FFmpeglab API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FileResponseDto
|
|
20
|
+
*/
|
|
21
|
+
export interface FileResponseDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FileResponseDto
|
|
26
|
+
*/
|
|
27
|
+
link: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the FileResponseDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfFileResponseDto(value: object): value is FileResponseDto {
|
|
34
|
+
if (!('link' in value) || value['link'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function FileResponseDtoFromJSON(json: any): FileResponseDto {
|
|
39
|
+
return FileResponseDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function FileResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileResponseDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'link': json['link'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function FileResponseDtoToJSON(json: any): FileResponseDto {
|
|
53
|
+
return FileResponseDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function FileResponseDtoToJSONTyped(value?: FileResponseDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'link': value['link'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* FFmpeglab
|
|
5
|
+
* FFmpeglab API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LogPiece
|
|
20
|
+
*/
|
|
21
|
+
export interface LogPiece {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LogPiece
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof LogPiece
|
|
32
|
+
*/
|
|
33
|
+
date: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LogPiece
|
|
38
|
+
*/
|
|
39
|
+
logs: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof LogPiece
|
|
44
|
+
*/
|
|
45
|
+
render: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof LogPiece
|
|
50
|
+
*/
|
|
51
|
+
userId: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the LogPiece interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfLogPiece(value: object): value is LogPiece {
|
|
58
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
60
|
+
if (!('logs' in value) || value['logs'] === undefined) return false;
|
|
61
|
+
if (!('render' in value) || value['render'] === undefined) return false;
|
|
62
|
+
if ((!('userId' in (value as Record<string, any>)) && !('user_id' in (value as Record<string, any>))) || ((value as Record<string, any>)['userId'] === undefined && (value as Record<string, any>)['user_id'] === undefined)) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function LogPieceFromJSON(json: any): LogPiece {
|
|
67
|
+
return LogPieceFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LogPieceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LogPiece {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': json['id'],
|
|
77
|
+
'date': (new Date(json['date'])),
|
|
78
|
+
'logs': json['logs'],
|
|
79
|
+
'render': json['render'],
|
|
80
|
+
'userId': json['user_id'],
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function LogPieceToJSON(json: any): LogPiece {
|
|
85
|
+
return LogPieceToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function LogPieceToJSONTyped(value?: LogPiece | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'id': value['id'],
|
|
96
|
+
'date': value['date'].toISOString(),
|
|
97
|
+
'logs': value['logs'],
|
|
98
|
+
'render': value['render'],
|
|
99
|
+
'user_id': value['userId'],
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
|