@ember-finance/sdk 1.4.0 → 1.4.2

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 (212) hide show
  1. package/dist/src/api/v2/api.d.ts +1 -1
  2. package/dist/src/api/v2/api.js +1 -1
  3. package/dist/src/api/v2/apis/accounts-api.d.ts +1 -1
  4. package/dist/src/api/v2/apis/accounts-api.js +1 -1
  5. package/dist/src/api/v2/apis/vaults-api.d.ts +35 -1
  6. package/dist/src/api/v2/apis/vaults-api.js +75 -1
  7. package/dist/src/api/v2/base.d.ts +1 -1
  8. package/dist/src/api/v2/base.js +1 -1
  9. package/dist/src/api/v2/common.d.ts +1 -1
  10. package/dist/src/api/v2/common.js +1 -1
  11. package/dist/src/api/v2/configuration.d.ts +1 -1
  12. package/dist/src/api/v2/configuration.js +1 -1
  13. package/dist/src/api/v2/index.d.ts +1 -1
  14. package/dist/src/api/v2/index.js +1 -1
  15. package/dist/src/api/v2/models/account-transaction-transaction-data.d.ts +1 -1
  16. package/dist/src/api/v2/models/account-transaction-transaction-data.js +1 -1
  17. package/dist/src/api/v2/models/account-transaction.d.ts +1 -1
  18. package/dist/src/api/v2/models/account-transaction.js +1 -1
  19. package/dist/src/api/v2/models/account-vault-position-history.d.ts +1 -1
  20. package/dist/src/api/v2/models/account-vault-position-history.js +1 -1
  21. package/dist/src/api/v2/models/account-withdrawal-request.d.ts +1 -1
  22. package/dist/src/api/v2/models/account-withdrawal-request.js +1 -1
  23. package/dist/src/api/v2/models/aggregated-account-position-history.d.ts +1 -1
  24. package/dist/src/api/v2/models/aggregated-account-position-history.js +1 -1
  25. package/dist/src/api/v2/models/aggregated-proof-of-capital-report.d.ts +68 -0
  26. package/dist/src/api/v2/models/aggregated-proof-of-capital-report.js +15 -0
  27. package/dist/src/api/v2/models/apy-history-response.d.ts +1 -1
  28. package/dist/src/api/v2/models/apy-history-response.js +1 -1
  29. package/dist/src/api/v2/models/apy-history.d.ts +1 -1
  30. package/dist/src/api/v2/models/apy-history.js +1 -1
  31. package/dist/src/api/v2/models/asset.d.ts +1 -1
  32. package/dist/src/api/v2/models/asset.js +1 -1
  33. package/dist/src/api/v2/models/borrowed.d.ts +1 -1
  34. package/dist/src/api/v2/models/borrowed.js +1 -1
  35. package/dist/src/api/v2/models/chain-vault-details.d.ts +1 -1
  36. package/dist/src/api/v2/models/chain-vault-details.js +1 -1
  37. package/dist/src/api/v2/models/chain.d.ts +1 -1
  38. package/dist/src/api/v2/models/chain.js +1 -1
  39. package/dist/src/api/v2/models/coin-price.d.ts +1 -1
  40. package/dist/src/api/v2/models/coin-price.js +1 -1
  41. package/dist/src/api/v2/models/deposit-transaction.d.ts +1 -1
  42. package/dist/src/api/v2/models/deposit-transaction.js +1 -1
  43. package/dist/src/api/v2/models/ember-position.d.ts +1 -1
  44. package/dist/src/api/v2/models/ember-position.js +1 -1
  45. package/dist/src/api/v2/models/evm-contracts.d.ts +1 -1
  46. package/dist/src/api/v2/models/evm-contracts.js +1 -1
  47. package/dist/src/api/v2/models/evm-deposit-token.d.ts +1 -1
  48. package/dist/src/api/v2/models/evm-deposit-token.js +1 -1
  49. package/dist/src/api/v2/models/evm-price-feed.d.ts +1 -1
  50. package/dist/src/api/v2/models/evm-price-feed.js +1 -1
  51. package/dist/src/api/v2/models/evm-protocol-config.d.ts +1 -1
  52. package/dist/src/api/v2/models/evm-protocol-config.js +1 -1
  53. package/dist/src/api/v2/models/evm-protocol-info.d.ts +1 -1
  54. package/dist/src/api/v2/models/evm-protocol-info.js +1 -1
  55. package/dist/src/api/v2/models/evm-receipt-token.d.ts +1 -1
  56. package/dist/src/api/v2/models/evm-receipt-token.js +1 -1
  57. package/dist/src/api/v2/models/evm-vault.d.ts +1 -1
  58. package/dist/src/api/v2/models/evm-vault.js +1 -1
  59. package/dist/src/api/v2/models/exposure-coin.d.ts +1 -1
  60. package/dist/src/api/v2/models/exposure-coin.js +1 -1
  61. package/dist/src/api/v2/models/exposure-protocol.d.ts +1 -1
  62. package/dist/src/api/v2/models/exposure-protocol.js +1 -1
  63. package/dist/src/api/v2/models/exposure.d.ts +1 -1
  64. package/dist/src/api/v2/models/exposure.js +1 -1
  65. package/dist/src/api/v2/models/fee.d.ts +1 -1
  66. package/dist/src/api/v2/models/fee.js +1 -1
  67. package/dist/src/api/v2/models/fees.d.ts +1 -1
  68. package/dist/src/api/v2/models/fees.js +1 -1
  69. package/dist/src/api/v2/models/history-interval.d.ts +1 -1
  70. package/dist/src/api/v2/models/history-interval.js +1 -1
  71. package/dist/src/api/v2/models/index.d.ts +3 -0
  72. package/dist/src/api/v2/models/index.js +3 -0
  73. package/dist/src/api/v2/models/lp.d.ts +1 -1
  74. package/dist/src/api/v2/models/lp.js +1 -1
  75. package/dist/src/api/v2/models/manager.d.ts +7 -1
  76. package/dist/src/api/v2/models/manager.js +1 -1
  77. package/dist/src/api/v2/models/min-withdrawal-shares-updated-event.d.ts +1 -1
  78. package/dist/src/api/v2/models/min-withdrawal-shares-updated-event.js +1 -1
  79. package/dist/src/api/v2/models/perps.d.ts +1 -1
  80. package/dist/src/api/v2/models/perps.js +1 -1
  81. package/dist/src/api/v2/models/pnl-by-chain.d.ts +1 -1
  82. package/dist/src/api/v2/models/pnl-by-chain.js +1 -1
  83. package/dist/src/api/v2/models/pnl-history-interval.d.ts +1 -1
  84. package/dist/src/api/v2/models/pnl-history-interval.js +1 -1
  85. package/dist/src/api/v2/models/pnl-history.d.ts +1 -1
  86. package/dist/src/api/v2/models/pnl-history.js +1 -1
  87. package/dist/src/api/v2/models/poc-report-asset.d.ts +1 -1
  88. package/dist/src/api/v2/models/poc-report-asset.js +1 -1
  89. package/dist/src/api/v2/models/poc-report-assets.d.ts +1 -1
  90. package/dist/src/api/v2/models/poc-report-assets.js +1 -1
  91. package/dist/src/api/v2/models/poc-report-exchange.d.ts +1 -1
  92. package/dist/src/api/v2/models/poc-report-exchange.js +1 -1
  93. package/dist/src/api/v2/models/poc-report-exchanges.d.ts +1 -1
  94. package/dist/src/api/v2/models/poc-report-exchanges.js +1 -1
  95. package/dist/src/api/v2/models/poc-report-protocol.d.ts +1 -1
  96. package/dist/src/api/v2/models/poc-report-protocol.js +1 -1
  97. package/dist/src/api/v2/models/poc-report-token.d.ts +1 -1
  98. package/dist/src/api/v2/models/poc-report-token.js +1 -1
  99. package/dist/src/api/v2/models/poc-report-wallet.d.ts +1 -1
  100. package/dist/src/api/v2/models/poc-report-wallet.js +1 -1
  101. package/dist/src/api/v2/models/poc-report-wallets.d.ts +1 -1
  102. package/dist/src/api/v2/models/poc-report-wallets.js +1 -1
  103. package/dist/src/api/v2/models/position-history-interval.d.ts +1 -1
  104. package/dist/src/api/v2/models/position-history-interval.js +1 -1
  105. package/dist/src/api/v2/models/position-value.d.ts +1 -1
  106. package/dist/src/api/v2/models/position-value.js +1 -1
  107. package/dist/src/api/v2/models/position.d.ts +1 -1
  108. package/dist/src/api/v2/models/position.js +1 -1
  109. package/dist/src/api/v2/models/process-requests-summary-event.d.ts +1 -1
  110. package/dist/src/api/v2/models/process-requests-summary-event.js +1 -1
  111. package/dist/src/api/v2/models/proof-of-capital-report-status.d.ts +22 -0
  112. package/dist/src/api/v2/models/proof-of-capital-report-status.js +26 -0
  113. package/dist/src/api/v2/models/proof-of-capital-report.d.ts +20 -1
  114. package/dist/src/api/v2/models/proof-of-capital-report.js +1 -1
  115. package/dist/src/api/v2/models/protocol-fee-collected-event.d.ts +1 -1
  116. package/dist/src/api/v2/models/protocol-fee-collected-event.js +1 -1
  117. package/dist/src/api/v2/models/protocol-pnl-history.d.ts +1 -1
  118. package/dist/src/api/v2/models/protocol-pnl-history.js +1 -1
  119. package/dist/src/api/v2/models/protocol-tvl-history.d.ts +1 -1
  120. package/dist/src/api/v2/models/protocol-tvl-history.js +1 -1
  121. package/dist/src/api/v2/models/protocol.d.ts +1 -1
  122. package/dist/src/api/v2/models/protocol.js +1 -1
  123. package/dist/src/api/v2/models/raw-event-event-data.d.ts +1 -1
  124. package/dist/src/api/v2/models/raw-event-event-data.js +1 -1
  125. package/dist/src/api/v2/models/raw-event.d.ts +1 -1
  126. package/dist/src/api/v2/models/raw-event.js +1 -1
  127. package/dist/src/api/v2/models/redeem-request-cancelled-transaction.d.ts +1 -1
  128. package/dist/src/api/v2/models/redeem-request-cancelled-transaction.js +1 -1
  129. package/dist/src/api/v2/models/redeem-request-processed-transaction.d.ts +1 -1
  130. package/dist/src/api/v2/models/redeem-request-processed-transaction.js +1 -1
  131. package/dist/src/api/v2/models/redeem-request-skipped-transaction.d.ts +1 -1
  132. package/dist/src/api/v2/models/redeem-request-skipped-transaction.js +1 -1
  133. package/dist/src/api/v2/models/redeem-request-transaction.d.ts +1 -1
  134. package/dist/src/api/v2/models/redeem-request-transaction.js +1 -1
  135. package/dist/src/api/v2/models/reported-apy.d.ts +1 -1
  136. package/dist/src/api/v2/models/reported-apy.js +1 -1
  137. package/dist/src/api/v2/models/request-processed-event.d.ts +1 -1
  138. package/dist/src/api/v2/models/request-processed-event.js +1 -1
  139. package/dist/src/api/v2/models/request-redeemed-event.d.ts +1 -1
  140. package/dist/src/api/v2/models/request-redeemed-event.js +1 -1
  141. package/dist/src/api/v2/models/reward-token.d.ts +1 -1
  142. package/dist/src/api/v2/models/reward-token.js +1 -1
  143. package/dist/src/api/v2/models/reward.d.ts +1 -1
  144. package/dist/src/api/v2/models/reward.js +1 -1
  145. package/dist/src/api/v2/models/share-price-history.d.ts +1 -1
  146. package/dist/src/api/v2/models/share-price-history.js +1 -1
  147. package/dist/src/api/v2/models/strategy-account.d.ts +7 -1
  148. package/dist/src/api/v2/models/strategy-account.js +1 -1
  149. package/dist/src/api/v2/models/strategy.d.ts +1 -1
  150. package/dist/src/api/v2/models/strategy.js +1 -1
  151. package/dist/src/api/v2/models/sub-account.d.ts +1 -1
  152. package/dist/src/api/v2/models/sub-account.js +1 -1
  153. package/dist/src/api/v2/models/sui-protocol-info.d.ts +1 -1
  154. package/dist/src/api/v2/models/sui-protocol-info.js +1 -1
  155. package/dist/src/api/v2/models/supplied.d.ts +1 -1
  156. package/dist/src/api/v2/models/supplied.js +1 -1
  157. package/dist/src/api/v2/models/tag.d.ts +1 -1
  158. package/dist/src/api/v2/models/tag.js +1 -1
  159. package/dist/src/api/v2/models/tvl-by-chain.d.ts +1 -1
  160. package/dist/src/api/v2/models/tvl-by-chain.js +1 -1
  161. package/dist/src/api/v2/models/tvl-history.d.ts +1 -1
  162. package/dist/src/api/v2/models/tvl-history.js +1 -1
  163. package/dist/src/api/v2/models/ultra-coin-info.d.ts +1 -1
  164. package/dist/src/api/v2/models/ultra-coin-info.js +1 -1
  165. package/dist/src/api/v2/models/update-vault-strategies.d.ts +1 -1
  166. package/dist/src/api/v2/models/update-vault-strategies.js +1 -1
  167. package/dist/src/api/v2/models/vault-admin-changed-event.d.ts +1 -1
  168. package/dist/src/api/v2/models/vault-admin-changed-event.js +1 -1
  169. package/dist/src/api/v2/models/vault-created-event.d.ts +1 -1
  170. package/dist/src/api/v2/models/vault-created-event.js +1 -1
  171. package/dist/src/api/v2/models/vault-deposit-event.d.ts +1 -1
  172. package/dist/src/api/v2/models/vault-deposit-event.js +1 -1
  173. package/dist/src/api/v2/models/vault-deposit-without-minting-shares-event.d.ts +1 -1
  174. package/dist/src/api/v2/models/vault-deposit-without-minting-shares-event.js +1 -1
  175. package/dist/src/api/v2/models/vault-detail.d.ts +13 -1
  176. package/dist/src/api/v2/models/vault-detail.js +1 -1
  177. package/dist/src/api/v2/models/vault-fee-percentage-updated-event.d.ts +1 -1
  178. package/dist/src/api/v2/models/vault-fee-percentage-updated-event.js +1 -1
  179. package/dist/src/api/v2/models/vault-info.d.ts +1 -1
  180. package/dist/src/api/v2/models/vault-info.js +1 -1
  181. package/dist/src/api/v2/models/vault-max-tvl-updated-event.d.ts +1 -1
  182. package/dist/src/api/v2/models/vault-max-tvl-updated-event.js +1 -1
  183. package/dist/src/api/v2/models/vault-operator-changed-event.d.ts +1 -1
  184. package/dist/src/api/v2/models/vault-operator-changed-event.js +1 -1
  185. package/dist/src/api/v2/models/vault-paused-status-updated-event.d.ts +1 -1
  186. package/dist/src/api/v2/models/vault-paused-status-updated-event.js +1 -1
  187. package/dist/src/api/v2/models/vault-platform-fee-charged-event.d.ts +1 -1
  188. package/dist/src/api/v2/models/vault-platform-fee-charged-event.js +1 -1
  189. package/dist/src/api/v2/models/vault-proof-of-capital-summary.d.ts +86 -0
  190. package/dist/src/api/v2/models/vault-proof-of-capital-summary.js +15 -0
  191. package/dist/src/api/v2/models/vault-protocol.d.ts +1 -1
  192. package/dist/src/api/v2/models/vault-protocol.js +1 -1
  193. package/dist/src/api/v2/models/vault-rate-updated-event.d.ts +1 -1
  194. package/dist/src/api/v2/models/vault-rate-updated-event.js +1 -1
  195. package/dist/src/api/v2/models/vault-slice.d.ts +1 -1
  196. package/dist/src/api/v2/models/vault-slice.js +1 -1
  197. package/dist/src/api/v2/models/vault-sub-account-updated-event.d.ts +1 -1
  198. package/dist/src/api/v2/models/vault-sub-account-updated-event.js +1 -1
  199. package/dist/src/api/v2/models/vault-tag.d.ts +1 -1
  200. package/dist/src/api/v2/models/vault-tag.js +1 -1
  201. package/dist/src/api/v2/models/vault-withdrawal-without-redeeming-shares-event.d.ts +1 -1
  202. package/dist/src/api/v2/models/vault-withdrawal-without-redeeming-shares-event.js +1 -1
  203. package/dist/src/api/v2/models/vaults-deployment-config-config.d.ts +1 -1
  204. package/dist/src/api/v2/models/vaults-deployment-config-config.js +1 -1
  205. package/dist/src/api/v2/models/vaults-deployment-config.d.ts +1 -1
  206. package/dist/src/api/v2/models/vaults-deployment-config.js +1 -1
  207. package/dist/src/api/v2/models/vaults-stats.d.ts +1 -1
  208. package/dist/src/api/v2/models/vaults-stats.js +1 -1
  209. package/dist/src/api/v2/models/yield-aggregate-value.d.ts +1 -1
  210. package/dist/src/api/v2/models/yield-aggregate-value.js +1 -1
  211. package/dist/src/sui-vaults/on-chain-calls/user.js +2 -2
  212. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,7 @@
12
12
  import type { Configuration } from "../configuration";
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
14
14
  import { type RequestArgs, BaseAPI } from "../base";
15
+ import type { AggregatedProofOfCapitalReport } from "../models";
15
16
  import type { ApyHistoryResponse } from "../models";
16
17
  import type { Chain } from "../models";
17
18
  import type { CoinPrice } from "../models";
@@ -58,6 +59,14 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
58
59
  * @throws {RequiredError}
59
60
  */
60
61
  getFees: (startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
62
+ /**
63
+ *
64
+ * @summary Get aggregated proof of capital across all vaults
65
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ getProofOfCapitalSummary: (date?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
61
70
  /**
62
71
  *
63
72
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -188,6 +197,14 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
188
197
  * @throws {RequiredError}
189
198
  */
190
199
  getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Fees>>;
200
+ /**
201
+ *
202
+ * @summary Get aggregated proof of capital across all vaults
203
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ getProofOfCapitalSummary(date?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AggregatedProofOfCapitalReport>>;
191
208
  /**
192
209
  *
193
210
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -318,6 +335,14 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
318
335
  * @throws {RequiredError}
319
336
  */
320
337
  getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): AxiosPromise<Fees>;
338
+ /**
339
+ *
340
+ * @summary Get aggregated proof of capital across all vaults
341
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ */
345
+ getProofOfCapitalSummary(date?: string, options?: RawAxiosRequestConfig): AxiosPromise<AggregatedProofOfCapitalReport>;
321
346
  /**
322
347
  *
323
348
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -453,6 +478,15 @@ export declare class VaultsApi extends BaseAPI {
453
478
  * @memberof VaultsApi
454
479
  */
455
480
  getFees(startTimestampInMs: number, endTimestampInMs: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Fees, any, {}>>;
481
+ /**
482
+ *
483
+ * @summary Get aggregated proof of capital across all vaults
484
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
485
+ * @param {*} [options] Override http request option.
486
+ * @throws {RequiredError}
487
+ * @memberof VaultsApi
488
+ */
489
+ getProofOfCapitalSummary(date?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AggregatedProofOfCapitalReport, any, {}>>;
456
490
  /**
457
491
  *
458
492
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -136,6 +136,42 @@ const VaultsApiAxiosParamCreator = function (configuration) {
136
136
  options: localVarRequestOptions
137
137
  };
138
138
  },
139
+ /**
140
+ *
141
+ * @summary Get aggregated proof of capital across all vaults
142
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getProofOfCapitalSummary: async (date, options = {}) => {
147
+ const localVarPath = `/api/v2/vaults/poc/summary`;
148
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
149
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
150
+ let baseOptions;
151
+ if (configuration) {
152
+ baseOptions = configuration.baseOptions;
153
+ }
154
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
155
+ const localVarHeaderParameter = {};
156
+ const localVarQueryParameter = {};
157
+ if (date !== undefined) {
158
+ localVarQueryParameter["date"] =
159
+ date instanceof Date
160
+ ? date.toISOString().substring(0, 10)
161
+ : date;
162
+ }
163
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
164
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
165
+ localVarRequestOptions.headers = {
166
+ ...localVarHeaderParameter,
167
+ ...headersFromBaseOptions,
168
+ ...options.headers
169
+ };
170
+ return {
171
+ url: (0, common_1.toPathString)(localVarUrlObj),
172
+ options: localVarRequestOptions
173
+ };
174
+ },
139
175
  /**
140
176
  *
141
177
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -590,6 +626,19 @@ const VaultsApiFp = function (configuration) {
590
626
  ?.url;
591
627
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
592
628
  },
629
+ /**
630
+ *
631
+ * @summary Get aggregated proof of capital across all vaults
632
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
633
+ * @param {*} [options] Override http request option.
634
+ * @throws {RequiredError}
635
+ */
636
+ async getProofOfCapitalSummary(date, options) {
637
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getProofOfCapitalSummary(date, options);
638
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
639
+ const localVarOperationServerBasePath = base_1.operationServerMap["VaultsApi.getProofOfCapitalSummary"]?.[localVarOperationServerIndex]?.url;
640
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
641
+ },
593
642
  /**
594
643
  *
595
644
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -792,6 +841,18 @@ const VaultsApiFactory = function (configuration, basePath, axios) {
792
841
  .getFees(startTimestampInMs, endTimestampInMs, options)
793
842
  .then(request => request(axios, basePath));
794
843
  },
844
+ /**
845
+ *
846
+ * @summary Get aggregated proof of capital across all vaults
847
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
848
+ * @param {*} [options] Override http request option.
849
+ * @throws {RequiredError}
850
+ */
851
+ getProofOfCapitalSummary(date, options) {
852
+ return localVarFp
853
+ .getProofOfCapitalSummary(date, options)
854
+ .then(request => request(axios, basePath));
855
+ },
795
856
  /**
796
857
  *
797
858
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -985,6 +1046,19 @@ class VaultsApi extends base_1.BaseAPI {
985
1046
  .getFees(startTimestampInMs, endTimestampInMs, options)
986
1047
  .then(request => request(this.axios, this.basePath));
987
1048
  }
1049
+ /**
1050
+ *
1051
+ * @summary Get aggregated proof of capital across all vaults
1052
+ * @param {string} [date] Optional date to retrieve report for (YYYY-MM-DD format). If not provided, returns the most recent active report.
1053
+ * @param {*} [options] Override http request option.
1054
+ * @throws {RequiredError}
1055
+ * @memberof VaultsApi
1056
+ */
1057
+ getProofOfCapitalSummary(date, options) {
1058
+ return (0, exports.VaultsApiFp)(this.configuration)
1059
+ .getProofOfCapitalSummary(date, options)
1060
+ .then(request => request(this.axios, this.basePath));
1061
+ }
988
1062
  /**
989
1063
  *
990
1064
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,68 @@
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: 2.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 { ProofOfCapitalReportStatus } from "./proof-of-capital-report-status";
13
+ import type { VaultProofOfCapitalSummary } from "./vault-proof-of-capital-summary";
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface AggregatedProofOfCapitalReport
18
+ */
19
+ export interface AggregatedProofOfCapitalReport {
20
+ /**
21
+ * The timestamp of the report in milliseconds
22
+ * @type {number}
23
+ * @memberof AggregatedProofOfCapitalReport
24
+ */
25
+ generatedAt: number;
26
+ /**
27
+ * Total user deposits across all vaults in e9 USD
28
+ * @type {string}
29
+ * @memberof AggregatedProofOfCapitalReport
30
+ */
31
+ userDepositsE9: string;
32
+ /**
33
+ * Total ember balance across all vaults in e9 USD
34
+ * @type {string}
35
+ * @memberof AggregatedProofOfCapitalReport
36
+ */
37
+ emberBalanceE9: string;
38
+ /**
39
+ * Aggregated reserve ratio across all vaults
40
+ * @type {string}
41
+ * @memberof AggregatedProofOfCapitalReport
42
+ */
43
+ reserveRatio: string;
44
+ /**
45
+ * Array of vault-specific proof of capital data
46
+ * @type {Array<VaultProofOfCapitalSummary>}
47
+ * @memberof AggregatedProofOfCapitalReport
48
+ */
49
+ vaults: Array<VaultProofOfCapitalSummary>;
50
+ /**
51
+ *
52
+ * @type {ProofOfCapitalReportStatus}
53
+ * @memberof AggregatedProofOfCapitalReport
54
+ */
55
+ status: ProofOfCapitalReportStatus;
56
+ /**
57
+ * Notes/remarks added during review
58
+ * @type {string}
59
+ * @memberof AggregatedProofOfCapitalReport
60
+ */
61
+ notes?: string;
62
+ /**
63
+ * The id of the report summary
64
+ * @type {string}
65
+ * @memberof AggregatedProofOfCapitalReport
66
+ */
67
+ id: string;
68
+ }
@@ -0,0 +1,15 @@
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: 2.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
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * Ember Protocol Vaults API
6
6
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
7
  *
8
- * The version of the OpenAPI document: 1.0.0
8
+ * The version of the OpenAPI document: 2.0.0
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Ember Protocol Vaults API
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.0.0
5
+ * The version of the OpenAPI document: 2.0.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).