@polyester/sdk 0.36.0-devnet-20261116010019 → 0.36.0-devnet-20261116180931

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 (202) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/dist/browser-core.js +1 -1
  3. package/dist/gen/ai/v1/assistant_pb.d.ts +1 -1
  4. package/dist/gen/ai/v1/assistant_pb.js +1 -1
  5. package/dist/gen/alerts/v1/price_alerts_pb.d.ts +1 -1
  6. package/dist/gen/auth/v1/address_book_pb.d.ts +1 -1
  7. package/dist/gen/auth/v1/api_keys_pb.d.ts +1 -1
  8. package/dist/gen/auth/v1/auth_pb.d.ts +2 -2
  9. package/dist/gen/auth/v1/auth_pb.js +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  11. package/dist/gen/auth/v1/mfa_pb.d.ts +1 -1
  12. package/dist/gen/auth/v1/policies_pb.d.ts +1 -1
  13. package/dist/gen/auth/v1/profile_pb.d.ts +1 -1
  14. package/dist/gen/auth/v1/resolve_pb.d.ts +1 -1
  15. package/dist/gen/auth/v1/social_verification_pb.d.ts +1 -1
  16. package/dist/gen/auth/v1/subaccounts_pb.d.ts +2 -2
  17. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  18. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  19. package/dist/gen/chain/analytics/v1/analytics_read_pb.d.ts +1 -1
  20. package/dist/gen/chain/deposit/v1/deposit_pb.d.ts +1 -1
  21. package/dist/gen/chain/guard/v1/guard_signer_pb.d.ts +1 -1
  22. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.d.ts +1 -1
  23. package/dist/gen/chain/lifecycle/v1/types_pb.d.ts +1 -1
  24. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.d.ts +1 -1
  25. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts +4 -3
  26. package/dist/gen/chain/withdraw/v1/withdraw_pb.d.ts.map +1 -1
  27. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +3 -2
  28. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  29. package/dist/gen/chain/zipper/v1/reason_pb.d.ts +1 -1
  30. package/dist/gen/chain/zipper/v1/zipper_pb.d.ts +1 -1
  31. package/dist/gen/changelog/v1/changelog_pb.d.ts +1 -1
  32. package/dist/gen/checkpoints/v1/checkpoints_pb.d.ts +1 -1
  33. package/dist/gen/claims/v1/claims_pb.d.ts +1 -1
  34. package/dist/gen/fees/v1/fees_pb.d.ts +1 -1
  35. package/dist/gen/index.js +21 -21
  36. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts +3 -2
  37. package/dist/gen/ledger/read/v1/ledger_read_pb.d.ts.map +1 -1
  38. package/dist/gen/ledger/read/v1/ledger_read_pb.js +2 -1
  39. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  40. package/dist/gen/ledger/read/v1/statement_export_pb.d.ts +1 -1
  41. package/dist/gen/marketdata/v1/asset_info_pb.d.ts +1 -1
  42. package/dist/gen/marketdata/v1/heatmap_pb.d.ts +1 -4
  43. package/dist/gen/marketdata/v1/heatmap_pb.d.ts.map +1 -1
  44. package/dist/gen/marketdata/v1/heatmap_pb.js +0 -3
  45. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  46. package/dist/gen/marketdata/v1/marketdata_pb.d.ts +1 -1
  47. package/dist/gen/marketoverview/v1/marketoverview_pb.d.ts +1 -1
  48. package/dist/gen/notifications/v1/notifications_pb.d.ts +1 -1
  49. package/dist/gen/orderbook/v1/orderbook_pb.d.ts +29 -80
  50. package/dist/gen/orderbook/v1/orderbook_pb.d.ts.map +1 -1
  51. package/dist/gen/orderbook/v1/orderbook_pb.js +3 -77
  52. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  53. package/dist/gen/orders/v1/orders_pb.d.ts +127 -72
  54. package/dist/gen/orders/v1/orders_pb.d.ts.map +1 -1
  55. package/dist/gen/orders/v1/orders_pb.js +37 -19
  56. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  57. package/dist/gen/orders/v1/orders_read_pb.d.ts +31 -13
  58. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  59. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  60. package/dist/gen/polyester/ratelimit/v1/types_pb.d.ts +1 -1
  61. package/dist/gen/polyester/type/v1/u128_pb.d.ts +1 -1
  62. package/dist/gen/privatews/v1/private_ws_pb.d.ts +1 -1
  63. package/dist/gen/ratelimit/v1/ratelimit_pb.d.ts +1 -1
  64. package/dist/gen/rewards/v1/rewards_pb.d.ts +1 -1
  65. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts +88 -61
  66. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.d.ts.map +1 -1
  67. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  68. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  69. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts +15 -12
  70. package/dist/gen/swap/quickswap/v1/quickswap_pb.d.ts.map +1 -1
  71. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +8 -4
  72. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  73. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts +46 -43
  74. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.d.ts.map +1 -1
  75. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js +10 -10
  76. package/dist/gen/swap/quickswap/v1/quickswap_referral_pb.js.map +1 -1
  77. package/dist/gen/swap/v1/swap_pb.d.ts +1 -1
  78. package/dist/gen/system/v1/system_pb.d.ts +1 -1
  79. package/dist/gen/tradews/v1/trade_ws_pb.d.ts +1 -1
  80. package/dist/gen/transfer/v1/dust_conversion_pb.d.ts +1 -1
  81. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts +3 -2
  82. package/dist/gen/transfer/v1/internal_transfer_pb.d.ts.map +1 -1
  83. package/dist/gen/transfer/v1/internal_transfer_pb.js +2 -1
  84. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  85. package/dist/gen/triggers/v1/triggers_pb.d.ts +66 -50
  86. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  87. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  88. package/dist/gen/vip/v1/vip_pb.d.ts +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/realtime/client.js +1 -1
  91. package/dist/realtime/client.js.map +1 -1
  92. package/dist/realtime/snapshot-then-stream.js +1 -1
  93. package/dist/server-core.js +3 -3
  94. package/dist/services/accounts/accounts.js +1 -1
  95. package/dist/services/accounts/accounts.schemas.js +1 -1
  96. package/dist/services/address-book/address-book.js +1 -1
  97. package/dist/services/address-book/address-book.schemas.d.ts +2 -2
  98. package/dist/services/api-keys/api-keys.js +1 -1
  99. package/dist/services/api-keys/api-keys.schemas.js +1 -1
  100. package/dist/services/assistant/assistant-events.schemas.d.ts +22 -22
  101. package/dist/services/assistant/assistant.js +1 -1
  102. package/dist/services/assistant/assistant.schemas.js +1 -1
  103. package/dist/services/auth/account-signer-auth.js +2 -2
  104. package/dist/services/auth/auth.js +1 -1
  105. package/dist/services/auth/profile/profile.js +2 -2
  106. package/dist/services/auto-withdraw/auto-withdraw.js +1 -1
  107. package/dist/services/auto-withdraw/auto-withdraw.schemas.d.ts +19 -19
  108. package/dist/services/auto-withdraw/auto-withdraw.schemas.js +1 -1
  109. package/dist/services/balances/balances.js +1 -1
  110. package/dist/services/candles/candles.js +2 -2
  111. package/dist/services/candles/candles.schemas.d.ts +10 -10
  112. package/dist/services/chain-analytics/chain-analytics.js +1 -1
  113. package/dist/services/changelog/changelog.js +1 -1
  114. package/dist/services/changelog/changelog.schemas.d.ts +16 -16
  115. package/dist/services/checkpoints/checkpoints.js +1 -1
  116. package/dist/services/checkpoints/checkpoints.schemas.d.ts +1 -1
  117. package/dist/services/claims/claims.js +1 -1
  118. package/dist/services/claims/claims.schemas.js +1 -1
  119. package/dist/services/deposit/deposit.js +1 -1
  120. package/dist/services/dust-conversion/dust-conversion.js +1 -1
  121. package/dist/services/dust-conversion/dust-conversion.schemas.js +1 -1
  122. package/dist/services/fees/fees.js +1 -1
  123. package/dist/services/guard-signer/guard-signer.js +1 -1
  124. package/dist/services/guard-signer/guard-signer.schemas.js +1 -1
  125. package/dist/services/heatmap/heatmap.js +2 -2
  126. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  127. package/dist/services/internal-transfers/internal-transfers.js +1 -1
  128. package/dist/services/internal-transfers/internal-transfers.schemas.d.ts +10 -10
  129. package/dist/services/lifecycle/lifecycle.js +3 -3
  130. package/dist/services/lifecycle/lifecycle.schemas.d.ts +104 -104
  131. package/dist/services/lifecycle/lifecycle.schemas.js +2 -2
  132. package/dist/services/market-data/market-data.js +3 -3
  133. package/dist/services/market-overview/market-overview.js +2 -2
  134. package/dist/services/market-overview/market-overview.schemas.js +1 -1
  135. package/dist/services/notifications/notifications.js +1 -1
  136. package/dist/services/orderbook/orderbook.codecs.js +2 -42
  137. package/dist/services/orderbook/orderbook.codecs.js.map +1 -1
  138. package/dist/services/orderbook/orderbook.d.ts +3 -1
  139. package/dist/services/orderbook/orderbook.d.ts.map +1 -1
  140. package/dist/services/orderbook/orderbook.js +24 -17
  141. package/dist/services/orderbook/orderbook.js.map +1 -1
  142. package/dist/services/orderbook/orderbook.schemas.d.ts +12 -11
  143. package/dist/services/orderbook/orderbook.schemas.d.ts.map +1 -1
  144. package/dist/services/orderbook/orderbook.schemas.js +10 -12
  145. package/dist/services/orderbook/orderbook.schemas.js.map +1 -1
  146. package/dist/services/orders/order-errors.schemas.d.ts +1 -1
  147. package/dist/services/orders/order-errors.schemas.js +1 -1
  148. package/dist/services/orders/orders-batch.schemas.d.ts +39 -39
  149. package/dist/services/orders/orders-batch.schemas.js +2 -2
  150. package/dist/services/orders/orders-input.schemas.d.ts +3 -3
  151. package/dist/services/orders/orders-input.schemas.js +2 -2
  152. package/dist/services/orders/orders-modify.schemas.js +2 -2
  153. package/dist/services/orders/orders-output.schemas.d.ts +12 -12
  154. package/dist/services/orders/orders-risk.schemas.js +3 -3
  155. package/dist/services/orders/orders.js +2 -2
  156. package/dist/services/policies/api-key-policies/api-key-policies.js +1 -1
  157. package/dist/services/policies/shared.codecs.js +1 -1
  158. package/dist/services/policies/subaccount-policies/subaccount-policies.js +2 -2
  159. package/dist/services/price-alerts/price-alerts.js +1 -1
  160. package/dist/services/rate-limits/rate-limits.js +1 -1
  161. package/dist/services/rewards/rewards.js +1 -1
  162. package/dist/services/rewards/rewards.schemas.d.ts +4 -4
  163. package/dist/services/social-verification/social-verification.js +1 -1
  164. package/dist/services/social-verification/social-verification.schemas.js +1 -1
  165. package/dist/services/statement-exports/statement-exports.js +1 -1
  166. package/dist/services/statement-exports/statement-exports.schemas.d.ts +6 -6
  167. package/dist/services/subaccounts/subaccounts.js +3 -3
  168. package/dist/services/subaccounts/subaccounts.schemas.d.ts +15 -15
  169. package/dist/services/system/system.js +1 -1
  170. package/dist/services/system/system.schemas.d.ts +13 -13
  171. package/dist/services/trades/trades.js +2 -2
  172. package/dist/services/trades/trades.schemas.d.ts +1 -1
  173. package/dist/services/trading-withdraws/trading-withdraws.js +1 -1
  174. package/dist/services/trading-withdraws/trading-withdraws.schemas.js +1 -1
  175. package/dist/services/trading-withdraws/wallet-message.js +1 -1
  176. package/dist/services/transfers/transfers.js +2 -2
  177. package/dist/services/triggers/trigger-child-order.schemas.js +3 -3
  178. package/dist/services/triggers/trigger-input.schemas.d.ts +2 -2
  179. package/dist/services/triggers/trigger-input.schemas.js +2 -2
  180. package/dist/services/triggers/triggers-output.schemas.d.ts +31 -31
  181. package/dist/services/triggers/triggers.js +2 -2
  182. package/dist/services/vip/vip.js +1 -1
  183. package/dist/services/vip/vip.schemas.js +1 -1
  184. package/dist/services/zipper/zipper.js +1 -1
  185. package/dist/services/zipper/zipper.schemas.js +1 -1
  186. package/dist/shared/error-details/alerts.js +1 -1
  187. package/dist/shared/error-details/assistant.js +1 -1
  188. package/dist/shared/error-details/auth.js +1 -1
  189. package/dist/shared/error-details/claims.js +1 -1
  190. package/dist/shared/error-details/internal-transfer.js +1 -1
  191. package/dist/shared/error-details/ledger.js +1 -1
  192. package/dist/shared/error-details/market-overview.js +1 -1
  193. package/dist/shared/error-details/notifications.js +1 -1
  194. package/dist/shared/error-details/orders.js +1 -1
  195. package/dist/shared/error-details/profile.js +1 -1
  196. package/dist/shared/error-details/rate-limit.js +1 -1
  197. package/dist/shared/error-details/withdraw.js +1 -1
  198. package/dist/shared/rate-limit.schemas.d.ts +1 -1
  199. package/dist/shared/rate-limit.schemas.js +1 -1
  200. package/dist/utils/cookies.js +1 -1
  201. package/dist/wired-services.js +18 -18
  202. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @polyester/sdk
2
2
 
3
- ## 0.36.0-devnet-20261116010019
3
+ ## 0.36.0-devnet-20261116180931
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -18,8 +18,12 @@
18
18
 
19
19
  - Breaking: The order error code `MAX_QUOTE_DEBIT_TOO_SMALL` is renamed `QUOTE_SIZE_TOO_SMALL`, the refusal of either quote sizing, in `OrderErrorCode`, error details and `rejectReason`. ([#251](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/251))
20
20
 
21
+ - Breaking: `orderbook.get` sends `depth` as given instead of rounding it to a fixed set, so it must be a positive integer and a depth above the server's `maxDepth` is rejected. Snapshots return `bookEpoch` and `maxDepth`, and order book subscriptions discard a refetched snapshot from an older epoch. ([#260](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/260))
22
+
21
23
  - Breaking: `profile.update` no longer takes `twitter`; only X verification sets the profile's X handle. ([#258](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/258))
22
24
 
25
+ - Breaking: `orderbook.createSubscription()` and `orderbook.subscribe()` throw `ValidationError` for a `depth` above 500 instead of silently serving 500 levels. A realtime subscribe the server refuses, including a resubscribe after a server unsubscribe, now reports a non-retryable error with the server's code and message through `onError` before `onUnsubscribed`, instead of only closing. ([#261](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/261))
26
+
23
27
  - Breaking: trading withdraws without a wallet signer are now signed by the client's API key, so `tradingWithdraws.createToFunding`, `createToExternalChain` and their `prepare*` variants work for API-key clients with no extra input. The `payloadSignature` input is removed: the SDK picked the nonce after the caller had signed, so a caller-supplied signature could never match. Without a wallet signer or API-key auth the call throws `ConfigurationError`, and an API-key withdraw that targets a subaccount throws `ValidationError` instead of silently withdrawing from the key's account. API-key withdraws now also sign again on `submit` when the deadline is near, like wallet withdraws. ([#257](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/257))
24
28
 
25
29
  - Breaking: Trigger IDs are now opaque public IDs, like order IDs, and every existing trigger gets a new ID once: drop stored trigger IDs, list triggers again and restart trigger listings from the first page. A zero trigger ID is now rejected before it is sent. ([#251](https://github.com/Fabric-Labs/polyester-sdk-typescript/pull/251))
@@ -1,8 +1,8 @@
1
- import { AuthSessionStore } from "./services/auth/session.js";
2
1
  import { AuthenticationError } from "./shared/errors.js";
3
2
  import { loadErrorDetailDecoders } from "./shared/error-detail.js";
4
3
  import { toPolyesterError } from "./shared/connect-error-mapping.js";
5
4
  import { PolyesterCore, parsePolyesterClientConfig, pickPolyesterCatalogConfig } from "./core-client.js";
5
+ import { AuthSessionStore } from "./services/auth/session.js";
6
6
  import { createMemoryAuthTokenStorage } from "./services/auth/token-storage.js";
7
7
  import { AccountSignerAuthService } from "./services/auth/account-signer-auth.js";
8
8
  //#region src/browser-core.ts
@@ -5,9 +5,9 @@ import { Candle, Timeframe } from "../../marketdata/v1/marketdata_pb.js";
5
5
  import { Side, TimeInForce, TriggerPriceSource } from "../../orders/v1/orders_pb.js";
6
6
  import { Order } from "../../orders/v1/orders_read_pb.js";
7
7
  import { Trigger, TriggerStatus, TriggerType } from "../../triggers/v1/triggers_pb.js";
8
+ import { JsonObject, Message as Message$1 } from "@bufbuild/protobuf";
8
9
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
9
10
  import { Timestamp } from "@bufbuild/protobuf/wkt";
10
- import { JsonObject, Message as Message$1 } from "@bufbuild/protobuf";
11
11
  declare namespace assistant_pb_d_exports {
12
12
  export { AccountSelection, AccountSelectionSchema, ApprovalDecision, ApprovalDecisionSchema, ApprovalParameter, ApprovalParameterSchema, ApprovalRequested, ApprovalRequestedSchema, ApprovalResolved, ApprovalResolvedSchema, ApprovalStatus, ApprovalStatusSchema, AssistantKey, AssistantKeyAccount, AssistantKeyAccountSchema, AssistantKeySchema, AssistantKeyState, AssistantKeyStateSchema, AssistantKeyView, AssistantKeyViewSchema, AssistantService, AttachedExit, AttachedExitSchema, AttachedExits, AttachedExitsSchema, AttachedTrailingStop, AttachedTrailingStopSchema, BalanceHistoryChart, BalanceHistoryChartSchema, BalancesTable, BalancesTableSchema, CancelOrdersPreview, CancelOrdersPreviewSchema, CancelRunRequest, CancelRunRequestSchema, CancelRunResponse, CancelRunResponseSchema, CancelTriggerPreview, CancelTriggerPreviewSchema, CompleteAssistantKeysRequest, CompleteAssistantKeysRequestSchema, CompleteAssistantKeysResponse, CompleteAssistantKeysResponseSchema, Conversation, ConversationSchema, CurrentPage, CurrentPageSchema, DecideApprovalRequest, DecideApprovalRequestSchema, DecideApprovalResponse, DecideApprovalResponseSchema, DeleteMemoryRequest, DeleteMemoryRequestSchema, DeleteMemoryResponse, DeleteMemoryResponseSchema, DepositAddressCard, DepositAddressCardSchema, Destination, DestinationSchema, DestinationsSuggested, DestinationsSuggestedSchema, DiscardPartial, DiscardPartialSchema, DisplaySetting, DisplaySettingAction, DisplaySettingActionSchema, DisplaySettingSchema, EquityHistoryChart, EquityHistoryChartSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, FailureCategory, FailureCategorySchema, GetTelegramApprovalLimitsRequest, GetTelegramApprovalLimitsRequestSchema, GetTelegramApprovalLimitsResponse, GetTelegramApprovalLimitsResponseSchema, LadderLevel, LadderLevelSchema, LadderPreview, LadderPreviewSchema, LimitOrderPreview, LimitOrderPreviewSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, ListConversationsRequest, ListConversationsRequestSchema, ListConversationsResponse, ListConversationsResponseSchema, ListMemoriesRequest, ListMemoriesRequestSchema, ListMemoriesResponse, ListMemoriesResponseSchema, ListMessagesRequest, ListMessagesRequestSchema, ListMessagesResponse, ListMessagesResponseSchema, MarkdownTable, MarkdownTableRow, MarkdownTableRowSchema, MarkdownTableSchema, MarketOrderPreview, MarketOrderPreviewSchema, MemoriesRecalled, MemoriesRecalledSchema, Memory, MemoryKind, MemoryKindSchema, MemorySchema, Message, MessageRole, MessageRoleSchema, MessageSchema, OrderChange, OrderChangePreview, OrderChangePreviewSchema, OrderChangeSchema, OrderPreview, OrderPreviewSchema, OrderPriceField, OrderPriceFieldSchema, OrderToCancel, OrderToCancelSchema, OrdersTable, OrdersTableSchema, PlaceOrdersPreview, PlaceOrdersPreviewSchema, PrepareAssistantKeysRequest, PrepareAssistantKeysRequestSchema, PrepareAssistantKeysResponse, PrepareAssistantKeysResponseSchema, PreparedAssistantKey, PreparedAssistantKeySchema, PriceChart, PriceChartSchema, PriceOffsetDirection, PriceOffsetDirectionSchema, PriceRounding, PriceRoundingSchema, QuoteValue, QuoteValueSchema, RecalledMemory, RecalledMemorySchema, ReferencePrice, ReferencePriceSchema, ReferencePriceSource, ReferencePriceSourceSchema, RelativePrice, RelativePriceSchema, RunCompleted, RunCompletedSchema, RunEvent, RunEventSchema, RunFailed, RunFailedSchema, SendMessageRequest, SendMessageRequestSchema, SendMessageResponse, SendMessageResponseSchema, SetTelegramApprovalLimitsRequest, SetTelegramApprovalLimitsRequestSchema, SetTelegramApprovalLimitsResponse, SetTelegramApprovalLimitsResponseSchema, SkillLoaded, SkillLoadedSchema, StopOrderPreview, StopOrderPreviewSchema, SubagentFinished, SubagentFinishedSchema, SubagentStarted, SubagentStartedSchema, SwapLegPreview, SwapLegPreviewSchema, SwapPreview, SwapPreviewSchema, TelegramApprovalLimits, TelegramApprovalLimitsSchema, TextDelta, TextDeltaSchema, ToolFinished, ToolFinishedSchema, ToolStarted, ToolStartedSchema, TrailingStopPreview, TrailingStopPreviewSchema, TransfersTable, TransfersTableSchema, TriggerChangeAction, TriggerChangeActionSchema, TriggerChangePreview, TriggerChangePreviewSchema, TriggerDirection, TriggerDirectionSchema, TriggerSettings, TriggerSettingsSchema, TriggersTable, TriggersTableSchema, TwapPreview, TwapPreviewSchema, UnfilledSlicePolicy, UnfilledSlicePolicySchema, Usage, UsageSchema, View, ViewSchema, WatchRunRequest, WatchRunRequestSchema, WatchRunResponse, WatchRunResponseSchema, file_ai_v1_assistant };
13
13
  }
@@ -1,8 +1,8 @@
1
1
  import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
2
2
  import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
3
+ import { file_ledger_read_v1_ledger_read } from "../../ledger/read/v1/ledger_read_pb.js";
3
4
  import { file_alerts_v1_price_alerts } from "../../alerts/v1/price_alerts_pb.js";
4
5
  import { file_chain_deposit_v1_deposit } from "../../chain/deposit/v1/deposit_pb.js";
5
- import { file_ledger_read_v1_ledger_read } from "../../ledger/read/v1/ledger_read_pb.js";
6
6
  import { file_marketdata_v1_marketdata } from "../../marketdata/v1/marketdata_pb.js";
7
7
  import { file_orders_v1_orders } from "../../orders/v1/orders_pb.js";
8
8
  import { file_orders_v1_orders_read } from "../../orders/v1/orders_read_pb.js";
@@ -1,6 +1,6 @@
1
+ import { Message } from "@bufbuild/protobuf";
1
2
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
3
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
3
- import { Message } from "@bufbuild/protobuf";
4
4
  declare namespace price_alerts_pb_d_exports {
5
5
  export { AlertChannel, AlertChannelSchema, AlertDirection, AlertDirectionSchema, AlertPriceSource, AlertPriceSourceSchema, AlertStatus, AlertStatusSchema, AlertUpdate, AlertUpdateSchema, CancelAlertRequest, CancelAlertRequestSchema, CancelAlertResponse, CancelAlertResponseSchema, CreateAlertRequest, CreateAlertRequestSchema, CreateAlertResponse, CreateAlertResponseSchema, ErrorCode, ErrorCodeSchema, ErrorDetail, ErrorDetailSchema, ListAlertsRequest, ListAlertsRequestSchema, ListAlertsResponse, ListAlertsResponseSchema, PriceAlert, PriceAlertSchema, PriceAlertService, UpdateAlertRequest, UpdateAlertRequestSchema, UpdateAlertResponse, UpdateAlertResponseSchema, UpdateOutcome, UpdateOutcomeSchema, file_alerts_v1_price_alerts };
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { SubaccountRole } from "./subaccounts_pb.js";
2
+ import { Message } from "@bufbuild/protobuf";
2
3
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
3
4
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
4
- import { Message } from "@bufbuild/protobuf";
5
5
  declare namespace address_book_pb_d_exports {
6
6
  export { AccountScopeRef, AccountScopeRefSchema, AccountScopeType, AccountScopeTypeSchema, AddressBook, AddressBookEntriesView, AddressBookEntriesViewSchema, AddressBookEntry, AddressBookEntryKind, AddressBookEntryKindSchema, AddressBookEntrySchema, AddressBookEntryUpdateSpec, AddressBookEntryUpdateSpecSchema, AddressBookRecentDestinationsView, AddressBookRecentDestinationsViewSchema, AddressBookSchema, AddressBookService, AddressBookTag, AddressBookTagInput, AddressBookTagInputSchema, AddressBookTagSchema, AddressBookTagSummary, AddressBookTagSummarySchema, AddressBookViewInvalidated, AddressBookViewInvalidatedSchema, CopyAddressBookEntryRequest, CopyAddressBookEntryRequestSchema, CopyAddressBookEntryResponse, CopyAddressBookEntryResponseSchema, CreateAddressBookEntryRequest, CreateAddressBookEntryRequestSchema, CreateAddressBookEntryResponse, CreateAddressBookEntryResponseSchema, CreateAddressBookTagRequest, CreateAddressBookTagRequestSchema, CreateAddressBookTagResponse, CreateAddressBookTagResponseSchema, DeleteAddressBookEntryRequest, DeleteAddressBookEntryRequestSchema, DeleteAddressBookEntryResponse, DeleteAddressBookEntryResponseSchema, DeleteAddressBookTagRequest, DeleteAddressBookTagRequestSchema, DeleteAddressBookTagResponse, DeleteAddressBookTagResponseSchema, DestinationWhitelistStatus, DestinationWhitelistStatusSchema, ExternalAddressBookEntry, ExternalAddressBookEntrySchema, ExternalRecentDestination, ExternalRecentDestinationSchema, ExternalWithdrawAddress, ExternalWithdrawAddressSchema, GetAddressBookViewRequest, GetAddressBookViewRequestSchema, GetAddressBookViewResponse, GetAddressBookViewResponseSchema, GetWithdrawWhitelistViewRequest, GetWithdrawWhitelistViewRequestSchema, GetWithdrawWhitelistViewResponse, GetWithdrawWhitelistViewResponseSchema, InternalAddressBookEntry, InternalAddressBookEntrySchema, InternalRecentDestination, InternalRecentDestinationSchema, InternalTransferAccount, InternalTransferAccountSchema, InternalTransferWhitelistEntry, InternalTransferWhitelistEntrySchema, InternalWhitelistResolutionStatus, InternalWhitelistResolutionStatusSchema, ListAddressBookEntriesRequest, ListAddressBookEntriesRequestSchema, ListAddressBookEntriesResponse, ListAddressBookEntriesResponseSchema, ListAddressBooksRequest, ListAddressBooksRequestSchema, ListAddressBooksResponse, ListAddressBooksResponseSchema, ListInternalTransferWhitelistEntriesRequest, ListInternalTransferWhitelistEntriesRequestSchema, ListInternalTransferWhitelistEntriesResponse, ListInternalTransferWhitelistEntriesResponseSchema, ListTransferCounterpartiesRequest, ListTransferCounterpartiesRequestSchema, ListTransferCounterpartiesResponse, ListTransferCounterpartiesResponseSchema, ListTransferDestinationsRequest, ListTransferDestinationsRequestSchema, ListTransferDestinationsResponse, ListTransferDestinationsResponseSchema, MirroredWithdrawWhitelistEntry, MirroredWithdrawWhitelistEntrySchema, RequestedInternalTransferAccount, RequestedInternalTransferAccountSchema, TransferCounterparty, TransferCounterpartyDirection, TransferCounterpartyDirectionSchema, TransferCounterpartySchema, TransferDestination, TransferDestinationSchema, UpdateAddressBookEntryRequest, UpdateAddressBookEntryRequestSchema, UpdateAddressBookEntryResponse, UpdateAddressBookEntryResponseSchema, UpdateAddressBookTagRequest, UpdateAddressBookTagRequestSchema, UpdateAddressBookTagResponse, UpdateAddressBookTagResponseSchema, WithdrawWhitelistView, WithdrawWhitelistViewSchema, file_auth_v1_address_book };
7
7
  }
@@ -1,6 +1,6 @@
1
+ import { Message } from "@bufbuild/protobuf";
1
2
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
3
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
3
- import { Message } from "@bufbuild/protobuf";
4
4
  declare namespace api_keys_pb_d_exports {
5
5
  export { ApiKey, ApiKeyPurpose, ApiKeyPurposeSchema, ApiKeySchema, ApiKeyService, ApiKeyStatus, ApiKeyStatusSchema, ApiKeyUpdateSpec, ApiKeyUpdateSpecSchema, AssistantKeyPreset, AssistantKeyPresetSchema, AssistantKeySpec, AssistantKeySpecSchema, CreateApiKeyRequest, CreateApiKeyRequestSchema, CreateApiKeyResponse, CreateApiKeyResponseSchema, DeleteApiKeyRequest, DeleteApiKeyRequestSchema, DeleteApiKeyResponse, DeleteApiKeyResponseSchema, DeleteAssistantKeysRequest, DeleteAssistantKeysRequestSchema, DeleteAssistantKeysResponse, DeleteAssistantKeysResponseSchema, GetApiKeyRequest, GetApiKeyRequestSchema, GetApiKeyResponse, GetApiKeyResponseSchema, ListApiKeysRequest, ListApiKeysRequestSchema, ListApiKeysResponse, ListApiKeysResponseSchema, ListAssistantKeysRequest, ListAssistantKeysRequestSchema, ListAssistantKeysResponse, ListAssistantKeysResponseSchema, SetAssistantKeysRequest, SetAssistantKeysRequestSchema, SetAssistantKeysResponse, SetAssistantKeysResponseSchema, UpdateApiKeyRequest, UpdateApiKeyRequestSchema, UpdateApiKeyResponse, UpdateApiKeyResponseSchema, file_auth_v1_api_keys };
6
6
  }
@@ -1,7 +1,7 @@
1
1
  import { SessionInfo } from "./mfa_pb.js";
2
+ import { Message } from "@bufbuild/protobuf";
2
3
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
3
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
- import { Message } from "@bufbuild/protobuf";
5
5
  declare namespace auth_pb_d_exports {
6
6
  export { AcceptTermsRequest, AcceptTermsRequestSchema, AcceptTermsResponse, AcceptTermsResponseSchema, AuthErrorCode, AuthErrorCodeSchema, AuthErrorDetail, AuthErrorDetailSchema, AuthService, CreateWalletChallengeRequest, CreateWalletChallengeRequestSchema, CreateWalletChallengeResponse, CreateWalletChallengeResponseSchema, LoginWithWalletRequest, LoginWithWalletRequestSchema, LoginWithWalletResponse, LoginWithWalletResponseSchema, MeRequest, MeRequestSchema, MeResponse, MeResponseSchema, WalletChallengePurpose, WalletChallengePurposeSchema, file_auth_v1_auth };
7
7
  }
@@ -550,7 +550,7 @@ declare enum AuthErrorCode {
550
550
  */
551
551
  AUTH_MFA_LAST_FACTOR_REQUIRED = 39,
552
552
  /**
553
- * An unexpected internal failure prevented the auth mutation from completing.
553
+ * An unexpected server error stopped the request from completing.
554
554
  *
555
555
  * @generated from enum value: AUTH_INTERNAL_ERROR = 40;
556
556
  */
@@ -342,7 +342,7 @@ let AuthErrorCode = /* @__PURE__ */ function(AuthErrorCode) {
342
342
  */
343
343
  AuthErrorCode[AuthErrorCode["AUTH_MFA_LAST_FACTOR_REQUIRED"] = 39] = "AUTH_MFA_LAST_FACTOR_REQUIRED";
344
344
  /**
345
- * An unexpected internal failure prevented the auth mutation from completing.
345
+ * An unexpected server error stopped the request from completing.
346
346
  *
347
347
  * @generated from enum value: AUTH_INTERNAL_ERROR = 40;
348
348
  */
@@ -1 +1 @@
1
- {"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDAoCaXAYBSABKAlCABIZCg93YWxsZXRfcHJvdmlkZXIYByABKAlCABIRCgdtZXNzYWdlGAggASgJQgAirAEKF0xvZ2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X1BBVEhfQk9EWV9JRF9NSVNNQVRDSBA6EikKJUFVVEhfQVNTSVNUQU5UX0tFWV9BQ1RJT05fTk9UX0FMTE9XRUQQOxIkCiBBVVRIX0FTU0lTVEFOVF9LRVlfUFJPT0ZfSU5WQUxJRBA8EisKJ0FVVEhfQVNTSVNUQU5UX0tFWV9SRUdJU1RSQVRJT05fRVhQSVJFRBA9EicKI0FVVEhfQVNTSVNUQU5UX0tFWV9ERUFETElORV9UT09fRkFSED4SGAoUQVVUSF9SRVBMQVlfREVURUNURUQQPxIgChxBVVRIX1NPQ0lBTF9BQ0NPVU5UX0NPT0xET1dOEEASJAogQVVUSF9TT0NJQUxfQ0hBTkdFX0xJTUlUX1JFQUNIRUQQQTLRAgoLQXV0aFNlcnZpY2USaAoVQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlEiUuYXV0aC52MS5DcmVhdGVXYWxsZXRDaGFsbGVuZ2VSZXF1ZXN0GiYuYXV0aC52MS5DcmVhdGVXYWxsZXRDaGFsbGVuZ2VSZXNwb25zZSIAElYKD0xvZ2luV2l0aFdhbGxldBIfLmF1dGgudjEuTG9naW5XaXRoV2FsbGV0UmVxdWVzdBogLmF1dGgudjEuTG9naW5XaXRoV2FsbGV0UmVzcG9uc2UiABJNCgtBY2NlcHRUZXJtcxIbLmF1dGgudjEuQWNjZXB0VGVybXNSZXF1ZXN0GhwuYXV0aC52MS5BY2NlcHRUZXJtc1Jlc3BvbnNlIgOQAgISLwoCTWUSEi5hdXRoLnYxLk1lUmVxdWVzdBoTLmF1dGgudjEuTWVSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_auth_v1_mfa, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n\n /**\n * Time in UTC from which the same request may succeed. Set for\n * AUTH_SOCIAL_ACCOUNT_COOLDOWN and AUTH_SOCIAL_CHANGE_LIMIT_REACHED; empty\n * otherwise.\n *\n * @generated from field: google.protobuf.Timestamp retry_after = 3;\n */\n retryAfter?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key, or the calling API\n * key's policy lacks the account permission the call needs, or the call needs\n * a key scoped to the main account. Those two permission refusals name the\n * permission in the message; an ownership refusal names none.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected internal failure prevented the auth mutation from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept this request in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n * A refused WebSocket login needs a new signed login with a fresh nonce.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed, more than 1 second ahead of the server\n * clock, or older than the request's receive window (X-API-RECV-WINDOW, 5 seconds when\n * omitted) when the request arrived. The request was not processed. Sync the clock, then\n * sign the request again with a fresh timestamp. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header, or a signed\n * WebSocket login lacks a valid X-API-NONCE. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n\n /**\n * The wallet that signed this login is already linked to another account, so the\n * submitted account address cannot be registered with it. Wallets are not moved between\n * accounts. Log in with the account address this wallet already uses.\n *\n * @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;\n */\n AUTH_WALLET_ALREADY_LINKED = 55,\n\n /**\n * The API key request's X-API-RECV-WINDOW header is not a single whole number of\n * milliseconds from 1 to 60000. The request was not processed. The REST problem code is\n * RECV_WINDOW_INVALID.\n *\n * @generated from enum value: AUTH_RECV_WINDOW_INVALID = 56;\n */\n AUTH_RECV_WINDOW_INVALID = 56,\n\n /**\n * Too many of this API key's signed requests are still within their receive windows,\n * or too many of every key's, for another to be accepted. The request was not\n * processed. Retry shortly; a shorter receive window lets requests make room sooner.\n * ConnectRPC answers resource_exhausted. The REST problem code is\n * REPLAY_CAPACITY_EXHAUSTED, with HTTP 429.\n *\n * @generated from enum value: AUTH_REPLAY_CAPACITY_EXHAUSTED = 57;\n */\n AUTH_REPLAY_CAPACITY_EXHAUSTED = 57,\n\n /**\n * A non-empty request body identifier differs from the REST path identifier.\n * The request is rejected with HTTP 400 before any action is performed.\n *\n * @generated from enum value: AUTH_PATH_BODY_ID_MISMATCH = 58;\n */\n AUTH_PATH_BODY_ID_MISMATCH = 58,\n\n /**\n * An assistant API key can never be allowed an action that moves value out of the\n * account or manages where it goes: EXTERNAL_WITHDRAW, INTERNAL_TRANSFER,\n * MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59;\n */\n AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59,\n\n /**\n * A new assistant key's registration proof is missing or does not verify\n * for its account, public key and registration deadline. The REST problem\n * code is ASSISTANT_KEY_PROOF_INVALID.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_PROOF_INVALID = 60;\n */\n AUTH_ASSISTANT_KEY_PROOF_INVALID = 60,\n\n /**\n * A new assistant key's registration deadline has passed; prepare the key\n * again. The REST problem code is ASSISTANT_KEY_REGISTRATION_EXPIRED.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61;\n */\n AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61,\n\n /**\n * A new assistant key's registration deadline is more than 15 minutes\n * ahead. The REST problem code is ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62;\n */\n AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62,\n\n /**\n * The signed WebSocket login nonce has already been used. Create a new login\n * with a fresh random nonce and signature. HTTP 401, REPLAY_DETECTED.\n *\n * @generated from enum value: AUTH_REPLAY_DETECTED = 63;\n */\n AUTH_REPLAY_DETECTED = 63,\n\n /**\n * The X/Twitter or Discord account was unlinked from another Polyester\n * account less than 30 days ago, and can be linked to a different account\n * only after that. The account that unlinked it may link it again at once.\n * retry_after says when. HTTP 412, SOCIAL_ACCOUNT_COOLDOWN.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64;\n */\n AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64,\n\n /**\n * The account already changed or unlinked its X/Twitter or Discord account\n * less than 30 days ago: one change per provider every 30 days. retry_after\n * says when the next one is allowed. HTTP 412, SOCIAL_CHANGE_LIMIT_REACHED.\n *\n * @generated from enum value: AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65;\n */\n AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,goJAAgoJ;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CztJ,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,kBACX,0BAAY,mBAAmB,CAAC;;;;;AAmDlC,MAAa,mBACX,0BAAY,mBAAmB,CAAC;;;;;AAoClC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AAclC,MAAa,2BACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,4BACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,IAAY,yBAAL,yBAAA,wBAAA;;;;;;CAML,uBAAA,uBAAA,8BAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,WAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,+BACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,IAAY,gBAAL,yBAAA,eAAA;;;;;;CAML,cAAA,cAAA,sBAAA,KAAA;;;;;;CAOA,cAAA,cAAA,2BAAA,KAAA;;;;;;CA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A8CX,0BAAY,mBAAmB,CAAC"}
1
+ {"version":3,"file":"auth_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/auth_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/auth.proto (package auth.v1, syntax proto3)\n/* eslint-disable */\n\nimport type { GenEnum, GenFile, GenMessage, GenService } from \"@bufbuild/protobuf/codegenv2\";\nimport { enumDesc, fileDesc, messageDesc, serviceDesc } from \"@bufbuild/protobuf/codegenv2\";\nimport type { SessionInfo } from \"./mfa_pb.js\";\nimport { file_auth_v1_mfa } from \"./mfa_pb.js\";\nimport type { Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/auth.proto.\n */\nexport const file_auth_v1_auth: GenFile = /*@__PURE__*/\n fileDesc(\"ChJhdXRoL3YxL2F1dGgucHJvdG8SB2F1dGgudjEinAEKHENyZWF0ZVdhbGxldENoYWxsZW5nZVJlcXVlc3QSHwoVc21hcnRfYWNjb3VudF9hZGRyZXNzGAEgASgJQgASGAoOc2lnbmVyX2FkZHJlc3MYAiABKAlCABINCgN1cmkYAyABKAlCABIyCgdwdXJwb3NlGAQgASgOMh8uYXV0aC52MS5XYWxsZXRDaGFsbGVuZ2VQdXJwb3NlQgAiYAodQ3JlYXRlV2FsbGV0Q2hhbGxlbmdlUmVzcG9uc2USDwoHbWVzc2FnZRgBIAEoCRIuCgpleHBpcmVzX2F0GAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcCKgAQoWTG9naW5XaXRoV2FsbGV0UmVxdWVzdBIfChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAlCABITCglzaWduYXR1cmUYAyABKAlCABIUCgp1c2VyX2FnZW50GAQgASgJQgASDA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_api_options]);\n\n/**\n * CreateWalletChallengeRequest requests a short-lived EIP-4361 message whose\n * exact UTF-8 bytes must be signed by the wallet.\n *\n * @generated from message auth.v1.CreateWalletChallengeRequest\n */\nexport type CreateWalletChallengeRequest = Message<\"auth.v1.CreateWalletChallengeRequest\"> & {\n /**\n * Smart-account EVM address being authenticated, formatted as 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Address whose signature authorizes the challenge and that is written into\n * the EIP-4361 message. This must be an EOA that controls the target smart account.\n *\n * @generated from field: string signer_address = 2;\n */\n signerAddress: string;\n\n /**\n * Browser origin URI requesting the signature, including scheme and optional\n * port but no path, query, fragment, or user information.\n *\n * @generated from field: string uri = 3;\n */\n uri: string;\n\n /**\n * Operation for which the challenge may be consumed. Must be LOGIN.\n *\n * @generated from field: auth.v1.WalletChallengePurpose purpose = 4;\n */\n purpose: WalletChallengePurpose;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeRequest.\n * Use `create(CreateWalletChallengeRequestSchema)` to create a new message.\n */\nexport const CreateWalletChallengeRequestSchema: GenMessage<CreateWalletChallengeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 0);\n\n/**\n * CreateWalletChallengeResponse contains the canonical EIP-4361 message.\n *\n * @generated from message auth.v1.CreateWalletChallengeResponse\n */\nexport type CreateWalletChallengeResponse = Message<\"auth.v1.CreateWalletChallengeResponse\"> & {\n /**\n * Canonical EIP-4361 message. Sign these UTF-8 bytes exactly once with\n * personal_sign; do not hash, alter, or reconstruct the message.\n *\n * @generated from field: string message = 1;\n */\n message: string;\n\n /**\n * Time in UTC when the challenge expires. Wallet challenges expire after 5 minutes.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateWalletChallengeResponse.\n * Use `create(CreateWalletChallengeResponseSchema)` to create a new message.\n */\nexport const CreateWalletChallengeResponseSchema: GenMessage<CreateWalletChallengeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 1);\n\n/**\n * LoginWithWalletRequest completes smart-account wallet login using the exact\n * server-issued EIP-4361 message and its signature.\n *\n * @generated from message auth.v1.LoginWithWalletRequest\n */\nexport type LoginWithWalletRequest = Message<\"auth.v1.LoginWithWalletRequest\"> & {\n /**\n * Smart-account EVM address bound into the challenge resource, formatted as\n * 0x plus 40 hex characters.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * EOA signature over message using EIP-191 personal_sign semantics. A valid\n * value is 65 bytes of hexadecimal with an optional 0x prefix. Requests are\n * limited to 8192 characters.\n *\n * @generated from field: string signature = 3;\n */\n signature: string;\n\n /**\n * Optional user-agent string for account security and audit displays. Maximum\n * length is 512 characters.\n *\n * @generated from field: string user_agent = 4;\n */\n userAgent: string;\n\n /**\n * Optional caller IP address for account security and audit displays. Maximum\n * length is 64 characters.\n *\n * @generated from field: string ip = 5;\n */\n ip: string;\n\n /**\n * Optional provider hint for the signing wallet. Maximum length is 32 characters.\n *\n * @generated from field: string wallet_provider = 7;\n */\n walletProvider: string;\n\n /**\n * Exact EIP-4361 message returned by CreateWalletChallenge. Maximum length is\n * 4096 UTF-8 bytes.\n *\n * @generated from field: string message = 8;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletRequest.\n * Use `create(LoginWithWalletRequestSchema)` to create a new message.\n */\nexport const LoginWithWalletRequestSchema: GenMessage<LoginWithWalletRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 2);\n\n/**\n * LoginWithWalletResponse returns a session token for the authenticated root\n * account.\n *\n * @generated from message auth.v1.LoginWithWalletResponse\n */\nexport type LoginWithWalletResponse = Message<\"auth.v1.LoginWithWalletResponse\"> & {\n /**\n * Bearer access token for authenticated API calls.\n *\n * @generated from field: string access_token = 1;\n */\n accessToken: string;\n\n /**\n * Time in UTC when access_token expires.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 2;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Root account the token is bound to (opaque ID).\n *\n * @generated from field: fixed64 account_id = 10;\n */\n accountId: bigint;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 13;\n */\n username: string;\n\n /**\n * Session assurance details for the issued access token.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.LoginWithWalletResponse.\n * Use `create(LoginWithWalletResponseSchema)` to create a new message.\n */\nexport const LoginWithWalletResponseSchema: GenMessage<LoginWithWalletResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 3);\n\n/**\n * MeRequest introspects the authenticated caller from the presented access\n * token or API key.\n *\n * @generated from message auth.v1.MeRequest\n */\nexport type MeRequest = Message<\"auth.v1.MeRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.MeRequest.\n * Use `create(MeRequestSchema)` to create a new message.\n */\nexport const MeRequestSchema: GenMessage<MeRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 4);\n\n/**\n * MeResponse describes the authenticated caller and current session context.\n *\n * @generated from message auth.v1.MeResponse\n */\nexport type MeResponse = Message<\"auth.v1.MeResponse\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Stable public identifier of the API key that authenticated this request,\n * formatted as \"ak_\" followed by 32 lowercase hexadecimal characters.\n * Absent when the request was not authenticated with an API key.\n *\n * @generated from field: optional string api_key_id = 10;\n */\n apiKeyId?: string | undefined;\n\n /**\n * Optional current username for the root account (empty if not set).\n *\n * @generated from field: string username = 11;\n */\n username: string;\n\n /**\n * Root smart-account EVM address, formatted as 0x plus 40 hex characters.\n * Empty if not set.\n *\n * @generated from field: string root_smart_account_address = 12;\n */\n rootSmartAccountAddress: string;\n\n /**\n * Session assurance details for the presented access token, if any.\n *\n * @generated from field: auth.v1.SessionInfo session = 20;\n */\n session?: SessionInfo | undefined;\n};\n\n/**\n * Describes the message auth.v1.MeResponse.\n * Use `create(MeResponseSchema)` to create a new message.\n */\nexport const MeResponseSchema: GenMessage<MeResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 5);\n\n/**\n * AuthErrorDetail describes an authentication or account-domain failure.\n *\n * @generated from message auth.v1.AuthErrorDetail\n */\nexport type AuthErrorDetail = Message<\"auth.v1.AuthErrorDetail\"> & {\n /**\n * Stable machine-readable auth error code.\n *\n * @generated from field: auth.v1.AuthErrorCode code = 1;\n */\n code: AuthErrorCode;\n\n /**\n * Human-readable error message.\n *\n * @generated from field: string message = 2;\n */\n message: string;\n\n /**\n * Time in UTC from which the same request may succeed. Set for\n * AUTH_SOCIAL_ACCOUNT_COOLDOWN and AUTH_SOCIAL_CHANGE_LIMIT_REACHED; empty\n * otherwise.\n *\n * @generated from field: google.protobuf.Timestamp retry_after = 3;\n */\n retryAfter?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.AuthErrorDetail.\n * Use `create(AuthErrorDetailSchema)` to create a new message.\n */\nexport const AuthErrorDetailSchema: GenMessage<AuthErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 6);\n\n/**\n * AcceptTermsRequest records explicit consent to the terms that apply to the caller's root account.\n *\n * @generated from message auth.v1.AcceptTermsRequest\n */\nexport type AcceptTermsRequest = Message<\"auth.v1.AcceptTermsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsRequest.\n * Use `create(AcceptTermsRequestSchema)` to create a new message.\n */\nexport const AcceptTermsRequestSchema: GenMessage<AcceptTermsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 7);\n\n/**\n * AcceptTermsResponse confirms acceptance. Repeated requests succeed and\n * preserve the first acceptance time.\n *\n * @generated from message auth.v1.AcceptTermsResponse\n */\nexport type AcceptTermsResponse = Message<\"auth.v1.AcceptTermsResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.AcceptTermsResponse.\n * Use `create(AcceptTermsResponseSchema)` to create a new message.\n */\nexport const AcceptTermsResponseSchema: GenMessage<AcceptTermsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_auth, 8);\n\n/**\n * Purpose for a server-issued wallet challenge.\n *\n * @generated from enum auth.v1.WalletChallengePurpose\n */\nexport enum WalletChallengePurpose {\n /**\n * No wallet challenge purpose was specified.\n *\n * @generated from enum value: WALLET_PROOF_UNSPECIFIED = 0;\n */\n WALLET_PROOF_UNSPECIFIED = 0,\n\n /**\n * Authenticate the wallet and create a Polyester session.\n *\n * @generated from enum value: LOGIN = 1;\n */\n LOGIN = 1,\n}\n\n/**\n * Describes the enum auth.v1.WalletChallengePurpose.\n */\nexport const WalletChallengePurposeSchema: GenEnum<WalletChallengePurpose> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 0);\n\n/**\n * High-level error codes for authentication and account-domain failures.\n *\n * @generated from enum auth.v1.AuthErrorCode\n */\nexport enum AuthErrorCode {\n /**\n * No auth error code specified.\n *\n * @generated from enum value: AUTH_UNSPECIFIED = 0;\n */\n AUTH_UNSPECIFIED = 0,\n\n /**\n * Username format or characters are invalid.\n *\n * @generated from enum value: AUTH_USERNAME_INVALID = 1;\n */\n AUTH_USERNAME_INVALID = 1,\n\n /**\n * Username is already used by another account.\n *\n * @generated from enum value: AUTH_USERNAME_TAKEN = 2;\n */\n AUTH_USERNAME_TAKEN = 2,\n\n /**\n * Username was changed too recently.\n *\n * @generated from enum value: AUTH_USERNAME_COOLDOWN = 3;\n */\n AUTH_USERNAME_COOLDOWN = 3,\n\n /**\n * Account is not currently eligible to claim or change a username.\n *\n * @generated from enum value: AUTH_USERNAME_FEATURE_LOCKED = 4;\n */\n AUTH_USERNAME_FEATURE_LOCKED = 4,\n\n /**\n * Username is reserved and cannot be claimed by this account.\n *\n * @generated from enum value: AUTH_USERNAME_RESERVED = 5;\n */\n AUTH_USERNAME_RESERVED = 5,\n\n /**\n * Request is malformed or missing required input.\n *\n * @generated from enum value: AUTH_INVALID_REQUEST = 6;\n */\n AUTH_INVALID_REQUEST = 6,\n\n /**\n * Authentication is required for this operation.\n *\n * @generated from enum value: AUTH_AUTHENTICATION_REQUIRED = 7;\n */\n AUTH_AUTHENTICATION_REQUIRED = 7,\n\n /**\n * Presented session type is not allowed for this operation.\n *\n * @generated from enum value: AUTH_SESSION_KIND_NOT_ALLOWED = 8;\n */\n AUTH_SESSION_KIND_NOT_ALLOWED = 8,\n\n /**\n * Wallet login failed because the nonce or signature could not be verified.\n *\n * @generated from enum value: AUTH_WALLET_LOGIN_FAILED = 9;\n */\n AUTH_WALLET_LOGIN_FAILED = 9,\n\n /**\n * Requested resource was not found.\n *\n * @generated from enum value: AUTH_RESOURCE_NOT_FOUND = 10;\n */\n AUTH_RESOURCE_NOT_FOUND = 10,\n\n /**\n * Caller does not have access to the requested sub-account.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_ACCESS_DENIED = 11;\n */\n AUTH_SUBACCOUNT_ACCESS_DENIED = 11,\n\n /**\n * Caller does not have access to the requested API key, or the calling API\n * key's policy lacks the account permission the call needs, or the call needs\n * a key scoped to the main account. Those two permission refusals name the\n * permission in the message; an ownership refusal names none.\n *\n * @generated from enum value: AUTH_API_KEY_ACCESS_DENIED = 12;\n */\n AUTH_API_KEY_ACCESS_DENIED = 12,\n\n /**\n * Requested API key status transition is not allowed.\n *\n * @generated from enum value: AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14;\n */\n AUTH_API_KEY_INVALID_STATUS_TRANSITION = 14,\n\n /**\n * Policy definition or binding is invalid.\n *\n * @generated from enum value: AUTH_POLICY_INVALID = 15;\n */\n AUTH_POLICY_INVALID = 15,\n\n /**\n * Smart-account address is already linked to another account.\n *\n * @generated from enum value: AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16;\n */\n AUTH_SMART_ACCOUNT_ALREADY_LINKED = 16,\n\n /**\n * Caller does not have access to the requested invite.\n *\n * @generated from enum value: AUTH_INVITE_ACCESS_DENIED = 17;\n */\n AUTH_INVITE_ACCESS_DENIED = 17,\n\n /**\n * Invite cannot be used in its current state.\n *\n * @generated from enum value: AUTH_INVITE_INVALID_STATE = 18;\n */\n AUTH_INVITE_INVALID_STATE = 18,\n\n /**\n * MFA is not available for this account.\n *\n * @generated from enum value: AUTH_MFA_DISABLED = 19;\n */\n AUTH_MFA_DISABLED = 19,\n\n /**\n * Required MFA factor is not enrolled.\n *\n * @generated from enum value: AUTH_MFA_NOT_ENROLLED = 20;\n */\n AUTH_MFA_NOT_ENROLLED = 20,\n\n /**\n * MFA session is missing, expired, or invalid.\n *\n * @generated from enum value: AUTH_MFA_SESSION_INVALID = 21;\n */\n AUTH_MFA_SESSION_INVALID = 21,\n\n /**\n * MFA challenge was not found.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_NOT_FOUND = 22;\n */\n AUTH_MFA_CHALLENGE_NOT_FOUND = 22,\n\n /**\n * MFA challenge payload is invalid.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_INVALID = 23;\n */\n AUTH_MFA_CHALLENGE_INVALID = 23,\n\n /**\n * MFA challenge is locked after too many failed attempts.\n *\n * @generated from enum value: AUTH_MFA_CHALLENGE_LOCKED = 24;\n */\n AUTH_MFA_CHALLENGE_LOCKED = 24,\n\n /**\n * One-time password is invalid.\n *\n * @generated from enum value: AUTH_MFA_OTP_INVALID = 25;\n */\n AUTH_MFA_OTP_INVALID = 25,\n\n /**\n * Recovery code is invalid.\n *\n * @generated from enum value: AUTH_MFA_RECOVERY_INVALID = 26;\n */\n AUTH_MFA_RECOVERY_INVALID = 26,\n\n /**\n * Passkey verification is not available for this challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27;\n */\n AUTH_MFA_PASSKEY_NOT_AVAILABLE = 27,\n\n /**\n * Passkey credential is invalid for this account or challenge.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28;\n */\n AUTH_MFA_PASSKEY_CREDENTIAL_INVALID = 28,\n\n /**\n * Passkey verification failed.\n *\n * @generated from enum value: AUTH_MFA_PASSKEY_VERIFY_FAILED = 29;\n */\n AUTH_MFA_PASSKEY_VERIFY_FAILED = 29,\n\n /**\n * MFA enrollment binding is invalid or expired.\n *\n * @generated from enum value: AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30;\n */\n AUTH_MFA_ENROLLMENT_BINDING_INVALID = 30,\n\n /**\n * A fresh step-up proof is required for this protected operation.\n *\n * @generated from enum value: AUTH_STEP_UP_REQUIRED = 31;\n */\n AUTH_STEP_UP_REQUIRED = 31,\n\n /**\n * A requested step-up proof is unavailable.\n *\n * @generated from enum value: AUTH_STEP_UP_PROOF_UNAVAILABLE = 32;\n */\n AUTH_STEP_UP_PROOF_UNAVAILABLE = 32,\n\n /**\n * The step-up proof has already been claimed.\n *\n * @generated from enum value: AUTH_STEP_UP_ALREADY_CLAIMED = 33;\n */\n AUTH_STEP_UP_ALREADY_CLAIMED = 33,\n\n /**\n * The requested policy cannot be removed because it is still in use.\n *\n * @generated from enum value: AUTH_POLICY_IN_USE = 34;\n */\n AUTH_POLICY_IN_USE = 34,\n\n /**\n * The requested policy is locked against this mutation.\n *\n * @generated from enum value: AUTH_POLICY_LOCKED = 35;\n */\n AUTH_POLICY_LOCKED = 35,\n\n /**\n * The requested policy does not belong to the target account scope.\n *\n * @generated from enum value: AUTH_POLICY_SCOPE_MISMATCH = 36;\n */\n AUTH_POLICY_SCOPE_MISMATCH = 36,\n\n /**\n * The resource changed after the caller read it.\n *\n * @generated from enum value: AUTH_REVISION_CONFLICT = 37;\n */\n AUTH_REVISION_CONFLICT = 37,\n\n /**\n * A recently MFA-elevated interactive session is required.\n *\n * @generated from enum value: AUTH_MFA_ELEVATION_REQUIRED = 38;\n */\n AUTH_MFA_ELEVATION_REQUIRED = 38,\n\n /**\n * At least one active MFA factor must remain enrolled.\n *\n * @generated from enum value: AUTH_MFA_LAST_FACTOR_REQUIRED = 39;\n */\n AUTH_MFA_LAST_FACTOR_REQUIRED = 39,\n\n /**\n * An unexpected server error stopped the request from completing.\n *\n * @generated from enum value: AUTH_INTERNAL_ERROR = 40;\n */\n AUTH_INTERNAL_ERROR = 40,\n\n /**\n * The caller has not accepted the terms required for this action.\n *\n * @generated from enum value: AUTH_TERMS_NOT_ACCEPTED = 41;\n */\n AUTH_TERMS_NOT_ACCEPTED = 41,\n\n /**\n * Social verification challenge expired. Start a new verification, then mark it ready again.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_EXPIRED = 42;\n */\n AUTH_SOCIAL_VERIFICATION_EXPIRED = 42,\n\n /**\n * Social verification cannot accept this request in its current state.\n *\n * @generated from enum value: AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43;\n */\n AUTH_SOCIAL_VERIFICATION_INVALID_STATE = 43,\n\n /**\n * Sub-account authorization is expired, replaced, consumed, or has an invalid signature.\n * Temporary verification failures return Unavailable; retry the same signed challenge.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44;\n */\n AUTH_SUBACCOUNT_CHALLENGE_INVALID = 44,\n\n /**\n * Social account is already linked to another Polyester account.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45;\n */\n AUTH_SOCIAL_ACCOUNT_ALREADY_LINKED = 45,\n\n /**\n * The request could not be completed right now and changed nothing. Retry the same request.\n * A refused WebSocket login needs a new signed login with a fresh nonce.\n *\n * @generated from enum value: AUTH_TEMPORARILY_UNAVAILABLE = 46;\n */\n AUTH_TEMPORARILY_UNAVAILABLE = 46,\n\n /**\n * The account owns this sub-account. An owner cannot be invited to it, and member role\n * changes and member removal do not apply to the owner.\n *\n * @generated from enum value: AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47;\n */\n AUTH_SUBACCOUNT_OWNER_ROLE_LOCKED = 47,\n\n /**\n * The API key request signature does not verify against the request, or the key is unknown.\n * The REST problem code is SIGNATURE_INVALID.\n *\n * @generated from enum value: AUTH_SIGNATURE_INVALID = 48;\n */\n AUTH_SIGNATURE_INVALID = 48,\n\n /**\n * The API key request timestamp is malformed, more than 1 second ahead of the server\n * clock, or older than the request's receive window (X-API-RECV-WINDOW, 5 seconds when\n * omitted) when the request arrived. The request was not processed. Sync the clock, then\n * sign the request again with a fresh timestamp. The REST problem code is TIMESTAMP_SKEW.\n *\n * @generated from enum value: AUTH_TIMESTAMP_SKEW = 49;\n */\n AUTH_TIMESTAMP_SKEW = 49,\n\n /**\n * The API key request lacks its timestamp or signature header, or a signed\n * WebSocket login lacks a valid X-API-NONCE. The REST problem code is\n * MISSING_HEADERS.\n *\n * @generated from enum value: AUTH_MISSING_HEADERS = 50;\n */\n AUTH_MISSING_HEADERS = 50,\n\n /**\n * The API key has expired. The REST problem code is KEY_EXPIRED.\n *\n * @generated from enum value: AUTH_KEY_EXPIRED = 51;\n */\n AUTH_KEY_EXPIRED = 51,\n\n /**\n * The API key is disabled or revoked. The REST problem code is KEY_DISABLED.\n *\n * @generated from enum value: AUTH_KEY_DISABLED = 52;\n */\n AUTH_KEY_DISABLED = 52,\n\n /**\n * The API key's IP allowlist does not include the request's source address. The REST\n * problem code is IP_NOT_ALLOWED.\n *\n * @generated from enum value: AUTH_IP_NOT_ALLOWED = 53;\n */\n AUTH_IP_NOT_ALLOWED = 53,\n\n /**\n * This API does not accept API keys; authenticate with a session token. The REST problem\n * code is API_KEY_NOT_ACCEPTED.\n *\n * @generated from enum value: AUTH_API_KEY_NOT_ACCEPTED = 54;\n */\n AUTH_API_KEY_NOT_ACCEPTED = 54,\n\n /**\n * The wallet that signed this login is already linked to another account, so the\n * submitted account address cannot be registered with it. Wallets are not moved between\n * accounts. Log in with the account address this wallet already uses.\n *\n * @generated from enum value: AUTH_WALLET_ALREADY_LINKED = 55;\n */\n AUTH_WALLET_ALREADY_LINKED = 55,\n\n /**\n * The API key request's X-API-RECV-WINDOW header is not a single whole number of\n * milliseconds from 1 to 60000. The request was not processed. The REST problem code is\n * RECV_WINDOW_INVALID.\n *\n * @generated from enum value: AUTH_RECV_WINDOW_INVALID = 56;\n */\n AUTH_RECV_WINDOW_INVALID = 56,\n\n /**\n * Too many of this API key's signed requests are still within their receive windows,\n * or too many of every key's, for another to be accepted. The request was not\n * processed. Retry shortly; a shorter receive window lets requests make room sooner.\n * ConnectRPC answers resource_exhausted. The REST problem code is\n * REPLAY_CAPACITY_EXHAUSTED, with HTTP 429.\n *\n * @generated from enum value: AUTH_REPLAY_CAPACITY_EXHAUSTED = 57;\n */\n AUTH_REPLAY_CAPACITY_EXHAUSTED = 57,\n\n /**\n * A non-empty request body identifier differs from the REST path identifier.\n * The request is rejected with HTTP 400 before any action is performed.\n *\n * @generated from enum value: AUTH_PATH_BODY_ID_MISMATCH = 58;\n */\n AUTH_PATH_BODY_ID_MISMATCH = 58,\n\n /**\n * An assistant API key can never be allowed an action that moves value out of the\n * account or manages where it goes: EXTERNAL_WITHDRAW, INTERNAL_TRANSFER,\n * MANAGE_ADDRESS_BOOK or MANAGE_AUTO_WITHDRAW.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59;\n */\n AUTH_ASSISTANT_KEY_ACTION_NOT_ALLOWED = 59,\n\n /**\n * A new assistant key's registration proof is missing or does not verify\n * for its account, public key and registration deadline. The REST problem\n * code is ASSISTANT_KEY_PROOF_INVALID.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_PROOF_INVALID = 60;\n */\n AUTH_ASSISTANT_KEY_PROOF_INVALID = 60,\n\n /**\n * A new assistant key's registration deadline has passed; prepare the key\n * again. The REST problem code is ASSISTANT_KEY_REGISTRATION_EXPIRED.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61;\n */\n AUTH_ASSISTANT_KEY_REGISTRATION_EXPIRED = 61,\n\n /**\n * A new assistant key's registration deadline is more than 15 minutes\n * ahead. The REST problem code is ASSISTANT_KEY_DEADLINE_TOO_FAR.\n *\n * @generated from enum value: AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62;\n */\n AUTH_ASSISTANT_KEY_DEADLINE_TOO_FAR = 62,\n\n /**\n * The signed WebSocket login nonce has already been used. Create a new login\n * with a fresh random nonce and signature. HTTP 401, REPLAY_DETECTED.\n *\n * @generated from enum value: AUTH_REPLAY_DETECTED = 63;\n */\n AUTH_REPLAY_DETECTED = 63,\n\n /**\n * The X/Twitter or Discord account was unlinked from another Polyester\n * account less than 30 days ago, and can be linked to a different account\n * only after that. The account that unlinked it may link it again at once.\n * retry_after says when. HTTP 412, SOCIAL_ACCOUNT_COOLDOWN.\n *\n * @generated from enum value: AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64;\n */\n AUTH_SOCIAL_ACCOUNT_COOLDOWN = 64,\n\n /**\n * The account already changed or unlinked its X/Twitter or Discord account\n * less than 30 days ago: one change per provider every 30 days. retry_after\n * says when the next one is allowed. HTTP 412, SOCIAL_CHANGE_LIMIT_REACHED.\n *\n * @generated from enum value: AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65;\n */\n AUTH_SOCIAL_CHANGE_LIMIT_REACHED = 65,\n}\n\n/**\n * Describes the enum auth.v1.AuthErrorCode.\n */\nexport const AuthErrorCodeSchema: GenEnum<AuthErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_auth, 1);\n\n/**\n * AuthService manages wallet login, explicit terms consent, and caller authentication context.\n *\n * @generated from service auth.v1.AuthService\n */\nexport const AuthService: GenService<{\n /**\n * Create a short-lived EIP-4361 wallet challenge.\n *\n * @generated from rpc auth.v1.AuthService.CreateWalletChallenge\n */\n createWalletChallenge: {\n methodKind: \"unary\";\n input: typeof CreateWalletChallengeRequestSchema;\n output: typeof CreateWalletChallengeResponseSchema;\n },\n /**\n * Verify a signed EIP-4361 message and issue an access token. Login and account creation\n * do not accept terms; explicit consent is recorded only by AcceptTerms.\n *\n * @generated from rpc auth.v1.AuthService.LoginWithWallet\n */\n loginWithWallet: {\n methodKind: \"unary\";\n input: typeof LoginWithWalletRequestSchema;\n output: typeof LoginWithWalletResponseSchema;\n },\n /**\n * Explicitly accept the terms that apply to the caller's root account.\n * Requires an interactive JWT session; API keys are not allowed. Login, trading,\n * reads, and use of existing resources remain available without acceptance.\n * Acceptance is required before creating a subaccount, API key, or deposit address.\n *\n * @generated from rpc auth.v1.AuthService.AcceptTerms\n */\n acceptTerms: {\n methodKind: \"unary\";\n input: typeof AcceptTermsRequestSchema;\n output: typeof AcceptTermsResponseSchema;\n },\n /**\n * Return the caller's current auth context.\n *\n * @generated from rpc auth.v1.AuthService.Me\n */\n me: {\n methodKind: \"unary\";\n input: typeof MeRequestSchema;\n output: typeof MeResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_auth, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,oBACX,uBAAS,goJAAgoJ;CAAC;CAAkB;CAAgC;AAA0B,CAAC;;;;;AA4CztJ,MAAa,qCACX,0BAAY,mBAAmB,CAAC;;;;;AA4BlC,MAAa,sCACX,0BAAY,mBAAmB,CAAC;;;;;AA8DlC,MAAa,+BACX,0BAAY,mBAAmB,CAAC;;;;;AAiDlC,MAAa,gCACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,kBACX,0BAAY,mBAAmB,CAAC;;;;;AAmDlC,MAAa,mBACX,0BAAY,mBAAmB,CAAC;;;;;AAoClC,MAAa,wBACX,0BAAY,mBAAmB,CAAC;;;;;AAclC,MAAa,2BACX,0BAAY,mBAAmB,CAAC;;;;;AAelC,MAAa,4BACX,0BAAY,mBAAmB,CAAC;;;;;;AAOlC,IAAY,yBAAL,yBAAA,wBAAA;;;;;;CAML,uBAAA,uBAAA,8BAAA,KAAA;;;;;;CAOA,uBAAA,uBAAA,WAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,+BACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,IAAY,gBAAL,yBAAA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;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,sBACX,uBAAS,mBAAmB,CAAC;;;;;;AAO/B,MAAa,cA8CX,0BAAY,mBAAmB,CAAC"}
@@ -1,6 +1,6 @@
1
+ import { JsonObject, Message } from "@bufbuild/protobuf";
1
2
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
3
- import { JsonObject, Message } from "@bufbuild/protobuf";
4
4
  declare namespace mfa_pb_d_exports {
5
5
  export { BeginMFAChallengeRequest, BeginMFAChallengeRequestSchema, BeginMFAChallengeResponse, BeginMFAChallengeResponseSchema, BeginPasskeyEnrollmentRequest, BeginPasskeyEnrollmentRequestSchema, BeginPasskeyEnrollmentResponse, BeginPasskeyEnrollmentResponseSchema, BeginTOTPEnrollmentRequest, BeginTOTPEnrollmentRequestSchema, BeginTOTPEnrollmentResponse, BeginTOTPEnrollmentResponseSchema, ClaimFreshStepUpRequest, ClaimFreshStepUpRequestSchema, ClaimFreshStepUpResponse, ClaimFreshStepUpResponseSchema, CompleteMFAChallengeResponse, CompleteMFAChallengeResponseSchema, ConsumeFreshStepUpRequest, ConsumeFreshStepUpRequestSchema, ConsumeFreshStepUpResponse, ConsumeFreshStepUpResponseSchema, DeleteMFAFactorRequest, DeleteMFAFactorRequestSchema, DeleteMFAFactorResponse, DeleteMFAFactorResponseSchema, FinishPasskeyChallengeRequest, FinishPasskeyChallengeRequestSchema, FinishPasskeyEnrollmentRequest, FinishPasskeyEnrollmentRequestSchema, FinishPasskeyEnrollmentResponse, FinishPasskeyEnrollmentResponseSchema, FinishTOTPEnrollmentRequest, FinishTOTPEnrollmentRequestSchema, FinishTOTPEnrollmentResponse, FinishTOTPEnrollmentResponseSchema, ListMFAFactorsRequest, ListMFAFactorsRequestSchema, ListMFAFactorsResponse, ListMFAFactorsResponseSchema, MFAChallengePurpose, MFAChallengePurposeSchema, MFAFactor, MFAFactorSchema, MFAFactorType, MFAFactorTypeSchema, MFAService, RegenerateRecoveryCodesRequest, RegenerateRecoveryCodesRequestSchema, RegenerateRecoveryCodesResponse, RegenerateRecoveryCodesResponseSchema, ReleaseFreshStepUpRequest, ReleaseFreshStepUpRequestSchema, ReleaseFreshStepUpResponse, ReleaseFreshStepUpResponseSchema, SessionInfo, SessionInfoSchema, SessionLevel, SessionLevelSchema, UpdateMFAFactorRequest, UpdateMFAFactorRequestSchema, UpdateMFAFactorResponse, UpdateMFAFactorResponseSchema, VerifyRecoveryCodeChallengeRequest, VerifyRecoveryCodeChallengeRequestSchema, VerifyTOTPChallengeRequest, VerifyTOTPChallengeRequestSchema, file_auth_v1_mfa };
6
6
  }
@@ -1,6 +1,6 @@
1
+ import { Message } from "@bufbuild/protobuf";
1
2
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
3
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
3
- import { Message } from "@bufbuild/protobuf";
4
4
  declare namespace policies_pb_d_exports {
5
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
  }
@@ -1,6 +1,6 @@
1
+ import { Message } from "@bufbuild/protobuf";
1
2
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
3
  import { Timestamp } from "@bufbuild/protobuf/wkt";
3
- import { Message } from "@bufbuild/protobuf";
4
4
  declare namespace profile_pb_d_exports {
5
5
  export { AccountIdentity, AccountIdentitySchema, ClaimGeneratedUsernameRequest, ClaimGeneratedUsernameRequestSchema, GenerateUsernameOptionsRequest, GenerateUsernameOptionsRequestSchema, GenerateUsernameOptionsResponse, GenerateUsernameOptionsResponseSchema, GetProfileRequest, GetProfileRequestSchema, GetUsernameHistoryRequest, GetUsernameHistoryRequestSchema, GetUsernameHistoryResponse, GetUsernameHistoryResponseSchema, ProfileErrorCode, ProfileErrorCodeSchema, ProfileErrorDetail, ProfileErrorDetailSchema, ProfileService, UserProfile, UserProfilePatch, UserProfilePatchSchema, UserProfileSchema, UsernameHistoryEntry, UsernameHistoryEntrySchema, file_auth_v1_profile };
6
6
  }
@@ -1,5 +1,5 @@
1
- import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
1
  import { Message } from "@bufbuild/protobuf";
2
+ import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
3
3
  declare namespace resolve_pb_d_exports {
4
4
  export { ResolveAccountRequest, ResolveAccountRequestSchema, ResolveAccountResponse, ResolveAccountResponseSchema, ResolveHint, ResolveHintSchema, ResolveService, ResolvedAccount, ResolvedAccountSchema, ResolvedAccount_Kind, ResolvedAccount_KindSchema, file_auth_v1_resolve };
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import { AuthErrorCode } from "./auth_pb.js";
2
+ import { Message } from "@bufbuild/protobuf";
2
3
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
3
4
  import { Timestamp } from "@bufbuild/protobuf/wkt";
4
- import { Message } from "@bufbuild/protobuf";
5
5
  declare namespace social_verification_pb_d_exports {
6
6
  export { ConfirmSocialVerificationRequest, ConfirmSocialVerificationRequestSchema, ConfirmSocialVerificationResponse, ConfirmSocialVerificationResponseSchema, GetSocialVerificationRequest, GetSocialVerificationRequestSchema, GetSocialVerificationResponse, GetSocialVerificationResponseSchema, SocialProvider, SocialProviderSchema, SocialVerification, SocialVerificationMethod, SocialVerificationMethodSchema, SocialVerificationReadyRequest, SocialVerificationReadyRequestSchema, SocialVerificationReadyResponse, SocialVerificationReadyResponseSchema, SocialVerificationSchema, SocialVerificationService, SocialVerificationStatus, SocialVerificationStatusSchema, StartSocialVerificationRequest, StartSocialVerificationRequestSchema, StartSocialVerificationResponse, StartSocialVerificationResponseSchema, UnlinkSocialAccountRequest, UnlinkSocialAccountRequestSchema, UnlinkSocialAccountResponse, UnlinkSocialAccountResponseSchema, file_auth_v1_social_verification };
7
7
  }
@@ -1,9 +1,9 @@
1
1
  import { GetBalancesResponse } from "../../ledger/read/v1/ledger_read_pb.js";
2
2
  import { ApiKey } from "./api_keys_pb.js";
3
3
  import { PolicyAction, SubaccountPolicyView } from "./policies_pb.js";
4
+ import { Message } from "@bufbuild/protobuf";
4
5
  import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
5
6
  import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt";
6
- import { Message } from "@bufbuild/protobuf";
7
7
  declare namespace subaccounts_pb_d_exports {
8
8
  export { ActivityEntityKind, ActivityEntityKindSchema, ActivityEvent, ActivityEventAction, ActivityEventActionSchema, ActivityEventSchema, ActivityEventSource, ActivityEventSourceSchema, CreateSubaccountChallengeRequest, CreateSubaccountChallengeRequestSchema, CreateSubaccountChallengeResponse, CreateSubaccountChallengeResponseSchema, CreateSubaccountRequest, CreateSubaccountRequestSchema, CreateSubaccountResponse, CreateSubaccountResponseSchema, GetEffectiveSubaccountPermissionsRequest, GetEffectiveSubaccountPermissionsRequestSchema, GetEffectiveSubaccountPermissionsResponse, GetEffectiveSubaccountPermissionsResponseSchema, GetSubaccountRequest, GetSubaccountRequestSchema, GetSubaccountResponse, GetSubaccountResponseSchema, InviteSubaccountMemberRequest, InviteSubaccountMemberRequestSchema, InviteSubaccountMemberResponse, InviteSubaccountMemberResponseSchema, ListSubaccountEventsRequest, ListSubaccountEventsRequestSchema, ListSubaccountEventsResponse, ListSubaccountEventsResponseSchema, ListSubaccountInvitesRequest, ListSubaccountInvitesRequestSchema, ListSubaccountInvitesResponse, ListSubaccountInvitesResponseSchema, ListSubaccountMembersRequest, ListSubaccountMembersRequestSchema, ListSubaccountMembersResponse, ListSubaccountMembersResponseSchema, ListSubaccountRolesRequest, ListSubaccountRolesRequestSchema, ListSubaccountRolesResponse, ListSubaccountRolesResponseSchema, ListSubaccountsRequest, ListSubaccountsRequestSchema, ListSubaccountsResponse, ListSubaccountsResponseSchema, RemoveSubaccountMemberRequest, RemoveSubaccountMemberRequestSchema, RemoveSubaccountMemberResponse, RemoveSubaccountMemberResponseSchema, RespondSubaccountInviteRequest, RespondSubaccountInviteRequestSchema, RespondSubaccountInviteResponse, RespondSubaccountInviteResponseSchema, SetSubaccountMemberMFARequirementRequest, SetSubaccountMemberMFARequirementRequestSchema, SetSubaccountMemberMFARequirementResponse, SetSubaccountMemberMFARequirementResponseSchema, Subaccount, SubaccountInvite, SubaccountInviteAction, SubaccountInviteActionSchema, SubaccountInviteDirection, SubaccountInviteDirectionSchema, SubaccountInviteSchema, SubaccountInviteStatus, SubaccountInviteStatusSchema, SubaccountMemberView, SubaccountMemberViewSchema, SubaccountPermission, SubaccountPermissionDefinition, SubaccountPermissionDefinitionSchema, SubaccountPermissionSchema, SubaccountRole, SubaccountRoleDefinition, SubaccountRoleDefinitionSchema, SubaccountRoleSchema, SubaccountRoleService, SubaccountRoleView, SubaccountRoleViewSchema, SubaccountSchema, SubaccountService, SubaccountStatus, SubaccountStatusSchema, SubaccountUpdateSpec, SubaccountUpdateSpecSchema, SubaccountViewService, UpdateSubaccountMemberRoleRequest, UpdateSubaccountMemberRoleRequestSchema, UpdateSubaccountMemberRoleResponse, UpdateSubaccountMemberRoleResponseSchema, UpdateSubaccountRequest, UpdateSubaccountRequestSchema, UpdateSubaccountResponse, UpdateSubaccountResponseSchema, file_auth_v1_subaccounts };
9
9
  }
@@ -904,7 +904,7 @@ type SubaccountInvite = Message<"auth.v1.SubaccountInvite"> & {
904
904
  */
905
905
  granteeRootSmartAccountAddress: string;
906
906
  /**
907
- * Current delegated-member MFA requirement on the target sub-account. If true, accepting the invite requires MFA enrollment and fresh step-up.
907
+ * Current delegated-member MFA requirement on the target sub-account. If true, accepting the invite requires an enrolled MFA factor and a recently MFA-elevated session.
908
908
  *
909
909
  * @generated from field: bool require_member_mfa = 14;
910
910
  */
@@ -1,8 +1,8 @@
1
1
  import { __exportAll } from "../../../_virtual/_rolldown/runtime.js";
2
2
  import { file_polyester_api_options } from "../../polyester/api/options_pb.js";
3
- import { file_ledger_read_v1_ledger_read } from "../../ledger/read/v1/ledger_read_pb.js";
4
3
  import { file_auth_v1_api_keys } from "./api_keys_pb.js";
5
4
  import { file_auth_v1_policies } from "./policies_pb.js";
5
+ import { file_ledger_read_v1_ledger_read } from "../../ledger/read/v1/ledger_read_pb.js";
6
6
  import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
7
7
  import { file_google_protobuf_field_mask, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
8
  //#region src/gen/auth/v1/subaccounts_pb.ts