ffmpeglab-sdk 0.3.6 → 0.3.7
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 +41 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +33 -0
- package/dist/apis/AppApi.d.ts +49 -7
- package/dist/apis/AppApi.js +48 -30
- package/dist/apis/RendersApi.d.ts +145 -15
- package/dist/apis/RendersApi.js +174 -135
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +20 -0
- package/dist/esm/apis/AppApi.d.ts +51 -0
- package/dist/esm/apis/AppApi.js +60 -0
- package/dist/esm/apis/RendersApi.d.ts +147 -0
- package/dist/esm/apis/RendersApi.js +204 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +4 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/EditorLayer.d.ts +82 -0
- package/dist/esm/models/EditorLayer.js +77 -0
- package/dist/esm/models/EditorLayerParams.d.ts +44 -0
- package/dist/esm/models/EditorLayerParams.js +51 -0
- package/dist/esm/models/EditorProject.d.ts +69 -0
- package/dist/esm/models/EditorProject.js +68 -0
- package/dist/esm/models/EditorProjectConfiguration.d.ts +151 -0
- package/dist/esm/models/EditorProjectConfiguration.js +131 -0
- package/dist/esm/models/EncoderProject.d.ts +171 -0
- package/dist/esm/models/EncoderProject.js +136 -0
- package/dist/esm/models/EncoderProjectEncoding.d.ts +314 -0
- package/dist/esm/models/EncoderProjectEncoding.js +274 -0
- package/dist/esm/models/Media.d.ts +164 -0
- package/dist/esm/models/Media.js +131 -0
- package/dist/esm/models/PositionParams.d.ts +50 -0
- package/dist/esm/models/PositionParams.js +55 -0
- package/dist/esm/models/RGB.d.ts +44 -0
- package/dist/esm/models/RGB.js +51 -0
- package/dist/esm/models/RenderData.d.ts +40 -0
- package/dist/esm/models/RenderData.js +49 -0
- package/dist/esm/models/RenderDto.d.ts +40 -0
- package/dist/esm/models/RenderDto.js +49 -0
- package/dist/esm/models/RenderResponse.d.ts +88 -0
- package/dist/esm/models/RenderResponse.js +81 -0
- package/dist/esm/models/Resize.d.ts +38 -0
- package/dist/esm/models/Resize.js +47 -0
- package/dist/esm/models/RunDto.d.ts +32 -0
- package/dist/esm/models/RunDto.js +43 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/esm/runtime.d.ts +185 -0
- package/dist/esm/runtime.js +354 -0
- package/dist/index.d.ts +3 -11
- package/dist/index.js +21 -10
- package/dist/models/EditorLayer.d.ts +81 -29
- package/dist/models/EditorLayer.js +81 -63
- package/dist/models/EditorLayerParams.d.ts +43 -21
- package/dist/models/EditorLayerParams.js +55 -27
- package/dist/models/EditorProject.d.ts +68 -26
- package/dist/models/EditorProject.js +72 -51
- package/dist/models/EditorProjectConfiguration.d.ts +150 -56
- package/dist/models/EditorProjectConfiguration.js +136 -125
- package/dist/models/EncoderProject.d.ts +170 -43
- package/dist/models/EncoderProject.js +140 -153
- package/dist/models/EncoderProjectEncoding.d.ts +313 -166
- package/dist/models/EncoderProjectEncoding.js +279 -279
- package/dist/models/Media.d.ts +163 -41
- package/dist/models/Media.js +135 -147
- package/dist/models/PositionParams.d.ts +49 -22
- package/dist/models/PositionParams.js +59 -33
- package/dist/models/RGB.d.ts +43 -21
- package/dist/models/RGB.js +55 -27
- package/dist/models/RenderData.d.ts +39 -22
- package/dist/models/RenderData.js +53 -21
- package/dist/models/RenderDto.d.ts +39 -22
- package/dist/models/RenderDto.js +53 -21
- package/dist/models/RenderResponse.d.ts +87 -30
- package/dist/models/RenderResponse.js +85 -69
- package/dist/models/Resize.d.ts +37 -20
- package/dist/models/Resize.js +51 -21
- package/dist/models/RunDto.d.ts +31 -19
- package/dist/models/RunDto.js +47 -15
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +32 -0
- package/dist/runtime.d.ts +185 -0
- package/dist/runtime.js +371 -0
- package/docs/AppApi.md +66 -0
- package/docs/EditorLayer.md +50 -0
- package/docs/EditorLayerParams.md +38 -0
- package/docs/EditorProject.md +46 -0
- package/docs/EditorProjectConfiguration.md +62 -0
- package/docs/EncoderProject.md +80 -0
- package/docs/EncoderProjectEncoding.md +80 -0
- package/docs/Media.md +78 -0
- package/docs/PositionParams.md +40 -0
- package/docs/RGB.md +38 -0
- package/docs/RenderData.md +36 -0
- package/docs/RenderDto.md +36 -0
- package/docs/RenderResponse.md +52 -0
- package/docs/RendersApi.md +280 -0
- package/docs/Resize.md +36 -0
- package/docs/RunDto.md +34 -0
- package/package.json +10 -30
- package/src/apis/AppApi.ts +84 -0
- package/src/apis/RendersApi.ts +339 -0
- package/src/apis/index.ts +4 -0
- package/src/index.ts +5 -0
- package/src/models/EditorLayer.ts +153 -0
- package/src/models/EditorLayerParams.ts +84 -0
- package/src/models/EditorProject.ts +128 -0
- package/src/models/EditorProjectConfiguration.ts +232 -0
- package/src/models/EncoderProject.ts +281 -0
- package/src/models/EncoderProjectEncoding.ts +443 -0
- package/src/models/Media.ts +264 -0
- package/src/models/PositionParams.ts +93 -0
- package/src/models/RGB.ts +84 -0
- package/src/models/RenderData.ts +90 -0
- package/src/models/RenderDto.ts +90 -0
- package/src/models/RenderResponse.ts +162 -0
- package/src/models/Resize.ts +75 -0
- package/src/models/RunDto.ts +66 -0
- package/src/models/index.ts +16 -0
- package/src/runtime.ts +454 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
- package/dist/apis/AppApi.js.map +0 -1
- package/dist/apis/RendersApi.js.map +0 -1
- package/dist/apis/baseapi.d.ts +0 -18
- package/dist/apis/baseapi.js +0 -22
- package/dist/apis/baseapi.js.map +0 -1
- package/dist/apis/exception.d.ts +0 -10
- package/dist/apis/exception.js +0 -10
- package/dist/apis/exception.js.map +0 -1
- package/dist/auth/auth.d.ts +0 -35
- package/dist/auth/auth.js +0 -34
- package/dist/auth/auth.js.map +0 -1
- package/dist/configuration.d.ts +0 -26
- package/dist/configuration.js +0 -56
- package/dist/configuration.js.map +0 -1
- package/dist/http/http.d.ts +0 -71
- package/dist/http/http.js +0 -185
- package/dist/http/http.js.map +0 -1
- package/dist/http/isomorphic-fetch.d.ts +0 -6
- package/dist/http/isomorphic-fetch.js +0 -28
- package/dist/http/isomorphic-fetch.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/middleware.d.ts +0 -16
- package/dist/middleware.js +0 -13
- package/dist/middleware.js.map +0 -1
- package/dist/models/EditorLayer.js.map +0 -1
- package/dist/models/EditorLayerParams.js.map +0 -1
- package/dist/models/EditorProject.js.map +0 -1
- package/dist/models/EditorProjectConfiguration.js.map +0 -1
- package/dist/models/EncoderProject.js.map +0 -1
- package/dist/models/EncoderProjectEncoding.js.map +0 -1
- package/dist/models/Media.js.map +0 -1
- package/dist/models/ObjectSerializer.d.ts +0 -23
- package/dist/models/ObjectSerializer.js +0 -299
- package/dist/models/ObjectSerializer.js.map +0 -1
- package/dist/models/PositionParams.js.map +0 -1
- package/dist/models/RGB.js.map +0 -1
- package/dist/models/RenderData.js.map +0 -1
- package/dist/models/RenderDto.js.map +0 -1
- package/dist/models/RenderResponse.js.map +0 -1
- package/dist/models/Resize.js.map +0 -1
- package/dist/models/RunDto.js.map +0 -1
- package/dist/models/all.d.ts +0 -14
- package/dist/models/all.js +0 -15
- package/dist/models/all.js.map +0 -1
- package/dist/rxjsStub.d.ts +0 -10
- package/dist/rxjsStub.js +0 -24
- package/dist/rxjsStub.js.map +0 -1
- package/dist/servers.d.ts +0 -17
- package/dist/servers.js +0 -26
- package/dist/servers.js.map +0 -1
- package/dist/types/ObjectParamAPI.d.ts +0 -37
- package/dist/types/ObjectParamAPI.js +0 -43
- package/dist/types/ObjectParamAPI.js.map +0 -1
- package/dist/types/ObservableAPI.d.ts +0 -29
- package/dist/types/ObservableAPI.js +0 -115
- package/dist/types/ObservableAPI.js.map +0 -1
- package/dist/types/PromiseAPI.d.ts +0 -24
- package/dist/types/PromiseAPI.js +0 -64
- package/dist/types/PromiseAPI.js.map +0 -1
- package/dist/util.d.ts +0 -2
- package/dist/util.js +0 -24
- package/dist/util.js.map +0 -1
|
@@ -1,72 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FFmpeglab
|
|
6
|
+
* FFmpeglab API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRenderResponse = instanceOfRenderResponse;
|
|
17
|
+
exports.RenderResponseFromJSON = RenderResponseFromJSON;
|
|
18
|
+
exports.RenderResponseFromJSONTyped = RenderResponseFromJSONTyped;
|
|
19
|
+
exports.RenderResponseToJSON = RenderResponseToJSON;
|
|
20
|
+
exports.RenderResponseToJSONTyped = RenderResponseToJSONTyped;
|
|
21
|
+
const RenderData_1 = require("./RenderData");
|
|
22
|
+
const Media_1 = require("./Media");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RenderResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfRenderResponse(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('project' in value) || value['project'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if ((!('_public' in value) && !('public' in value)) || (value['_public'] === undefined && value['public'] === undefined))
|
|
36
|
+
return false;
|
|
37
|
+
if ((!('userId' in value) && !('user_id' in value)) || (value['userId'] === undefined && value['user_id'] === undefined))
|
|
38
|
+
return false;
|
|
39
|
+
if (!('progress' in value) || value['progress'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('logs' in value) || value['logs'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('result' in value) || value['result'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
return true;
|
|
48
|
+
}
|
|
49
|
+
function RenderResponseFromJSON(json) {
|
|
50
|
+
return RenderResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function RenderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
53
|
+
if (json == null) {
|
|
54
|
+
return json;
|
|
6
55
|
}
|
|
56
|
+
return {
|
|
57
|
+
'id': json['id'],
|
|
58
|
+
'title': json['title'],
|
|
59
|
+
'project': json['project'],
|
|
60
|
+
'status': json['status'],
|
|
61
|
+
'_public': json['public'],
|
|
62
|
+
'userId': json['user_id'],
|
|
63
|
+
'progress': json['progress'],
|
|
64
|
+
'logs': json['logs'],
|
|
65
|
+
'data': (0, RenderData_1.RenderDataFromJSON)(json['data']),
|
|
66
|
+
'result': (0, Media_1.MediaFromJSON)(json['result']),
|
|
67
|
+
};
|
|
7
68
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"type": "string",
|
|
15
|
-
"format": ""
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "title",
|
|
19
|
-
"baseName": "title",
|
|
20
|
-
"type": "string",
|
|
21
|
-
"format": ""
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "project",
|
|
25
|
-
"baseName": "project",
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format": ""
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "status",
|
|
31
|
-
"baseName": "status",
|
|
32
|
-
"type": "string",
|
|
33
|
-
"format": ""
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"name": "_public",
|
|
37
|
-
"baseName": "public",
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"format": ""
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "userId",
|
|
43
|
-
"baseName": "user_id",
|
|
44
|
-
"type": "string",
|
|
45
|
-
"format": ""
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "progress",
|
|
49
|
-
"baseName": "progress",
|
|
50
|
-
"type": "number",
|
|
51
|
-
"format": ""
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "logs",
|
|
55
|
-
"baseName": "logs",
|
|
56
|
-
"type": "string",
|
|
57
|
-
"format": ""
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"name": "data",
|
|
61
|
-
"baseName": "data",
|
|
62
|
-
"type": "RenderData",
|
|
63
|
-
"format": ""
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "result",
|
|
67
|
-
"baseName": "result",
|
|
68
|
-
"type": "Media",
|
|
69
|
-
"format": ""
|
|
69
|
+
function RenderResponseToJSON(json) {
|
|
70
|
+
return RenderResponseToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
function RenderResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
70
75
|
}
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
return {
|
|
77
|
+
'id': value['id'],
|
|
78
|
+
'title': value['title'],
|
|
79
|
+
'project': value['project'],
|
|
80
|
+
'status': value['status'],
|
|
81
|
+
'public': value['_public'],
|
|
82
|
+
'user_id': value['userId'],
|
|
83
|
+
'progress': value['progress'],
|
|
84
|
+
'logs': value['logs'],
|
|
85
|
+
'data': (0, RenderData_1.RenderDataToJSON)(value['data']),
|
|
86
|
+
'result': (0, Media_1.MediaToJSON)(value['result']),
|
|
87
|
+
};
|
|
88
|
+
}
|
package/dist/models/Resize.d.ts
CHANGED
|
@@ -1,21 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
/**
|
|
2
|
+
* FFmpeglab
|
|
3
|
+
* FFmpeglab API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Resize
|
|
16
|
+
*/
|
|
17
|
+
export interface Resize {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof Resize
|
|
22
|
+
*/
|
|
23
|
+
x: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Resize
|
|
28
|
+
*/
|
|
29
|
+
y: number;
|
|
21
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Resize interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfResize(value: object): value is Resize;
|
|
35
|
+
export declare function ResizeFromJSON(json: any): Resize;
|
|
36
|
+
export declare function ResizeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Resize;
|
|
37
|
+
export declare function ResizeToJSON(json: any): Resize;
|
|
38
|
+
export declare function ResizeToJSONTyped(value?: Resize | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/Resize.js
CHANGED
|
@@ -1,24 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FFmpeglab
|
|
6
|
+
* FFmpeglab API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResize = instanceOfResize;
|
|
17
|
+
exports.ResizeFromJSON = ResizeFromJSON;
|
|
18
|
+
exports.ResizeFromJSONTyped = ResizeFromJSONTyped;
|
|
19
|
+
exports.ResizeToJSON = ResizeToJSON;
|
|
20
|
+
exports.ResizeToJSONTyped = ResizeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Resize interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResize(value) {
|
|
25
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ResizeFromJSON(json) {
|
|
32
|
+
return ResizeFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ResizeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
6
37
|
}
|
|
38
|
+
return {
|
|
39
|
+
'x': json['x'],
|
|
40
|
+
'y': json['y'],
|
|
41
|
+
};
|
|
7
42
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"type": "number",
|
|
15
|
-
"format": ""
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "y",
|
|
19
|
-
"baseName": "y",
|
|
20
|
-
"type": "number",
|
|
21
|
-
"format": ""
|
|
43
|
+
function ResizeToJSON(json) {
|
|
44
|
+
return ResizeToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ResizeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
22
49
|
}
|
|
23
|
-
|
|
24
|
-
|
|
50
|
+
return {
|
|
51
|
+
'x': value['x'],
|
|
52
|
+
'y': value['y'],
|
|
53
|
+
};
|
|
54
|
+
}
|
package/dist/models/RunDto.d.ts
CHANGED
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
/**
|
|
2
|
+
* FFmpeglab
|
|
3
|
+
* FFmpeglab API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RunDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RunDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RunDto
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
20
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RunDto interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRunDto(value: object): value is RunDto;
|
|
29
|
+
export declare function RunDtoFromJSON(json: any): RunDto;
|
|
30
|
+
export declare function RunDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RunDto;
|
|
31
|
+
export declare function RunDtoToJSON(json: any): RunDto;
|
|
32
|
+
export declare function RunDtoToJSONTyped(value?: RunDto | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/RunDto.js
CHANGED
|
@@ -1,18 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* FFmpeglab
|
|
6
|
+
* FFmpeglab API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRunDto = instanceOfRunDto;
|
|
17
|
+
exports.RunDtoFromJSON = RunDtoFromJSON;
|
|
18
|
+
exports.RunDtoFromJSONTyped = RunDtoFromJSONTyped;
|
|
19
|
+
exports.RunDtoToJSON = RunDtoToJSON;
|
|
20
|
+
exports.RunDtoToJSONTyped = RunDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RunDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRunDto(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function RunDtoFromJSON(json) {
|
|
30
|
+
return RunDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function RunDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
6
35
|
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
};
|
|
7
39
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"type": "string",
|
|
15
|
-
"format": ""
|
|
40
|
+
function RunDtoToJSON(json) {
|
|
41
|
+
return RunDtoToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function RunDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
16
46
|
}
|
|
17
|
-
|
|
18
|
-
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export * from './EditorLayer';
|
|
2
|
+
export * from './EditorLayerParams';
|
|
3
|
+
export * from './EditorProject';
|
|
4
|
+
export * from './EditorProjectConfiguration';
|
|
5
|
+
export * from './EncoderProject';
|
|
6
|
+
export * from './EncoderProjectEncoding';
|
|
7
|
+
export * from './Media';
|
|
8
|
+
export * from './PositionParams';
|
|
9
|
+
export * from './RGB';
|
|
10
|
+
export * from './RenderData';
|
|
11
|
+
export * from './RenderDto';
|
|
12
|
+
export * from './RenderResponse';
|
|
13
|
+
export * from './Resize';
|
|
14
|
+
export * from './RunDto';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./EditorLayer"), exports);
|
|
20
|
+
__exportStar(require("./EditorLayerParams"), exports);
|
|
21
|
+
__exportStar(require("./EditorProject"), exports);
|
|
22
|
+
__exportStar(require("./EditorProjectConfiguration"), exports);
|
|
23
|
+
__exportStar(require("./EncoderProject"), exports);
|
|
24
|
+
__exportStar(require("./EncoderProjectEncoding"), exports);
|
|
25
|
+
__exportStar(require("./Media"), exports);
|
|
26
|
+
__exportStar(require("./PositionParams"), exports);
|
|
27
|
+
__exportStar(require("./RGB"), exports);
|
|
28
|
+
__exportStar(require("./RenderData"), exports);
|
|
29
|
+
__exportStar(require("./RenderDto"), exports);
|
|
30
|
+
__exportStar(require("./RenderResponse"), exports);
|
|
31
|
+
__exportStar(require("./Resize"), exports);
|
|
32
|
+
__exportStar(require("./RunDto"), exports);
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* FFmpeglab
|
|
3
|
+
* FFmpeglab API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string | Promise<string>) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
130
|
+
export declare function anyToJSON(value: any): any;
|
|
131
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
132
|
+
export interface Consume {
|
|
133
|
+
contentType: string;
|
|
134
|
+
}
|
|
135
|
+
export interface RequestContext {
|
|
136
|
+
fetch: FetchAPI;
|
|
137
|
+
url: string;
|
|
138
|
+
init: RequestInit;
|
|
139
|
+
}
|
|
140
|
+
export interface ResponseContext {
|
|
141
|
+
fetch: FetchAPI;
|
|
142
|
+
url: string;
|
|
143
|
+
init: RequestInit;
|
|
144
|
+
response: Response;
|
|
145
|
+
}
|
|
146
|
+
export interface ErrorContext {
|
|
147
|
+
fetch: FetchAPI;
|
|
148
|
+
url: string;
|
|
149
|
+
init: RequestInit;
|
|
150
|
+
error: unknown;
|
|
151
|
+
response?: Response;
|
|
152
|
+
}
|
|
153
|
+
export interface Middleware {
|
|
154
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
155
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
156
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
157
|
+
}
|
|
158
|
+
export interface ApiResponse<T> {
|
|
159
|
+
raw: Response;
|
|
160
|
+
value(): Promise<T>;
|
|
161
|
+
}
|
|
162
|
+
export interface ResponseTransformer<T> {
|
|
163
|
+
(json: any): T;
|
|
164
|
+
}
|
|
165
|
+
export declare class JSONApiResponse<T> {
|
|
166
|
+
raw: Response;
|
|
167
|
+
private transformer;
|
|
168
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
169
|
+
value(): Promise<T>;
|
|
170
|
+
}
|
|
171
|
+
export declare class VoidApiResponse {
|
|
172
|
+
raw: Response;
|
|
173
|
+
constructor(raw: Response);
|
|
174
|
+
value(): Promise<void>;
|
|
175
|
+
}
|
|
176
|
+
export declare class BlobApiResponse {
|
|
177
|
+
raw: Response;
|
|
178
|
+
constructor(raw: Response);
|
|
179
|
+
value(): Promise<Blob>;
|
|
180
|
+
}
|
|
181
|
+
export declare class TextApiResponse {
|
|
182
|
+
raw: Response;
|
|
183
|
+
constructor(raw: Response);
|
|
184
|
+
value(): Promise<string>;
|
|
185
|
+
}
|