@ember-finance/sdk 1.0.9 → 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.
Files changed (83) hide show
  1. package/dist/index.d.ts +0 -1
  2. package/dist/index.js +0 -1
  3. package/dist/src/common/types.d.ts +0 -1
  4. package/dist/src/common/types.js +0 -1
  5. package/dist/src/vaults/api/api.d.ts +2 -2
  6. package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -31
  7. package/dist/src/vaults/api/apis/accounts-api.js +98 -112
  8. package/dist/src/vaults/api/apis/vaults-api.d.ts +186 -31
  9. package/dist/src/vaults/api/apis/vaults-api.js +140 -220
  10. package/dist/src/vaults/api/base.d.ts +26 -2
  11. package/dist/src/vaults/api/base.js +21 -1
  12. package/dist/src/vaults/api/common.d.ts +38 -1
  13. package/dist/src/vaults/api/common.js +47 -17
  14. package/dist/src/vaults/api/configuration.d.ts +17 -0
  15. package/dist/src/vaults/api/configuration.js +4 -5
  16. package/dist/src/vaults/api/models/account-transaction-transaction-data.d.ts +6 -5
  17. package/dist/src/vaults/api/models/account-transaction.d.ts +26 -11
  18. package/dist/src/vaults/api/models/account-transaction.js +12 -7
  19. package/dist/src/vaults/api/models/account-withdrawal-request.d.ts +64 -23
  20. package/dist/src/vaults/api/models/account-withdrawal-request.js +13 -8
  21. package/dist/src/vaults/api/models/apy-history.d.ts +17 -4
  22. package/dist/src/vaults/api/models/asset.d.ts +26 -7
  23. package/dist/src/vaults/api/models/borrowed.d.ts +21 -5
  24. package/dist/src/vaults/api/models/coin-price.d.ts +11 -2
  25. package/dist/src/vaults/api/models/deposit-transaction.d.ts +40 -10
  26. package/dist/src/vaults/api/models/exposure-coin.d.ts +18 -4
  27. package/dist/src/vaults/api/models/exposure-protocol.d.ts +38 -13
  28. package/dist/src/vaults/api/models/exposure.d.ts +16 -5
  29. package/dist/src/vaults/api/models/fee.d.ts +18 -4
  30. package/dist/src/vaults/api/models/history-interval.d.ts +11 -7
  31. package/dist/src/vaults/api/models/history-interval.js +12 -6
  32. package/dist/src/vaults/api/models/index.d.ts +60 -60
  33. package/dist/src/vaults/api/models/lp.d.ts +44 -13
  34. package/dist/src/vaults/api/models/manager.d.ts +26 -4
  35. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +17 -4
  36. package/dist/src/vaults/api/models/perps.d.ts +12 -3
  37. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +10 -6
  38. package/dist/src/vaults/api/models/pnl-history-interval.js +11 -5
  39. package/dist/src/vaults/api/models/pnl-history.d.ts +14 -3
  40. package/dist/src/vaults/api/models/position-value.d.ts +23 -6
  41. package/dist/src/vaults/api/models/position.d.ts +17 -4
  42. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +35 -10
  43. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +26 -7
  44. package/dist/src/vaults/api/models/protocol-info.d.ts +20 -6
  45. package/dist/src/vaults/api/models/protocol.d.ts +17 -4
  46. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +18 -17
  47. package/dist/src/vaults/api/models/raw-event.d.ts +44 -25
  48. package/dist/src/vaults/api/models/raw-event.js +24 -19
  49. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +31 -8
  50. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +40 -10
  51. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +31 -8
  52. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +31 -8
  53. package/dist/src/vaults/api/models/reported-apy.d.ts +17 -2
  54. package/dist/src/vaults/api/models/request-processed-event.d.ts +35 -10
  55. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +32 -9
  56. package/dist/src/vaults/api/models/reward-token.d.ts +26 -5
  57. package/dist/src/vaults/api/models/reward.d.ts +18 -4
  58. package/dist/src/vaults/api/models/share-price-history.d.ts +11 -2
  59. package/dist/src/vaults/api/models/strategy.d.ts +26 -7
  60. package/dist/src/vaults/api/models/sub-account.d.ts +15 -3
  61. package/dist/src/vaults/api/models/supplied.d.ts +21 -5
  62. package/dist/src/vaults/api/models/tvl-history.d.ts +11 -2
  63. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +23 -6
  64. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +24 -6
  65. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +17 -4
  66. package/dist/src/vaults/api/models/vault-created-event.d.ts +29 -7
  67. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +32 -9
  68. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +26 -7
  69. package/dist/src/vaults/api/models/vault-detail.d.ts +125 -37
  70. package/dist/src/vaults/api/models/vault-detail.js +11 -6
  71. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +17 -4
  72. package/dist/src/vaults/api/models/vault-info.d.ts +38 -11
  73. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +17 -4
  74. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +17 -4
  75. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +14 -3
  76. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +20 -5
  77. package/dist/src/vaults/api/models/vault-protocol.d.ts +17 -4
  78. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +17 -4
  79. package/dist/src/vaults/api/models/vault-slice.d.ts +20 -5
  80. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +23 -6
  81. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +26 -7
  82. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +17 -4
  83. package/package.json +4 -3
@@ -9,25 +9,25 @@
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 globalAxios from "axios";
15
- import { type RequestArgs, BaseAPI } from "../base";
16
- import type { ApyHistory } from "../models";
17
- import type { CoinPrice } from "../models";
18
- import type { Exposure } from "../models";
19
- import type { HistoryInterval } from "../models";
20
- import type { PnlHistory } from "../models";
21
- import type { PnlHistoryInterval } from "../models";
22
- import type { ProtocolInfo } from "../models";
23
- import type { RawEvent } from "../models";
24
- import type { SharePriceHistory } from "../models";
25
- import type { Strategy } from "../models";
26
- import type { TvlHistory } from "../models";
27
- import type { UpdateVaultStrategies } from "../models";
28
- 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';
29
28
  /**
30
29
  * VaultsApi - axios parameter creator
30
+ * @export
31
31
  */
32
32
  export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration) => {
33
33
  /**
@@ -150,6 +150,7 @@ export declare const VaultsApiAxiosParamCreator: (configuration?: Configuration)
150
150
  };
151
151
  /**
152
152
  * VaultsApi - functional programming interface
153
+ * @export
153
154
  */
154
155
  export declare const VaultsApiFp: (configuration?: Configuration) => {
155
156
  /**
@@ -272,6 +273,7 @@ export declare const VaultsApiFp: (configuration?: Configuration) => {
272
273
  };
273
274
  /**
274
275
  * VaultsApi - factory interface
276
+ * @export
275
277
  */
276
278
  export declare const VaultsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
277
279
  /**
@@ -392,18 +394,159 @@ export declare const VaultsApiFactory: (configuration?: Configuration, basePath?
392
394
  */
393
395
  updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): AxiosPromise<Array<Strategy>>;
394
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
+ }
395
534
  /**
396
535
  * VaultsApi - object-oriented interface
536
+ * @export
537
+ * @class VaultsApi
538
+ * @extends {BaseAPI}
397
539
  */
398
- export declare class VaultsApi extends BaseAPI {
540
+ export declare class VaultsApi extends BaseAPI implements VaultsApiInterface {
399
541
  /**
400
542
  *
401
543
  * @summary Get the price of the coins
402
544
  * @param {string} [coinTypes] The coin types of the coins
403
545
  * @param {*} [options] Override http request option.
404
546
  * @throws {RequiredError}
547
+ * @memberof VaultsApi
405
548
  */
406
- getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CoinPrice[], any, {}>>;
549
+ getCoinsPrice(coinTypes?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CoinPrice[], any, {}>>;
407
550
  /**
408
551
  *
409
552
  * @summary Get the pnl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -411,8 +554,9 @@ export declare class VaultsApi extends BaseAPI {
411
554
  * @param {PnlHistoryInterval} [interval] The interval of the rows
412
555
  * @param {*} [options] Override http request option.
413
556
  * @throws {RequiredError}
557
+ * @memberof VaultsApi
414
558
  */
415
- getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PnlHistory[], any, {}>>;
559
+ getProtocolPnlHistory(limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PnlHistory[], any, {}>>;
416
560
  /**
417
561
  *
418
562
  * @summary Get the tvl history of the protocol (1h, 1d, 1w, 1mon) descending by time
@@ -420,8 +564,9 @@ export declare class VaultsApi extends BaseAPI {
420
564
  * @param {HistoryInterval} [interval] The interval of the rows
421
565
  * @param {*} [options] Override http request option.
422
566
  * @throws {RequiredError}
567
+ * @memberof VaultsApi
423
568
  */
424
- getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TvlHistory[], any, {}>>;
569
+ getProtocolTvlHistory(limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TvlHistory[], any, {}>>;
425
570
  /**
426
571
  *
427
572
  * @summary Get raw events of the protocol
@@ -431,8 +576,9 @@ export declare class VaultsApi extends BaseAPI {
431
576
  * @param {number} [page] Use when provided time range and limit exceed max page size
432
577
  * @param {*} [options] Override http request option.
433
578
  * @throws {RequiredError}
579
+ * @memberof VaultsApi
434
580
  */
435
- getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<RawEvent[], any, {}>>;
581
+ getRawEvents(startTimeInMs: number, endTimeInMs?: number, limit?: number, page?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RawEvent[], any, {}>>;
436
582
  /**
437
583
  *
438
584
  * @summary Get the apy history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -441,16 +587,18 @@ export declare class VaultsApi extends BaseAPI {
441
587
  * @param {HistoryInterval} [interval] The interval of the rows
442
588
  * @param {*} [options] Override http request option.
443
589
  * @throws {RequiredError}
590
+ * @memberof VaultsApi
444
591
  */
445
- getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ApyHistory[], any, {}>>;
592
+ getVaultApyHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApyHistory[], any, {}>>;
446
593
  /**
447
594
  *
448
595
  * @summary Get the exposure of the vault
449
596
  * @param {string} vaultId The id of the vault
450
597
  * @param {*} [options] Override http request option.
451
598
  * @throws {RequiredError}
599
+ * @memberof VaultsApi
452
600
  */
453
- getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Exposure, any, {}>>;
601
+ getVaultExposure(vaultId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Exposure, any, {}>>;
454
602
  /**
455
603
  *
456
604
  * @summary Get the pnl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -459,8 +607,9 @@ export declare class VaultsApi extends BaseAPI {
459
607
  * @param {PnlHistoryInterval} [interval] The interval of the rows
460
608
  * @param {*} [options] Override http request option.
461
609
  * @throws {RequiredError}
610
+ * @memberof VaultsApi
462
611
  */
463
- getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PnlHistory[], any, {}>>;
612
+ getVaultPnlHistory(vaultId: string, limit?: number, interval?: PnlHistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PnlHistory[], any, {}>>;
464
613
  /**
465
614
  *
466
615
  * @summary Get the share price history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -469,16 +618,18 @@ export declare class VaultsApi extends BaseAPI {
469
618
  * @param {HistoryInterval} [interval] The interval of the rows
470
619
  * @param {*} [options] Override http request option.
471
620
  * @throws {RequiredError}
621
+ * @memberof VaultsApi
472
622
  */
473
- getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SharePriceHistory[], any, {}>>;
623
+ getVaultSharePriceHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SharePriceHistory[], any, {}>>;
474
624
  /**
475
625
  *
476
626
  * @summary Get the strategy of the vault
477
627
  * @param {string} vaultId The id of the vault
478
628
  * @param {*} [options] Override http request option.
479
629
  * @throws {RequiredError}
630
+ * @memberof VaultsApi
480
631
  */
481
- getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Strategy[], any, {}>>;
632
+ getVaultStrategy(vaultId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Strategy[], any, {}>>;
482
633
  /**
483
634
  *
484
635
  * @summary Get the tvl history of the vault (1h, 1d, 1w, 1mon) descending by time
@@ -487,8 +638,9 @@ export declare class VaultsApi extends BaseAPI {
487
638
  * @param {HistoryInterval} [interval] The interval of the rows
488
639
  * @param {*} [options] Override http request option.
489
640
  * @throws {RequiredError}
641
+ * @memberof VaultsApi
490
642
  */
491
- getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<TvlHistory[], any, {}>>;
643
+ getVaultTvlHistory(vaultId: string, limit?: number, interval?: HistoryInterval, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TvlHistory[], any, {}>>;
492
644
  /**
493
645
  *
494
646
  * @summary Get details for all vaults or a specific vault
@@ -496,21 +648,24 @@ export declare class VaultsApi extends BaseAPI {
496
648
  * @param {string} [receiptCoinSymbol] The receipt coin symbol of the vault
497
649
  * @param {*} [options] Override http request option.
498
650
  * @throws {RequiredError}
651
+ * @memberof VaultsApi
499
652
  */
500
- getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<VaultDetail[], any, {}>>;
653
+ getVaults(vaultId?: string, receiptCoinSymbol?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VaultDetail[], any, {}>>;
501
654
  /**
502
655
  *
503
656
  * @summary Get protocol info to initialize sdk
504
657
  * @param {*} [options] Override http request option.
505
658
  * @throws {RequiredError}
659
+ * @memberof VaultsApi
506
660
  */
507
- getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProtocolInfo, any, {}>>;
661
+ getVaultsProtocolInfo(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProtocolInfo, any, {}>>;
508
662
  /**
509
663
  *
510
664
  * @summary Update the strategy of the vault
511
665
  * @param {UpdateVaultStrategies} updateVaultStrategies
512
666
  * @param {*} [options] Override http request option.
513
667
  * @throws {RequiredError}
668
+ * @memberof VaultsApi
514
669
  */
515
- updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<Strategy[], any, {}>>;
670
+ updateVaultStrategy(updateVaultStrategies: UpdateVaultStrategies, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Strategy[], any, {}>>;
516
671
  }