@ember-finance/sdk 1.0.10 → 1.0.12

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 (84) hide show
  1. package/dist/src/vaults/api/api.d.ts +2 -2
  2. package/dist/src/vaults/api/apis/accounts-api.d.ts +112 -89
  3. package/dist/src/vaults/api/apis/accounts-api.js +288 -82
  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 +62 -60
  28. package/dist/src/vaults/api/models/index.js +2 -0
  29. package/dist/src/vaults/api/models/lp.d.ts +13 -13
  30. package/dist/src/vaults/api/models/manager.d.ts +4 -4
  31. package/dist/src/vaults/api/models/min-withdrawal-shares-updated-event.d.ts +4 -4
  32. package/dist/src/vaults/api/models/perps.d.ts +3 -3
  33. package/dist/src/vaults/api/models/pnl-history-interval.d.ts +6 -5
  34. package/dist/src/vaults/api/models/pnl-history-interval.js +5 -6
  35. package/dist/src/vaults/api/models/pnl-history.d.ts +3 -3
  36. package/dist/src/vaults/api/models/position-history-interval.d.ts +22 -0
  37. package/dist/src/vaults/api/models/position-history-interval.js +26 -0
  38. package/dist/src/vaults/api/models/position-history.d.ts +65 -0
  39. package/dist/src/vaults/api/models/position-history.js +20 -0
  40. package/dist/src/vaults/api/models/position-value.d.ts +17 -6
  41. package/dist/src/vaults/api/models/position-value.js +5 -0
  42. package/dist/src/vaults/api/models/position.d.ts +4 -4
  43. package/dist/src/vaults/api/models/process-requests-summary-event.d.ts +10 -10
  44. package/dist/src/vaults/api/models/protocol-fee-collected-event.d.ts +7 -7
  45. package/dist/src/vaults/api/models/protocol-info.d.ts +6 -6
  46. package/dist/src/vaults/api/models/protocol.d.ts +4 -4
  47. package/dist/src/vaults/api/models/raw-event-event-data.d.ts +17 -17
  48. package/dist/src/vaults/api/models/raw-event.d.ts +25 -28
  49. package/dist/src/vaults/api/models/raw-event.js +19 -24
  50. package/dist/src/vaults/api/models/redeem-request-cancelled-transaction.d.ts +8 -8
  51. package/dist/src/vaults/api/models/redeem-request-processed-transaction.d.ts +10 -10
  52. package/dist/src/vaults/api/models/redeem-request-skipped-transaction.d.ts +8 -8
  53. package/dist/src/vaults/api/models/redeem-request-transaction.d.ts +8 -8
  54. package/dist/src/vaults/api/models/reported-apy.d.ts +2 -2
  55. package/dist/src/vaults/api/models/request-processed-event.d.ts +10 -10
  56. package/dist/src/vaults/api/models/request-redeemed-event.d.ts +9 -9
  57. package/dist/src/vaults/api/models/reward-token.d.ts +5 -5
  58. package/dist/src/vaults/api/models/reward.d.ts +4 -4
  59. package/dist/src/vaults/api/models/share-price-history.d.ts +2 -2
  60. package/dist/src/vaults/api/models/strategy.d.ts +7 -7
  61. package/dist/src/vaults/api/models/sub-account.d.ts +3 -3
  62. package/dist/src/vaults/api/models/supplied.d.ts +5 -5
  63. package/dist/src/vaults/api/models/tvl-history.d.ts +2 -2
  64. package/dist/src/vaults/api/models/ultra-coin-info.d.ts +6 -6
  65. package/dist/src/vaults/api/models/update-vault-strategies.d.ts +6 -6
  66. package/dist/src/vaults/api/models/vault-admin-changed-event.d.ts +4 -4
  67. package/dist/src/vaults/api/models/vault-created-event.d.ts +7 -7
  68. package/dist/src/vaults/api/models/vault-deposit-event.d.ts +9 -9
  69. package/dist/src/vaults/api/models/vault-deposit-without-minting-shares-event.d.ts +7 -7
  70. package/dist/src/vaults/api/models/vault-detail.d.ts +37 -40
  71. package/dist/src/vaults/api/models/vault-detail.js +6 -11
  72. package/dist/src/vaults/api/models/vault-fee-percentage-updated-event.d.ts +4 -4
  73. package/dist/src/vaults/api/models/vault-info.d.ts +11 -11
  74. package/dist/src/vaults/api/models/vault-max-tvl-updated-event.d.ts +4 -4
  75. package/dist/src/vaults/api/models/vault-operator-changed-event.d.ts +4 -4
  76. package/dist/src/vaults/api/models/vault-paused-status-updated-event.d.ts +3 -3
  77. package/dist/src/vaults/api/models/vault-platform-fee-charged-event.d.ts +5 -5
  78. package/dist/src/vaults/api/models/vault-protocol.d.ts +4 -4
  79. package/dist/src/vaults/api/models/vault-rate-updated-event.d.ts +4 -4
  80. package/dist/src/vaults/api/models/vault-slice.d.ts +5 -5
  81. package/dist/src/vaults/api/models/vault-sub-account-updated-event.d.ts +6 -6
  82. package/dist/src/vaults/api/models/vault-withdrawal-without-redeeming-shares-event.d.ts +7 -7
  83. package/dist/src/vaults/api/models/yield-aggregate-value.d.ts +10 -4
  84. package/package.json +1 -1
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ExposureCoin } from './exposure-coin';
13
- import type { ExposureProtocol } from './exposure-protocol';
12
+ import type { ExposureCoin } from "./exposure-coin";
13
+ import type { ExposureProtocol } from "./exposure-protocol";
14
14
  /**
15
15
  *
16
16
  * @export
@@ -22,17 +22,17 @@ export interface Exposure {
22
22
  * @type {Array<ExposureCoin>}
23
23
  * @memberof Exposure
24
24
  */
25
- 'coins': Array<ExposureCoin>;
25
+ coins: Array<ExposureCoin>;
26
26
  /**
27
27
  * The protocols to which the account/vault is exposed
28
28
  * @type {Array<ExposureProtocol>}
29
29
  * @memberof Exposure
30
30
  */
31
- 'protocols': Array<ExposureProtocol>;
31
+ protocols: Array<ExposureProtocol>;
32
32
  /**
33
33
  * The net account value of the account/vault in e9 in USDC
34
34
  * @type {string}
35
35
  * @memberof Exposure
36
36
  */
37
- 'netAccountValueUsdE9': string;
37
+ netAccountValueUsdE9: string;
38
38
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from './asset';
12
+ import type { Asset } from "./asset";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -21,17 +21,17 @@ export interface Fee {
21
21
  * @type {Asset}
22
22
  * @memberof Fee
23
23
  */
24
- 'coin': Asset;
24
+ coin: Asset;
25
25
  /**
26
26
  * The amount of the fee
27
27
  * @type {string}
28
28
  * @memberof Fee
29
29
  */
30
- 'amount': string;
30
+ amount: string;
31
31
  /**
32
32
  * The amount of the fee in e9 in USDC
33
33
  * @type {string}
34
34
  * @memberof Fee
35
35
  */
36
- 'amountUsdE9': string;
36
+ amountUsdE9: string;
37
37
  }
@@ -14,9 +14,10 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare enum HistoryInterval {
18
- _1h = "1h",
19
- _1d = "1d",
20
- _1w = "1w",
21
- _1mon = "1mon"
22
- }
17
+ export declare const HistoryInterval: {
18
+ readonly _1h: "1h";
19
+ readonly _1d: "1d";
20
+ readonly _1w: "1w";
21
+ readonly _1mon: "1mon";
22
+ };
23
+ export type HistoryInterval = (typeof HistoryInterval)[keyof typeof HistoryInterval];
@@ -19,10 +19,9 @@ exports.HistoryInterval = void 0;
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- var HistoryInterval;
23
- (function (HistoryInterval) {
24
- HistoryInterval["_1h"] = "1h";
25
- HistoryInterval["_1d"] = "1d";
26
- HistoryInterval["_1w"] = "1w";
27
- HistoryInterval["_1mon"] = "1mon";
28
- })(HistoryInterval || (exports.HistoryInterval = HistoryInterval = {}));
22
+ exports.HistoryInterval = {
23
+ _1h: "1h",
24
+ _1d: "1d",
25
+ _1w: "1w",
26
+ _1mon: "1mon"
27
+ };
@@ -1,60 +1,62 @@
1
- export * from './account-transaction';
2
- export * from './account-transaction-transaction-data';
3
- export * from './account-withdrawal-request';
4
- export * from './apy-history';
5
- export * from './asset';
6
- export * from './borrowed';
7
- export * from './coin-price';
8
- export * from './deposit-transaction';
9
- export * from './exposure';
10
- export * from './exposure-coin';
11
- export * from './exposure-protocol';
12
- export * from './fee';
13
- export * from './history-interval';
14
- export * from './lp';
15
- export * from './manager';
16
- export * from './min-withdrawal-shares-updated-event';
17
- export * from './perps';
18
- export * from './pnl-history';
19
- export * from './pnl-history-interval';
20
- export * from './position';
21
- export * from './position-value';
22
- export * from './process-requests-summary-event';
23
- export * from './protocol';
24
- export * from './protocol-fee-collected-event';
25
- export * from './protocol-info';
26
- export * from './raw-event';
27
- export * from './raw-event-event-data';
28
- export * from './redeem-request-cancelled-transaction';
29
- export * from './redeem-request-processed-transaction';
30
- export * from './redeem-request-skipped-transaction';
31
- export * from './redeem-request-transaction';
32
- export * from './reported-apy';
33
- export * from './request-processed-event';
34
- export * from './request-redeemed-event';
35
- export * from './reward';
36
- export * from './reward-token';
37
- export * from './share-price-history';
38
- export * from './strategy';
39
- export * from './sub-account';
40
- export * from './supplied';
41
- export * from './tvl-history';
42
- export * from './ultra-coin-info';
43
- export * from './update-vault-strategies';
44
- export * from './vault-admin-changed-event';
45
- export * from './vault-created-event';
46
- export * from './vault-deposit-event';
47
- export * from './vault-deposit-without-minting-shares-event';
48
- export * from './vault-detail';
49
- export * from './vault-fee-percentage-updated-event';
50
- export * from './vault-info';
51
- export * from './vault-max-tvl-updated-event';
52
- export * from './vault-operator-changed-event';
53
- export * from './vault-paused-status-updated-event';
54
- export * from './vault-platform-fee-charged-event';
55
- export * from './vault-protocol';
56
- export * from './vault-rate-updated-event';
57
- export * from './vault-slice';
58
- export * from './vault-sub-account-updated-event';
59
- export * from './vault-withdrawal-without-redeeming-shares-event';
60
- export * from './yield-aggregate-value';
1
+ export * from "./account-transaction";
2
+ export * from "./account-transaction-transaction-data";
3
+ export * from "./account-withdrawal-request";
4
+ export * from "./apy-history";
5
+ export * from "./asset";
6
+ export * from "./borrowed";
7
+ export * from "./coin-price";
8
+ export * from "./deposit-transaction";
9
+ export * from "./exposure";
10
+ export * from "./exposure-coin";
11
+ export * from "./exposure-protocol";
12
+ export * from "./fee";
13
+ export * from "./history-interval";
14
+ export * from "./lp";
15
+ export * from "./manager";
16
+ export * from "./min-withdrawal-shares-updated-event";
17
+ export * from "./perps";
18
+ export * from "./pnl-history";
19
+ export * from "./pnl-history-interval";
20
+ export * from "./position";
21
+ export * from "./position-history";
22
+ export * from "./position-history-interval";
23
+ export * from "./position-value";
24
+ export * from "./process-requests-summary-event";
25
+ export * from "./protocol";
26
+ export * from "./protocol-fee-collected-event";
27
+ export * from "./protocol-info";
28
+ export * from "./raw-event";
29
+ export * from "./raw-event-event-data";
30
+ export * from "./redeem-request-cancelled-transaction";
31
+ export * from "./redeem-request-processed-transaction";
32
+ export * from "./redeem-request-skipped-transaction";
33
+ export * from "./redeem-request-transaction";
34
+ export * from "./reported-apy";
35
+ export * from "./request-processed-event";
36
+ export * from "./request-redeemed-event";
37
+ export * from "./reward";
38
+ export * from "./reward-token";
39
+ export * from "./share-price-history";
40
+ export * from "./strategy";
41
+ export * from "./sub-account";
42
+ export * from "./supplied";
43
+ export * from "./tvl-history";
44
+ export * from "./ultra-coin-info";
45
+ export * from "./update-vault-strategies";
46
+ export * from "./vault-admin-changed-event";
47
+ export * from "./vault-created-event";
48
+ export * from "./vault-deposit-event";
49
+ export * from "./vault-deposit-without-minting-shares-event";
50
+ export * from "./vault-detail";
51
+ export * from "./vault-fee-percentage-updated-event";
52
+ export * from "./vault-info";
53
+ export * from "./vault-max-tvl-updated-event";
54
+ export * from "./vault-operator-changed-event";
55
+ export * from "./vault-paused-status-updated-event";
56
+ export * from "./vault-platform-fee-charged-event";
57
+ export * from "./vault-protocol";
58
+ export * from "./vault-rate-updated-event";
59
+ export * from "./vault-slice";
60
+ export * from "./vault-sub-account-updated-event";
61
+ export * from "./vault-withdrawal-without-redeeming-shares-event";
62
+ export * from "./yield-aggregate-value";
@@ -34,6 +34,8 @@ __exportStar(require("./perps"), exports);
34
34
  __exportStar(require("./pnl-history"), exports);
35
35
  __exportStar(require("./pnl-history-interval"), exports);
36
36
  __exportStar(require("./position"), exports);
37
+ __exportStar(require("./position-history"), exports);
38
+ __exportStar(require("./position-history-interval"), exports);
37
39
  __exportStar(require("./position-value"), exports);
38
40
  __exportStar(require("./process-requests-summary-event"), exports);
39
41
  __exportStar(require("./protocol"), exports);
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Asset } from './asset';
13
- import type { Fee } from './fee';
14
- import type { Reward } from './reward';
12
+ import type { Asset } from "./asset";
13
+ import type { Fee } from "./fee";
14
+ import type { Reward } from "./reward";
15
15
  /**
16
16
  *
17
17
  * @export
@@ -23,59 +23,59 @@ export interface Lp {
23
23
  * @type {Asset}
24
24
  * @memberof Lp
25
25
  */
26
- 'coinA': Asset;
26
+ coinA: Asset;
27
27
  /**
28
28
  *
29
29
  * @type {Asset}
30
30
  * @memberof Lp
31
31
  */
32
- 'coinB': Asset;
32
+ coinB: Asset;
33
33
  /**
34
34
  * The amount of coin A
35
35
  * @type {string}
36
36
  * @memberof Lp
37
37
  */
38
- 'coinAAmount': string;
38
+ coinAAmount: string;
39
39
  /**
40
40
  * The amount of coin B
41
41
  * @type {string}
42
42
  * @memberof Lp
43
43
  */
44
- 'coinBAmount': string;
44
+ coinBAmount: string;
45
45
  /**
46
46
  * The amount of coin A in e9 in USDC
47
47
  * @type {string}
48
48
  * @memberof Lp
49
49
  */
50
- 'coinAAmountUsdE9': string;
50
+ coinAAmountUsdE9: string;
51
51
  /**
52
52
  * The amount of coin B in e9 in USDC
53
53
  * @type {string}
54
54
  * @memberof Lp
55
55
  */
56
- 'coinBAmountUsdE9': string;
56
+ coinBAmountUsdE9: string;
57
57
  /**
58
58
  * The apr of the lp in percentage
59
59
  * @type {string}
60
60
  * @memberof Lp
61
61
  */
62
- 'apy': string;
62
+ apy: string;
63
63
  /**
64
64
  * The name of the pool
65
65
  * @type {string}
66
66
  * @memberof Lp
67
67
  */
68
- 'poolName': string;
68
+ poolName: string;
69
69
  /**
70
70
  * The rewards of the lp
71
71
  * @type {Array<Reward>}
72
72
  * @memberof Lp
73
73
  */
74
- 'rewards': Array<Reward>;
74
+ rewards: Array<Reward>;
75
75
  /**
76
76
  * The fees of the lp
77
77
  * @type {Array<Fee>}
78
78
  * @memberof Lp
79
79
  */
80
- 'fees': Array<Fee>;
80
+ fees: Array<Fee>;
81
81
  }
@@ -20,23 +20,23 @@ export interface Manager {
20
20
  * @type {string}
21
21
  * @memberof Manager
22
22
  */
23
- 'id': string;
23
+ id: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof Manager
28
28
  */
29
- 'name': string;
29
+ name: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof Manager
34
34
  */
35
- 'logoUrl': string;
35
+ logoUrl: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof Manager
40
40
  */
41
- 'websiteUrl': string;
41
+ websiteUrl: string;
42
42
  }
@@ -20,23 +20,23 @@ export interface MinWithdrawalSharesUpdatedEvent {
20
20
  * @type {string}
21
21
  * @memberof MinWithdrawalSharesUpdatedEvent
22
22
  */
23
- 'vaultId'?: string;
23
+ vaultId?: string;
24
24
  /**
25
25
  * The previous min withdrawal shares
26
26
  * @type {string}
27
27
  * @memberof MinWithdrawalSharesUpdatedEvent
28
28
  */
29
- 'previousMinWithdrawalShares'?: string;
29
+ previousMinWithdrawalShares?: string;
30
30
  /**
31
31
  * The new min withdrawal shares
32
32
  * @type {string}
33
33
  * @memberof MinWithdrawalSharesUpdatedEvent
34
34
  */
35
- 'newMinWithdrawalShares'?: string;
35
+ newMinWithdrawalShares?: string;
36
36
  /**
37
37
  * The sequence number of the event
38
38
  * @type {string}
39
39
  * @memberof MinWithdrawalSharesUpdatedEvent
40
40
  */
41
- 'sequenceNumber'?: string;
41
+ sequenceNumber?: string;
42
42
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { Position } from './position';
12
+ import type { Position } from "./position";
13
13
  /**
14
14
  *
15
15
  * @export
@@ -21,11 +21,11 @@ export interface Perps {
21
21
  * @type {string}
22
22
  * @memberof Perps
23
23
  */
24
- 'effectiveBalanceE9': string;
24
+ effectiveBalanceE9: string;
25
25
  /**
26
26
  * The positions of the perps
27
27
  * @type {Array<Position>}
28
28
  * @memberof Perps
29
29
  */
30
- 'positions': Array<Position>;
30
+ positions: Array<Position>;
31
31
  }
@@ -14,8 +14,9 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare enum PnlHistoryInterval {
18
- _1d = "1d",
19
- _1w = "1w",
20
- _1mon = "1mon"
21
- }
17
+ export declare const PnlHistoryInterval: {
18
+ readonly _1d: "1d";
19
+ readonly _1w: "1w";
20
+ readonly _1mon: "1mon";
21
+ };
22
+ export type PnlHistoryInterval = (typeof PnlHistoryInterval)[keyof typeof PnlHistoryInterval];
@@ -19,9 +19,8 @@ exports.PnlHistoryInterval = void 0;
19
19
  * @export
20
20
  * @enum {string}
21
21
  */
22
- var PnlHistoryInterval;
23
- (function (PnlHistoryInterval) {
24
- PnlHistoryInterval["_1d"] = "1d";
25
- PnlHistoryInterval["_1w"] = "1w";
26
- PnlHistoryInterval["_1mon"] = "1mon";
27
- })(PnlHistoryInterval || (exports.PnlHistoryInterval = PnlHistoryInterval = {}));
22
+ exports.PnlHistoryInterval = {
23
+ _1d: "1d",
24
+ _1w: "1w",
25
+ _1mon: "1mon"
26
+ };
@@ -20,17 +20,17 @@ export interface PnlHistory {
20
20
  * @type {number}
21
21
  * @memberof PnlHistory
22
22
  */
23
- 'timestamp': number;
23
+ timestamp: number;
24
24
  /**
25
25
  * The pnl of the event
26
26
  * @type {string}
27
27
  * @memberof PnlHistory
28
28
  */
29
- 'pnlE9': string;
29
+ pnlE9: string;
30
30
  /**
31
31
  * The cumulative pnl of the event
32
32
  * @type {string}
33
33
  * @memberof PnlHistory
34
34
  */
35
- 'cumulativePnlE9': string;
35
+ cumulativePnlE9: string;
36
36
  }
@@ -0,0 +1,22 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const PositionHistoryInterval: {
18
+ readonly _1d: "1d";
19
+ readonly _1w: "1w";
20
+ readonly _1mon: "1mon";
21
+ };
22
+ export type PositionHistoryInterval = (typeof PositionHistoryInterval)[keyof typeof PositionHistoryInterval];
@@ -0,0 +1,26 @@
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: 1.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 });
16
+ exports.PositionHistoryInterval = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.PositionHistoryInterval = {
23
+ _1d: "1d",
24
+ _1w: "1w",
25
+ _1mon: "1mon"
26
+ };
@@ -0,0 +1,65 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PositionHistory
16
+ */
17
+ export interface PositionHistory {
18
+ /**
19
+ * The timestamp of the event
20
+ * @type {number}
21
+ * @memberof PositionHistory
22
+ */
23
+ timestamp: number;
24
+ /**
25
+ * The position value of the event
26
+ * @type {string}
27
+ * @memberof PositionHistory
28
+ */
29
+ positionValueUsdE9: string;
30
+ /**
31
+ * The shares of the event
32
+ * @type {string}
33
+ * @memberof PositionHistory
34
+ */
35
+ shares: string;
36
+ /**
37
+ * The unrealized yield of the event
38
+ * @type {string}
39
+ * @memberof PositionHistory
40
+ */
41
+ unrealizedYieldUsdE9: string;
42
+ /**
43
+ * The realized yield of the event
44
+ * @type {string}
45
+ * @memberof PositionHistory
46
+ */
47
+ realizedYieldUsdE9: string;
48
+ /**
49
+ * The total yield of the event
50
+ * @type {string}
51
+ * @memberof PositionHistory
52
+ */
53
+ totalYieldUsdE9: string;
54
+ /**
55
+ * The status of the event
56
+ * @type {string}
57
+ * @memberof PositionHistory
58
+ */
59
+ status: PositionHistoryStatusEnum;
60
+ }
61
+ export declare const PositionHistoryStatusEnum: {
62
+ readonly Sync: "SYNC";
63
+ readonly OutOfSync: "OUT_OF_SYNC";
64
+ };
65
+ export type PositionHistoryStatusEnum = (typeof PositionHistoryStatusEnum)[keyof typeof PositionHistoryStatusEnum];
@@ -0,0 +1,20 @@
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: 1.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 });
16
+ exports.PositionHistoryStatusEnum = void 0;
17
+ exports.PositionHistoryStatusEnum = {
18
+ Sync: "SYNC",
19
+ OutOfSync: "OUT_OF_SYNC"
20
+ };
@@ -20,35 +20,46 @@ export interface PositionValue {
20
20
  * @type {string}
21
21
  * @memberof PositionValue
22
22
  */
23
- 'vaultId': string;
23
+ vaultId: string;
24
24
  /**
25
25
  * The position value of the account in e9 in USDC
26
26
  * @type {string}
27
27
  * @memberof PositionValue
28
28
  */
29
- 'positionValueUsdE9': string;
29
+ positionValueUsdE9: string;
30
30
  /**
31
31
  * The shares of the account
32
32
  * @type {string}
33
33
  * @memberof PositionValue
34
34
  */
35
- 'shares': string;
35
+ shares: string;
36
36
  /**
37
37
  * The unrealized yield value of the account in e9 in USDC
38
38
  * @type {string}
39
39
  * @memberof PositionValue
40
40
  */
41
- 'unrealizedYieldUsdE9': string;
41
+ unrealizedYieldUsdE9: string;
42
42
  /**
43
43
  * The realized yield value of the account in e9 in USDC
44
44
  * @type {string}
45
45
  * @memberof PositionValue
46
46
  */
47
- 'realizedYieldUsdE9': string;
47
+ realizedYieldUsdE9: string;
48
48
  /**
49
49
  * The total yield value of the account in e9 in USDC
50
50
  * @type {string}
51
51
  * @memberof PositionValue
52
52
  */
53
- 'totalYieldUsdE9': string;
53
+ totalYieldUsdE9: string;
54
+ /**
55
+ * The status of the position
56
+ * @type {string}
57
+ * @memberof PositionValue
58
+ */
59
+ status: PositionValueStatusEnum;
54
60
  }
61
+ export declare const PositionValueStatusEnum: {
62
+ readonly Sync: "SYNC";
63
+ readonly OutOfSync: "OUT_OF_SYNC";
64
+ };
65
+ export type PositionValueStatusEnum = (typeof PositionValueStatusEnum)[keyof typeof PositionValueStatusEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PositionValueStatusEnum = void 0;
17
+ exports.PositionValueStatusEnum = {
18
+ Sync: "SYNC",
19
+ OutOfSync: "OUT_OF_SYNC"
20
+ };