ffmpeglab-sdk 0.4.16 → 0.4.18
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 +4 -2
- package/dist/apis/FilesApi.d.ts +27 -0
- package/dist/apis/FilesApi.js +41 -0
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/esm/apis/FilesApi.d.ts +27 -0
- package/dist/esm/apis/FilesApi.js +41 -0
- package/dist/esm/apis/index.d.ts +0 -1
- package/dist/esm/apis/index.js +0 -1
- package/dist/esm/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/esm/models/EncoderProjectEncoding.js +2 -0
- package/dist/esm/models/S3Config.d.ts +57 -0
- package/dist/esm/models/S3Config.js +60 -0
- package/dist/esm/models/S3Credentials.d.ts +44 -0
- package/dist/esm/models/S3Credentials.js +51 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/EncoderProjectEncoding.d.ts +2 -0
- package/dist/models/EncoderProjectEncoding.js +2 -0
- package/dist/models/S3Config.d.ts +57 -0
- package/dist/models/S3Config.js +67 -0
- package/dist/models/S3Credentials.d.ts +44 -0
- package/dist/models/S3Credentials.js +58 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/docs/FilesApi.md +62 -0
- package/docs/S3Config.md +42 -0
- package/docs/S3Credentials.md +38 -0
- package/package.json +1 -1
- package/src/apis/FilesApi.ts +67 -0
- package/src/apis/index.ts +0 -1
- package/src/models/EncoderProjectEncoding.ts +2 -0
- package/src/models/S3Config.ts +110 -0
- package/src/models/S3Credentials.ts +84 -0
- package/src/models/index.ts +2 -0
- package/dist/apis/AppApi.d.ts +0 -51
- package/dist/apis/AppApi.js +0 -64
- package/dist/esm/apis/AppApi.d.ts +0 -51
- package/dist/esm/apis/AppApi.js +0 -60
- package/src/apis/AppApi.ts +0 -84
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
docs/AppApi.md
|
|
4
3
|
docs/CreatePipelineDto.md
|
|
5
4
|
docs/EditorLayer.md
|
|
6
5
|
docs/EditorLayerParams.md
|
|
@@ -25,10 +24,11 @@ docs/RenderResponse.md
|
|
|
25
24
|
docs/RendersApi.md
|
|
26
25
|
docs/Resize.md
|
|
27
26
|
docs/RunDto.md
|
|
27
|
+
docs/S3Config.md
|
|
28
|
+
docs/S3Credentials.md
|
|
28
29
|
docs/TranspilerRequest.md
|
|
29
30
|
docs/TranspilerResponse.md
|
|
30
31
|
docs/UpdatePipelineDto.md
|
|
31
|
-
src/apis/AppApi.ts
|
|
32
32
|
src/apis/FilesApi.ts
|
|
33
33
|
src/apis/PipelinesApi.ts
|
|
34
34
|
src/apis/RendersApi.ts
|
|
@@ -55,6 +55,8 @@ src/models/RenderDto.ts
|
|
|
55
55
|
src/models/RenderResponse.ts
|
|
56
56
|
src/models/Resize.ts
|
|
57
57
|
src/models/RunDto.ts
|
|
58
|
+
src/models/S3Config.ts
|
|
59
|
+
src/models/S3Credentials.ts
|
|
58
60
|
src/models/TranspilerRequest.ts
|
|
59
61
|
src/models/TranspilerResponse.ts
|
|
60
62
|
src/models/UpdatePipelineDto.ts
|
package/dist/apis/FilesApi.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type FileListDto } from '../models/FileListDto';
|
|
14
14
|
import { type FileResponseDto } from '../models/FileResponseDto';
|
|
15
|
+
import { type S3Config } from '../models/S3Config';
|
|
15
16
|
export interface FilesControllerFileRequest {
|
|
16
17
|
id: string;
|
|
17
18
|
}
|
|
@@ -59,6 +60,22 @@ export interface FilesApiInterface {
|
|
|
59
60
|
/**
|
|
60
61
|
*/
|
|
61
62
|
filesControllerList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileListDto>>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof FilesApiInterface
|
|
67
|
+
*/
|
|
68
|
+
filesControllerS3RequestOpts(): Promise<runtime.RequestOpts>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
* @memberof FilesApiInterface
|
|
74
|
+
*/
|
|
75
|
+
filesControllerS3Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<S3Config>>;
|
|
76
|
+
/**
|
|
77
|
+
*/
|
|
78
|
+
filesControllerS3(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<S3Config>;
|
|
62
79
|
/**
|
|
63
80
|
* Creates request options for filesControllerUpload without sending the request
|
|
64
81
|
* @param {Blob} file
|
|
@@ -102,6 +119,16 @@ export declare class FilesApi extends runtime.BaseAPI implements FilesApiInterfa
|
|
|
102
119
|
/**
|
|
103
120
|
*/
|
|
104
121
|
filesControllerList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileListDto>>;
|
|
122
|
+
/**
|
|
123
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
124
|
+
*/
|
|
125
|
+
filesControllerS3RequestOpts(): Promise<runtime.RequestOpts>;
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
filesControllerS3Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<S3Config>>;
|
|
129
|
+
/**
|
|
130
|
+
*/
|
|
131
|
+
filesControllerS3(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<S3Config>;
|
|
105
132
|
/**
|
|
106
133
|
* Creates request options for filesControllerUpload without sending the request
|
|
107
134
|
*/
|
package/dist/apis/FilesApi.js
CHANGED
|
@@ -26,6 +26,7 @@ exports.FilesApi = void 0;
|
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const FileListDto_1 = require("../models/FileListDto");
|
|
28
28
|
const FileResponseDto_1 = require("../models/FileResponseDto");
|
|
29
|
+
const S3Config_1 = require("../models/S3Config");
|
|
29
30
|
/**
|
|
30
31
|
*
|
|
31
32
|
*/
|
|
@@ -114,6 +115,46 @@ class FilesApi extends runtime.BaseAPI {
|
|
|
114
115
|
return yield response.value();
|
|
115
116
|
});
|
|
116
117
|
}
|
|
118
|
+
/**
|
|
119
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
120
|
+
*/
|
|
121
|
+
filesControllerS3RequestOpts() {
|
|
122
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
+
const queryParameters = {};
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
126
|
+
const token = this.configuration.accessToken;
|
|
127
|
+
const tokenString = yield token("bearer", []);
|
|
128
|
+
if (tokenString) {
|
|
129
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
let urlPath = `/files/s3config`;
|
|
133
|
+
return {
|
|
134
|
+
path: urlPath,
|
|
135
|
+
method: 'GET',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
*/
|
|
143
|
+
filesControllerS3Raw(initOverrides) {
|
|
144
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
145
|
+
const requestOptions = yield this.filesControllerS3RequestOpts();
|
|
146
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
147
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, S3Config_1.S3ConfigFromJSON)(jsonValue));
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
*/
|
|
152
|
+
filesControllerS3(initOverrides) {
|
|
153
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
154
|
+
const response = yield this.filesControllerS3Raw(initOverrides);
|
|
155
|
+
return yield response.value();
|
|
156
|
+
});
|
|
157
|
+
}
|
|
117
158
|
/**
|
|
118
159
|
* Creates request options for filesControllerUpload without sending the request
|
|
119
160
|
*/
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -16,7 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
-
__exportStar(require("./AppApi"), exports);
|
|
20
19
|
__exportStar(require("./FilesApi"), exports);
|
|
21
20
|
__exportStar(require("./PipelinesApi"), exports);
|
|
22
21
|
__exportStar(require("./RendersApi"), exports);
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import { type FileListDto } from '../models/FileListDto';
|
|
14
14
|
import { type FileResponseDto } from '../models/FileResponseDto';
|
|
15
|
+
import { type S3Config } from '../models/S3Config';
|
|
15
16
|
export interface FilesControllerFileRequest {
|
|
16
17
|
id: string;
|
|
17
18
|
}
|
|
@@ -59,6 +60,22 @@ export interface FilesApiInterface {
|
|
|
59
60
|
/**
|
|
60
61
|
*/
|
|
61
62
|
filesControllerList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileListDto>>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
* @memberof FilesApiInterface
|
|
67
|
+
*/
|
|
68
|
+
filesControllerS3RequestOpts(): Promise<runtime.RequestOpts>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
* @memberof FilesApiInterface
|
|
74
|
+
*/
|
|
75
|
+
filesControllerS3Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<S3Config>>;
|
|
76
|
+
/**
|
|
77
|
+
*/
|
|
78
|
+
filesControllerS3(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<S3Config>;
|
|
62
79
|
/**
|
|
63
80
|
* Creates request options for filesControllerUpload without sending the request
|
|
64
81
|
* @param {Blob} file
|
|
@@ -102,6 +119,16 @@ export declare class FilesApi extends runtime.BaseAPI implements FilesApiInterfa
|
|
|
102
119
|
/**
|
|
103
120
|
*/
|
|
104
121
|
filesControllerList(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileListDto>>;
|
|
122
|
+
/**
|
|
123
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
124
|
+
*/
|
|
125
|
+
filesControllerS3RequestOpts(): Promise<runtime.RequestOpts>;
|
|
126
|
+
/**
|
|
127
|
+
*/
|
|
128
|
+
filesControllerS3Raw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<S3Config>>;
|
|
129
|
+
/**
|
|
130
|
+
*/
|
|
131
|
+
filesControllerS3(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<S3Config>;
|
|
105
132
|
/**
|
|
106
133
|
* Creates request options for filesControllerUpload without sending the request
|
|
107
134
|
*/
|
|
@@ -23,6 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
24
|
import { FileListDtoFromJSON, } from '../models/FileListDto';
|
|
25
25
|
import { FileResponseDtoFromJSON, } from '../models/FileResponseDto';
|
|
26
|
+
import { S3ConfigFromJSON, } from '../models/S3Config';
|
|
26
27
|
/**
|
|
27
28
|
*
|
|
28
29
|
*/
|
|
@@ -111,6 +112,46 @@ export class FilesApi extends runtime.BaseAPI {
|
|
|
111
112
|
return yield response.value();
|
|
112
113
|
});
|
|
113
114
|
}
|
|
115
|
+
/**
|
|
116
|
+
* Creates request options for filesControllerS3 without sending the request
|
|
117
|
+
*/
|
|
118
|
+
filesControllerS3RequestOpts() {
|
|
119
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
120
|
+
const queryParameters = {};
|
|
121
|
+
const headerParameters = {};
|
|
122
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
123
|
+
const token = this.configuration.accessToken;
|
|
124
|
+
const tokenString = yield token("bearer", []);
|
|
125
|
+
if (tokenString) {
|
|
126
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
let urlPath = `/files/s3config`;
|
|
130
|
+
return {
|
|
131
|
+
path: urlPath,
|
|
132
|
+
method: 'GET',
|
|
133
|
+
headers: headerParameters,
|
|
134
|
+
query: queryParameters,
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
*/
|
|
140
|
+
filesControllerS3Raw(initOverrides) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
const requestOptions = yield this.filesControllerS3RequestOpts();
|
|
143
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
144
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => S3ConfigFromJSON(jsonValue));
|
|
145
|
+
});
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
*/
|
|
149
|
+
filesControllerS3(initOverrides) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
const response = yield this.filesControllerS3Raw(initOverrides);
|
|
152
|
+
return yield response.value();
|
|
153
|
+
});
|
|
154
|
+
}
|
|
114
155
|
/**
|
|
115
156
|
* Creates request options for filesControllerUpload without sending the request
|
|
116
157
|
*/
|
package/dist/esm/apis/index.d.ts
CHANGED
package/dist/esm/apis/index.js
CHANGED
|
@@ -218,6 +218,7 @@ export type EncoderProjectEncodingSpeedEnum = typeof EncoderProjectEncodingSpeed
|
|
|
218
218
|
* @export
|
|
219
219
|
*/
|
|
220
220
|
export declare const EncoderProjectEncodingTransitionInEnum: {
|
|
221
|
+
readonly None: "none";
|
|
221
222
|
readonly Fade: "fade";
|
|
222
223
|
readonly Fadeblack: "fadeblack";
|
|
223
224
|
readonly Fadewhite: "fadewhite";
|
|
@@ -264,6 +265,7 @@ export type EncoderProjectEncodingTransitionInEnum = typeof EncoderProjectEncodi
|
|
|
264
265
|
* @export
|
|
265
266
|
*/
|
|
266
267
|
export declare const EncoderProjectEncodingTransitionOutEnum: {
|
|
268
|
+
readonly None: "none";
|
|
267
269
|
readonly Fade: "fade";
|
|
268
270
|
readonly Fadeblack: "fadeblack";
|
|
269
271
|
readonly Fadewhite: "fadewhite";
|
|
@@ -66,6 +66,7 @@ export const EncoderProjectEncodingSpeedEnum = {
|
|
|
66
66
|
* @export
|
|
67
67
|
*/
|
|
68
68
|
export const EncoderProjectEncodingTransitionInEnum = {
|
|
69
|
+
None: 'none',
|
|
69
70
|
Fade: 'fade',
|
|
70
71
|
Fadeblack: 'fadeblack',
|
|
71
72
|
Fadewhite: 'fadewhite',
|
|
@@ -111,6 +112,7 @@ export const EncoderProjectEncodingTransitionInEnum = {
|
|
|
111
112
|
* @export
|
|
112
113
|
*/
|
|
113
114
|
export const EncoderProjectEncodingTransitionOutEnum = {
|
|
115
|
+
None: 'none',
|
|
114
116
|
Fade: 'fade',
|
|
115
117
|
Fadeblack: 'fadeblack',
|
|
116
118
|
Fadewhite: 'fadewhite',
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
import type { S3Credentials } from './S3Credentials';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface S3Config
|
|
17
|
+
*/
|
|
18
|
+
export interface S3Config {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof S3Config
|
|
23
|
+
*/
|
|
24
|
+
bucketId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof S3Config
|
|
29
|
+
*/
|
|
30
|
+
region: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof S3Config
|
|
35
|
+
*/
|
|
36
|
+
endpoint: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof S3Config
|
|
41
|
+
*/
|
|
42
|
+
userId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {S3Credentials}
|
|
46
|
+
* @memberof S3Config
|
|
47
|
+
*/
|
|
48
|
+
credentials: S3Credentials;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the S3Config interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfS3Config(value: object): value is S3Config;
|
|
54
|
+
export declare function S3ConfigFromJSON(json: any): S3Config;
|
|
55
|
+
export declare function S3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Config;
|
|
56
|
+
export declare function S3ConfigToJSON(json: any): S3Config;
|
|
57
|
+
export declare function S3ConfigToJSONTyped(value?: S3Config | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import { S3CredentialsFromJSON, S3CredentialsToJSON, } from './S3Credentials';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the S3Config interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfS3Config(value) {
|
|
19
|
+
if (!('bucketId' in value) || value['bucketId'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('endpoint' in value) || value['endpoint'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('userId' in value) || value['userId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('credentials' in value) || value['credentials'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function S3ConfigFromJSON(json) {
|
|
32
|
+
return S3ConfigFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function S3ConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'bucketId': json['bucketId'],
|
|
40
|
+
'region': json['region'],
|
|
41
|
+
'endpoint': json['endpoint'],
|
|
42
|
+
'userId': json['userId'],
|
|
43
|
+
'credentials': S3CredentialsFromJSON(json['credentials']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function S3ConfigToJSON(json) {
|
|
47
|
+
return S3ConfigToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function S3ConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'bucketId': value['bucketId'],
|
|
55
|
+
'region': value['region'],
|
|
56
|
+
'endpoint': value['endpoint'],
|
|
57
|
+
'userId': value['userId'],
|
|
58
|
+
'credentials': S3CredentialsToJSON(value['credentials']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 S3Credentials
|
|
16
|
+
*/
|
|
17
|
+
export interface S3Credentials {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof S3Credentials
|
|
22
|
+
*/
|
|
23
|
+
accessKeyId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof S3Credentials
|
|
28
|
+
*/
|
|
29
|
+
secretAccessKey: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof S3Credentials
|
|
34
|
+
*/
|
|
35
|
+
sessionToken: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the S3Credentials interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfS3Credentials(value: object): value is S3Credentials;
|
|
41
|
+
export declare function S3CredentialsFromJSON(json: any): S3Credentials;
|
|
42
|
+
export declare function S3CredentialsFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Credentials;
|
|
43
|
+
export declare function S3CredentialsToJSON(json: any): S3Credentials;
|
|
44
|
+
export declare function S3CredentialsToJSONTyped(value?: S3Credentials | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the S3Credentials interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfS3Credentials(value) {
|
|
18
|
+
if (!('accessKeyId' in value) || value['accessKeyId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('secretAccessKey' in value) || value['secretAccessKey'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('sessionToken' in value) || value['sessionToken'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function S3CredentialsFromJSON(json) {
|
|
27
|
+
return S3CredentialsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function S3CredentialsFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'accessKeyId': json['accessKeyId'],
|
|
35
|
+
'secretAccessKey': json['secretAccessKey'],
|
|
36
|
+
'sessionToken': json['sessionToken'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function S3CredentialsToJSON(json) {
|
|
40
|
+
return S3CredentialsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function S3CredentialsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'accessKeyId': value['accessKeyId'],
|
|
48
|
+
'secretAccessKey': value['secretAccessKey'],
|
|
49
|
+
'sessionToken': value['sessionToken'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -19,6 +19,8 @@ export * from './RenderDto';
|
|
|
19
19
|
export * from './RenderResponse';
|
|
20
20
|
export * from './Resize';
|
|
21
21
|
export * from './RunDto';
|
|
22
|
+
export * from './S3Config';
|
|
23
|
+
export * from './S3Credentials';
|
|
22
24
|
export * from './TranspilerRequest';
|
|
23
25
|
export * from './TranspilerResponse';
|
|
24
26
|
export * from './UpdatePipelineDto';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -21,6 +21,8 @@ export * from './RenderDto';
|
|
|
21
21
|
export * from './RenderResponse';
|
|
22
22
|
export * from './Resize';
|
|
23
23
|
export * from './RunDto';
|
|
24
|
+
export * from './S3Config';
|
|
25
|
+
export * from './S3Credentials';
|
|
24
26
|
export * from './TranspilerRequest';
|
|
25
27
|
export * from './TranspilerResponse';
|
|
26
28
|
export * from './UpdatePipelineDto';
|
|
@@ -218,6 +218,7 @@ export type EncoderProjectEncodingSpeedEnum = typeof EncoderProjectEncodingSpeed
|
|
|
218
218
|
* @export
|
|
219
219
|
*/
|
|
220
220
|
export declare const EncoderProjectEncodingTransitionInEnum: {
|
|
221
|
+
readonly None: "none";
|
|
221
222
|
readonly Fade: "fade";
|
|
222
223
|
readonly Fadeblack: "fadeblack";
|
|
223
224
|
readonly Fadewhite: "fadewhite";
|
|
@@ -264,6 +265,7 @@ export type EncoderProjectEncodingTransitionInEnum = typeof EncoderProjectEncodi
|
|
|
264
265
|
* @export
|
|
265
266
|
*/
|
|
266
267
|
export declare const EncoderProjectEncodingTransitionOutEnum: {
|
|
268
|
+
readonly None: "none";
|
|
267
269
|
readonly Fade: "fade";
|
|
268
270
|
readonly Fadeblack: "fadeblack";
|
|
269
271
|
readonly Fadewhite: "fadewhite";
|
|
@@ -74,6 +74,7 @@ exports.EncoderProjectEncodingSpeedEnum = {
|
|
|
74
74
|
* @export
|
|
75
75
|
*/
|
|
76
76
|
exports.EncoderProjectEncodingTransitionInEnum = {
|
|
77
|
+
None: 'none',
|
|
77
78
|
Fade: 'fade',
|
|
78
79
|
Fadeblack: 'fadeblack',
|
|
79
80
|
Fadewhite: 'fadewhite',
|
|
@@ -119,6 +120,7 @@ exports.EncoderProjectEncodingTransitionInEnum = {
|
|
|
119
120
|
* @export
|
|
120
121
|
*/
|
|
121
122
|
exports.EncoderProjectEncodingTransitionOutEnum = {
|
|
123
|
+
None: 'none',
|
|
122
124
|
Fade: 'fade',
|
|
123
125
|
Fadeblack: 'fadeblack',
|
|
124
126
|
Fadewhite: 'fadewhite',
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
import type { S3Credentials } from './S3Credentials';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface S3Config
|
|
17
|
+
*/
|
|
18
|
+
export interface S3Config {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof S3Config
|
|
23
|
+
*/
|
|
24
|
+
bucketId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof S3Config
|
|
29
|
+
*/
|
|
30
|
+
region: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof S3Config
|
|
35
|
+
*/
|
|
36
|
+
endpoint: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof S3Config
|
|
41
|
+
*/
|
|
42
|
+
userId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {S3Credentials}
|
|
46
|
+
* @memberof S3Config
|
|
47
|
+
*/
|
|
48
|
+
credentials: S3Credentials;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the S3Config interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfS3Config(value: object): value is S3Config;
|
|
54
|
+
export declare function S3ConfigFromJSON(json: any): S3Config;
|
|
55
|
+
export declare function S3ConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): S3Config;
|
|
56
|
+
export declare function S3ConfigToJSON(json: any): S3Config;
|
|
57
|
+
export declare function S3ConfigToJSONTyped(value?: S3Config | null, ignoreDiscriminator?: boolean): any;
|