@ember-finance/sdk 1.0.9 → 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/src/common/types.d.ts +0 -1
- package/dist/src/common/types.js +0 -1
- package/dist/src/vaults/api/apis/accounts-api.d.ts +22 -6
- package/dist/src/vaults/api/apis/accounts-api.js +17 -0
- package/dist/src/vaults/api/apis/vaults-api.d.ts +32 -14
- package/dist/src/vaults/api/apis/vaults-api.js +19 -0
- package/dist/src/vaults/api/base.d.ts +24 -0
- package/dist/src/vaults/api/base.js +19 -0
- package/dist/src/vaults/api/common.d.ts +37 -0
- package/dist/src/vaults/api/common.js +37 -0
- package/dist/src/vaults/api/configuration.d.ts +17 -0
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +1 -0
- package/dist/src/vaults/api/models/account-transaction.d.ts +12 -0
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +38 -0
- package/dist/src/vaults/api/models/apy-history.d.ts +13 -0
- package/dist/src/vaults/api/models/asset.d.ts +19 -0
- package/dist/src/vaults/api/models/borrowed.d.ts +16 -0
- package/dist/src/vaults/api/models/coin-price.d.ts +9 -0
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +30 -0
- package/dist/src/vaults/api/models/exposure-coin.d.ts +14 -0
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +25 -0
- package/dist/src/vaults/api/models/exposure.d.ts +11 -0
- package/dist/src/vaults/api/models/fee.d.ts +14 -0
- package/dist/src/vaults/api/models/history-interval.d.ts +5 -0
- package/dist/src/vaults/api/models/history-interval.js +5 -0
- package/dist/src/vaults/api/models/lp.d.ts +31 -0
- package/dist/src/vaults/api/models/manager.d.ts +22 -0
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +13 -0
- package/dist/src/vaults/api/models/perps.d.ts +9 -0
- package/dist/src/vaults/api/models/pnl-history-interval.d.ts +5 -0
- package/dist/src/vaults/api/models/pnl-history-interval.js +5 -0
- package/dist/src/vaults/api/models/pnl-history.d.ts +11 -0
- package/dist/src/vaults/api/models/position-value.d.ts +28 -0
- package/dist/src/vaults/api/models/position-value.js +5 -0
- package/dist/src/vaults/api/models/position.d.ts +13 -0
- package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +25 -0
- package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +19 -0
- package/dist/src/vaults/api/models/protocol-info.d.ts +14 -0
- package/dist/src/vaults/api/models/protocol.d.ts +13 -0
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +1 -0
- package/dist/src/vaults/api/models/raw-event.d.ts +16 -0
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +23 -0
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +30 -0
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +23 -0
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +23 -0
- package/dist/src/vaults/api/models/reported-apy.d.ts +15 -0
- package/dist/src/vaults/api/models/request-processed-event.d.ts +25 -0
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +23 -0
- package/dist/src/vaults/api/models/reward-token.d.ts +21 -0
- package/dist/src/vaults/api/models/reward.d.ts +14 -0
- package/dist/src/vaults/api/models/share-price-history.d.ts +9 -0
- package/dist/src/vaults/api/models/strategy.d.ts +19 -0
- package/dist/src/vaults/api/models/sub-account.d.ts +12 -0
- package/dist/src/vaults/api/models/supplied.d.ts +16 -0
- package/dist/src/vaults/api/models/tvl-history.d.ts +9 -0
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +17 -0
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +18 -0
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-created-event.d.ts +22 -0
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +23 -0
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +19 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +85 -0
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-info.d.ts +27 -0
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +11 -0
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +15 -0
- package/dist/src/vaults/api/models/vault-protocol.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +13 -0
- package/dist/src/vaults/api/models/vault-slice.d.ts +15 -0
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +17 -0
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +19 -0
- package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +19 -0
- package/package.json +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/index.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/common/types.js
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from "../configuration";
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
|
|
14
|
-
import globalAxios from "axios";
|
|
15
14
|
import { type RequestArgs, BaseAPI } from "../base";
|
|
16
15
|
import type { AccountTransaction } from "../models";
|
|
17
16
|
import type { AccountWithdrawalRequest } from "../models";
|
|
@@ -20,6 +19,7 @@ import type { PositionValue } from "../models";
|
|
|
20
19
|
import type { YieldAggregateValue } from "../models";
|
|
21
20
|
/**
|
|
22
21
|
* AccountsApi - axios parameter creator
|
|
22
|
+
* @export
|
|
23
23
|
*/
|
|
24
24
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
25
|
/**
|
|
@@ -78,6 +78,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
78
78
|
};
|
|
79
79
|
/**
|
|
80
80
|
* AccountsApi - functional programming interface
|
|
81
|
+
* @export
|
|
81
82
|
*/
|
|
82
83
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
83
84
|
/**
|
|
@@ -136,6 +137,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
136
137
|
};
|
|
137
138
|
/**
|
|
138
139
|
* AccountsApi - factory interface
|
|
140
|
+
* @export
|
|
139
141
|
*/
|
|
140
142
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
141
143
|
/**
|
|
@@ -194,6 +196,9 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
194
196
|
};
|
|
195
197
|
/**
|
|
196
198
|
* AccountsApi - object-oriented interface
|
|
199
|
+
* @export
|
|
200
|
+
* @class AccountsApi
|
|
201
|
+
* @extends {BaseAPI}
|
|
197
202
|
*/
|
|
198
203
|
export declare class AccountsApi extends BaseAPI {
|
|
199
204
|
/**
|
|
@@ -202,8 +207,9 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
202
207
|
* @param {string} accountAddress The address of the account
|
|
203
208
|
* @param {*} [options] Override http request option.
|
|
204
209
|
* @throws {RequiredError}
|
|
210
|
+
* @memberof AccountsApi
|
|
205
211
|
*/
|
|
206
|
-
getAccountExposure(accountAddress: string, options?: RawAxiosRequestConfig): Promise<
|
|
212
|
+
getAccountExposure(accountAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Exposure, any, {}>>;
|
|
207
213
|
/**
|
|
208
214
|
*
|
|
209
215
|
* @summary Get history of the account
|
|
@@ -216,8 +222,9 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
216
222
|
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
217
223
|
* @param {*} [options] Override http request option.
|
|
218
224
|
* @throws {RequiredError}
|
|
225
|
+
* @memberof AccountsApi
|
|
219
226
|
*/
|
|
220
|
-
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<
|
|
227
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountTransaction[], any, {}>>;
|
|
221
228
|
/**
|
|
222
229
|
*
|
|
223
230
|
* @summary Get the positions value of the account
|
|
@@ -225,8 +232,9 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
225
232
|
* @param {string} [vaultId] The id of the vault
|
|
226
233
|
* @param {*} [options] Override http request option.
|
|
227
234
|
* @throws {RequiredError}
|
|
235
|
+
* @memberof AccountsApi
|
|
228
236
|
*/
|
|
229
|
-
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<
|
|
237
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PositionValue[], any, {}>>;
|
|
230
238
|
/**
|
|
231
239
|
*
|
|
232
240
|
* @summary Get withdrawal requests of the account
|
|
@@ -239,17 +247,22 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
239
247
|
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
240
248
|
* @param {*} [options] Override http request option.
|
|
241
249
|
* @throws {RequiredError}
|
|
250
|
+
* @memberof AccountsApi
|
|
242
251
|
*/
|
|
243
|
-
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<
|
|
252
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountWithdrawalRequest[], any, {}>>;
|
|
244
253
|
/**
|
|
245
254
|
*
|
|
246
255
|
* @summary Get the yield value of the account
|
|
247
256
|
* @param {string} accountAddress The address of the account
|
|
248
257
|
* @param {*} [options] Override http request option.
|
|
249
258
|
* @throws {RequiredError}
|
|
259
|
+
* @memberof AccountsApi
|
|
250
260
|
*/
|
|
251
|
-
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): Promise<
|
|
261
|
+
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YieldAggregateValue, any, {}>>;
|
|
252
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* @export
|
|
265
|
+
*/
|
|
253
266
|
export declare const GetAccountHistoryTypeEnum: {
|
|
254
267
|
readonly Deposit: "Deposit";
|
|
255
268
|
readonly RedeemRequest: "RedeemRequest";
|
|
@@ -258,6 +271,9 @@ export declare const GetAccountHistoryTypeEnum: {
|
|
|
258
271
|
readonly RedeemRequestCancelled: "RedeemRequestCancelled";
|
|
259
272
|
};
|
|
260
273
|
export type GetAccountHistoryTypeEnum = (typeof GetAccountHistoryTypeEnum)[keyof typeof GetAccountHistoryTypeEnum];
|
|
274
|
+
/**
|
|
275
|
+
* @export
|
|
276
|
+
*/
|
|
261
277
|
export declare const GetAccountWithdrawalRequestsStatusEnum: {
|
|
262
278
|
readonly Pending: "Pending";
|
|
263
279
|
readonly PendingCancelling: "PendingCancelling";
|
|
@@ -25,6 +25,7 @@ const common_1 = require("../common");
|
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
27
|
* AccountsApi - axios parameter creator
|
|
28
|
+
* @export
|
|
28
29
|
*/
|
|
29
30
|
const AccountsApiAxiosParamCreator = function (configuration) {
|
|
30
31
|
return {
|
|
@@ -249,6 +250,7 @@ const AccountsApiAxiosParamCreator = function (configuration) {
|
|
|
249
250
|
exports.AccountsApiAxiosParamCreator = AccountsApiAxiosParamCreator;
|
|
250
251
|
/**
|
|
251
252
|
* AccountsApi - functional programming interface
|
|
253
|
+
* @export
|
|
252
254
|
*/
|
|
253
255
|
const AccountsApiFp = function (configuration) {
|
|
254
256
|
const localVarAxiosParamCreator = (0, exports.AccountsApiAxiosParamCreator)(configuration);
|
|
@@ -336,6 +338,7 @@ const AccountsApiFp = function (configuration) {
|
|
|
336
338
|
exports.AccountsApiFp = AccountsApiFp;
|
|
337
339
|
/**
|
|
338
340
|
* AccountsApi - factory interface
|
|
341
|
+
* @export
|
|
339
342
|
*/
|
|
340
343
|
const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
341
344
|
const localVarFp = (0, exports.AccountsApiFp)(configuration);
|
|
@@ -418,6 +421,9 @@ const AccountsApiFactory = function (configuration, basePath, axios) {
|
|
|
418
421
|
exports.AccountsApiFactory = AccountsApiFactory;
|
|
419
422
|
/**
|
|
420
423
|
* AccountsApi - object-oriented interface
|
|
424
|
+
* @export
|
|
425
|
+
* @class AccountsApi
|
|
426
|
+
* @extends {BaseAPI}
|
|
421
427
|
*/
|
|
422
428
|
class AccountsApi extends base_1.BaseAPI {
|
|
423
429
|
/**
|
|
@@ -426,6 +432,7 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
426
432
|
* @param {string} accountAddress The address of the account
|
|
427
433
|
* @param {*} [options] Override http request option.
|
|
428
434
|
* @throws {RequiredError}
|
|
435
|
+
* @memberof AccountsApi
|
|
429
436
|
*/
|
|
430
437
|
getAccountExposure(accountAddress, options) {
|
|
431
438
|
return (0, exports.AccountsApiFp)(this.configuration)
|
|
@@ -444,6 +451,7 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
444
451
|
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
445
452
|
* @param {*} [options] Override http request option.
|
|
446
453
|
* @throws {RequiredError}
|
|
454
|
+
* @memberof AccountsApi
|
|
447
455
|
*/
|
|
448
456
|
getAccountHistory(accountAddress, startTimeInMs, endTimeInMs, limit, page, vaultId, type, options) {
|
|
449
457
|
return (0, exports.AccountsApiFp)(this.configuration)
|
|
@@ -457,6 +465,7 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
457
465
|
* @param {string} [vaultId] The id of the vault
|
|
458
466
|
* @param {*} [options] Override http request option.
|
|
459
467
|
* @throws {RequiredError}
|
|
468
|
+
* @memberof AccountsApi
|
|
460
469
|
*/
|
|
461
470
|
getAccountPositionsValue(accountAddress, vaultId, options) {
|
|
462
471
|
return (0, exports.AccountsApiFp)(this.configuration)
|
|
@@ -475,6 +484,7 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
475
484
|
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
476
485
|
* @param {*} [options] Override http request option.
|
|
477
486
|
* @throws {RequiredError}
|
|
487
|
+
* @memberof AccountsApi
|
|
478
488
|
*/
|
|
479
489
|
getAccountWithdrawalRequests(accountAddress, startTimeInMs, endTimeInMs, limit, page, vaultId, status, options) {
|
|
480
490
|
return (0, exports.AccountsApiFp)(this.configuration)
|
|
@@ -487,6 +497,7 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
487
497
|
* @param {string} accountAddress The address of the account
|
|
488
498
|
* @param {*} [options] Override http request option.
|
|
489
499
|
* @throws {RequiredError}
|
|
500
|
+
* @memberof AccountsApi
|
|
490
501
|
*/
|
|
491
502
|
getAccountYieldValue(accountAddress, options) {
|
|
492
503
|
return (0, exports.AccountsApiFp)(this.configuration)
|
|
@@ -495,6 +506,9 @@ class AccountsApi extends base_1.BaseAPI {
|
|
|
495
506
|
}
|
|
496
507
|
}
|
|
497
508
|
exports.AccountsApi = AccountsApi;
|
|
509
|
+
/**
|
|
510
|
+
* @export
|
|
511
|
+
*/
|
|
498
512
|
exports.GetAccountHistoryTypeEnum = {
|
|
499
513
|
Deposit: "Deposit",
|
|
500
514
|
RedeemRequest: "RedeemRequest",
|
|
@@ -502,6 +516,9 @@ exports.GetAccountHistoryTypeEnum = {
|
|
|
502
516
|
RedeemRequestSkipped: "RedeemRequestSkipped",
|
|
503
517
|
RedeemRequestCancelled: "RedeemRequestCancelled"
|
|
504
518
|
};
|
|
519
|
+
/**
|
|
520
|
+
* @export
|
|
521
|
+
*/
|
|
505
522
|
exports.GetAccountWithdrawalRequestsStatusEnum = {
|
|
506
523
|
Pending: "Pending",
|
|
507
524
|
PendingCancelling: "PendingCancelling",
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from "../configuration";
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
|
|
14
|
-
import globalAxios from "axios";
|
|
15
14
|
import { type RequestArgs, BaseAPI } from "../base";
|
|
16
15
|
import type { ApyHistory } from "../models";
|
|
17
16
|
import type { CoinPrice } from "../models";
|
|
@@ -28,6 +27,7 @@ import type { UpdateVaultStrategies } from "../models";
|
|
|
28
27
|
import type { VaultDetail } from "../models";
|
|
29
28
|
/**
|
|
30
29
|
* VaultsApi - axios parameter creator
|
|
30
|
+
* @export
|
|
31
31
|
*/
|
|
32
32
|
export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
33
33
|
/**
|
|
@@ -150,6 +150,7 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
150
150
|
};
|
|
151
151
|
/**
|
|
152
152
|
* VaultsApi - functional programming interface
|
|
153
|
+
* @export
|
|
153
154
|
*/
|
|
154
155
|
export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
155
156
|
/**
|
|
@@ -272,6 +273,7 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
|
|
|
272
273
|
};
|
|
273
274
|
/**
|
|
274
275
|
* VaultsApi - factory interface
|
|
276
|
+
* @export
|
|
275
277
|
*/
|
|
276
278
|
export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
277
279
|
/**
|
|
@@ -394,6 +396,9 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
|
|
|
394
396
|
};
|
|
395
397
|
/**
|
|
396
398
|
* VaultsApi - object-oriented interface
|
|
399
|
+
* @export
|
|
400
|
+
* @class VaultsApi
|
|
401
|
+
* @extends {BaseAPI}
|
|
397
402
|
*/
|
|
398
403
|
export declare class VaultsApi extends BaseAPI {
|
|
399
404
|
/**
|
|
@@ -402,8 +407,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
402
407
|
* @param {string} [coinTypes] The coin types of the coins
|
|
403
408
|
* @param {*} [options] Override http request option.
|
|
404
409
|
* @throws {RequiredError}
|
|
410
|
+
* @memberof VaultsApi
|
|
405
411
|
*/
|
|
406
|
-
getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<
|
|
412
|
+
getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CoinPrice[], any, {}>>;
|
|
407
413
|
/**
|
|
408
414
|
*
|
|
409
415
|
* @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -411,8 +417,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
411
417
|
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
412
418
|
* @param {*} [options] Override http request option.
|
|
413
419
|
* @throws {RequiredError}
|
|
420
|
+
* @memberof VaultsApi
|
|
414
421
|
*/
|
|
415
|
-
getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
422
|
+
getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PnlHistory[], any, {}>>;
|
|
416
423
|
/**
|
|
417
424
|
*
|
|
418
425
|
* @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -420,8 +427,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
420
427
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
421
428
|
* @param {*} [options] Override http request option.
|
|
422
429
|
* @throws {RequiredError}
|
|
430
|
+
* @memberof VaultsApi
|
|
423
431
|
*/
|
|
424
|
-
getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
432
|
+
getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TvlHistory[], any, {}>>;
|
|
425
433
|
/**
|
|
426
434
|
*
|
|
427
435
|
* @summary Get raw events of the protocol
|
|
@@ -431,8 +439,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
431
439
|
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
432
440
|
* @param {*} [options] Override http request option.
|
|
433
441
|
* @throws {RequiredError}
|
|
442
|
+
* @memberof VaultsApi
|
|
434
443
|
*/
|
|
435
|
-
getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<
|
|
444
|
+
getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RawEvent[], any, {}>>;
|
|
436
445
|
/**
|
|
437
446
|
*
|
|
438
447
|
* @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -441,16 +450,18 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
441
450
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
442
451
|
* @param {*} [options] Override http request option.
|
|
443
452
|
* @throws {RequiredError}
|
|
453
|
+
* @memberof VaultsApi
|
|
444
454
|
*/
|
|
445
|
-
getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
455
|
+
getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApyHistory[], any, {}>>;
|
|
446
456
|
/**
|
|
447
457
|
*
|
|
448
458
|
* @summary Get the exposure of the vault
|
|
449
459
|
* @param {string} vaultId The id of the vault
|
|
450
460
|
* @param {*} [options] Override http request option.
|
|
451
461
|
* @throws {RequiredError}
|
|
462
|
+
* @memberof VaultsApi
|
|
452
463
|
*/
|
|
453
|
-
getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<
|
|
464
|
+
getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Exposure, any, {}>>;
|
|
454
465
|
/**
|
|
455
466
|
*
|
|
456
467
|
* @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -459,8 +470,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
459
470
|
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
460
471
|
* @param {*} [options] Override http request option.
|
|
461
472
|
* @throws {RequiredError}
|
|
473
|
+
* @memberof VaultsApi
|
|
462
474
|
*/
|
|
463
|
-
getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
475
|
+
getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PnlHistory[], any, {}>>;
|
|
464
476
|
/**
|
|
465
477
|
*
|
|
466
478
|
* @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -469,16 +481,18 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
469
481
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
470
482
|
* @param {*} [options] Override http request option.
|
|
471
483
|
* @throws {RequiredError}
|
|
484
|
+
* @memberof VaultsApi
|
|
472
485
|
*/
|
|
473
|
-
getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
486
|
+
getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SharePriceHistory[], any, {}>>;
|
|
474
487
|
/**
|
|
475
488
|
*
|
|
476
489
|
* @summary Get the strategy of the vault
|
|
477
490
|
* @param {string} vaultId The id of the vault
|
|
478
491
|
* @param {*} [options] Override http request option.
|
|
479
492
|
* @throws {RequiredError}
|
|
493
|
+
* @memberof VaultsApi
|
|
480
494
|
*/
|
|
481
|
-
getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<
|
|
495
|
+
getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Strategy[], any, {}>>;
|
|
482
496
|
/**
|
|
483
497
|
*
|
|
484
498
|
* @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
|
|
@@ -487,8 +501,9 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
487
501
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
488
502
|
* @param {*} [options] Override http request option.
|
|
489
503
|
* @throws {RequiredError}
|
|
504
|
+
* @memberof VaultsApi
|
|
490
505
|
*/
|
|
491
|
-
getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<
|
|
506
|
+
getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TvlHistory[], any, {}>>;
|
|
492
507
|
/**
|
|
493
508
|
*
|
|
494
509
|
* @summary Get details for all vaults or a specific vault
|
|
@@ -496,21 +511,24 @@ export declare class VaultsApi extends BaseAPI {
|
|
|
496
511
|
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
497
512
|
* @param {*} [options] Override http request option.
|
|
498
513
|
* @throws {RequiredError}
|
|
514
|
+
* @memberof VaultsApi
|
|
499
515
|
*/
|
|
500
|
-
getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<
|
|
516
|
+
getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultDetail[], any, {}>>;
|
|
501
517
|
/**
|
|
502
518
|
*
|
|
503
519
|
* @summary Get protocol info to initialize sdk
|
|
504
520
|
* @param {*} [options] Override http request option.
|
|
505
521
|
* @throws {RequiredError}
|
|
522
|
+
* @memberof VaultsApi
|
|
506
523
|
*/
|
|
507
|
-
getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<
|
|
524
|
+
getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProtocolInfo, any, {}>>;
|
|
508
525
|
/**
|
|
509
526
|
*
|
|
510
527
|
* @summary Update the strategy of the vault
|
|
511
528
|
* @param {UpdateVaultStrategies} updateVaultStrategies
|
|
512
529
|
* @param {*} [options] Override http request option.
|
|
513
530
|
* @throws {RequiredError}
|
|
531
|
+
* @memberof VaultsApi
|
|
514
532
|
*/
|
|
515
|
-
updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<
|
|
533
|
+
updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Strategy[], any, {}>>;
|
|
516
534
|
}
|
|
@@ -25,6 +25,7 @@ const common_1 = require("../common");
|
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
27
|
* VaultsApi - axios parameter creator
|
|
28
|
+
* @export
|
|
28
29
|
*/
|
|
29
30
|
const VaultsApiAxiosParamCreator = function (configuration) {
|
|
30
31
|
return {
|
|
@@ -511,6 +512,7 @@ const VaultsApiAxiosParamCreator = function (configuration) {
|
|
|
511
512
|
exports.VaultsApiAxiosParamCreator = VaultsApiAxiosParamCreator;
|
|
512
513
|
/**
|
|
513
514
|
* VaultsApi - functional programming interface
|
|
515
|
+
* @export
|
|
514
516
|
*/
|
|
515
517
|
const VaultsApiFp = function (configuration) {
|
|
516
518
|
const localVarAxiosParamCreator = (0, exports.VaultsApiAxiosParamCreator)(configuration);
|
|
@@ -703,6 +705,7 @@ const VaultsApiFp = function (configuration) {
|
|
|
703
705
|
exports.VaultsApiFp = VaultsApiFp;
|
|
704
706
|
/**
|
|
705
707
|
* VaultsApi - factory interface
|
|
708
|
+
* @export
|
|
706
709
|
*/
|
|
707
710
|
const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
708
711
|
const localVarFp = (0, exports.VaultsApiFp)(configuration);
|
|
@@ -881,6 +884,9 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
|
|
|
881
884
|
exports.VaultsApiFactory = VaultsApiFactory;
|
|
882
885
|
/**
|
|
883
886
|
* VaultsApi - object-oriented interface
|
|
887
|
+
* @export
|
|
888
|
+
* @class VaultsApi
|
|
889
|
+
* @extends {BaseAPI}
|
|
884
890
|
*/
|
|
885
891
|
class VaultsApi extends base_1.BaseAPI {
|
|
886
892
|
/**
|
|
@@ -889,6 +895,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
889
895
|
* @param {string} [coinTypes] The coin types of the coins
|
|
890
896
|
* @param {*} [options] Override http request option.
|
|
891
897
|
* @throws {RequiredError}
|
|
898
|
+
* @memberof VaultsApi
|
|
892
899
|
*/
|
|
893
900
|
getCoinsPrice(coinTypes, options) {
|
|
894
901
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -902,6 +909,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
902
909
|
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
903
910
|
* @param {*} [options] Override http request option.
|
|
904
911
|
* @throws {RequiredError}
|
|
912
|
+
* @memberof VaultsApi
|
|
905
913
|
*/
|
|
906
914
|
getProtocolPnlHistory(limit, interval, options) {
|
|
907
915
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -915,6 +923,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
915
923
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
916
924
|
* @param {*} [options] Override http request option.
|
|
917
925
|
* @throws {RequiredError}
|
|
926
|
+
* @memberof VaultsApi
|
|
918
927
|
*/
|
|
919
928
|
getProtocolTvlHistory(limit, interval, options) {
|
|
920
929
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -930,6 +939,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
930
939
|
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
931
940
|
* @param {*} [options] Override http request option.
|
|
932
941
|
* @throws {RequiredError}
|
|
942
|
+
* @memberof VaultsApi
|
|
933
943
|
*/
|
|
934
944
|
getRawEvents(startTimeInMs, endTimeInMs, limit, page, options) {
|
|
935
945
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -944,6 +954,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
944
954
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
945
955
|
* @param {*} [options] Override http request option.
|
|
946
956
|
* @throws {RequiredError}
|
|
957
|
+
* @memberof VaultsApi
|
|
947
958
|
*/
|
|
948
959
|
getVaultApyHistory(vaultId, limit, interval, options) {
|
|
949
960
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -956,6 +967,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
956
967
|
* @param {string} vaultId The id of the vault
|
|
957
968
|
* @param {*} [options] Override http request option.
|
|
958
969
|
* @throws {RequiredError}
|
|
970
|
+
* @memberof VaultsApi
|
|
959
971
|
*/
|
|
960
972
|
getVaultExposure(vaultId, options) {
|
|
961
973
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -970,6 +982,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
970
982
|
* @param {PnlHistoryInterval} [interval] The interval of the rows
|
|
971
983
|
* @param {*} [options] Override http request option.
|
|
972
984
|
* @throws {RequiredError}
|
|
985
|
+
* @memberof VaultsApi
|
|
973
986
|
*/
|
|
974
987
|
getVaultPnlHistory(vaultId, limit, interval, options) {
|
|
975
988
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -984,6 +997,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
984
997
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
985
998
|
* @param {*} [options] Override http request option.
|
|
986
999
|
* @throws {RequiredError}
|
|
1000
|
+
* @memberof VaultsApi
|
|
987
1001
|
*/
|
|
988
1002
|
getVaultSharePriceHistory(vaultId, limit, interval, options) {
|
|
989
1003
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -996,6 +1010,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
996
1010
|
* @param {string} vaultId The id of the vault
|
|
997
1011
|
* @param {*} [options] Override http request option.
|
|
998
1012
|
* @throws {RequiredError}
|
|
1013
|
+
* @memberof VaultsApi
|
|
999
1014
|
*/
|
|
1000
1015
|
getVaultStrategy(vaultId, options) {
|
|
1001
1016
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -1010,6 +1025,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
1010
1025
|
* @param {HistoryInterval} [interval] The interval of the rows
|
|
1011
1026
|
* @param {*} [options] Override http request option.
|
|
1012
1027
|
* @throws {RequiredError}
|
|
1028
|
+
* @memberof VaultsApi
|
|
1013
1029
|
*/
|
|
1014
1030
|
getVaultTvlHistory(vaultId, limit, interval, options) {
|
|
1015
1031
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -1023,6 +1039,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
1023
1039
|
* @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
|
|
1024
1040
|
* @param {*} [options] Override http request option.
|
|
1025
1041
|
* @throws {RequiredError}
|
|
1042
|
+
* @memberof VaultsApi
|
|
1026
1043
|
*/
|
|
1027
1044
|
getVaults(vaultId, receiptCoinSymbol, options) {
|
|
1028
1045
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -1034,6 +1051,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
1034
1051
|
* @summary Get protocol info to initialize sdk
|
|
1035
1052
|
* @param {*} [options] Override http request option.
|
|
1036
1053
|
* @throws {RequiredError}
|
|
1054
|
+
* @memberof VaultsApi
|
|
1037
1055
|
*/
|
|
1038
1056
|
getVaultsProtocolInfo(options) {
|
|
1039
1057
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -1046,6 +1064,7 @@ class VaultsApi extends base_1.BaseAPI {
|
|
|
1046
1064
|
* @param {UpdateVaultStrategies} updateVaultStrategies
|
|
1047
1065
|
* @param {*} [options] Override http request option.
|
|
1048
1066
|
* @throws {RequiredError}
|
|
1067
|
+
* @memberof VaultsApi
|
|
1049
1068
|
*/
|
|
1050
1069
|
updateVaultStrategy(updateVaultStrategies, options) {
|
|
1051
1070
|
return (0, exports.VaultsApiFp)(this.configuration)
|
|
@@ -12,22 +12,42 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from "axios";
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const COLLECTION_FORMATS: {
|
|
16
20
|
csv: string;
|
|
17
21
|
ssv: string;
|
|
18
22
|
tsv: string;
|
|
19
23
|
pipes: string;
|
|
20
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @export
|
|
28
|
+
* @interface RequestArgs
|
|
29
|
+
*/
|
|
21
30
|
export interface RequestArgs {
|
|
22
31
|
url: string;
|
|
23
32
|
options: RawAxiosRequestConfig;
|
|
24
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @export
|
|
37
|
+
* @class BaseAPI
|
|
38
|
+
*/
|
|
25
39
|
export declare class BaseAPI {
|
|
26
40
|
protected basePath: string;
|
|
27
41
|
protected axios: AxiosInstance;
|
|
28
42
|
protected configuration: Configuration | undefined;
|
|
29
43
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
30
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @class RequiredError
|
|
49
|
+
* @extends {Error}
|
|
50
|
+
*/
|
|
31
51
|
export declare class RequiredError extends Error {
|
|
32
52
|
field: string;
|
|
33
53
|
constructor(field: string, msg?: string);
|
|
@@ -38,5 +58,9 @@ interface ServerMap {
|
|
|
38
58
|
description: string;
|
|
39
59
|
}[];
|
|
40
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
41
65
|
export declare const operationServerMap: ServerMap;
|
|
42
66
|
export {};
|
|
@@ -19,12 +19,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
exports.operationServerMap = exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
exports.BASE_PATH = "https://vaults.api.sui-staging.bluefin.io".replace(/\/+$/, "");
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
22
26
|
exports.COLLECTION_FORMATS = {
|
|
23
27
|
csv: ",",
|
|
24
28
|
ssv: " ",
|
|
25
29
|
tsv: "\t",
|
|
26
30
|
pipes: "|"
|
|
27
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @export
|
|
35
|
+
* @class BaseAPI
|
|
36
|
+
*/
|
|
28
37
|
class BaseAPI {
|
|
29
38
|
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
30
39
|
this.basePath = basePath;
|
|
@@ -36,6 +45,12 @@ class BaseAPI {
|
|
|
36
45
|
}
|
|
37
46
|
}
|
|
38
47
|
exports.BaseAPI = BaseAPI;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @export
|
|
51
|
+
* @class RequiredError
|
|
52
|
+
* @extends {Error}
|
|
53
|
+
*/
|
|
39
54
|
class RequiredError extends Error {
|
|
40
55
|
constructor(field, msg) {
|
|
41
56
|
super(msg);
|
|
@@ -44,4 +59,8 @@ class RequiredError extends Error {
|
|
|
44
59
|
}
|
|
45
60
|
}
|
|
46
61
|
exports.RequiredError = RequiredError;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
47
66
|
exports.operationServerMap = {};
|
|
@@ -12,17 +12,54 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from "axios";
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
15
19
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
16
20
|
/**
|
|
17
21
|
*
|
|
18
22
|
* @throws {RequiredError}
|
|
23
|
+
* @export
|
|
19
24
|
*/
|
|
20
25
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
21
30
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
22
35
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
23
40
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
24
45
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
25
50
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
*/
|
|
26
55
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
27
60
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
28
65
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|