@polyester/sdk 0.7.0 → 0.8.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
  3. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  4. package/dist/gen/auth/v1/policies_pb.d.ts +47 -337
  5. package/dist/gen/auth/v1/policies_pb.d.ts.map +1 -1
  6. package/dist/gen/auth/v1/policies_pb.js +49 -73
  7. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  8. package/dist/gen/orders/v1/orders_pb.d.ts +32 -1
  9. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  10. package/dist/gen/orders/v1/orders_pb.js +25 -1
  11. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  12. package/dist/gen/triggers/v1/triggers_pb.d.ts +22 -2
  13. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  14. package/dist/gen/triggers/v1/triggers_pb.js +7 -1
  15. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  16. package/dist/index.d.ts +3 -3
  17. package/dist/services/lifecycle/lifecycle.schemas.d.ts +42 -42
  18. package/dist/services/orders/order-errors.schemas.d.ts +1 -1
  19. package/dist/services/orders/orders-batch.schemas.d.ts +20 -20
  20. package/dist/services/orders/orders-input.schemas.d.ts +4 -4
  21. package/dist/services/orders/orders-modify.schemas.d.ts +3 -2
  22. package/dist/services/orders/orders-modify.schemas.d.ts.map +1 -1
  23. package/dist/services/orders/orders-modify.schemas.js +5 -3
  24. package/dist/services/orders/orders-modify.schemas.js.map +1 -1
  25. package/dist/services/orders/orders-output.schemas.d.ts +6 -6
  26. package/dist/services/orders/orders.d.ts +1 -1
  27. package/dist/services/orders/orders.js +1 -1
  28. package/dist/services/orders/orders.js.map +1 -1
  29. package/dist/services/policies/api-key-policies/api-key-policies.d.ts +2 -2
  30. package/dist/services/policies/api-key-policies/api-key-policies.js +2 -2
  31. package/dist/services/policies/api-key-policies/api-key-policies.js.map +1 -1
  32. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts +15 -140
  33. package/dist/services/policies/api-key-policies/api-key-policies.schemas.d.ts.map +1 -1
  34. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js +5 -53
  35. package/dist/services/policies/api-key-policies/api-key-policies.schemas.js.map +1 -1
  36. package/dist/services/policies/shared.codecs.js +4 -12
  37. package/dist/services/policies/shared.codecs.js.map +1 -1
  38. package/dist/services/policies/shared.d.ts +1 -1
  39. package/dist/services/policies/shared.d.ts.map +1 -1
  40. package/dist/services/policies/shared.js +3 -11
  41. package/dist/services/policies/shared.js.map +1 -1
  42. package/dist/services/policies/subaccount-policies/subaccount-policies.d.ts +1 -1
  43. package/dist/services/policies/subaccount-policies/subaccount-policies.js +1 -1
  44. package/dist/services/policies/subaccount-policies/subaccount-policies.js.map +1 -1
  45. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts +10 -206
  46. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.d.ts.map +1 -1
  47. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js +9 -115
  48. package/dist/services/policies/subaccount-policies/subaccount-policies.schemas.js.map +1 -1
  49. package/dist/services/subaccounts/subaccounts.schemas.d.ts +5 -5
  50. package/dist/services/triggers/trigger-input.schemas.d.ts +14 -7
  51. package/dist/services/triggers/trigger-input.schemas.d.ts.map +1 -1
  52. package/dist/services/triggers/trigger-input.schemas.js +13 -3
  53. package/dist/services/triggers/trigger-input.schemas.js.map +1 -1
  54. package/dist/services/triggers/triggers-output.schemas.d.ts +15 -15
  55. package/dist/services/triggers/triggers.codecs.js +6 -3
  56. package/dist/services/triggers/triggers.codecs.js.map +1 -1
  57. package/dist/services/triggers/triggers.d.ts +2 -2
  58. package/dist/services/triggers/triggers.js +2 -2
  59. package/dist/services/triggers/triggers.js.map +1 -1
  60. package/dist/services/triggers/triggers.types.d.ts +3 -3
  61. package/dist/shared/schemas.js +2 -2
  62. package/dist/shared/schemas.js.map +1 -1
  63. package/dist/shared/transports.js +6 -1
  64. package/dist/shared/transports.js.map +1 -1
  65. package/dist/shared/wire-bounds.js +3 -1
  66. package/dist/shared/wire-bounds.js.map +1 -1
  67. package/dist/utils/numbers.js +1 -10
  68. package/dist/utils/numbers.js.map +1 -1
  69. package/package.json +1 -1
@@ -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, PerpMarketRule, PerpMarketRuleSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies };
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, 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 or perp contracts.
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 or contracts are allowed.
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 or contracts for this policy.
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 or contracts listed on this policy.
43
+ * Allow only the markets listed on this policy.
44
44
  *
45
45
  * @generated from enum value: ALLOWLIST = 2;
46
46
  */
@@ -68,32 +68,6 @@ type SpotMarketRule = Message<"auth.v1.SpotMarketRule"> & {
68
68
  * Use `create(SpotMarketRuleSchema)` to create a new message.
69
69
  */
70
70
  declare const SpotMarketRuleSchema: GenMessage<SpotMarketRule>;
71
- /**
72
- * PerpMarketRule describes an allowed perp contract and optional max leverage.
73
- *
74
- * @generated from message auth.v1.PerpMarketRule
75
- */
76
- type PerpMarketRule = Message<"auth.v1.PerpMarketRule"> & {
77
- /**
78
- * Perp contract symbol, e.g. "BTCUSDT".
79
- *
80
- * @generated from field: string symbol = 1;
81
- */
82
- symbol: string;
83
- /**
84
- * Optional maximum leverage multiplier. Supported non-zero values are 1, 3,
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.
87
- *
88
- * @generated from field: uint32 max_leverage_x = 2;
89
- */
90
- maxLeverageX: number;
91
- };
92
- /**
93
- * Describes the message auth.v1.PerpMarketRule.
94
- * Use `create(PerpMarketRuleSchema)` to create a new message.
95
- */
96
- declare const PerpMarketRuleSchema: GenMessage<PerpMarketRule>;
97
71
  /**
98
72
  * SubaccountPolicyView is the public view of a sub-account policy.
99
73
  *
@@ -124,12 +98,6 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
124
98
  * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;
125
99
  */
126
100
  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
101
  /**
134
102
  * Market-level scope for spot markets. When ALL, spot_markets is returned
135
103
  * for display only and is not enforced.
@@ -138,15 +106,8 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
138
106
  */
139
107
  spotMarketScope: MarketScope_Value;
140
108
  /**
141
- * Market-level scope for perp contracts. When ALL, perp_markets is returned
142
- * for display only and is not enforced.
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.
109
+ * Effective high-level actions enabled for the sub-account. Mandatory
110
+ * read-only actions are always included.
150
111
  *
151
112
  * @generated from field: repeated auth.v1.PolicyAction actions = 8;
152
113
  */
@@ -165,17 +126,9 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
165
126
  * @generated from field: fixed64 source_template_id = 11;
166
127
  */
167
128
  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
129
  /**
177
130
  * Maximum notional size allowed for any single order on this sub-account,
178
- * expressed in the same canonical quote unit as global_notional_cap.
131
+ * expressed in canonical quote microunits (one unit is 0.000001 USDT).
179
132
  * A value of 0 means "no explicit cap".
180
133
  *
181
134
  * @generated from field: uint64 max_order_notional = 13;
@@ -189,83 +142,13 @@ type SubaccountPolicyView = Message<"auth.v1.SubaccountPolicyView"> & {
189
142
  */
190
143
  maxOpenOrders: number;
191
144
  /**
192
- * Maximum number of open perp positions allowed on this sub-account.
193
- * A value of 0 means "no explicit cap".
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.
145
+ * When true, new orders and exposure-increasing order or trigger changes are
146
+ * rejected regardless of other settings. Existing orders and triggers may
147
+ * still be canceled or paused.
242
148
  *
243
149
  * @generated from field: bool trading_halted = 23;
244
150
  */
245
151
  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
152
  /**
270
153
  * When true, this policy is write-protected and requires an elevated approval
271
154
  * flow to modify it.
@@ -419,12 +302,6 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
419
302
  * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 3;
420
303
  */
421
304
  spotMarkets: SpotMarketRule[];
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[];
428
305
  /**
429
306
  * Market-level scope for spot markets. When unspecified, defaults to ALL.
430
307
  *
@@ -432,30 +309,17 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
432
309
  */
433
310
  spotMarketScope: MarketScope_Value;
434
311
  /**
435
- * Market-level scope for perp contracts. When unspecified, defaults to ALL.
436
- *
437
- * @generated from field: auth.v1.MarketScope.Value perp_market_scope = 6;
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.
312
+ * High-level actions enabled for the sub-account policy. Mandatory read-only
313
+ * actions are included when omitted. Up to 64 unique explicit actions are
314
+ * allowed.
443
315
  *
444
316
  * @generated from field: repeated auth.v1.PolicyAction actions = 7;
445
317
  */
446
318
  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
319
  /**
456
320
  * Maximum notional size for any single order on this sub-account, expressed
457
- * in the canonical quote unit (for example, micro-USDT). A value of 0 means
458
- * no explicit cap.
321
+ * in canonical quote microunits (one unit is 0.000001 USDT). A value of 0
322
+ * means no explicit cap.
459
323
  *
460
324
  * @generated from field: uint64 max_order_notional = 13;
461
325
  */
@@ -468,77 +332,13 @@ type SubaccountPolicySpec = Message<"auth.v1.SubaccountPolicySpec"> & {
468
332
  */
469
333
  maxOpenOrders: number;
470
334
  /**
471
- * Maximum number of open perp positions allowed on this sub-account. A value
472
- * of 0 means no explicit cap.
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.
335
+ * When true, new orders and exposure-increasing order or trigger changes are
336
+ * rejected regardless of other settings. Existing orders and triggers may
337
+ * still be canceled or paused.
517
338
  *
518
339
  * @generated from field: bool trading_halted = 21;
519
340
  */
520
341
  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
342
  /**
543
343
  * When true, the policy is write-protected and requires an elevated mutation path.
544
344
  *
@@ -707,8 +507,8 @@ type SetSubaccountPolicyRequest = Message<"auth.v1.SetSubaccountPolicyRequest">
707
507
  */
708
508
  subaccountId: bigint;
709
509
  /**
710
- * Policy template to attach (opaque ID). A value of 0 clears the policy
711
- * and reverts to the platform default for this sub-account.
510
+ * Policy template to attach (opaque ID). A value of 0 clears the explicit
511
+ * binding and restores the system Read Only policy.
712
512
  *
713
513
  * @generated from field: fixed64 policy_id = 2;
714
514
  */
@@ -731,8 +531,8 @@ type SetSubaccountPolicyResponse = Message<"auth.v1.SetSubaccountPolicyResponse"
731
531
  */
732
532
  declare const SetSubaccountPolicyResponseSchema: GenMessage<SetSubaccountPolicyResponse>;
733
533
  /**
734
- * ApiPolicyView is the public view of an API key policy template. API key
735
- * policy limits are additional caps and cannot exceed the sub-account policy.
534
+ * ApiPolicyView is the public view of an API key policy template. Its action
535
+ * and spot-market floor cannot exceed an attached sub-account policy.
736
536
  *
737
537
  * @generated from message auth.v1.ApiPolicyView
738
538
  */
@@ -761,12 +561,6 @@ type ApiPolicyView = Message<"auth.v1.ApiPolicyView"> & {
761
561
  * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;
762
562
  */
763
563
  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
564
  /**
771
565
  * High-level actions enabled for this API key. Up to 64 unique explicit
772
566
  * actions may be returned.
@@ -778,40 +572,11 @@ type ApiPolicyView = Message<"auth.v1.ApiPolicyView"> & {
778
572
  * Market-level scope for spot markets. When ALL, spot_markets is returned
779
573
  * for display only and is not enforced.
780
574
  *
575
+ * --- Template / lifecycle metadata ---
576
+ *
781
577
  * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 7;
782
578
  */
783
579
  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
580
  /**
816
581
  * When true, this policy is intended to be reused as a template across
817
582
  * multiple API keys. When false, it represents a single-key instance.
@@ -958,12 +723,6 @@ type ApiPolicySpec = Message<"auth.v1.ApiPolicySpec"> & {
958
723
  * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 3;
959
724
  */
960
725
  spotMarkets: SpotMarketRule[];
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[];
967
726
  /**
968
727
  * Market-level scope for spot markets. When unspecified, defaults to ALL.
969
728
  *
@@ -971,42 +730,12 @@ type ApiPolicySpec = Message<"auth.v1.ApiPolicySpec"> & {
971
730
  */
972
731
  spotMarketScope: MarketScope_Value;
973
732
  /**
974
- * Market-level scope for perp contracts. When unspecified, defaults to ALL.
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.
733
+ * High-level actions enabled for the API key policy. An empty list grants no
734
+ * access. Up to 64 unique explicit actions are allowed.
982
735
  *
983
736
  * @generated from field: repeated auth.v1.PolicyAction actions = 7;
984
737
  */
985
738
  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
739
  /**
1011
740
  * Whether this policy should be treated as a reusable template.
1012
741
  *
@@ -1163,9 +892,8 @@ type SetApiKeyPolicyRequest = Message<"auth.v1.SetApiKeyPolicyRequest"> & {
1163
892
  */
1164
893
  keyId: string;
1165
894
  /**
1166
- * Policy template to attach (opaque ID). A value of 0 clears the policy
1167
- * and reverts to no per-key policy. The sub-account policy and role remain
1168
- * the permission ceiling.
895
+ * Policy template to attach (opaque ID). A value of 0 clears the binding.
896
+ * An API key without an attached policy has no permissions.
1169
897
  *
1170
898
  * @generated from field: fixed64 policy_id = 2;
1171
899
  */
@@ -1196,53 +924,46 @@ declare const SetApiKeyPolicyResponseSchema: GenMessage<SetApiKeyPolicyResponse>
1196
924
  */
1197
925
  declare enum PolicyAction {
1198
926
  /**
1199
- * No policy action selected. Requests must choose one or more explicit actions.
927
+ * No policy action selected. An empty API-key action list grants no access;
928
+ * sub-account policies retain their mandatory read-only actions.
1200
929
  *
1201
930
  * @generated from enum value: UNSPECIFIED = 0;
1202
931
  */
1203
932
  UNSPECIFIED = 0,
1204
933
  /**
1205
- * Allow placing/modifying/cancelling spot orders.
934
+ * Allow placing and modifying spot orders and triggers, including reading
935
+ * spot orders and trades. Cancellation and pausing remain available as
936
+ * safety actions.
1206
937
  *
1207
938
  * @generated from enum value: TRADE_SPOT = 1;
1208
939
  */
1209
940
  TRADE_SPOT = 1,
1210
941
  /**
1211
- * Allow placing/modifying/cancelling perpetual futures orders.
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.
942
+ * Allow internal transfers between sub-accounts or linked Polyester accounts,
943
+ * including reading internal transfer history.
1218
944
  *
1219
945
  * @generated from enum value: INTERNAL_TRANSFER = 3;
1220
946
  */
1221
947
  INTERNAL_TRANSFER = 3,
1222
948
  /**
1223
- * Allow external withdrawals to whitelisted addresses.
949
+ * Allow value to leave Trading through external withdrawals. Destination
950
+ * authorization is enforced separately from this policy.
1224
951
  *
1225
952
  * @generated from enum value: EXTERNAL_WITHDRAW = 4;
1226
953
  */
1227
954
  EXTERNAL_WITHDRAW = 4,
1228
955
  /**
1229
- * Allow reading balances, positions and equity for a sub-account or API key.
956
+ * Allow reading balances and equity for a sub-account or API key.
1230
957
  *
1231
958
  * @generated from enum value: READ_BALANCES = 5;
1232
959
  */
1233
960
  READ_BALANCES = 5,
1234
961
  /**
1235
- * Allow reading spot orders/trades/positions (no write).
962
+ * Allow reading spot orders and trades (no write).
1236
963
  *
1237
964
  * @generated from enum value: READ_SPOT = 6;
1238
965
  */
1239
966
  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
967
  /**
1247
968
  * Allow reading internal transfer history.
1248
969
  *
@@ -1250,29 +971,18 @@ declare enum PolicyAction {
1250
971
  */
1251
972
  READ_INTERNAL_TRANSFERS = 8,
1252
973
  /**
1253
- * Allow reading external withdrawal history.
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.
974
+ * Allow reading saved, recent, and whitelisted address-book destinations.
1260
975
  *
1261
- * @generated from enum value: READ_TRANSFER_CONTROLS = 11;
976
+ * @generated from enum value: READ_ADDRESS_BOOK = 11;
1262
977
  */
1263
- READ_TRANSFER_CONTROLS = 11,
978
+ READ_ADDRESS_BOOK = 11,
1264
979
  /**
1265
- * Allow creating, updating, deleting, and copying saved destination entries.
980
+ * Allow creating, updating, deleting, and copying saved destination entries,
981
+ * including reading the address book.
1266
982
  *
1267
983
  * @generated from enum value: MANAGE_ADDRESS_BOOK = 12;
1268
984
  */
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
985
+ MANAGE_ADDRESS_BOOK = 12
1276
986
  }
1277
987
  /**
1278
988
  * Describes the enum auth.v1.PolicyAction.
@@ -1406,5 +1116,5 @@ declare const PolicyService: GenService<{
1406
1116
  };
1407
1117
  }>;
1408
1118
  //#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, PerpMarketRule, PerpMarketRuleSchema, PolicyAction, PolicyActionSchema, PolicyService, SetApiKeyPolicyRequest, SetApiKeyPolicyRequestSchema, SetApiKeyPolicyResponse, SetApiKeyPolicyResponseSchema, SetSubaccountPolicyRequest, SetSubaccountPolicyRequestSchema, SetSubaccountPolicyResponse, SetSubaccountPolicyResponseSchema, SpotMarketRule, SpotMarketRuleSchema, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_d_exports };
1119
+ 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, SubaccountPolicySpec, SubaccountPolicySpecSchema, SubaccountPolicyView, SubaccountPolicyViewSchema, UpdateApiPolicyRequest, UpdateApiPolicyRequestSchema, UpdateApiPolicyResponse, UpdateApiPolicyResponseSchema, UpdateSubaccountPolicyRequest, UpdateSubaccountPolicyRequestSchema, UpdateSubaccountPolicyResponse, UpdateSubaccountPolicyResponseSchema, file_auth_v1_policies, policies_pb_d_exports };
1410
1120
  //# 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,iBAAiB;;;;;;EAM3B;;;;;;cAOW,sBAAsB,WAAW;;;;;;KAQlC,iBAAiB;;;;;;EAM3B;;;;;;;;EASA;;;;;;cAOW,sBAAsB,WAAW;;;;;;KAQlC,uBAAuB;;;;;;EAMjC;;;;;;EAOA;;;;;;EAOA;;;;;;EAOA,aAAa;;;;;;EAOb,aAAa;;;;;;;EAQb,iBAAiB;;;;;;;EAQjB,iBAAiB;;;;;;;EAQjB,SAAS;;;;;;;EAQT;;;;;;;EAQA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA;;;;;;;;;EAUA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;;EASA;;;;;;;;EASA;;;;;;;EAQA;;;;;;;EAQA,WAAW;;;;;;;EAQX,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ,YAAY;;;;;;EAOZ;;;;;;cAOW,4BAA4B,WAAW;;;;;;;;KAUxC,gCAAgC;;;;;;;EAO1C;;;;;;cAOW,qCAAqC,WAAW;;;;;;;KASjD,iCAAiC;;;;;;EAM3C,UAAU;;;;;;cAOC,sCAAsC,WAAW;;;;;;KAQlD,6BAA6B;;;;;;EAMvC;;;;;;;EAQA;;;;;;cAOW,kCAAkC,WAAW;;;;;;KAQ9C,8BAA8B;;;;;;EAMxC,SAAS;;;;;;cAOE,mCAAmC,WAAW;;;;;;KAQ/C,uBA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