@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/dist/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.1.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?: any): AxiosPromise<GetHealth200Response>;
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 {Job} job Create a new job
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, job: Job, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
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 {Job} job Create a new job
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, job: Job, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
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 {string} project Projects unique identifier
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(project: string, job: Job, options?: any): AxiosPromise<Job>;
356
+ createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
317
357
  /**
318
358
  * Delete a processor job
319
359
  * @summary Delete job
320
- * @param {string} job Jobs unique identifier
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(job: string, project: string, options?: any): AxiosPromise<void>;
364
+ deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
326
365
  /**
327
366
  * Get a job
328
367
  * @summary Get job
329
- * @param {string} job Jobs unique identifier
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(job: string, project: string, options?: any): AxiosPromise<Job>;
372
+ getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
335
373
  /**
336
374
  * List your processor jobs
337
375
  * @summary List jobs
338
- * @param {string} project Projects unique identifier
376
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
339
377
  * @param {*} [options] Override http request option.
340
378
  * @throws {RequiredError}
341
379
  */
342
- listJobs(project: string, options?: any): AxiosPromise<ListJobs200Response>;
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 {string} project Projects unique identifier
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(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
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 {string} job Jobs unique identifier
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(job: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
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 {string} job Jobs unique identifier
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(job: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
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 {string} project Projects unique identifier
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(project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
506
+ listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
390
507
  }
package/dist/api.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.1.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).
@@ -141,15 +141,15 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
141
141
  * Create a new processor job
142
142
  * @summary Create job
143
143
  * @param {string} project Projects unique identifier
144
- * @param {Job} job Create a new job
144
+ * @param {CreateJobRequest} createJobRequest Create a new job
145
145
  * @param {*} [options] Override http request option.
146
146
  * @throws {RequiredError}
147
147
  */
148
- createJob: (project_1, job_1, ...args_1) => __awaiter(this, [project_1, job_1, ...args_1], void 0, function* (project, job, options = {}) {
148
+ createJob: (project_1, createJobRequest_1, ...args_1) => __awaiter(this, [project_1, createJobRequest_1, ...args_1], void 0, function* (project, createJobRequest, options = {}) {
149
149
  // verify required parameter 'project' is not null or undefined
150
150
  (0, common_1.assertParamExists)('createJob', 'project', project);
151
- // verify required parameter 'job' is not null or undefined
152
- (0, common_1.assertParamExists)('createJob', 'job', job);
151
+ // verify required parameter 'createJobRequest' is not null or undefined
152
+ (0, common_1.assertParamExists)('createJob', 'createJobRequest', createJobRequest);
153
153
  const localVarPath = `/jobs`;
154
154
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
155
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -172,7 +172,7 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
172
172
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
173
173
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
174
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
175
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(job, localVarRequestOptions, configuration);
175
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createJobRequest, localVarRequestOptions, configuration);
176
176
  return {
177
177
  url: (0, common_1.toPathString)(localVarUrlObj),
178
178
  options: localVarRequestOptions,
@@ -186,7 +186,7 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
186
186
  * @param {*} [options] Override http request option.
187
187
  * @throws {RequiredError}
188
188
  */
189
- deleteJob: (job_2, project_2, ...args_2) => __awaiter(this, [job_2, project_2, ...args_2], void 0, function* (job, project, options = {}) {
189
+ deleteJob: (job_1, project_2, ...args_2) => __awaiter(this, [job_1, project_2, ...args_2], void 0, function* (job, project, options = {}) {
190
190
  // verify required parameter 'job' is not null or undefined
191
191
  (0, common_1.assertParamExists)('deleteJob', 'job', job);
192
192
  // verify required parameter 'project' is not null or undefined
@@ -226,7 +226,7 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
226
226
  * @param {*} [options] Override http request option.
227
227
  * @throws {RequiredError}
228
228
  */
229
- getJob: (job_3, project_3, ...args_3) => __awaiter(this, [job_3, project_3, ...args_3], void 0, function* (job, project, options = {}) {
229
+ getJob: (job_2, project_3, ...args_3) => __awaiter(this, [job_2, project_3, ...args_3], void 0, function* (job, project, options = {}) {
230
230
  // verify required parameter 'job' is not null or undefined
231
231
  (0, common_1.assertParamExists)('getJob', 'job', job);
232
232
  // verify required parameter 'project' is not null or undefined
@@ -262,10 +262,12 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
262
262
  * List your processor jobs
263
263
  * @summary List jobs
264
264
  * @param {string} project Projects unique identifier
265
+ * @param {number} [pageToken] Page reference token
266
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
265
267
  * @param {*} [options] Override http request option.
266
268
  * @throws {RequiredError}
267
269
  */
268
- listJobs: (project_4, ...args_4) => __awaiter(this, [project_4, ...args_4], void 0, function* (project, options = {}) {
270
+ 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 = {}) {
269
271
  // verify required parameter 'project' is not null or undefined
270
272
  (0, common_1.assertParamExists)('listJobs', 'project', project);
271
273
  const localVarPath = `/jobs`;
@@ -286,6 +288,12 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
286
288
  if (project !== undefined) {
287
289
  localVarQueryParameter['project'] = project;
288
290
  }
291
+ if (pageToken !== undefined) {
292
+ localVarQueryParameter['pageToken'] = pageToken;
293
+ }
294
+ if (pageSize !== undefined) {
295
+ localVarQueryParameter['pageSize'] = pageSize;
296
+ }
289
297
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
290
298
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
291
299
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -308,14 +316,14 @@ const ProcessorApiFp = function (configuration) {
308
316
  * Create a new processor job
309
317
  * @summary Create job
310
318
  * @param {string} project Projects unique identifier
311
- * @param {Job} job Create a new job
319
+ * @param {CreateJobRequest} createJobRequest Create a new job
312
320
  * @param {*} [options] Override http request option.
313
321
  * @throws {RequiredError}
314
322
  */
315
- createJob(project, job, options) {
323
+ createJob(project, createJobRequest, options) {
316
324
  return __awaiter(this, void 0, void 0, function* () {
317
325
  var _a, _b, _c;
318
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, job, options);
326
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, createJobRequest, options);
319
327
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
320
328
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProcessorApi.createJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
321
329
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -359,13 +367,15 @@ const ProcessorApiFp = function (configuration) {
359
367
  * List your processor jobs
360
368
  * @summary List jobs
361
369
  * @param {string} project Projects unique identifier
370
+ * @param {number} [pageToken] Page reference token
371
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
362
372
  * @param {*} [options] Override http request option.
363
373
  * @throws {RequiredError}
364
374
  */
365
- listJobs(project, options) {
375
+ listJobs(project, pageToken, pageSize, options) {
366
376
  return __awaiter(this, void 0, void 0, function* () {
367
377
  var _a, _b, _c;
368
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, options);
378
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
369
379
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
370
380
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProcessorApi.listJobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
371
381
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -384,45 +394,42 @@ const ProcessorApiFactory = function (configuration, basePath, axios) {
384
394
  /**
385
395
  * Create a new processor job
386
396
  * @summary Create job
387
- * @param {string} project Projects unique identifier
388
- * @param {Job} job Create a new job
397
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
389
398
  * @param {*} [options] Override http request option.
390
399
  * @throws {RequiredError}
391
400
  */
392
- createJob(project, job, options) {
393
- return localVarFp.createJob(project, job, options).then((request) => request(axios, basePath));
401
+ createJob(requestParameters, options) {
402
+ return localVarFp.createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(axios, basePath));
394
403
  },
395
404
  /**
396
405
  * Delete a processor job
397
406
  * @summary Delete job
398
- * @param {string} job Jobs unique identifier
399
- * @param {string} project Projects unique identifier
407
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
400
408
  * @param {*} [options] Override http request option.
401
409
  * @throws {RequiredError}
402
410
  */
403
- deleteJob(job, project, options) {
404
- return localVarFp.deleteJob(job, project, options).then((request) => request(axios, basePath));
411
+ deleteJob(requestParameters, options) {
412
+ return localVarFp.deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
405
413
  },
406
414
  /**
407
415
  * Get a job
408
416
  * @summary Get job
409
- * @param {string} job Jobs unique identifier
410
- * @param {string} project Projects unique identifier
417
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
411
418
  * @param {*} [options] Override http request option.
412
419
  * @throws {RequiredError}
413
420
  */
414
- getJob(job, project, options) {
415
- return localVarFp.getJob(job, project, options).then((request) => request(axios, basePath));
421
+ getJob(requestParameters, options) {
422
+ return localVarFp.getJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
416
423
  },
417
424
  /**
418
425
  * List your processor jobs
419
426
  * @summary List jobs
420
- * @param {string} project Projects unique identifier
427
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
421
428
  * @param {*} [options] Override http request option.
422
429
  * @throws {RequiredError}
423
430
  */
424
- listJobs(project, options) {
425
- return localVarFp.listJobs(project, options).then((request) => request(axios, basePath));
431
+ listJobs(requestParameters, options) {
432
+ return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
426
433
  },
427
434
  };
428
435
  };
@@ -437,49 +444,46 @@ class ProcessorApi extends base_1.BaseAPI {
437
444
  /**
438
445
  * Create a new processor job
439
446
  * @summary Create job
440
- * @param {string} project Projects unique identifier
441
- * @param {Job} job Create a new job
447
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
442
448
  * @param {*} [options] Override http request option.
443
449
  * @throws {RequiredError}
444
450
  * @memberof ProcessorApi
445
451
  */
446
- createJob(project, job, options) {
447
- return (0, exports.ProcessorApiFp)(this.configuration).createJob(project, job, options).then((request) => request(this.axios, this.basePath));
452
+ createJob(requestParameters, options) {
453
+ return (0, exports.ProcessorApiFp)(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
448
454
  }
449
455
  /**
450
456
  * Delete a processor job
451
457
  * @summary Delete job
452
- * @param {string} job Jobs unique identifier
453
- * @param {string} project Projects unique identifier
458
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
454
459
  * @param {*} [options] Override http request option.
455
460
  * @throws {RequiredError}
456
461
  * @memberof ProcessorApi
457
462
  */
458
- deleteJob(job, project, options) {
459
- return (0, exports.ProcessorApiFp)(this.configuration).deleteJob(job, project, options).then((request) => request(this.axios, this.basePath));
463
+ deleteJob(requestParameters, options) {
464
+ return (0, exports.ProcessorApiFp)(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
460
465
  }
461
466
  /**
462
467
  * Get a job
463
468
  * @summary Get job
464
- * @param {string} job Jobs unique identifier
465
- * @param {string} project Projects unique identifier
469
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
466
470
  * @param {*} [options] Override http request option.
467
471
  * @throws {RequiredError}
468
472
  * @memberof ProcessorApi
469
473
  */
470
- getJob(job, project, options) {
471
- return (0, exports.ProcessorApiFp)(this.configuration).getJob(job, project, options).then((request) => request(this.axios, this.basePath));
474
+ getJob(requestParameters, options) {
475
+ return (0, exports.ProcessorApiFp)(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
472
476
  }
473
477
  /**
474
478
  * List your processor jobs
475
479
  * @summary List jobs
476
- * @param {string} project Projects unique identifier
480
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
477
481
  * @param {*} [options] Override http request option.
478
482
  * @throws {RequiredError}
479
483
  * @memberof ProcessorApi
480
484
  */
481
- listJobs(project, options) {
482
- return (0, exports.ProcessorApiFp)(this.configuration).listJobs(project, options).then((request) => request(this.axios, this.basePath));
485
+ listJobs(requestParameters, options) {
486
+ return (0, exports.ProcessorApiFp)(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
483
487
  }
484
488
  }
485
489
  exports.ProcessorApi = ProcessorApi;
package/dist/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.1.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/base.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.1.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/dist/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.1.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/common.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.1.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).
@@ -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.1.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).
@@ -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.1.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).