@polyester/sdk 0.7.0 → 0.9.0
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/CHANGELOG.md +24 -0
- package/dist/catalogs/readers.js +1 -1
- package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
- package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
- package/dist/gen/auth/v1/policies_pb.d.ts +69 -341
- package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
- package/dist/gen/auth/v1/policies_pb.js +28 -46
- package/dist/gen/auth/v1/policies_pb.js.map +1 -1
- package/dist/gen/fees/v1/fees_pb.d.ts +0 -6
- package/dist/gen/fees/v1/fees_pb.d.ts.map +1 -1
- package/dist/gen/fees/v1/fees_pb.js +1 -1
- package/dist/gen/fees/v1/fees_pb.js.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +6 -11
- package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts.map +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
- package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.d.ts +3 -3
- package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
- package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/gen/orders/v1/orders_pb.d.ts +43 -12
- package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
- package/dist/gen/orders/v1/orders_pb.js +25 -1
- package/dist/gen/orders/v1/orders_pb.js.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.d.ts +28 -14
- package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
- package/dist/gen/triggers/v1/triggers_pb.js +7 -1
- package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/services/fees/fees.schemas.d.ts +2 -3
- package/dist/services/fees/fees.schemas.d.ts.map +1 -1
- package/dist/services/fees/fees.schemas.js +3 -4
- package/dist/services/fees/fees.schemas.js.map +1 -1
- package/dist/services/market-data/market-data.schemas.js +1 -1
- package/dist/services/market-overview/market-overview.d.ts +1 -1
- package/dist/services/market-overview/market-overview.js +1 -1
- package/dist/services/market-overview/market-overview.js.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.d.ts +20 -7
- package/dist/services/market-overview/market-overview.schemas.d.ts.map +1 -1
- package/dist/services/market-overview/market-overview.schemas.js +8 -6
- package/dist/services/market-overview/market-overview.schemas.js.map +1 -1
- package/dist/services/orderbook/orderbook.d.ts +3 -4
- package/dist/services/orderbook/orderbook.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.js +13 -10
- package/dist/services/orderbook/orderbook.js.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.d.ts +8 -9
- package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
- package/dist/services/orderbook/orderbook.schemas.js +9 -8
- package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
- package/dist/services/orders/order-errors.schemas.d.ts +1 -1
- package/dist/services/orders/orders-batch.schemas.d.ts +42 -42
- package/dist/services/orders/orders-batch.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-batch.schemas.js +7 -8
- package/dist/services/orders/orders-batch.schemas.js.map +1 -1
- package/dist/services/orders/orders-input.schemas.d.ts +29 -29
- package/dist/services/orders/orders-input.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-input.schemas.js +10 -10
- package/dist/services/orders/orders-input.schemas.js.map +1 -1
- package/dist/services/orders/orders-modify.schemas.d.ts +3 -2
- package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
- package/dist/services/orders/orders-modify.schemas.js +5 -3
- package/dist/services/orders/orders-modify.schemas.js.map +1 -1
- package/dist/services/orders/orders-risk.schemas.js +1 -1
- package/dist/services/orders/orders.d.ts +5 -5
- package/dist/services/orders/orders.d.ts.map +1 -1
- package/dist/services/orders/orders.js +8 -8
- package/dist/services/orders/orders.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.d.ts +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js +2 -2
- package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +30 -155
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +5 -53
- package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
- package/dist/services/policies/shared.codecs.js +4 -12
- package/dist/services/policies/shared.codecs.js.map +1 -1
- package/dist/services/policies/shared.d.ts +1 -1
- package/dist/services/policies/shared.d.ts.map +1 -1
- package/dist/services/policies/shared.js +5 -12
- package/dist/services/policies/shared.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +19 -215
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +9 -115
- package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
- package/dist/services/shared.js +4 -1
- package/dist/services/shared.js.map +1 -1
- package/dist/services/subaccounts/subaccounts.schemas.d.ts +1 -1
- package/dist/services/trades/trades.schemas.js +1 -1
- package/dist/services/trailing-oneof-inputs.js +1 -1
- package/dist/services/triggers/trigger-child-order.schemas.js +5 -3
- package/dist/services/triggers/trigger-child-order.schemas.js.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.d.ts +46 -35
- package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
- package/dist/services/triggers/trigger-input.schemas.js +14 -4
- package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.d.ts +4 -5
- package/dist/services/triggers/triggers-output.schemas.d.ts.map +1 -1
- package/dist/services/triggers/triggers-output.schemas.js +3 -3
- package/dist/services/triggers/triggers-output.schemas.js.map +1 -1
- package/dist/services/triggers/triggers.codecs.js +6 -3
- package/dist/services/triggers/triggers.codecs.js.map +1 -1
- package/dist/services/triggers/triggers.d.ts +4 -4
- package/dist/services/triggers/triggers.js +4 -4
- package/dist/services/triggers/triggers.js.map +1 -1
- package/dist/services/triggers/triggers.types.d.ts +3 -3
- package/dist/shared/decimal-surface.js +1 -1
- package/dist/shared/schemas.js +2 -2
- package/dist/shared/schemas.js.map +1 -1
- package/dist/shared/transports.js +6 -1
- package/dist/shared/transports.js.map +1 -1
- package/dist/shared/wire-bounds.js +3 -1
- package/dist/shared/wire-bounds.js.map +1 -1
- package/dist/utils/numbers.js +1 -10
- package/dist/utils/numbers.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,14 +2,14 @@ import { Message } from "@bufbuild/protobuf";
|
|
|
2
2
|
import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
3
3
|
import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
4
4
|
declare namespace policies_pb_d_exports {
|
|
5
|
-
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema,
|
|
5
|
+
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SpotMarketSelector, SpotMarketSelectorSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file auth/v1/policies.proto.
|
|
9
9
|
*/
|
|
10
10
|
declare const file_auth_v1_policies: GenFile;
|
|
11
11
|
/**
|
|
12
|
-
* MarketScope describes how a policy applies to spot markets
|
|
12
|
+
* MarketScope describes how a policy applies to spot markets.
|
|
13
13
|
*
|
|
14
14
|
* @generated from message auth.v1.MarketScope
|
|
15
15
|
*/
|
|
@@ -22,7 +22,7 @@ declare const MarketScopeSchema: GenMessage<MarketScope>;
|
|
|
22
22
|
/**
|
|
23
23
|
* Value is the market-level scope:
|
|
24
24
|
* - ALL: no market-level restriction; new listings are automatically allowed.
|
|
25
|
-
* - ALLOWLIST: only the listed markets
|
|
25
|
+
* - ALLOWLIST: only the listed markets are allowed.
|
|
26
26
|
*
|
|
27
27
|
* @generated from enum auth.v1.MarketScope.Value
|
|
28
28
|
*/
|
|
@@ -34,13 +34,13 @@ declare enum MarketScope_Value {
|
|
|
34
34
|
*/
|
|
35
35
|
UNSPECIFIED = 0,
|
|
36
36
|
/**
|
|
37
|
-
* Allow all current and future markets
|
|
37
|
+
* Allow all current and future markets for this policy.
|
|
38
38
|
*
|
|
39
39
|
* @generated from enum value: ALL = 1;
|
|
40
40
|
*/
|
|
41
41
|
ALL = 1,
|
|
42
42
|
/**
|
|
43
|
-
* Allow only the markets
|
|
43
|
+
* Allow only the markets listed on this policy.
|
|
44
44
|
*
|
|
45
45
|
* @generated from enum value: ALLOWLIST = 2;
|
|
46
46
|
*/
|
|
@@ -51,49 +51,41 @@ declare enum MarketScope_Value {
|
|
|
51
51
|
*/
|
|
52
52
|
declare const MarketScope_ValueSchema: GenEnum<MarketScope_Value>;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* SpotMarketSelector identifies an allowed spot market in policy mutations.
|
|
55
55
|
*
|
|
56
|
-
* @generated from message auth.v1.
|
|
56
|
+
* @generated from message auth.v1.SpotMarketSelector
|
|
57
57
|
*/
|
|
58
|
-
type
|
|
58
|
+
type SpotMarketSelector = Message<"auth.v1.SpotMarketSelector"> & {
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Stable numeric pair ID from GetSpotConfig.
|
|
61
61
|
*
|
|
62
|
-
* @generated from field:
|
|
62
|
+
* @generated from field: uint32 symbol_id = 1;
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
symbolId: number;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
|
-
* Describes the message auth.v1.
|
|
68
|
-
* Use `create(
|
|
67
|
+
* Describes the message auth.v1.SpotMarketSelector.
|
|
68
|
+
* Use `create(SpotMarketSelectorSchema)` to create a new message.
|
|
69
69
|
*/
|
|
70
|
-
declare const
|
|
70
|
+
declare const SpotMarketSelectorSchema: GenMessage<SpotMarketSelector>;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* SpotMarketRule describes an allowed spot market in policy views.
|
|
73
73
|
*
|
|
74
|
-
* @generated from message auth.v1.
|
|
74
|
+
* @generated from message auth.v1.SpotMarketRule
|
|
75
75
|
*/
|
|
76
|
-
type
|
|
77
|
-
/**
|
|
78
|
-
* Perp contract symbol, e.g. "BTCUSDT".
|
|
79
|
-
*
|
|
80
|
-
* @generated from field: string symbol = 1;
|
|
81
|
-
*/
|
|
82
|
-
symbol: string;
|
|
76
|
+
type SpotMarketRule = Message<"auth.v1.SpotMarketRule"> & {
|
|
83
77
|
/**
|
|
84
|
-
*
|
|
85
|
-
* 5, 10, 20, 50, and 100. A value of 0 means no explicit per-contract cap;
|
|
86
|
-
* global_perp_leverage_x and product defaults still apply.
|
|
78
|
+
* Stable numeric pair ID.
|
|
87
79
|
*
|
|
88
|
-
* @generated from field: uint32
|
|
80
|
+
* @generated from field: uint32 symbol_id = 1;
|
|
89
81
|
*/
|
|
90
|
-
|
|
82
|
+
symbolId: number;
|
|
91
83
|
};
|
|
92
84
|
/**
|
|
93
|
-
* Describes the message auth.v1.
|
|
94
|
-
* Use `create(
|
|
85
|
+
* Describes the message auth.v1.SpotMarketRule.
|
|
86
|
+
* Use `create(SpotMarketRuleSchema)` to create a new message.
|
|
95
87
|
*/
|
|
96
|
-
declare const
|
|
88
|
+
declare const SpotMarketRuleSchema: GenMessage<SpotMarketRule>;
|
|
97
89
|
/**
|
|
98
90
|
* SubaccountPolicyView is the public view of a sub-account policy.
|
|
99
91
|
*
|
|
@@ -124,12 +116,6 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
|
|
|
124
116
|
* @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;
|
|
125
117
|
*/
|
|
126
118
|
spotMarkets: SpotMarketRule[];
|
|
127
|
-
/**
|
|
128
|
-
* Allowed perp contracts for this sub-account, with optional per-contract caps.
|
|
129
|
-
*
|
|
130
|
-
* @generated from field: repeated auth.v1.PerpMarketRule perp_markets = 5;
|
|
131
|
-
*/
|
|
132
|
-
perpMarkets: PerpMarketRule[];
|
|
133
119
|
/**
|
|
134
120
|
* Market-level scope for spot markets. When ALL, spot_markets is returned
|
|
135
121
|
* for display only and is not enforced.
|
|
@@ -138,15 +124,8 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
|
|
|
138
124
|
*/
|
|
139
125
|
spotMarketScope: MarketScope_Value;
|
|
140
126
|
/**
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
* @generated from field: auth.v1.MarketScope.Value perp_market_scope = 7;
|
|
145
|
-
*/
|
|
146
|
-
perpMarketScope: MarketScope_Value;
|
|
147
|
-
/**
|
|
148
|
-
* High-level actions enabled for the sub-account. Up to 64 unique explicit
|
|
149
|
-
* actions may be returned.
|
|
127
|
+
* Effective high-level actions enabled for the sub-account. Mandatory
|
|
128
|
+
* read-only actions are always included.
|
|
150
129
|
*
|
|
151
130
|
* @generated from field: repeated auth.v1.PolicyAction actions = 8;
|
|
152
131
|
*/
|
|
@@ -165,17 +144,9 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
|
|
|
165
144
|
* @generated from field: fixed64 source_template_id = 11;
|
|
166
145
|
*/
|
|
167
146
|
sourceTemplateId: bigint;
|
|
168
|
-
/**
|
|
169
|
-
* Maximum total notional exposure (across all positions) allowed for this
|
|
170
|
-
* sub-account, expressed in a canonical quote unit (e.g. micro-USDT).
|
|
171
|
-
* A value of 0 means "no explicit cap".
|
|
172
|
-
*
|
|
173
|
-
* @generated from field: uint64 global_notional_cap = 12;
|
|
174
|
-
*/
|
|
175
|
-
globalNotionalCap: bigint;
|
|
176
147
|
/**
|
|
177
148
|
* Maximum notional size allowed for any single order on this sub-account,
|
|
178
|
-
* expressed in
|
|
149
|
+
* expressed in canonical quote microunits (one unit is 0.000001 USDT).
|
|
179
150
|
* A value of 0 means "no explicit cap".
|
|
180
151
|
*
|
|
181
152
|
* @generated from field: uint64 max_order_notional = 13;
|
|
@@ -189,83 +160,13 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
|
|
|
189
160
|
*/
|
|
190
161
|
maxOpenOrders: number;
|
|
191
162
|
/**
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
*
|
|
195
|
-
* @generated from field: uint32 max_open_positions = 15;
|
|
196
|
-
*/
|
|
197
|
-
maxOpenPositions: number;
|
|
198
|
-
/**
|
|
199
|
-
* Optional global leverage cap across all perp contracts, expressed as a
|
|
200
|
-
* maximum leverage multiple. Supported non-zero values are 1, 3, 5, 10, 20,
|
|
201
|
-
* 50, and 100. A value of 0 means "no explicit global cap"; per-contract
|
|
202
|
-
* caps still apply.
|
|
203
|
-
*
|
|
204
|
-
* @generated from field: uint32 global_perp_leverage_x = 16;
|
|
205
|
-
*/
|
|
206
|
-
globalPerpLeverageX: number;
|
|
207
|
-
/**
|
|
208
|
-
* Maximum total notional this sub-account can transfer out internally per
|
|
209
|
-
* day, expressed in the canonical quote unit (for example, micro-USDT). A
|
|
210
|
-
* value of 0 means "no explicit cap".
|
|
211
|
-
*
|
|
212
|
-
* @generated from field: uint64 daily_internal_transfer_out_limit = 17;
|
|
213
|
-
*/
|
|
214
|
-
dailyInternalTransferOutLimit: bigint;
|
|
215
|
-
/**
|
|
216
|
-
* Maximum total notional this sub-account can withdraw per day, expressed in
|
|
217
|
-
* the canonical quote unit (for example, micro-USDT). A value of 0 means "no
|
|
218
|
-
* explicit cap".
|
|
219
|
-
*
|
|
220
|
-
* @generated from field: uint64 daily_withdraw_limit = 18;
|
|
221
|
-
*/
|
|
222
|
-
dailyWithdrawLimit: bigint;
|
|
223
|
-
/**
|
|
224
|
-
* When true, internal transfers from this sub-account may only target other
|
|
225
|
-
* sub-accounts owned by the same root account. When false, transfers to
|
|
226
|
-
* other owners are allowed (subject to other policy checks).
|
|
227
|
-
*
|
|
228
|
-
* @generated from field: bool internal_transfers_own_only = 19;
|
|
229
|
-
*/
|
|
230
|
-
internalTransfersOwnOnly: boolean;
|
|
231
|
-
/**
|
|
232
|
-
* When true, external withdrawals from this sub-account must target an
|
|
233
|
-
* approved withdrawal destination.
|
|
234
|
-
*
|
|
235
|
-
* @generated from field: bool enforce_withdraw_whitelist = 22;
|
|
236
|
-
*/
|
|
237
|
-
enforceWithdrawWhitelist: boolean;
|
|
238
|
-
/**
|
|
239
|
-
* When true, trading on this sub-account is halted: new orders are rejected
|
|
240
|
-
* regardless of other settings. Existing positions may still be closed by
|
|
241
|
-
* product safety controls.
|
|
163
|
+
* When true, new orders and exposure-increasing order or trigger changes are
|
|
164
|
+
* rejected regardless of other settings. Existing orders and triggers may
|
|
165
|
+
* still be canceled or paused.
|
|
242
166
|
*
|
|
243
167
|
* @generated from field: bool trading_halted = 23;
|
|
244
168
|
*/
|
|
245
169
|
tradingHalted: boolean;
|
|
246
|
-
/**
|
|
247
|
-
* When true, this sub-account is in liquidation-only mode: new exposure
|
|
248
|
-
* cannot be opened, but reduce-only / close-out actions are allowed.
|
|
249
|
-
*
|
|
250
|
-
* @generated from field: bool liquidation_only = 24;
|
|
251
|
-
*/
|
|
252
|
-
liquidationOnly: boolean;
|
|
253
|
-
/**
|
|
254
|
-
* Maximum allowed realized loss for this sub-account over a rolling day
|
|
255
|
-
* before safety controls may halt activity, expressed in the canonical quote
|
|
256
|
-
* unit (for example, micro-USDT). A value of 0 means "no explicit limit".
|
|
257
|
-
*
|
|
258
|
-
* @generated from field: uint64 daily_loss_limit = 25;
|
|
259
|
-
*/
|
|
260
|
-
dailyLossLimit: bigint;
|
|
261
|
-
/**
|
|
262
|
-
* Maximum allowed drawdown from peak equity in basis points (1/100 of a
|
|
263
|
-
* percent) before safety controls may halt activity. A value of 0 means "no
|
|
264
|
-
* explicit limit".
|
|
265
|
-
*
|
|
266
|
-
* @generated from field: uint32 intraday_drawdown_limit_bps = 26;
|
|
267
|
-
*/
|
|
268
|
-
intradayDrawdownLimitBps: number;
|
|
269
170
|
/**
|
|
270
171
|
* When true, this policy is write-protected and requires an elevated approval
|
|
271
172
|
* flow to modify it.
|
|
@@ -416,15 +317,9 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
|
|
|
416
317
|
/**
|
|
417
318
|
* Allowed spot markets for this policy.
|
|
418
319
|
*
|
|
419
|
-
* @generated from field: repeated auth.v1.
|
|
320
|
+
* @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;
|
|
420
321
|
*/
|
|
421
|
-
spotMarkets:
|
|
422
|
-
/**
|
|
423
|
-
* Allowed perp markets and optional per-contract leverage caps.
|
|
424
|
-
*
|
|
425
|
-
* @generated from field: repeated auth.v1.PerpMarketRule perp_markets = 4;
|
|
426
|
-
*/
|
|
427
|
-
perpMarkets: PerpMarketRule[];
|
|
322
|
+
spotMarkets: SpotMarketSelector[];
|
|
428
323
|
/**
|
|
429
324
|
* Market-level scope for spot markets. When unspecified, defaults to ALL.
|
|
430
325
|
*
|
|
@@ -432,30 +327,17 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
|
|
|
432
327
|
*/
|
|
433
328
|
spotMarketScope: MarketScope_Value;
|
|
434
329
|
/**
|
|
435
|
-
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*/
|
|
439
|
-
perpMarketScope: MarketScope_Value;
|
|
440
|
-
/**
|
|
441
|
-
* High-level actions enabled for the sub-account policy. Up to 64 unique
|
|
442
|
-
* explicit actions are allowed.
|
|
330
|
+
* High-level actions enabled for the sub-account policy. Mandatory read-only
|
|
331
|
+
* actions are included when omitted. Up to 64 unique explicit actions are
|
|
332
|
+
* allowed.
|
|
443
333
|
*
|
|
444
334
|
* @generated from field: repeated auth.v1.PolicyAction actions = 7;
|
|
445
335
|
*/
|
|
446
336
|
actions: PolicyAction[];
|
|
447
|
-
/**
|
|
448
|
-
* Maximum total notional exposure across all positions for this sub-account,
|
|
449
|
-
* expressed in the canonical quote unit (for example, micro-USDT). A value of
|
|
450
|
-
* 0 means no explicit cap.
|
|
451
|
-
*
|
|
452
|
-
* @generated from field: uint64 global_notional_cap = 12;
|
|
453
|
-
*/
|
|
454
|
-
globalNotionalCap: bigint;
|
|
455
337
|
/**
|
|
456
338
|
* Maximum notional size for any single order on this sub-account, expressed
|
|
457
|
-
* in
|
|
458
|
-
* no explicit cap.
|
|
339
|
+
* in canonical quote microunits (one unit is 0.000001 USDT). A value of 0
|
|
340
|
+
* means no explicit cap.
|
|
459
341
|
*
|
|
460
342
|
* @generated from field: uint64 max_order_notional = 13;
|
|
461
343
|
*/
|
|
@@ -468,77 +350,13 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
|
|
|
468
350
|
*/
|
|
469
351
|
maxOpenOrders: number;
|
|
470
352
|
/**
|
|
471
|
-
*
|
|
472
|
-
* of
|
|
473
|
-
*
|
|
474
|
-
* @generated from field: uint32 max_open_positions = 15;
|
|
475
|
-
*/
|
|
476
|
-
maxOpenPositions: number;
|
|
477
|
-
/**
|
|
478
|
-
* Optional global leverage cap across all perp contracts. Supported non-zero
|
|
479
|
-
* values are 1, 3, 5, 10, 20, 50, and 100. A value of 0 means no explicit cap.
|
|
480
|
-
*
|
|
481
|
-
* @generated from field: uint32 global_perp_leverage_x = 16;
|
|
482
|
-
*/
|
|
483
|
-
globalPerpLeverageX: number;
|
|
484
|
-
/**
|
|
485
|
-
* Maximum total notional this sub-account can transfer out internally per
|
|
486
|
-
* rolling day, expressed in the canonical quote unit (for example,
|
|
487
|
-
* micro-USDT). A value of 0 means no explicit cap.
|
|
488
|
-
*
|
|
489
|
-
* @generated from field: uint64 daily_internal_transfer_out_limit = 17;
|
|
490
|
-
*/
|
|
491
|
-
dailyInternalTransferOutLimit: bigint;
|
|
492
|
-
/**
|
|
493
|
-
* Maximum total notional this sub-account can withdraw per rolling day,
|
|
494
|
-
* expressed in the canonical quote unit (for example, micro-USDT). A value of
|
|
495
|
-
* 0 means no explicit cap.
|
|
496
|
-
*
|
|
497
|
-
* @generated from field: uint64 daily_withdraw_limit = 18;
|
|
498
|
-
*/
|
|
499
|
-
dailyWithdrawLimit: bigint;
|
|
500
|
-
/**
|
|
501
|
-
* When true, internal transfers from this sub-account may only target other
|
|
502
|
-
* sub-accounts owned by the same root account.
|
|
503
|
-
*
|
|
504
|
-
* @generated from field: bool internal_transfers_own_only = 19;
|
|
505
|
-
*/
|
|
506
|
-
internalTransfersOwnOnly: boolean;
|
|
507
|
-
/**
|
|
508
|
-
* When true, external withdrawals from this sub-account must target an
|
|
509
|
-
* approved withdrawal destination.
|
|
510
|
-
*
|
|
511
|
-
* @generated from field: bool enforce_withdraw_whitelist = 20;
|
|
512
|
-
*/
|
|
513
|
-
enforceWithdrawWhitelist: boolean;
|
|
514
|
-
/**
|
|
515
|
-
* When true, new orders for this sub-account are rejected regardless of other
|
|
516
|
-
* policy settings.
|
|
353
|
+
* When true, new orders and exposure-increasing order or trigger changes are
|
|
354
|
+
* rejected regardless of other settings. Existing orders and triggers may
|
|
355
|
+
* still be canceled or paused.
|
|
517
356
|
*
|
|
518
357
|
* @generated from field: bool trading_halted = 21;
|
|
519
358
|
*/
|
|
520
359
|
tradingHalted: boolean;
|
|
521
|
-
/**
|
|
522
|
-
* When true, this sub-account may only reduce or close existing exposure.
|
|
523
|
-
*
|
|
524
|
-
* @generated from field: bool liquidation_only = 22;
|
|
525
|
-
*/
|
|
526
|
-
liquidationOnly: boolean;
|
|
527
|
-
/**
|
|
528
|
-
* Maximum realized loss over a rolling day before safety controls may halt
|
|
529
|
-
* activity, expressed in the canonical quote unit (for example, micro-USDT).
|
|
530
|
-
* A value of 0 means no explicit limit.
|
|
531
|
-
*
|
|
532
|
-
* @generated from field: uint64 daily_loss_limit = 23;
|
|
533
|
-
*/
|
|
534
|
-
dailyLossLimit: bigint;
|
|
535
|
-
/**
|
|
536
|
-
* Maximum drawdown from peak equity in basis points. One basis point is
|
|
537
|
-
* 1/100 of one percent. A value of 0 means no explicit limit.
|
|
538
|
-
*
|
|
539
|
-
* @generated from field: uint32 intraday_drawdown_limit_bps = 24;
|
|
540
|
-
*/
|
|
541
|
-
intradayDrawdownLimitBps: number;
|
|
542
360
|
/**
|
|
543
361
|
* When true, the policy is write-protected and requires an elevated mutation path.
|
|
544
362
|
*
|
|
@@ -707,8 +525,8 @@ type SetSubaccountPolicyRequest = Message<"auth.v1.SetSubaccountPolicyRequest">
|
|
|
707
525
|
*/
|
|
708
526
|
subaccountId: bigint;
|
|
709
527
|
/**
|
|
710
|
-
* Policy template to attach (opaque ID). A value of 0 clears the
|
|
711
|
-
* and
|
|
528
|
+
* Policy template to attach (opaque ID). A value of 0 clears the explicit
|
|
529
|
+
* binding and restores the system Read Only policy.
|
|
712
530
|
*
|
|
713
531
|
* @generated from field: fixed64 policy_id = 2;
|
|
714
532
|
*/
|
|
@@ -731,8 +549,8 @@ type SetSubaccountPolicyResponse = Message<"auth.v1.SetSubaccountPolicyResponse"
|
|
|
731
549
|
*/
|
|
732
550
|
declare const SetSubaccountPolicyResponseSchema: GenMessage<SetSubaccountPolicyResponse>;
|
|
733
551
|
/**
|
|
734
|
-
* ApiPolicyView is the public view of an API key policy template.
|
|
735
|
-
*
|
|
552
|
+
* ApiPolicyView is the public view of an API key policy template. Its action
|
|
553
|
+
* and spot-market floor cannot exceed an attached sub-account policy.
|
|
736
554
|
*
|
|
737
555
|
* @generated from message auth.v1.ApiPolicyView
|
|
738
556
|
*/
|
|
@@ -761,12 +579,6 @@ type ApiPolicyView = Message<"auth.v1.ApiPolicyView"> & {
|
|
|
761
579
|
* @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;
|
|
762
580
|
*/
|
|
763
581
|
spotMarkets: SpotMarketRule[];
|
|
764
|
-
/**
|
|
765
|
-
* Allowed perp contracts for this API key policy, with optional per-contract caps.
|
|
766
|
-
*
|
|
767
|
-
* @generated from field: repeated auth.v1.PerpMarketRule perp_markets = 5;
|
|
768
|
-
*/
|
|
769
|
-
perpMarkets: PerpMarketRule[];
|
|
770
582
|
/**
|
|
771
583
|
* High-level actions enabled for this API key. Up to 64 unique explicit
|
|
772
584
|
* actions may be returned.
|
|
@@ -778,40 +590,11 @@ type ApiPolicyView = Message<"auth.v1.ApiPolicyView"> & {
|
|
|
778
590
|
* Market-level scope for spot markets. When ALL, spot_markets is returned
|
|
779
591
|
* for display only and is not enforced.
|
|
780
592
|
*
|
|
593
|
+
* --- Template / lifecycle metadata ---
|
|
594
|
+
*
|
|
781
595
|
* @generated from field: auth.v1.MarketScope.Value spot_market_scope = 7;
|
|
782
596
|
*/
|
|
783
597
|
spotMarketScope: MarketScope_Value;
|
|
784
|
-
/**
|
|
785
|
-
* Market-level scope for perp contracts. When ALL, perp_markets is returned
|
|
786
|
-
* for display only and is not enforced.
|
|
787
|
-
*
|
|
788
|
-
* @generated from field: auth.v1.MarketScope.Value perp_market_scope = 8;
|
|
789
|
-
*/
|
|
790
|
-
perpMarketScope: MarketScope_Value;
|
|
791
|
-
/**
|
|
792
|
-
* Maximum notional size allowed for any single order via this key, expressed
|
|
793
|
-
* in a canonical quote unit (e.g. micro-USDT). A value of 0 means "no
|
|
794
|
-
* explicit additional cap" beyond the sub-account policy.
|
|
795
|
-
*
|
|
796
|
-
* @generated from field: uint64 max_order_notional = 13;
|
|
797
|
-
*/
|
|
798
|
-
maxOrderNotional: bigint;
|
|
799
|
-
/**
|
|
800
|
-
* Maximum total notional this API key can transfer out internally per day,
|
|
801
|
-
* expressed in the canonical quote unit (for example, micro-USDT). A value of
|
|
802
|
-
* 0 means no additional cap beyond the sub-account policy.
|
|
803
|
-
*
|
|
804
|
-
* @generated from field: uint64 daily_internal_transfer_out_limit = 17;
|
|
805
|
-
*/
|
|
806
|
-
dailyInternalTransferOutLimit: bigint;
|
|
807
|
-
/**
|
|
808
|
-
* Maximum total notional this API key can withdraw per day, expressed in the
|
|
809
|
-
* canonical quote unit (for example, micro-USDT). A value of 0 means no
|
|
810
|
-
* additional cap beyond the sub-account policy.
|
|
811
|
-
*
|
|
812
|
-
* @generated from field: uint64 daily_withdraw_limit = 18;
|
|
813
|
-
*/
|
|
814
|
-
dailyWithdrawLimit: bigint;
|
|
815
598
|
/**
|
|
816
599
|
* When true, this policy is intended to be reused as a template across
|
|
817
600
|
* multiple API keys. When false, it represents a single-key instance.
|
|
@@ -955,15 +738,9 @@ type ApiPolicySpec = Message<"auth.v1.ApiPolicySpec"> & {
|
|
|
955
738
|
/**
|
|
956
739
|
* Allowed spot markets for this API key policy.
|
|
957
740
|
*
|
|
958
|
-
* @generated from field: repeated auth.v1.
|
|
741
|
+
* @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;
|
|
959
742
|
*/
|
|
960
|
-
spotMarkets:
|
|
961
|
-
/**
|
|
962
|
-
* Allowed perp markets and optional per-contract leverage caps.
|
|
963
|
-
*
|
|
964
|
-
* @generated from field: repeated auth.v1.PerpMarketRule perp_markets = 4;
|
|
965
|
-
*/
|
|
966
|
-
perpMarkets: PerpMarketRule[];
|
|
743
|
+
spotMarkets: SpotMarketSelector[];
|
|
967
744
|
/**
|
|
968
745
|
* Market-level scope for spot markets. When unspecified, defaults to ALL.
|
|
969
746
|
*
|
|
@@ -971,42 +748,12 @@ type ApiPolicySpec = Message<"auth.v1.ApiPolicySpec"> & {
|
|
|
971
748
|
*/
|
|
972
749
|
spotMarketScope: MarketScope_Value;
|
|
973
750
|
/**
|
|
974
|
-
*
|
|
975
|
-
*
|
|
976
|
-
* @generated from field: auth.v1.MarketScope.Value perp_market_scope = 6;
|
|
977
|
-
*/
|
|
978
|
-
perpMarketScope: MarketScope_Value;
|
|
979
|
-
/**
|
|
980
|
-
* High-level actions enabled for the API key policy. Up to 64 unique explicit
|
|
981
|
-
* actions are allowed.
|
|
751
|
+
* High-level actions enabled for the API key policy. An empty list grants no
|
|
752
|
+
* access. Up to 64 unique explicit actions are allowed.
|
|
982
753
|
*
|
|
983
754
|
* @generated from field: repeated auth.v1.PolicyAction actions = 7;
|
|
984
755
|
*/
|
|
985
756
|
actions: PolicyAction[];
|
|
986
|
-
/**
|
|
987
|
-
* Maximum notional size for any single order submitted with this API key,
|
|
988
|
-
* expressed in the canonical quote unit (for example, micro-USDT). A value of
|
|
989
|
-
* 0 means no additional cap beyond the sub-account policy.
|
|
990
|
-
*
|
|
991
|
-
* @generated from field: uint64 max_order_notional = 13;
|
|
992
|
-
*/
|
|
993
|
-
maxOrderNotional: bigint;
|
|
994
|
-
/**
|
|
995
|
-
* Maximum total notional this API key can transfer out internally per rolling
|
|
996
|
-
* day, expressed in the canonical quote unit (for example, micro-USDT). A
|
|
997
|
-
* value of 0 means no additional cap beyond the sub-account policy.
|
|
998
|
-
*
|
|
999
|
-
* @generated from field: uint64 daily_internal_transfer_out_limit = 17;
|
|
1000
|
-
*/
|
|
1001
|
-
dailyInternalTransferOutLimit: bigint;
|
|
1002
|
-
/**
|
|
1003
|
-
* Maximum total notional this API key can withdraw per rolling day, expressed
|
|
1004
|
-
* in the canonical quote unit (for example, micro-USDT). A value of 0 means
|
|
1005
|
-
* no additional cap beyond the sub-account policy.
|
|
1006
|
-
*
|
|
1007
|
-
* @generated from field: uint64 daily_withdraw_limit = 18;
|
|
1008
|
-
*/
|
|
1009
|
-
dailyWithdrawLimit: bigint;
|
|
1010
757
|
/**
|
|
1011
758
|
* Whether this policy should be treated as a reusable template.
|
|
1012
759
|
*
|
|
@@ -1163,9 +910,8 @@ type SetApiKeyPolicyRequest = Message<"auth.v1.SetApiKeyPolicyRequest"> & {
|
|
|
1163
910
|
*/
|
|
1164
911
|
keyId: string;
|
|
1165
912
|
/**
|
|
1166
|
-
* Policy template to attach (opaque ID). A value of 0 clears the
|
|
1167
|
-
*
|
|
1168
|
-
* the permission ceiling.
|
|
913
|
+
* Policy template to attach (opaque ID). A value of 0 clears the binding.
|
|
914
|
+
* An API key without an attached policy has no permissions.
|
|
1169
915
|
*
|
|
1170
916
|
* @generated from field: fixed64 policy_id = 2;
|
|
1171
917
|
*/
|
|
@@ -1196,53 +942,46 @@ declare const SetApiKeyPolicyResponseSchema: GenMessage<SetApiKeyPolicyResponse>
|
|
|
1196
942
|
*/
|
|
1197
943
|
declare enum PolicyAction {
|
|
1198
944
|
/**
|
|
1199
|
-
* No policy action selected.
|
|
945
|
+
* No policy action selected. An empty API-key action list grants no access;
|
|
946
|
+
* sub-account policies retain their mandatory read-only actions.
|
|
1200
947
|
*
|
|
1201
948
|
* @generated from enum value: UNSPECIFIED = 0;
|
|
1202
949
|
*/
|
|
1203
950
|
UNSPECIFIED = 0,
|
|
1204
951
|
/**
|
|
1205
|
-
* Allow placing
|
|
952
|
+
* Allow placing and modifying spot orders and triggers, including reading
|
|
953
|
+
* spot orders and trades. Cancellation and pausing remain available as
|
|
954
|
+
* safety actions.
|
|
1206
955
|
*
|
|
1207
956
|
* @generated from enum value: TRADE_SPOT = 1;
|
|
1208
957
|
*/
|
|
1209
958
|
TRADE_SPOT = 1,
|
|
1210
959
|
/**
|
|
1211
|
-
* Allow
|
|
1212
|
-
*
|
|
1213
|
-
* @generated from enum value: TRADE_PERP = 2;
|
|
1214
|
-
*/
|
|
1215
|
-
TRADE_PERP = 2,
|
|
1216
|
-
/**
|
|
1217
|
-
* Allow internal transfers between sub-accounts or linked Polyester accounts.
|
|
960
|
+
* Allow internal transfers between sub-accounts or linked Polyester accounts,
|
|
961
|
+
* including reading internal transfer history.
|
|
1218
962
|
*
|
|
1219
963
|
* @generated from enum value: INTERNAL_TRANSFER = 3;
|
|
1220
964
|
*/
|
|
1221
965
|
INTERNAL_TRANSFER = 3,
|
|
1222
966
|
/**
|
|
1223
|
-
* Allow
|
|
967
|
+
* Allow value to leave Trading through external withdrawals. Destination
|
|
968
|
+
* authorization is enforced separately from this policy.
|
|
1224
969
|
*
|
|
1225
970
|
* @generated from enum value: EXTERNAL_WITHDRAW = 4;
|
|
1226
971
|
*/
|
|
1227
972
|
EXTERNAL_WITHDRAW = 4,
|
|
1228
973
|
/**
|
|
1229
|
-
* Allow reading balances
|
|
974
|
+
* Allow reading balances and equity for a sub-account or API key.
|
|
1230
975
|
*
|
|
1231
976
|
* @generated from enum value: READ_BALANCES = 5;
|
|
1232
977
|
*/
|
|
1233
978
|
READ_BALANCES = 5,
|
|
1234
979
|
/**
|
|
1235
|
-
* Allow reading spot orders
|
|
980
|
+
* Allow reading spot orders and trades (no write).
|
|
1236
981
|
*
|
|
1237
982
|
* @generated from enum value: READ_SPOT = 6;
|
|
1238
983
|
*/
|
|
1239
984
|
READ_SPOT = 6,
|
|
1240
|
-
/**
|
|
1241
|
-
* Allow reading perp orders/trades/positions (no write).
|
|
1242
|
-
*
|
|
1243
|
-
* @generated from enum value: READ_PERP = 7;
|
|
1244
|
-
*/
|
|
1245
|
-
READ_PERP = 7,
|
|
1246
985
|
/**
|
|
1247
986
|
* Allow reading internal transfer history.
|
|
1248
987
|
*
|
|
@@ -1250,29 +989,18 @@ declare enum PolicyAction {
|
|
|
1250
989
|
*/
|
|
1251
990
|
READ_INTERNAL_TRANSFERS = 8,
|
|
1252
991
|
/**
|
|
1253
|
-
* Allow reading
|
|
1254
|
-
*
|
|
1255
|
-
* @generated from enum value: READ_EXTERNAL_WITHDRAWALS = 9;
|
|
1256
|
-
*/
|
|
1257
|
-
READ_EXTERNAL_WITHDRAWALS = 9,
|
|
1258
|
-
/**
|
|
1259
|
-
* Allow listing destination books, address book entries, recents, and mirrored whitelist state.
|
|
992
|
+
* Allow reading saved, recent, and whitelisted address-book destinations.
|
|
1260
993
|
*
|
|
1261
|
-
* @generated from enum value:
|
|
994
|
+
* @generated from enum value: READ_ADDRESS_BOOK = 11;
|
|
1262
995
|
*/
|
|
1263
|
-
|
|
996
|
+
READ_ADDRESS_BOOK = 11,
|
|
1264
997
|
/**
|
|
1265
|
-
* Allow creating, updating, deleting, and copying saved destination entries
|
|
998
|
+
* Allow creating, updating, deleting, and copying saved destination entries,
|
|
999
|
+
* including reading the address book.
|
|
1266
1000
|
*
|
|
1267
1001
|
* @generated from enum value: MANAGE_ADDRESS_BOOK = 12;
|
|
1268
1002
|
*/
|
|
1269
|
-
MANAGE_ADDRESS_BOOK = 12
|
|
1270
|
-
/**
|
|
1271
|
-
* Allow mutating internal-transfer whitelist rows and requesting withdraw whitelist changes.
|
|
1272
|
-
*
|
|
1273
|
-
* @generated from enum value: MANAGE_TRANSFER_WHITELISTS = 13;
|
|
1274
|
-
*/
|
|
1275
|
-
MANAGE_TRANSFER_WHITELISTS = 13
|
|
1003
|
+
MANAGE_ADDRESS_BOOK = 12
|
|
1276
1004
|
}
|
|
1277
1005
|
/**
|
|
1278
1006
|
* Describes the enum auth.v1.PolicyAction.
|
|
@@ -1406,5 +1134,5 @@ declare const PolicyService: GenService<{
|
|
|
1406
1134
|
};
|
|
1407
1135
|
}>;
|
|
1408
1136
|
//#endregion
|
|
1409
|
-
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema,
|
|
1137
|
+
export { ApiPolicySpec, ApiPolicySpecSchema, ApiPolicyView, ApiPolicyViewSchema, CreateApiPolicyRequest, CreateApiPolicyRequestSchema, CreateApiPolicyResponse, CreateApiPolicyResponseSchema, CreateSubaccountPolicyRequest, CreateSubaccountPolicyRequestSchema, CreateSubaccountPolicyResponse, CreateSubaccountPolicyResponseSchema, DeleteApiPolicyRequest, DeleteApiPolicyRequestSchema, DeleteApiPolicyResponse, DeleteApiPolicyResponseSchema, DeleteSubaccountPolicyRequest, DeleteSubaccountPolicyRequestSchema, DeleteSubaccountPolicyResponse, DeleteSubaccountPolicyResponseSchema, GetApiPolicyRequest, GetApiPolicyRequestSchema, GetApiPolicyResponse, GetApiPolicyResponseSchema, GetSubaccountPolicyRequest, GetSubaccountPolicyRequestSchema, GetSubaccountPolicyResponse, GetSubaccountPolicyResponseSchema, ListApiPoliciesRequest, ListApiPoliciesRequestSchema, ListApiPoliciesResponse, ListApiPoliciesResponseSchema, ListSubaccountPoliciesRequest, ListSubaccountPoliciesRequestSchema, ListSubaccountPoliciesResponse, ListSubaccountPoliciesResponseSchema, MarketScope, MarketScopeSchema, MarketScope_Value, MarketScope_ValueSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SpotMarketSelector, SpotMarketSelectorSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_d_exports };
|
|
1410
1138
|
//# sourceMappingURL=policies_pb.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"mappings":";;;;;;;;;cAca,uBAAuB;;;;;;KAQxB,cAAc;;;;;cAOb,mBAAmB,WAAW;;;;;;;;aAU/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;cAMW,yBAAyB,QAAQ;;;;;;KAQlC,
|
|
1
|
+
{"version":3,"file":"policies_pb.d.ts","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"mappings":";;;;;;;;;cAca,uBAAuB;;;;;;KAQxB,cAAc;;;;;cAOb,mBAAmB,WAAW;;;;;;;;aAU/B;;;;;;EAMV;;;;;;EAOA;;;;;;EAOA;;;;;c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