@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 +2 -2
- package/api.ts +140 -43
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +114 -34
- 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 +114 -34
- 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/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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -262,10 +262,12 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
262
262
|
* List your processor jobs
|
|
263
263
|
* @summary List jobs
|
|
264
264
|
* @param {string} project Projects unique identifier
|
|
265
|
+
* @param {number} [pageToken] Page reference token
|
|
266
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
265
267
|
* @param {*} [options] Override http request option.
|
|
266
268
|
* @throws {RequiredError}
|
|
267
269
|
*/
|
|
268
|
-
listJobs: (project_4, ...args_4) => __awaiter(this, [project_4, ...args_4], void 0, function* (project, options = {}) {
|
|
270
|
+
listJobs: (project_4, pageToken_1, pageSize_1, ...args_4) => __awaiter(this, [project_4, pageToken_1, pageSize_1, ...args_4], void 0, function* (project, pageToken, pageSize, options = {}) {
|
|
269
271
|
// verify required parameter 'project' is not null or undefined
|
|
270
272
|
(0, common_1.assertParamExists)('listJobs', 'project', project);
|
|
271
273
|
const localVarPath = `/jobs`;
|
|
@@ -286,6 +288,12 @@ const ProcessorApiAxiosParamCreator = function (configuration) {
|
|
|
286
288
|
if (project !== undefined) {
|
|
287
289
|
localVarQueryParameter['project'] = project;
|
|
288
290
|
}
|
|
291
|
+
if (pageToken !== undefined) {
|
|
292
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
293
|
+
}
|
|
294
|
+
if (pageSize !== undefined) {
|
|
295
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
296
|
+
}
|
|
289
297
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
290
298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
291
299
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -359,13 +367,15 @@ const ProcessorApiFp = function (configuration) {
|
|
|
359
367
|
* List your processor jobs
|
|
360
368
|
* @summary List jobs
|
|
361
369
|
* @param {string} project Projects unique identifier
|
|
370
|
+
* @param {number} [pageToken] Page reference token
|
|
371
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
362
372
|
* @param {*} [options] Override http request option.
|
|
363
373
|
* @throws {RequiredError}
|
|
364
374
|
*/
|
|
365
|
-
listJobs(project, options) {
|
|
375
|
+
listJobs(project, pageToken, pageSize, options) {
|
|
366
376
|
return __awaiter(this, void 0, void 0, function* () {
|
|
367
377
|
var _a, _b, _c;
|
|
368
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, options);
|
|
378
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listJobs(project, pageToken, pageSize, options);
|
|
369
379
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
370
380
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProcessorApi.listJobs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
371
381
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -384,45 +394,42 @@ const ProcessorApiFactory = function (configuration, basePath, axios) {
|
|
|
384
394
|
/**
|
|
385
395
|
* Create a new processor job
|
|
386
396
|
* @summary Create job
|
|
387
|
-
* @param {
|
|
388
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
397
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
389
398
|
* @param {*} [options] Override http request option.
|
|
390
399
|
* @throws {RequiredError}
|
|
391
400
|
*/
|
|
392
|
-
createJob(
|
|
393
|
-
return localVarFp.createJob(project, createJobRequest, options).then((request) => request(axios, basePath));
|
|
401
|
+
createJob(requestParameters, options) {
|
|
402
|
+
return localVarFp.createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(axios, basePath));
|
|
394
403
|
},
|
|
395
404
|
/**
|
|
396
405
|
* Delete a processor job
|
|
397
406
|
* @summary Delete job
|
|
398
|
-
* @param {
|
|
399
|
-
* @param {string} project Projects unique identifier
|
|
407
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
400
408
|
* @param {*} [options] Override http request option.
|
|
401
409
|
* @throws {RequiredError}
|
|
402
410
|
*/
|
|
403
|
-
deleteJob(
|
|
404
|
-
return localVarFp.deleteJob(job, project, options).then((request) => request(axios, basePath));
|
|
411
|
+
deleteJob(requestParameters, options) {
|
|
412
|
+
return localVarFp.deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
405
413
|
},
|
|
406
414
|
/**
|
|
407
415
|
* Get a job
|
|
408
416
|
* @summary Get job
|
|
409
|
-
* @param {
|
|
410
|
-
* @param {string} project Projects unique identifier
|
|
417
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
411
418
|
* @param {*} [options] Override http request option.
|
|
412
419
|
* @throws {RequiredError}
|
|
413
420
|
*/
|
|
414
|
-
getJob(
|
|
415
|
-
return localVarFp.getJob(job, project, options).then((request) => request(axios, basePath));
|
|
421
|
+
getJob(requestParameters, options) {
|
|
422
|
+
return localVarFp.getJob(requestParameters.job, requestParameters.project, options).then((request) => request(axios, basePath));
|
|
416
423
|
},
|
|
417
424
|
/**
|
|
418
425
|
* List your processor jobs
|
|
419
426
|
* @summary List jobs
|
|
420
|
-
* @param {
|
|
427
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
421
428
|
* @param {*} [options] Override http request option.
|
|
422
429
|
* @throws {RequiredError}
|
|
423
430
|
*/
|
|
424
|
-
listJobs(
|
|
425
|
-
return localVarFp.listJobs(project, options).then((request) => request(axios, basePath));
|
|
431
|
+
listJobs(requestParameters, options) {
|
|
432
|
+
return localVarFp.listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
426
433
|
},
|
|
427
434
|
};
|
|
428
435
|
};
|
|
@@ -437,49 +444,46 @@ class ProcessorApi extends base_1.BaseAPI {
|
|
|
437
444
|
/**
|
|
438
445
|
* Create a new processor job
|
|
439
446
|
* @summary Create job
|
|
440
|
-
* @param {
|
|
441
|
-
* @param {CreateJobRequest} createJobRequest Create a new job
|
|
447
|
+
* @param {ProcessorApiCreateJobRequest} requestParameters Request parameters.
|
|
442
448
|
* @param {*} [options] Override http request option.
|
|
443
449
|
* @throws {RequiredError}
|
|
444
450
|
* @memberof ProcessorApi
|
|
445
451
|
*/
|
|
446
|
-
createJob(
|
|
447
|
-
return (0, exports.ProcessorApiFp)(this.configuration).createJob(project, createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
452
|
+
createJob(requestParameters, options) {
|
|
453
|
+
return (0, exports.ProcessorApiFp)(this.configuration).createJob(requestParameters.project, requestParameters.createJobRequest, options).then((request) => request(this.axios, this.basePath));
|
|
448
454
|
}
|
|
449
455
|
/**
|
|
450
456
|
* Delete a processor job
|
|
451
457
|
* @summary Delete job
|
|
452
|
-
* @param {
|
|
453
|
-
* @param {string} project Projects unique identifier
|
|
458
|
+
* @param {ProcessorApiDeleteJobRequest} requestParameters Request parameters.
|
|
454
459
|
* @param {*} [options] Override http request option.
|
|
455
460
|
* @throws {RequiredError}
|
|
456
461
|
* @memberof ProcessorApi
|
|
457
462
|
*/
|
|
458
|
-
deleteJob(
|
|
459
|
-
return (0, exports.ProcessorApiFp)(this.configuration).deleteJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
463
|
+
deleteJob(requestParameters, options) {
|
|
464
|
+
return (0, exports.ProcessorApiFp)(this.configuration).deleteJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
460
465
|
}
|
|
461
466
|
/**
|
|
462
467
|
* Get a job
|
|
463
468
|
* @summary Get job
|
|
464
|
-
* @param {
|
|
465
|
-
* @param {string} project Projects unique identifier
|
|
469
|
+
* @param {ProcessorApiGetJobRequest} requestParameters Request parameters.
|
|
466
470
|
* @param {*} [options] Override http request option.
|
|
467
471
|
* @throws {RequiredError}
|
|
468
472
|
* @memberof ProcessorApi
|
|
469
473
|
*/
|
|
470
|
-
getJob(
|
|
471
|
-
return (0, exports.ProcessorApiFp)(this.configuration).getJob(job, project, options).then((request) => request(this.axios, this.basePath));
|
|
474
|
+
getJob(requestParameters, options) {
|
|
475
|
+
return (0, exports.ProcessorApiFp)(this.configuration).getJob(requestParameters.job, requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
472
476
|
}
|
|
473
477
|
/**
|
|
474
478
|
* List your processor jobs
|
|
475
479
|
* @summary List jobs
|
|
476
|
-
* @param {
|
|
480
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
477
481
|
* @param {*} [options] Override http request option.
|
|
478
482
|
* @throws {RequiredError}
|
|
479
483
|
* @memberof ProcessorApi
|
|
480
484
|
*/
|
|
481
|
-
listJobs(
|
|
482
|
-
return (0, exports.ProcessorApiFp)(this.configuration).listJobs(project, options).then((request) => request(this.axios, this.basePath));
|
|
485
|
+
listJobs(requestParameters, options) {
|
|
486
|
+
return (0, exports.ProcessorApiFp)(this.configuration).listJobs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
483
487
|
}
|
|
484
488
|
}
|
|
485
489
|
exports.ProcessorApi = ProcessorApi;
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* File Processor API
|
|
3
3
|
* RIP file processor For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/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.
|
|
5
|
+
* The version of the OpenAPI document: 0.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.3.0
|
|
6
6
|
* Contact: hello@teemill.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
8
|
+
* The version of the OpenAPI document: 0.3.0
|
|
9
9
|
* Contact: hello@teemill.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/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.
|
|
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
|
-
'
|
|
170
|
+
'source': string;
|
|
177
171
|
/**
|
|
178
172
|
*
|
|
179
173
|
* @type {string}
|
|
180
174
|
* @memberof JobOutput
|
|
181
175
|
*/
|
|
182
|
-
'
|
|
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?:
|
|
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 {
|
|
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(
|
|
350
|
+
createJob(requestParameters: ProcessorApiCreateJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
348
351
|
/**
|
|
349
352
|
* Delete a processor job
|
|
350
353
|
* @summary Delete job
|
|
351
|
-
* @param {
|
|
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(
|
|
358
|
+
deleteJob(requestParameters: ProcessorApiDeleteJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
357
359
|
/**
|
|
358
360
|
* Get a job
|
|
359
361
|
* @summary Get job
|
|
360
|
-
* @param {
|
|
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(
|
|
366
|
+
getJob(requestParameters: ProcessorApiGetJobRequest, options?: RawAxiosRequestConfig): AxiosPromise<Job>;
|
|
366
367
|
/**
|
|
367
368
|
* List your processor jobs
|
|
368
369
|
* @summary List jobs
|
|
369
|
-
* @param {
|
|
370
|
+
* @param {ProcessorApiListJobsRequest} requestParameters Request parameters.
|
|
370
371
|
* @param {*} [options] Override http request option.
|
|
371
372
|
* @throws {RequiredError}
|
|
372
373
|
*/
|
|
373
|
-
listJobs(
|
|
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 {
|
|
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(
|
|
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 {
|
|
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(
|
|
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 {
|
|
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(
|
|
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 {
|
|
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(
|
|
500
|
+
listJobs(requestParameters: ProcessorApiListJobsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListJobs200Response, any>>;
|
|
421
501
|
}
|