Implement CardFilterPanel
This commit is contained in:
@@ -112,36 +112,42 @@ export const CardPrintServiceFactory = function (configuration?: Configuration,
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {CardPrintServiceGetCardPrintPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageCardPrintDto> {
|
||||
return localVarFp.getCardPrintPage(name, page, pageSize, options).then((request) => request(axios, basePath));
|
||||
getCardPrintPage(requestParameters: CardPrintServiceGetCardPrintPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageCardPrintDto> {
|
||||
return localVarFp.getCardPrintPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* CardPrintService - interface
|
||||
* Request parameters for getCardPrintPage operation in CardPrintService.
|
||||
* @export
|
||||
* @interface CardPrintService
|
||||
* @interface CardPrintServiceGetCardPrintPageRequest
|
||||
*/
|
||||
export interface CardPrintServiceInterface {
|
||||
export interface CardPrintServiceGetCardPrintPageRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardPrintServiceInterface
|
||||
* @type {string}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
getCardPrintPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageCardPrintDto>;
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardPrintServiceGetCardPrintPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,19 +156,17 @@ export interface CardPrintServiceInterface {
|
||||
* @class CardPrintService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class CardPrintService extends BaseAPI implements CardPrintServiceInterface {
|
||||
export class CardPrintService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Prints with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {CardPrintServiceGetCardPrintPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardPrintService
|
||||
*/
|
||||
public getCardPrintPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
||||
return CardPrintServiceFp(this.configuration).getCardPrintPage(name, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardPrintPage(requestParameters: CardPrintServiceGetCardPrintPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return CardPrintServiceFp(this.configuration).getCardPrintPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,11 +22,25 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
|
||||
// @ts-ignore
|
||||
import type { Attribute } from '../model';
|
||||
// @ts-ignore
|
||||
import type { Card } from '../model';
|
||||
// @ts-ignore
|
||||
import type { CardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { CardUpstreamFetchRequest } from '../model';
|
||||
// @ts-ignore
|
||||
import type { LinkArrow } from '../model';
|
||||
// @ts-ignore
|
||||
import type { MonsterCardSubType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { MonsterCardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { PageCardDto } from '../model';
|
||||
// @ts-ignore
|
||||
import type { SpellCardType } from '../model';
|
||||
// @ts-ignore
|
||||
import type { TrapCardType } from '../model';
|
||||
/**
|
||||
* CardService - axios parameter creator
|
||||
* @export
|
||||
@@ -140,13 +154,36 @@ export const CardServiceAxiosParamCreator = function (configuration?: Configurat
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {number | null} [attack]
|
||||
* @param {number | null} [attackMax]
|
||||
* @param {number | null} [attackMin]
|
||||
* @param {Array<Attribute> | null} [attributes]
|
||||
* @param {Array<CardType> | null} [cardTypes]
|
||||
* @param {number | null} [defense]
|
||||
* @param {number | null} [defenseMax]
|
||||
* @param {number | null} [defenseMin]
|
||||
* @param {boolean | null} [isPendulum]
|
||||
* @param {number | null} [level]
|
||||
* @param {number | null} [levelMax]
|
||||
* @param {number | null} [levelMin]
|
||||
* @param {Array<LinkArrow> | null} [linkArrows]
|
||||
* @param {number | null} [linkValue]
|
||||
* @param {number | null} [linkValueMax]
|
||||
* @param {number | null} [linkValueMin]
|
||||
* @param {Array<MonsterCardSubType> | null} [monsterCardSubTypes]
|
||||
* @param {Array<MonsterCardType> | null} [monsterCardTypes]
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {number | null} [pendulumScale]
|
||||
* @param {number | null} [pendulumScaleMax]
|
||||
* @param {number | null} [pendulumScaleMin]
|
||||
* @param {SpellCardType | null} [spellCardType]
|
||||
* @param {TrapCardType | null} [trapCardType]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPage: async (name?: string | null, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
getCardPage: async (attack?: number | null, attackMax?: number | null, attackMin?: number | null, attributes?: Array<Attribute> | null, cardTypes?: Array<CardType> | null, defense?: number | null, defenseMax?: number | null, defenseMin?: number | null, isPendulum?: boolean | null, level?: number | null, levelMax?: number | null, levelMin?: number | null, linkArrows?: Array<LinkArrow> | null, linkValue?: number | null, linkValueMax?: number | null, linkValueMin?: number | null, monsterCardSubTypes?: Array<MonsterCardSubType> | null, monsterCardTypes?: Array<MonsterCardType> | null, name?: string | null, page?: number, pageSize?: number, pendulumScale?: number | null, pendulumScaleMax?: number | null, pendulumScaleMin?: number | null, spellCardType?: SpellCardType | null, trapCardType?: TrapCardType | null, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
||||
const localVarPath = `/api/cards`;
|
||||
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
||||
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
||||
@@ -159,6 +196,78 @@ export const CardServiceAxiosParamCreator = function (configuration?: Configurat
|
||||
const localVarHeaderParameter = {} as any;
|
||||
const localVarQueryParameter = {} as any;
|
||||
|
||||
if (attack !== undefined) {
|
||||
localVarQueryParameter['attack'] = attack;
|
||||
}
|
||||
|
||||
if (attackMax !== undefined) {
|
||||
localVarQueryParameter['attackMax'] = attackMax;
|
||||
}
|
||||
|
||||
if (attackMin !== undefined) {
|
||||
localVarQueryParameter['attackMin'] = attackMin;
|
||||
}
|
||||
|
||||
if (attributes) {
|
||||
localVarQueryParameter['attributes'] = attributes;
|
||||
}
|
||||
|
||||
if (cardTypes) {
|
||||
localVarQueryParameter['cardTypes'] = cardTypes;
|
||||
}
|
||||
|
||||
if (defense !== undefined) {
|
||||
localVarQueryParameter['defense'] = defense;
|
||||
}
|
||||
|
||||
if (defenseMax !== undefined) {
|
||||
localVarQueryParameter['defenseMax'] = defenseMax;
|
||||
}
|
||||
|
||||
if (defenseMin !== undefined) {
|
||||
localVarQueryParameter['defenseMin'] = defenseMin;
|
||||
}
|
||||
|
||||
if (isPendulum !== undefined) {
|
||||
localVarQueryParameter['isPendulum'] = isPendulum;
|
||||
}
|
||||
|
||||
if (level !== undefined) {
|
||||
localVarQueryParameter['level'] = level;
|
||||
}
|
||||
|
||||
if (levelMax !== undefined) {
|
||||
localVarQueryParameter['levelMax'] = levelMax;
|
||||
}
|
||||
|
||||
if (levelMin !== undefined) {
|
||||
localVarQueryParameter['levelMin'] = levelMin;
|
||||
}
|
||||
|
||||
if (linkArrows) {
|
||||
localVarQueryParameter['linkArrows'] = linkArrows;
|
||||
}
|
||||
|
||||
if (linkValue !== undefined) {
|
||||
localVarQueryParameter['linkValue'] = linkValue;
|
||||
}
|
||||
|
||||
if (linkValueMax !== undefined) {
|
||||
localVarQueryParameter['linkValueMax'] = linkValueMax;
|
||||
}
|
||||
|
||||
if (linkValueMin !== undefined) {
|
||||
localVarQueryParameter['linkValueMin'] = linkValueMin;
|
||||
}
|
||||
|
||||
if (monsterCardSubTypes) {
|
||||
localVarQueryParameter['monsterCardSubTypes'] = monsterCardSubTypes;
|
||||
}
|
||||
|
||||
if (monsterCardTypes) {
|
||||
localVarQueryParameter['monsterCardTypes'] = monsterCardTypes;
|
||||
}
|
||||
|
||||
if (name !== undefined) {
|
||||
localVarQueryParameter['name'] = name;
|
||||
}
|
||||
@@ -171,6 +280,26 @@ export const CardServiceAxiosParamCreator = function (configuration?: Configurat
|
||||
localVarQueryParameter['pageSize'] = pageSize;
|
||||
}
|
||||
|
||||
if (pendulumScale !== undefined) {
|
||||
localVarQueryParameter['pendulumScale'] = pendulumScale;
|
||||
}
|
||||
|
||||
if (pendulumScaleMax !== undefined) {
|
||||
localVarQueryParameter['pendulumScaleMax'] = pendulumScaleMax;
|
||||
}
|
||||
|
||||
if (pendulumScaleMin !== undefined) {
|
||||
localVarQueryParameter['pendulumScaleMin'] = pendulumScaleMin;
|
||||
}
|
||||
|
||||
if (spellCardType !== undefined) {
|
||||
localVarQueryParameter['spellCardType'] = spellCardType;
|
||||
}
|
||||
|
||||
if (trapCardType !== undefined) {
|
||||
localVarQueryParameter['trapCardType'] = trapCardType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
||||
@@ -234,14 +363,37 @@ export const CardServiceFp = function(configuration?: Configuration) {
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {number | null} [attack]
|
||||
* @param {number | null} [attackMax]
|
||||
* @param {number | null} [attackMin]
|
||||
* @param {Array<Attribute> | null} [attributes]
|
||||
* @param {Array<CardType> | null} [cardTypes]
|
||||
* @param {number | null} [defense]
|
||||
* @param {number | null} [defenseMax]
|
||||
* @param {number | null} [defenseMin]
|
||||
* @param {boolean | null} [isPendulum]
|
||||
* @param {number | null} [level]
|
||||
* @param {number | null} [levelMax]
|
||||
* @param {number | null} [levelMin]
|
||||
* @param {Array<LinkArrow> | null} [linkArrows]
|
||||
* @param {number | null} [linkValue]
|
||||
* @param {number | null} [linkValueMax]
|
||||
* @param {number | null} [linkValueMin]
|
||||
* @param {Array<MonsterCardSubType> | null} [monsterCardSubTypes]
|
||||
* @param {Array<MonsterCardType> | null} [monsterCardTypes]
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {number | null} [pendulumScale]
|
||||
* @param {number | null} [pendulumScaleMax]
|
||||
* @param {number | null} [pendulumScaleMin]
|
||||
* @param {SpellCardType | null} [spellCardType]
|
||||
* @param {TrapCardType | null} [trapCardType]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
async getCardPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageCardDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPage(name, page, pageSize, options);
|
||||
async getCardPage(attack?: number | null, attackMax?: number | null, attackMin?: number | null, attributes?: Array<Attribute> | null, cardTypes?: Array<CardType> | null, defense?: number | null, defenseMax?: number | null, defenseMin?: number | null, isPendulum?: boolean | null, level?: number | null, levelMax?: number | null, levelMin?: number | null, linkArrows?: Array<LinkArrow> | null, linkValue?: number | null, linkValueMax?: number | null, linkValueMin?: number | null, monsterCardSubTypes?: Array<MonsterCardSubType> | null, monsterCardTypes?: Array<MonsterCardType> | null, name?: string | null, page?: number, pageSize?: number, pendulumScale?: number | null, pendulumScaleMax?: number | null, pendulumScaleMin?: number | null, spellCardType?: SpellCardType | null, trapCardType?: TrapCardType | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageCardDto>> {
|
||||
const localVarAxiosArgs = await localVarAxiosParamCreator.getCardPage(attack, attackMax, attackMin, attributes, cardTypes, defense, defenseMax, defenseMin, isPendulum, level, levelMax, levelMin, linkArrows, linkValue, linkValueMax, linkValueMin, monsterCardSubTypes, monsterCardTypes, name, page, pageSize, pendulumScale, pendulumScaleMax, pendulumScaleMin, spellCardType, trapCardType, options);
|
||||
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
||||
const localVarOperationServerBasePath = operationServerMap['CardService.getCardPage']?.[localVarOperationServerIndex]?.url;
|
||||
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
||||
@@ -259,96 +411,275 @@ export const CardServiceFactory = function (configuration?: Configuration, baseP
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardUpstreamFetchRequest} cardUpstreamFetchRequest
|
||||
* @param {CardServiceFetchUpstreamRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
fetchUpstream(cardUpstreamFetchRequest: CardUpstreamFetchRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Card>> {
|
||||
return localVarFp.fetchUpstream(cardUpstreamFetchRequest, options).then((request) => request(axios, basePath));
|
||||
fetchUpstream(requestParameters: CardServiceFetchUpstreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Card>> {
|
||||
return localVarFp.fetchUpstream(requestParameters.cardUpstreamFetchRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {number} id
|
||||
* @param {CardServiceGetCardByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Card> {
|
||||
return localVarFp.getCardById(id, options).then((request) => request(axios, basePath));
|
||||
getCardById(requestParameters: CardServiceGetCardByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<Card> {
|
||||
return localVarFp.getCardById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {number} id
|
||||
* @param {CardServiceGetCardImageByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardImageById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
||||
return localVarFp.getCardImageById(id, options).then((request) => request(axios, basePath));
|
||||
getCardImageById(requestParameters: CardServiceGetCardImageByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
||||
return localVarFp.getCardImageById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {CardServiceGetCardPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageCardDto> {
|
||||
return localVarFp.getCardPage(name, page, pageSize, options).then((request) => request(axios, basePath));
|
||||
getCardPage(requestParameters: CardServiceGetCardPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageCardDto> {
|
||||
return localVarFp.getCardPage(requestParameters.attack, requestParameters.attackMax, requestParameters.attackMin, requestParameters.attributes, requestParameters.cardTypes, requestParameters.defense, requestParameters.defenseMax, requestParameters.defenseMin, requestParameters.isPendulum, requestParameters.level, requestParameters.levelMax, requestParameters.levelMin, requestParameters.linkArrows, requestParameters.linkValue, requestParameters.linkValueMax, requestParameters.linkValueMin, requestParameters.monsterCardSubTypes, requestParameters.monsterCardTypes, requestParameters.name, requestParameters.page, requestParameters.pageSize, requestParameters.pendulumScale, requestParameters.pendulumScaleMax, requestParameters.pendulumScaleMin, requestParameters.spellCardType, requestParameters.trapCardType, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* CardService - interface
|
||||
* Request parameters for fetchUpstream operation in CardService.
|
||||
* @export
|
||||
* @interface CardService
|
||||
* @interface CardServiceFetchUpstreamRequest
|
||||
*/
|
||||
export interface CardServiceInterface {
|
||||
export interface CardServiceFetchUpstreamRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardUpstreamFetchRequest} cardUpstreamFetchRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardServiceInterface
|
||||
* @type {CardUpstreamFetchRequest}
|
||||
* @memberof CardServiceFetchUpstream
|
||||
*/
|
||||
fetchUpstream(cardUpstreamFetchRequest: CardUpstreamFetchRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Card>>;
|
||||
readonly cardUpstreamFetchRequest: CardUpstreamFetchRequest
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardById operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardByIdRequest
|
||||
*/
|
||||
export interface CardServiceGetCardByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardImageById operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardImageByIdRequest
|
||||
*/
|
||||
export interface CardServiceGetCardImageByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardImageById
|
||||
*/
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardPage operation in CardService.
|
||||
* @export
|
||||
* @interface CardServiceGetCardPageRequest
|
||||
*/
|
||||
export interface CardServiceGetCardPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly attack?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardServiceInterface
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
getCardById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Card>;
|
||||
readonly attackMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardServiceInterface
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
getCardImageById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<File>;
|
||||
readonly attackMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardServiceInterface
|
||||
* @type {Array<Attribute>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
getCardPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageCardDto>;
|
||||
readonly attributes?: Array<Attribute> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<CardType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly cardTypes?: Array<CardType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defense?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defenseMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly defenseMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {boolean}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly isPendulum?: boolean | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly level?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly levelMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly levelMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<LinkArrow>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkArrows?: Array<LinkArrow> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValue?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValueMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly linkValueMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardSubType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly monsterCardSubTypes?: Array<MonsterCardSubType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {Array<MonsterCardType>}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly monsterCardTypes?: Array<MonsterCardType> | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pageSize?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScale?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScaleMax?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly pendulumScaleMin?: number | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {SpellCardType}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly spellCardType?: SpellCardType | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @type {TrapCardType}
|
||||
* @memberof CardServiceGetCardPage
|
||||
*/
|
||||
readonly trapCardType?: TrapCardType | null
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -357,55 +688,53 @@ export interface CardServiceInterface {
|
||||
* @class CardService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class CardService extends BaseAPI implements CardServiceInterface {
|
||||
export class CardService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Fetch Cards by ID or Name from any upstream service
|
||||
* @param {CardUpstreamFetchRequest} cardUpstreamFetchRequest
|
||||
* @param {CardServiceFetchUpstreamRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public fetchUpstream(cardUpstreamFetchRequest: CardUpstreamFetchRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).fetchUpstream(cardUpstreamFetchRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
public fetchUpstream(requestParameters: CardServiceFetchUpstreamRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).fetchUpstream(requestParameters.cardUpstreamFetchRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Card by its ID
|
||||
* @param {number} id
|
||||
* @param {CardServiceGetCardByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardById(id: number, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardById(id, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardById(requestParameters: CardServiceGetCardByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get the image of a Card by its ID
|
||||
* @param {number} id
|
||||
* @param {CardServiceGetCardImageByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardImageById(id: number, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardImageById(id, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardImageById(requestParameters: CardServiceGetCardImageByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardImageById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Cards with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {CardServiceGetCardPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof CardService
|
||||
*/
|
||||
public getCardPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardPage(name, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardPage(requestParameters: CardServiceGetCardPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return CardServiceFp(this.configuration).getCardPage(requestParameters.attack, requestParameters.attackMax, requestParameters.attackMin, requestParameters.attributes, requestParameters.cardTypes, requestParameters.defense, requestParameters.defenseMax, requestParameters.defenseMin, requestParameters.isPendulum, requestParameters.level, requestParameters.levelMax, requestParameters.levelMin, requestParameters.linkArrows, requestParameters.linkValue, requestParameters.linkValueMax, requestParameters.linkValueMin, requestParameters.monsterCardSubTypes, requestParameters.monsterCardTypes, requestParameters.name, requestParameters.page, requestParameters.pageSize, requestParameters.pendulumScale, requestParameters.pendulumScaleMax, requestParameters.pendulumScaleMin, requestParameters.spellCardType, requestParameters.trapCardType, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -264,98 +264,121 @@ export const DeckServiceFactory = function (configuration?: Configuration, baseP
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {number} cardId
|
||||
* @param {string} deckName
|
||||
* @param {DeckServiceAddCardToDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
addCardToDeck(cardId: number, deckName: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addCardToDeck(cardId, deckName, options).then((request) => request(axios, basePath));
|
||||
addCardToDeck(requestParameters: DeckServiceAddCardToDeckRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.addCardToDeck(requestParameters.cardId, requestParameters.deckName, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckCreateRequest} deckCreateRequest
|
||||
* @param {DeckServiceCreateDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
createDeck(deckCreateRequest: DeckCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createDeck(deckCreateRequest, options).then((request) => request(axios, basePath));
|
||||
createDeck(requestParameters: DeckServiceCreateDeckRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.createDeck(requestParameters.deckCreateRequest, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {string} name
|
||||
* @param {DeckServiceGetDeckByNameRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDeckByName(name: string, options?: RawAxiosRequestConfig): AxiosPromise<Deck> {
|
||||
return localVarFp.getDeckByName(name, options).then((request) => request(axios, basePath));
|
||||
getDeckByName(requestParameters: DeckServiceGetDeckByNameRequest, options?: RawAxiosRequestConfig): AxiosPromise<Deck> {
|
||||
return localVarFp.getDeckByName(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {DeckServiceGetDecksRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getDecks(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageDeckDto> {
|
||||
return localVarFp.getDecks(name, page, pageSize, options).then((request) => request(axios, basePath));
|
||||
getDecks(requestParameters: DeckServiceGetDecksRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageDeckDto> {
|
||||
return localVarFp.getDecks(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* DeckService - interface
|
||||
* Request parameters for addCardToDeck operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckService
|
||||
* @interface DeckServiceAddCardToDeckRequest
|
||||
*/
|
||||
export interface DeckServiceInterface {
|
||||
export interface DeckServiceAddCardToDeckRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {number} cardId
|
||||
* @param {string} deckName
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckServiceInterface
|
||||
* @type {number}
|
||||
* @memberof DeckServiceAddCardToDeck
|
||||
*/
|
||||
addCardToDeck(cardId: number, deckName: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
||||
readonly cardId: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckCreateRequest} deckCreateRequest
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckServiceInterface
|
||||
* @type {string}
|
||||
* @memberof DeckServiceAddCardToDeck
|
||||
*/
|
||||
createDeck(deckCreateRequest: DeckCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
||||
readonly deckName: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for createDeck operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceCreateDeckRequest
|
||||
*/
|
||||
export interface DeckServiceCreateDeckRequest {
|
||||
/**
|
||||
*
|
||||
* @type {DeckCreateRequest}
|
||||
* @memberof DeckServiceCreateDeck
|
||||
*/
|
||||
readonly deckCreateRequest: DeckCreateRequest
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getDeckByName operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceGetDeckByNameRequest
|
||||
*/
|
||||
export interface DeckServiceGetDeckByNameRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckServiceGetDeckByName
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getDecks operation in DeckService.
|
||||
* @export
|
||||
* @interface DeckServiceGetDecksRequest
|
||||
*/
|
||||
export interface DeckServiceGetDecksRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckServiceInterface
|
||||
* @type {number}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
getDeckByName(name: string, options?: RawAxiosRequestConfig): AxiosPromise<Deck>;
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckServiceInterface
|
||||
* @type {number}
|
||||
* @memberof DeckServiceGetDecks
|
||||
*/
|
||||
getDecks(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageDeckDto>;
|
||||
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -364,56 +387,53 @@ export interface DeckServiceInterface {
|
||||
* @class DeckService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class DeckService extends BaseAPI implements DeckServiceInterface {
|
||||
export class DeckService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Add a Card by its ID to a Deck by its name
|
||||
* @param {number} cardId
|
||||
* @param {string} deckName
|
||||
* @param {DeckServiceAddCardToDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public addCardToDeck(cardId: number, deckName: string, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).addCardToDeck(cardId, deckName, options).then((request) => request(this.axios, this.basePath));
|
||||
public addCardToDeck(requestParameters: DeckServiceAddCardToDeckRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).addCardToDeck(requestParameters.cardId, requestParameters.deckName, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Create a Deck with a given name
|
||||
* @param {DeckCreateRequest} deckCreateRequest
|
||||
* @param {DeckServiceCreateDeckRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public createDeck(deckCreateRequest: DeckCreateRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).createDeck(deckCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
public createDeck(requestParameters: DeckServiceCreateDeckRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).createDeck(requestParameters.deckCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a singular Deck by its name
|
||||
* @param {string} name
|
||||
* @param {DeckServiceGetDeckByNameRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public getDeckByName(name: string, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDeckByName(name, options).then((request) => request(this.axios, this.basePath));
|
||||
public getDeckByName(requestParameters: DeckServiceGetDeckByNameRequest, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDeckByName(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Decks with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {DeckServiceGetDecksRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof DeckService
|
||||
*/
|
||||
public getDecks(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDecks(name, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
public getDecks(requestParameters: DeckServiceGetDecksRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return DeckServiceFp(this.configuration).getDecks(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,36 @@ import type { JobDto } from '../model';
|
||||
*/
|
||||
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 status of CardPrintImportJob
|
||||
@@ -141,6 +171,18 @@ export const JobServiceAxiosParamCreator = function (configuration?: Configurati
|
||||
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 status of CardPrintImportJob
|
||||
@@ -192,73 +234,86 @@ export const JobServiceFactory = function (configuration?: Configuration, basePa
|
||||
return {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {number} id
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardPrintImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getCardPrintImportJobStatusById(id, options).then((request) => request(axios, basePath));
|
||||
getAllJobs(options?: RawAxiosRequestConfig): AxiosPromise<Array<JobDto>> {
|
||||
return localVarFp.getAllJobs(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 status of CardSetImportJob
|
||||
* @param {number} id
|
||||
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getCardSetImportJobStatusById(id, options).then((request) => request(axios, basePath));
|
||||
getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {number} id
|
||||
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getRegionalSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getRegionalSetImportJobStatusById(id, options).then((request) => request(axios, basePath));
|
||||
getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDto> {
|
||||
return localVarFp.getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* JobService - interface
|
||||
* Request parameters for getCardPrintImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobService
|
||||
* @interface JobServiceGetCardPrintImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceInterface {
|
||||
export interface JobServiceGetCardPrintImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobServiceInterface
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardPrintImportJobStatusById
|
||||
*/
|
||||
getCardPrintImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto>;
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardSetImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetCardSetImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceGetCardSetImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobServiceInterface
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetCardSetImportJobStatusById
|
||||
*/
|
||||
getCardSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto>;
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getRegionalSetImportJobStatusById operation in JobService.
|
||||
* @export
|
||||
* @interface JobServiceGetRegionalSetImportJobStatusByIdRequest
|
||||
*/
|
||||
export interface JobServiceGetRegionalSetImportJobStatusByIdRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {number} id
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobServiceInterface
|
||||
* @type {number}
|
||||
* @memberof JobServiceGetRegionalSetImportJobStatusById
|
||||
*/
|
||||
getRegionalSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig): AxiosPromise<JobDto>;
|
||||
|
||||
readonly id: number
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -267,41 +322,52 @@ export interface JobServiceInterface {
|
||||
* @class JobService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class JobService extends BaseAPI implements JobServiceInterface {
|
||||
export class JobService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Get status of CardPrintImportJob
|
||||
* @param {number} id
|
||||
* @summary Get status of all Jobs
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardPrintImportJobStatusById(id: number, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardPrintImportJobStatusById(id, options).then((request) => request(this.axios, this.basePath));
|
||||
public getAllJobs(options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getAllJobs(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 status of CardSetImportJob
|
||||
* @param {number} id
|
||||
* @param {JobServiceGetCardSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getCardSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardSetImportJobStatusById(id, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardSetImportJobStatusById(requestParameters: JobServiceGetCardSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getCardSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get status of RegionalSetImportJob
|
||||
* @param {number} id
|
||||
* @param {JobServiceGetRegionalSetImportJobStatusByIdRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof JobService
|
||||
*/
|
||||
public getRegionalSetImportJobStatusById(id: number, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getRegionalSetImportJobStatusById(id, options).then((request) => request(this.axios, this.basePath));
|
||||
public getRegionalSetImportJobStatusById(requestParameters: JobServiceGetRegionalSetImportJobStatusByIdRequest, options?: RawAxiosRequestConfig) {
|
||||
return JobServiceFp(this.configuration).getRegionalSetImportJobStatusById(requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -255,96 +255,114 @@ export const SetServiceFactory = function (configuration?: Configuration, basePa
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<SetDto> {
|
||||
return localVarFp.apiSetsNameGet(name, options).then((request) => request(axios, basePath));
|
||||
apiSetsNameGet(requestParameters: SetServiceApiSetsNameGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetDto> {
|
||||
return localVarFp.apiSetsNameGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameNewGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameNewGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SetDto>> {
|
||||
return localVarFp.apiSetsNameNewGet(name, options).then((request) => request(axios, basePath));
|
||||
apiSetsNameNewGet(requestParameters: SetServiceApiSetsNameNewGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<SetDto>> {
|
||||
return localVarFp.apiSetsNameNewGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameScrapeGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
apiSetsNameScrapeGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.apiSetsNameScrapeGet(name, options).then((request) => request(axios, basePath));
|
||||
apiSetsNameScrapeGet(requestParameters: SetServiceApiSetsNameScrapeGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
||||
return localVarFp.apiSetsNameScrapeGet(requestParameters.name, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {SetServiceGetCardSetPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
*/
|
||||
getCardSetPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageSetDto> {
|
||||
return localVarFp.getCardSetPage(name, page, pageSize, options).then((request) => request(axios, basePath));
|
||||
getCardSetPage(requestParameters: SetServiceGetCardSetPageRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageSetDto> {
|
||||
return localVarFp.getCardSetPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* SetService - interface
|
||||
* Request parameters for apiSetsNameGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetService
|
||||
* @interface SetServiceApiSetsNameGetRequest
|
||||
*/
|
||||
export interface SetServiceInterface {
|
||||
export interface SetServiceApiSetsNameGetRequest {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetServiceInterface
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameGet
|
||||
*/
|
||||
apiSetsNameGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<SetDto>;
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for apiSetsNameNewGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceApiSetsNameNewGetRequest
|
||||
*/
|
||||
export interface SetServiceApiSetsNameNewGetRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameNewGet
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for apiSetsNameScrapeGet operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceApiSetsNameScrapeGetRequest
|
||||
*/
|
||||
export interface SetServiceApiSetsNameScrapeGetRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceApiSetsNameScrapeGet
|
||||
*/
|
||||
readonly name: string
|
||||
}
|
||||
|
||||
/**
|
||||
* Request parameters for getCardSetPage operation in SetService.
|
||||
* @export
|
||||
* @interface SetServiceGetCardSetPageRequest
|
||||
*/
|
||||
export interface SetServiceGetCardSetPageRequest {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
readonly name?: string | null
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetServiceInterface
|
||||
* @type {number}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
apiSetsNameNewGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<SetDto>>;
|
||||
readonly page?: number
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetServiceInterface
|
||||
* @type {number}
|
||||
* @memberof SetServiceGetCardSetPage
|
||||
*/
|
||||
apiSetsNameScrapeGet(name: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetServiceInterface
|
||||
*/
|
||||
getCardSetPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<PageSetDto>;
|
||||
|
||||
readonly pageSize?: number
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -353,55 +371,53 @@ export interface SetServiceInterface {
|
||||
* @class SetService
|
||||
* @extends {BaseAPI}
|
||||
*/
|
||||
export class SetService extends BaseAPI implements SetServiceInterface {
|
||||
export class SetService extends BaseAPI {
|
||||
/**
|
||||
*
|
||||
* @summary Find Set By Name
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameGet(name: string, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameGet(name, options).then((request) => request(this.axios, this.basePath));
|
||||
public apiSetsNameGet(requestParameters: SetServiceApiSetsNameGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Fetch And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameNewGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameNewGet(name: string, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameNewGet(name, options).then((request) => request(this.axios, this.basePath));
|
||||
public apiSetsNameNewGet(requestParameters: SetServiceApiSetsNameNewGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameNewGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Scrape And Persist From Upstream
|
||||
* @param {string} name
|
||||
* @param {SetServiceApiSetsNameScrapeGetRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public apiSetsNameScrapeGet(name: string, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameScrapeGet(name, options).then((request) => request(this.axios, this.basePath));
|
||||
public apiSetsNameScrapeGet(requestParameters: SetServiceApiSetsNameScrapeGetRequest, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).apiSetsNameScrapeGet(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @summary Get a page of Card Sets with optional name query parameter
|
||||
* @param {string | null} [name]
|
||||
* @param {number} [page]
|
||||
* @param {number} [pageSize]
|
||||
* @param {SetServiceGetCardSetPageRequest} requestParameters Request parameters.
|
||||
* @param {*} [options] Override http request option.
|
||||
* @throws {RequiredError}
|
||||
* @memberof SetService
|
||||
*/
|
||||
public getCardSetPage(name?: string | null, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).getCardSetPage(name, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
public getCardSetPage(requestParameters: SetServiceGetCardSetPageRequest = {}, options?: RawAxiosRequestConfig) {
|
||||
return SetServiceFp(this.configuration).getCardSetPage(requestParameters.name, requestParameters.page, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user