@grvt/client 1.6.10 → 1.6.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.
- package/interfaces/codegen/data.interface.d.ts +3 -0
- package/interfaces/codegen/schema-maps/aggregated_account_summary.js +4 -2
- package/interfaces/codegen/schema-maps/detailed_aggregated_account_summary.js +4 -2
- package/interfaces/codegen/schema-maps/vault_investment.js +4 -2
- package/package.json +1 -1
|
@@ -88,6 +88,7 @@ export interface IAggregatedAccountSummary {
|
|
|
88
88
|
total_sub_account_equity?: string;
|
|
89
89
|
total_vault_investments_balance?: string;
|
|
90
90
|
total_sub_account_available_balance?: string;
|
|
91
|
+
total_usd_notional_invested?: string;
|
|
91
92
|
}
|
|
92
93
|
export interface IApiAccountPerformanceTrend {
|
|
93
94
|
start_interval?: string;
|
|
@@ -1475,6 +1476,7 @@ export interface IDetailedAggregatedAccountSummary {
|
|
|
1475
1476
|
funding_account_equity?: string;
|
|
1476
1477
|
total_sub_account_equity?: string;
|
|
1477
1478
|
total_sub_account_available_balance?: string;
|
|
1479
|
+
total_usd_notional_invested?: string;
|
|
1478
1480
|
}
|
|
1479
1481
|
export interface IECNToBrokerFeed {
|
|
1480
1482
|
order_id?: string;
|
|
@@ -2335,6 +2337,7 @@ export interface IVaultInvestment {
|
|
|
2335
2337
|
vault_id?: string;
|
|
2336
2338
|
num_lp_tokens?: string;
|
|
2337
2339
|
share_price?: string;
|
|
2340
|
+
usd_notional_invested?: string;
|
|
2338
2341
|
}
|
|
2339
2342
|
export interface IVaultInvestorHistory {
|
|
2340
2343
|
event_time?: string;
|
|
@@ -13,7 +13,8 @@ exports.AGGREGATED_ACCOUNT_SUMMARY_MAP = Object.freeze({
|
|
|
13
13
|
total_sub_account_balance: 'ts',
|
|
14
14
|
total_sub_account_equity: 'ts1',
|
|
15
15
|
total_vault_investments_balance: 'tv',
|
|
16
|
-
total_sub_account_available_balance: 'ts2'
|
|
16
|
+
total_sub_account_available_balance: 'ts2',
|
|
17
|
+
total_usd_notional_invested: 'tu'
|
|
17
18
|
},
|
|
18
19
|
LITE_TO_FULL: {
|
|
19
20
|
ma: 'main_account_id',
|
|
@@ -23,6 +24,7 @@ exports.AGGREGATED_ACCOUNT_SUMMARY_MAP = Object.freeze({
|
|
|
23
24
|
ts: 'total_sub_account_balance',
|
|
24
25
|
ts1: 'total_sub_account_equity',
|
|
25
26
|
tv: 'total_vault_investments_balance',
|
|
26
|
-
ts2: 'total_sub_account_available_balance'
|
|
27
|
+
ts2: 'total_sub_account_available_balance',
|
|
28
|
+
tu: 'total_usd_notional_invested'
|
|
27
29
|
}
|
|
28
30
|
});
|
|
@@ -15,7 +15,8 @@ exports.DETAILED_AGGREGATED_ACCOUNT_SUMMARY_MAP = Object.freeze({
|
|
|
15
15
|
total_vault_investments_balance: 'tv',
|
|
16
16
|
funding_account_equity: 'fa1',
|
|
17
17
|
total_sub_account_equity: 'ts1',
|
|
18
|
-
total_sub_account_available_balance: 'ts2'
|
|
18
|
+
total_sub_account_available_balance: 'ts2',
|
|
19
|
+
total_usd_notional_invested: 'tu'
|
|
19
20
|
},
|
|
20
21
|
LITE_TO_FULL: {
|
|
21
22
|
ma: 'main_account_id',
|
|
@@ -27,6 +28,7 @@ exports.DETAILED_AGGREGATED_ACCOUNT_SUMMARY_MAP = Object.freeze({
|
|
|
27
28
|
tv: 'total_vault_investments_balance',
|
|
28
29
|
fa1: 'funding_account_equity',
|
|
29
30
|
ts1: 'total_sub_account_equity',
|
|
30
|
-
ts2: 'total_sub_account_available_balance'
|
|
31
|
+
ts2: 'total_sub_account_available_balance',
|
|
32
|
+
tu: 'total_usd_notional_invested'
|
|
31
33
|
}
|
|
32
34
|
});
|
|
@@ -6,11 +6,13 @@ exports.VAULT_INVESTMENT_MAP = Object.freeze({
|
|
|
6
6
|
FULL_TO_LITE: {
|
|
7
7
|
vault_id: 'vi',
|
|
8
8
|
num_lp_tokens: 'nl',
|
|
9
|
-
share_price: 'sp'
|
|
9
|
+
share_price: 'sp',
|
|
10
|
+
usd_notional_invested: 'un'
|
|
10
11
|
},
|
|
11
12
|
LITE_TO_FULL: {
|
|
12
13
|
vi: 'vault_id',
|
|
13
14
|
nl: 'num_lp_tokens',
|
|
14
|
-
sp: 'share_price'
|
|
15
|
+
sp: 'share_price',
|
|
16
|
+
un: 'usd_notional_invested'
|
|
15
17
|
}
|
|
16
18
|
});
|