@teemill/file-processor 0.3.4 → 0.3.5
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/README.md +3 -3
- package/api.ts +7 -183
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +12 -188
- package/dist/api.js +1 -18
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +12 -188
- package/dist/esm/api.js +1 -18
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListJobs200Response.md +22 -0
- package/docs/ProcessorApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,190 +13,56 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ApiError
|
|
20
|
-
*/
|
|
21
16
|
export interface ApiError {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiError
|
|
26
|
-
*/
|
|
27
17
|
'code'?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiError
|
|
32
|
-
*/
|
|
33
18
|
'message': string;
|
|
34
19
|
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
* @export
|
|
38
|
-
* @interface CreateJobRequest
|
|
39
|
-
*/
|
|
40
20
|
export interface CreateJobRequest {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {JobInput}
|
|
44
|
-
* @memberof CreateJobRequest
|
|
45
|
-
*/
|
|
46
21
|
'input': JobInput;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof CreateJobRequest
|
|
51
|
-
*/
|
|
52
22
|
'pipeline': string;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {object}
|
|
56
|
-
* @memberof CreateJobRequest
|
|
57
|
-
*/
|
|
58
23
|
'configuration': object;
|
|
59
24
|
}
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @export
|
|
63
|
-
* @interface GetHealth200Response
|
|
64
|
-
*/
|
|
65
25
|
export interface GetHealth200Response {
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof GetHealth200Response
|
|
70
|
-
*/
|
|
71
26
|
'status'?: string;
|
|
72
27
|
}
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @export
|
|
76
|
-
* @interface InlineObject
|
|
77
|
-
*/
|
|
78
|
-
export interface InlineObject {
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {Array<Job>}
|
|
82
|
-
* @memberof InlineObject
|
|
83
|
-
*/
|
|
84
|
-
'jobs': Array<Job>;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof InlineObject
|
|
89
|
-
*/
|
|
90
|
-
'nextPageToken': number;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @export
|
|
95
|
-
* @interface Job
|
|
96
|
-
*/
|
|
97
28
|
export interface Job {
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {string}
|
|
101
|
-
* @memberof Job
|
|
102
|
-
*/
|
|
103
29
|
'id': string;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {string}
|
|
107
|
-
* @memberof Job
|
|
108
|
-
*/
|
|
109
30
|
'project': string;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {JobInput}
|
|
113
|
-
* @memberof Job
|
|
114
|
-
*/
|
|
115
31
|
'input': JobInput;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {JobOutput}
|
|
119
|
-
* @memberof Job
|
|
120
|
-
*/
|
|
121
32
|
'output': JobOutput | null;
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {string}
|
|
125
|
-
* @memberof Job
|
|
126
|
-
*/
|
|
127
33
|
'pipeline': string;
|
|
128
|
-
/**
|
|
129
|
-
*
|
|
130
|
-
* @type {object}
|
|
131
|
-
* @memberof Job
|
|
132
|
-
*/
|
|
133
34
|
'configuration': object;
|
|
134
35
|
/**
|
|
135
36
|
* ISO 8601 Timestamp
|
|
136
|
-
* @type {string}
|
|
137
|
-
* @memberof Job
|
|
138
37
|
*/
|
|
139
38
|
'createdAt': string;
|
|
140
39
|
/**
|
|
141
40
|
* ISO 8601 Timestamp
|
|
142
|
-
* @type {string}
|
|
143
|
-
* @memberof Job
|
|
144
41
|
*/
|
|
145
42
|
'startedAt'?: string;
|
|
146
43
|
/**
|
|
147
44
|
* ISO 8601 Timestamp
|
|
148
|
-
* @type {string}
|
|
149
|
-
* @memberof Job
|
|
150
45
|
*/
|
|
151
46
|
'completedAt'?: string;
|
|
152
47
|
/**
|
|
153
48
|
* ISO 8601 Timestamp
|
|
154
|
-
* @type {string}
|
|
155
|
-
* @memberof Job
|
|
156
49
|
*/
|
|
157
50
|
'failedAt'?: string;
|
|
158
51
|
}
|
|
159
|
-
/**
|
|
160
|
-
*
|
|
161
|
-
* @export
|
|
162
|
-
* @interface JobInput
|
|
163
|
-
*/
|
|
164
52
|
export interface JobInput {
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* @type {string}
|
|
168
|
-
* @memberof JobInput
|
|
169
|
-
*/
|
|
170
53
|
'path': string;
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* @type {string}
|
|
174
|
-
* @memberof JobInput
|
|
175
|
-
*/
|
|
176
54
|
'driver': string;
|
|
177
55
|
}
|
|
178
|
-
/**
|
|
179
|
-
*
|
|
180
|
-
* @export
|
|
181
|
-
* @interface JobOutput
|
|
182
|
-
*/
|
|
183
56
|
export interface JobOutput {
|
|
184
|
-
/**
|
|
185
|
-
*
|
|
186
|
-
* @type {string}
|
|
187
|
-
* @memberof JobOutput
|
|
188
|
-
*/
|
|
189
57
|
'source': string;
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @type {string}
|
|
193
|
-
* @memberof JobOutput
|
|
194
|
-
*/
|
|
195
58
|
'thumbnail': string;
|
|
196
59
|
}
|
|
60
|
+
export interface ListJobs200Response {
|
|
61
|
+
'jobs': Array<Job>;
|
|
62
|
+
'nextPageToken': number;
|
|
63
|
+
}
|
|
197
64
|
/**
|
|
198
65
|
* HealthApi - axios parameter creator
|
|
199
|
-
* @export
|
|
200
66
|
*/
|
|
201
67
|
export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
202
68
|
/**
|
|
@@ -209,7 +75,6 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
209
75
|
};
|
|
210
76
|
/**
|
|
211
77
|
* HealthApi - functional programming interface
|
|
212
|
-
* @export
|
|
213
78
|
*/
|
|
214
79
|
export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
215
80
|
/**
|
|
@@ -222,7 +87,6 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
|
|
|
222
87
|
};
|
|
223
88
|
/**
|
|
224
89
|
* HealthApi - factory interface
|
|
225
|
-
* @export
|
|
226
90
|
*/
|
|
227
91
|
export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
228
92
|
/**
|
|
@@ -235,9 +99,6 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
235
99
|
};
|
|
236
100
|
/**
|
|
237
101
|
* HealthApi - object-oriented interface
|
|
238
|
-
* @export
|
|
239
|
-
* @class HealthApi
|
|
240
|
-
* @extends {BaseAPI}
|
|
241
102
|
*/
|
|
242
103
|
export declare class HealthApi extends BaseAPI {
|
|
243
104
|
/**
|
|
@@ -245,13 +106,11 @@ export declare class HealthApi extends BaseAPI {
|
|
|
245
106
|
* @summary Get health
|
|
246
107
|
* @param {*} [options] Override http request option.
|
|
247
108
|
* @throws {RequiredError}
|
|
248
|
-
* @memberof HealthApi
|
|
249
109
|
*/
|
|
250
|
-
getHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetHealth200Response, any>>;
|
|
110
|
+
getHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetHealth200Response, any, {}>>;
|
|
251
111
|
}
|
|
252
112
|
/**
|
|
253
113
|
* ProcessorApi - axios parameter creator
|
|
254
|
-
* @export
|
|
255
114
|
*/
|
|
256
115
|
export declare const ProcessorApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
257
116
|
/**
|
|
@@ -294,7 +153,6 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
294
153
|
};
|
|
295
154
|
/**
|
|
296
155
|
* ProcessorApi - functional programming interface
|
|
297
|
-
* @export
|
|
298
156
|
*/
|
|
299
157
|
export declare const ProcessorApiFp: (configuration?: Configuration) => {
|
|
300
158
|
/**
|
|
@@ -333,11 +191,10 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
|
|
|
333
191
|
* @param {*} [options] Override http request option.
|
|
334
192
|
* @throws {RequiredError}
|
|
335
193
|
*/
|
|
336
|
-
listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
194
|
+
listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>>;
|
|
337
195
|
};
|
|
338
196
|
/**
|
|
339
197
|
* ProcessorApi - factory interface
|
|
340
|
-
* @export
|
|
341
198
|
*/
|
|
342
199
|
export declare const ProcessorApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
343
200
|
/**
|
|
@@ -371,95 +228,66 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
|
|
|
371
228
|
* @param {*} [options] Override http request option.
|
|
372
229
|
* @throws {RequiredError}
|
|
373
230
|
*/
|
|
374
|
-
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
231
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response>;
|
|
375
232
|
};
|
|
376
233
|
/**
|
|
377
234
|
* Request parameters for createJob operation in ProcessorApi.
|
|
378
|
-
* @export
|
|
379
|
-
* @interface ProcessorApiCreateJobRequest
|
|
380
235
|
*/
|
|
381
236
|
export interface ProcessorApiCreateJobRequest {
|
|
382
237
|
/**
|
|
383
238
|
* Projects unique identifier
|
|
384
|
-
* @type {string}
|
|
385
|
-
* @memberof ProcessorApiCreateJob
|
|
386
239
|
*/
|
|
387
240
|
readonly project: string;
|
|
388
241
|
/**
|
|
389
242
|
* Create a new job
|
|
390
|
-
* @type {CreateJobRequest}
|
|
391
|
-
* @memberof ProcessorApiCreateJob
|
|
392
243
|
*/
|
|
393
244
|
readonly createJobRequest: CreateJobRequest;
|
|
394
245
|
}
|
|
395
246
|
/**
|
|
396
247
|
* Request parameters for deleteJob operation in ProcessorApi.
|
|
397
|
-
* @export
|
|
398
|
-
* @interface ProcessorApiDeleteJobRequest
|
|
399
248
|
*/
|
|
400
249
|
export interface ProcessorApiDeleteJobRequest {
|
|
401
250
|
/**
|
|
402
251
|
* Jobs unique identifier
|
|
403
|
-
* @type {string}
|
|
404
|
-
* @memberof ProcessorApiDeleteJob
|
|
405
252
|
*/
|
|
406
253
|
readonly job: string;
|
|
407
254
|
/**
|
|
408
255
|
* Projects unique identifier
|
|
409
|
-
* @type {string}
|
|
410
|
-
* @memberof ProcessorApiDeleteJob
|
|
411
256
|
*/
|
|
412
257
|
readonly project: string;
|
|
413
258
|
}
|
|
414
259
|
/**
|
|
415
260
|
* Request parameters for getJob operation in ProcessorApi.
|
|
416
|
-
* @export
|
|
417
|
-
* @interface ProcessorApiGetJobRequest
|
|
418
261
|
*/
|
|
419
262
|
export interface ProcessorApiGetJobRequest {
|
|
420
263
|
/**
|
|
421
264
|
* Jobs unique identifier
|
|
422
|
-
* @type {string}
|
|
423
|
-
* @memberof ProcessorApiGetJob
|
|
424
265
|
*/
|
|
425
266
|
readonly job: string;
|
|
426
267
|
/**
|
|
427
268
|
* Projects unique identifier
|
|
428
|
-
* @type {string}
|
|
429
|
-
* @memberof ProcessorApiGetJob
|
|
430
269
|
*/
|
|
431
270
|
readonly project: string;
|
|
432
271
|
}
|
|
433
272
|
/**
|
|
434
273
|
* Request parameters for listJobs operation in ProcessorApi.
|
|
435
|
-
* @export
|
|
436
|
-
* @interface ProcessorApiListJobsRequest
|
|
437
274
|
*/
|
|
438
275
|
export interface ProcessorApiListJobsRequest {
|
|
439
276
|
/**
|
|
440
277
|
* Projects unique identifier
|
|
441
|
-
* @type {string}
|
|
442
|
-
* @memberof ProcessorApiListJobs
|
|
443
278
|
*/
|
|
444
279
|
readonly project: string;
|
|
445
280
|
/**
|
|
446
281
|
* Page reference token
|
|
447
|
-
* @type {number}
|
|
448
|
-
* @memberof ProcessorApiListJobs
|
|
449
282
|
*/
|
|
450
283
|
readonly pageToken?: number;
|
|
451
284
|
/**
|
|
452
285
|
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
453
|
-
* @type {number}
|
|
454
|
-
* @memberof ProcessorApiListJobs
|
|
455
286
|
*/
|
|
456
287
|
readonly pageSize?: number;
|
|
457
288
|
}
|
|
458
289
|
/**
|
|
459
290
|
* ProcessorApi - object-oriented interface
|
|
460
|
-
* @export
|
|
461
|
-
* @class ProcessorApi
|
|
462
|
-
* @extends {BaseAPI}
|
|
463
291
|
*/
|
|
464
292
|
export declare class ProcessorApi extends BaseAPI {
|
|
465
293
|
/**
|
|
@@ -468,34 +296,30 @@ export declare class ProcessorApi extends BaseAPI {
|
|
|
468
296
|
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
469
297
|
* @param {*} [options] Override http request option.
|
|
470
298
|
* @throws {RequiredError}
|
|
471
|
-
* @memberof ProcessorApi
|
|
472
299
|
*/
|
|
473
|
-
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
300
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any, {}>>;
|
|
474
301
|
/**
|
|
475
302
|
* Delete a processor job
|
|
476
303
|
* @summary Delete job
|
|
477
304
|
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
478
305
|
* @param {*} [options] Override http request option.
|
|
479
306
|
* @throws {RequiredError}
|
|
480
|
-
* @memberof ProcessorApi
|
|
481
307
|
*/
|
|
482
|
-
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
308
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
483
309
|
/**
|
|
484
310
|
* Get a job
|
|
485
311
|
* @summary Get job
|
|
486
312
|
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
487
313
|
* @param {*} [options] Override http request option.
|
|
488
314
|
* @throws {RequiredError}
|
|
489
|
-
* @memberof ProcessorApi
|
|
490
315
|
*/
|
|
491
|
-
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
316
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any, {}>>;
|
|
492
317
|
/**
|
|
493
318
|
* List your processor jobs
|
|
494
319
|
* @summary List jobs
|
|
495
320
|
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
496
321
|
* @param {*} [options] Override http request option.
|
|
497
322
|
* @throws {RequiredError}
|
|
498
|
-
* @memberof ProcessorApi
|
|
499
323
|
*/
|
|
500
|
-
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
324
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any, {}>>;
|
|
501
325
|
}
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* File Processor API
|
|
6
6
|
* RIP file processor
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.3.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.5
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -31,7 +31,6 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* HealthApi - axios parameter creator
|
|
34
|
-
* @export
|
|
35
34
|
*/
|
|
36
35
|
const HealthApiAxiosParamCreator = function (configuration) {
|
|
37
36
|
return {
|
|
@@ -70,7 +69,6 @@ const HealthApiAxiosParamCreator = function (configuration) {
|
|
|
70
69
|
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
71
70
|
/**
|
|
72
71
|
* HealthApi - functional programming interface
|
|
73
|
-
* @export
|
|
74
72
|
*/
|
|
75
73
|
const HealthApiFp = function (configuration) {
|
|
76
74
|
const localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
@@ -95,7 +93,6 @@ const HealthApiFp = function (configuration) {
|
|
|
95
93
|
exports.HealthApiFp = HealthApiFp;
|
|
96
94
|
/**
|
|
97
95
|
* HealthApi - factory interface
|
|
98
|
-
* @export
|
|
99
96
|
*/
|
|
100
97
|
const HealthApiFactory = function (configuration, basePath, axios) {
|
|
101
98
|
const localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
@@ -114,9 +111,6 @@ const HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
114
111
|
exports.HealthApiFactory = HealthApiFactory;
|
|
115
112
|
/**
|
|
116
113
|
* HealthApi - object-oriented interface
|
|
117
|
-
* @export
|
|
118
|
-
* @class HealthApi
|
|
119
|
-
* @extends {BaseAPI}
|
|
120
114
|
*/
|
|
121
115
|
class HealthApi extends base_1.BaseAPI {
|
|
122
116
|
/**
|
|
@@ -124,7 +118,6 @@ class HealthApi extends base_1.BaseAPI {
|
|
|
124
118
|
* @summary Get health
|
|
125
119
|
* @param {*} [options] Override http request option.
|
|
126
120
|
* @throws {RequiredError}
|
|
127
|
-
* @memberof HealthApi
|
|
128
121
|
*/
|
|
129
122
|
getHealth(options) {
|
|
130
123
|
return (0, exports.HealthApiFp)(this.configuration).getHealth(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -133,7 +126,6 @@ class HealthApi extends base_1.BaseAPI {
|
|
|
133
126
|
exports.HealthApi = HealthApi;
|
|
134
127
|
/**
|
|
135
128
|
* ProcessorApi - axios parameter creator
|
|
136
|
-
* @export
|
|
137
129
|
*/
|
|
138
130
|
const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
139
131
|
return {
|
|
@@ -307,7 +299,6 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
307
299
|
exports.ProcessorApiAxiosParamCreator = ProcessorApiAxiosParamCreator;
|
|
308
300
|
/**
|
|
309
301
|
* ProcessorApi - functional programming interface
|
|
310
|
-
* @export
|
|
311
302
|
*/
|
|
312
303
|
const ProcessorApiFp = function (configuration) {
|
|
313
304
|
const localVarAxiosParamCreator = (0, exports.ProcessorApiAxiosParamCreator)(configuration);
|
|
@@ -386,7 +377,6 @@ const ProcessorApiFp = function (configuration) {
|
|
|
386
377
|
exports.ProcessorApiFp = ProcessorApiFp;
|
|
387
378
|
/**
|
|
388
379
|
* ProcessorApi - factory interface
|
|
389
|
-
* @export
|
|
390
380
|
*/
|
|
391
381
|
const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
392
382
|
const localVarFp = (0, exports.ProcessorApiFp)(configuration);
|
|
@@ -436,9 +426,6 @@ const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
|
436
426
|
exports.ProcessorApiFactory = ProcessorApiFactory;
|
|
437
427
|
/**
|
|
438
428
|
* ProcessorApi - object-oriented interface
|
|
439
|
-
* @export
|
|
440
|
-
* @class ProcessorApi
|
|
441
|
-
* @extends {BaseAPI}
|
|
442
429
|
*/
|
|
443
430
|
class ProcessorApi extends base_1.BaseAPI {
|
|
444
431
|
/**
|
|
@@ -447,7 +434,6 @@ class ProcessorApi extends base_1.BaseAPI {
|
|
|
447
434
|
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
448
435
|
* @param {*} [options] Override http request option.
|
|
449
436
|
* @throws {RequiredError}
|
|
450
|
-
* @memberof ProcessorApi
|
|
451
437
|
*/
|
|
452
438
|
createJob(requestParameters, options) {
|
|
453
439
|
return (0, exports.ProcessorApiFp)(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -458,7 +444,6 @@ class ProcessorApi extends base_1.BaseAPI {
|
|
|
458
444
|
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
459
445
|
* @param {*} [options] Override http request option.
|
|
460
446
|
* @throws {RequiredError}
|
|
461
|
-
* @memberof ProcessorApi
|
|
462
447
|
*/
|
|
463
448
|
deleteJob(requestParameters, options) {
|
|
464
449
|
return (0, exports.ProcessorApiFp)(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -469,7 +454,6 @@ class ProcessorApi extends base_1.BaseAPI {
|
|
|
469
454
|
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
470
455
|
* @param {*} [options] Override http request option.
|
|
471
456
|
* @throws {RequiredError}
|
|
472
|
-
* @memberof ProcessorApi
|
|
473
457
|
*/
|
|
474
458
|
getJob(requestParameters, options) {
|
|
475
459
|
return (0, exports.ProcessorApiFp)(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -480,7 +464,6 @@ class ProcessorApi extends base_1.BaseAPI {
|
|
|
480
464
|
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
481
465
|
* @param {*} [options] Override http request option.
|
|
482
466
|
* @throws {RequiredError}
|
|
483
|
-
* @memberof ProcessorApi
|
|
484
467
|
*/
|
|
485
468
|
listJobs(requestParameters, options) {
|
|
486
469
|
return (0, exports.ProcessorApiFp)(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* File Processor API
|
|
6
6
|
* RIP file processor
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.3.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.5
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,21 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
17
|
const axios_1 = require("axios");
|
|
18
18
|
exports.BASE_PATH = "https://api.localhost:8080".replace(/\/+$/, "");
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
19
|
exports.COLLECTION_FORMATS = {
|
|
24
20
|
csv: ",",
|
|
25
21
|
ssv: " ",
|
|
26
22
|
tsv: "\t",
|
|
27
23
|
pipes: "|",
|
|
28
24
|
};
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @export
|
|
32
|
-
* @class BaseAPI
|
|
33
|
-
*/
|
|
34
25
|
class BaseAPI {
|
|
35
26
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
36
27
|
var _a;
|
|
@@ -44,12 +35,6 @@ class BaseAPI {
|
|
|
44
35
|
}
|
|
45
36
|
exports.BaseAPI = BaseAPI;
|
|
46
37
|
;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @export
|
|
50
|
-
* @class RequiredError
|
|
51
|
-
* @extends {Error}
|
|
52
|
-
*/
|
|
53
38
|
class RequiredError extends Error {
|
|
54
39
|
constructor(field, msg) {
|
|
55
40
|
super(msg);
|
|
@@ -58,8 +43,4 @@ class RequiredError extends Error {
|
|
|
58
43
|
}
|
|
59
44
|
}
|
|
60
45
|
exports.RequiredError = RequiredError;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
46
|
exports.operationServerMap = {};
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.3.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.5
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|