@teemill/file-processor 0.1.1 → 0.3.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/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.1.1
7
+ * The version of the OpenAPI document: 0.3.0
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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);
@@ -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 {string} project Projects unique identifier
379
- * @param {CreateJobRequest} createJobRequest 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(project, createJobRequest, options) {
384
- return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
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 {string} job Jobs unique identifier
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(job, project, options) {
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 {string} job Jobs unique identifier
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(job, project, options) {
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 {string} project Projects unique identifier
418
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
412
419
  * @param {*} [options] Override http request option.
413
420
  * @throws {RequiredError}
414
421
  */
415
- listJobs(project, options) {
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 {string} project Projects unique identifier
431
- * @param {CreateJobRequest} createJobRequest 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(project, createJobRequest, options) {
437
- return ProcessorApiFp(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
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 {string} job Jobs unique identifier
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(job, project, options) {
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 {string} job Jobs unique identifier
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(job, project, options) {
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 {string} project Projects unique identifier
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(project, options) {
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
  }
@@ -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.1
5
+ * The version of the OpenAPI document: 0.3.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.1.1
7
+ * The version of the OpenAPI document: 0.3.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.1.1
5
+ * The version of the OpenAPI document: 0.3.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.1.1
7
+ * The version of the OpenAPI document: 0.3.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.1.1
5
+ * The version of the OpenAPI document: 0.3.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.1.1
7
+ * The version of the OpenAPI document: 0.3.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.1.1
5
+ * The version of the OpenAPI document: 0.3.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.1.1
7
+ * The version of the OpenAPI document: 0.3.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.1.1
5
+ * The version of the OpenAPI document: 0.3.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.1.1
8
+ * The version of the OpenAPI document: 0.3.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.1.1
7
+ * The version of the OpenAPI document: 0.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teemill/file-processor",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "OpenAPI client for @teemill/file-processor",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {