@hawksightco/swagger-client
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -20,2 +20,3 @@ /* tslint:disable */ | ||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; | ||
import { InlineResponse2001 } from '../models'; | ||
import { InlineResponse400 } from '../models'; | ||
@@ -32,2 +33,71 @@ import { PriorityFeeEstimate } from '../models'; | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet: async (address: string, frequency: string, startMs: number, endMs: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => { | ||
// verify required parameter 'address' is not null or undefined | ||
if (address === null || address === undefined) { | ||
throw new RequiredError('address','Required parameter address was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'frequency' is not null or undefined | ||
if (frequency === null || frequency === undefined) { | ||
throw new RequiredError('frequency','Required parameter frequency was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'startMs' is not null or undefined | ||
if (startMs === null || startMs === undefined) { | ||
throw new RequiredError('startMs','Required parameter startMs was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'endMs' is not null or undefined | ||
if (endMs === null || endMs === undefined) { | ||
throw new RequiredError('endMs','Required parameter endMs was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
const localVarPath = `/util/candlestick`; | ||
// use dummy base URL string because the URL constructor only accepts absolute URLs. | ||
const localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
let baseOptions; | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
const localVarRequestOptions :AxiosRequestConfig = { method: 'GET', ...baseOptions, ...options}; | ||
const localVarHeaderParameter = {} as any; | ||
const localVarQueryParameter = {} as any; | ||
if (address !== undefined) { | ||
localVarQueryParameter['address'] = address; | ||
} | ||
if (frequency !== undefined) { | ||
localVarQueryParameter['frequency'] = frequency; | ||
} | ||
if (startMs !== undefined) { | ||
localVarQueryParameter['start_ms'] = startMs; | ||
} | ||
if (endMs !== undefined) { | ||
localVarQueryParameter['end_ms'] = endMs; | ||
} | ||
const query = new URLSearchParams(localVarUrlObj.search); | ||
for (const key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (const key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; | ||
return { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}; | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -126,2 +196,18 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2001>>> { | ||
const localVarAxiosArgs = await GeneralUtilityEndpointsApiAxiosParamCreator(configuration).utilCandlestickGet(address, frequency, startMs, endMs, options); | ||
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
const axiosRequestArgs :AxiosRequestConfig = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url}; | ||
return axios.request(axiosRequestArgs); | ||
}; | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -162,2 +248,14 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
async utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2001>> { | ||
return GeneralUtilityEndpointsApiFp(configuration).utilCandlestickGet(address, frequency, startMs, endMs, options).then((request) => request(axios, basePath)); | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -191,2 +289,15 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GeneralUtilityEndpointsApi | ||
*/ | ||
public async utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig) : Promise<AxiosResponse<InlineResponse2001>> { | ||
return GeneralUtilityEndpointsApiFp(this.configuration).utilCandlestickGet(address, frequency, startMs, endMs, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -193,0 +304,0 @@ * @param {UtilFindAltWithTxBody} body |
@@ -20,4 +20,4 @@ /* tslint:disable */ | ||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; | ||
import { InlineResponse2001 } from '../models'; | ||
import { InlineResponse2002 } from '../models'; | ||
import { InlineResponse2003 } from '../models'; | ||
import { InlineResponse400 } from '../models'; | ||
@@ -180,3 +180,3 @@ import { UtilActiveBinBody } from '../models'; | ||
*/ | ||
async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2001>>>> { | ||
async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2002>>>> { | ||
const localVarAxiosArgs = await MeteoraDLMMUtilityFunctionsApiAxiosParamCreator(configuration).meteoraDlmmUtilPoolsGet(options); | ||
@@ -195,3 +195,3 @@ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
*/ | ||
async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2002>>> { | ||
async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2003>>> { | ||
const localVarAxiosArgs = await MeteoraDLMMUtilityFunctionsApiAxiosParamCreator(configuration).meteoraDlmmUtilPositionsGet(wallet, pool, options); | ||
@@ -226,3 +226,3 @@ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
*/ | ||
async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2001>>> { | ||
async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2002>>> { | ||
return MeteoraDLMMUtilityFunctionsApiFp(configuration).meteoraDlmmUtilPoolsGet(options).then((request) => request(axios, basePath)); | ||
@@ -237,3 +237,3 @@ }, | ||
*/ | ||
async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>> { | ||
async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>> { | ||
return MeteoraDLMMUtilityFunctionsApiFp(configuration).meteoraDlmmUtilPositionsGet(wallet, pool, options).then((request) => request(axios, basePath)); | ||
@@ -267,3 +267,3 @@ }, | ||
*/ | ||
public async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<InlineResponse2001>>> { | ||
public async meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<InlineResponse2002>>> { | ||
return MeteoraDLMMUtilityFunctionsApiFp(this.configuration).meteoraDlmmUtilPoolsGet(options).then((request) => request(this.axios, this.basePath)); | ||
@@ -279,5 +279,5 @@ } | ||
*/ | ||
public async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<InlineResponse2002>> { | ||
public async meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<InlineResponse2003>> { | ||
return MeteoraDLMMUtilityFunctionsApiFp(this.configuration).meteoraDlmmUtilPositionsGet(wallet, pool, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -20,4 +20,4 @@ /* tslint:disable */ | ||
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base'; | ||
import { InlineResponse2002 } from '../models'; | ||
import { InlineResponse2003 } from '../models'; | ||
import { InlineResponse2004 } from '../models'; | ||
import { InlineResponse400 } from '../models'; | ||
@@ -176,3 +176,3 @@ import { OrcaPositionMint } from '../models'; | ||
*/ | ||
async orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2003>>>> { | ||
async orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2004>>>> { | ||
const localVarAxiosArgs = await OrcaUtilityFunctionsApiAxiosParamCreator(configuration).orcaUtilPoolsGet(options); | ||
@@ -191,3 +191,3 @@ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
*/ | ||
async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2002>>> { | ||
async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2003>>> { | ||
const localVarAxiosArgs = await OrcaUtilityFunctionsApiAxiosParamCreator(configuration).orcaUtilPositionsGet(wallet, pool, options); | ||
@@ -222,3 +222,3 @@ return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => { | ||
*/ | ||
async orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2003>>> { | ||
async orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2004>>> { | ||
return OrcaUtilityFunctionsApiFp(configuration).orcaUtilPoolsGet(options).then((request) => request(axios, basePath)); | ||
@@ -233,3 +233,3 @@ }, | ||
*/ | ||
async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>> { | ||
async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>> { | ||
return OrcaUtilityFunctionsApiFp(configuration).orcaUtilPositionsGet(wallet, pool, options).then((request) => request(axios, basePath)); | ||
@@ -263,3 +263,3 @@ }, | ||
*/ | ||
public async orcaUtilPoolsGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<InlineResponse2003>>> { | ||
public async orcaUtilPoolsGet(options?: AxiosRequestConfig) : Promise<AxiosResponse<Array<InlineResponse2004>>> { | ||
return OrcaUtilityFunctionsApiFp(this.configuration).orcaUtilPoolsGet(options).then((request) => request(this.axios, this.basePath)); | ||
@@ -275,5 +275,5 @@ } | ||
*/ | ||
public async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<InlineResponse2002>> { | ||
public async orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig) : Promise<AxiosResponse<InlineResponse2003>> { | ||
return OrcaUtilityFunctionsApiFp(this.configuration).orcaUtilPositionsGet(wallet, pool, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
} |
@@ -15,2 +15,3 @@ /** | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { InlineResponse2001 } from '../models'; | ||
import { PriorityFeeEstimate } from '../models'; | ||
@@ -25,2 +26,12 @@ import { UtilFindAltWithTxBody } from '../models'; | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet: (address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig) => Promise<RequestArgs>; | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -46,2 +57,12 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2001>>>; | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -67,2 +88,12 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2001>>; | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -90,2 +121,13 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GeneralUtilityEndpointsApi | ||
*/ | ||
utilCandlestickGet(address: string, frequency: string, startMs: number, endMs: number, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2001>>; | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -92,0 +134,0 @@ * @param {UtilFindAltWithTxBody} body |
@@ -100,2 +100,73 @@ "use strict"; | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet: function (address_1, frequency_1, startMs_1, endMs_1) { | ||
var args_1 = []; | ||
for (var _i = 4; _i < arguments.length; _i++) { | ||
args_1[_i - 4] = arguments[_i]; | ||
} | ||
return __awaiter(_this, __spreadArray([address_1, frequency_1, startMs_1, endMs_1], args_1, true), void 0, function (address, frequency, startMs, endMs, options) { | ||
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, query, key, key, headersFromBaseOptions; | ||
if (options === void 0) { options = {}; } | ||
return __generator(this, function (_a) { | ||
// verify required parameter 'address' is not null or undefined | ||
if (address === null || address === undefined) { | ||
throw new base_1.RequiredError('address', 'Required parameter address was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'frequency' is not null or undefined | ||
if (frequency === null || frequency === undefined) { | ||
throw new base_1.RequiredError('frequency', 'Required parameter frequency was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'startMs' is not null or undefined | ||
if (startMs === null || startMs === undefined) { | ||
throw new base_1.RequiredError('startMs', 'Required parameter startMs was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
// verify required parameter 'endMs' is not null or undefined | ||
if (endMs === null || endMs === undefined) { | ||
throw new base_1.RequiredError('endMs', 'Required parameter endMs was null or undefined when calling utilCandlestickGet.'); | ||
} | ||
localVarPath = "/util/candlestick"; | ||
localVarUrlObj = new URL(localVarPath, 'https://example.com'); | ||
if (configuration) { | ||
baseOptions = configuration.baseOptions; | ||
} | ||
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options); | ||
localVarHeaderParameter = {}; | ||
localVarQueryParameter = {}; | ||
if (address !== undefined) { | ||
localVarQueryParameter['address'] = address; | ||
} | ||
if (frequency !== undefined) { | ||
localVarQueryParameter['frequency'] = frequency; | ||
} | ||
if (startMs !== undefined) { | ||
localVarQueryParameter['start_ms'] = startMs; | ||
} | ||
if (endMs !== undefined) { | ||
localVarQueryParameter['end_ms'] = endMs; | ||
} | ||
query = new URLSearchParams(localVarUrlObj.search); | ||
for (key in localVarQueryParameter) { | ||
query.set(key, localVarQueryParameter[key]); | ||
} | ||
for (key in options.params) { | ||
query.set(key, options.params[key]); | ||
} | ||
localVarUrlObj.search = (new URLSearchParams(query)).toString(); | ||
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; | ||
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers); | ||
return [2 /*return*/, { | ||
url: localVarUrlObj.pathname + localVarUrlObj.search + localVarUrlObj.hash, | ||
options: localVarRequestOptions, | ||
}]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -204,2 +275,29 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet: function (address, frequency, startMs, endMs, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var localVarAxiosArgs; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, (0, exports.GeneralUtilityEndpointsApiAxiosParamCreator)(configuration).utilCandlestickGet(address, frequency, startMs, endMs, options)]; | ||
case 1: | ||
localVarAxiosArgs = _a.sent(); | ||
return [2 /*return*/, function (axios, basePath) { | ||
if (axios === void 0) { axios = axios_1.default; } | ||
if (basePath === void 0) { basePath = base_1.BASE_PATH; } | ||
var axiosRequestArgs = __assign(__assign({}, localVarAxiosArgs.options), { url: basePath + localVarAxiosArgs.url }); | ||
return axios.request(axiosRequestArgs); | ||
}]; | ||
} | ||
}); | ||
}); | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -262,2 +360,18 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
*/ | ||
utilCandlestickGet: function (address, frequency, startMs, endMs, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, (0, exports.GeneralUtilityEndpointsApiFp)(configuration).utilCandlestickGet(address, frequency, startMs, endMs, options).then(function (request) { return request(axios, basePath); })]; | ||
}); | ||
}); | ||
}, | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -303,2 +417,20 @@ * @param {UtilFindAltWithTxBody} body | ||
/** | ||
* Returns OLHCV data of a given contract address from Birdeye | ||
* @param {string} address The contract address. | ||
* @param {string} frequency The frequency of the candlestick data. | ||
* @param {number} startMs The start time in milliseconds. | ||
* @param {number} endMs The end time in milliseconds. | ||
* @param {*} [options] Override http request option. | ||
* @throws {RequiredError} | ||
* @memberof GeneralUtilityEndpointsApi | ||
*/ | ||
GeneralUtilityEndpointsApi.prototype.utilCandlestickGet = function (address, frequency, startMs, endMs, options) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var _this = this; | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, (0, exports.GeneralUtilityEndpointsApiFp)(this.configuration).utilCandlestickGet(address, frequency, startMs, endMs, options).then(function (request) { return request(_this.axios, _this.basePath); })]; | ||
}); | ||
}); | ||
}; | ||
/** | ||
* Find address lookup tables from Jupiter from given transaction metadata. | ||
@@ -305,0 +437,0 @@ * @param {UtilFindAltWithTxBody} body |
@@ -15,4 +15,4 @@ /** | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { InlineResponse2001 } from '../models'; | ||
import { InlineResponse2002 } from '../models'; | ||
import { InlineResponse2003 } from '../models'; | ||
import { UtilActiveBinBody } from '../models'; | ||
@@ -65,3 +65,3 @@ /** | ||
*/ | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2001>>>>; | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2002>>>>; | ||
/** | ||
@@ -74,3 +74,3 @@ * Returns Meteora DLMM positions of user | ||
*/ | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2002>>>; | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2003>>>; | ||
}; | ||
@@ -96,3 +96,3 @@ /** | ||
*/ | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2001>>>; | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2002>>>; | ||
/** | ||
@@ -105,3 +105,3 @@ * Returns Meteora DLMM positions of user | ||
*/ | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>>; | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>>; | ||
}; | ||
@@ -131,3 +131,3 @@ /** | ||
*/ | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2001>>>; | ||
meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2002>>>; | ||
/** | ||
@@ -141,3 +141,3 @@ * Returns Meteora DLMM positions of user | ||
*/ | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>>; | ||
meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>>; | ||
} |
@@ -15,4 +15,4 @@ /** | ||
import { RequestArgs, BaseAPI } from '../base'; | ||
import { InlineResponse2002 } from '../models'; | ||
import { InlineResponse2003 } from '../models'; | ||
import { InlineResponse2004 } from '../models'; | ||
import { OrcaPositionMint } from '../models'; | ||
@@ -63,3 +63,3 @@ /** | ||
*/ | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2003>>>>; | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2004>>>>; | ||
/** | ||
@@ -72,3 +72,3 @@ * Returns Orca positions of user | ||
*/ | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2002>>>; | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2003>>>; | ||
}; | ||
@@ -92,3 +92,3 @@ /** | ||
*/ | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2003>>>; | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2004>>>; | ||
/** | ||
@@ -101,3 +101,3 @@ * Returns Orca positions of user | ||
*/ | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>>; | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>>; | ||
}; | ||
@@ -125,3 +125,3 @@ /** | ||
*/ | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2003>>>; | ||
orcaUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2004>>>; | ||
/** | ||
@@ -135,3 +135,3 @@ * Returns Orca positions of user | ||
*/ | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2002>>; | ||
orcaUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2003>>; | ||
} |
@@ -15,4 +15,7 @@ export * from './account'; | ||
export * from './inline-response2001'; | ||
export * from './inline-response2001-data'; | ||
export * from './inline-response2001-data-items'; | ||
export * from './inline-response2002'; | ||
export * from './inline-response2003'; | ||
export * from './inline-response2004'; | ||
export * from './inline-response400'; | ||
@@ -19,0 +22,0 @@ export * from './instruction'; |
@@ -31,4 +31,7 @@ "use strict"; | ||
__exportStar(require("./inline-response2001"), exports); | ||
__exportStar(require("./inline-response2001-data"), exports); | ||
__exportStar(require("./inline-response2001-data-items"), exports); | ||
__exportStar(require("./inline-response2002"), exports); | ||
__exportStar(require("./inline-response2003"), exports); | ||
__exportStar(require("./inline-response2004"), exports); | ||
__exportStar(require("./inline-response400"), exports); | ||
@@ -35,0 +38,0 @@ __exportStar(require("./instruction"), exports); |
@@ -12,2 +12,3 @@ /** | ||
*/ | ||
import { InlineResponse2001Data } from './inline-response2001-data'; | ||
/** | ||
@@ -21,183 +22,18 @@ * | ||
/** | ||
* The unique address identifier for the pool. | ||
* | ||
* @type {string} | ||
* @type {InlineResponse2001Data} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
address?: string; | ||
data?: InlineResponse2001Data; | ||
/** | ||
* Name of the pool, typically indicating the token pair. | ||
* Indicates if the request was successful. | ||
* | ||
* @type {string} | ||
* @type {boolean} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
name?: string; | ||
success?: boolean; | ||
/** | ||
* Token mint address for the X asset in the pool. | ||
* | ||
* @type {string} | ||
* @type {any} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
mintX?: string; | ||
/** | ||
* Token mint address for the Y asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
mintY?: string; | ||
/** | ||
* Reserve account address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveX?: string; | ||
/** | ||
* Reserve account address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveY?: string; | ||
/** | ||
* Amount of X asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveXAmount?: number; | ||
/** | ||
* Amount of Y asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveYAmount?: number; | ||
/** | ||
* The bin step size used in the pool's operation. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
binStep?: number; | ||
/** | ||
* Base fee percentage charged for transactions in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
baseFeePercentage?: string; | ||
/** | ||
* Maximum possible fee percentage that can be charged. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
maxFeePercentage?: string; | ||
/** | ||
* Fee percentage taken by the protocol. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
protocolFeePercentage?: string; | ||
/** | ||
* Current liquidity in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
liquidity?: string; | ||
/** | ||
* Reward mint address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
rewardMintX?: string; | ||
/** | ||
* Reward mint address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
rewardMintY?: string; | ||
/** | ||
* Fees generated in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
fees24h?: number; | ||
/** | ||
* Fees generated in the pool today. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
todayFees?: number; | ||
/** | ||
* Trade volume in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
tradeVolume24h?: number; | ||
/** | ||
* Cumulative trade volume in the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
cumulativeTradeVolume?: string; | ||
/** | ||
* Cumulative fees generated by the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
cumulativeFeeVolume?: string; | ||
/** | ||
* Current price of X asset in terms of Y asset. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
currentPrice?: number; | ||
/** | ||
* Annual Percentage Rate for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
apr?: number; | ||
/** | ||
* Annual Percentage Yield for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
apy?: number; | ||
/** | ||
* APR for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
farmApr?: number; | ||
/** | ||
* APY for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
farmApy?: number; | ||
/** | ||
* Indicates whether the pool is hidden from default views. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
hide?: boolean; | ||
example?: any; | ||
} |
@@ -20,3 +20,3 @@ /** | ||
/** | ||
* The wallet address of the user. | ||
* The unique address identifier for the pool. | ||
* | ||
@@ -26,5 +26,5 @@ * @type {string} | ||
*/ | ||
wallet?: string; | ||
address?: string; | ||
/** | ||
* The associated Program Derived Address (PDA) of the user. | ||
* Name of the pool, typically indicating the token pair. | ||
* | ||
@@ -34,10 +34,171 @@ * @type {string} | ||
*/ | ||
userPda?: string; | ||
name?: string; | ||
/** | ||
* @type {{ [key: string]: Array<any>; }} | ||
* Token mint address for the X asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
pools?: { | ||
[key: string]: Array<any>; | ||
}; | ||
mintX?: string; | ||
/** | ||
* Token mint address for the Y asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
mintY?: string; | ||
/** | ||
* Reserve account address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveX?: string; | ||
/** | ||
* Reserve account address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveY?: string; | ||
/** | ||
* Amount of X asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveXAmount?: number; | ||
/** | ||
* Amount of Y asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveYAmount?: number; | ||
/** | ||
* The bin step size used in the pool's operation. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
binStep?: number; | ||
/** | ||
* Base fee percentage charged for transactions in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
baseFeePercentage?: string; | ||
/** | ||
* Maximum possible fee percentage that can be charged. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
maxFeePercentage?: string; | ||
/** | ||
* Fee percentage taken by the protocol. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
protocolFeePercentage?: string; | ||
/** | ||
* Current liquidity in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
liquidity?: string; | ||
/** | ||
* Reward mint address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
rewardMintX?: string; | ||
/** | ||
* Reward mint address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
rewardMintY?: string; | ||
/** | ||
* Fees generated in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
fees24h?: number; | ||
/** | ||
* Fees generated in the pool today. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
todayFees?: number; | ||
/** | ||
* Trade volume in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
tradeVolume24h?: number; | ||
/** | ||
* Cumulative trade volume in the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
cumulativeTradeVolume?: string; | ||
/** | ||
* Cumulative fees generated by the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
cumulativeFeeVolume?: string; | ||
/** | ||
* Current price of X asset in terms of Y asset. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
currentPrice?: number; | ||
/** | ||
* Annual Percentage Rate for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
apr?: number; | ||
/** | ||
* Annual Percentage Yield for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
apy?: number; | ||
/** | ||
* APR for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
farmApr?: number; | ||
/** | ||
* APY for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
farmApy?: number; | ||
/** | ||
* Indicates whether the pool is hidden from default views. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
hide?: boolean; | ||
} |
@@ -12,13 +12,2 @@ /** | ||
*/ | ||
import { OrcautilpoolsFeeApr } from './orcautilpools-fee-apr'; | ||
import { OrcautilpoolsPriceRange } from './orcautilpools-price-range'; | ||
import { OrcautilpoolsReward0Apr } from './orcautilpools-reward0-apr'; | ||
import { OrcautilpoolsReward1Apr } from './orcautilpools-reward1-apr'; | ||
import { OrcautilpoolsReward2Apr } from './orcautilpools-reward2-apr'; | ||
import { OrcautilpoolsTokenA } from './orcautilpools-token-a'; | ||
import { OrcautilpoolsTokenB } from './orcautilpools-token-b'; | ||
import { OrcautilpoolsTotalApr } from './orcautilpools-total-apr'; | ||
import { OrcautilpoolsVolume } from './orcautilpools-volume'; | ||
import { OrcautilpoolsVolumeDenominatedA } from './orcautilpools-volume-denominated-a'; | ||
import { OrcautilpoolsVolumeDenominatedB } from './orcautilpools-volume-denominated-b'; | ||
/** | ||
@@ -32,3 +21,3 @@ * | ||
/** | ||
* The unique address identifier for the whirlpool. | ||
* The wallet address of the user. | ||
* | ||
@@ -38,114 +27,17 @@ * @type {string} | ||
*/ | ||
address?: string; | ||
wallet?: string; | ||
/** | ||
* @type {OrcautilpoolsTokenA} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tokenA?: OrcautilpoolsTokenA; | ||
/** | ||
* @type {OrcautilpoolsTokenB} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tokenB?: OrcautilpoolsTokenB; | ||
/** | ||
* Indicates if the whirlpool is whitelisted. | ||
* The associated Program Derived Address (PDA) of the user. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
whitelisted?: boolean; | ||
/** | ||
* Tick spacing used in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tickSpacing?: number; | ||
/** | ||
* Current price of token A in terms of token B. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
price?: number; | ||
/** | ||
* Liquidity provider fee rate for the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
lpFeeRate?: number; | ||
/** | ||
* Protocol fee rate for the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
protocolFeeRate?: number; | ||
/** | ||
* Identifier for the whirlpool configuration. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
whirlpoolsConfig?: string; | ||
userPda?: string; | ||
/** | ||
* Last modified time of the pool in milliseconds. | ||
* | ||
* @type {number} | ||
* @type {{ [key: string]: Array<any>; }} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
modifiedTimeMs?: number; | ||
/** | ||
* Total value locked in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tvl?: number; | ||
/** | ||
* @type {OrcautilpoolsVolume} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volume?: OrcautilpoolsVolume; | ||
/** | ||
* @type {OrcautilpoolsVolumeDenominatedA} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volumeDenominatedA?: OrcautilpoolsVolumeDenominatedA; | ||
/** | ||
* @type {OrcautilpoolsVolumeDenominatedB} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volumeDenominatedB?: OrcautilpoolsVolumeDenominatedB; | ||
/** | ||
* @type {OrcautilpoolsPriceRange} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
priceRange?: OrcautilpoolsPriceRange; | ||
/** | ||
* @type {OrcautilpoolsFeeApr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
feeApr?: OrcautilpoolsFeeApr; | ||
/** | ||
* @type {OrcautilpoolsReward0Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward0Apr?: OrcautilpoolsReward0Apr; | ||
/** | ||
* @type {OrcautilpoolsReward1Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward1Apr?: OrcautilpoolsReward1Apr; | ||
/** | ||
* @type {OrcautilpoolsReward2Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward2Apr?: OrcautilpoolsReward2Apr; | ||
/** | ||
* @type {OrcautilpoolsTotalApr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
totalApr?: OrcautilpoolsTotalApr; | ||
pools?: { | ||
[key: string]: Array<any>; | ||
}; | ||
} |
@@ -15,4 +15,7 @@ export * from './account'; | ||
export * from './inline-response2001'; | ||
export * from './inline-response2001-data'; | ||
export * from './inline-response2001-data-items'; | ||
export * from './inline-response2002'; | ||
export * from './inline-response2003'; | ||
export * from './inline-response2004'; | ||
export * from './inline-response400'; | ||
@@ -19,0 +22,0 @@ export * from './instruction'; |
@@ -15,2 +15,3 @@ /* tslint:disable */ | ||
import { InlineResponse2001Data } from './inline-response2001-data'; | ||
/** | ||
@@ -25,208 +26,20 @@ * | ||
/** | ||
* The unique address identifier for the pool. | ||
* | ||
* @type {string} | ||
* @type {InlineResponse2001Data} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
address?: string; | ||
data?: InlineResponse2001Data; | ||
/** | ||
* Name of the pool, typically indicating the token pair. | ||
* Indicates if the request was successful. | ||
* | ||
* @type {string} | ||
* @type {boolean} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
name?: string; | ||
success?: boolean; | ||
/** | ||
* Token mint address for the X asset in the pool. | ||
* | ||
* @type {string} | ||
* @type {any} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
mintX?: string; | ||
/** | ||
* Token mint address for the Y asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
mintY?: string; | ||
/** | ||
* Reserve account address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveX?: string; | ||
/** | ||
* Reserve account address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveY?: string; | ||
/** | ||
* Amount of X asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveXAmount?: number; | ||
/** | ||
* Amount of Y asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
reserveYAmount?: number; | ||
/** | ||
* The bin step size used in the pool's operation. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
binStep?: number; | ||
/** | ||
* Base fee percentage charged for transactions in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
baseFeePercentage?: string; | ||
/** | ||
* Maximum possible fee percentage that can be charged. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
maxFeePercentage?: string; | ||
/** | ||
* Fee percentage taken by the protocol. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
protocolFeePercentage?: string; | ||
/** | ||
* Current liquidity in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
liquidity?: string; | ||
/** | ||
* Reward mint address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
rewardMintX?: string; | ||
/** | ||
* Reward mint address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
rewardMintY?: string; | ||
/** | ||
* Fees generated in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
fees24h?: number; | ||
/** | ||
* Fees generated in the pool today. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
todayFees?: number; | ||
/** | ||
* Trade volume in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
tradeVolume24h?: number; | ||
/** | ||
* Cumulative trade volume in the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
cumulativeTradeVolume?: string; | ||
/** | ||
* Cumulative fees generated by the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
cumulativeFeeVolume?: string; | ||
/** | ||
* Current price of X asset in terms of Y asset. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
currentPrice?: number; | ||
/** | ||
* Annual Percentage Rate for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
apr?: number; | ||
/** | ||
* Annual Percentage Yield for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
apy?: number; | ||
/** | ||
* APR for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
farmApr?: number; | ||
/** | ||
* APY for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
farmApy?: number; | ||
/** | ||
* Indicates whether the pool is hidden from default views. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2001 | ||
*/ | ||
hide?: boolean; | ||
example?: any; | ||
} |
@@ -24,3 +24,3 @@ /* tslint:disable */ | ||
/** | ||
* The wallet address of the user. | ||
* The unique address identifier for the pool. | ||
* | ||
@@ -30,6 +30,6 @@ * @type {string} | ||
*/ | ||
wallet?: string; | ||
address?: string; | ||
/** | ||
* The associated Program Derived Address (PDA) of the user. | ||
* Name of the pool, typically indicating the token pair. | ||
* | ||
@@ -39,9 +39,195 @@ * @type {string} | ||
*/ | ||
userPda?: string; | ||
name?: string; | ||
/** | ||
* @type {{ [key: string]: Array<any>; }} | ||
* Token mint address for the X asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
pools?: { [key: string]: Array<any>; }; | ||
mintX?: string; | ||
/** | ||
* Token mint address for the Y asset in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
mintY?: string; | ||
/** | ||
* Reserve account address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveX?: string; | ||
/** | ||
* Reserve account address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveY?: string; | ||
/** | ||
* Amount of X asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveXAmount?: number; | ||
/** | ||
* Amount of Y asset in the reserve. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
reserveYAmount?: number; | ||
/** | ||
* The bin step size used in the pool's operation. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
binStep?: number; | ||
/** | ||
* Base fee percentage charged for transactions in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
baseFeePercentage?: string; | ||
/** | ||
* Maximum possible fee percentage that can be charged. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
maxFeePercentage?: string; | ||
/** | ||
* Fee percentage taken by the protocol. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
protocolFeePercentage?: string; | ||
/** | ||
* Current liquidity in the pool. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
liquidity?: string; | ||
/** | ||
* Reward mint address for the X asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
rewardMintX?: string; | ||
/** | ||
* Reward mint address for the Y asset. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
rewardMintY?: string; | ||
/** | ||
* Fees generated in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
fees24h?: number; | ||
/** | ||
* Fees generated in the pool today. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
todayFees?: number; | ||
/** | ||
* Trade volume in the pool over the last 24 hours. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
tradeVolume24h?: number; | ||
/** | ||
* Cumulative trade volume in the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
cumulativeTradeVolume?: string; | ||
/** | ||
* Cumulative fees generated by the pool since inception. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
cumulativeFeeVolume?: string; | ||
/** | ||
* Current price of X asset in terms of Y asset. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
currentPrice?: number; | ||
/** | ||
* Annual Percentage Rate for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
apr?: number; | ||
/** | ||
* Annual Percentage Yield for earnings in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
apy?: number; | ||
/** | ||
* APR for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
farmApr?: number; | ||
/** | ||
* APY for farming activities associated with the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
farmApy?: number; | ||
/** | ||
* Indicates whether the pool is hidden from default views. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2002 | ||
*/ | ||
hide?: boolean; | ||
} |
@@ -15,13 +15,2 @@ /* tslint:disable */ | ||
import { OrcautilpoolsFeeApr } from './orcautilpools-fee-apr'; | ||
import { OrcautilpoolsPriceRange } from './orcautilpools-price-range'; | ||
import { OrcautilpoolsReward0Apr } from './orcautilpools-reward0-apr'; | ||
import { OrcautilpoolsReward1Apr } from './orcautilpools-reward1-apr'; | ||
import { OrcautilpoolsReward2Apr } from './orcautilpools-reward2-apr'; | ||
import { OrcautilpoolsTokenA } from './orcautilpools-token-a'; | ||
import { OrcautilpoolsTokenB } from './orcautilpools-token-b'; | ||
import { OrcautilpoolsTotalApr } from './orcautilpools-total-apr'; | ||
import { OrcautilpoolsVolume } from './orcautilpools-volume'; | ||
import { OrcautilpoolsVolumeDenominatedA } from './orcautilpools-volume-denominated-a'; | ||
import { OrcautilpoolsVolumeDenominatedB } from './orcautilpools-volume-denominated-b'; | ||
/** | ||
@@ -36,3 +25,3 @@ * | ||
/** | ||
* The unique address identifier for the whirlpool. | ||
* The wallet address of the user. | ||
* | ||
@@ -42,133 +31,17 @@ * @type {string} | ||
*/ | ||
address?: string; | ||
wallet?: string; | ||
/** | ||
* @type {OrcautilpoolsTokenA} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tokenA?: OrcautilpoolsTokenA; | ||
/** | ||
* @type {OrcautilpoolsTokenB} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tokenB?: OrcautilpoolsTokenB; | ||
/** | ||
* Indicates if the whirlpool is whitelisted. | ||
* The associated Program Derived Address (PDA) of the user. | ||
* | ||
* @type {boolean} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
whitelisted?: boolean; | ||
/** | ||
* Tick spacing used in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tickSpacing?: number; | ||
/** | ||
* Current price of token A in terms of token B. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
price?: number; | ||
/** | ||
* Liquidity provider fee rate for the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
lpFeeRate?: number; | ||
/** | ||
* Protocol fee rate for the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
protocolFeeRate?: number; | ||
/** | ||
* Identifier for the whirlpool configuration. | ||
* | ||
* @type {string} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
whirlpoolsConfig?: string; | ||
userPda?: string; | ||
/** | ||
* Last modified time of the pool in milliseconds. | ||
* | ||
* @type {number} | ||
* @type {{ [key: string]: Array<any>; }} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
modifiedTimeMs?: number; | ||
/** | ||
* Total value locked in the pool. | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
tvl?: number; | ||
/** | ||
* @type {OrcautilpoolsVolume} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volume?: OrcautilpoolsVolume; | ||
/** | ||
* @type {OrcautilpoolsVolumeDenominatedA} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volumeDenominatedA?: OrcautilpoolsVolumeDenominatedA; | ||
/** | ||
* @type {OrcautilpoolsVolumeDenominatedB} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
volumeDenominatedB?: OrcautilpoolsVolumeDenominatedB; | ||
/** | ||
* @type {OrcautilpoolsPriceRange} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
priceRange?: OrcautilpoolsPriceRange; | ||
/** | ||
* @type {OrcautilpoolsFeeApr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
feeApr?: OrcautilpoolsFeeApr; | ||
/** | ||
* @type {OrcautilpoolsReward0Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward0Apr?: OrcautilpoolsReward0Apr; | ||
/** | ||
* @type {OrcautilpoolsReward1Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward1Apr?: OrcautilpoolsReward1Apr; | ||
/** | ||
* @type {OrcautilpoolsReward2Apr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
reward2Apr?: OrcautilpoolsReward2Apr; | ||
/** | ||
* @type {OrcautilpoolsTotalApr} | ||
* @memberof InlineResponse2003 | ||
*/ | ||
totalApr?: OrcautilpoolsTotalApr; | ||
pools?: { [key: string]: Array<any>; }; | ||
} |
{ | ||
"name": "@hawksightco/swagger-client", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "OpenAPI client for Hawksight v2 Public API", | ||
@@ -22,3 +22,2 @@ "author": "Hawksight", | ||
"dependencies": { | ||
"@hawksightco/swagger-client": "^0.0.26", | ||
"axios": "^1.6.8" | ||
@@ -25,0 +24,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
770291
1
300
19795
- Removed@hawksightco/swagger-client@^0.0.26
- Removed@hawksightco/swagger-client@0.0.26(transitive)