@teemill/file-processor 0.1.0 → 0.1.1

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/file-processor@0.1.0
1
+ ## @teemill/file-processor@0.1.1
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @teemill/file-processor@0.1.0 --save
39
+ npm install @teemill/file-processor@0.1.1 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.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.0
7
+ * The version of the OpenAPI document: 0.1.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -42,6 +42,37 @@ export interface ApiError {
42
42
  */
43
43
  'message': string;
44
44
  }
45
+ /**
46
+ *
47
+ * @export
48
+ * @interface CreateJobRequest
49
+ */
50
+ export interface CreateJobRequest {
51
+ /**
52
+ *
53
+ * @type {JobInput}
54
+ * @memberof CreateJobRequest
55
+ */
56
+ 'input': JobInput;
57
+ /**
58
+ *
59
+ * @type {JobOutput}
60
+ * @memberof CreateJobRequest
61
+ */
62
+ 'output': JobOutput;
63
+ /**
64
+ *
65
+ * @type {string}
66
+ * @memberof CreateJobRequest
67
+ */
68
+ 'pipeline': string;
69
+ /**
70
+ *
71
+ * @type {object}
72
+ * @memberof CreateJobRequest
73
+ */
74
+ 'configuration': object;
75
+ }
45
76
  /**
46
77
  *
47
78
  * @export
@@ -292,15 +323,15 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
292
323
  * Create a new processor job
293
324
  * @summary Create job
294
325
  * @param {string} project Projects unique identifier
295
- * @param {Job} job Create a new job
326
+ * @param {CreateJobRequest} createJobRequest Create a new job
296
327
  * @param {*} [options] Override http request option.
297
328
  * @throws {RequiredError}
298
329
  */
299
- createJob: async (project: string, job: Job, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
330
+ createJob: async (project: string, createJobRequest: CreateJobRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
300
331
  // verify required parameter 'project' is not null or undefined
301
332
  assertParamExists('createJob', 'project', project)
302
- // verify required parameter 'job' is not null or undefined
303
- assertParamExists('createJob', 'job', job)
333
+ // verify required parameter 'createJobRequest' is not null or undefined
334
+ assertParamExists('createJob', 'createJobRequest', createJobRequest)
304
335
  const localVarPath = `/jobs`;
305
336
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
306
337
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -331,7 +362,7 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
331
362
  setSearchParams(localVarUrlObj, localVarQueryParameter);
332
363
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
333
364
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
334
- localVarRequestOptions.data = serializeDataIfNeeded(job, localVarRequestOptions, configuration)
365
+ localVarRequestOptions.data = serializeDataIfNeeded(createJobRequest, localVarRequestOptions, configuration)
335
366
 
336
367
  return {
337
368
  url: toPathString(localVarUrlObj),
@@ -492,12 +523,12 @@ export const ProcessorApiFp = function(configuration?: Configuration) {
492
523
  * Create a new processor job
493
524
  * @summary Create job
494
525
  * @param {string} project Projects unique identifier
495
- * @param {Job} job Create a new job
526
+ * @param {CreateJobRequest} createJobRequest Create a new job
496
527
  * @param {*} [options] Override http request option.
497
528
  * @throws {RequiredError}
498
529
  */
499
- async createJob(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>> {
500
- const localVarAxiosArgs = await localVarAxiosParamCreator.createJob(project, job, options);
530
+ async createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>> {
531
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createJob(project, createJobRequest, options);
501
532
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
502
533
  const localVarOperationServerBasePath = operationServerMap['ProcessorApi.createJob']?.[localVarOperationServerIndex]?.url;
503
534
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -557,12 +588,12 @@ export const ProcessorApiFactory = function (configuration?: Configuration, base
557
588
  * Create a new processor job
558
589
  * @summary Create job
559
590
  * @param {string} project Projects unique identifier
560
- * @param {Job} job Create a new job
591
+ * @param {CreateJobRequest} createJobRequest Create a new job
561
592
  * @param {*} [options] Override http request option.
562
593
  * @throws {RequiredError}
563
594
  */
564
- createJob(project: string, job: Job, options?: any): AxiosPromise<Job> {
565
- return localVarFp.createJob(project, job, options).then((request) => request(axios, basePath));
595
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: any): AxiosPromise<Job> {
596
+ return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
566
597
  },
567
598
  /**
568
599
  * Delete a processor job
@@ -610,13 +641,13 @@ export class ProcessorApi extends BaseAPI {
610
641
  * Create a new processor job
611
642
  * @summary Create job
612
643
  * @param {string} project Projects unique identifier
613
- * @param {Job} job Create a new job
644
+ * @param {CreateJobRequest} createJobRequest Create a new job
614
645
  * @param {*} [options] Override http request option.
615
646
  * @throws {RequiredError}
616
647
  * @memberof ProcessorApi
617
648
  */
618
- public createJob(project: string, job: Job, options?: RawAxiosRequestConfig) {
619
- return ProcessorApiFp(this.configuration).createJob(project, job, options).then((request) => request(this.axios, this.basePath));
649
+ public createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig) {
650
+ return ProcessorApiFp(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
620
651
  }
621
652
 
622
653
  /**
package/base.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.0
7
+ * The version of the OpenAPI document: 0.1.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.0
7
+ * The version of the OpenAPI document: 0.1.1
8
8
  * Contact: hello@teemill.com
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.0
7
+ * The version of the OpenAPI document: 0.1.1
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/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.1.1
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
@@ -227,11 +258,11 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
227
258
  * Create a new processor job
228
259
  * @summary Create job
229
260
  * @param {string} project Projects unique identifier
230
- * @param {Job} job Create a new job
261
+ * @param {CreateJobRequest} createJobRequest Create a new job
231
262
  * @param {*} [options] Override http request option.
232
263
  * @throws {RequiredError}
233
264
  */
234
- createJob: (project: string, job: Job, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
265
+ createJob: (project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
235
266
  /**
236
267
  * Delete a processor job
237
268
  * @summary Delete job
@@ -268,11 +299,11 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
268
299
  * Create a new processor job
269
300
  * @summary Create job
270
301
  * @param {string} project Projects unique identifier
271
- * @param {Job} job Create a new job
302
+ * @param {CreateJobRequest} createJobRequest Create a new job
272
303
  * @param {*} [options] Override http request option.
273
304
  * @throws {RequiredError}
274
305
  */
275
- createJob(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
306
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
276
307
  /**
277
308
  * Delete a processor job
278
309
  * @summary Delete job
@@ -309,11 +340,11 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
309
340
  * Create a new processor job
310
341
  * @summary Create job
311
342
  * @param {string} project Projects unique identifier
312
- * @param {Job} job Create a new job
343
+ * @param {CreateJobRequest} createJobRequest Create a new job
313
344
  * @param {*} [options] Override http request option.
314
345
  * @throws {RequiredError}
315
346
  */
316
- createJob(project: string, job: Job, options?: any): AxiosPromise<Job>;
347
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: any): AxiosPromise<Job>;
317
348
  /**
318
349
  * Delete a processor job
319
350
  * @summary Delete job
@@ -352,12 +383,12 @@ export declare class ProcessorApi extends BaseAPI {
352
383
  * Create a new processor job
353
384
  * @summary Create job
354
385
  * @param {string} project Projects unique identifier
355
- * @param {Job} job Create a new job
386
+ * @param {CreateJobRequest} createJobRequest Create a new job
356
387
  * @param {*} [options] Override http request option.
357
388
  * @throws {RequiredError}
358
389
  * @memberof ProcessorApi
359
390
  */
360
- createJob(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
391
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
361
392
  /**
362
393
  * Delete a processor job
363
394
  * @summary Delete job
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.1.1
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
@@ -308,14 +308,14 @@ const ProcessorApiFp = function (configuration) {
308
308
  * Create a new processor job
309
309
  * @summary Create job
310
310
  * @param {string} project Projects unique identifier
311
- * @param {Job} job Create a new job
311
+ * @param {CreateJobRequest} createJobRequest Create a new job
312
312
  * @param {*} [options] Override http request option.
313
313
  * @throws {RequiredError}
314
314
  */
315
- createJob(project, job, options) {
315
+ createJob(project, createJobRequest, options) {
316
316
  return __awaiter(this, void 0, void 0, function* () {
317
317
  var _a, _b, _c;
318
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, job, options);
318
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, createJobRequest, options);
319
319
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
320
320
  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
321
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -385,12 +385,12 @@ const ProcessorApiFactory = function (configuration, basePath, axios) {
385
385
  * Create a new processor job
386
386
  * @summary Create job
387
387
  * @param {string} project Projects unique identifier
388
- * @param {Job} job Create a new job
388
+ * @param {CreateJobRequest} createJobRequest Create a new job
389
389
  * @param {*} [options] Override http request option.
390
390
  * @throws {RequiredError}
391
391
  */
392
- createJob(project, job, options) {
393
- return localVarFp.createJob(project, job, options).then((request) => request(axios, basePath));
392
+ createJob(project, createJobRequest, options) {
393
+ return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
394
394
  },
395
395
  /**
396
396
  * Delete a processor job
@@ -438,13 +438,13 @@ class ProcessorApi extends base_1.BaseAPI {
438
438
  * Create a new processor job
439
439
  * @summary Create job
440
440
  * @param {string} project Projects unique identifier
441
- * @param {Job} job Create a new job
441
+ * @param {CreateJobRequest} createJobRequest Create a new job
442
442
  * @param {*} [options] Override http request option.
443
443
  * @throws {RequiredError}
444
444
  * @memberof ProcessorApi
445
445
  */
446
- createJob(project, job, options) {
447
- return (0, exports.ProcessorApiFp)(this.configuration).createJob(project, job, options).then((request) => request(this.axios, this.basePath));
446
+ createJob(project, createJobRequest, options) {
447
+ return (0, exports.ProcessorApiFp)(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
448
448
  }
449
449
  /**
450
450
  * Delete a processor job
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.1.1
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.1.1
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.1.1
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.1.1
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.1.1
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.1.1
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/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.1.0
5
+ * The version of the OpenAPI document: 0.1.1
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
@@ -227,11 +258,11 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
227
258
  * Create a new processor job
228
259
  * @summary Create job
229
260
  * @param {string} project Projects unique identifier
230
- * @param {Job} job Create a new job
261
+ * @param {CreateJobRequest} createJobRequest Create a new job
231
262
  * @param {*} [options] Override http request option.
232
263
  * @throws {RequiredError}
233
264
  */
234
- createJob: (project: string, job: Job, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
265
+ createJob: (project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
235
266
  /**
236
267
  * Delete a processor job
237
268
  * @summary Delete job
@@ -268,11 +299,11 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
268
299
  * Create a new processor job
269
300
  * @summary Create job
270
301
  * @param {string} project Projects unique identifier
271
- * @param {Job} job Create a new job
302
+ * @param {CreateJobRequest} createJobRequest Create a new job
272
303
  * @param {*} [options] Override http request option.
273
304
  * @throws {RequiredError}
274
305
  */
275
- createJob(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
306
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Job>>;
276
307
  /**
277
308
  * Delete a processor job
278
309
  * @summary Delete job
@@ -309,11 +340,11 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
309
340
  * Create a new processor job
310
341
  * @summary Create job
311
342
  * @param {string} project Projects unique identifier
312
- * @param {Job} job Create a new job
343
+ * @param {CreateJobRequest} createJobRequest Create a new job
313
344
  * @param {*} [options] Override http request option.
314
345
  * @throws {RequiredError}
315
346
  */
316
- createJob(project: string, job: Job, options?: any): AxiosPromise<Job>;
347
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: any): AxiosPromise<Job>;
317
348
  /**
318
349
  * Delete a processor job
319
350
  * @summary Delete job
@@ -352,12 +383,12 @@ export declare class ProcessorApi extends BaseAPI {
352
383
  * Create a new processor job
353
384
  * @summary Create job
354
385
  * @param {string} project Projects unique identifier
355
- * @param {Job} job Create a new job
386
+ * @param {CreateJobRequest} createJobRequest Create a new job
356
387
  * @param {*} [options] Override http request option.
357
388
  * @throws {RequiredError}
358
389
  * @memberof ProcessorApi
359
390
  */
360
- createJob(project: string, job: Job, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
391
+ createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
361
392
  /**
362
393
  * Delete a processor job
363
394
  * @summary Delete job
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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 {Job} job Create a new job
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, job_1, ...args_1) => __awaiter(this, [project_1, job_1, ...args_1], void 0, function* (project, job, options = {}) {
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 'job' is not null or undefined
145
- assertParamExists('createJob', 'job', job);
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(job, localVarRequestOptions, configuration);
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: (job_2, project_2, ...args_2) => __awaiter(this, [job_2, project_2, ...args_2], void 0, function* (job, project, options = {}) {
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: (job_3, project_3, ...args_3) => __awaiter(this, [job_3, project_3, ...args_3], void 0, function* (job, project, options = {}) {
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
@@ -300,14 +300,14 @@ export const ProcessorApiFp = function (configuration) {
300
300
  * Create a new processor job
301
301
  * @summary Create job
302
302
  * @param {string} project Projects unique identifier
303
- * @param {Job} job Create a new job
303
+ * @param {CreateJobRequest} createJobRequest Create a new job
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
307
- createJob(project, job, options) {
307
+ createJob(project, createJobRequest, options) {
308
308
  return __awaiter(this, void 0, void 0, function* () {
309
309
  var _a, _b, _c;
310
- const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, job, options);
310
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createJob(project, createJobRequest, options);
311
311
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
312
312
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProcessorApi.createJob']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
313
313
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -376,12 +376,12 @@ export const ProcessorApiFactory = function (configuration, basePath, axios) {
376
376
  * Create a new processor job
377
377
  * @summary Create job
378
378
  * @param {string} project Projects unique identifier
379
- * @param {Job} job Create a new job
379
+ * @param {CreateJobRequest} createJobRequest Create a new job
380
380
  * @param {*} [options] Override http request option.
381
381
  * @throws {RequiredError}
382
382
  */
383
- createJob(project, job, options) {
384
- return localVarFp.createJob(project, job, options).then((request) => request(axios, basePath));
383
+ createJob(project, createJobRequest, options) {
384
+ return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
385
385
  },
386
386
  /**
387
387
  * Delete a processor job
@@ -428,13 +428,13 @@ export class ProcessorApi extends BaseAPI {
428
428
  * Create a new processor job
429
429
  * @summary Create job
430
430
  * @param {string} project Projects unique identifier
431
- * @param {Job} job Create a new job
431
+ * @param {CreateJobRequest} createJobRequest Create a new job
432
432
  * @param {*} [options] Override http request option.
433
433
  * @throws {RequiredError}
434
434
  * @memberof ProcessorApi
435
435
  */
436
- createJob(project, job, options) {
437
- return ProcessorApiFp(this.configuration).createJob(project, job, options).then((request) => request(this.axios, this.basePath));
436
+ createJob(project, createJobRequest, options) {
437
+ return ProcessorApiFp(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
438
438
  }
439
439
  /**
440
440
  * Delete a processor job
@@ -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.1.1
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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.0
5
+ * The version of the OpenAPI document: 0.1.1
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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.0
5
+ * The version of the OpenAPI document: 0.1.1
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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.0
5
+ * The version of the OpenAPI document: 0.1.1
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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.0
5
+ * The version of the OpenAPI document: 0.1.1
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.0
8
+ * The version of the OpenAPI document: 0.1.1
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.0
7
+ * The version of the OpenAPI document: 0.1.1
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.0",
3
+ "version": "0.1.1",
4
4
  "description": "OpenAPI client for @teemill/file-processor",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {