@teemill/file-processor 0.1.0 → 0.2.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/README.md +2 -2
- package/api.ts +177 -43
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +147 -30
- package/dist/api.js +48 -44
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +147 -30
- package/dist/esm/api.js +48 -44
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- 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/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,6 +32,37 @@ export interface ApiError {
|
|
|
32
32
|
*/
|
|
33
33
|
'message': string;
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface CreateJobRequest
|
|
39
|
+
*/
|
|
40
|
+
export interface CreateJobRequest {
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {JobInput}
|
|
44
|
+
* @memberof CreateJobRequest
|
|
45
|
+
*/
|
|
46
|
+
'input': JobInput;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {JobOutput}
|
|
50
|
+
* @memberof CreateJobRequest
|
|
51
|
+
*/
|
|
52
|
+
'output': JobOutput;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateJobRequest
|
|
57
|
+
*/
|
|
58
|
+
'pipeline': string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {object}
|
|
62
|
+
* @memberof CreateJobRequest
|
|
63
|
+
*/
|
|
64
|
+
'configuration': object;
|
|
65
|
+
}
|
|
35
66
|
/**
|
|
36
67
|
*
|
|
37
68
|
* @export
|
|
@@ -162,6 +193,12 @@ export interface ListJobs200Response {
|
|
|
162
193
|
* @memberof ListJobs200Response
|
|
163
194
|
*/
|
|
164
195
|
'jobs': Array<Job>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {number}
|
|
199
|
+
* @memberof ListJobs200Response
|
|
200
|
+
*/
|
|
201
|
+
'nextPageToken': number;
|
|
165
202
|
}
|
|
166
203
|
/**
|
|
167
204
|
* HealthApi - axios parameter creator
|
|
@@ -200,7 +237,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
200
237
|
* @param {*} [options] Override http request option.
|
|
201
238
|
* @throws {RequiredError}
|
|
202
239
|
*/
|
|
203
|
-
getHealth(options?:
|
|
240
|
+
getHealth(options?: RawAxiosRequestConfig): AxiosPromise<GetHealth200Response>;
|
|
204
241
|
};
|
|
205
242
|
/**
|
|
206
243
|
* HealthApi - object-oriented interface
|
|
@@ -227,11 +264,11 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
227
264
|
* Create a new processor job
|
|
228
265
|
* @summary Create job
|
|
229
266
|
* @param {string} project Projects unique identifier
|
|
230
|
-
* @param {
|
|
267
|
+
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
231
268
|
* @param {*} [options] Override http request option.
|
|
232
269
|
* @throws {RequiredError}
|
|
233
270
|
*/
|
|
234
|
-
createJob: (project: string,
|
|
271
|
+
createJob: (project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
235
272
|
/**
|
|
236
273
|
* Delete a processor job
|
|
237
274
|
* @summary Delete job
|
|
@@ -254,10 +291,12 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
254
291
|
* List your processor jobs
|
|
255
292
|
* @summary List jobs
|
|
256
293
|
* @param {string} project Projects unique identifier
|
|
294
|
+
* @param {number} [pageToken] Page reference token
|
|
295
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
257
296
|
* @param {*} [options] Override http request option.
|
|
258
297
|
* @throws {RequiredError}
|
|
259
298
|
*/
|
|
260
|
-
listJobs: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
299
|
+
listJobs: (project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
261
300
|
};
|
|
262
301
|
/**
|
|
263
302
|
* ProcessorApi - functional programming interface
|
|
@@ -268,11 +307,11 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
|
|
|
268
307
|
* Create a new processor job
|
|
269
308
|
* @summary Create job
|
|
270
309
|
* @param {string} project Projects unique identifier
|
|
271
|
-
* @param {
|
|
310
|
+
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
272
311
|
* @param {*} [options] Override http request option.
|
|
273
312
|
* @throws {RequiredError}
|
|
274
313
|
*/
|
|
275
|
-
createJob(project: string,
|
|
314
|
+
createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
|
|
276
315
|
/**
|
|
277
316
|
* Delete a processor job
|
|
278
317
|
* @summary Delete job
|
|
@@ -295,10 +334,12 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
|
|
|
295
334
|
* List your processor jobs
|
|
296
335
|
* @summary List jobs
|
|
297
336
|
* @param {string} project Projects unique identifier
|
|
337
|
+
* @param {number} [pageToken] Page reference token
|
|
338
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
298
339
|
* @param {*} [options] Override http request option.
|
|
299
340
|
* @throws {RequiredError}
|
|
300
341
|
*/
|
|
301
|
-
listJobs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>>;
|
|
342
|
+
listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>>;
|
|
302
343
|
};
|
|
303
344
|
/**
|
|
304
345
|
* ProcessorApi - factory interface
|
|
@@ -308,39 +349,118 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
|
|
|
308
349
|
/**
|
|
309
350
|
* Create a new processor job
|
|
310
351
|
* @summary Create job
|
|
311
|
-
* @param {
|
|
312
|
-
* @param {Job} job Create a new job
|
|
352
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
313
353
|
* @param {*} [options] Override http request option.
|
|
314
354
|
* @throws {RequiredError}
|
|
315
355
|
*/
|
|
316
|
-
createJob(
|
|
356
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
317
357
|
/**
|
|
318
358
|
* Delete a processor job
|
|
319
359
|
* @summary Delete job
|
|
320
|
-
* @param {
|
|
321
|
-
* @param {string} project Projects unique identifier
|
|
360
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
322
361
|
* @param {*} [options] Override http request option.
|
|
323
362
|
* @throws {RequiredError}
|
|
324
363
|
*/
|
|
325
|
-
deleteJob(
|
|
364
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
326
365
|
/**
|
|
327
366
|
* Get a job
|
|
328
367
|
* @summary Get job
|
|
329
|
-
* @param {
|
|
330
|
-
* @param {string} project Projects unique identifier
|
|
368
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
331
369
|
* @param {*} [options] Override http request option.
|
|
332
370
|
* @throws {RequiredError}
|
|
333
371
|
*/
|
|
334
|
-
getJob(
|
|
372
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
335
373
|
/**
|
|
336
374
|
* List your processor jobs
|
|
337
375
|
* @summary List jobs
|
|
338
|
-
* @param {
|
|
376
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
339
377
|
* @param {*} [options] Override http request option.
|
|
340
378
|
* @throws {RequiredError}
|
|
341
379
|
*/
|
|
342
|
-
listJobs(
|
|
380
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response>;
|
|
343
381
|
};
|
|
382
|
+
/**
|
|
383
|
+
* Request parameters for createJob operation in ProcessorApi.
|
|
384
|
+
* @export
|
|
385
|
+
* @interface ProcessorApiCreateJobRequest
|
|
386
|
+
*/
|
|
387
|
+
export interface ProcessorApiCreateJobRequest {
|
|
388
|
+
/**
|
|
389
|
+
* Projects unique identifier
|
|
390
|
+
* @type {string}
|
|
391
|
+
* @memberof ProcessorApiCreateJob
|
|
392
|
+
*/
|
|
393
|
+
readonly project: string;
|
|
394
|
+
/**
|
|
395
|
+
* Create a new job
|
|
396
|
+
* @type {CreateJobRequest}
|
|
397
|
+
* @memberof ProcessorApiCreateJob
|
|
398
|
+
*/
|
|
399
|
+
readonly createJobRequest: CreateJobRequest;
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Request parameters for deleteJob operation in ProcessorApi.
|
|
403
|
+
* @export
|
|
404
|
+
* @interface ProcessorApiDeleteJobRequest
|
|
405
|
+
*/
|
|
406
|
+
export interface ProcessorApiDeleteJobRequest {
|
|
407
|
+
/**
|
|
408
|
+
* Jobs unique identifier
|
|
409
|
+
* @type {string}
|
|
410
|
+
* @memberof ProcessorApiDeleteJob
|
|
411
|
+
*/
|
|
412
|
+
readonly job: string;
|
|
413
|
+
/**
|
|
414
|
+
* Projects unique identifier
|
|
415
|
+
* @type {string}
|
|
416
|
+
* @memberof ProcessorApiDeleteJob
|
|
417
|
+
*/
|
|
418
|
+
readonly project: string;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Request parameters for getJob operation in ProcessorApi.
|
|
422
|
+
* @export
|
|
423
|
+
* @interface ProcessorApiGetJobRequest
|
|
424
|
+
*/
|
|
425
|
+
export interface ProcessorApiGetJobRequest {
|
|
426
|
+
/**
|
|
427
|
+
* Jobs unique identifier
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof ProcessorApiGetJob
|
|
430
|
+
*/
|
|
431
|
+
readonly job: string;
|
|
432
|
+
/**
|
|
433
|
+
* Projects unique identifier
|
|
434
|
+
* @type {string}
|
|
435
|
+
* @memberof ProcessorApiGetJob
|
|
436
|
+
*/
|
|
437
|
+
readonly project: string;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* Request parameters for listJobs operation in ProcessorApi.
|
|
441
|
+
* @export
|
|
442
|
+
* @interface ProcessorApiListJobsRequest
|
|
443
|
+
*/
|
|
444
|
+
export interface ProcessorApiListJobsRequest {
|
|
445
|
+
/**
|
|
446
|
+
* Projects unique identifier
|
|
447
|
+
* @type {string}
|
|
448
|
+
* @memberof ProcessorApiListJobs
|
|
449
|
+
*/
|
|
450
|
+
readonly project: string;
|
|
451
|
+
/**
|
|
452
|
+
* Page reference token
|
|
453
|
+
* @type {number}
|
|
454
|
+
* @memberof ProcessorApiListJobs
|
|
455
|
+
*/
|
|
456
|
+
readonly pageToken?: number;
|
|
457
|
+
/**
|
|
458
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
459
|
+
* @type {number}
|
|
460
|
+
* @memberof ProcessorApiListJobs
|
|
461
|
+
*/
|
|
462
|
+
readonly pageSize?: number;
|
|
463
|
+
}
|
|
344
464
|
/**
|
|
345
465
|
* ProcessorApi - object-oriented interface
|
|
346
466
|
* @export
|
|
@@ -351,40 +471,37 @@ export declare class ProcessorApi extends BaseAPI {
|
|
|
351
471
|
/**
|
|
352
472
|
* Create a new processor job
|
|
353
473
|
* @summary Create job
|
|
354
|
-
* @param {
|
|
355
|
-
* @param {Job} job Create a new job
|
|
474
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
356
475
|
* @param {*} [options] Override http request option.
|
|
357
476
|
* @throws {RequiredError}
|
|
358
477
|
* @memberof ProcessorApi
|
|
359
478
|
*/
|
|
360
|
-
createJob(
|
|
479
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
361
480
|
/**
|
|
362
481
|
* Delete a processor job
|
|
363
482
|
* @summary Delete job
|
|
364
|
-
* @param {
|
|
365
|
-
* @param {string} project Projects unique identifier
|
|
483
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
366
484
|
* @param {*} [options] Override http request option.
|
|
367
485
|
* @throws {RequiredError}
|
|
368
486
|
* @memberof ProcessorApi
|
|
369
487
|
*/
|
|
370
|
-
deleteJob(
|
|
488
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
371
489
|
/**
|
|
372
490
|
* Get a job
|
|
373
491
|
* @summary Get job
|
|
374
|
-
* @param {
|
|
375
|
-
* @param {string} project Projects unique identifier
|
|
492
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
376
493
|
* @param {*} [options] Override http request option.
|
|
377
494
|
* @throws {RequiredError}
|
|
378
495
|
* @memberof ProcessorApi
|
|
379
496
|
*/
|
|
380
|
-
getJob(
|
|
497
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
381
498
|
/**
|
|
382
499
|
* List your processor jobs
|
|
383
500
|
* @summary List jobs
|
|
384
|
-
* @param {
|
|
501
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
385
502
|
* @param {*} [options] Override http request option.
|
|
386
503
|
* @throws {RequiredError}
|
|
387
504
|
* @memberof ProcessorApi
|
|
388
505
|
*/
|
|
389
|
-
listJobs(
|
|
506
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
|
|
390
507
|
}
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -134,15 +134,15 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
134
134
|
* Create a new processor job
|
|
135
135
|
* @summary Create job
|
|
136
136
|
* @param {string} project Projects unique identifier
|
|
137
|
-
* @param {
|
|
137
|
+
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
141
|
-
createJob: (project_1,
|
|
141
|
+
createJob: (project_1, createJobRequest_1, ...args_1) => __awaiter(this, [project_1, createJobRequest_1, ...args_1], void 0, function* (project, createJobRequest, options = {}) {
|
|
142
142
|
// verify required parameter 'project' is not null or undefined
|
|
143
143
|
assertParamExists('createJob', 'project', project);
|
|
144
|
-
// verify required parameter '
|
|
145
|
-
assertParamExists('createJob', '
|
|
144
|
+
// verify required parameter 'createJobRequest' is not null or undefined
|
|
145
|
+
assertParamExists('createJob', 'createJobRequest', createJobRequest);
|
|
146
146
|
const localVarPath = `/jobs`;
|
|
147
147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
148
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -165,7 +165,7 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
165
165
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
166
166
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
167
167
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
168
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
168
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createJobRequest, localVarRequestOptions, configuration);
|
|
169
169
|
return {
|
|
170
170
|
url: toPathString(localVarUrlObj),
|
|
171
171
|
options: localVarRequestOptions,
|
|
@@ -179,7 +179,7 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
182
|
-
deleteJob: (
|
|
182
|
+
deleteJob: (job_1, project_2, ...args_2) => __awaiter(this, [job_1, project_2, ...args_2], void 0, function* (job, project, options = {}) {
|
|
183
183
|
// verify required parameter 'job' is not null or undefined
|
|
184
184
|
assertParamExists('deleteJob', 'job', job);
|
|
185
185
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -219,7 +219,7 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
219
219
|
* @param {*} [options] Override http request option.
|
|
220
220
|
* @throws {RequiredError}
|
|
221
221
|
*/
|
|
222
|
-
getJob: (
|
|
222
|
+
getJob: (job_2, project_3, ...args_3) => __awaiter(this, [job_2, project_3, ...args_3], void 0, function* (job, project, options = {}) {
|
|
223
223
|
// verify required parameter 'job' is not null or undefined
|
|
224
224
|
assertParamExists('getJob', 'job', job);
|
|
225
225
|
// verify required parameter 'project' is not null or undefined
|
|
@@ -255,10 +255,12 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
255
255
|
* List your processor jobs
|
|
256
256
|
* @summary List jobs
|
|
257
257
|
* @param {string} project Projects unique identifier
|
|
258
|
+
* @param {number} [pageToken] Page reference token
|
|
259
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
258
260
|
* @param {*} [options] Override http request option.
|
|
259
261
|
* @throws {RequiredError}
|
|
260
262
|
*/
|
|
261
|
-
listJobs: (project_4, ...args_4) => __awaiter(this, [project_4, ...args_4], void 0, function* (project, options = {}) {
|
|
263
|
+
listJobs: (project_4, pageToken_1, pageSize_1, ...args_4) => __awaiter(this, [project_4, pageToken_1, pageSize_1, ...args_4], void 0, function* (project, pageToken, pageSize, options = {}) {
|
|
262
264
|
// verify required parameter 'project' is not null or undefined
|
|
263
265
|
assertParamExists('listJobs', 'project', project);
|
|
264
266
|
const localVarPath = `/jobs`;
|
|
@@ -279,6 +281,12 @@ export const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
279
281
|
if (project !== undefined) {
|
|
280
282
|
localVarQueryParameter['project'] = project;
|
|
281
283
|
}
|
|
284
|
+
if (pageToken !== undefined) {
|
|
285
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
286
|
+
}
|
|
287
|
+
if (pageSize !== undefined) {
|
|
288
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
289
|
+
}
|
|
282
290
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
283
291
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
284
292
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -300,14 +308,14 @@ export const ProcessorApiFp = function (configuration) {
|
|
|
300
308
|
* Create a new processor job
|
|
301
309
|
* @summary Create job
|
|
302
310
|
* @param {string} project Projects unique identifier
|
|
303
|
-
* @param {
|
|
311
|
+
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
304
312
|
* @param {*} [options] Override http request option.
|
|
305
313
|
* @throws {RequiredError}
|
|
306
314
|
*/
|
|
307
|
-
createJob(project,
|
|
315
|
+
createJob(project, createJobRequest, options) {
|
|
308
316
|
return __awaiter(this, void 0, void 0, function* () {
|
|
309
317
|
var _a, _b, _c;
|
|
310
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project,
|
|
318
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, createJobRequest, options);
|
|
311
319
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
312
320
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProcessorApi.createJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
313
321
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -351,13 +359,15 @@ export const ProcessorApiFp = function (configuration) {
|
|
|
351
359
|
* List your processor jobs
|
|
352
360
|
* @summary List jobs
|
|
353
361
|
* @param {string} project Projects unique identifier
|
|
362
|
+
* @param {number} [pageToken] Page reference token
|
|
363
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
354
364
|
* @param {*} [options] Override http request option.
|
|
355
365
|
* @throws {RequiredError}
|
|
356
366
|
*/
|
|
357
|
-
listJobs(project, options) {
|
|
367
|
+
listJobs(project, pageToken, pageSize, options) {
|
|
358
368
|
return __awaiter(this, void 0, void 0, function* () {
|
|
359
369
|
var _a, _b, _c;
|
|
360
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, options);
|
|
370
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
|
|
361
371
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
362
372
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProcessorApi.listJobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
363
373
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -375,45 +385,42 @@ export const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
|
375
385
|
/**
|
|
376
386
|
* Create a new processor job
|
|
377
387
|
* @summary Create job
|
|
378
|
-
* @param {
|
|
379
|
-
* @param {Job} job Create a new job
|
|
388
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
380
389
|
* @param {*} [options] Override http request option.
|
|
381
390
|
* @throws {RequiredError}
|
|
382
391
|
*/
|
|
383
|
-
createJob(
|
|
384
|
-
return localVarFp.createJob(project,
|
|
392
|
+
createJob(requestParameters, options) {
|
|
393
|
+
return localVarFp.createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(axios, basePath));
|
|
385
394
|
},
|
|
386
395
|
/**
|
|
387
396
|
* Delete a processor job
|
|
388
397
|
* @summary Delete job
|
|
389
|
-
* @param {
|
|
390
|
-
* @param {string} project Projects unique identifier
|
|
398
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
391
399
|
* @param {*} [options] Override http request option.
|
|
392
400
|
* @throws {RequiredError}
|
|
393
401
|
*/
|
|
394
|
-
deleteJob(
|
|
395
|
-
return localVarFp.deleteJob(job, project, options).then((request) => request(axios, basePath));
|
|
402
|
+
deleteJob(requestParameters, options) {
|
|
403
|
+
return localVarFp.deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
396
404
|
},
|
|
397
405
|
/**
|
|
398
406
|
* Get a job
|
|
399
407
|
* @summary Get job
|
|
400
|
-
* @param {
|
|
401
|
-
* @param {string} project Projects unique identifier
|
|
408
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
402
409
|
* @param {*} [options] Override http request option.
|
|
403
410
|
* @throws {RequiredError}
|
|
404
411
|
*/
|
|
405
|
-
getJob(
|
|
406
|
-
return localVarFp.getJob(job, project, options).then((request) => request(axios, basePath));
|
|
412
|
+
getJob(requestParameters, options) {
|
|
413
|
+
return localVarFp.getJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
407
414
|
},
|
|
408
415
|
/**
|
|
409
416
|
* List your processor jobs
|
|
410
417
|
* @summary List jobs
|
|
411
|
-
* @param {
|
|
418
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
412
419
|
* @param {*} [options] Override http request option.
|
|
413
420
|
* @throws {RequiredError}
|
|
414
421
|
*/
|
|
415
|
-
listJobs(
|
|
416
|
-
return localVarFp.listJobs(project, options).then((request) => request(axios, basePath));
|
|
422
|
+
listJobs(requestParameters, options) {
|
|
423
|
+
return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
417
424
|
},
|
|
418
425
|
};
|
|
419
426
|
};
|
|
@@ -427,48 +434,45 @@ export class ProcessorApi extends BaseAPI {
|
|
|
427
434
|
/**
|
|
428
435
|
* Create a new processor job
|
|
429
436
|
* @summary Create job
|
|
430
|
-
* @param {
|
|
431
|
-
* @param {Job} job Create a new job
|
|
437
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
432
438
|
* @param {*} [options] Override http request option.
|
|
433
439
|
* @throws {RequiredError}
|
|
434
440
|
* @memberof ProcessorApi
|
|
435
441
|
*/
|
|
436
|
-
createJob(
|
|
437
|
-
return ProcessorApiFp(this.configuration).createJob(project,
|
|
442
|
+
createJob(requestParameters, options) {
|
|
443
|
+
return ProcessorApiFp(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
438
444
|
}
|
|
439
445
|
/**
|
|
440
446
|
* Delete a processor job
|
|
441
447
|
* @summary Delete job
|
|
442
|
-
* @param {
|
|
443
|
-
* @param {string} project Projects unique identifier
|
|
448
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
444
449
|
* @param {*} [options] Override http request option.
|
|
445
450
|
* @throws {RequiredError}
|
|
446
451
|
* @memberof ProcessorApi
|
|
447
452
|
*/
|
|
448
|
-
deleteJob(
|
|
449
|
-
return ProcessorApiFp(this.configuration).deleteJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
453
|
+
deleteJob(requestParameters, options) {
|
|
454
|
+
return ProcessorApiFp(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
450
455
|
}
|
|
451
456
|
/**
|
|
452
457
|
* Get a job
|
|
453
458
|
* @summary Get job
|
|
454
|
-
* @param {
|
|
455
|
-
* @param {string} project Projects unique identifier
|
|
459
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
456
460
|
* @param {*} [options] Override http request option.
|
|
457
461
|
* @throws {RequiredError}
|
|
458
462
|
* @memberof ProcessorApi
|
|
459
463
|
*/
|
|
460
|
-
getJob(
|
|
461
|
-
return ProcessorApiFp(this.configuration).getJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
464
|
+
getJob(requestParameters, options) {
|
|
465
|
+
return ProcessorApiFp(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
462
466
|
}
|
|
463
467
|
/**
|
|
464
468
|
* List your processor jobs
|
|
465
469
|
* @summary List jobs
|
|
466
|
-
* @param {
|
|
470
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
467
471
|
* @param {*} [options] Override http request option.
|
|
468
472
|
* @throws {RequiredError}
|
|
469
473
|
* @memberof ProcessorApi
|
|
470
474
|
*/
|
|
471
|
-
listJobs(
|
|
472
|
-
return ProcessorApiFp(this.configuration).listJobs(project, options).then((request) => request(this.axios, this.basePath));
|
|
475
|
+
listJobs(requestParameters, options) {
|
|
476
|
+
return ProcessorApiFp(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
473
477
|
}
|
|
474
478
|
}
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* File Processor API
|
|
6
6
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.2.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/index.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* File Processor API
|
|
5
5
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|