@grvt/client 1.6.29 → 1.6.30

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/TDG/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { IAckResponse, IApiAddIsolatedPositionMarginRequest, IApiAddIsolatedPositionMarginResponse, IApiAggregatedAccountSummaryResponse, IApiAuthorizeBuilderRequest, IApiBuilderFillHistoryRequest, IApiBuilderFillHistoryResponse, IApiBulkOrdersRequest, IApiBulkOrdersResponse, IApiCancelAllOrdersRequest, IApiCancelAllOrdersResponse, IApiCancelOrderRequest, IApiCancelOrderResponse, IApiCreateBulkOrdersRequest, IApiCreateBulkOrdersResponse, IApiCreateOrderRequest, IApiCreateOrderResponse, IApiCrossExchVaultAttestEquityRequest, IApiCrossExchVaultGetInvestorAllocationStatsResponse, IApiCrossExchVaultInvestCancelRequest, IApiCrossExchVaultLockRequest, IApiCrossExchVaultPreInternalTransferCheckRequest, IApiCrossExchVaultPreInternalTransferCheckResponse, IApiCrossExchVaultPreWithdrawCheckRequest, IApiCrossExchVaultPreWithdrawCheckResponse, IApiCrossExchVaultTriggerRedemptionRequest, IApiCrossExchVaultUnlockRequest, IApiCrossExchVaultViewInvestmentQueueRequest, IApiCrossExchVaultViewInvestmentQueueResponse, IApiCrossExchVaultViewPendingInvestmentRequest, IApiCrossExchVaultViewPendingInvestmentResponse, IApiDedustPositionRequest, IApiDedustPositionResponse, IApiDepositHistoryRequest, IApiDepositHistoryResponse, IApiFillHistoryRequest, IApiFillHistoryResponse, IApiFundingAccountSummaryResponse, IApiFundingPaymentHistoryRequest, IApiFundingPaymentHistoryResponse, IApiGetAllInitialLeverageRequest, IApiGetAllInitialLeverageResponse, IApiGetAuthorizedBuildersResponse, IApiGetIsolatedPositionMarginLimitsRequest, IApiGetIsolatedPositionMarginLimitsResponse, IApiGetMarginTiersResponse, IApiGetOrderGroupRequest, IApiGetOrderGroupResponse, IApiGetOrderRequest, IApiGetOrderResponse, IApiGetPriceProtectionBandsResponse, IApiOpenOrdersRequest, IApiOpenOrdersResponse, IApiOrderHistoryRequest, IApiOrderHistoryResponse, IApiPositionsRequest, IApiPositionsResponse, IApiPreDepositCheckRequest, IApiPreDepositCheckResponse, IApiPreOrderCheckRequest, IApiPreOrderCheckResponse, IApiQueryAccountDailyPerformanceRequest, IApiQueryAccountDailyPerformanceResponse, IApiQueryAccountPerformanceRequest, IApiQueryAccountPerformanceResponse, IApiQueryAccountPerformanceTrendRequest, IApiQueryAccountPerformanceTrendResponse, IApiQueryAccountTodayPerformanceRequest, IApiQueryAccountTodayPerformanceResponse, IApiQueryListFundingAccountSummaryRequest, IApiQueryListFundingAccountSummaryResponse, IApiQueryListSubAccountSummaryRequest, IApiQueryListSubAccountSummaryResponse, IApiQuerySubAccountDailyPerformanceRequest, IApiQuerySubAccountDailyPerformanceResponse, IApiQuerySubAccountTodayPerformanceRequest, IApiQuerySubAccountTodayPerformanceResponse, IApiQueryTradingAccountRiskMetricRequest, IApiQueryTradingAccountRiskMetricResponse, IApiQueryTradingPerformanceRequest, IApiQueryTradingPerformanceResponse, IApiQueryTradingPerformanceSummaryRequest, IApiQueryTradingPerformanceSummaryResponse, IApiQueryTradingPerformanceTrendRequest, IApiQueryTradingPerformanceTrendResponse, IApiQueryVaultInvestorHistoryRequest, IApiQueryVaultInvestorHistoryResponse, IApiQueryVaultManagerInvestorHistoryRequest, IApiQueryVaultManagerInvestorHistoryResponse, IApiReplaceOrdersRequest, IApiReplaceOrdersResponse, IApiSetInitialLeverageRequest, IApiSetInitialLeverageResponse, IApiSetSubAccountPositionMarginConfigRequest, IApiSetSubAccountPositionMarginConfigResponse, IApiSocializedLossStatusResponse, IApiSpotSubAccountSummaryRequest, IApiSpotSubAccountSummaryResponse, IApiSubAccountHistoryRequest, IApiSubAccountHistoryResponse, IApiSubAccountSummaryRequest, IApiSubAccountSummaryResponse, IApiTimedAssetExposureRequest, IApiTimedAssetExposureResponse, IApiTransferHistoryRequest, IApiTransferHistoryResponse, IApiTransferRequest, IApiTransferResponse, IApiVaultBurnTokensRequest, IApiVaultInvestorSummaryRequest, IApiVaultInvestorSummaryResponse, IApiVaultInvestRequest, IApiVaultRedeemCancelRequest, IApiVaultRedeemRequest, IApiVaultViewRedemptionQueueRequest, IApiVaultViewRedemptionQueueResponse, IApiWithdrawalHistoryRequest, IApiWithdrawalHistoryResponse, IApiWithdrawalRequest, IConfig } from '../interfaces';
2
+ import type { IAckResponse, IApiAddIsolatedPositionMarginRequest, IApiAddIsolatedPositionMarginResponse, IApiAggregatedAccountSummaryResponse, IApiAuthorizeBuilderRequest, IApiBuilderFillHistoryRequest, IApiBuilderFillHistoryResponse, IApiBulkOrdersRequest, IApiBulkOrdersResponse, IApiCancelAllOrdersRequest, IApiCancelAllOrdersResponse, IApiCancelOrderRequest, IApiCancelOrderResponse, IApiCreateBulkOrdersRequest, IApiCreateBulkOrdersResponse, IApiCreateOrderRequest, IApiCreateOrderResponse, IApiCrossExchVaultAttestEquityRequest, IApiCrossExchVaultGetInvestorAllocationStatsResponse, IApiCrossExchVaultInvestCancelRequest, IApiCrossExchVaultLockRequest, IApiCrossExchVaultPreInternalTransferCheckRequest, IApiCrossExchVaultPreInternalTransferCheckResponse, IApiCrossExchVaultPreWithdrawCheckRequest, IApiCrossExchVaultPreWithdrawCheckResponse, IApiCrossExchVaultTriggerRedemptionRequest, IApiCrossExchVaultUnlockRequest, IApiCrossExchVaultViewInvestmentQueueRequest, IApiCrossExchVaultViewInvestmentQueueResponse, IApiCrossExchVaultViewPendingInvestmentRequest, IApiCrossExchVaultViewPendingInvestmentResponse, IApiDedustPositionRequest, IApiDedustPositionResponse, IApiDepositHistoryRequest, IApiDepositHistoryResponse, IApiFillHistoryRequest, IApiFillHistoryResponse, IApiFundingAccountSummaryResponse, IApiFundingPaymentHistoryRequest, IApiFundingPaymentHistoryResponse, IApiGetAllInitialLeverageRequest, IApiGetAllInitialLeverageResponse, IApiGetAuthorizedBuildersResponse, IApiGetIsolatedPositionMarginLimitsRequest, IApiGetIsolatedPositionMarginLimitsResponse, IApiGetMarginTiersResponse, IApiGetOrderGroupRequest, IApiGetOrderGroupResponse, IApiGetOrderRequest, IApiGetOrderResponse, IApiGetPriceProtectionBandsResponse, IApiOpenOrdersRequest, IApiOpenOrdersResponse, IApiOrderHistoryRequest, IApiOrderHistoryResponse, IApiPositionHistoryRequest, IApiPositionHistoryResponse, IApiPositionsRequest, IApiPositionsResponse, IApiPreDepositCheckRequest, IApiPreDepositCheckResponse, IApiPreOrderCheckRequest, IApiPreOrderCheckResponse, IApiQueryAccountDailyPerformanceRequest, IApiQueryAccountDailyPerformanceResponse, IApiQueryAccountPerformanceRequest, IApiQueryAccountPerformanceResponse, IApiQueryAccountPerformanceTrendRequest, IApiQueryAccountPerformanceTrendResponse, IApiQueryAccountTodayPerformanceRequest, IApiQueryAccountTodayPerformanceResponse, IApiQueryListFundingAccountSummaryRequest, IApiQueryListFundingAccountSummaryResponse, IApiQueryListSubAccountSummaryRequest, IApiQueryListSubAccountSummaryResponse, IApiQuerySubAccountDailyPerformanceRequest, IApiQuerySubAccountDailyPerformanceResponse, IApiQuerySubAccountTodayPerformanceRequest, IApiQuerySubAccountTodayPerformanceResponse, IApiQueryTradingAccountRiskMetricRequest, IApiQueryTradingAccountRiskMetricResponse, IApiQueryTradingPerformanceRequest, IApiQueryTradingPerformanceResponse, IApiQueryTradingPerformanceSummaryRequest, IApiQueryTradingPerformanceSummaryResponse, IApiQueryTradingPerformanceTrendRequest, IApiQueryTradingPerformanceTrendResponse, IApiQueryVaultInvestorHistoryRequest, IApiQueryVaultInvestorHistoryResponse, IApiQueryVaultManagerInvestorHistoryRequest, IApiQueryVaultManagerInvestorHistoryResponse, IApiReplaceOrdersRequest, IApiReplaceOrdersResponse, IApiSetInitialLeverageRequest, IApiSetInitialLeverageResponse, IApiSetSubAccountPositionMarginConfigRequest, IApiSetSubAccountPositionMarginConfigResponse, IApiSocializedLossStatusResponse, IApiSpotSubAccountSummaryRequest, IApiSpotSubAccountSummaryResponse, IApiSubAccountHistoryRequest, IApiSubAccountHistoryResponse, IApiSubAccountSummaryRequest, IApiSubAccountSummaryResponse, IApiTimedAssetExposureRequest, IApiTimedAssetExposureResponse, IApiTransferHistoryRequest, IApiTransferHistoryResponse, IApiTransferRequest, IApiTransferResponse, IApiVaultBurnTokensRequest, IApiVaultInvestorSummaryRequest, IApiVaultInvestorSummaryResponse, IApiVaultInvestRequest, IApiVaultRedeemCancelRequest, IApiVaultRedeemRequest, IApiVaultViewRedemptionQueueRequest, IApiVaultViewRedemptionQueueResponse, IApiWithdrawalHistoryRequest, IApiWithdrawalHistoryResponse, IApiWithdrawalRequest, IConfig } from '../interfaces';
3
3
  export declare class TDG {
4
4
  private readonly _axios;
5
5
  private readonly _fullUrl;
@@ -40,6 +40,7 @@ export declare class TDG {
40
40
  setPositionConfig(payload: IApiSetSubAccountPositionMarginConfigRequest, config?: AxiosRequestConfig): Promise<IApiSetSubAccountPositionMarginConfigResponse>;
41
41
  addPositionMargin(payload: IApiAddIsolatedPositionMarginRequest, config?: AxiosRequestConfig): Promise<IApiAddIsolatedPositionMarginResponse>;
42
42
  getPositionMarginLimits(payload: IApiGetIsolatedPositionMarginLimitsRequest, config?: AxiosRequestConfig): Promise<IApiGetIsolatedPositionMarginLimitsResponse>;
43
+ positionHistory(payload: IApiPositionHistoryRequest, config?: AxiosRequestConfig): Promise<IApiPositionHistoryResponse>;
43
44
  /**
44
45
  * APIs for Builder
45
46
  */
package/TDG/index.js CHANGED
@@ -57,6 +57,8 @@ const api_open_orders_request_1 = require("../interfaces/codegen/schema-maps/api
57
57
  const api_open_orders_response_1 = require("../interfaces/codegen/schema-maps/api_open_orders_response");
58
58
  const api_order_history_request_1 = require("../interfaces/codegen/schema-maps/api_order_history_request");
59
59
  const api_order_history_response_1 = require("../interfaces/codegen/schema-maps/api_order_history_response");
60
+ const api_position_history_request_1 = require("../interfaces/codegen/schema-maps/api_position_history_request");
61
+ const api_position_history_response_1 = require("../interfaces/codegen/schema-maps/api_position_history_response");
60
62
  const api_positions_request_1 = require("../interfaces/codegen/schema-maps/api_positions_request");
61
63
  const api_positions_response_1 = require("../interfaces/codegen/schema-maps/api_positions_response");
62
64
  const api_pre_deposit_check_request_1 = require("../interfaces/codegen/schema-maps/api_pre_deposit_check_request");
@@ -94,12 +96,12 @@ const api_query_vault_manager_investor_history_response_1 = require("../interfac
94
96
  const api_replace_orders_request_1 = require("../interfaces/codegen/schema-maps/api_replace_orders_request");
95
97
  const api_replace_orders_response_1 = require("../interfaces/codegen/schema-maps/api_replace_orders_response");
96
98
  const api_set_initial_leverage_request_1 = require("../interfaces/codegen/schema-maps/api_set_initial_leverage_request");
97
- const api_spot_sub_account_summary_request_1 = require("../interfaces/codegen/schema-maps/api_spot_sub_account_summary_request");
98
- const api_spot_sub_account_summary_response_1 = require("../interfaces/codegen/schema-maps/api_spot_sub_account_summary_response");
99
99
  const api_set_initial_leverage_response_1 = require("../interfaces/codegen/schema-maps/api_set_initial_leverage_response");
100
100
  const api_set_sub_account_position_margin_config_request_1 = require("../interfaces/codegen/schema-maps/api_set_sub_account_position_margin_config_request");
101
101
  const api_set_sub_account_position_margin_config_response_1 = require("../interfaces/codegen/schema-maps/api_set_sub_account_position_margin_config_response");
102
102
  const api_socialized_loss_status_response_1 = require("../interfaces/codegen/schema-maps/api_socialized_loss_status_response");
103
+ const api_spot_sub_account_summary_request_1 = require("../interfaces/codegen/schema-maps/api_spot_sub_account_summary_request");
104
+ const api_spot_sub_account_summary_response_1 = require("../interfaces/codegen/schema-maps/api_spot_sub_account_summary_response");
103
105
  const api_sub_account_history_request_1 = require("../interfaces/codegen/schema-maps/api_sub_account_history_request");
104
106
  const api_sub_account_history_response_1 = require("../interfaces/codegen/schema-maps/api_sub_account_history_response");
105
107
  const api_sub_account_summary_request_1 = require("../interfaces/codegen/schema-maps/api_sub_account_summary_request");
@@ -211,6 +213,11 @@ class TDG {
211
213
  return utils_1.Utils.schemaMap(response.data, api_get_isolated_position_margin_limits_response_1.API_GET_ISOLATED_POSITION_MARGIN_LIMITS_RESPONSE_MAP.LITE_TO_FULL);
212
214
  }).catch(utils_1.Utils.coverApiError);
213
215
  }
216
+ positionHistory(payload, config) {
217
+ return this._axios.post(this._liteUrl + '/position_history', utils_1.Utils.schemaMap(payload, api_position_history_request_1.API_POSITION_HISTORY_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
218
+ return utils_1.Utils.schemaMap(response.data, api_position_history_response_1.API_POSITION_HISTORY_RESPONSE_MAP.LITE_TO_FULL);
219
+ }).catch(utils_1.Utils.coverApiError);
220
+ }
214
221
  /**
215
222
  * APIs for Builder
216
223
  */
@@ -371,6 +371,12 @@ export interface IApiDedustPositionRequest {
371
371
  export interface IApiDedustPositionResponse {
372
372
  result?: IOrder;
373
373
  }
374
+ export interface IApiDedustSpotBalancesRequest {
375
+ order?: IOrder;
376
+ }
377
+ export interface IApiDedustSpotBalancesResponse {
378
+ result?: IOrder;
379
+ }
374
380
  export interface IApiDepositHistoryRequest {
375
381
  currency?: string[];
376
382
  start_time?: string;
@@ -1255,6 +1261,7 @@ export interface IApiSnapAggregatedAccountSummary {
1255
1261
  event_time?: string;
1256
1262
  start_interval?: string;
1257
1263
  total_equity?: string;
1264
+ total_vault_investments_balance?: string;
1258
1265
  }
1259
1266
  export interface IApiSocializedLossStatusResponse {
1260
1267
  is_active?: boolean;
@@ -2073,6 +2080,7 @@ export interface IOrder {
2073
2080
  is_derisk?: boolean;
2074
2081
  builder?: string;
2075
2082
  builder_fee?: string;
2083
+ is_spot_dedust?: boolean;
2076
2084
  }
2077
2085
  export interface IOrderLeg {
2078
2086
  instrument?: string;
@@ -79,6 +79,8 @@ export declare enum EClusterConfigType {
79
79
  FLAG_SPLIT_TPSL = "FLAG_SPLIT_TPSL",
80
80
  FLAG_SPOT_TRADING = "FLAG_SPOT_TRADING",
81
81
  FLAG_SNAPSHOT_CURRENCY_STORE_FIRST = "FLAG_SNAPSHOT_CURRENCY_STORE_FIRST",
82
- FLAG_ENABLE_POSITION_HISTORY = "FLAG_ENABLE_POSITION_HISTORY"
82
+ FLAG_ENABLE_POSITION_HISTORY = "FLAG_ENABLE_POSITION_HISTORY",
83
+ FLAG_PUBLISH_PRICE_DATA = "FLAG_PUBLISH_PRICE_DATA",
84
+ FLAG_DEVIATION_PENALTY = "FLAG_DEVIATION_PENALTY"
83
85
  }
84
86
  export declare const EClusterConfigTypeInt: Record<EClusterConfigType, number>;
@@ -165,6 +165,10 @@ var EClusterConfigType;
165
165
  EClusterConfigType["FLAG_SNAPSHOT_CURRENCY_STORE_FIRST"] = "FLAG_SNAPSHOT_CURRENCY_STORE_FIRST";
166
166
  // Gates position history lifecycle accumulation and close publication
167
167
  EClusterConfigType["FLAG_ENABLE_POSITION_HISTORY"] = "FLAG_ENABLE_POSITION_HISTORY";
168
+ // Flag to enable price data publishing from marketdata to cluster
169
+ EClusterConfigType["FLAG_PUBLISH_PRICE_DATA"] = "FLAG_PUBLISH_PRICE_DATA";
170
+ // Flag to control deviation penalty logic on trading checks
171
+ EClusterConfigType["FLAG_DEVIATION_PENALTY"] = "FLAG_DEVIATION_PENALTY";
168
172
  })(EClusterConfigType || (exports.EClusterConfigType = EClusterConfigType = {}));
169
173
  exports.EClusterConfigTypeInt = Object.freeze({
170
174
  [EClusterConfigType.CLIENT_TIER]: 1,
@@ -247,5 +251,7 @@ exports.EClusterConfigTypeInt = Object.freeze({
247
251
  [EClusterConfigType.FLAG_SPLIT_TPSL]: 78,
248
252
  [EClusterConfigType.FLAG_SPOT_TRADING]: 79,
249
253
  [EClusterConfigType.FLAG_SNAPSHOT_CURRENCY_STORE_FIRST]: 80,
250
- [EClusterConfigType.FLAG_ENABLE_POSITION_HISTORY]: 81
254
+ [EClusterConfigType.FLAG_ENABLE_POSITION_HISTORY]: 81,
255
+ [EClusterConfigType.FLAG_PUBLISH_PRICE_DATA]: 82,
256
+ [EClusterConfigType.FLAG_DEVIATION_PENALTY]: 83
251
257
  });
@@ -48,6 +48,7 @@ export declare enum EOrderRejectReason {
48
48
  TPSL_NOT_SUPPORTED_FOR_SPOT_ORDER = "TPSL_NOT_SUPPORTED_FOR_SPOT_ORDER",
49
49
  SPOT_ORDER_NOT_SUPPORTED = "SPOT_ORDER_NOT_SUPPORTED",
50
50
  INSUFFICIENT_BALANCE = "INSUFFICIENT_BALANCE",
51
- SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS = "SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS"
51
+ SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS = "SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS",
52
+ BELOW_MARGIN_WITH_PENALTY_DEVIATION = "BELOW_MARGIN_WITH_PENALTY_DEVIATION"
52
53
  }
53
54
  export declare const EOrderRejectReasonInt: Record<EOrderRejectReason, number>;
@@ -103,6 +103,8 @@ var EOrderRejectReason;
103
103
  EOrderRejectReason["INSUFFICIENT_BALANCE"] = "INSUFFICIENT_BALANCE";
104
104
  // spot trading is blocked during socialized loss (SLOW)
105
105
  EOrderRejectReason["SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS"] = "SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS";
106
+ // the order will bring the sub account below initial margin requirement considering wide price deviation
107
+ EOrderRejectReason["BELOW_MARGIN_WITH_PENALTY_DEVIATION"] = "BELOW_MARGIN_WITH_PENALTY_DEVIATION";
106
108
  })(EOrderRejectReason || (exports.EOrderRejectReason = EOrderRejectReason = {}));
107
109
  exports.EOrderRejectReasonInt = Object.freeze({
108
110
  [EOrderRejectReason.UNSPECIFIED]: 0,
@@ -154,5 +156,6 @@ exports.EOrderRejectReasonInt = Object.freeze({
154
156
  [EOrderRejectReason.TPSL_NOT_SUPPORTED_FOR_SPOT_ORDER]: 47,
155
157
  [EOrderRejectReason.SPOT_ORDER_NOT_SUPPORTED]: 48,
156
158
  [EOrderRejectReason.INSUFFICIENT_BALANCE]: 49,
157
- [EOrderRejectReason.SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS]: 50
159
+ [EOrderRejectReason.SPOT_TRADING_BLOCKED_DURING_SOCIALIZED_LOSS]: 50,
160
+ [EOrderRejectReason.BELOW_MARGIN_WITH_PENALTY_DEVIATION]: 51
158
161
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEDUST_SPOT_BALANCES_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEDUST_SPOT_BALANCES_REQUEST_MAP = void 0;
4
+ const order_1 = require("./order");
5
+ // Schema map for the 'API_DEDUST_SPOT_BALANCES_REQUEST' struct.
6
+ exports.API_DEDUST_SPOT_BALANCES_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ order: ['o', order_1.ORDER_MAP.FULL_TO_LITE]
9
+ },
10
+ LITE_TO_FULL: {
11
+ o: ['order', order_1.ORDER_MAP.LITE_TO_FULL]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_DEDUST_SPOT_BALANCES_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_DEDUST_SPOT_BALANCES_RESPONSE_MAP = void 0;
4
+ const order_1 = require("./order");
5
+ // Schema map for the 'API_DEDUST_SPOT_BALANCES_RESPONSE' struct.
6
+ exports.API_DEDUST_SPOT_BALANCES_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', order_1.ORDER_MAP.FULL_TO_LITE]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', order_1.ORDER_MAP.LITE_TO_FULL]
12
+ }
13
+ });
@@ -6,11 +6,13 @@ exports.API_SNAP_AGGREGATED_ACCOUNT_SUMMARY_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  event_time: 'et',
8
8
  start_interval: 'si',
9
- total_equity: 'te'
9
+ total_equity: 'te',
10
+ total_vault_investments_balance: 'tv'
10
11
  },
11
12
  LITE_TO_FULL: {
12
13
  et: 'event_time',
13
14
  si: 'start_interval',
14
- te: 'total_equity'
15
+ te: 'total_equity',
16
+ tv: 'total_vault_investments_balance'
15
17
  }
16
18
  });
@@ -21,7 +21,8 @@ exports.ORDER_MAP = Object.freeze({
21
21
  is_liquidation: 'il',
22
22
  is_derisk: 'id',
23
23
  builder: 'b',
24
- builder_fee: 'bf'
24
+ builder_fee: 'bf',
25
+ is_spot_dedust: 'is'
25
26
  },
26
27
  LITE_TO_FULL: {
27
28
  oi: 'order_id',
@@ -37,6 +38,7 @@ exports.ORDER_MAP = Object.freeze({
37
38
  il: 'is_liquidation',
38
39
  id: 'is_derisk',
39
40
  b: 'builder',
40
- bf: 'builder_fee'
41
+ bf: 'builder_fee',
42
+ is: 'is_spot_dedust'
41
43
  }
42
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.6.29",
3
+ "version": "1.6.30",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",