@teemill/file-processor 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +138 -35
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +112 -26
- package/dist/api.js +38 -34
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +112 -26
- package/dist/esm/api.js +38 -34
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/file-processor@0.
|
|
1
|
+
## @teemill/file-processor@0.2.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.
|
|
39
|
+
npm install @teemill/file-processor@0.2.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.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -203,6 +203,12 @@ export interface ListJobs200Response {
|
|
|
203
203
|
* @memberof ListJobs200Response
|
|
204
204
|
*/
|
|
205
205
|
'jobs': Array<Job>;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {number}
|
|
209
|
+
* @memberof ListJobs200Response
|
|
210
|
+
*/
|
|
211
|
+
'nextPageToken': number;
|
|
206
212
|
}
|
|
207
213
|
|
|
208
214
|
/**
|
|
@@ -286,7 +292,7 @@ export const HealthApiFactory = function (configuration?: Configuration, basePat
|
|
|
286
292
|
* @param {*} [options] Override http request option.
|
|
287
293
|
* @throws {RequiredError}
|
|
288
294
|
*/
|
|
289
|
-
getHealth(options?:
|
|
295
|
+
getHealth(options?: RawAxiosRequestConfig): AxiosPromise<GetHealth200Response> {
|
|
290
296
|
return localVarFp.getHealth(options).then((request) => request(axios, basePath));
|
|
291
297
|
},
|
|
292
298
|
};
|
|
@@ -469,10 +475,12 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
|
|
|
469
475
|
* List your processor jobs
|
|
470
476
|
* @summary List jobs
|
|
471
477
|
* @param {string} project Projects unique identifier
|
|
478
|
+
* @param {number} [pageToken] Page reference token
|
|
479
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
472
480
|
* @param {*} [options] Override http request option.
|
|
473
481
|
* @throws {RequiredError}
|
|
474
482
|
*/
|
|
475
|
-
listJobs: async (project: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
483
|
+
listJobs: async (project: string, pageToken?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
476
484
|
// verify required parameter 'project' is not null or undefined
|
|
477
485
|
assertParamExists('listJobs', 'project', project)
|
|
478
486
|
const localVarPath = `/jobs`;
|
|
@@ -498,6 +506,14 @@ export const ProcessorApiAxiosParamCreator = function (configuration?: Configura
|
|
|
498
506
|
localVarQueryParameter['project'] = project;
|
|
499
507
|
}
|
|
500
508
|
|
|
509
|
+
if (pageToken !== undefined) {
|
|
510
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
if (pageSize !== undefined) {
|
|
514
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
515
|
+
}
|
|
516
|
+
|
|
501
517
|
|
|
502
518
|
|
|
503
519
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -565,11 +581,13 @@ export const ProcessorApiFp = function(configuration?: Configuration) {
|
|
|
565
581
|
* List your processor jobs
|
|
566
582
|
* @summary List jobs
|
|
567
583
|
* @param {string} project Projects unique identifier
|
|
584
|
+
* @param {number} [pageToken] Page reference token
|
|
585
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
568
586
|
* @param {*} [options] Override http request option.
|
|
569
587
|
* @throws {RequiredError}
|
|
570
588
|
*/
|
|
571
|
-
async listJobs(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>> {
|
|
572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(project, options);
|
|
589
|
+
async listJobs(project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListJobs200Response>> {
|
|
590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
|
|
573
591
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
574
592
|
const localVarOperationServerBasePath = operationServerMap['ProcessorApi.listJobs']?.[localVarOperationServerIndex]?.url;
|
|
575
593
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -587,49 +605,137 @@ export const ProcessorApiFactory = function (configuration?: Configuration, base
|
|
|
587
605
|
/**
|
|
588
606
|
* Create a new processor job
|
|
589
607
|
* @summary Create job
|
|
590
|
-
* @param {
|
|
591
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
608
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
592
609
|
* @param {*} [options] Override http request option.
|
|
593
610
|
* @throws {RequiredError}
|
|
594
611
|
*/
|
|
595
|
-
createJob(
|
|
596
|
-
return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
|
|
612
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job> {
|
|
613
|
+
return localVarFp.createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(axios, basePath));
|
|
597
614
|
},
|
|
598
615
|
/**
|
|
599
616
|
* Delete a processor job
|
|
600
617
|
* @summary Delete job
|
|
601
|
-
* @param {
|
|
602
|
-
* @param {string} project Projects unique identifier
|
|
618
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
603
619
|
* @param {*} [options] Override http request option.
|
|
604
620
|
* @throws {RequiredError}
|
|
605
621
|
*/
|
|
606
|
-
deleteJob(
|
|
607
|
-
return localVarFp.deleteJob(job, project, options).then((request) => request(axios, basePath));
|
|
622
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
623
|
+
return localVarFp.deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
608
624
|
},
|
|
609
625
|
/**
|
|
610
626
|
* Get a job
|
|
611
627
|
* @summary Get job
|
|
612
|
-
* @param {
|
|
613
|
-
* @param {string} project Projects unique identifier
|
|
628
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
614
629
|
* @param {*} [options] Override http request option.
|
|
615
630
|
* @throws {RequiredError}
|
|
616
631
|
*/
|
|
617
|
-
getJob(
|
|
618
|
-
return localVarFp.getJob(job, project, options).then((request) => request(axios, basePath));
|
|
632
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job> {
|
|
633
|
+
return localVarFp.getJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
619
634
|
},
|
|
620
635
|
/**
|
|
621
636
|
* List your processor jobs
|
|
622
637
|
* @summary List jobs
|
|
623
|
-
* @param {
|
|
638
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
624
639
|
* @param {*} [options] Override http request option.
|
|
625
640
|
* @throws {RequiredError}
|
|
626
641
|
*/
|
|
627
|
-
listJobs(
|
|
628
|
-
return localVarFp.listJobs(project, options).then((request) => request(axios, basePath));
|
|
642
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response> {
|
|
643
|
+
return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
629
644
|
},
|
|
630
645
|
};
|
|
631
646
|
};
|
|
632
647
|
|
|
648
|
+
/**
|
|
649
|
+
* Request parameters for createJob operation in ProcessorApi.
|
|
650
|
+
* @export
|
|
651
|
+
* @interface ProcessorApiCreateJobRequest
|
|
652
|
+
*/
|
|
653
|
+
export interface ProcessorApiCreateJobRequest {
|
|
654
|
+
/**
|
|
655
|
+
* Projects unique identifier
|
|
656
|
+
* @type {string}
|
|
657
|
+
* @memberof ProcessorApiCreateJob
|
|
658
|
+
*/
|
|
659
|
+
readonly project: string
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Create a new job
|
|
663
|
+
* @type {CreateJobRequest}
|
|
664
|
+
* @memberof ProcessorApiCreateJob
|
|
665
|
+
*/
|
|
666
|
+
readonly createJobRequest: CreateJobRequest
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Request parameters for deleteJob operation in ProcessorApi.
|
|
671
|
+
* @export
|
|
672
|
+
* @interface ProcessorApiDeleteJobRequest
|
|
673
|
+
*/
|
|
674
|
+
export interface ProcessorApiDeleteJobRequest {
|
|
675
|
+
/**
|
|
676
|
+
* Jobs unique identifier
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof ProcessorApiDeleteJob
|
|
679
|
+
*/
|
|
680
|
+
readonly job: string
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Projects unique identifier
|
|
684
|
+
* @type {string}
|
|
685
|
+
* @memberof ProcessorApiDeleteJob
|
|
686
|
+
*/
|
|
687
|
+
readonly project: string
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
/**
|
|
691
|
+
* Request parameters for getJob operation in ProcessorApi.
|
|
692
|
+
* @export
|
|
693
|
+
* @interface ProcessorApiGetJobRequest
|
|
694
|
+
*/
|
|
695
|
+
export interface ProcessorApiGetJobRequest {
|
|
696
|
+
/**
|
|
697
|
+
* Jobs unique identifier
|
|
698
|
+
* @type {string}
|
|
699
|
+
* @memberof ProcessorApiGetJob
|
|
700
|
+
*/
|
|
701
|
+
readonly job: string
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* Projects unique identifier
|
|
705
|
+
* @type {string}
|
|
706
|
+
* @memberof ProcessorApiGetJob
|
|
707
|
+
*/
|
|
708
|
+
readonly project: string
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Request parameters for listJobs operation in ProcessorApi.
|
|
713
|
+
* @export
|
|
714
|
+
* @interface ProcessorApiListJobsRequest
|
|
715
|
+
*/
|
|
716
|
+
export interface ProcessorApiListJobsRequest {
|
|
717
|
+
/**
|
|
718
|
+
* Projects unique identifier
|
|
719
|
+
* @type {string}
|
|
720
|
+
* @memberof ProcessorApiListJobs
|
|
721
|
+
*/
|
|
722
|
+
readonly project: string
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* Page reference token
|
|
726
|
+
* @type {number}
|
|
727
|
+
* @memberof ProcessorApiListJobs
|
|
728
|
+
*/
|
|
729
|
+
readonly pageToken?: number
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
733
|
+
* @type {number}
|
|
734
|
+
* @memberof ProcessorApiListJobs
|
|
735
|
+
*/
|
|
736
|
+
readonly pageSize?: number
|
|
737
|
+
}
|
|
738
|
+
|
|
633
739
|
/**
|
|
634
740
|
* ProcessorApi - object-oriented interface
|
|
635
741
|
* @export
|
|
@@ -640,52 +746,49 @@ export class ProcessorApi extends BaseAPI {
|
|
|
640
746
|
/**
|
|
641
747
|
* Create a new processor job
|
|
642
748
|
* @summary Create job
|
|
643
|
-
* @param {
|
|
644
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
749
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
645
750
|
* @param {*} [options] Override http request option.
|
|
646
751
|
* @throws {RequiredError}
|
|
647
752
|
* @memberof ProcessorApi
|
|
648
753
|
*/
|
|
649
|
-
public createJob(
|
|
650
|
-
return ProcessorApiFp(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
754
|
+
public createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig) {
|
|
755
|
+
return ProcessorApiFp(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
651
756
|
}
|
|
652
757
|
|
|
653
758
|
/**
|
|
654
759
|
* Delete a processor job
|
|
655
760
|
* @summary Delete job
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {string} project Projects unique identifier
|
|
761
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
658
762
|
* @param {*} [options] Override http request option.
|
|
659
763
|
* @throws {RequiredError}
|
|
660
764
|
* @memberof ProcessorApi
|
|
661
765
|
*/
|
|
662
|
-
public deleteJob(
|
|
663
|
-
return ProcessorApiFp(this.configuration).deleteJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
766
|
+
public deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig) {
|
|
767
|
+
return ProcessorApiFp(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
664
768
|
}
|
|
665
769
|
|
|
666
770
|
/**
|
|
667
771
|
* Get a job
|
|
668
772
|
* @summary Get job
|
|
669
|
-
* @param {
|
|
670
|
-
* @param {string} project Projects unique identifier
|
|
773
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
671
774
|
* @param {*} [options] Override http request option.
|
|
672
775
|
* @throws {RequiredError}
|
|
673
776
|
* @memberof ProcessorApi
|
|
674
777
|
*/
|
|
675
|
-
public getJob(
|
|
676
|
-
return ProcessorApiFp(this.configuration).getJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
778
|
+
public getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig) {
|
|
779
|
+
return ProcessorApiFp(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
677
780
|
}
|
|
678
781
|
|
|
679
782
|
/**
|
|
680
783
|
* List your processor jobs
|
|
681
784
|
* @summary List jobs
|
|
682
|
-
* @param {
|
|
785
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
683
786
|
* @param {*} [options] Override http request option.
|
|
684
787
|
* @throws {RequiredError}
|
|
685
788
|
* @memberof ProcessorApi
|
|
686
789
|
*/
|
|
687
|
-
public listJobs(
|
|
688
|
-
return ProcessorApiFp(this.configuration).listJobs(project, options).then((request) => request(this.axios, this.basePath));
|
|
790
|
+
public listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig) {
|
|
791
|
+
return ProcessorApiFp(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
689
792
|
}
|
|
690
793
|
}
|
|
691
794
|
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/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.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/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.
|
|
7
|
+
* The version of the OpenAPI document: 0.2.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.2.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -193,6 +193,12 @@ export interface ListJobs200Response {
|
|
|
193
193
|
* @memberof ListJobs200Response
|
|
194
194
|
*/
|
|
195
195
|
'jobs': Array<Job>;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {number}
|
|
199
|
+
* @memberof ListJobs200Response
|
|
200
|
+
*/
|
|
201
|
+
'nextPageToken': number;
|
|
196
202
|
}
|
|
197
203
|
/**
|
|
198
204
|
* HealthApi - axios parameter creator
|
|
@@ -231,7 +237,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
|
|
|
231
237
|
* @param {*} [options] Override http request option.
|
|
232
238
|
* @throws {RequiredError}
|
|
233
239
|
*/
|
|
234
|
-
getHealth(options?:
|
|
240
|
+
getHealth(options?: RawAxiosRequestConfig): AxiosPromise<GetHealth200Response>;
|
|
235
241
|
};
|
|
236
242
|
/**
|
|
237
243
|
* HealthApi - object-oriented interface
|
|
@@ -285,10 +291,12 @@ export declare const ProcessorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
285
291
|
* List your processor jobs
|
|
286
292
|
* @summary List jobs
|
|
287
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.
|
|
288
296
|
* @param {*} [options] Override http request option.
|
|
289
297
|
* @throws {RequiredError}
|
|
290
298
|
*/
|
|
291
|
-
listJobs: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
299
|
+
listJobs: (project: string, pageToken?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
292
300
|
};
|
|
293
301
|
/**
|
|
294
302
|
* ProcessorApi - functional programming interface
|
|
@@ -326,10 +334,12 @@ export declare const ProcessorApiFp: (configuration?: Configuration) => {
|
|
|
326
334
|
* List your processor jobs
|
|
327
335
|
* @summary List jobs
|
|
328
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.
|
|
329
339
|
* @param {*} [options] Override http request option.
|
|
330
340
|
* @throws {RequiredError}
|
|
331
341
|
*/
|
|
332
|
-
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>>;
|
|
333
343
|
};
|
|
334
344
|
/**
|
|
335
345
|
* ProcessorApi - factory interface
|
|
@@ -339,39 +349,118 @@ export declare const ProcessorApiFactory: (configuration?: Configuration, basePa
|
|
|
339
349
|
/**
|
|
340
350
|
* Create a new processor job
|
|
341
351
|
* @summary Create job
|
|
342
|
-
* @param {
|
|
343
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
352
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
344
353
|
* @param {*} [options] Override http request option.
|
|
345
354
|
* @throws {RequiredError}
|
|
346
355
|
*/
|
|
347
|
-
createJob(
|
|
356
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
348
357
|
/**
|
|
349
358
|
* Delete a processor job
|
|
350
359
|
* @summary Delete job
|
|
351
|
-
* @param {
|
|
352
|
-
* @param {string} project Projects unique identifier
|
|
360
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
353
361
|
* @param {*} [options] Override http request option.
|
|
354
362
|
* @throws {RequiredError}
|
|
355
363
|
*/
|
|
356
|
-
deleteJob(
|
|
364
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
357
365
|
/**
|
|
358
366
|
* Get a job
|
|
359
367
|
* @summary Get job
|
|
360
|
-
* @param {
|
|
361
|
-
* @param {string} project Projects unique identifier
|
|
368
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
362
369
|
* @param {*} [options] Override http request option.
|
|
363
370
|
* @throws {RequiredError}
|
|
364
371
|
*/
|
|
365
|
-
getJob(
|
|
372
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
366
373
|
/**
|
|
367
374
|
* List your processor jobs
|
|
368
375
|
* @summary List jobs
|
|
369
|
-
* @param {
|
|
376
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
370
377
|
* @param {*} [options] Override http request option.
|
|
371
378
|
* @throws {RequiredError}
|
|
372
379
|
*/
|
|
373
|
-
listJobs(
|
|
380
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListJobs200Response>;
|
|
374
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
|
+
}
|
|
375
464
|
/**
|
|
376
465
|
* ProcessorApi - object-oriented interface
|
|
377
466
|
* @export
|
|
@@ -382,40 +471,37 @@ export declare class ProcessorApi extends BaseAPI {
|
|
|
382
471
|
/**
|
|
383
472
|
* Create a new processor job
|
|
384
473
|
* @summary Create job
|
|
385
|
-
* @param {
|
|
386
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
474
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
387
475
|
* @param {*} [options] Override http request option.
|
|
388
476
|
* @throws {RequiredError}
|
|
389
477
|
* @memberof ProcessorApi
|
|
390
478
|
*/
|
|
391
|
-
createJob(
|
|
479
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
392
480
|
/**
|
|
393
481
|
* Delete a processor job
|
|
394
482
|
* @summary Delete job
|
|
395
|
-
* @param {
|
|
396
|
-
* @param {string} project Projects unique identifier
|
|
483
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
397
484
|
* @param {*} [options] Override http request option.
|
|
398
485
|
* @throws {RequiredError}
|
|
399
486
|
* @memberof ProcessorApi
|
|
400
487
|
*/
|
|
401
|
-
deleteJob(
|
|
488
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
402
489
|
/**
|
|
403
490
|
* Get a job
|
|
404
491
|
* @summary Get job
|
|
405
|
-
* @param {
|
|
406
|
-
* @param {string} project Projects unique identifier
|
|
492
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
407
493
|
* @param {*} [options] Override http request option.
|
|
408
494
|
* @throws {RequiredError}
|
|
409
495
|
* @memberof ProcessorApi
|
|
410
496
|
*/
|
|
411
|
-
getJob(
|
|
497
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Job, any>>;
|
|
412
498
|
/**
|
|
413
499
|
* List your processor jobs
|
|
414
500
|
* @summary List jobs
|
|
415
|
-
* @param {
|
|
501
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
416
502
|
* @param {*} [options] Override http request option.
|
|
417
503
|
* @throws {RequiredError}
|
|
418
504
|
* @memberof ProcessorApi
|
|
419
505
|
*/
|
|
420
|
-
listJobs(
|
|
506
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
|
|
421
507
|
}
|