|
|
|
@@ -1949,6 +1949,36 @@ export const MarketApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
|
|
options: localVarRequestOptions,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
findAllMarketOrders: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
const localVarPath = `/market/orders`;
|
|
|
|
|
// 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;
|
|
|
|
|
|
|
|
|
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
url: toPathString(localVarUrlObj),
|
|
|
|
|
options: localVarRequestOptions,
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary Compute volume-weighted price quartiles and the recent price trend for each requested market type
|
|
|
|
@@ -2299,6 +2329,18 @@ export const MarketApiFp = function(configuration?: Configuration) {
|
|
|
|
|
const localVarOperationServerBasePath = operationServerMap['MarketApi.currentPrices']?.[localVarOperationServerIndex]?.url;
|
|
|
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
async findAllMarketOrders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MarketOrderResponse>>> {
|
|
|
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.findAllMarketOrders(options);
|
|
|
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
|
|
|
const localVarOperationServerBasePath = operationServerMap['MarketApi.findAllMarketOrders']?.[localVarOperationServerIndex]?.url;
|
|
|
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary Compute volume-weighted price quartiles and the recent price trend for each requested market type
|
|
|
|
@@ -2431,6 +2473,15 @@ export const MarketApiFactory = function (configuration?: Configuration, basePat
|
|
|
|
|
currentPrices(types: Array<number>, options?: RawAxiosRequestConfig): AxiosPromise<Array<MarketPriceResponse>> {
|
|
|
|
|
return localVarFp.currentPrices(types, options).then((request) => request(axios, basePath));
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
findAllMarketOrders(options?: RawAxiosRequestConfig): AxiosPromise<Array<MarketOrderResponse>> {
|
|
|
|
|
return localVarFp.findAllMarketOrders(options).then((request) => request(axios, basePath));
|
|
|
|
|
},
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary Compute volume-weighted price quartiles and the recent price trend for each requested market type
|
|
|
|
@@ -2538,6 +2589,16 @@ export class MarketApi extends BaseAPI {
|
|
|
|
|
return MarketApiFp(this.configuration).currentPrices(types, options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
public findAllMarketOrders(options?: RawAxiosRequestConfig) {
|
|
|
|
|
return MarketApiFp(this.configuration).findAllMarketOrders(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary Compute volume-weighted price quartiles and the recent price trend for each requested market type
|
|
|
|
@@ -2639,18 +2700,17 @@ export class MarketApi extends BaseAPI {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MarketOrderApi - axios parameter creator
|
|
|
|
|
* MarketHistoryAdminControllerApi - axios parameter creator
|
|
|
|
|
*/
|
|
|
|
|
export const MarketOrderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
|
|
export const MarketHistoryAdminControllerApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
|
|
return {
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
findAllMarketOrders: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
const localVarPath = `/market-orders`;
|
|
|
|
|
refresh1: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
|
|
|
const localVarPath = `/market/history/refresh`;
|
|
|
|
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
|
|
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
|
|
|
let baseOptions;
|
|
|
|
@@ -2658,11 +2718,10 @@ export const MarketOrderApiAxiosParamCreator = function (configuration?: Configu
|
|
|
|
|
baseOptions = configuration.baseOptions;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
|
|
|
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
|
|
|
const localVarHeaderParameter = {} as any;
|
|
|
|
|
const localVarQueryParameter = {} as any;
|
|
|
|
|
|
|
|
|
|
localVarHeaderParameter['Accept'] = '*/*';
|
|
|
|
|
|
|
|
|
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
|
|
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
|
|
@@ -2677,56 +2736,53 @@ export const MarketOrderApiAxiosParamCreator = function (configuration?: Configu
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MarketOrderApi - functional programming interface
|
|
|
|
|
* MarketHistoryAdminControllerApi - functional programming interface
|
|
|
|
|
*/
|
|
|
|
|
export const MarketOrderApiFp = function(configuration?: Configuration) {
|
|
|
|
|
const localVarAxiosParamCreator = MarketOrderApiAxiosParamCreator(configuration)
|
|
|
|
|
export const MarketHistoryAdminControllerApiFp = function(configuration?: Configuration) {
|
|
|
|
|
const localVarAxiosParamCreator = MarketHistoryAdminControllerApiAxiosParamCreator(configuration)
|
|
|
|
|
return {
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
async findAllMarketOrders(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<MarketOrderResponse>>> {
|
|
|
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.findAllMarketOrders(options);
|
|
|
|
|
async refresh1(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
|
|
|
const localVarAxiosArgs = await localVarAxiosParamCreator.refresh1(options);
|
|
|
|
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
|
|
|
const localVarOperationServerBasePath = operationServerMap['MarketOrderApi.findAllMarketOrders']?.[localVarOperationServerIndex]?.url;
|
|
|
|
|
const localVarOperationServerBasePath = operationServerMap['MarketHistoryAdminControllerApi.refresh1']?.[localVarOperationServerIndex]?.url;
|
|
|
|
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MarketOrderApi - factory interface
|
|
|
|
|
* MarketHistoryAdminControllerApi - factory interface
|
|
|
|
|
*/
|
|
|
|
|
export const MarketOrderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
|
|
const localVarFp = MarketOrderApiFp(configuration)
|
|
|
|
|
export const MarketHistoryAdminControllerApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
|
|
|
const localVarFp = MarketHistoryAdminControllerApiFp(configuration)
|
|
|
|
|
return {
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
findAllMarketOrders(options?: RawAxiosRequestConfig): AxiosPromise<Array<MarketOrderResponse>> {
|
|
|
|
|
return localVarFp.findAllMarketOrders(options).then((request) => request(axios, basePath));
|
|
|
|
|
refresh1(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
|
|
|
return localVarFp.refresh1(options).then((request) => request(axios, basePath));
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* MarketOrderApi - object-oriented interface
|
|
|
|
|
* MarketHistoryAdminControllerApi - object-oriented interface
|
|
|
|
|
*/
|
|
|
|
|
export class MarketOrderApi extends BaseAPI {
|
|
|
|
|
export class MarketHistoryAdminControllerApi extends BaseAPI {
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @summary List the open market orders across all characters owned by the authenticated user
|
|
|
|
|
* @param {*} [options] Override http request option.
|
|
|
|
|
* @throws {RequiredError}
|
|
|
|
|
*/
|
|
|
|
|
public findAllMarketOrders(options?: RawAxiosRequestConfig) {
|
|
|
|
|
return MarketOrderApiFp(this.configuration).findAllMarketOrders(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
public refresh1(options?: RawAxiosRequestConfig) {
|
|
|
|
|
return MarketHistoryAdminControllerApiFp(this.configuration).refresh1(options).then((request) => request(this.axios, this.basePath));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|