@grvt/client 1.6.2 → 1.6.4

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 (41) hide show
  1. package/TDG/index.d.ts +6 -1
  2. package/TDG/index.js +32 -0
  3. package/interfaces/codegen/data.interface.d.ts +73 -1
  4. package/interfaces/codegen/enums/cluster-config-type.d.ts +4 -1
  5. package/interfaces/codegen/enums/cluster-config-type.js +10 -1
  6. package/interfaces/codegen/schema-maps/api_conflict_epoch_band_parameter_response.d.ts +2 -0
  7. package/interfaces/codegen/schema-maps/api_conflict_epoch_band_parameter_response.js +13 -0
  8. package/interfaces/codegen/schema-maps/api_create_account_multiplier_request.d.ts +2 -0
  9. package/interfaces/codegen/schema-maps/api_create_account_multiplier_request.js +22 -0
  10. package/interfaces/codegen/schema-maps/api_create_account_multiplier_response.d.ts +2 -0
  11. package/interfaces/codegen/schema-maps/api_create_account_multiplier_response.js +12 -0
  12. package/interfaces/codegen/schema-maps/api_create_epoch_band_parameter_request.d.ts +2 -0
  13. package/interfaces/codegen/schema-maps/api_create_epoch_band_parameter_request.js +22 -0
  14. package/interfaces/codegen/schema-maps/api_create_epoch_band_parameter_response.d.ts +2 -0
  15. package/interfaces/codegen/schema-maps/api_create_epoch_band_parameter_response.js +12 -0
  16. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_request.d.ts +2 -0
  17. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_request.js +14 -0
  18. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_response.d.ts +2 -0
  19. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_response.js +14 -0
  20. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_request.d.ts +2 -0
  21. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_request.js +14 -0
  22. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_response.d.ts +2 -0
  23. package/interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_response.js +14 -0
  24. package/interfaces/codegen/schema-maps/api_find_conflict_account_multipler_response.d.ts +2 -0
  25. package/interfaces/codegen/schema-maps/api_find_conflict_account_multipler_response.js +13 -0
  26. package/interfaces/codegen/schema-maps/api_internal_batch_create_account_multiplier_request.d.ts +2 -0
  27. package/interfaces/codegen/schema-maps/api_internal_batch_create_account_multiplier_request.js +19 -0
  28. package/interfaces/codegen/schema-maps/api_internal_batch_create_account_multiplier_response.d.ts +2 -0
  29. package/interfaces/codegen/schema-maps/api_internal_batch_create_account_multiplier_response.js +12 -0
  30. package/interfaces/codegen/schema-maps/api_position_transfer_request.d.ts +2 -0
  31. package/interfaces/codegen/schema-maps/api_position_transfer_request.js +15 -0
  32. package/interfaces/codegen/schema-maps/api_position_transfer_response.d.ts +2 -0
  33. package/interfaces/codegen/schema-maps/api_position_transfer_response.js +15 -0
  34. package/interfaces/codegen/schema-maps/batch_create_account_multiplier_element.d.ts +2 -0
  35. package/interfaces/codegen/schema-maps/batch_create_account_multiplier_element.js +16 -0
  36. package/interfaces/codegen/schema-maps/cev_alloc_stats_acc_overview.js +8 -4
  37. package/interfaces/codegen/schema-maps/cev_alloc_stats_vault_level.js +4 -2
  38. package/interfaces/codegen/schema-maps/order_metadata.js +4 -2
  39. package/interfaces/codegen/schema-maps/vault_investor_summary.js +4 -2
  40. package/interfaces/codegen/schema-maps/vault_redemption.js +4 -2
  41. package/package.json +1 -1
package/TDG/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { AxiosRequestConfig } from 'axios';
2
- import type { IAckResponse, IApiAggregatedAccountSummaryResponse, IApiCancelAllOrdersRequest, IApiCancelAllOrdersResponse, IApiCancelOrderRequest, IApiCancelOrderResponse, IApiCreateBulkOrdersRequest, IApiCreateBulkOrdersResponse, IApiCreateOrderRequest, IApiCreateOrderResponse, IApiCrossExchVaultAttestEquityRequest, IApiCrossExchVaultInvestCancelRequest, IApiCrossExchVaultTriggerRedemptionRequest, IApiCrossExchVaultViewInvestmentQueueRequest, IApiCrossExchVaultViewInvestmentQueueResponse, IApiCrossExchVaultViewPendingInvestmentRequest, IApiCrossExchVaultViewPendingInvestmentResponse, IApiDedustPositionRequest, IApiDedustPositionResponse, IApiDepositHistoryRequest, IApiDepositHistoryResponse, IApiFillHistoryRequest, IApiFillHistoryResponse, IApiFundingAccountSummaryResponse, IApiFundingPaymentHistoryRequest, IApiFundingPaymentHistoryResponse, IApiGetAllInitialLeverageRequest, IApiGetAllInitialLeverageResponse, IApiGetMarginTiersResponse, IApiGetOrderGroupRequest, IApiGetOrderGroupResponse, IApiGetOrderRequest, IApiGetOrderResponse, IApiOpenOrdersRequest, IApiOpenOrdersResponse, IApiOrderHistoryRequest, IApiOrderHistoryResponse, IApiPositionsRequest, IApiPositionsResponse, IApiPreDepositCheckRequest, IApiPreDepositCheckResponse, IApiPreOrderCheckRequest, IApiPreOrderCheckResponse, IApiQueryListFundingAccountSummaryRequest, IApiQueryListFundingAccountSummaryResponse, IApiQueryListSubAccountSummaryRequest, IApiQueryListSubAccountSummaryResponse, IApiQueryTradingPerformanceRequest, IApiQueryTradingPerformanceResponse, IApiQueryTradingPerformanceTrendRequest, IApiQueryTradingPerformanceTrendResponse, IApiQueryVaultInvestorHistoryRequest, IApiQueryVaultInvestorHistoryResponse, IApiQueryVaultManagerInvestorHistoryRequest, IApiQueryVaultManagerInvestorHistoryResponse, IApiReplaceOrdersRequest, IApiReplaceOrdersResponse, IApiSetInitialLeverageRequest, IApiSetInitialLeverageResponse, IApiSocializedLossStatusResponse, 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, IApiAggregatedAccountSummaryResponse, 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, IApiGetMarginTiersResponse, IApiGetOrderGroupRequest, IApiGetOrderGroupResponse, IApiGetOrderRequest, IApiGetOrderResponse, IApiOpenOrdersRequest, IApiOpenOrdersResponse, IApiOrderHistoryRequest, IApiOrderHistoryResponse, IApiPositionsRequest, IApiPositionsResponse, IApiPreDepositCheckRequest, IApiPreDepositCheckResponse, IApiPreOrderCheckRequest, IApiPreOrderCheckResponse, IApiQueryListFundingAccountSummaryRequest, IApiQueryListFundingAccountSummaryResponse, IApiQueryListSubAccountSummaryRequest, IApiQueryListSubAccountSummaryResponse, IApiQueryTradingPerformanceRequest, IApiQueryTradingPerformanceResponse, IApiQueryTradingPerformanceTrendRequest, IApiQueryTradingPerformanceTrendResponse, IApiQueryVaultInvestorHistoryRequest, IApiQueryVaultInvestorHistoryResponse, IApiQueryVaultManagerInvestorHistoryRequest, IApiQueryVaultManagerInvestorHistoryResponse, IApiReplaceOrdersRequest, IApiReplaceOrdersResponse, IApiSetInitialLeverageRequest, IApiSetInitialLeverageResponse, IApiSocializedLossStatusResponse, 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;
@@ -131,4 +131,9 @@ export declare class TDG {
131
131
  cevInvest(payload: IApiVaultInvestRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
132
132
  cevInvestCancel(payload: IApiCrossExchVaultInvestCancelRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
133
133
  cevViewPendingInvestment(payload: IApiCrossExchVaultViewPendingInvestmentRequest, config?: AxiosRequestConfig): Promise<IApiCrossExchVaultViewPendingInvestmentResponse>;
134
+ cevGetInvestorAllocationStats(payload?: {}, config?: AxiosRequestConfig): Promise<IApiCrossExchVaultGetInvestorAllocationStatsResponse>;
135
+ cevPreInternalTransferCheck(payload: IApiCrossExchVaultPreInternalTransferCheckRequest, config?: AxiosRequestConfig): Promise<IApiCrossExchVaultPreInternalTransferCheckResponse>;
136
+ cevPreWithdrawCheck(payload: IApiCrossExchVaultPreWithdrawCheckRequest, config?: AxiosRequestConfig): Promise<IApiCrossExchVaultPreWithdrawCheckResponse>;
137
+ cevLock(payload: IApiCrossExchVaultLockRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
138
+ cevUnlock(payload: IApiCrossExchVaultUnlockRequest, config?: AxiosRequestConfig): Promise<IAckResponse>;
134
139
  }
package/TDG/index.js CHANGED
@@ -13,8 +13,15 @@ const api_create_bulk_orders_response_1 = require("../interfaces/codegen/schema-
13
13
  const api_create_order_request_1 = require("../interfaces/codegen/schema-maps/api_create_order_request");
14
14
  const api_create_order_response_1 = require("../interfaces/codegen/schema-maps/api_create_order_response");
15
15
  const api_cross_exch_vault_attest_equity_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_attest_equity_request");
16
+ const api_cross_exch_vault_get_investor_allocation_stats_response_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_get_investor_allocation_stats_response");
16
17
  const api_cross_exch_vault_invest_cancel_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_invest_cancel_request");
18
+ const api_cross_exch_vault_lock_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_lock_request");
19
+ const api_cross_exch_vault_pre_internal_transfer_check_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_request");
20
+ const api_cross_exch_vault_pre_internal_transfer_check_response_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_pre_internal_transfer_check_response");
21
+ const api_cross_exch_vault_pre_withdraw_check_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_request");
22
+ const api_cross_exch_vault_pre_withdraw_check_response_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_pre_withdraw_check_response");
17
23
  const api_cross_exch_vault_trigger_redemption_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_trigger_redemption_request");
24
+ const api_cross_exch_vault_unlock_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_unlock_request");
18
25
  const api_cross_exch_vault_view_investment_queue_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_request");
19
26
  const api_cross_exch_vault_view_investment_queue_response_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_view_investment_queue_response");
20
27
  const api_cross_exch_vault_view_pending_investment_request_1 = require("../interfaces/codegen/schema-maps/api_cross_exch_vault_view_pending_investment_request");
@@ -408,5 +415,30 @@ class TDG {
408
415
  return utils_1.Utils.schemaMap(response.data, api_cross_exch_vault_view_pending_investment_response_1.API_CROSS_EXCH_VAULT_VIEW_PENDING_INVESTMENT_RESPONSE_MAP.LITE_TO_FULL);
409
416
  }).catch(utils_1.Utils.coverApiError);
410
417
  }
418
+ cevGetInvestorAllocationStats(payload = {}, config) {
419
+ return this._axios.post(this._liteUrl + '/cev_get_investor_allocation_stats', payload, config).then((response) => {
420
+ return utils_1.Utils.schemaMap(response.data, api_cross_exch_vault_get_investor_allocation_stats_response_1.API_CROSS_EXCH_VAULT_GET_INVESTOR_ALLOCATION_STATS_RESPONSE_MAP.LITE_TO_FULL);
421
+ }).catch(utils_1.Utils.coverApiError);
422
+ }
423
+ cevPreInternalTransferCheck(payload, config) {
424
+ return this._axios.post(this._liteUrl + '/cev_pre_internal_transfer_check', utils_1.Utils.schemaMap(payload, api_cross_exch_vault_pre_internal_transfer_check_request_1.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
425
+ return utils_1.Utils.schemaMap(response.data, api_cross_exch_vault_pre_internal_transfer_check_response_1.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_RESPONSE_MAP.LITE_TO_FULL);
426
+ }).catch(utils_1.Utils.coverApiError);
427
+ }
428
+ cevPreWithdrawCheck(payload, config) {
429
+ return this._axios.post(this._liteUrl + '/cev_pre_withdraw_check', utils_1.Utils.schemaMap(payload, api_cross_exch_vault_pre_withdraw_check_request_1.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
430
+ return utils_1.Utils.schemaMap(response.data, api_cross_exch_vault_pre_withdraw_check_response_1.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_RESPONSE_MAP.LITE_TO_FULL);
431
+ }).catch(utils_1.Utils.coverApiError);
432
+ }
433
+ cevLock(payload, config) {
434
+ return this._axios.post(this._liteUrl + '/cev_lock', utils_1.Utils.schemaMap(payload, api_cross_exch_vault_lock_request_1.API_CROSS_EXCH_VAULT_LOCK_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
435
+ return utils_1.Utils.schemaMap(response.data, ack_response_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
436
+ }).catch(utils_1.Utils.coverApiError);
437
+ }
438
+ cevUnlock(payload, config) {
439
+ return this._axios.post(this._liteUrl + '/cev_unlock', utils_1.Utils.schemaMap(payload, api_cross_exch_vault_unlock_request_1.API_CROSS_EXCH_VAULT_UNLOCK_REQUEST_MAP.FULL_TO_LITE, true), config).then((response) => {
440
+ return utils_1.Utils.schemaMap(response.data, ack_response_1.ACK_RESPONSE_MAP.LITE_TO_FULL);
441
+ }).catch(utils_1.Utils.coverApiError);
442
+ }
411
443
  }
412
444
  exports.TDG = TDG;
@@ -127,12 +127,37 @@ export interface IApiClusterConfig {
127
127
  config_name?: string;
128
128
  config_json_value?: string;
129
129
  }
130
+ export interface IApiConflictEpochBandParameterResponse {
131
+ result?: IRewardEpochBandParameter[];
132
+ }
133
+ export interface IApiCreateAccountMultiplierRequest {
134
+ metric?: EMetricType;
135
+ off_chain_account_id?: string;
136
+ account_type?: EAccountType;
137
+ multiplier?: number;
138
+ effective_epoch_start?: number;
139
+ effective_epoch_end?: number;
140
+ }
141
+ export interface IApiCreateAccountMultiplierResponse {
142
+ id?: string;
143
+ }
130
144
  export interface IApiCreateBulkOrdersRequest {
131
145
  orders?: IOrder[];
132
146
  }
133
147
  export interface IApiCreateBulkOrdersResponse {
134
148
  result?: IOrder[];
135
149
  }
150
+ export interface IApiCreateEpochBandParameterRequest {
151
+ effective_epoch_start?: number;
152
+ effective_epoch_end?: number;
153
+ metric?: EMetricType;
154
+ band_range?: string[];
155
+ band_steepness?: number[];
156
+ is_highest_priority?: boolean;
157
+ }
158
+ export interface IApiCreateEpochBandParameterResponse {
159
+ id?: string;
160
+ }
136
161
  export interface IApiCreateOrderRequest {
137
162
  order?: IOrder;
138
163
  }
@@ -159,6 +184,22 @@ export interface IApiCrossExchVaultInvestCancelRequest {
159
184
  export interface IApiCrossExchVaultLockRequest {
160
185
  cross_exch_vault_id?: string;
161
186
  }
187
+ export interface IApiCrossExchVaultPreInternalTransferCheckRequest {
188
+ main_account_id?: string;
189
+ currency?: string;
190
+ }
191
+ export interface IApiCrossExchVaultPreInternalTransferCheckResponse {
192
+ internal_transfer_allowance_num_tokens?: string;
193
+ currency?: string;
194
+ }
195
+ export interface IApiCrossExchVaultPreWithdrawCheckRequest {
196
+ main_account_id?: string;
197
+ currency?: string;
198
+ }
199
+ export interface IApiCrossExchVaultPreWithdrawCheckResponse {
200
+ withdrawal_allowance_num_tokens?: string;
201
+ currency?: string;
202
+ }
162
203
  export interface IApiCrossExchVaultTriggerRedemptionRequest {
163
204
  main_account_id?: string;
164
205
  vault_id?: string;
@@ -260,6 +301,9 @@ export interface IApiFindAccountMultiplierRequest {
260
301
  export interface IApiFindAccountMultiplierResponse {
261
302
  result?: IRewardAccountMultiplier[];
262
303
  }
304
+ export interface IApiFindConflictAccountMultiplerResponse {
305
+ result?: IRewardAccountMultiplier[];
306
+ }
263
307
  export interface IApiFindEcosystemEpochMetricResponse {
264
308
  metric?: IEcosystemMetric;
265
309
  rank?: number;
@@ -523,6 +567,15 @@ export interface IApiInactiveEpochBandParameterRequest {
523
567
  export interface IApiInactiveEpochBandParameterResponse {
524
568
  ids?: string[];
525
569
  }
570
+ export interface IApiInternalBatchCreateAccountMultiplierRequest {
571
+ metric?: EMetricType;
572
+ multiplers?: IBatchCreateAccountMultiplierElement[];
573
+ effective_epoch_start?: number;
574
+ effective_epoch_end?: number;
575
+ }
576
+ export interface IApiInternalBatchCreateAccountMultiplierResponse {
577
+ ids?: string[];
578
+ }
526
579
  export interface IApiLatestSnapSubAccountsRequest {
527
580
  sub_account_i_ds?: string[];
528
581
  }
@@ -582,6 +635,14 @@ export interface IApiOrderbookLevelsRequest {
582
635
  export interface IApiOrderbookLevelsResponse {
583
636
  result?: IOrderbookLevels;
584
637
  }
638
+ export interface IApiPositionTransferRequest {
639
+ maker_order?: IOrder;
640
+ taker_order?: IOrder;
641
+ }
642
+ export interface IApiPositionTransferResponse {
643
+ maker_order?: IOrder;
644
+ taker_order?: IOrder;
645
+ }
585
646
  export interface IApiPositionsRequest {
586
647
  sub_account_id?: string;
587
648
  kind?: EKind[];
@@ -1059,18 +1120,26 @@ export interface IAssetSpecificPriceProtectionBand {
1059
1120
  asset?: string;
1060
1121
  band?: IPriceProtectionBand;
1061
1122
  }
1123
+ export interface IBatchCreateAccountMultiplierElement {
1124
+ off_chain_account_id?: string;
1125
+ account_type?: EAccountType;
1126
+ multiplier?: number;
1127
+ }
1062
1128
  export interface ICEVAllocStatsAccOverview {
1063
1129
  total_allocation?: string;
1064
1130
  total_invested?: string;
1131
+ total_pending_invest?: string;
1065
1132
  allowance?: string;
1066
1133
  lifetime_trading_volume?: string;
1067
- allocation_percent_centi_beeps?: string;
1134
+ allocation_percent?: string;
1068
1135
  allocation_max_cap?: string;
1136
+ total_pending_redeem?: string;
1069
1137
  }
1070
1138
  export interface ICEVAllocStatsVaultLevel {
1071
1139
  vault_id?: string;
1072
1140
  invested_size?: string;
1073
1141
  pending_invest_size?: string;
1142
+ pending_redeem_size?: string;
1074
1143
  }
1075
1144
  export interface ICancelStatusFeed {
1076
1145
  sub_account_id?: string;
@@ -1461,6 +1530,7 @@ export interface IOrderMetadata {
1461
1530
  broker?: EBrokerTag;
1462
1531
  source?: ESource;
1463
1532
  is_ecn?: boolean;
1533
+ is_position_transfer?: boolean;
1464
1534
  }
1465
1535
  export interface IOrderState {
1466
1536
  status?: EOrderStatus;
@@ -1932,6 +2002,7 @@ export interface IVaultInvestorSummary {
1932
2002
  all_time_realized_pnl?: string;
1933
2003
  pending_redemption?: IVaultRedemption;
1934
2004
  can_burn?: boolean;
2005
+ is_vault_cross_exchange?: boolean;
1935
2006
  }
1936
2007
  export interface IVaultLpInfo {
1937
2008
  lp_token_balance?: string;
@@ -1969,6 +2040,7 @@ export interface IVaultRedemption {
1969
2040
  request_valuation?: string;
1970
2041
  request_time?: string;
1971
2042
  max_redemption_period_timestamp?: string;
2043
+ cancel_blocked?: boolean;
1972
2044
  }
1973
2045
  export interface IVaultRedemptionRequest {
1974
2046
  request_time?: string;
@@ -36,6 +36,9 @@ export declare enum EClusterConfigType {
36
36
  FLAG_CALCULATE_TAKER_TRADE_LEVEL_REALIZED_PNL = "FLAG_CALCULATE_TAKER_TRADE_LEVEL_REALIZED_PNL",
37
37
  CONFIGURE_CEV_ACCESS_TIERS = "CONFIGURE_CEV_ACCESS_TIERS",
38
38
  FLAG_ENABLE_VAULT_LOCK = "FLAG_ENABLE_VAULT_LOCK",
39
- FLAG_ENABLE_MSG_TIMER = "FLAG_ENABLE_MSG_TIMER"
39
+ FLAG_ENABLE_MSG_TIMER = "FLAG_ENABLE_MSG_TIMER",
40
+ FLAG_ENABLE_POSITION_TRANSFER = "FLAG_ENABLE_POSITION_TRANSFER",
41
+ FLAG_ENABLE_TOTAL_EQUITY_WITH_UNREALIZED_FUNDING_PAYMENT_ON_SNAP_SUB_ACCOUNT = "FLAG_ENABLE_TOTAL_EQUITY_WITH_UNREALIZED_FUNDING_PAYMENT_ON_SNAP_SUB_ACCOUNT",
42
+ FLAG_ENABLE_SCRIBE_LOCAL_FILE_STORAGE = "FLAG_ENABLE_SCRIBE_LOCAL_FILE_STORAGE"
40
43
  }
41
44
  export declare const EClusterConfigTypeInt: Record<EClusterConfigType, number>;
@@ -79,6 +79,12 @@ var EClusterConfigType;
79
79
  EClusterConfigType["FLAG_ENABLE_VAULT_LOCK"] = "FLAG_ENABLE_VAULT_LOCK";
80
80
  // Flag to enable MsgTimer in all services
81
81
  EClusterConfigType["FLAG_ENABLE_MSG_TIMER"] = "FLAG_ENABLE_MSG_TIMER";
82
+ // Flag to enable position transfer
83
+ EClusterConfigType["FLAG_ENABLE_POSITION_TRANSFER"] = "FLAG_ENABLE_POSITION_TRANSFER";
84
+ // Flag to enable total equity with unrealized funding payment on snap sub account
85
+ EClusterConfigType["FLAG_ENABLE_TOTAL_EQUITY_WITH_UNREALIZED_FUNDING_PAYMENT_ON_SNAP_SUB_ACCOUNT"] = "FLAG_ENABLE_TOTAL_EQUITY_WITH_UNREALIZED_FUNDING_PAYMENT_ON_SNAP_SUB_ACCOUNT";
86
+ // Flag to let scribe write to local file storage
87
+ EClusterConfigType["FLAG_ENABLE_SCRIBE_LOCAL_FILE_STORAGE"] = "FLAG_ENABLE_SCRIBE_LOCAL_FILE_STORAGE";
82
88
  })(EClusterConfigType || (exports.EClusterConfigType = EClusterConfigType = {}));
83
89
  exports.EClusterConfigTypeInt = Object.freeze({
84
90
  [EClusterConfigType.CLIENT_TIER]: 1,
@@ -118,5 +124,8 @@ exports.EClusterConfigTypeInt = Object.freeze({
118
124
  [EClusterConfigType.FLAG_CALCULATE_TAKER_TRADE_LEVEL_REALIZED_PNL]: 35,
119
125
  [EClusterConfigType.CONFIGURE_CEV_ACCESS_TIERS]: 36,
120
126
  [EClusterConfigType.FLAG_ENABLE_VAULT_LOCK]: 37,
121
- [EClusterConfigType.FLAG_ENABLE_MSG_TIMER]: 38
127
+ [EClusterConfigType.FLAG_ENABLE_MSG_TIMER]: 38,
128
+ [EClusterConfigType.FLAG_ENABLE_POSITION_TRANSFER]: 39,
129
+ [EClusterConfigType.FLAG_ENABLE_TOTAL_EQUITY_WITH_UNREALIZED_FUNDING_PAYMENT_ON_SNAP_SUB_ACCOUNT]: 40,
130
+ [EClusterConfigType.FLAG_ENABLE_SCRIBE_LOCAL_FILE_STORAGE]: 41
122
131
  });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CONFLICT_EPOCH_BAND_PARAMETER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CONFLICT_EPOCH_BAND_PARAMETER_RESPONSE_MAP = void 0;
4
+ const reward_epoch_band_parameter_1 = require("./reward_epoch_band_parameter");
5
+ // Schema map for the 'API_CONFLICT_EPOCH_BAND_PARAMETER_RESPONSE' struct.
6
+ exports.API_CONFLICT_EPOCH_BAND_PARAMETER_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_epoch_band_parameter_1.REWARD_EPOCH_BAND_PARAMETER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_ACCOUNT_MULTIPLIER_REQUEST' struct.
5
+ exports.API_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ metric: 'm',
8
+ off_chain_account_id: 'oc',
9
+ account_type: 'at',
10
+ multiplier: 'm1',
11
+ effective_epoch_start: 'ee',
12
+ effective_epoch_end: 'ee1'
13
+ },
14
+ LITE_TO_FULL: {
15
+ m: 'metric',
16
+ oc: 'off_chain_account_id',
17
+ at: 'account_type',
18
+ m1: 'multiplier',
19
+ ee: 'effective_epoch_start',
20
+ ee1: 'effective_epoch_end'
21
+ }
22
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_ACCOUNT_MULTIPLIER_RESPONSE' struct.
5
+ exports.API_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_BAND_PARAMETER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_BAND_PARAMETER_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_EPOCH_BAND_PARAMETER_REQUEST' struct.
5
+ exports.API_CREATE_EPOCH_BAND_PARAMETER_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ effective_epoch_start: 'ee',
8
+ effective_epoch_end: 'ee1',
9
+ metric: 'm',
10
+ band_range: 'br',
11
+ band_steepness: 'bs',
12
+ is_highest_priority: 'ih'
13
+ },
14
+ LITE_TO_FULL: {
15
+ ee: 'effective_epoch_start',
16
+ ee1: 'effective_epoch_end',
17
+ m: 'metric',
18
+ br: 'band_range',
19
+ bs: 'band_steepness',
20
+ ih: 'is_highest_priority'
21
+ }
22
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CREATE_EPOCH_BAND_PARAMETER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CREATE_EPOCH_BAND_PARAMETER_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CREATE_EPOCH_BAND_PARAMETER_RESPONSE' struct.
5
+ exports.API_CREATE_EPOCH_BAND_PARAMETER_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ id: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'id'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ currency: 'c'
9
+ },
10
+ LITE_TO_FULL: {
11
+ ma: 'main_account_id',
12
+ c: 'currency'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_RESPONSE' struct.
5
+ exports.API_CROSS_EXCH_VAULT_PRE_INTERNAL_TRANSFER_CHECK_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ internal_transfer_allowance_num_tokens: 'it',
8
+ currency: 'c'
9
+ },
10
+ LITE_TO_FULL: {
11
+ it: 'internal_transfer_allowance_num_tokens',
12
+ c: 'currency'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_REQUEST_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_REQUEST' struct.
5
+ exports.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_REQUEST_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ main_account_id: 'ma',
8
+ currency: 'c'
9
+ },
10
+ LITE_TO_FULL: {
11
+ ma: 'main_account_id',
12
+ c: 'currency'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_RESPONSE' struct.
5
+ exports.API_CROSS_EXCH_VAULT_PRE_WITHDRAW_CHECK_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ withdrawal_allowance_num_tokens: 'wa',
8
+ currency: 'c'
9
+ },
10
+ LITE_TO_FULL: {
11
+ wa: 'withdrawal_allowance_num_tokens',
12
+ c: 'currency'
13
+ }
14
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_FIND_CONFLICT_ACCOUNT_MULTIPLER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_FIND_CONFLICT_ACCOUNT_MULTIPLER_RESPONSE_MAP = void 0;
4
+ const reward_account_multiplier_1 = require("./reward_account_multiplier");
5
+ // Schema map for the 'API_FIND_CONFLICT_ACCOUNT_MULTIPLER_RESPONSE' struct.
6
+ exports.API_FIND_CONFLICT_ACCOUNT_MULTIPLER_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ result: ['r', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.FULL_TO_LITE]]
9
+ },
10
+ LITE_TO_FULL: {
11
+ r: ['result', [reward_account_multiplier_1.REWARD_ACCOUNT_MULTIPLIER_MAP.LITE_TO_FULL]]
12
+ }
13
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP = void 0;
4
+ const batch_create_account_multiplier_element_1 = require("./batch_create_account_multiplier_element");
5
+ // Schema map for the 'API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_REQUEST' struct.
6
+ exports.API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ metric: 'm',
9
+ multiplers: ['m1', [batch_create_account_multiplier_element_1.BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT_MAP.FULL_TO_LITE]],
10
+ effective_epoch_start: 'ee',
11
+ effective_epoch_end: 'ee1'
12
+ },
13
+ LITE_TO_FULL: {
14
+ m: 'metric',
15
+ m1: ['multiplers', [batch_create_account_multiplier_element_1.BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT_MAP.LITE_TO_FULL]],
16
+ ee: 'effective_epoch_start',
17
+ ee1: 'effective_epoch_end'
18
+ }
19
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP = void 0;
4
+ // Schema map for the 'API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_RESPONSE' struct.
5
+ exports.API_INTERNAL_BATCH_CREATE_ACCOUNT_MULTIPLIER_RESPONSE_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ ids: 'i'
8
+ },
9
+ LITE_TO_FULL: {
10
+ i: 'ids'
11
+ }
12
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_POSITION_TRANSFER_REQUEST_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_POSITION_TRANSFER_REQUEST_MAP = void 0;
4
+ const order_1 = require("./order");
5
+ // Schema map for the 'API_POSITION_TRANSFER_REQUEST' struct.
6
+ exports.API_POSITION_TRANSFER_REQUEST_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ maker_order: ['mo', order_1.ORDER_MAP.FULL_TO_LITE],
9
+ taker_order: ['to', order_1.ORDER_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ mo: ['maker_order', order_1.ORDER_MAP.LITE_TO_FULL],
13
+ to: ['taker_order', order_1.ORDER_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const API_POSITION_TRANSFER_RESPONSE_MAP: SchemaPairMap;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API_POSITION_TRANSFER_RESPONSE_MAP = void 0;
4
+ const order_1 = require("./order");
5
+ // Schema map for the 'API_POSITION_TRANSFER_RESPONSE' struct.
6
+ exports.API_POSITION_TRANSFER_RESPONSE_MAP = Object.freeze({
7
+ FULL_TO_LITE: {
8
+ maker_order: ['mo', order_1.ORDER_MAP.FULL_TO_LITE],
9
+ taker_order: ['to', order_1.ORDER_MAP.FULL_TO_LITE]
10
+ },
11
+ LITE_TO_FULL: {
12
+ mo: ['maker_order', order_1.ORDER_MAP.LITE_TO_FULL],
13
+ to: ['taker_order', order_1.ORDER_MAP.LITE_TO_FULL]
14
+ }
15
+ });
@@ -0,0 +1,2 @@
1
+ import { type SchemaPairMap } from './types';
2
+ export declare const BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT_MAP: SchemaPairMap;
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT_MAP = void 0;
4
+ // Schema map for the 'BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT' struct.
5
+ exports.BATCH_CREATE_ACCOUNT_MULTIPLIER_ELEMENT_MAP = Object.freeze({
6
+ FULL_TO_LITE: {
7
+ off_chain_account_id: 'oc',
8
+ account_type: 'at',
9
+ multiplier: 'm'
10
+ },
11
+ LITE_TO_FULL: {
12
+ oc: 'off_chain_account_id',
13
+ at: 'account_type',
14
+ m: 'multiplier'
15
+ }
16
+ });
@@ -6,17 +6,21 @@ exports.CEV_ALLOC_STATS_ACC_OVERVIEW_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  total_allocation: 'ta',
8
8
  total_invested: 'ti',
9
+ total_pending_invest: 'tp',
9
10
  allowance: 'a',
10
11
  lifetime_trading_volume: 'lt',
11
- allocation_percent_centi_beeps: 'ap',
12
- allocation_max_cap: 'am'
12
+ allocation_percent: 'ap',
13
+ allocation_max_cap: 'am',
14
+ total_pending_redeem: 'tp1'
13
15
  },
14
16
  LITE_TO_FULL: {
15
17
  ta: 'total_allocation',
16
18
  ti: 'total_invested',
19
+ tp: 'total_pending_invest',
17
20
  a: 'allowance',
18
21
  lt: 'lifetime_trading_volume',
19
- ap: 'allocation_percent_centi_beeps',
20
- am: 'allocation_max_cap'
22
+ ap: 'allocation_percent',
23
+ am: 'allocation_max_cap',
24
+ tp1: 'total_pending_redeem'
21
25
  }
22
26
  });
@@ -6,11 +6,13 @@ exports.CEV_ALLOC_STATS_VAULT_LEVEL_MAP = Object.freeze({
6
6
  FULL_TO_LITE: {
7
7
  vault_id: 'vi',
8
8
  invested_size: 'is',
9
- pending_invest_size: 'pi'
9
+ pending_invest_size: 'pi',
10
+ pending_redeem_size: 'pr'
10
11
  },
11
12
  LITE_TO_FULL: {
12
13
  vi: 'vault_id',
13
14
  is: 'invested_size',
14
- pi: 'pending_invest_size'
15
+ pi: 'pending_invest_size',
16
+ pr: 'pending_redeem_size'
15
17
  }
16
18
  });
@@ -10,7 +10,8 @@ exports.ORDER_METADATA_MAP = Object.freeze({
10
10
  trigger: ['t', trigger_order_metadata_1.TRIGGER_ORDER_METADATA_MAP.FULL_TO_LITE],
11
11
  broker: 'b',
12
12
  source: 's',
13
- is_ecn: 'ie'
13
+ is_ecn: 'ie',
14
+ is_position_transfer: 'ip'
14
15
  },
15
16
  LITE_TO_FULL: {
16
17
  co: 'client_order_id',
@@ -18,6 +19,7 @@ exports.ORDER_METADATA_MAP = Object.freeze({
18
19
  t: ['trigger', trigger_order_metadata_1.TRIGGER_ORDER_METADATA_MAP.LITE_TO_FULL],
19
20
  b: 'broker',
20
21
  s: 'source',
21
- ie: 'is_ecn'
22
+ ie: 'is_ecn',
23
+ ip: 'is_position_transfer'
22
24
  }
23
25
  });
@@ -12,7 +12,8 @@ exports.VAULT_INVESTOR_SUMMARY_MAP = Object.freeze({
12
12
  total_equity: 'te',
13
13
  all_time_realized_pnl: 'at',
14
14
  pending_redemption: ['pr', vault_redemption_1.VAULT_REDEMPTION_MAP.FULL_TO_LITE],
15
- can_burn: 'cb'
15
+ can_burn: 'cb',
16
+ is_vault_cross_exchange: 'iv'
16
17
  },
17
18
  LITE_TO_FULL: {
18
19
  sa: 'sub_account_id',
@@ -22,6 +23,7 @@ exports.VAULT_INVESTOR_SUMMARY_MAP = Object.freeze({
22
23
  te: 'total_equity',
23
24
  at: 'all_time_realized_pnl',
24
25
  pr: ['pending_redemption', vault_redemption_1.VAULT_REDEMPTION_MAP.LITE_TO_FULL],
25
- cb: 'can_burn'
26
+ cb: 'can_burn',
27
+ iv: 'is_vault_cross_exchange'
26
28
  }
27
29
  });
@@ -7,12 +7,14 @@ exports.VAULT_REDEMPTION_MAP = Object.freeze({
7
7
  num_lp_tokens: 'nl',
8
8
  request_valuation: 'rv',
9
9
  request_time: 'rt',
10
- max_redemption_period_timestamp: 'mr'
10
+ max_redemption_period_timestamp: 'mr',
11
+ cancel_blocked: 'cb'
11
12
  },
12
13
  LITE_TO_FULL: {
13
14
  nl: 'num_lp_tokens',
14
15
  rv: 'request_valuation',
15
16
  rt: 'request_time',
16
- mr: 'max_redemption_period_timestamp'
17
+ mr: 'max_redemption_period_timestamp',
18
+ cb: 'cancel_blocked'
17
19
  }
18
20
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grvt/client",
3
- "version": "1.6.2",
3
+ "version": "1.6.4",
4
4
  "description": "Node.js & JavaScript client for GRVT REST APIs & WebSockets",
5
5
  "repository": {
6
6
  "type": "git",