@polyester/sdk 0.32.1 → 0.32.2-devnet-20261102211233

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 (125) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/client.d.ts +2 -0
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +2 -0
  5. package/dist/client.js.map +1 -1
  6. package/dist/gen/auth/v1/address_book_pb.js +1 -1
  7. package/dist/gen/auth/v1/address_book_pb.js.map +1 -1
  8. package/dist/gen/auth/v1/api_keys_pb.js +1 -1
  9. package/dist/gen/auth/v1/api_keys_pb.js.map +1 -1
  10. package/dist/gen/auth/v1/auth_pb.js +1 -1
  11. package/dist/gen/auth/v1/auth_pb.js.map +1 -1
  12. package/dist/gen/auth/v1/mfa_pb.js +1 -1
  13. package/dist/gen/auth/v1/mfa_pb.js.map +1 -1
  14. package/dist/gen/auth/v1/policies_pb.js +1 -1
  15. package/dist/gen/auth/v1/policies_pb.js.map +1 -1
  16. package/dist/gen/auth/v1/profile_pb.js +1 -1
  17. package/dist/gen/auth/v1/profile_pb.js.map +1 -1
  18. package/dist/gen/auth/v1/resolve_pb.js +1 -1
  19. package/dist/gen/auth/v1/resolve_pb.js.map +1 -1
  20. package/dist/gen/auth/v1/social_verification_pb.js +1 -1
  21. package/dist/gen/auth/v1/social_verification_pb.js.map +1 -1
  22. package/dist/gen/auth/v1/subaccounts_pb.js +1 -1
  23. package/dist/gen/auth/v1/subaccounts_pb.js.map +1 -1
  24. package/dist/gen/chain/analytics/v1/analytics_read_pb.js +1 -1
  25. package/dist/gen/chain/analytics/v1/analytics_read_pb.js.map +1 -1
  26. package/dist/gen/chain/deposit/v1/deposit_pb.js +1 -1
  27. package/dist/gen/chain/deposit/v1/deposit_pb.js.map +1 -1
  28. package/dist/gen/chain/guard/v1/guard_signer_pb.js +1 -1
  29. package/dist/gen/chain/guard/v1/guard_signer_pb.js.map +1 -1
  30. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js +1 -1
  31. package/dist/gen/chain/lifecycle/v1/lifecycle_read_pb.js.map +1 -1
  32. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js +1 -1
  33. package/dist/gen/chain/withdraw/v1/auto_withdraw_pb.js.map +1 -1
  34. package/dist/gen/chain/withdraw/v1/withdraw_pb.js +1 -1
  35. package/dist/gen/chain/withdraw/v1/withdraw_pb.js.map +1 -1
  36. package/dist/gen/chain/zipper/v1/zipper_pb.js +1 -1
  37. package/dist/gen/chain/zipper/v1/zipper_pb.js.map +1 -1
  38. package/dist/gen/changelog/v1/changelog_pb.d.ts +643 -0
  39. package/dist/gen/changelog/v1/changelog_pb.d.ts.map +1 -0
  40. package/dist/gen/changelog/v1/changelog_pb.js +272 -0
  41. package/dist/gen/changelog/v1/changelog_pb.js.map +1 -0
  42. package/dist/gen/checkpoints/v1/checkpoints_pb.js +1 -1
  43. package/dist/gen/checkpoints/v1/checkpoints_pb.js.map +1 -1
  44. package/dist/gen/claims/v1/claims_pb.js +1 -1
  45. package/dist/gen/claims/v1/claims_pb.js.map +1 -1
  46. package/dist/gen/fees/v1/fees_pb.js +1 -1
  47. package/dist/gen/fees/v1/fees_pb.js.map +1 -1
  48. package/dist/gen/index.d.ts +2 -1
  49. package/dist/gen/index.js +2 -1
  50. package/dist/gen/ledger/read/v1/ledger_read_pb.js +1 -1
  51. package/dist/gen/ledger/read/v1/ledger_read_pb.js.map +1 -1
  52. package/dist/gen/marketdata/v1/heatmap_pb.js +1 -1
  53. package/dist/gen/marketdata/v1/heatmap_pb.js.map +1 -1
  54. package/dist/gen/marketdata/v1/marketdata_pb.js +1 -1
  55. package/dist/gen/marketdata/v1/marketdata_pb.js.map +1 -1
  56. package/dist/gen/marketoverview/v1/marketoverview_pb.js +1 -1
  57. package/dist/gen/marketoverview/v1/marketoverview_pb.js.map +1 -1
  58. package/dist/gen/orderbook/v1/orderbook_pb.js +1 -1
  59. package/dist/gen/orderbook/v1/orderbook_pb.js.map +1 -1
  60. package/dist/gen/orders/v1/orders_pb.js +1 -1
  61. package/dist/gen/orders/v1/orders_pb.js.map +1 -1
  62. package/dist/gen/orders/v1/orders_read_pb.d.ts +9 -1
  63. package/dist/gen/orders/v1/orders_read_pb.d.ts.map +1 -1
  64. package/dist/gen/orders/v1/orders_read_pb.js +9 -1
  65. package/dist/gen/orders/v1/orders_read_pb.js.map +1 -1
  66. package/dist/gen/polyester/api/options_pb.d.ts +11 -4
  67. package/dist/gen/polyester/api/options_pb.d.ts.map +1 -1
  68. package/dist/gen/polyester/api/options_pb.js +11 -3
  69. package/dist/gen/polyester/api/options_pb.js.map +1 -1
  70. package/dist/gen/ratelimit/v1/ratelimit_pb.js +1 -1
  71. package/dist/gen/ratelimit/v1/ratelimit_pb.js.map +1 -1
  72. package/dist/gen/rewards/v1/rewards_pb.js +1 -1
  73. package/dist/gen/rewards/v1/rewards_pb.js.map +1 -1
  74. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js +1 -1
  75. package/dist/gen/swap/quickswap/v1/quickswap_broker_pb.js.map +1 -1
  76. package/dist/gen/swap/quickswap/v1/quickswap_pb.js +1 -1
  77. package/dist/gen/swap/quickswap/v1/quickswap_pb.js.map +1 -1
  78. package/dist/gen/swap/v1/swap_pb.js +1 -1
  79. package/dist/gen/swap/v1/swap_pb.js.map +1 -1
  80. package/dist/gen/transfer/v1/internal_transfer_pb.js +1 -1
  81. package/dist/gen/transfer/v1/internal_transfer_pb.js.map +1 -1
  82. package/dist/gen/triggers/v1/triggers_pb.d.ts +9 -0
  83. package/dist/gen/triggers/v1/triggers_pb.d.ts.map +1 -1
  84. package/dist/gen/triggers/v1/triggers_pb.js +10 -1
  85. package/dist/gen/triggers/v1/triggers_pb.js.map +1 -1
  86. package/dist/gen/vip/v1/vip_pb.js +1 -1
  87. package/dist/gen/vip/v1/vip_pb.js.map +1 -1
  88. package/dist/index.d.ts +4 -1
  89. package/dist/services/balances/balances.schemas.d.ts +3 -3
  90. package/dist/services/changelog/changelog.codecs.d.ts +13 -0
  91. package/dist/services/changelog/changelog.codecs.d.ts.map +1 -0
  92. package/dist/services/changelog/changelog.codecs.js +83 -0
  93. package/dist/services/changelog/changelog.codecs.js.map +1 -0
  94. package/dist/services/changelog/changelog.d.ts +36 -0
  95. package/dist/services/changelog/changelog.d.ts.map +1 -0
  96. package/dist/services/changelog/changelog.js +53 -0
  97. package/dist/services/changelog/changelog.js.map +1 -0
  98. package/dist/services/changelog/changelog.schemas.d.ts +358 -0
  99. package/dist/services/changelog/changelog.schemas.d.ts.map +1 -0
  100. package/dist/services/changelog/changelog.schemas.js +101 -0
  101. package/dist/services/changelog/changelog.schemas.js.map +1 -0
  102. package/dist/services/changelog/changelog.types.d.ts +3 -0
  103. package/dist/services/changelog/service.d.ts +8 -0
  104. package/dist/services/changelog/service.d.ts.map +1 -0
  105. package/dist/services/changelog/service.js +9 -0
  106. package/dist/services/changelog/service.js.map +1 -0
  107. package/dist/services/checkpoints/checkpoints.schemas.d.ts +2 -2
  108. package/dist/services/heatmap/heatmap.schemas.d.ts +4 -4
  109. package/dist/services/lifecycle/lifecycle.schemas.d.ts +54 -54
  110. package/dist/services/orderbook/orderbook.schemas.d.ts +1 -1
  111. package/dist/services/orders/orders-batch.schemas.d.ts +5 -5
  112. package/dist/services/orders/orders-output.schemas.d.ts +13 -13
  113. package/dist/services/orders/orders.codecs.js +1 -0
  114. package/dist/services/orders/orders.codecs.js.map +1 -1
  115. package/dist/services/subaccounts/subaccounts.schemas.d.ts +3 -3
  116. package/dist/services/trades/trades.schemas.d.ts +2 -2
  117. package/dist/services/transfers/transfers.schemas.d.ts +1 -1
  118. package/dist/services/triggers/trigger-input.schemas.d.ts +1 -1
  119. package/dist/services/triggers/triggers-output.schemas.d.ts +19 -19
  120. package/dist/services/triggers/triggers.codecs.js +1 -0
  121. package/dist/services/triggers/triggers.codecs.js.map +1 -1
  122. package/dist/wired-services.d.ts.map +1 -1
  123. package/dist/wired-services.js +2 -0
  124. package/dist/wired-services.js.map +1 -1
  125. package/package.json +1 -1
@@ -45,7 +45,7 @@ var policies_pb_exports = /* @__PURE__ */ __exportAll({
45
45
  /**
46
46
  * Describes the file auth/v1/policies.proto.
47
47
  */
48
- const file_auth_v1_policies = /*@__PURE__*/ fileDesc("ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWxlEhEKCXN5bWJvbF9pZBgBIAEoDSLvBgoUU3ViYWNjb3VudFBvbGljeVZpZXcSCgoCaWQYASABKAYSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRItCgxzcG90X21hcmtldHMYBCADKAsyFy5hdXRoLnYxLlNwb3RNYXJrZXRSdWxlEjcKEXNwb3RfbWFya2V0X3Njb3BlGAYgASgOMhouYXV0aC52MS5NYXJrZXRTY29wZS5WYWx1ZUIAEigKB2FjdGlvbnMYCCADKA4yFS5hdXRoLnYxLlBvbGljeUFjdGlvbkIAEhMKC2lzX3RlbXBsYXRlGAogASgIEhoKEnNvdXJjZV90ZW1wbGF0ZV9pZBgLIAEoBhIaChJtYXhfb3JkZXJfbm90aW9uYWwYDSABKAQSFwoPbWF4X29wZW5fb3JkZXJzGA4gASgNEhYKDnRyYWRpbmdfaGFsdGVkGBcgASgIEg4KBmxvY2tlZBgbIAEoCBItCglyZXZpZXdfYXQYHCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCmV4cGlyZXNfYXQYHSABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCmNyZWF0ZWRfYXQYFCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEi4KCnVwZGF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RGVsZXRlQXBpUG9saWN5UmVxdWVzdBogLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVzcG9uc2UiABJWCg9TZXRBcGlLZXlQb2xpY3kSHy5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlcXVlc3QaIC5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [
49
49
  file_google_protobuf_field_mask,
50
50
  file_google_protobuf_timestamp,
51
51
  file_polyester_api_options
@@ -1 +1 @@
1
- {"version":3,"file":"policies_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/policies.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 { FieldMask, Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_field_mask, 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/policies.proto.\n */\nexport const file_auth_v1_policies: GenFile = /*@__PURE__*/\n fileDesc(\"ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWx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C52MS5VcGRhdGVBcGlQb2xpY3lSZXNwb25zZSIAElYKD0RlbGV0ZUFwaVBvbGljeRIfLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVxdWVzdBogLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVzcG9uc2UiABJWCg9TZXRBcGlLZXlQb2xpY3kSHy5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlcXVlc3QaIC5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlc3BvbnNlIgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * MarketScope describes how a policy applies to spot markets.\n *\n * @generated from message auth.v1.MarketScope\n */\nexport type MarketScope = Message<\"auth.v1.MarketScope\"> & {\n};\n\n/**\n * Describes the message auth.v1.MarketScope.\n * Use `create(MarketScopeSchema)` to create a new message.\n */\nexport const MarketScopeSchema: GenMessage<MarketScope> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 0);\n\n/**\n * Value is the market-level scope:\n * - ALL: no market-level restriction; new listings are automatically allowed.\n * - ALLOWLIST: only the listed markets are allowed.\n *\n * @generated from enum auth.v1.MarketScope.Value\n */\nexport enum MarketScope_Value {\n /**\n * No scope selected. Create and update requests treat this as ALL.\n *\n * @generated from enum value: UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * Allow all current and future markets for this policy.\n *\n * @generated from enum value: ALL = 1;\n */\n ALL = 1,\n\n /**\n * Allow only the markets listed on this policy.\n *\n * @generated from enum value: ALLOWLIST = 2;\n */\n ALLOWLIST = 2,\n}\n\n/**\n * Describes the enum auth.v1.MarketScope.Value.\n */\nexport const MarketScope_ValueSchema: GenEnum<MarketScope_Value> = /*@__PURE__*/\n enumDesc(file_auth_v1_policies, 0, 0);\n\n/**\n * SpotMarketSelector identifies an allowed spot market in policy mutations.\n *\n * @generated from message auth.v1.SpotMarketSelector\n */\nexport type SpotMarketSelector = Message<\"auth.v1.SpotMarketSelector\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n};\n\n/**\n * Describes the message auth.v1.SpotMarketSelector.\n * Use `create(SpotMarketSelectorSchema)` to create a new message.\n */\nexport const SpotMarketSelectorSchema: GenMessage<SpotMarketSelector> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 1);\n\n/**\n * SpotMarketRule describes an allowed spot market in policy views.\n *\n * @generated from message auth.v1.SpotMarketRule\n */\nexport type SpotMarketRule = Message<\"auth.v1.SpotMarketRule\"> & {\n /**\n * Stable numeric pair ID.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n};\n\n/**\n * Describes the message auth.v1.SpotMarketRule.\n * Use `create(SpotMarketRuleSchema)` to create a new message.\n */\nexport const SpotMarketRuleSchema: GenMessage<SpotMarketRule> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 2);\n\n/**\n * SubaccountPolicyView is the public view of a sub-account policy.\n *\n * @generated from message auth.v1.SubaccountPolicyView\n */\nexport type SubaccountPolicyView = Message<\"auth.v1.SubaccountPolicyView\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Human-readable policy name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits.\n *\n * @generated from field: string description = 3;\n */\n description: string;\n\n /**\n * Allowed spot markets for this sub-account.\n *\n * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;\n */\n spotMarkets: SpotMarketRule[];\n\n /**\n * Market-level scope for spot markets. When ALL, spot_markets is returned\n * for display only and is not enforced.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 6;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * Effective high-level actions enabled for the sub-account. Mandatory\n * read-only actions are always included.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 8;\n */\n actions: PolicyAction[];\n\n /**\n * True if this policy is a reusable template; false if it is a\n * per-sub-account instance.\n *\n * @generated from field: bool is_template = 10;\n */\n isTemplate: boolean;\n\n /**\n * Optional source template this policy was copied from (opaque ID). This is\n * audit metadata only and does not imply live linkage.\n *\n * @generated from field: fixed64 source_template_id = 11;\n */\n sourceTemplateId: bigint;\n\n /**\n * Maximum notional size allowed for any single order on this sub-account,\n * expressed in canonical quote microunits (one unit is 0.000001 USDT).\n * A value of 0 means \"no explicit cap\".\n *\n * @generated from field: uint64 max_order_notional = 13;\n */\n maxOrderNotional: bigint;\n\n /**\n * Maximum number of resting orders allowed on this sub-account at any time.\n * A value of 0 means \"no explicit cap\".\n *\n * @generated from field: uint32 max_open_orders = 14;\n */\n maxOpenOrders: number;\n\n /**\n * When true, new orders and exposure-increasing order or trigger changes are\n * rejected regardless of other settings. Existing orders and triggers may\n * still be canceled or paused by an otherwise authorized caller.\n *\n * @generated from field: bool trading_halted = 23;\n */\n tradingHalted: boolean;\n\n /**\n * When true, this policy is write-protected and requires an elevated approval\n * flow to modify it.\n *\n * @generated from field: bool locked = 27;\n */\n locked: boolean;\n\n /**\n * Optional review time in UTC. This is governance metadata and does not\n * automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp review_at = 28;\n */\n reviewAt?: Timestamp | undefined;\n\n /**\n * Optional expiry time in UTC. This is governance metadata and does not\n * automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 29;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Creation time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 20;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Last update time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 21;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 30;\n */\n revision: bigint;\n};\n\n/**\n * Describes the message auth.v1.SubaccountPolicyView.\n * Use `create(SubaccountPolicyViewSchema)` to create a new message.\n */\nexport const SubaccountPolicyViewSchema: GenMessage<SubaccountPolicyView> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 3);\n\n/**\n * ListSubaccountPoliciesRequest lists the finite set of sub-account policies\n * visible in the requested account scope. Results are sorted by ascending\n * policy ID and are not paginated.\n *\n * @generated from message auth.v1.ListSubaccountPoliciesRequest\n */\nexport type ListSubaccountPoliciesRequest = Message<\"auth.v1.ListSubaccountPoliciesRequest\"> & {\n /**\n * Optional sub-account context. When provided, a current member may read the\n * policy attached to that sub-account; the owner retains visibility of all\n * policies owned by their root account. When omitted, only policies owned by\n * the caller's root account are returned.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.ListSubaccountPoliciesRequest.\n * Use `create(ListSubaccountPoliciesRequestSchema)` to create a new message.\n */\nexport const ListSubaccountPoliciesRequestSchema: GenMessage<ListSubaccountPoliciesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 4);\n\n/**\n * ListSubaccountPoliciesResponse contains sub-account policy templates sorted\n * by ascending policy ID.\n *\n * @generated from message auth.v1.ListSubaccountPoliciesResponse\n */\nexport type ListSubaccountPoliciesResponse = Message<\"auth.v1.ListSubaccountPoliciesResponse\"> & {\n /**\n * Sub-account policy templates visible to the caller.\n *\n * @generated from field: repeated auth.v1.SubaccountPolicyView policies = 1;\n */\n policies: SubaccountPolicyView[];\n};\n\n/**\n * Describes the message auth.v1.ListSubaccountPoliciesResponse.\n * Use `create(ListSubaccountPoliciesResponseSchema)` to create a new message.\n */\nexport const ListSubaccountPoliciesResponseSchema: GenMessage<ListSubaccountPoliciesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 5);\n\n/**\n * GetSubaccountPolicyRequest fetches one sub-account policy template by ID.\n *\n * @generated from message auth.v1.GetSubaccountPolicyRequest\n */\nexport type GetSubaccountPolicyRequest = Message<\"auth.v1.GetSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Optional sub-account context. When provided, a current member may read the\n * policy attached to that sub-account; the owner may also read another policy\n * owned by their root account. When omitted, the policy must be owned by the\n * caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 2;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSubaccountPolicyRequest.\n * Use `create(GetSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const GetSubaccountPolicyRequestSchema: GenMessage<GetSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 6);\n\n/**\n * GetSubaccountPolicyResponse returns the requested sub-account policy.\n *\n * @generated from message auth.v1.GetSubaccountPolicyResponse\n */\nexport type GetSubaccountPolicyResponse = Message<\"auth.v1.GetSubaccountPolicyResponse\"> & {\n /**\n * Matching sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSubaccountPolicyResponse.\n * Use `create(GetSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const GetSubaccountPolicyResponseSchema: GenMessage<GetSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 7);\n\n/**\n * SubaccountPolicySpec contains the mutable configuration of a sub-account policy.\n *\n * @generated from message auth.v1.SubaccountPolicySpec\n */\nexport type SubaccountPolicySpec = Message<\"auth.v1.SubaccountPolicySpec\"> & {\n /**\n * Human-readable policy name. Create requires a non-empty value; update\n * validates it after merging fields selected by update_mask.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits. Maximum 256 characters.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Allowed spot markets for this policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;\n */\n spotMarkets: SpotMarketSelector[];\n\n /**\n * Market-level scope for spot markets. When unspecified, defaults to ALL.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 5;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * High-level actions enabled for the sub-account policy. Mandatory read-only\n * actions are included when omitted. Up to 64 unique explicit actions are\n * allowed.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 7;\n */\n actions: PolicyAction[];\n\n /**\n * Maximum notional size for any single order on this sub-account, expressed\n * in canonical quote microunits (one unit is 0.000001 USDT). A value of 0\n * means no explicit cap.\n *\n * @generated from field: uint64 max_order_notional = 13;\n */\n maxOrderNotional: bigint;\n\n /**\n * Maximum number of resting orders allowed on this sub-account at any time.\n * A value of 0 means no explicit cap.\n *\n * @generated from field: uint32 max_open_orders = 14;\n */\n maxOpenOrders: number;\n\n /**\n * When true, new orders and exposure-increasing order or trigger changes are\n * rejected regardless of other settings. Existing orders and triggers may\n * still be canceled or paused by an otherwise authorized caller.\n *\n * @generated from field: bool trading_halted = 21;\n */\n tradingHalted: boolean;\n\n /**\n * When true, the policy is write-protected and requires an elevated mutation path.\n *\n * @generated from field: bool locked = 25;\n */\n locked: boolean;\n\n /**\n * Optional review time in UTC. This does not automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp review_at = 26;\n */\n reviewAt?: Timestamp | undefined;\n\n /**\n * Optional expiry time in UTC. This does not automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 27;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SubaccountPolicySpec.\n * Use `create(SubaccountPolicySpecSchema)` to create a new message.\n */\nexport const SubaccountPolicySpecSchema: GenMessage<SubaccountPolicySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 8);\n\n/**\n * CreateSubaccountPolicyRequest defines a new sub-account policy template, with\n * an optional attach step for one target sub-account.\n *\n * @generated from message auth.v1.CreateSubaccountPolicyRequest\n */\nexport type CreateSubaccountPolicyRequest = Message<\"auth.v1.CreateSubaccountPolicyRequest\"> & {\n /**\n * Complete mutable policy configuration.\n *\n * @generated from field: auth.v1.SubaccountPolicySpec policy = 1;\n */\n policy?: SubaccountPolicySpec | undefined;\n\n /**\n * Optional target sub-account to attach atomically after creation.\n *\n * @generated from field: optional fixed64 subaccount_id = 2;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateSubaccountPolicyRequest.\n * Use `create(CreateSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const CreateSubaccountPolicyRequestSchema: GenMessage<CreateSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 9);\n\n/**\n * CreateSubaccountPolicyResponse returns the created sub-account policy.\n *\n * @generated from message auth.v1.CreateSubaccountPolicyResponse\n */\nexport type CreateSubaccountPolicyResponse = Message<\"auth.v1.CreateSubaccountPolicyResponse\"> & {\n /**\n * Created sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateSubaccountPolicyResponse.\n * Use `create(CreateSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const CreateSubaccountPolicyResponseSchema: GenMessage<CreateSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 10);\n\n/**\n * UpdateSubaccountPolicyRequest changes selected mutable fields on an existing\n * sub-account policy.\n *\n * @generated from message auth.v1.UpdateSubaccountPolicyRequest\n */\nexport type UpdateSubaccountPolicyRequest = Message<\"auth.v1.UpdateSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.SubaccountPolicySpec policy = 2;\n */\n policy?: SubaccountPolicySpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to policy. The mask is required,\n * must be non-empty, and cannot contain \"*\".\n *\n * @generated from field: google.protobuf.FieldMask update_mask = 3;\n */\n updateMask?: FieldMask | undefined;\n\n /**\n * Revision returned by the latest successful read. Stale revisions fail with\n * a conflict before no-op detection.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateSubaccountPolicyRequest.\n * Use `create(UpdateSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const UpdateSubaccountPolicyRequestSchema: GenMessage<UpdateSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 11);\n\n/**\n * UpdateSubaccountPolicyResponse returns the updated sub-account policy.\n *\n * @generated from message auth.v1.UpdateSubaccountPolicyResponse\n */\nexport type UpdateSubaccountPolicyResponse = Message<\"auth.v1.UpdateSubaccountPolicyResponse\"> & {\n /**\n * Updated sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateSubaccountPolicyResponse.\n * Use `create(UpdateSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const UpdateSubaccountPolicyResponseSchema: GenMessage<UpdateSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 12);\n\n/**\n * DeleteSubaccountPolicyRequest deletes a sub-account policy template when it\n * is not in use.\n *\n * @generated from message auth.v1.DeleteSubaccountPolicyRequest\n */\nexport type DeleteSubaccountPolicyRequest = Message<\"auth.v1.DeleteSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.DeleteSubaccountPolicyRequest.\n * Use `create(DeleteSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const DeleteSubaccountPolicyRequestSchema: GenMessage<DeleteSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 13);\n\n/**\n * DeleteSubaccountPolicyResponse is empty when the delete succeeds.\n *\n * @generated from message auth.v1.DeleteSubaccountPolicyResponse\n */\nexport type DeleteSubaccountPolicyResponse = Message<\"auth.v1.DeleteSubaccountPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteSubaccountPolicyResponse.\n * Use `create(DeleteSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const DeleteSubaccountPolicyResponseSchema: GenMessage<DeleteSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 14);\n\n/**\n * SetSubaccountPolicyRequest attaches or clears a policy template on a\n * sub-account.\n *\n * @generated from message auth.v1.SetSubaccountPolicyRequest\n */\nexport type SetSubaccountPolicyRequest = Message<\"auth.v1.SetSubaccountPolicyRequest\"> & {\n /**\n * Sub-account identifier (opaque ID).\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Policy template to attach (opaque ID). A value of 0 clears the explicit\n * binding and restores the system Read Only policy.\n *\n * @generated from field: fixed64 policy_id = 2;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.SetSubaccountPolicyRequest.\n * Use `create(SetSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const SetSubaccountPolicyRequestSchema: GenMessage<SetSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 15);\n\n/**\n * SetSubaccountPolicyResponse is empty when the policy binding succeeds.\n *\n * @generated from message auth.v1.SetSubaccountPolicyResponse\n */\nexport type SetSubaccountPolicyResponse = Message<\"auth.v1.SetSubaccountPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.SetSubaccountPolicyResponse.\n * Use `create(SetSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const SetSubaccountPolicyResponseSchema: GenMessage<SetSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 16);\n\n/**\n * ApiPolicyView is the public view of an API key policy template. Its action\n * and spot-market floor cannot exceed an attached sub-account policy.\n *\n * @generated from message auth.v1.ApiPolicyView\n */\nexport type ApiPolicyView = Message<\"auth.v1.ApiPolicyView\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Human-readable policy name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits.\n *\n * @generated from field: string description = 3;\n */\n description: string;\n\n /**\n * Allowed spot markets for this API key policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;\n */\n spotMarkets: SpotMarketRule[];\n\n /**\n * High-level actions enabled for this API key. Up to 64 unique explicit\n * actions may be returned.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 6;\n */\n actions: PolicyAction[];\n\n /**\n * Market-level scope for spot markets. When ALL, spot_markets is returned\n * for display only and is not enforced.\n *\n * --- Template / lifecycle metadata ---\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 7;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * When true, this policy is intended to be reused as a template across\n * multiple API keys. When false, it represents a single-key instance.\n *\n * @generated from field: bool is_template = 19;\n */\n isTemplate: boolean;\n\n /**\n * Optional source template this policy was copied from (opaque ID). This is\n * audit metadata only and does not imply live linkage.\n *\n * @generated from field: fixed64 source_template_id = 20;\n */\n sourceTemplateId: bigint;\n\n /**\n * Creation time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 21;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Last update time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 22;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 23;\n */\n revision: bigint;\n};\n\n/**\n * Describes the message auth.v1.ApiPolicyView.\n * Use `create(ApiPolicyViewSchema)` to create a new message.\n */\nexport const ApiPolicyViewSchema: GenMessage<ApiPolicyView> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 17);\n\n/**\n * ListApiPoliciesRequest lists the finite set of API key policies visible in\n * the requested account scope. Results are sorted by ascending policy ID and\n * are not paginated.\n *\n * @generated from message auth.v1.ListApiPoliciesRequest\n */\nexport type ListApiPoliciesRequest = Message<\"auth.v1.ListApiPoliciesRequest\"> & {\n /**\n * Optional API key context for delegated administration. When omitted, only\n * policies owned by the caller's root account are returned.\n *\n * @generated from field: optional string key_id = 1;\n */\n keyId?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.ListApiPoliciesRequest.\n * Use `create(ListApiPoliciesRequestSchema)` to create a new message.\n */\nexport const ListApiPoliciesRequestSchema: GenMessage<ListApiPoliciesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 18);\n\n/**\n * ListApiPoliciesResponse contains API key policy templates sorted by ascending\n * policy ID.\n *\n * @generated from message auth.v1.ListApiPoliciesResponse\n */\nexport type ListApiPoliciesResponse = Message<\"auth.v1.ListApiPoliciesResponse\"> & {\n /**\n * API key policy templates visible to the caller.\n *\n * @generated from field: repeated auth.v1.ApiPolicyView policies = 1;\n */\n policies: ApiPolicyView[];\n};\n\n/**\n * Describes the message auth.v1.ListApiPoliciesResponse.\n * Use `create(ListApiPoliciesResponseSchema)` to create a new message.\n */\nexport const ListApiPoliciesResponseSchema: GenMessage<ListApiPoliciesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 19);\n\n/**\n * GetApiPolicyRequest fetches one API key policy template by ID.\n *\n * @generated from message auth.v1.GetApiPolicyRequest\n */\nexport type GetApiPolicyRequest = Message<\"auth.v1.GetApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Optional API key context for delegated administration. When omitted, the\n * policy must be owned by the caller's root account.\n *\n * @generated from field: optional string key_id = 2;\n */\n keyId?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiPolicyRequest.\n * Use `create(GetApiPolicyRequestSchema)` to create a new message.\n */\nexport const GetApiPolicyRequestSchema: GenMessage<GetApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 20);\n\n/**\n * GetApiPolicyResponse returns the requested API key policy.\n *\n * @generated from message auth.v1.GetApiPolicyResponse\n */\nexport type GetApiPolicyResponse = Message<\"auth.v1.GetApiPolicyResponse\"> & {\n /**\n * Matching API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiPolicyResponse.\n * Use `create(GetApiPolicyResponseSchema)` to create a new message.\n */\nexport const GetApiPolicyResponseSchema: GenMessage<GetApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 21);\n\n/**\n * ApiPolicySpec contains the mutable configuration of an API key policy.\n *\n * @generated from message auth.v1.ApiPolicySpec\n */\nexport type ApiPolicySpec = Message<\"auth.v1.ApiPolicySpec\"> & {\n /**\n * Human-readable policy name. Create requires a non-empty value; update\n * validates it after merging fields selected by update_mask.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits. Maximum 256 characters.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Allowed spot markets for this API key policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;\n */\n spotMarkets: SpotMarketSelector[];\n\n /**\n * Market-level scope for spot markets. When unspecified, defaults to ALL.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 5;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * High-level actions enabled for the API key policy. An empty list grants no\n * access. Up to 64 unique explicit actions are allowed.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 7;\n */\n actions: PolicyAction[];\n\n /**\n * Whether this policy should be treated as a reusable template.\n *\n * @generated from field: bool is_template = 19;\n */\n isTemplate: boolean;\n};\n\n/**\n * Describes the message auth.v1.ApiPolicySpec.\n * Use `create(ApiPolicySpecSchema)` to create a new message.\n */\nexport const ApiPolicySpecSchema: GenMessage<ApiPolicySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 22);\n\n/**\n * CreateApiPolicyRequest defines a new API key policy template.\n *\n * @generated from message auth.v1.CreateApiPolicyRequest\n */\nexport type CreateApiPolicyRequest = Message<\"auth.v1.CreateApiPolicyRequest\"> & {\n /**\n * Complete mutable policy configuration.\n *\n * @generated from field: auth.v1.ApiPolicySpec policy = 1;\n */\n policy?: ApiPolicySpec | undefined;\n\n /**\n * Optional API key identifier to bind this newly-created policy to\n * atomically. When set, the caller must be allowed to manage the key and the\n * create+assign operation consumes a single fresh step-up proof.\n *\n * @generated from field: string assign_to_key_id = 2;\n */\n assignToKeyId: string;\n};\n\n/**\n * Describes the message auth.v1.CreateApiPolicyRequest.\n * Use `create(CreateApiPolicyRequestSchema)` to create a new message.\n */\nexport const CreateApiPolicyRequestSchema: GenMessage<CreateApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 23);\n\n/**\n * CreateApiPolicyResponse returns the created API key policy.\n *\n * @generated from message auth.v1.CreateApiPolicyResponse\n */\nexport type CreateApiPolicyResponse = Message<\"auth.v1.CreateApiPolicyResponse\"> & {\n /**\n * Created API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateApiPolicyResponse.\n * Use `create(CreateApiPolicyResponseSchema)` to create a new message.\n */\nexport const CreateApiPolicyResponseSchema: GenMessage<CreateApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 24);\n\n/**\n * UpdateApiPolicyRequest changes selected mutable fields on an existing API\n * key policy.\n *\n * @generated from message auth.v1.UpdateApiPolicyRequest\n */\nexport type UpdateApiPolicyRequest = Message<\"auth.v1.UpdateApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.ApiPolicySpec policy = 2;\n */\n policy?: ApiPolicySpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to policy. The mask is required,\n * must be non-empty, and cannot contain \"*\".\n *\n * @generated from field: google.protobuf.FieldMask update_mask = 3;\n */\n updateMask?: FieldMask | undefined;\n\n /**\n * Revision returned by the latest successful read. Stale revisions fail with\n * a conflict before no-op detection.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiPolicyRequest.\n * Use `create(UpdateApiPolicyRequestSchema)` to create a new message.\n */\nexport const UpdateApiPolicyRequestSchema: GenMessage<UpdateApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 25);\n\n/**\n * UpdateApiPolicyResponse returns the updated API key policy.\n *\n * @generated from message auth.v1.UpdateApiPolicyResponse\n */\nexport type UpdateApiPolicyResponse = Message<\"auth.v1.UpdateApiPolicyResponse\"> & {\n /**\n * Updated API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiPolicyResponse.\n * Use `create(UpdateApiPolicyResponseSchema)` to create a new message.\n */\nexport const UpdateApiPolicyResponseSchema: GenMessage<UpdateApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 26);\n\n/**\n * DeleteApiPolicyRequest deletes an API key policy template when it is not in use.\n *\n * @generated from message auth.v1.DeleteApiPolicyRequest\n */\nexport type DeleteApiPolicyRequest = Message<\"auth.v1.DeleteApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.DeleteApiPolicyRequest.\n * Use `create(DeleteApiPolicyRequestSchema)` to create a new message.\n */\nexport const DeleteApiPolicyRequestSchema: GenMessage<DeleteApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 27);\n\n/**\n * DeleteApiPolicyResponse is empty when the delete succeeds.\n *\n * @generated from message auth.v1.DeleteApiPolicyResponse\n */\nexport type DeleteApiPolicyResponse = Message<\"auth.v1.DeleteApiPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteApiPolicyResponse.\n * Use `create(DeleteApiPolicyResponseSchema)` to create a new message.\n */\nexport const DeleteApiPolicyResponseSchema: GenMessage<DeleteApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 28);\n\n/**\n * SetApiKeyPolicyRequest attaches or clears a policy template on an API key.\n *\n * @generated from message auth.v1.SetApiKeyPolicyRequest\n */\nexport type SetApiKeyPolicyRequest = Message<\"auth.v1.SetApiKeyPolicyRequest\"> & {\n /**\n * Opaque API key identifier, formatted as \"ak_\" followed by 32 lowercase hex\n * characters.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Policy template to attach (opaque ID). A value of 0 clears the binding.\n * An API key without an attached policy has no permissions.\n *\n * @generated from field: fixed64 policy_id = 2;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.SetApiKeyPolicyRequest.\n * Use `create(SetApiKeyPolicyRequestSchema)` to create a new message.\n */\nexport const SetApiKeyPolicyRequestSchema: GenMessage<SetApiKeyPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 29);\n\n/**\n * SetApiKeyPolicyResponse is empty when the policy binding succeeds.\n *\n * @generated from message auth.v1.SetApiKeyPolicyResponse\n */\nexport type SetApiKeyPolicyResponse = Message<\"auth.v1.SetApiKeyPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.SetApiKeyPolicyResponse.\n * Use `create(SetApiKeyPolicyResponseSchema)` to create a new message.\n */\nexport const SetApiKeyPolicyResponseSchema: GenMessage<SetApiKeyPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 30);\n\n/**\n * PolicyAction is a high-level permission that can be granted by a policy.\n * Write-style actions also grant the matching read visibility where needed by\n * the product experience.\n *\n * @generated from enum auth.v1.PolicyAction\n */\nexport enum PolicyAction {\n /**\n * No policy action selected. An empty API-key action list grants no access;\n * sub-account policies retain their mandatory read-only actions.\n *\n * @generated from enum value: UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * Allow all spot order mutations: create, modify, replace, cancel, batch\n * operations, live cancel-all, and arming or disabling cancel-all-after.\n * Includes reading spot orders and trades and placing or modifying triggers.\n * Authorized cancellation remains available when trading activity is disabled;\n * this does not grant mutation access to a read-only API key.\n *\n * @generated from enum value: TRADE_SPOT = 1;\n */\n TRADE_SPOT = 1,\n\n /**\n * Allow internal transfers between sub-accounts or linked Polyester accounts,\n * including reading internal transfer history.\n *\n * @generated from enum value: INTERNAL_TRANSFER = 3;\n */\n INTERNAL_TRANSFER = 3,\n\n /**\n * Allow value to leave Trading through external withdrawals. Destination\n * authorization is enforced separately from this policy.\n *\n * @generated from enum value: EXTERNAL_WITHDRAW = 4;\n */\n EXTERNAL_WITHDRAW = 4,\n\n /**\n * Allow reading balances and equity for a sub-account or API key.\n *\n * @generated from enum value: READ_BALANCES = 5;\n */\n READ_BALANCES = 5,\n\n /**\n * Allow reading spot orders and trades, subscriptions, and cancel-all dry-run.\n * Strictly non-mutating: cancellation and cancel-all-after changes require TRADE_SPOT.\n *\n * @generated from enum value: READ_SPOT = 6;\n */\n READ_SPOT = 6,\n\n /**\n * Allow reading internal transfer history.\n *\n * @generated from enum value: READ_INTERNAL_TRANSFERS = 8;\n */\n READ_INTERNAL_TRANSFERS = 8,\n\n /**\n * Allow reading saved, recent, and whitelisted address-book destinations.\n *\n * @generated from enum value: READ_ADDRESS_BOOK = 11;\n */\n READ_ADDRESS_BOOK = 11,\n\n /**\n * Allow creating, updating, deleting, and copying saved destination entries,\n * including reading the address book. Address-book writes accept only a\n * session token, so on an API-key policy this grants address-book reads only.\n *\n * @generated from enum value: MANAGE_ADDRESS_BOOK = 12;\n */\n MANAGE_ADDRESS_BOOK = 12,\n\n /**\n * Allow reading the auto-withdraw rule and its runs.\n *\n * @generated from enum value: READ_AUTO_WITHDRAW = 14;\n */\n READ_AUTO_WITHDRAW = 14,\n\n /**\n * Allow creating, changing, and disabling the auto-withdraw rule, including\n * reading it. A rule pays value out, so changing one also requires\n * EXTERNAL_WITHDRAW, and API keys can never change one.\n *\n * @generated from enum value: MANAGE_AUTO_WITHDRAW = 15;\n */\n MANAGE_AUTO_WITHDRAW = 15,\n\n /**\n * Allow quoting, creating, and reading Swaps: market conversions of the\n * account's own Trading balance from one asset into another. Each Swap places\n * spot orders on the account's behalf, which also remain subject to the\n * sub-account's spot trading policy.\n *\n * @generated from enum value: SWAP = 16;\n */\n SWAP = 16,\n}\n\n/**\n * Describes the enum auth.v1.PolicyAction.\n */\nexport const PolicyActionSchema: GenEnum<PolicyAction> = /*@__PURE__*/\n enumDesc(file_auth_v1_policies, 0);\n\n/**\n * PolicyService manages sub-account and API key policy templates and bindings.\n *\n * @generated from service auth.v1.PolicyService\n */\nexport const PolicyService: GenService<{\n /**\n * List sub-account policy templates available to the caller.\n *\n * @generated from rpc auth.v1.PolicyService.ListSubaccountPolicies\n */\n listSubaccountPolicies: {\n methodKind: \"unary\";\n input: typeof ListSubaccountPoliciesRequestSchema;\n output: typeof ListSubaccountPoliciesResponseSchema;\n },\n /**\n * Get a sub-account policy template by id.\n *\n * @generated from rpc auth.v1.PolicyService.GetSubaccountPolicy\n */\n getSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof GetSubaccountPolicyRequestSchema;\n output: typeof GetSubaccountPolicyResponseSchema;\n },\n /**\n * Create a new sub-account policy template (optionally attach to a sub-account).\n *\n * @generated from rpc auth.v1.PolicyService.CreateSubaccountPolicy\n */\n createSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof CreateSubaccountPolicyRequestSchema;\n output: typeof CreateSubaccountPolicyResponseSchema;\n },\n /**\n * Change selected fields on an existing sub-account policy template.\n *\n * @generated from rpc auth.v1.PolicyService.UpdateSubaccountPolicy\n */\n updateSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof UpdateSubaccountPolicyRequestSchema;\n output: typeof UpdateSubaccountPolicyResponseSchema;\n },\n /**\n * Delete a sub-account policy template.\n *\n * @generated from rpc auth.v1.PolicyService.DeleteSubaccountPolicy\n */\n deleteSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof DeleteSubaccountPolicyRequestSchema;\n output: typeof DeleteSubaccountPolicyResponseSchema;\n },\n /**\n * Attach or clear a sub-account policy for a sub-account.\n *\n * @generated from rpc auth.v1.PolicyService.SetSubaccountPolicy\n */\n setSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof SetSubaccountPolicyRequestSchema;\n output: typeof SetSubaccountPolicyResponseSchema;\n },\n /**\n * List API key policy templates available to the caller.\n *\n * @generated from rpc auth.v1.PolicyService.ListApiPolicies\n */\n listApiPolicies: {\n methodKind: \"unary\";\n input: typeof ListApiPoliciesRequestSchema;\n output: typeof ListApiPoliciesResponseSchema;\n },\n /**\n * Get an API key policy template by id.\n *\n * @generated from rpc auth.v1.PolicyService.GetApiPolicy\n */\n getApiPolicy: {\n methodKind: \"unary\";\n input: typeof GetApiPolicyRequestSchema;\n output: typeof GetApiPolicyResponseSchema;\n },\n /**\n * Create a new API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.CreateApiPolicy\n */\n createApiPolicy: {\n methodKind: \"unary\";\n input: typeof CreateApiPolicyRequestSchema;\n output: typeof CreateApiPolicyResponseSchema;\n },\n /**\n * Change selected fields on an existing API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.UpdateApiPolicy\n */\n updateApiPolicy: {\n methodKind: \"unary\";\n input: typeof UpdateApiPolicyRequestSchema;\n output: typeof UpdateApiPolicyResponseSchema;\n },\n /**\n * Delete an API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.DeleteApiPolicy\n */\n deleteApiPolicy: {\n methodKind: \"unary\";\n input: typeof DeleteApiPolicyRequestSchema;\n output: typeof DeleteApiPolicyResponseSchema;\n },\n /**\n * Attach or clear an API key policy for a key.\n *\n * @generated from rpc auth.v1.PolicyService.SetApiKeyPolicy\n */\n setApiKeyPolicy: {\n methodKind: \"unary\";\n input: typeof SetApiKeyPolicyRequestSchema;\n output: typeof SetApiKeyPolicyResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_policies, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,wBACX,uBAAS,ggQAAggQ;CAAC;CAAiC;CAAgC;AAA0B,CAAC;;;;;AAcxmQ,MAAa,oBACX,0BAAY,uBAAuB,CAAC;;;;;;;;AAStC,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,iBAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,SAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,uBAAuB,GAAG,CAAC;;;;;AAoBtC,MAAa,2BACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,uBACX,0BAAY,uBAAuB,CAAC;;;;;AAgJtC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AAyBtC,MAAa,sCACX,0BAAY,uBAAuB,CAAC;;;;;AAqBtC,MAAa,uCACX,0BAAY,uBAAuB,CAAC;;;;;AA8BtC,MAAa,mCACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,oCACX,0BAAY,uBAAuB,CAAC;;;;;AAkGtC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AA4BtC,MAAa,sCACX,0BAAY,uBAAuB,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A,aAAA,aAAA,eAAA,KAAA;;;;;;CAOA,aAAA,aAAA,6BAAA,KAAA;;;;;;CAOA,aAAA,aAAA,uBAAA,MAAA;;;;;;;;CASA,aAAA,aAAA,yBAAA,MAAA;;;;;;CAOA,aAAA,aAAA,wBAAA,MAAA;;;;;;;;CASA,aAAA,aAAA,0BAAA,MAAA;;;;;;;;;CAUA,aAAA,aAAA,UAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,uBAAuB,CAAC;;;;;;AAOnC,MAAa,gBA0HX,0BAAY,uBAAuB,CAAC"}
1
+ {"version":3,"file":"policies_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/policies_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/policies.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 { FieldMask, Timestamp } from \"@bufbuild/protobuf/wkt\";\nimport { file_google_protobuf_field_mask, 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/policies.proto.\n */\nexport const file_auth_v1_policies: GenFile = /*@__PURE__*/\n fileDesc(\"ChZhdXRoL3YxL3BvbGljaWVzLnByb3RvEgdhdXRoLnYxIj8KC01hcmtldFNjb3BlIjAKBVZhbHVlEg8KC1VOU1BFQ0lGSUVEEAASBwoDQUxMEAESDQoJQUxMT1dMSVNUEAIiKQoSU3BvdE1hcmtldFNlbGVjdG9yEhMKCXN5bWJvbF9pZBgBIAEoDUIAIiMKDlNwb3RNYXJrZXRSdWxlEhEKCXN5bWJvbF9pZBgBIAEoDSLvBgoUU3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AElYKD0RlbGV0ZUFwaVBvbGljeRIfLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVxdWVzdBogLmF1dGgudjEuRGVsZXRlQXBpUG9saWN5UmVzcG9uc2UiABJWCg9TZXRBcGlLZXlQb2xpY3kSHy5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlcXVlc3QaIC5hdXRoLnYxLlNldEFwaUtleVBvbGljeVJlc3BvbnNlIgAaAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_field_mask, file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * MarketScope describes how a policy applies to spot markets.\n *\n * @generated from message auth.v1.MarketScope\n */\nexport type MarketScope = Message<\"auth.v1.MarketScope\"> & {\n};\n\n/**\n * Describes the message auth.v1.MarketScope.\n * Use `create(MarketScopeSchema)` to create a new message.\n */\nexport const MarketScopeSchema: GenMessage<MarketScope> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 0);\n\n/**\n * Value is the market-level scope:\n * - ALL: no market-level restriction; new listings are automatically allowed.\n * - ALLOWLIST: only the listed markets are allowed.\n *\n * @generated from enum auth.v1.MarketScope.Value\n */\nexport enum MarketScope_Value {\n /**\n * No scope selected. Create and update requests treat this as ALL.\n *\n * @generated from enum value: UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * Allow all current and future markets for this policy.\n *\n * @generated from enum value: ALL = 1;\n */\n ALL = 1,\n\n /**\n * Allow only the markets listed on this policy.\n *\n * @generated from enum value: ALLOWLIST = 2;\n */\n ALLOWLIST = 2,\n}\n\n/**\n * Describes the enum auth.v1.MarketScope.Value.\n */\nexport const MarketScope_ValueSchema: GenEnum<MarketScope_Value> = /*@__PURE__*/\n enumDesc(file_auth_v1_policies, 0, 0);\n\n/**\n * SpotMarketSelector identifies an allowed spot market in policy mutations.\n *\n * @generated from message auth.v1.SpotMarketSelector\n */\nexport type SpotMarketSelector = Message<\"auth.v1.SpotMarketSelector\"> & {\n /**\n * Stable numeric pair ID from GetSpotConfig.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n};\n\n/**\n * Describes the message auth.v1.SpotMarketSelector.\n * Use `create(SpotMarketSelectorSchema)` to create a new message.\n */\nexport const SpotMarketSelectorSchema: GenMessage<SpotMarketSelector> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 1);\n\n/**\n * SpotMarketRule describes an allowed spot market in policy views.\n *\n * @generated from message auth.v1.SpotMarketRule\n */\nexport type SpotMarketRule = Message<\"auth.v1.SpotMarketRule\"> & {\n /**\n * Stable numeric pair ID.\n *\n * @generated from field: uint32 symbol_id = 1;\n */\n symbolId: number;\n};\n\n/**\n * Describes the message auth.v1.SpotMarketRule.\n * Use `create(SpotMarketRuleSchema)` to create a new message.\n */\nexport const SpotMarketRuleSchema: GenMessage<SpotMarketRule> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 2);\n\n/**\n * SubaccountPolicyView is the public view of a sub-account policy.\n *\n * @generated from message auth.v1.SubaccountPolicyView\n */\nexport type SubaccountPolicyView = Message<\"auth.v1.SubaccountPolicyView\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Human-readable policy name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits.\n *\n * @generated from field: string description = 3;\n */\n description: string;\n\n /**\n * Allowed spot markets for this sub-account.\n *\n * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;\n */\n spotMarkets: SpotMarketRule[];\n\n /**\n * Market-level scope for spot markets. When ALL, spot_markets is returned\n * for display only and is not enforced.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 6;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * Effective high-level actions enabled for the sub-account. Mandatory\n * read-only actions are always included.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 8;\n */\n actions: PolicyAction[];\n\n /**\n * True if this policy is a reusable template; false if it is a\n * per-sub-account instance.\n *\n * @generated from field: bool is_template = 10;\n */\n isTemplate: boolean;\n\n /**\n * Optional source template this policy was copied from (opaque ID). This is\n * audit metadata only and does not imply live linkage.\n *\n * @generated from field: fixed64 source_template_id = 11;\n */\n sourceTemplateId: bigint;\n\n /**\n * Maximum notional size allowed for any single order on this sub-account,\n * expressed in canonical quote microunits (one unit is 0.000001 USDT).\n * A value of 0 means \"no explicit cap\".\n *\n * @generated from field: uint64 max_order_notional = 13;\n */\n maxOrderNotional: bigint;\n\n /**\n * Maximum number of resting orders allowed on this sub-account at any time.\n * A value of 0 means \"no explicit cap\".\n *\n * @generated from field: uint32 max_open_orders = 14;\n */\n maxOpenOrders: number;\n\n /**\n * When true, new orders and exposure-increasing order or trigger changes are\n * rejected regardless of other settings. Existing orders and triggers may\n * still be canceled or paused by an otherwise authorized caller.\n *\n * @generated from field: bool trading_halted = 23;\n */\n tradingHalted: boolean;\n\n /**\n * When true, this policy is write-protected and requires an elevated approval\n * flow to modify it.\n *\n * @generated from field: bool locked = 27;\n */\n locked: boolean;\n\n /**\n * Optional review time in UTC. This is governance metadata and does not\n * automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp review_at = 28;\n */\n reviewAt?: Timestamp | undefined;\n\n /**\n * Optional expiry time in UTC. This is governance metadata and does not\n * automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 29;\n */\n expiresAt?: Timestamp | undefined;\n\n /**\n * Creation time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 20;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Last update time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 21;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 30;\n */\n revision: bigint;\n};\n\n/**\n * Describes the message auth.v1.SubaccountPolicyView.\n * Use `create(SubaccountPolicyViewSchema)` to create a new message.\n */\nexport const SubaccountPolicyViewSchema: GenMessage<SubaccountPolicyView> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 3);\n\n/**\n * ListSubaccountPoliciesRequest lists the finite set of sub-account policies\n * visible in the requested account scope. Results are sorted by ascending\n * policy ID and are not paginated.\n *\n * @generated from message auth.v1.ListSubaccountPoliciesRequest\n */\nexport type ListSubaccountPoliciesRequest = Message<\"auth.v1.ListSubaccountPoliciesRequest\"> & {\n /**\n * Optional sub-account context. When provided, a current member may read the\n * policy attached to that sub-account; the owner retains visibility of all\n * policies owned by their root account. When omitted, only policies owned by\n * the caller's root account are returned.\n *\n * @generated from field: optional fixed64 subaccount_id = 1;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.ListSubaccountPoliciesRequest.\n * Use `create(ListSubaccountPoliciesRequestSchema)` to create a new message.\n */\nexport const ListSubaccountPoliciesRequestSchema: GenMessage<ListSubaccountPoliciesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 4);\n\n/**\n * ListSubaccountPoliciesResponse contains sub-account policy templates sorted\n * by ascending policy ID.\n *\n * @generated from message auth.v1.ListSubaccountPoliciesResponse\n */\nexport type ListSubaccountPoliciesResponse = Message<\"auth.v1.ListSubaccountPoliciesResponse\"> & {\n /**\n * Sub-account policy templates visible to the caller.\n *\n * @generated from field: repeated auth.v1.SubaccountPolicyView policies = 1;\n */\n policies: SubaccountPolicyView[];\n};\n\n/**\n * Describes the message auth.v1.ListSubaccountPoliciesResponse.\n * Use `create(ListSubaccountPoliciesResponseSchema)` to create a new message.\n */\nexport const ListSubaccountPoliciesResponseSchema: GenMessage<ListSubaccountPoliciesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 5);\n\n/**\n * GetSubaccountPolicyRequest fetches one sub-account policy template by ID.\n *\n * @generated from message auth.v1.GetSubaccountPolicyRequest\n */\nexport type GetSubaccountPolicyRequest = Message<\"auth.v1.GetSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Optional sub-account context. When provided, a current member may read the\n * policy attached to that sub-account; the owner may also read another policy\n * owned by their root account. When omitted, the policy must be owned by the\n * caller's root account.\n *\n * @generated from field: optional fixed64 subaccount_id = 2;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSubaccountPolicyRequest.\n * Use `create(GetSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const GetSubaccountPolicyRequestSchema: GenMessage<GetSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 6);\n\n/**\n * GetSubaccountPolicyResponse returns the requested sub-account policy.\n *\n * @generated from message auth.v1.GetSubaccountPolicyResponse\n */\nexport type GetSubaccountPolicyResponse = Message<\"auth.v1.GetSubaccountPolicyResponse\"> & {\n /**\n * Matching sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetSubaccountPolicyResponse.\n * Use `create(GetSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const GetSubaccountPolicyResponseSchema: GenMessage<GetSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 7);\n\n/**\n * SubaccountPolicySpec contains the mutable configuration of a sub-account policy.\n *\n * @generated from message auth.v1.SubaccountPolicySpec\n */\nexport type SubaccountPolicySpec = Message<\"auth.v1.SubaccountPolicySpec\"> & {\n /**\n * Human-readable policy name. Create requires a non-empty value; update\n * validates it after merging fields selected by update_mask.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits. Maximum 256 characters.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Allowed spot markets for this policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;\n */\n spotMarkets: SpotMarketSelector[];\n\n /**\n * Market-level scope for spot markets. When unspecified, defaults to ALL.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 5;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * High-level actions enabled for the sub-account policy. Mandatory read-only\n * actions are included when omitted. Up to 64 unique explicit actions are\n * allowed.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 7;\n */\n actions: PolicyAction[];\n\n /**\n * Maximum notional size for any single order on this sub-account, expressed\n * in canonical quote microunits (one unit is 0.000001 USDT). A value of 0\n * means no explicit cap.\n *\n * @generated from field: uint64 max_order_notional = 13;\n */\n maxOrderNotional: bigint;\n\n /**\n * Maximum number of resting orders allowed on this sub-account at any time.\n * A value of 0 means no explicit cap.\n *\n * @generated from field: uint32 max_open_orders = 14;\n */\n maxOpenOrders: number;\n\n /**\n * When true, new orders and exposure-increasing order or trigger changes are\n * rejected regardless of other settings. Existing orders and triggers may\n * still be canceled or paused by an otherwise authorized caller.\n *\n * @generated from field: bool trading_halted = 21;\n */\n tradingHalted: boolean;\n\n /**\n * When true, the policy is write-protected and requires an elevated mutation path.\n *\n * @generated from field: bool locked = 25;\n */\n locked: boolean;\n\n /**\n * Optional review time in UTC. This does not automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp review_at = 26;\n */\n reviewAt?: Timestamp | undefined;\n\n /**\n * Optional expiry time in UTC. This does not automatically disable the policy.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 27;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.SubaccountPolicySpec.\n * Use `create(SubaccountPolicySpecSchema)` to create a new message.\n */\nexport const SubaccountPolicySpecSchema: GenMessage<SubaccountPolicySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 8);\n\n/**\n * CreateSubaccountPolicyRequest defines a new sub-account policy template, with\n * an optional attach step for one target sub-account.\n *\n * @generated from message auth.v1.CreateSubaccountPolicyRequest\n */\nexport type CreateSubaccountPolicyRequest = Message<\"auth.v1.CreateSubaccountPolicyRequest\"> & {\n /**\n * Complete mutable policy configuration.\n *\n * @generated from field: auth.v1.SubaccountPolicySpec policy = 1;\n */\n policy?: SubaccountPolicySpec | undefined;\n\n /**\n * Optional target sub-account to attach atomically after creation.\n *\n * @generated from field: optional fixed64 subaccount_id = 2;\n */\n subaccountId?: bigint | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateSubaccountPolicyRequest.\n * Use `create(CreateSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const CreateSubaccountPolicyRequestSchema: GenMessage<CreateSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 9);\n\n/**\n * CreateSubaccountPolicyResponse returns the created sub-account policy.\n *\n * @generated from message auth.v1.CreateSubaccountPolicyResponse\n */\nexport type CreateSubaccountPolicyResponse = Message<\"auth.v1.CreateSubaccountPolicyResponse\"> & {\n /**\n * Created sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateSubaccountPolicyResponse.\n * Use `create(CreateSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const CreateSubaccountPolicyResponseSchema: GenMessage<CreateSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 10);\n\n/**\n * UpdateSubaccountPolicyRequest changes selected mutable fields on an existing\n * sub-account policy.\n *\n * @generated from message auth.v1.UpdateSubaccountPolicyRequest\n */\nexport type UpdateSubaccountPolicyRequest = Message<\"auth.v1.UpdateSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.SubaccountPolicySpec policy = 2;\n */\n policy?: SubaccountPolicySpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to policy. The mask is required,\n * must be non-empty, and cannot contain \"*\".\n *\n * @generated from field: google.protobuf.FieldMask update_mask = 3;\n */\n updateMask?: FieldMask | undefined;\n\n /**\n * Revision returned by the latest successful read. Stale revisions fail with\n * a conflict before no-op detection.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateSubaccountPolicyRequest.\n * Use `create(UpdateSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const UpdateSubaccountPolicyRequestSchema: GenMessage<UpdateSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 11);\n\n/**\n * UpdateSubaccountPolicyResponse returns the updated sub-account policy.\n *\n * @generated from message auth.v1.UpdateSubaccountPolicyResponse\n */\nexport type UpdateSubaccountPolicyResponse = Message<\"auth.v1.UpdateSubaccountPolicyResponse\"> & {\n /**\n * Updated sub-account policy.\n *\n * @generated from field: auth.v1.SubaccountPolicyView policy = 1;\n */\n policy?: SubaccountPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateSubaccountPolicyResponse.\n * Use `create(UpdateSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const UpdateSubaccountPolicyResponseSchema: GenMessage<UpdateSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 12);\n\n/**\n * DeleteSubaccountPolicyRequest deletes a sub-account policy template when it\n * is not in use.\n *\n * @generated from message auth.v1.DeleteSubaccountPolicyRequest\n */\nexport type DeleteSubaccountPolicyRequest = Message<\"auth.v1.DeleteSubaccountPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.DeleteSubaccountPolicyRequest.\n * Use `create(DeleteSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const DeleteSubaccountPolicyRequestSchema: GenMessage<DeleteSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 13);\n\n/**\n * DeleteSubaccountPolicyResponse is empty when the delete succeeds.\n *\n * @generated from message auth.v1.DeleteSubaccountPolicyResponse\n */\nexport type DeleteSubaccountPolicyResponse = Message<\"auth.v1.DeleteSubaccountPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteSubaccountPolicyResponse.\n * Use `create(DeleteSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const DeleteSubaccountPolicyResponseSchema: GenMessage<DeleteSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 14);\n\n/**\n * SetSubaccountPolicyRequest attaches or clears a policy template on a\n * sub-account.\n *\n * @generated from message auth.v1.SetSubaccountPolicyRequest\n */\nexport type SetSubaccountPolicyRequest = Message<\"auth.v1.SetSubaccountPolicyRequest\"> & {\n /**\n * Sub-account identifier (opaque ID).\n *\n * @generated from field: fixed64 subaccount_id = 1;\n */\n subaccountId: bigint;\n\n /**\n * Policy template to attach (opaque ID). A value of 0 clears the explicit\n * binding and restores the system Read Only policy.\n *\n * @generated from field: fixed64 policy_id = 2;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.SetSubaccountPolicyRequest.\n * Use `create(SetSubaccountPolicyRequestSchema)` to create a new message.\n */\nexport const SetSubaccountPolicyRequestSchema: GenMessage<SetSubaccountPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 15);\n\n/**\n * SetSubaccountPolicyResponse is empty when the policy binding succeeds.\n *\n * @generated from message auth.v1.SetSubaccountPolicyResponse\n */\nexport type SetSubaccountPolicyResponse = Message<\"auth.v1.SetSubaccountPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.SetSubaccountPolicyResponse.\n * Use `create(SetSubaccountPolicyResponseSchema)` to create a new message.\n */\nexport const SetSubaccountPolicyResponseSchema: GenMessage<SetSubaccountPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 16);\n\n/**\n * ApiPolicyView is the public view of an API key policy template. Its action\n * and spot-market floor cannot exceed an attached sub-account policy.\n *\n * @generated from message auth.v1.ApiPolicyView\n */\nexport type ApiPolicyView = Message<\"auth.v1.ApiPolicyView\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 id = 1;\n */\n id: bigint;\n\n /**\n * Human-readable policy name.\n *\n * @generated from field: string name = 2;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits.\n *\n * @generated from field: string description = 3;\n */\n description: string;\n\n /**\n * Allowed spot markets for this API key policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketRule spot_markets = 4;\n */\n spotMarkets: SpotMarketRule[];\n\n /**\n * High-level actions enabled for this API key. Up to 64 unique explicit\n * actions may be returned.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 6;\n */\n actions: PolicyAction[];\n\n /**\n * Market-level scope for spot markets. When ALL, spot_markets is returned\n * for display only and is not enforced.\n *\n * --- Template / lifecycle metadata ---\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 7;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * When true, this policy is intended to be reused as a template across\n * multiple API keys. When false, it represents a single-key instance.\n *\n * @generated from field: bool is_template = 19;\n */\n isTemplate: boolean;\n\n /**\n * Optional source template this policy was copied from (opaque ID). This is\n * audit metadata only and does not imply live linkage.\n *\n * @generated from field: fixed64 source_template_id = 20;\n */\n sourceTemplateId: bigint;\n\n /**\n * Creation time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 21;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Last update time in UTC.\n *\n * @generated from field: google.protobuf.Timestamp updated_at = 22;\n */\n updatedAt?: Timestamp | undefined;\n\n /**\n * Monotonic resource revision used for conditional updates.\n *\n * @generated from field: uint64 revision = 23;\n */\n revision: bigint;\n};\n\n/**\n * Describes the message auth.v1.ApiPolicyView.\n * Use `create(ApiPolicyViewSchema)` to create a new message.\n */\nexport const ApiPolicyViewSchema: GenMessage<ApiPolicyView> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 17);\n\n/**\n * ListApiPoliciesRequest lists the finite set of API key policies visible in\n * the requested account scope. Results are sorted by ascending policy ID and\n * are not paginated.\n *\n * @generated from message auth.v1.ListApiPoliciesRequest\n */\nexport type ListApiPoliciesRequest = Message<\"auth.v1.ListApiPoliciesRequest\"> & {\n /**\n * Optional API key context for delegated administration. When omitted, only\n * policies owned by the caller's root account are returned.\n *\n * @generated from field: optional string key_id = 1;\n */\n keyId?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.ListApiPoliciesRequest.\n * Use `create(ListApiPoliciesRequestSchema)` to create a new message.\n */\nexport const ListApiPoliciesRequestSchema: GenMessage<ListApiPoliciesRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 18);\n\n/**\n * ListApiPoliciesResponse contains API key policy templates sorted by ascending\n * policy ID.\n *\n * @generated from message auth.v1.ListApiPoliciesResponse\n */\nexport type ListApiPoliciesResponse = Message<\"auth.v1.ListApiPoliciesResponse\"> & {\n /**\n * API key policy templates visible to the caller.\n *\n * @generated from field: repeated auth.v1.ApiPolicyView policies = 1;\n */\n policies: ApiPolicyView[];\n};\n\n/**\n * Describes the message auth.v1.ListApiPoliciesResponse.\n * Use `create(ListApiPoliciesResponseSchema)` to create a new message.\n */\nexport const ListApiPoliciesResponseSchema: GenMessage<ListApiPoliciesResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 19);\n\n/**\n * GetApiPolicyRequest fetches one API key policy template by ID.\n *\n * @generated from message auth.v1.GetApiPolicyRequest\n */\nexport type GetApiPolicyRequest = Message<\"auth.v1.GetApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Optional API key context for delegated administration. When omitted, the\n * policy must be owned by the caller's root account.\n *\n * @generated from field: optional string key_id = 2;\n */\n keyId?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiPolicyRequest.\n * Use `create(GetApiPolicyRequestSchema)` to create a new message.\n */\nexport const GetApiPolicyRequestSchema: GenMessage<GetApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 20);\n\n/**\n * GetApiPolicyResponse returns the requested API key policy.\n *\n * @generated from message auth.v1.GetApiPolicyResponse\n */\nexport type GetApiPolicyResponse = Message<\"auth.v1.GetApiPolicyResponse\"> & {\n /**\n * Matching API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.GetApiPolicyResponse.\n * Use `create(GetApiPolicyResponseSchema)` to create a new message.\n */\nexport const GetApiPolicyResponseSchema: GenMessage<GetApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 21);\n\n/**\n * ApiPolicySpec contains the mutable configuration of an API key policy.\n *\n * @generated from message auth.v1.ApiPolicySpec\n */\nexport type ApiPolicySpec = Message<\"auth.v1.ApiPolicySpec\"> & {\n /**\n * Human-readable policy name. Create requires a non-empty value; update\n * validates it after merging fields selected by update_mask.\n *\n * @generated from field: string name = 1;\n */\n name: string;\n\n /**\n * Optional policy description for dashboards and audits. Maximum 256 characters.\n *\n * @generated from field: string description = 2;\n */\n description: string;\n\n /**\n * Allowed spot markets for this API key policy.\n *\n * @generated from field: repeated auth.v1.SpotMarketSelector spot_markets = 3;\n */\n spotMarkets: SpotMarketSelector[];\n\n /**\n * Market-level scope for spot markets. When unspecified, defaults to ALL.\n *\n * @generated from field: auth.v1.MarketScope.Value spot_market_scope = 5;\n */\n spotMarketScope: MarketScope_Value;\n\n /**\n * High-level actions enabled for the API key policy. An empty list grants no\n * access. Up to 64 unique explicit actions are allowed.\n *\n * @generated from field: repeated auth.v1.PolicyAction actions = 7;\n */\n actions: PolicyAction[];\n\n /**\n * Whether this policy should be treated as a reusable template.\n *\n * @generated from field: bool is_template = 19;\n */\n isTemplate: boolean;\n};\n\n/**\n * Describes the message auth.v1.ApiPolicySpec.\n * Use `create(ApiPolicySpecSchema)` to create a new message.\n */\nexport const ApiPolicySpecSchema: GenMessage<ApiPolicySpec> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 22);\n\n/**\n * CreateApiPolicyRequest defines a new API key policy template.\n *\n * @generated from message auth.v1.CreateApiPolicyRequest\n */\nexport type CreateApiPolicyRequest = Message<\"auth.v1.CreateApiPolicyRequest\"> & {\n /**\n * Complete mutable policy configuration.\n *\n * @generated from field: auth.v1.ApiPolicySpec policy = 1;\n */\n policy?: ApiPolicySpec | undefined;\n\n /**\n * Optional API key identifier to bind this newly-created policy to\n * atomically. When set, the caller must be allowed to manage the key and the\n * create+assign operation consumes a single fresh step-up proof.\n *\n * @generated from field: string assign_to_key_id = 2;\n */\n assignToKeyId: string;\n};\n\n/**\n * Describes the message auth.v1.CreateApiPolicyRequest.\n * Use `create(CreateApiPolicyRequestSchema)` to create a new message.\n */\nexport const CreateApiPolicyRequestSchema: GenMessage<CreateApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 23);\n\n/**\n * CreateApiPolicyResponse returns the created API key policy.\n *\n * @generated from message auth.v1.CreateApiPolicyResponse\n */\nexport type CreateApiPolicyResponse = Message<\"auth.v1.CreateApiPolicyResponse\"> & {\n /**\n * Created API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.CreateApiPolicyResponse.\n * Use `create(CreateApiPolicyResponseSchema)` to create a new message.\n */\nexport const CreateApiPolicyResponseSchema: GenMessage<CreateApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 24);\n\n/**\n * UpdateApiPolicyRequest changes selected mutable fields on an existing API\n * key policy.\n *\n * @generated from message auth.v1.UpdateApiPolicyRequest\n */\nexport type UpdateApiPolicyRequest = Message<\"auth.v1.UpdateApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n\n /**\n * Candidate values for fields selected by update_mask.\n *\n * @generated from field: auth.v1.ApiPolicySpec policy = 2;\n */\n policy?: ApiPolicySpec | undefined;\n\n /**\n * Mutable fields to apply. Paths are relative to policy. The mask is required,\n * must be non-empty, and cannot contain \"*\".\n *\n * @generated from field: google.protobuf.FieldMask update_mask = 3;\n */\n updateMask?: FieldMask | undefined;\n\n /**\n * Revision returned by the latest successful read. Stale revisions fail with\n * a conflict before no-op detection.\n *\n * @generated from field: uint64 expected_revision = 4;\n */\n expectedRevision: bigint;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiPolicyRequest.\n * Use `create(UpdateApiPolicyRequestSchema)` to create a new message.\n */\nexport const UpdateApiPolicyRequestSchema: GenMessage<UpdateApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 25);\n\n/**\n * UpdateApiPolicyResponse returns the updated API key policy.\n *\n * @generated from message auth.v1.UpdateApiPolicyResponse\n */\nexport type UpdateApiPolicyResponse = Message<\"auth.v1.UpdateApiPolicyResponse\"> & {\n /**\n * Updated API key policy.\n *\n * @generated from field: auth.v1.ApiPolicyView policy = 1;\n */\n policy?: ApiPolicyView | undefined;\n};\n\n/**\n * Describes the message auth.v1.UpdateApiPolicyResponse.\n * Use `create(UpdateApiPolicyResponseSchema)` to create a new message.\n */\nexport const UpdateApiPolicyResponseSchema: GenMessage<UpdateApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 26);\n\n/**\n * DeleteApiPolicyRequest deletes an API key policy template when it is not in use.\n *\n * @generated from message auth.v1.DeleteApiPolicyRequest\n */\nexport type DeleteApiPolicyRequest = Message<\"auth.v1.DeleteApiPolicyRequest\"> & {\n /**\n * Policy identifier (opaque ID).\n *\n * @generated from field: fixed64 policy_id = 1;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.DeleteApiPolicyRequest.\n * Use `create(DeleteApiPolicyRequestSchema)` to create a new message.\n */\nexport const DeleteApiPolicyRequestSchema: GenMessage<DeleteApiPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 27);\n\n/**\n * DeleteApiPolicyResponse is empty when the delete succeeds.\n *\n * @generated from message auth.v1.DeleteApiPolicyResponse\n */\nexport type DeleteApiPolicyResponse = Message<\"auth.v1.DeleteApiPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.DeleteApiPolicyResponse.\n * Use `create(DeleteApiPolicyResponseSchema)` to create a new message.\n */\nexport const DeleteApiPolicyResponseSchema: GenMessage<DeleteApiPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 28);\n\n/**\n * SetApiKeyPolicyRequest attaches or clears a policy template on an API key.\n *\n * @generated from message auth.v1.SetApiKeyPolicyRequest\n */\nexport type SetApiKeyPolicyRequest = Message<\"auth.v1.SetApiKeyPolicyRequest\"> & {\n /**\n * Opaque API key identifier, formatted as \"ak_\" followed by 32 lowercase hex\n * characters.\n *\n * @generated from field: string key_id = 1;\n */\n keyId: string;\n\n /**\n * Policy template to attach (opaque ID). A value of 0 clears the binding.\n * An API key without an attached policy has no permissions.\n *\n * @generated from field: fixed64 policy_id = 2;\n */\n policyId: bigint;\n};\n\n/**\n * Describes the message auth.v1.SetApiKeyPolicyRequest.\n * Use `create(SetApiKeyPolicyRequestSchema)` to create a new message.\n */\nexport const SetApiKeyPolicyRequestSchema: GenMessage<SetApiKeyPolicyRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 29);\n\n/**\n * SetApiKeyPolicyResponse is empty when the policy binding succeeds.\n *\n * @generated from message auth.v1.SetApiKeyPolicyResponse\n */\nexport type SetApiKeyPolicyResponse = Message<\"auth.v1.SetApiKeyPolicyResponse\"> & {\n};\n\n/**\n * Describes the message auth.v1.SetApiKeyPolicyResponse.\n * Use `create(SetApiKeyPolicyResponseSchema)` to create a new message.\n */\nexport const SetApiKeyPolicyResponseSchema: GenMessage<SetApiKeyPolicyResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_policies, 30);\n\n/**\n * PolicyAction is a high-level permission that can be granted by a policy.\n * Write-style actions also grant the matching read visibility where needed by\n * the product experience.\n *\n * @generated from enum auth.v1.PolicyAction\n */\nexport enum PolicyAction {\n /**\n * No policy action selected. An empty API-key action list grants no access;\n * sub-account policies retain their mandatory read-only actions.\n *\n * @generated from enum value: UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n\n /**\n * Allow all spot order mutations: create, modify, replace, cancel, batch\n * operations, live cancel-all, and arming or disabling cancel-all-after.\n * Includes reading spot orders and trades and placing or modifying triggers.\n * Authorized cancellation remains available when trading activity is disabled;\n * this does not grant mutation access to a read-only API key.\n *\n * @generated from enum value: TRADE_SPOT = 1;\n */\n TRADE_SPOT = 1,\n\n /**\n * Allow internal transfers between sub-accounts or linked Polyester accounts,\n * including reading internal transfer history.\n *\n * @generated from enum value: INTERNAL_TRANSFER = 3;\n */\n INTERNAL_TRANSFER = 3,\n\n /**\n * Allow value to leave Trading through external withdrawals. Destination\n * authorization is enforced separately from this policy.\n *\n * @generated from enum value: EXTERNAL_WITHDRAW = 4;\n */\n EXTERNAL_WITHDRAW = 4,\n\n /**\n * Allow reading balances and equity for a sub-account or API key.\n *\n * @generated from enum value: READ_BALANCES = 5;\n */\n READ_BALANCES = 5,\n\n /**\n * Allow reading spot orders and trades, subscriptions, and cancel-all dry-run.\n * Strictly non-mutating: cancellation and cancel-all-after changes require TRADE_SPOT.\n *\n * @generated from enum value: READ_SPOT = 6;\n */\n READ_SPOT = 6,\n\n /**\n * Allow reading internal transfer history.\n *\n * @generated from enum value: READ_INTERNAL_TRANSFERS = 8;\n */\n READ_INTERNAL_TRANSFERS = 8,\n\n /**\n * Allow reading saved, recent, and whitelisted address-book destinations.\n *\n * @generated from enum value: READ_ADDRESS_BOOK = 11;\n */\n READ_ADDRESS_BOOK = 11,\n\n /**\n * Allow creating, updating, deleting, and copying saved destination entries,\n * including reading the address book. Address-book writes accept only a\n * session token, so on an API-key policy this grants address-book reads only.\n *\n * @generated from enum value: MANAGE_ADDRESS_BOOK = 12;\n */\n MANAGE_ADDRESS_BOOK = 12,\n\n /**\n * Allow reading the auto-withdraw rule and its runs.\n *\n * @generated from enum value: READ_AUTO_WITHDRAW = 14;\n */\n READ_AUTO_WITHDRAW = 14,\n\n /**\n * Allow creating, changing, and disabling the auto-withdraw rule, including\n * reading it. A rule pays value out, so changing one also requires\n * EXTERNAL_WITHDRAW, and API keys can never change one.\n *\n * @generated from enum value: MANAGE_AUTO_WITHDRAW = 15;\n */\n MANAGE_AUTO_WITHDRAW = 15,\n\n /**\n * Allow quoting, creating, and reading Swaps: market conversions of the\n * account's own Trading balance from one asset into another. Each Swap places\n * spot orders on the account's behalf, which also remain subject to the\n * sub-account's spot trading policy.\n *\n * @generated from enum value: SWAP = 16;\n */\n SWAP = 16,\n}\n\n/**\n * Describes the enum auth.v1.PolicyAction.\n */\nexport const PolicyActionSchema: GenEnum<PolicyAction> = /*@__PURE__*/\n enumDesc(file_auth_v1_policies, 0);\n\n/**\n * PolicyService manages sub-account and API key policy templates and bindings.\n *\n * @generated from service auth.v1.PolicyService\n */\nexport const PolicyService: GenService<{\n /**\n * List sub-account policy templates available to the caller.\n *\n * @generated from rpc auth.v1.PolicyService.ListSubaccountPolicies\n */\n listSubaccountPolicies: {\n methodKind: \"unary\";\n input: typeof ListSubaccountPoliciesRequestSchema;\n output: typeof ListSubaccountPoliciesResponseSchema;\n },\n /**\n * Get a sub-account policy template by id.\n *\n * @generated from rpc auth.v1.PolicyService.GetSubaccountPolicy\n */\n getSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof GetSubaccountPolicyRequestSchema;\n output: typeof GetSubaccountPolicyResponseSchema;\n },\n /**\n * Create a new sub-account policy template (optionally attach to a sub-account).\n *\n * @generated from rpc auth.v1.PolicyService.CreateSubaccountPolicy\n */\n createSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof CreateSubaccountPolicyRequestSchema;\n output: typeof CreateSubaccountPolicyResponseSchema;\n },\n /**\n * Change selected fields on an existing sub-account policy template.\n *\n * @generated from rpc auth.v1.PolicyService.UpdateSubaccountPolicy\n */\n updateSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof UpdateSubaccountPolicyRequestSchema;\n output: typeof UpdateSubaccountPolicyResponseSchema;\n },\n /**\n * Delete a sub-account policy template.\n *\n * @generated from rpc auth.v1.PolicyService.DeleteSubaccountPolicy\n */\n deleteSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof DeleteSubaccountPolicyRequestSchema;\n output: typeof DeleteSubaccountPolicyResponseSchema;\n },\n /**\n * Attach or clear a sub-account policy for a sub-account.\n *\n * @generated from rpc auth.v1.PolicyService.SetSubaccountPolicy\n */\n setSubaccountPolicy: {\n methodKind: \"unary\";\n input: typeof SetSubaccountPolicyRequestSchema;\n output: typeof SetSubaccountPolicyResponseSchema;\n },\n /**\n * List API key policy templates available to the caller.\n *\n * @generated from rpc auth.v1.PolicyService.ListApiPolicies\n */\n listApiPolicies: {\n methodKind: \"unary\";\n input: typeof ListApiPoliciesRequestSchema;\n output: typeof ListApiPoliciesResponseSchema;\n },\n /**\n * Get an API key policy template by id.\n *\n * @generated from rpc auth.v1.PolicyService.GetApiPolicy\n */\n getApiPolicy: {\n methodKind: \"unary\";\n input: typeof GetApiPolicyRequestSchema;\n output: typeof GetApiPolicyResponseSchema;\n },\n /**\n * Create a new API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.CreateApiPolicy\n */\n createApiPolicy: {\n methodKind: \"unary\";\n input: typeof CreateApiPolicyRequestSchema;\n output: typeof CreateApiPolicyResponseSchema;\n },\n /**\n * Change selected fields on an existing API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.UpdateApiPolicy\n */\n updateApiPolicy: {\n methodKind: \"unary\";\n input: typeof UpdateApiPolicyRequestSchema;\n output: typeof UpdateApiPolicyResponseSchema;\n },\n /**\n * Delete an API key policy template.\n *\n * @generated from rpc auth.v1.PolicyService.DeleteApiPolicy\n */\n deleteApiPolicy: {\n methodKind: \"unary\";\n input: typeof DeleteApiPolicyRequestSchema;\n output: typeof DeleteApiPolicyResponseSchema;\n },\n /**\n * Attach or clear an API key policy for a key.\n *\n * @generated from rpc auth.v1.PolicyService.SetApiKeyPolicy\n */\n setApiKeyPolicy: {\n methodKind: \"unary\";\n input: typeof SetApiKeyPolicyRequestSchema;\n output: typeof SetApiKeyPolicyResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_policies, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,wBACX,uBAAS,ogQAAogQ;CAAC;CAAiC;CAAgC;AAA0B,CAAC;;;;;AAc5mQ,MAAa,oBACX,0BAAY,uBAAuB,CAAC;;;;;;;;AAStC,IAAY,oBAAL,yBAAA,mBAAA;;;;;;CAML,kBAAA,kBAAA,iBAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,SAAA,KAAA;;;;;;CAOA,kBAAA,kBAAA,eAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,0BACX,uBAAS,uBAAuB,GAAG,CAAC;;;;;AAoBtC,MAAa,2BACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,uBACX,0BAAY,uBAAuB,CAAC;;;;;AAgJtC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AAyBtC,MAAa,sCACX,0BAAY,uBAAuB,CAAC;;;;;AAqBtC,MAAa,uCACX,0BAAY,uBAAuB,CAAC;;;;;AA8BtC,MAAa,mCACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,oCACX,0BAAY,uBAAuB,CAAC;;;;;AAkGtC,MAAa,6BACX,0BAAY,uBAAuB,CAAC;;;;;AA4BtC,MAAa,sCACX,0BAAY,uBAAuB,CAAC;;;;;AAoBtC,MAAa,uCACX,0BAAY,uBA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A,aAAA,6BAAA,KAAA;;;;;;CAOA,aAAA,aAAA,uBAAA,MAAA;;;;;;;;CASA,aAAA,aAAA,yBAAA,MAAA;;;;;;CAOA,aAAA,aAAA,wBAAA,MAAA;;;;;;;;CASA,aAAA,aAAA,0BAAA,MAAA;;;;;;;;;CAUA,aAAA,aAAA,UAAA,MAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,qBACX,uBAAS,uBAAuB,CAAC;;;;;;AAOnC,MAAa,gBA0HX,0BAAY,uBAAuB,CAAC"}
@@ -23,7 +23,7 @@ var profile_pb_exports = /* @__PURE__ */ __exportAll({
23
23
  /**
24
24
  * Describes the file auth/v1/profile.proto.
25
25
  */
26
- const file_auth_v1_profile = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIQCgh2aXBfdGllchgHIAEoBRIZChF1c2VybmFtZV91bmxvY2tlZBgLIAEoCBIeChZjdXJyZW50X3Rlcm1zX2FjY2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VDSUZJRUQQABIZChVQUk9GSUxFX0lOVkFMSURfRklFTEQQARIaChZQUk9GSUxFX0ZJRUxEX1RPT19MT05HEAISFwoTUFJPRklMRV9VUkxfSU5WQUxJRBADEh4KGlBST0ZJTEVfVVJMX1NDSEVNRV9JTlZBTElEEAQywQMKDlByb2ZpbGVTZXJ2aWNlEkAKCkdldFByb2ZpbGUSGi5hdXRoLnYxLkdldFByb2ZpbGVSZXF1ZXN0GhQuYXV0aC52MS5Vc2VyUHJvZmlsZSIAEkIKDVVwZGF0ZVByb2ZpbGUSGS5hdXRoLnYxLlVzZXJQcm9maWxlUGF0Y2gaFC5hdXRoLnYxLlVzZXJQcm9maWxlIgASXwoSR2V0VXNlcm5hbWVIaXN0b3J5EiIuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXF1ZXN0GiMuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXNwb25zZSIAEm4KF0dlbmVyYXRlVXNlcm5hbWVPcHRpb25zEicuYXV0aC52MS5HZW5lcmF0ZVVzZXJuYW1lT3B0aW9uc1JlcXVlc3QaKC5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=", [file_google_protobuf_timestamp, file_polyester_api_options]);
26
+ const file_auth_v1_profile = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASg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HZW5lcmF0ZVVzZXJuYW1lT3B0aW9uc1JlcXVlc3QaKC5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiABoAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_google_protobuf_timestamp, file_polyester_api_options]);
27
27
  /**
28
28
  * Describes the message auth.v1.AccountIdentity.
29
29
  * Use `create(AccountIdentitySchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"profile_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/profile.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 { 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/profile.proto.\n */\nexport const file_auth_v1_profile: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZH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XVlc3QaKC5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiAEI8WjpnaXRodWIuY29tL0ZhYnJpYy1MYWJzL3BvbHllc3Rlci1zZGstZ28vZ2VuL2F1dGgvdjE7YXV0aHYxYgZwcm90bzM=\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * AccountIdentity is a lightweight identity view for a root account.\n *\n * @generated from message auth.v1.AccountIdentity\n */\nexport type AccountIdentity = Message<\"auth.v1.AccountIdentity\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Current username for the root account (unique, case-insensitive). Empty\n * means no username set.\n *\n * @generated from field: string username = 2;\n */\n username: string;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 3;\n */\n avatarUrl: string;\n\n /**\n * Root smart-account EVM address. Useful as a stable identity fallback.\n *\n * @generated from field: string root_smart_account_address = 4;\n */\n rootSmartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.AccountIdentity.\n * Use `create(AccountIdentitySchema)` to create a new message.\n */\nexport const AccountIdentitySchema: GenMessage<AccountIdentity> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 0);\n\n/**\n * UserProfile is the caller's public profile and account metadata.\n *\n * @generated from message auth.v1.UserProfile\n */\nexport type UserProfile = Message<\"auth.v1.UserProfile\"> & {\n /**\n * Public username for the root account. Usernames are unique\n * case-insensitively and use 3 to 32 letters, digits, underscores, dots, or\n * hyphens. Empty means no username is set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Short public bio. Maximum length is 256 characters.\n *\n * @generated from field: string bio = 2;\n */\n bio: string;\n\n /**\n * Public website URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string website = 3;\n */\n website: string;\n\n /**\n * X/Twitter handle without \"@\". Maximum length is 15 characters.\n *\n * @generated from field: string twitter = 4;\n */\n twitter: string;\n\n /**\n * Whether the X/Twitter handle for this account has been verified.\n *\n * @generated from field: bool twitter_verified = 8;\n */\n twitterVerified: boolean;\n\n /**\n * Discord handle or username without \"@\". Maximum length is 64 characters.\n *\n * @generated from field: string discord = 9;\n */\n discord: string;\n\n /**\n * Whether the Discord handle for this account has been verified.\n *\n * @generated from field: bool discord_verified = 10;\n */\n discordVerified: boolean;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 5;\n */\n avatarUrl: string;\n\n /**\n * Account creation time in UTC. This is the canonical \"member since\"\n * timestamp.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 12;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Next time in UTC when the username can be changed again. Omitted when no\n * cooldown applies.\n *\n * @generated from field: google.protobuf.Timestamp next_username_change_at = 6;\n */\n nextUsernameChangeAt?: Timestamp | undefined;\n\n /**\n * Current VIP tier for this root account. A value of 0 is the base tier.\n * Read-only.\n *\n * @generated from field: int32 vip_tier = 7;\n */\n vipTier: number;\n\n /**\n * Whether this account is currently allowed to claim/change a username.\n *\n * @generated from field: bool username_unlocked = 11;\n */\n usernameUnlocked: boolean;\n\n /**\n * Whether the caller's root account accepted the terms required for restricted actions.\n * False when the required terms have not been accepted.\n *\n * @generated from field: bool current_terms_accepted = 13;\n */\n currentTermsAccepted: boolean;\n};\n\n/**\n * Describes the message auth.v1.UserProfile.\n * Use `create(UserProfileSchema)` to create a new message.\n */\nexport const UserProfileSchema: GenMessage<UserProfile> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 1);\n\n/**\n * UserProfilePatch is a partial profile update. Fields are\n * optional/presence-aware:\n * - if a field is omitted, it is not modified\n * - if a field is present with an empty string, it is cleared\n * Username changes are subject to account eligibility, reserved-name checks,\n * uniqueness, and cooldown rules. Case-only username changes update display\n * casing without consuming the cooldown.\n *\n * @generated from message auth.v1.UserProfilePatch\n */\nexport type UserProfilePatch = Message<\"auth.v1.UserProfilePatch\"> & {\n /**\n * Public username for the root account. Use an empty string to clear it.\n * Non-empty values must be 3 to 32 letters, digits, underscores, dots, or\n * hyphens.\n *\n * @generated from field: optional string username = 1;\n */\n username?: string | undefined;\n\n /**\n * Short public bio. Use an empty string to clear it. Non-empty values must be\n * at most 256 characters and cannot contain \"<\" or \">\".\n *\n * @generated from field: optional string bio = 2;\n */\n bio?: string | undefined;\n\n /**\n * Public website URL. Use an empty string to clear it. Non-empty values must\n * be valid http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string website = 3;\n */\n website?: string | undefined;\n\n /**\n * X/Twitter handle without \"@\". Use an empty string to clear it. Non-empty\n * values must be 1 to 15 letters, digits, or underscores.\n *\n * @generated from field: optional string twitter = 4;\n */\n twitter?: string | undefined;\n\n /**\n * Avatar URL. Use an empty string to clear it. Non-empty values must be valid\n * http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string avatar_url = 5;\n */\n avatarUrl?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.UserProfilePatch.\n * Use `create(UserProfilePatchSchema)` to create a new message.\n */\nexport const UserProfilePatchSchema: GenMessage<UserProfilePatch> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 2);\n\n/**\n * GetProfileRequest fetches the authenticated caller's profile.\n *\n * @generated from message auth.v1.GetProfileRequest\n */\nexport type GetProfileRequest = Message<\"auth.v1.GetProfileRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetProfileRequest.\n * Use `create(GetProfileRequestSchema)` to create a new message.\n */\nexport const GetProfileRequestSchema: GenMessage<GetProfileRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 3);\n\n/**\n * ProfileErrorDetail describes a profile validation failure returned by the API.\n *\n * @generated from message auth.v1.ProfileErrorDetail\n */\nexport type ProfileErrorDetail = Message<\"auth.v1.ProfileErrorDetail\"> & {\n /**\n * Stable machine-readable profile error code.\n *\n * @generated from field: auth.v1.ProfileErrorCode code = 1;\n */\n code: ProfileErrorCode;\n\n /**\n * Field name associated with the error, such as \"bio\", \"website\", \"twitter\",\n * or \"avatar_url\".\n *\n * @generated from field: string field = 2;\n */\n field: string;\n\n /**\n * Human-friendly message for UI/debugging.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.ProfileErrorDetail.\n * Use `create(ProfileErrorDetailSchema)` to create a new message.\n */\nexport const ProfileErrorDetailSchema: GenMessage<ProfileErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 4);\n\n/**\n * UsernameHistoryEntry records a previous username claim for the caller.\n *\n * @generated from message auth.v1.UsernameHistoryEntry\n */\nexport type UsernameHistoryEntry = Message<\"auth.v1.UsernameHistoryEntry\"> & {\n /**\n * Username value that was set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Time in UTC when this username was set.\n *\n * @generated from field: google.protobuf.Timestamp set_at = 2;\n */\n setAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.UsernameHistoryEntry.\n * Use `create(UsernameHistoryEntrySchema)` to create a new message.\n */\nexport const UsernameHistoryEntrySchema: GenMessage<UsernameHistoryEntry> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 5);\n\n/**\n * GetUsernameHistoryRequest fetches recent username changes for the\n * authenticated caller.\n *\n * @generated from message auth.v1.GetUsernameHistoryRequest\n */\nexport type GetUsernameHistoryRequest = Message<\"auth.v1.GetUsernameHistoryRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryRequest.\n * Use `create(GetUsernameHistoryRequestSchema)` to create a new message.\n */\nexport const GetUsernameHistoryRequestSchema: GenMessage<GetUsernameHistoryRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 6);\n\n/**\n * GetUsernameHistoryResponse contains the caller's recent username history,\n * newest first. At most 20 entries are returned.\n *\n * @generated from message auth.v1.GetUsernameHistoryResponse\n */\nexport type GetUsernameHistoryResponse = Message<\"auth.v1.GetUsernameHistoryResponse\"> & {\n /**\n * Recent username history entries, newest first.\n *\n * @generated from field: repeated auth.v1.UsernameHistoryEntry history = 1;\n */\n history: UsernameHistoryEntry[];\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryResponse.\n * Use `create(GetUsernameHistoryResponseSchema)` to create a new message.\n */\nexport const GetUsernameHistoryResponseSchema: GenMessage<GetUsernameHistoryResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 7);\n\n/**\n * GenerateUsernameOptionsRequest requests a fresh set of generated usernames.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsRequest\n */\nexport type GenerateUsernameOptionsRequest = Message<\"auth.v1.GenerateUsernameOptionsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsRequest.\n * Use `create(GenerateUsernameOptionsRequestSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsRequestSchema: GenMessage<GenerateUsernameOptionsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 8);\n\n/**\n * GenerateUsernameOptionsResponse contains five generated usernames that the\n * caller may claim before the offer expires.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsResponse\n */\nexport type GenerateUsernameOptionsResponse = Message<\"auth.v1.GenerateUsernameOptionsResponse\"> & {\n /**\n * Five distinct generated usernames available when this offer was created.\n *\n * @generated from field: repeated string usernames = 1;\n */\n usernames: string[];\n\n /**\n * Opaque proof required to claim one of the returned usernames.\n *\n * @generated from field: string offer_token = 2;\n */\n offerToken: string;\n\n /**\n * Time in UTC after which this offer can no longer be claimed.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 3;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsResponse.\n * Use `create(GenerateUsernameOptionsResponseSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsResponseSchema: GenMessage<GenerateUsernameOptionsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 9);\n\n/**\n * ClaimGeneratedUsernameRequest selects one username from a generated offer.\n *\n * @generated from message auth.v1.ClaimGeneratedUsernameRequest\n */\nexport type ClaimGeneratedUsernameRequest = Message<\"auth.v1.ClaimGeneratedUsernameRequest\"> & {\n /**\n * Opaque proof returned with the generated username options.\n *\n * @generated from field: string offer_token = 1;\n */\n offerToken: string;\n\n /**\n * Zero-based position in the five returned username options.\n *\n * @generated from field: uint32 option_index = 2;\n */\n optionIndex: number;\n};\n\n/**\n * Describes the message auth.v1.ClaimGeneratedUsernameRequest.\n * Use `create(ClaimGeneratedUsernameRequestSchema)` to create a new message.\n */\nexport const ClaimGeneratedUsernameRequestSchema: GenMessage<ClaimGeneratedUsernameRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 10);\n\n/**\n * High-level error codes for profile domain errors (ProfileService).\n *\n * @generated from enum auth.v1.ProfileErrorCode\n */\nexport enum ProfileErrorCode {\n /**\n * No profile error code specified.\n *\n * @generated from enum value: PROFILE_UNSPECIFIED = 0;\n */\n PROFILE_UNSPECIFIED = 0,\n\n /**\n * Generic invalid field (format/characters).\n *\n * @generated from enum value: PROFILE_INVALID_FIELD = 1;\n */\n PROFILE_INVALID_FIELD = 1,\n\n /**\n * Field exceeds configured max length.\n *\n * @generated from enum value: PROFILE_FIELD_TOO_LONG = 2;\n */\n PROFILE_FIELD_TOO_LONG = 2,\n\n /**\n * URL is syntactically invalid.\n *\n * @generated from enum value: PROFILE_URL_INVALID = 3;\n */\n PROFILE_URL_INVALID = 3,\n\n /**\n * URL scheme is not allowed (e.g., non-http(s)).\n *\n * @generated from enum value: PROFILE_URL_SCHEME_INVALID = 4;\n */\n PROFILE_URL_SCHEME_INVALID = 4,\n}\n\n/**\n * Describes the enum auth.v1.ProfileErrorCode.\n */\nexport const ProfileErrorCodeSchema: GenEnum<ProfileErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_profile, 0);\n\n/**\n * ProfileService manages the authenticated caller's public profile.\n *\n * @generated from service auth.v1.ProfileService\n */\nexport const ProfileService: GenService<{\n /**\n * Get the caller's profile.\n *\n * @generated from rpc auth.v1.ProfileService.GetProfile\n */\n getProfile: {\n methodKind: \"unary\";\n input: typeof GetProfileRequestSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Update the caller's mutable profile fields. Omitted fields are unchanged;\n * present empty strings clear optional text fields.\n *\n * @generated from rpc auth.v1.ProfileService.UpdateProfile\n */\n updateProfile: {\n methodKind: \"unary\";\n input: typeof UserProfilePatchSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Get recent username history for the caller, newest first. Returns at most\n * 20 entries.\n *\n * @generated from rpc auth.v1.ProfileService.GetUsernameHistory\n */\n getUsernameHistory: {\n methodKind: \"unary\";\n input: typeof GetUsernameHistoryRequestSchema;\n output: typeof GetUsernameHistoryResponseSchema;\n },\n /**\n * Generate five random username options for an account that has never\n * claimed a username. Calling this method again returns a fresh set.\n *\n * @generated from rpc auth.v1.ProfileService.GenerateUsernameOptions\n */\n generateUsernameOptions: {\n methodKind: \"unary\";\n input: typeof GenerateUsernameOptionsRequestSchema;\n output: typeof GenerateUsernameOptionsResponseSchema;\n },\n /**\n * Claim one username by its position in a valid generated offer. The\n * selected value comes from the offer and cannot be supplied directly.\n *\n * @generated from rpc auth.v1.ProfileService.ClaimGeneratedUsername\n */\n claimGeneratedUsername: {\n methodKind: \"unary\";\n input: typeof ClaimGeneratedUsernameRequestSchema;\n output: typeof UserProfileSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_profile, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,uBACX,uBAAS,wiFAAwiF,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA0C/mF,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;AA8GrC,MAAa,oBACX,0BAAY,sBAAsB,CAAC;;;;;AA4DrC,MAAa,yBACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,0BACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,2BACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,6BACX,0BAAY,sBAAsB,CAAC;;;;;AAerC,MAAa,kCACX,0BAAY,sBAAsB,CAAC;;;;;AAqBrC,MAAa,mCACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,uCACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,wCACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,sCACX,0BAAY,sBAAsB,EAAE;;;;;;AAOtC,IAAY,mBAAL,yBAAA,kBAAA;;;;;;CAML,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,2BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,4BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,gCAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,sBAAsB,CAAC;;;;;;AAOlC,MAAa,iBAwDX,0BAAY,sBAAsB,CAAC"}
1
+ {"version":3,"file":"profile_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/profile_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/profile.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 { 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/profile.proto.\n */\nexport const file_auth_v1_profile: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Byb2ZpbGUucHJvdG8SB2F1dGgudjEidQoPQWNjb3VudElkZW50aXR5EhIKCmFjY291bnRfaWQYASABKAYSEgoIdXNlcm5hbWUYAiABKAlCABIUCgphdmF0YXJfdXJsGAMgASgJQgASJAoacm9vdF9zbWFydF9hY2NvdW50X2FkZHJlc3MYBCABKAlCACLtAgoLVXNlclByb2ZpbGUSEgoIdXNlcm5hbWUYASABKAlCABINCgNiaW8YAiABKAlCABIRCgd3ZWJzaXRlGAMgASgJQgASEQoHdHdpdHRlchgEIAEoCUIAEhgKEHR3aXR0ZXJfdmVyaWZpZWQYCCABKAgSEQoHZGlzY29yZBgJIAEoCUIAEhgKEGRpc2NvcmRfdmVyaWZpZWQYCiABKAgSFAoKYXZhdGFyX3VybBgFIAEoCUIAEi4KCmNyZWF0ZWRfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjsKF25leHRfdXNlcm5hbWVfY2hhbmdlX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIQCgh2aXBfdGllchgHIAEoBRIZChF1c2VybmFtZV91bmxvY2tlZBgLIAEoCBIeChZjdXJyZW50X3Rlcm1zX2FjY2VwdGVkGA0gASgIIsYBChBVc2VyUHJvZmlsZVBhdGNoEhcKCHVzZXJuYW1lGAEgASgJQgBIAIgBARISCgNiaW8YAiABKAlCAEgBiAEBEhYKB3dlYnNpdGUYAyABKAlCAEgCiAEBEhYKB3R3aXR0ZXIYBCABKAlCAEgDiAEBEhkKCmF2YXRhcl91cmwYBSABKAlCAEgEiAEBQgsKCV91c2VybmFtZUIGCgRfYmlvQgoKCF93ZWJzaXRlQgoKCF90d2l0dGVyQg0KC19hdmF0YXJfdXJsIhMKEUdldFByb2ZpbGVSZXF1ZXN0Il0KElByb2Zp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m9maWxlUGF0Y2gaFC5hdXRoLnYxLlVzZXJQcm9maWxlIgASXwoSR2V0VXNlcm5hbWVIaXN0b3J5EiIuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXF1ZXN0GiMuYXV0aC52MS5HZXRVc2VybmFtZUhpc3RvcnlSZXNwb25zZSIAEm4KF0dlbmVyYXRlVXNlcm5hbWVPcHRpb25zEicuYXV0aC52MS5HZW5lcmF0ZVVzZXJuYW1lT3B0aW9uc1JlcXVlc3QaKC5hdXRoLnYxLkdlbmVyYXRlVXNlcm5hbWVPcHRpb25zUmVzcG9uc2UiABJYChZDbGFpbUdlbmVyYXRlZFVzZXJuYW1lEiYuYXV0aC52MS5DbGFpbUdlbmVyYXRlZFVzZXJuYW1lUmVxdWVzdBoULmF1dGgudjEuVXNlclByb2ZpbGUiABoAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_google_protobuf_timestamp, file_polyester_api_options]);\n\n/**\n * AccountIdentity is a lightweight identity view for a root account.\n *\n * @generated from message auth.v1.AccountIdentity\n */\nexport type AccountIdentity = Message<\"auth.v1.AccountIdentity\"> & {\n /**\n * Root account identifier (opaque ID).\n *\n * @generated from field: fixed64 account_id = 1;\n */\n accountId: bigint;\n\n /**\n * Current username for the root account (unique, case-insensitive). Empty\n * means no username set.\n *\n * @generated from field: string username = 2;\n */\n username: string;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 3;\n */\n avatarUrl: string;\n\n /**\n * Root smart-account EVM address. Useful as a stable identity fallback.\n *\n * @generated from field: string root_smart_account_address = 4;\n */\n rootSmartAccountAddress: string;\n};\n\n/**\n * Describes the message auth.v1.AccountIdentity.\n * Use `create(AccountIdentitySchema)` to create a new message.\n */\nexport const AccountIdentitySchema: GenMessage<AccountIdentity> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 0);\n\n/**\n * UserProfile is the caller's public profile and account metadata.\n *\n * @generated from message auth.v1.UserProfile\n */\nexport type UserProfile = Message<\"auth.v1.UserProfile\"> & {\n /**\n * Public username for the root account. Usernames are unique\n * case-insensitively and use 3 to 32 letters, digits, underscores, dots, or\n * hyphens. Empty means no username is set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Short public bio. Maximum length is 256 characters.\n *\n * @generated from field: string bio = 2;\n */\n bio: string;\n\n /**\n * Public website URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string website = 3;\n */\n website: string;\n\n /**\n * X/Twitter handle without \"@\". Maximum length is 15 characters.\n *\n * @generated from field: string twitter = 4;\n */\n twitter: string;\n\n /**\n * Whether the X/Twitter handle for this account has been verified.\n *\n * @generated from field: bool twitter_verified = 8;\n */\n twitterVerified: boolean;\n\n /**\n * Discord handle or username without \"@\". Maximum length is 64 characters.\n *\n * @generated from field: string discord = 9;\n */\n discord: string;\n\n /**\n * Whether the Discord handle for this account has been verified.\n *\n * @generated from field: bool discord_verified = 10;\n */\n discordVerified: boolean;\n\n /**\n * Avatar URL, if set. Maximum length is 256 characters.\n *\n * @generated from field: string avatar_url = 5;\n */\n avatarUrl: string;\n\n /**\n * Account creation time in UTC. This is the canonical \"member since\"\n * timestamp.\n *\n * @generated from field: google.protobuf.Timestamp created_at = 12;\n */\n createdAt?: Timestamp | undefined;\n\n /**\n * Next time in UTC when the username can be changed again. Omitted when no\n * cooldown applies.\n *\n * @generated from field: google.protobuf.Timestamp next_username_change_at = 6;\n */\n nextUsernameChangeAt?: Timestamp | undefined;\n\n /**\n * Current VIP tier for this root account. A value of 0 is the base tier.\n * Read-only.\n *\n * @generated from field: int32 vip_tier = 7;\n */\n vipTier: number;\n\n /**\n * Whether this account is currently allowed to claim/change a username.\n *\n * @generated from field: bool username_unlocked = 11;\n */\n usernameUnlocked: boolean;\n\n /**\n * Whether the caller's root account accepted the terms required for restricted actions.\n * False when the required terms have not been accepted.\n *\n * @generated from field: bool current_terms_accepted = 13;\n */\n currentTermsAccepted: boolean;\n};\n\n/**\n * Describes the message auth.v1.UserProfile.\n * Use `create(UserProfileSchema)` to create a new message.\n */\nexport const UserProfileSchema: GenMessage<UserProfile> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 1);\n\n/**\n * UserProfilePatch is a partial profile update. Fields are\n * optional/presence-aware:\n * - if a field is omitted, it is not modified\n * - if a field is present with an empty string, it is cleared\n * Username changes are subject to account eligibility, reserved-name checks,\n * uniqueness, and cooldown rules. Case-only username changes update display\n * casing without consuming the cooldown.\n *\n * @generated from message auth.v1.UserProfilePatch\n */\nexport type UserProfilePatch = Message<\"auth.v1.UserProfilePatch\"> & {\n /**\n * Public username for the root account. Use an empty string to clear it.\n * Non-empty values must be 3 to 32 letters, digits, underscores, dots, or\n * hyphens.\n *\n * @generated from field: optional string username = 1;\n */\n username?: string | undefined;\n\n /**\n * Short public bio. Use an empty string to clear it. Non-empty values must be\n * at most 256 characters and cannot contain \"<\" or \">\".\n *\n * @generated from field: optional string bio = 2;\n */\n bio?: string | undefined;\n\n /**\n * Public website URL. Use an empty string to clear it. Non-empty values must\n * be valid http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string website = 3;\n */\n website?: string | undefined;\n\n /**\n * X/Twitter handle without \"@\". Use an empty string to clear it. Non-empty\n * values must be 1 to 15 letters, digits, or underscores.\n *\n * @generated from field: optional string twitter = 4;\n */\n twitter?: string | undefined;\n\n /**\n * Avatar URL. Use an empty string to clear it. Non-empty values must be valid\n * http(s) URLs up to 256 characters.\n *\n * @generated from field: optional string avatar_url = 5;\n */\n avatarUrl?: string | undefined;\n};\n\n/**\n * Describes the message auth.v1.UserProfilePatch.\n * Use `create(UserProfilePatchSchema)` to create a new message.\n */\nexport const UserProfilePatchSchema: GenMessage<UserProfilePatch> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 2);\n\n/**\n * GetProfileRequest fetches the authenticated caller's profile.\n *\n * @generated from message auth.v1.GetProfileRequest\n */\nexport type GetProfileRequest = Message<\"auth.v1.GetProfileRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetProfileRequest.\n * Use `create(GetProfileRequestSchema)` to create a new message.\n */\nexport const GetProfileRequestSchema: GenMessage<GetProfileRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 3);\n\n/**\n * ProfileErrorDetail describes a profile validation failure returned by the API.\n *\n * @generated from message auth.v1.ProfileErrorDetail\n */\nexport type ProfileErrorDetail = Message<\"auth.v1.ProfileErrorDetail\"> & {\n /**\n * Stable machine-readable profile error code.\n *\n * @generated from field: auth.v1.ProfileErrorCode code = 1;\n */\n code: ProfileErrorCode;\n\n /**\n * Field name associated with the error, such as \"bio\", \"website\", \"twitter\",\n * or \"avatar_url\".\n *\n * @generated from field: string field = 2;\n */\n field: string;\n\n /**\n * Human-friendly message for UI/debugging.\n *\n * @generated from field: string message = 3;\n */\n message: string;\n};\n\n/**\n * Describes the message auth.v1.ProfileErrorDetail.\n * Use `create(ProfileErrorDetailSchema)` to create a new message.\n */\nexport const ProfileErrorDetailSchema: GenMessage<ProfileErrorDetail> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 4);\n\n/**\n * UsernameHistoryEntry records a previous username claim for the caller.\n *\n * @generated from message auth.v1.UsernameHistoryEntry\n */\nexport type UsernameHistoryEntry = Message<\"auth.v1.UsernameHistoryEntry\"> & {\n /**\n * Username value that was set.\n *\n * @generated from field: string username = 1;\n */\n username: string;\n\n /**\n * Time in UTC when this username was set.\n *\n * @generated from field: google.protobuf.Timestamp set_at = 2;\n */\n setAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.UsernameHistoryEntry.\n * Use `create(UsernameHistoryEntrySchema)` to create a new message.\n */\nexport const UsernameHistoryEntrySchema: GenMessage<UsernameHistoryEntry> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 5);\n\n/**\n * GetUsernameHistoryRequest fetches recent username changes for the\n * authenticated caller.\n *\n * @generated from message auth.v1.GetUsernameHistoryRequest\n */\nexport type GetUsernameHistoryRequest = Message<\"auth.v1.GetUsernameHistoryRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryRequest.\n * Use `create(GetUsernameHistoryRequestSchema)` to create a new message.\n */\nexport const GetUsernameHistoryRequestSchema: GenMessage<GetUsernameHistoryRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 6);\n\n/**\n * GetUsernameHistoryResponse contains the caller's recent username history,\n * newest first. At most 20 entries are returned.\n *\n * @generated from message auth.v1.GetUsernameHistoryResponse\n */\nexport type GetUsernameHistoryResponse = Message<\"auth.v1.GetUsernameHistoryResponse\"> & {\n /**\n * Recent username history entries, newest first.\n *\n * @generated from field: repeated auth.v1.UsernameHistoryEntry history = 1;\n */\n history: UsernameHistoryEntry[];\n};\n\n/**\n * Describes the message auth.v1.GetUsernameHistoryResponse.\n * Use `create(GetUsernameHistoryResponseSchema)` to create a new message.\n */\nexport const GetUsernameHistoryResponseSchema: GenMessage<GetUsernameHistoryResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 7);\n\n/**\n * GenerateUsernameOptionsRequest requests a fresh set of generated usernames.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsRequest\n */\nexport type GenerateUsernameOptionsRequest = Message<\"auth.v1.GenerateUsernameOptionsRequest\"> & {\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsRequest.\n * Use `create(GenerateUsernameOptionsRequestSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsRequestSchema: GenMessage<GenerateUsernameOptionsRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 8);\n\n/**\n * GenerateUsernameOptionsResponse contains five generated usernames that the\n * caller may claim before the offer expires.\n *\n * @generated from message auth.v1.GenerateUsernameOptionsResponse\n */\nexport type GenerateUsernameOptionsResponse = Message<\"auth.v1.GenerateUsernameOptionsResponse\"> & {\n /**\n * Five distinct generated usernames available when this offer was created.\n *\n * @generated from field: repeated string usernames = 1;\n */\n usernames: string[];\n\n /**\n * Opaque proof required to claim one of the returned usernames.\n *\n * @generated from field: string offer_token = 2;\n */\n offerToken: string;\n\n /**\n * Time in UTC after which this offer can no longer be claimed.\n *\n * @generated from field: google.protobuf.Timestamp expires_at = 3;\n */\n expiresAt?: Timestamp | undefined;\n};\n\n/**\n * Describes the message auth.v1.GenerateUsernameOptionsResponse.\n * Use `create(GenerateUsernameOptionsResponseSchema)` to create a new message.\n */\nexport const GenerateUsernameOptionsResponseSchema: GenMessage<GenerateUsernameOptionsResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 9);\n\n/**\n * ClaimGeneratedUsernameRequest selects one username from a generated offer.\n *\n * @generated from message auth.v1.ClaimGeneratedUsernameRequest\n */\nexport type ClaimGeneratedUsernameRequest = Message<\"auth.v1.ClaimGeneratedUsernameRequest\"> & {\n /**\n * Opaque proof returned with the generated username options.\n *\n * @generated from field: string offer_token = 1;\n */\n offerToken: string;\n\n /**\n * Zero-based position in the five returned username options.\n *\n * @generated from field: uint32 option_index = 2;\n */\n optionIndex: number;\n};\n\n/**\n * Describes the message auth.v1.ClaimGeneratedUsernameRequest.\n * Use `create(ClaimGeneratedUsernameRequestSchema)` to create a new message.\n */\nexport const ClaimGeneratedUsernameRequestSchema: GenMessage<ClaimGeneratedUsernameRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_profile, 10);\n\n/**\n * High-level error codes for profile domain errors (ProfileService).\n *\n * @generated from enum auth.v1.ProfileErrorCode\n */\nexport enum ProfileErrorCode {\n /**\n * No profile error code specified.\n *\n * @generated from enum value: PROFILE_UNSPECIFIED = 0;\n */\n PROFILE_UNSPECIFIED = 0,\n\n /**\n * Generic invalid field (format/characters).\n *\n * @generated from enum value: PROFILE_INVALID_FIELD = 1;\n */\n PROFILE_INVALID_FIELD = 1,\n\n /**\n * Field exceeds configured max length.\n *\n * @generated from enum value: PROFILE_FIELD_TOO_LONG = 2;\n */\n PROFILE_FIELD_TOO_LONG = 2,\n\n /**\n * URL is syntactically invalid.\n *\n * @generated from enum value: PROFILE_URL_INVALID = 3;\n */\n PROFILE_URL_INVALID = 3,\n\n /**\n * URL scheme is not allowed (e.g., non-http(s)).\n *\n * @generated from enum value: PROFILE_URL_SCHEME_INVALID = 4;\n */\n PROFILE_URL_SCHEME_INVALID = 4,\n}\n\n/**\n * Describes the enum auth.v1.ProfileErrorCode.\n */\nexport const ProfileErrorCodeSchema: GenEnum<ProfileErrorCode> = /*@__PURE__*/\n enumDesc(file_auth_v1_profile, 0);\n\n/**\n * ProfileService manages the authenticated caller's public profile.\n *\n * @generated from service auth.v1.ProfileService\n */\nexport const ProfileService: GenService<{\n /**\n * Get the caller's profile.\n *\n * @generated from rpc auth.v1.ProfileService.GetProfile\n */\n getProfile: {\n methodKind: \"unary\";\n input: typeof GetProfileRequestSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Update the caller's mutable profile fields. Omitted fields are unchanged;\n * present empty strings clear optional text fields.\n *\n * @generated from rpc auth.v1.ProfileService.UpdateProfile\n */\n updateProfile: {\n methodKind: \"unary\";\n input: typeof UserProfilePatchSchema;\n output: typeof UserProfileSchema;\n },\n /**\n * Get recent username history for the caller, newest first. Returns at most\n * 20 entries.\n *\n * @generated from rpc auth.v1.ProfileService.GetUsernameHistory\n */\n getUsernameHistory: {\n methodKind: \"unary\";\n input: typeof GetUsernameHistoryRequestSchema;\n output: typeof GetUsernameHistoryResponseSchema;\n },\n /**\n * Generate five random username options for an account that has never\n * claimed a username. Calling this method again returns a fresh set.\n *\n * @generated from rpc auth.v1.ProfileService.GenerateUsernameOptions\n */\n generateUsernameOptions: {\n methodKind: \"unary\";\n input: typeof GenerateUsernameOptionsRequestSchema;\n output: typeof GenerateUsernameOptionsResponseSchema;\n },\n /**\n * Claim one username by its position in a valid generated offer. The\n * selected value comes from the offer and cannot be supplied directly.\n *\n * @generated from rpc auth.v1.ProfileService.ClaimGeneratedUsername\n */\n claimGeneratedUsername: {\n methodKind: \"unary\";\n input: typeof ClaimGeneratedUsernameRequestSchema;\n output: typeof UserProfileSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_profile, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAa,uBACX,uBAAS,4iFAA4iF,CAAC,gCAAgC,0BAA0B,CAAC;;;;;AA0CnnF,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;AA8GrC,MAAa,oBACX,0BAAY,sBAAsB,CAAC;;;;;AA4DrC,MAAa,yBACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,0BACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,2BACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,6BACX,0BAAY,sBAAsB,CAAC;;;;;AAerC,MAAa,kCACX,0BAAY,sBAAsB,CAAC;;;;;AAqBrC,MAAa,mCACX,0BAAY,sBAAsB,CAAC;;;;;AAcrC,MAAa,uCACX,0BAAY,sBAAsB,CAAC;;;;;AAmCrC,MAAa,wCACX,0BAAY,sBAAsB,CAAC;;;;;AA2BrC,MAAa,sCACX,0BAAY,sBAAsB,EAAE;;;;;;AAOtC,IAAY,mBAAL,yBAAA,kBAAA;;;;;;CAML,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,2BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,4BAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,yBAAA,KAAA;;;;;;CAOA,iBAAA,iBAAA,gCAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,yBACX,uBAAS,sBAAsB,CAAC;;;;;;AAOlC,MAAa,iBAwDX,0BAAY,sBAAsB,CAAC"}
@@ -16,7 +16,7 @@ var resolve_pb_exports = /* @__PURE__ */ __exportAll({
16
16
  /**
17
17
  * Describes the file auth/v1/resolve.proto.
18
18
  */
19
- const file_auth_v1_resolve = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZQoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==", [file_polyester_api_options]);
19
+ const file_auth_v1_resolve = /*@__PURE__*/ fileDesc("ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZwoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z", [file_polyester_api_options]);
20
20
  /**
21
21
  * Describes the message auth.v1.ResolvedAccount.
22
22
  * Use `create(ResolvedAccountSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"resolve_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/resolve.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 { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/resolve.proto.\n */\nexport const file_auth_v1_resolve: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZQoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAQjxaOmdpdGh1Yi5jb20vRmFicmljLUxhYnMvcG9seWVzdGVyLXNkay1nby9nZW4vYXV0aC92MTthdXRodjFiBnByb3RvMw==\", [file_polyester_api_options]);\n\n/**\n * ResolvedAccount represents a lightweight view of a destination account for\n * sharing or internal transfers.\n *\n * @generated from message auth.v1.ResolvedAccount\n */\nexport type ResolvedAccount = Message<\"auth.v1.ResolvedAccount\"> & {\n /**\n * Smart-account address that would receive funds. This is the address that\n * will receive the transfer, whether it belongs to a root account or a\n * sub-account.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Category of account that owns this address.\n *\n * @generated from field: auth.v1.ResolvedAccount.Kind kind = 2;\n */\n kind: ResolvedAccount_Kind;\n\n /**\n * Root account username for the result. For sub-account results, this is the\n * parent root account username. Empty means the root account has no username.\n *\n * @generated from field: string root_username = 3;\n */\n rootUsername: string;\n\n /**\n * Optional sub-account label when kind is SUB.\n *\n * @generated from field: string subaccount_label = 4;\n */\n subaccountLabel: string;\n\n /**\n * Target account identifier (opaque ID). For root results this is an account\n * ID; for sub-account results this is a sub-account ID.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message auth.v1.ResolvedAccount.\n * Use `create(ResolvedAccountSchema)` to create a new message.\n */\nexport const ResolvedAccountSchema: GenMessage<ResolvedAccount> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 0);\n\n/**\n * Category of account that owns the resolved smart-account address.\n *\n * @generated from enum auth.v1.ResolvedAccount.Kind\n */\nexport enum ResolvedAccount_Kind {\n /**\n * Account kind was not provided.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * Root account.\n *\n * @generated from enum value: ROOT = 1;\n */\n ROOT = 1,\n\n /**\n * Sub-account.\n *\n * @generated from enum value: SUB = 2;\n */\n SUB = 2,\n}\n\n/**\n * Describes the enum auth.v1.ResolvedAccount.Kind.\n */\nexport const ResolvedAccount_KindSchema: GenEnum<ResolvedAccount_Kind> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0, 0);\n\n/**\n * ResolveAccountRequest searches for a transfer or sharing destination by\n * username, account ID, or smart-account address.\n *\n * @generated from message auth.v1.ResolveAccountRequest\n */\nexport type ResolveAccountRequest = Message<\"auth.v1.ResolveAccountRequest\"> & {\n /**\n * Free-form query typed by the user. Can be:\n * - a username, 3 to 64 characters using letters, digits, underscore, dot, or hyphen\n * - an opaque root account or sub-account ID\n * - an EVM smart-account address formatted as 0x plus 40 hex characters\n * Maximum length is 128 characters.\n *\n * @generated from field: string query = 1;\n */\n query: string;\n\n /**\n * Optional hint for how to parse query. When unspecified, the service\n * auto-detects by query shape.\n *\n * @generated from field: auth.v1.ResolveHint hint = 2;\n */\n hint: ResolveHint;\n\n /**\n * When true, allow matches on sub-accounts as well as root accounts. Use\n * this for internal transfer flows where the caller may want to resolve a\n * specific sub-account by its ID or smart-account address. Username\n * lookups remain root-only regardless of this flag.\n *\n * @generated from field: bool include_subaccounts = 3;\n */\n includeSubaccounts: boolean;\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountRequest.\n * Use `create(ResolveAccountRequestSchema)` to create a new message.\n */\nexport const ResolveAccountRequestSchema: GenMessage<ResolveAccountRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 1);\n\n/**\n * ResolveAccountResponse contains matching accounts. Username and root-only\n * smart-account lookups return at most 5 matches; smart-account lookups with\n * include_subaccounts may return at most 10 matches.\n *\n * @generated from message auth.v1.ResolveAccountResponse\n */\nexport type ResolveAccountResponse = Message<\"auth.v1.ResolveAccountResponse\"> & {\n /**\n * Matching destination accounts. Empty means no account matched the query.\n *\n * @generated from field: repeated auth.v1.ResolvedAccount matches = 1;\n */\n matches: ResolvedAccount[];\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountResponse.\n * Use `create(ResolveAccountResponseSchema)` to create a new message.\n */\nexport const ResolveAccountResponseSchema: GenMessage<ResolveAccountResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 2);\n\n/**\n * ResolveHint controls how ResolveAccount interprets the query.\n *\n * @generated from enum auth.v1.ResolveHint\n */\nexport enum ResolveHint {\n /**\n * Auto-detect the query shape. EVM addresses are treated as smart-account\n * addresses, short Base58-looking values are tried as account IDs, and other\n * valid names are treated as usernames.\n *\n * @generated from enum value: RESOLVE_HINT_UNSPECIFIED = 0;\n */\n RESOLVE_HINT_UNSPECIFIED = 0,\n\n /**\n * Treat query as a username. Username lookups resolve root accounts only.\n *\n * @generated from enum value: USERNAME = 1;\n */\n USERNAME = 1,\n\n /**\n * Treat query as an opaque root account or sub-account ID.\n *\n * @generated from enum value: ID = 2;\n */\n ID = 2,\n\n /**\n * Treat query as an EVM smart-account address.\n *\n * @generated from enum value: SMART_ACCOUNT = 3;\n */\n SMART_ACCOUNT = 3,\n}\n\n/**\n * Describes the enum auth.v1.ResolveHint.\n */\nexport const ResolveHintSchema: GenEnum<ResolveHint> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0);\n\n/**\n * ResolveService resolves authenticated account destinations for sharing and\n * transfer flows.\n *\n * @generated from service auth.v1.ResolveService\n */\nexport const ResolveService: GenService<{\n /**\n * Resolve an account by username, account ID, or smart-account address.\n * Use this before sharing or transferring so the caller can confirm the target.\n *\n * @generated from rpc auth.v1.ResolveService.ResolveAccount\n */\n resolveAccount: {\n methodKind: \"unary\";\n input: typeof ResolveAccountRequestSchema;\n output: typeof ResolveAccountResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_resolve, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,MAAa,uBACX,uBAAS,w5BAAw5B,CAAC,0BAA0B,CAAC;;;;;AAqD/7B,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,UAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,SAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,sBAAsB,GAAG,CAAC;;;;;AA2CrC,MAAa,8BACX,0BAAY,sBAAsB,CAAC;;;;;AAsBrC,MAAa,+BACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,cAAL,yBAAA,aAAA;;;;;;;;CAQL,YAAA,YAAA,8BAAA,KAAA;;;;;;CAOA,YAAA,YAAA,cAAA,KAAA;;;;;;CAOA,YAAA,YAAA,QAAA,KAAA;;;;;;CAOA,YAAA,YAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,sBAAsB,CAAC;;;;;;;AAQlC,MAAa,iBAaX,0BAAY,sBAAsB,CAAC"}
1
+ {"version":3,"file":"resolve_pb.js","names":[],"sources":["../../../../src/gen/auth/v1/resolve_pb.ts"],"sourcesContent":["// @generated by protoc-gen-es v2.13.0 with parameter \"target=ts,import_extension=js\"\n// @generated from file auth/v1/resolve.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 { file_polyester_api_options } from \"../../polyester/api/options_pb.js\";\nimport type { Message } from \"@bufbuild/protobuf\";\n\n/**\n * Describes the file auth/v1/resolve.proto.\n */\nexport const file_auth_v1_resolve: GenFile = /*@__PURE__*/\n fileDesc(\"ChVhdXRoL3YxL3Jlc29sdmUucHJvdG8SB2F1dGgudjEi1QEKD1Jlc29sdmVkQWNjb3VudBIdChVzbWFydF9hY2NvdW50X2FkZHJlc3MYASABKAkSLQoEa2luZBgCIAEoDjIdLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50LktpbmRCABIVCg1yb290X3VzZXJuYW1lGAMgASgJEhgKEHN1YmFjY291bnRfbGFiZWwYBCABKAkSEgoKYWNjb3VudF9pZBgFIAEoBiIvCgRLaW5kEhQKEEtJTkRfVU5TUEVDSUZJRUQQABIICgRST09UEAESBwoDU1VCEAIiawoVUmVzb2x2ZUFjY291bnRSZXF1ZXN0Eg8KBXF1ZXJ5GAEgASgJQgASJAoEaGludBgCIAEoDjIULmF1dGgudjEuUmVzb2x2ZUhpbnRCABIbChNpbmNsdWRlX3N1YmFjY291bnRzGAMgASgIIkMKFlJlc29sdmVBY2NvdW50UmVzcG9uc2USKQoHbWF0Y2hlcxgBIAMoCzIYLmF1dGgudjEuUmVzb2x2ZWRBY2NvdW50KlQKC1Jlc29sdmVIaW50EhwKGFJFU09MVkVfSElOVF9VTlNQRUNJRklFRBAAEgwKCFVTRVJOQU1FEAESBgoCSUQQAhIRCg1TTUFSVF9BQ0NPVU5UEAMyZwoOUmVzb2x2ZVNlcnZpY2USUwoOUmVzb2x2ZUFjY291bnQSHi5hdXRoLnYxLlJlc29sdmVBY2NvdW50UmVxdWVzdBofLmF1dGgudjEuUmVzb2x2ZUFjY291bnRSZXNwb25zZSIAGgBCPFo6Z2l0aHViLmNvbS9GYWJyaWMtTGFicy9wb2x5ZXN0ZXItc2RrLWdvL2dlbi9hdXRoL3YxO2F1dGh2MWIGcHJvdG8z\", [file_polyester_api_options]);\n\n/**\n * ResolvedAccount represents a lightweight view of a destination account for\n * sharing or internal transfers.\n *\n * @generated from message auth.v1.ResolvedAccount\n */\nexport type ResolvedAccount = Message<\"auth.v1.ResolvedAccount\"> & {\n /**\n * Smart-account address that would receive funds. This is the address that\n * will receive the transfer, whether it belongs to a root account or a\n * sub-account.\n *\n * @generated from field: string smart_account_address = 1;\n */\n smartAccountAddress: string;\n\n /**\n * Category of account that owns this address.\n *\n * @generated from field: auth.v1.ResolvedAccount.Kind kind = 2;\n */\n kind: ResolvedAccount_Kind;\n\n /**\n * Root account username for the result. For sub-account results, this is the\n * parent root account username. Empty means the root account has no username.\n *\n * @generated from field: string root_username = 3;\n */\n rootUsername: string;\n\n /**\n * Optional sub-account label when kind is SUB.\n *\n * @generated from field: string subaccount_label = 4;\n */\n subaccountLabel: string;\n\n /**\n * Target account identifier (opaque ID). For root results this is an account\n * ID; for sub-account results this is a sub-account ID.\n *\n * @generated from field: fixed64 account_id = 5;\n */\n accountId: bigint;\n};\n\n/**\n * Describes the message auth.v1.ResolvedAccount.\n * Use `create(ResolvedAccountSchema)` to create a new message.\n */\nexport const ResolvedAccountSchema: GenMessage<ResolvedAccount> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 0);\n\n/**\n * Category of account that owns the resolved smart-account address.\n *\n * @generated from enum auth.v1.ResolvedAccount.Kind\n */\nexport enum ResolvedAccount_Kind {\n /**\n * Account kind was not provided.\n *\n * @generated from enum value: KIND_UNSPECIFIED = 0;\n */\n KIND_UNSPECIFIED = 0,\n\n /**\n * Root account.\n *\n * @generated from enum value: ROOT = 1;\n */\n ROOT = 1,\n\n /**\n * Sub-account.\n *\n * @generated from enum value: SUB = 2;\n */\n SUB = 2,\n}\n\n/**\n * Describes the enum auth.v1.ResolvedAccount.Kind.\n */\nexport const ResolvedAccount_KindSchema: GenEnum<ResolvedAccount_Kind> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0, 0);\n\n/**\n * ResolveAccountRequest searches for a transfer or sharing destination by\n * username, account ID, or smart-account address.\n *\n * @generated from message auth.v1.ResolveAccountRequest\n */\nexport type ResolveAccountRequest = Message<\"auth.v1.ResolveAccountRequest\"> & {\n /**\n * Free-form query typed by the user. Can be:\n * - a username, 3 to 64 characters using letters, digits, underscore, dot, or hyphen\n * - an opaque root account or sub-account ID\n * - an EVM smart-account address formatted as 0x plus 40 hex characters\n * Maximum length is 128 characters.\n *\n * @generated from field: string query = 1;\n */\n query: string;\n\n /**\n * Optional hint for how to parse query. When unspecified, the service\n * auto-detects by query shape.\n *\n * @generated from field: auth.v1.ResolveHint hint = 2;\n */\n hint: ResolveHint;\n\n /**\n * When true, allow matches on sub-accounts as well as root accounts. Use\n * this for internal transfer flows where the caller may want to resolve a\n * specific sub-account by its ID or smart-account address. Username\n * lookups remain root-only regardless of this flag.\n *\n * @generated from field: bool include_subaccounts = 3;\n */\n includeSubaccounts: boolean;\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountRequest.\n * Use `create(ResolveAccountRequestSchema)` to create a new message.\n */\nexport const ResolveAccountRequestSchema: GenMessage<ResolveAccountRequest> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 1);\n\n/**\n * ResolveAccountResponse contains matching accounts. Username and root-only\n * smart-account lookups return at most 5 matches; smart-account lookups with\n * include_subaccounts may return at most 10 matches.\n *\n * @generated from message auth.v1.ResolveAccountResponse\n */\nexport type ResolveAccountResponse = Message<\"auth.v1.ResolveAccountResponse\"> & {\n /**\n * Matching destination accounts. Empty means no account matched the query.\n *\n * @generated from field: repeated auth.v1.ResolvedAccount matches = 1;\n */\n matches: ResolvedAccount[];\n};\n\n/**\n * Describes the message auth.v1.ResolveAccountResponse.\n * Use `create(ResolveAccountResponseSchema)` to create a new message.\n */\nexport const ResolveAccountResponseSchema: GenMessage<ResolveAccountResponse> = /*@__PURE__*/\n messageDesc(file_auth_v1_resolve, 2);\n\n/**\n * ResolveHint controls how ResolveAccount interprets the query.\n *\n * @generated from enum auth.v1.ResolveHint\n */\nexport enum ResolveHint {\n /**\n * Auto-detect the query shape. EVM addresses are treated as smart-account\n * addresses, short Base58-looking values are tried as account IDs, and other\n * valid names are treated as usernames.\n *\n * @generated from enum value: RESOLVE_HINT_UNSPECIFIED = 0;\n */\n RESOLVE_HINT_UNSPECIFIED = 0,\n\n /**\n * Treat query as a username. Username lookups resolve root accounts only.\n *\n * @generated from enum value: USERNAME = 1;\n */\n USERNAME = 1,\n\n /**\n * Treat query as an opaque root account or sub-account ID.\n *\n * @generated from enum value: ID = 2;\n */\n ID = 2,\n\n /**\n * Treat query as an EVM smart-account address.\n *\n * @generated from enum value: SMART_ACCOUNT = 3;\n */\n SMART_ACCOUNT = 3,\n}\n\n/**\n * Describes the enum auth.v1.ResolveHint.\n */\nexport const ResolveHintSchema: GenEnum<ResolveHint> = /*@__PURE__*/\n enumDesc(file_auth_v1_resolve, 0);\n\n/**\n * ResolveService resolves authenticated account destinations for sharing and\n * transfer flows.\n *\n * @generated from service auth.v1.ResolveService\n */\nexport const ResolveService: GenService<{\n /**\n * Resolve an account by username, account ID, or smart-account address.\n * Use this before sharing or transferring so the caller can confirm the target.\n *\n * @generated from rpc auth.v1.ResolveService.ResolveAccount\n */\n resolveAccount: {\n methodKind: \"unary\";\n input: typeof ResolveAccountRequestSchema;\n output: typeof ResolveAccountResponseSchema;\n },\n}> = /*@__PURE__*/\n serviceDesc(file_auth_v1_resolve, 0);\n\n"],"mappings":";;;;;;;;;;;;;;;;;;AAYA,MAAa,uBACX,uBAAS,w5BAAw5B,CAAC,0BAA0B,CAAC;;;;;AAqD/7B,MAAa,wBACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,uBAAL,yBAAA,sBAAA;;;;;;CAML,qBAAA,qBAAA,sBAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,UAAA,KAAA;;;;;;CAOA,qBAAA,qBAAA,SAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,6BACX,uBAAS,sBAAsB,GAAG,CAAC;;;;;AA2CrC,MAAa,8BACX,0BAAY,sBAAsB,CAAC;;;;;AAsBrC,MAAa,+BACX,0BAAY,sBAAsB,CAAC;;;;;;AAOrC,IAAY,cAAL,yBAAA,aAAA;;;;;;;;CAQL,YAAA,YAAA,8BAAA,KAAA;;;;;;CAOA,YAAA,YAAA,cAAA,KAAA;;;;;;CAOA,YAAA,YAAA,QAAA,KAAA;;;;;;CAOA,YAAA,YAAA,mBAAA,KAAA;;AACF,EAAA,CAAA,CAAA;;;;AAKA,MAAa,oBACX,uBAAS,sBAAsB,CAAC;;;;;;;AAQlC,MAAa,iBAaX,0BAAY,sBAAsB,CAAC"}
@@ -24,7 +24,7 @@ var social_verification_pb_exports = /* @__PURE__ */ __exportAll({
24
24
  /**
25
25
  * Describes the file auth/v1/social_verification.proto.
26
26
  */
27
- const file_auth_v1_social_verification = /*@__PURE__*/ fileDesc("CiFhdXRoL3YxL3NvY2lhbF92ZXJpZmljYXRpb24ucHJvdG8SB2F1dGgudjEiiAQKElNvY2lhbFZlcmlmaWNhdGlvbhIKCgJpZBgMIAEoAxIpCghwcm92aWRlchgBIAEoDjIXLmF1dGgudjEuU29jaWFsUHJvdmlkZXISMQoGbWV0aG9kGAsgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2QSDgoGaGFuZGxlGAIgASgJEhgKEHByb3ZpZGVyX3VzZXJfaWQYAyABKAkSFgoOY2hhbGxlbmdlX2NvZGUYDSABKAkSMQoGc3RhdHVzGAQgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25TdGF0dXMSMAoMcmVxdWVzdGVkX2F0GAUgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIuCgpleHBpcmVzX2F0GAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIvCgt2ZXJpZmllZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASEAoIYXR0ZW1wdHMYCSABKAUSEgoKbGFzdF9lcnJvchgKIAEoCRIqCgplcnJvcl9jb2RlGBAgASgOMhYuYXV0aC52MS5BdXRoRXJyb3JDb2RlEi4KCnVwZGF0ZWRfYXQYDyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wIpYBCh5TdGFydFNvY2lhbFZlcmlmaWNhdGlvblJlcXVlc3QSKwoIcHJvdmlkZXIYASABKA4yFy5hdXRoLnYxLlNvY2lhbFByb3ZpZGVyQgASMwoGbWV0aG9kGAMgASgOMiEuYXV0aC52MS5Tb2NpYWxWZXJpZmljYXRpb25NZXRob2RCABIQCgZoYW5kbGUYAiABKAlCADoAIpwBCh9TdGFydFNvY2lhbFZlcm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