@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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @teemill/file-processor@0.1.1
1
+ ## @teemill/file-processor@0.3.0
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.1 --save
39
+ npm install @teemill/file-processor@0.3.0 --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.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).
@@ -54,12 +54,6 @@ export interface CreateJobRequest {
54
54
  * @memberof CreateJobRequest
55
55
  */
56
56
  'input': JobInput;
57
- /**
58
- *
59
- * @type {JobOutput}
60
- * @memberof CreateJobRequest
61
- */
62
- 'output': JobOutput;
63
57
  /**
64
58
  *
65
59
  * @type {string}
@@ -183,13 +177,13 @@ export interface JobOutput {
183
177
  * @type {string}
184
178
  * @memberof JobOutput
185
179
  */
186
- 'path': string;
180
+ 'source': string;
187
181
  /**
188
182
  *
189
183
  * @type {string}
190
184
  * @memberof JobOutput
191
185
  */
192
- 'driver': string;
186
+ 'thumbnail': string;
193
187
  }
194
188
  /**
195
189
  *
@@ -203,6 +197,12 @@ export interface ListJobs200Response {
203
197
  * @memberof ListJobs200Response
204
198
  */
205
199
  'jobs': Array<Job>;
200
+ /**
201
+ *
202
+ * @type {number}
203
+ * @memberof ListJobs200Response
204
+ */
205
+ 'nextPageToken': number;
206
206
  }
207
207
 
208
208
  /**
@@ -286,7 +286,7 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
286
286
  * @param {*} [options] Override http request option.
287
287
  * @throws {RequiredError}
288
288
  */
289
- getHealth(options?: any): AxiosPromise<GetHealth200Response> {
289
+ getHealth(options?: RawAxiosRequestConfig): AxiosPromise<GetHealth200Response> {
290
290
  return localVarFp.getHealth(options).then((request) => request(axios, basePath));
291
291
  },
292
292
  };
@@ -469,10 +469,12 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
469
469
  * List your processor jobs
470
470
  * @summary List jobs
471
471
  * @param {string} project Projects unique identifier
472
+ * @param {number} [pageToken] Page reference token
473
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
472
474
  * @param {*} [options] Override http request option.
473
475
  * @throws {RequiredError}
474
476
  */
475
- listJobs: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
477
+ listJobs: async (project: string, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
476
478
  // verify required parameter 'project' is not null or undefined
477
479
  assertParamExists('listJobs', 'project', project)
478
480
  const localVarPath = `/jobs`;
@@ -498,6 +500,14 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
498
500
  localVarQueryParameter['project'] = project;
499
501
  }
500
502
 
503
+ if (pageToken !== undefined) {
504
+ localVarQueryParameter['pageToken'] = pageToken;
505
+ }
506
+
507
+ if (pageSize !== undefined) {
508
+ localVarQueryParameter['pageSize'] = pageSize;
509
+ }
510
+
501
511
 
502
512
 
503
513
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -565,11 +575,13 @@ export const ProcessorApiFp = function(configuration?: Configuration) {
565
575
  * List your processor jobs
566
576
  * @summary List jobs
567
577
  * @param {string} project Projects unique identifier
578
+ * @param {number} [pageToken] Page reference token
579
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
568
580
  * @param {*} [options] Override http request option.
569
581
  * @throws {RequiredError}
570
582
  */
571
- async listJobs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>> {
572
- const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(project, options);
583
+ async listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>> {
584
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
573
585
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
574
586
  const localVarOperationServerBasePath = operationServerMap['ProcessorApi.listJobs']?.[localVarOperationServerIndex]?.url;
575
587
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -587,49 +599,137 @@ export const ProcessorApiFactory = function (configuration?: Configuration, base
587
599
  /**
588
600
  * Create a new processor job
589
601
  * @summary Create job
590
- * @param {string} project Projects unique identifier
591
- * @param {CreateJobRequest} createJobRequest Create a new job
602
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
592
603
  * @param {*} [options] Override http request option.
593
604
  * @throws {RequiredError}
594
605
  */
595
- createJob(project: string, createJobRequest: CreateJobRequest, options?: any): AxiosPromise<Job> {
596
- return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
606
+ createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job> {
607
+ return localVarFp.createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(axios, basePath));
597
608
  },
598
609
  /**
599
610
  * Delete a processor job
600
611
  * @summary Delete job
601
- * @param {string} job Jobs unique identifier
602
- * @param {string} project Projects unique identifier
612
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
603
613
  * @param {*} [options] Override http request option.
604
614
  * @throws {RequiredError}
605
615
  */
606
- deleteJob(job: string, project: string, options?: any): AxiosPromise<void> {
607
- return localVarFp.deleteJob(job, project, options).then((request) => request(axios, basePath));
616
+ deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
617
+ return localVarFp.deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
608
618
  },
609
619
  /**
610
620
  * Get a job
611
621
  * @summary Get job
612
- * @param {string} job Jobs unique identifier
613
- * @param {string} project Projects unique identifier
622
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
614
623
  * @param {*} [options] Override http request option.
615
624
  * @throws {RequiredError}
616
625
  */
617
- getJob(job: string, project: string, options?: any): AxiosPromise<Job> {
618
- return localVarFp.getJob(job, project, options).then((request) => request(axios, basePath));
626
+ getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job> {
627
+ return localVarFp.getJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
619
628
  },
620
629
  /**
621
630
  * List your processor jobs
622
631
  * @summary List jobs
623
- * @param {string} project Projects unique identifier
632
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
624
633
  * @param {*} [options] Override http request option.
625
634
  * @throws {RequiredError}
626
635
  */
627
- listJobs(project: string, options?: any): AxiosPromise<ListJobs200Response> {
628
- return localVarFp.listJobs(project, options).then((request) => request(axios, basePath));
636
+ listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response> {
637
+ return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
629
638
  },
630
639
  };
631
640
  };
632
641
 
642
+ /**
643
+ * Request parameters for createJob operation in ProcessorApi.
644
+ * @export
645
+ * @interface ProcessorApiCreateJobRequest
646
+ */
647
+ export interface ProcessorApiCreateJobRequest {
648
+ /**
649
+ * Projects unique identifier
650
+ * @type {string}
651
+ * @memberof ProcessorApiCreateJob
652
+ */
653
+ readonly project: string
654
+
655
+ /**
656
+ * Create a new job
657
+ * @type {CreateJobRequest}
658
+ * @memberof ProcessorApiCreateJob
659
+ */
660
+ readonly createJobRequest: CreateJobRequest
661
+ }
662
+
663
+ /**
664
+ * Request parameters for deleteJob operation in ProcessorApi.
665
+ * @export
666
+ * @interface ProcessorApiDeleteJobRequest
667
+ */
668
+ export interface ProcessorApiDeleteJobRequest {
669
+ /**
670
+ * Jobs unique identifier
671
+ * @type {string}
672
+ * @memberof ProcessorApiDeleteJob
673
+ */
674
+ readonly job: string
675
+
676
+ /**
677
+ * Projects unique identifier
678
+ * @type {string}
679
+ * @memberof ProcessorApiDeleteJob
680
+ */
681
+ readonly project: string
682
+ }
683
+
684
+ /**
685
+ * Request parameters for getJob operation in ProcessorApi.
686
+ * @export
687
+ * @interface ProcessorApiGetJobRequest
688
+ */
689
+ export interface ProcessorApiGetJobRequest {
690
+ /**
691
+ * Jobs unique identifier
692
+ * @type {string}
693
+ * @memberof ProcessorApiGetJob
694
+ */
695
+ readonly job: string
696
+
697
+ /**
698
+ * Projects unique identifier
699
+ * @type {string}
700
+ * @memberof ProcessorApiGetJob
701
+ */
702
+ readonly project: string
703
+ }
704
+
705
+ /**
706
+ * Request parameters for listJobs operation in ProcessorApi.
707
+ * @export
708
+ * @interface ProcessorApiListJobsRequest
709
+ */
710
+ export interface ProcessorApiListJobsRequest {
711
+ /**
712
+ * Projects unique identifier
713
+ * @type {string}
714
+ * @memberof ProcessorApiListJobs
715
+ */
716
+ readonly project: string
717
+
718
+ /**
719
+ * Page reference token
720
+ * @type {number}
721
+ * @memberof ProcessorApiListJobs
722
+ */
723
+ readonly pageToken?: number
724
+
725
+ /**
726
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
727
+ * @type {number}
728
+ * @memberof ProcessorApiListJobs
729
+ */
730
+ readonly pageSize?: number
731
+ }
732
+
633
733
  /**
634
734
  * ProcessorApi - object-oriented interface
635
735
  * @export
@@ -640,52 +740,49 @@ export class ProcessorApi extends BaseAPI {
640
740
  /**
641
741
  * Create a new processor job
642
742
  * @summary Create job
643
- * @param {string} project Projects unique identifier
644
- * @param {CreateJobRequest} createJobRequest Create a new job
743
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
645
744
  * @param {*} [options] Override http request option.
646
745
  * @throws {RequiredError}
647
746
  * @memberof ProcessorApi
648
747
  */
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));
748
+ public createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig) {
749
+ return ProcessorApiFp(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
651
750
  }
652
751
 
653
752
  /**
654
753
  * Delete a processor job
655
754
  * @summary Delete job
656
- * @param {string} job Jobs unique identifier
657
- * @param {string} project Projects unique identifier
755
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
658
756
  * @param {*} [options] Override http request option.
659
757
  * @throws {RequiredError}
660
758
  * @memberof ProcessorApi
661
759
  */
662
- public deleteJob(job: string, project: string, options?: RawAxiosRequestConfig) {
663
- return ProcessorApiFp(this.configuration).deleteJob(job, project, options).then((request) => request(this.axios, this.basePath));
760
+ public deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig) {
761
+ return ProcessorApiFp(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
664
762
  }
665
763
 
666
764
  /**
667
765
  * Get a job
668
766
  * @summary Get job
669
- * @param {string} job Jobs unique identifier
670
- * @param {string} project Projects unique identifier
767
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
671
768
  * @param {*} [options] Override http request option.
672
769
  * @throws {RequiredError}
673
770
  * @memberof ProcessorApi
674
771
  */
675
- public getJob(job: string, project: string, options?: RawAxiosRequestConfig) {
676
- return ProcessorApiFp(this.configuration).getJob(job, project, options).then((request) => request(this.axios, this.basePath));
772
+ public getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig) {
773
+ return ProcessorApiFp(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
677
774
  }
678
775
 
679
776
  /**
680
777
  * List your processor jobs
681
778
  * @summary List jobs
682
- * @param {string} project Projects unique identifier
779
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
683
780
  * @param {*} [options] Override http request option.
684
781
  * @throws {RequiredError}
685
782
  * @memberof ProcessorApi
686
783
  */
687
- public listJobs(project: string, options?: RawAxiosRequestConfig) {
688
- return ProcessorApiFp(this.configuration).listJobs(project, options).then((request) => request(this.axios, this.basePath));
784
+ public listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig) {
785
+ return ProcessorApiFp(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
689
786
  }
690
787
  }
691
788
 
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.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/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.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/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.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/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.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).
@@ -44,12 +44,6 @@ export interface CreateJobRequest {
44
44
  * @memberof CreateJobRequest
45
45
  */
46
46
  'input': JobInput;
47
- /**
48
- *
49
- * @type {JobOutput}
50
- * @memberof CreateJobRequest
51
- */
52
- 'output': JobOutput;
53
47
  /**
54
48
  *
55
49
  * @type {string}
@@ -173,13 +167,13 @@ export interface JobOutput {
173
167
  * @type {string}
174
168
  * @memberof JobOutput
175
169
  */
176
- 'path': string;
170
+ 'source': string;
177
171
  /**
178
172
  *
179
173
  * @type {string}
180
174
  * @memberof JobOutput
181
175
  */
182
- 'driver': string;
176
+ 'thumbnail': string;
183
177
  }
184
178
  /**
185
179
  *
@@ -193,6 +187,12 @@ export interface ListJobs200Response {
193
187
  * @memberof ListJobs200Response
194
188
  */
195
189
  'jobs': Array<Job>;
190
+ /**
191
+ *
192
+ * @type {number}
193
+ * @memberof ListJobs200Response
194
+ */
195
+ 'nextPageToken': number;
196
196
  }
197
197
  /**
198
198
  * HealthApi - axios parameter creator
@@ -231,7 +231,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
231
231
  * @param {*} [options] Override http request option.
232
232
  * @throws {RequiredError}
233
233
  */
234
- getHealth(options?: any): AxiosPromise<GetHealth200Response>;
234
+ getHealth(options?: RawAxiosRequestConfig): AxiosPromise<GetHealth200Response>;
235
235
  };
236
236
  /**
237
237
  * HealthApi - object-oriented interface
@@ -285,10 +285,12 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
285
285
  * List your processor jobs
286
286
  * @summary List jobs
287
287
  * @param {string} project Projects unique identifier
288
+ * @param {number} [pageToken] Page reference token
289
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
288
290
  * @param {*} [options] Override http request option.
289
291
  * @throws {RequiredError}
290
292
  */
291
- listJobs: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
293
+ listJobs: (project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
292
294
  };
293
295
  /**
294
296
  * ProcessorApi - functional programming interface
@@ -326,10 +328,12 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
326
328
  * List your processor jobs
327
329
  * @summary List jobs
328
330
  * @param {string} project Projects unique identifier
331
+ * @param {number} [pageToken] Page reference token
332
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
329
333
  * @param {*} [options] Override http request option.
330
334
  * @throws {RequiredError}
331
335
  */
332
- listJobs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>>;
336
+ listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>>;
333
337
  };
334
338
  /**
335
339
  * ProcessorApi - factory interface
@@ -339,39 +343,118 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
339
343
  /**
340
344
  * Create a new processor job
341
345
  * @summary Create job
342
- * @param {string} project Projects unique identifier
343
- * @param {CreateJobRequest} createJobRequest Create a new job
346
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
344
347
  * @param {*} [options] Override http request option.
345
348
  * @throws {RequiredError}
346
349
  */
347
- createJob(project: string, createJobRequest: CreateJobRequest, options?: any): AxiosPromise<Job>;
350
+ createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
348
351
  /**
349
352
  * Delete a processor job
350
353
  * @summary Delete job
351
- * @param {string} job Jobs unique identifier
352
- * @param {string} project Projects unique identifier
354
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
353
355
  * @param {*} [options] Override http request option.
354
356
  * @throws {RequiredError}
355
357
  */
356
- deleteJob(job: string, project: string, options?: any): AxiosPromise<void>;
358
+ deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
357
359
  /**
358
360
  * Get a job
359
361
  * @summary Get job
360
- * @param {string} job Jobs unique identifier
361
- * @param {string} project Projects unique identifier
362
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
362
363
  * @param {*} [options] Override http request option.
363
364
  * @throws {RequiredError}
364
365
  */
365
- getJob(job: string, project: string, options?: any): AxiosPromise<Job>;
366
+ getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
366
367
  /**
367
368
  * List your processor jobs
368
369
  * @summary List jobs
369
- * @param {string} project Projects unique identifier
370
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
370
371
  * @param {*} [options] Override http request option.
371
372
  * @throws {RequiredError}
372
373
  */
373
- listJobs(project: string, options?: any): AxiosPromise<ListJobs200Response>;
374
+ listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response>;
374
375
  };
376
+ /**
377
+ * Request parameters for createJob operation in ProcessorApi.
378
+ * @export
379
+ * @interface ProcessorApiCreateJobRequest
380
+ */
381
+ export interface ProcessorApiCreateJobRequest {
382
+ /**
383
+ * Projects unique identifier
384
+ * @type {string}
385
+ * @memberof ProcessorApiCreateJob
386
+ */
387
+ readonly project: string;
388
+ /**
389
+ * Create a new job
390
+ * @type {CreateJobRequest}
391
+ * @memberof ProcessorApiCreateJob
392
+ */
393
+ readonly createJobRequest: CreateJobRequest;
394
+ }
395
+ /**
396
+ * Request parameters for deleteJob operation in ProcessorApi.
397
+ * @export
398
+ * @interface ProcessorApiDeleteJobRequest
399
+ */
400
+ export interface ProcessorApiDeleteJobRequest {
401
+ /**
402
+ * Jobs unique identifier
403
+ * @type {string}
404
+ * @memberof ProcessorApiDeleteJob
405
+ */
406
+ readonly job: string;
407
+ /**
408
+ * Projects unique identifier
409
+ * @type {string}
410
+ * @memberof ProcessorApiDeleteJob
411
+ */
412
+ readonly project: string;
413
+ }
414
+ /**
415
+ * Request parameters for getJob operation in ProcessorApi.
416
+ * @export
417
+ * @interface ProcessorApiGetJobRequest
418
+ */
419
+ export interface ProcessorApiGetJobRequest {
420
+ /**
421
+ * Jobs unique identifier
422
+ * @type {string}
423
+ * @memberof ProcessorApiGetJob
424
+ */
425
+ readonly job: string;
426
+ /**
427
+ * Projects unique identifier
428
+ * @type {string}
429
+ * @memberof ProcessorApiGetJob
430
+ */
431
+ readonly project: string;
432
+ }
433
+ /**
434
+ * Request parameters for listJobs operation in ProcessorApi.
435
+ * @export
436
+ * @interface ProcessorApiListJobsRequest
437
+ */
438
+ export interface ProcessorApiListJobsRequest {
439
+ /**
440
+ * Projects unique identifier
441
+ * @type {string}
442
+ * @memberof ProcessorApiListJobs
443
+ */
444
+ readonly project: string;
445
+ /**
446
+ * Page reference token
447
+ * @type {number}
448
+ * @memberof ProcessorApiListJobs
449
+ */
450
+ readonly pageToken?: number;
451
+ /**
452
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
453
+ * @type {number}
454
+ * @memberof ProcessorApiListJobs
455
+ */
456
+ readonly pageSize?: number;
457
+ }
375
458
  /**
376
459
  * ProcessorApi - object-oriented interface
377
460
  * @export
@@ -382,40 +465,37 @@ export declare class ProcessorApi extends BaseAPI {
382
465
  /**
383
466
  * Create a new processor job
384
467
  * @summary Create job
385
- * @param {string} project Projects unique identifier
386
- * @param {CreateJobRequest} createJobRequest Create a new job
468
+ * @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
387
469
  * @param {*} [options] Override http request option.
388
470
  * @throws {RequiredError}
389
471
  * @memberof ProcessorApi
390
472
  */
391
- createJob(project: string, createJobRequest: CreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
473
+ createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
392
474
  /**
393
475
  * Delete a processor job
394
476
  * @summary Delete job
395
- * @param {string} job Jobs unique identifier
396
- * @param {string} project Projects unique identifier
477
+ * @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
397
478
  * @param {*} [options] Override http request option.
398
479
  * @throws {RequiredError}
399
480
  * @memberof ProcessorApi
400
481
  */
401
- deleteJob(job: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
482
+ deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
402
483
  /**
403
484
  * Get a job
404
485
  * @summary Get job
405
- * @param {string} job Jobs unique identifier
406
- * @param {string} project Projects unique identifier
486
+ * @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
407
487
  * @param {*} [options] Override http request option.
408
488
  * @throws {RequiredError}
409
489
  * @memberof ProcessorApi
410
490
  */
411
- getJob(job: string, project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
491
+ getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
412
492
  /**
413
493
  * List your processor jobs
414
494
  * @summary List jobs
415
- * @param {string} project Projects unique identifier
495
+ * @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
416
496
  * @param {*} [options] Override http request option.
417
497
  * @throws {RequiredError}
418
498
  * @memberof ProcessorApi
419
499
  */
420
- listJobs(project: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
500
+ listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
421
501
  }