@ember-finance/sdk 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/src/vaults/api/api.d.ts +2 -2
  2. package/dist/src/vaults/api/apis/accounts-api.d.ts +29 -94
  3. package/dist/src/vaults/api/apis/accounts-api.js +116 -85
  4. package/dist/src/vaults/api/apis/vaults-api.d.ts +17 -154
  5. package/dist/src/vaults/api/apis/vaults-api.js +220 -121
  6. package/dist/src/vaults/api/base.d.ts +2 -2
  7. package/dist/src/vaults/api/base.js +1 -2
  8. package/dist/src/vaults/api/common.d.ts +1 -1
  9. package/dist/src/vaults/api/common.js +17 -10
  10. package/dist/src/vaults/api/configuration.js +5 -4
  11. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +5 -5
  12. package/dist/src/vaults/api/models/account-transaction.d.ts +11 -14
  13. package/dist/src/vaults/api/models/account-transaction.js +7 -12
  14. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +23 -26
  15. package/dist/src/vaults/api/models/account-withdrawal-request.js +8 -13
  16. package/dist/src/vaults/api/models/apy-history.d.ts +4 -4
  17. package/dist/src/vaults/api/models/asset.d.ts +7 -7
  18. package/dist/src/vaults/api/models/borrowed.d.ts +5 -5
  19. package/dist/src/vaults/api/models/coin-price.d.ts +2 -2
  20. package/dist/src/vaults/api/models/deposit-transaction.d.ts +10 -10
  21. package/dist/src/vaults/api/models/exposure-coin.d.ts +4 -4
  22. package/dist/src/vaults/api/models/exposure-protocol.d.ts +13 -13
  23. package/dist/src/vaults/api/models/exposure.d.ts +5 -5
  24. package/dist/src/vaults/api/models/fee.d.ts +4 -4
  25. package/dist/src/vaults/api/models/history-interval.d.ts +7 -6
  26. package/dist/src/vaults/api/models/history-interval.js +6 -7
  27. package/dist/src/vaults/api/models/index.d.ts +60 -60
  28. package/dist/src/vaults/api/models/lp.d.ts +13 -13
  29. package/dist/src/vaults/api/models/manager.d.ts +4 -4
  30. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
  31. package/dist/src/vaults/api/models/perps.d.ts +3 -3
  32. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
  33. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
  34. package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
  35. package/dist/src/vaults/api/models/position-value.d.ts +17 -6
  36. package/dist/src/vaults/api/models/position-value.js +5 -0
  37. package/dist/src/vaults/api/models/position.d.ts +4 -4
  38. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
  39. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
  40. package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
  41. package/dist/src/vaults/api/models/protocol.d.ts +4 -4
  42. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
  43. package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
  44. package/dist/src/vaults/api/models/raw-event.js +19 -24
  45. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
  46. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
  47. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
  48. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
  49. package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
  50. package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
  51. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
  52. package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
  53. package/dist/src/vaults/api/models/reward.d.ts +4 -4
  54. package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
  55. package/dist/src/vaults/api/models/strategy.d.ts +7 -7
  56. package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
  57. package/dist/src/vaults/api/models/supplied.d.ts +5 -5
  58. package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
  59. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
  60. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
  61. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
  62. package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
  63. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
  64. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
  65. package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
  66. package/dist/src/vaults/api/models/vault-detail.js +6 -11
  67. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
  68. package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
  69. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
  70. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
  71. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
  72. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
  73. package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
  74. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
  75. package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
  76. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
  77. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
  78. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
  79. package/package.json +1 -1
@@ -9,22 +9,22 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Configuration } from '../configuration';
13
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
- import { type RequestArgs, BaseAPI } from '../base';
15
- import type { ApyHistory } from '../models';
16
- import type { CoinPrice } from '../models';
17
- import type { Exposure } from '../models';
18
- import type { HistoryInterval } from '../models';
19
- import type { PnlHistory } from '../models';
20
- import type { PnlHistoryInterval } from '../models';
21
- import type { ProtocolInfo } from '../models';
22
- import type { RawEvent } from '../models';
23
- import type { SharePriceHistory } from '../models';
24
- import type { Strategy } from '../models';
25
- import type { TvlHistory } from '../models';
26
- import type { UpdateVaultStrategies } from '../models';
27
- import type { VaultDetail } from '../models';
12
+ import type { Configuration } from "../configuration";
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
14
+ import { type RequestArgs, BaseAPI } from "../base";
15
+ import type { ApyHistory } from "../models";
16
+ import type { CoinPrice } from "../models";
17
+ import type { Exposure } from "../models";
18
+ import type { HistoryInterval } from "../models";
19
+ import type { PnlHistory } from "../models";
20
+ import type { PnlHistoryInterval } from "../models";
21
+ import type { ProtocolInfo } from "../models";
22
+ import type { RawEvent } from "../models";
23
+ import type { SharePriceHistory } from "../models";
24
+ import type { Strategy } from "../models";
25
+ import type { TvlHistory } from "../models";
26
+ import type { UpdateVaultStrategies } from "../models";
27
+ import type { VaultDetail } from "../models";
28
28
  /**
29
29
  * VaultsApi - axios parameter creator
30
30
  * @export
@@ -394,150 +394,13 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
394
394
  */
395
395
  updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
396
396
  };
397
- /**
398
- * VaultsApi - interface
399
- * @export
400
- * @interface VaultsApi
401
- */
402
- export interface VaultsApiInterface {
403
- /**
404
- *
405
- * @summary Get the price of the coins
406
- * @param {string} [coinTypes] The coin types of the coins
407
- * @param {*} [options] Override http request option.
408
- * @throws {RequiredError}
409
- * @memberof VaultsApiInterface
410
- */
411
- getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<CoinPrice>>;
412
- /**
413
- *
414
- * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
415
- * @param {number} [limit] The limit of the rows
416
- * @param {PnlHistoryInterval} [interval] The interval of the rows
417
- * @param {*} [options] Override http request option.
418
- * @throws {RequiredError}
419
- * @memberof VaultsApiInterface
420
- */
421
- getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<PnlHistory>>;
422
- /**
423
- *
424
- * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
425
- * @param {number} [limit] The limit of the rows
426
- * @param {HistoryInterval} [interval] The interval of the rows
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- * @memberof VaultsApiInterface
430
- */
431
- getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<TvlHistory>>;
432
- /**
433
- *
434
- * @summary Get raw events of the protocol
435
- * @param {number} startTimeInMs The start time of the events
436
- * @param {number} [endTimeInMs] The end time of the events
437
- * @param {number} [limit] The limit of the events
438
- * @param {number} [page] Use when provided time range and limit exceed max page size
439
- * @param {*} [options] Override http request option.
440
- * @throws {RequiredError}
441
- * @memberof VaultsApiInterface
442
- */
443
- getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<RawEvent>>;
444
- /**
445
- *
446
- * @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
447
- * @param {string} vaultId The id of the vault
448
- * @param {number} [limit] The limit of the rows
449
- * @param {HistoryInterval} [interval] The interval of the rows
450
- * @param {*} [options] Override http request option.
451
- * @throws {RequiredError}
452
- * @memberof VaultsApiInterface
453
- */
454
- getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<ApyHistory>>;
455
- /**
456
- *
457
- * @summary Get the exposure of the vault
458
- * @param {string} vaultId The id of the vault
459
- * @param {*} [options] Override http request option.
460
- * @throws {RequiredError}
461
- * @memberof VaultsApiInterface
462
- */
463
- getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): AxiosPromise<Exposure>;
464
- /**
465
- *
466
- * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
467
- * @param {string} vaultId The id of the vault
468
- * @param {number} [limit] The limit of the rows
469
- * @param {PnlHistoryInterval} [interval] The interval of the rows
470
- * @param {*} [options] Override http request option.
471
- * @throws {RequiredError}
472
- * @memberof VaultsApiInterface
473
- */
474
- getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<PnlHistory>>;
475
- /**
476
- *
477
- * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
478
- * @param {string} vaultId The id of the vault
479
- * @param {number} [limit] The limit of the rows
480
- * @param {HistoryInterval} [interval] The interval of the rows
481
- * @param {*} [options] Override http request option.
482
- * @throws {RequiredError}
483
- * @memberof VaultsApiInterface
484
- */
485
- getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<SharePriceHistory>>;
486
- /**
487
- *
488
- * @summary Get the strategy of the vault
489
- * @param {string} vaultId The id of the vault
490
- * @param {*} [options] Override http request option.
491
- * @throws {RequiredError}
492
- * @memberof VaultsApiInterface
493
- */
494
- getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
495
- /**
496
- *
497
- * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
498
- * @param {string} vaultId The id of the vault
499
- * @param {number} [limit] The limit of the rows
500
- * @param {HistoryInterval} [interval] The interval of the rows
501
- * @param {*} [options] Override http request option.
502
- * @throws {RequiredError}
503
- * @memberof VaultsApiInterface
504
- */
505
- getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): AxiosPromise<Array<TvlHistory>>;
506
- /**
507
- *
508
- * @summary Get details for all vaults or a specific vault
509
- * @param {string} [vaultId] The ID of the vault
510
- * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
511
- * @param {*} [options] Override http request option.
512
- * @throws {RequiredError}
513
- * @memberof VaultsApiInterface
514
- */
515
- getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<VaultDetail>>;
516
- /**
517
- *
518
- * @summary Get protocol info to initialize sdk
519
- * @param {*} [options] Override http request option.
520
- * @throws {RequiredError}
521
- * @memberof VaultsApiInterface
522
- */
523
- getVaultsProtocolInfo(options?: RawAxiosRequestConfig): AxiosPromise<ProtocolInfo>;
524
- /**
525
- *
526
- * @summary Update the strategy of the vault
527
- * @param {UpdateVaultStrategies} updateVaultStrategies
528
- * @param {*} [options] Override http request option.
529
- * @throws {RequiredError}
530
- * @memberof VaultsApiInterface
531
- */
532
- updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
533
- }
534
397
  /**
535
398
  * VaultsApi - object-oriented interface
536
399
  * @export
537
400
  * @class VaultsApi
538
401
  * @extends {BaseAPI}
539
402
  */
540
- export declare class VaultsApi extends BaseAPI implements VaultsApiInterface {
403
+ export declare class VaultsApi extends BaseAPI {
541
404
  /**
542
405
  *
543
406
  * @summary Get the price of the coins