ffmpeglab-sdk 0.4.20 → 0.5.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/.openapi-generator/FILES +2 -0
- package/dist/apis/ApiKeyApi.d.ts +108 -0
- package/dist/apis/ApiKeyApi.js +155 -0
- package/dist/apis/PipelinesApi.d.ts +62 -0
- package/dist/apis/PipelinesApi.js +87 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ApiKeyApi.d.ts +108 -0
- package/dist/esm/apis/ApiKeyApi.js +151 -0
- package/dist/esm/apis/PipelinesApi.d.ts +62 -0
- package/dist/esm/apis/PipelinesApi.js +87 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/CreatePipelineDto.d.ts +6 -0
- package/dist/esm/models/CreatePipelineDto.js +4 -0
- package/dist/esm/models/Pipeline.d.ts +6 -0
- package/dist/esm/models/Pipeline.js +4 -0
- package/dist/models/CreatePipelineDto.d.ts +6 -0
- package/dist/models/CreatePipelineDto.js +4 -0
- package/dist/models/Pipeline.d.ts +6 -0
- package/dist/models/Pipeline.js +4 -0
- package/docs/ApiKeyApi.md +202 -0
- package/docs/CreatePipelineDto.md +2 -0
- package/docs/Pipeline.md +2 -0
- package/docs/PipelinesApi.md +140 -0
- package/package.json +1 -1
- package/src/apis/ApiKeyApi.ts +230 -0
- package/src/apis/PipelinesApi.ts +151 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CreatePipelineDto.ts +9 -0
- package/src/models/Pipeline.ts +9 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
+
docs/ApiKeyApi.md
|
|
3
4
|
docs/CreatePipelineDto.md
|
|
4
5
|
docs/EditorLayer.md
|
|
5
6
|
docs/EditorLayerParams.md
|
|
@@ -29,6 +30,7 @@ docs/S3Credentials.md
|
|
|
29
30
|
docs/TranspilerRequest.md
|
|
30
31
|
docs/TranspilerResponse.md
|
|
31
32
|
docs/UpdatePipelineDto.md
|
|
33
|
+
src/apis/ApiKeyApi.ts
|
|
32
34
|
src/apis/FilesApi.ts
|
|
33
35
|
src/apis/PipelinesApi.ts
|
|
34
36
|
src/apis/RendersApi.ts
|
|
@@ -0,0 +1,108 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
export interface ApiKeyControllerDeleteOneRequest {
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* ApiKeyApi - interface
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ApiKeyApiInterface
|
|
21
|
+
*/
|
|
22
|
+
export interface ApiKeyApiInterface {
|
|
23
|
+
/**
|
|
24
|
+
* Creates request options for apiKeyControllerCreate without sending the request
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
* @memberof ApiKeyApiInterface
|
|
27
|
+
*/
|
|
28
|
+
apiKeyControllerCreateRequestOpts(): Promise<runtime.RequestOpts>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
* @memberof ApiKeyApiInterface
|
|
34
|
+
*/
|
|
35
|
+
apiKeyControllerCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
apiKeyControllerCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for apiKeyControllerDeleteOne without sending the request
|
|
41
|
+
* @param {string} id The ID of the pipeline
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
* @memberof ApiKeyApiInterface
|
|
44
|
+
*/
|
|
45
|
+
apiKeyControllerDeleteOneRequestOpts(requestParameters: ApiKeyControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param {string} id The ID of the pipeline
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
* @memberof ApiKeyApiInterface
|
|
52
|
+
*/
|
|
53
|
+
apiKeyControllerDeleteOneRaw(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
56
|
+
apiKeyControllerDeleteOne(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Creates request options for apiKeyControllerFindAll without sending the request
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
* @memberof ApiKeyApiInterface
|
|
61
|
+
*/
|
|
62
|
+
apiKeyControllerFindAllRequestOpts(): Promise<runtime.RequestOpts>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof ApiKeyApiInterface
|
|
68
|
+
*/
|
|
69
|
+
apiKeyControllerFindAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<object>>>;
|
|
70
|
+
/**
|
|
71
|
+
*/
|
|
72
|
+
apiKeyControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<object>>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ApiKeyApi extends runtime.BaseAPI implements ApiKeyApiInterface {
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for apiKeyControllerCreate without sending the request
|
|
80
|
+
*/
|
|
81
|
+
apiKeyControllerCreateRequestOpts(): Promise<runtime.RequestOpts>;
|
|
82
|
+
/**
|
|
83
|
+
*/
|
|
84
|
+
apiKeyControllerCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
85
|
+
/**
|
|
86
|
+
*/
|
|
87
|
+
apiKeyControllerCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates request options for apiKeyControllerDeleteOne without sending the request
|
|
90
|
+
*/
|
|
91
|
+
apiKeyControllerDeleteOneRequestOpts(requestParameters: ApiKeyControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
92
|
+
/**
|
|
93
|
+
*/
|
|
94
|
+
apiKeyControllerDeleteOneRaw(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
95
|
+
/**
|
|
96
|
+
*/
|
|
97
|
+
apiKeyControllerDeleteOne(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Creates request options for apiKeyControllerFindAll without sending the request
|
|
100
|
+
*/
|
|
101
|
+
apiKeyControllerFindAllRequestOpts(): Promise<runtime.RequestOpts>;
|
|
102
|
+
/**
|
|
103
|
+
*/
|
|
104
|
+
apiKeyControllerFindAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<object>>>;
|
|
105
|
+
/**
|
|
106
|
+
*/
|
|
107
|
+
apiKeyControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<object>>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ApiKeyApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
class ApiKeyApi extends runtime.BaseAPI {
|
|
31
|
+
/**
|
|
32
|
+
* Creates request options for apiKeyControllerCreate without sending the request
|
|
33
|
+
*/
|
|
34
|
+
apiKeyControllerCreateRequestOpts() {
|
|
35
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
+
const queryParameters = {};
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
39
|
+
const token = this.configuration.accessToken;
|
|
40
|
+
const tokenString = yield token("bearer", []);
|
|
41
|
+
if (tokenString) {
|
|
42
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
let urlPath = `/apikey`;
|
|
46
|
+
return {
|
|
47
|
+
path: urlPath,
|
|
48
|
+
method: 'POST',
|
|
49
|
+
headers: headerParameters,
|
|
50
|
+
query: queryParameters,
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
56
|
+
apiKeyControllerCreateRaw(initOverrides) {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
const requestOptions = yield this.apiKeyControllerCreateRequestOpts();
|
|
59
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
60
|
+
return new runtime.JSONApiResponse(response);
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
*/
|
|
65
|
+
apiKeyControllerCreate(initOverrides) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
const response = yield this.apiKeyControllerCreateRaw(initOverrides);
|
|
68
|
+
return yield response.value();
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Creates request options for apiKeyControllerDeleteOne without sending the request
|
|
73
|
+
*/
|
|
74
|
+
apiKeyControllerDeleteOneRequestOpts(requestParameters) {
|
|
75
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
if (requestParameters['id'] == null) {
|
|
77
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling apiKeyControllerDeleteOne().');
|
|
78
|
+
}
|
|
79
|
+
const queryParameters = {};
|
|
80
|
+
const headerParameters = {};
|
|
81
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
82
|
+
const token = this.configuration.accessToken;
|
|
83
|
+
const tokenString = yield token("bearer", []);
|
|
84
|
+
if (tokenString) {
|
|
85
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
let urlPath = `/apikey/{id}`;
|
|
89
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
90
|
+
return {
|
|
91
|
+
path: urlPath,
|
|
92
|
+
method: 'DELETE',
|
|
93
|
+
headers: headerParameters,
|
|
94
|
+
query: queryParameters,
|
|
95
|
+
};
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
*/
|
|
100
|
+
apiKeyControllerDeleteOneRaw(requestParameters, initOverrides) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
const requestOptions = yield this.apiKeyControllerDeleteOneRequestOpts(requestParameters);
|
|
103
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
104
|
+
return new runtime.VoidApiResponse(response);
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
*/
|
|
109
|
+
apiKeyControllerDeleteOne(requestParameters, initOverrides) {
|
|
110
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
+
yield this.apiKeyControllerDeleteOneRaw(requestParameters, initOverrides);
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Creates request options for apiKeyControllerFindAll without sending the request
|
|
116
|
+
*/
|
|
117
|
+
apiKeyControllerFindAllRequestOpts() {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
const queryParameters = {};
|
|
120
|
+
const headerParameters = {};
|
|
121
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
122
|
+
const token = this.configuration.accessToken;
|
|
123
|
+
const tokenString = yield token("bearer", []);
|
|
124
|
+
if (tokenString) {
|
|
125
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
let urlPath = `/apikey`;
|
|
129
|
+
return {
|
|
130
|
+
path: urlPath,
|
|
131
|
+
method: 'GET',
|
|
132
|
+
headers: headerParameters,
|
|
133
|
+
query: queryParameters,
|
|
134
|
+
};
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
*/
|
|
139
|
+
apiKeyControllerFindAllRaw(initOverrides) {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
const requestOptions = yield this.apiKeyControllerFindAllRequestOpts();
|
|
142
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
143
|
+
return new runtime.JSONApiResponse(response);
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
*/
|
|
148
|
+
apiKeyControllerFindAll(initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
const response = yield this.apiKeyControllerFindAllRaw(initOverrides);
|
|
151
|
+
return yield response.value();
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
exports.ApiKeyApi = ApiKeyApi;
|
|
@@ -18,6 +18,12 @@ import { type UpdatePipelineDto } from '../models/UpdatePipelineDto';
|
|
|
18
18
|
export interface PipelinesControllerCreateRequest {
|
|
19
19
|
createPipelineDto: CreatePipelineDto;
|
|
20
20
|
}
|
|
21
|
+
export interface PipelinesControllerDeleteOneRequest {
|
|
22
|
+
id: string;
|
|
23
|
+
}
|
|
24
|
+
export interface PipelinesControllerFindByProjectRequest {
|
|
25
|
+
projectId: string;
|
|
26
|
+
}
|
|
21
27
|
export interface PipelinesControllerFindOneRequest {
|
|
22
28
|
id: string;
|
|
23
29
|
}
|
|
@@ -52,6 +58,24 @@ export interface PipelinesApiInterface {
|
|
|
52
58
|
/**
|
|
53
59
|
*/
|
|
54
60
|
pipelinesControllerCreate(requestParameters: PipelinesControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pipeline>;
|
|
61
|
+
/**
|
|
62
|
+
* Creates request options for pipelinesControllerDeleteOne without sending the request
|
|
63
|
+
* @param {string} id The ID of the pipeline
|
|
64
|
+
* @throws {RequiredError}
|
|
65
|
+
* @memberof PipelinesApiInterface
|
|
66
|
+
*/
|
|
67
|
+
pipelinesControllerDeleteOneRequestOpts(requestParameters: PipelinesControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @param {string} id The ID of the pipeline
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
* @memberof PipelinesApiInterface
|
|
74
|
+
*/
|
|
75
|
+
pipelinesControllerDeleteOneRaw(requestParameters: PipelinesControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
76
|
+
/**
|
|
77
|
+
*/
|
|
78
|
+
pipelinesControllerDeleteOne(requestParameters: PipelinesControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
55
79
|
/**
|
|
56
80
|
* Creates request options for pipelinesControllerFindAll without sending the request
|
|
57
81
|
* @throws {RequiredError}
|
|
@@ -68,6 +92,24 @@ export interface PipelinesApiInterface {
|
|
|
68
92
|
/**
|
|
69
93
|
*/
|
|
70
94
|
pipelinesControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Pipeline>>;
|
|
95
|
+
/**
|
|
96
|
+
* Creates request options for pipelinesControllerFindByProject without sending the request
|
|
97
|
+
* @param {string} projectId The projectId for the pipelines to be selected
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
* @memberof PipelinesApiInterface
|
|
100
|
+
*/
|
|
101
|
+
pipelinesControllerFindByProjectRequestOpts(requestParameters: PipelinesControllerFindByProjectRequest): Promise<runtime.RequestOpts>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @param {string} projectId The projectId for the pipelines to be selected
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
* @memberof PipelinesApiInterface
|
|
108
|
+
*/
|
|
109
|
+
pipelinesControllerFindByProjectRaw(requestParameters: PipelinesControllerFindByProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Pipeline>>>;
|
|
110
|
+
/**
|
|
111
|
+
*/
|
|
112
|
+
pipelinesControllerFindByProject(requestParameters: PipelinesControllerFindByProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Pipeline>>;
|
|
71
113
|
/**
|
|
72
114
|
* Creates request options for pipelinesControllerFindOne without sending the request
|
|
73
115
|
* @param {string} id The ID of the pipeline
|
|
@@ -137,6 +179,16 @@ export declare class PipelinesApi extends runtime.BaseAPI implements PipelinesAp
|
|
|
137
179
|
/**
|
|
138
180
|
*/
|
|
139
181
|
pipelinesControllerCreate(requestParameters: PipelinesControllerCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Pipeline>;
|
|
182
|
+
/**
|
|
183
|
+
* Creates request options for pipelinesControllerDeleteOne without sending the request
|
|
184
|
+
*/
|
|
185
|
+
pipelinesControllerDeleteOneRequestOpts(requestParameters: PipelinesControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
186
|
+
/**
|
|
187
|
+
*/
|
|
188
|
+
pipelinesControllerDeleteOneRaw(requestParameters: PipelinesControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
189
|
+
/**
|
|
190
|
+
*/
|
|
191
|
+
pipelinesControllerDeleteOne(requestParameters: PipelinesControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
140
192
|
/**
|
|
141
193
|
* Creates request options for pipelinesControllerFindAll without sending the request
|
|
142
194
|
*/
|
|
@@ -147,6 +199,16 @@ export declare class PipelinesApi extends runtime.BaseAPI implements PipelinesAp
|
|
|
147
199
|
/**
|
|
148
200
|
*/
|
|
149
201
|
pipelinesControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Pipeline>>;
|
|
202
|
+
/**
|
|
203
|
+
* Creates request options for pipelinesControllerFindByProject without sending the request
|
|
204
|
+
*/
|
|
205
|
+
pipelinesControllerFindByProjectRequestOpts(requestParameters: PipelinesControllerFindByProjectRequest): Promise<runtime.RequestOpts>;
|
|
206
|
+
/**
|
|
207
|
+
*/
|
|
208
|
+
pipelinesControllerFindByProjectRaw(requestParameters: PipelinesControllerFindByProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Pipeline>>>;
|
|
209
|
+
/**
|
|
210
|
+
*/
|
|
211
|
+
pipelinesControllerFindByProject(requestParameters: PipelinesControllerFindByProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Pipeline>>;
|
|
150
212
|
/**
|
|
151
213
|
* Creates request options for pipelinesControllerFindOne without sending the request
|
|
152
214
|
*/
|
|
@@ -78,6 +78,49 @@ class PipelinesApi extends runtime.BaseAPI {
|
|
|
78
78
|
return yield response.value();
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Creates request options for pipelinesControllerDeleteOne without sending the request
|
|
83
|
+
*/
|
|
84
|
+
pipelinesControllerDeleteOneRequestOpts(requestParameters) {
|
|
85
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
+
if (requestParameters['id'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling pipelinesControllerDeleteOne().');
|
|
88
|
+
}
|
|
89
|
+
const queryParameters = {};
|
|
90
|
+
const headerParameters = {};
|
|
91
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
92
|
+
const token = this.configuration.accessToken;
|
|
93
|
+
const tokenString = yield token("bearer", []);
|
|
94
|
+
if (tokenString) {
|
|
95
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
let urlPath = `/pipeline/{id}`;
|
|
99
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
100
|
+
return {
|
|
101
|
+
path: urlPath,
|
|
102
|
+
method: 'DELETE',
|
|
103
|
+
headers: headerParameters,
|
|
104
|
+
query: queryParameters,
|
|
105
|
+
};
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
*/
|
|
110
|
+
pipelinesControllerDeleteOneRaw(requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
const requestOptions = yield this.pipelinesControllerDeleteOneRequestOpts(requestParameters);
|
|
113
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
114
|
+
return new runtime.VoidApiResponse(response);
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
*/
|
|
119
|
+
pipelinesControllerDeleteOne(requestParameters, initOverrides) {
|
|
120
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
+
yield this.pipelinesControllerDeleteOneRaw(requestParameters, initOverrides);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
81
124
|
/**
|
|
82
125
|
* Creates request options for pipelinesControllerFindAll without sending the request
|
|
83
126
|
*/
|
|
@@ -118,6 +161,50 @@ class PipelinesApi extends runtime.BaseAPI {
|
|
|
118
161
|
return yield response.value();
|
|
119
162
|
});
|
|
120
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* Creates request options for pipelinesControllerFindByProject without sending the request
|
|
166
|
+
*/
|
|
167
|
+
pipelinesControllerFindByProjectRequestOpts(requestParameters) {
|
|
168
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
169
|
+
if (requestParameters['projectId'] == null) {
|
|
170
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling pipelinesControllerFindByProject().');
|
|
171
|
+
}
|
|
172
|
+
const queryParameters = {};
|
|
173
|
+
const headerParameters = {};
|
|
174
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
175
|
+
const token = this.configuration.accessToken;
|
|
176
|
+
const tokenString = yield token("bearer", []);
|
|
177
|
+
if (tokenString) {
|
|
178
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
let urlPath = `/pipeline/project/{projectId}`;
|
|
182
|
+
urlPath = urlPath.replace('{projectId}', encodeURIComponent(String(requestParameters['projectId'])));
|
|
183
|
+
return {
|
|
184
|
+
path: urlPath,
|
|
185
|
+
method: 'GET',
|
|
186
|
+
headers: headerParameters,
|
|
187
|
+
query: queryParameters,
|
|
188
|
+
};
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
*/
|
|
193
|
+
pipelinesControllerFindByProjectRaw(requestParameters, initOverrides) {
|
|
194
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
195
|
+
const requestOptions = yield this.pipelinesControllerFindByProjectRequestOpts(requestParameters);
|
|
196
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
197
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(Pipeline_1.PipelineFromJSON));
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*/
|
|
202
|
+
pipelinesControllerFindByProject(requestParameters, initOverrides) {
|
|
203
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
204
|
+
const response = yield this.pipelinesControllerFindByProjectRaw(requestParameters, initOverrides);
|
|
205
|
+
return yield response.value();
|
|
206
|
+
});
|
|
207
|
+
}
|
|
121
208
|
/**
|
|
122
209
|
* Creates request options for pipelinesControllerFindOne without sending the request
|
|
123
210
|
*/
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -16,6 +16,7 @@ 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("./ApiKeyApi"), exports);
|
|
19
20
|
__exportStar(require("./FilesApi"), exports);
|
|
20
21
|
__exportStar(require("./PipelinesApi"), exports);
|
|
21
22
|
__exportStar(require("./RendersApi"), exports);
|
|
@@ -0,0 +1,108 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
export interface ApiKeyControllerDeleteOneRequest {
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* ApiKeyApi - interface
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ApiKeyApiInterface
|
|
21
|
+
*/
|
|
22
|
+
export interface ApiKeyApiInterface {
|
|
23
|
+
/**
|
|
24
|
+
* Creates request options for apiKeyControllerCreate without sending the request
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
* @memberof ApiKeyApiInterface
|
|
27
|
+
*/
|
|
28
|
+
apiKeyControllerCreateRequestOpts(): Promise<runtime.RequestOpts>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
* @memberof ApiKeyApiInterface
|
|
34
|
+
*/
|
|
35
|
+
apiKeyControllerCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
36
|
+
/**
|
|
37
|
+
*/
|
|
38
|
+
apiKeyControllerCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for apiKeyControllerDeleteOne without sending the request
|
|
41
|
+
* @param {string} id The ID of the pipeline
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
* @memberof ApiKeyApiInterface
|
|
44
|
+
*/
|
|
45
|
+
apiKeyControllerDeleteOneRequestOpts(requestParameters: ApiKeyControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @param {string} id The ID of the pipeline
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
* @memberof ApiKeyApiInterface
|
|
52
|
+
*/
|
|
53
|
+
apiKeyControllerDeleteOneRaw(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
54
|
+
/**
|
|
55
|
+
*/
|
|
56
|
+
apiKeyControllerDeleteOne(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
57
|
+
/**
|
|
58
|
+
* Creates request options for apiKeyControllerFindAll without sending the request
|
|
59
|
+
* @throws {RequiredError}
|
|
60
|
+
* @memberof ApiKeyApiInterface
|
|
61
|
+
*/
|
|
62
|
+
apiKeyControllerFindAllRequestOpts(): Promise<runtime.RequestOpts>;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof ApiKeyApiInterface
|
|
68
|
+
*/
|
|
69
|
+
apiKeyControllerFindAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<object>>>;
|
|
70
|
+
/**
|
|
71
|
+
*/
|
|
72
|
+
apiKeyControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<object>>;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class ApiKeyApi extends runtime.BaseAPI implements ApiKeyApiInterface {
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for apiKeyControllerCreate without sending the request
|
|
80
|
+
*/
|
|
81
|
+
apiKeyControllerCreateRequestOpts(): Promise<runtime.RequestOpts>;
|
|
82
|
+
/**
|
|
83
|
+
*/
|
|
84
|
+
apiKeyControllerCreateRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
85
|
+
/**
|
|
86
|
+
*/
|
|
87
|
+
apiKeyControllerCreate(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
88
|
+
/**
|
|
89
|
+
* Creates request options for apiKeyControllerDeleteOne without sending the request
|
|
90
|
+
*/
|
|
91
|
+
apiKeyControllerDeleteOneRequestOpts(requestParameters: ApiKeyControllerDeleteOneRequest): Promise<runtime.RequestOpts>;
|
|
92
|
+
/**
|
|
93
|
+
*/
|
|
94
|
+
apiKeyControllerDeleteOneRaw(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
95
|
+
/**
|
|
96
|
+
*/
|
|
97
|
+
apiKeyControllerDeleteOne(requestParameters: ApiKeyControllerDeleteOneRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
98
|
+
/**
|
|
99
|
+
* Creates request options for apiKeyControllerFindAll without sending the request
|
|
100
|
+
*/
|
|
101
|
+
apiKeyControllerFindAllRequestOpts(): Promise<runtime.RequestOpts>;
|
|
102
|
+
/**
|
|
103
|
+
*/
|
|
104
|
+
apiKeyControllerFindAllRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<object>>>;
|
|
105
|
+
/**
|
|
106
|
+
*/
|
|
107
|
+
apiKeyControllerFindAll(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<object>>;
|
|
108
|
+
}
|