@ember-finance/sdk 1.0.25 → 1.0.26
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/src/vaults/api/v2/api.d.ts +13 -0
- package/dist/src/vaults/api/v2/api.js +31 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.d.ts +351 -0
- package/dist/src/vaults/api/v2/apis/accounts-api.js +656 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.d.ts +570 -0
- package/dist/src/vaults/api/v2/apis/vaults-api.js +1150 -0
- package/dist/src/vaults/api/v2/base.d.ts +66 -0
- package/dist/src/vaults/api/v2/base.js +66 -0
- package/dist/src/vaults/api/v2/common.d.ts +65 -0
- package/dist/src/vaults/api/v2/common.js +152 -0
- package/dist/src/vaults/api/v2/configuration.d.ts +91 -0
- package/dist/src/vaults/api/v2/configuration.js +49 -0
- package/dist/src/vaults/api/v2/index.d.ts +14 -0
- package/dist/src/vaults/api/v2/index.js +32 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/account-transaction-transaction-data.js +15 -0
- package/dist/src/vaults/api/v2/models/account-transaction.d.ts +45 -0
- package/dist/src/vaults/api/v2/models/account-transaction.js +23 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/account-vault-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.d.ts +107 -0
- package/dist/src/vaults/api/v2/models/account-withdrawal-request.js +24 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.d.ts +59 -0
- package/dist/src/vaults/api/v2/models/aggregated-account-position-history.js +20 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.d.ts +73 -0
- package/dist/src/vaults/api/v2/models/apy-history-response.js +15 -0
- package/dist/src/vaults/api/v2/models/apy-history.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/apy-history.js +15 -0
- package/dist/src/vaults/api/v2/models/asset.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/asset.js +15 -0
- package/dist/src/vaults/api/v2/models/borrowed.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/borrowed.js +15 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.d.ts +74 -0
- package/dist/src/vaults/api/v2/models/chain-vault-details.js +15 -0
- package/dist/src/vaults/api/v2/models/chain.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/chain.js +21 -0
- package/dist/src/vaults/api/v2/models/coin-price.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/coin-price.js +15 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/deposit-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/ember-position.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/ember-position.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/evm-contracts.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/evm-deposit-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/evm-price-feed.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-config.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/evm-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/evm-receipt-token.js +15 -0
- package/dist/src/vaults/api/v2/models/evm-vault.d.ts +114 -0
- package/dist/src/vaults/api/v2/models/evm-vault.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/exposure-coin.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.d.ts +66 -0
- package/dist/src/vaults/api/v2/models/exposure-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/exposure.d.ts +38 -0
- package/dist/src/vaults/api/v2/models/exposure.js +15 -0
- package/dist/src/vaults/api/v2/models/fee.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/fee.js +15 -0
- package/dist/src/vaults/api/v2/models/fees.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/fees.js +15 -0
- package/dist/src/vaults/api/v2/models/history-interval.d.ts +23 -0
- package/dist/src/vaults/api/v2/models/history-interval.js +27 -0
- package/dist/src/vaults/api/v2/models/index.d.ts +94 -0
- package/dist/src/vaults/api/v2/models/index.js +110 -0
- package/dist/src/vaults/api/v2/models/lp.d.ts +81 -0
- package/dist/src/vaults/api/v2/models/lp.js +15 -0
- package/dist/src/vaults/api/v2/models/manager.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/manager.js +15 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/min-withdrawal-shares-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/perps.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/perps.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/pnl-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/pnl-history.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/poc-report-asset.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-assets.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchange.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-exchanges.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/poc-report-token.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.d.ts +80 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallet.js +15 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/poc-report-wallets.js +15 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.d.ts +22 -0
- package/dist/src/vaults/api/v2/models/position-history-interval.js +26 -0
- package/dist/src/vaults/api/v2/models/position-value.d.ts +89 -0
- package/dist/src/vaults/api/v2/models/position-value.js +20 -0
- package/dist/src/vaults/api/v2/models/position.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/position.js +15 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/process-requests-summary-event.js +15 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.d.ts +69 -0
- package/dist/src/vaults/api/v2/models/proof-of-capital-report.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/protocol-fee-collected-event.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/protocol-pnl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/protocol-tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.d.ts +34 -0
- package/dist/src/vaults/api/v2/models/raw-event-event-data.js +15 -0
- package/dist/src/vaults/api/v2/models/raw-event.d.ts +63 -0
- package/dist/src/vaults/api/v2/models/raw-event.js +35 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-cancelled-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.d.ts +68 -0
- package/dist/src/vaults/api/v2/models/redeem-request-processed-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-skipped-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.d.ts +56 -0
- package/dist/src/vaults/api/v2/models/redeem-request-transaction.js +15 -0
- package/dist/src/vaults/api/v2/models/reported-apy.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/reported-apy.js +15 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.d.ts +78 -0
- package/dist/src/vaults/api/v2/models/request-processed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/request-redeemed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/reward-token.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/reward-token.js +15 -0
- package/dist/src/vaults/api/v2/models/reward.d.ts +37 -0
- package/dist/src/vaults/api/v2/models/reward.js +15 -0
- package/dist/src/vaults/api/v2/models/share-price-history.d.ts +30 -0
- package/dist/src/vaults/api/v2/models/share-price-history.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy-account.d.ts +49 -0
- package/dist/src/vaults/api/v2/models/strategy-account.js +15 -0
- package/dist/src/vaults/api/v2/models/strategy.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/strategy.js +15 -0
- package/dist/src/vaults/api/v2/models/sub-account.d.ts +31 -0
- package/dist/src/vaults/api/v2/models/sub-account.js +15 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.d.ts +41 -0
- package/dist/src/vaults/api/v2/models/sui-protocol-info.js +15 -0
- package/dist/src/vaults/api/v2/models/supplied.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/supplied.js +15 -0
- package/dist/src/vaults/api/v2/models/tag.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/tag.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/tvl-by-chain.js +15 -0
- package/dist/src/vaults/api/v2/models/tvl-history.d.ts +43 -0
- package/dist/src/vaults/api/v2/models/tvl-history.js +15 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/ultra-coin-info.js +15 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.d.ts +61 -0
- package/dist/src/vaults/api/v2/models/update-vault-strategies.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-admin-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-created-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.d.ts +72 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-deposit-without-minting-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-detail.d.ts +196 -0
- package/dist/src/vaults/api/v2/models/vault-detail.js +22 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-fee-percentage-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-info.d.ts +84 -0
- package/dist/src/vaults/api/v2/models/vault-info.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-max-tvl-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-operator-changed-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.d.ts +36 -0
- package/dist/src/vaults/api/v2/models/vault-paused-status-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-platform-fee-charged-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-protocol.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vault-rate-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-slice.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-slice.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.d.ts +54 -0
- package/dist/src/vaults/api/v2/models/vault-sub-account-updated-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-tag.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/vault-tag.js +15 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.d.ts +19 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config-config.js +15 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-deployment-config.js +20 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.d.ts +42 -0
- package/dist/src/vaults/api/v2/models/vaults-stats.js +15 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.d.ts +48 -0
- package/dist/src/vaults/api/v2/models/yield-aggregate-value.js +15 -0
- package/package.json +3 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export * from "./apis/accounts-api";
|
|
13
|
+
export * from "./apis/vaults-api";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Ember Protocol Vaults API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
29
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
+
__exportStar(require("./apis/accounts-api"), exports);
|
|
31
|
+
__exportStar(require("./apis/vaults-api"), exports);
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ember Protocol Vaults API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from "../configuration";
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
|
|
14
|
+
import { type RequestArgs, BaseAPI } from "../base";
|
|
15
|
+
import type { AccountTransaction } from "../models";
|
|
16
|
+
import type { AccountVaultPositionHistory } from "../models";
|
|
17
|
+
import type { AccountWithdrawalRequest } from "../models";
|
|
18
|
+
import type { AggregatedAccountPositionHistory } from "../models";
|
|
19
|
+
import type { PositionHistoryInterval } from "../models";
|
|
20
|
+
import type { PositionValue } from "../models";
|
|
21
|
+
import type { YieldAggregateValue } from "../models";
|
|
22
|
+
/**
|
|
23
|
+
* AccountsApi - axios parameter creator
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @summary Get history of the account
|
|
30
|
+
* @param {string} accountAddress The address of the account
|
|
31
|
+
* @param {number} startTimeInMs The start time of the events
|
|
32
|
+
* @param {string} [chain] Chain identifier
|
|
33
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
34
|
+
* @param {number} [limit] The limit of the events
|
|
35
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
36
|
+
* @param {string} [vaultId] The id of the vault
|
|
37
|
+
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
getAccountHistory: (accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @summary Get the positions history of the account
|
|
45
|
+
* @param {string} accountAddress The address of the account
|
|
46
|
+
* @param {number} [limit] The limit of the rows
|
|
47
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
getAccountPositionsHistory: (accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @summary Get the positions value of the account
|
|
55
|
+
* @param {string} accountAddress The address of the account
|
|
56
|
+
* @param {string} [vaultId] The id of the vault
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getAccountPositionsValue: (accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @summary Get withdrawal requests of the account
|
|
64
|
+
* @param {string} accountAddress The address of the account
|
|
65
|
+
* @param {number} startTimeInMs The start time of the events
|
|
66
|
+
* @param {string} [chain] Chain identifier
|
|
67
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
68
|
+
* @param {number} [limit] The limit of the events
|
|
69
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
70
|
+
* @param {string} [vaultId] The id of the vault
|
|
71
|
+
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
getAccountWithdrawalRequests: (accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @summary Get the yield value of the account
|
|
79
|
+
* @param {string} accountAddress The address of the account
|
|
80
|
+
* @param {string} [chain] Chain identifier
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
getAccountYieldValue: (accountAddress: string, chain?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Get the positions history of the account for a given vault
|
|
88
|
+
* @param {string} vaultId The id of the vault
|
|
89
|
+
* @param {string} accountAddress The address of the account
|
|
90
|
+
* @param {number} [limit] The limit of the rows
|
|
91
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
92
|
+
* @param {*} [options] Override http request option.
|
|
93
|
+
* @throws {RequiredError}
|
|
94
|
+
*/
|
|
95
|
+
getVaultAccountPositionsHistory: (vaultId: string, accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* AccountsApi - functional programming interface
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @summary Get history of the account
|
|
105
|
+
* @param {string} accountAddress The address of the account
|
|
106
|
+
* @param {number} startTimeInMs The start time of the events
|
|
107
|
+
* @param {string} [chain] Chain identifier
|
|
108
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
109
|
+
* @param {number} [limit] The limit of the events
|
|
110
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
111
|
+
* @param {string} [vaultId] The id of the vault
|
|
112
|
+
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
113
|
+
* @param {*} [options] Override http request option.
|
|
114
|
+
* @throws {RequiredError}
|
|
115
|
+
*/
|
|
116
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountTransaction>>>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary Get the positions history of the account
|
|
120
|
+
* @param {string} accountAddress The address of the account
|
|
121
|
+
* @param {number} [limit] The limit of the rows
|
|
122
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
123
|
+
* @param {*} [options] Override http request option.
|
|
124
|
+
* @throws {RequiredError}
|
|
125
|
+
*/
|
|
126
|
+
getAccountPositionsHistory(accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AggregatedAccountPositionHistory>>>;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @summary Get the positions value of the account
|
|
130
|
+
* @param {string} accountAddress The address of the account
|
|
131
|
+
* @param {string} [vaultId] The id of the vault
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PositionValue>>>;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @summary Get withdrawal requests of the account
|
|
139
|
+
* @param {string} accountAddress The address of the account
|
|
140
|
+
* @param {number} startTimeInMs The start time of the events
|
|
141
|
+
* @param {string} [chain] Chain identifier
|
|
142
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
143
|
+
* @param {number} [limit] The limit of the events
|
|
144
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
145
|
+
* @param {string} [vaultId] The id of the vault
|
|
146
|
+
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountWithdrawalRequest>>>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @summary Get the yield value of the account
|
|
154
|
+
* @param {string} accountAddress The address of the account
|
|
155
|
+
* @param {string} [chain] Chain identifier
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
*/
|
|
159
|
+
getAccountYieldValue(accountAddress: string, chain?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YieldAggregateValue>>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @summary Get the positions history of the account for a given vault
|
|
163
|
+
* @param {string} vaultId The id of the vault
|
|
164
|
+
* @param {string} accountAddress The address of the account
|
|
165
|
+
* @param {number} [limit] The limit of the rows
|
|
166
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
167
|
+
* @param {*} [options] Override http request option.
|
|
168
|
+
* @throws {RequiredError}
|
|
169
|
+
*/
|
|
170
|
+
getVaultAccountPositionsHistory(vaultId: string, accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountVaultPositionHistory>>>;
|
|
171
|
+
};
|
|
172
|
+
/**
|
|
173
|
+
* AccountsApi - factory interface
|
|
174
|
+
* @export
|
|
175
|
+
*/
|
|
176
|
+
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary Get history of the account
|
|
180
|
+
* @param {string} accountAddress The address of the account
|
|
181
|
+
* @param {number} startTimeInMs The start time of the events
|
|
182
|
+
* @param {string} [chain] Chain identifier
|
|
183
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
184
|
+
* @param {number} [limit] The limit of the events
|
|
185
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
186
|
+
* @param {string} [vaultId] The id of the vault
|
|
187
|
+
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
188
|
+
* @param {*} [options] Override http request option.
|
|
189
|
+
* @throws {RequiredError}
|
|
190
|
+
*/
|
|
191
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountTransaction>>;
|
|
192
|
+
/**
|
|
193
|
+
*
|
|
194
|
+
* @summary Get the positions history of the account
|
|
195
|
+
* @param {string} accountAddress The address of the account
|
|
196
|
+
* @param {number} [limit] The limit of the rows
|
|
197
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
198
|
+
* @param {*} [options] Override http request option.
|
|
199
|
+
* @throws {RequiredError}
|
|
200
|
+
*/
|
|
201
|
+
getAccountPositionsHistory(accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<AggregatedAccountPositionHistory>>;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @summary Get the positions value of the account
|
|
205
|
+
* @param {string} accountAddress The address of the account
|
|
206
|
+
* @param {string} [vaultId] The id of the vault
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PositionValue>>;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @summary Get withdrawal requests of the account
|
|
214
|
+
* @param {string} accountAddress The address of the account
|
|
215
|
+
* @param {number} startTimeInMs The start time of the events
|
|
216
|
+
* @param {string} [chain] Chain identifier
|
|
217
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
218
|
+
* @param {number} [limit] The limit of the events
|
|
219
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
220
|
+
* @param {string} [vaultId] The id of the vault
|
|
221
|
+
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountWithdrawalRequest>>;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @summary Get the yield value of the account
|
|
229
|
+
* @param {string} accountAddress The address of the account
|
|
230
|
+
* @param {string} [chain] Chain identifier
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
getAccountYieldValue(accountAddress: string, chain?: string, options?: RawAxiosRequestConfig): AxiosPromise<YieldAggregateValue>;
|
|
235
|
+
/**
|
|
236
|
+
*
|
|
237
|
+
* @summary Get the positions history of the account for a given vault
|
|
238
|
+
* @param {string} vaultId The id of the vault
|
|
239
|
+
* @param {string} accountAddress The address of the account
|
|
240
|
+
* @param {number} [limit] The limit of the rows
|
|
241
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
242
|
+
* @param {*} [options] Override http request option.
|
|
243
|
+
* @throws {RequiredError}
|
|
244
|
+
*/
|
|
245
|
+
getVaultAccountPositionsHistory(vaultId: string, accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountVaultPositionHistory>>;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* AccountsApi - object-oriented interface
|
|
249
|
+
* @export
|
|
250
|
+
* @class AccountsApi
|
|
251
|
+
* @extends {BaseAPI}
|
|
252
|
+
*/
|
|
253
|
+
export declare class AccountsApi extends BaseAPI {
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @summary Get history of the account
|
|
257
|
+
* @param {string} accountAddress The address of the account
|
|
258
|
+
* @param {number} startTimeInMs The start time of the events
|
|
259
|
+
* @param {string} [chain] Chain identifier
|
|
260
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
261
|
+
* @param {number} [limit] The limit of the events
|
|
262
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
263
|
+
* @param {string} [vaultId] The id of the vault
|
|
264
|
+
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
265
|
+
* @param {*} [options] Override http request option.
|
|
266
|
+
* @throws {RequiredError}
|
|
267
|
+
* @memberof AccountsApi
|
|
268
|
+
*/
|
|
269
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountTransaction[], any, {}>>;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @summary Get the positions history of the account
|
|
273
|
+
* @param {string} accountAddress The address of the account
|
|
274
|
+
* @param {number} [limit] The limit of the rows
|
|
275
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
276
|
+
* @param {*} [options] Override http request option.
|
|
277
|
+
* @throws {RequiredError}
|
|
278
|
+
* @memberof AccountsApi
|
|
279
|
+
*/
|
|
280
|
+
getAccountPositionsHistory(accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AggregatedAccountPositionHistory[], any, {}>>;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @summary Get the positions value of the account
|
|
284
|
+
* @param {string} accountAddress The address of the account
|
|
285
|
+
* @param {string} [vaultId] The id of the vault
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
* @memberof AccountsApi
|
|
289
|
+
*/
|
|
290
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PositionValue[], any, {}>>;
|
|
291
|
+
/**
|
|
292
|
+
*
|
|
293
|
+
* @summary Get withdrawal requests of the account
|
|
294
|
+
* @param {string} accountAddress The address of the account
|
|
295
|
+
* @param {number} startTimeInMs The start time of the events
|
|
296
|
+
* @param {string} [chain] Chain identifier
|
|
297
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
298
|
+
* @param {number} [limit] The limit of the events
|
|
299
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
300
|
+
* @param {string} [vaultId] The id of the vault
|
|
301
|
+
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
* @memberof AccountsApi
|
|
305
|
+
*/
|
|
306
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, chain?: string, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountWithdrawalRequest[], any, {}>>;
|
|
307
|
+
/**
|
|
308
|
+
*
|
|
309
|
+
* @summary Get the yield value of the account
|
|
310
|
+
* @param {string} accountAddress The address of the account
|
|
311
|
+
* @param {string} [chain] Chain identifier
|
|
312
|
+
* @param {*} [options] Override http request option.
|
|
313
|
+
* @throws {RequiredError}
|
|
314
|
+
* @memberof AccountsApi
|
|
315
|
+
*/
|
|
316
|
+
getAccountYieldValue(accountAddress: string, chain?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YieldAggregateValue, any, {}>>;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary Get the positions history of the account for a given vault
|
|
320
|
+
* @param {string} vaultId The id of the vault
|
|
321
|
+
* @param {string} accountAddress The address of the account
|
|
322
|
+
* @param {number} [limit] The limit of the rows
|
|
323
|
+
* @param {PositionHistoryInterval} [interval] The interval of the rows
|
|
324
|
+
* @param {*} [options] Override http request option.
|
|
325
|
+
* @throws {RequiredError}
|
|
326
|
+
* @memberof AccountsApi
|
|
327
|
+
*/
|
|
328
|
+
getVaultAccountPositionsHistory(vaultId: string, accountAddress: string, limit?: number, interval?: PositionHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountVaultPositionHistory[], any, {}>>;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* @export
|
|
332
|
+
*/
|
|
333
|
+
export declare const GetAccountHistoryTypeEnum: {
|
|
334
|
+
readonly Deposit: "Deposit";
|
|
335
|
+
readonly RedeemRequest: "RedeemRequest";
|
|
336
|
+
readonly RedeemRequestProcessed: "RedeemRequestProcessed";
|
|
337
|
+
readonly RedeemRequestSkipped: "RedeemRequestSkipped";
|
|
338
|
+
readonly RedeemRequestCancelled: "RedeemRequestCancelled";
|
|
339
|
+
};
|
|
340
|
+
export type GetAccountHistoryTypeEnum = (typeof GetAccountHistoryTypeEnum)[keyof typeof GetAccountHistoryTypeEnum];
|
|
341
|
+
/**
|
|
342
|
+
* @export
|
|
343
|
+
*/
|
|
344
|
+
export declare const GetAccountWithdrawalRequestsStatusEnum: {
|
|
345
|
+
readonly Pending: "Pending";
|
|
346
|
+
readonly PendingCancelling: "PendingCancelling";
|
|
347
|
+
readonly Cancelled: "Cancelled";
|
|
348
|
+
readonly Skipped: "Skipped";
|
|
349
|
+
readonly Processed: "Processed";
|
|
350
|
+
};
|
|
351
|
+
export type GetAccountWithdrawalRequestsStatusEnum = (typeof GetAccountWithdrawalRequestsStatusEnum)[keyof typeof GetAccountWithdrawalRequestsStatusEnum];
|