@0xmonaco/types 1.1.2 → 1.1.5-develop.129b2c6
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/README.md +1 -3
- package/dist/analytics/builders.d.ts +131 -0
- package/dist/analytics/builders.js +11 -0
- package/dist/analytics/index.d.ts +151 -0
- package/dist/analytics/index.js +27 -0
- package/dist/analytics/wallets.d.ts +193 -0
- package/dist/analytics/wallets.js +16 -0
- package/dist/applications/requests.d.ts +5 -5
- package/dist/buildercodes/index.d.ts +13 -11
- package/dist/buildercodes/responses.d.ts +1 -0
- package/dist/buildercodes/responses.js +10 -0
- package/dist/fees/responses.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/margin-accounts/index.d.ts +7 -2
- package/dist/market/index.d.ts +33 -4
- package/dist/profile/index.d.ts +10 -4
- package/dist/rfq/index.d.ts +44 -0
- package/dist/rfq/index.js +10 -0
- package/dist/rfq/responses.d.ts +282 -0
- package/dist/rfq/responses.js +196 -0
- package/dist/sdk/index.d.ts +25 -2
- package/dist/trading/index.d.ts +19 -4
- package/dist/trading/orders.d.ts +12 -1
- package/dist/trading/responses.d.ts +27 -2
- package/dist/validation/index.d.ts +1 -0
- package/dist/validation/index.js +1 -0
- package/dist/validation/margin-accounts.d.ts +2 -2
- package/dist/validation/margin-accounts.js +5 -5
- package/dist/validation/market.d.ts +7 -0
- package/dist/validation/market.js +4 -0
- package/dist/validation/rfq.d.ts +109 -0
- package/dist/validation/rfq.js +120 -0
- package/dist/validation/trading.d.ts +24 -0
- package/dist/validation/trading.js +55 -42
- package/dist/websocket/base.d.ts +47 -11
- package/dist/websocket/client.d.ts +51 -4
- package/dist/websocket/depth.d.ts +142 -0
- package/dist/websocket/depth.js +13 -0
- package/dist/websocket/events/index.d.ts +2 -0
- package/dist/websocket/events/index.js +2 -0
- package/dist/websocket/events/orderbook-events.d.ts +41 -1
- package/dist/websocket/events/rfq-events.d.ts +145 -0
- package/dist/websocket/events/rfq-events.js +15 -0
- package/dist/websocket/events/rfq-trade-events.d.ts +28 -0
- package/dist/websocket/events/rfq-trade-events.js +6 -0
- package/dist/websocket/events/trade-events.d.ts +53 -0
- package/dist/websocket/index.d.ts +1 -0
- package/dist/websocket/index.js +1 -0
- package/dist/websocket/snapshots.d.ts +23 -1
- package/dist/wire/operations.d.ts +1 -1
- package/dist/wire/operations.js +28 -0
- package/dist/wire/schema.d.ts +5413 -2026
- package/package.json +2 -2
package/dist/wire/operations.js
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* the `schema.ts` wire-types tripwire (MON-1476), so it can never go stale.
|
|
12
12
|
*/
|
|
13
13
|
export const OPERATION_IDS = [
|
|
14
|
+
"accept_rfq",
|
|
14
15
|
"add_follow_position_margin",
|
|
15
16
|
"attach_position_tp_sl",
|
|
16
17
|
"batch_cancel_all",
|
|
@@ -19,8 +20,10 @@ export const OPERATION_IDS = [
|
|
|
19
20
|
"batch_close_all_positions",
|
|
20
21
|
"batch_create_orders",
|
|
21
22
|
"batch_replace_orders",
|
|
23
|
+
"cancel_all_after",
|
|
22
24
|
"cancel_conditional_order",
|
|
23
25
|
"cancel_order",
|
|
26
|
+
"cancel_rfq",
|
|
24
27
|
"cancel_twap_order",
|
|
25
28
|
"check_trader_code_availability",
|
|
26
29
|
"claim_buildercode_rewards",
|
|
@@ -33,6 +36,7 @@ export const OPERATION_IDS = [
|
|
|
33
36
|
"create_challenge",
|
|
34
37
|
"create_delegated_session",
|
|
35
38
|
"create_order",
|
|
39
|
+
"create_rfq",
|
|
36
40
|
"create_sub_account",
|
|
37
41
|
"create_sub_account_limit",
|
|
38
42
|
"create_twap_order",
|
|
@@ -40,6 +44,9 @@ export const OPERATION_IDS = [
|
|
|
40
44
|
"get_application_config",
|
|
41
45
|
"get_application_stats",
|
|
42
46
|
"get_available_collateral",
|
|
47
|
+
"get_builder",
|
|
48
|
+
"get_builder_series",
|
|
49
|
+
"get_builder_totals",
|
|
43
50
|
"get_buildercode_payout_summary",
|
|
44
51
|
"get_buildercode_rewards_balance",
|
|
45
52
|
"get_buildercodes_config",
|
|
@@ -82,20 +89,26 @@ export const OPERATION_IDS = [
|
|
|
82
89
|
"get_position",
|
|
83
90
|
"get_position_pnl_history",
|
|
84
91
|
"get_position_risk",
|
|
92
|
+
"get_protocol_series",
|
|
93
|
+
"get_protocol_totals",
|
|
85
94
|
"get_pulse",
|
|
86
95
|
"get_region_status",
|
|
87
96
|
"get_rewards_balance",
|
|
97
|
+
"get_rfq",
|
|
98
|
+
"get_rfq_capabilities",
|
|
88
99
|
"get_screener",
|
|
89
100
|
"get_self_trade_prevention_default",
|
|
90
101
|
"get_sub_account_limits",
|
|
91
102
|
"get_sweeper_chains",
|
|
92
103
|
"get_sweeper_deposit_status",
|
|
104
|
+
"get_token_custody",
|
|
93
105
|
"get_trade_by_id",
|
|
94
106
|
"get_trade_flow",
|
|
95
107
|
"get_trader_code_info",
|
|
96
108
|
"get_trader_metrics",
|
|
97
109
|
"get_trades",
|
|
98
110
|
"get_trading_pair_by_id",
|
|
111
|
+
"get_treasury_net_fees",
|
|
99
112
|
"get_twap_order",
|
|
100
113
|
"get_twap_order_tca",
|
|
101
114
|
"get_user_balance_by_asset",
|
|
@@ -103,22 +116,27 @@ export const OPERATION_IDS = [
|
|
|
103
116
|
"get_user_movements",
|
|
104
117
|
"get_user_profile",
|
|
105
118
|
"get_user_trades",
|
|
119
|
+
"get_wallet_summary",
|
|
106
120
|
"get_withdrawal",
|
|
107
121
|
"health_check",
|
|
108
122
|
"initiate_withdrawal",
|
|
109
123
|
"list_all_funding_history",
|
|
124
|
+
"list_all_liquidation_events",
|
|
110
125
|
"list_application_balances",
|
|
111
126
|
"list_application_movements",
|
|
112
127
|
"list_application_orders",
|
|
113
128
|
"list_application_users",
|
|
114
129
|
"list_builder_fee_changes",
|
|
130
|
+
"list_builder_leaderboard",
|
|
115
131
|
"list_buildercode_payouts",
|
|
132
|
+
"list_builders",
|
|
116
133
|
"list_conditional_orders",
|
|
117
134
|
"list_delegated_agent_owners",
|
|
118
135
|
"list_delegated_agents",
|
|
119
136
|
"list_follow_leader_positions",
|
|
120
137
|
"list_funding_history",
|
|
121
138
|
"list_funding_payments",
|
|
139
|
+
"list_insurance_funds",
|
|
122
140
|
"list_invite_codes",
|
|
123
141
|
"list_lead_trader_closed_trades",
|
|
124
142
|
"list_lead_trader_open_positions",
|
|
@@ -126,6 +144,7 @@ export const OPERATION_IDS = [
|
|
|
126
144
|
"list_liquidation_events",
|
|
127
145
|
"list_managed_market_assignments",
|
|
128
146
|
"list_margin_accounts",
|
|
147
|
+
"list_market_volumes",
|
|
129
148
|
"list_my_followers",
|
|
130
149
|
"list_my_follows",
|
|
131
150
|
"list_pending_withdrawals",
|
|
@@ -133,9 +152,15 @@ export const OPERATION_IDS = [
|
|
|
133
152
|
"list_positions",
|
|
134
153
|
"list_sub_accounts_with_balances",
|
|
135
154
|
"list_sweeper_deposits",
|
|
155
|
+
"list_token_custody",
|
|
156
|
+
"list_trades",
|
|
136
157
|
"list_trading_pairs",
|
|
137
158
|
"list_twap_order_slices",
|
|
138
159
|
"list_twap_orders",
|
|
160
|
+
"list_vault_deposits",
|
|
161
|
+
"list_vault_withdrawals",
|
|
162
|
+
"list_wallet_leaderboard",
|
|
163
|
+
"list_wallet_liquidations",
|
|
139
164
|
"mint_tokens",
|
|
140
165
|
"preview_follow",
|
|
141
166
|
"refresh_managed_market_quotes",
|
|
@@ -143,6 +168,7 @@ export const OPERATION_IDS = [
|
|
|
143
168
|
"register_deposit_address",
|
|
144
169
|
"replace_order",
|
|
145
170
|
"request_invite_codes",
|
|
171
|
+
"respond_rfq_last_look",
|
|
146
172
|
"revoke_delegated_agent",
|
|
147
173
|
"revoke_session",
|
|
148
174
|
"set_builder_fee",
|
|
@@ -166,5 +192,7 @@ export const OPERATION_IDS = [
|
|
|
166
192
|
"upsert_delegated_agent",
|
|
167
193
|
"upsert_follow",
|
|
168
194
|
"upsert_lead_trader",
|
|
195
|
+
"upsert_rfq_quote",
|
|
169
196
|
"verify_signature",
|
|
197
|
+
"withdraw_rfq_quote",
|
|
170
198
|
];
|