@teemill/file-processor 0.3.3 → 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/configuration.js
CHANGED
package/dist/esm/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/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -28,7 +28,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setOAuthToObject,
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
30
|
* HealthApi - axios parameter creator
|
|
31
|
-
* @export
|
|
32
31
|
*/
|
|
33
32
|
export const HealthApiAxiosParamCreator = function (configuration) {
|
|
34
33
|
return {
|
|
@@ -66,7 +65,6 @@ export const HealthApiAxiosParamCreator = function (configuration) {
|
|
|
66
65
|
};
|
|
67
66
|
/**
|
|
68
67
|
* HealthApi - functional programming interface
|
|
69
|
-
* @export
|
|
70
68
|
*/
|
|
71
69
|
export const HealthApiFp = function (configuration) {
|
|
72
70
|
const localVarAxiosParamCreator = HealthApiAxiosParamCreator(configuration);
|
|
@@ -90,7 +88,6 @@ export const HealthApiFp = function (configuration) {
|
|
|
90
88
|
};
|
|
91
89
|
/**
|
|
92
90
|
* HealthApi - factory interface
|
|
93
|
-
* @export
|
|
94
91
|
*/
|
|
95
92
|
export const HealthApiFactory = function (configuration, basePath, axios) {
|
|
96
93
|
const localVarFp = HealthApiFp(configuration);
|
|
@@ -108,9 +105,6 @@ export const HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
108
105
|
};
|
|
109
106
|
/**
|
|
110
107
|
* HealthApi - object-oriented interface
|
|
111
|
-
* @export
|
|
112
|
-
* @class HealthApi
|
|
113
|
-
* @extends {BaseAPI}
|
|
114
108
|
*/
|
|
115
109
|
export class HealthApi extends BaseAPI {
|
|
116
110
|
/**
|
|
@@ -118,7 +112,6 @@ export class HealthApi extends BaseAPI {
|
|
|
118
112
|
* @summary Get health
|
|
119
113
|
* @param {*} [options] Override http request option.
|
|
120
114
|
* @throws {RequiredError}
|
|
121
|
-
* @memberof HealthApi
|
|
122
115
|
*/
|
|
123
116
|
getHealth(options) {
|
|
124
117
|
return HealthApiFp(this.configuration).getHealth(options).then((request) => request(this.axios, this.basePath));
|
|
@@ -126,7 +119,6 @@ export class HealthApi extends BaseAPI {
|
|
|
126
119
|
}
|
|
127
120
|
/**
|
|
128
121
|
* ProcessorApi - axios parameter creator
|
|
129
|
-
* @export
|
|
130
122
|
*/
|
|
131
123
|
export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
132
124
|
return {
|
|
@@ -299,7 +291,6 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
299
291
|
};
|
|
300
292
|
/**
|
|
301
293
|
* ProcessorApi - functional programming interface
|
|
302
|
-
* @export
|
|
303
294
|
*/
|
|
304
295
|
export const ProcessorApiFp = function (configuration) {
|
|
305
296
|
const localVarAxiosParamCreator = ProcessorApiAxiosParamCreator(configuration);
|
|
@@ -377,7 +368,6 @@ export const ProcessorApiFp = function (configuration) {
|
|
|
377
368
|
};
|
|
378
369
|
/**
|
|
379
370
|
* ProcessorApi - factory interface
|
|
380
|
-
* @export
|
|
381
371
|
*/
|
|
382
372
|
export const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
383
373
|
const localVarFp = ProcessorApiFp(configuration);
|
|
@@ -426,9 +416,6 @@ export const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
|
426
416
|
};
|
|
427
417
|
/**
|
|
428
418
|
* ProcessorApi - object-oriented interface
|
|
429
|
-
* @export
|
|
430
|
-
* @class ProcessorApi
|
|
431
|
-
* @extends {BaseAPI}
|
|
432
419
|
*/
|
|
433
420
|
export class ProcessorApi extends BaseAPI {
|
|
434
421
|
/**
|
|
@@ -437,7 +424,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
437
424
|
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
438
425
|
* @param {*} [options] Override http request option.
|
|
439
426
|
* @throws {RequiredError}
|
|
440
|
-
* @memberof ProcessorApi
|
|
441
427
|
*/
|
|
442
428
|
createJob(requestParameters, options) {
|
|
443
429
|
return ProcessorApiFp(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -448,7 +434,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
448
434
|
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
449
435
|
* @param {*} [options] Override http request option.
|
|
450
436
|
* @throws {RequiredError}
|
|
451
|
-
* @memberof ProcessorApi
|
|
452
437
|
*/
|
|
453
438
|
deleteJob(requestParameters, options) {
|
|
454
439
|
return ProcessorApiFp(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -459,7 +444,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
459
444
|
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
460
445
|
* @param {*} [options] Override http request option.
|
|
461
446
|
* @throws {RequiredError}
|
|
462
|
-
* @memberof ProcessorApi
|
|
463
447
|
*/
|
|
464
448
|
getJob(requestParameters, options) {
|
|
465
449
|
return ProcessorApiFp(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -470,7 +454,6 @@ export class ProcessorApi extends BaseAPI {
|
|
|
470
454
|
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
471
455
|
* @param {*} [options] Override http request option.
|
|
472
456
|
* @throws {RequiredError}
|
|
473
|
-
* @memberof ProcessorApi
|
|
474
457
|
*/
|
|
475
458
|
listJobs(requestParameters, options) {
|
|
476
459
|
return ProcessorApiFp(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
package/dist/esm/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/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.3.
|
|
7
|
+
* The version of the OpenAPI document: 0.3.5
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,21 +13,12 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
15
|
export const BASE_PATH = "https://api.localhost:8080".replace(/\/+$/, "");
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
16
|
export const COLLECTION_FORMATS = {
|
|
21
17
|
csv: ",",
|
|
22
18
|
ssv: " ",
|
|
23
19
|
tsv: "\t",
|
|
24
20
|
pipes: "|",
|
|
25
21
|
};
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
* @class BaseAPI
|
|
30
|
-
*/
|
|
31
22
|
export class BaseAPI {
|
|
32
23
|
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
33
24
|
var _a;
|
|
@@ -40,12 +31,6 @@ export class BaseAPI {
|
|
|
40
31
|
}
|
|
41
32
|
}
|
|
42
33
|
;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
* @class RequiredError
|
|
47
|
-
* @extends {Error}
|
|
48
|
-
*/
|
|
49
34
|
export class RequiredError extends Error {
|
|
50
35
|
constructor(field, msg) {
|
|
51
36
|
super(msg);
|
|
@@ -53,8 +38,4 @@ export class RequiredError extends Error {
|
|
|
53
38
|
this.name = "RequiredError";
|
|
54
39
|
}
|
|
55
40
|
}
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
41
|
export const operationServerMap = {};
|
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED