667 lines
29 KiB
TypeScript
667 lines
29 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* dex API
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: 0.0.5
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
|
|
import type { Configuration } from '../configuration';
|
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
import globalAxios from 'axios';
|
|
// Some imports not used depending on template conditions
|
|
// @ts-ignore
|
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
// @ts-ignore
|
|
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
|
// @ts-ignore
|
|
import type { JobDto } from '../model';
|
|
// @ts-ignore
|
|
import type { PageJobDto } from '../model';
|
|
/**
|
|
* JobService - axios parameter creator
|
|
* @export
|
|
*/
|
|
export const JobServiceAxiosParamCreator = function (configuration?: Configuration) {
|
|
return {
|
|
/**
|
|
*
|
|
* @summary Get status of all Jobs
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getAllJobs: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
const localVarPath = `/api/jobs`;
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardPrintImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
const localVarPath = `/api/jobs/cardPrintImports`;
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
if (page !== undefined) {
|
|
localVarQueryParameter['page'] = page;
|
|
}
|
|
|
|
if (pageSize !== undefined) {
|
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
}
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardPrintImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardPrintImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('getCardPrintImportJobStatusById', 'id', id)
|
|
const localVarPath = `/api/jobs/cardPrintImport/{id}`
|
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardSetImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
const localVarPath = `/api/jobs/cardSetImports`;
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
if (page !== undefined) {
|
|
localVarQueryParameter['page'] = page;
|
|
}
|
|
|
|
if (pageSize !== undefined) {
|
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
}
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardSetImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardSetImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('getCardSetImportJobStatusById', 'id', id)
|
|
const localVarPath = `/api/jobs/cardSetImport/{id}`
|
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getRegionalSetImportJobPage: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
const localVarPath = `/api/jobs/regionalSetImports`;
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
if (page !== undefined) {
|
|
localVarQueryParameter['page'] = page;
|
|
}
|
|
|
|
if (pageSize !== undefined) {
|
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
}
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of RegionalSetImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getRegionalSetImportJobStatusById: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
// verify required parameter 'id' is not null or undefined
|
|
assertParamExists('getRegionalSetImportJobStatusById', 'id', id)
|
|
const localVarPath = `/api/jobs/regionalSetImport/{id}`
|
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
let baseOptions;
|
|
if (configuration) {
|
|
baseOptions = configuration.baseOptions;
|
|
}
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
const localVarHeaderParameter = {} as any;
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
return {
|
|
url: toPathString(localVarUrlObj),
|
|
options: localVarRequestOptions,
|
|
};
|
|
},
|
|
}
|
|
};
|
|
|
|
/**
|
|
* JobService - functional programming interface
|
|
* @export
|
|
*/
|
|
export const JobServiceFp = function(configuration?: Configuration) {
|
|
const localVarAxiosParamCreator = JobServiceAxiosParamCreator(configuration)
|
|
return {
|
|
/**
|
|
*
|
|
* @summary Get status of all Jobs
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getAllJobs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<JobDto>>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getAllJobs(options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getAllJobs']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getCardPrintImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPrintImportJobPage(page, pageSize, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getCardPrintImportJobPage']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardPrintImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getCardPrintImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPrintImportJobStatusById(id, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getCardPrintImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getCardSetImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardSetImportJobPage(page, pageSize, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getCardSetImportJobPage']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardSetImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getCardSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardSetImportJobStatusById(id, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getCardSetImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {number} [page]
|
|
* @param {number} [pageSize]
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getRegionalSetImportJobPage(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageJobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionalSetImportJobPage(page, pageSize, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getRegionalSetImportJobPage']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of RegionalSetImportJob
|
|
* @param {number} id
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
async getRegionalSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDto>> {
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getRegionalSetImportJobStatusById(id, options);
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
const localVarOperationServerBasePath = operationServerMap['JobService.getRegionalSetImportJobStatusById']?.[localVarOperationServerIndex]?.url;
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
},
|
|
}
|
|
};
|
|
|
|
/**
|
|
* JobService - factory interface
|
|
* @export
|
|
*/
|
|
export const JobServiceFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
const localVarFp = JobServiceFp(configuration)
|
|
return {
|
|
/**
|
|
*
|
|
* @summary Get status of all Jobs
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getAllJobs(options?: RawAxiosRequestConfig): AxiosPromise<Array<JobDto>> {
|
|
return localVarFp.getAllJobs(options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetCardPrintImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardPrintImportJobPage(requestParameters: JobServiceGetCardPrintImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
|
return localVarFp.getCardPrintImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardPrintImportJob
|
|
* @param {JobServiceGetCardPrintImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardPrintImportJobStatusById(requestParameters: JobServiceGetCardPrintImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
|
return localVarFp.getCardPrintImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetCardSetImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardSetImportJobPage(requestParameters: JobServiceGetCardSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
|
return localVarFp.getCardSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of CardSetImportJob
|
|
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
|
return localVarFp.getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetRegionalSetImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getRegionalSetImportJobPage(requestParameters: JobServiceGetRegionalSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageJobDto> {
|
|
return localVarFp.getRegionalSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
},
|
|
/**
|
|
*
|
|
* @summary Get status of RegionalSetImportJob
|
|
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
*/
|
|
getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
|
return localVarFp.getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
},
|
|
};
|
|
};
|
|
|
|
/**
|
|
* Request parameters for getCardPrintImportJobPage operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetCardPrintImportJobPageRequest
|
|
*/
|
|
export interface JobServiceGetCardPrintImportJobPageRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardPrintImportJobPage
|
|
*/
|
|
readonly page?: number
|
|
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardPrintImportJobPage
|
|
*/
|
|
readonly pageSize?: number
|
|
}
|
|
|
|
/**
|
|
* Request parameters for getCardPrintImportJobStatusById operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetCardPrintImportJobStatusByIdRequest
|
|
*/
|
|
export interface JobServiceGetCardPrintImportJobStatusByIdRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardPrintImportJobStatusById
|
|
*/
|
|
readonly id: number
|
|
}
|
|
|
|
/**
|
|
* Request parameters for getCardSetImportJobPage operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetCardSetImportJobPageRequest
|
|
*/
|
|
export interface JobServiceGetCardSetImportJobPageRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardSetImportJobPage
|
|
*/
|
|
readonly page?: number
|
|
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardSetImportJobPage
|
|
*/
|
|
readonly pageSize?: number
|
|
}
|
|
|
|
/**
|
|
* Request parameters for getCardSetImportJobStatusById operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetCardSetImportJobStatusByIdRequest
|
|
*/
|
|
export interface JobServiceGetCardSetImportJobStatusByIdRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetCardSetImportJobStatusById
|
|
*/
|
|
readonly id: number
|
|
}
|
|
|
|
/**
|
|
* Request parameters for getRegionalSetImportJobPage operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetRegionalSetImportJobPageRequest
|
|
*/
|
|
export interface JobServiceGetRegionalSetImportJobPageRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetRegionalSetImportJobPage
|
|
*/
|
|
readonly page?: number
|
|
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetRegionalSetImportJobPage
|
|
*/
|
|
readonly pageSize?: number
|
|
}
|
|
|
|
/**
|
|
* Request parameters for getRegionalSetImportJobStatusById operation in JobService.
|
|
* @export
|
|
* @interface JobServiceGetRegionalSetImportJobStatusByIdRequest
|
|
*/
|
|
export interface JobServiceGetRegionalSetImportJobStatusByIdRequest {
|
|
/**
|
|
*
|
|
* @type {number}
|
|
* @memberof JobServiceGetRegionalSetImportJobStatusById
|
|
*/
|
|
readonly id: number
|
|
}
|
|
|
|
/**
|
|
* JobService - object-oriented interface
|
|
* @export
|
|
* @class JobService
|
|
* @extends {BaseAPI}
|
|
*/
|
|
export class JobService extends BaseAPI {
|
|
/**
|
|
*
|
|
* @summary Get status of all Jobs
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getAllJobs(options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getAllJobs(options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetCardPrintImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getCardPrintImportJobPage(requestParameters: JobServiceGetCardPrintImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getCardPrintImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get status of CardPrintImportJob
|
|
* @param {JobServiceGetCardPrintImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getCardPrintImportJobStatusById(requestParameters: JobServiceGetCardPrintImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getCardPrintImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetCardSetImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getCardSetImportJobPage(requestParameters: JobServiceGetCardSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getCardSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get status of CardSetImportJob
|
|
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get a page of all CardSetImportJobs
|
|
* @param {JobServiceGetRegionalSetImportJobPageRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getRegionalSetImportJobPage(requestParameters: JobServiceGetRegionalSetImportJobPageRequest = {}, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getRegionalSetImportJobPage(requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
|
|
/**
|
|
*
|
|
* @summary Get status of RegionalSetImportJob
|
|
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
|
* @param {*} [options] Override http request option.
|
|
* @throws {RequiredError}
|
|
* @memberof JobService
|
|
*/
|
|
public getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
|
return JobServiceFp(this.configuration).getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
}
|
|
}
|
|
|