@ember-finance/sdk 1.0.8 → 1.0.10
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/api.d.ts +2 -2
- package/dist/src/vaults/api/apis/accounts-api.d.ts +178 -27
- package/dist/src/vaults/api/apis/accounts-api.js +208 -77
- package/dist/src/vaults/api/apis/vaults-api.d.ts +270 -40
- package/dist/src/vaults/api/apis/vaults-api.js +267 -194
- package/dist/src/vaults/api/base.d.ts +26 -2
- package/dist/src/vaults/api/base.js +21 -1
- package/dist/src/vaults/api/common.d.ts +38 -1
- package/dist/src/vaults/api/common.js +47 -17
- package/dist/src/vaults/api/configuration.d.ts +17 -0
- package/dist/src/vaults/api/configuration.js +4 -5
- package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +6 -5
- package/dist/src/vaults/api/models/account-transaction.d.ts +26 -11
- package/dist/src/vaults/api/models/account-transaction.js +12 -7
- package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +64 -23
- package/dist/src/vaults/api/models/account-withdrawal-request.js +13 -8
- package/dist/src/vaults/api/models/apy-history.d.ts +42 -0
- package/dist/src/vaults/api/models/apy-history.js +15 -0
- package/dist/src/vaults/api/models/asset.d.ts +26 -7
- package/dist/src/vaults/api/models/borrowed.d.ts +43 -0
- package/dist/src/vaults/api/models/borrowed.js +15 -0
- package/dist/src/vaults/api/models/coin-price.d.ts +30 -0
- package/dist/src/vaults/api/models/coin-price.js +15 -0
- package/dist/src/vaults/api/models/deposit-transaction.d.ts +40 -10
- package/dist/src/vaults/api/models/exposure-coin.d.ts +18 -4
- package/dist/src/vaults/api/models/exposure-protocol.d.ts +50 -3
- package/dist/src/vaults/api/models/exposure.d.ts +16 -5
- package/dist/src/vaults/api/models/fee.d.ts +37 -0
- package/dist/src/vaults/api/models/fee.js +15 -0
- package/dist/src/vaults/api/models/history-interval.d.ts +11 -7
- package/dist/src/vaults/api/models/history-interval.js +12 -6
- package/dist/src/vaults/api/models/index.d.ts +60 -43
- package/dist/src/vaults/api/models/index.js +17 -0
- package/dist/src/vaults/api/models/lp.d.ts +81 -0
- package/dist/src/vaults/api/models/lp.js +15 -0
- package/dist/src/vaults/api/models/manager.d.ts +26 -4
- package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/perps.d.ts +31 -0
- package/dist/src/vaults/api/models/perps.js +15 -0
- package/dist/src/vaults/api/models/pnl-history-interval.d.ts +21 -0
- package/dist/src/vaults/api/models/pnl-history-interval.js +27 -0
- package/dist/src/vaults/api/models/pnl-history.d.ts +17 -2
- package/dist/src/vaults/api/models/position-value.d.ts +54 -0
- package/dist/src/vaults/api/models/position-value.js +15 -0
- package/dist/src/vaults/api/models/position.d.ts +42 -0
- package/dist/src/vaults/api/models/position.js +15 -0
- package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +78 -0
- package/dist/src/vaults/api/models/process-requests-summary-event.js +15 -0
- package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +60 -0
- package/dist/src/vaults/api/models/protocol-fee-collected-event.js +15 -0
- package/dist/src/vaults/api/models/protocol-info.d.ts +20 -6
- package/dist/src/vaults/api/models/protocol.d.ts +17 -13
- package/dist/src/vaults/api/models/protocol.js +0 -8
- package/dist/src/vaults/api/models/raw-event-event-data.d.ts +19 -13
- package/dist/src/vaults/api/models/raw-event.d.ts +44 -20
- package/dist/src/vaults/api/models/raw-event.js +24 -14
- package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +40 -10
- package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +31 -8
- package/dist/src/vaults/api/models/reported-apy.d.ts +17 -2
- package/dist/src/vaults/api/models/request-processed-event.d.ts +35 -10
- package/dist/src/vaults/api/models/request-redeemed-event.d.ts +32 -9
- package/dist/src/vaults/api/models/reward-token.d.ts +26 -5
- package/dist/src/vaults/api/models/reward.d.ts +37 -0
- package/dist/src/vaults/api/models/reward.js +15 -0
- package/dist/src/vaults/api/models/share-price-history.d.ts +11 -2
- package/dist/src/vaults/api/models/strategy.d.ts +26 -7
- package/dist/src/vaults/api/models/sub-account.d.ts +15 -3
- package/dist/src/vaults/api/models/supplied.d.ts +43 -0
- package/dist/src/vaults/api/models/supplied.js +15 -0
- package/dist/src/vaults/api/models/tvl-history.d.ts +11 -2
- package/dist/src/vaults/api/models/ultra-coin-info.d.ts +23 -6
- package/dist/src/vaults/api/models/update-vault-strategies.d.ts +24 -6
- package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-created-event.d.ts +29 -7
- package/dist/src/vaults/api/models/vault-deposit-event.d.ts +32 -9
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.js +15 -0
- package/dist/src/vaults/api/models/vault-detail.d.ts +125 -37
- package/dist/src/vaults/api/models/vault-detail.js +11 -6
- package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-info.d.ts +38 -11
- package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +14 -3
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +48 -0
- package/dist/src/vaults/api/models/vault-platform-fee-charged-event.js +15 -0
- package/dist/src/vaults/api/models/vault-protocol.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +17 -4
- package/dist/src/vaults/api/models/vault-slice.d.ts +20 -5
- package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +23 -6
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +60 -0
- package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.js +15 -0
- package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +42 -0
- package/dist/src/vaults/api/models/yield-aggregate-value.js +15 -0
- package/dist/src/vaults/on-chain-calls/tx-builder.d.ts +8 -0
- package/dist/src/vaults/on-chain-calls/tx-builder.js +35 -0
- package/dist/src/vaults/on-chain-calls/user.d.ts +9 -0
- package/dist/src/vaults/on-chain-calls/user.js +16 -0
- package/package.json +5 -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
|
@@ -9,15 +9,17 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Configuration } from
|
|
13
|
-
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import type {
|
|
18
|
-
import type {
|
|
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 { AccountWithdrawalRequest } from '../models';
|
|
17
|
+
import type { Exposure } from '../models';
|
|
18
|
+
import type { PositionValue } from '../models';
|
|
19
|
+
import type { YieldAggregateValue } from '../models';
|
|
19
20
|
/**
|
|
20
21
|
* AccountsApi - axios parameter creator
|
|
22
|
+
* @export
|
|
21
23
|
*/
|
|
22
24
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
25
|
/**
|
|
@@ -42,6 +44,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
42
44
|
* @throws {RequiredError}
|
|
43
45
|
*/
|
|
44
46
|
getAccountHistory: (accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary Get the positions value of the account
|
|
50
|
+
* @param {string} accountAddress The address of the account
|
|
51
|
+
* @param {string} [vaultId] The id of the vault
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
getAccountPositionsValue: (accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
56
|
/**
|
|
46
57
|
*
|
|
47
58
|
* @summary Get withdrawal requests of the account
|
|
@@ -56,9 +67,18 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
56
67
|
* @throws {RequiredError}
|
|
57
68
|
*/
|
|
58
69
|
getAccountWithdrawalRequests: (accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @summary Get the yield value of the account
|
|
73
|
+
* @param {string} accountAddress The address of the account
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
getAccountYieldValue: (accountAddress: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
78
|
};
|
|
60
79
|
/**
|
|
61
80
|
* AccountsApi - functional programming interface
|
|
81
|
+
* @export
|
|
62
82
|
*/
|
|
63
83
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
64
84
|
/**
|
|
@@ -83,6 +103,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
83
103
|
* @throws {RequiredError}
|
|
84
104
|
*/
|
|
85
105
|
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountTransaction>>>;
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @summary Get the positions value of the account
|
|
109
|
+
* @param {string} accountAddress The address of the account
|
|
110
|
+
* @param {string} [vaultId] The id of the vault
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
*/
|
|
114
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PositionValue>>>;
|
|
86
115
|
/**
|
|
87
116
|
*
|
|
88
117
|
* @summary Get withdrawal requests of the account
|
|
@@ -97,9 +126,18 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
97
126
|
* @throws {RequiredError}
|
|
98
127
|
*/
|
|
99
128
|
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountWithdrawalRequest>>>;
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @summary Get the yield value of the account
|
|
132
|
+
* @param {string} accountAddress The address of the account
|
|
133
|
+
* @param {*} [options] Override http request option.
|
|
134
|
+
* @throws {RequiredError}
|
|
135
|
+
*/
|
|
136
|
+
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YieldAggregateValue>>;
|
|
100
137
|
};
|
|
101
138
|
/**
|
|
102
139
|
* AccountsApi - factory interface
|
|
140
|
+
* @export
|
|
103
141
|
*/
|
|
104
142
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
105
143
|
/**
|
|
@@ -124,6 +162,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
124
162
|
* @throws {RequiredError}
|
|
125
163
|
*/
|
|
126
164
|
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountTransaction>>;
|
|
165
|
+
/**
|
|
166
|
+
*
|
|
167
|
+
* @summary Get the positions value of the account
|
|
168
|
+
* @param {string} accountAddress The address of the account
|
|
169
|
+
* @param {string} [vaultId] The id of the vault
|
|
170
|
+
* @param {*} [options] Override http request option.
|
|
171
|
+
* @throws {RequiredError}
|
|
172
|
+
*/
|
|
173
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PositionValue>>;
|
|
127
174
|
/**
|
|
128
175
|
*
|
|
129
176
|
* @summary Get withdrawal requests of the account
|
|
@@ -138,19 +185,96 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
138
185
|
* @throws {RequiredError}
|
|
139
186
|
*/
|
|
140
187
|
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountWithdrawalRequest>>;
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary Get the yield value of the account
|
|
191
|
+
* @param {string} accountAddress The address of the account
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
*/
|
|
195
|
+
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): AxiosPromise<YieldAggregateValue>;
|
|
141
196
|
};
|
|
197
|
+
/**
|
|
198
|
+
* AccountsApi - interface
|
|
199
|
+
* @export
|
|
200
|
+
* @interface AccountsApi
|
|
201
|
+
*/
|
|
202
|
+
export interface AccountsApiInterface {
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
* @summary Get the exposure of the account
|
|
206
|
+
* @param {string} accountAddress The address of the account
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
* @memberof AccountsApiInterface
|
|
210
|
+
*/
|
|
211
|
+
getAccountExposure(accountAddress: string, options?: RawAxiosRequestConfig): AxiosPromise<Exposure>;
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @summary Get history of the account
|
|
215
|
+
* @param {string} accountAddress The address of the account
|
|
216
|
+
* @param {number} startTimeInMs The start time of the events
|
|
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 {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
* @memberof AccountsApiInterface
|
|
225
|
+
*/
|
|
226
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountTransaction>>;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary Get the positions value of the account
|
|
230
|
+
* @param {string} accountAddress The address of the account
|
|
231
|
+
* @param {string} [vaultId] The id of the vault
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
* @memberof AccountsApiInterface
|
|
235
|
+
*/
|
|
236
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<PositionValue>>;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @summary Get withdrawal requests of the account
|
|
240
|
+
* @param {string} accountAddress The address of the account
|
|
241
|
+
* @param {number} startTimeInMs The start time of the events
|
|
242
|
+
* @param {number} [endTimeInMs] The end time of the events
|
|
243
|
+
* @param {number} [limit] The limit of the events
|
|
244
|
+
* @param {number} [page] Use when provided time range and limit exceed max page size
|
|
245
|
+
* @param {string} [vaultId] The id of the vault
|
|
246
|
+
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
* @memberof AccountsApiInterface
|
|
250
|
+
*/
|
|
251
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountWithdrawalRequest>>;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @summary Get the yield value of the account
|
|
255
|
+
* @param {string} accountAddress The address of the account
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
* @memberof AccountsApiInterface
|
|
259
|
+
*/
|
|
260
|
+
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): AxiosPromise<YieldAggregateValue>;
|
|
261
|
+
}
|
|
142
262
|
/**
|
|
143
263
|
* AccountsApi - object-oriented interface
|
|
264
|
+
* @export
|
|
265
|
+
* @class AccountsApi
|
|
266
|
+
* @extends {BaseAPI}
|
|
144
267
|
*/
|
|
145
|
-
export declare class AccountsApi extends BaseAPI {
|
|
268
|
+
export declare class AccountsApi extends BaseAPI implements AccountsApiInterface {
|
|
146
269
|
/**
|
|
147
270
|
*
|
|
148
271
|
* @summary Get the exposure of the account
|
|
149
272
|
* @param {string} accountAddress The address of the account
|
|
150
273
|
* @param {*} [options] Override http request option.
|
|
151
274
|
* @throws {RequiredError}
|
|
275
|
+
* @memberof AccountsApi
|
|
152
276
|
*/
|
|
153
|
-
getAccountExposure(accountAddress: string, options?: RawAxiosRequestConfig): Promise<
|
|
277
|
+
getAccountExposure(accountAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Exposure, any, {}>>;
|
|
154
278
|
/**
|
|
155
279
|
*
|
|
156
280
|
* @summary Get history of the account
|
|
@@ -163,8 +287,19 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
163
287
|
* @param {GetAccountHistoryTypeEnum} [type] The type of the transaction
|
|
164
288
|
* @param {*} [options] Override http request option.
|
|
165
289
|
* @throws {RequiredError}
|
|
290
|
+
* @memberof AccountsApi
|
|
166
291
|
*/
|
|
167
|
-
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<
|
|
292
|
+
getAccountHistory(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, type?: GetAccountHistoryTypeEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountTransaction[], any, {}>>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @summary Get the positions value of the account
|
|
296
|
+
* @param {string} accountAddress The address of the account
|
|
297
|
+
* @param {string} [vaultId] The id of the vault
|
|
298
|
+
* @param {*} [options] Override http request option.
|
|
299
|
+
* @throws {RequiredError}
|
|
300
|
+
* @memberof AccountsApi
|
|
301
|
+
*/
|
|
302
|
+
getAccountPositionsValue(accountAddress: string, vaultId?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PositionValue[], any, {}>>;
|
|
168
303
|
/**
|
|
169
304
|
*
|
|
170
305
|
* @summary Get withdrawal requests of the account
|
|
@@ -177,22 +312,38 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
177
312
|
* @param {GetAccountWithdrawalRequestsStatusEnum} [status] The status of the withdrawal requests
|
|
178
313
|
* @param {*} [options] Override http request option.
|
|
179
314
|
* @throws {RequiredError}
|
|
315
|
+
* @memberof AccountsApi
|
|
316
|
+
*/
|
|
317
|
+
getAccountWithdrawalRequests(accountAddress: string, startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, vaultId?: string, status?: GetAccountWithdrawalRequestsStatusEnum, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountWithdrawalRequest[], any, {}>>;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @summary Get the yield value of the account
|
|
321
|
+
* @param {string} accountAddress The address of the account
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
* @memberof AccountsApi
|
|
180
325
|
*/
|
|
181
|
-
|
|
326
|
+
getAccountYieldValue(accountAddress: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YieldAggregateValue, any, {}>>;
|
|
327
|
+
}
|
|
328
|
+
/**
|
|
329
|
+
* @export
|
|
330
|
+
* @enum {string}
|
|
331
|
+
*/
|
|
332
|
+
export declare enum GetAccountHistoryTypeEnum {
|
|
333
|
+
Deposit = "Deposit",
|
|
334
|
+
RedeemRequest = "RedeemRequest",
|
|
335
|
+
RedeemRequestProcessed = "RedeemRequestProcessed",
|
|
336
|
+
RedeemRequestSkipped = "RedeemRequestSkipped",
|
|
337
|
+
RedeemRequestCancelled = "RedeemRequestCancelled"
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* @export
|
|
341
|
+
* @enum {string}
|
|
342
|
+
*/
|
|
343
|
+
export declare enum GetAccountWithdrawalRequestsStatusEnum {
|
|
344
|
+
Pending = "Pending",
|
|
345
|
+
PendingCancelling = "PendingCancelling",
|
|
346
|
+
Cancelled = "Cancelled",
|
|
347
|
+
Skipped = "Skipped",
|
|
348
|
+
Processed = "Processed"
|
|
182
349
|
}
|
|
183
|
-
export declare const GetAccountHistoryTypeEnum: {
|
|
184
|
-
readonly Deposit: "Deposit";
|
|
185
|
-
readonly RedeemRequest: "RedeemRequest";
|
|
186
|
-
readonly RedeemRequestProcessed: "RedeemRequestProcessed";
|
|
187
|
-
readonly RedeemRequestSkipped: "RedeemRequestSkipped";
|
|
188
|
-
readonly RedeemRequestCancelled: "RedeemRequestCancelled";
|
|
189
|
-
};
|
|
190
|
-
export type GetAccountHistoryTypeEnum = (typeof GetAccountHistoryTypeEnum)[keyof typeof GetAccountHistoryTypeEnum];
|
|
191
|
-
export declare const GetAccountWithdrawalRequestsStatusEnum: {
|
|
192
|
-
readonly Pending: "Pending";
|
|
193
|
-
readonly PendingCancelling: "PendingCancelling";
|
|
194
|
-
readonly Cancelled: "Cancelled";
|
|
195
|
-
readonly Skipped: "Skipped";
|
|
196
|
-
readonly Processed: "Processed";
|
|
197
|
-
};
|
|
198
|
-
export type GetAccountWithdrawalRequestsStatusEnum = (typeof GetAccountWithdrawalRequestsStatusEnum)[keyof typeof GetAccountWithdrawalRequestsStatusEnum];
|