@ember-finance/sdk 0.0.1 → 1.0.1

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.
Files changed (107) hide show
  1. package/README.md +6 -6
  2. package/dist/src/vaults/api/api.d.ts +13 -0
  3. package/dist/src/vaults/api/api.js +31 -0
  4. package/dist/src/vaults/api/apis/accounts-api.d.ts +198 -0
  5. package/dist/src/vaults/api/apis/accounts-api.js +366 -0
  6. package/dist/src/vaults/api/apis/vaults-api.d.ts +441 -0
  7. package/dist/src/vaults/api/apis/vaults-api.js +903 -0
  8. package/dist/src/vaults/api/base.d.ts +42 -0
  9. package/dist/src/vaults/api/base.js +47 -0
  10. package/dist/src/vaults/api/common.d.ts +28 -0
  11. package/dist/src/vaults/api/common.js +115 -0
  12. package/dist/src/vaults/api/configuration.d.ts +74 -0
  13. package/dist/src/vaults/api/configuration.js +49 -0
  14. package/dist/src/vaults/api/index.d.ts +14 -0
  15. package/dist/src/vaults/api/index.js +32 -0
  16. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +21 -0
  17. package/dist/src/vaults/api/models/account-transaction-transaction-data.js +15 -0
  18. package/dist/src/vaults/api/models/account-transaction.d.ts +27 -0
  19. package/dist/src/vaults/api/models/account-transaction.js +23 -0
  20. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +63 -0
  21. package/dist/src/vaults/api/models/account-withdrawal-request.js +24 -0
  22. package/dist/src/vaults/api/models/asset.d.ts +41 -0
  23. package/dist/src/vaults/api/models/asset.js +15 -0
  24. package/dist/src/vaults/api/models/deposit-transaction.d.ts +38 -0
  25. package/dist/src/vaults/api/models/deposit-transaction.js +15 -0
  26. package/dist/src/vaults/api/models/exposure-coin.d.ts +23 -0
  27. package/dist/src/vaults/api/models/exposure-coin.js +15 -0
  28. package/dist/src/vaults/api/models/exposure-protocol.d.ts +19 -0
  29. package/dist/src/vaults/api/models/exposure-protocol.js +15 -0
  30. package/dist/src/vaults/api/models/exposure.d.ts +27 -0
  31. package/dist/src/vaults/api/models/exposure.js +15 -0
  32. package/dist/src/vaults/api/models/history-interval.d.ts +18 -0
  33. package/dist/src/vaults/api/models/history-interval.js +22 -0
  34. package/dist/src/vaults/api/models/index.d.ts +43 -0
  35. package/dist/src/vaults/api/models/index.js +59 -0
  36. package/dist/src/vaults/api/models/manager.d.ts +20 -0
  37. package/dist/src/vaults/api/models/manager.js +15 -0
  38. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +29 -0
  39. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.js +15 -0
  40. package/dist/src/vaults/api/models/pnl-history.d.ts +21 -0
  41. package/dist/src/vaults/api/models/pnl-history.js +15 -0
  42. package/dist/src/vaults/api/models/protocol-info.d.ts +27 -0
  43. package/dist/src/vaults/api/models/protocol-info.js +15 -0
  44. package/dist/src/vaults/api/models/protocol.d.ts +38 -0
  45. package/dist/src/vaults/api/models/protocol.js +23 -0
  46. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +28 -0
  47. package/dist/src/vaults/api/models/raw-event-event-data.js +15 -0
  48. package/dist/src/vaults/api/models/raw-event.d.ts +42 -0
  49. package/dist/src/vaults/api/models/raw-event.js +30 -0
  50. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +33 -0
  51. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.js +15 -0
  52. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +38 -0
  53. package/dist/src/vaults/api/models/redeem-request-processed-transaction.js +15 -0
  54. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +33 -0
  55. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.js +15 -0
  56. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +33 -0
  57. package/dist/src/vaults/api/models/redeem-request-transaction.js +15 -0
  58. package/dist/src/vaults/api/models/reported-apy.d.ts +15 -0
  59. package/dist/src/vaults/api/models/reported-apy.js +15 -0
  60. package/dist/src/vaults/api/models/request-processed-event.d.ts +53 -0
  61. package/dist/src/vaults/api/models/request-processed-event.js +15 -0
  62. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +49 -0
  63. package/dist/src/vaults/api/models/request-redeemed-event.js +15 -0
  64. package/dist/src/vaults/api/models/reward-token.d.ts +27 -0
  65. package/dist/src/vaults/api/models/reward-token.js +15 -0
  66. package/dist/src/vaults/api/models/share-price-history.d.ts +21 -0
  67. package/dist/src/vaults/api/models/share-price-history.js +15 -0
  68. package/dist/src/vaults/api/models/strategy.d.ts +41 -0
  69. package/dist/src/vaults/api/models/strategy.js +15 -0
  70. package/dist/src/vaults/api/models/sub-account.d.ts +19 -0
  71. package/dist/src/vaults/api/models/sub-account.js +15 -0
  72. package/dist/src/vaults/api/models/tvl-history.d.ts +21 -0
  73. package/dist/src/vaults/api/models/tvl-history.js +15 -0
  74. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +37 -0
  75. package/dist/src/vaults/api/models/ultra-coin-info.js +15 -0
  76. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +31 -0
  77. package/dist/src/vaults/api/models/update-vault-strategies.js +15 -0
  78. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +29 -0
  79. package/dist/src/vaults/api/models/vault-admin-changed-event.js +15 -0
  80. package/dist/src/vaults/api/models/vault-created-event.d.ts +38 -0
  81. package/dist/src/vaults/api/models/vault-created-event.js +15 -0
  82. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +49 -0
  83. package/dist/src/vaults/api/models/vault-deposit-event.js +15 -0
  84. package/dist/src/vaults/api/models/vault-detail.d.ts +95 -0
  85. package/dist/src/vaults/api/models/vault-detail.js +22 -0
  86. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +29 -0
  87. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.js +15 -0
  88. package/dist/src/vaults/api/models/vault-info.d.ts +57 -0
  89. package/dist/src/vaults/api/models/vault-info.js +15 -0
  90. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +29 -0
  91. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.js +15 -0
  92. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +29 -0
  93. package/dist/src/vaults/api/models/vault-operator-changed-event.js +15 -0
  94. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +25 -0
  95. package/dist/src/vaults/api/models/vault-paused-status-updated-event.js +15 -0
  96. package/dist/src/vaults/api/models/vault-protocol.d.ts +29 -0
  97. package/dist/src/vaults/api/models/vault-protocol.js +15 -0
  98. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +29 -0
  99. package/dist/src/vaults/api/models/vault-rate-updated-event.js +15 -0
  100. package/dist/src/vaults/api/models/vault-slice.d.ts +33 -0
  101. package/dist/src/vaults/api/models/vault-slice.js +15 -0
  102. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +37 -0
  103. package/dist/src/vaults/api/models/vault-sub-account-updated-event.js +15 -0
  104. package/dist/src/vaults/{bluefin-vaults.d.ts → ember-vaults.d.ts} +5 -1
  105. package/dist/src/vaults/{bluefin-vaults.js → ember-vaults.js} +19 -4
  106. package/dist/src/vaults/on-chain-calls/onchain-calls.js +1 -1
  107. package/package.json +7 -3
@@ -0,0 +1,441 @@
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 globalAxios from "axios";
15
+ import { type RequestArgs, BaseAPI } from "../base";
16
+ import type { Exposure } from "../models";
17
+ import type { HistoryInterval } from "../models";
18
+ import type { PnlHistory } from "../models";
19
+ import type { ProtocolInfo } from "../models";
20
+ import type { RawEvent } from "../models";
21
+ import type { SharePriceHistory } from "../models";
22
+ import type { Strategy } from "../models";
23
+ import type { TvlHistory } from "../models";
24
+ import type { UpdateVaultStrategies } from "../models";
25
+ import type { VaultDetail } from "../models";
26
+ /**
27
+ * VaultsApi - axios parameter creator
28
+ */
29
+ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => {
30
+ /**
31
+ *
32
+ * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
33
+ * @param {number} [limit] The limit of the rows
34
+ * @param {HistoryInterval} [interval] The interval of the rows
35
+ * @param {*} [options] Override http request option.
36
+ * @throws {RequiredError}
37
+ */
38
+ getProtocolPnlHistory: (limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
39
+ /**
40
+ *
41
+ * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
42
+ * @param {number} [limit] The limit of the rows
43
+ * @param {HistoryInterval} [interval] The interval of the rows
44
+ * @param {*} [options] Override http request option.
45
+ * @throws {RequiredError}
46
+ */
47
+ getProtocolTvlHistory: (limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48
+ /**
49
+ *
50
+ * @summary Get raw events of the protocol
51
+ * @param {number} startTimeInMs The start time of the events
52
+ * @param {number} [endTimeInMs] The end time of the events
53
+ * @param {number} [limit] The limit of the events
54
+ * @param {number} [page] Use when provided time range and limit exceed max page size
55
+ * @param {*} [options] Override http request option.
56
+ * @throws {RequiredError}
57
+ */
58
+ getRawEvents: (startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
59
+ /**
60
+ *
61
+ * @summary Get the exposure of the vault
62
+ * @param {string} vaultId The id of the vault
63
+ * @param {*} [options] Override http request option.
64
+ * @throws {RequiredError}
65
+ */
66
+ getVaultExposure: (vaultId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
67
+ /**
68
+ *
69
+ * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
70
+ * @param {string} vaultId The id of the vault
71
+ * @param {number} [limit] The limit of the rows
72
+ * @param {HistoryInterval} [interval] The interval of the rows
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ getVaultPnlHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
77
+ /**
78
+ *
79
+ * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
80
+ * @param {string} vaultId The id of the vault
81
+ * @param {number} [limit] The limit of the rows
82
+ * @param {HistoryInterval} [interval] The interval of the rows
83
+ * @param {*} [options] Override http request option.
84
+ * @throws {RequiredError}
85
+ */
86
+ getVaultSharePriceHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
87
+ /**
88
+ *
89
+ * @summary Get the strategy of the vault
90
+ * @param {string} vaultId The id of the vault
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getVaultStrategy: (vaultId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
95
+ /**
96
+ *
97
+ * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
98
+ * @param {string} vaultId The id of the vault
99
+ * @param {number} [limit] The limit of the rows
100
+ * @param {HistoryInterval} [interval] The interval of the rows
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ getVaultTvlHistory: (vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
105
+ /**
106
+ *
107
+ * @summary Get details for all vaults or a specific vault
108
+ * @param {string} [vaultId] The ID of the vault
109
+ * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
110
+ * @param {*} [options] Override http request option.
111
+ * @throws {RequiredError}
112
+ */
113
+ getVaults: (vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
114
+ /**
115
+ *
116
+ * @summary Get protocol info to initialize sdk
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ getVaultsProtocolInfo: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
121
+ /**
122
+ *
123
+ * @summary Update the strategy of the vault
124
+ * @param {UpdateVaultStrategies} updateVaultStrategies
125
+ * @param {*} [options] Override http request option.
126
+ * @throws {RequiredError}
127
+ */
128
+ updateVaultStrategy: (updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
129
+ };
130
+ /**
131
+ * VaultsApi - functional programming interface
132
+ */
133
+ export declare const VaultsApiFp: (configuration?: Configuration) => {
134
+ /**
135
+ *
136
+ * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
137
+ * @param {number} [limit] The limit of the rows
138
+ * @param {HistoryInterval} [interval] The interval of the rows
139
+ * @param {*} [options] Override http request option.
140
+ * @throws {RequiredError}
141
+ */
142
+ getProtocolPnlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PnlHistory>>>;
143
+ /**
144
+ *
145
+ * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
146
+ * @param {number} [limit] The limit of the rows
147
+ * @param {HistoryInterval} [interval] The interval of the rows
148
+ * @param {*} [options] Override http request option.
149
+ * @throws {RequiredError}
150
+ */
151
+ getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TvlHistory>>>;
152
+ /**
153
+ *
154
+ * @summary Get raw events of the protocol
155
+ * @param {number} startTimeInMs The start time of the events
156
+ * @param {number} [endTimeInMs] The end time of the events
157
+ * @param {number} [limit] The limit of the events
158
+ * @param {number} [page] Use when provided time range and limit exceed max page size
159
+ * @param {*} [options] Override http request option.
160
+ * @throws {RequiredError}
161
+ */
162
+ getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RawEvent>>>;
163
+ /**
164
+ *
165
+ * @summary Get the exposure of the vault
166
+ * @param {string} vaultId The id of the vault
167
+ * @param {*} [options] Override http request option.
168
+ * @throws {RequiredError}
169
+ */
170
+ getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Exposure>>;
171
+ /**
172
+ *
173
+ * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
174
+ * @param {string} vaultId The id of the vault
175
+ * @param {number} [limit] The limit of the rows
176
+ * @param {HistoryInterval} [interval] The interval of the rows
177
+ * @param {*} [options] Override http request option.
178
+ * @throws {RequiredError}
179
+ */
180
+ getVaultPnlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PnlHistory>>>;
181
+ /**
182
+ *
183
+ * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
184
+ * @param {string} vaultId The id of the vault
185
+ * @param {number} [limit] The limit of the rows
186
+ * @param {HistoryInterval} [interval] The interval of the rows
187
+ * @param {*} [options] Override http request option.
188
+ * @throws {RequiredError}
189
+ */
190
+ getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SharePriceHistory>>>;
191
+ /**
192
+ *
193
+ * @summary Get the strategy of the vault
194
+ * @param {string} vaultId The id of the vault
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Strategy>>>;
199
+ /**
200
+ *
201
+ * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
202
+ * @param {string} vaultId The id of the vault
203
+ * @param {number} [limit] The limit of the rows
204
+ * @param {HistoryInterval} [interval] The interval of the rows
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ */
208
+ getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TvlHistory>>>;
209
+ /**
210
+ *
211
+ * @summary Get details for all vaults or a specific vault
212
+ * @param {string} [vaultId] The ID of the vault
213
+ * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
214
+ * @param {*} [options] Override http request option.
215
+ * @throws {RequiredError}
216
+ */
217
+ getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<VaultDetail>>>;
218
+ /**
219
+ *
220
+ * @summary Get protocol info to initialize sdk
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProtocolInfo>>;
225
+ /**
226
+ *
227
+ * @summary Update the strategy of the vault
228
+ * @param {UpdateVaultStrategies} updateVaultStrategies
229
+ * @param {*} [options] Override http request option.
230
+ * @throws {RequiredError}
231
+ */
232
+ updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Strategy>>>;
233
+ };
234
+ /**
235
+ * VaultsApi - factory interface
236
+ */
237
+ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
238
+ /**
239
+ *
240
+ * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
241
+ * @param {number} [limit] The limit of the rows
242
+ * @param {HistoryInterval} [interval] The interval of the rows
243
+ * @param {*} [options] Override http request option.
244
+ * @throws {RequiredError}
245
+ */
246
+ getProtocolPnlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<PnlHistory>>;
247
+ /**
248
+ *
249
+ * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
250
+ * @param {number} [limit] The limit of the rows
251
+ * @param {HistoryInterval} [interval] The interval of the rows
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<TvlHistory>>;
256
+ /**
257
+ *
258
+ * @summary Get raw events of the protocol
259
+ * @param {number} startTimeInMs The start time of the events
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 {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<RawEvent>>;
267
+ /**
268
+ *
269
+ * @summary Get the exposure of the vault
270
+ * @param {string} vaultId The id of the vault
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): AxiosPromise<Exposure>;
275
+ /**
276
+ *
277
+ * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
278
+ * @param {string} vaultId The id of the vault
279
+ * @param {number} [limit] The limit of the rows
280
+ * @param {HistoryInterval} [interval] The interval of the rows
281
+ * @param {*} [options] Override http request option.
282
+ * @throws {RequiredError}
283
+ */
284
+ getVaultPnlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<PnlHistory>>;
285
+ /**
286
+ *
287
+ * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
288
+ * @param {string} vaultId The id of the vault
289
+ * @param {number} [limit] The limit of the rows
290
+ * @param {HistoryInterval} [interval] The interval of the rows
291
+ * @param {*} [options] Override http request option.
292
+ * @throws {RequiredError}
293
+ */
294
+ getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<SharePriceHistory>>;
295
+ /**
296
+ *
297
+ * @summary Get the strategy of the vault
298
+ * @param {string} vaultId The id of the vault
299
+ * @param {*} [options] Override http request option.
300
+ * @throws {RequiredError}
301
+ */
302
+ getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
303
+ /**
304
+ *
305
+ * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
306
+ * @param {string} vaultId The id of the vault
307
+ * @param {number} [limit] The limit of the rows
308
+ * @param {HistoryInterval} [interval] The interval of the rows
309
+ * @param {*} [options] Override http request option.
310
+ * @throws {RequiredError}
311
+ */
312
+ getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<TvlHistory>>;
313
+ /**
314
+ *
315
+ * @summary Get details for all vaults or a specific vault
316
+ * @param {string} [vaultId] The ID of the vault
317
+ * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
318
+ * @param {*} [options] Override http request option.
319
+ * @throws {RequiredError}
320
+ */
321
+ getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<VaultDetail>>;
322
+ /**
323
+ *
324
+ * @summary Get protocol info to initialize sdk
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ getVaultsProtocolInfo(options?: RawAxiosRequestConfig): AxiosPromise<ProtocolInfo>;
329
+ /**
330
+ *
331
+ * @summary Update the strategy of the vault
332
+ * @param {UpdateVaultStrategies} updateVaultStrategies
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ */
336
+ updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
337
+ };
338
+ /**
339
+ * VaultsApi - object-oriented interface
340
+ */
341
+ export declare class VaultsApi extends BaseAPI {
342
+ /**
343
+ *
344
+ * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
345
+ * @param {number} [limit] The limit of the rows
346
+ * @param {HistoryInterval} [interval] The interval of the rows
347
+ * @param {*} [options] Override http request option.
348
+ * @throws {RequiredError}
349
+ */
350
+ getProtocolPnlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PnlHistory[], any>>;
351
+ /**
352
+ *
353
+ * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
354
+ * @param {number} [limit] The limit of the rows
355
+ * @param {HistoryInterval} [interval] The interval of the rows
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TvlHistory[], any>>;
360
+ /**
361
+ *
362
+ * @summary Get raw events of the protocol
363
+ * @param {number} startTimeInMs The start time of the events
364
+ * @param {number} [endTimeInMs] The end time of the events
365
+ * @param {number} [limit] The limit of the events
366
+ * @param {number} [page] Use when provided time range and limit exceed max page size
367
+ * @param {*} [options] Override http request option.
368
+ * @throws {RequiredError}
369
+ */
370
+ getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RawEvent[], any>>;
371
+ /**
372
+ *
373
+ * @summary Get the exposure of the vault
374
+ * @param {string} vaultId The id of the vault
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Exposure, any>>;
379
+ /**
380
+ *
381
+ * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
382
+ * @param {string} vaultId The id of the vault
383
+ * @param {number} [limit] The limit of the rows
384
+ * @param {HistoryInterval} [interval] The interval of the rows
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ getVaultPnlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PnlHistory[], any>>;
389
+ /**
390
+ *
391
+ * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
392
+ * @param {string} vaultId The id of the vault
393
+ * @param {number} [limit] The limit of the rows
394
+ * @param {HistoryInterval} [interval] The interval of the rows
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SharePriceHistory[], any>>;
399
+ /**
400
+ *
401
+ * @summary Get the strategy of the vault
402
+ * @param {string} vaultId The id of the vault
403
+ * @param {*} [options] Override http request option.
404
+ * @throws {RequiredError}
405
+ */
406
+ getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Strategy[], any>>;
407
+ /**
408
+ *
409
+ * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
410
+ * @param {string} vaultId The id of the vault
411
+ * @param {number} [limit] The limit of the rows
412
+ * @param {HistoryInterval} [interval] The interval of the rows
413
+ * @param {*} [options] Override http request option.
414
+ * @throws {RequiredError}
415
+ */
416
+ getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TvlHistory[], any>>;
417
+ /**
418
+ *
419
+ * @summary Get details for all vaults or a specific vault
420
+ * @param {string} [vaultId] The ID of the vault
421
+ * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
422
+ * @param {*} [options] Override http request option.
423
+ * @throws {RequiredError}
424
+ */
425
+ getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<VaultDetail[], any>>;
426
+ /**
427
+ *
428
+ * @summary Get protocol info to initialize sdk
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ */
432
+ getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProtocolInfo, any>>;
433
+ /**
434
+ *
435
+ * @summary Update the strategy of the vault
436
+ * @param {UpdateVaultStrategies} updateVaultStrategies
437
+ * @param {*} [options] Override http request option.
438
+ * @throws {RequiredError}
439
+ */
440
+ updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Strategy[], any>>;
441
+ }